dsh-opencode-routing
2869949486/dsh-opencode-routing
一个设置页管完 OpenCode Go:账户池在密钥额度耗尽或鉴权失败时自动 AB 轮替,按账户显示 5 小时/本周/本月额度,按模型显示用量与剩余额度并标出能力(图像、视频、纯文本、工具调用、推理),另有「走 OpenCode 还是官方直连更划算」的实时换算与 10 种界面语言。
- 形态
- Plugin 插件
- 安装
- npm 包安装
- 需要密钥
- 是
- 近月下载
- 1,678
- 最近推送
- 2 天前更新
项目说明
From README
dsh-opencode-routing English · 简体中文 · 繁體中文 · 日本語 · 한국어 · Русский A DeepSeek Harness ( dsh ) plugin that merges two earlier plugins into one package: an OpenCode account pool with automatic A→B failover and quota routing , plus a per-account / per-model usage dashboard .
Both live on a single Settings page, "OpenCode 账户与用量".- Client : one settings.section , refreshed every 60 s; accounts can be added, edited, reordered and probed; model cards carry capability tags; both tables pan by dragging; the UI speaks 10 languages (browser language wins).
- Host : two endpoints — GET /opencode-usage.json (usage, ?refresh=1 forces a refresh) and GET POST /opencode-quota-router.json (pool and routing; actions below).Install The package ships its own cordis.patch.
yml : it declares the opencode-go / opencode-free providers and a single insert ( id: opencode-router ).The usage: and router: sub-objects
Original description
dsh plugin: OpenCode account pool with automatic failover, quota routing and a per-model usage dashboard in one Settings page (merged from dsh-opencode-quota-router + dsh-opencode-usage-settings)
安装方式
npm 包安装 · 需要额外配置密钥
npm i dsh-opencode-routing安全能力
静态扫描源码得到的权限画像 —— 回答的是「它要动什么」,而不是「它好不好」
- 写入文件
- 读取文件
- 访问网络
- 读取凭据
- 读取环境变量
- 调用模型
发现 1 项需要留意的行为
- 既读取凭据/密钥,又有网络访问 —— 存在外传可能
能力与红线来自 awesome-dsh-plugin 的静态扫描结果(CC0 公有领域),本站未逐行复核源码; 它只覆盖能被静态识别的模式,不等于安全审计结论。
为什么是这个分数
近 3 天仍在推送;README 给出了可直接复制的安装命令;运行前需要准备 API Key 或环境变量;近月 npm 下载 1678 次,star 不多但真在被使用。
- 维护活跃
- 100
- 实用度
- 82
- 生态热度
- 65
- 上手便捷
- 74
- 信号质量
- 100
- 数据置信度
- 85%
相关插件
DSH-EasyRewrite
Renzic-Stone/DSH-EasyRewrite
在 dsh web 中内联编辑与撤回自己的消息——惰性、无痕,带版本翻页器与会话级草稿持久化。
dsh-status-rotator
01Virex/dsh-status-rotator
把 dsh 回合状态行换成 1059 条中英文案的轮播:打字机输出、流动彩虹渐变、弹幕、12 个可开关的主题词库包、实时占位符与标签页标题轮换。两个 star 包默认关闭;星标者包每位星标者一条文案,由工作流每周刷新。
dsh-magpie-connector
prgrmrwy/dsh-magpie-connector
把自托管 Magpie 网关按上游归属接入为多个 provider route,原版模型选择器即显示 Magpie (Claude)、Magpie (Codex) 等分组;支持多线路自动切换、只读用量卡片、逐模型默认 effort、priority 档模型的会话级快速切换和可选 Cloudflare Access。