Home

mweinbach / agent-coworker

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

fix(desktop): pass the workflows flag through to the sidecar server

2 months ago

4abf664
Authored
mweinbach7/26/2026, 4:38:50 PM
`buildServerEnv` forwards COWORK_ENABLE_TASKS when the desktop `tasks` flag is
on, but nothing forwarded the equivalent for `workflows`. The flag defaults off,
so the sidecar never saw it and `createWorkflowTool` always returned null: the
workflow tool was unreachable from the desktop app entirely.

Observed in practice — a session prompted to "use a workflow" instead hand-rolled
a fan-out with spawnAgent/waitForAgent, because the tool was absent from the tool
set.

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

Parent307fe50

2 files changed
  • apps/desktop/electron/services/serverManager.ts+4−2
  • apps/desktop/test/server-manager.test.ts+13−0