fix: stabilize release web provider validation

This commit is contained in:
Peter Steinberger
2026-05-02 08:05:43 +01:00
parent acb2f91ada
commit 44778bc7e2
3 changed files with 9 additions and 4 deletions

View File

@@ -183,6 +183,9 @@ export default definePluginEntry({
`,
manifest: {
id: pluginId,
contracts: {
tools: ["kitchen-sink-tool", "kitchen_sink_tool"],
},
configSchema: {
type: "object",
properties: {},

View File

@@ -160,9 +160,9 @@ export function resolveBundledWebProviderResolutionConfig(params: {
workspaceDir: params.workspaceDir,
applyAutoEnable: true,
compatMode: {
allowlist: params.bundledAllowlistCompat,
allowlist: params.config === undefined ? false : params.bundledAllowlistCompat,
enablement: "always",
vitest: true,
vitest: params.config !== undefined,
},
resolveCompatPluginIds: (compatParams) =>
resolveBundledWebProviderCompatPluginIds({

View File

@@ -188,14 +188,16 @@ export function resolvePluginWebProviders<TEntry>(
}
const activeRegistry = getActivePluginRegistry();
if (activeRegistry) {
return deps.mapRegistryProviders({
const activeProviders = deps.mapRegistryProviders({
registry: activeRegistry,
onlyPluginIds: context.onlyPluginIds,
});
if (activeProviders.length > 0) {
return activeProviders;
}
}
return deps.mapRegistryProviders({
registry: loadOpenClawPlugins(loadOptions),
onlyPluginIds: context.onlyPluginIds,
});
}