fix(cli): reduce plugin hook fallback noise (#100554)

* fix(cli): reduce plugin hook fallback noise

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>

* docs(changelog): defer plugin diagnostic note

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
This commit is contained in:
Peter Steinberger
2026-07-06 05:26:37 +01:00
committed by GitHub
parent e9a5dc9bf6
commit a0e591c863
6 changed files with 97 additions and 19 deletions

View File

@@ -624,6 +624,10 @@ vi.mock("../plugins/git-install.js", () => ({
}));
vi.mock("../hooks/install.js", () => ({
HOOK_INSTALL_ERROR_CODE: {
MISSING_OPENCLAW_HOOKS: "missing_openclaw_hooks",
EMPTY_OPENCLAW_HOOKS: "empty_openclaw_hooks",
},
installHooksFromNpmSpec: ((
...args: Parameters<(typeof import("../hooks/install.js"))["installHooksFromNpmSpec"]>
) =>