DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-opencode-go-quota

A DSH Web plugin that displays OpenCode Go quota usage as a clickable progress ring beside the model selector.

Terminal & TUIDeveloper ToolsSecurity & PolicyRemote Execution
6GitHub Stars0ForksUpdated2026-08-16

Install

$ dsh plugin --profile web add <本目录绝对路径>

Plugin Overview & Capabilities

AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.

source-grounded
dsh-opencode-go-quota is a persistent DeepSeek Harness Web plugin for monitoring OpenCode Go 5-hour, weekly, and monthly quota windows. It adds a color-coded quota ring to the chat input and injects tiered quota warnings into agent system prompts as 5-hour usage rises.

Key Capabilities

  • Adds a 22px quota progress ring to the left of the DSH Web model selector.
  • Cycles between 5-hour, weekly, and monthly usage views when clicked.
  • Shows usage percentage and reset countdown on hover.
  • Uses green, blue, orange, and red states based on quota urgency, with red pulsing at 80% or higher.
  • Refreshes quota data every five minutes and can force-refresh stale data after view switching.
  • Reads an OpenCode Go API key from OPENCODE_GO_API_KEY or ~/.local/share/opencode/auth.json.
  • Fetches usage from the OpenCode Go usage API and exposes it through an internal /ocg-quota/usage route.
  • Injects one-time, tiered 5-hour quota warnings into agent system prompts, with configurable thresholds and escalation steps.
  • Displays a gray error state and error reason when quota data is unavailable.

Useful For

  • Monitor remaining OpenCode Go quota without leaving the DSH Web chat interface.
  • Switch between short-term, weekly, and monthly quota windows before starting work.
  • Prompt agents to warn users or pause work when 5-hour quota consumption reaches configured thresholds.
  • Use alongside dsh-token-ledger to distinguish quota availability from token-level usage tracking.

Who It Fits

  • DeepSeek Harness Web users with an OpenCode Go account.
  • Users who want quota visibility near the chat model selector.
  • Users managing agent tasks around OpenCode Go quota limits.

Documented Limitations

  • Requires DSH Web and installation under the web profile.
  • Requires a valid OpenCode Go key from OPENCODE_GO_API_KEY or the OpenCode auth file.
  • Usage retrieval depends on the official OpenCode Go usage endpoint.
  • Quota data is cached according to configurable cache settings, so displayed data may not be instantaneous.
  • On Windows, host shell subprocess execution can be blocked by the DSH Windows ACL sandbox configuration.
  • Prompt injection concerns the 5-hour usage window; weekly and monthly thresholds are described for ring warnings.

DSH Compatibility

Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.

Not tested yetNo runtime compatibility tests have been published yet.

Security Signals

Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.

Dependency Counts

package.json declares 0 runtime, 0 development, 0 peer, and 0 optional dependencies.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
License Declared

GitHub reports the repository license as MIT.

info
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info

Source & Registry Notes

Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.

Source repository
GLFzr/dsh-opencode-go-quota
Registry source
GitHub · dsh-plugin topic
Registry classification
Plugin
Source checked
38ddb2a · 2026-09-12

This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.

Repository Activity

GitHub stars
6GitHub stars
Forks
0
Open issues
1
Last commit
2026-08-16
Last release
2026-08-15
For maintainers

Maintaining this plugin?

This listing is generated from public repository data. If you maintain this project, you can review the information and share this listing with your users if you find it useful.

Add to README
Listed on DSHPlugin.app