dsh-plugin-relay
DeepSeek Harness (dsh) plugin that routes model traffic through new-api-family relay panels (one-api / new-api / Veloera / done-hub / ...) — several panels at once, each its own model provider: manage panels (accordion with inline keys / models / dashboard / logs tabs), create / edit / delete and switch API keys, sync each key's model list with pricing, review usage dashboard (dual-axis) and logs, and configure model capabilities from a mainstream-model knowledge base — all from the dsh Plugins settings page 适合使用多个中转API服务、需要统一管理渠道、密钥和同步模型列表的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jdz321/dsh-plugin-relayドキュメント
README 全文を読む ↗Usage
- Open Settings → Relay → Connection, press Add panel, and fill in a name (letters/digits/
_/-, ≤32 chars — it becomes the model provider's name), the panel origin (no/v1suffix), the access token from the panel's personal page (client token / access token), and the user ID shown on the same page. Test connection verifies the trio before you commit to keys. - Click the panel's row to expand it inline. On API keys, create a key if you don't have one (or press Use on an existing one). The plugin writes the key into the dsh credential store, builds the panel's model route, and syncs the key's model catalog. Repeat for as many panels as you like — they all stay live side by side.
- On Models, review pricing per model; refreshing keeps dsh's route catalog in step with what the key can actually call.
- On Dashboard and Usage logs, keep an eye on balance and consumption; both read the panel's reporting APIs read-only.
- On Capabilities (main page), browse the preset entries (searchable, collapsed by default) and copy any of them into My entries when you need a tweak; the presets fetch automatically from models.dev on first use (once a day afterwards), and Refresh presets re-fetches immediately, re-applying the values to every panel's catalog. Context windows and output limits take
131072,128K, or1Malike. Edit a platform-model card only when a specific id needs different values — Done saves it right away for that panel.