Skip to main content

Module types

Module types 

Source
Expand description

Serde types for the workflow documents carried in server-owned run views. Unknown document fields are tolerated, but the client envelope is strict.

Structs§

ActionReceipt
ArtifactRef
An artifact reference extracted from a {"$artifact": …} sentinel.
ConversationRange
DefinitionSnapshot
Manifest
ManifestPaths
NodeResult
RunState
SessionBinding
SessionCapture
SessionCaptureFailure
SessionEntryRecord
SessionEventRecord
StepRecord
SwitchDef
TraceEvent
WorkflowDisplay

Enums§

EdgeDef
A workflow edge: either a simple from -> to or a labelled switch.
NodeOutcome
RunStatus
SessionCaptureStatus
WorkflowActivity
WorkflowControl
WorkflowSource

Constants§

DEFINITION_SNAPSHOT_SCHEMA
RUN_BUNDLE_SCHEMA
RUN_STATE_SCHEMA
SESSION_BINDING_SCHEMA
SESSION_CAPTURE_SCHEMA
SESSION_EVENT_SCHEMA

Functions§

as_artifact_ref
Detect the $artifact sentinel: an object whose only key is $artifact.
as_escaped
Unwrap one level of {"$escaped": …} if present.