DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Copilot Quota — DeepSeek Harness 插件(DSH Plugin)
← Plugins
C

dsh-copilot-quota

Copilot Quota

DeepSeek Harness 网页 GUI 的 GitHub Copilot 配额指示器:在编辑框旁显示已登录账户剩余的聊天、补全和 AI 积分配额。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:vowa-antilamer/dsh-copilot-quota#8d43705ac517ff60b6cc1d13d4a661f6169874b0
README兼容性版本

兼容性与来源证明

Copilot Quota 以 dsh-copilot-quota 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/6

版本

0.1.0stable
2026/10/6

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/6
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 models-usage 分类下经过校验的插件。

Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义Usage@linxin666/dsh-usage用于 dsh Web GUI 的使用统计插件:检测各提供商的余额和编程套餐配额,并实时记录令牌使用情况;侧边栏 Settings 行上方显示紧凑的价格概览卡片Client Ui Model Capabilities@linxin666/dsh-client-ui-model-capabilities为自定义 pi-ai 提供商声明每个模型的能力(图像输入和推理力度),可直接在 Models 设置卡片中编辑;写入官方 llm-pi-ai 设置命名空间,不更改 DSH 源代码。Codex Subscriptiondsh-codex-subscription通过 OAuth 在 DeepSeek Harness 中使用 ChatGPT 和 Codex 订阅,支持配额管理、安全重置、网页搜索、图像和快速模式

README

dsh-copilot-quota

GitHub Copilot quota indicator for the DeepSeek Harness web GUI.

DeepSeek Harness has no Copilot quota surface of its own: the dsh-oauth-copilot plugin stores the grant and the account-enabled model list, and the harness only reacts once a limit is already exhausted (a QUOTA / RATE_LIMIT failure notice). This plugin fills the gap with a live badge in the composer row, next to the send button.

Copilot 200/200      ← green dot, click to refresh

What it shows

ElementMeaning
DotWorst remaining percentage across the metered buckets: green, amber at ≤ 40 %, red at ≤ 15 %
NumberThe chat bucket as remaining/total (falls back to the first metered bucket)
HoverLogin, plan and SKU, every bucket, the quota reset date and the time of the last refresh
ClickForce a refresh, bypassing the server cache

The badge is hidden entirely when no Copilot grant exists, so it never claims a meter that is not there. Buckets that report 0 of 0 are dropped for the same reason — a free plan has no AI-credit pool.

Requirements

  • DeepSeek Harness >= 0.1.0-rc.6 < 0.3.0, profile web (verified on 0.2.0-rc.2).
  • A signed-in Copilot grant:
    npx -y dsh-oauth-copilot login
    
    Sign-in is a human-only terminal operation by design; see that package's README.
  • github.com only — GitHub Enterprise is not supported, matching dsh-oauth-copilot.

Install

From GitHub (no clone or build step):

dsh plugin --profile web add github:vowa-antilamer/dsh-copilot-quota

From a local checkout:

dsh plugin --profile web add /path/to/dsh-copilot-quota

A live profile recomposes itself (the server half starts serving immediately and the client bundle starts being served); reload the browser page to load the client module. Restart dsh web only if the badge does not appear after a reload.

Remove:

dsh plugin --profile web remove dsh-copilot-quota

Configuration

Optional entry config (profile patch or the plugin row in the GUI):

- id: copilot-quota
  config:
    cacheMs: 300000   # GitHub response cache, ms (0 disables caching)

How it works

HalfFileResponsibility
Serverindex.jsReads the llm-pi-ai/github-copilot record through ctx.credentials, calls GitHub, serves GET /copilot-quota/api
Clientclient.jsSlot conversation.input.right; polls the route every 2 minutes and on window focus

The server half asks the same client endpoint VS Code uses:

GET https://api.github.com/copilot_internal/user
Authorization: Bearer <token>

Both response shapes are supported: quota_snapshots (current accounts) and monthly_quotas + limited_user_quotas (older ones). The answer is cached server-side (5 minutes by default) and the last good reading is kept on screen if a refresh fails.

Tokens never reach the browser. The grant stays in the harness credential store; only derived numbers cross the route. The badge talks to the same origin that served the page (/copilot-quota/api).

Verify without the GUI

curl http://127.0.0.1:3080/copilot-quota/api

Limitations

  • copilot_internal/user is not a public GitHub API. If GitHub changes the response shape, the badge reports the error in its tooltip instead of breaking the UI.
  • GitHub Enterprise is unsupported (the grant whitelist in dsh-oauth-copilot accepts only the official proxy.individual.githubcopilot.com endpoint).
  • The badge reflects the signed-in account, not the model currently selected: it is the account's quota, visible with any model.
  • Quota is refetched on a timer, so the number lags real usage by up to the cache window.

License

MIT — see LICENSE.

Русская версия: README.ru.md.