diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 0bc75579..184d2ebf 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -826,6 +826,13 @@ stale MCP tests for the deleted Codex Apps cache/startup snapshot/provenance path were removed. If attribution returns, it belongs in an Epiphany-owned typed adapter receipt, not as universal connector state. +The Codex Apps readiness flag is gone as well. `AccessibleConnectorsStatus` no +longer carries `codex_apps_ready`, the TUI no longer schedules a second forced +connector fetch waiting for a deleted app cache, and `connectors_enabled()` is +hard-off. Connector listing remains an inert compatibility stub until the whole +app connector surface is deleted or replaced by an Epiphany-owned typed MCP +adapter. + That husk has now been cut from `codex-core`. The root core crate no longer exports `plugins`, no longer depends on `codex-core-plugins` or `codex-plugin`, and the core plugin manager / marketplace add-remove-sync modules and tests diff --git a/state/ledgers.msgpack b/state/ledgers.msgpack index 7f308b2b..0bc8a33f 100644 Binary files a/state/ledgers.msgpack and b/state/ledgers.msgpack differ diff --git a/state/map.yaml b/state/map.yaml index 809139b8..ca5d4c71 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -343,6 +343,10 @@ current_status: remain. Plugin provenance no longer rides inside every connector/app record: `AppInfo.plugin_display_names`, `ToolInfo.plugin_display_names`, the plugin connector merge helpers, plugin-name search indexing, stale Codex Apps cache - tests, and regenerated schema references were deleted. MCP remains JSON-RPC - at the edge; user-declared MCP servers are the only runtime MCP authority. + tests, and regenerated schema references were deleted. The Codex Apps + readiness/cache superstition is also gone from connector prefetch: + `AccessibleConnectorsStatus.codex_apps_ready` and the TUI force-refetch loop + were removed, and TUI connector activation is hard-off while the core + connector list remains an inert compatibility stub. 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. diff --git a/vendor/codex/codex-rs/core/src/connectors.rs b/vendor/codex/codex-rs/core/src/connectors.rs index 123fbad2..e54a893f 100644 --- a/vendor/codex/codex-rs/core/src/connectors.rs +++ b/vendor/codex/codex-rs/core/src/connectors.rs @@ -8,7 +8,6 @@ use crate::config::Config; #[derive(Debug, Clone)] pub struct AccessibleConnectorsStatus { pub connectors: Vec, - pub codex_apps_ready: bool, } pub async fn list_accessible_connectors_from_mcp_tools( @@ -51,7 +50,6 @@ pub async fn list_accessible_connectors_from_mcp_tools_with_options_and_status( ) -> anyhow::Result { Ok(AccessibleConnectorsStatus { connectors: Vec::new(), - codex_apps_ready: true, }) } @@ -62,7 +60,6 @@ pub async fn list_accessible_connectors_from_mcp_tools_with_environment_manager( ) -> anyhow::Result { Ok(AccessibleConnectorsStatus { connectors: Vec::new(), - codex_apps_ready: true, }) } diff --git a/vendor/codex/codex-rs/tui/src/chatwidget.rs b/vendor/codex/codex-rs/tui/src/chatwidget.rs index b14d2bb8..02541b3a 100644 --- a/vendor/codex/codex-rs/tui/src/chatwidget.rs +++ b/vendor/codex/codex-rs/tui/src/chatwidget.rs @@ -61,6 +61,7 @@ use crate::legacy_core::DEFAULT_AGENTS_MD_FILENAME; use crate::legacy_core::config::Config; use crate::legacy_core::config::Constrained; use crate::legacy_core::config::ConstraintResult; +use crate::legacy_core::connectors; #[cfg(target_os = "windows")] use crate::legacy_core::windows_sandbox::WindowsSandboxLevelExt; use crate::mention_codec::LinkedMention; @@ -105,7 +106,6 @@ 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 crate::legacy_core::connectors; use codex_config::ConfigLayerStackOrdering; use codex_config::types::ApprovalsReviewer; use codex_config::types::Notifications; @@ -7773,8 +7773,6 @@ impl ChatWidget { return; } }; - let should_schedule_force_refetch = - !force_refetch && !accessible_result.codex_apps_ready; let accessible_connectors = accessible_result.connectors; app_event_tx.send(AppEvent::ConnectorsLoaded { @@ -7801,12 +7799,6 @@ impl ChatWidget { result, is_final: true, }); - - if should_schedule_force_refetch { - app_event_tx.send(AppEvent::RefreshConnectors { - force_refetch: true, - }); - } }); } @@ -10184,7 +10176,7 @@ impl ChatWidget { } fn connectors_enabled(&self) -> bool { - self.config.features.enabled(Feature::Apps) && self.has_chatgpt_account + false } fn connectors_for_mentions(&self) -> Option<&[AppInfo]> { @@ -10917,7 +10909,6 @@ impl ChatWidget { self.bottom_pane.set_connectors_snapshot(Some(snapshot)); } - pub(crate) fn open_review_popup(&mut self) { let mut items: Vec = Vec::new();