Releases: arturosdg/opencode-worktree
Releases · arturosdg/opencode-worktree
v0.4.1
v0.4.0
What's New
Global Configuration Storage
- Config moved from per-project
.opencode-worktree.jsonto global~/.config/opencode-worktree/config.json - Repositories identified by normalized git remote URL (e.g.,
github.com/user/repo) - Support for default settings with per-repo overrides
- Config editor shows repo key in title
- Warning displayed for repos without a git remote
Create Branch from Worktree
- New
bkeybinding to create a branch from selected worktree's current commit - Interactive dialog for branch name input
- Option to checkout the new branch after creation
Updated Keybindings
↑/↓ navigate • Enter open • o folder • d delete • n new • b branch • c config • q quit
Breaking Changes
Migration from v0.3.x
Previous per-project .opencode-worktree.json files are now ignored. You'll need to reconfigure your settings via the TUI (press c) which will save them to the new global config location.
Installation
npm i -g opencode-worktreev0.3.5
What's New
Customizable Launch Command
You can now configure which tool to launch when pressing Enter on a worktree. Instead of always using opencode, you can use any CLI tool like:
cursorclaudecode(VS Code)zed- Or any other CLI tool
Configure via the config editor (press c) or in .opencode-worktree.json:
{
"launchCommand": "cursor"
}Improved Update Notifications
- Update check now works correctly across different node/nvm versions
- Background fetch from npm registry (non-blocking startup)
Bug Fixes
- Fix confirmation dialogs using wrong color theme (reverted to original blue)
- Fix main worktree showing in delete selection mode
Full Configuration Example
{
"postCreateHook": "npm install",
"openCommand": "code",
"launchCommand": "cursor"
}v0.3.4
Changes
-
Fix: Replace
update-notifierwith custom update check for nvm compatibility- Update notification now works correctly across different node/nvm versions
- Cache stored globally at
~/.config/configstore/opencode-worktree-update.json - Background fetch from npm registry (non-blocking)
-
Fix: Revert confirmation dialogs to original blue theme (from v0.3.2)
-
Fix: Exclude main worktree from delete selection view
-
Improvement: Smaller binary size (removed
update-notifierdependency)
v0.3.3
feat: improve delete confirmation UI with prominent headers and dange…
v0.3.2
feat: add in-app version display and update notification (v0.3.2) - Move update-notifier logic from wrapper to compiled binary - Display version in title bar (right-aligned with worktree list) - Show update notification when new version available - Inject version at build time via Bun define - Add fallback values for dev mode
v0.3.1
v0.3.1 - Custom open command and improved config editor
v0.3.0
v0.3.0 - Post-create hooks and config editor
v0.2.9
Skip postinstall in CI
v0.2.6
Fix binary path resolution