mirror of
https://github.com/openai/codex.git
synced 2026-11-17 22:10:37 +00:00
## What changed - Make `codex tcp-tunnel` an SSH stdio helper, removing the loopback listener, stdin control protocol, and JSON diagnostics. - Add `--token-file` for one-use credentials, consumed only after gateway verification, with environment-based OAuth routing or a legacy IPv4 `--target`. - Honor system HTTPS proxy settings without attempting direct QUIC, and keep gateway credentials inside verified TLS. - Race direct TCP addresses through TLS and HTTP/2 readiness so stalled peers do not block a working address. ## Testing Add coverage for proxy credential isolation and stalled TLS peers, plus an opt-in Linux OpenSSH integration test for complete uploads and remote exit while local stdin remains open. GitOrigin-RevId: 62423c8a8267842c9e401b3f9094c7278c47a490
34 lines
1.2 KiB
TOML
34 lines
1.2 KiB
TOML
[package]
|
|
name = "codex-tcp-tunnel"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
bytes = { workspace = true }
|
|
clap = { workspace = true, features = ["derive"] }
|
|
h2 = "0.4.19"
|
|
h3 = { git = "https://github.com/hyperium/h3", rev = "e07e69412876f7e26f026bd75a48b2704d8c8283" }
|
|
h3-quinn = { git = "https://github.com/hyperium/h3", rev = "e07e69412876f7e26f026bd75a48b2704d8c8283" }
|
|
http = { workspace = true }
|
|
hyper-rustls = { version = "0.27", default-features = false, features = ["http1", "ring", "tls12"] }
|
|
hyper-util = { workspace = true, features = ["client-legacy", "client-proxy", "client-proxy-system", "http1"] }
|
|
quinn = { version = "0.11", default-features = false, features = ["runtime-tokio", "rustls-ring"] }
|
|
rustls = { workspace = true, features = ["ring", "std"] }
|
|
rustls-native-certs = { workspace = true }
|
|
tokio = { workspace = true, features = ["io-util", "macros", "net", "rt-multi-thread", "sync", "time"] }
|
|
tokio-rustls = { workspace = true }
|
|
tower-service = "0.3"
|
|
url = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = { workspace = true }
|
|
rcgen = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|