- Update splash styling. - Add center truncation for long paths. (Uses new `center_truncate_path` utility.) - Update the suggested commands. ## New splash <img width="560" height="326" alt="image" src="https://github.com/user-attachments/assets/b80d7075-f376-4019-a464-b96a78b0676d" /> ## Example with truncation: <img width="524" height="317" alt="image" src="https://github.com/user-attachments/assets/b023c5cc-0bf0-4d21-9b98-bfea85546eda" />
104 lines
2.4 KiB
TOML
104 lines
2.4 KiB
TOML
[package]
|
|
edition = "2024"
|
|
name = "codex-tui"
|
|
version = { workspace = true }
|
|
|
|
[[bin]]
|
|
name = "codex-tui"
|
|
path = "src/main.rs"
|
|
|
|
[lib]
|
|
name = "codex_tui"
|
|
path = "src/lib.rs"
|
|
|
|
[features]
|
|
# Enable vt100-based tests (emulator) when running with `--features vt100-tests`.
|
|
vt100-tests = []
|
|
# Gate verbose debug logging inside the TUI implementation.
|
|
debug-logs = []
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
async-stream = "0.3.6"
|
|
base64 = "0.22.1"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
clap = { version = "4", features = ["derive"] }
|
|
codex-ansi-escape = { path = "../ansi-escape" }
|
|
codex-arg0 = { path = "../arg0" }
|
|
codex-common = { path = "../common", features = [
|
|
"cli",
|
|
"elapsed",
|
|
"sandbox_summary",
|
|
] }
|
|
codex-core = { path = "../core" }
|
|
codex-file-search = { path = "../file-search" }
|
|
codex-login = { path = "../login" }
|
|
codex-ollama = { path = "../ollama" }
|
|
codex-protocol = { path = "../protocol" }
|
|
color-eyre = "0.6.3"
|
|
crossterm = { version = "0.28.1", features = [
|
|
"bracketed-paste",
|
|
"event-stream",
|
|
] }
|
|
dirs = "6"
|
|
diffy = "0.4.2"
|
|
image = { version = "^0.25.8", default-features = false, features = [
|
|
"jpeg",
|
|
"png",
|
|
] }
|
|
itertools = "0.14.0"
|
|
lazy_static = "1"
|
|
mcp-types = { path = "../mcp-types" }
|
|
once_cell = "1"
|
|
path-clean = "1.0.1"
|
|
rand = "0.9"
|
|
ratatui = { version = "0.29.0", features = [
|
|
"scrolling-regions",
|
|
"unstable-rendered-line-info",
|
|
"unstable-widget-ref",
|
|
] }
|
|
regex-lite = "0.1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = { version = "1", features = ["preserve_order"] }
|
|
shlex = "1.3.0"
|
|
strum = "0.27.2"
|
|
strum_macros = "0.27.2"
|
|
supports-color = "3.0.2"
|
|
tempfile = "3"
|
|
textwrap = "0.16.2"
|
|
tokio = { version = "1", features = [
|
|
"io-std",
|
|
"macros",
|
|
"process",
|
|
"rt-multi-thread",
|
|
"signal",
|
|
] }
|
|
tokio-stream = "0.1.17"
|
|
tracing = { version = "0.1.41", features = ["log"] }
|
|
tracing-appender = "0.2.3"
|
|
tracing-subscriber = { version = "0.3.20", features = ["env-filter"] }
|
|
pulldown-cmark = "0.10"
|
|
unicode-segmentation = "1.12.0"
|
|
unicode-width = "0.1"
|
|
url = "2"
|
|
pathdiff = "0.2"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
|
|
# Clipboard support via `arboard` is not available on Android/Termux.
|
|
# Only include it for non-Android targets so the crate builds on Android.
|
|
[target.'cfg(not(target_os = "android"))'.dependencies]
|
|
arboard = "3"
|
|
|
|
|
|
[dev-dependencies]
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
insta = "1.43.2"
|
|
pretty_assertions = "1"
|
|
rand = "0.9"
|
|
vt100 = "0.16.2"
|