Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(TUI): restore fallback handling for tool descriptors and usage alternate keys

8 months ago

f4f2c05
Authored
Cursor Agent2/24/2026, 3:52:19 AM
- normalizeToolDescriptor: handle bare string values and empty/missing
  description by falling back to the tool name, matching old behavior
- extractUsageSnapshot: restore alternate provider key names
  (requestTokens, input, prompt, responseTokens, output, completion,
  tokenCount, total) via passthrough record access

Parent2bcb7cd

2 files changed
  • apps/TUI/context/syncEventReducer.ts+12−6
  • apps/TUI/context/syncModelStreamLifecycle.ts+4−3