co-mono/packages
Mario Zechner 9bba388ec5 Refactor SessionEventBase to pass sessionManager and modelRegistry
Breaking changes to hook types:
- SessionEventBase now passes sessionManager and modelRegistry directly
- before_compact: passes preparation, previousCompactions (newest first)
- before_switch: has targetSessionFile; switch: has previousSessionFile
- Removed resolveApiKey (use modelRegistry.getApiKey())
- getSessionFile() returns string | undefined for in-memory sessions

Updated:
- All session event emissions in agent-session.ts
- Hook examples (custom-compaction.ts, auto-commit-on-exit.ts, confirm-destructive.ts)
- Tests (compaction-hooks.test.ts, compaction-hooks-example.test.ts)
- export-html.ts guards for in-memory sessions
2025-12-30 22:42:18 +01:00
..
agent Release v0.30.2 2025-12-26 03:25:55 +01:00
ai Fix API key priority and compaction bugs 2025-12-30 22:42:17 +01:00
coding-agent Refactor SessionEventBase to pass sessionManager and modelRegistry 2025-12-30 22:42:18 +01:00
mom Session tree: simplify types, add branching API, comprehensive tests 2025-12-30 22:42:18 +01:00
pods Release v0.30.2 2025-12-26 03:25:55 +01:00
proxy Release v0.30.2 2025-12-26 03:25:55 +01:00
tui Release v0.30.2 2025-12-26 03:25:55 +01:00
web-ui Release v0.30.2 2025-12-26 03:25:55 +01:00