UNPKG

automagik-cli

Version:

Automagik CLI - A powerful command-line interface for interacting with Automagik Hive multi-agent AI systems

21 lines (20 loc) 733 B
/** * Unicode-aware text utilities copied from gemini-cli * Work at the code-point level rather than UTF-16 code units * so that surrogate-pair emoji count as one "column" */ export declare function toCodePoints(str: string): string[]; export declare function cpLen(str: string): number; export declare function cpSlice(str: string, start: number, end?: number): string; /** * Calculate the width (in terminal columns) of ASCII art. */ export declare function getAsciiArtWidth(asciiArt: string): number; /** * Shorten a path for display. */ export declare function shortenPath(path: string, maxLength: number): string; /** * Replace home directory with tilde. */ export declare function tildeifyPath(path: string): string;