Skip to content

Interface: ControlPlaneAdapter ​

Defined in: ports/control-plane-adapter.ts:9

Runtime port for inbound control-plane servers (such as HTTP webhook listeners, MCP servers, or Slack bots).

Dispatched via RuntimeExecutorRegistry.controlPlanes[node.type] when HarnessRuntime.start() boots.

Methods ​

start() ​

ts
start(runtime): Promise<ControlPlaneHandle>;

Defined in: ports/control-plane-adapter.ts:19

Starts the control-plane listener bound to the active HarnessRuntimeController.

Registers inbound transport routes so external operators can trigger signals and inspect active runs.

Parameters ​

ParameterTypeDescription
runtimeHarnessRuntimeControllerController handle for emitting signals and inspecting active runs.

Returns ​

Promise<ControlPlaneHandle>

Handle used to close the control-plane listener on shutdown.

Released under the MIT License.