aKode fase 2b-1: rimossi plugin remoti e share, bundle download, UI usage/crediti/banner/workspace ChatGPT; fix argomenti MCP (inviati vuoti dopo e4209e2) e overlay TUI; test analytics-upload rimossi; test sicurezza MCP adattati
Some checks failed
blocking-ci / Bazel (push) Has been cancelled
blocking-ci / Blob size policy (push) Has been cancelled
blocking-ci / cargo-deny (push) Has been cancelled
blocking-ci / Codespell (push) Has been cancelled
blocking-ci / repo-checks (push) Has been cancelled
blocking-ci / rust-ci (push) Has been cancelled
blocking-ci / sdk (push) Has been cancelled
blocking-ci / CI required (push) Has been cancelled
postmerge-ci / rust-ci-full (push) Has been cancelled
postmerge-ci / v8-canary (push) Has been cancelled
postmerge-ci / Postmerge CI results (push) Has been cancelled

This commit is contained in:
Andrea
2026-11-09 16:24:36 +01:00
parent 0de669e9ce
commit 981745ccc8
190 changed files with 313 additions and 9756 deletions

View File

@@ -843,3 +843,16 @@ impl Respond for CodexAppsJsonRpcResponder {
}
}
}
/// Builds an MCP server config that points at this mock apps server. aKode no longer ships a
/// production helper for the ChatGPT-hosted apps server; tests that exercise the generic
/// streamable HTTP and ChatGPT-auth MCP paths use this mock-only config instead.
pub fn mock_apps_mcp_server_config(mock_base_url: &str) -> codex_config::McpServerConfig {
#[expect(clippy::expect_used, reason = "static test config is valid")]
serde_json::from_value(json!({
"url": format!("{}/api/codex/ps/mcp", mock_base_url.trim_end_matches('/')),
"auth": "chatgpt",
"startup_timeout_sec": 30,
}))
.expect("valid mock apps MCP server config")
}