mirror of
https://github.com/nix-community/home-manager.git
synced 2026-12-06 04:40:17 +00:00
The module wrote its own command for each Claude Code hook, copied from Worktrunk's plugin before the plugin moved every hook to one command that reads the event from the hook payload. The copies have since drifted: WorktreeCreate always passes --create, so reopening a kept worktree fails; activity markers follow the shell's cwd instead of CLAUDE_PROJECT_DIR; and an EnterWorktree into a Worktrunk worktree isn't approved. Each hook now runs `wt config plugins claude hook`, the command the plugin registers for every event, so hook behavior follows the installed `wt`. This drops the jq dependency and needs worktrunk 0.81.0 or later.