Skip to main content

Module action

Module action 

Source

Structs§

ActionContext
Request metadata passed unchanged to registered handlers.
ActionError
An actionable failure with structured details; no transport-specific error numbers.
ActionResult
Action completion or a deferred host-managed task.
ActionSpec
A static semantic action contract. Register each implementation once in its host.
BatchCall
Owned invocation for an ordered batch.
BatchResult
Ordered batch outcome, retaining the outcome of each attempted call.
Dispatcher
Activation gate and deterministic dispatcher. Opening transports remains a host decision.
Invocation
Borrowed single invocation.
Page
One deterministic page of action discovery.
Resource
Small metadata link to binary/file data, kept out of state snapshots.

Enums§

Access
Who may run an action through external control (agents, scripts over IPC / MCP).
ErrorCode
Stable structured failure categories.

Traits§

Host
Application adapter; the dispatcher never invents domain semantics from pixels.

Functions§

validate_registry
Validate stable identifiers and prevent ambiguous name/command registrations.