Skip to main content

Module live_runtime

Module live_runtime 

Source
Expand description

Trusted local receipts for attachable Supercode runtimes.

A browser-facing host may reveal the opaque LiveRuntimeEndpoint, but never the HTTP bearer token stored in the receipt. The harness service resolves that endpoint inside the user’s process, checks the source session/workspace identity, and then authenticates to the runtime.

Structs§

LiveRuntimeEndpoint
Browser-safe reference to a trusted local runtime receipt.
LiveRuntimeMetadata
Static runtime metadata recorded at registration. Dynamic state, actions, controller, and observers are queried from the authenticated SDK endpoint.
LiveRuntimeRecord
Browser-safe inventory record for one reconciled live receipt.
LiveRuntimeRegistration
RAII registration for one live runtime. Dropping it removes only the receipt created by this registration, leaving persisted chat data intact.
LiveRuntimeSource
Stable source identity through which a hosted continuation is discovered.
ResolvedLiveRuntime
Secret host-side information recovered from a verified receipt.

Enums§

LiveRuntimeReceiptError
Receipt registration or resolution failure.
LiveRuntimeSupervisor
Optional local process supervisor for an attachable runtime.

Functions§

discover_live_runtime
Find the newest live receipt matching a discovered source session.
find_live_runtime
Resolve one stable runtime id, requiring an explicit choice if stale or concurrent registrations would otherwise make attachment ambiguous.
forget_live_runtime
Remove only a stale attachment receipt. Canonical, sidecar, source-native, and exported session data are never addressed by this operation.
list_live_runtimes
List every reconciled live runtime without exposing its bearer token or loopback address. Dead-process receipts are removed as part of the read.
register_live_runtime
Register an authenticated loopback runtime and return its opaque endpoint.
register_live_runtime_with_metadata
Register a runtime with the static fields used by list/describe output.
resolve_live_runtime
Resolve an opaque endpoint and verify that it belongs to expected.