From d04a8dba291f42ca74973795623fc4cf1f4f9b9e Mon Sep 17 00:00:00 2001 From: huanghuoguoguo <60681390+huanghuoguoguo@users.noreply.github.com> Date: Sun, 14 Jun 2026 21:34:59 +0800 Subject: [PATCH] chore(agent-runner): keep base package dependency inspection --- src/langbot/pkg/plugin/connector.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/langbot/pkg/plugin/connector.py b/src/langbot/pkg/plugin/connector.py index 70938b08..58346bda 100644 --- a/src/langbot/pkg/plugin/connector.py +++ b/src/langbot/pkg/plugin/connector.py @@ -469,9 +469,10 @@ class PluginRuntimeConnector(ManagedRuntimeConnector): if download_resp.status_code != 200: raise Exception( f'Failed to download plugin {plugin_author}/{plugin_name}: {download_resp.status_code}' - ) + ) file_bytes = download_resp.content + 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')