feat: readiness tool (#4090)

Readiness flag with token-based subscription and async wait function
that waits for all the subscribers to be ready
This commit is contained in:
jif-oai
2025-09-23 17:27:20 +01:00
committed by GitHub
parent 664ee07540
commit 6cd5309d91
5 changed files with 269 additions and 0 deletions

14
codex-rs/Cargo.lock generated
View File

@@ -316,6 +316,17 @@ dependencies = [
"syn 2.0.104",
]
[[package]]
name = "async-trait"
version = "0.1.89"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.104",
]
[[package]]
name = "atomic-waker"
version = "1.1.2"
@@ -653,10 +664,13 @@ dependencies = [
name = "codex-common"
version = "0.0.0"
dependencies = [
"async-trait",
"clap",
"codex-core",
"codex-protocol",
"serde",
"thiserror 2.0.16",
"tokio",
"toml",
]