Skip to content

Function: createLocalCommandToolDriver() ​

ts
function createLocalCommandToolDriver<THandle>(): ToolDriver<LocalCommandToolNode<THandle>, THandle>;

Defined in: node/src/executors/local-command-executors.ts:145

Creates the ToolDriver for LocalCommandToolNode (type: 'node:command-tool').

Omits describeEffects so the runtime enforces post-flight workspace diffing via CheckpointableScope.diffEffects() for effectTracking: 'subprocess-post-flight'.

Type Parameters ​

Type ParameterDefault typeDescription
THandleunknownRuntime handle type of the active isolation scope.

Returns ​

ToolDriver<LocalCommandToolNode<THandle>, THandle>

Post-flight-tracked command tool driver.

Released under the MIT License.