chore: remove network-proxy-cli crate (#11158)

## Summary
- remove `network-proxy-cli` from the Rust workspace members
- delete the dedicated `codex-network-proxy-cli` crate files
- remove the stale `codex-network-proxy-cli` package entry from
`Cargo.lock`

## Testing
- just fmt
- cargo test -p codex-network-proxy
This commit is contained in:
viyatb-oai
2026-02-09 12:13:55 -08:00
committed by GitHub
parent 86183847fd
commit c2c6bc90f8
4 changed files with 0 additions and 49 deletions

12
codex-rs/Cargo.lock generated
View File

@@ -1928,18 +1928,6 @@ dependencies = [
"url",
]
[[package]]
name = "codex-network-proxy-cli"
version = "0.0.0"
dependencies = [
"anyhow",
"clap",
"codex-core",
"codex-network-proxy",
"tokio",
"tracing-subscriber",
]
[[package]]
name = "codex-ollama"
version = "0.0.0"

View File

@@ -29,7 +29,6 @@ members = [
"login",
"mcp-server",
"network-proxy",
"network-proxy-cli",
"ollama",
"process-hardening",
"protocol",

View File

@@ -1,17 +0,0 @@
[package]
name = "codex-network-proxy-cli"
edition = "2024"
version = { workspace = true }
license.workspace = true
[[bin]]
name = "codex-network-proxy"
path = "src/main.rs"
[dependencies]
anyhow = { workspace = true }
clap = { workspace = true, features = ["derive"] }
codex-core = { workspace = true }
codex-network-proxy = { path = "../network-proxy" }
tokio = { workspace = true, features = ["full"] }
tracing-subscriber = { workspace = true, features = ["fmt"] }

View File

@@ -1,19 +0,0 @@
use anyhow::Result;
use clap::Parser;
use codex_core::network_proxy_loader;
use codex_network_proxy::Args;
use codex_network_proxy::NetworkProxy;
use codex_network_proxy::NetworkProxyState;
use std::sync::Arc;
#[tokio::main]
async fn main() -> Result<()> {
tracing_subscriber::fmt::init();
let args = Args::parse();
let (state, reloader) = network_proxy_loader::build_network_proxy_state_and_reloader().await?;
let state = Arc::new(NetworkProxyState::with_reloader(state, Arc::new(reloader)));
let _ = args;
let proxy = NetworkProxy::builder().state(state).build().await?;
proxy.run().await?.wait().await
}