PromptSegmentConfig
Defined in: core/dist/config/types.d.ts:22
GS2-43 — configuration for one prompt segment.
Properties
Section titled “Properties”enabled?
Section titled “enabled?”
optionalenabled?:boolean
Defined in: core/dist/config/types.d.ts:31
false drops the segment entirely — even its bundled default. Default true.
optionalmode?:"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.
optionalpath?: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.