Skip to content

Switchback 2.6.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 16:15
· 8 commits to main since this release
Immutable release. Only release title and notes can be modified.

Added

  • The model can read and change Switchback's settings. models lists each model with its tier, context, price, and role in the session, so the model can pick one for a subagent. config reads the configuration in effect with secrets hidden. set_config changes one setting in a config file and keeps its comments. set_roles changes the session's models and escalation ladder. Changes always ask, even in acceptEdits or auto-approve, and apply at once (ADR 0028)
  • /autocompact [on|off] [--save] turns automatic compaction on or off for a session (session.setAutoCompact in the protocol)
  • /ladder edits the escalation ladder. With no argument it opens an editor in the TUI. /escalate still works as an alias

Changed

  • Compaction summarizes in parts and merges them. It leaves out tool output that a later call superseded, summarizes the history in parts, and merges the summaries. Each summary ends with a word-for-word record of your requests, the files changed and read, and the commands that failed. Both clients show its progress as the working status (ADR 0027)
  • Models with less than 32k of context get fewer tools, which leaves them more room to answer. They keep the core tools plus webfetch, websearch, and docs
  • Exploring takes fewer calls. read on a directory lists its entries, folders first. grep can show lines around each match (context) or list only the matching files (filesOnly)

Fixed

  • /models refresh finds the claude CLI for subscription providers. The compiled binary failed with "native CLI binary not found"; it now uses the claude on your PATH
  • The model no longer thinks config files reload on their own. Its instructions say to use set_config, or to ask you to type /reload after editing a file directly

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-2.6.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.