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:
4
third_party/voice/cargo-ci/setup/action.yml
vendored
4
third_party/voice/cargo-ci/setup/action.yml
vendored
@@ -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)
|
||||
|
||||
2
third_party/voice/cargo_ci.py
vendored
2
third_party/voice/cargo_ci.py
vendored
@@ -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())
|
||||
|
||||
2
third_party/voice/opus-toolchain.cmake
vendored
2
third_party/voice/opus-toolchain.cmake
vendored
@@ -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}/../..")
|
||||
|
||||
2
third_party/voice/test_assemble_package.py
vendored
2
third_party/voice/test_assemble_package.py
vendored
@@ -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"],
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user