Home

mweinbach / agent-coworker

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

feat(desktop): add a workflows panel

2 months ago

aea823c
Authored
mweinbach7/26/2026, 4:20:41 PM
Renders live runs in the context sidebar above Subagents: phases in meta.phases
declaration order rather than the order their first agent happened to start,
per-agent state, cached markers on replayed calls, run cost, and recent log
lines.

`workflow_progress` is suppressed from the transcript feed — each emission is a
full snapshot, so replaying them into the feed would stack duplicates — but it
is still persisted, so the panel is rebuilt on rehydrate by keeping the last
event per runId. Without that a mid-run reload would show an empty panel while
the run was live and spending.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kk98XjGKJrKp5ynbiNFMFu

Parent0332d86

10 files changed
  • apps/desktop/src/app/store.actions/thread.ts+1−0
  • apps/desktop/src/app/store.feedMapping.ts+29−1
  • apps/desktop/src/app/store.helpers/runtimeState.ts+1−0
  • apps/desktop/src/app/store.helpers/threadEventReducer/handlers/lifecycleHandlers.ts+19−0
  • apps/desktop/src/app/store.helpers/threadEventReducerContext.ts+1−0
  • apps/desktop/src/app/transcriptHydration.ts+2−0
  • apps/desktop/src/app/types.ts+7−0
  • apps/desktop/src/lib/wsProtocol.ts+33−0
  • apps/desktop/src/ui/ContextSidebar.tsx+11−0
  • apps/desktop/src/ui/WorkflowRunsPanel.tsx+176−0