Home

mweinbach / agent-coworker

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

fix(protocol): address Copilot feedback on protocol v7.3 discrepancies

8 months ago

4b06d58
Authored
Diwak4r3/9/2026, 5:43:22 PM
This commit corrects several issues identified in the PR feedback:\n - Updates WEBSOCKET_PROTOCOL_VERSION to 7.3 to match documentation.\n - Adds session_usage event to protocolEventParser schema and known types.\n - Clarifies prefix matching documentation in pricing.ts.\n - Fixes formatCost implementation/documentation mismatch.\n - Includes missing byModel and turns fields in SessionUsageSnapshot documentation.

Parent7afffb7

4 files changed
  • docs/websocket-protocol.md+2−0
  • src/server/protocolEventParser.ts+25−6
  • src/session/pricing.ts+3−4
  • test/tools.test.ts+3−2