Bot runtime workspace for FreeSynergy — command framework, database layer, platform modules, and the runtime binary.
cargo build --release
cargo test| Crate | Description |
|---|---|
fs-bot |
Bot command framework (BotCommand trait, registry, response) |
bot-db |
Database domain objects and SeaORM entities |
bot-broadcast |
Scheduled broadcast module |
bot-gatekeeper |
Access control and onboarding module |
bot-calendar |
Calendar event notification module |
bot-control |
Admin control module |
bot-room-sync |
Cross-platform room sync module |
bots |
Runtime binary (fs-bot-runtime) |
BotCommandtrait — each command is an object implementing name/description/executeCommandRegistry— dispatches incoming/commandsto the right handlerBotRuntime— core event loop: polls messengers, handles webhooks, routes triggersCommandDispatcher— bridges IncomingMessage to CommandRegistry with rights checkTriggerEngine— evaluates time/event triggers and routesTriggerActionsBotDb— SQLite-backed persistence (subscriptions, audit log, offsets)