Skip to content

PromptSegmentConfig

Defined in: core/dist/config/types.d.ts:22

GS2-43 — configuration for one prompt segment.

optional enabled?: boolean

Defined in: core/dist/config/types.d.ts:31

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


optional mode?: "replace" | "append"

Defined in: core/dist/config/types.d.ts:36

'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: core/dist/config/types.d.ts:27

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.