UNPKG

@phren/cli

Version:

Knowledge layer for AI agents - CLI, MCP server, and data layer

11 lines (10 loc) • 484 B
/** Resolve a chat reference in a server-selected repository. Cwd-relative * names win over root-relative ones. Never turn an outside absolute path * into an unrelated in-repository suffix match. Metadata is checked by the * same no-symlink reader that will subsequently serve the file's bytes. */ export declare function resolveFilePath(root: string, cwd: string, requested: string): Promise<{ path: string; size: number; contentType: string; version: string; }>;