mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 07:51:36 +00:00
fix: treat '*' tool allowlist as valid
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user