@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
15 lines • 871 B
TypeScript
import { type GoalStatus } from "./types.ts";
export declare const MAX_OBJECTIVE_LENGTH = 4000;
export type ValidatedObjective = {
objective: string;
truncated: boolean;
fullTextFileName?: string;
};
export declare function validateObjective(value: string, fullTextFileName: string): ValidatedObjective;
export declare function truncationMarker(fullTextFileName: string): string;
export declare function objectiveTruncationNotice(fullTextFileName: string): string;
export declare function isGoalStatus(value: unknown): value is GoalStatus;
export declare function isNonNegativeSafeInteger(value: unknown): value is number;
export declare function resolveTokenBudget(current: number | undefined, update: number | null | undefined): number | undefined;
export declare function validateTokenBudget(value: number): number;
//# sourceMappingURL=validation.d.ts.map