dsh-opencode-go-quota
OpenCode Go quota ring: click-to-cycle progress ring (5h/weekly/monthly) left of the model selector, colored by urgency, with reset countdowns on hover.
模型选择器左侧的 OpenCode Go 额度圆环:点击循环切换 5 小时/每周/每月用量窗口,按紧急程度着色(绿/蓝/橙/红),悬停显示百分比与重置倒计时。
How to install
dsh plugin add github:GLFzr/dsh-opencode-go-quota About
dsh-opencode-go-quota OpenCode Go 额度圆环 —— DSH Web 的持久化插件。 在聊天输入框**模型选择器左侧**显示一个 22px 进度圆环: 中央字母 **5 / W / M**,点击循环切换 5小时 / 每周 / 每月 用量窗口 悬停显示「5小时 已用 X% · 重置倒计时」 颜色按紧急程度:绿 <30% / 蓝 30-60% / 橙 60-80% / 红 ≥80% 每 5 分钟自动刷新,点击切换时若数据超过 1 分钟则强制刷新 **额度告急(≥80%)时圆环红色脉冲闪烁**,悬停提示「⚠ 5小时额度即将用尽,建议暂停等重置」 配合 dsh-token-ledger 使用 额度(钱)与 token 用量是两回事:本插件回答「还剩多少额度」, dsh-token-ledger 则逐请求记录 真实的**输入 / 输出 / 缓存命中 token 数**(会话顶部「用量」页,堆叠柱状图, 支持按请求/按小时/按天/按轮次查看)。两个插件可同时安装、互不依赖: 额度圆环在输入框左侧,token 用量在「用量」页。 对话内额度提醒(Codex CLI 式) 每次 agent 请求时,插件会把**当前额度状态动态注入 system prompt**,**只在进入新档位时注入一次**(同档内后续请求不重复,prompt 前缀稳定、省 token、利于…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 6
- mo. downloads
- –
- Last push
- 2026-08-16
- Created
- 2026-08-14
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- ai-agents, cordis, deepseek-harness, dsh, dsh-plugin, opencode, quota, web-ui
Related plugins
TokenLedger
zh667/TokenLedger
Sidebar usage panel that attributes tokens to the relay site that served each request, read from your existing provider config: today/month/all-time totals, per-site and per-model breakdowns, a year activity heatmap, and New API / Sub2API / DeepSeek balances.
dsh-context
bowenliang123/dsh-context
DSH context insight panel: Context dashboard + /context command + Context browser — one-stop context lifecycle management with categorized composition, content details, evolution trends, compaction/injection events, and stats.
dsh-usage-statistics-panel
HaoyueQin/dsh-usage-statistics-panel
Usage statistics settings panel: 26-week activity heatmap, daily token trend with a cache hit-rate curve, per-model donut and breakdown, time-range filters, summary cards, one-time historical backfill and lossless rebuild.
dsh-all-usage
ParticleLight/dsh-all-usage
Analyze usage across models, providers, workspaces, and time ranges — including custom start/end dates over the full retained history — with live cache-hit visibility and separate model and provider breakdowns. Includes hourly single-day trends, daily cross-day trends, a 53-week GitHub-style heatmap, usage streaks, model and workspace Token-share donut charts with Token, cost, and percentage details, independent combinable filters, cache-efficiency trends, DeepSeek account balance, workspace aliases, CSV export, and a durable ledger that preserves successfully flushed usage after session deletion — and after a workspace is deleted, where its recorded usage is summed into one Deleted row — and rebuilds incrementally — on restart, unchanged sessions are applied from the ledger without re-reading their logs (a per-session log revision is the change signal), and only changed/new events are folded. The workspace registry is kept fresh automatically through the DSH domain/changed probe: only added/removed workspaces are reprocessed incrementally, unchanged workspaces reuse their computed aggregates and ledger with zero rescan, and usage is strictly limited to DSH-registered workspaces (unregistered cwds are ignored). After a scan, lightweight revision status fetches full history only when the Host/data state changes and exposes non-sensitive sync health (revision reuse, rereads, ledger recovery, and failures). Token accounting is explicit: input is fresh (cache read/write and reasoning are separate buckets) and zero-usage replays never overwrite recorded usage. Chinese uses local time, English uses UTC; API access is loopback-only.