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

6 lines 276 B
/** * Truncate a string containing ANSI escape codes to fit a given visual width. * Preserves ANSI formatting while counting only visible characters. */ export declare function truncateAnsi(str: string, maxWidth: number): string; //# sourceMappingURL=ansi-truncate.d.ts.map