CLI Model Switcher v0.3.0
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.0Windows 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.0Changes
Added
workspacecommand andai-workspaceshell 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, andworkspace prevto reduce repeated typing in same-terminal multi-agent workflows.- Project-local workspace targets, detailed
workspace show/status, interactiveworkspace choose, and short shell helpersai-ws,ai-wup,ai-wgo, andai-wpick. agentcommand andai-agenthelper for installing Codex/Claude/OpenCode instruction bridges, so agent-side requests like/switch claudecan runai-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--filerule paths. install-binfor POSIX executable shims on Linux, macOS, and WSL, plus default shim installation and interactive PATH setup frominstall-unixfor agent-side and non-interactive shell compatibility.- GitHub Actions CI for Windows, Linux, and macOS validation.
- One-command installers:
install.shfor Linux/macOS/WSL andinstall.ps1for Windows PowerShell.
Fixed
- macOS path and URL opening now prefers the native
opencommand before Linuxxdg-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
--cwdwhen project-local profiles or aliases are present. - Explicit profile names now take precedence over recipe aliases, so a profile named
opencodeis not shadowed by anopencoderecipe 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-pagehelper. - PowerShell
ai-current,ai-status,ai-paths, andai-listhelpers now forward optional arguments such as--json. ai-runnow uses the same profile environment builder as shell/session launch commands and includesAI_CLI_API_PROVIDERandAI_CLI_API_KIND.- Session lookup now resolves profile aliases, recipe aliases, and strategy names when switching, attaching, or stopping sessions.