Files
stack/packages/db/drizzle/meta/_journal.json
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

55 lines
1.0 KiB
JSON

{
"version": "7",
"dialect": "postgresql",
"entries": [
{
"idx": 0,
"version": "7",
"when": 1773368153122,
"tag": "0000_loud_ezekiel_stane",
"breakpoints": true
},
{
"idx": 1,
"version": "7",
"when": 1773602195609,
"tag": "0001_magical_rattler",
"breakpoints": true
},
{
"idx": 2,
"version": "7",
"when": 1773625181629,
"tag": "0002_nebulous_mimic",
"breakpoints": true
},
{
"idx": 3,
"version": "7",
"when": 1773887085247,
"tag": "0003_p8003_perf_indexes",
"breakpoints": true
},
{
"idx": 4,
"version": "7",
"when": 1774224004898,
"tag": "0004_bumpy_miracleman",
"breakpoints": true
},
{
"idx": 5,
"version": "7",
"when": 1774225763410,
"tag": "0005_minor_champions",
"breakpoints": true
},
{
"idx": 6,
"version": "7",
"when": 1774227064500,
"tag": "0006_swift_shen",
"breakpoints": true
}
]
}