feat(bots): bot framework polish + store

- /ws/bot endpoint: bot token auth via query param, SHA-256 lookup
- Bot WS actions: SEND_MESSAGE + DELETE_MESSAGE handled in gateway
- Bot messages: bot_id on messages table, bot badge in chat (green + BOT tag)
- Bot store: /bots lists all bots with server count + add-to-server
- Bot manager moved to /bots/manage
- Fix: command routes were double-nested under /bots/{botID}/commands
- Fix: fetchServerCommands route corrected to /bots/servers/...
This commit is contained in:
2026-07-15 12:45:44 -04:00
parent 2674c254a1
commit 7c70082f37
13 changed files with 557 additions and 22 deletions
+2 -2
View File
@@ -348,8 +348,8 @@ export function BotManager() {
{/* Footer */}
<div className="mt-6 pt-4 border-t border-gb-bg-t">
<Link to="/" className="text-gb-fg-f hover:text-gb-aqua font-mono text-sm">
{'<'} [BACK TO CHAT]
<Link to="/bots" className="text-gb-fg-f hover:text-gb-aqua font-mono text-sm">
{'<'} [BACK TO STORE]
</Link>
</div>
</div>