mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-19 22:10:51 +00:00
Plugins: accept Claude bundle hooks as wired capability in loader
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user