Skip to content

Interface: GitRefReaderToolNode<THandle> ​

Defined in: core/dist/ast/domain/git-ref-reader-tool-node.d.ts:12

Passive AST node for read-only git object store inspection tools (git.refReaderTools).

Allows actors to inspect refs/harness/aborted/<run-id>/<stepExecId> snapshots via readRefFile, diffRefs, and listRefFiles.

Extends ​

Type Parameters ​

Type ParameterDefault typeDescription
THandleGitWorktreeHandleIsolation scope handle type.

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
__handleBrand?readonlyBivariantCallback<[handle: THandle], void>Phantom type brand binding the tool to its compatible scope handle type.BaseToolASTNode.__handleBrandcore/dist/ast/base/base-tool-ast-node.d.ts:25
descriptionreadonlystringHuman- and LLM-readable description of the tool's behavior.BaseToolASTNode.descriptioncore/dist/ast/base/base-tool-ast-node.d.ts:19
effectTrackingreadonly"declared"Static indicator of whether effects are predicted pre-flight or diffed post-flight.BaseToolASTNode.effectTrackingcore/dist/ast/base/base-tool-ast-node.d.ts:23
inputSchemareadonlyZodTypeAnyZod schema validating tool call arguments before execution.BaseToolASTNode.inputSchemacore/dist/ast/base/base-tool-ast-node.d.ts:21
namereadonlystringWire-level tool function name exposed to the LLM.BaseToolASTNode.namecore/dist/ast/base/base-tool-ast-node.d.ts:17
runnerreadonlyNodeRunnerNodeRunner pool governing git subprocess slot concurrency.-core/dist/ast/domain/git-ref-reader-tool-node.d.ts:14
typereadonly"git:ref-reader-tool"Unique string-literal discriminant of the tool node.BaseToolASTNode.typecore/dist/ast/base/base-tool-ast-node.d.ts:15

Released under the MIT License.