dsh-opencode-go-usage-badge

侧栏底部的一行小徽标:显示 OpenCode Go 额度(5 小时 / 本周 / 本月窗口),切到 DeepSeek 官方模型时显示余额。只读,无遥测。OpenCode Go 额度需要在 DSH 中配置 OPENCODE_GO_API_KEY,或登录 OpenCode Console(会兜底读取其本地凭据文件);DeepSeek 余额需要在 DSH 中配置 DEEPSEEK_API_KEY。

插件介绍

侧栏底部的一行小徽标:显示 OpenCode Go 额度(5 小时 / 本周 / 本月窗口),切到 DeepSeek 官方模型时显示余额。只读,无遥测。OpenCode Go 额度需要在 DSH 中配置 OPENCODE_GO_API_KEY,或登录 OpenCode Console(会兜底读取其本地凭据文件);DeepSeek 余额需要在 DSH 中配置 DEEPSEEK_API_KEY。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:Panther-w/dsh-opencode-go-usage-badge

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.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。