mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 11:02:17 +00:00
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 |
||
|---|---|---|
| .. | ||
| fixtures | ||
| session-manager | ||
| agent-session-branching.test.ts | ||
| agent-session-compaction.test.ts | ||
| args.test.ts | ||
| compaction-hooks-example.test.ts | ||
| compaction-hooks.test.ts | ||
| compaction.test.ts | ||
| fuzzy.test.ts | ||
| model-resolver.test.ts | ||
| rpc-example.ts | ||
| rpc.test.ts | ||
| skills.test.ts | ||
| streaming-render-debug.ts | ||
| test-theme-colors.ts | ||
| tools.test.ts | ||
| truncate-to-width.test.ts | ||