mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Rename the MCP connection manager to McpConnectionSet (#34708)
## What changed - Use `McpConnectionSet` as the primary name for the collection of active MCP server connections throughout `codex-mcp` and its callers. - Keep `McpConnectionManager` as a backward-compatible type alias. GitOrigin-RevId: 9753838b4fd0a0b6429a9c4af0c077137616f388
This commit is contained in:
1 parent
6e5a2d6b8d
commit
516f1e2aff
21 files changed
+86
-85
No files matched your search
@@ -31,7 +31,7 @@ use codex_extension_api::ExtensionRegistry;
|
||||
use codex_hooks::Hooks;
|
||||
use codex_login::AuthManager;
|
||||
use codex_mcp::McpConfig;
|
||||
use codex_mcp::McpConnectionManager;
|
||||
use codex_mcp::McpConnectionSet;
|
||||
use codex_mcp::McpRuntime;
|
||||
use codex_mcp::McpRuntimeContext;
|
||||
use codex_models_manager::manager::SharedModelsManager;
|
||||
@@ -110,7 +110,7 @@ impl SessionServices {
|
||||
plugins_available: bool,
|
||||
runtime_context: McpRuntimeContext,
|
||||
ready_selected_capability_roots: Vec<SelectedCapabilityRoot>,
|
||||
connections: McpConnectionManager,
|
||||
connections: McpConnectionSet,
|
||||
) -> Result<()> {
|
||||
let runtime = self.publish_mcp_runtime(
|
||||
config,
|
||||
@@ -128,7 +128,7 @@ impl SessionServices {
|
||||
plugins_available: bool,
|
||||
runtime_context: McpRuntimeContext,
|
||||
ready_selected_capability_roots: Vec<SelectedCapabilityRoot>,
|
||||
connections: McpConnectionManager,
|
||||
connections: McpConnectionSet,
|
||||
) -> Arc<McpRuntimeSnapshot> {
|
||||
let connections = self.mcp_runtime.replace(connections);
|
||||
let runtime = Arc::new(McpRuntimeSnapshot::new(
|
||||
|
||||
Reference in new issue
Block a user