发布

  • fix(hooks): use Node.js hooks by default, fix issue #205

    frostbyte_neo 发布于 2026-01-29 13:01:21 +00:00

    BREAKING: Node.js hooks are now the default on all platforms.
    Bash .sh templates have been removed - only .mjs templates exist.

    Changes:

    • shouldUseNodeHooks() now returns true by default
    • loadTemplate() returns empty string for missing templates
    • Updated installer to use getHookScripts() instead of deprecated HOOK_SCRIPTS
    • Updated docs: only /plugin add installation method is supported
    • Removed npm/bun global install instructions from docs

    Fixes #205

    Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

    下载附件