Skip to main content

Module authoring

Module authoring 

Source
Expand description

Runtime-neutral values shared by Authoring V2 execution profiles.

This module does not define a transport envelope. Process and Bun adapters wrap these values in their own versioned protocols. Runtime-neutral Authoring V2 values and validation.

Structs§

AuthoringLimits
Host bounds confirmed during initialization.
CancelAck
CancelParams
Cancellation request. Acknowledgement does not imply execution settlement.
CleanupDiagnostic
ConstructParams
Host-to-runtime factory invocation.
ConstructedResult
InitializeParams
Host-to-runtime initialization value.
InvocationResult
InvocationScope
Invocation ancestry and ambient values that outbound calls must preserve.
InvokeParams
Host-to-plugin operation invocation.
OutboundCallParams
Plugin-to-Host call through one exact Plan route.
ProvidedEndpoint
One endpoint exported by the admitted Plugin instance.
RequirementDeclaration
One source-declared dependency, keyed independently from its Capability.
RouteDescriptor
One exact provider selected for a named requirement.
SessionIdentity
Immutable identity of one admitted Plugin generation.
Settlement
Runtime observation that one execution has actually stopped.
StopParams
Fresh cleanup scope with the remaining shared cleanup budget.
StoppedResult

Enums§

FactoryOutcome
Result of transferring the constructed object to the runtime.
InvocationOutcome
RequirementCardinality
Cardinality of one named requirement.
RuntimeFailure
Portable operation outcome. It is distinct from execution settlement.
SettlementState
StopHookOutcome

Constants§

AUTHORING_API_VERSION
First interoperable Authoring value API.
DEFAULT_MAX_FRAME_BYTES
Default maximum encoded frame size.

Functions§

decode_frame
Decodes one bounded strict Authoring value.

Type Aliases§

InitializedResult
Runtime echo proving that it admitted exactly the Host initialization.
OutboundCallResult