Rinomina: crate akode-*, cartelle akode-rs/ e akode-cli/, binario akode, ~/.akode, AKODE_* (A)

Riapplica la fase 5 di aKode (86e7c72e) sulla base ripulita:
- crate codex-* -> akode-*, codex-rs -> akode-rs, codex-cli -> akode-cli, binario e ausiliari akode;
- ~/.codex -> ~/.akode, CODEX_HOME -> AKODE_HOME, variabili CODEX_* -> AKODE_*, .codex/ -> .akode/ di progetto;
  nessun fallback a ~/.codex o a CODEX_*;
- testi per l'utente "Codex" -> "aKode"; testi verso il modello e istruzioni di sistema invariati;
- snapshot insta rinominati (non ancora rigenerati).
I conflitti con la base ripulita sono stati risolti riapplicando la rinomina ai file senza le
funzioni di imeAI (script di mappa dei token per file).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-17 12:37:52 +01:00
parent e37a0deba9
commit 7c1c6dfa8d
10306 changed files with 748026 additions and 748088 deletions

View File

@@ -168,14 +168,14 @@ impl Drop for WineTestProcess {
impl WineRuntimePaths {
fn from_runfiles() -> Result<Self> {
let wine = codex_utils_cargo_bin::cargo_bin("wine")?;
let runtime_marker = codex_utils_cargo_bin::cargo_bin("wine-runtime-marker")?;
let wine = akode_utils_cargo_bin::cargo_bin("wine")?;
let runtime_marker = akode_utils_cargo_bin::cargo_bin("wine-runtime-marker")?;
let dll_path = runtime_marker
.parent()
.context("locate Wine runtime directory")?
.to_path_buf();
let wineserver = codex_utils_cargo_bin::cargo_bin("wineserver")?;
let powershell_runtime = codex_utils_cargo_bin::cargo_bin("pwsh-runtime-marker")?
let wineserver = akode_utils_cargo_bin::cargo_bin("wineserver")?;
let powershell_runtime = akode_utils_cargo_bin::cargo_bin("pwsh-runtime-marker")?
.parent()
.context("locate PowerShell runtime directory")?
.to_path_buf();

View File

@@ -10,8 +10,8 @@ use std::time::Duration;
use anyhow::Context;
use anyhow::Result;
use anyhow::anyhow;
use codex_utils_pty::SpawnedProcess;
use codex_utils_pty::TerminalSize;
use akode_utils_pty::SpawnedProcess;
use akode_utils_pty::TerminalSize;
use futures::FutureExt;
use pretty_assertions::assert_eq;
use tempfile::TempDir;
@@ -26,7 +26,7 @@ use super::WineTestProcess;
use super::install_powershell_runtime;
async fn waiting_smoke_process() -> Result<WineTestProcess> {
let executable = codex_utils_cargo_bin::cargo_bin("wine-smoke")?;
let executable = akode_utils_cargo_bin::cargo_bin("wine-smoke")?;
let mut process = WineTestCommand::new(executable).arg("--wait").spawn()?;
let mut lines = BufReader::new(process.take_stdout()).lines();
let ready_line = lines
@@ -179,7 +179,7 @@ async fn scope_panic_preserves_panic_and_tears_down() -> Result<()> {
#[tokio::test]
async fn shutdown_reports_nonzero_process_exit() -> Result<()> {
let executable = codex_utils_cargo_bin::cargo_bin("wine-smoke")?;
let executable = akode_utils_cargo_bin::cargo_bin("wine-smoke")?;
let mut process = WineTestCommand::new(executable).arg("--fail").spawn()?;
let prefix = prefix_path(&process);
let status = process
@@ -360,14 +360,14 @@ async fn pinned_powershell_runs_under_wine_with_a_pty() -> Result<()> {
mut stdout_rx,
mut stderr_rx,
exit_rx,
} = codex_utils_pty::spawn_pty_process(
} = akode_utils_pty::spawn_pty_process(
&wine,
&args,
prefix.path(),
&env,
/*arg0*/ &None,
TerminalSize::default(),
codex_utils_pty::ChildFds::Inherited(&[]),
akode_utils_pty::ChildFds::Inherited(&[]),
)
.await?;
let command_result = timeout(Duration::from_secs(90), async {