Expand description
Split tool results: Dual-channel output for LLM and UI
Implements Phase 4 of pi-coding-agent integration:
- LLM content: Concise summaries optimized for token efficiency
- UI content: Rich output with full details for user display
Expected savings: 20-30% on tool-heavy sessions (97% on tool output tokens)
Structsยง
- Token
Counts - Token counting for split tool results
- Tool
Metadata - Metadata accompanying tool results
- Tool
Metadata Builder - Builder for ToolMetadata
- Tool
Result - Result from tool execution with dual-channel output