Home

mweinbach / agent-coworker

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

fix: address JSON-RPC PR review (defaults, refresh race, errors, teardown)

7 months ago

0ac1188
Authored
mweinbach3/22/2026, 3:52:50 AM
Preserve allowBeforeHydration on busy-thread deferral; clear providerStatusRefreshing
only when the matching refresh generation completes; return JSON-RPC internal
errors when route handlers reject; close the workspace socket after thread
session_close/unsubscribe during workspace remove and restart.

Made-with: Cursor

Parent316900c

9 files changed
  • apps/desktop/src/app/store.actions/provider.ts+2−1
  • apps/desktop/src/app/store.actions/workspace.ts+18−16
  • apps/desktop/src/app/store.actions/workspaceDefaults.ts+1−0
  • apps/desktop/src/app/store.helpers/controlSocket.ts+4−1
  • apps/desktop/src/app/store.helpers/runtimeState.ts+3−0
  • apps/desktop/test/control-socket.test.ts+74−0
  • apps/desktop/test/workspace-settings-sync.test.ts+48−0
  • src/server/startServer.ts+21−5
  • test/server.jsonrpc.test.ts+39−0