Spaces:
Sleeping
Sleeping
| /** | |
| * 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; | |
| } | |