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:
7
akode-rs/app-server-protocol-noop-macros/BUILD.bazel
Normal file
7
akode-rs/app-server-protocol-noop-macros/BUILD.bazel
Normal file
@@ -0,0 +1,7 @@
|
||||
load("//:defs.bzl", "codex_rust_crate")
|
||||
|
||||
codex_rust_crate(
|
||||
name = "app-server-protocol-noop-macros",
|
||||
crate_name = "akode_app_server_protocol_noop_macros",
|
||||
proc_macro = True,
|
||||
)
|
||||
13
akode-rs/app-server-protocol-noop-macros/Cargo.toml
Normal file
13
akode-rs/app-server-protocol-noop-macros/Cargo.toml
Normal file
@@ -0,0 +1,13 @@
|
||||
[package]
|
||||
name = "akode-app-server-protocol-noop-macros"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
test = false
|
||||
doctest = false
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
20
akode-rs/app-server-protocol-noop-macros/src/lib.rs
Normal file
20
akode-rs/app-server-protocol-noop-macros/src/lib.rs
Normal file
@@ -0,0 +1,20 @@
|
||||
//! No-op schema derives for production app-server protocol builds.
|
||||
//!
|
||||
//! The real `ts-rs` and `schemars` derives are only needed when regenerating
|
||||
//! the vendored protocol exports. Normal builds retain the annotations so the
|
||||
//! protocol definitions stay readable, but use these derives to avoid
|
||||
//! generating implementations that cannot be reached at runtime.
|
||||
|
||||
use proc_macro::TokenStream;
|
||||
|
||||
/// Accepts `#[schemars(...)]` helper attributes without generating an impl.
|
||||
#[proc_macro_derive(JsonSchema, attributes(schemars))]
|
||||
pub fn derive_json_schema(_input: TokenStream) -> TokenStream {
|
||||
TokenStream::new()
|
||||
}
|
||||
|
||||
/// Accepts `#[ts(...)]` helper attributes without generating an impl.
|
||||
#[proc_macro_derive(TS, attributes(ts))]
|
||||
pub fn derive_ts(_input: TokenStream) -> TokenStream {
|
||||
TokenStream::new()
|
||||
}
|
||||
Reference in New Issue
Block a user