This commit is contained in:
Ryan Ragona
2025-04-27 08:43:44 -07:00
parent 66a2e970f7
commit aef7f25302
3 changed files with 1 additions and 8 deletions

1
codex-rs/Cargo.lock generated
View File

@@ -573,7 +573,6 @@ dependencies = [
"codex-core",
"owo-colors 4.2.0",
"rand 0.9.1",
"serde",
"tokio",
"tracing",
"tracing-subscriber",

View File

@@ -25,7 +25,4 @@ tokio = { version = "1", features = [
"signal",
] }
tracing = { version = "0.1.41", features = ["log"] }
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
# For serialising the `Cli` struct into the on-disk session metadata.
serde = { version = "1.0", features = ["derive"] }
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }

View File

@@ -85,12 +85,10 @@ impl Cli {
args.push("--no-ansi".into());
}
// Verbose flag is additive (-v -vv ...).
for _ in 0..self.verbose {
args.push("-v".into());
}
// Approval + sandbox policies
args.push("--ask-for-approval".into());
args.push(
self.approval_policy
@@ -127,7 +125,6 @@ impl Cli {
args.push(path.to_string_lossy().into_owned());
}
// Finally positional prompt argument.
if let Some(prompt) = &self.prompt {
args.push(prompt.clone());
}