Files
Maximilian Roos 6e4bcf6931 worktrunk: run Claude Code hooks through wt config plugins claude hook
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.
2026-11-17 13:44:35 -06:00
..
2026-09-09 23:02:07 -05:00
2026-09-09 23:02:07 -05:00