Skip to content

Add companion pairing contracts and server stubs#403

Merged
BunsDev merged 1 commit into
mainfrom
okcode/mobile-companion-pairing-1
Apr 10, 2026
Merged

Add companion pairing contracts and server stubs#403
BunsDev merged 1 commit into
mainfrom
okcode/mobile-companion-pairing-1

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 10, 2026

Summary

  • Add shared contracts for the companion pairing flow, including pairing bundles, device sessions, and paired device RPC inputs/results.
  • Extend WebSocket protocol parsing and tests for the new companion pairing methods.
  • Add mobile bundle parsing helpers and tests for the new JSON pairing bundle format.
  • Wire server-side companion pairing RPCs with placeholder responses while the session manager is still pending.
  • Update the mobile pairing UI copy to note the upcoming QR-based flow.

Testing

  • Not run (PR content prepared from code diff only).
  • Added contract coverage in packages/contracts/src/ws.test.ts for companion pairing request shapes.
  • Added mobile parser coverage in apps/mobile/src/mobilePairing.test.ts for valid, invalid, and forward-compatible bundle payloads.

- Add schemas and WS methods for companion pairing bundles and paired devices
- Stub server handlers for the new companion RPCs
- Update mobile parsing tests and pairing link copy
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 10, 2026 4:24pm
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 10, 2026 4:24pm

@github-actions github-actions Bot added size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 10, 2026
@BunsDev BunsDev merged commit a8d9c8e into main Apr 10, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant