Skip to content

Releases: arturosdg/opencode-worktree

v0.4.1

03 Mar 15:32

Choose a tag to compare

chore: bump version to v0.4.1

v0.4.0

03 Feb 15:47

Choose a tag to compare

What's New

Global Configuration Storage

  • Config moved from per-project .opencode-worktree.json to 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 b keybinding 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-worktree

v0.3.5

03 Feb 12:32

Choose a tag to compare

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:

  • cursor
  • claude
  • code (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

03 Feb 12:25

Choose a tag to compare

Changes

  • Fix: Replace update-notifier with 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-notifier dependency)

v0.3.3

03 Feb 12:03

Choose a tag to compare

feat: improve delete confirmation UI with prominent headers and dange…

v0.3.2

03 Feb 11:54

Choose a tag to compare

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

03 Feb 11:04

Choose a tag to compare

v0.3.1 - Custom open command and improved config editor

v0.3.0

03 Feb 10:52

Choose a tag to compare

v0.3.0 - Post-create hooks and config editor

v0.2.9

28 Jan 14:06

Choose a tag to compare

Skip postinstall in CI

v0.2.6

28 Jan 12:08

Choose a tag to compare

Fix binary path resolution