Home

mweinbach / agent-coworker

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

docs: fix websocket protocol drift and add automated method drift check

4 months ago

9cd4eae
Authored
mweinbach6/9/2026, 5:21:36 PM
- document cowork/provider/auth/setConfig, cowork/workspace/presentation/preview
- document research/approvePlan and research/refinePlan
- document 6 missing notifications (backupState, harnessContext, agentProfiles/catalog, control/event, log, todos)
- add full JSON-RPC error code table (8 codes, previously 3 documented)
- clarify that item/fileChange/requestApproval is upstream-only; the cowork wire always sends item/commandExecution/requestApproval
- check_docs.ts now diffs the schema registry against the doc in both directions, so drift fails CI

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Parent15963f6

2 files changed
  • docs/websocket-protocol.md+30−1
  • packages/harness/src/check_docs.ts+62−0