mirror of
https://github.com/openai/codex.git
synced 2026-11-16 22:00:36 +00:00
Move plugin manager out of core
This commit is contained in:
@@ -233,7 +233,12 @@ impl App {
|
||||
|
||||
tokio::spawn(async move {
|
||||
let plugins = PluginsManager::new(config.codex_home.to_path_buf())
|
||||
.plugins_for_config(&config)
|
||||
.plugins_for_config(
|
||||
&config.config_layer_stack,
|
||||
config.features.enabled(Feature::Plugins),
|
||||
config.features.enabled(Feature::RemotePlugin),
|
||||
config.features.enabled(Feature::PluginHooks),
|
||||
)
|
||||
.await
|
||||
.capability_summaries()
|
||||
.to_vec();
|
||||
|
||||
Reference in New Issue
Block a user