Dhanji R. Prasanna
cd64ebbf87
Add tokens consumed and context percentage to per-tool timing footer
The per-tool timing line now shows:
- Tokens delta (tokens added to context by this tool call)
- Context window usage percentage
Example: └─ ⚡️ 1ms 523tk | 49% ctx
Changes:
- Updated UiWriter trait print_tool_timing signature
- Track tokens before/after adding tool messages to calculate delta
- Updated ConsoleUiWriter, MachineUiWriter, PlannerUiWriter, and test mocks
2025-12-24 15:44:19 +11:00
..
2025-12-24 15:44:19 +11:00
2025-12-22 16:27:35 +11:00
2025-12-16 12:36:18 +11:00
2025-12-22 16:45:17 +11:00
2025-12-24 15:44:19 +11:00
2025-12-22 16:27:35 +11:00
2025-12-22 16:27:35 +11:00
2025-12-24 15:44:19 +11:00
2025-12-22 16:27:35 +11:00