Skip to content

@camera.ui/sdk / plugin / PROTOCOL_LEVEL

Variable: PROTOCOL_LEVEL

const PROTOCOL_LEVEL: 2 = 2

Defined in: plugin/contract.ts:11

Compatibility level of the plugin surface: the plugin-facing API and the plugin wire protocol. Bumped only on breaking changes, never for additive features. The CLI stamps the level a plugin was built against into its bundle (cameraui.protocolLevel in the bundle package.json); the server compares that stamp with its own level and refuses to start plugins outside its supported range.