OptionalabortOptional cancellation signal propagated from the caller.
The MJ Action record being executed.
OptionalaudienceThe calling run's audience (RunActionParams.Audience). The engine refuses a Runtime action under an audience
today (it does not declare SupportsAudience), so this is normally absent; handlers pass it on or refuse.
Validated runtime configuration parsed from Action.RuntimeActionConfiguration.
The invoking user context — used for permission checks inside handlers.
OptionalproviderOptional metadata provider to use for any data access performed inside bridge handlers.
When supplied, handlers must honor it (e.g. const md = ctx.provider ?? new Metadata())
so that handler-side reads/writes participate in the caller's transaction. Falls back to
the default global provider when not supplied.
OptionalrunThe calling agent run's scope (RunActionParams.RunScope). Handlers that dispatch further actions or agents
must pass it on, so a nested Scoped Search searches the run's tenant instead of trusting the sandboxed code's
parameters. Absent outside an agent run.
Shared context passed to
RuntimeActionBridgeBuilder.BuildHandlersat the point ActionEngine decides to run aType='Runtime'action. Everything the builder needs to produce a per-execution handler map lives here.confighas already been Zod-validated by ActionEngine before the builder is asked to build handlers — implementations can trust the shape.