AI Agent Hub
Back to plugins
🤖

dsh-codebuddy-auth

Model Inference Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install cainiao1992/dsh-codebuddy-auth

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

Install the plugin by running dsh plugin install cainiao1992/dsh-codebuddy-auth in your DeepSeek Harness terminal; the full source is available at https://github.com/cainiao1992/dsh-codebuddy-auth

About this plugin

If your daily agent work in DSH keeps circling back to CodeBuddy (IOA) models-deepseek-v4-pro, glm-5.2, kimi-k3-1, minimax-m3-you know the pain. Harness ships no native CodeBuddy auth, discovery, or renewal pipeline, so the usual path is a tangle of hand-rolled OAuth, a token you have to re-paste every few hours, and a model list you parse yourself. dsh-codebuddy-auth turns that into one browser login and a single native ctx.llm adapter that owns the entire request path from then on.

Session management is the part most people underestimate. The plugin uses a three-layer renewal strategy: at every DSH startup it pre-emptively refreshes tokens that will expire within five minutes; while the agent is running a background tick every thirty minutes keeps the token warm; and if the refresh token itself is invalided by a password change or explicit revocation a one-word prompt from the agent tells you exactly what to do next. The model catalog is cached for five minutes and refreshed on demand, so the moment Tencent ships a new model you can say sync codebuddy models and it is in the picker. Every model also carries its real reasoning metadata-from supportedEfforts to defaultEffort-pulled straight from the /v3/config endpoint, so the picker shows the exact levels each model actually offers instead of a generic toggle.

Who is this for? If you already run agent workflows inside DSH and want CodeBuddy-ecosystem models as a drop-in option you can switch to at will, or if you simply want to stop copy-pasting API keys and refreshing tokens by hand, this plugin is a clean fit. One install command covers both the China and international editions, and a one-word agent phrase handles login, status, model sync, or logout-whatever step you are in.

Use Cases

  • Call CodeBuddy models like deepseek-v4-pro and kimi-k3-1 directly inside DSH workflows
  • Log in once via browser OAuth; token renewal and expiry are handled automatically
  • Sync the latest CodeBuddy model catalog and switch reasoning levels per model in the picker

Best For

  • Power users running agent workflows in DSH who want to expand their model pool
  • Everyday developers who prefer zero manual key and token management
  • DSH users comparing multiple model providers side by side for experiments