Marchio: allineamento fine della rinomina (A)

Le righe che differivano dalla rinomina di aKode solo per codex/akode (header e user agent
codex_cli_rs -> akode_cli_rs, nomi di file, testi di test) sono riportate come in aKode 0.9.2;
dove la mappa automatica aveva rinominato troppo (stringhe di protocollo, residenza) e'
ripristinato il testo originale.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-17 12:53:28 +01:00
parent 832a749d76
commit 203cd7a3f6
150 changed files with 456 additions and 560 deletions

View File

@@ -4,7 +4,7 @@ use akode_protocol::items::FunctionCallOutputItem;
/// Extract the task text from a delegated input, ignoring unrelated tool outputs.
pub fn delegated_output_preview(output: &FunctionCallOutputItem) -> Option<String> {
if !matches!(output.namespace.as_deref(), Some("codex_app" | "akode_tui"))
if !matches!(output.namespace.as_deref(), Some("codex_app" | "codex_tui"))
|| !matches!(
output.name.as_str(),
"create_thread" | "send_message_to_thread"

View File

@@ -16,7 +16,7 @@ fn delegated_previews_unwrap_only_recognized_inputs() {
Some("Check <main> & &lt;literal&gt;"),
),
(
Some("akode_tui"),
Some("codex_tui"),
"send_message_to_thread",
wrapped,
Some("Check <main> & &lt;literal&gt;"),
@@ -27,7 +27,7 @@ fn delegated_previews_unwrap_only_recognized_inputs() {
"plain &lt;text&gt;",
Some("plain &lt;text&gt;"),
),
(Some("akode_tui"), "create_thread", " ", None),
(Some("codex_tui"), "create_thread", " ", None),
(Some("other"), "create_thread", wrapped, None),
(None, "create_thread", wrapped, None),
(Some("codex_app"), "shell", wrapped, None),