跳到正文

正在自动登录…

← 返回项目列表

TonF1917/claude-desktop-multiple-windows-different-api

多开ClaudeDesktop多API切换多账号隔离

这是一个非官方的社区工具,用于在Windows和macOS上同时运行多个Claude Desktop窗口,每个窗口可以使用不同的API(官方订阅或第三方API),并支持多账户隔离和会话同步。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/20 16:51:59 · 查看原文

值得看PowerShell应用与服务
累计 Stars
483
当前热度
未达当前门槛
仓库创建时间
打开 GitHub ↗

选用指南

AI 根据 README 整理 · 2026/10/20 16:51:59

使用方式

通过PowerShell脚本或macOS的Python脚本使用,提供GUI管理器、命令行添加实例、安装、启动等操作。

查看 README 依据
Requirements: Windows 11 (10 should work), PowerShell 5.1+, Claude Desktop from the Microsoft Store (`AnthropicPBC.Claude`), [cc-switch](https://github.com/farion1231/cc-switch) with a *Claude Desktop* provider. ```powershell git clone https://github.com/TonF1917/claude-desktop-multiple-windows-different-api cd claude-desktop-multiple-windows-different-api .\claude-multi.ps1 install # icons + shortcuts for every window in instances.json .\claude-multi.ps1 gui # or use the Desktop shortcut "Claude Multi Manager" ```
Then right-click each new Desktop shortcut and choose **Pin to taskbar** (Windows does not let scripts pin). | Command | What it does | |---|---| | `gui` | the manager window | | `add -Id off2 -Name "Claude Official 2" -Kind official -Palette perplexity [-Proxy <url>] [-Timezone <tz>]` | add a secondary official direct window (supports custom tint, dedicated proxy & process timezone) | | `add -Id gem -Name "Claude Gemini" -Palette gemini [-Provider <id>] [-Proxy <url>] [-Timezone <tz>]` | add a third-party window (any palette name or `"#E11D48"`) |
cd claude-desktop-multiple-windows-different-api python3 macos/claude_multi.py gui python3 macos/claude_multi.py add --id gem --name "Claude Gemini" --palette gemini python3 macos/claude_multi.py install # one tinted APFS clone of Claude.app per extra window (~/Applications/Claude Multi) python3 macos/claude_multi.py launch --id gem python3 macos/claude_multi.py agent & # session mirroring + silent background refresh ```
部署要求

Windows 11(10应该也可以)、PowerShell 5.1+、从Microsoft Store安装的Claude Desktop、cc-switch且配置了Claude Desktop provider。macOS版本需要Xcode命令行工具中的Python 3。

查看 README 依据
Requirements: Windows 11 (10 should work), PowerShell 5.1+, Claude Desktop from the Microsoft Store (`AnthropicPBC.Claude`), [cc-switch](https://github.com/farion1231/cc-switch) with a *Claude Desktop* provider. ```powershell git clone https://github.com/TonF1917/claude-desktop-multiple-windows-different-api cd claude-desktop-multiple-windows-different-api .\claude-multi.ps1 install # icons + shortcuts for every window in instances.json .\claude-multi.ps1 gui # or use the Desktop shortcut "Claude Multi Manager" ```
## macOS - experimental The port lives in [`macos/`](macos) (Python 3 from the Xcode Command Line Tools, standard library only). It was written **without access to a Mac**: configuration, palettes, icon recolouring, cc-switch profiles, session mirroring and the GUI are exercised on Windows; the macOS-only steps (cloning `Claude.app`, `codesign`, `open`, `iconutil`) follow the documented tool behaviour but have **not been run on real hardware**. Bug reports with the terminal output are very welcome. ```bash git clone https://github.com/TonF1917/claude-desktop-multiple-windows-different-api
已知限制

macOS版本未经真实硬件测试;依赖未文档化的应用行为,未来Claude Desktop更新可能破坏功能;已知限制包括固定会话同步不完美,且无法强制两个窗口显示相同的固定会话。

查看 README 依据
## macOS - experimental The port lives in [`macos/`](macos) (Python 3 from the Xcode Command Line Tools, standard library only). It was written **without access to a Mac**: configuration, palettes, icon recolouring, cc-switch profiles, session mirroring and the GUI are exercised on Windows; the macOS-only steps (cloning `Claude.app`, `codesign`, `open`, `iconutil`) follow the documented tool behaviour but have **not been run on real hardware**. Bug reports with the terminal output are very welcome. ```bash git clone https://github.com/TonF1917/claude-desktop-multiple-windows-different-api
**Known limit - pins.** Each Claude Desktop keeps its pinned list in memory and rewrites it itself: a running window keeps showing its own pins until it is restarted, and a starting window trims the list it reads (tested: 17 pins written while closed came back as 12 within 8 seconds; the dropped ones are sessions created after 12 Oct 23:50 plus one older one - the rule is the app's, not ours). This tool keeps the config files identical and never lets an empty or new window wipe them, but it cannot force two windows to *display* the same pins.
7. **Update-proof.** The install path is resolved from the MSIX package on every launch; nothing is copied or patched, and no version number is stored. ## Caveats * Windows: the official window picks up its isolation the next time it is **restarted**; a running window is never touched. * Shortcuts that bypass this tool (Start-menu tile, protocol links registered elsewhere) start the official app without isolation. * Everything relies on undocumented app behaviour and may break with a future Claude Desktop release. * cc-switch is an independent project. ## License

README

正在加载 README…

收录信息

仓库创建时间
2026/10/14 19:42:15
首次达标收录
2026/10/20 16:47:02
统计更新时间
2026/10/22 19:05:54

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

值得看加权总分 3.9 / 5

新颖度
4.0
实用价值
4.2
成熟度
4.0
实质含量
3.3

由 Jev 模型根据仓库描述与 README 评估,2026/10/20 16:47:02 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/20 00:27:40
许可证标识
MIT
Fork 数
18
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目