Route TUI connector lookup through core stub

This commit is contained in:
Meta Vens 2026-05-13 15:15:58 +01:00
commit 683156b64f
7 changed files with 25 additions and 5 deletions

View file

@ -852,6 +852,11 @@ decorated with Codex plugin product names. If Epiphany later wants MCP
attribution, it needs an Epiphany-owned typed adapter surface, not this old
product metadata graft.
The TUI connector prefetch path no longer imports `codex-chatgpt`; it calls the
inert core connector compatibility stub. ChatGPT app connector discovery is not
a TUI dependency anymore. `codex-chatgpt` still survives for CLI apply/get-task
surfaces and should be judged separately against the OpenAI auth/model spine.
The Phase 6 freshness slice is landed. It exposes read-only
`thread/epiphany/freshness` from live retrieval summaries plus graph
frontier/churn state and, for loaded threads, watcher-backed invalidation

Binary file not shown.

View file

@ -298,6 +298,8 @@ current_status:
longer carries plugin provenance: `ToolPluginProvenance`,
`plugin_capability_summaries`, and the `codex-plugin` / `codex-utils-plugins`
dependencies were removed from `codex-mcp`, and MCP tool descriptions are no
longer decorated from plugin product metadata. MCP remains JSON-RPC at the
edge; user-declared MCP servers are the only runtime MCP authority.
longer decorated from plugin product metadata. The TUI connector prefetch
path now uses the inert core connector stub instead of `codex-chatgpt`, so
ChatGPT app connector listing is not a TUI dependency. MCP remains JSON-RPC
at the edge; user-declared MCP servers are the only runtime MCP authority.
next_action: Continue starving coordinator/runtime execution and operator surfaces off app-server JSON-RPC and out of `codex_message_processor.rs`; keep the vestigial Codex organ narrowed to subscription auth/model transport.

1
vendor/codex/codex-rs/Cargo.lock generated vendored
View file

@ -3449,7 +3449,6 @@ dependencies = [
"codex-app-server-client",
"codex-app-server-protocol",
"codex-arg0",
"codex-chatgpt",
"codex-cli",
"codex-cloud-requirements",
"codex-config",

View file

@ -23,6 +23,21 @@ pub async fn list_cached_accessible_connectors_from_mcp_tools(
Some(Vec::new())
}
pub async fn list_all_connectors_with_options(
_config: &Config,
_force_refetch: bool,
) -> anyhow::Result<Vec<AppInfo>> {
Ok(Vec::new())
}
pub fn merge_connectors_with_accessible(
_all_connectors: Vec<AppInfo>,
accessible_connectors: Vec<AppInfo>,
_all_connectors_loaded: bool,
) -> Vec<AppInfo> {
accessible_connectors
}
pub async fn list_accessible_connectors_from_mcp_tools_with_options(
_config: &Config,
_force_refetch: bool,

View file

@ -30,7 +30,6 @@ codex-app-server-client = { workspace = true }
codex-app-server-protocol = { workspace = true }
codex-arg0 = { workspace = true }
codex-install-context = { workspace = true }
codex-chatgpt = { workspace = true }
codex-cloud-requirements = { workspace = true }
codex-config = { workspace = true }
codex-connectors = { workspace = true }

View file

@ -106,7 +106,7 @@ use codex_app_server_protocol::Turn;
use codex_app_server_protocol::TurnCompletedNotification;
use codex_app_server_protocol::TurnPlanStepStatus;
use codex_app_server_protocol::TurnStatus;
use codex_chatgpt::connectors;
use crate::legacy_core::connectors;
use codex_config::ConfigLayerStackOrdering;
use codex_config::types::ApprovalsReviewer;
use codex_config::types::Notifications;