DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-commandcode-usage-inline

d

dsh-commandcode-usage-inline

Manifest valid

Inline Command Code plan usage badge in the DSH composer toolbar beside the model selector: 5h and weekly window usage plus remaining credits, clicking the badge opens an upward detail popover with re

UI (client)hasBundlePatch

dsh-commandcode-usage-inline

Inline Command Code plan usage badge for the DSH composer toolbar — a one-line readout right beside the model selector, zero screen space beyond a compact pill.

![示意] composer 工具栏: CC 5h 12% | 周 34% | 剩 1826

功能

  • 跟随当前模型: 当前会话 provider 是 commandcode 时显示徽章;切到其它 provider 自动隐藏。
  • 一行概览(composer 内联,紧邻 model select): CC 5h X% | 周 Y% | 剩 N
    • 5h X% — 5 小时窗口已用百分比(超限时变红)
    • 周 Y% — 周窗口已用百分比(超限时变红)
    • 剩 N — 剩余 credits(购买 + 免费)
  • 点击展开详情浮层(向上弹出,样式与模型选择浮窗一致):
    • 当前账户(多账户轮换时绿点标注)、套餐名
    • 5h / 周窗口的重置倒计时
    • 剩余 credits 构成(订阅月包 + 购买 + 免费)
    • 其它已配置账户的分窗口占用
    • 刷新 / 关闭按钮
  • 60s 自动轮询; 失败时徽章变黄 CC ⚠, 点击查看错误并可重试。
  • 悬停徽章有胶囊背景反馈。

与 sidebar 版 (zouxiaoyang/dsh-commandcode-usage) 的区别

已收录的 zouxiaoyang/dsh-commandcode-usage 是一个侧边栏 footer 面板。本插件是不同的形态:composer 输入栏内的内联薄徽章(conversation.input.right slot,紧贴 model select),不占侧边栏空间、不打断对话流,打开浮层才展示明细。两者定位互补。

数据来源

纯客户端插件。复用 @mars-sea/dsh-commandcode-provider 已 mount 在浏览器 remote 服务上的 commandcode/report Remote(accounts[].report.credits.fiveHour / .weekly + .plan + .account),不自己直连 Command Code API,不接触你的 API key。

前置依赖: 已安装并启用 @mars-sea/dsh-commandcode-provider。

安装

dsh plugin add github:345420242/dsh-commandcode-usage-inline

然后重启 DSH 即可。

卸载

dsh plugin remove dsh-commandcode-usage-inline

与 dsh-musage 的关系

dsh-musage 支持 MiniMax / DeepSeek / Kimi / OpenRouter / Zhipu 五家,遇到 commandcode 时无法显示数据。本插件补上这块:commandcode 激活时显示真实用量,其它 provider 时自己隐藏,两者共存不冲突。

License

MIT

Comments

Loading…

Similar plugins

dsh-commandcode-usage

CommandCode usage & balance panel for DeepSeek Harness: API usage, credit balance, 5-hour/weekly windows from the sidebar footer.

Tools & CapabilitiesModels & ProvidersManifest valid

★ 0

↓ 263/wk

dsh plugin --profile web add dsh-commandcode-usage

by Jovan1666

Command Code plan quota in your DeepSeek Harness (dsh) sidebar: 5-hour, weekly and monthly credit windows with reset countdowns. Works with Go, GOAT, Pro, Max and Provider plans.

Tools & CapabilitiesDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 1

↓ 353/wk

MIT

JavaScript

Oct 26, 2026

dsh plugin --profile web add dsh-commandcode-quota

DSH (DeepSeek Harness) plugin: OpenCode GO plan quota widget in the sidebar, same-origin usage proxy, and a /opencode-go chat command

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 0

dsh plugin --profile web add @astervolans/dsh-opencode-go-usage

DSH Usage Monitor: auto-query provider credit balances and time-window limits from configured API keys, with input capsule and custom provider support.

Tools & CapabilitiesModels & ProvidersManifest valid

★ 0

↓ 53/wk

dsh plugin --profile web add @lcthe/dsh-usage-monitor

by yk1288

在 DeepSeek Harness (DSH) 侧边栏底部显示 OpenCode Go 用量徽章。实时展示 5 小时滚动、本周、本月的用量百分比,支持点击展开详情面板,自动刷新,颜色预警。

Manifest valid

★ 0

TypeScript

Aug 21, 2026

dsh plugin --profile web add @yk1288/dsh-opencode-go-usage

by linanbuan

用量 · Usage — DeepSeek Harness (DSH) 设置面板:当日/累计 token 用量、缓存命中、历史日历,以及 kimi-coding / commandcode 的额度与刷新时间。 A DSH settings panel: token usage, cache hits, a history calendar, and provider quotas.

Development & InfrastructureManifest valid

★ 3

MIT

JavaScript

Oct 31, 2026

dsh plugin --profile web add @local/dsh-usage