@xenosystem/block-sdk
v0.3.4
Published
XENO Block SDK — the contract every XENO block implements (manifest, lifecycle, host API, registry, sandbox — moved from @xenosystem/panel-sdk) plus blocks as DECLARATIONS (composition + bindings + manifest, rendered into a PanelModule). The LOCKED rung-3
Readme
@xenosystem/block-sdk
Blocks as declarations. The contract (PanelManifest, ports, commands) is @xenosystem/panel-sdk's,
unchanged; this adds the declaration — composition (components by family/Unit, prop bindings,
callback emits, when, each, slot, and since 0.3.0 node-valued props — { node: … } binds a
subtree to a prop, for units whose parts are element props rather than children: Toolbar left/right,
Row trailing, StatusBar) + an optional pure behaviour — and the renderer that turns one
into a PanelModule. Recorded as panel-sdk's successor (XENO PACKAGE NAMING - STANDARD.md).
The first declaration is the auth gate: @xenosystem/blocks/auth → AUTH_GATE_DECLARATION, held
byte-identical to its code view in every phase by a test.
