mirror of https://github.com/openclaw/openclaw.git
Plugins: accept Claude bundle hooks as wired capability in loader
This commit is contained in:
parent
d341d68180
commit
a5fa75cdb3
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Reference in New Issue