DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-opencode-go-usage

m

dsh-opencode-go-usage

Manifest valid

DSH (DeepSeek Harness) web plugin: floating widget showing real-time OpenCode Go subscription usage (rolling / weekly / monthly) for every API key. Maintained fork of @xiaweiliang060035/dsh-opencode-g

UI (client)hasBundlePatch

dsh-opencode-go-usage

A DeepSeek Harness web plugin: a floating widget pinned to the right edge of the page that shows real-time OpenCode Go subscription usage — rolling / weekly / monthly windows (percent used, progress bar, and reset countdown) for every API key in the pool.

This repository is a maintained, account-scoped release of @xiaweiliang060035/dsh-opencode-go-usage (MIT). Install command and branding are updated for @mouseteamlucky/*.

Features

  • Floating widget: compact button pinned to the right edge; the badge shows the worst-window percentage across all keys (green / orange / red breathing pulse by urgency).
  • Expanded panel: one card per key (active key marked ★) with rolling / weekly / monthly usage bars, percentages, reset countdowns; rate-limited windows flagged ⚠; per-key errors shown inline.
  • Live refresh: the Host polls the official usage endpoint; the panel auto-refreshes and offers a manual refresh.
  • Key pool auto-discovery: reads $DSH_HOME/.credentials.yaml entries (OPENCODE_GO_KEY_<name>); falls back to the active key (OPENCODE_GO_API_KEY) when no pool exists.
  • Bilingual UI & DSH theme tokens (light/dark).

Install

dsh plugin --profile web add github:mouseteamlucky/dsh-opencode-go-usage

Then restart the DSH web app (the launcher/restart-guarded path) and refresh the browser page.

How it works

  • Host (Node ESM): discovers the key pool (config → .credentials.yaml → env layers), resolves each key through the credentials service, and calls the official endpoint:

    GET https://opencode.ai/zen/go/v1/usage
    Authorization: Bearer <API_KEY>
    

    Keys never leave the host — the browser only receives an aggregated snapshot.

  • Client (browser bundle): registers on the public shell.overlay slot and polls the Host route /plugins/dsh-opencode-go-usage/snapshot.

License

MIT. See LICENSE. Upstream fork attribution: xiaweiliang060035/dsh-opencode-go-usage.

Comments

Loading…

Similar plugins

dsh-opencode-go-usage

by xiaweiliang060035

DSH (DeepSeek Harness) web plugin — floating widget showing real-time OpenCode Go subscription usage (rolling / weekly / monthly) for every API key. 悬浮实时展示 opencode-go 各 key 用量。

Tools & CapabilitiesTerminal & ClientsModels & ProvidersManifest valid

★ 3

↓ 39/wk

MIT

JavaScript

Aug 15, 2026

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

DSH (DeepSeek Harness) plugin: OpenCode GO plan quota widget in the sidebar, same-origin usage proxy, and a /opencode-go chat command

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 0

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

by 0x-0cd

DeepSeek Harness (DSH) Web plugin: OpenCode Go subscription panel — usage quota, remaining quota, subscription expiry and renewal state, all from one API-key endpoint (the public /zen/go/v1/usage API has no money and no expiry date).

Development & InfrastructureTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Sep 30, 2026

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

by zhufei1000

Collapsible OpenCode GO usage widget for DeepSeek Harness: arrow-only footer handle, 5h/weekly/monthly quotas, same-origin proxy. Fork of @astervolans/dsh-opencode-go-usage.

Manifest valid

★ 0

MIT

JavaScript

Oct 18, 2026

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

by verneuil

DeepSeek Harness插件,一个极简的浮窗同时显示 DeepSeek 官方余额与 OpenCode Go 的 5h/w/m 用量

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 2

MIT

JavaScript

Nov 10, 2026

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

by jiekesu967

Shows OpenCode Go subscription usage (rolling, weekly and monthly used and remaining percentage with reset times) in a floating panel anchored to the bottom-left of the session window.

Tools & CapabilitiesDevelopment & InfrastructureModels & ProvidersManifest valid

★ 4

↓ 527/wk

MIT

JavaScript

Nov 2, 2026

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