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

@@ -30,7 +30,7 @@ Current pinned versions:
Use this as the maintainer flow for a version bump:
1. Bump the `v8` crate version and refresh `codex-rs/Cargo.lock`.
1. Bump the `v8` crate version and refresh `akode-rs/Cargo.lock`.
2. Update the Bazel versioned inputs in `MODULE.bazel` and the source pins
in `third_party/v8/dependencies.bzl` and `abseil_repository.bzl` using
[the source dependency update procedure](#updating-source-dependencies).
@@ -173,7 +173,7 @@ hardcodes a `v<crate_version>` tag layout, while our artifacts are published
under `rusty-v8-v<crate_version>`.
Do not mix artifacts across crate versions. The archive and binding must match
the exact resolved `v8` crate version in `codex-rs/Cargo.lock`.
the exact resolved `v8` crate version in `akode-rs/Cargo.lock`.
## Source dependency ownership

View File

@@ -304,7 +304,7 @@ alias(
actual = "@@//third_party/v8:platform_windows_msvc",
)
# @CODEX_V8_UPSTREAM_FILEGROUPS@
# @AKODE_V8_UPSTREAM_FILEGROUPS@
filegroup(
name = "windows_x64_stack_assembly",

View File

@@ -12,7 +12,7 @@ toolchain graph.
# a Starlark library. Reuse filegroups, so labels/globs retain their semantics
# inside @v8. Compiled targets (including valid V8 v8_library/v8_binary calls)
# belong in engine.BUILD.bazel, where we wire Codex's dependencies and runtime.
_INVENTORY_SLOT = "# @CODEX_V8_UPSTREAM_FILEGROUPS@"
_INVENTORY_SLOT = "# @AKODE_V8_UPSTREAM_FILEGROUPS@"
_FILE_GROUPS = "# File group rules"
_GENERATED_FILES = "# Generated files"

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"],
{