Skip to Content
Native IntegrationOverview

Native Integration

VSRelay is protocol-first. The extension + relay define a stable WebSocket protocol. The PWA is a reference renderer; native clients (iOS, Android) consume the same protocol and render whatever the server sends.

App-store resilience principle: the native app fetches data, not code. When Claude Code’s recovery flow changes, the extension ships a new action description over the wire — the pre-built renderer displays it without an App Store update.

What’s in here

How to read this

Start with Protocol Basics. Then pick the controller you’re implementing.

Every section is open-union friendly: unknown errorCodes, unknown severitys, unknown action kinds all render as human-readable fallback chips. Future protocol additions never break a pre-built native renderer.