/** * Configuration Loader for pi-learn * Handles loading and merging settings from ~/.pi/agent/settings.json */ import { type ProjectIntegrationConfig } from "./project-integration.js"; export interface Config { workspaceId: string; reasoningEnabled: boolean; reasoningModel: string; embeddingModel: string; tokenBatchSize: number; ollamaBaseUrl: string; ollamaApiKey: string; retention: RetentionConfig; dream: DreamConfig; retry: RetryConfig; concurrency: number; project: ProjectIntegrationConfig; } export interface RetentionConfig { retentionDays: number; summaryRetentionDays: number; conclusionRetentionDays: number; pruneOnStartup: boolean; pruneIntervalHours: number; } export interface DreamConfig { enabled: boolean; intervalMs: number; minMessagesSinceLastDream: number; batchSize: number; } export interface RetryConfig { maxRetries: number; retryDelayMs: number; timeoutMs: number; maxBackoffMs?: number; } export declare function loadConfig(): Config; export declare function validateConfig(config: Config): { valid: boolean; errors: string[]; }; //# sourceMappingURL=config.d.ts.map