Skip to main content

Module session_bundle

Module session_bundle 

Source
Expand description

Canonical session bundle export/import support.

A session bundle is the portable JSON envelope that downstream hosts use for local exports, sanitized shares, and replay-only handoffs. The bundle is intentionally built from existing Harn run-record surfaces so replay, transcripts, tool calls, HITL questions, and observability do not fork into a second persistence model.

Structs§

BundleAttachment
BundleEventLogPointer
BundleJsonEntry
BundlePermission
BundleProducer
BundleReplay
BundleRuntime
BundleSource
BundleToolCall
BundleTools
BundleTranscript
BundleTranscriptSection
BundleUsage
BundleWorkspace
RedactionEntry
RedactionManifest
SessionBundle
SessionBundleExportOptions
SessionBundleValidationOptions

Enums§

SessionBundleError
SessionBundleExportMode

Constants§

REPLAY_ONLY_PLACEHOLDER
SESSION_BUNDLE_SCHEMA_ID
SESSION_BUNDLE_SCHEMA_VERSION
SESSION_BUNDLE_TYPE

Functions§

export_run_record_bundle
import_run_record_value
session_bundle_schema
session_bundle_schema_pretty
validate_session_bundle_str
validate_session_bundle_value