/** Jev, called directly with a TypeSafe key, or through the Vercel AI Gateway with a gateway key. */ export declare const TYPESAFE_MODEL_ID = "jev-latest"; export declare const GATEWAY_MODEL_ID = "typesafe-ai/jev"; export declare const TYPESAFE_KEY_ENV = "TYPESAFE_AI_API_KEY"; export declare const GATEWAY_KEY_ENV = "AI_GATEWAY_API_KEY"; /** List price observed 2026-09-17: $0.042 per million input tokens, output free. */ export declare const JEV_USD_PER_INPUT_TOKEN: number; /** * The one request each credential kind is checked with, chosen because it * answers on the credential: Jev refuses a malformed body at the door, and the * gateway's model list is public until a key is supplied and rejected. */ export declare const TYPESAFE_PROBE_URL = "https://api.typesafe.ai/v1/systemone"; export declare const GATEWAY_PROBE_URL = "https://ai-gateway.vercel.sh/v1/models"; /** Session start may spend this long on the probe; a slow provider must not delay the first prompt. */ export declare const KEY_PROBE_TIMEOUT_MS = 2500; /** One probe per key per day: a revoked key is noticed at the next session, not on every one. */ export declare const KEY_PROBE_INTERVAL_MS: number; /** Consecutive auth failures that latch a key the provider keeps refusing. */ export declare const AUTH_FAILURE_LATCH_AFTER = 3; export declare const EDIT_CHECK_TIMEOUT_MS = 8000; export declare const TURN_CHECK_TIMEOUT_MS = 15000; export declare const STDIN_TIMEOUT_MS = 2000; /** Largest diff sent as state. Beyond this the diff is cut and marked. */ export declare const MAX_STATE_CHARS = 24000; export declare const MAX_TASK_CHARS = 600; /** Past this a tool-call argument is a document, not an argument: kept as its length only. */ export declare const MAX_CALL_ARG_CHARS = 200; /** The whole argument summary one recorded tool call may carry. */ export declare const MAX_CALL_SUMMARY_CHARS = 600; /** How many tool calls one turn keeps in its log: which tools ran, not every call a long turn makes. */ export declare const MAX_TOOL_CALLS_PER_TURN = 50; /** Longer argument strings collapse to "[N chars]": the log carries shapes, never content. */ export declare const MAX_TOOL_STRING_CHARS = 200; /** One log entry's whole summary, cut at this length. */ export declare const MAX_TOOL_SUMMARY_CHARS = 400; /** How many times one rule may block the same file within one turn before it only flags. */ export declare const MAX_BLOCKS_PER_RULE_PER_TURN = 2; /** How many Stop checks one turn gets: the first, plus one re-check after a repair. */ export declare const MAX_STOP_CHECKS_PER_TURN = 2; /** How many payloads a host may send unrecognized in one turn before we stop logging them: enough to name the drift, not enough to fill the log. */ export declare const MAX_UNKNOWN_PAYLOADS_PER_TURN = 5; export declare const SESSION_STATE_MAX_AGE_MS: number; /** * The event log's size ceiling. Past it, session start keeps the newest half and * drops the rest: recent checks are the ones report and tune read, and the log * stays bounded whatever a session loop appends. */ export declare const EVENTS_LOG_MAX_BYTES = 1000000; /** How long a single git call may run before it is killed. Well under every hook budget. */ export declare const GIT_TIMEOUT_MS = 5000; /** How long turn-start may spend snapshotting the working tree with git, all calls together. */ export declare const TURN_START_TIMEOUT_MS = 5000; /** How long Stop may spend on its own snapshot and the diff against the baseline. */ export declare const STOP_GIT_TIMEOUT_MS = 8000; /** How long computing one diff may take. Past this the check is skipped and logged rather than the hook held. */ export declare const DIFF_TIMEOUT_MS = 2000; /** Largest before-plus-after text a diff is attempted on at all. */ export declare const MAX_DIFF_INPUT_CHARS = 1000000; /** Past this a file counts as unreadable. */ export declare const MAX_FILE_READ_BYTES: number; /** How long Stop's per-file fallback may spend on all of its diffs together. */ export declare const STOP_FALLBACK_DIFF_TIMEOUT_MS = 6000; //# sourceMappingURL=constants.d.ts.map