deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
English | 中文
OpenCode Go quota badge plugin (bundle) — shows rolling / weekly / monthly quota usage and reset times for OpenCode Go right in the dsh Web UI.


This package follows the official dsh bundle format: it ships prebuilt artifacts (lib/ is committed to the repo) and has no install scripts, so a git install needs no pnpm allowBuilds grant.
dsh plugin --profile web add github:AmaTsumeAkira/opencode-usage
Or install from a local directory:
dsh plugin --profile web add ./opencode-usage
Uninstall:
dsh plugin --profile web remove opencode-usage
The plugin reads OPENCODE_GO_API_KEY through the official credentials service (either the environment or ~/.dsh/.credentials.yaml):
# ~/.dsh/.credentials.yaml
OPENCODE_GO_API_KEY: your-opencode-go-api-key
Without a configured key the badge shows "获取失败" (fetch failed).
opencode-usage/
├── package.json # dsh.bundle + dsh.client(web) manifest
├── cordis.patch.yml # plugin row insertion layer
├── lib/index.js # host half: /opencode-usage route (ESM, zero deps)
└── lib/client.js # browser half: composer-dock badge (__ModuleLoader__ format)
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。