@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
26 lines • 657 B
TypeScript
interface FileContentResult {
success: boolean;
content?: string;
error?: string;
metadata: {
path: string;
absolutePath: string;
size: number;
lineCount: number;
lineRange?: {
start: number;
end?: number;
};
tokens: number;
};
}
/**
* Load file content with optional line range
* Silently handles errors - returns success: false instead of throwing
*/
export declare function loadFileContent(filePath: string, lineRange?: {
start: number;
end?: number;
}): Promise<FileContentResult>;
export {};
//# sourceMappingURL=file-content-loader.d.ts.map