Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

chore: enable shell snapshot (#11172)

jif-oai753821c90fda
diff --git a/codex-rs/core/src/features.rs b/codex-rs/core/src/features.rs
index e965076504..7de37e78ad 100644
--- a/codex-rs/core/src/features.rs
+++ b/codex-rs/core/src/features.rs
@@ -414,6 +414,12 @@ pub const FEATURES: &[FeatureSpec] = &[
stage: Stage::Stable,
default_enabled: !cfg!(windows),
},
+ FeatureSpec {
+ id: Feature::ShellSnapshot,
+ key: "shell_snapshot",
+ stage: Stage::Stable,
+ default_enabled: true,
+ },
FeatureSpec {
id: Feature::WebSearchRequest,
key: "web_search_request",
@@ -427,16 +433,6 @@ pub const FEATURES: &[FeatureSpec] = &[
default_enabled: false,
},
// Experimental program. Rendered in the `/experimental` menu for users.
- FeatureSpec {
- id: Feature::ShellSnapshot,
- key: "shell_snapshot",
- stage: Stage::Experimental {
- name: "Shell snapshot",
- menu_description: "Snapshot your shell environment to avoid re-running login scripts for every command.",
- announcement: "NEW! Try shell snapshotting to make your Codex faster. Enable in /experimental!",
- },
- default_enabled: false,
- },
FeatureSpec {
id: Feature::RuntimeMetrics,
key: "runtime_metrics",