Home

mweinbach / agent-coworker

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

Activity grouping, desktop file links, UI tweaks

8 months ago

d921a59
Authored
mweinbach3/7/2026, 3:40:31 AM
Introduce activity grouping and summaries for consecutive reasoning/tool feed items (buildChatRenderItems, ActivityGroupCard, activityGroups) and add tests for activity grouping. Enhance message rendering to safely handle desktop-local file links (cowork-file:), rewrite file:// links, and confirm opening external links; add rehype-sanitize and a custom Streamdown link component. Improve bootstrapping to pick most-recent workspace/thread and auto-select on startup. Enable autoReconnect on control and thread sockets. Several UI/UX adjustments: prompt input sizing and layout, tool card styling, chat view feed rendering to use activity groups, and a redesigned PromptModal with suggested replies. Misc: small test and docs updates.

Parenta02b4c4

17 files changed
  • apps/desktop/src/app/store.actions/bootstrap.ts+16−4
  • apps/desktop/src/app/store.helpers/controlSocket.ts+1−0
  • apps/desktop/src/app/store.helpers/threadEventReducer.ts+1−0
  • apps/desktop/src/components/ai-elements/message.tsx+216−4
  • apps/desktop/src/components/ai-elements/prompt-input.tsx+13−7
  • apps/desktop/src/components/ai-elements/tool.tsx+7−7
  • apps/desktop/src/ui/ChatView.tsx+31−33
  • apps/desktop/src/ui/PromptModal.tsx+81−36
  • apps/desktop/src/ui/chat/ActivityGroupCard.tsx+250−0
  • apps/desktop/src/ui/chat/activityGroups.ts+282−0
  • apps/desktop/src/ui/chat/toolCards/ToolCard.tsx+0−1
  • apps/desktop/test/chat-activity-groups.test.ts+156−0
  • apps/desktop/test/message-links.test.ts+98−0
  • apps/desktop/test/thread-reconnect.test.ts+11−0
  • apps/desktop/test/workspace-settings-sync.test.ts+115−0
  • tasks/lessons.md+4−0
  • tasks/todo.md+149−0