Features
- On Windows without Claude Code installed, the gateway can now automatically detect and use Claude Code from a running WSL distribution.
- WSL-based Claude accounts are labeled in the editor as “Runs through WSL · ” in English and Chinese.
- Browser sign-in for WSL-based Claude accounts works through the normal browser flow and cancels cleanly when interrupted.
Improvements
- MCP tools continue to run through the native Windows app even when Claude Code itself runs in WSL.
- Canceled WSL sessions are cleaned up inside the Linux environment, preventing leftover background processes.
- Model lists, requests, tool use, and quota information work consistently when Claude Code runs through WSL.
Install
Download from usemagpie.ai, or curl -fsSL https://usemagpie.ai/install.sh | sh. An installed magpie updates itself.
- macOS (Apple Silicon):
magpie-darwin-arm64.dmg - macOS (Intel):
magpie-darwin-amd64.dmg - Windows:
magpie-windows-amd64.exe(ARM:magpie-windows-arm64.exe) - Linux:
magpie-linux-amd64/magpie-linux-arm64(needs GTK 3 and WebKitGTK 4.1) - Terminal only:
magpie-cli-<os>-<arch>
功能
- 在未安装 Claude Code 的 Windows 上,网关现在可以自动检测并使用正在运行的 WSL 发行版中的 Claude Code。
- 基于 WSL 的 Claude 账户在编辑器中标记为“通过 WSL 运行 · ”,提供英文和中文版本。
- 基于 WSL 的 Claude 账户的浏览器登录可通过正常浏览器流程完成,并在中断时干净地取消。
改进
- 即使 Claude Code 本身在 WSL 中运行,MCP 工具仍继续通过原生 Windows 应用运行。
- 已取消的 WSL 会话会在 Linux 环境中清理,避免残留后台进程。
- 当 Claude Code 通过 WSL 运行时,模型列表、请求、工具使用和配额信息均能一致工作。
安装
从 usemagpie.ai 下载,或运行 curl -fsSL https://usemagpie.ai/install.sh | sh。已安装的 magpie 会自动更新。