2869949486/dsh-opencode-quota-router ↗★ 0

dsh-opencode-quota-router

dsh plugin: per-model OpenCode Go quota routing with DeepSeek account fallback.

Package
dsh-opencode-quota-router
Compatibility
Unverified
Harness peer range
^0.2.0-rc.1
Version
1.0.0
License
MIT
Last updated
Oct 31, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:2869949486/dsh-opencode-quota-router

Configuration

The bundle patch carries defaults; override the row opencode-quota-router in your profile patch:

- id: opencode-quota-router
  config:
    usageUrl: https://opencode.ai/inference/go/v1/usage
    apiKeyRef: OPENCODE_API_KEY
    probeIntervalMs: 1800000
    modelQuarantineMs: 1800000
    routes:
      - primary: { provider: opencode-go, model: deepseek-v4.1-flash }
        fallback: { provider: deepseek-account, model: deepseek-flash }

Optional fields: minProbeDelayMs, unconfirmedDelayMs, modelQuarantineMs, statePath.