The existing `wire_format.rs` should share more types with the `codex-protocol` crate (like `AskForApproval` instead of maintaining a parallel `CodexToolCallApprovalPolicy` enum), so this PR moves `wire_format.rs` into `codex-protocol`, renaming it as `mcp-protocol.rs`. We also de-dupe types, where appropriate. --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/openai/codex/pull/2423). * #2424 * __->__ #2423
40 lines
835 B
TOML
40 lines
835 B
TOML
[package]
|
|
edition = "2024"
|
|
name = "codex-cli"
|
|
version = { workspace = true }
|
|
|
|
[[bin]]
|
|
name = "codex"
|
|
path = "src/main.rs"
|
|
|
|
[lib]
|
|
name = "codex_cli"
|
|
path = "src/lib.rs"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
clap = { version = "4", features = ["derive"] }
|
|
clap_complete = "4"
|
|
codex-arg0 = { path = "../arg0" }
|
|
codex-chatgpt = { path = "../chatgpt" }
|
|
codex-common = { path = "../common", features = ["cli"] }
|
|
codex-core = { path = "../core" }
|
|
codex-exec = { path = "../exec" }
|
|
codex-login = { path = "../login" }
|
|
codex-mcp-server = { path = "../mcp-server" }
|
|
codex-protocol = { path = "../protocol" }
|
|
codex-tui = { path = "../tui" }
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = [
|
|
"io-std",
|
|
"macros",
|
|
"process",
|
|
"rt-multi-thread",
|
|
"signal",
|
|
] }
|
|
tracing = "0.1.41"
|
|
tracing-subscriber = "0.3.19"
|