Home

mweinbach / agent-coworker

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

feat(a2ui,desktop): phase 2 wire client-side action dispatch

6 months ago

19b1c6f
Authored
Cursor Agent4/17/2026, 6:03:34 PM
- dispatchA2uiAction store action calls cowork/session/a2ui/action
- Add A2uiActionDispatcher to A2uiRenderer; Button now fires click, TextField fires submit on Enter + change on blur, Checkbox fires change
- A2uiSurfaceCard binds the dispatcher to the active thread via the store
- Interactive controls stay disabled for deleted surfaces or when no thread is selected

Co-authored-by: Max Weinbach <mweinbach@users.noreply.github.com>

Parent152d47d

5 files changed
  • apps/desktop/src/app/store.actions/thread.ts+30−1
  • apps/desktop/src/app/store.helpers.ts+7−0
  • apps/desktop/src/app/store.helpers/jsonRpcSocket.ts+24−0
  • apps/desktop/src/ui/chat/a2ui/A2uiRenderer.tsx+91−11
  • apps/desktop/src/ui/chat/a2ui/A2uiSurfaceCard.tsx+24−2