Files
dev/codex-rs/browser/Cargo.toml
zeekay ac805370ab feat: add in-terminal browser via CDP (feature-gated)
Port the browser crate from just-every/code into codex-rs as
codex-browser. Adds Chrome DevTools Protocol integration for
in-terminal web browsing, screenshot capture, and page interaction.

Feature-gated behind `browser` in codex-tui — default builds are
unchanged. Enable with: cargo build --features browser

New files:
- codex-rs/browser/ — CDP client (chromiumoxide), page management,
  screenshot capture, browser tools, hook injection
- codex-rs/tui/src/chatwidget/browser_sessions.rs — session tracking
- codex-rs/tui/src/history_cell/browser.rs — browser history cells
- codex-rs/tui/src/chrome_launch.rs — Chrome detection/launch
2026-03-31 13:53:35 -07:00

38 lines
878 B
TOML

[package]
edition = "2024"
name = "codex-browser"
version = { workspace = true }
[lib]
name = "codex_browser"
path = "src/lib.rs"
[lints]
workspace = true
[dependencies]
anyhow = "1"
async-trait = "0.1"
base64 = "0.22.1"
bytes = "1"
chromiumoxide = { version = "0.7", features = ["tokio-runtime"], default-features = false }
chromiumoxide_types = "0.7"
chrono = { version = "0.4", features = ["serde"] }
fs2 = "0.4"
futures = "0.3"
once_cell = "1.20"
rand = "0.9"
regex = "1"
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tempfile = "3"
url = "2"
thiserror = "2"
tokio = { version = "1", features = ["fs", "io-util", "macros", "rt-multi-thread", "sync", "time"] }
tracing = "0.1"
uuid = { version = "1", features = ["v4"] }
[dev-dependencies]
tokio-test = "0.4"