Skip to main content

Type Alias: ToolCommitBundle

ToolCommitBundle = object

Defined in: core/dist/types/utils/tool-commit.d.ts:21

Properties

isCommitted

isCommitted: () => boolean

Defined in: core/dist/types/utils/tool-commit.d.ts:31

True after a successful commit (goalComplete: true).

Returns

boolean


prepareStep

prepareStep: PrepareStepFunction<ToolSet>

Defined in: core/dist/types/utils/tool-commit.d.ts:27


reset

reset: () => void

Defined in: core/dist/types/utils/tool-commit.d.ts:37

Clear the commit latch. Call between runs if you reuse one bundle on a long-lived bot — otherwise the latch stays armed and isCommitted() reports the previous run's outcome.

Returns

void


stopAtStep

stopAtStep: number

Defined in: core/dist/types/utils/tool-commit.d.ts:29

Resolved fuse step count (mirrors ToolCommitOptions.stopAtStep).


stopWhen

stopWhen: StopCondition

Defined in: core/dist/types/utils/tool-commit.d.ts:26


tools

tools: Record<string, ZodToolDefinition<z.ZodObject<{ goalComplete: z.ZodBoolean; summary: z.ZodString; }>, ToolCommitResult>>

Defined in: core/dist/types/utils/tool-commit.d.ts:22