UNPKG

@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

18 lines 593 B
import type { FileNode } from '../../utils/file-tree.js'; /** * Get all file paths within a directory node recursively */ export declare function getAllFilesInDirectory(node: FileNode): string[]; /** * Get the highlight.js language name from a file path */ export declare function getLanguageFromPath(filePath: string): string; /** * Format token count for display (e.g., 1500 -> "1.5k") */ export declare function formatTokens(tokens: number): string; /** * Format file size for display */ export declare function formatSize(bytes: number): string; //# sourceMappingURL=utils.d.ts.map