dsh-opencode-routing

OpenCode Go 控制台:账户池在密钥额度耗尽或鉴权失败时自动 A→B 轮替,按账户显示 5 小时/本周/本月额度,按模型显示用量与剩余额度并标出能力(图像、视频、纯文本、工具调用、推理),实时换算走 OpenCode 还是官方直连更划算;额度路由在上游限流或降级时自动切到 DeepSeek 官方订阅、恢复并稳定 10 分钟后切回,页面顶部有当前路由横幅、状态卡与切换通知,支持 10 种界面语言。

插件介绍

OpenCode Go 控制台:账户池在密钥额度耗尽或鉴权失败时自动 A→B 轮替,按账户显示 5 小时/本周/本月额度,按模型显示用量与剩余额度并标出能力(图像、视频、纯文本、工具调用、推理),实时换算走 OpenCode 还是官方直连更划算;额度路由在上游限流或降级时自动切到 DeepSeek 官方订阅、恢复并稳定 10 分钟后切回,页面顶部有当前路由横幅、状态卡与切换通知,支持 10 种界面语言。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-opencode-routing

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:2869949486/dsh-opencode-routing

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令