Skip to content

v5.1.0

Choose a tag to compare

@aku11i aku11i released this 25 Feb 10:40
· 330 commits to main since this release
6fd32c7

πŸš€ What's New in v5.1.0

Worktree names can now be auto-generated β€” just run phantom create without a name and get a unique, human-readable identifier.

✨ New Features

Automatic worktree name generation (#381)

You no longer need to come up with a name every time you create a worktree. Simply omit the name and Phantom will generate one for you:

# Auto-generate a unique worktree name
phantom create

# You can still specify a name explicitly
phantom create my-feature

Generated names are human-readable (e.g., bold-red-dragon) and guaranteed to be unique across existing worktree directories and branches.

πŸ› Bug Fixes

  • Fixed branchExists always returning true (#383) β€” git show-ref --verify --quiet exits with code 1 and empty stderr for missing branches, which was silently treated as success. Switched to git branch --list to correctly detect branch existence. This fix unblocks the automatic name generation feature above.

πŸ“¦ Dependencies

  • bump @modelcontextprotocol/sdk from 1.25.1 to 1.26.0 (#351, #361, #377)
  • bump @modelcontextprotocol/inspector from 0.18.0 to 0.20.0 (#365, #379)
  • bump @biomejs/biome from 2.3.11 to 2.4.0 (#366, #372, #374, #380)
  • bump zod from 4.3.4 to 4.3.6 (#349, #362)
  • bump esbuild from 0.27.2 to 0.27.3 (#371)
  • bump @types/node from 25.0.0 to 25.2.3 (#352, #356, #359, #370, #375)
  • bump @typescript/native-preview (#350, #355, #363, #364, #369, #376, #378)
  • bump oven-sh/setup-bun from 2.0.2 to 2.1.2 (#348, #357)
  • bump dependabot/fetch-metadata from 2.3.0 to 2.5.0 (#347)
  • bump actions/setup-node from 6.1.0 to 6.2.0 (#360)
  • bump actions/checkout from 6.0.1 to 6.0.2 (#358)

Installation/Upgrade:

npm install -g @aku11i/phantom@latest
# or
brew upgrade phantom

Full Changelog: v5.0.0...v5.1.0