Release Notes
Added
- Pre-remove hook: New
pre-removehook runs before worktree removal, enabling cleanup tasks like stopping devcontainers. Thanks to @pwntester in #101. (#107) - JSON context on stdin: Hooks now receive worktree context as JSON on stdin, enabling hooks in any language (Python, Node, Ruby, etc.) to access repo information. (#109)
wt config create --project: New flag to generate.config/wt.tomlproject config files directly. (#110)
Fixed
- Shell completion bypass: Fixed lazy shell completion to use
commandbuiltin, bypassing the shell function that was causing_clap_dynamic_completer_wterrors. Thanks to @cquiroz in #102. (#105) - Remote-only branch completions:
wt removecompletions now exclude remote-only branches (which can't be removed) and show a helpful error with hint to usewt switch. (#108) - Detached HEAD hooks: Pre-remove hooks now work correctly on detached HEAD worktrees. (#111)
- Hook
{{ target }}variable: Fixed template variable expansion in standalone hook execution. (#106)
Download worktrunk 0.1.14
| File | Platform | Checksum |
|---|---|---|
| worktrunk-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| worktrunk-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| worktrunk-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| worktrunk-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| worktrunk-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |