Lightweight coding agent that runs in your terminal
Rust
nit: shell snapshot retention to 3 days (#10382)
jif-oai4971e96a98cc
diff --git a/codex-rs/core/src/shell_snapshot.rs b/codex-rs/core/src/shell_snapshot.rsindex 7ba1b67caf..1277328244 100644--- a/codex-rs/core/src/shell_snapshot.rs+++ b/codex-rs/core/src/shell_snapshot.rs@@ -29,7 +29,7 @@ pub struct ShellSnapshot {}const SNAPSHOT_TIMEOUT: Duration = Duration::from_secs(10);-const SNAPSHOT_RETENTION: Duration = Duration::from_secs(60 * 60 * 24 * 7); // 7 days retention.+const SNAPSHOT_RETENTION: Duration = Duration::from_secs(60 * 60 * 24 * 3); // 3 days retention.const SNAPSHOT_DIR: &str = "shell_snapshots";const EXCLUDED_EXPORT_VARS: &[&str] = &["PWD", "OLDPWD"];