Skip to content

PromptSegmentConfig

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/types.ts:26

GS2-43 — configuration for one prompt segment.

optional enabled?: boolean

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/types.ts:35

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


optional mode?: "replace" | "append"

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/types.ts:40

'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/src/config/types.ts:31

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.