Skip to main content
[AVAILABLE]. packages/execution-gateway, 25 tests. Wired into the default server unconditionally, see The gateway.

Purpose

Independently re-verifies a signed execution authorization and its content hash before releasing execution to a Connector. Implements @parmana/execution-system’s ExecutionSystem interface.

Install

Key exports

ExecutionGatewayOptions

Supply either connector (direct) or executionControl (routes through credential isolation), not both. The default server uses executionControl.

ExecutionControlOptions, including deprecated fields

Two fields on this interface are deprecated in the source itself (packages/execution-gateway/src/ExecutionGateway.ts:39-42), documented here rather than omitted:
  • channel?: ExecutionChannel, @deprecated Embedded prototype retained for backward compatibility. Replacement: service (an ExecutionControl from @parmana/execution-control), combined with gatewayAuthentication or mintGatewayAuthentication.
  • gatewayIdentity?: GatewayIdentityProvider, @deprecated Use gatewayAuthentication with service. Replacement: gatewayAuthentication (a static value) or, preferred, mintGatewayAuthentication (a per-request minting function, see Gateway attestation).
Neither deprecated field is used by the default server’s own bootstrap (packages/api/src/bootstrap/createExecutionGateway.ts), which uses service and mintGatewayAuthentication exclusively.

Minimal example

Next

The gateway

The concept this package implements, plus what’s actually wired today.

@parmana/execution-control

What service and gatewayAuthentication actually are.