Repository navigation
Switchback 3.0.0
Added
- Tab completes slash command arguments in the TUI. Models, agents, themes, effort levels, and each command's fixed words complete as you type. With several matches, Tab completes what they share, lists them, and goes round them. Inside a command, Tab no longer switches the model
- Commands open a list when run with no argument.
/agent,/subagent,/subagent-model,/effort,/theme, and/reviewlet you pick the value, and/tabopens the sessions dashboard - Agents can tighten permissions. An agent's
permissions(in its frontmatter or theagentsconfig key) sets stricter category levels and adds ask and deny rules while it works. It never loosens yours (ADR 0029)
Changed
/reviewwith no argument opens a list instead of going back toreview.mode. Use/review defaultfor that- Shift+Tab switches agents instead of permission modes. It goes build → plan → your own primary agents, and
/agent <name>switches this session's agent while keeping the conversation instead of starting a new session.explore,review, andgeneralonly run as subagents (ADR 0029) - Plan mode is the
planagent. It can read, search, run commands after asking, and browse, but not edit. Approving its plan switches back to the agent before it; Approve and auto-approve also sets theautolevel - Permission modes became three levels:
ask,auto, andbypass./permissions ask|auto|bypassswitches them, and/modeis gone.permissions.levelreplacespermissions.defaultMode; the old value still loads, withplanstarting the plan agent andacceptEditsbecomingaskwith a warning.--permission-modetakes the levels and the old names - Protocol 3.
session.setPermissionsandpermissions.changedcarry the level, andsession.setAgentandagent.changedare new.session.setModeandmode.changedare gone (protocol.md)
Fixed
/modeland the other pickers scroll past nine rows and wrap from the last row to the first and back- More read-only commands run without asking:
tree,sort,uniq,nl,tr,readlink,od, the checksum tools,test, and others, unless a flag writes a file (sort -o). The tools' descriptions point the model atread,glob, andgrepfirst - An input redirection from outside the workspace asks.
cat < /etc/hostscounted as exploring the workspace
Install
On macOS and Linux: curl -fsSL https://switchback.sh/install.sh | sh (add -s -- --vscode after sh for the VS Code extension too). On Windows, in PowerShell: irm https://switchback.sh/install.ps1 | iex. Or download the binary for your platform, verify it against SHA256SUMS, make it executable, and put it on your PATH as switchback. Then run switchback init.
Install the VS Code extension from the Marketplace or Open VSX (code --install-extension isaiah-harville.switchback), or from the switchback-vscode-3.0.0-<platform>.vsix here. Each platform's extension includes the engine, so no separate install is needed; the universal .vsix uses switchback from your PATH.
Binaries are not yet signed or notarized (#33). On macOS, clear the quarantine flag with xattr -d com.apple.quarantine switchback.