Plugins: accept Claude bundle hooks as wired capability in loader

This commit is contained in:
Vincent Koc 2026-03-17 23:31:38 -07:00
parent d341d68180
commit a5fa75cdb3
1 changed files with 4 additions and 1 deletions

View File

@ -1108,7 +1108,10 @@ export function loadOpenClawPlugins(options: PluginLoadOptions = {}): PluginRegi
capability === "commands" &&
(record.bundleFormat === "claude" || record.bundleFormat === "cursor")
) &&
!(capability === "hooks" && record.bundleFormat === "codex"),
!(
capability === "hooks" &&
(record.bundleFormat === "codex" || record.bundleFormat === "claude")
),
);
for (const capability of unsupportedCapabilities) {
registry.diagnostics.push({