Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Update rmcp to 1.7.0 (#24763)

Adam Perry @ OpenAI910578792f82
diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock
index d5ef0b241c..f541a2c7bf 100644
--- a/MODULE.bazel.lock
+++ b/MODULE.bazel.lock
@@ -1153,8 +1153,12 @@
"jiff-tzdb-platform_0.1.3": "{\"dependencies\":[{\"name\":\"jiff-tzdb\",\"req\":\"^0.1.4\"}],\"features\":{}}",
"jiff-tzdb_0.1.6": "{\"dependencies\":[],\"features\":{}}",
"jiff_0.2.23": "{\"dependencies\":[{\"kind\":\"dev\",\"name\":\"anyhow\",\"req\":\"^1.0.81\"},{\"features\":[\"serde\"],\"kind\":\"dev\",\"name\":\"chrono\",\"req\":\"^0.4.38\"},{\"kind\":\"dev\",\"name\":\"chrono-tz\",\"req\":\"^0.10.0\"},{\"kind\":\"dev\",\"name\":\"hifitime\",\"req\":\"^3.9.0\",\"target\":\"cfg(not(target_family = \\\"wasm\\\"))\"},{\"kind\":\"dev\",\"name\":\"humantime\",\"req\":\"^2.1.0\"},{\"kind\":\"dev\",\"name\":\"insta\",\"req\":\"^1.39.0\"},{\"name\":\"jiff-static\",\"req\":\"=0.2.23\",\"target\":\"cfg(any())\"},{\"name\":\"jiff-static\",\"optional\":true,\"req\":\"^0.2\"},{\"name\":\"jiff-tzdb\",\"optional\":true,\"req\":\"^0.1.6\"},{\"name\":\"jiff-tzdb-platform\",\"optional\":true,\"req\":\"^0.1.3\",\"target\":\"cfg(any(windows, target_family = \\\"wasm\\\"))\"},{\"name\":\"js-sys\",\"optional\":true,\"req\":\"^0.3.50\",\"target\":\"cfg(all(any(target_arch = \\\"wasm32\\\", target_arch = \\\"wasm64\\\"), target_os = \\\"unknown\\\"))\"},{\"default_features\":false,\"name\":\"log\",\"optional\":true,\"req\":\"^0.4.21\"},{\"kind\":\"dev\",\"name\":\"log\",\"req\":\"^0.4.21\"},{\"default_features\":false,\"name\":\"portable-atomic\",\"req\":\"^1.10.0\",\"target\":\"cfg(not(target_has_atomic = \\\"ptr\\\"))\"},{\"default_features\":false,\"name\":\"portable-atomic-util\",\"req\":\"^0.2.4\",\"target\":\"cfg(not(target_has_atomic = \\\"ptr\\\"))\"},{\"default_features\":false,\"kind\":\"dev\",\"name\":\"quickcheck\",\"req\":\"^1.0.3\"},{\"features\":[\"derive\"],\"kind\":\"dev\",\"name\":\"serde\",\"req\":\"^1.0.203\"},{\"default_features\":false,\"name\":\"serde_core\",\"optional\":true,\"req\":\"^1.0.221\"},{\"kind\":\"dev\",\"name\":\"serde_json\",\"req\":\"^1.0.117\"},{\"kind\":\"dev\",\"name\":\"serde_yaml\",\"req\":\"^0.9.34\"},{\"kind\":\"dev\",\"name\":\"tabwriter\",\"req\":\"^1.4.0\"},{\"features\":[\"local-offset\",\"macros\",\"parsing\"],\"kind\":\"dev\",\"name\":\"time\",\"req\":\"^0.3.36\"},{\"kind\":\"dev\",\"name\":\"time-tz\",\"req\":\"^2.0.0\"},{\"kind\":\"dev\",\"name\":\"tzfile\",\"req\":\"^0.1.3\"},{\"kind\":\"dev\",\"name\":\"walkdir\",\"req\":\"^2.5.0\"},{\"name\":\"wasm-bindgen\",\"optional\":true,\"req\":\"^0.2.70\",\"target\":\"cfg(all(any(target_arch = \\\"wasm32\\\", target_arch = \\\"wasm64\\\"), target_os = \\\"unknown\\\"))\"},{\"default_features\":false,\"features\":[\"Win32_Foundation\",\"Win32_System_Time\"],\"name\":\"windows-sys\",\"optional\":true,\"req\":\">=0.52.0, <=0.61\",\"target\":\"cfg(windows)\"}],\"features\":{\"alloc\":[\"serde_core?/alloc\",\"portable-atomic-util/alloc\"],\"default\":[\"std\",\"tz-system\",\"tz-fat\",\"tzdb-bundle-platform\",\"tzdb-zoneinfo\",\"tzdb-concatenated\",\"perf-inline\"],\"js\":[\"dep:wasm-bindgen\",\"dep:js-sys\"],\"logging\":[\"dep:log\"],\"perf-inline\":[],\"serde\":[\"dep:serde_core\"],\"static\":[\"static-tz\",\"jiff-static?/tzdb\"],\"static-tz\":[\"dep:jiff-static\"],\"std\":[\"alloc\",\"log?/std\",\"serde_core?/std\"],\"tz-fat\":[\"jiff-static?/tz-fat\"],\"tz-system\":[\"std\",\"dep:windows-sys\"],\"tzdb-bundle-always\":[\"dep:jiff-tzdb\",\"alloc\"],\"tzdb-bundle-platform\":[\"dep:jiff-tzdb-platform\",\"alloc\"],\"tzdb-concatenated\":[\"std\"],\"tzdb-zoneinfo\":[\"std\"]}}",
+ "jni-macros_0.22.4": "{\"dependencies\":[{\"kind\":\"dev\",\"name\":\"javac\",\"req\":\"^0.1.0\"},{\"name\":\"proc-macro2\",\"req\":\"^1.0\"},{\"name\":\"quote\",\"req\":\"^1.0\"},{\"kind\":\"build\",\"name\":\"rustc_version\",\"req\":\"^0.4\"},{\"kind\":\"dev\",\"name\":\"rusty-fork\",\"req\":\"^0.3.0\"},{\"name\":\"simd_cesu8\",\"req\":\"^1.0.1\"},{\"features\":[\"full\"],\"name\":\"syn\",\"req\":\"^2.0\"},{\"kind\":\"dev\",\"name\":\"thiserror\",\"req\":\"^2\"},{\"kind\":\"dev\",\"name\":\"trybuild\",\"req\":\"^1\"}],\"features\":{}}",
+ "jni-sys-macros_0.4.1": "{\"dependencies\":[{\"name\":\"quote\",\"req\":\"^1\"},{\"features\":[\"full\"],\"name\":\"syn\",\"req\":\"^2\"}],\"features\":{}}",
"jni-sys_0.3.0": "{\"dependencies\":[],\"features\":{}}",
+ "jni-sys_0.4.1": "{\"dependencies\":[{\"name\":\"jni-sys-macros\",\"req\":\"^0.4.1\"},{\"kind\":\"dev\",\"name\":\"trybuild\",\"req\":\"^1\"}],\"features\":{}}",
"jni_0.21.1": "{\"dependencies\":[{\"name\":\"cesu8\",\"req\":\"^1.1.0\"},{\"name\":\"cfg-if\",\"req\":\"^1.0.0\"},{\"name\":\"combine\",\"req\":\"^4.1.0\"},{\"name\":\"java-locator\",\"optional\":true,\"req\":\"^0.1\"},{\"name\":\"jni-sys\",\"req\":\"^0.3.0\"},{\"name\":\"libloading\",\"optional\":true,\"req\":\"^0.7\"},{\"name\":\"log\",\"req\":\"^0.4.4\"},{\"name\":\"thiserror\",\"req\":\"^1.0.20\"},{\"kind\":\"dev\",\"name\":\"assert_matches\",\"req\":\"^1.5.0\"},{\"kind\":\"dev\",\"name\":\"lazy_static\",\"req\":\"^1\"},{\"kind\":\"dev\",\"name\":\"rusty-fork\",\"req\":\"^0.3.0\"},{\"kind\":\"build\",\"name\":\"walkdir\",\"req\":\"^2\"},{\"features\":[\"Win32_Globalization\"],\"name\":\"windows-sys\",\"req\":\"^0.45.0\",\"target\":\"cfg(windows)\"},{\"kind\":\"dev\",\"name\":\"bytemuck\",\"req\":\"^1.13.0\",\"target\":\"cfg(windows)\"}],\"features\":{\"default\":[],\"invocation\":[\"java-locator\",\"libloading\"]}}",
+ "jni_0.22.4": "{\"dependencies\":[{\"kind\":\"dev\",\"name\":\"assert_matches\",\"req\":\"^1.5.0\"},{\"kind\":\"dev\",\"name\":\"bytemuck\",\"req\":\"^1.13.0\",\"target\":\"cfg(windows)\"},{\"name\":\"cfg-if\",\"req\":\"^1.0.0\"},{\"name\":\"combine\",\"req\":\"^4.1.0\"},{\"features\":[\"html_reports\"],\"kind\":\"dev\",\"name\":\"criterion\",\"req\":\"^0.7\"},{\"name\":\"java-locator\",\"optional\":true,\"req\":\"^0.1.3\",\"target\":\"cfg(not(target_os = \\\"android\\\"))\"},{\"kind\":\"dev\",\"name\":\"javac\",\"req\":\"^0.1.0\"},{\"name\":\"jni-macros\",\"req\":\"=0.22.4\"},{\"name\":\"jni-sys\",\"req\":\"^0.4.1\"},{\"kind\":\"dev\",\"name\":\"lazy_static\",\"req\":\"^1\"},{\"name\":\"libloading\",\"optional\":true,\"req\":\"^0.8\",\"target\":\"cfg(not(target_os = \\\"android\\\"))\"},{\"name\":\"log\",\"req\":\"^0.4.4\"},{\"kind\":\"dev\",\"name\":\"rusty-fork\",\"req\":\"^0.3.0\"},{\"name\":\"simd_cesu8\",\"req\":\"^1.1.1\"},{\"kind\":\"dev\",\"name\":\"static_assertions\",\"req\":\"^1\"},{\"name\":\"thiserror\",\"req\":\"^2\"},{\"kind\":\"dev\",\"name\":\"trybuild\",\"req\":\"^1\"},{\"kind\":\"build\",\"name\":\"walkdir\",\"req\":\"^2\"},{\"name\":\"windows-link\",\"req\":\"^0.2\",\"target\":\"cfg(windows)\"},{\"features\":[\"Win32_System_Threading\",\"Win32_Foundation\"],\"kind\":\"dev\",\"name\":\"windows-sys\",\"req\":\"^0.61\",\"target\":\"cfg(windows)\"}],\"features\":{\"_cfg_test\":[],\"default\":[],\"invocation\":[\"dep:java-locator\",\"dep:libloading\"]}}",
"jobserver_0.1.34": "{\"dependencies\":[{\"features\":[\"std\"],\"name\":\"getrandom\",\"req\":\"^0.3.2\",\"target\":\"cfg(windows)\"},{\"name\":\"libc\",\"req\":\"^0.2.171\",\"target\":\"cfg(unix)\"},{\"features\":[\"fs\"],\"kind\":\"dev\",\"name\":\"nix\",\"req\":\"^0.28.0\",\"target\":\"cfg(unix)\"},{\"kind\":\"dev\",\"name\":\"tempfile\",\"req\":\"^3.10.1\"}],\"features\":{}}",
"js-sys_0.3.85": "{\"dependencies\":[{\"default_features\":false,\"name\":\"once_cell\",\"req\":\"^1.12\"},{\"default_features\":false,\"name\":\"wasm-bindgen\",\"req\":\"=0.2.108\"}],\"features\":{\"default\":[\"std\"],\"std\":[\"wasm-bindgen/std\"]}}",
"jsonptr_0.7.1": "{\"dependencies\":[{\"features\":[\"fancy\"],\"name\":\"miette\",\"optional\":true,\"req\":\"^7.4.0\"},{\"kind\":\"dev\",\"name\":\"quickcheck\",\"req\":\"^1.0.3\"},{\"kind\":\"dev\",\"name\":\"quickcheck_macros\",\"req\":\"^1.0.0\"},{\"features\":[\"alloc\"],\"name\":\"serde\",\"optional\":true,\"req\":\"^1.0.203\"},{\"features\":[\"alloc\"],\"name\":\"serde_json\",\"optional\":true,\"req\":\"^1.0.119\"},{\"name\":\"syn\",\"optional\":true,\"req\":\"^1.0.109\",\"target\":\"cfg(any())\"},{\"name\":\"toml\",\"optional\":true,\"req\":\"^0.8\"}],\"features\":{\"assign\":[],\"default\":[\"std\",\"serde\",\"json\",\"resolve\",\"assign\",\"delete\"],\"delete\":[\"resolve\"],\"json\":[\"dep:serde_json\",\"serde\"],\"miette\":[\"dep:miette\",\"std\"],\"resolve\":[],\"std\":[\"serde/std\",\"serde_json?/std\"],\"toml\":[\"dep:toml\",\"serde\",\"std\"]}}",
@@ -1430,12 +1434,13 @@
"regex-syntax_0.8.8": "{\"dependencies\":[{\"features\":[\"derive\"],\"name\":\"arbitrary\",\"optional\":true,\"req\":\"^1.3.0\"}],\"features\":{\"arbitrary\":[\"dep:arbitrary\"],\"default\":[\"std\",\"unicode\"],\"std\":[],\"unicode\":[\"unicode-age\",\"unicode-bool\",\"unicode-case\",\"unicode-gencat\",\"unicode-perl\",\"unicode-script\",\"unicode-segment\"],\"unicode-age\":[],\"unicode-bool\":[],\"unicode-case\":[],\"unicode-gencat\":[],\"unicode-perl\":[],\"unicode-script\":[],\"unicode-segment\":[]}}",
"regex_1.12.3": "{\"dependencies\":[{\"default_features\":false,\"name\":\"aho-corasick\",\"optional\":true,\"req\":\"^1.0.0\"},{\"kind\":\"dev\",\"name\":\"anyhow\",\"req\":\"^1.0.69\"},{\"kind\":\"dev\",\"name\":\"doc-comment\",\"req\":\"^0.3\"},{\"default_features\":false,\"features\":[\"atty\",\"humantime\",\"termcolor\"],\"kind\":\"dev\",\"name\":\"env_logger\",\"req\":\"^0.9.3\"},{\"default_features\":false,\"name\":\"memchr\",\"optional\":true,\"req\":\"^2.6.0\"},{\"default_features\":false,\"kind\":\"dev\",\"name\":\"quickcheck\",\"req\":\"^1.0.3\"},{\"default_features\":false,\"features\":[\"alloc\",\"syntax\",\"meta\",\"nfa-pikevm\"],\"name\":\"regex-automata\",\"req\":\"^0.4.12\"},{\"default_features\":false,\"name\":\"regex-syntax\",\"req\":\"^0.8.5\"},{\"kind\":\"dev\",\"name\":\"regex-test\",\"req\":\"^0.1.0\"}],\"features\":{\"default\":[\"std\",\"perf\",\"unicode\",\"regex-syntax/default\"],\"logging\":[\"aho-corasick?/logging\",\"memchr?/logging\",\"regex-automata/logging\"],\"pattern\":[],\"perf\":[\"perf-cache\",\"perf-dfa\",\"perf-onepass\",\"perf-backtrack\",\"perf-inline\",\"perf-literal\"],\"perf-backtrack\":[\"regex-automata/nfa-backtrack\"],\"perf-cache\":[],\"perf-dfa\":[\"regex-automata/hybrid\"],\"perf-dfa-full\":[\"regex-automata/dfa-build\",\"regex-automata/dfa-search\"],\"perf-inline\":[\"regex-automata/perf-inline\"],\"perf-literal\":[\"dep:aho-corasick\",\"dep:memchr\",\"regex-automata/perf-literal\"],\"perf-onepass\":[\"regex-automata/dfa-onepass\"],\"std\":[\"aho-corasick?/std\",\"memchr?/std\",\"regex-automata/std\",\"regex-syntax/std\"],\"unicode\":[\"unicode-age\",\"unicode-bool\",\"unicode-case\",\"unicode-gencat\",\"unicode-perl\",\"unicode-script\",\"unicode-segment\",\"regex-automata/unicode\",\"regex-syntax/unicode\"],\"unicode-age\":[\"regex-automata/unicode-age\",\"regex-syntax/unicode-age\"],\"unicode-bool\":[\"regex-automata/unicode-bool\",\"regex-syntax/unicode-bool\"],\"unicode-case\":[\"regex-automata/unicode-case\",\"regex-syntax/unicode-case\"],\"unicode-gencat\":[\"regex-automata/unicode-gencat\",\"regex-syntax/unicode-gencat\"],\"unicode-perl\":[\"regex-automata/unicode-perl\",\"regex-automata/unicode-word-boundary\",\"regex-syntax/unicode-perl\"],\"unicode-script\":[\"regex-automata/unicode-script\",\"regex-syntax/unicode-script\"],\"unicode-segment\":[\"regex-automata/unicode-segment\",\"regex-syntax/unicode-segment\"],\"unstable\":[\"pattern\"],\"use_std\":[\"std\"]}}",
"reqwest_0.12.28": "{\"dependencies\":[{\"name\":\"base64\",\"req\":\"^0.22\"},{\"kind\":\"dev\",\"name\":\"brotli_crate\",\"package\":\"brotli\",\"req\":\"^8\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"bytes\",\"req\":\"^1.2\"},{\"name\":\"cookie_crate\",\"optional\":true,\"package\":\"cookie\",\"req\":\"^0.18.0\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"cookie_store\",\"optional\":true,\"req\":\"^0.22.0\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"kind\":\"dev\",\"name\":\"doc-comment\",\"req\":\"^0.3\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"encoding_rs\",\"optional\":true,\"req\":\"^0.8\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"kind\":\"dev\",\"name\":\"env_logger\",\"req\":\"^0.10\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"kind\":\"dev\",\"name\":\"flate2\",\"req\":\"^1.0.13\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"futures-channel\",\"optional\":true,\"req\":\"^0.3\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"default_features\":false,\"name\":\"futures-core\",\"req\":\"^0.3.28\"},{\"default_features\":false,\"name\":\"futures-util\",\"optional\":true,\"req\":\"^0.3.28\"},{\"default_features\":false,\"features\":[\"std\",\"alloc\"],\"kind\":\"dev\",\"name\":\"futures-util\",\"req\":\"^0.3.28\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"h2\",\"optional\":true,\"req\":\"^0.4\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"h3\",\"optional\":true,\"req\":\"^0.0.8\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"h3-quinn\",\"optional\":true,\"req\":\"^0.0.10\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"features\":[\"tokio\"],\"name\":\"hickory-resolver\",\"optional\":true,\"req\":\"^0.25\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"http\",\"req\":\"^1.1\"},{\"name\":\"http-body\",\"req\":\"^1\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"http-body-util\",\"req\":\"^0.1.2\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"features\":[\"http1\",\"client\"],\"name\":\"hyper\",\"req\":\"^1.1\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"default_features\":false,\"features\":[\"http1\",\"http2\",\"client\",\"server\"],\"kind\":\"dev\",\"name\":\"hyper\",\"req\":\"^1.1.0\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"default_features\":false,\"features\":[\"http1\",\"tls12\"],\"name\":\"hyper-rustls\",\"optional\":true,\"req\":\"^0.27.0\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"hyper-tls\",\"optional\":true,\"req\":\"^0.6\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"features\":[\"http1\",\"client\",\"client-legacy\",\"client-proxy\",\"tokio\"],\"name\":\"hyper-util\",\"req\":\"^0.1.12\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"features\":[\"http1\",\"http2\",\"client\",\"client-legacy\",\"server-auto\",\"server-graceful\",\"tokio\"],\"kind\":\"dev\",\"name\":\"hyper-util\",\"req\":\"^0.1.12\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"js-sys\",\"req\":\"^0.3.77\",\"target\":\"cfg(target_arch = \\\"wasm32\\\")\"},{\"kind\":\"dev\",\"name\":\"libc\",\"req\":\"^0\"},{\"name\":\"log\",\"req\":\"^0.4.17\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"mime\",\"optional\":true,\"req\":\"^0.3.16\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"default_features\":false,\"name\":\"mime_guess\",\"optional\":true,\"req\":\"^2.0\"},{\"name\":\"native-tls-crate\",\"optional\":true,\"package\":\"native-tls\",\"req\":\"^0.2.10\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"kind\":\"dev\",\"name\":\"num_cpus\",\"req\":\"^1.0\"},{\"name\":\"once_cell\",\"optional\":true,\"req\":\"^1.18\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"percent-encoding\",\"req\":\"^2.3\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"pin-project-lite\",\"req\":\"^0.2.11\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"default_features\":false,\"features\":[\"rustls\",\"runtime-tokio\"],\"name\":\"quinn\",\"optional\":true,\"req\":\"^0.11.1\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"default_features\":false,\"features\":[\"std\",\"tls12\"],\"name\":\"rustls\",\"optional\":true,\"req\":\"^0.23.4\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"rustls-native-certs\",\"optional\":true,\"req\":\"^0.8.0\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"features\":[\"std\"],\"name\":\"rustls-pki-types\",\"optional\":true,\"req\":\"^1.9.0\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"serde\",\"req\":\"^1.0\"},{\"features\":[\"derive\"],\"kind\":\"dev\",\"name\":\"serde\",\"req\":\"^1.0\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"serde_json\",\"req\":\"^1.0\",\"target\":\"cfg(target_arch = \\\"wasm32\\\")\"},{\"name\":\"serde_json\",\"optional\":true,\"req\":\"^1.0\"},{\"name\":\"serde_urlencoded\",\"req\":\"^0.7.1\"},{\"features\":[\"futures\"],\"name\":\"sync_wrapper\",\"req\":\"^1.0\"},{\"default_features\":false,\"features\":[\"net\",\"time\"],\"name\":\"tokio\",\"req\":\"^1.0\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"default_features\":false,\"features\":[\"macros\",\"rt-multi-thread\"],\"kind\":\"dev\",\"name\":\"tokio\",\"req\":\"^1.0\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"tokio-native-tls\",\"optional\":true,\"req\":\"^0.3.0\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"default_features\":false,\"features\":[\"tls12\"],\"name\":\"tokio-rustls\",\"optional\":true,\"req\":\"^0.26\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"default_features\":false,\"features\":[\"io\"],\"name\":\"tokio-util\",\"optional\":true,\"req\":\"^0.7.9\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"default_features\":false,\"features\":[\"retry\",\"timeout\",\"util\"],\"name\":\"tower\",\"req\":\"^0.5.2\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"default_features\":false,\"features\":[\"limit\"],\"kind\":\"dev\",\"name\":\"tower\",\"req\":\"^0.5.2\"},{\"default_features\":false,\"features\":[\"follow-redirect\"],\"name\":\"tower-http\",\"req\":\"^0.6.8\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"tower-service\",\"req\":\"^0.3\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"name\":\"url\",\"req\":\"^2.4\"},{\"name\":\"wasm-bindgen\",\"req\":\"^0.2.89\",\"target\":\"cfg(target_arch = \\\"wasm32\\\")\"},{\"features\":[\"serde-serialize\"],\"kind\":\"dev\",\"name\":\"wasm-bindgen\",\"req\":\"^0.2.89\",\"target\":\"cfg(target_arch = \\\"wasm32\\\")\"},{\"name\":\"wasm-bindgen-futures\",\"req\":\"^0.4.18\",\"target\":\"cfg(target_arch = \\\"wasm32\\\")\"},{\"kind\":\"dev\",\"name\":\"wasm-bindgen-test\",\"req\":\"^0.3\",\"target\":\"cfg(target_arch = \\\"wasm32\\\")\"},{\"name\":\"wasm-streams\",\"optional\":true,\"req\":\"^0.4\",\"target\":\"cfg(target_arch = \\\"wasm32\\\")\"},{\"features\":[\"AbortController\",\"AbortSignal\",\"Headers\",\"Request\",\"RequestInit\",\"RequestMode\",\"Response\",\"Window\",\"FormData\",\"Blob\",\"BlobPropertyBag\",\"ServiceWorkerGlobalScope\",\"RequestCredentials\",\"File\",\"ReadableStream\",\"RequestCache\"],\"name\":\"web-sys\",\"req\":\"^0.3.28\",\"target\":\"cfg(target_arch = \\\"wasm32\\\")\"},{\"name\":\"webpki-roots\",\"optional\":true,\"req\":\"^1\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"},{\"kind\":\"dev\",\"name\":\"zstd_crate\",\"package\":\"zstd\",\"req\":\"^0.13\",\"target\":\"cfg(not(target_arch = \\\"wasm32\\\"))\"}],\"features\":{\"__rustls\":[\"dep:hyper-rustls\",\"dep:tokio-rustls\",\"dep:rustls\",\"__tls\"],\"__rustls-ring\":[\"hyper-rustls?/ring\",\"tokio-rustls?/ring\",\"rustls?/ring\",\"quinn?/ring\"],\"__tls\":[\"dep:rustls-pki-types\",\"tokio/io-util\"],\"blocking\":[\"dep:futures-channel\",\"futures-channel?/sink\",\"dep:futures-util\",\"futures-util?/io\",\"futures-util?/sink\",\"tokio/sync\"],\"brotli\":[\"tower-http/decompression-br\"],\"charset\":[\"dep:encoding_rs\",\"dep:mime\"],\"cookies\":[\"dep:cookie_crate\",\"dep:cookie_store\"],\"default\":[\"default-tls\",\"charset\",\"http2\",\"system-proxy\"],\"default-tls\":[\"dep:hyper-tls\",\"dep:native-tls-crate\",\"__tls\",\"dep:tokio-native-tls\"],\"deflate\":[\"tower-http/decompression-deflate\"],\"gzip\":[\"tower-http/decompression-gzip\"],\"hickory-dns\":[\"dep:hickory-resolver\",\"dep:once_cell\"],\"http2\":[\"h2\",\"hyper/http2\",\"hyper-util/http2\",\"hyper-rustls?/http2\"],\"http3\":[\"rustls-tls-manual-roots\",\"dep:h3\",\"dep:h3-quinn\",\"dep:quinn\",\"tokio/macros\"],\"json\":[\"dep:serde_json\"],\"macos-system-configuration\":[\"system-proxy\"],\"multipart\":[\"dep:mime_guess\",\"dep:futures-util\"],\"native-tls\":[\"default-tls\"],\"native-tls-alpn\":[\"native-tls\",\"native-tls-crate?/alpn\",\"hyper-tls?/alpn\"],\"native-tls-vendored\":[\"native-tls\",\"native-tls-crate?/vendored\"],\"rustls-tls\":[\"rustls-tls-webpki-roots\"],\"rustls-tls-manual-roots\":[\"rustls-tls-manual-roots-no-provider\",\"__rustls-ring\"],\"rustls-tls-manual-roots-no-provider\":[\"__rustls\"],\"rustls-tls-native-roots\":[\"rustls-tls-native-roots-no-provider\",\"__rustls-ring\"],\"rustls-tls-native-roots-no-provider\":[\"dep:rustls-native-certs\",\"hyper-rustls?/native-tokio\",\"__rustls\"],\"rustls-tls-no-provider\":[\"rustls-tls-manual-roots-no-provider\"],\"rustls-tls-webpki-roots\":[\"rustls-tls-webpki-roots-no-provider\",\"__rustls-ring\"],\"rustls-tls-webpki-roots-no-provider\":[\"dep:webpki-roots\",\"hyper-rustls?/webpki-tokio\",\"__rustls\"],\"socks\":[],\"stream\":[\"tokio/fs\",\"dep:futures-util\",\"dep:tokio-util\",\"dep:wasm-streams\"],\"system-proxy\":[\"hyper-util/client-proxy-system\"],\"trust-dns\":[],\"zstd\":[\"tower-http/decompression-zstd\"]}}",
+ "reqwest_0.13.4": "{\"dependencies\":[{\"name\":\"base64\",\"req\":\"^0.22\"},{\"kind\":\"dev\",\"name\":\"brotli_crate\",\"package\":\"brotli\",\"req\":\"^8\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"bytes\",\"req\":\"^1.2\"},{\"name\":\"cookie_crate\",\"optional\":true,\"package\":\"cookie\",\"req\":\"^0.18.0\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"cookie_store\",\"optional\":true,\"req\":\"^0.22.0\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"kind\":\"dev\",\"name\":\"doc-comment\",\"req\":\"^0.3\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"encoding_rs\",\"optional\":true,\"req\":\"^0.8\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"kind\":\"dev\",\"name\":\"env_logger\",\"req\":\"^0.10\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"kind\":\"dev\",\"name\":\"flate2\",\"req\":\"^1.0.13\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"futures-channel\",\"optional\":true,\"req\":\"^0.3\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"default_features\":false,\"name\":\"futures-core\",\"req\":\"^0.3.28\"},{\"default_features\":false,\"name\":\"futures-util\",\"optional\":true,\"req\":\"^0.3.28\"},{\"default_features\":false,\"features\":[\"std\",\"alloc\"],\"kind\":\"dev\",\"name\":\"futures-util\",\"req\":\"^0.3.28\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"h2\",\"optional\":true,\"req\":\"^0.4\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"h3\",\"optional\":true,\"req\":\"^0.0.8\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"h3-quinn\",\"optional\":true,\"req\":\"^0.0.10\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"features\":[\"tokio\"],\"name\":\"hickory-resolver\",\"optional\":true,\"req\":\"^0.26\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"http\",\"req\":\"^1.1\"},{\"name\":\"http-body\",\"req\":\"^1\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"http-body-util\",\"req\":\"^0.1.2\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"features\":[\"http1\",\"client\"],\"name\":\"hyper\",\"req\":\"^1.1\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"default_features\":false,\"features\":[\"http1\",\"http2\",\"client\",\"server\"],\"kind\":\"dev\",\"name\":\"hyper\",\"req\":\"^1.1.0\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"default_features\":false,\"features\":[\"http1\",\"tls12\"],\"name\":\"hyper-rustls\",\"optional\":true,\"req\":\"^0.27.0\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"hyper-tls\",\"optional\":true,\"req\":\"^0.6\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"features\":[\"http1\",\"client\",\"client-legacy\",\"client-proxy\",\"tokio\"],\"name\":\"hyper-util\",\"req\":\"^0.1.12\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"features\":[\"http1\",\"http2\",\"client\",\"client-legacy\",\"server-auto\",\"server-graceful\",\"tokio\"],\"kind\":\"dev\",\"name\":\"hyper-util\",\"req\":\"^0.1.12\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"js-sys\",\"req\":\"^0.3.77\",\"target\":\"cfg(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\")))\"},{\"kind\":\"dev\",\"name\":\"libc\",\"req\":\"^0\"},{\"name\":\"log\",\"req\":\"^0.4.17\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"mime\",\"optional\":true,\"req\":\"^0.3.16\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"default_features\":false,\"name\":\"mime_guess\",\"optional\":true,\"req\":\"^2.0\"},{\"name\":\"native-tls-crate\",\"optional\":true,\"package\":\"native-tls\",\"req\":\"^0.2.16\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"kind\":\"dev\",\"name\":\"num_cpus\",\"req\":\"^1.0\"},{\"name\":\"once_cell\",\"optional\":true,\"req\":\"^1.18\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"percent-encoding\",\"req\":\"^2.3\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"pin-project-lite\",\"req\":\"^0.2.11\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"default_features\":false,\"features\":[\"runtime-tokio\"],\"name\":\"quinn\",\"optional\":true,\"req\":\"^0.11.1\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"default_features\":false,\"features\":[\"std\",\"tls12\"],\"name\":\"rustls\",\"optional\":true,\"req\":\"^0.23.4\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"features\":[\"std\"],\"name\":\"rustls-pki-types\",\"optional\":true,\"req\":\"^1.9.0\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"rustls-platform-verifier\",\"optional\":true,\"req\":\">=0.6.0, <0.8.0\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"serde\",\"optional\":true,\"req\":\"^1.0\"},{\"features\":[\"derive\"],\"kind\":\"dev\",\"name\":\"serde\",\"req\":\"^1.0\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"serde_json\",\"optional\":true,\"req\":\"^1.0\"},{\"name\":\"serde_urlencoded\",\"optional\":true,\"req\":\"^0.7.1\"},{\"features\":[\"futures\"],\"name\":\"sync_wrapper\",\"req\":\"^1.0\"},{\"default_features\":false,\"features\":[\"net\",\"time\"],\"name\":\"tokio\",\"req\":\"^1.0\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"default_features\":false,\"features\":[\"macros\",\"rt-multi-thread\"],\"kind\":\"dev\",\"name\":\"tokio\",\"req\":\"^1.0\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"tokio-native-tls\",\"optional\":true,\"req\":\"^0.3.0\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"default_features\":false,\"features\":[\"tls12\"],\"name\":\"tokio-rustls\",\"optional\":true,\"req\":\"^0.26\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"default_features\":false,\"features\":[\"io\"],\"name\":\"tokio-util\",\"optional\":true,\"req\":\"^0.7.9\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"default_features\":false,\"features\":[\"retry\",\"timeout\",\"util\"],\"name\":\"tower\",\"req\":\"^0.5.2\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"default_features\":false,\"features\":[\"limit\"],\"kind\":\"dev\",\"name\":\"tower\",\"req\":\"^0.5.2\"},{\"default_features\":false,\"features\":[\"follow-redirect\"],\"name\":\"tower-http\",\"req\":\"^0.6.8\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"tower-service\",\"req\":\"^0.3\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"},{\"name\":\"url\",\"req\":\"^2.4\"},{\"name\":\"wasm-bindgen\",\"req\":\"^0.2.89\",\"target\":\"cfg(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\")))\"},{\"features\":[\"serde-serialize\"],\"kind\":\"dev\",\"name\":\"wasm-bindgen\",\"req\":\"^0.2.89\",\"target\":\"cfg(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\")))\"},{\"name\":\"wasm-bindgen-futures\",\"req\":\"^0.4.18\",\"target\":\"cfg(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\")))\"},{\"kind\":\"dev\",\"name\":\"wasm-bindgen-test\",\"req\":\"^0.3\",\"target\":\"cfg(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\")))\"},{\"name\":\"wasm-streams\",\"optional\":true,\"req\":\"^0.5\",\"target\":\"cfg(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\")))\"},{\"features\":[\"AbortController\",\"AbortSignal\",\"Headers\",\"Request\",\"RequestInit\",\"RequestMode\",\"Response\",\"Window\",\"FormData\",\"Blob\",\"BlobPropertyBag\",\"ServiceWorkerGlobalScope\",\"RequestCredentials\",\"File\",\"ReadableStream\",\"RequestCache\"],\"name\":\"web-sys\",\"req\":\"^0.3.28\",\"target\":\"cfg(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\")))\"},{\"kind\":\"dev\",\"name\":\"zstd_crate\",\"package\":\"zstd\",\"req\":\"^0.13\",\"target\":\"cfg(not(all(target_arch = \\\"wasm32\\\", any(target_os = \\\"unknown\\\", target_os = \\\"none\\\"))))\"}],\"features\":{\"__native-tls\":[\"dep:hyper-tls\",\"dep:native-tls-crate\",\"__tls\",\"dep:tokio-native-tls\"],\"__native-tls-alpn\":[\"native-tls-crate?/alpn\",\"hyper-tls?/alpn\"],\"__rustls\":[\"dep:hyper-rustls\",\"dep:tokio-rustls\",\"dep:rustls\",\"__tls\"],\"__rustls-aws-lc-rs\":[\"hyper-rustls?/aws-lc-rs\",\"tokio-rustls?/aws-lc-rs\",\"rustls?/aws-lc-rs\",\"quinn?/rustls-aws-lc-rs\"],\"__tls\":[\"dep:rustls-pki-types\",\"tokio/io-util\"],\"blocking\":[\"dep:futures-channel\",\"futures-channel?/sink\",\"dep:futures-util\",\"futures-util?/io\",\"futures-util?/sink\",\"tokio/sync\"],\"brotli\":[\"tower-http/decompression-br\"],\"charset\":[\"dep:encoding_rs\",\"dep:mime\"],\"cookies\":[\"dep:cookie_crate\",\"dep:cookie_store\"],\"default\":[\"default-tls\",\"charset\",\"http2\",\"system-proxy\"],\"default-tls\":[\"rustls\"],\"deflate\":[\"tower-http/decompression-deflate\"],\"form\":[\"dep:serde\",\"dep:serde_urlencoded\"],\"gzip\":[\"tower-http/decompression-gzip\"],\"hickory-dns\":[\"dep:hickory-resolver\",\"dep:once_cell\"],\"http2\":[\"dep:h2\",\"hyper/http2\",\"hyper-util/http2\",\"hyper-rustls?/http2\"],\"http3\":[\"rustls\",\"dep:h3\",\"dep:h3-quinn\",\"dep:quinn\",\"tokio/macros\"],\"json\":[\"dep:serde\",\"dep:serde_json\"],\"multipart\":[\"dep:mime_guess\",\"dep:futures-util\"],\"native-tls\":[\"__native-tls\",\"__native-tls-alpn\"],\"native-tls-no-alpn\":[\"__native-tls\"],\"native-tls-vendored\":[\"__native-tls\",\"native-tls-crate?/vendored\",\"__native-tls-alpn\"],\"native-tls-vendored-no-alpn\":[\"__native-tls\",\"native-tls-crate?/vendored\"],\"query\":[\"dep:serde\",\"dep:serde_urlencoded\"],\"rustls\":[\"__rustls-aws-lc-rs\",\"dep:rustls-platform-verifier\",\"__rustls\"],\"rustls-no-provider\":[\"dep:rustls-platform-verifier\",\"__rustls\"],\"socks\":[],\"stream\":[\"tokio/fs\",\"dep:futures-util\",\"dep:tokio-util\",\"dep:wasm-streams\"],\"system-proxy\":[\"hyper-util/client-proxy-system\"],\"zstd\":[\"tower-http/decompression-zstd\"]}}",
"resb_0.1.2": "{\"dependencies\":[{\"name\":\"indexmap\",\"optional\":true,\"req\":\"^2.0.0\"},{\"default_features\":false,\"name\":\"log\",\"optional\":true,\"req\":\"^0.4.17\"},{\"name\":\"nom\",\"optional\":true,\"req\":\"^7.0.0\"},{\"default_features\":false,\"name\":\"potential_utf\",\"req\":\"^0.1.3\"},{\"default_features\":false,\"features\":[\"alloc\"],\"name\":\"serde_core\",\"req\":\"^1.0.220\"}],\"features\":{\"default\":[],\"logging\":[\"dep:log\"],\"serialize\":[\"std\"],\"std\":[],\"text\":[\"dep:indexmap\",\"dep:nom\",\"std\"]}}",
"resolv-conf_0.7.6": "{\"dependencies\":[],\"features\":{\"system\":[]}}",
"rfc6979_0.4.0": "{\"dependencies\":[{\"kind\":\"dev\",\"name\":\"hex-literal\",\"req\":\"^0.3\"},{\"default_features\":false,\"features\":[\"reset\"],\"name\":\"hmac\",\"req\":\"^0.12\"},{\"kind\":\"dev\",\"name\":\"sha2\",\"req\":\"^0.10\"},{\"default_features\":false,\"name\":\"subtle\",\"req\":\"^2\"}],\"features\":{}}",
"ring_0.17.14": "{\"dependencies\":[{\"default_features\":false,\"kind\":\"build\",\"name\":\"cc\",\"req\":\"^1.2.8\"},{\"default_features\":false,\"name\":\"cfg-if\",\"req\":\"^1.0.0\"},{\"name\":\"getrandom\",\"req\":\"^0.2.10\"},{\"default_features\":false,\"name\":\"libc\",\"req\":\"^0.2.148\",\"target\":\"cfg(all(any(all(target_arch = \\\"aarch64\\\", target_endian = \\\"little\\\"), all(target_arch = \\\"arm\\\", target_endian = \\\"little\\\")), any(target_os = \\\"android\\\", target_os = \\\"linux\\\")))\"},{\"default_features\":false,\"name\":\"libc\",\"req\":\"^0.2.155\",\"target\":\"cfg(all(all(target_arch = \\\"aarch64\\\", target_endian = \\\"little\\\"), target_vendor = \\\"apple\\\", any(target_os = \\\"ios\\\", target_os = \\\"macos\\\", target_os = \\\"tvos\\\", target_os = \\\"visionos\\\", target_os = \\\"watchos\\\")))\"},{\"default_features\":false,\"kind\":\"dev\",\"name\":\"libc\",\"req\":\"^0.2.148\",\"target\":\"cfg(any(unix, windows, target_os = \\\"wasi\\\"))\"},{\"name\":\"untrusted\",\"req\":\"^0.9\"},{\"default_features\":false,\"features\":[\"std\"],\"kind\":\"dev\",\"name\":\"wasm-bindgen-test\",\"req\":\"^0.3.37\",\"target\":\"cfg(all(target_arch = \\\"wasm32\\\", target_os = \\\"unknown\\\"))\"},{\"features\":[\"Win32_Foundation\",\"Win32_System_Threading\"],\"name\":\"windows-sys\",\"req\":\"^0.52\",\"target\":\"cfg(all(all(target_arch = \\\"aarch64\\\", target_endian = \\\"little\\\"), target_os = \\\"windows\\\"))\"}],\"features\":{\"alloc\":[],\"default\":[\"alloc\",\"dev_urandom_fallback\"],\"dev_urandom_fallback\":[],\"less-safe-getrandom-custom-or-rdrand\":[],\"less-safe-getrandom-espidf\":[],\"slow_tests\":[],\"std\":[\"alloc\"],\"test_logging\":[],\"unstable-testing-arm-no-hw\":[],\"unstable-testing-arm-no-neon\":[],\"wasm32_unknown_unknown_js\":[\"getrandom/js\"]}}",
- "rmcp-macros_0.15.0": "{\"dependencies\":[{\"name\":\"darling\",\"req\":\"^0.23\"},{\"name\":\"proc-macro2\",\"req\":\"^1\"},{\"name\":\"quote\",\"req\":\"^1\"},{\"name\":\"serde_json\",\"req\":\"^1.0\"},{\"features\":[\"full\"],\"name\":\"syn\",\"req\":\"^2\"}],\"features\":{}}",
- "rmcp_0.15.0": "{\"dependencies\":[{\"kind\":\"dev\",\"name\":\"anyhow\",\"req\":\"^1.0\"},{\"name\":\"async-trait\",\"req\":\"^0.1.89\"},{\"kind\":\"dev\",\"name\":\"async-trait\",\"req\":\"^0.1\"},{\"name\":\"axum\",\"optional\":true,\"req\":\"^0.8\"},{\"name\":\"base64\",\"optional\":true,\"req\":\"^0.22\"},{\"name\":\"bytes\",\"optional\":true,\"req\":\"^1\"},{\"default_features\":false,\"features\":[\"serde\",\"clock\",\"std\",\"oldtime\"],\"name\":\"chrono\",\"req\":\"^0.4.38\",\"target\":\"cfg(all(target_family = \\\"wasm\\\", target_os = \\\"unknown\\\"))\"},{\"features\":[\"serde\"],\"name\":\"chrono\",\"req\":\"^0.4.38\",\"target\":\"cfg(not(all(target_family = \\\"wasm\\\", target_os = \\\"unknown\\\")))\"},{\"name\":\"futures\",\"req\":\"^0.3\"},{\"name\":\"http\",\"optional\":true,\"req\":\"^1\"},{\"name\":\"http-body\",\"optional\":true,\"req\":\"^1\"},{\"name\":\"http-body-util\",\"optional\":true,\"req\":\"^0.1\"},{\"default_features\":false,\"features\":[\"reqwest\"],\"name\":\"oauth2\",\"optional\":true,\"req\":\"^5.0\"},{\"name\":\"pastey\",\"optional\":true,\"req\":\"^0.2.0\"},{\"name\":\"pin-project-lite\",\"req\":\"^0.2\"},{\"features\":[\"tokio1\"],\"name\":\"process-wrap\",\"optional\":true,\"req\":\"^9.0\"},{\"name\":\"rand\",\"optional\":true,\"req\":\"^0.9\"},{\"default_features\":false,\"features\":[\"json\",\"stream\"],\"name\":\"reqwest\",\"optional\":true,\"req\":\"^0.12\"},{\"name\":\"rmcp-macros\",\"optional\":true,\"req\":\"^0.15.0\"},{\"features\":[\"chrono04\"],\"name\":\"schemars\",\"optional\":true,\"req\":\"^1.0\"},{\"features\":[\"chrono04\"],\"kind\":\"dev\",\"name\":\"schemars\",\"req\":\"^1.1.0\"},{\"features\":[\"derive\",\"rc\"],\"name\":\"serde\",\"req\":\"^1.0\"},{\"name\":\"serde_json\",\"req\":\"^1.0\"},{\"name\":\"sse-stream\",\"optional\":true,\"req\":\"^0.2\"},{\"name\":\"thiserror\",\"req\":\"^2\"},{\"features\":[\"sync\",\"macros\",\"rt\",\"time\"],\"name\":\"tokio\",\"req\":\"^1\"},{\"features\":[\"full\"],\"kind\":\"dev\",\"name\":\"tokio\",\"req\":\"^1\"},{\"name\":\"tokio-stream\",\"optional\":true,\"req\":\"^0.1\"},{\"name\":\"tokio-util\",\"req\":\"^0.7\"},{\"name\":\"tower-service\",\"optional\":true,\"req\":\"^0.3\"},{\"name\":\"tracing\",\"req\":\"^0.1\"},{\"features\":[\"env-filter\",\"std\",\"fmt\"],\"kind\":\"dev\",\"name\":\"tracing-subscriber\",\"req\":\"^0.3\"},{\"name\":\"url\",\"optional\":true,\"req\":\"^2.4\"},{\"features\":[\"v4\"],\"name\":\"uuid\",\"optional\":true,\"req\":\"^1\"}],\"features\":{\"__reqwest\":[\"dep:reqwest\"],\"auth\":[\"dep:oauth2\",\"__reqwest\",\"dep:url\"],\"client\":[\"dep:tokio-stream\"],\"client-side-sse\":[\"dep:sse-stream\",\"dep:http\"],\"default\":[\"base64\",\"macros\",\"server\"],\"elicitation\":[\"dep:url\"],\"macros\":[\"dep:rmcp-macros\",\"dep:pastey\"],\"reqwest\":[\"__reqwest\",\"reqwest?/rustls-tls\"],\"reqwest-native-tls\":[\"__reqwest\",\"reqwest?/native-tls\"],\"reqwest-tls-no-provider\":[\"__reqwest\",\"reqwest?/rustls-tls-no-provider\"],\"schemars\":[\"dep:schemars\"],\"server\":[\"transport-async-rw\",\"dep:schemars\",\"dep:pastey\"],\"server-side-http\":[\"uuid\",\"dep:rand\",\"dep:tokio-stream\",\"dep:http\",\"dep:http-body\",\"dep:http-body-util\",\"dep:bytes\",\"dep:sse-stream\",\"dep:axum\",\"tower\"],\"tower\":[\"dep:tower-service\"],\"transport-async-rw\":[\"tokio/io-util\",\"tokio-util/codec\"],\"transport-child-process\":[\"transport-async-rw\",\"tokio/process\",\"dep:process-wrap\"],\"transport-io\":[\"transport-async-rw\",\"tokio/io-std\"],\"transport-streamable-http-client\":[\"client-side-sse\",\"transport-worker\"],\"transport-streamable-http-client-reqwest\":[\"transport-streamable-http-client\",\"__reqwest\"],\"transport-streamable-http-server\":[\"transport-streamable-http-server-session\",\"server-side-http\",\"transport-worker\"],\"transport-streamable-http-server-session\":[\"transport-async-rw\",\"dep:tokio-stream\"],\"transport-worker\":[\"dep:tokio-stream\"]}}",
+ "rmcp-macros_1.7.0": "{\"dependencies\":[{\"name\":\"darling\",\"req\":\"^0.23\"},{\"name\":\"proc-macro2\",\"req\":\"^1\"},{\"name\":\"quote\",\"req\":\"^1\"},{\"name\":\"serde_json\",\"req\":\"^1.0\"},{\"features\":[\"full\"],\"name\":\"syn\",\"req\":\"^2\"}],\"features\":{\"local\":[]}}",
+ "rmcp_1.7.0": "{\"dependencies\":[{\"kind\":\"dev\",\"name\":\"anyhow\",\"req\":\"^1.0\"},{\"name\":\"async-trait\",\"req\":\"^0.1.89\"},{\"kind\":\"dev\",\"name\":\"async-trait\",\"req\":\"^0.1\"},{\"default_features\":false,\"features\":[\"http1\",\"tokio\"],\"kind\":\"dev\",\"name\":\"axum\",\"req\":\"^0.8\"},{\"name\":\"base64\",\"optional\":true,\"req\":\"^0.22\"},{\"name\":\"bytes\",\"optional\":true,\"req\":\"^1\"},{\"default_features\":false,\"features\":[\"serde\",\"clock\",\"std\",\"oldtime\"],\"name\":\"chrono\",\"req\":\"^0.4.38\",\"target\":\"cfg(all(target_family = \\\"wasm\\\", target_os = \\\"unknown\\\"))\"},{\"default_features\":false,\"features\":[\"serde\",\"now\"],\"name\":\"chrono\",\"req\":\"^0.4.38\",\"target\":\"cfg(not(all(target_family = \\\"wasm\\\", target_os = \\\"unknown\\\")))\"},{\"name\":\"futures\",\"req\":\"^0.3\"},{\"name\":\"http\",\"optional\":true,\"req\":\"^1\"},{\"name\":\"http-body\",\"optional\":true,\"req\":\"^1\"},{\"name\":\"http-body-util\",\"optional\":true,\"req\":\"^0.1\"},{\"features\":[\"client\",\"http1\"],\"name\":\"hyper\",\"optional\":true,\"req\":\"^1\"},{\"features\":[\"server\",\"http1\"],\"kind\":\"dev\",\"name\":\"hyper\",\"req\":\"^1\"},{\"features\":[\"tokio\"],\"name\":\"hyper-util\",\"optional\":true,\"req\":\"^0.1\"},{\"features\":[\"tokio\"],\"kind\":\"dev\",\"name\":\"hyper-util\",\"req\":\"^0.1\"},{\"name\":\"jsonwebtoken\",\"optional\":true,\"req\":\"^10\"},{\"default_features\":false,\"name\":\"oauth2\",\"optional\":true,\"req\":\"^5.0\"},{\"name\":\"pastey\",\"optional\":true,\"req\":\"^0.2.0\"},{\"name\":\"pin-project-lite\",\"req\":\"^0.2\"},{\"features\":[\"tokio1\"],\"name\":\"process-wrap\",\"optional\":true,\"req\":\"^9.0\"},{\"name\":\"rand\",\"optional\":true,\"req\":\"^0.10\"},{\"default_features\":false,\"features\":[\"json\",\"stream\"],\"name\":\"reqwest\",\"optional\":true,\"req\":\"^0.13.2\"},{\"name\":\"rmcp-macros\",\"optional\":true,\"req\":\"^1.7.0\"},{\"features\":[\"chrono04\"],\"name\":\"schemars\",\"optional\":true,\"req\":\"^1.0\"},{\"features\":[\"chrono04\"],\"kind\":\"dev\",\"name\":\"schemars\",\"req\":\"^1.1.0\"},{\"features\":[\"derive\",\"rc\"],\"name\":\"serde\",\"req\":\"^1.0\"},{\"name\":\"serde_json\",\"req\":\"^1.0\"},{\"name\":\"sse-stream\",\"optional\":true,\"req\":\"^0.2\"},{\"name\":\"thiserror\",\"req\":\"^2\"},{\"features\":[\"sync\",\"macros\",\"rt\",\"time\"],\"name\":\"tokio\",\"req\":\"^1\"},{\"features\":[\"full\"],\"kind\":\"dev\",\"name\":\"tokio\",\"req\":\"^1\"},{\"name\":\"tokio-stream\",\"optional\":true,\"req\":\"^0.1\"},{\"name\":\"tokio-util\",\"req\":\"^0.7\"},{\"name\":\"tower-service\",\"optional\":true,\"req\":\"^0.3\"},{\"kind\":\"dev\",\"name\":\"tower-service\",\"req\":\"^0.3\"},{\"name\":\"tracing\",\"req\":\"^0.1\"},{\"features\":[\"env-filter\",\"std\",\"fmt\"],\"kind\":\"dev\",\"name\":\"tracing-subscriber\",\"req\":\"^0.3\"},{\"name\":\"url\",\"optional\":true,\"req\":\"^2.4\"},{\"kind\":\"dev\",\"name\":\"url\",\"req\":\"^2.4\"},{\"features\":[\"v4\"],\"name\":\"uuid\",\"optional\":true,\"req\":\"^1\"},{\"name\":\"which\",\"optional\":true,\"req\":\"^8\"}],\"features\":{\"__reqwest\":[\"dep:reqwest\"],\"auth\":[\"dep:oauth2\",\"__reqwest\",\"dep:url\"],\"auth-client-credentials-jwt\":[\"auth\",\"dep:jsonwebtoken\",\"uuid\"],\"client\":[\"dep:tokio-stream\"],\"client-side-sse\":[\"dep:sse-stream\",\"dep:http\"],\"default\":[\"base64\",\"macros\",\"server\"],\"elicitation\":[\"dep:url\"],\"local\":[\"rmcp-macros?/local\"],\"macros\":[\"dep:rmcp-macros\",\"dep:pastey\"],\"reqwest\":[\"__reqwest\",\"reqwest?/rustls\"],\"reqwest-native-tls\":[\"__reqwest\",\"reqwest?/native-tls\"],\"reqwest-tls-no-provider\":[\"__reqwest\",\"reqwest?/rustls-no-provider\"],\"schemars\":[\"dep:schemars\"],\"server\":[\"transport-async-rw\",\"dep:schemars\",\"dep:pastey\"],\"server-side-http\":[\"uuid\",\"dep:rand\",\"dep:tokio-stream\",\"dep:http\",\"dep:http-body\",\"dep:http-body-util\",\"dep:bytes\",\"dep:sse-stream\",\"tower\"],\"tower\":[\"dep:tower-service\"],\"transport-async-rw\":[\"tokio/io-util\",\"tokio-util/codec\"],\"transport-child-process\":[\"transport-async-rw\",\"tokio/process\",\"dep:process-wrap\"],\"transport-io\":[\"transport-async-rw\",\"tokio/io-std\"],\"transport-streamable-http-client\":[\"client-side-sse\",\"transport-worker\"],\"transport-streamable-http-client-reqwest\":[\"transport-streamable-http-client\",\"__reqwest\"],\"transport-streamable-http-client-unix-socket\":[\"transport-streamable-http-client\",\"dep:hyper\",\"dep:hyper-util\",\"dep:http-body-util\",\"dep:http\",\"dep:bytes\",\"tokio/net\"],\"transport-streamable-http-server\":[\"transport-streamable-http-server-session\",\"server-side-http\",\"transport-worker\"],\"transport-streamable-http-server-session\":[\"transport-async-rw\",\"dep:tokio-stream\"],\"transport-worker\":[\"dep:tokio-stream\"],\"which-command\":[\"transport-child-process\",\"dep:which\"]}}",
"rtrb_0.3.3": "{\"dependencies\":[{\"kind\":\"dev\",\"name\":\"criterion\",\"req\":\"^0.8\"},{\"default_features\":false,\"kind\":\"dev\",\"name\":\"crossbeam-utils\",\"req\":\"^0.8\"},{\"kind\":\"dev\",\"name\":\"rand\",\"req\":\"^0.10\"}],\"features\":{\"default\":[\"std\"],\"std\":[]}}",
"rust-embed-impl_8.11.0": "{\"dependencies\":[{\"name\":\"proc-macro2\",\"req\":\"^1\"},{\"name\":\"quote\",\"req\":\"^1\"},{\"name\":\"rust-embed-utils\",\"req\":\"^8.11.0\"},{\"name\":\"shellexpand\",\"optional\":true,\"req\":\"^3\"},{\"default_features\":false,\"features\":[\"derive\",\"parsing\",\"proc-macro\",\"printing\"],\"name\":\"syn\",\"req\":\"^2\"},{\"name\":\"walkdir\",\"req\":\"^2.3.1\"}],\"features\":{\"compression\":[],\"debug-embed\":[],\"deterministic-timestamps\":[],\"include-exclude\":[\"rust-embed-utils/include-exclude\"],\"interpolate-folder-path\":[\"shellexpand\"],\"mime-guess\":[\"rust-embed-utils/mime-guess\"]}}",
"rust-embed-utils_8.11.0": "{\"dependencies\":[{\"name\":\"globset\",\"optional\":true,\"req\":\"^0.4.8\"},{\"name\":\"mime_guess\",\"optional\":true,\"req\":\"^2.0.4\"},{\"name\":\"sha2\",\"req\":\"^0.10.5\"},{\"name\":\"walkdir\",\"req\":\"^2.3.1\"}],\"features\":{\"debug-embed\":[],\"include-exclude\":[\"globset\"],\"mime-guess\":[\"mime_guess\"]}}",
@@ -1452,6 +1457,8 @@
"rustix_1.1.4": "{\"dependencies\":[{\"default_features\":false,\"name\":\"bitflags\",\"req\":\"^2.4.0\"},{\"name\":\"core\",\"optional\":true,\"package\":\"rustc-std-workspace-core\",\"req\":\"^1.0.0\"},{\"kind\":\"dev\",\"name\":\"criterion\",\"req\":\"^0.4\",\"target\":\"cfg(all(criterion, not(any(target_os = \\\"emscripten\\\", target_os = \\\"wasi\\\"))))\"},{\"kind\":\"dev\",\"name\":\"flate2\",\"req\":\"^1.0\"},{\"default_features\":false,\"name\":\"libc\",\"req\":\"^0.2.182\",\"target\":\"cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \\\"linux\\\", any(target_endian = \\\"little\\\", any(target_arch = \\\"s390x\\\", target_arch = \\\"powerpc\\\")), any(target_arch = \\\"arm\\\", all(target_arch = \\\"aarch64\\\", target_pointer_width = \\\"64\\\"), target_arch = \\\"riscv64\\\", all(rustix_use_experimental_asm, target_arch = \\\"powerpc\\\"), all(rustix_use_experimental_asm, target_arch = \\\"powerpc64\\\"), all(rustix_use_experimental_asm, target_arch = \\\"s390x\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips32r6\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips64\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips64r6\\\"), target_arch = \\\"x86\\\", all(target_arch = \\\"x86_64\\\", target_pointer_width = \\\"64\\\")))))))\"},{\"default_features\":false,\"name\":\"libc\",\"optional\":true,\"req\":\"^0.2.182\",\"target\":\"cfg(all(not(rustix_use_libc), not(miri), target_os = \\\"linux\\\", any(target_endian = \\\"little\\\", any(target_arch = \\\"s390x\\\", target_arch = \\\"powerpc\\\")), any(target_arch = \\\"arm\\\", all(target_arch = \\\"aarch64\\\", target_pointer_width = \\\"64\\\"), target_arch = \\\"riscv64\\\", all(rustix_use_experimental_asm, target_arch = \\\"powerpc\\\"), all(rustix_use_experimental_asm, target_arch = \\\"powerpc64\\\"), all(rustix_use_experimental_asm, target_arch = \\\"s390x\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips32r6\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips64\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips64r6\\\"), target_arch = \\\"x86\\\", all(target_arch = \\\"x86_64\\\", target_pointer_width = \\\"64\\\"))))\"},{\"kind\":\"dev\",\"name\":\"libc\",\"req\":\"^0.2.171\"},{\"default_features\":false,\"name\":\"libc_errno\",\"package\":\"errno\",\"req\":\"^0.3.10\",\"target\":\"cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \\\"linux\\\", any(target_endian = \\\"little\\\", any(target_arch = \\\"s390x\\\", target_arch = \\\"powerpc\\\")), any(target_arch = \\\"arm\\\", all(target_arch = \\\"aarch64\\\", target_pointer_width = \\\"64\\\"), target_arch = \\\"riscv64\\\", all(rustix_use_experimental_asm, target_arch = \\\"powerpc\\\"), all(rustix_use_experimental_asm, target_arch = \\\"powerpc64\\\"), all(rustix_use_experimental_asm, target_arch = \\\"s390x\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips32r6\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips64\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips64r6\\\"), target_arch = \\\"x86\\\", all(target_arch = \\\"x86_64\\\", target_pointer_width = \\\"64\\\")))))))\"},{\"default_features\":false,\"name\":\"libc_errno\",\"package\":\"errno\",\"req\":\"^0.3.10\",\"target\":\"cfg(windows)\"},{\"default_features\":false,\"name\":\"libc_errno\",\"optional\":true,\"package\":\"errno\",\"req\":\"^0.3.10\",\"target\":\"cfg(all(not(rustix_use_libc), not(miri), target_os = \\\"linux\\\", any(target_endian = \\\"little\\\", any(target_arch = \\\"s390x\\\", target_arch = \\\"powerpc\\\")), any(target_arch = \\\"arm\\\", all(target_arch = \\\"aarch64\\\", target_pointer_width = \\\"64\\\"), target_arch = \\\"riscv64\\\", all(rustix_use_experimental_asm, target_arch = \\\"powerpc\\\"), all(rustix_use_experimental_asm, target_arch = \\\"powerpc64\\\"), all(rustix_use_experimental_asm, target_arch = \\\"s390x\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips32r6\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips64\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips64r6\\\"), target_arch = \\\"x86\\\", all(target_arch = \\\"x86_64\\\", target_pointer_width = \\\"64\\\"))))\"},{\"default_features\":false,\"kind\":\"dev\",\"name\":\"libc_errno\",\"package\":\"errno\",\"req\":\"^0.3.10\"},{\"default_features\":false,\"features\":[\"general\",\"ioctl\",\"no_std\"],\"name\":\"linux-raw-sys\",\"req\":\"^0.12\",\"target\":\"cfg(all(any(target_os = \\\"linux\\\", target_os = \\\"android\\\"), any(rustix_use_libc, miri, not(all(target_os = \\\"linux\\\", any(target_endian = \\\"little\\\", any(target_arch = \\\"s390x\\\", target_arch = \\\"powerpc\\\")), any(target_arch = \\\"arm\\\", all(target_arch = \\\"aarch64\\\", target_pointer_width = \\\"64\\\"), target_arch = \\\"riscv64\\\", all(rustix_use_experimental_asm, target_arch = \\\"powerpc\\\"), all(rustix_use_experimental_asm, target_arch = \\\"powerpc64\\\"), all(rustix_use_experimental_asm, target_arch = \\\"s390x\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips32r6\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips64\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips64r6\\\"), target_arch = \\\"x86\\\", all(target_arch = \\\"x86_64\\\", target_pointer_width = \\\"64\\\")))))))\"},{\"default_features\":false,\"features\":[\"auxvec\",\"general\",\"errno\",\"ioctl\",\"no_std\",\"elf\"],\"name\":\"linux-raw-sys\",\"req\":\"^0.12\",\"target\":\"cfg(all(not(rustix_use_libc), not(miri), target_os = \\\"linux\\\", any(target_endian = \\\"little\\\", any(target_arch = \\\"s390x\\\", target_arch = \\\"powerpc\\\")), any(target_arch = \\\"arm\\\", all(target_arch = \\\"aarch64\\\", target_pointer_width = \\\"64\\\"), target_arch = \\\"riscv64\\\", all(rustix_use_experimental_asm, target_arch = \\\"powerpc\\\"), all(rustix_use_experimental_asm, target_arch = \\\"powerpc64\\\"), all(rustix_use_experimental_asm, target_arch = \\\"s390x\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips32r6\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips64\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips64r6\\\"), target_arch = \\\"x86\\\", all(target_arch = \\\"x86_64\\\", target_pointer_width = \\\"64\\\"))))\"},{\"kind\":\"dev\",\"name\":\"memoffset\",\"req\":\"^0.9.0\"},{\"kind\":\"dev\",\"name\":\"once_cell\",\"req\":\"^1.20.3\",\"target\":\"cfg(windows)\"},{\"name\":\"rustc-std-workspace-alloc\",\"optional\":true,\"req\":\"^1.0.0\"},{\"kind\":\"dev\",\"name\":\"serial_test\",\"req\":\"^2.0.0\"},{\"kind\":\"dev\",\"name\":\"static_assertions\",\"req\":\"^1.1.0\"},{\"kind\":\"dev\",\"name\":\"tempfile\",\"req\":\"^3.5.0\"},{\"features\":[\"Win32_Foundation\",\"Win32_Networking_WinSock\"],\"name\":\"windows-sys\",\"req\":\">=0.52, <0.62\",\"target\":\"cfg(windows)\"}],\"features\":{\"all-apis\":[\"event\",\"fs\",\"io_uring\",\"mm\",\"mount\",\"net\",\"param\",\"pipe\",\"process\",\"pty\",\"rand\",\"runtime\",\"shm\",\"stdio\",\"system\",\"termios\",\"thread\",\"time\"],\"alloc\":[],\"default\":[\"std\"],\"event\":[],\"fs\":[],\"io_uring\":[\"event\",\"fs\",\"net\",\"thread\",\"linux-raw-sys/io_uring\"],\"linux_4_11\":[],\"linux_5_1\":[\"linux_4_11\"],\"linux_5_11\":[\"linux_5_1\"],\"linux_latest\":[\"linux_5_11\"],\"mm\":[],\"mount\":[],\"net\":[\"linux-raw-sys/net\",\"linux-raw-sys/netlink\",\"linux-raw-sys/if_ether\",\"linux-raw-sys/xdp\"],\"param\":[],\"pipe\":[],\"process\":[\"linux-raw-sys/prctl\"],\"pty\":[\"fs\"],\"rand\":[],\"runtime\":[\"linux-raw-sys/prctl\"],\"rustc-dep-of-std\":[\"core\",\"rustc-std-workspace-alloc\",\"linux-raw-sys/rustc-dep-of-std\",\"bitflags/rustc-dep-of-std\"],\"shm\":[\"fs\"],\"std\":[\"bitflags/std\",\"alloc\",\"libc?/std\",\"libc_errno?/std\"],\"stdio\":[],\"system\":[\"linux-raw-sys/system\"],\"termios\":[],\"thread\":[\"linux-raw-sys/prctl\"],\"time\":[],\"try_close\":[],\"use-explicitly-provided-auxv\":[],\"use-libc\":[\"libc_errno\",\"libc\"],\"use-libc-auxv\":[]}}",
"rustls-native-certs_0.8.3": "{\"dependencies\":[{\"name\":\"openssl-probe\",\"req\":\"^0.2\",\"target\":\"cfg(all(unix, not(target_os = \\\"macos\\\")))\"},{\"features\":[\"std\"],\"name\":\"pki-types\",\"package\":\"rustls-pki-types\",\"req\":\"^1.10\"},{\"kind\":\"dev\",\"name\":\"ring\",\"req\":\"^0.17\"},{\"kind\":\"dev\",\"name\":\"rustls\",\"req\":\"^0.23\"},{\"kind\":\"dev\",\"name\":\"rustls-webpki\",\"req\":\"^0.103\"},{\"name\":\"schannel\",\"req\":\"^0.1\",\"target\":\"cfg(windows)\"},{\"name\":\"security-framework\",\"req\":\"^3\",\"target\":\"cfg(target_os = \\\"macos\\\")\"},{\"kind\":\"dev\",\"name\":\"serial_test\",\"req\":\"^3\"},{\"kind\":\"dev\",\"name\":\"tempfile\",\"req\":\"^3.5\"},{\"kind\":\"dev\",\"name\":\"untrusted\",\"req\":\"^0.9\"},{\"kind\":\"dev\",\"name\":\"webpki-roots\",\"req\":\"^1\"},{\"kind\":\"dev\",\"name\":\"x509-parser\",\"req\":\"^0.18\"}],\"features\":{}}",
"rustls-pki-types_1.14.0": "{\"dependencies\":[{\"kind\":\"dev\",\"name\":\"crabgrind\",\"req\":\"=0.1.9\",\"target\":\"cfg(all(target_os = \\\"linux\\\", target_arch = \\\"x86_64\\\"))\"},{\"name\":\"web-time\",\"optional\":true,\"req\":\"^1\",\"target\":\"cfg(all(target_family = \\\"wasm\\\", target_os = \\\"unknown\\\"))\"},{\"name\":\"zeroize\",\"optional\":true,\"req\":\"^1\"}],\"features\":{\"alloc\":[\"dep:zeroize\"],\"default\":[\"alloc\"],\"std\":[\"alloc\"],\"web\":[\"web-time\"]}}",
+ "rustls-platform-verifier-android_0.1.1": "{\"dependencies\":[],\"features\":{}}",
+ "rustls-platform-verifier_0.7.0": "{\"dependencies\":[{\"name\":\"android_logger\",\"optional\":true,\"req\":\"^0.15\",\"target\":\"cfg(target_os = \\\"android\\\")\"},{\"name\":\"base64\",\"optional\":true,\"req\":\"^0.22\"},{\"name\":\"core-foundation\",\"req\":\"^0.10\",\"target\":\"cfg(any(target_vendor = \\\"apple\\\"))\"},{\"name\":\"core-foundation-sys\",\"req\":\"^0.8\",\"target\":\"cfg(any(target_vendor = \\\"apple\\\"))\"},{\"default_features\":false,\"name\":\"jni\",\"req\":\"^0.22\",\"target\":\"cfg(target_os = \\\"android\\\")\"},{\"default_features\":false,\"name\":\"jni\",\"optional\":true,\"req\":\"^0.22.4\"},{\"name\":\"log\",\"req\":\"^0.4\"},{\"name\":\"once_cell\",\"req\":\"^1.9\",\"target\":\"cfg(target_os = \\\"android\\\")\"},{\"name\":\"once_cell\",\"optional\":true,\"req\":\"^1.9\"},{\"default_features\":false,\"features\":[\"std\"],\"name\":\"rustls\",\"req\":\"^0.23.27\"},{\"default_features\":false,\"features\":[\"ring\"],\"kind\":\"dev\",\"name\":\"rustls\",\"req\":\"^0.23\"},{\"name\":\"rustls-native-certs\",\"req\":\"^0.8\",\"target\":\"cfg(all(unix, not(target_os = \\\"android\\\"), not(target_vendor = \\\"apple\\\"), not(target_arch = \\\"wasm32\\\")))\"},{\"name\":\"rustls-platform-verifier-android\",\"req\":\"^0.1.0\",\"target\":\"cfg(target_os = \\\"android\\\")\"},{\"name\":\"security-framework\",\"req\":\"^3.5.0\",\"target\":\"cfg(any(target_vendor = \\\"apple\\\"))\"},{\"name\":\"security-framework-sys\",\"req\":\"^2.15\",\"target\":\"cfg(any(target_vendor = \\\"apple\\\"))\"},{\"default_features\":false,\"name\":\"webpki\",\"package\":\"rustls-webpki\",\"req\":\"^0.103\",\"target\":\"cfg(all(unix, not(target_os = \\\"android\\\"), not(target_vendor = \\\"apple\\\"), not(target_arch = \\\"wasm32\\\")))\"},{\"default_features\":false,\"name\":\"webpki\",\"package\":\"rustls-webpki\",\"req\":\"^0.103\",\"target\":\"cfg(target_arch = \\\"wasm32\\\")\"},{\"default_features\":false,\"name\":\"webpki\",\"package\":\"rustls-webpki\",\"req\":\"^0.103\",\"target\":\"cfg(target_os = \\\"android\\\")\"},{\"name\":\"webpki-root-certs\",\"req\":\"^1\",\"target\":\"cfg(target_arch = \\\"wasm32\\\")\"},{\"kind\":\"dev\",\"name\":\"webpki-root-certs\",\"req\":\"^1\"},{\"default_features\":false,\"features\":[\"Win32_Foundation\",\"Win32_Security_Cryptography\"],\"name\":\"windows-sys\",\"req\":\">=0.52.0, <0.62.0\",\"target\":\"cfg(windows)\"}],\"features\":{\"cert-logging\":[\"base64\"],\"dbg\":[],\"docsrs\":[\"jni\",\"once_cell\"],\"ffi-testing\":[\"android_logger\",\"rustls/ring\"]}}",
"rustls-webpki_0.103.13": "{\"dependencies\":[{\"default_features\":false,\"name\":\"aws-lc-rs\",\"optional\":true,\"req\":\"^1.14\"},{\"kind\":\"dev\",\"name\":\"base64\",\"req\":\"^0.22\"},{\"kind\":\"dev\",\"name\":\"bencher\",\"req\":\"^0.1.5\"},{\"kind\":\"dev\",\"name\":\"bzip2\",\"req\":\"^0.6\"},{\"kind\":\"dev\",\"name\":\"once_cell\",\"req\":\"^1.17.2\"},{\"default_features\":false,\"name\":\"pki-types\",\"package\":\"rustls-pki-types\",\"req\":\"^1.12\"},{\"default_features\":false,\"features\":[\"aws_lc_rs\"],\"kind\":\"dev\",\"name\":\"rcgen\",\"req\":\"^0.14.2\"},{\"default_features\":false,\"name\":\"ring\",\"optional\":true,\"req\":\"^0.17\"},{\"features\":[\"derive\"],\"kind\":\"dev\",\"name\":\"serde\",\"req\":\"^1.0\"},{\"kind\":\"dev\",\"name\":\"serde_json\",\"req\":\"^1.0\"},{\"name\":\"untrusted\",\"req\":\"^0.9\"},{\"kind\":\"dev\",\"name\":\"x509-parser\",\"req\":\"^0.18.1\"}],\"features\":{\"alloc\":[\"ring?/alloc\",\"pki-types/alloc\"],\"aws-lc-rs\":[\"dep:aws-lc-rs\",\"aws-lc-rs/aws-lc-sys\",\"aws-lc-rs/prebuilt-nasm\"],\"aws-lc-rs-fips\":[\"dep:aws-lc-rs\",\"aws-lc-rs/fips\"],\"aws-lc-rs-unstable\":[\"aws-lc-rs\",\"aws-lc-rs/unstable\"],\"default\":[\"std\"],\"ring\":[\"dep:ring\"],\"std\":[\"alloc\",\"pki-types/std\"]}}",
"rustls_0.23.36": "{\"dependencies\":[{\"default_features\":false,\"name\":\"aws-lc-rs\",\"optional\":true,\"req\":\"^1.14\"},{\"kind\":\"dev\",\"name\":\"base64\",\"req\":\"^0.22\"},{\"kind\":\"dev\",\"name\":\"bencher\",\"req\":\"^0.1.5\"},{\"default_features\":false,\"features\":[\"std\"],\"name\":\"brotli\",\"optional\":true,\"req\":\"^8\"},{\"name\":\"brotli-decompressor\",\"optional\":true,\"req\":\"^5.0.0\"},{\"kind\":\"dev\",\"name\":\"env_logger\",\"req\":\"^0.11\"},{\"default_features\":false,\"features\":[\"default-hasher\",\"inline-more\"],\"name\":\"hashbrown\",\"optional\":true,\"req\":\"^0.15\"},{\"kind\":\"dev\",\"name\":\"hex\",\"req\":\"^0.4\"},{\"name\":\"log\",\"optional\":true,\"req\":\"^0.4.8\"},{\"kind\":\"dev\",\"name\":\"log\",\"req\":\"^0.4.8\"},{\"kind\":\"dev\",\"name\":\"macro_rules_attribute\",\"req\":\"^0.2\"},{\"kind\":\"dev\",\"name\":\"num-bigint\",\"req\":\"^0.4.4\"},{\"default_features\":false,\"features\":[\"alloc\",\"race\"],\"name\":\"once_cell\",\"req\":\"^1.16\"},{\"features\":[\"alloc\"],\"name\":\"pki-types\",\"package\":\"rustls-pki-types\",\"req\":\"^1.12\"},{\"default_features\":false,\"features\":[\"pem\",\"aws_lc_rs\"],\"kind\":\"dev\",\"name\":\"rcgen\",\"req\":\"^0.14\"},{\"name\":\"ring\",\"optional\":true,\"req\":\"^0.17\"},{\"kind\":\"build\",\"name\":\"rustversion\",\"optional\":true,\"req\":\"^1.0.6\"},{\"features\":[\"derive\"],\"kind\":\"dev\",\"name\":\"serde\",\"req\":\"^1\"},{\"kind\":\"dev\",\"name\":\"serde_json\",\"req\":\"^1\"},{\"default_features\":false,\"name\":\"subtle\",\"req\":\"^2.5.0\"},{\"default_features\":false,\"kind\":\"dev\",\"name\":\"time\",\"req\":\"^0.3.6\"},{\"default_features\":false,\"features\":[\"alloc\"],\"name\":\"webpki\",\"package\":\"rustls-webpki\",\"req\":\"^0.103.5\"},{\"kind\":\"dev\",\"name\":\"webpki-roots\",\"req\":\"^1\"},{\"kind\":\"dev\",\"name\":\"x509-parser\",\"req\":\"^0.17\"},{\"name\":\"zeroize\",\"req\":\"^1.8\"},{\"name\":\"zlib-rs\",\"optional\":true,\"req\":\"^0.5\"}],\"features\":{\"aws-lc-rs\":[\"aws_lc_rs\"],\"aws_lc_rs\":[\"dep:aws-lc-rs\",\"webpki/aws-lc-rs\",\"aws-lc-rs/aws-lc-sys\",\"aws-lc-rs/prebuilt-nasm\"],\"brotli\":[\"dep:brotli\",\"dep:brotli-decompressor\",\"std\"],\"custom-provider\":[],\"default\":[\"aws_lc_rs\",\"logging\",\"prefer-post-quantum\",\"std\",\"tls12\"],\"fips\":[\"aws_lc_rs\",\"aws-lc-rs?/fips\",\"webpki/aws-lc-rs-fips\"],\"logging\":[\"log\"],\"prefer-post-quantum\":[\"aws_lc_rs\"],\"read_buf\":[\"rustversion\",\"std\"],\"ring\":[\"dep:ring\",\"webpki/ring\"],\"std\":[\"webpki/std\",\"pki-types/std\",\"once_cell/std\"],\"tls12\":[],\"zlib\":[\"dep:zlib-rs\"]}}",
"rustversion_1.0.22": "{\"dependencies\":[{\"features\":[\"diff\"],\"kind\":\"dev\",\"name\":\"trybuild\",\"req\":\"^1.0.49\"}],\"features\":{}}",
@@ -1525,6 +1532,7 @@
"signal-hook_0.3.18": "{\"dependencies\":[{\"kind\":\"build\",\"name\":\"cc\",\"optional\":true,\"req\":\"^1\"},{\"name\":\"libc\",\"req\":\"^0.2\"},{\"kind\":\"dev\",\"name\":\"serial_test\",\"req\":\"^0.7\"},{\"name\":\"signal-hook-registry\",\"req\":\"^1.4\"}],\"features\":{\"channel\":[],\"default\":[\"channel\",\"iterator\"],\"extended-siginfo\":[\"channel\",\"iterator\",\"extended-siginfo-raw\"],\"extended-siginfo-raw\":[\"cc\"],\"iterator\":[\"channel\"]}}",
"signature_2.2.0": "{\"dependencies\":[{\"name\":\"derive\",\"optional\":true,\"package\":\"signature_derive\",\"req\":\"^2\"},{\"default_features\":false,\"name\":\"digest\",\"optional\":true,\"req\":\"^0.10.6\"},{\"kind\":\"dev\",\"name\":\"hex-literal\",\"req\":\"^0.4\"},{\"default_features\":false,\"name\":\"rand_core\",\"optional\":true,\"req\":\"^0.6.4\"},{\"default_features\":false,\"kind\":\"dev\",\"name\":\"sha2\",\"req\":\"^0.10\"}],\"features\":{\"alloc\":[],\"std\":[\"alloc\",\"rand_core?/std\"]}}",
"simd-adler32_0.3.8": "{\"dependencies\":[{\"kind\":\"dev\",\"name\":\"adler\",\"req\":\"^1.0.2\"},{\"kind\":\"dev\",\"name\":\"adler32\",\"req\":\"^1.2.0\"},{\"kind\":\"dev\",\"name\":\"criterion\",\"req\":\"^0.3\"},{\"kind\":\"dev\",\"name\":\"rand\",\"req\":\"^0.8\"}],\"features\":{\"const-generics\":[],\"default\":[\"std\",\"const-generics\"],\"nightly\":[],\"std\":[]}}",
+ "simd_cesu8_1.1.1": "{\"dependencies\":[{\"kind\":\"dev\",\"name\":\"cesu8\",\"req\":\"^1.1.0\"},{\"features\":[\"html_reports\"],\"kind\":\"dev\",\"name\":\"criterion\",\"req\":\"^0.5.1\"},{\"kind\":\"build\",\"name\":\"rustc_version\",\"req\":\"^0.4.0\"},{\"default_features\":false,\"name\":\"simdutf8\",\"req\":\"^0.1.4\"}],\"features\":{\"bench\":[],\"default\":[\"std\"],\"nightly\":[],\"std\":[\"simdutf8/std\"]}}",
"simdutf8_0.1.5": "{\"dependencies\":[],\"features\":{\"aarch64_neon\":[],\"aarch64_neon_prefetch\":[],\"default\":[\"std\"],\"hints\":[],\"public_imp\":[],\"std\":[]}}",
"similar_2.7.0": "{\"dependencies\":[{\"default_features\":false,\"name\":\"bstr\",\"optional\":true,\"req\":\"^1.5.0\"},{\"kind\":\"dev\",\"name\":\"console\",\"req\":\"^0.15.0\"},{\"kind\":\"dev\",\"name\":\"insta\",\"req\":\"^1.10.0\"},{\"features\":[\"derive\"],\"name\":\"serde\",\"optional\":true,\"req\":\"^1.0.130\"},{\"kind\":\"dev\",\"name\":\"serde_json\",\"req\":\"^1.0.68\"},{\"name\":\"unicode-segmentation\",\"optional\":true,\"req\":\"^1.7.1\"},{\"name\":\"web-time\",\"optional\":true,\"req\":\"^1.1\"}],\"features\":{\"bytes\":[\"bstr\",\"text\"],\"default\":[\"text\"],\"inline\":[\"text\"],\"text\":[],\"unicode\":[\"text\",\"unicode-segmentation\",\"bstr?/unicode\",\"bstr?/std\"],\"wasm32_web_time\":[\"web-time\"]}}",
"simple_asn1_0.6.4": "{\"dependencies\":[{\"default_features\":false,\"name\":\"num-bigint\",\"req\":\"^0.4\"},{\"default_features\":false,\"name\":\"num-traits\",\"req\":\"^0.2\"},{\"kind\":\"dev\",\"name\":\"quickcheck\",\"req\":\"^1.0.3\"},{\"kind\":\"dev\",\"name\":\"rand\",\"req\":\"^0.8.4\"},{\"default_features\":false,\"name\":\"thiserror\",\"req\":\"^2\"},{\"default_features\":false,\"features\":[\"formatting\",\"macros\",\"parsing\"],\"name\":\"time\",\"req\":\"^0.3.47\"},{\"default_features\":false,\"features\":[\"formatting\",\"macros\",\"parsing\",\"quickcheck\"],\"kind\":\"dev\",\"name\":\"time\",\"req\":\"^0.3\"}],\"features\":{}}",
@@ -1719,6 +1727,7 @@
"wasm-encoder_0.244.0": "{\"dependencies\":[{\"kind\":\"dev\",\"name\":\"anyhow\",\"req\":\"^1.0.58\"},{\"default_features\":false,\"name\":\"leb128fmt\",\"req\":\"^0.1.0\"},{\"kind\":\"dev\",\"name\":\"tempfile\",\"req\":\"^3.2.0\"},{\"default_features\":false,\"features\":[\"simd\",\"simd\"],\"name\":\"wasmparser\",\"optional\":true,\"req\":\"^0.244.0\"},{\"default_features\":false,\"kind\":\"dev\",\"name\":\"wasmprinter\",\"req\":\"^0.244.0\"}],\"features\":{\"component-model\":[\"wasmparser?/component-model\"],\"default\":[\"std\",\"component-model\"],\"std\":[\"wasmparser?/std\"]}}",
"wasm-metadata_0.244.0": "{\"dependencies\":[{\"name\":\"anyhow\",\"req\":\"^1.0.58\"},{\"name\":\"auditable-serde\",\"optional\":true,\"req\":\"^0.8.0\"},{\"features\":[\"derive\"],\"name\":\"clap\",\"optional\":true,\"req\":\"^4.0.0\"},{\"name\":\"flate2\",\"optional\":true,\"req\":\"^1.1.0\"},{\"default_features\":false,\"features\":[\"serde\"],\"name\":\"indexmap\",\"req\":\"^2.7.0\"},{\"default_features\":false,\"features\":[\"alloc\"],\"name\":\"serde\",\"optional\":true,\"req\":\"^1.0.166\"},{\"name\":\"serde_derive\",\"optional\":true,\"req\":\"^1.0.166\"},{\"name\":\"serde_json\",\"optional\":true,\"req\":\"^1\"},{\"name\":\"spdx\",\"optional\":true,\"req\":\"^0.10.1\"},{\"name\":\"url\",\"optional\":true,\"req\":\"^2.0.0\"},{\"default_features\":false,\"features\":[\"std\",\"component-model\"],\"name\":\"wasm-encoder\",\"req\":\"^0.244.0\"},{\"default_features\":false,\"features\":[\"simd\",\"std\",\"component-model\",\"hash-collections\"],\"name\":\"wasmparser\",\"req\":\"^0.244.0\"}],\"features\":{\"default\":[\"oci\",\"serde\"],\"oci\":[\"dep:auditable-serde\",\"dep:flate2\",\"dep:url\",\"dep:spdx\",\"dep:serde_json\",\"serde\"],\"serde\":[\"dep:serde_derive\",\"dep:serde\"]}}",
"wasm-streams_0.4.2": "{\"dependencies\":[{\"features\":[\"io\",\"sink\"],\"name\":\"futures-util\",\"req\":\"^0.3.31\"},{\"features\":[\"futures\"],\"kind\":\"dev\",\"name\":\"gloo-timers\",\"req\":\"^0.3.0\"},{\"name\":\"js-sys\",\"req\":\"^0.3.72\"},{\"kind\":\"dev\",\"name\":\"pin-project\",\"req\":\"^1\"},{\"features\":[\"macros\",\"rt\"],\"kind\":\"dev\",\"name\":\"tokio\",\"req\":\"^1\"},{\"name\":\"wasm-bindgen\",\"req\":\"^0.2.95\"},{\"name\":\"wasm-bindgen-futures\",\"req\":\"^0.4.45\"},{\"kind\":\"dev\",\"name\":\"wasm-bindgen-test\",\"req\":\"^0.3.45\"},{\"features\":[\"AbortSignal\",\"QueuingStrategy\",\"ReadableStream\",\"ReadableStreamType\",\"ReadableWritablePair\",\"ReadableStreamByobReader\",\"ReadableStreamReaderMode\",\"ReadableStreamReadResult\",\"ReadableStreamByobRequest\",\"ReadableStreamDefaultReader\",\"ReadableByteStreamController\",\"ReadableStreamGetReaderOptions\",\"ReadableStreamDefaultController\",\"StreamPipeOptions\",\"TransformStream\",\"TransformStreamDefaultController\",\"Transformer\",\"UnderlyingSink\",\"UnderlyingSource\",\"WritableStream\",\"WritableStreamDefaultController\",\"WritableStreamDefaultWriter\"],\"name\":\"web-sys\",\"req\":\"^0.3.72\"},{\"features\":[\"console\",\"AbortSignal\",\"ErrorEvent\",\"PromiseRejectionEvent\",\"Response\",\"ReadableStream\",\"Window\"],\"kind\":\"dev\",\"name\":\"web-sys\",\"req\":\"^0.3.72\"}],\"features\":{}}",
+ "wasm-streams_0.5.0": "{\"dependencies\":[{\"features\":[\"io\",\"sink\"],\"name\":\"futures-util\",\"req\":\"^0.3.31\"},{\"features\":[\"futures\"],\"kind\":\"dev\",\"name\":\"gloo-timers\",\"req\":\"^0.3.0\"},{\"name\":\"js-sys\",\"req\":\"^0.3.85\"},{\"kind\":\"dev\",\"name\":\"pin-project\",\"req\":\"^1\"},{\"features\":[\"macros\",\"rt\"],\"kind\":\"dev\",\"name\":\"tokio\",\"req\":\"^1\"},{\"name\":\"wasm-bindgen\",\"req\":\"^0.2.108\"},{\"name\":\"wasm-bindgen-futures\",\"req\":\"^0.4.58\"},{\"kind\":\"dev\",\"name\":\"wasm-bindgen-test\",\"req\":\"^0.3.58\"},{\"features\":[\"AbortSignal\",\"QueuingStrategy\",\"ReadableStream\",\"ReadableStreamType\",\"ReadableWritablePair\",\"ReadableStreamByobReader\",\"ReadableStreamReaderMode\",\"ReadableStreamReadResult\",\"ReadableStreamByobRequest\",\"ReadableStreamDefaultReader\",\"ReadableByteStreamController\",\"ReadableStreamGetReaderOptions\",\"ReadableStreamDefaultController\",\"StreamPipeOptions\",\"TransformStream\",\"TransformStreamDefaultController\",\"Transformer\",\"UnderlyingSink\",\"UnderlyingSource\",\"WritableStream\",\"WritableStreamDefaultController\",\"WritableStreamDefaultWriter\"],\"name\":\"web-sys\",\"req\":\"^0.3.85\"},{\"features\":[\"console\",\"AbortSignal\",\"ErrorEvent\",\"PromiseRejectionEvent\",\"Response\",\"ReadableStream\",\"Window\"],\"kind\":\"dev\",\"name\":\"web-sys\",\"req\":\"^0.3.85\"}],\"features\":{}}",
"wasmparser_0.244.0": "{\"dependencies\":[{\"kind\":\"dev\",\"name\":\"anyhow\",\"req\":\"^1.0.58\"},{\"name\":\"bitflags\",\"req\":\"^2.4.1\"},{\"default_features\":false,\"kind\":\"dev\",\"name\":\"criterion\",\"req\":\"^0.5.1\"},{\"kind\":\"dev\",\"name\":\"env_logger\",\"req\":\"^0.11\"},{\"default_features\":false,\"features\":[\"default-hasher\"],\"name\":\"hashbrown\",\"optional\":true,\"req\":\"^0.15.2\"},{\"default_features\":false,\"name\":\"indexmap\",\"optional\":true,\"req\":\"^2.7.0\"},{\"kind\":\"dev\",\"name\":\"log\",\"req\":\"^0.4.17\"},{\"kind\":\"dev\",\"name\":\"once_cell\",\"req\":\"^1.13.0\"},{\"kind\":\"dev\",\"name\":\"rayon\",\"req\":\"^1.3\"},{\"default_features\":false,\"name\":\"semver\",\"optional\":true,\"req\":\"^1.0.0\"},{\"default_features\":false,\"features\":[\"alloc\"],\"name\":\"serde\",\"optional\":true,\"req\":\"^1.0.166\"}],\"features\":{\"component-model\":[\"dep:semver\"],\"default\":[\"std\",\"validate\",\"serde\",\"features\",\"component-model\",\"hash-collections\",\"simd\"],\"features\":[],\"hash-collections\":[\"dep:hashbrown\",\"dep:indexmap\"],\"prefer-btree-collections\":[],\"serde\":[\"dep:serde\",\"indexmap?/serde\",\"hashbrown?/serde\"],\"simd\":[],\"std\":[\"indexmap?/std\"],\"validate\":[]}}",
"wayland-backend_0.3.12": "{\"dependencies\":[{\"kind\":\"build\",\"name\":\"cc\",\"req\":\"^1.0\"},{\"kind\":\"dev\",\"name\":\"concat-idents\",\"req\":\"^1.1\"},{\"name\":\"downcast-rs\",\"req\":\"^1.2\"},{\"kind\":\"dev\",\"name\":\"env_logger\",\"req\":\"^0.10\"},{\"name\":\"log\",\"optional\":true,\"req\":\"^0.4\"},{\"name\":\"raw-window-handle\",\"optional\":true,\"req\":\"^0.5.0\"},{\"features\":[\"event\",\"fs\",\"net\",\"process\"],\"name\":\"rustix\",\"req\":\"^1.0.2\"},{\"name\":\"rwh_06\",\"optional\":true,\"package\":\"raw-window-handle\",\"req\":\"^0.6.0\"},{\"name\":\"scoped-tls\",\"optional\":true,\"req\":\"^1.0\"},{\"kind\":\"dev\",\"name\":\"scoped-tls\",\"req\":\"^1.0\"},{\"features\":[\"union\",\"const_generics\",\"const_new\"],\"name\":\"smallvec\",\"req\":\"^1.9\"},{\"name\":\"wayland-sys\",\"req\":\"^0.31.8\"}],\"features\":{\"client_system\":[\"wayland-sys/client\",\"dep:scoped-tls\"],\"dlopen\":[\"wayland-sys/dlopen\"],\"server_system\":[\"wayland-sys/server\",\"dep:scoped-tls\"]}}",
"wayland-client_0.31.12": "{\"dependencies\":[{\"name\":\"bitflags\",\"req\":\"^2\"},{\"kind\":\"dev\",\"name\":\"futures-channel\",\"req\":\"^0.3.16\"},{\"kind\":\"dev\",\"name\":\"futures-util\",\"req\":\"^0.3\"},{\"name\":\"log\",\"optional\":true,\"req\":\"^0.4\"},{\"features\":[\"event\"],\"name\":\"rustix\",\"req\":\"^1.0.2\"},{\"kind\":\"dev\",\"name\":\"tempfile\",\"req\":\"^3.2\"},{\"name\":\"wayland-backend\",\"req\":\"^0.3.12\"},{\"name\":\"wayland-scanner\",\"req\":\"^0.31.8\"}],\"features\":{}}",
diff --git a/codex-rs/Cargo.lock b/codex-rs/Cargo.lock
index f29ad2aa0a..aac0d6f90c 100644
--- a/codex-rs/Cargo.lock
+++ b/codex-rs/Cargo.lock
@@ -1147,7 +1147,6 @@ dependencies = [
"axum-core",
"base64 0.22.1",
"bytes",
- "form_urlencoded",
"futures-util",
"http 1.4.0",
"http-body 1.0.1",
@@ -1163,7 +1162,6 @@ dependencies = [
"serde_core",
"serde_json",
"serde_path_to_error",
- "serde_urlencoded",
"sha1 0.10.6",
"sync_wrapper",
"tokio",
@@ -1171,7 +1169,6 @@ dependencies = [
"tower",
"tower-layer",
"tower-service",
- "tracing",
]
[[package]]
@@ -1190,7 +1187,6 @@ dependencies = [
"sync_wrapper",
"tower-layer",
"tower-service",
- "tracing",
]
[[package]]
@@ -1830,7 +1826,7 @@ dependencies = [
"jsonwebtoken",
"pretty_assertions",
"rand 0.9.3",
- "reqwest",
+ "reqwest 0.12.28",
"serde",
"serde_json",
"sha2 0.10.9",
@@ -1884,7 +1880,7 @@ dependencies = [
"http 1.4.0",
"pretty_assertions",
"regex-lite",
- "reqwest",
+ "reqwest 0.12.28",
"schemars 0.8.22",
"serde",
"serde_json",
@@ -1963,7 +1959,7 @@ dependencies = [
"opentelemetry",
"opentelemetry_sdk",
"pretty_assertions",
- "reqwest",
+ "reqwest 0.12.28",
"rmcp",
"serde",
"serde_json",
@@ -2026,7 +2022,7 @@ dependencies = [
"futures",
"libc",
"pretty_assertions",
- "reqwest",
+ "reqwest 0.12.28",
"serde",
"serde_json",
"sha2 0.10.9",
@@ -2195,7 +2191,7 @@ dependencies = [
"codex-model-provider",
"codex-protocol",
"pretty_assertions",
- "reqwest",
+ "reqwest 0.12.28",
"serde",
"serde_json",
]
@@ -2331,7 +2327,7 @@ dependencies = [
"pretty_assertions",
"rand 0.9.3",
"rcgen",
- "reqwest",
+ "reqwest 0.12.28",
"rustls",
"rustls-native-certs",
"rustls-pki-types",
@@ -2393,7 +2389,7 @@ dependencies = [
"owo-colors",
"pretty_assertions",
"ratatui",
- "reqwest",
+ "reqwest 0.12.28",
"serde",
"serde_json",
"supports-color 3.0.2",
@@ -2603,7 +2599,7 @@ dependencies = [
"pretty_assertions",
"rand 0.9.3",
"regex-lite",
- "reqwest",
+ "reqwest 0.12.28",
"rmcp",
"serde",
"serde_json",
@@ -2676,7 +2672,7 @@ dependencies = [
"flate2",
"libc",
"pretty_assertions",
- "reqwest",
+ "reqwest 0.12.28",
"semver",
"serde",
"serde_json",
@@ -2805,7 +2801,7 @@ dependencies = [
"http 1.4.0",
"pretty_assertions",
"prost 0.14.3",
- "reqwest",
+ "reqwest 0.12.28",
"serde",
"serde_json",
"serial_test",
@@ -3091,7 +3087,7 @@ version = "0.0.0"
dependencies = [
"codex-core",
"codex-model-provider-info",
- "reqwest",
+ "reqwest 0.12.28",
"serde_json",
"tokio",
"tracing",
@@ -3125,7 +3121,7 @@ dependencies = [
"pretty_assertions",
"rand 0.9.3",
"regex-lite",
- "reqwest",
+ "reqwest 0.12.28",
"serde",
"serde_json",
"serial_test",
@@ -3389,7 +3385,7 @@ dependencies = [
"codex-model-provider-info",
"futures",
"pretty_assertions",
- "reqwest",
+ "reqwest 0.12.28",
"semver",
"serde_json",
"tokio",
@@ -3417,7 +3413,7 @@ dependencies = [
"opentelemetry_sdk",
"os_info",
"pretty_assertions",
- "reqwest",
+ "reqwest 0.12.28",
"serde",
"serde_json",
"strum_macros 0.28.0",
@@ -3469,7 +3465,7 @@ dependencies = [
"landlock",
"pretty_assertions",
"quick-xml",
- "reqwest",
+ "reqwest 0.12.28",
"schemars 0.8.22",
"seccompiler",
"serde",
@@ -3517,7 +3513,7 @@ dependencies = [
"ctor 0.6.3",
"libc",
"pretty_assertions",
- "reqwest",
+ "reqwest 0.12.28",
"serde",
"serde_json",
"tiny_http",
@@ -3545,7 +3541,7 @@ dependencies = [
"keyring",
"oauth2",
"pretty_assertions",
- "reqwest",
+ "reqwest 0.13.4",
"rmcp",
"serde",
"serde_json",
@@ -3879,7 +3875,7 @@ dependencies = [
"ratatui",
"ratatui-macros",
"regex-lite",
- "reqwest",
+ "reqwest 0.12.28",
"rmcp",
"serde",
"serde_json",
@@ -4450,7 +4446,7 @@ dependencies = [
"opentelemetry_sdk",
"pretty_assertions",
"regex-lite",
- "reqwest",
+ "reqwest 0.12.28",
"serde_json",
"shlex",
"similar",
@@ -4495,7 +4491,7 @@ dependencies = [
"core-foundation-sys",
"coreaudio-rs",
"dasp_sample",
- "jni",
+ "jni 0.21.1",
"js-sys",
"libc",
"mach2",
@@ -8239,19 +8235,68 @@ dependencies = [
"cesu8",
"cfg-if",
"combine",
- "jni-sys",
+ "jni-sys 0.3.0",
"log",
"thiserror 1.0.69",
"walkdir",
"windows-sys 0.45.0",
]
+[[package]]
+name = "jni"
+version = "0.22.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498"
+dependencies = [
+ "cfg-if",
+ "combine",
+ "jni-macros",
+ "jni-sys 0.4.1",
+ "log",
+ "simd_cesu8",
+ "thiserror 2.0.18",
+ "walkdir",
+ "windows-link",
+]
+
+[[package]]
+name = "jni-macros"
+version = "0.22.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "rustc_version",
+ "simd_cesu8",
+ "syn 2.0.114",
+]
+
[[package]]
name = "jni-sys"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130"
+[[package]]
+name = "jni-sys"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2"
+dependencies = [
+ "jni-sys-macros",
+]
+
+[[package]]
+name = "jni-sys-macros"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264"
+dependencies = [
+ "quote",
+ "syn 2.0.114",
+]
+
[[package]]
name = "jobserver"
version = "0.1.34"
@@ -8460,7 +8505,7 @@ source = "git+https://github.com/juberti-oai/rust-sdks.git?rev=e2d1d1d230c6fc9df
dependencies = [
"cxx",
"glib",
- "jni",
+ "jni 0.21.1",
"js-sys",
"lazy_static",
"livekit-protocol",
@@ -8901,7 +8946,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2076a31b7010b17a38c01907c45b945e8f11495ee4dd588309718901b1f7a5b7"
dependencies = [
"bitflags 2.10.0",
- "jni-sys",
+ "jni-sys 0.3.0",
"log",
"ndk-sys",
"num_enum",
@@ -8920,7 +8965,7 @@ version = "0.5.0+25.2.9519653"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8c196769dd60fd4f363e11d948139556a344e79d451aeb2fa2fd040738ef7691"
dependencies = [
- "jni-sys",
+ "jni-sys 0.3.0",
]
[[package]]
@@ -9203,7 +9248,7 @@ dependencies = [
"getrandom 0.2.17",
"http 1.4.0",
"rand 0.8.5",
- "reqwest",
+ "reqwest 0.12.28",
"serde",
"serde_json",
"serde_path_to_error",
@@ -9398,7 +9443,7 @@ version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e8b61bebd49e5d43f5f8cc7ee2891c16e0f41ec7954d36bcb6c14c5e0de867fb"
dependencies = [
- "jni",
+ "jni 0.21.1",
"ndk",
"ndk-context",
"num-derive",
@@ -9564,7 +9609,7 @@ dependencies = [
"bytes",
"http 1.4.0",
"opentelemetry",
- "reqwest",
+ "reqwest 0.12.28",
]
[[package]]
@@ -9579,7 +9624,7 @@ dependencies = [
"opentelemetry-proto",
"opentelemetry_sdk",
"prost 0.14.3",
- "reqwest",
+ "reqwest 0.12.28",
"serde_json",
"thiserror 2.0.18",
"tokio",
@@ -10401,6 +10446,7 @@ version = "0.11.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "434b42fec591c96ef50e21e886936e66d3cc3f737104fdb9b737c40ffb94c098"
dependencies = [
+ "aws-lc-rs",
"bytes",
"getrandom 0.3.4",
"lru-slab",
@@ -11076,11 +11122,51 @@ dependencies = [
"url",
"wasm-bindgen",
"wasm-bindgen-futures",
- "wasm-streams",
+ "wasm-streams 0.4.2",
"web-sys",
"webpki-roots",
]
+[[package]]
+name = "reqwest"
+version = "0.13.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "219c5811de6525e5416c7d5d53bb656d3afdbc6c5af816e0802bcfa42dbdc1c3"
+dependencies = [
+ "base64 0.22.1",
+ "bytes",
+ "futures-core",
+ "futures-util",
+ "http 1.4.0",
+ "http-body 1.0.1",
+ "http-body-util",
+ "hyper",
+ "hyper-rustls",
+ "hyper-util",
+ "js-sys",
+ "log",
+ "percent-encoding",
+ "pin-project-lite",
+ "quinn",
+ "rustls",
+ "rustls-pki-types",
+ "rustls-platform-verifier",
+ "serde",
+ "serde_json",
+ "sync_wrapper",
+ "tokio",
+ "tokio-rustls",
+ "tokio-util",
+ "tower",
+ "tower-http",
+ "tower-service",
+ "url",
+ "wasm-bindgen",
+ "wasm-bindgen-futures",
+ "wasm-streams 0.5.0",
+ "web-sys",
+]
+
[[package]]
name = "resb"
version = "0.1.2"
@@ -11123,12 +11209,11 @@ dependencies = [
[[package]]
name = "rmcp"
-version = "0.15.0"
+version = "1.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1bef41ebc9ebed2c1b1d90203e9d1756091e8a00bbc3107676151f39868ca0ee"
+checksum = "0810a9f717d9828f475fe1f629f4c305c8464b7f496c3a854b58d29e65f4058e"
dependencies = [
"async-trait",
- "axum",
"base64 0.22.1",
"bytes",
"chrono",
@@ -11140,8 +11225,8 @@ dependencies = [
"pastey",
"pin-project-lite",
"process-wrap",
- "rand 0.9.3",
- "reqwest",
+ "rand 0.10.1",
+ "reqwest 0.13.4",
"rmcp-macros",
"schemars 1.2.1",
"serde",
@@ -11159,9 +11244,9 @@ dependencies = [
[[package]]
name = "rmcp-macros"
-version = "0.15.0"
+version = "1.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e88ad84b8b6237a934534a62b379a5be6388915663c0cc598ceb9b3292bbbfe"
+checksum = "6aefac48c364756e97f04c0401ba3231e8607882c7c1d92da0437dc16307904d"
dependencies = [
"darling 0.23.0",
"proc-macro2",
@@ -11325,6 +11410,33 @@ dependencies = [
"zeroize",
]
+[[package]]
+name = "rustls-platform-verifier"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "26d1e2536ce4f35f4846aa13bff16bd0ff40157cdb14cc056c7b14ba41233ba0"
+dependencies = [
+ "core-foundation 0.10.1",
+ "core-foundation-sys",
+ "jni 0.22.4",
+ "log",
+ "once_cell",
+ "rustls",
+ "rustls-native-certs",
+ "rustls-platform-verifier-android",
+ "rustls-webpki",
+ "security-framework 3.5.1",
+ "security-framework-sys",
+ "webpki-root-certs",
+ "windows-sys 0.52.0",
+]
+
+[[package]]
+name = "rustls-platform-verifier-android"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f"
+
[[package]]
name = "rustls-webpki"
version = "0.103.13"
@@ -11662,7 +11774,7 @@ checksum = "2f925d575b468e88b079faf590a8dd0c9c99e2ec29e9bab663ceb8b45056312f"
dependencies = [
"httpdate",
"native-tls",
- "reqwest",
+ "reqwest 0.12.28",
"sentry-actix",
"sentry-backtrace",
"sentry-contexts",
@@ -12115,6 +12227,16 @@ version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e320a6c5ad31d271ad523dcf3ad13e2767ad8b1cb8f047f75a8aeaf8da139da2"
+[[package]]
+name = "simd_cesu8"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "94f90157bb87cddf702797c5dadfa0be7d266cdf49e22da2fcaa32eff75b2c33"
+dependencies = [
+ "rustc_version",
+ "simdutf8",
+]
+
[[package]]
name = "simdutf8"
version = "0.1.5"
@@ -14105,6 +14227,19 @@ dependencies = [
"web-sys",
]
+[[package]]
+name = "wasm-streams"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9d1ec4f6517c9e11ae630e200b2b65d193279042e28edd4a2cda233e46670bbb"
+dependencies = [
+ "futures-util",
+ "js-sys",
+ "wasm-bindgen",
+ "wasm-bindgen-futures",
+ "web-sys",
+]
+
[[package]]
name = "wasmparser"
version = "0.244.0"
@@ -14214,7 +14349,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00f1243ef785213e3a32fa0396093424a3a6ea566f9948497e5a2309261a4c97"
dependencies = [
"core-foundation 0.10.1",
- "jni",
+ "jni 0.21.1",
"log",
"ndk-context",
"objc2",
@@ -14263,7 +14398,7 @@ dependencies = [
"anyhow",
"fs2",
"regex",
- "reqwest",
+ "reqwest 0.12.28",
"scratch",
"semver",
"zip 0.6.6",
diff --git a/codex-rs/Cargo.toml b/codex-rs/Cargo.toml
index c85a55890c..b1f9e4c31a 100644
--- a/codex-rs/Cargo.toml
+++ b/codex-rs/Cargo.toml
@@ -342,7 +342,7 @@ rcgen = { version = "0.14.7", default-features = false, features = [
regex = "1.12.3"
regex-lite = "0.1.8"
reqwest = { version = "0.12", features = ["cookies"] }
-rmcp = { version = "0.15.0", default-features = false }
+rmcp = { version = "1.7.0", default-features = false }
runfiles = { git = "https://github.com/dzbarsky/rules_rust", rev = "b56cbaa8465e74127f1ea216f813cd377295ad81" }
rustls = { version = "0.23", default-features = false, features = [
"ring",
diff --git a/codex-rs/app-server-protocol/src/protocol/v2/mcp.rs b/codex-rs/app-server-protocol/src/protocol/v2/mcp.rs
index 5f92e83059..31ec85a478 100644
--- a/codex-rs/app-server-protocol/src/protocol/v2/mcp.rs
+++ b/codex-rs/app-server-protocol/src/protocol/v2/mcp.rs
@@ -690,6 +690,7 @@ impl From<McpServerElicitationRequestResponse> for rmcp::model::CreateElicitatio
Self {
action: value.action.into(),
content: value.content,
+ meta: None,
}
}
}
diff --git a/codex-rs/app-server-protocol/src/protocol/v2/tests.rs b/codex-rs/app-server-protocol/src/protocol/v2/tests.rs
index c2b4f24b51..8bc01e93d9 100644
--- a/codex-rs/app-server-protocol/src/protocol/v2/tests.rs
+++ b/codex-rs/app-server-protocol/src/protocol/v2/tests.rs
@@ -1699,6 +1699,7 @@ fn mcp_server_elicitation_response_round_trips_rmcp_result() {
content: Some(json!({
"confirmed": true,
})),
+ meta: None,
};
let v2_response = McpServerElicitationRequestResponse::from(rmcp_result.clone());
diff --git a/codex-rs/app-server/tests/suite/v2/app_list.rs b/codex-rs/app-server/tests/suite/v2/app_list.rs
index 395dff5668..aa7b67a574 100644
--- a/codex-rs/app-server/tests/suite/v2/app_list.rs
+++ b/codex-rs/app-server/tests/suite/v2/app_list.rs
@@ -1432,10 +1432,7 @@ impl AppsServerControl {
impl ServerHandler for AppListMcpServer {
fn get_info(&self) -> ServerInfo {
- ServerInfo {
- capabilities: ServerCapabilities::builder().enable_tools().build(),
- ..ServerInfo::default()
- }
+ ServerInfo::new(ServerCapabilities::builder().enable_tools().build())
}
fn list_tools(
diff --git a/codex-rs/app-server/tests/suite/v2/mcp_resource.rs b/codex-rs/app-server/tests/suite/v2/mcp_resource.rs
index bddf57f666..db16aded20 100644
--- a/codex-rs/app-server/tests/suite/v2/mcp_resource.rs
+++ b/codex-rs/app-server/tests/suite/v2/mcp_resource.rs
@@ -288,11 +288,8 @@ struct ResourceAppsMcpServer;
impl ServerHandler for ResourceAppsMcpServer {
fn get_info(&self) -> ServerInfo {
- ServerInfo {
- protocol_version: ProtocolVersion::V_2025_06_18,
- capabilities: ServerCapabilities::builder().enable_resources().build(),
- ..ServerInfo::default()
- }
+ ServerInfo::new(ServerCapabilities::builder().enable_resources().build())
+ .with_protocol_version(ProtocolVersion::V_2025_06_18)
}
async fn read_resource(
@@ -308,21 +305,19 @@ impl ServerHandler for ResourceAppsMcpServer {
));
}
- Ok(ReadResourceResult {
- contents: vec![
- ResourceContents::TextResourceContents {
- uri: TEST_RESOURCE_URI.to_string(),
- mime_type: Some("text/markdown".to_string()),
- text: TEST_RESOURCE_TEXT.to_string(),
- meta: None,
- },
- ResourceContents::BlobResourceContents {
- uri: TEST_BLOB_RESOURCE_URI.to_string(),
- mime_type: Some("application/octet-stream".to_string()),
- blob: TEST_RESOURCE_BLOB.to_string(),
- meta: None,
- },
- ],
- })
+ Ok(ReadResourceResult::new(vec![
+ ResourceContents::TextResourceContents {
+ uri: TEST_RESOURCE_URI.to_string(),
+ mime_type: Some("text/markdown".to_string()),
+ text: TEST_RESOURCE_TEXT.to_string(),
+ meta: None,
+ },
+ ResourceContents::BlobResourceContents {
+ uri: TEST_BLOB_RESOURCE_URI.to_string(),
+ mime_type: Some("application/octet-stream".to_string()),
+ blob: TEST_RESOURCE_BLOB.to_string(),
+ meta: None,
+ },
+ ]))
}
}
diff --git a/codex-rs/app-server/tests/suite/v2/mcp_server_elicitation.rs b/codex-rs/app-server/tests/suite/v2/mcp_server_elicitation.rs
index 13ebe0b99c..9c415a4c9e 100644
--- a/codex-rs/app-server/tests/suite/v2/mcp_server_elicitation.rs
+++ b/codex-rs/app-server/tests/suite/v2/mcp_server_elicitation.rs
@@ -308,11 +308,8 @@ struct ElicitationAppsMcpServer;
impl ServerHandler for ElicitationAppsMcpServer {
fn get_info(&self) -> ServerInfo {
- ServerInfo {
- protocol_version: rmcp::model::ProtocolVersion::V_2025_06_18,
- capabilities: ServerCapabilities::builder().enable_tools().build(),
- ..ServerInfo::default()
- }
+ ServerInfo::new(ServerCapabilities::builder().enable_tools().build())
+ .with_protocol_version(rmcp::model::ProtocolVersion::V_2025_06_18)
}
async fn list_tools(
diff --git a/codex-rs/app-server/tests/suite/v2/mcp_server_status.rs b/codex-rs/app-server/tests/suite/v2/mcp_server_status.rs
index bc9839b530..7af89d887b 100644
--- a/codex-rs/app-server/tests/suite/v2/mcp_server_status.rs
+++ b/codex-rs/app-server/tests/suite/v2/mcp_server_status.rs
@@ -205,10 +205,7 @@ struct McpStatusServer {
impl ServerHandler for McpStatusServer {
fn get_info(&self) -> ServerInfo {
- ServerInfo {
- capabilities: ServerCapabilities::builder().enable_tools().build(),
- ..ServerInfo::default()
- }
+ ServerInfo::new(ServerCapabilities::builder().enable_tools().build())
}
async fn list_tools(
@@ -244,13 +241,12 @@ struct SlowInventoryServer {
impl ServerHandler for SlowInventoryServer {
fn get_info(&self) -> ServerInfo {
- ServerInfo {
- capabilities: ServerCapabilities::builder()
+ ServerInfo::new(
+ ServerCapabilities::builder()
.enable_tools()
.enable_resources()
.build(),
- ..ServerInfo::default()
- }
+ )
}
async fn list_tools(
diff --git a/codex-rs/app-server/tests/suite/v2/mcp_tool.rs b/codex-rs/app-server/tests/suite/v2/mcp_tool.rs
index a21dd0d9f0..eff9ec9603 100644
--- a/codex-rs/app-server/tests/suite/v2/mcp_tool.rs
+++ b/codex-rs/app-server/tests/suite/v2/mcp_tool.rs
@@ -537,10 +537,7 @@ struct ToolAppsMcpServer;
impl ServerHandler for ToolAppsMcpServer {
fn get_info(&self) -> ServerInfo {
- ServerInfo {
- capabilities: ServerCapabilities::builder().enable_tools().build(),
- ..ServerInfo::default()
- }
+ ServerInfo::new(ServerCapabilities::builder().enable_tools().build())
}
async fn list_tools(
diff --git a/codex-rs/app-server/tests/suite/v2/plugin_install.rs b/codex-rs/app-server/tests/suite/v2/plugin_install.rs
index 9d17e8747f..69c1017a22 100644
--- a/codex-rs/app-server/tests/suite/v2/plugin_install.rs
+++ b/codex-rs/app-server/tests/suite/v2/plugin_install.rs
@@ -1122,10 +1122,7 @@ struct PluginInstallMcpServer {
impl ServerHandler for PluginInstallMcpServer {
fn get_info(&self) -> ServerInfo {
- ServerInfo {
- capabilities: ServerCapabilities::builder().enable_tools().build(),
- ..ServerInfo::default()
- }
+ ServerInfo::new(ServerCapabilities::builder().enable_tools().build())
}
fn list_tools(
diff --git a/codex-rs/app-server/tests/suite/v2/plugin_read.rs b/codex-rs/app-server/tests/suite/v2/plugin_read.rs
index 2a5d3d887a..26a8548166 100644
--- a/codex-rs/app-server/tests/suite/v2/plugin_read.rs
+++ b/codex-rs/app-server/tests/suite/v2/plugin_read.rs
@@ -1768,10 +1768,7 @@ struct PluginReadMcpServer {
impl ServerHandler for PluginReadMcpServer {
fn get_info(&self) -> ServerInfo {
- ServerInfo {
- capabilities: ServerCapabilities::builder().enable_tools().build(),
- ..ServerInfo::default()
- }
+ ServerInfo::new(ServerCapabilities::builder().enable_tools().build())
}
fn list_tools(
diff --git a/codex-rs/codex-mcp/src/connection_manager.rs b/codex-rs/codex-mcp/src/connection_manager.rs
index 00d8adca2e..da7c9963ac 100644
--- a/codex-rs/codex-mcp/src/connection_manager.rs
+++ b/codex-rs/codex-mcp/src/connection_manager.rs
@@ -510,9 +510,8 @@ impl McpConnectionManager {
let mut cursor: Option<String> = None;
loop {
- let params = cursor.as_ref().map(|next| PaginatedRequestParams {
- meta: None,
- cursor: Some(next.clone()),
+ let params = cursor.as_ref().map(|next| {
+ PaginatedRequestParams::default().with_cursor(Some(next.clone()))
});
let response = match client.list_resources(params, timeout).await {
Ok(result) => result,
@@ -576,9 +575,8 @@ impl McpConnectionManager {
let mut cursor: Option<String> = None;
loop {
- let params = cursor.as_ref().map(|next| PaginatedRequestParams {
- meta: None,
- cursor: Some(next.clone()),
+ let params = cursor.as_ref().map(|next| {
+ PaginatedRequestParams::default().with_cursor(Some(next.clone()))
});
let response = match client.list_resource_templates(params, timeout).await {
Ok(result) => result,
diff --git a/codex-rs/codex-mcp/src/connection_manager_tests.rs b/codex-rs/codex-mcp/src/connection_manager_tests.rs
index 86eb703e7a..a1e312d543 100644
--- a/codex-rs/codex-mcp/src/connection_manager_tests.rs
+++ b/codex-rs/codex-mcp/src/connection_manager_tests.rs
@@ -44,17 +44,11 @@ fn create_test_tool(server_name: &str, tool_name: &str) -> ToolInfo {
callable_name: tool_name.to_string(),
callable_namespace: server_name.to_string(),
namespace_description: None,
- tool: Tool {
- name: tool_name.to_string().into(),
- title: None,
- description: Some(format!("Test tool: {tool_name}").into()),
- input_schema: Arc::new(JsonObject::default()),
- output_schema: None,
- annotations: None,
- execution: None,
- icons: None,
- meta: None,
- },
+ tool: Tool::new(
+ tool_name.to_string(),
+ format!("Test tool: {tool_name}"),
+ Arc::new(JsonObject::default()),
+ ),
connector_id: None,
connector_name: None,
plugin_display_names: Vec::new(),
diff --git a/codex-rs/codex-mcp/src/mcp/mod.rs b/codex-rs/codex-mcp/src/mcp/mod.rs
index 407ece427e..d6b496ab08 100644
--- a/codex-rs/codex-mcp/src/mcp/mod.rs
+++ b/codex-rs/codex-mcp/src/mcp/mod.rs
@@ -300,13 +300,7 @@ pub async fn read_mcp_resource(
.await;
let result = manager
- .read_resource(
- server,
- ReadResourceRequestParams {
- meta: None,
- uri: uri.to_string(),
- },
- )
+ .read_resource(server, ReadResourceRequestParams::new(uri))
.await;
cancel_token.cancel();
result
diff --git a/codex-rs/codex-mcp/src/rmcp_client.rs b/codex-rs/codex-mcp/src/rmcp_client.rs
index c75895842b..e268720aff 100644
--- a/codex-rs/codex-mcp/src/rmcp_client.rs
+++ b/codex-rs/codex-mcp/src/rmcp_client.rs
@@ -470,26 +470,13 @@ async fn start_server_task(
codex_apps_tools_cache_context,
client_elicitation_capability,
} = params;
- let params = InitializeRequestParams {
- meta: None,
- capabilities: ClientCapabilities {
- experimental: None,
- extensions: None,
- roots: None,
- sampling: None,
- elicitation: Some(client_elicitation_capability),
- tasks: None,
- },
- client_info: Implementation {
- name: "codex-mcp-client".to_owned(),
- version: env!("CARGO_PKG_VERSION").to_owned(),
- title: Some("Codex".into()),
- description: None,
- icons: None,
- website_url: None,
- },
- protocol_version: ProtocolVersion::V_2025_06_18,
- };
+ let mut capabilities = ClientCapabilities::default();
+ capabilities.elicitation = Some(client_elicitation_capability);
+ let params = InitializeRequestParams::new(
+ capabilities,
+ Implementation::new("codex-mcp-client", env!("CARGO_PKG_VERSION")).with_title("Codex"),
+ )
+ .with_protocol_version(ProtocolVersion::V_2025_06_18);
let send_elicitation = elicitation_requests.make_sender(server_name.clone(), tx_event);
@@ -647,32 +634,27 @@ mod tests {
use rmcp::model::Meta;
fn tool_with_connector_meta() -> RmcpTool {
- RmcpTool {
- name: "capture_file_upload".to_string().into(),
- title: None,
- description: Some("test tool".to_string().into()),
- input_schema: Arc::new(JsonObject::default()),
- output_schema: None,
- annotations: None,
- execution: None,
- icons: None,
- meta: Some(Meta(
- serde_json::json!({
- "connector_id": "connector_gmail",
- "connector_name": "Gmail",
- "connector_display_name": "Gmail",
- "connector_description": "Mail connector",
- "connectorDescription": "Mail connector",
- "connectorFutureField": "future connector metadata",
- "CONNECTOR_UPPERCASE": "uppercase connector metadata",
- "openai/fileParams": ["file"],
- "custom": "kept"
- })
- .as_object()
- .expect("object")
- .clone(),
- )),
- }
+ RmcpTool::new(
+ "capture_file_upload",
+ "test tool",
+ Arc::new(JsonObject::default()),
+ )
+ .with_meta(Meta(
+ serde_json::json!({
+ "connector_id": "connector_gmail",
+ "connector_name": "Gmail",
+ "connector_display_name": "Gmail",
+ "connector_description": "Mail connector",
+ "connectorDescription": "Mail connector",
+ "connectorFutureField": "future connector metadata",
+ "CONNECTOR_UPPERCASE": "uppercase connector metadata",
+ "openai/fileParams": ["file"],
+ "custom": "kept"
+ })
+ .as_object()
+ .expect("object")
+ .clone(),
+ ))
}
#[test]
diff --git a/codex-rs/core/src/codex_thread.rs b/codex-rs/core/src/codex_thread.rs
index 1113a12c8a..cec34c67b9 100644
--- a/codex-rs/core/src/codex_thread.rs
+++ b/codex-rs/core/src/codex_thread.rs
@@ -540,13 +540,7 @@ impl CodexThread {
let result = self
.codex
.session
- .read_resource(
- server,
- ReadResourceRequestParams {
- meta: None,
- uri: uri.to_string(),
- },
- )
+ .read_resource(server, ReadResourceRequestParams::new(uri))
.await?;
Ok(serde_json::to_value(result)?)
diff --git a/codex-rs/core/src/connectors_tests.rs b/codex-rs/core/src/connectors_tests.rs
index cce2491679..3733d78c38 100644
--- a/codex-rs/core/src/connectors_tests.rs
+++ b/codex-rs/core/src/connectors_tests.rs
@@ -31,13 +31,13 @@ use std::sync::Arc;
use tempfile::tempdir;
fn annotations(destructive_hint: Option<bool>, open_world_hint: Option<bool>) -> ToolAnnotations {
- ToolAnnotations {
+ ToolAnnotations::from_raw(
+ /*title*/ None,
+ /*read_only_hint*/ None,
destructive_hint,
- idempotent_hint: None,
+ /*idempotent_hint*/ None,
open_world_hint,
- read_only_hint: None,
- title: None,
- }
+ )
}
fn app(id: &str) -> AppInfo {
@@ -63,17 +63,7 @@ fn plugin_names(names: &[&str]) -> Vec<String> {
}
fn test_tool_definition(tool_name: &str) -> Tool {
- Tool {
- name: tool_name.to_string().into(),
- title: None,
- description: None,
- input_schema: Arc::new(JsonObject::default()),
- output_schema: None,
- annotations: None,
- execution: None,
- icons: None,
- meta: None,
- }
+ Tool::new_with_raw(tool_name.to_string(), None, Arc::new(JsonObject::default()))
}
fn codex_app_tool(
@@ -243,17 +233,11 @@ fn accessible_connectors_from_mcp_tools_preserves_description() {
callable_name: "calendar_create_event".to_string(),
callable_namespace: "mcp__codex_apps__calendar".to_string(),
namespace_description: Some("Plan events".to_string()),
- tool: Tool {
- name: "calendar_create_event".to_string().into(),
- title: None,
- description: Some("Create a calendar event".into()),
- input_schema: Arc::new(JsonObject::default()),
- output_schema: None,
- annotations: None,
- execution: None,
- icons: None,
- meta: None,
- },
+ tool: Tool::new(
+ "calendar_create_event",
+ "Create a calendar event",
+ Arc::new(JsonObject::default()),
+ ),
connector_id: Some("calendar".to_string()),
connector_name: Some("Calendar".to_string()),
plugin_display_names: Vec::new(),
diff --git a/codex-rs/core/src/mcp_tool_call_tests.rs b/codex-rs/core/src/mcp_tool_call_tests.rs
index de5276b26e..534c2f0118 100644
--- a/codex-rs/core/src/mcp_tool_call_tests.rs
+++ b/codex-rs/core/src/mcp_tool_call_tests.rs
@@ -56,13 +56,13 @@ fn annotations(
destructive: Option<bool>,
open_world: Option<bool>,
) -> ToolAnnotations {
- ToolAnnotations {
- destructive_hint: destructive,
- idempotent_hint: None,
- open_world_hint: open_world,
- read_only_hint: read_only,
- title: None,
- }
+ ToolAnnotations::from_raw(
+ /*title*/ None,
+ read_only,
+ destructive,
+ /*idempotent_hint*/ None,
+ open_world,
+ )
}
fn approval_metadata(
diff --git a/codex-rs/core/src/mcp_tool_exposure_test.rs b/codex-rs/core/src/mcp_tool_exposure_test.rs
index 367baaf4a0..c23e1e3765 100644
--- a/codex-rs/core/src/mcp_tool_exposure_test.rs
+++ b/codex-rs/core/src/mcp_tool_exposure_test.rs
@@ -46,17 +46,11 @@ fn make_mcp_tool(
callable_name: callable_name.to_string(),
callable_namespace: callable_namespace.to_string(),
namespace_description: None,
- tool: Tool {
- name: tool_name.to_string().into(),
- title: None,
- description: Some(format!("Test tool: {tool_name}").into()),
- input_schema: Arc::new(JsonObject::default()),
- output_schema: None,
- annotations: None,
- execution: None,
- icons: None,
- meta: None,
- },
+ tool: Tool::new(
+ tool_name.to_string(),
+ format!("Test tool: {tool_name}"),
+ Arc::new(JsonObject::default()),
+ ),
connector_id: connector_id.map(str::to_string),
connector_name: connector_name.map(str::to_string),
plugin_display_names: Vec::new(),
diff --git a/codex-rs/core/src/tools/handlers/mcp.rs b/codex-rs/core/src/tools/handlers/mcp.rs
index 09eba1730d..8f18d5b55e 100644
--- a/codex-rs/core/src/tools/handlers/mcp.rs
+++ b/codex-rs/core/src/tools/handlers/mcp.rs
@@ -522,19 +522,13 @@ mod tests {
callable_name: tool_name.to_string(),
callable_namespace: callable_namespace.to_string(),
namespace_description: None,
- tool: rmcp::model::Tool {
- name: tool_name.to_string().into(),
- title: None,
- description: None,
- input_schema: Arc::new(rmcp::model::object(serde_json::json!({
+ tool: rmcp::model::Tool::new_with_raw(
+ tool_name.to_string(),
+ None,
+ Arc::new(rmcp::model::object(serde_json::json!({
"type": "object",
}))),
- output_schema: None,
- annotations: None,
- execution: None,
- icons: None,
- meta: None,
- },
+ ),
connector_id: None,
connector_name: None,
plugin_display_names: Vec::new(),
diff --git a/codex-rs/core/src/tools/handlers/mcp_resource/list_mcp_resource_templates.rs b/codex-rs/core/src/tools/handlers/mcp_resource/list_mcp_resource_templates.rs
index a0996fb37b..b1e82aa8a6 100644
--- a/codex-rs/core/src/tools/handlers/mcp_resource/list_mcp_resource_templates.rs
+++ b/codex-rs/core/src/tools/handlers/mcp_resource/list_mcp_resource_templates.rs
@@ -82,10 +82,9 @@ impl ToolExecutor<ToolInvocation> for ListMcpResourceTemplatesHandler {
let payload_result: Result<ListResourceTemplatesPayload, FunctionCallError> = async {
if let Some(server_name) = server.clone() {
- let params = cursor.clone().map(|value| PaginatedRequestParams {
- meta: None,
- cursor: Some(value),
- });
+ let params = cursor
+ .clone()
+ .map(|value| PaginatedRequestParams::default().with_cursor(Some(value)));
let result = session
.list_resource_templates(&server_name, params)
.await
diff --git a/codex-rs/core/src/tools/handlers/mcp_resource/list_mcp_resources.rs b/codex-rs/core/src/tools/handlers/mcp_resource/list_mcp_resources.rs
index b9699b330e..c2cdec8b15 100644
--- a/codex-rs/core/src/tools/handlers/mcp_resource/list_mcp_resources.rs
+++ b/codex-rs/core/src/tools/handlers/mcp_resource/list_mcp_resources.rs
@@ -82,10 +82,9 @@ impl ToolExecutor<ToolInvocation> for ListMcpResourcesHandler {
let payload_result: Result<ListResourcesPayload, FunctionCallError> = async {
if let Some(server_name) = server.clone() {
- let params = cursor.clone().map(|value| PaginatedRequestParams {
- meta: None,
- cursor: Some(value),
- });
+ let params = cursor
+ .clone()
+ .map(|value| PaginatedRequestParams::default().with_cursor(Some(value)));
let result = session
.list_resources(&server_name, params)
.await
diff --git a/codex-rs/core/src/tools/handlers/mcp_resource/read_mcp_resource.rs b/codex-rs/core/src/tools/handlers/mcp_resource/read_mcp_resource.rs
index d1b73322c0..126c5d85e8 100644
--- a/codex-rs/core/src/tools/handlers/mcp_resource/read_mcp_resource.rs
+++ b/codex-rs/core/src/tools/handlers/mcp_resource/read_mcp_resource.rs
@@ -78,13 +78,7 @@ impl ToolExecutor<ToolInvocation> for ReadMcpResourceHandler {
let payload_result: Result<ReadResourcePayload, FunctionCallError> = async {
let result = session
- .read_resource(
- &server,
- ReadResourceRequestParams {
- meta: None,
- uri: uri.clone(),
- },
- )
+ .read_resource(&server, ReadResourceRequestParams::new(uri.clone()))
.await
.map_err(|err| {
FunctionCallError::RespondToModel(format!("resources/read failed: {err:#}"))
diff --git a/codex-rs/core/src/tools/handlers/mcp_search_tests.rs b/codex-rs/core/src/tools/handlers/mcp_search_tests.rs
index 588254ae27..8ddfa93d84 100644
--- a/codex-rs/core/src/tools/handlers/mcp_search_tests.rs
+++ b/codex-rs/core/src/tools/handlers/mcp_search_tests.rs
@@ -50,11 +50,10 @@ fn tool_info() -> ToolInfo {
callable_name: "_create_event".to_string(),
callable_namespace: "mcp__calendar__".to_string(),
namespace_description: Some("Plan events.".to_string()),
- tool: rmcp::model::Tool {
- name: "createEvent".to_string().into(),
- title: Some("Create event".to_string()),
- description: Some("Create a calendar event.".to_string().into()),
- input_schema: Arc::new(rmcp::model::object(json!({
+ tool: rmcp::model::Tool::new(
+ "createEvent",
+ "Create a calendar event.",
+ Arc::new(rmcp::model::object(json!({
"type": "object",
"properties": {
"start_time": { "type": "string" },
@@ -62,12 +61,8 @@ fn tool_info() -> ToolInfo {
},
"additionalProperties": false
}))),
- output_schema: None,
- annotations: None,
- execution: None,
- icons: None,
- meta: None,
- },
+ )
+ .with_title("Create event"),
connector_id: None,
connector_name: Some("Calendar".to_string()),
plugin_display_names: vec![" Calendar plugin ".to_string(), " ".to_string()],
diff --git a/codex-rs/core/src/tools/handlers/tool_search.rs b/codex-rs/core/src/tools/handlers/tool_search.rs
index 107723aa15..442d77ce8d 100644
--- a/codex-rs/core/src/tools/handlers/tool_search.rs
+++ b/codex-rs/core/src/tools/handlers/tool_search.rs
@@ -258,21 +258,15 @@ mod tests {
callable_name: tool_name.to_string(),
callable_namespace: format!("mcp__{server_name}"),
namespace_description: None,
- tool: Tool {
- name: tool_name.to_string().into(),
- title: None,
- description: Some(format!("{description_prefix} desktop tool").into()),
- input_schema: Arc::new(rmcp::model::object(serde_json::json!({
+ tool: Tool::new(
+ tool_name.to_string(),
+ format!("{description_prefix} desktop tool"),
+ Arc::new(rmcp::model::object(serde_json::json!({
"type": "object",
"properties": {},
"additionalProperties": false,
}))),
- output_schema: None,
- annotations: None,
- execution: None,
- icons: None,
- meta: None,
- },
+ ),
connector_id: None,
connector_name: None,
plugin_display_names: Vec::new(),
diff --git a/codex-rs/core/src/tools/router_tests.rs b/codex-rs/core/src/tools/router_tests.rs
index 9d685e53b6..71ff7ca9e0 100644
--- a/codex-rs/core/src/tools/router_tests.rs
+++ b/codex-rs/core/src/tools/router_tests.rs
@@ -306,19 +306,13 @@ fn mcp_tool_info(
callable_name: tool_name.to_string(),
callable_namespace: callable_namespace.to_string(),
namespace_description: None,
- tool: rmcp::model::Tool {
- name: tool_name.to_string().into(),
- title: None,
- description: Some("Test MCP tool".to_string().into()),
- input_schema: Arc::new(rmcp::model::object(json!({
+ tool: rmcp::model::Tool::new(
+ tool_name.to_string(),
+ "Test MCP tool",
+ Arc::new(rmcp::model::object(json!({
"type": "object",
}))),
- output_schema: None,
- annotations: None,
- execution: None,
- icons: None,
- meta: None,
- },
+ ),
connector_id: None,
connector_name: None,
plugin_display_names: Vec::new(),
diff --git a/codex-rs/core/src/tools/spec_plan_tests.rs b/codex-rs/core/src/tools/spec_plan_tests.rs
index a2f12d1c01..94587803b8 100644
--- a/codex-rs/core/src/tools/spec_plan_tests.rs
+++ b/codex-rs/core/src/tools/spec_plan_tests.rs
@@ -302,21 +302,15 @@ fn mcp_tool(server: &str, namespace: &str, name: &str) -> ToolInfo {
callable_name: name.to_string(),
callable_namespace: namespace.to_string(),
namespace_description: Some(format!("Tools from {server}.")),
- tool: rmcp::model::Tool {
- name: name.to_string().into(),
- title: None,
- description: Some(format!("{name} test tool").into()),
- input_schema: Arc::new(rmcp::model::object(json!({
+ tool: rmcp::model::Tool::new(
+ name.to_string(),
+ format!("{name} test tool"),
+ Arc::new(rmcp::model::object(json!({
"type": "object",
"properties": {},
"additionalProperties": false,
}))),
- output_schema: None,
- annotations: None,
- execution: None,
- icons: None,
- meta: None,
- },
+ ),
connector_id: None,
connector_name: None,
plugin_display_names: Vec::new(),
diff --git a/codex-rs/mcp-server/src/codex_tool_config.rs b/codex-rs/mcp-server/src/codex_tool_config.rs
index 9c9a3da53c..f90686dbea 100644
--- a/codex-rs/mcp-server/src/codex_tool_config.rs
+++ b/codex-rs/mcp-server/src/codex_tool_config.rs
@@ -116,20 +116,13 @@ pub(crate) fn create_tool_for_codex_tool_call_param() -> Tool {
let input_schema = create_tool_input_schema(schema, "Codex tool schema should serialize");
- Tool {
- name: "codex".into(),
- title: Some("Codex".to_string()),
+ Tool::new(
+ "codex",
+ "Run a Codex session. Accepts configuration parameters matching the Codex Config struct.",
input_schema,
- output_schema: Some(codex_tool_output_schema()),
- description: Some(
- "Run a Codex session. Accepts configuration parameters matching the Codex Config struct."
- .into(),
- ),
- annotations: None,
- execution: None,
- icons: None,
- meta: None,
- }
+ )
+ .with_title("Codex")
+ .with_raw_output_schema(codex_tool_output_schema())
}
fn codex_tool_output_schema() -> Arc<JsonObject> {
@@ -242,19 +235,13 @@ pub(crate) fn create_tool_for_codex_tool_call_reply_param() -> Tool {
let input_schema = create_tool_input_schema(schema, "Codex reply tool schema should serialize");
- Tool {
- name: "codex-reply".into(),
- title: Some("Codex Reply".to_string()),
+ Tool::new(
+ "codex-reply",
+ "Continue a Codex conversation by providing the thread id and prompt.",
input_schema,
- output_schema: Some(codex_tool_output_schema()),
- description: Some(
- "Continue a Codex conversation by providing the thread id and prompt.".into(),
- ),
- annotations: None,
- execution: None,
- icons: None,
- meta: None,
- }
+ )
+ .with_title("Codex Reply")
+ .with_raw_output_schema(codex_tool_output_schema())
}
fn create_tool_input_schema(
diff --git a/codex-rs/mcp-server/src/codex_tool_runner.rs b/codex-rs/mcp-server/src/codex_tool_runner.rs
index 78714d1eaa..62615fd16c 100644
--- a/codex-rs/mcp-server/src/codex_tool_runner.rs
+++ b/codex-rs/mcp-server/src/codex_tool_runner.rs
@@ -44,12 +44,10 @@ pub(crate) fn create_call_tool_result_with_thread_id(
"threadId": thread_id,
"content": content_text,
});
- CallToolResult {
- content,
- is_error,
- structured_content: Some(structured_content),
- meta: None,
- }
+ let mut result = CallToolResult::success(content);
+ result.is_error = is_error;
+ result.structured_content = Some(structured_content);
+ result
}
/// Run a complete Codex session and stream events back to the client.
@@ -71,12 +69,9 @@ pub async fn run_codex_tool_session(
} = match thread_manager.start_thread(config.clone()).await {
Ok(res) => res,
Err(e) => {
- let result = CallToolResult {
- content: vec![Content::text(format!("Failed to start Codex session: {e}"))],
- is_error: Some(true),
- structured_content: None,
- meta: None,
- };
+ let result = CallToolResult::error(vec![Content::text(format!(
+ "Failed to start Codex session: {e}"
+ ))]);
outgoing.send_response(id.clone(), result).await;
return;
}
diff --git a/codex-rs/mcp-server/src/message_processor.rs b/codex-rs/mcp-server/src/message_processor.rs
index 9e536d930c..3123bcf335 100644
--- a/codex-rs/mcp-server/src/message_processor.rs
+++ b/codex-rs/mcp-server/src/message_processor.rs
@@ -27,7 +27,6 @@ use rmcp::model::JsonRpcRequest;
use rmcp::model::JsonRpcResponse;
use rmcp::model::RequestId;
use rmcp::model::ServerCapabilities;
-use rmcp::model::ToolsCapability;
use serde_json::json;
use tokio::sync::Mutex;
use tokio::task;
@@ -218,14 +217,8 @@ impl MessageProcessor {
*suffix = Some(user_agent_suffix);
}
- let server_info = Implementation {
- name: "codex-mcp-server".to_string(),
- title: Some("Codex".to_string()),
- version: env!("CARGO_PKG_VERSION").to_string(),
- description: None,
- icons: None,
- website_url: None,
- };
+ let server_info =
+ Implementation::new("codex-mcp-server", env!("CARGO_PKG_VERSION")).with_title("Codex");
// Preserve Codex's existing non-spec `serverInfo.user_agent` field.
let mut server_info_value = match serde_json::to_value(&server_info) {
@@ -247,17 +240,14 @@ impl MessageProcessor {
obj.insert("user_agent".to_string(), json!(get_codex_user_agent()));
}
- let mut result_value = match serde_json::to_value(InitializeResult {
- capabilities: ServerCapabilities {
- tools: Some(ToolsCapability {
- list_changed: Some(true),
- }),
- ..Default::default()
- },
- instructions: None,
- protocol_version: params.protocol_version.clone(),
- server_info,
- }) {
+ let capabilities = ServerCapabilities::builder()
+ .enable_tools()
+ .enable_tool_list_changed()
+ .build();
+ let result = InitializeResult::new(capabilities)
+ .with_protocol_version(params.protocol_version.clone())
+ .with_server_info(server_info);
+ let mut result_value = match serde_json::to_value(result) {
Ok(value) => value,
Err(err) => {
self.outgoing
@@ -345,12 +335,9 @@ impl MessageProcessor {
.await
}
_ => {
- let result = CallToolResult {
- content: vec![rmcp::model::Content::text(format!("Unknown tool '{name}'"))],
- structured_content: None,
- is_error: Some(true),
- meta: None,
- };
+ let result = CallToolResult::error(vec![rmcp::model::Content::text(format!(
+ "Unknown tool '{name}'"
+ ))]);
self.outgoing.send_response(id, result).await;
}
}
@@ -367,40 +354,25 @@ impl MessageProcessor {
Ok(tool_cfg) => match tool_cfg.into_config(self.arg0_paths.clone()).await {
Ok(cfg) => cfg,
Err(e) => {
- let result = CallToolResult {
- content: vec![rmcp::model::Content::text(format!(
- "Failed to load Codex configuration from overrides: {e}"
- ))],
- structured_content: None,
- is_error: Some(true),
- meta: None,
- };
+ let result = CallToolResult::error(vec![rmcp::model::Content::text(
+ format!("Failed to load Codex configuration from overrides: {e}"),
+ )]);
self.outgoing.send_response(id, result).await;
return;
}
},
Err(e) => {
- let result = CallToolResult {
- content: vec![rmcp::model::Content::text(format!(
- "Failed to parse configuration for Codex tool: {e}"
- ))],
- structured_content: None,
- is_error: Some(true),
- meta: None,
- };
+ let result = CallToolResult::error(vec![rmcp::model::Content::text(format!(
+ "Failed to parse configuration for Codex tool: {e}"
+ ))]);
self.outgoing.send_response(id, result).await;
return;
}
},
None => {
- let result = CallToolResult {
- content: vec![rmcp::model::Content::text(
- "Missing arguments for codex tool-call; the `prompt` field is required.",
- )],
- structured_content: None,
- is_error: Some(true),
- meta: None,
- };
+ let result = CallToolResult::error(vec![rmcp::model::Content::text(
+ "Missing arguments for codex tool-call; the `prompt` field is required.",
+ )]);
self.outgoing.send_response(id, result).await;
return;
}
@@ -441,14 +413,9 @@ impl MessageProcessor {
Ok(params) => params,
Err(e) => {
tracing::error!("Failed to parse Codex tool call reply parameters: {e}");
- let result = CallToolResult {
- content: vec![rmcp::model::Content::text(format!(
- "Failed to parse configuration for Codex tool: {e}"
- ))],
- structured_content: None,
- is_error: Some(true),
- meta: None,
- };
+ let result = CallToolResult::error(vec![rmcp::model::Content::text(format!(
+ "Failed to parse configuration for Codex tool: {e}"
+ ))]);
self.outgoing.send_response(request_id, result).await;
return;
}
@@ -457,14 +424,9 @@ impl MessageProcessor {
tracing::error!(
"Missing arguments for codex-reply tool-call; the `thread_id` and `prompt` fields are required."
);
- let result = CallToolResult {
- content: vec![rmcp::model::Content::text(
- "Missing arguments for codex-reply tool-call; the `thread_id` and `prompt` fields are required.",
- )],
- structured_content: None,
- is_error: Some(true),
- meta: None,
- };
+ let result = CallToolResult::error(vec![rmcp::model::Content::text(
+ "Missing arguments for codex-reply tool-call; the `thread_id` and `prompt` fields are required.",
+ )]);
self.outgoing.send_response(request_id, result).await;
return;
}
@@ -474,14 +436,9 @@ impl MessageProcessor {
Ok(id) => id,
Err(e) => {
tracing::error!("Failed to parse thread_id: {e}");
- let result = CallToolResult {
- content: vec![rmcp::model::Content::text(format!(
- "Failed to parse thread_id: {e}"
- ))],
- structured_content: None,
- is_error: Some(true),
- meta: None,
- };
+ let result = CallToolResult::error(vec![rmcp::model::Content::text(format!(
+ "Failed to parse thread_id: {e}"
+ ))]);
self.outgoing.send_response(request_id, result).await;
return;
}
diff --git a/codex-rs/mcp-server/src/outgoing_message.rs b/codex-rs/mcp-server/src/outgoing_message.rs
index b2882643ce..e6ecdd441b 100644
--- a/codex-rs/mcp-server/src/outgoing_message.rs
+++ b/codex-rs/mcp-server/src/outgoing_message.rs
@@ -169,7 +169,7 @@ impl From<OutgoingMessage> for OutgoingJsonRpcMessage {
}
Error(OutgoingError { id, error }) => JsonRpcMessage::Error(JsonRpcError {
jsonrpc: JsonRpcVersion2_0,
- id,
+ id: Some(id),
error,
}),
}
diff --git a/codex-rs/mcp-server/tests/common/mcp_process.rs b/codex-rs/mcp-server/tests/common/mcp_process.rs
index f50f25f49f..007d2c11cc 100644
--- a/codex-rs/mcp-server/tests/common/mcp_process.rs
+++ b/codex-rs/mcp-server/tests/common/mcp_process.rs
@@ -114,31 +114,18 @@ impl McpProcess {
pub async fn initialize(&mut self) -> anyhow::Result<()> {
let request_id = self.next_request_id.fetch_add(1, Ordering::Relaxed);
- let params = InitializeRequestParams {
- meta: None,
- capabilities: ClientCapabilities {
- elicitation: Some(ElicitationCapability {
- form: Some(FormElicitationCapability {
- schema_validation: None,
- }),
- url: None,
- }),
- experimental: None,
- extensions: None,
- roots: None,
- sampling: None,
- tasks: None,
- },
- client_info: Implementation {
- name: "elicitation test".into(),
- title: Some("Elicitation Test".into()),
- version: "0.0.0".into(),
- description: None,
- icons: None,
- website_url: None,
- },
- protocol_version: ProtocolVersion::V_2025_03_26,
- };
+ let mut capabilities = ClientCapabilities::default();
+ capabilities.elicitation = Some(ElicitationCapability {
+ form: Some(FormElicitationCapability {
+ schema_validation: None,
+ }),
+ url: None,
+ });
+ let params = InitializeRequestParams::new(
+ capabilities,
+ Implementation::new("elicitation test", "0.0.0").with_title("Elicitation Test"),
+ )
+ .with_protocol_version(ProtocolVersion::V_2025_03_26);
let params_value = serde_json::to_value(params)?;
self.send_jsonrpc_message(JsonRpcMessage::Request(JsonRpcRequest {
@@ -203,15 +190,12 @@ impl McpProcess {
&mut self,
params: CodexToolCallParam,
) -> anyhow::Result<i64> {
- let codex_tool_call_params = CallToolRequestParams {
- meta: None,
- name: "codex".into(),
- arguments: Some(match serde_json::to_value(params)? {
+ let codex_tool_call_params = CallToolRequestParams::new("codex").with_arguments(
+ match serde_json::to_value(params)? {
serde_json::Value::Object(map) => map,
_ => unreachable!("params serialize to object"),
- }),
- task: None,
- };
+ },
+ );
self.send_request(
"tools/call",
Some(serde_json::to_value(codex_tool_call_params)?),
diff --git a/codex-rs/rmcp-client/Cargo.toml b/codex-rs/rmcp-client/Cargo.toml
index 0efd8a4178..63c6d74e4a 100644
--- a/codex-rs/rmcp-client/Cargo.toml
+++ b/codex-rs/rmcp-client/Cargo.toml
@@ -11,6 +11,7 @@ workspace = true
anyhow = "1"
axum = { workspace = true, default-features = false, features = [
"http1",
+ "json",
"tokio",
] }
base64 = { workspace = true }
@@ -26,10 +27,10 @@ bytes = { workspace = true }
futures = { workspace = true, default-features = false, features = ["std"] }
keyring = { workspace = true, features = ["crypto-rust"] }
oauth2 = "5"
-reqwest = { version = "0.12", default-features = false, features = [
+reqwest = { version = "0.13", default-features = false, features = [
"json",
"stream",
- "rustls-tls",
+ "rustls",
] }
rmcp = { workspace = true, default-features = false, features = [
"auth",
diff --git a/codex-rs/rmcp-client/src/bin/rmcp_test_server.rs b/codex-rs/rmcp-client/src/bin/rmcp_test_server.rs
index 5bf32124d0..6911afb211 100644
--- a/codex-rs/rmcp-client/src/bin/rmcp_test_server.rs
+++ b/codex-rs/rmcp-client/src/bin/rmcp_test_server.rs
@@ -79,13 +79,12 @@ struct EchoArgs {
impl ServerHandler for TestToolServer {
fn get_info(&self) -> ServerInfo {
- ServerInfo {
- capabilities: ServerCapabilities::builder()
+ ServerInfo::new(
+ ServerCapabilities::builder()
.enable_tools()
.enable_tool_list_changed()
.build(),
- ..ServerInfo::default()
- }
+ )
}
fn list_tools(
@@ -130,12 +129,9 @@ impl ServerHandler for TestToolServer {
"env": env_snapshot.get(env_name),
});
- Ok(CallToolResult {
- content: Vec::new(),
- structured_content: Some(structured_content),
- is_error: Some(false),
- meta: None,
- })
+ let mut result = CallToolResult::success(Vec::new());
+ result.structured_content = Some(structured_content);
+ Ok(result)
}
other => Err(McpError::invalid_params(
format!("unknown tool: {other}"),
diff --git a/codex-rs/rmcp-client/src/bin/test_stdio_server.rs b/codex-rs/rmcp-client/src/bin/test_stdio_server.rs
index 50657ab182..4407a27eeb 100644
--- a/codex-rs/rmcp-client/src/bin/test_stdio_server.rs
+++ b/codex-rs/rmcp-client/src/bin/test_stdio_server.rs
@@ -407,11 +407,8 @@ impl ServerHandler for TestToolServer {
JsonObject::new(),
)]));
- ServerInfo {
- instructions: Some("Use these tools to exercise the rmcp test server.".to_string()),
- capabilities,
- ..ServerInfo::default()
- }
+ ServerInfo::new(capabilities)
+ .with_instructions("Use these tools to exercise the rmcp test server.")
}
fn list_tools(
@@ -462,14 +459,14 @@ impl ServerHandler for TestToolServer {
_context: rmcp::service::RequestContext<rmcp::service::RoleServer>,
) -> Result<ReadResourceResult, McpError> {
if uri == MEMO_URI {
- Ok(ReadResourceResult {
- contents: vec![ResourceContents::TextResourceContents {
+ Ok(ReadResourceResult::new(vec![
+ ResourceContents::TextResourceContents {
uri,
mime_type: Some("text/plain".to_string()),
text: Self::memo_text().to_string(),
meta: None,
- }],
- })
+ },
+ ]))
} else {
Err(McpError::resource_not_found(
"resource_not_found",
@@ -484,22 +481,14 @@ impl ServerHandler for TestToolServer {
context: rmcp::service::RequestContext<rmcp::service::RoleServer>,
) -> Result<CallToolResult, McpError> {
match request.name.as_ref() {
- "sandbox_meta" => Ok(CallToolResult {
- content: Vec::new(),
- structured_content: Some(serde_json::Value::Object(context.meta.0)),
- is_error: Some(false),
- meta: None,
- }),
+ "sandbox_meta" => Ok(Self::structured_result(serde_json::Value::Object(
+ context.meta.0,
+ ))),
"cwd" => {
let cwd = std::env::current_dir()
.map(|path| path.to_string_lossy().into_owned())
.map_err(|err| McpError::internal_error(err.to_string(), None))?;
- Ok(CallToolResult {
- content: Vec::new(),
- structured_content: Some(json!({ "cwd": cwd })),
- is_error: Some(false),
- meta: None,
- })
+ Ok(Self::structured_result(json!({ "cwd": cwd })))
}
"echo" | "echo-tool" => {
let args: EchoArgs = match request.arguments {
@@ -522,12 +511,7 @@ impl ServerHandler for TestToolServer {
"env": env_snapshot.get(env_name),
});
- Ok(CallToolResult {
- content: Vec::new(),
- structured_content: Some(structured_content),
- is_error: Some(false),
- meta: None,
- })
+ Ok(Self::structured_result(structured_content))
}
"image" => {
// Read a data URL (e.g. data:image/png;base64,AAA...) from env and convert to
@@ -677,12 +661,13 @@ impl TestToolServer {
sleep(Duration::from_millis(delay)).await;
}
- Ok(CallToolResult {
- content: Vec::new(),
- structured_content: Some(json!({ "result": "ok" })),
- is_error: Some(false),
- meta: None,
- })
+ Ok(Self::structured_result(json!({ "result": "ok" })))
+ }
+
+ fn structured_result(value: serde_json::Value) -> CallToolResult {
+ let mut result = CallToolResult::success(Vec::new());
+ result.structured_content = Some(value);
+ result
}
}
diff --git a/codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs b/codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs
index d1c22f430c..2384d39473 100644
--- a/codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs
+++ b/codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs
@@ -11,12 +11,14 @@ use axum::body::Body;
use axum::extract::Json;
use axum::extract::State;
use axum::http::HeaderMap;
+use axum::http::HeaderValue;
use axum::http::Method;
use axum::http::Request;
use axum::http::StatusCode;
use axum::http::header::AUTHORIZATION;
use axum::http::header::CONTENT_TYPE;
use axum::http::header::HOST;
+use axum::http::header::WWW_AUTHENTICATE;
use axum::middleware;
use axum::middleware::Next;
use axum::response::Response;
@@ -72,12 +74,17 @@ struct SessionFailureState {
struct ArmedFailure {
status: StatusCode,
remaining: usize,
+ /// Raw `WWW-Authenticate` challenge header field values returned with the failure.
+ www_authenticate_headers: Vec<HeaderValue>,
}
#[derive(Debug, Deserialize)]
struct ArmSessionPostFailureRequest {
status: u16,
remaining: usize,
+ /// Raw `WWW-Authenticate` challenge header field values to add to the failure.
+ #[serde(default)]
+ www_authenticate_headers: Vec<String>,
}
#[derive(Deserialize)]
@@ -174,14 +181,13 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
impl ServerHandler for TestToolServer {
fn get_info(&self) -> ServerInfo {
- ServerInfo {
- capabilities: ServerCapabilities::builder()
+ ServerInfo::new(
+ ServerCapabilities::builder()
.enable_tools()
.enable_tool_list_changed()
.enable_resources()
.build(),
- ..ServerInfo::default()
- }
+ )
}
fn list_tools(
@@ -232,14 +238,14 @@ impl ServerHandler for TestToolServer {
_context: rmcp::service::RequestContext<rmcp::service::RoleServer>,
) -> Result<ReadResourceResult, McpError> {
if uri == MEMO_URI {
- Ok(ReadResourceResult {
- contents: vec![ResourceContents::TextResourceContents {
+ Ok(ReadResourceResult::new(vec![
+ ResourceContents::TextResourceContents {
uri,
mime_type: Some("text/plain".to_string()),
text: Self::memo_text().to_string(),
meta: None,
- }],
- })
+ },
+ ]))
} else {
Err(McpError::resource_not_found(
"resource_not_found",
@@ -274,12 +280,9 @@ impl ServerHandler for TestToolServer {
"env": env_snapshot.get("MCP_TEST_VALUE"),
});
- Ok(CallToolResult {
- content: Vec::new(),
- structured_content: Some(structured_content),
- is_error: Some(false),
- meta: None,
- })
+ let mut result = CallToolResult::success(Vec::new());
+ result.structured_content = Some(structured_content);
+ Ok(result)
}
other => Err(McpError::invalid_params(
format!("unknown tool: {other}"),
@@ -405,12 +408,18 @@ async fn arm_session_post_failure(
Json(request): Json<ArmSessionPostFailureRequest>,
) -> Result<StatusCode, StatusCode> {
let status = StatusCode::from_u16(request.status).map_err(|_| StatusCode::BAD_REQUEST)?;
+ let www_authenticate_headers = request
+ .www_authenticate_headers
+ .into_iter()
+ .map(|value| HeaderValue::from_str(&value).map_err(|_| StatusCode::BAD_REQUEST))
+ .collect::<Result<Vec<_>, _>>()?;
let armed_failure = if request.remaining == 0 {
None
} else {
Some(ArmedFailure {
status,
remaining: request.remaining,
+ www_authenticate_headers,
})
};
*state.armed_failure.lock().await = armed_failure;
@@ -436,6 +445,7 @@ async fn fail_session_post_when_armed(
{
failure.remaining -= 1;
let status = failure.status;
+ let www_authenticate_headers = failure.www_authenticate_headers.clone();
if failure.remaining == 0 {
*armed_failure = None;
}
@@ -443,6 +453,11 @@ async fn fail_session_post_when_armed(
"forced session failure with status {status}"
)));
*response.status_mut() = status;
+ for www_authenticate_header in www_authenticate_headers {
+ response
+ .headers_mut()
+ .append(WWW_AUTHENTICATE, www_authenticate_header);
+ }
return response;
}
}
diff --git a/codex-rs/rmcp-client/src/http_client_adapter.rs b/codex-rs/rmcp-client/src/http_client_adapter.rs
index a1e6680e60..0a5643aabf 100644
--- a/codex-rs/rmcp-client/src/http_client_adapter.rs
+++ b/codex-rs/rmcp-client/src/http_client_adapter.rs
@@ -7,6 +7,7 @@
//! - a local HTTP client that issues requests from the orchestrator, or
//! - a remote HTTP client that forwards requests to the remote runtime
+use std::collections::HashMap;
use std::io;
use std::sync::Arc;
@@ -29,12 +30,17 @@ use reqwest::header::HeaderName;
use rmcp::model::ClientJsonRpcMessage;
use rmcp::model::ServerJsonRpcMessage;
use rmcp::transport::streamable_http_client::AuthRequiredError;
+use rmcp::transport::streamable_http_client::InsufficientScopeError;
use rmcp::transport::streamable_http_client::StreamableHttpClient;
use rmcp::transport::streamable_http_client::StreamableHttpError;
use rmcp::transport::streamable_http_client::StreamableHttpPostResponse;
use sse_stream::Sse;
use sse_stream::SseStream;
+mod www_authenticate;
+
+use self::www_authenticate::insufficient_scope_challenge;
+
const EVENT_STREAM_MIME_TYPE: &str = "text/event-stream";
const JSON_MIME_TYPE: &str = "application/json";
const HEADER_SESSION_ID: &str = "Mcp-Session-Id";
@@ -80,8 +86,10 @@ impl StreamableHttpClient for StreamableHttpClientAdapter {
message: ClientJsonRpcMessage,
session_id: Option<Arc<str>>,
auth_token: Option<String>,
+ custom_headers: HashMap<HeaderName, reqwest::header::HeaderValue>,
) -> std::result::Result<StreamableHttpPostResponse, StreamableHttpError<Self::Error>> {
let mut headers = self.default_headers.clone();
+ headers.extend(custom_headers);
self.add_auth_headers(&mut headers);
insert_header(
&mut headers,
@@ -137,9 +145,19 @@ impl StreamableHttpClient for StreamableHttpClientAdapter {
&& let Some(header) =
response_header(&response.headers, reqwest::header::WWW_AUTHENTICATE)
{
- return Err(StreamableHttpError::AuthRequired(AuthRequiredError {
- www_authenticate_header: header,
- }));
+ return Err(StreamableHttpError::AuthRequired(AuthRequiredError::new(
+ header,
+ )));
+ }
+ if response.status == StatusCode::FORBIDDEN.as_u16()
+ && let Some(challenge) = insufficient_scope_challenge(&response.headers)
+ {
+ return Err(StreamableHttpError::InsufficientScope(
+ InsufficientScopeError::new(
+ challenge.www_authenticate_header,
+ challenge.required_scope,
+ ),
+ ));
}
if matches!(
StatusCode::from_u16(response.status).ok(),
@@ -177,8 +195,10 @@ impl StreamableHttpClient for StreamableHttpClientAdapter {
uri: Arc<str>,
session: Arc<str>,
auth_token: Option<String>,
+ custom_headers: HashMap<HeaderName, reqwest::header::HeaderValue>,
) -> std::result::Result<(), StreamableHttpError<Self::Error>> {
let mut headers = self.default_headers.clone();
+ headers.extend(custom_headers);
self.add_auth_headers(&mut headers);
if let Some(auth_token) = auth_token {
insert_header(
@@ -227,11 +247,13 @@ impl StreamableHttpClient for StreamableHttpClientAdapter {
session_id: Arc<str>,
last_event_id: Option<String>,
auth_token: Option<String>,
+ custom_headers: HashMap<HeaderName, reqwest::header::HeaderValue>,
) -> std::result::Result<
BoxStream<'static, std::result::Result<Sse, sse_stream::Error>>,
StreamableHttpError<Self::Error>,
> {
let mut headers = self.default_headers.clone();
+ headers.extend(custom_headers);
self.add_auth_headers(&mut headers);
insert_header(
&mut headers,
diff --git a/codex-rs/rmcp-client/src/http_client_adapter/www_authenticate.rs b/codex-rs/rmcp-client/src/http_client_adapter/www_authenticate.rs
new file mode 100644
index 0000000000..3c122c3bb7
--- /dev/null
+++ b/codex-rs/rmcp-client/src/http_client_adapter/www_authenticate.rs
@@ -0,0 +1,233 @@
+use codex_exec_server::HttpHeader;
+use reqwest::header::WWW_AUTHENTICATE;
+
+#[derive(Debug, PartialEq, Eq)]
+pub(super) struct InsufficientScopeChallenge {
+ pub(super) www_authenticate_header: String,
+ pub(super) required_scope: Option<String>,
+}
+
+#[derive(Debug, PartialEq, Eq)]
+struct BearerInsufficientScope {
+ required_scope: Option<String>,
+}
+
+type AuthParameter<'a> = (&'a str, Option<String>);
+type ChallengeStart<'a> = (&'a str, Option<AuthParameter<'a>>);
+
+#[derive(Default)]
+enum Parameter {
+ #[default]
+ Missing,
+ Value(String),
+ Invalid,
+}
+
+#[derive(Default)]
+struct BearerChallenge {
+ error: Parameter,
+ scope: Parameter,
+}
+
+impl BearerChallenge {
+ fn add_parameter(&mut self, name: &str, value: Option<String>) {
+ let parameter = if name.eq_ignore_ascii_case("error") {
+ &mut self.error
+ } else if name.eq_ignore_ascii_case("scope") {
+ &mut self.scope
+ } else {
+ return;
+ };
+
+ *parameter = match (&*parameter, value) {
+ (Parameter::Missing, Some(value)) => Parameter::Value(value),
+ (Parameter::Missing, None) | (Parameter::Value(_), _) | (Parameter::Invalid, _) => {
+ Parameter::Invalid
+ }
+ };
+ }
+
+ fn into_insufficient_scope(self) -> Option<BearerInsufficientScope> {
+ match self.error {
+ Parameter::Value(error) if error == "insufficient_scope" => {
+ Some(BearerInsufficientScope {
+ required_scope: match self.scope {
+ Parameter::Value(scope) if valid_scope(&scope) => Some(scope),
+ Parameter::Missing | Parameter::Value(_) | Parameter::Invalid => None,
+ },
+ })
+ }
+ Parameter::Missing | Parameter::Value(_) | Parameter::Invalid => None,
+ }
+ }
+}
+
+/// Finds a Bearer insufficient-scope challenge among all `WWW-Authenticate`
+/// response header field values.
+pub(super) fn insufficient_scope_challenge(
+ headers: &[HttpHeader],
+) -> Option<InsufficientScopeChallenge> {
+ headers
+ .iter()
+ .filter(|header| header.name.eq_ignore_ascii_case(WWW_AUTHENTICATE.as_str()))
+ .find_map(|header| {
+ parse_bearer_insufficient_scope(&header.value).map(|challenge| {
+ InsufficientScopeChallenge {
+ www_authenticate_header: header.value.clone(),
+ required_scope: challenge.required_scope,
+ }
+ })
+ })
+}
+
+/// Parses a Bearer `WWW-Authenticate` challenge with an `insufficient_scope`
+/// error and extracts its optional required scope.
+///
+/// RFC 9110 section 11.2 defines challenge parameters as `auth-param` values
+/// whose values are either `token` or `quoted-string`. Quoted strings use HTTP
+/// syntax rather than JSON: section 5.6.4 requires recipients to replace each
+/// `quoted-pair` with its escaped octet.
+///
+/// RFC 6750 section 3 permits `scope` in the Bearer challenge at most once.
+/// After HTTP quoted-string processing, each scope token can contain `%x21`,
+/// `%x23-5B`, or `%x5D-7E`, with `%x20` separating multiple tokens. Therefore
+/// returned scopes cannot contain `"` or `\`, even when those characters occur
+/// in the header encoding.
+///
+/// RMCP has related parsing logic, but it is private to that crate.
+fn parse_bearer_insufficient_scope(header: &str) -> Option<BearerInsufficientScope> {
+ let segments = split_unquoted_segments(header)?;
+ let mut bearer_challenge: Option<BearerChallenge> = None;
+
+ for segment in segments {
+ if let Some((name, value)) = parse_auth_param(segment) {
+ if let Some(challenge) = bearer_challenge.as_mut() {
+ challenge.add_parameter(name, value);
+ }
+ continue;
+ }
+
+ if let Some(challenge) = bearer_challenge
+ .take()
+ .and_then(BearerChallenge::into_insufficient_scope)
+ {
+ return Some(challenge);
+ }
+
+ let (scheme, parameter) = parse_challenge_start(segment)?;
+ if scheme.eq_ignore_ascii_case("Bearer") {
+ let mut challenge = BearerChallenge::default();
+ if let Some((name, value)) = parameter {
+ challenge.add_parameter(name, value);
+ }
+ bearer_challenge = Some(challenge);
+ }
+ }
+
+ bearer_challenge.and_then(BearerChallenge::into_insufficient_scope)
+}
+
+fn parse_challenge_start(segment: &str) -> Option<ChallengeStart<'_>> {
+ let segment = segment.trim();
+ let parameter_start = segment.find(char::is_whitespace);
+ let (scheme, parameter) = match parameter_start {
+ Some(parameter_start) => (
+ &segment[..parameter_start],
+ parse_auth_param(&segment[parameter_start..]),
+ ),
+ None => (segment, None),
+ };
+
+ is_http_token(scheme).then_some((scheme, parameter))
+}
+
+fn parse_auth_param(segment: &str) -> Option<AuthParameter<'_>> {
+ let (name, value) = segment.trim().split_once('=')?;
+ let name = name.trim();
+ is_http_token(name).then_some((name, parse_auth_param_value(value.trim())))
+}
+
+fn parse_auth_param_value(value: &str) -> Option<String> {
+ if let Some(quoted_value) = value.strip_prefix('"') {
+ let quoted_value = quoted_value.strip_suffix('"')?;
+ let mut decoded = String::with_capacity(quoted_value.len());
+ let mut characters = quoted_value.chars();
+ while let Some(character) = characters.next() {
+ if character == '\\' {
+ decoded.push(characters.next()?);
+ } else {
+ decoded.push(character);
+ }
+ }
+ Some(decoded)
+ } else {
+ is_http_token(value).then(|| value.to_string())
+ }
+}
+
+fn split_unquoted_segments(header: &str) -> Option<Vec<&str>> {
+ let mut segments = Vec::new();
+ let mut segment_start = 0;
+ let mut in_quotes = false;
+ let mut escaped = false;
+
+ for (position, character) in header.char_indices() {
+ if escaped {
+ escaped = false;
+ continue;
+ }
+ match character {
+ '\\' if in_quotes => escaped = true,
+ '"' => in_quotes = !in_quotes,
+ ',' | ';' if !in_quotes => {
+ segments.push(&header[segment_start..position]);
+ segment_start = position + character.len_utf8();
+ }
+ _ => {}
+ }
+ }
+
+ if in_quotes || escaped {
+ None
+ } else {
+ segments.push(&header[segment_start..]);
+ Some(segments)
+ }
+}
+
+fn valid_scope(scope: &str) -> bool {
+ scope.split(' ').all(|token| {
+ !token.is_empty()
+ && token
+ .bytes()
+ .all(|byte| matches!(byte, b'!' | b'#'..=b'[' | b']'..=b'~'))
+ })
+}
+
+fn is_http_token(value: &str) -> bool {
+ !value.is_empty()
+ && value.bytes().all(|byte| {
+ byte.is_ascii_alphanumeric()
+ || matches!(
+ byte,
+ b'!' | b'#'
+ | b'$'
+ | b'%'
+ | b'&'
+ | b'\''
+ | b'*'
+ | b'+'
+ | b'-'
+ | b'.'
+ | b'^'
+ | b'_'
+ | b'`'
+ | b'|'
+ | b'~'
+ )
+ })
+}
+
+#[cfg(test)]
+#[path = "www_authenticate_tests.rs"]
+mod tests;
diff --git a/codex-rs/rmcp-client/src/http_client_adapter/www_authenticate_tests.rs b/codex-rs/rmcp-client/src/http_client_adapter/www_authenticate_tests.rs
new file mode 100644
index 0000000000..6696655d88
--- /dev/null
+++ b/codex-rs/rmcp-client/src/http_client_adapter/www_authenticate_tests.rs
@@ -0,0 +1,124 @@
+use codex_exec_server::HttpHeader;
+use pretty_assertions::assert_eq;
+
+use super::BearerInsufficientScope;
+use super::InsufficientScopeChallenge;
+use super::insufficient_scope_challenge;
+use super::parse_bearer_insufficient_scope;
+
+#[test]
+fn extracts_scope_from_bearer_insufficient_scope_challenges() {
+ let cases = [
+ (
+ r#"Bearer error="insufficient_scope", scope="files:read files:write""#,
+ "files:read files:write",
+ ),
+ (
+ r#"Bearer error="insufficient_scope", ScOpE = "files:read""#,
+ "files:read",
+ ),
+ (
+ r#"Bearer scope="read:data", error="insufficient_scope""#,
+ "read:data",
+ ),
+ (r#"Bearer error="insufficient_scope", scope=read"#, "read"),
+ (
+ r#"Bearer error="insufficient_scope", scope="files:read\ files:write""#,
+ "files:read files:write",
+ ),
+ (
+ r#"Bearer error="insufficient_scope", error_description="request scope=admin, not \"root\"", scope="files:read""#,
+ "files:read",
+ ),
+ (
+ r#"Basic realm="example", Bearer error="insufficient_scope", scope="files:read""#,
+ "files:read",
+ ),
+ (
+ r#"Newauth scope="wrong", Bearer error="insufficient_scope", scope="files:read""#,
+ "files:read",
+ ),
+ ];
+
+ for (header, expected_scope) in cases {
+ assert_eq!(
+ parse_bearer_insufficient_scope(header),
+ Some(BearerInsufficientScope {
+ required_scope: Some(expected_scope.to_string()),
+ }),
+ "header: {header}"
+ );
+ }
+}
+
+#[test]
+fn does_not_treat_other_bearer_errors_as_insufficient_scope() {
+ assert_eq!(
+ parse_bearer_insufficient_scope(r#"Bearer error="invalid_token", scope="files:read""#),
+ None
+ );
+}
+
+#[test]
+fn rejects_invalid_or_ambiguous_scope_parameters() {
+ let cases = [
+ r#"Bearer error="insufficient_scope", scope="#,
+ r#"Bearer error="insufficient_scope", scope="read\"write""#,
+ r#"Bearer error="insufficient_scope", scope="read\\write""#,
+ r#"Bearer error="insufficient_scope", scope="read write""#,
+ r#"Bearer error="insufficient_scope", scope=read:data"#,
+ r#"Bearer error="insufficient_scope", scope=files:read files:write"#,
+ r#"Bearer error="insufficient_scope", scope=read=value"#,
+ r#"Bearer error="insufficient_scope", scope="read", scope="write""#,
+ ];
+
+ for header in cases {
+ assert_eq!(
+ parse_bearer_insufficient_scope(header),
+ Some(BearerInsufficientScope {
+ required_scope: None,
+ }),
+ "header: {header}"
+ );
+ }
+}
+
+#[test]
+fn ignores_scope_text_outside_a_scope_parameter() {
+ let cases = [
+ r#"Bearer error_description="request scope=admin""#,
+ r#"Bearer resource_scope="admin""#,
+ r#"Bearer "scope=admin""#,
+ r#"Bearer error_description="unterminated scope=admin"#,
+ ];
+
+ for header in cases {
+ assert_eq!(
+ parse_bearer_insufficient_scope(header),
+ None,
+ "header: {header}"
+ );
+ }
+}
+
+#[test]
+fn selects_bearer_challenge_from_a_later_www_authenticate_field_value() {
+ let headers = vec![
+ HttpHeader {
+ name: "www-authenticate".to_string(),
+ value: r#"Basic realm="example""#.to_string(),
+ },
+ HttpHeader {
+ name: "WWW-Authenticate".to_string(),
+ value: r#"Bearer error="insufficient_scope", scope="files:read""#.to_string(),
+ },
+ ];
+
+ assert_eq!(
+ insufficient_scope_challenge(&headers),
+ Some(InsufficientScopeChallenge {
+ www_authenticate_header: headers[1].value.clone(),
+ required_scope: Some("files:read".to_string()),
+ })
+ );
+}
diff --git a/codex-rs/rmcp-client/src/oauth.rs b/codex-rs/rmcp-client/src/oauth.rs
index 5adfae9347..e23eee84be 100644
--- a/codex-rs/rmcp-client/src/oauth.rs
+++ b/codex-rs/rmcp-client/src/oauth.rs
@@ -21,12 +21,12 @@ use anyhow::Error;
use anyhow::Result;
use codex_config::types::OAuthCredentialsStoreMode;
use oauth2::AccessToken;
-use oauth2::EmptyExtraTokenFields;
use oauth2::RefreshToken;
use oauth2::Scope;
use oauth2::TokenResponse;
use oauth2::basic::BasicTokenType;
use rmcp::transport::auth::OAuthTokenResponse;
+use rmcp::transport::auth::VendorExtraTokenFields;
use serde::Deserialize;
use serde::Serialize;
use serde_json::Value;
@@ -403,7 +403,7 @@ fn load_oauth_tokens_from_file(server_name: &str, url: &str) -> Result<Option<St
let mut token_response = OAuthTokenResponse::new(
AccessToken::new(entry.access_token.clone()),
BasicTokenType::Bearer,
- EmptyExtraTokenFields {},
+ VendorExtraTokenFields::default(),
);
if let Some(refresh) = entry.refresh_token.clone() {
@@ -878,8 +878,8 @@ mod tests {
);
assert_eq!(actual_response.scopes(), expected_response.scopes());
assert_eq!(
- actual_response.extra_fields(),
- expected_response.extra_fields()
+ actual_response.extra_fields().0,
+ expected_response.extra_fields().0
);
assert_eq!(
actual_response.expires_in().is_some(),
@@ -891,7 +891,7 @@ mod tests {
let mut response = OAuthTokenResponse::new(
AccessToken::new("access-token".to_string()),
BasicTokenType::Bearer,
- EmptyExtraTokenFields {},
+ VendorExtraTokenFields::default(),
);
response.set_refresh_token(Some(RefreshToken::new("refresh-token".to_string())));
response.set_scopes(Some(vec![
diff --git a/codex-rs/rmcp-client/src/perform_oauth_login.rs b/codex-rs/rmcp-client/src/perform_oauth_login.rs
index eb6c7906a8..a416b3d9b0 100644
--- a/codex-rs/rmcp-client/src/perform_oauth_login.rs
+++ b/codex-rs/rmcp-client/src/perform_oauth_login.rs
@@ -621,19 +621,15 @@ async fn start_authorization(
auth_manager.with_client(http_client)?;
let metadata = auth_manager.discover_metadata().await?;
auth_manager.set_metadata(metadata);
- auth_manager.configure_client(OAuthClientConfig {
- client_id: oauth_client_id.to_string(),
- client_secret: None,
- scopes: scopes.iter().map(|scope| (*scope).to_string()).collect(),
- redirect_uri: redirect_uri.to_string(),
- })?;
+ auth_manager.configure_client(
+ OAuthClientConfig::new(oauth_client_id, redirect_uri)
+ .with_scopes(scopes.iter().map(|scope| (*scope).to_string()).collect()),
+ )?;
let auth_url = auth_manager.get_authorization_url(scopes).await?;
- Ok(OAuthState::Session(AuthorizationSession {
- auth_manager,
- auth_url,
- redirect_uri: redirect_uri.to_string(),
- }))
+ Ok(OAuthState::Session(
+ AuthorizationSession::for_scope_upgrade(auth_manager, auth_url, redirect_uri),
+ ))
}
fn append_query_param(url: &str, key: &str, value: Option<&str>) -> String {
diff --git a/codex-rs/rmcp-client/src/rmcp_client.rs b/codex-rs/rmcp-client/src/rmcp_client.rs
index 5079570f3d..90b09d724c 100644
--- a/codex-rs/rmcp-client/src/rmcp_client.rs
+++ b/codex-rs/rmcp-client/src/rmcp_client.rs
@@ -12,7 +12,7 @@ use std::time::Instant;
use anyhow::Result;
use anyhow::anyhow;
use codex_api::SharedAuthProvider;
-use codex_client::build_reqwest_client_with_custom_ca;
+use codex_client::maybe_build_rustls_client_config_with_custom_ca;
use codex_config::types::McpServerEnvVar;
use codex_exec_server::HttpClient;
use futures::FutureExt;
@@ -249,6 +249,7 @@ impl From<ElicitationResponse> for CreateElicitationResult {
Self {
action: value.action,
content: value.content,
+ meta: None,
}
}
}
@@ -568,29 +569,22 @@ impl RmcpClient {
}
None => None,
};
- let rmcp_params = CallToolRequestParams {
- meta: None,
- name: name.into(),
- arguments,
- task: None,
- };
+ let mut rmcp_params = CallToolRequestParams::new(name);
+ rmcp_params.arguments = arguments;
let result = self
.run_service_operation("tools/call", timeout, move |service| {
let rmcp_params = rmcp_params.clone();
let meta = meta.clone();
async move {
+ let mut options = rmcp::service::PeerRequestOptions::no_options();
+ options.meta = meta;
let result = service
.peer()
.send_request_with_option(
- ClientRequest::CallToolRequest(rmcp::model::CallToolRequest {
- method: Default::default(),
- params: rmcp_params,
- extensions: Default::default(),
- }),
- rmcp::service::PeerRequestOptions {
- timeout: None,
- meta,
- },
+ ClientRequest::CallToolRequest(rmcp::model::CallToolRequest::new(
+ rmcp_params,
+ )),
+ options,
)
.await?
.await_response()
@@ -1019,8 +1013,11 @@ async fn create_oauth_transport_and_runtime(
StreamableHttpClientTransport<AuthClient<StreamableHttpClientAdapter>>,
OAuthPersistor,
)> {
- let builder = apply_default_headers(reqwest::Client::builder(), &default_headers);
- let oauth_metadata_client = build_reqwest_client_with_custom_ca(builder)?;
+ let mut builder = apply_default_headers(reqwest::Client::builder(), &default_headers);
+ if let Some(tls_config) = maybe_build_rustls_client_config_with_custom_ca()? {
+ builder = builder.tls_backend_preconfigured(tls_config.as_ref().clone());
+ }
+ let oauth_metadata_client = builder.build()?;
// TODO(aibrahim): teach OAuth bootstrap and refresh to use the same
// shared HTTP client abstraction instead of always creating the local
// reqwest metadata client here.
@@ -1037,7 +1034,7 @@ async fn create_oauth_transport_and_runtime(
let manager = match oauth_state {
OAuthState::Authorized(manager) => manager,
OAuthState::Unauthorized(manager) => manager,
- OAuthState::Session(_) | OAuthState::AuthorizedHttpClient(_) => {
+ _ => {
return Err(anyhow!("unexpected OAuth state during client setup"));
}
};
diff --git a/codex-rs/rmcp-client/tests/process_group_cleanup.rs b/codex-rs/rmcp-client/tests/process_group_cleanup.rs
index 10d1e8ec74..ac446233f8 100644
--- a/codex-rs/rmcp-client/tests/process_group_cleanup.rs
+++ b/codex-rs/rmcp-client/tests/process_group_cleanup.rs
@@ -25,26 +25,11 @@ fn stdio_server_bin() -> Result<std::path::PathBuf> {
}
fn init_params() -> InitializeRequestParams {
- InitializeRequestParams {
- meta: None,
- capabilities: ClientCapabilities {
- experimental: None,
- extensions: None,
- roots: None,
- sampling: None,
- elicitation: None,
- tasks: None,
- },
- client_info: Implementation {
- name: "codex-test".into(),
- version: "0.0.0-test".into(),
- title: Some("Codex rmcp shutdown test".into()),
- description: None,
- icons: None,
- website_url: None,
- },
- protocol_version: ProtocolVersion::V_2025_06_18,
- }
+ InitializeRequestParams::new(
+ ClientCapabilities::default(),
+ Implementation::new("codex-test", "0.0.0-test").with_title("Codex rmcp shutdown test"),
+ )
+ .with_protocol_version(ProtocolVersion::V_2025_06_18)
}
fn process_exists(pid: u32) -> bool {
diff --git a/codex-rs/rmcp-client/tests/resources.rs b/codex-rs/rmcp-client/tests/resources.rs
index f2e4c49911..ef7c2f7cdf 100644
--- a/codex-rs/rmcp-client/tests/resources.rs
+++ b/codex-rs/rmcp-client/tests/resources.rs
@@ -28,31 +28,18 @@ fn stdio_server_bin() -> Result<PathBuf, CargoBinError> {
}
fn init_params() -> InitializeRequestParams {
- InitializeRequestParams {
- meta: None,
- capabilities: ClientCapabilities {
- experimental: None,
- extensions: None,
- roots: None,
- sampling: None,
- elicitation: Some(ElicitationCapability {
- form: Some(FormElicitationCapability {
- schema_validation: None,
- }),
- url: None,
- }),
- tasks: None,
- },
- client_info: Implementation {
- name: "codex-test".into(),
- version: "0.0.0-test".into(),
- title: Some("Codex rmcp resource test".into()),
- description: None,
- icons: None,
- website_url: None,
- },
- protocol_version: ProtocolVersion::V_2025_06_18,
- }
+ let mut capabilities = ClientCapabilities::default();
+ capabilities.elicitation = Some(ElicitationCapability {
+ form: Some(FormElicitationCapability {
+ schema_validation: None,
+ }),
+ url: None,
+ });
+ InitializeRequestParams::new(
+ capabilities,
+ Implementation::new("codex-test", "0.0.0-test").with_title("Codex rmcp resource test"),
+ )
+ .with_protocol_version(ProtocolVersion::V_2025_06_18)
}
#[tokio::test(flavor = "multi_thread", worker_threads = 1)]
@@ -132,10 +119,7 @@ async fn rmcp_client_can_list_and_read_resources() -> anyhow::Result<()> {
let read = client
.read_resource(
- ReadResourceRequestParams {
- meta: None,
- uri: RESOURCE_URI.to_string(),
- },
+ ReadResourceRequestParams::new(RESOURCE_URI),
Some(Duration::from_secs(5)),
)
.await?;
diff --git a/codex-rs/rmcp-client/tests/streamable_http_recovery.rs b/codex-rs/rmcp-client/tests/streamable_http_recovery.rs
index 4be21f6cfc..087d3d00df 100644
--- a/codex-rs/rmcp-client/tests/streamable_http_recovery.rs
+++ b/codex-rs/rmcp-client/tests/streamable_http_recovery.rs
@@ -16,7 +16,13 @@ async fn streamable_http_404_session_expiry_recovers_and_retries_once() -> anyho
let warmup = call_echo_tool(&client, "warmup").await?;
assert_eq!(warmup, expected_echo_result("warmup"));
- arm_session_post_failure(&base_url, /*status*/ 404, /*remaining*/ 1).await?;
+ arm_session_post_failure(
+ &base_url,
+ /*status*/ 404,
+ /*remaining*/ 1,
+ /*www_authenticate_headers*/ &[],
+ )
+ .await?;
let recovered = call_echo_tool(&client, "recovered").await?;
assert_eq!(recovered, expected_echo_result("recovered"));
@@ -32,7 +38,13 @@ async fn streamable_http_401_does_not_trigger_recovery() -> anyhow::Result<()> {
let warmup = call_echo_tool(&client, "warmup").await?;
assert_eq!(warmup, expected_echo_result("warmup"));
- arm_session_post_failure(&base_url, /*status*/ 401, /*remaining*/ 2).await?;
+ arm_session_post_failure(
+ &base_url,
+ /*status*/ 401,
+ /*remaining*/ 2,
+ /*www_authenticate_headers*/ &[],
+ )
+ .await?;
let first_error = call_echo_tool(&client, "unauthorized").await.unwrap_err();
assert!(first_error.to_string().contains("401"));
@@ -45,6 +57,61 @@ async fn streamable_http_401_does_not_trigger_recovery() -> anyhow::Result<()> {
Ok(())
}
+#[tokio::test(flavor = "multi_thread", worker_threads = 1)]
+async fn streamable_http_403_scope_challenge_returns_insufficient_scope() -> anyhow::Result<()> {
+ let (_server, base_url) = spawn_streamable_http_server().await?;
+ let client = create_client(&base_url).await?;
+
+ let warmup = call_echo_tool(&client, "warmup").await?;
+ assert_eq!(warmup, expected_echo_result("warmup"));
+
+ arm_session_post_failure(
+ &base_url,
+ /*status*/ 403,
+ /*remaining*/ 1,
+ /*www_authenticate_headers*/
+ &[r#"Bearer error="insufficient_scope", scope="files:read files:write""#],
+ )
+ .await?;
+
+ let error = call_echo_tool(&client, "forbidden").await.unwrap_err();
+ assert!(
+ error.to_string().contains("Insufficient scope"),
+ "expected insufficient-scope transport error, got: {error:#}"
+ );
+
+ Ok(())
+}
+
+#[tokio::test(flavor = "multi_thread", worker_threads = 1)]
+async fn streamable_http_403_finds_bearer_challenge_in_later_header_value() -> anyhow::Result<()> {
+ let (_server, base_url) = spawn_streamable_http_server().await?;
+ let client = create_client(&base_url).await?;
+
+ let warmup = call_echo_tool(&client, "warmup").await?;
+ assert_eq!(warmup, expected_echo_result("warmup"));
+
+ arm_session_post_failure(
+ &base_url,
+ /*status*/ 403,
+ /*remaining*/ 1,
+ /*www_authenticate_headers*/
+ &[
+ r#"Basic realm="example""#,
+ r#"Bearer error="insufficient_scope", scope="files:read""#,
+ ],
+ )
+ .await?;
+
+ let error = call_echo_tool(&client, "forbidden").await.unwrap_err();
+ assert!(
+ error.to_string().contains("Insufficient scope"),
+ "expected insufficient-scope transport error, got: {error:#}"
+ );
+
+ Ok(())
+}
+
#[tokio::test(flavor = "multi_thread", worker_threads = 1)]
async fn streamable_http_404_recovery_only_retries_once() -> anyhow::Result<()> {
let (_server, base_url) = spawn_streamable_http_server().await?;
@@ -53,7 +120,13 @@ async fn streamable_http_404_recovery_only_retries_once() -> anyhow::Result<()>
let warmup = call_echo_tool(&client, "warmup").await?;
assert_eq!(warmup, expected_echo_result("warmup"));
- arm_session_post_failure(&base_url, /*status*/ 404, /*remaining*/ 2).await?;
+ arm_session_post_failure(
+ &base_url,
+ /*status*/ 404,
+ /*remaining*/ 2,
+ /*www_authenticate_headers*/ &[],
+ )
+ .await?;
let error = call_echo_tool(&client, "double-404").await.unwrap_err();
assert!(
@@ -77,7 +150,13 @@ async fn streamable_http_non_session_failure_does_not_trigger_recovery() -> anyh
let warmup = call_echo_tool(&client, "warmup").await?;
assert_eq!(warmup, expected_echo_result("warmup"));
- arm_session_post_failure(&base_url, /*status*/ 500, /*remaining*/ 2).await?;
+ arm_session_post_failure(
+ &base_url,
+ /*status*/ 500,
+ /*remaining*/ 2,
+ /*www_authenticate_headers*/ &[],
+ )
+ .await?;
let first_error = call_echo_tool(&client, "server-error").await.unwrap_err();
assert!(first_error.to_string().contains("500"));
diff --git a/codex-rs/rmcp-client/tests/streamable_http_test_support.rs b/codex-rs/rmcp-client/tests/streamable_http_test_support.rs
index cfff33ab43..822acef1a2 100644
--- a/codex-rs/rmcp-client/tests/streamable_http_test_support.rs
+++ b/codex-rs/rmcp-client/tests/streamable_http_test_support.rs
@@ -50,43 +50,27 @@ fn streamable_http_server_bin() -> Result<PathBuf, CargoBinError> {
}
fn init_params() -> InitializeRequestParams {
- InitializeRequestParams {
- meta: None,
- capabilities: ClientCapabilities {
- experimental: None,
- extensions: None,
- roots: None,
- sampling: None,
- elicitation: Some(ElicitationCapability {
- form: Some(FormElicitationCapability {
- schema_validation: None,
- }),
- url: None,
- }),
- tasks: None,
- },
- client_info: Implementation {
- name: "codex-test".into(),
- version: "0.0.0-test".into(),
- title: Some("Codex rmcp recovery test".into()),
- description: None,
- icons: None,
- website_url: None,
- },
- protocol_version: ProtocolVersion::V_2025_06_18,
- }
+ let mut capabilities = ClientCapabilities::default();
+ capabilities.elicitation = Some(ElicitationCapability {
+ form: Some(FormElicitationCapability {
+ schema_validation: None,
+ }),
+ url: None,
+ });
+ InitializeRequestParams::new(
+ capabilities,
+ Implementation::new("codex-test", "0.0.0-test").with_title("Codex rmcp recovery test"),
+ )
+ .with_protocol_version(ProtocolVersion::V_2025_06_18)
}
pub(crate) fn expected_echo_result(message: &str) -> CallToolResult {
- CallToolResult {
- content: Vec::new(),
- structured_content: Some(json!({
- "echo": format!("ECHOING: {message}"),
- "env": null,
- })),
- is_error: Some(false),
- meta: None,
- }
+ let mut result = CallToolResult::success(Vec::new());
+ result.structured_content = Some(json!({
+ "echo": format!("ECHOING: {message}"),
+ "env": null,
+ }));
+ result
}
pub(crate) async fn create_client(base_url: &str) -> anyhow::Result<RmcpClient> {
@@ -178,12 +162,14 @@ pub(crate) async fn arm_session_post_failure(
base_url: &str,
status: u16,
remaining: usize,
+ www_authenticate_headers: &[&str],
) -> anyhow::Result<()> {
let response = reqwest::Client::new()
.post(format!("{base_url}{SESSION_POST_FAILURE_CONTROL_PATH}"))
.json(&json!({
"status": status,
"remaining": remaining,
+ "www_authenticate_headers": www_authenticate_headers,
}))
.send()
.await?;
diff --git a/codex-rs/tools/src/mcp_tool_tests.rs b/codex-rs/tools/src/mcp_tool_tests.rs
index 5a94526329..98f8885a95 100644
--- a/codex-rs/tools/src/mcp_tool_tests.rs
+++ b/codex-rs/tools/src/mcp_tool_tests.rs
@@ -6,17 +6,11 @@ use pretty_assertions::assert_eq;
use std::collections::BTreeMap;
fn mcp_tool(name: &str, description: &str, input_schema: serde_json::Value) -> rmcp::model::Tool {
- rmcp::model::Tool {
- name: name.to_string().into(),
- title: None,
- description: Some(description.to_string().into()),
- input_schema: std::sync::Arc::new(rmcp::model::object(input_schema)),
- output_schema: None,
- annotations: None,
- execution: None,
- icons: None,
- meta: None,
- }
+ rmcp::model::Tool::new(
+ name.to_string(),
+ description.to_string(),
+ std::sync::Arc::new(rmcp::model::object(input_schema)),
+ )
}
#[test]
diff --git a/codex-rs/tools/src/responses_api_tests.rs b/codex-rs/tools/src/responses_api_tests.rs
index 3ce13ebfe8..e549d9969f 100644
--- a/codex-rs/tools/src/responses_api_tests.rs
+++ b/codex-rs/tools/src/responses_api_tests.rs
@@ -87,11 +87,10 @@ fn dynamic_tool_to_responses_api_tool_preserves_defer_loading() {
#[test]
fn mcp_tool_to_deferred_responses_api_tool_sets_defer_loading() {
- let tool = rmcp::model::Tool {
- name: "lookup_order".to_string().into(),
- title: None,
- description: Some("Look up an order".to_string().into()),
- input_schema: std::sync::Arc::new(rmcp::model::object(json!({
+ let tool = rmcp::model::Tool::new(
+ "lookup_order",
+ "Look up an order",
+ std::sync::Arc::new(rmcp::model::object(json!({
"type": "object",
"properties": {
"order_id": {"type": "string"}
@@ -99,12 +98,7 @@ fn mcp_tool_to_deferred_responses_api_tool_sets_defer_loading() {
"required": ["order_id"],
"additionalProperties": false,
}))),
- output_schema: None,
- annotations: None,
- execution: None,
- icons: None,
- meta: None,
- };
+ );
assert_eq!(
mcp_tool_to_deferred_responses_api_tool(
diff --git a/codex-rs/tools/tests/json_schema_policy_fixtures.rs b/codex-rs/tools/tests/json_schema_policy_fixtures.rs
index 1e244ade1e..71ea94a5d9 100644
--- a/codex-rs/tools/tests/json_schema_policy_fixtures.rs
+++ b/codex-rs/tools/tests/json_schema_policy_fixtures.rs
@@ -201,17 +201,11 @@ fn convert_fixture_tool(
.as_object()
.unwrap_or_else(|| panic!("{name} input_schema should be an object"))
.clone();
- let tool = rmcp::model::Tool {
- name: name.to_string().into(),
- title: None,
- description: Some(fixture_tool.description.clone().into()),
- input_schema: Arc::new(input_schema),
- output_schema: None,
- annotations: None,
- execution: None,
- icons: None,
- meta: None,
- };
+ let tool = rmcp::model::Tool::new(
+ name.to_string(),
+ fixture_tool.description.clone(),
+ Arc::new(input_schema),
+ );
mcp_tool_to_responses_api_tool(&ToolName::namespaced(&fixture.source, name), &tool)
.unwrap_or_else(|err| panic!("convert {name} from {}: {err}", fixture.source))