Skip to main content

Module session

Module session 

Source
Expand description

Pure producer for host-owned sessions. Compatibility is not execution authority.

This format preserves step boundaries; it neither launches a vendor nor flattens a component into a conversational prompt. A host must implement every emitted requirement.

Constants§

COMPONENT_HOST_PROTOCOL
COMPOSED_EXECUTION
COMPOSED_SESSION_PLAN_VERSION
Explicit composed plan format. Legacy hosts must not execute it.
MAX_INPUT_BYTES
Maximum size of either input and the compact output, in bytes.
SESSION_PLAN_VERSION
Producer format version, independent of the IR and package versions.

Functions§

produce_session
Produce a bounded, deterministic JSON artifact using only caller-supplied bytes.