dsh-ocgo-lite
OpenCode Go usage bar in the composer dock: rolling/weekly/monthly quota rings, DSH-session token & cost stats priced with live official rates, per-model and current-session scope breakdowns with live per-session updates, one-click API key copy.
输入框下方常驻 OpenCode Go 用量条:5 小时/每周/每月配额圆环,DSH 会话 token 与花费统计(官方实时定价),支持按模型与按「本次会话」范围联动明细(本次会话实时更新),一键复制 API Key。
How to install
dsh plugin add github:OK-wx/dsh-ocgo-lite About
dsh-ocgo-lite **OpenCode Go 用量常驻条** — DeepSeek Harness 插件。 聊天输入框下方(composer dock)**常驻展开**显示 OpenCode Go 套餐余量、token 消耗与花费,零外部依赖。 ✨ 功能 GO:账户卡片 点击弹出账户卡片:登录状态、套餐、配额概览、API Key 掩码 + **一键复制**(复制成功有 toast 提示)。 滚动 / 周 / 月:套餐配额 官方配额百分比圆环(健康色:蓝/黄/红),点击弹出三窗口进度条 + 重置倒计时。 范围:全部 / 本次会话 / 最近对话 点击切换统计范围——**全部**(所有 DSH 会话合计)/ **本次会话**(仅当前聊天)/ **最近对话**(最近活跃会话的**最后一次任务**执行消耗,按 turn 细分,含子代理/后台任务);切到限定会话时若只有 1 个模型自动选中该模型。每个会话的「范围 + 模型」选择会被**记忆**,切走再切回原样恢复。 模型:按模型联动 点击弹出模型选择器——范围=本次会话时只列出本次会话用过的模型;选中后状态条 token/花费联动显示该模型(范围+模型双层联动)。 token:消耗明细 完整数字 + 详情卡片(输入/输出/推理/缓存读/写 + 按模型分组明细,标题随范围显示「总消耗 token / 本次会话总消耗」);选中模型时只显…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 10
- mo. downloads
- –
- Last push
- 2026-08-21
- Created
- 2026-08-15
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- deepseek-harness, dsh-plugin, opencode-go-usage
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.