Skip to main content
You only need this page if you are not using the SDK, for example in a non-React app. Every message below has a typed wrapper in @cskn/sdk.
The shell installs window.cskn.bridge before your code runs:
Requests that expect an answer get one with the same type plus .result. Several features never answer outside a shell, so check that window.cskn?.bridge exists first.

App → shell

Shell → app

Recorded video transfer

A page cannot read the shell’s file:// paths, so a recorded clip is sent as camera.open.chunk messages, and camera.open.result closes the transfer with the chunk count. Join the data fields in seq order and decode the base64. Clips over 64 MB are not sent: the result carries error: 'too_large' and only video.uri.