Home

mweinbach / agent-coworker

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

fix: validate JSON-RPC boundary results

2 months ago

92a86fa
Authored
mweinbach7/6/2026, 9:59:33 PM
Add schema-backed result parsing for desktop JSON-RPC thread hydration and research actions.

Tighten runtime bridge casts around Pi/OpenAI/Google message conversion and fix Google model-call telemetry to pass the model id.

Parent79d7b7d

9 files changed
  • apps/desktop/src/app/store.actions/research.ts+74−52
  • apps/desktop/src/app/store.helpers/controlSocket.ts+29−16
  • apps/desktop/src/app/store.helpers/jsonRpcSocket.ts+85−20
  • apps/desktop/test/control-socket.ensure.test.ts+14−0
  • apps/desktop/test/control-socket.harness.ts+5−0
  • apps/desktop/test/research-actions.test.ts+24−13
  • src/runtime/googleInteractionsRuntime.ts+17−9
  • src/runtime/openaiResponsesRuntime.ts+8−7
  • src/runtime/piMessageBridge.ts+26−21