@nanocollective/nanocoder
Version:
A local-first CLI coding agent that brings the power of agentic coding tools like Claude Code and Gemini CLI to local models or controlled APIs like OpenRouter
16 lines • 489 B
TypeScript
type ValidationResult = {
valid: true;
} | {
valid: false;
error: string;
};
/**
* Validates a single file path: checks format and project boundary.
*/
export declare function validatePath(path: string): ValidationResult;
/**
* Validates a source + destination path pair: checks format and project boundary for both.
*/
export declare function validatePathPair(source: string, destination: string): ValidationResult;
export {};
//# sourceMappingURL=path-validators.d.ts.map