chore(agent-runner): keep base package dependency inspection

This commit is contained in:
huanghuoguoguo
2026-06-14 21:34:59 +08:00
parent ad61b9fddc
commit d04a8dba29

View File

@@ -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')