
BeiZi6/dsh-opencodego-usage
30最近提交 2026年8月14日
dsh-opencodego-usage DSH 插件
该插件在输入框右下角添加一个呼吸灯,通过颜色(>50% 绿、20-50% 黄、<20% 红)和 3.6 秒动画显示剩余额度。点击呼吸灯可展开液态玻璃面板,展示近 5 小时、近 7 天、近 30 天三个窗口的进度条和重置时间。每 2 分钟自动刷新,当提供商为 opencode-go 时自动从 DSH 凭据读取 API 密钥。
如何安装 dsh-opencodego-usage DSH 插件
dsh plugin --profile web add github:BeiZi6/dsh-opencodego-usage复制不会执行命令。安装 dsh-opencodego-usage DSH 插件前请核对仓库和版本。
dsh-opencodego-usage DSH 插件数据来源
dsh-opencodego-usage DSH 插件快照日期:2026年8月16日
discovered
dsh-opencodego-usage DSH 插件能做什么
- 呼吸灯指示器,颜色编码显示剩余额度状态,附带 3.6 秒缓动动画
- 三窗口进度面板(近 5 小时、近 7 天、近 30 天),显示已用量/剩余量和重置时间
- 零配置密钥解析:自动从 DSH 凭据读取(仅限 opencode-go 提供商)
- 面板内支持手动覆盖 API 密钥,密钥保存在状态文件中
- 每 2 分钟自动刷新数据
dsh-opencodego-usage DSH 插件适合哪些场景
- 在 DSH Web GUI 聊天时实时监控剩余额度,避免超出限制
- 快速查看不同时间窗口(滚动、周、月)的额度使用情况
- 在面板中临时覆盖 API 密钥,用于测试不同凭据
- 跟踪每个窗口的重置时间,合理安排使用计划
- 通过呼吸灯颜色一目了然地掌握额度状态
dsh-opencodego-usage DSH 插件适合谁
- 使用 OpenCodeGo 作为 LLM 提供商的 DeepSeek Harness Web GUI 用户
- 希望在聊天界面内监控 API 配额消耗的开发者
dsh-opencodego-usage DSH 插件的限制
- 状态文件仅存储手动覆盖的密钥;删除它不会影响基于凭据的密钥解析
- 额度值和重置时间由 OpenCodeGo API 原样返回,无本地估算
- 仅当活动提供商为 opencode-go 时才会自动解析密钥
- 需要 DSH 的 web 配置文件,且 Node.js 版本 ≥ 22.19
dsh-opencodego-usage DSH 插件的仓库 README 摘录
以下文字摘自 dsh-opencodego-usage DSH 插件的上游仓库 BeiZi6/dsh-opencodego-usage 的 README,版权归原作者,仅作引用。
**[English](README.md) · [简体中文](README.zh-CN.md)** OpenCodeGo quota monitor for the DeepSeek Harness (DSH) Web GUI: a breathing indicator at the bottom-right of the input box shows your remaining quota at a glance; click it to open a liquid-glass panel with per-window progress bars and reset times. ## Features - 🟢🟡🔴 **Breathing indicator** — color-coded by remaining quota (>50% green, 20–50% yellow, <20% red) with a gentle 3.6 s breathing animation - 📊 **Three-window progress panel** — `rolling` (≈ last 5 h), `weekly` (≈ last 7 d) and `monthly` (≈ last 30 d) bars with used · remaining amounts and a reset time for each window - 🔑 **Zero-config key handling** — reads your API key from DSH credentials automatically (only when the provider is `opencode-go`); an in-panel override is available - 🪟 **Liquid-glass panel** — mouse-follow highlight, frosted blur and a window-style diagonal open animation - ⏱ **Auto-refresh** — fetches fresh quota every 2 minutes ## Installation Requires DeepSeek Harness with the web profile enabled. Install from the official registry: ```sh dsh plugin --profile web add github:BeiZi6/dsh-opencodego-usage ``` Restart `dsh web` for the plugin to ta
阅读完整 README仓库许可: MIT
dsh-opencodego-usage DSH 插件常见问题
如何安装 OpenCodeGo 额度监控插件?
在终端中运行 `dsh plugin --profile web add github:BeiZi6/dsh-opencodego-usage`,然后重启 `dsh web`。确保已安装 DeepSeek Harness 并启用了 web 配置文件。
如何卸载该插件?
运行 `dsh plugin --profile web remove dsh-opencodego-usage` 并重启 `dsh web`。这将移除插件及其在 Web 界面中的所有 UI 组件。
为什么呼吸灯不显示?
呼吸灯仅在活动提供商设置为 `opencode-go` 时才会显示。请检查 DSH 的提供商设置,确保正在使用 web 配置文件,并且已正确安装插件并重启了 `dsh web`。
如何手动覆盖 API 密钥?
点击呼吸灯打开面板,在输入框中输入你的 OpenCodeGo API 密钥。该密钥会保存在状态文件中,用于当前会话,并覆盖自动凭据解析。
这个插件是否支持除 OpenCodeGo 以外的其他 API 提供商?
不支持,该插件专为 OpenCodeGo 设计。它仅在提供商设置为 `opencode-go` 时自动从 DSH 凭据读取 API 密钥,不适用于其他提供商。