Skip to content

PromptSegmentConfig

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/config/types.d.ts:23

GS2-43 — configuration for one prompt segment.

optional enabled?: boolean

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/config/types.d.ts:32

false drops the segment entirely — even its bundled default. Default true.


optional mode?: "replace" | "append"

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/config/types.d.ts:37

'replace' (default): the path file replaces the built-in segment content. 'append': the file content is appended after the built-in content.


optional path?: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/config/types.d.ts:28

File to read for this segment. Resolved like every prompt file: the config dir (.gsloth/.gsloth-settings[/<profile>]/) first, then relative to the project root.