dsh-ocgo-quota
Manifest validOpenCode Go usage floating widget for the DeepSeek Harness Web UI: a bottom-right overlay showing rolling-5h / weekly / monthly quota, backed by the official opencode.ai usage endpoint.
dsh-ocgo-quota
DeepSeek Harness Web UI 插件:OpenCode Go 用量悬浮窗——右下角浮动小部件,实时显示 OpenCode Go 的滚动 5 小时 / 周 / 月额度用量,数据来自官方 https://opencode.ai/zen/go/v1/usage 端点(45s 缓存,并发请求共享同一 in-flight fetch)。
安装
dsh plugin --profile web add github:fuzz1og/dsh-ocgo-quota
该包声明了 dsh.bundle.patch,dsh plugin add 会自动把它加入 profile 的
dsh.profile.bundles,无需手改任何 patch 文件。
重启 DSH 后生效。
旧版(无
dsh.bundle.patch)需要手动在cordis.patch.yml插入挂载行:- insert: - id: ocgo-quota name: 'dsh-ocgo-quota'新安装无需此步骤。
配置
插件通过凭据缝(credentials seam)解析 OPENCODE_GO_API_KEY,找不到时回退读取 $DSH_HOME/.credentials.yaml 中的同名键。
工作原理
| 环节 | 说明 |
|---|---|
| 宿主半区 | GET /ocgo-quota/usage —— 解析 API key → 调用官方 usage 端点 → 返回 JSON;无任何失败路径会挂掉,均返回 JSON |
| 客户端半区 | conversation.composer.dock 槽位注册右下角悬浮窗,轮询宿主路由渲染用量 |
| 依赖 | 仅 webServer 服务 + Node 内置模块,零运行时依赖 |
License
MIT
Comments
Loading…
From the same category
by ccch1mneyyy
DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol
★ 4.2k
↓ 14.5k/wk
MIT
TypeScript
Oct 8, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tuiby strukto-ai
The World's First Virtual Terminal for AI Agents
★ 3.7k
↓ 393/wk
Apache-2.0
TypeScript
Oct 8, 2026
dsh plugin --profile agent add @struktoai/mirage-dshby bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,
★ 1.9k
↓ 39k/wk
Apache-2.0
TypeScript
Oct 8, 2026
dsh plugin --profile web add dsh-contextby huiliyi37
官方 DeepSeek Harness 的交互式终端 UI 插件:自研 ANSI 极简交互渲染、流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断、memory记忆,很丝滑的开发体验。
★ 286
↓ 630/wk
Apache-2.0
TypeScript
Sep 30, 2026
dsh plugin --profile terminal add @huiliyi37/dsh-tianshu-tuiby Hilbert-beinghappy
面向 DeepSeek Harness 的 Claude Code 风格终端界面,支持 Windows、macOS 与 Linux,兼容透明终端、VS Code 主题和自定义配色。
★ 197
↓ 108/wk
MIT
TypeScript
Oct 1, 2026
dsh plugin --profile web add seekttyby T-Auto
deepseek-harness Plugin Access and Implementation Standards / deepseek-harness交互生态插件规范与实施标准
★ 82
MIT
JavaScript
Oct 3, 2026