@phren/cli
Version:
Knowledge layer for AI agents - CLI, MCP server, and data layer
20 lines (19 loc) • 708 B
TypeScript
export declare function recentFileRepositories(folders: string[]): Promise<Map<string, string[]>>;
export declare function chatFileMatches(root: string | undefined, cwd: string, requested: string, getRecent: () => Promise<Map<string, string[]>>): Promise<{
matches: {
path: string;
size: number;
contentType: string;
version: string;
}[];
}>;
export declare function readRecentChatFile(roots: Map<string, string[]>, root: string, file: string, offset: number, length: number, version?: string): Promise<{
path: string;
offset: number;
length: number;
total: number;
contentType: string;
version: string;
eof: boolean;
data: string;
}>;