fix: livrable tickets #70 #100 #102 — UX surface scoping

- #70: implémentation suppression modèles locaux téléchargés
- #100: correction scroll OpenCode
- #102: correction fit TUI après switch/layout
- memory note scoping UX
This commit is contained in:
2026-07-26 19:42:06 +02:00
parent 4321d048ac
commit 02603441c1
31 changed files with 1589 additions and 152 deletions

View File

@ -99,6 +99,17 @@ export type ModelSource =
| { type: "localPath"; path: string }
| { type: "huggingFace"; repo: string };
/**
* Derived state of an IdeA-managed local model artifact cache (#70, mirror of
* `ModelArtifactDto`, tagged on `state`). Only Hugging Face sources are managed;
* local `.gguf` paths stay `notManaged`.
*/
export type ModelArtifact =
| { state: "notManaged" }
| { state: "missing" }
| { state: "downloading" }
| { state: "downloaded"; path: string; sizeBytes?: number };
/**
* A declared local model server (F35, mirror of the backend flat
* `LocalModelServerConfigDto`, camelCase wire). Global to IdeA (not project
@ -138,6 +149,8 @@ export interface LocalModelServerConfig {
args: string[];
autoStart: boolean;
stopPolicy: StopPolicy;
/** Derived managed artifact cache state. Present on list results. */
artifact?: ModelArtifact;
}
/**