Skip to content

v0.3.1

Choose a tag to compare

@thirteen37 thirteen37 released this 18 Jan 16:40
· 26 commits to main since this release

New Features

  • wb status - Pre-flight check command for agents to determine current worktree/branch status before making changes

Output fields

  • LOCATION: main or worktree
  • BRANCH: Current branch name
  • DEFAULT_BRANCH: Repository default (main/master)
  • ON_DEFAULT: Whether on default branch
  • WORKTREE_PATH: Current worktree path
  • MAIN_WORKTREE: Main worktree path
  • DIRTY: Whether uncommitted changes exist

Options

  • --json: JSON output
  • --check-main: Exit 0 if on main, 1 otherwise
  • --check-worktree: Exit 0 if in worktree, 1 otherwise