A Zulip bot agent to sit in our Black Sun. Ever evolving
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Store poe config under unified XDG app name

Add xdg_app parameter to zulip-bot Config to allow custom XDG paths.
Poe now stores all configuration under ~/.config/poe/ including:
- config.toml (poe settings)
- zulip.config (zulip credentials)

Also renamed config file from "config" to "zulip.config" for clarity.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

+4 -4
+4 -4
bin/main.ml
··· 28 28 | None -> Poe.Config.default)) 29 29 in 30 30 31 - (* Load zulip bot config *) 32 - let zulip_config = Zulip_bot.Config.load_or_env ~fs bot_name in 31 + (* Load zulip bot config from poe's XDG directory *) 32 + let zulip_config = Zulip_bot.Config.load_or_env ~xdg_app:"poe" ~fs bot_name in 33 33 34 34 (* Create handler environment *) 35 35 let handler_env : _ Poe.Handler.env = ··· 105 105 | None -> Poe.Config.default)) 106 106 in 107 107 108 - let zulip_config = Zulip_bot.Config.load_or_env ~fs bot_name in 108 + let zulip_config = Zulip_bot.Config.load_or_env ~xdg_app:"poe" ~fs bot_name in 109 109 let client = Zulip_bot.Bot.create_client ~sw ~env ~config:zulip_config in 110 110 111 111 match Poe.Handler.read_changes_file ~fs poe_config with ··· 158 158 monorepo_path = \".\""; 159 159 `P 160 160 "Zulip credentials are loaded from \ 161 - $(b,~/.config/zulip-bot/<name>/config) or environment variables."; 161 + $(b,~/.config/poe/zulip.config) or environment variables."; 162 162 ] 163 163 in 164 164 Cmd.group info [ run_cmd; broadcast_cmd ]