UNPKG

@code-yeongyu/senpi

Version:

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

18 lines • 497 B
import type { TruncationResult } from "./types.ts"; type BudgetRule = { body: string; relativePath: string; }; type BudgetResult = BudgetRule & { truncated: boolean; }; export declare function truncateRule(body: string, options: { maxChars: number; relativePath: string; }): TruncationResult; export declare function truncateBudget(input: { rules: ReadonlyArray<BudgetRule>; maxResultChars: number; }): BudgetResult[]; export {}; //# sourceMappingURL=truncator.d.ts.map