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

@ -744,7 +744,7 @@ export interface SaveOpenCodeProviderProfileInput {
* `llama.cpp` servers an OpenCode profile can bind to via
* `OpenCodeConfig.localModelServerId`. Mirrors the backend commands
* (`list_model_servers`, `save_model_server`, `delete_model_server`,
* `preview_model_server_command`).
* `preview_model_server_command`, `delete_model_artifact`).
*/
export interface ModelServerGateway {
/** Lists the declared local model servers. */
@ -759,6 +759,13 @@ export interface ModelServerGateway {
* `model_server_in_use` when a profile still references it.
*/
deleteModelServer(serverId: string): Promise<void>;
/**
* Deletes the IdeA-managed downloaded model artifact for a server while
* keeping the server config. Rejects with `invalid` for local `.gguf` paths,
* `model_server_in_use` while downloading or used by a live agent, and
* `not_configured` when the server no longer exists.
*/
deleteModelArtifact(serverId: string): Promise<void>;
/**
* Builds the `llama-server` command line the backend would launch for the
* draft config, without persisting it. The backend is the sole authority on