AUDIT / src /lib /adaptiveSolverTypes.ts
Arypulka98's picture
feat(audit): deploy full backend cluster node (part 2)
cc11e77 verified
Raw
History Blame Contribute Delete
853 Bytes
/**
* adaptiveSolverTypes.ts — S552: tipi puri estratti da adaptiveSolver.ts
*
* Contiene solo TypeScript types/interfaces senza dipendenze runtime.
* Permette import type-only senza pull-in di adaptiveSolver.ts
* (vfsAsync, agentMemory, Strategy engine, CORS proxy logic, ecc.).
*
* Consumato da adaptiveSolver.ts (re-esporta per backward compat) e
* da agentLoop.ts / apiErrorRecovery.ts che tipano i risultati del solver.
*/
export type BlockadeKind =
| "cors"
| "not_found"
| "rate_limit"
| "permission"
| "timeout"
| "quota"
| "syntax"
| "network"
| "unknown"
| "dependency"
| "import_error";
export interface Blockade {
kind: BlockadeKind;
message: string;
hint: string;
}
export interface SolveResult {
success: boolean;
output: string;
strategy: string;
description: string;
}