Skip to content

Commit 1cbe1f7

Browse files
RockChinQclaude
andcommitted
fix(runtime): sync plugin status after initialization in register_plugin
The refreshed container's status was not copied back, leaving the plugin in UNMOUNTED state on the runtime side. This caused list_knowledge_engines (and similar status-gated queries) to skip fully initialized plugins. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d17a65a commit 1cbe1f7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • src/langbot_plugin/runtime/plugin

src/langbot_plugin/runtime/plugin/mgr.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ async def register_plugin(
426426
refreshed = runtime_plugin_container.PluginContainer.from_dict(plugin_container_data)
427427
plugin_container.components = refreshed.components
428428
plugin_container.manifest = refreshed.manifest
429+
plugin_container.status = refreshed.status
429430

430431
async def remove_plugin_container(
431432
self,

0 commit comments

Comments
 (0)