[package]
edition = "2024"
name = "nils-codex-cli"
version = "0.4.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI crate for nils-codex-cli in the nils-cli workspace."
readme = "README.md"
license = "MIT"
repository = "https://github.com/graysurf/nils-cli"
resolver = "2"
[lib]
name = "codex_cli"
path = "src/lib.rs"
[[bin]]
name = "codex-cli"
path = "src/main.rs"
[[test]]
name = "agent_commit"
path = "tests/agent_commit.rs"
[[test]]
name = "agent_exec"
path = "tests/agent_exec.rs"
[[test]]
name = "agent_prompt"
path = "tests/agent_prompt.rs"
[[test]]
name = "agent_templates"
path = "tests/agent_templates.rs"
[[test]]
name = "auth_auto_refresh"
path = "tests/auth_auto_refresh.rs"
[[test]]
name = "auth_current_sync"
path = "tests/auth_current_sync.rs"
[[test]]
name = "auth_json_contract"
path = "tests/auth_json_contract.rs"
[[test]]
name = "auth_json_contract_more"
path = "tests/auth_json_contract_more.rs"
[[test]]
name = "auth_login"
path = "tests/auth_login.rs"
[[test]]
name = "auth_refresh"
path = "tests/auth_refresh.rs"
[[test]]
name = "auth_remove"
path = "tests/auth_remove.rs"
[[test]]
name = "auth_save"
path = "tests/auth_save.rs"
[[test]]
name = "auth_use"
path = "tests/auth_use.rs"
[[test]]
name = "completion_contract"
path = "tests/completion_contract.rs"
[[test]]
name = "completion_flags_contract"
path = "tests/completion_flags_contract.rs"
[[test]]
name = "completion_smoke"
path = "tests/completion_smoke.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "diag_json_contract"
path = "tests/diag_json_contract.rs"
[[test]]
name = "dispatch"
path = "tests/dispatch.rs"
[[test]]
name = "fs"
path = "tests/fs.rs"
[[test]]
name = "json"
path = "tests/json.rs"
[[test]]
name = "jwt"
path = "tests/jwt.rs"
[[test]]
name = "main_entrypoint"
path = "tests/main_entrypoint.rs"
[[test]]
name = "parity_oracle"
path = "tests/parity_oracle.rs"
[[test]]
name = "paths"
path = "tests/paths.rs"
[[test]]
name = "prompts"
path = "tests/prompts.rs"
[[test]]
name = "rate_limits_all"
path = "tests/rate_limits_all.rs"
[[test]]
name = "rate_limits_ansi"
path = "tests/rate_limits_ansi.rs"
[[test]]
name = "rate_limits_async"
path = "tests/rate_limits_async.rs"
[[test]]
name = "rate_limits_client"
path = "tests/rate_limits_client.rs"
[[test]]
name = "rate_limits_client_more"
path = "tests/rate_limits_client_more.rs"
[[test]]
name = "rate_limits_network"
path = "tests/rate_limits_network.rs"
[[test]]
name = "rate_limits_render"
path = "tests/rate_limits_render.rs"
[[test]]
name = "rate_limits_single"
path = "tests/rate_limits_single.rs"
[[test]]
name = "runtime_auth_contract"
path = "tests/runtime_auth_contract.rs"
[[test]]
name = "runtime_error_contract"
path = "tests/runtime_error_contract.rs"
[[test]]
name = "runtime_exec_contract"
path = "tests/runtime_exec_contract.rs"
[[test]]
name = "runtime_paths_config_contract"
path = "tests/runtime_paths_config_contract.rs"
[[test]]
name = "starship_cached"
path = "tests/starship_cached.rs"
[[test]]
name = "starship_refresh"
path = "tests/starship_refresh.rs"
[dependencies.anyhow]
version = "1"
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"std",
]
default-features = false
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.clap_complete]
version = "4"
[dependencies.nils-common]
version = "0.4.6"
package = "nils-common"
[dependencies.nils-term]
version = "0.4.6"
package = "nils-term"
[dependencies.reqwest]
version = "0.12"
features = [
"blocking",
"rustls-tls",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dev-dependencies.nils-test-support]
version = "0.4.6"
[dev-dependencies.pretty_assertions]
version = "1"
[dev-dependencies.tempfile]
version = "3"