co-mono/packages
Mario Zechner ddda8b124c refactor(coding-agent): fix compaction for branched sessions, consolidate hook context types
Compaction API:
- prepareCompaction() now takes (pathEntries, settings) only
- CompactionPreparation restructured: removed cutPoint/messagesToKeep/boundaryStart, added turnPrefixMessages/isSplitTurn/previousSummary/fileOps/settings
- compact() now takes (preparation, model, apiKey, customInstructions?, signal?)
- Fixed token overflow by using getPath() instead of getEntries()

Hook types:
- HookEventContext renamed to HookContext
- HookCommandContext removed, RegisteredCommand.handler takes (args, ctx)
- HookContext now includes model field
- SessionBeforeCompactEvent: removed previousCompactions/model, added branchEntries
- SessionBeforeTreeEvent: removed model (use ctx.model)
- HookRunner.initialize() added for modes to set up callbacks
2025-12-31 02:24:24 +01:00
..
agent Fix README: tools are AgentTool, not extending Tool 2025-12-30 23:46:41 +01:00
ai Update ai package CHANGELOG.md for v0.30.2+ changes 2025-12-30 23:09:13 +01:00
coding-agent refactor(coding-agent): fix compaction for branched sessions, consolidate hook context types 2025-12-31 02:24:24 +01:00
mom Update mom CHANGELOG.md for unreleased changes since v0.30.2 2025-12-31 00:07:49 +01:00
pods Fix pods CLI: remove reference to non-existent stopAllModels 2025-12-30 22:42:25 +01:00
tui Export wrapTextWithAnsi utility and add handleInput docs 2025-12-30 23:28:38 +01:00
web-ui Minor README update 2025-12-31 00:03:50 +01:00