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:
@@ -28,7 +28,7 @@ use wiremock::matchers::path;
|
||||
const RESOURCE_AUTHORIZATION: &str = "Bearer resource-only-secret";
|
||||
const RESOURCE_API_KEY: &str = "resource-api-key-secret";
|
||||
const RESOURCE_USER_AGENT: &str = "resource-only-user-agent";
|
||||
const MCP_USER_AGENT: &str = concat!("codex-mcp-client/", env!("CARGO_PKG_VERSION"));
|
||||
const MCP_USER_AGENT: &str = concat!("akode-mcp-client/", env!("CARGO_PKG_VERSION"));
|
||||
// This is a test safety ceiling, not rmcp's private redirect limit.
|
||||
const MAX_METADATA_REDIRECT_REQUESTS: u64 = 100;
|
||||
const REDIRECT_DISCOVERY_TEST_TIMEOUT: Duration = Duration::from_secs(5);
|
||||
|
||||
@@ -83,7 +83,7 @@ async fn exercise_stdio_server(
|
||||
.initialize(
|
||||
InitializeRequestParams::new(
|
||||
capabilities,
|
||||
Implementation::new("codex-mcp-client", "0.0.0-test"),
|
||||
Implementation::new("akode-mcp-client", "0.0.0-test"),
|
||||
)
|
||||
.with_protocol_version(ProtocolVersion::V_2025_06_18),
|
||||
Some(Duration::from_secs(if server_mode.ends_with("-late") {
|
||||
|
||||
@@ -55,7 +55,7 @@ const REFRESH_TOKEN: &str = "valid-refresh-token";
|
||||
const REFRESHED_ACCESS_TOKEN: &str = "refreshed-access-token";
|
||||
const RESOURCE_API_KEY: &str = "resource-api-key-secret";
|
||||
const RESOURCE_USER_AGENT: &str = "resource-only-user-agent";
|
||||
const MCP_USER_AGENT: &str = concat!("codex-mcp-client/", env!("CARGO_PKG_VERSION"));
|
||||
const MCP_USER_AGENT: &str = concat!("akode-mcp-client/", env!("CARGO_PKG_VERSION"));
|
||||
const CHILD_SERVER_URL_ENV: &str = "MCP_TEST_OAUTH_STARTUP_SERVER_URL";
|
||||
const CLIENT_SECRET: &str = "configured-client-secret";
|
||||
const CHILD_CONFIDENTIAL_CLIENT_ID_ENV: &str = "MCP_TEST_OAUTH_CONFIDENTIAL_CLIENT_ID";
|
||||
|
||||
Reference in New Issue
Block a user