Skip to content

v0.6.0 - Fix Claude Code Hook Installation

Choose a tag to compare

@lukreitor lukreitor released this 17 Apr 10:58
· 8 commits to master since this release

Bug Fixes

  • hooks: Fix Claude Code hook installation to use absolute path with forward slashes
    • Changed from relative wtk to absolute C:/Users/.../.cargo/bin/wtk.exe
    • Added path normalization with canonicalize() + UNC prefix removal
    • Claude Code now correctly invokes wtk on Windows
    • Resolves hook execution failures on system paths

Improvements

  • Improved hook installer compatibility with Windows path formats
  • Better cross-platform path handling in hook configuration

Installation

Run wtk init --all --global to reconfigure hooks with the fix.


Full Changelog: v0.2.4...v0.6.0