XDTrees/dsh-xdpool ↗★ 104

dsh-xdpool

One DSH model pool for every free quota you have: merge all locally signed-in WorkBuddy accounts with auto-failover, sign in to 13 vendors by QR/web, aggregate 76 vendors' free tiers, plus a usage dashboard, model routing, a local OpenAI-compatible gateway and a points-automation suite. 适合拥有多个API或WorkBuddy账号并需要自动分摊额度的用户。

Package
dsh-xdpool
Compatibility
Unverified
Harness peer range
>=0.1.1-rc.1 <0.3.0
Cordis peer range
^4.0.1-rc.1
Version
2.2.1
License
MIT
Last updated
Oct 16, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:XDTrees/dsh-xdpool

配置

池的配置走插件设置节(settings.xdpool),模型设置页里能改,改完立即生效:

字段说明默认
authFile覆盖 WorkBuddy 桌面 auth 文件路径(跨平台自动探测出问题时用,等同于 WORKBUDDY_AUTH_FILE)自动探测
cooldownMs单账号 429 冷却时长(毫秒)60000
distribution账号分配方式:sticky(每对话固定一个账号,新对话换下一个)/ priority(先用完一个)/ round-robin(按顺序轮换)/ balanced(随机,偏向闲置久的)priority

上游 prompt 缓存按账号隔离,所以对话中途换号会把缓存整段作废。想让多账号同时分摊额度又不想掉命中率,用 sticky。

也可以直接写进 ~/.dsh/settings.yaml:

xdpool:
  cooldownMs: 120000
  distribution: sticky