GthAgentInitOptions
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/types.ts:521
GS2-95 — options for GthAgentInterface#init that name the run without changing how it behaves.
Properties
Section titled “Properties”displayCommand?
Section titled “displayCommand?”
optionaldisplayCommand?:string
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/types.ts:533
The name of the command the USER typed, for the run header only (eval, batch, workflow,
gth-batch). Supplied by the command; the agent never invents it.
It is a SEPARATE input from command because command is not a label: it selects the mode
prompt (readModePrompt), the per-command approvals posture and the command-specific
filesystem config. A command that runs its work through another verb’s prompt — gth eval
through ask, gth batch through exec — must be able to say its own name without moving the
prompt it runs under. Omitted, the header falls back to the init verb, which is the right
answer for every command whose verb IS its name.