Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

[codex] Skip curated repo sync for remote plugins (#29005)

xl-openai38c96866f021
diff --git a/codex-rs/core-plugins/src/manager.rs b/codex-rs/core-plugins/src/manager.rs
index 5e2224bb7c..b502106ea9 100644
--- a/codex-rs/core-plugins/src/manager.rs
+++ b/codex-rs/core-plugins/src/manager.rs
@@ -1779,7 +1779,11 @@ impl PluginsManager {
on_effective_plugins_changed: Option<Arc<dyn Fn() + Send + Sync + 'static>>,
) {
if config.plugins_enabled {
- self.start_curated_repo_sync();
+ let use_remote_global_catalog =
+ config.remote_plugin_enabled && auth_manager.current_auth_uses_codex_backend();
+ if !use_remote_global_catalog {
+ self.start_curated_repo_sync();
+ }
let should_spawn_marketplace_auto_upgrade = {
let mut state = match self.configured_marketplace_upgrade_state.write() {
Ok(state) => state,