v5.0.1
Patch Changes
-
134a41f: Fix "open in editor" failing with ENOENT when
EDITOR/VISUALcontains flags (e.g.code -w).The TUI passed the whole
EDITORstring as the binary name tospawn, so values likecode -wwere treated as a single executable that does not exist. The editor command is now split into command and arguments before spawning. -
5cb748f: Document the clone vs worktree repo-mode distinction in the MCP server instructions.
The two modes previously surfaced only as an output discriminator in
detect_context's schema, so agents had to guess what the modes meant and whether tool behavior differed. The serverinstructionsstring now defines both modes and notes thatcreate_worktree/update_worktreeare worktree-mode only. Those two tool descriptions gain a matching clause, andsync's cross-references are qualified to worktree mode (they pointed at tools that error in clone mode).