From f559d3cd9591f9c8754a146bb128bd19e2cd7de9 Mon Sep 17 00:00:00 2001 From: xli-oai Date: Tue, 12 May 2026 21:05:44 -0700 Subject: [PATCH] codex: rename remote plugin cache fetch helper --- codex-rs/app-server/src/request_processors/plugins.rs | 6 +----- codex-rs/core-plugins/src/manager.rs | 4 ++-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/codex-rs/app-server/src/request_processors/plugins.rs b/codex-rs/app-server/src/request_processors/plugins.rs index 2d971ba865..d66400ce4a 100644 --- a/codex-rs/app-server/src/request_processors/plugins.rs +++ b/codex-rs/app-server/src/request_processors/plugins.rs @@ -542,11 +542,7 @@ impl PluginRequestProcessor { } if !remote_sources.is_empty() { match plugins_manager - .get_remote_marketplaces_with_caching( - &plugins_input, - auth.as_ref(), - &remote_sources, - ) + .fetch_remote_plugin_with_caching(&plugins_input, auth.as_ref(), &remote_sources) .await { Ok(remote_marketplaces) => { diff --git a/codex-rs/core-plugins/src/manager.rs b/codex-rs/core-plugins/src/manager.rs index 6e4e8a4cbe..1bc50df6e4 100644 --- a/codex-rs/core-plugins/src/manager.rs +++ b/codex-rs/core-plugins/src/manager.rs @@ -927,7 +927,7 @@ impl PluginsManager { notify.notify_waiters(); } - pub async fn get_remote_marketplaces_with_caching( + pub async fn fetch_remote_plugin_with_caching( &self, config: &PluginsConfigInput, auth: Option<&CodexAuth>, @@ -1711,7 +1711,7 @@ impl PluginsManager { on_effective_plugins_changed, ); if let Err(err) = manager - .get_remote_marketplaces_with_caching( + .fetch_remote_plugin_with_caching( &config, auth.as_ref(), &[RemoteMarketplaceSource::Global],