Skip to main content

Module runtime_lease

Module runtime_lease 

Source
Expand description

Transport-neutral observer and controller leases for live SDK runtimes.

HTTP, ACP, local frontends, and compatibility adapters all project this coordinator. Transports authenticate clients, but they do not get to invent different ownership or expiry semantics.

Structs§

CoordinatedRuntime
Shared transport-neutral owner of a runtime and its client leases.
CoordinatedRuntimeClient
Authenticated client projection of one coordinated SDK runtime.
RuntimeAuthorization
Permissions carried by one authenticated runtime client.
RuntimeClientId
Opaque identity scoped to one authenticated frontend connection.
RuntimeControllerLease
Controller lease visible through runtime describe/list operations.
RuntimeLeaseCoordinator
One-controller, many-observer coordination state for a live runtime.
RuntimeLeaseSnapshot
Serializable ownership snapshot included in registry descriptors.
RuntimeObserverLease
One attached observer and its last authenticated activity.

Enums§

RuntimeLeaseError
Stable coordination failure shared by every transport projection.
RuntimePermission
Capability independently granted to an authenticated runtime client.

Constants§

DEFAULT_RUNTIME_LEASE_TTL_MS
Default controller duration. Successful mutations and explicit heartbeats renew it; disconnect and detach release it immediately.