Skip to content

ActionExecutionContext

Defined in: namespaces-core-plugins.ts:211

Execution context passed as the SINGLE argument to an action handler registered via actions.register(...) (fn-89). Mirrors exactly the object the host constructs per invocation: the validated input plus invocation metadata. Deliberately has NO index signature — the host passes only these fields, so unknown-property access is a type error.

invocationId: string

Defined in: namespaces-core-plugins.ts:213

Unique id (UUID string) for this invocation.


source: InvocationSource

Defined in: namespaces-core-plugins.ts:215

What initiated the invocation.


input: AnyJSONValue

Defined in: namespaces-core-plugins.ts:217

Validated action input ({} when the action was invoked with empty input).


optional sourceId?: string

Defined in: namespaces-core-plugins.ts:219

Originating identity when known (e.g. calling plugin id); key absent otherwise.