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:
55
akode-rs/realtime-webrtc/src/helper_exit.rs
Normal file
55
akode-rs/realtime-webrtc/src/helper_exit.rs
Normal file
@@ -0,0 +1,55 @@
|
||||
//! Fixed helper exit phases for safe diagnostics when its framed output closes.
|
||||
//! The same-build handshake keeps these codes aligned between parent and helper.
|
||||
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
#[repr(i32)]
|
||||
pub enum HelperExitStage {
|
||||
ControlRead = 20,
|
||||
ControlQueue = 21,
|
||||
ParentGone = 22,
|
||||
Runtime = 23,
|
||||
Transport = 24,
|
||||
OpenDevices = 25,
|
||||
AudioIngress = 26,
|
||||
AudioService = 27,
|
||||
InspectAudio = 28,
|
||||
AudioControls = 29,
|
||||
Reply = 30,
|
||||
Shutdown = 31,
|
||||
ControlSequence = 32,
|
||||
Playout = 33,
|
||||
Render = 35,
|
||||
Capture = 36,
|
||||
Device = 37,
|
||||
Send = 39,
|
||||
}
|
||||
|
||||
impl HelperExitStage {
|
||||
pub fn code(self) -> i32 {
|
||||
self as i32
|
||||
}
|
||||
|
||||
pub fn from_code(code: i32) -> Option<Self> {
|
||||
Some(match code {
|
||||
20 => Self::ControlRead,
|
||||
21 => Self::ControlQueue,
|
||||
22 => Self::ParentGone,
|
||||
23 => Self::Runtime,
|
||||
24 => Self::Transport,
|
||||
25 => Self::OpenDevices,
|
||||
26 => Self::AudioIngress,
|
||||
27 => Self::AudioService,
|
||||
28 => Self::InspectAudio,
|
||||
29 => Self::AudioControls,
|
||||
30 => Self::Reply,
|
||||
31 => Self::Shutdown,
|
||||
32 => Self::ControlSequence,
|
||||
33 => Self::Playout,
|
||||
35 => Self::Render,
|
||||
36 => Self::Capture,
|
||||
37 => Self::Device,
|
||||
39 => Self::Send,
|
||||
_ => return None,
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user