mirror of
https://github.com/openai/codex.git
synced 2026-10-25 18:28:38 +00:00
Add plugin reconciliation app-server API (#41949)
## What changed - Add the `plugin/reconcile` JSON-RPC method to synchronize installed remote plugin bundles and wait for required hook updates. - Return affected plugin IDs with MCP, Apps, hooks, and skills refresh hints, plus remote update and materialization failures. - Refresh loaded hook runtimes after relevant updates and return an empty result when plugins or backend authentication are unavailable. ## Testing - Cover workspace and global bundle installs, unchanged passes, enablement changes, updates, removals, materialization failures, hook refreshes, and disabled plugins. GitOrigin-RevId: 45c02518d71990d13eb09d56ed51505c91c66956
This commit is contained in:
@@ -1377,6 +1377,15 @@ impl MessageProcessor {
|
||||
ClientRequest::PluginInstalled { params, .. } => {
|
||||
self.plugin_processor.plugin_installed(params).await
|
||||
}
|
||||
ClientRequest::PluginReconcile { params, .. } => {
|
||||
self.plugin_processor
|
||||
.plugin_reconcile(
|
||||
params,
|
||||
self.config_processor.clone(),
|
||||
&self.request_serialization_queues,
|
||||
)
|
||||
.await
|
||||
}
|
||||
ClientRequest::PluginRead { params, .. } => {
|
||||
self.plugin_processor.plugin_read(params).await
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user