Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Re-enable it (#18002)

jif-oai83dc8da9cccb
diff --git a/codex-rs/features/src/lib.rs b/codex-rs/features/src/lib.rs
index 10e79f492a..4d7a83b628 100644
--- a/codex-rs/features/src/lib.rs
+++ b/codex-rs/features/src/lib.rs
@@ -674,7 +674,11 @@ pub const FEATURES: &[FeatureSpec] = &[
FeatureSpec {
id: Feature::MemoryTool,
key: "memories",
- stage: Stage::UnderDevelopment,
+ stage: Stage::Experimental {
+ name: "Memories",
+ menu_description: "Allow Codex to create new memories from conversations and bring relevant memories into new conversations.",
+ announcement: "NEW: Codex can now generate and uses memories. Try is now with `/memories`",
+ },
default_enabled: false,
},
FeatureSpec {
diff --git a/codex-rs/tui/src/bottom_pane/command_popup.rs b/codex-rs/tui/src/bottom_pane/command_popup.rs
index 8bef8ddbc8..29da003dc2 100644
--- a/codex-rs/tui/src/bottom_pane/command_popup.rs
+++ b/codex-rs/tui/src/bottom_pane/command_popup.rs
@@ -293,7 +293,7 @@ mod tests {
CommandItem::Builtin(cmd) => cmd.command(),
})
.collect();
- assert_eq!(cmds, vec!["model", "mention", "mcp"]);
+ assert_eq!(cmds, vec!["model", "memories", "mention", "mcp"]);
}
#[test]
diff --git a/codex-rs/tui/src/slash_command.rs b/codex-rs/tui/src/slash_command.rs
index 70aed459ea..759bedbad7 100644
--- a/codex-rs/tui/src/slash_command.rs
+++ b/codex-rs/tui/src/slash_command.rs
@@ -195,7 +195,6 @@ impl SlashCommand {
SlashCommand::SandboxReadRoot => cfg!(target_os = "windows"),
SlashCommand::Copy => !cfg!(target_os = "android"),
SlashCommand::Rollout | SlashCommand::TestApproval => cfg!(debug_assertions),
- SlashCommand::Memories => false,
_ => true,
}
}