diff --git a/README.md b/README.md index eab94c17..07eaa732 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,10 @@ Il token sta nell'archivio delle chiavi (`provider_api_key_store`, id `telegram- ## Novità +### 0.9.2 + +- **La sandbox dice al modello com'è davvero la rete**: con il proxy dei registri, le istruzioni dei permessi non dicono più «Network access is enabled» ma «Network access is limited to package registries (PyPI, npm, crates.io, pub.dev, GitHub). Other connections, including ssh, are blocked inside the sandbox: run them with escalated permissions, which requires approval.» L'elenco viene dai domini configurati in `[features.network_proxy.domains]`; con rete piena o spenta il testo resta quello di prima. Prova reale: in un progetto fidato, «collegati in ssh a … e dimmi hostname e uptime» chiede subito l'approvazione, e con «Sì» per quella volta sola ssh usa le chiavi dell'utente. + ### 0.9.1 - **Rete della sandbox verso i registri dei pacchetti** (decisione dell'utente, opzione «C»): nella sandbox predefinita (`:workspace`: scrittura solo nella cartella del progetto e in `/tmp`, come prima) la rete ora è attiva ma passa dal proxy di rete locale di aKode, che lascia passare solo i registri dei pacchetti; le altre destinazioni ricevono `403 Domain not in allowlist` e la rete diretta resta bloccata da Seatbelt. Le scritture non cambiano, e chi ha scelto esplicitamente `sandbox_mode` o un profilo `default_permissions` resta com'era. Domini predefiniti: `pypi.org`, `files.pythonhosted.org`, `registry.npmjs.org`, `registry.yarnpkg.com`, `pub.dev`, `storage.googleapis.com`, `crates.io`, `static.crates.io`, `index.crates.io`, `github.com`, `codeload.github.com`, `objects.githubusercontent.com`. Si cambiano in `~/.akode/config.toml`: diff --git a/akode-rs/Cargo.lock b/akode-rs/Cargo.lock index a1091ae7..37ef21b8 100644 --- a/akode-rs/Cargo.lock +++ b/akode-rs/Cargo.lock @@ -148,7 +148,7 @@ dependencies = [ [[package]] name = "akode-agent-extension" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-core", "akode-protocol", @@ -160,7 +160,7 @@ dependencies = [ [[package]] name = "akode-agent-graph-store" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-protocol", "akode-state", @@ -175,7 +175,7 @@ dependencies = [ [[package]] name = "akode-agent-message-board-client" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-extension-api", "akode-http-client", @@ -198,7 +198,7 @@ dependencies = [ [[package]] name = "akode-agent-message-board-extension" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-agent-message-board-client", "akode-config", @@ -217,7 +217,7 @@ dependencies = [ [[package]] name = "akode-agent-message-board-host" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-agent-message-board-client", "akode-agent-message-board-extension", @@ -234,7 +234,7 @@ dependencies = [ [[package]] name = "akode-agent-roles" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-config", "akode-file-system", @@ -247,7 +247,7 @@ dependencies = [ [[package]] name = "akode-ansi-escape" -version = "0.9.1" +version = "0.9.2" dependencies = [ "ansi-to-tui", "pretty_assertions", @@ -258,7 +258,7 @@ dependencies = [ [[package]] name = "akode-api" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-client", "akode-http-client", @@ -296,7 +296,7 @@ dependencies = [ [[package]] name = "akode-app-server" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-agent-message-board-host", "akode-app-server-daemon", @@ -410,7 +410,7 @@ dependencies = [ [[package]] name = "akode-app-server-client" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-app-server", "akode-app-server-protocol", @@ -442,7 +442,7 @@ dependencies = [ [[package]] name = "akode-app-server-daemon" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-app-server-protocol", "akode-app-server-transport", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "akode-app-server-protocol" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-app-server-protocol-noop-macros", "akode-experimental-api-macros", @@ -507,11 +507,11 @@ dependencies = [ [[package]] name = "akode-app-server-protocol-noop-macros" -version = "0.9.1" +version = "0.9.2" [[package]] name = "akode-app-server-test-client" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-app-server-protocol", "akode-core", @@ -533,7 +533,7 @@ dependencies = [ [[package]] name = "akode-app-server-transport" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-api", "akode-app-server-protocol", @@ -579,7 +579,7 @@ dependencies = [ [[package]] name = "akode-apply-patch" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-exec-server", "akode-utils-absolute-path", @@ -599,7 +599,7 @@ dependencies = [ [[package]] name = "akode-arg0" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-apply-patch", "akode-async-utils", @@ -622,7 +622,7 @@ dependencies = [ [[package]] name = "akode-async-utils" -version = "0.9.1" +version = "0.9.2" dependencies = [ "pretty_assertions", "rand 0.9.3", @@ -632,7 +632,7 @@ dependencies = [ [[package]] name = "akode-attachment-store" -version = "0.9.1" +version = "0.9.2" dependencies = [ "pretty_assertions", "serde", @@ -642,7 +642,7 @@ dependencies = [ [[package]] name = "akode-aws-auth" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-http-client", "akode-utils-rustls-provider", @@ -668,7 +668,7 @@ dependencies = [ [[package]] name = "akode-build-info" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-install-context", "pretty_assertions", @@ -681,7 +681,7 @@ dependencies = [ [[package]] name = "akode-bwrap" -version = "0.9.1" +version = "0.9.2" dependencies = [ "cc", "libc", @@ -690,7 +690,7 @@ dependencies = [ [[package]] name = "akode-cli" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-api", "akode-app-server", @@ -792,7 +792,7 @@ dependencies = [ [[package]] name = "akode-client" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-http-client", "eventsource-stream", @@ -806,7 +806,7 @@ dependencies = [ [[package]] name = "akode-code-graph" -version = "0.9.1" +version = "0.9.2" dependencies = [ "pretty_assertions", "rusqlite", @@ -831,7 +831,7 @@ dependencies = [ [[package]] name = "akode-code-graph-extension" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-code-graph", "akode-core", @@ -848,7 +848,7 @@ dependencies = [ [[package]] name = "akode-code-mode" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-code-mode-protocol", "akode-http-client", @@ -872,7 +872,7 @@ dependencies = [ [[package]] name = "akode-code-mode-host" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-code-mode", "akode-code-mode-protocol", @@ -902,7 +902,7 @@ dependencies = [ [[package]] name = "akode-code-mode-protocol" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-protocol", "glob", @@ -920,7 +920,7 @@ dependencies = [ [[package]] name = "akode-code-mode-runtime" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-code-mode-protocol", "akode-plugin-host", @@ -942,11 +942,11 @@ dependencies = [ [[package]] name = "akode-collaboration-mode-templates" -version = "0.9.1" +version = "0.9.2" [[package]] name = "akode-config" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-execpolicy", "akode-features", @@ -999,7 +999,7 @@ dependencies = [ [[package]] name = "akode-config-schema" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-config", "anyhow", @@ -1008,7 +1008,7 @@ dependencies = [ [[package]] name = "akode-context-fragments" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-protocol", "akode-protocol-test-support", @@ -1019,7 +1019,7 @@ dependencies = [ [[package]] name = "akode-core" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-agent-graph-store", "akode-agent-message-board-host", @@ -1167,7 +1167,7 @@ dependencies = [ [[package]] name = "akode-core-api" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-app-server-protocol", "akode-arg0", @@ -1189,7 +1189,7 @@ dependencies = [ [[package]] name = "akode-core-plugin-common" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-utils-absolute-path", "semver", @@ -1198,7 +1198,7 @@ dependencies = [ [[package]] name = "akode-core-plugins" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-app-server-protocol", "akode-config", @@ -1247,7 +1247,7 @@ dependencies = [ [[package]] name = "akode-diagnostics" -version = "0.9.1" +version = "0.9.2" dependencies = [ "libc", "pretty_assertions", @@ -1255,7 +1255,7 @@ dependencies = [ [[package]] name = "akode-direct-tool-timing" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-utils-critical-path", "pretty_assertions", @@ -1266,7 +1266,7 @@ dependencies = [ [[package]] name = "akode-exec" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-app-server-client", "akode-app-server-protocol", @@ -1319,7 +1319,7 @@ dependencies = [ [[package]] name = "akode-exec-server" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-api", "akode-build-info", @@ -1391,7 +1391,7 @@ dependencies = [ [[package]] name = "akode-exec-server-cli" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-api", "akode-app-server", @@ -1434,7 +1434,7 @@ dependencies = [ [[package]] name = "akode-exec-server-protocol" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-file-system", "akode-install-context", @@ -1452,7 +1452,7 @@ dependencies = [ [[package]] name = "akode-exec-server-test-support" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-exec-server", "akode-http-client", @@ -1467,7 +1467,7 @@ dependencies = [ [[package]] name = "akode-execpolicy" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-utils-absolute-path", "anyhow", @@ -1487,7 +1487,7 @@ dependencies = [ [[package]] name = "akode-experimental-api-macros" -version = "0.9.1" +version = "0.9.2" dependencies = [ "proc-macro2", "quote", @@ -1496,7 +1496,7 @@ dependencies = [ [[package]] name = "akode-extension-api" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-api", "akode-config", @@ -1519,7 +1519,7 @@ dependencies = [ [[package]] name = "akode-extension-items" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-utils-absolute-path", "pretty_assertions", @@ -1531,7 +1531,7 @@ dependencies = [ [[package]] name = "akode-external-agent-migration" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-app-server-protocol", "akode-config", @@ -1560,7 +1560,7 @@ dependencies = [ [[package]] name = "akode-features" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-network-proxy", "akode-protocol", @@ -1574,7 +1574,7 @@ dependencies = [ [[package]] name = "akode-feedback" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-login", "akode-protocol", @@ -1594,7 +1594,7 @@ dependencies = [ [[package]] name = "akode-file-search" -version = "0.9.1" +version = "0.9.2" dependencies = [ "anyhow", "clap", @@ -1610,7 +1610,7 @@ dependencies = [ [[package]] name = "akode-file-system" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-protocol", "akode-utils-absolute-path", @@ -1624,7 +1624,7 @@ dependencies = [ [[package]] name = "akode-file-watcher" -version = "0.9.1" +version = "0.9.2" dependencies = [ "notify", "pretty_assertions", @@ -1635,7 +1635,7 @@ dependencies = [ [[package]] name = "akode-git-attribution" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-extension-api", "serde_json", @@ -1643,7 +1643,7 @@ dependencies = [ [[package]] name = "akode-git-utils" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-file-system", "akode-protocol", @@ -1671,7 +1671,7 @@ dependencies = [ [[package]] name = "akode-goal-extension" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-core", "akode-extension-api", @@ -1695,7 +1695,7 @@ dependencies = [ [[package]] name = "akode-guardian-context" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-context-fragments", "akode-history", @@ -1709,7 +1709,7 @@ dependencies = [ [[package]] name = "akode-guardian-reviewer" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-context-fragments", "akode-extension-api", @@ -1745,7 +1745,7 @@ dependencies = [ [[package]] name = "akode-guardian-v2" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-api", "akode-config", @@ -1785,7 +1785,7 @@ dependencies = [ [[package]] name = "akode-guardian-v3" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-attachment-store", "akode-context-fragments", @@ -1815,7 +1815,7 @@ dependencies = [ [[package]] name = "akode-history" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-protocol", "akode-protocol-test-support", @@ -1829,7 +1829,7 @@ dependencies = [ [[package]] name = "akode-home" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-extension-api", "akode-utils-absolute-path", @@ -1841,7 +1841,7 @@ dependencies = [ [[package]] name = "akode-hooks" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-config", "akode-plugin", @@ -1870,7 +1870,7 @@ dependencies = [ [[package]] name = "akode-http-client" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-utils-cargo-bin", "akode-utils-rustls-provider", @@ -1910,7 +1910,7 @@ dependencies = [ [[package]] name = "akode-install-context" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-utils-absolute-path", "akode-utils-home-dir", @@ -1923,7 +1923,7 @@ dependencies = [ [[package]] name = "akode-keyring-store" -version = "0.9.1" +version = "0.9.2" dependencies = [ "keyring", "pretty_assertions", @@ -1934,7 +1934,7 @@ dependencies = [ [[package]] name = "akode-linux-sandbox" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-core", "akode-install-context", @@ -1963,7 +1963,7 @@ dependencies = [ [[package]] name = "akode-lmstudio" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-core", "akode-http-client", @@ -1977,7 +1977,7 @@ dependencies = [ [[package]] name = "akode-login" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-config", "akode-http-client", @@ -2021,7 +2021,7 @@ dependencies = [ [[package]] name = "akode-mcp" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-async-utils", "akode-config", @@ -2067,7 +2067,7 @@ dependencies = [ [[package]] name = "akode-mcp-extension" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-config", "akode-core", @@ -2098,7 +2098,7 @@ dependencies = [ [[package]] name = "akode-memoria-extension" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-code-graph", "akode-config", @@ -2122,7 +2122,7 @@ dependencies = [ [[package]] name = "akode-mermaid" -version = "0.9.1" +version = "0.9.2" dependencies = [ "insta", "pretty_assertions", @@ -2131,7 +2131,7 @@ dependencies = [ [[package]] name = "akode-message-board" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-attachment-store", "akode-message-board-mcp", @@ -2156,7 +2156,7 @@ dependencies = [ [[package]] name = "akode-message-board-mcp" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-attachment-store", "akode-message-board", @@ -2184,7 +2184,7 @@ dependencies = [ [[package]] name = "akode-message-history" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-config", "memchr", @@ -2198,7 +2198,7 @@ dependencies = [ [[package]] name = "akode-model-provider" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-api", "akode-feedback", @@ -2235,7 +2235,7 @@ dependencies = [ [[package]] name = "akode-model-provider-info" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-client", "akode-http-client", @@ -2255,7 +2255,7 @@ dependencies = [ [[package]] name = "akode-models-manager" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-http-client", "akode-login", @@ -2274,7 +2274,7 @@ dependencies = [ [[package]] name = "akode-multi-env-copy-file" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-config", "akode-core", @@ -2300,7 +2300,7 @@ dependencies = [ [[package]] name = "akode-mxc-sandbox" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-network-proxy", "akode-protocol", @@ -2321,7 +2321,7 @@ dependencies = [ [[package]] name = "akode-network-proxy" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-utils-absolute-path", "akode-utils-home-dir", @@ -2372,7 +2372,7 @@ dependencies = [ [[package]] name = "akode-ollama" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-core", "akode-http-client", @@ -2392,7 +2392,7 @@ dependencies = [ [[package]] name = "akode-otel" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-api", "akode-protocol", @@ -2419,7 +2419,7 @@ dependencies = [ [[package]] name = "akode-plugin" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-config", "akode-core-plugin-common", @@ -2434,7 +2434,7 @@ dependencies = [ [[package]] name = "akode-plugin-host" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-utils-cargo-bin", "akode-utils-process", @@ -2451,7 +2451,7 @@ dependencies = [ [[package]] name = "akode-process-hardening" -version = "0.9.1" +version = "0.9.2" dependencies = [ "libc", "pretty_assertions", @@ -2459,7 +2459,7 @@ dependencies = [ [[package]] name = "akode-prompts" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-collaboration-mode-templates", "akode-context-fragments", @@ -2477,7 +2477,7 @@ dependencies = [ [[package]] name = "akode-protocol" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-async-utils", "akode-execpolicy", @@ -2524,7 +2524,7 @@ dependencies = [ [[package]] name = "akode-protocol-test-support" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-protocol", "uuid", @@ -2532,7 +2532,7 @@ dependencies = [ [[package]] name = "akode-queue-extension" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-core", "akode-extension-api", @@ -2553,7 +2553,7 @@ dependencies = [ [[package]] name = "akode-realtime-webrtc" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-build-info", "akode-install-context", @@ -2572,7 +2572,7 @@ dependencies = [ [[package]] name = "akode-response-debug-context" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-api", "base64 0.22.1", @@ -2583,7 +2583,7 @@ dependencies = [ [[package]] name = "akode-rmcp-client" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-api", "akode-config", @@ -2635,7 +2635,7 @@ dependencies = [ [[package]] name = "akode-rollout" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-extension-items", "akode-file-search", @@ -2668,7 +2668,7 @@ dependencies = [ [[package]] name = "akode-rollout-trace" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-code-mode", "akode-protocol", @@ -2685,7 +2685,7 @@ dependencies = [ [[package]] name = "akode-sandboxing" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-mxc-sandbox", "akode-network-proxy", @@ -2713,7 +2713,7 @@ dependencies = [ [[package]] name = "akode-secrets" -version = "0.9.1" +version = "0.9.2" dependencies = [ "age", "akode-git-utils", @@ -2734,7 +2734,7 @@ dependencies = [ [[package]] name = "akode-shell-command" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-protocol", "akode-utils-absolute-path", @@ -2757,7 +2757,7 @@ dependencies = [ [[package]] name = "akode-skills" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-protocol", "akode-shell-command", @@ -2774,7 +2774,7 @@ dependencies = [ [[package]] name = "akode-skills-extension" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-attachment-store", "akode-config", @@ -2813,7 +2813,7 @@ dependencies = [ [[package]] name = "akode-state" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-file-system", "akode-git-utils", @@ -2842,7 +2842,7 @@ dependencies = [ [[package]] name = "akode-stdio-to-uds" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-uds", "akode-utils-cargo-bin", @@ -2854,7 +2854,7 @@ dependencies = [ [[package]] name = "akode-tcp-tunnel" -version = "0.9.1" +version = "0.9.2" dependencies = [ "anyhow", "bytes", @@ -2875,7 +2875,7 @@ dependencies = [ [[package]] name = "akode-telegram" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-app-server-protocol", "akode-config", @@ -2900,7 +2900,7 @@ dependencies = [ [[package]] name = "akode-terminal-detection" -version = "0.9.1" +version = "0.9.2" dependencies = [ "pretty_assertions", "tracing", @@ -2908,7 +2908,7 @@ dependencies = [ [[package]] name = "akode-test-binary-support" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-arg0", "tempfile", @@ -2916,7 +2916,7 @@ dependencies = [ [[package]] name = "akode-thread-manager-sample" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-core-api", "anyhow", @@ -2927,7 +2927,7 @@ dependencies = [ [[package]] name = "akode-thread-store" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-app-server-protocol", "akode-extension-items", @@ -2959,7 +2959,7 @@ dependencies = [ [[package]] name = "akode-tools" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-attachment-store", "akode-code-mode", @@ -2984,7 +2984,7 @@ dependencies = [ [[package]] name = "akode-tui" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-ansi-escape", "akode-app-server-client", @@ -3114,7 +3114,7 @@ dependencies = [ [[package]] name = "akode-uds" -version = "0.9.1" +version = "0.9.2" dependencies = [ "async-io", "libc", @@ -3128,7 +3128,7 @@ dependencies = [ [[package]] name = "akode-update" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-utils-rustls-provider", "anyhow", @@ -3148,7 +3148,7 @@ dependencies = [ [[package]] name = "akode-user-verification" -version = "0.9.1" +version = "0.9.2" dependencies = [ "base64 0.22.1", "block2", @@ -3169,7 +3169,7 @@ dependencies = [ [[package]] name = "akode-utils-absolute-path" -version = "0.9.1" +version = "0.9.2" dependencies = [ "dirs", "dunce", @@ -3183,14 +3183,14 @@ dependencies = [ [[package]] name = "akode-utils-approval-presets" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-protocol", ] [[package]] name = "akode-utils-audio" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-protocol", "akode-utils-cache", @@ -3204,7 +3204,7 @@ dependencies = [ [[package]] name = "akode-utils-cache" -version = "0.9.1" +version = "0.9.2" dependencies = [ "lru", "sha1 0.10.6", @@ -3213,7 +3213,7 @@ dependencies = [ [[package]] name = "akode-utils-cargo-bin" -version = "0.9.1" +version = "0.9.2" dependencies = [ "assert_cmd", "runfiles", @@ -3222,7 +3222,7 @@ dependencies = [ [[package]] name = "akode-utils-cli" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-protocol", "akode-shell-command", @@ -3234,22 +3234,22 @@ dependencies = [ [[package]] name = "akode-utils-critical-path" -version = "0.9.1" +version = "0.9.2" dependencies = [ "pretty_assertions", ] [[package]] name = "akode-utils-elapsed" -version = "0.9.1" +version = "0.9.2" [[package]] name = "akode-utils-fuzzy-match" -version = "0.9.1" +version = "0.9.2" [[package]] name = "akode-utils-git-discovery" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-git-utils", "akode-utils-absolute-path", @@ -3262,14 +3262,14 @@ dependencies = [ [[package]] name = "akode-utils-head-tail-buffer" -version = "0.9.1" +version = "0.9.2" dependencies = [ "pretty_assertions", ] [[package]] name = "akode-utils-home-dir" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-utils-absolute-path", "dirs", @@ -3279,7 +3279,7 @@ dependencies = [ [[package]] name = "akode-utils-image" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-utils-cache", "base64 0.22.1", @@ -3293,7 +3293,7 @@ dependencies = [ [[package]] name = "akode-utils-json-to-toml" -version = "0.9.1" +version = "0.9.2" dependencies = [ "pretty_assertions", "serde_json", @@ -3302,7 +3302,7 @@ dependencies = [ [[package]] name = "akode-utils-model-facing-id" -version = "0.9.1" +version = "0.9.2" dependencies = [ "blake3", "pretty_assertions", @@ -3315,7 +3315,7 @@ dependencies = [ [[package]] name = "akode-utils-oss" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-core", "akode-lmstudio", @@ -3325,7 +3325,7 @@ dependencies = [ [[package]] name = "akode-utils-output-truncation" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-protocol", "akode-utils-string", @@ -3335,7 +3335,7 @@ dependencies = [ [[package]] name = "akode-utils-path" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-utils-absolute-path", "dunce", @@ -3346,7 +3346,7 @@ dependencies = [ [[package]] name = "akode-utils-path-uri" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-utils-absolute-path", "base64 0.22.1", @@ -3362,7 +3362,7 @@ dependencies = [ [[package]] name = "akode-utils-plugins" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-exec-server", "akode-exec-server-protocol", @@ -3376,7 +3376,7 @@ dependencies = [ [[package]] name = "akode-utils-process" -version = "0.9.1" +version = "0.9.2" dependencies = [ "pretty_assertions", "tokio", @@ -3384,7 +3384,7 @@ dependencies = [ [[package]] name = "akode-utils-pty" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-utils-cargo-bin", "anyhow", @@ -3403,7 +3403,7 @@ dependencies = [ [[package]] name = "akode-utils-readiness" -version = "0.9.1" +version = "0.9.2" dependencies = [ "assert_matches", "thiserror 2.0.18", @@ -3413,7 +3413,7 @@ dependencies = [ [[package]] name = "akode-utils-redacted-string" -version = "0.9.1" +version = "0.9.2" dependencies = [ "schemars 0.8.22", "serde", @@ -3421,14 +3421,14 @@ dependencies = [ [[package]] name = "akode-utils-rustls-provider" -version = "0.9.1" +version = "0.9.2" dependencies = [ "rustls", ] [[package]] name = "akode-utils-sandbox-summary" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-protocol", "akode-utils-absolute-path", @@ -3438,7 +3438,7 @@ dependencies = [ [[package]] name = "akode-utils-sleep-inhibitor" -version = "0.9.1" +version = "0.9.2" dependencies = [ "core-foundation 0.9.4", "libc", @@ -3448,14 +3448,14 @@ dependencies = [ [[package]] name = "akode-utils-stream-parser" -version = "0.9.1" +version = "0.9.2" dependencies = [ "pretty_assertions", ] [[package]] name = "akode-utils-string" -version = "0.9.1" +version = "0.9.2" dependencies = [ "pretty_assertions", "regex-lite", @@ -3465,14 +3465,14 @@ dependencies = [ [[package]] name = "akode-utils-template" -version = "0.9.1" +version = "0.9.2" dependencies = [ "pretty_assertions", ] [[package]] name = "akode-v8-poc" -version = "0.9.1" +version = "0.9.2" dependencies = [ "pretty_assertions", "v8", @@ -3480,7 +3480,7 @@ dependencies = [ [[package]] name = "akode-voice-host" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-install-context", "akode-process-hardening", @@ -3507,7 +3507,7 @@ dependencies = [ [[package]] name = "akode-web-search-extension" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-api", "akode-core", @@ -3535,7 +3535,7 @@ dependencies = [ [[package]] name = "akode-web-tools" -version = "0.9.1" +version = "0.9.2" dependencies = [ "encoding_rs", "pretty_assertions", @@ -3551,7 +3551,7 @@ dependencies = [ [[package]] name = "akode-websocket-auth" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-utils-absolute-path", "anyhow", @@ -3570,7 +3570,7 @@ dependencies = [ [[package]] name = "akode-websocket-client" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-http-client", "akode-utils-rustls-provider", @@ -3586,7 +3586,7 @@ dependencies = [ [[package]] name = "akode-windows-sandbox" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-http-client", "akode-otel", @@ -3617,7 +3617,7 @@ dependencies = [ [[package]] name = "akode-windows-sandbox-service" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-config", "akode-core", @@ -3634,14 +3634,14 @@ dependencies = [ [[package]] name = "akode-windows-sandbox-test-support" -version = "0.9.1" +version = "0.9.2" dependencies = [ "dirs", ] [[package]] name = "akode-worktree" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-git-utils", "akode-protocol", @@ -3796,7 +3796,7 @@ checksum = "2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3" [[package]] name = "app_test_support" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-app-server-protocol", "akode-config", @@ -5613,7 +5613,7 @@ dependencies = [ [[package]] name = "core_test_support" -version = "0.9.1" +version = "0.9.2" dependencies = [ "akode-agent-graph-store", "akode-agent-message-board-host", diff --git a/akode-rs/Cargo.toml b/akode-rs/Cargo.toml index 3a1790c4..8bc3e2cd 100644 --- a/akode-rs/Cargo.toml +++ b/akode-rs/Cargo.toml @@ -158,7 +158,7 @@ members = [ resolver = "2" [workspace.package] -version = "0.9.1" +version = "0.9.2" # Track the edition for all workspace crates in one place. Individual # crates can still override this value, but keeping it here means new # crates created with `cargo new -w ...` automatically inherit the 2024 diff --git a/akode-rs/core/src/context/world_state/permissions.rs b/akode-rs/core/src/context/world_state/permissions.rs index 9ba89075..362970cc 100644 --- a/akode-rs/core/src/context/world_state/permissions.rs +++ b/akode-rs/core/src/context/world_state/permissions.rs @@ -39,6 +39,7 @@ pub(crate) enum PermissionsSnapshot { impl PermissionsState { #[allow(clippy::too_many_arguments)] + #[cfg_attr(not(test), allow(dead_code))] pub(crate) fn new( permission_profile: &PermissionProfile, approval_policy: AskForApproval, @@ -48,6 +49,33 @@ impl PermissionsState { paths: Option<&FileSystemSandboxPolicyContext<'_>>, exec_permission_approvals_enabled: bool, request_permissions_tool_enabled: bool, + ) -> Self { + Self::new_with_network_allowlist( + permission_profile, + approval_policy, + approval_context, + exec_policy, + cwd, + paths, + exec_permission_approvals_enabled, + request_permissions_tool_enabled, + &[], + ) + } + + /// aKode: like [`Self::new`], describing a network limited to `allowed_domains` + /// (the managed proxy allowlist) when it is not empty. + #[allow(clippy::too_many_arguments)] + pub(crate) fn new_with_network_allowlist( + permission_profile: &PermissionProfile, + approval_policy: AskForApproval, + approval_context: ApprovalPromptContext<'_>, + exec_policy: &Policy, + cwd: &Path, + paths: Option<&FileSystemSandboxPolicyContext<'_>>, + exec_permission_approvals_enabled: bool, + request_permissions_tool_enabled: bool, + allowed_domains: &[String], ) -> Self { let build_instructions = |exec_policy| { PermissionsInstructions::from_permission_profile( @@ -60,6 +88,7 @@ impl PermissionsState { exec_permission_approvals_enabled, request_permissions_tool_enabled, ) + .with_limited_network(allowed_domains) }; let instructions = build_instructions(exec_policy); let instructions_without_approved_prefixes = build_instructions(&Policy::empty()); diff --git a/akode-rs/core/src/session/world_state.rs b/akode-rs/core/src/session/world_state.rs index 5f25a07b..953ad6f9 100644 --- a/akode-rs/core/src/session/world_state.rs +++ b/akode-rs/core/src/session/world_state.rs @@ -279,7 +279,19 @@ impl Session { let cwd = environment .and_then(|environment| environment.cwd().to_abs_path().ok()) .unwrap_or_else(|| turn_context.cwd.clone()); - world_state.add_section(PermissionsState::new( + // aKode: with the managed proxy, the network is limited to its allowlist. + let allowed_domains = match turn_context.network.as_ref() { + Some(network) if permission_profile.network_sandbox_policy().is_enabled() => { + network + .current_cfg() + .await + .ok() + .and_then(|cfg| cfg.allowed_domains()) + .unwrap_or_default() + } + _ => Vec::new(), + }; + world_state.add_section(PermissionsState::new_with_network_allowlist( &permission_profile, settings.approval_policy(), approval_context, @@ -294,6 +306,7 @@ impl Session { .config .features .enabled(Feature::RequestPermissionsTool), + &allowed_domains, )); } else { world_state.add_section(CompactPermissionsState::new( diff --git a/akode-rs/prompts/src/model_messages/permissions.rs b/akode-rs/prompts/src/model_messages/permissions.rs index 37b66546..512f827d 100644 --- a/akode-rs/prompts/src/model_messages/permissions.rs +++ b/akode-rs/prompts/src/model_messages/permissions.rs @@ -17,6 +17,10 @@ pub(crate) const DANGER_FULL_ACCESS_TEMPLATE: &str = include_str!("../../templates/permissions/sandbox_mode/danger_full_access.md"); pub(crate) const WORKSPACE_WRITE_TEMPLATE: &str = include_str!("../../templates/permissions/sandbox_mode/workspace_write.md"); +/// aKode: sentence that replaces "Network access is enabled." in the workspace-write +/// text when the network goes through the managed proxy allowlist. +pub(crate) const NETWORK_LIMITED_TEMPLATE: &str = + include_str!("../../templates/permissions/sandbox_mode/network_limited.md"); pub(crate) const READ_ONLY_TEMPLATE: &str = include_str!("../../templates/permissions/sandbox_mode/read_only.md"); pub(crate) const WRITABLE_ROOT_TEMPLATE: &str = " The writable root is {{ roots }}."; diff --git a/akode-rs/prompts/src/permissions_instructions.rs b/akode-rs/prompts/src/permissions_instructions.rs index 54fbf38d..064be4f0 100644 --- a/akode-rs/prompts/src/permissions_instructions.rs +++ b/akode-rs/prompts/src/permissions_instructions.rs @@ -111,7 +111,47 @@ pub struct PermissionsInstructions { text: String, } +/// aKode: groups allowlisted domains into the registry names shown to the model +/// (pypi.org + files.pythonhosted.org -> PyPI, ...); unknown domains are kept as they are. +pub fn package_registry_names(domains: &[String]) -> Vec { + let mut names: Vec = Vec::new(); + for domain in domains { + let domain = domain.trim().trim_start_matches("*.").to_ascii_lowercase(); + let name = match domain.as_str() { + "pypi.org" | "files.pythonhosted.org" => "PyPI".to_string(), + "registry.npmjs.org" | "registry.yarnpkg.com" => "npm".to_string(), + "crates.io" | "static.crates.io" | "index.crates.io" => "crates.io".to_string(), + "pub.dev" | "storage.googleapis.com" => "pub.dev".to_string(), + "github.com" + | "codeload.github.com" + | "objects.githubusercontent.com" + | "raw.githubusercontent.com" => "GitHub".to_string(), + _ => domain, + }; + if !names.contains(&name) { + names.push(name); + } + } + names +} + impl PermissionsInstructions { + /// aKode: when the sandbox network goes through the managed proxy allowlist, say + /// so instead of "Network access is enabled." (otherwise models try ssh or other + /// hosts inside the sandbox and conclude that there is no connection). + pub fn with_limited_network(mut self, allowed_domains: &[String]) -> Self { + const ENABLED: &str = "Network access is enabled."; + if allowed_domains.is_empty() || !self.text.contains(ENABLED) { + return self; + } + let registries = package_registry_names(allowed_domains).join(", "); + let sentence = crate::model_messages::permissions::NETWORK_LIMITED_TEMPLATE + .trim_end() + .replace("{{ registries }}", ®istries); + self.text = self.text.replacen(ENABLED, &sentence, 1); + self + } + /// Composes a permission fragment from resolved messages and caller-supplied facts. /// Paths are used verbatim; this constructor does not inspect the filesystem or environment. fn from_resolved( diff --git a/akode-rs/prompts/src/permissions_instructions_tests.rs b/akode-rs/prompts/src/permissions_instructions_tests.rs index 106043fc..6a348d91 100644 --- a/akode-rs/prompts/src/permissions_instructions_tests.rs +++ b/akode-rs/prompts/src/permissions_instructions_tests.rs @@ -88,6 +88,21 @@ fn builds_permissions_from_profile() { assert!(text.contains("Do not request escalation or additional permissions")); assert!(text.contains(&format!("path `{}`", denied_root.display()))); assert!(text.contains(&format!("glob `{denied_glob}`"))); + + // aKode: with the managed proxy allowlist the network sentence is replaced. + let limited = instructions + .clone() + .with_limited_network(&["pypi.org".to_string(), "github.com".to_string()]); + let limited_text = limited.body().expect_text(); + assert!(!limited_text.contains("Network access is enabled.")); + assert!(limited_text.contains( + "Network access is limited to package registries (PyPI, GitHub). Other connections, including ssh, are blocked inside the sandbox: run them with escalated permissions, which requires approval." + )); + // Without an allowlist the text is unchanged. + assert_eq!( + instructions.clone().with_limited_network(&[]).body().expect_text(), + text + ); } #[test] @@ -1153,3 +1168,26 @@ fn path_warning_copy_is_bounded_without_suppressing_omitted_denials() { } } } + +#[test] +fn package_registry_names_group_known_domains() { + let domains: Vec = [ + "pypi.org", + "files.pythonhosted.org", + "registry.npmjs.org", + "crates.io", + "static.crates.io", + "pub.dev", + "storage.googleapis.com", + "github.com", + "codeload.github.com", + "gitlab.com", + ] + .iter() + .map(|domain| domain.to_string()) + .collect(); + assert_eq!( + super::package_registry_names(&domains), + vec!["PyPI", "npm", "crates.io", "pub.dev", "GitHub", "gitlab.com"] + ); +} diff --git a/akode-rs/prompts/templates/permissions/sandbox_mode/network_limited.md b/akode-rs/prompts/templates/permissions/sandbox_mode/network_limited.md new file mode 100644 index 00000000..156a2e1d --- /dev/null +++ b/akode-rs/prompts/templates/permissions/sandbox_mode/network_limited.md @@ -0,0 +1 @@ +Network access is limited to package registries ({{ registries }}). Other connections, including ssh, are blocked inside the sandbox: run them with escalated permissions, which requires approval. \ No newline at end of file diff --git a/akode-rs/tui/src/app/snapshots/akode_tui__app__daemon_menu__tests__daemon_cli_confirmation.snap b/akode-rs/tui/src/app/snapshots/akode_tui__app__daemon_menu__tests__daemon_cli_confirmation.snap index 270a7c3b..97e68131 100644 --- a/akode-rs/tui/src/app/snapshots/akode_tui__app__daemon_menu__tests__daemon_cli_confirmation.snap +++ b/akode-rs/tui/src/app/snapshots/akode_tui__app__daemon_menu__tests__daemon_cli_confirmation.snap @@ -10,7 +10,7 @@ expression: "render_bottom_popup(&app.chat_widget,\nwidth).replace(r\"C:\\cli-bu │ Update daemon and exit aKode? - Use this CLI package v0.9.1 from /x/cli-build/bin/akode. Copy the + Use this CLI package v0.9.2 from /x/cli-build/bin/akode. Copy the complete package and pin it against automatic updates. This may restart the daemon and interrupt active or queued work. Codex exits to update in this terminal. Relaunch it afterward. diff --git a/akode-rs/tui/src/app/snapshots/akode_tui__app__owned_transcript__empty_state_animation_tests__fresh_thread_header.snap b/akode-rs/tui/src/app/snapshots/akode_tui__app__owned_transcript__empty_state_animation_tests__fresh_thread_header.snap index 8475d438..dae63bf8 100644 --- a/akode-rs/tui/src/app/snapshots/akode_tui__app__owned_transcript__empty_state_animation_tests__fresh_thread_header.snap +++ b/akode-rs/tui/src/app/snapshots/akode_tui__app__owned_transcript__empty_state_animation_tests__fresh_thread_header.snap @@ -5,7 +5,7 @@ expression: "format!(\"enabled:\\n{}\\n---\\ndisabled:\\n{}\", text(after), text --- enabled: - ▄▄████▄▄ aKode v0.9.1 + ▄▄████▄▄ aKode v0.9.2 ██▀▀██▀▀██ GPT-5.6-Sol · mock ██▄▄██▄▄██ /tmp/project ██▀████▀██ @@ -51,7 +51,7 @@ enabled: --- disabled: - ▄▄████▄▄ aKode v0.9.1 + ▄▄████▄▄ aKode v0.9.2 ██▀▀██▀▀██ GPT-5.6-Sol · mock ██▄▄██▄▄██ /tmp/project ██▀████▀██ diff --git a/akode-rs/tui/src/app/snapshots/akode_tui__app__tests__app_server_thread_replacement_clears_previous_transcript_before_replay-2.snap b/akode-rs/tui/src/app/snapshots/akode_tui__app__tests__app_server_thread_replacement_clears_previous_transcript_before_replay-2.snap index 790ab32c..2da7790f 100644 --- a/akode-rs/tui/src/app/snapshots/akode_tui__app__tests__app_server_thread_replacement_clears_previous_transcript_before_replay-2.snap +++ b/akode-rs/tui/src/app/snapshots/akode_tui__app__tests__app_server_thread_replacement_clears_previous_transcript_before_replay-2.snap @@ -3,7 +3,7 @@ source: tui/src/app/tests.rs expression: rendered --- - ▄▄████▄▄ aKode v0.9.1 + ▄▄████▄▄ aKode v0.9.2 ██▀▀██▀▀██ gpt-test · mock ██▄▄██▄▄██ ██▀████▀██ diff --git a/akode-rs/tui/src/app/tests/.session_lifecycle_requests.rs.pending-snap b/akode-rs/tui/src/app/tests/.session_lifecycle_requests.rs.pending-snap index e5f91a11..7f2fd993 100644 --- a/akode-rs/tui/src/app/tests/.session_lifecycle_requests.rs.pending-snap +++ b/akode-rs/tui/src/app/tests/.session_lifecycle_requests.rs.pending-snap @@ -247,3 +247,22 @@ {"run_id":"1794868532-256957000","line":427,"new":null,"old":null} {"run_id":"1794868532-256957000","line":446,"new":null,"old":null} {"run_id":"1794868532-256957000","line":468,"new":null,"old":null} +{"run_id":"1794897651-128959000","line":406,"new":null,"old":null} +{"run_id":"1794897651-128959000","line":427,"new":null,"old":null} +{"run_id":"1794897651-128959000","line":446,"new":null,"old":null} +{"run_id":"1794897651-128959000","line":468,"new":null,"old":null} +{"run_id":"1794897651-128959000","line":4849,"new":null,"old":null} +{"run_id":"1794897651-128959000","line":4945,"new":null,"old":null} +{"run_id":"1794897651-128959000","line":4947,"new":null,"old":null} +{"run_id":"1794897651-128959000","line":4988,"new":null,"old":null} +{"run_id":"1794897651-128959000","line":4988,"new":null,"old":null} +{"run_id":"1794897651-128959000","line":5283,"new":null,"old":null} +{"run_id":"1794897651-128959000","line":4328,"new":null,"old":null} +{"run_id":"1794897651-128959000","line":5900,"new":null,"old":null} +{"run_id":"1794897651-128959000","line":5060,"new":null,"old":null} +{"run_id":"1794897651-128959000","line":5946,"new":null,"old":null} +{"run_id":"1794897651-128959000","line":3065,"new":null,"old":null} +{"run_id":"1794897651-128959000","line":5483,"new":null,"old":null} +{"run_id":"1794897651-128959000","line":5946,"new":null,"old":null} +{"run_id":"1794897651-128959000","line":5561,"new":null,"old":null} +{"run_id":"1794897651-128959000","line":5900,"new":null,"old":null} diff --git a/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__realtime_requests__voice_buffered_replay_reconciles_captions.snap b/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__realtime_requests__voice_buffered_replay_reconciles_captions.snap index a54866a4..b8517903 100644 --- a/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__realtime_requests__voice_buffered_replay_reconciles_captions.snap +++ b/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__realtime_requests__voice_buffered_replay_reconciles_captions.snap @@ -4,7 +4,7 @@ assertion_line: 901 expression: "normalize_voice_snapshot_directory(&rendered, &app.config.cwd)" --- - ▄▄████▄▄ aKode v0.9.1 + ▄▄████▄▄ aKode v0.9.2 ██▀▀██▀▀██ gpt-test · mock ██▄▄██▄▄██ /tmp/project ██▀████▀██ diff --git a/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__realtime_requests__voice_completed_after_thread_switch.snap b/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__realtime_requests__voice_completed_after_thread_switch.snap index a8e93ade..44206e37 100644 --- a/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__realtime_requests__voice_completed_after_thread_switch.snap +++ b/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__realtime_requests__voice_completed_after_thread_switch.snap @@ -4,7 +4,7 @@ assertion_line: 1109 expression: "normalize_voice_snapshot_directory(&rendered, &app.config.cwd)" --- - ▄▄████▄▄ aKode v0.9.1 + ▄▄████▄▄ aKode v0.9.2 ██▀▀██▀▀██ gpt-test · mock ██▄▄██▄▄██ /tmp/project ██▀████▀██ diff --git a/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__realtime_requests__voice_partial_completed_after_thread_switch.snap b/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__realtime_requests__voice_partial_completed_after_thread_switch.snap index 7520b3d4..bad2ca39 100644 --- a/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__realtime_requests__voice_partial_completed_after_thread_switch.snap +++ b/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__realtime_requests__voice_partial_completed_after_thread_switch.snap @@ -15,7 +15,7 @@ Restored owner: 127.0.0.1:9 · gpt-test · /tmp/project ctx 0% · -- t/s - ▄▄████▄▄ aKode v0.9.1 + ▄▄████▄▄ aKode v0.9.2 ██▀▀██▀▀██ gpt-test · mock ██▄▄██▄▄██ /tmp/project ██▀████▀██ diff --git a/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__realtime_requests__voice_replay_reconciles_matching_captions.snap b/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__realtime_requests__voice_replay_reconciles_matching_captions.snap index 2a0f94b2..9e8604a3 100644 --- a/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__realtime_requests__voice_replay_reconciles_matching_captions.snap +++ b/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__realtime_requests__voice_replay_reconciles_matching_captions.snap @@ -4,7 +4,7 @@ assertion_line: 726 expression: "normalize_voice_snapshot_directory(&rendered, &app.config.cwd)" --- - ▄▄████▄▄ aKode v0.9.1 + ▄▄████▄▄ aKode v0.9.2 ██▀▀██▀▀██ gpt-test · mock ██▄▄██▄▄██ /tmp/project ██▀████▀██ diff --git a/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__session_lifecycle_requests__new_session_tests__widget_replacement_preserves_mention_usage_with_history_disabled.snap b/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__session_lifecycle_requests__new_session_tests__widget_replacement_preserves_mention_usage_with_history_disabled.snap index ed2c724c..d051c77c 100644 --- a/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__session_lifecycle_requests__new_session_tests__widget_replacement_preserves_mention_usage_with_history_disabled.snap +++ b/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__session_lifecycle_requests__new_session_tests__widget_replacement_preserves_mention_usage_with_history_disabled.snap @@ -2,7 +2,7 @@ source: tui/src/app/tests/new_session_tests.rs expression: "normalize_snapshot_paths(render_bottom_popup(&app.chat_widget, 80))" --- - ▄▄████▄▄ aKode v0.9.1 + ▄▄████▄▄ aKode v0.9.2 ██▀▀██▀▀██ loading · mock ██▄▄██▄▄██ /tmp/project ██▀████▀██ diff --git a/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__startup_frame_tests__startup_tip_in_transcript.snap b/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__startup_frame_tests__startup_tip_in_transcript.snap index d6336cbf..d461011f 100644 --- a/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__startup_frame_tests__startup_tip_in_transcript.snap +++ b/akode-rs/tui/src/app/tests/snapshots/akode_tui__app__tests__startup_frame_tests__startup_tip_in_transcript.snap @@ -5,7 +5,7 @@ expression: "normalize_snapshot_paths(normalize_agent_center_snapshot(snapshots. --- 80 columns - ▄▄████▄▄ aKode v0.9.1 + ▄▄████▄▄ aKode v0.9.2 ██▀▀██▀▀██ gpt-test · mock ██▄▄██▄▄██ /tmp/project ██▀████▀██ @@ -27,7 +27,7 @@ expression: "normalize_snapshot_paths(normalize_agent_center_snapshot(snapshots. 32 columns - ▄▄████▄▄ aKode v0.9.1 + ▄▄████▄▄ aKode v0.9.2 ██▀▀██▀▀██ gpt-test · mock ██▄▄██▄▄██ /tmp/project ██▀████▀██ diff --git a/akode-rs/tui/src/history_cell/snapshots/akode_tui__history_cell__tests__session_info_availability_nux_tooltip_snapshot.snap b/akode-rs/tui/src/history_cell/snapshots/akode_tui__history_cell__tests__session_info_availability_nux_tooltip_snapshot.snap index 2f015a55..1a6b89f9 100644 --- a/akode-rs/tui/src/history_cell/snapshots/akode_tui__history_cell__tests__session_info_availability_nux_tooltip_snapshot.snap +++ b/akode-rs/tui/src/history_cell/snapshots/akode_tui__history_cell__tests__session_info_availability_nux_tooltip_snapshot.snap @@ -3,7 +3,7 @@ source: tui/src/history_cell/tests.rs expression: rendered --- - ▄▄████▄▄ aKode v0.9.1 + ▄▄████▄▄ aKode v0.9.2 ██▀▀██▀▀██ gpt-5 · mock ██▄▄██▄▄██ /tmp/project ██▀████▀██ diff --git a/akode-rs/tui/src/onboarding/snapshots/akode_tui__onboarding__setup_wizard__tests__setup_theme_120.snap b/akode-rs/tui/src/onboarding/snapshots/akode_tui__onboarding__setup_wizard__tests__setup_theme_120.snap index f082ff5e..8a33f3c0 100644 --- a/akode-rs/tui/src/onboarding/snapshots/akode_tui__onboarding__setup_wizard__tests__setup_theme_120.snap +++ b/akode-rs/tui/src/onboarding/snapshots/akode_tui__onboarding__setup_wizard__tests__setup_theme_120.snap @@ -7,7 +7,7 @@ expression: rendered Scegli i colori; potrai cambiarli con /theme. - 1. Automatico │ ▄▄████▄▄ aKode v0.9.1 + 1. Automatico │ ▄▄████▄▄ aKode v0.9.2 2. Scuro │ ██▀▀██▀▀██ qwen3.6-35b-a3b 3. Chiaro │ ██▄▄██▄▄██ ~/progetto 4. Alto contrasto │ ██▀████▀██ diff --git a/akode-rs/tui/src/onboarding/snapshots/akode_tui__onboarding__setup_wizard__tests__setup_theme_80.snap b/akode-rs/tui/src/onboarding/snapshots/akode_tui__onboarding__setup_wizard__tests__setup_theme_80.snap index a3db5d07..2400d46d 100644 --- a/akode-rs/tui/src/onboarding/snapshots/akode_tui__onboarding__setup_wizard__tests__setup_theme_80.snap +++ b/akode-rs/tui/src/onboarding/snapshots/akode_tui__onboarding__setup_wizard__tests__setup_theme_80.snap @@ -7,7 +7,7 @@ expression: rendered Scegli i colori; potrai cambiarli con /theme. - 1. Automatico │ ▄▄████▄▄ aKode v0.9.1 + 1. Automatico │ ▄▄████▄▄ aKode v0.9.2 2. Scuro │ ██▀▀██▀▀██ qwen3.6-35b-a3b 3. Chiaro │ ██▄▄██▄▄██ ~/progetto 4. Alto contrasto │ ██▀████▀██ diff --git a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_cached_limits_hide_credits_without_flag.snap b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_cached_limits_hide_credits_without_flag.snap index 3763279e..5c4781a4 100644 --- a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_cached_limits_hide_credits_without_flag.snap +++ b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_cached_limits_hide_credits_without_flag.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ aKode (v0.9.1) + >_ aKode (v0.9.2) Model: gpt-5.1-codex (reasoning none, summaries auto) Directory: [[workspace]] diff --git a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_includes_credits_and_limits.snap b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_includes_credits_and_limits.snap index 3dcd8e96..e61834eb 100644 --- a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_includes_credits_and_limits.snap +++ b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_includes_credits_and_limits.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ aKode (v0.9.1) + >_ aKode (v0.9.2) Model: gpt-5.1-codex (reasoning none, summaries auto) Directory: [[workspace]] diff --git a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_includes_forked_from.snap b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_includes_forked_from.snap index 29afc049..250c56c9 100644 --- a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_includes_forked_from.snap +++ b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_includes_forked_from.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ aKode (v0.9.1) + >_ aKode (v0.9.2) Model: gpt-5.1-codex-max (reasoning none, summaries auto) Directory: [[workspace]] diff --git a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_includes_monthly_limit.snap b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_includes_monthly_limit.snap index b3d12c10..b22d9d2b 100644 --- a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_includes_monthly_limit.snap +++ b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_includes_monthly_limit.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ aKode (v0.9.1) + >_ aKode (v0.9.2) Model: gpt-5.1-codex-max (reasoning none, summaries auto) Directory: [[workspace]] diff --git a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_includes_reasoning_details.snap b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_includes_reasoning_details.snap index d4ec6e63..3c9ea5b5 100644 --- a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_includes_reasoning_details.snap +++ b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_includes_reasoning_details.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ aKode (v0.9.1) + >_ aKode (v0.9.2) Model: gpt-5.1-codex-max (reasoning high, summaries detailed) Directory: [[workspace]] diff --git a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_local_background_server.snap b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_local_background_server.snap index fbb4e41e..a249148f 100644 --- a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_local_background_server.snap +++ b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_local_background_server.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ aKode (v0.9.1) + >_ aKode (v0.9.2) Server: Local background server diff --git a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_remote_server.snap b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_remote_server.snap index 4707e787..0e1a991d 100644 --- a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_remote_server.snap +++ b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_remote_server.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ aKode (v0.9.1) + >_ aKode (v0.9.2) Server: unix:///tmp/codex-home/app-server-control/app-server- control.sock (v0.133.0) diff --git a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_active_user_defined_profile.snap b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_active_user_defined_profile.snap index 6007eca4..4aaa5631 100644 --- a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_active_user_defined_profile.snap +++ b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_active_user_defined_profile.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ aKode (v0.9.1) + >_ aKode (v0.9.2) Model: gpt-5.1-codex-max (reasoning none, summaries auto) Directory: [[workspace]] diff --git a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_auto_review_permissions.snap b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_auto_review_permissions.snap index 474c57b1..a15f800c 100644 --- a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_auto_review_permissions.snap +++ b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_auto_review_permissions.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ aKode (v0.9.1) + >_ aKode (v0.9.2) Model: gpt-5.1-codex-max (reasoning none, summaries auto) Directory: [[workspace]] diff --git a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_missing_limits_message.snap b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_missing_limits_message.snap index ca298e85..e0bb56ba 100644 --- a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_missing_limits_message.snap +++ b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_missing_limits_message.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ aKode (v0.9.1) + >_ aKode (v0.9.2) Model: gpt-5.1-codex-max (reasoning none, summaries auto) Directory: [[workspace]] diff --git a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_stale_limits_message.snap b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_stale_limits_message.snap index c6bc1d2c..4382a335 100644 --- a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_stale_limits_message.snap +++ b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_stale_limits_message.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ aKode (v0.9.1) + >_ aKode (v0.9.2) Model: gpt-5.1-codex-max (reasoning none, summaries auto) Directory: [[workspace]] diff --git a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_unavailable_limits_message.snap b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_unavailable_limits_message.snap index af846c13..ab708303 100644 --- a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_unavailable_limits_message.snap +++ b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_shows_unavailable_limits_message.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ aKode (v0.9.1) + >_ aKode (v0.9.2) Model: gpt-5.1-codex-max (reasoning none, summaries auto) Directory: [[workspace]] diff --git a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_truncates_halfwidth_kana_in_narrow_terminal.snap b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_truncates_halfwidth_kana_in_narrow_terminal.snap index 0b5d8d05..260d9875 100644 --- a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_truncates_halfwidth_kana_in_narrow_terminal.snap +++ b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_truncates_halfwidth_kana_in_narrow_terminal.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ aKode (v0.9.1) + >_ aKode (v0.9.2) Model: ガパガパガパガ パ-model (reasoning diff --git a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_truncates_in_narrow_terminal.snap b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_truncates_in_narrow_terminal.snap index 14b12226..e2ee42cc 100644 --- a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_truncates_in_narrow_terminal.snap +++ b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_truncates_in_narrow_terminal.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ aKode (v0.9.1) + >_ aKode (v0.9.2) Model: gpt-5.1-codex-max (reasoning high, summaries detailed) diff --git a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_uses_default_reasoning_when_config_empty.snap b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_uses_default_reasoning_when_config_empty.snap index 1a0a7daa..d44785fd 100644 --- a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_uses_default_reasoning_when_config_empty.snap +++ b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_uses_default_reasoning_when_config_empty.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ aKode (v0.9.1) + >_ aKode (v0.9.2) Model: gpt-5.1-codex-max (reasoning medium, summaries auto) Directory: [[workspace]] diff --git a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_uses_generic_limit_labels_for_unsupported_windows.snap b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_uses_generic_limit_labels_for_unsupported_windows.snap index e78eb185..3025fb0e 100644 --- a/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_uses_generic_limit_labels_for_unsupported_windows.snap +++ b/akode-rs/tui/src/status/snapshots/akode_tui__status__tests__status_snapshot_uses_generic_limit_labels_for_unsupported_windows.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ aKode (v0.9.1) + >_ aKode (v0.9.2) Model: gpt-5.1-codex-max (reasoning none, summaries auto) Directory: [[workspace]]