aKode fase 5: test e snapshot adeguati alla rinomina, 429 distinto (ProviderRateLimited), cargo fmt dopo il cambio dei prefissi

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-11 12:47:01 +01:00
parent 8b73331037
commit ad43f9281a
919 changed files with 2358 additions and 2430 deletions

View File

@@ -9,13 +9,13 @@ use std::sync::Arc;
use std::time::Duration;
use std::time::Instant;
use anyhow::Context;
use anyhow::Result;
use akode_install_context::CodexPackageLayout;
use akode_install_context::InstallContext;
use akode_realtime_webrtc::SessionDescription;
use akode_realtime_webrtc::VoiceHost;
use akode_utils_cargo_bin::cargo_bin;
use anyhow::Context;
use anyhow::Result;
use common::voice_host_command;
use futures::future::BoxFuture;
use pretty_assertions::assert_eq;
@@ -94,7 +94,7 @@ fn install_helper(root: &Path) -> Result<CodexPackageLayout> {
fs::create_dir_all(&bin)?;
fs::create_dir_all(&helper_dir)?;
fs::write(root.join("akode-package.json"), "{}")?;
let app = bin.join(if cfg!(windows) { "akode.exe" } else { "codex" });
let app = bin.join(if cfg!(windows) { "akode.exe" } else { "akode" });
fs::write(&app, [])?;
let source = cargo_bin("akode-voice-host")?;
let helper = helper_dir.join(source.file_name().context("helper binary file name")?);