Skip to main content

Module extension

Module extension 

Source
Expand description

Public extension namespace. Use it for the documented extension API surface; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file. Extension action coordination and protocol recovery. Use this module when extension-declared capabilities resolve into policy-checked SDK actions. Execution may call extension ports and approval brokers, but extension hosts remain outside core.

Structs§

ExtensionActionContext
Holds extension action context application-layer state or configuration. Use it with the documented coordinator methods; run, journal, event, provider, or port effects are called out on those methods rather than on construction.
ExtensionActionCoordinator
Holds extension action coordinator application-layer state or configuration. Use it with the documented coordinator methods; run, journal, event, provider, or port effects are called out on those methods rather than on construction.
ExtensionActionOutcome
Holds extension action outcome application-layer state or configuration. Use it with the documented coordinator methods; run, journal, event, provider, or port effects are called out on those methods rather than on construction.
ExtensionProtocolRecoveryContext
Holds extension protocol recovery context application-layer state or configuration. Use it with the documented coordinator methods; run, journal, event, provider, or port effects are called out on those methods rather than on construction.
ExtensionProtocolRecoveryOutcome
Holds extension protocol recovery outcome application-layer state or configuration. Use it with the documented coordinator methods; run, journal, event, provider, or port effects are called out on those methods rather than on construction.

Enums§

ExtensionActionOutcomeStatus
Enumerates the finite extension action outcome status cases. Serialized names are part of the SDK contract; update fixtures when variants change.

Functions§

recover_extension_protocol_error
Recover extension protocol error. This appends protocol-recovery evidence through the journal so extension transport errors can be reconciled without executing another action.