//#region src/services/config/index.d.ts /** * Extension configuration, read from the environment. * * Env rather than a config file: doom-pi already carries per-launch state to Pi * through env vars, so this keeps doom-task consistent with how the harness * configures the rest of the extension set. */ export declare const MAX_WIDGET_LINES_ENV = "DOOM_TASK_MAX_WIDGET_LINES"; export declare const MAX_TASKS_ENV = "DOOM_TASK_MAX_TASKS"; export declare const COLLAPSE_KEY_ENV = "DOOM_TASK_COLLAPSE_KEY"; export declare const STORE_TTL_MS_ENV = "DOOM_TASK_STORE_TTL_MS"; export declare const DELEGATION_TIMEOUT_MS_ENV = "DOOM_TASK_DELEGATION_TIMEOUT_MS"; export declare const DEFAULT_MAX_WIDGET_LINES = 12; export declare const DEFAULT_MAX_TASKS = 15; export declare const DEFAULT_COLLAPSE_KEY = "ctrl+shift+t"; export declare const DEFAULT_STORE_TTL_MS: number; /** Deliberately under the subagents auto-drain ceiling (30 min) so a headless * session still gets the failure and a model turn before draining gives up. */ export declare const DEFAULT_DELEGATION_TIMEOUT_MS: number; export declare const COLLAPSE_KEY_OFF = "off"; export interface PiTaskConfig { maxWidgetLines: number; maxTasks: number; storeTtlMs: number; collapseKey: string; delegationTimeoutMs: number; } /** Parse configuration only after the Pi host has applied its project-trust policy. */ export declare function parsePiTaskConfig(value: unknown): PiTaskConfig; /** Rows the overlay may use for content, clamped to a sane range. */ export declare function getMaxWidgetLines(env?: NodeJS.ProcessEnv): number; /** Maximum number of non-deleted tasks retained on one board. */ export declare function getMaxTasks(env?: NodeJS.ProcessEnv): number; /** Retention window for inactive session-tree stores. */ export declare function getStoreTtlMs(env?: NodeJS.ProcessEnv): number; /** How long a delegated run may go without reporting a result. */ export declare function getDelegationTimeoutMs(env?: NodeJS.ProcessEnv): number; /** Collapse shortcut, or the `off` sentinel when the user disabled it. */ export declare function resolveCollapseKey(env?: NodeJS.ProcessEnv): string; //#endregion //# sourceMappingURL=index.d.mts.map