Home

mweinbach / agent-coworker

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

Desktop: replace noisy tool logs with readable tool cards

8 months ago

d49fe62
Authored
mweinbach2/17/2026, 7:27:35 PM
- Add modular tool card components with minimized-by-default and expandable details views
- Add tool-card formatting helpers to humanize tool names, summarize args/results, and surface key facts
- Normalize legacy tool log lines (tool>/tool<) into paired tool feed items outside developer mode
- Wire ChatView to render normalized tool cards and keep raw logs for developer mode
- Refresh tool card styling for clearer hierarchy and readability
- Extend tool feed item status to include error and pass status through to cards
- Add tests for legacy log parsing/normalization

Parent78deaf7

9 files changed
  • apps/desktop/src/app/types.ts+1−1
  • apps/desktop/src/styles.css+24−18
  • apps/desktop/src/ui/ChatView.tsx+6−73
  • apps/desktop/src/ui/chat/toolCards/ToolCard.tsx+75−0
  • apps/desktop/src/ui/chat/toolCards/ToolCardMaximized.tsx+17−0
  • apps/desktop/src/ui/chat/toolCards/ToolCardMinimized.tsx+17−12
  • apps/desktop/src/ui/chat/toolCards/legacyToolLogs.ts+99−0
  • apps/desktop/src/ui/chat/toolCards/toolCardFormatting.ts+164
−0
  • apps/desktop/test/legacy-tool-logs.test.ts+49−0