Marchio: allineamento fine della rinomina (A)

Le righe che differivano dalla rinomina di aKode solo per codex/akode (header e user agent
codex_cli_rs -> akode_cli_rs, nomi di file, testi di test) sono riportate come in aKode 0.9.2;
dove la mappa automatica aveva rinominato troppo (stringhe di protocollo, residenza) e'
ripristinato il testo originale.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-17 12:53:28 +01:00
parent 832a749d76
commit 203cd7a3f6
150 changed files with 456 additions and 560 deletions

View File

@@ -131,7 +131,7 @@ fn agents_reject_inputs_that_cannot_be_applied() -> Result<()> {
#[test]
fn app_server_emits_json_info_events() -> Result<()> {
let codex_home = TempDir::new()?;
let event = app_server_json_shutdown_event("codex", &["app-server"], codex_home.path())?;
let event = app_server_json_shutdown_event("akode", &["app-server"], codex_home.path())?;
assert_eq!(
event,

View File

@@ -29,8 +29,8 @@ fn winget_package_starts_and_reselects_daemon() -> Result<()> {
for helper in [
"akode-code-mode-host.exe",
"akode-path/rg.exe",
"akode-resources/codex-command-runner.exe",
"akode-resources/codex-windows-sandbox-setup.exe",
"akode-resources/akode-command-runner.exe",
"akode-resources/akode-windows-sandbox-setup.exe",
] {
std::fs::write(package.join(helper), b"runtime fixture")?;
}

View File

@@ -246,7 +246,7 @@ async fn daemon_startup(command: &str) -> Result<()> {
let managed = home
.path()
.join("packages/app-server-daemon/current/bin")
.join(if cfg!(windows) { "akode.exe" } else { "codex" });
.join(if cfg!(windows) { "akode.exe" } else { "akode" });
fs::create_dir_all(home.path().join("packages/app-server-daemon/current/bin"))?;
// Hard links change the executable's ctime and invalidate Rosetta's translation cache.
#[cfg(unix)]

View File

@@ -55,7 +55,7 @@ where
let initialized_response = json!({
"id": initialize["id"],
"result": {
"userAgent": "codex_cli_rs/0.0.0-test",
"userAgent": "akode_cli_rs/0.0.0-test",
"codexHome": codex_home,
},
});

View File

@@ -269,7 +269,7 @@ trust_level = "trusted"
let _daemon = if backend == "daemon" {
let bin = home.join("packages/app-server-daemon/current/bin");
fs::create_dir_all(&bin)?;
let managed = bin.join(if cfg!(windows) { "akode.exe" } else { "codex" });
let managed = bin.join(if cfg!(windows) { "akode.exe" } else { "akode" });
// Hard links change the executable's ctime and invalidate Rosetta's translation cache.
#[cfg(unix)]
std::os::unix::fs::symlink(program.canonicalize()?, &managed)?;