7c68e1d436bc03bf3009bc2d1f5a8ed228116c9f
Every chat gateway (Telegram, email, webhook) implemented channels.Channel's ConfigSchema/ValidateConfig contract but nothing ever called it, so a misconfigured gateway would only fail once it tried to start rather than at boot. setupEmailGateway/setupWebhookGateway now call ValidateConfig before registering a start function and return false (fatal boot error, matching setupTelegramGateway's existing convention) on failure; telegram_setup.go does the same for the already-constructed *telegram.Gateway. Fixed telegram.Gateway.ValidateConfig/ConfigSchema along the way: it only recognised token_env, but chat.telegram.token (a secret reference) is an equally valid, already-precedent-ordered credential source per resolveTelegramToken. Wiring the old validator unmodified would have rejected every Token-only deployment. Also corrected ConfigSchema's stale allowed_chat_ids property name to the real allowed_user_ids toml key.
Description
Archie connects events from your systems to agents that can investigate, reason, and act.
Define what an event means, map its data into a workflow, and give that workflow an agent equipped for the job: its own execution environment, tools, and identity.
https://archie.catlow.cloud
133 MiB
0 Stars
1 Watchers
0 Forks
Releases
11
Archie v1.62.0
Latest
Languages
Go
76.8%
Vue
13.1%
TypeScript
7.8%
JavaScript
1.2%
Shell
0.6%
Other
0.4%