zen-useragent
Run the following command in DeepSeek Harness:
dsh plugin install jiujiezongheti/zen-useragent
Paste the following prompt into your AI chat to install this plugin:
To install this plugin in DeepSeek Harness, use the command dsh plugin install jiujiezongheti/zen-useragent, with the source code available at https://github.com/jiujiezongheti/zen-useragent.
About this plugin
When using DeepSeek Harness (DSH) to access OpenCode ZEN free models, users frequently encounter a 429 FreeUsageLimitError that throttles their requests. This happens because DSH's default request headers identify the client as deepseek-harness, while OpenCode ZEN enforces strict rate limiting based on client type, allowing only opencode clients. This plugin addresses the issue by automatically patching DSH's request header handling, enabling user-configured headers like User-Agent to override the default attribution information. As a result, API requests are correctly identified as opencode clients, bypassing the rate limit. The plugin's core capability lies in its idempotent and self-healing mechanism: it disables the native entry point and inserts a wrapper module, ensuring the patch remains effective even after DSH upgrades without disrupting normal behavior for providers without custom headers. It is ideal for developers and users who rely on OpenCode ZEN free models for testing and development, especially those facing persistent 429 errors needing a quick and stable fix. With a focus on reliability, the plugin uses atomic writes and triple validation, requiring only simple configuration and a restart after installation for a seamless experience.
Use Cases
- Encountering 429 FreeUsageLimitError when using DeepSeek Harness to call OpenCode ZEN free models.
- Needing to configure custom User-Agent headers in DSH to mimic the opencode client.
- Automatically patching request header filtering issues to avoid manual code modifications.
Best For
- Users who develop with DeepSeek Harness.
- Developers relying on OpenCode ZEN free models for testing.
- Programmers encountering 429 rate limit errors and needing quick fixes.
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.