DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Copilot Quota — DSH Plugin for DeepSeek Harness
← Plugins
C

dsh-copilot-quota

Copilot Quota

GitHub Copilot quota indicator for the DeepSeek Harness web GUI: the remaining chat, completion and AI-credit quota of the signed-in account, shown next to the composer.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:vowa-antilamer/dsh-copilot-quota#8d43705ac517ff60b6cc1d13d4a661f6169874b0
READMECompatibilityVersions

Compatibility and provenance

Copilot Quota is published as dsh-copilot-quota and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
10/6/2026

Versions

0.1.0stable
10/6/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/6/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in models-usage.

Whale Widgetdsh-whale-widgetDeepSeek balance whale widget in the bottom-right corner of the DSH Web interface: balance/today’s usage/peak-off-peak pricing, customizable bubble click sequence (text/balance/today/peak-off-peak/image/random phrases and parallel weighted selection), per-line styles and fonts, floating quick editinUsage@linxin666/dsh-usageUsage statistics plugin for the dsh web GUI: per-provider balance and coding-plan quota detection plus a live token usage ledger, with a compact price glance card above the sidebar's Settings rowClient Ui Model Capabilities@linxin666/dsh-client-ui-model-capabilitiesPer-model capability declarations (image input and reasoning efforts) for custom pi-ai providers, edited in place on the Models settings cards; writes the official llm-pi-ai settings namespace, no DSH source changes.Codex Subscriptiondsh-codex-subscriptionUse ChatGPT and Codex subscriptions in DeepSeek Harness with OAuth, quota, safe resets, web search, images, and Fast mode

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.