aKode: comando akode update e avviso di nuova versione

- Nuovo crate akode-update: legge l'ultima release dal repository Gitea
  configurato ([update] repo_url, predefinito git.difonzo.net/andrea/aKode;
  404 = nessun aggiornamento), confronta la semver, scarica
  akode-<versione>-<target>.tar.gz solo dallo stesso host, verifica lo
  SHA-256 e sostituisce il binario in modo atomico tenendo akode.old
  (nel layout a pacchetto aggiorna anche akode-package.json o l'intero
  pacchetto).
- `akode update [--check]` con messaggi in italiano; mai installazioni
  automatiche.
- TUI: controllo in background all'avvio al massimo ogni 24 h
  (update-check.json in AKODE_HOME), avviso su una riga, disattivabile con
  [update] check_on_startup = false.
- Rimossi il prompt di aggiornamento e le azioni npm/brew/installer di
  OpenAI ormai inutilizzati; il doctor mostra sorgente e ultimo controllo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-11 14:56:25 +01:00
parent 25de1e70dc
commit 9494b768dd
37 changed files with 1485 additions and 1209 deletions

View File

@@ -22,6 +22,7 @@ members = [
"feedback",
"features",
"install-context",
"update",
"code-mode",
"code-mode-host",
"code-mode-protocol",
@@ -228,6 +229,7 @@ akode-experimental-api-macros = { path = "akode-experimental-api-macros" }
akode-features = { path = "features" }
akode-feedback = { path = "feedback" }
akode-install-context = { path = "install-context" }
akode-update = { path = "update" }
akode-file-search = { path = "file-search" }
akode-file-watcher = { path = "file-watcher" }
akode-git-utils = { path = "git-utils" }