fix: keep runtime deps repair out of hot paths

This commit is contained in:
Peter Steinberger
2026-05-01 09:25:26 +01:00
parent e131eaecb5
commit 29ed5266bf
13 changed files with 31 additions and 13 deletions

View File

@@ -133,7 +133,10 @@ export function resolvePluginTools(params: {
const runtimeOptions = params.allowGatewaySubagentBinding
? { allowGatewaySubagentBinding: true as const }
: undefined;
const loadOptions = buildPluginRuntimeLoadOptions(context, { runtimeOptions });
const loadOptions = buildPluginRuntimeLoadOptions(context, {
installBundledRuntimeDeps: false,
runtimeOptions,
});
const registry = resolvePluginToolRegistry({
loadOptions,
allowGatewaySubagentBinding: params.allowGatewaySubagentBinding,