Enrich tool_end events with result_chars, result_summary, and error_type fields. Since run-log.jsonl is append-only and never compacted, this preserves tool result metadata that would otherwise be lost when session.jsonl undergoes compaction. New fields: - result_chars: total character count of result content - result_summary: short tool-specific summary (e.g. "10 results", "12.5KB", "finance/get_price_snapshot") - error_type: error category for tool errors (e.g. "fetch_failed") Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| core | ||
| hooks | ||
| sdk | ||
| store | ||
| types | ||
| ui | ||
| utils | ||