//#region src/config/schema.d.ts type ThinkingLevel = 'off' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh'; interface IncludeFilesTouchedSettings { inCompactionSummary: boolean; inBranchSummary: boolean; } interface PresetConfig { model: string; thinkingLevel?: ThinkingLevel; } interface LiveCompactionConfig { includeFilesTouched: IncludeFilesTouchedSettings; defaultPreset: string; fallbackPreset?: string; presets: Record; /** * Which scope the /live-compaction settings panel opens to by * default. The shipped default is "global" so settings reads/writes * default to durable global state and explicit project overrides are * an opt-in. `"project"` falls back to global when no project session * is active. */ defaultPanelScope: PanelScope; /** * When true, ignore the configured `defaultPreset` for an automatic * /compact run and always summarise with the current session model and * thinking level instead. Off by default. An explicit `/compact * --preset NAME` directive and a template `preset:` frontmatter both * still win over this flag, since those are deliberate per-run choices. */ inheritSessionModel: boolean; } type ConfigScope = 'global' | 'project'; /** * Panel-scope preference. Same shape as ConfigScope today, kept as a * separate alias so adding new modes later (e.g. `"last-used"`) does not * require touching every ConfigScope consumer. */ type PanelScope = ConfigScope; type PromptKind = 'compaction' | 'branch-summary'; interface LiveCompactionPaths { global: { scope: 'global'; rootDir: string; configPath: string; compactionPromptPath: string; branchSummaryPromptPath: string; }; project?: { scope: 'project'; rootDir: string; configPath: string; compactionPromptPath: string; branchSummaryPromptPath: string; }; } interface PromptResolution { source: ConfigScope | 'default'; text?: string; isOverride: boolean; isBlankOverride: boolean; } declare const CURRENT_PRESET_SENTINEL = "current"; declare const DEFAULT_CONFIG: LiveCompactionConfig; declare function normalizeThinkingLevel(value: unknown): ThinkingLevel | undefined; declare function normalizeOptionalText(value?: string): string | undefined; declare function parseConfig(value: unknown): LiveCompactionConfig; //#endregion export { CURRENT_PRESET_SENTINEL, ConfigScope, DEFAULT_CONFIG, IncludeFilesTouchedSettings, LiveCompactionConfig, LiveCompactionPaths, PresetConfig, PromptKind, PromptResolution, ThinkingLevel, normalizeOptionalText, normalizeThinkingLevel, parseConfig }; //# sourceMappingURL=schema.d.mts.map