codex: rename remote marketplace cache helper

This commit is contained in:
xli-oai
2026-05-12 20:27:08 -07:00
parent c2be76c6a9
commit 6b54c1ab13
2 changed files with 7 additions and 3 deletions

View File

@@ -542,7 +542,11 @@ impl PluginRequestProcessor {
}
if !remote_sources.is_empty() {
match plugins_manager
.remote_marketplaces_for_config(&plugins_input, auth.as_ref(), &remote_sources)
.get_remote_marketplaces_with_caching(
&plugins_input,
auth.as_ref(),
&remote_sources,
)
.await
{
Ok(remote_marketplaces) => {

View File

@@ -927,7 +927,7 @@ impl PluginsManager {
notify.notify_waiters();
}
pub async fn remote_marketplaces_for_config(
pub async fn get_remote_marketplaces_with_caching(
&self,
config: &PluginsConfigInput,
auth: Option<&CodexAuth>,
@@ -1711,7 +1711,7 @@ impl PluginsManager {
on_effective_plugins_changed,
);
if let Err(err) = manager
.remote_marketplaces_for_config(
.get_remote_marketplaces_with_caching(
&config,
auth.as_ref(),
&[RemoteMarketplaceSource::Global],