UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

12 lines • 579 B
/** * Numbers as job output writes them: `41.3`, `1,250`, `1.5k`, `2104.32M`. * Ported from oh-my-pi 9df0457b31 (MIT, Copyright Can Boluk et al.). */ /** * A captured number: `,`/`_` separators dropped, a `k`/`K`/`M`/`G` suffix right after the digits * multiplies; `NaN` when the text starts with no number. */ export declare function parseWidgetValue(text: string): number; /** Every number `text` states, parsed as {@link parseWidgetValue} reads it. */ export declare function statedNumbers(texts: Iterable<string>): Set<number>; //# sourceMappingURL=value-parse.d.ts.map