mirror of
https://github.com/openai/codex.git
synced 2026-02-01 22:47:52 +00:00
## Summary - add a shared git-ref resolver and use it for `codex cloud exec` and TUI task submission - expose a new `--branch` flag to override the git ref passed to cloud tasks - cover the git-ref resolution behavior with new async unit tests and supporting dev dependencies ## Testing - cargo test -p codex-cloud-tasks ------ [Codex Task](https://chatgpt.com/codex/tasks/task_i_692decc6cbec8332953470ef063e11ab) --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Jeremy Rose <172423086+nornagon-openai@users.noreply.github.com> Co-authored-by: Jeremy Rose <nornagon@openai.com>
46 lines
1.3 KiB
TOML
46 lines
1.3 KiB
TOML
[package]
|
|
name = "codex-cloud-tasks"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lib]
|
|
name = "codex_cloud_tasks"
|
|
path = "src/lib.rs"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
base64 = { workspace = true }
|
|
chrono = { workspace = true, features = ["serde"] }
|
|
clap = { workspace = true, features = ["derive"] }
|
|
codex-cloud-tasks-client = { path = "../cloud-tasks-client", features = [
|
|
"mock",
|
|
"online",
|
|
] }
|
|
codex-common = { path = "../common", features = ["cli"] }
|
|
codex-core = { path = "../core" }
|
|
codex-login = { path = "../login" }
|
|
codex-tui = { path = "../tui" }
|
|
crossterm = { workspace = true, features = ["event-stream"] }
|
|
ratatui = { workspace = true }
|
|
reqwest = { workspace = true, features = ["json"] }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
|
tokio-stream = { workspace = true }
|
|
tracing = { workspace = true, features = ["log"] }
|
|
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
|
unicode-width = { workspace = true }
|
|
owo-colors = { workspace = true, features = ["supports-colors"] }
|
|
supports-color = { workspace = true }
|
|
|
|
[dependencies.async-trait]
|
|
workspace = true
|
|
|
|
[dev-dependencies]
|
|
async-trait = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|