Expand description
Preview command protocol types.
This module defines the messages exchanged between:
- CLI → Preview support app (render commands via TCP)
- Preview support app → CLI (render results via TCP)
Structs§
- AppOutput
- Successful render output.
- DylibId
- Stable identifier for a preview dylib payload.
- Preview
Protocol Info - Protocol metadata exchanged during ping/pong handshake.
- Preview
TcpConfig - TCP configuration shared by the CLI and preview app.
- Size
- Frame size for rendering.
Enums§
- AppError
- Errors that can occur during preview rendering.
- AppRequest
- Request from CLI to preview support app.
- AppResponse
- Response from preview support app.
- Dylib
Source - How to provide the dylib used for rendering.
- Preview
Platform - Target platform for a native preview support app.
- Preview
Runtime Platform - Runtime platform that owns the preview support app process.
Constants§
- PREVIEW_
PROTOCOL_ COMMIT - Build commit hash for protocol compatibility checks.
Functions§
- function_
path_ to_ symbol - Convert a function path to preview export symbol.