D
@badai147/dsh-ocgo-usage
v0.1.1 · 0 天前发布
OpenCode Go usage stats for the DeepSeek Harness Web GUI: compact bottom-left sidebar button with a hover detail card
README
dsh-ocgo-usage
在 DeepSeek Harness Web 侧边栏左下角显示 OpenCode Go 用量的插件。
Show your OpenCode Go usage in the DeepSeek Harness web sidebar's bottom-left corner.
功能 / Features
~/.dsh/.ocg-state.json → ~/.dsh/.credentials.yaml → 环境变量)__ModuleLoader__ bundle,Host 端为纯 Node ESM安装 / Install
sh
dsh plugin --profile web add @badai147/dsh-ocgo-usage
从 GitHub 源安装(备选):
sh
dsh plugin --profile web add github:badai147/dsh-ocgo-usage
重启 dsh web,左下角(设置按钮旁)即可看到「Go 用量」按钮。
使用 / Usage
1. 在 DSH 设置中配置 opencode-go 供应商(含 API key)——插件自动读取,无需额外配置
2. 悬停左下角「Go 用量
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- @badai147/dsh-ocgo-usage
- Repo
- git+https://github.com/badai147/dsh-ocgo-usage.git
- Engines
{}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web"}}