From 34a9ca083ee1e3ad478e51465e8a7fcfeabb1813 Mon Sep 17 00:00:00 2001 From: jif-oai Date: Tue, 14 Apr 2026 13:44:01 +0100 Subject: [PATCH] nit: feature flag (#17777) --- codex-rs/core/config.schema.json | 6 ++++++ codex-rs/features/src/lib.rs | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/codex-rs/core/config.schema.json b/codex-rs/core/config.schema.json index f47fee612..7c3f6dd99 100644 --- a/codex-rs/core/config.schema.json +++ b/codex-rs/core/config.schema.json @@ -485,6 +485,9 @@ "steer": { "type": "boolean" }, + "telepathy": { + "type": "boolean" + }, "tool_call_mcp_elicitation": { "type": "boolean" }, @@ -2338,6 +2341,9 @@ "steer": { "type": "boolean" }, + "telepathy": { + "type": "boolean" + }, "tool_call_mcp_elicitation": { "type": "boolean" }, diff --git a/codex-rs/features/src/lib.rs b/codex-rs/features/src/lib.rs index 10d5fdf88..7e7d3b5dc 100644 --- a/codex-rs/features/src/lib.rs +++ b/codex-rs/features/src/lib.rs @@ -130,6 +130,8 @@ pub enum Feature { Sqlite, /// Enable startup memory extraction and file-backed memory consolidation. MemoryTool, + /// Enable the Telepathy sidecar for passive screen-context memories. + Telepathy, /// Append additional AGENTS.md guidance to user instructions. ChildAgentsMd, /// Allow the model to request `detail: "original"` image outputs on supported models. @@ -669,6 +671,12 @@ pub const FEATURES: &[FeatureSpec] = &[ stage: Stage::UnderDevelopment, default_enabled: false, }, + FeatureSpec { + id: Feature::Telepathy, + key: "telepathy", + stage: Stage::UnderDevelopment, + default_enabled: false, + }, FeatureSpec { id: Feature::ChildAgentsMd, key: "child_agents_md",