aKode fase 5: rinomina interna (crate akode-*, akode-rs/, akode-cli/, binario akode, AKODE_*, ~/.akode, snapshot)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-11 11:06:46 +01:00
parent df99318392
commit 86e7c72e5f
10383 changed files with 749164 additions and 749170 deletions

View File

@@ -58,5 +58,5 @@ runs:
config.write_text('[profile.default]\narchive.include = [{ path = ' + json.dumps(relative)
+ ', relative-to = "target", on-missing = "error" }]\n')
with open(os.environ["GITHUB_ENV"], "a", encoding="utf-8") as env:
print(f"CODEX_VOICE_NEXTEST_CONFIG={config}", file=env)
print(f"CODEX_VOICE_RUNTIME_RELATIVE={relative}", file=env)
print(f"AKODE_VOICE_NEXTEST_CONFIG={config}", file=env)
print(f"AKODE_VOICE_RUNTIME_RELATIVE={relative}", file=env)

View File

@@ -94,7 +94,7 @@ def environment(root: Path, target: str, pkg_config: Path) -> dict[str, str]:
values = {
f"PKG_CONFIG_{suffix}": str(pkg_config),
f"PKG_CONFIG_PATH_{suffix}": str(root / "sdk/lib/pkgconfig"),
"CODEX_TEST_VOICE_RUNTIME": str(root / "runtime"),
"AKODE_TEST_VOICE_RUNTIME": str(root / "runtime"),
}
for module in MODULES:
key = re.sub(r"[^A-Z0-9]", "_", module.upper())

View File

@@ -1,5 +1,5 @@
# CMake's generator must use the Ninja declared in the Bazel action.
set(CMAKE_MAKE_PROGRAM "$ENV{CODEX_VOICE_NINJA}" CACHE FILEPATH "" FORCE)
set(CMAKE_MAKE_PROGRAM "$ENV{AKODE_VOICE_NINJA}" CACHE FILEPATH "" FORCE)
# Archiver paths from Bazel are relative to the execution root.
get_filename_component(CMAKE_AR "$ENV{AR}" ABSOLUTE
BASE_DIR "${CMAKE_CURRENT_LIST_DIR}/../..")

View File

@@ -125,7 +125,7 @@ class AssembleTests(unittest.TestCase):
{name: digest(runtime / name) for name in expected}, expected
)
manifest = json.loads((voice / "manifest.json").read_text())
helper_name = "codex-voice-host.exe" if windows else "codex-voice-host"
helper_name = "akode-voice-host.exe" if windows else "akode-voice-host"
self.assertEqual(
manifest["sha256"],
{