From 8811fb647fecf61115b3a6384c90fbb20096ec81 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Thu, 4 Jun 2026 18:17:01 +0800 Subject: [PATCH] fix(plugin): call _inspect_plugin_package in marketplace install path Marketplace plugin install referenced self._extract_deps_metadata, which no longer exists (renamed to _inspect_plugin_package), raising AttributeError and failing every plugin install from Space. Use the current method name; it extracts identity + dependency metadata as the local-install path already does. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/langbot/pkg/plugin/connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/langbot/pkg/plugin/connector.py b/src/langbot/pkg/plugin/connector.py index 5a59f1ed..54fd382f 100644 --- a/src/langbot/pkg/plugin/connector.py +++ b/src/langbot/pkg/plugin/connector.py @@ -459,7 +459,7 @@ class PluginRuntimeConnector(ManagedRuntimeConnector): ) file_bytes = download_resp.content - self._extract_deps_metadata(file_bytes, task_context) + self._inspect_plugin_package(file_bytes, task_context) file_key = await self.handler.send_file(file_bytes, 'lbpkg') install_info['plugin_file_key'] = file_key self.ap.logger.info(f'Transfered file {file_key} to plugin runtime')