DSH Plugins
返回列表
🤖

dsh-codebuddy-auth

模型推理 更新于 2026.08.25

在终端中运行以下命令:

dsh plugin install cainiao1992/dsh-codebuddy-auth

将以下提示词粘贴到 DeepSeek Harness 对话框中:

在 DeepSeek Harness 终端中执行 dsh plugin install cainiao1992/dsh-codebuddy-auth 即可安装该插件,完整源码地址为 https://github.com/cainiao1992/dsh-codebuddy-auth

插件介绍

DSH users often want CodeBuddy (IOA) models such as deepseek-v4-pro, glm-5.2, kimi-k3-1, and minimax-m3 in their everyday workflow, but Harness has no native CodeBuddy auth or discovery pipeline. Stitching OAuth by hand, babysitting token expiry, and hand-parsing model catalogs is tedious and fragile. dsh-codebuddy-auth collapses all of that into a single native ctx.llm adapter: one browser login, and every downstream request is handled for you.

After the initial login the plugin keeps your session alive through a three-layer renewal strategy. At startup it silently renews tokens that will expire within five minutes; while DSH is running it checks every thirty minutes; and if the refresh token itself is invalidated (password change, revocation, etc.) a one-word prompt tells you to re-authenticate. The model catalog is cached for five minutes and refreshed on demand, so newly released models appear without touching any configuration. Each model also carries its real reasoning metadata pulled from the /v3/config endpoint, meaning the picker shows every supported effort level and the model's default rather than a one-size-fits-all value.

This plugin is a good fit if you already run agent workflows in DSH and want CodeBuddy-ecosystem models as a drop-in option you can flip to at will, or if you simply want to stop managing API keys and token refreshes by hand. Both the China and international editions are supported behind a single install.

使用场景

  • 在 DSH 中直接调用 CodeBuddy 的 deepseek-v4-pro、kimi-k3-1 等推理模型
  • 一次浏览器 OAuth 登录,自动处理令牌刷新与过期,无需手动粘贴密钥
  • 同步 CodeBuddy 最新模型列表,在模型选择器中查看并切换各模型的推理等级

适合人员

  • 已在 DSH 中运行智能体工作流、希望扩展模型来源的高级用户
  • 不想手动管理 API 密钥和令牌刷新的日常开发者
  • 需要同时接入多家模型提供商进行对比实验的 DSH 用户