Skip to content

CLI Model Switcher v0.3.0

Choose a tag to compare

@github-actions github-actions released this 29 May 10:08
· 19 commits to main since this release

CLI Model Switcher v0.3.0

Quick Install

Linux, macOS, or WSL:

curl -fsSL https://raw.githubusercontent.com/YuxuanSun123/cli-model-switcher/v0.3.0/install.sh | sh -s -- --branch v0.3.0

Windows PowerShell:

$installer = Join-Path $env:TEMP "cli-model-switcher-install.ps1"
irm https://raw.githubusercontent.com/YuxuanSun123/cli-model-switcher/v0.3.0/install.ps1 -OutFile $installer
powershell -ExecutionPolicy Bypass -File $installer -Branch v0.3.0

Changes

Added

  • workspace command and ai-workspace shell helper for opening several agents in one terminal workspace and switching between them with tmux or Windows Terminal tabs.
  • workspace up, workspace targets, workspace add, workspace next, and workspace prev to reduce repeated typing in same-terminal multi-agent workflows.
  • Project-local workspace targets, detailed workspace show/status, interactive workspace choose, and short shell helpers ai-ws, ai-wup, ai-wgo, and ai-wpick.
  • agent command and ai-agent helper for installing Codex/Claude/OpenCode instruction bridges, so agent-side requests like /switch claude can run ai-workspace switch claude.
  • Additional agent bridge targets for Gemini, Qwen Code, GitHub Copilot/VS Code, Cursor, Windsurf/Cascade, Aider, Cline, Roo Code, generic AGENTS.md, and custom --file rule paths.
  • install-bin for POSIX executable shims on Linux, macOS, and WSL, plus default shim installation and interactive PATH setup from install-unix for agent-side and non-interactive shell compatibility.
  • GitHub Actions CI for Windows, Linux, and macOS validation.
  • One-command installers: install.sh for Linux/macOS/WSL and install.ps1 for Windows PowerShell.

Fixed

  • macOS path and URL opening now prefers the native open command before Linux xdg-open.
  • Session launch commands now refresh the combined memory context using the requested --cwd, so project memory is included when starting an agent from another directory.
  • Session and workspace profile resolution now respects the requested --cwd when project-local profiles or aliases are present.
  • Explicit profile names now take precedence over recipe aliases, so a profile named opencode is not shadowed by an opencode recipe alias.
  • Empty project-local workspace targets now override global targets, allowing project resets to fall back to suggestions.
  • PowerShell wrapper generation now includes the previously missing ai-page helper.
  • PowerShell ai-current, ai-status, ai-paths, and ai-list helpers now forward optional arguments such as --json.
  • ai-run now uses the same profile environment builder as shell/session launch commands and includes AI_CLI_API_PROVIDER and AI_CLI_API_KIND.
  • Session lookup now resolves profile aliases, recipe aliases, and strategy names when switching, attaching, or stopping sessions.