插件目录 / Developer / codex-switch
codex-switch
功能简介
Codex Switch 是一个 macOS 工具,一键配置 Codex 的自定义 API,同时保留官方 OpenAI 登录。保存后 Codex 的模型选择器里只会出现你选的那个 provider 的模型。也支持 Claude Code 的官方 / 自定义 API 切换。Codex Switch is a lightweight helper for configuring multiple coding-agent API routes. For Codex, it keeps Official OpenAI and a custom API provider configured in parallel, registers the custom model in Codex's mod
未测试 — 尚未实测
Codex Switch 是一个 macOS 工具,一键配置 Codex 的自定义 API,同时保留官方 OpenAI 登录。保存后 Codex 的模型选择器里只会出现你选的那个 provider 的模型。也支持 Claude Code 的官方 / 自定义 API 切换。Codex Switch is a lightweight helper for configuring multiple coding-agent API routes. For Codex, it keeps Official OpenAI and a custom API provider configured in parallel, registers the custom model in Codex's mod 尚未验证——请自行安装测试。
「未测试」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
安装
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
dsh plugin --profile web add github:kuangre123/codex-switch - 先装 pnpm:
npm install -g pnpm。 - 从 GitHub 装:
dsh plugin --profile web add github:kuangre123/codex-switch。 - 重启
dsh web。
注:带 prepare 构建脚本的插件,pnpm 会要求确认——把提示的 key 加进 pnpm-workspace.yaml 的 allowBuilds 再重跑即可。
实测报告
尚未验证——请自行安装测试。
仓库
github.com/kuangre123/codex-switch ↗
分享徽章
把这段粘进你的 README——它会链回本页,测试状态变化时自动更新:
[](https://dshbase.com/zh/plugins/codex-switch/)