Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Release v0.14.0
Maximilian Roos89c36899a0d7
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex e30689a1e..f170e6427 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,23 @@# Changelog+## 0.14.0++### Improved++- **`worktree_path_of_branch(branch)` template function**: Look up the filesystem path of any branch's worktree in hooks. Enables copying files between worktrees: `setup = "cp {{ worktree_path_of_branch('main') }}/config.local {{ worktree_path }}"`. Returns empty string if no worktree exists for the branch.+- **Per-task timeout for `wt list`**: Configure timeout for git operations via `[list] timeout-ms` in user config. Shows timeout count in footer. Use `--full` to disable timeout for complete data collection.+- **Atomic COW directory cloning on macOS**: `wt step copy-ignored` uses `clonefile()` syscall on APFS for O(1) directory cloning instead of file-by-file copying. ~12-15x faster for large directories like `target/`.+- **Template variable renamed**: `main_worktree_path` → `primary_worktree_path` for clarity. Old name still works with deprecation warning.++### Fixed++- **`wt step copy-ignored` in bare repositories**: Fixed "this operation must be run in a work tree" error when using bare repo setups. Closes [#598](https://github.com/max-sixty/worktrunk/issues/598). (thanks @sbennett33 for reporting)++### Internal++- **Help system extraction**: Moved help and invocation utilities from main.rs to dedicated modules.+- **`wt list` model refactor**: Split monolithic model.rs into modular directory structure.+## 0.13.4### Fixeddiff --git a/Cargo.lock b/Cargo.lockindex f5f0df12d..623131d71 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -3022,7 +3022,7 @@ checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"[[package]]name = "worktrunk"-version = "0.13.4"+version = "0.14.0"dependencies = ["ansi-str","ansi-to-html",diff --git a/Cargo.toml b/Cargo.tomlindex 0faa3003e..3ec5aaf7d 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -5,7 +5,7 @@ default-members = [".", "tests/helpers/mock-stub"][package]name = "worktrunk"-version = "0.13.4"+version = "0.14.0"edition = "2024"rust-version = "1.89"build = "build.rs"