Jason Woltje 1232804c3e
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/pr/ci Pipeline failed
feat(M5-004,M5-005,M5-006,M5-007): session-conversation binding, session:info broadcast, agent creation from TUI, and session metrics
- M5-004: Add `session_id` column to conversations table (nullable text) with Drizzle migration 0006_swift_shen.sql; bind sessionId to conversation on session creation; reuse existing sessionId when resuming a conversation
- M5-005: Emit session:info with agentName on model/agent switch via broadcastSessionInfo(); set:thinking and setModelOverride now broadcast updated session:info to all clients on a conversation
- M5-006: /agent new <name> gateway command creates an agent config via brain.agents.create() with defaults (provider/model from env vars) and returns agentId+agentName in command:result data
- M5-007: Track per-session metrics (input/output/cache tokens, modelSwitches, messageCount, lastActivityAt) accumulated across turns; exposed via GET /api/sessions/:id metrics field

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-22 19:56:07 -05:00
Description
Self-hosted multi-user AI agent platform — web dashboard, TUI, remote control, shared memory, mission orchestration
16 MiB
2026-04-08 00:42:54 +00:00
Languages
TypeScript 74.5%
Shell 19.7%
PowerShell 3%
JavaScript 1.4%
Python 1%
Other 0.4%