mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
chore: spawn MCP for memories (#21214)
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -134,6 +134,8 @@ pub enum Feature {
|
||||
Sqlite,
|
||||
/// Enable startup memory extraction and file-backed memory consolidation.
|
||||
MemoryTool,
|
||||
/// Enable product-owned built-in MCP servers.
|
||||
BuiltInMcp,
|
||||
/// Enable the Chronicle sidecar for passive screen-context memories.
|
||||
Chronicle,
|
||||
/// Append additional AGENTS.md guidance to user instructions.
|
||||
@@ -793,6 +795,12 @@ pub const FEATURES: &[FeatureSpec] = &[
|
||||
},
|
||||
default_enabled: false,
|
||||
},
|
||||
FeatureSpec {
|
||||
id: Feature::BuiltInMcp,
|
||||
key: "builtin_mcp",
|
||||
stage: Stage::UnderDevelopment,
|
||||
default_enabled: false,
|
||||
},
|
||||
FeatureSpec {
|
||||
id: Feature::Chronicle,
|
||||
key: "chronicle",
|
||||
|
||||
@@ -129,6 +129,13 @@ fn remote_compaction_v2_is_under_development() {
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn builtin_mcp_is_under_development() {
|
||||
assert_eq!(Feature::BuiltInMcp.stage(), Stage::UnderDevelopment);
|
||||
assert_eq!(Feature::BuiltInMcp.default_enabled(), false);
|
||||
assert_eq!(feature_for_key("builtin_mcp"), Some(Feature::BuiltInMcp));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn terminal_resize_reflow_is_experimental_and_enabled_by_default() {
|
||||
assert_eq!(
|
||||
|
||||
Reference in New Issue
Block a user