DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-opencode-go-panel

W

dsh-opencode-go-panel

Identified★ 1

OpenCode Go subscription, model allowance, usage meter, and per-million-token rate panel for the DeepSeek Harness sidebar.

dsh-opencode-go-panel

A DeepSeek Harness sidebar panel for an OpenCode Go subscription. Everything it shows is read from OpenCode Go APIs.

OpenCode Go panel

What it shows

  • Plan and subscription state from the OpenCode Console status API: plan, price, workspace, renewal/end date, cancellation state, upgrade price, and whether extra usage is enabled.

  • One normalized allowance meter for the 5-hour, weekly, and monthly windows with dollars used/remaining, percentage, reset countdown, and pace.

  • A base-dollar allowance model. The largest single-model cap is the base: $100 for Go. Models with smaller caps burn base faster:

    ModelMonthly capBurn rate
    DeepSeek V4.1 Flash$1001.00×
    GLM-5.3-Flash$601.67×
    MiniMax M3.1 Flash$205.00×
    Kimi K3$156.67×

    Mixed usage needs only the one base meter because OpenCode's API percentage is already the blended total. The model table shows each model's cap, burn rate, and remaining if that model were your only model.

  • Published per-million-token rates from the authenticated OpenCode Go model API: input, output, cache read, context, max output, and model tags.

Install

From this checkout:

plugin_manager install_bundle target=/absolute/path/to/dsh-opencode-go-panel

Or from the GitHub repository, install the bundle package through the Harness Plugin Manager and enable it. A page refresh is required after the first client bundle is installed.

Credentials

The Host half resolves, in order:

  1. the Harness credential store (OPENCODE_GO_API_KEY),
  2. OPENCODE_GO_API_KEY, OPENCODE_API_KEY, OPENCODE_ZEN_API_KEY in the environment,
  3. the panel's own ~/.dsh/opencode-go/api-key file,
  4. ~/.pi/agent/auth.json (opencode-go),
  5. ~/.local/share/opencode/auth.json (opencode).

If no key is found, the panel shows a connect card and stores the pasted key in the Harness credential store. Exact Console billing data additionally uses a local OpenCode Console sign-in (~/.local/share/opencode/opencode.db); without it, the panel falls back to the percentage usage API.

Data limitations

OpenCode exposes one normalized percentage for all models, not per-model spend or token totals. Per-model caps are OpenCode's published Go allowances; the status API does not return them. The panel deliberately does not reconstruct tokens from local session logs. Input/output/cache rates and the available model list come from the OpenCode Go model API.

Files

  • index.js — Host routes and same-origin guards.
  • data.js — API, credential, allowance, and model normalization.
  • client.js — sidebar icon and panel UI.
  • cordis.patch.yml — bundle patch.
  • locale/ and icon.svg — plugin metadata and artwork.

License

MIT

Comments

Loading…

Similar plugins

dsh-opencode-usage-dashboard

by zhxmt-xm

Sidebar panel for OpenCode quota and usage in DeepSeek Harness: Go subscription windows, Console spend, trends, forecasts and model breakdown, with multiple accounts, service-account filtering and Eng

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Nov 2, 2026

dsh plugin --profile web add dsh-opencode-usage-dashboard

by itchenshi

DeepSeek Harness plugin: model usage & account balance in the session header (OpenCode Go plan usage + DeepSeek account balance)

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 0

MIT

JavaScript

Oct 5, 2026

dsh plugin --profile web add dsh-model-surplus

by xueayi

OpenCode Go plan usage monitor for DeepSeek Harness: real-time 5h-rolling / weekly / monthly quota in a floating web dock

Manifest valid

★ 4

↓ 63/wk

MIT

TypeScript

Aug 24, 2026

dsh plugin --profile web add @xueayi/dsh-opencode-go-usage

by OK-wx

OpenCode Go 用量常驻条:套餐余量圆环 + token/花费实时统计(本次会话/全部范围 + 按模型联动,官方实时定价),一键复制 API Key。OpenCode Go usage bar for DeepSeek Harness.

UI & ExperienceManifest valid

★ 10

MIT

JavaScript

Aug 21, 2026

dsh plugin --profile web add dsh-ocgo-lite

by Xenia0922

DeepSeek Harness 插件:OpenCode Go 用量与花费悬浮仪表盘(配额、逐请求成本、模型/来源分布)

UI & ExperienceManifest valid

★ 12

↓ 294/wk

MIT

JavaScript

Sep 1, 2026

dsh plugin --profile web add dsh-opencode-go-usage

by fuchen9

Token-usage panel for DeepSeek Harness: totals every stored session's token spend, broken down per model, provider, session type and time window. Offline, zero dependencies.

Manifest valid

★ 0

MIT

JavaScript

Nov 2, 2026

dsh plugin --profile web add @local/dsh-token-usage