dsh-opencode-routing

OpenCode Go control panel: an account pool that rotates A-to-B when a key runs out or stops authenticating, per-account 5-hour/weekly/monthly allowance, per-model spend with remaining quota, capability tags (image, video, text-only, tools, reasoning), a live OpenCode-vs-official cost comparison, and quota routing that falls back to a DeepSeek official subscription on an upstream limit or degradation, then returns after 10 stable minutes - shown as a current-route banner, a status card and desktop switch notices, in 10 UI languages.

Overview

OpenCode Go control panel: an account pool that rotates A-to-B when a key runs out or stops authenticating, per-account 5-hour/weekly/monthly allowance, per-model spend with remaining quota, capability tags (image, video, text-only, tools, reasoning), a live OpenCode-vs-official cost comparison, and quota routing that falls back to a DeepSeek official subscription on an upstream limit or degradation, then returns after 10 stable minutes - shown as a current-route banner, a status card and desktop switch notices, in 10 UI languages.

Installation

Install from 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.

Install from 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.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands