Skip to main content

Module session

Module session 

Source
Expand description

Session-scoped identifiers and normalized operations.

These types sit above the raw transport frames. The edge layer can translate JSON-RPC, stdio frames, or another protocol into SessionOperation, and the kernel can evaluate those operations without knowing how they arrived.

Structs§

ChioIdentityAssertion
Optional continuity or login assertion carried across verifier-facing flows.
CompleteOperation
Completion payload for prompt arguments or resource templates.
CompletionArgument
In-progress argument being completed.
CompletionResult
Completion result payload.
CreateElicitationResult
Result payload returned by a client-side elicitation request.
CreateMessageOperation
Normalized payload for an MCP sampling/createMessage child request.
CreateMessageResult
Result payload returned by a client-side sampling request.
EnterpriseIdentityContext
GetPromptOperation
Prompt retrieval payload.
OAuthBearerFederatedClaims
OAuthBearerSessionAuthInput
OperationContext
Session-scoped metadata attached to every normalized operation.
PromptArgument
Prompt argument metadata.
PromptDefinition
Prompt metadata exposed through the session layer.
PromptMessage
Message inside a prompt response.
PromptResult
Prompt retrieval result.
ReadResourceOperation
Resource read payload.
RequestId
Opaque identifier for a request scoped to a session.
RequestLineageRecord
Persisted kernel record for one request node in the provenance DAG.
RequestOwnershipSnapshot
Ownership model for request-scoped work.
ResourceContent
Resource content payload returned by a read request.
ResourceDefinition
Resource metadata exposed through the session layer.
ResourceTemplateDefinition
Parameterized resource template metadata.
RootDefinition
Root metadata exposed by the client to bound filesystem access.
SamplingMessage
Message content submitted for client-side sampling.
SamplingTool
Tool schema advertised to a client during a sampling request.
SamplingToolChoice
Controls whether tool use is allowed during client-side sampling.
SessionAnchor
Signed session anchor that captures authenticated session continuity.
SessionAnchorBody
Signable session-continuity anchor bound to a normalized auth context.
SessionAnchorContext
SessionAnchorReference
Stable handle to a signed session anchor.
SessionAuthContext
Normalized transport-authentication context bound to a logical session.
SessionId
Opaque identifier for a logical runtime session.
SessionProofBinding
Optional proof-binding material that tightens session continuity semantics.
TaskOwnershipSnapshot
Ownership model for task-scoped work.
ToolCallOperation
Normalized tool call payload. This is transport-agnostic and suitable for direct kernel evaluation.

Enums§

CompletionReference
Reference target for an MCP-style completion request.
CreateElicitationOperation
Normalized payload for an MCP elicitation/create child request.
ElicitationAction
Action selected by the client during an elicitation flow.
EnterpriseFederationMethod
NormalizedRoot
Normalized root view consumed by the shared runtime.
OperationKind
Normalized operation kind, independent of edge framing.
OperationTerminalState
Terminal runtime state for a session-scoped request.
ProgressToken
Token used to correlate progress updates to a request.
RequestLineageMode
Runtime lineage mode for a request node inside Chio’s provenance graph.
ResourceUriClassification
Explicit runtime classification for resource URIs.
SessionAuthMethod
Authentication method used to admit a session at the transport layer.
SessionOperation
Higher-level operations the runtime can evaluate within a session.
SessionTransport
Transport family that owns a logical runtime session.
StreamOwner
Canonical owner for a stream surface within a session.
WorkOwner
Canonical owner for work and terminal state within a session.

Constants§

CHIO_REQUEST_LINEAGE_RECORD_SCHEMA
Versioned schema identifier for persisted request-lineage records.
CHIO_SESSION_ANCHOR_SCHEMA
Versioned schema identifier for signed session anchors.