Skip to main content

Module execution_context

Module execution_context 

Source
Expand description

Per-request execution context threaded through tool dispatch.

Every Tool::execute call receives an &ExecutionContext. The context carries tenant/user identity, the workspace root, and resolvers for per-tenant secrets and audit sinks. It is constructed at the request boundary (CLI command, Restate workflow activity, daemon dispatch) and threaded through the agent runner unchanged.

Structs§

ExecutionContext
Per-request context carried into every tool invocation.
Secret
A secret value with redacted Debug/Display formatting.

Traits§

AuditSink
Receives per-tool audit records emitted by tools that opt in.
CredentialResolver
Resolves a named secret (API key, token) for the current tenant.