test: drop implicit startup sidecar smoke fallback · openclaw/openclaw@bac552f
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
File tree
scripts/e2e/lib/bundled-plugin-install-uninstall
| Original file line number | Diff line number | Diff line change |
|---|
@@ -109,24 +109,8 @@ function buildPluginPlan(manifest) {
|
109 | 109 | ? contracts.speechProviders.filter(isNonEmptyString) |
110 | 110 | : []; |
111 | 111 | const tools = Array.isArray(contracts.tools) ? contracts.tools.filter(isNonEmptyString) : []; |
112 | | -const hasRuntimeContractSurface = |
113 | | -channels.length > 0 || |
114 | | -speechProviders.length > 0 || |
115 | | -tools.length > 0 || |
116 | | -(Array.isArray(manifest.providers) && manifest.providers.length > 0) || |
117 | | -(Array.isArray(manifest.cliBackends) && manifest.cliBackends.length > 0) || |
118 | | -(Array.isArray(contracts.mediaUnderstandingProviders) && |
119 | | -contracts.mediaUnderstandingProviders.length > 0) || |
120 | | -(Array.isArray(contracts.migrationProviders) && contracts.migrationProviders.length > 0); |
121 | | -const legacyImplicitStartupSidecar = |
122 | | -manifest.activation?.onStartup === undefined && |
123 | | -channels.length === 0 && |
124 | | -!hasRuntimeContractSurface; |
125 | 112 | const activeInThisProbe = |
126 | | -manifest.activation?.onStartup === true || |
127 | | -legacyImplicitStartupSidecar || |
128 | | -channels.length > 0 || |
129 | | -speechProviders.length > 0; |
| 113 | +manifest.activation?.onStartup === true || channels.length > 0 || speechProviders.length > 0; |
130 | 114 | return { |
131 | 115 | channels, |
132 | 116 | speechProviders, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。