AI Agent Hub
Back to plugins
🤖

dsh-commandcode

Model Inference Updated 2026.09.01

Run the following command in DeepSeek Harness:

dsh plugin install wjf1/dsh-commandcode

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install wjf1/dsh-commandcode in your project; the full source is available at https://github.com/wjf1/dsh-commandcode. After installation, restart DSH-Desktop to see the Command Code card on the Models settings page.

About this plugin

Using Command Code models inside DSH-Desktop has long been hampered by sluggish catalog refreshes, single-key rate-limiting, and vague error messages when streams drop. dsh-commandcode keeps full feature parity with the original community plugin while adding a layer of operational robustness: a Stale-While-Revalidate model catalog with ETag conditional requests and a circuit breaker serves cached results instantly and refreshes in the background; multi-account configuration lets the plugin rotate automatically on 429 or 401 responses and probe active windows to revive cooled-down credentials; per-request and stream-idle timeouts are adjustable from the settings page, with exponential backoff plus jitter on transient failures.

Streaming generation covers every event type in the Command Code Provider SSE/JSONL protocol—text deltas, reasoning phases, tool calls, and usage stats—while every error carries a stable code, diagnostic context (status, model, account, request ID), and a plain-language troubleshooting hint. The redesigned settings page is organized into Connection, Usage and Plan, Multi-Account, and Advanced cards, with real-time form validation, full Chinese/English localization that follows browser language, per-account usage tabs showing five-hour window and weekly quota progress bars, plan-aware model filtering, and image-attachment support for vision-capable models.

It is built for individual developers and small teams running DSH-Desktop 0.7.x who rely on Command Code models and need multi-account rate-limit resilience, transparent usage tracking, and a stable inference experience. No manual build step is required—add the plugin to your profile bundles and restart to get started.

Use Cases

  • Select and invoke Command Code models directly inside DSH-Desktop conversations
  • Automatically rotate to the next usable account when hitting 429 rate limits or 401 credential errors
  • Monitor per-account five-hour and weekly quota progress bars and credit balances
  • Serve cached model catalog instantly offline while refreshing in the background

Best For

  • Solo developers who rely on Command Code models for daily coding and debugging
  • Small engineering teams that need multi-account resilience against rate-limit quotas
  • Desktop LLM users who want transparent usage tracking and a stable streaming inference experience