co-mono/packages/coding-agent/src/core
Mario Zechner ff78ac2f84 Replace custom tool dispose() with shutdown session event
Breaking change: CustomAgentTool.dispose() removed. Use onSession with
reason 'shutdown' instead for cleanup.

- Add 'shutdown' to SessionEvent.reason for custom tools
- Remove dispose() method from CustomAgentTool interface
- Make emitToolSessionEvent() public on AgentSession
- Emit shutdown event to tools in InteractiveMode.shutdown()
- Update custom-tools.md with new API and examples
2025-12-31 02:55:45 +01:00
..
compaction refactor(coding-agent): fix compaction for branched sessions, consolidate hook context types 2025-12-31 02:24:24 +01:00
custom-tools Replace custom tool dispose() with shutdown session event 2025-12-31 02:55:45 +01:00
hooks refactor(coding-agent): fix compaction for branched sessions, consolidate hook context types 2025-12-31 02:24:24 +01:00
tools Fix tree selector gutter alignment, add page navigation, improve styling 2025-12-30 22:42:23 +01:00
agent-session.ts Replace custom tool dispose() with shutdown session event 2025-12-31 02:55:45 +01:00
auth-storage.ts refactor(hooks): split session events into individual typed events 2025-12-30 22:42:22 +01:00
bash-executor.ts refactor(hooks): split session events into individual typed events 2025-12-30 22:42:22 +01:00
exec.ts Refactor: shared exec utility, rename CustomMessageRenderer to HookMessageRenderer 2025-12-30 22:42:19 +01:00
export-html.ts refactor(hooks): split session events into individual typed events 2025-12-30 22:42:22 +01:00
index.ts refactor(coding-agent): fix compaction for branched sessions, consolidate hook context types 2025-12-31 02:24:24 +01:00
messages.ts refactor(hooks): split session events into individual typed events 2025-12-30 22:42:22 +01:00
model-registry.ts refactor(hooks): split session events into individual typed events 2025-12-30 22:42:22 +01:00
model-resolver.ts refactor(hooks): split session events into individual typed events 2025-12-30 22:42:22 +01:00
sdk.ts refactor(hooks): split session events into individual typed events 2025-12-30 22:42:22 +01:00
session-manager.ts Pass fromHook to appendCompaction for both manual and auto compaction 2025-12-30 22:42:24 +01:00
settings-manager.ts Return defensive copies from SettingsManager getters 2025-12-30 22:42:24 +01:00
skills.ts Skip over exact duplicate skills 2025-12-24 22:45:19 +01:00
slash-commands.ts Add SDK for programmatic AgentSession usage 2025-12-22 00:47:16 +01:00
system-prompt.ts feat: Call resolvePromptInput on the --system-prompt received on the CLI argument. This is needed to support file paths on the prompt (#287) 2025-12-23 13:06:40 +01:00
timings.ts Release v0.27.1 2025-12-22 19:28:26 +01:00