fix: treat '*' tool allowlist as valid

This commit is contained in:
Peter Steinberger
2026-02-02 08:45:47 +00:00
parent e74235fdce
commit 521b121815
3 changed files with 11 additions and 0 deletions

View File

@@ -215,6 +215,10 @@ export function stripPluginOnlyAllowlist(
const unknownAllowlist: string[] = [];
let hasCoreEntry = false;
for (const entry of normalized) {
if (entry === "*") {
hasCoreEntry = true;
continue;
}
const isPluginEntry =
entry === "group:plugins" || pluginIds.has(entry) || pluginTools.has(entry);
const expanded = expandToolGroups([entry]);