co-mono/packages/coding-agent/test
Nico Bailon 1e1a92ea47
Add before_compact hook event (closes #281) (#285)
* Add before_compact hook event (closes #281)

* Add compact hook event and documentation

- Add compact event that fires after compaction completes
- Update hooks.md with lifecycle diagram, field docs, and example
- Add CHANGELOG entry
- Add comprehensive test coverage (10 tests) for before_compact and compact events
- Tests cover: event emission, cancellation, custom entry, error handling, multiple hooks
2025-12-24 11:26:29 +01:00
..
fixtures Fix syntax highlighting stderr spam with malformed markdown, fixes #274 2025-12-22 00:23:01 +01:00
agent-session-branching.test.ts Add before/after session events with cancellation support 2025-12-22 18:18:38 +01:00
agent-session-compaction.test.ts Add project-specific settings and SettingsManager factories 2025-12-22 12:23:02 +01:00
args.test.ts Add --version/-v flag to CLI (#170) 2025-12-12 00:01:06 +01:00
compaction-hooks-example.test.ts Add before_compact hook event (closes #281) (#285) 2025-12-24 11:26:29 +01:00
compaction-hooks.test.ts Add before_compact hook event (closes #281) (#285) 2025-12-24 11:26:29 +01:00
compaction.test.ts Fix session-manager simplification issues 2025-12-22 02:43:38 +01:00
fuzzy.test.ts Reorganize file structure: core/, utils/, modes/interactive/components/, modes/interactive/theme/ 2025-12-09 00:51:33 +01:00
model-resolver.test.ts fix(coding-agent): handle OpenRouter models with colons in IDs (#242) 2025-12-19 15:26:12 +01:00
rpc-example.ts Update RPC example to use RpcClient 2025-12-09 14:44:13 +01:00
rpc.test.ts Fix agent event ordering: update state before emitting events 2025-12-09 14:33:39 +01:00
skills.test.ts Enable more biome lints and fix things 2025-12-21 22:56:20 +01:00
streaming-render-debug.ts Fix syntax highlighting stderr spam with malformed markdown, fixes #274 2025-12-22 00:23:01 +01:00
test-theme-colors.ts Reorganize file structure: core/, utils/, modes/interactive/components/, modes/interactive/theme/ 2025-12-09 00:51:33 +01:00
tools.test.ts fix(coding-agent): detect image MIME via file-type (#205) 2025-12-17 17:11:56 +01:00
truncate-to-width.test.ts fix: TUI crash with Unicode characters in branch selector 2025-12-05 11:59:39 +01:00