Skip to content

SingleShotOptions

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/runtime/singleShot.ts:58

Options that qualify a runSingleShot run without changing how it behaves.

optional displayCommand?: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/runtime/singleShot.ts:67

GS2-95 — the name of the command the USER typed, for the run header (eval, batch, workflow, gth-batch). Omit it and the header names command, which is right for every caller whose verb IS its name (ask, exec).

It is deliberately NOT command: that argument selects the agent’s mode prompt, so a caller that renamed itself through it would change which system prompt its runs execute under.