co-mono/packages/coding-agent/src/core/tools
Mario Zechner 3d9bad8fb6 Expose full tool result content and details in hook tool_result event
Breaking change: ToolResultEvent now exposes content and typed details
instead of just a result string. Hook handlers returning { result: ... }
must change to { content: [...] }.

- ToolResultEvent is now a discriminated union based on toolName
- Each built-in tool has typed details (BashToolDetails, etc.)
- Export tool details types and TruncationResult
- Update hooks.md documentation

Closes #233
2025-12-19 00:42:08 +01:00
..
bash.ts Expose full tool result content and details in hook tool_result event 2025-12-19 00:42:08 +01:00
edit.ts coding-agent: fix macOS screenshot filenames with unicode spaces (#181) 2025-12-13 22:04:01 +01:00
find.ts Expose full tool result content and details in hook tool_result event 2025-12-19 00:42:08 +01:00
grep.ts Expose full tool result content and details in hook tool_result event 2025-12-19 00:42:08 +01:00
index.ts Expose full tool result content and details in hook tool_result event 2025-12-19 00:42:08 +01:00
ls.ts Expose full tool result content and details in hook tool_result event 2025-12-19 00:42:08 +01:00
path-utils.ts coding-agent: fix macOS screenshot filenames with unicode spaces (#181) 2025-12-13 22:04:01 +01:00
read.ts Expose full tool result content and details in hook tool_result event 2025-12-19 00:42:08 +01:00
truncate.ts Fix hardcoded truncation limits in tool output display 2025-12-09 17:06:29 +01:00
write.ts coding-agent: fix macOS screenshot filenames with unicode spaces (#181) 2025-12-13 22:04:01 +01:00