Skip to main content

Module middleware

Module middleware 

Source
Expand description

Cross-cutting command execution middleware.

Structs§

ActivityEvent
Structured activity event emitted after command execution paths.
CommandMeta
Per-command metadata consumed by middleware.
Middleware
Cross-cutting command execution state and dependencies.
MiddlewareOutput
Rendered result produced by middleware.
MiddlewareRequest
Inputs for one middleware-managed command execution.

Traits§

ActivityEmitter
Activity hook for structured command lifecycle events.
Auditor
Audit hook called for success, error, denied, auth-error, and dry-run outcomes.
Authorizer
Authorization hook called after credential resolution and before business logic.

Functions§

value_map
Convenience helper for building a JSON object map.

Type Aliases§

ValueMap
JSON object map used for command args and metadata.