Skip to main content

Module context

Module context 

Source
Expand description

Context token wrapper for the capability engine.

Delegates to hessra-context-token for all token operations, wrapping with engine types (ObjectId, ExposureLabel, SessionConfig, EngineError).

Structs§

ContextToken
A context token tracking data exposure for an object.
HessraContext
Builder for creating Hessra context tokens.

Functions§

add_exposure_block
Add exposure labels to a context token.
extract_exposure_labels
Extract all exposure labels from a context token by re-parsing the Biscuit.
fork_context
Fork a context token for a sub-agent, inheriting the parent’s exposure.