mirror of
https://github.com/openai/codex.git
synced 2026-11-19 22:30:42 +00:00
## What changed Remove the legacy framed stdio protocol and its client and server. Local Codex launches the standalone host with `--listen grpc+stdio://`, which is also the host's default. The `stdio` and `stdio://` aliases now select gRPC over stdio. The `features.code_mode_host_grpc` setting is deprecated and ignored. Carry execution trace context into gRPC tool callbacks and notifications. Reject oversized execute requests before sending them so an encoding failure does not appear as a connection reset. ## Testing Exercise gRPC callback cancellation, trace context across overlapping yielded cells, and isolation of tool preload failures between sessions. Check that both values of the deprecated feature setting are ignored. GitOrigin-RevId: f5faff3901dc60958627f677f50cfad834291b69
49 lines
1.5 KiB
TOML
49 lines
1.5 KiB
TOML
[package]
|
|
name = "codex-code-mode-host"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[[bin]]
|
|
name = "codex-code-mode-host"
|
|
path = "src/main.rs"
|
|
|
|
[lib]
|
|
doctest = false
|
|
name = "codex_code_mode_host"
|
|
path = "src/lib.rs"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
codex-http-client = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
axum = { workspace = true, features = ["http1", "tokio", "ws"] }
|
|
clap = { workspace = true, features = ["derive"] }
|
|
codex-code-mode-protocol = { workspace = true }
|
|
codex-code-mode-runtime = { workspace = true }
|
|
codex-otel = { workspace = true }
|
|
codex-otel-trace-websocket = { workspace = true }
|
|
codex-protocol = { workspace = true }
|
|
futures = { workspace = true }
|
|
prost = "0.14.3"
|
|
serde_json = { workspace = true }
|
|
tokio = { workspace = true, features = ["io-std", "io-util", "macros", "net", "process", "rt", "sync", "time"] }
|
|
tokio-stream = { workspace = true }
|
|
tokio-util = { workspace = true, features = ["rt"] }
|
|
tonic = { workspace = true, features = ["router", "transport", "zstd"] }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
uuid = { workspace = true, features = ["v4"] }
|
|
|
|
[dev-dependencies]
|
|
codex-core = { workspace = true }
|
|
tokio = { workspace = true, features = ["test-util"] }
|
|
codex-plugin-host = { workspace = true }
|
|
codex-code-mode = { workspace = true }
|
|
codex-utils-cargo-bin = { workspace = true }
|
|
codex-utils-process = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|
|
tempfile = { workspace = true }
|