Interface: RuntimeDriverContext
Defined in: ports/runtime-driver-context.ts:12
Root runtime driver context supplied to adapter factory functions in RuntimeExecutorRegistry.
Provides access to the composite executor registry, symbolic EnvRef resolution, and memoized RunnerDriver instances keyed by runner node ID.
Methods
getRunner()
getRunner(node): RunnerDriver;Defined in: ports/runtime-driver-context.ts:36
Returns the runtime's memoized RunnerDriver instance for the given runner pool AST node.
Ensures all steps and services referencing the same RunnerPoolASTNode.id share a single concurrency semaphore.
Parameters
| Parameter | Type | Description |
|---|---|---|
node | NodeRunnerNode | Passive runner pool AST node. |
Returns
Memoized concurrency-limiting runner driver instance.
resolveEnv()
resolveEnv(value): string | undefined;Defined in: ports/runtime-driver-context.ts:25
Resolves a literal string or symbolic P.env(key) reference against the runtime environment map.
Evaluates symbolic environment references strictly at leaf driver invocation time without reading process.env directly.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | string | EnvRef | Literal string or symbolic environment variable reference. |
Returns
string | undefined
Resolved environment variable value, or undefined if unset.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
registry | readonly | RuntimeExecutorRegistry | Composite registry of stateless AST node executors and driver factories. | ports/runtime-driver-context.ts:14 |