UNPKG

create-ai-chat-context-experimental

Version:

Phase 2: TypeScript rewrite - AI Chat Context & Memory System with conversation extraction and AICF format support (powered by aicf-core v2.1.0).

42 lines 1.27 kB
/** * This file is part of create-ai-chat-context-experimental. * Licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later). * See LICENSE file for details. */ /** * Configuration interface */ export interface AppConfig { preferredModel: string | null; showAllModels: boolean; useAiNativeFormat: boolean; } /** * Get configuration file path */ export declare function getConfigPath(cwd?: string): string; /** * Load configuration */ export declare function loadConfig(cwd?: string): Promise<AppConfig>; /** * Save configuration */ export declare function saveConfig(config: Partial<AppConfig>, cwd?: string): Promise<AppConfig>; /** * Get a specific config value */ export declare function getConfigValue(key: keyof AppConfig, cwd?: string): Promise<string | boolean | null>; /** * Set a specific config value */ export declare function setConfigValue(key: keyof AppConfig, value: string | boolean | null, cwd?: string): Promise<AppConfig>; /** * List all configuration */ export declare function listConfig(cwd?: string): Promise<void>; /** * Handle config command */ export declare function handleConfigCommand(action?: string, key?: string, value?: string): Promise<void>; //# sourceMappingURL=Config.d.ts.map