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).

35 lines 1.12 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. */ import type { Result } from '../types/index.js'; /** * Get project path */ export declare function getProjectPath(basePath: string, projectName: string): string; /** * List files in directory */ export declare function listFiles(dirPath: string): Result<string[]>; /** * List files with specific extension */ export declare function listFilesByExtension(dirPath: string, extension: string): Result<string[]>; /** * Read file content */ export declare function readFile(filePath: string): Result<string>; /** * Get latest file (by modification time) */ export declare function getLatestFile(dirPath: string, extension?: string): Result<string | null>; /** * Filter files by extension */ export declare function filterByExtension(files: string[], extension: string): string[]; /** * Check if path exists */ export declare function pathExists(path: string): boolean; //# sourceMappingURL=FileSystemUtils.d.ts.map