aKode 0.9.0: versione, Novità nel README, repository rinominato in imeai-aKode, snapshot della TUI

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-16 18:06:29 +01:00
parent 0460c74f38
commit 1c278642de
44 changed files with 232 additions and 218 deletions

316
akode-rs/Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -158,7 +158,7 @@ members = [
resolver = "2"
[workspace.package]
version = "0.8.0"
version = "0.9.0"
# 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

View File

@@ -8,13 +8,13 @@ use wiremock::ResponseTemplate;
use wiremock::matchers::method;
use wiremock::matchers::path;
const LATEST_PATH: &str = "/api/v1/repos/andrea/aKode/releases/latest";
const LATEST_PATH: &str = "/api/v1/repos/andrea/imeai-aKode/releases/latest";
fn akode_update(akode_home: &Path, server: &MockServer) -> Result<assert_cmd::Command> {
let mut cmd = assert_cmd::Command::new(akode_utils_cargo_bin::cargo_bin("akode")?);
cmd.env("AKODE_HOME", akode_home).args([
"-c",
&format!("update.repo_url=\"{}/andrea/aKode\"", server.uri()),
&format!("update.repo_url=\"{}/andrea/imeai-aKode\"", server.uri()),
"update",
]);
Ok(cmd)

View File

@@ -226,7 +226,7 @@ pub enum HistoryPersistence {
}
/// Public Gitea repository that publishes aKode releases.
pub const DEFAULT_UPDATE_REPO_URL: &str = "https://git.difonzo.net/andrea/aKode";
pub const DEFAULT_UPDATE_REPO_URL: &str = "https://git.difonzo.net/andrea/imeai-aKode";
/// `[update]`: where `akode update` looks for releases and whether the TUI checks on startup.
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, Default, JsonSchema)]

View File

@@ -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.8.0 from /x/cli-build/bin/akode. Copy the
Use this CLI package v0.9.0 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.

View File

@@ -4,7 +4,7 @@ expression: "format!(\"enabled:\\n{}\\n---\\ndisabled:\\n{}\", text(after), text
---
enabled:
▄▄████▄▄ aKode v0.8.0
▄▄████▄▄ aKode v0.9.0
██▀▀██▀▀██ GPT-5.6-Sol · mock
██▄▄██▄▄██ /tmp/project
██▀████▀██
@@ -50,7 +50,7 @@ enabled:
---
disabled:
▄▄████▄▄ aKode v0.8.0
▄▄████▄▄ aKode v0.9.0
██▀▀██▀▀██ GPT-5.6-Sol · mock
██▄▄██▄▄██ /tmp/project
██▀████▀██

View File

@@ -3,7 +3,7 @@ source: tui/src/app/tests.rs
expression: rendered
---
▄▄████▄▄ aKode v0.8.0
▄▄████▄▄ aKode v0.9.0
██▀▀██▀▀██ gpt-test · mock
██▄▄██▄▄██ <thread cwd>
██▀████▀██

View File

@@ -3,7 +3,7 @@ source: tui/src/app/tests/realtime_requests.rs
expression: "normalize_voice_snapshot_directory(&rendered, &app.config.cwd)"
---
▄▄████▄▄ aKode v0.8.0
▄▄████▄▄ aKode v0.9.0
██▀▀██▀▀██ gpt-test · mock
██▄▄██▄▄██ /tmp/project
██▀████▀██

View File

@@ -3,7 +3,7 @@ source: tui/src/app/tests/realtime_requests.rs
expression: "normalize_voice_snapshot_directory(&rendered, &app.config.cwd)"
---
▄▄████▄▄ aKode v0.8.0
▄▄████▄▄ aKode v0.9.0
██▀▀██▀▀██ gpt-test · mock
██▄▄██▄▄██ /tmp/project
██▀████▀██

View File

@@ -14,7 +14,7 @@ Restored owner:
127.0.0.1:9 · gpt-test · /tmp/project ctx 0% · -- t/s
▄▄████▄▄ aKode v0.8.0
▄▄████▄▄ aKode v0.9.0
██▀▀██▀▀██ gpt-test · mock
██▄▄██▄▄██ /tmp/project
██▀████▀██

View File

@@ -3,7 +3,7 @@ source: tui/src/app/tests/realtime_requests.rs
expression: "normalize_voice_snapshot_directory(&rendered, &app.config.cwd)"
---
▄▄████▄▄ aKode v0.8.0
▄▄████▄▄ aKode v0.9.0
██▀▀██▀▀██ gpt-test · mock
██▄▄██▄▄██ /tmp/project
██▀████▀██

View File

@@ -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.8.0
▄▄████▄▄ aKode v0.9.0
██▀▀██▀▀██ loading · mock
██▄▄██▄▄██ /tmp/project
██▀████▀██

View File

@@ -4,7 +4,7 @@ expression: "normalize_snapshot_paths(normalize_agent_center_snapshot(snapshots.
---
80 columns
▄▄████▄▄ aKode v0.8.0
▄▄████▄▄ aKode v0.9.0
██▀▀██▀▀██ gpt-test · mock
██▄▄██▄▄██ /tmp/project
██▀████▀██
@@ -26,7 +26,7 @@ expression: "normalize_snapshot_paths(normalize_agent_center_snapshot(snapshots.
32 columns
▄▄████▄▄ aKode v0.8.0
▄▄████▄▄ aKode v0.9.0
██▀▀██▀▀██ gpt-test · mock
██▄▄██▄▄██ /tmp/project
██▀████▀██

View File

@@ -3,7 +3,7 @@ source: tui/src/chatwidget/tests/permissions.rs
expression: popup
---
Set up the aKode agent sandbox to protect your files and control network access. Learn more
<https://git.difonzo.net/andrea/aKode>
<https://git.difonzo.net/andrea/imeai-aKode>
› 1. Set up default sandbox (requires Administrator permissions)

View File

@@ -4,7 +4,7 @@ expression: "render_bottom_popup(&chat, 120)"
---
Your organization requires the default aKode agent sandbox to continue. Set it up to protect your files and control
network access.
Learn more <https://git.difonzo.net/andrea/aKode>
Learn more <https://git.difonzo.net/andrea/imeai-aKode>
› 1. Set up default sandbox (requires Administrator permissions)

View File

@@ -5,7 +5,7 @@ expression: popup
Couldn't set up your sandbox with Administrator permissions
Your organization requires the default sandbox before aKode can continue.
Learn more <https://git.difonzo.net/andrea/aKode>
Learn more <https://git.difonzo.net/andrea/imeai-aKode>
› 1. Try setting up admin sandbox again

View File

@@ -3,7 +3,7 @@ source: tui/src/chatwidget/tests/permissions.rs
expression: "render_bottom_popup(&chat, 100)"
---
Set up the aKode agent sandbox to protect your files and control network access. Learn more
<https://git.difonzo.net/andrea/aKode>
<https://git.difonzo.net/andrea/imeai-aKode>
› 1. Use non-admin sandbox (higher risk if prompt injected)

View File

@@ -1006,7 +1006,7 @@ async fn startup_windows_sandbox_prompt_blocks_disallowed_unelevated_fallback()
#[tokio::test]
async fn windows_sandbox_help_links_keep_complete_wrapped_destinations() {
let url = "https://git.difonzo.net/andrea/aKode";
let url = "https://git.difonzo.net/andrea/imeai-aKode";
for fallback in [false, true] {
let (mut chat, _rx, _op_rx) = make_chatwidget_manual(/*model_override*/ None).await;
let preset = builtin_approval_presets()

View File

@@ -6,8 +6,8 @@ expression: visible
Set up the aKode agent sandbox to
protect your files and control
network access. Learn more
<https://git.difonzo.net/andrea/aKod
e>
<https://git.difonzo.net/andrea/imea
i-aKode>
› 1. Set up default sandbox (requires

View File

@@ -35,12 +35,12 @@ impl ChatWidget {
header.push(*Box::new(
crate::terminal_hyperlinks::HyperlinkText::new(if allow_unelevated {
vec![
line!["Set up the aKode agent sandbox to protect your files and control network access. Learn more <https://git.difonzo.net/andrea/aKode>"],
line!["Set up the aKode agent sandbox to protect your files and control network access. Learn more <https://git.difonzo.net/andrea/imeai-aKode>"],
]
} else {
vec![
line!["Your organization requires the default aKode agent sandbox to continue. Set it up to protect your files and control network access."],
line!["Learn more <https://git.difonzo.net/andrea/aKode>"],
line!["Learn more <https://git.difonzo.net/andrea/imeai-aKode>"],
]
}),
));
@@ -164,7 +164,7 @@ impl ChatWidget {
"Your organization requires the default sandbox before aKode can continue."
]);
}
lines.push(line!["Learn more <https://git.difonzo.net/andrea/aKode>"]);
lines.push(line!["Learn more <https://git.difonzo.net/andrea/imeai-aKode>"]);
let mut header = ColumnRenderable::new();
header.push(crate::terminal_hyperlinks::HyperlinkText::new(lines));

View File

@@ -442,7 +442,7 @@ pub(crate) fn empty_mcp_output() -> WebHyperlinkHistoryCell {
let mut docs_line = HyperlinkLine::new(Line::from(" See the "));
docs_line.push_span(
"MCP docs".underlined(),
Some("https://git.difonzo.net/andrea/aKode"),
Some("https://git.difonzo.net/andrea/imeai-aKode"),
);
docs_line.push_span(" to configure them.".into(), /*destination*/ None);

View File

@@ -3,7 +3,7 @@ source: tui/src/history_cell/tests.rs
expression: rendered
---
▄▄████▄▄ aKode v0.8.0
▄▄████▄▄ aKode v0.9.0
██▀▀██▀▀██ gpt-5 · mock
██▄▄██▄▄██ /tmp/project
██▀████▀██

View File

@@ -424,7 +424,7 @@ fn composite_cell_preserves_child_web_links() {
#[test]
fn empty_mcp_output_preserves_docs_hyperlink() {
let destination = "https://git.difonzo.net/andrea/aKode";
let destination = "https://git.difonzo.net/andrea/imeai-aKode";
let cell: Box<dyn HistoryCell> = Box::new(empty_mcp_output());
insta::assert_snapshot!(render_lines(&cell.display_lines(/*width*/ 80)).join("\n"), @r"

View File

@@ -7,7 +7,7 @@ expression: rendered
Scegli i colori; potrai cambiarli con /theme.
1. Automatico │ ▄▄████▄▄ aKode v0.8.0
1. Automatico │ ▄▄████▄▄ aKode v0.9.0
2. Scuro │ ██▀▀██▀▀██ qwen3.6-35b-a3b
3. Chiaro │ ██▄▄██▄▄██ ~/progetto
4. Alto contrasto │ ██▀████▀██

View File

@@ -7,7 +7,7 @@ expression: rendered
Scegli i colori; potrai cambiarli con /theme.
1. Automatico │ ▄▄████▄▄ aKode v0.8.0
1. Automatico │ ▄▄████▄▄ aKode v0.9.0
2. Scuro │ ██▀▀██▀▀██ qwen3.6-35b-a3b
3. Chiaro │ ██▄▄██▄▄██ ~/progetto
4. Alto contrasto │ ██▀████▀██

View File

@@ -4,7 +4,7 @@ expression: sanitized
---
/status
>_ aKode (v0.8.0)
>_ aKode (v0.9.0)
Model: gpt-5.1-codex (reasoning none, summaries auto)
Directory: [[workspace]]

View File

@@ -4,7 +4,7 @@ expression: sanitized
---
/status
>_ aKode (v0.8.0)
>_ aKode (v0.9.0)
Model: gpt-5.1-codex (reasoning none, summaries auto)
Directory: [[workspace]]

View File

@@ -4,7 +4,7 @@ expression: sanitized
---
/status
>_ aKode (v0.8.0)
>_ aKode (v0.9.0)
Model: gpt-5.1-codex-max (reasoning none, summaries auto)
Directory: [[workspace]]

View File

@@ -4,7 +4,7 @@ expression: sanitized
---
/status
>_ aKode (v0.8.0)
>_ aKode (v0.9.0)
Model: gpt-5.1-codex-max (reasoning none, summaries auto)
Directory: [[workspace]]

View File

@@ -4,7 +4,7 @@ expression: sanitized
---
/status
>_ aKode (v0.8.0)
>_ aKode (v0.9.0)
Model: gpt-5.1-codex-max (reasoning high, summaries detailed)
Directory: [[workspace]]

View File

@@ -4,7 +4,7 @@ expression: sanitized
---
/status
>_ aKode (v0.8.0)
>_ aKode (v0.9.0)
Server: Local background server

View File

@@ -4,7 +4,7 @@ expression: sanitized
---
/status
>_ aKode (v0.8.0)
>_ aKode (v0.9.0)
Server: unix:///tmp/codex-home/app-server-control/app-server-
control.sock (v0.133.0)

View File

@@ -4,7 +4,7 @@ expression: sanitized
---
/status
>_ aKode (v0.8.0)
>_ aKode (v0.9.0)
Model: gpt-5.1-codex-max (reasoning none, summaries auto)
Directory: [[workspace]]

View File

@@ -4,7 +4,7 @@ expression: sanitized
---
/status
>_ aKode (v0.8.0)
>_ aKode (v0.9.0)
Model: gpt-5.1-codex-max (reasoning none, summaries auto)
Directory: [[workspace]]

View File

@@ -4,7 +4,7 @@ expression: sanitized
---
/status
>_ aKode (v0.8.0)
>_ aKode (v0.9.0)
Model: gpt-5.1-codex-max (reasoning none, summaries auto)
Directory: [[workspace]]

View File

@@ -4,7 +4,7 @@ expression: sanitized
---
/status
>_ aKode (v0.8.0)
>_ aKode (v0.9.0)
Model: gpt-5.1-codex-max (reasoning none, summaries auto)
Directory: [[workspace]]

View File

@@ -4,7 +4,7 @@ expression: sanitized
---
/status
>_ aKode (v0.8.0)
>_ aKode (v0.9.0)
Model: gpt-5.1-codex-max (reasoning none, summaries auto)
Directory: [[workspace]]

View File

@@ -4,7 +4,7 @@ expression: sanitized
---
/status
>_ aKode (v0.8.0)
>_ aKode (v0.9.0)
Model: ガパガパガパガ
パ-model (reasoning

View File

@@ -4,7 +4,7 @@ expression: sanitized
---
/status
>_ aKode (v0.8.0)
>_ aKode (v0.9.0)
Model: gpt-5.1-codex-max (reasoning high, summaries
detailed)

View File

@@ -4,7 +4,7 @@ expression: sanitized
---
/status
>_ aKode (v0.8.0)
>_ aKode (v0.9.0)
Model: gpt-5.1-codex-max (reasoning medium, summaries auto)
Directory: [[workspace]]

View File

@@ -4,7 +4,7 @@ expression: sanitized
---
/status
>_ aKode (v0.8.0)
>_ aKode (v0.9.0)
Model: gpt-5.1-codex-max (reasoning none, summaries auto)
Directory: [[workspace]]

View File

@@ -7,10 +7,10 @@ use wiremock::matchers::method;
use wiremock::matchers::path;
const TARGET: &str = "aarch64-apple-darwin";
const LATEST_PATH: &str = "/api/v1/repos/andrea/aKode/releases/latest";
const LATEST_PATH: &str = "/api/v1/repos/andrea/imeai-aKode/releases/latest";
fn repo_url(server: &MockServer) -> String {
format!("{}/andrea/aKode", server.uri())
format!("{}/andrea/imeai-aKode", server.uri())
}
fn client() -> reqwest::Client {
@@ -70,22 +70,22 @@ fn installed_binary(dir: &Path) -> PathBuf {
fn api_url_is_derived_from_repo_url() {
for (repo, expected) in [
(
"https://git.difonzo.net/andrea/aKode",
"https://git.difonzo.net/api/v1/repos/andrea/aKode/releases/latest",
"https://git.difonzo.net/andrea/imeai-aKode",
"https://git.difonzo.net/api/v1/repos/andrea/imeai-aKode/releases/latest",
),
(
"https://git.difonzo.net/andrea/aKode.git/",
"https://git.difonzo.net/api/v1/repos/andrea/aKode/releases/latest",
"https://git.difonzo.net/andrea/imeai-aKode.git/",
"https://git.difonzo.net/api/v1/repos/andrea/imeai-aKode/releases/latest",
),
(
"https://example.com/gitea/andrea/aKode",
"https://example.com/gitea/api/v1/repos/andrea/aKode/releases/latest",
"https://example.com/gitea/andrea/imeai-aKode",
"https://example.com/gitea/api/v1/repos/andrea/imeai-aKode/releases/latest",
),
] {
assert_eq!(latest_release_api_url(repo).unwrap().as_str(), expected);
}
assert!(latest_release_api_url("https://git.difonzo.net/andrea").is_err());
assert!(latest_release_api_url("ftp://git.difonzo.net/andrea/aKode").is_err());
assert!(latest_release_api_url("ftp://git.difonzo.net/andrea/imeai-aKode").is_err());
}
#[test]