co-mono/packages/coding-agent/src/core/custom-tools
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
..
index.ts Forward onUpdate callback through hook wrapper (#238) 2025-12-19 15:23:41 +01:00
loader.ts refactor(hooks): split session events into individual typed events 2025-12-30 22:42:22 +01:00
types.ts Replace custom tool dispose() with shutdown session event 2025-12-31 02:55:45 +01:00