dsh-codebuddy
Manifest valid★ 1CodeBuddy OAuth, dynamic models, and reasoning controls for DeepSeek Harness
dsh-codebuddy
DeepSeek Harness 的 CodeBuddy 插件:提供 OAuth 登录、账号动态模型目录、流式请求以及推理等级选择。
功能
/codebuddy-login [site]登录国内版、国际版或自定义 CodeBuddy 站点。- 在 dsh 模型选择器中显示独立的
CodeBuddy分类。 - 登录后动态加载当前账号可用的模型。
- 支持
Off / Minimal / Low / Medium / High / Xhigh / Max推理等级。 - OAuth 凭据通过 dsh Credential Store 持久化,重启后自动恢复模型目录。
- 提供
/codebuddy-status和/codebuddy-logout。
前置要求
- DeepSeek Harness
0.1.6-alpha.2 - Node.js
22.19+或24+
从 GitHub 安装
将插件安装到实际运行 Web 应用的同一个 profile:
dsh plugin --profile web add github:Lbryany/dsh-codebuddy
dsh web
如果 Web 应用使用自定义 profile,请将 web 换成该 profile 名称,并使用 dsh --profile <name> 启动。
DSH 0.1.6 的 pnpm 安全策略
@earendil-works/pi-ai 的传递依赖包含两个安装脚本,但 CodeBuddy 的 OpenAI 兼容路径不需要运行它们。若安装时出现 ERR_PNPM_IGNORED_BUILDS,请在 $DSH_HOME/profiles/web/pnpm-workspace.yaml 中把 DSH 自动生成的占位值改为:
allowBuilds:
'@google/genai': false
protobufjs: false
如果文件里已有 allowBuilds,请合并这两项而不是重复该键。首次失败的安装可能已经写入依赖但尚未激活 bundle;修改后先移除再重新安装:
dsh plugin --profile web remove @lbryany/dsh-codebuddy
dsh plugin --profile web add github:Lbryany/dsh-codebuddy
在 dsh 输入框执行:
/codebuddy-login cn
站点参数:
cn/china:https://copilot.tencent.comglobal/intl或留空:https://www.codebuddy.ai- 也可以传入完整的
http(s)站点 URL
命令会直接显示授权 URL;请点击该 URL(或复制到本地浏览器)完成授权。这个流程不依赖服务器上的 Chrome,因此也适用于无头或远程环境。授权成功后,模型选择器会出现 CodeBuddy 分类、当前账号的模型列表和可选推理等级。
从源码构建安装
git clone https://github.com/Lbryany/dsh-codebuddy.git
cd dsh-codebuddy
npm ci
npm run check
npm pack --ignore-scripts
dsh plugin --profile web add ./lbryany-dsh-codebuddy-0.1.3.tgz
dsh web
更新与卸载
重新安装最新 GitHub 版本:
dsh plugin --profile web add github:Lbryany/dsh-codebuddy
卸载:
dsh plugin --profile web remove @lbryany/dsh-codebuddy
命令
/codebuddy-login [cn|global|site URL]/codebuddy-status/codebuddy-logout
OAuth 凭据存储在 dsh 凭据引用 CODEBUDDY_OAUTH 中。插件不会把 access token 或 refresh token 写入日志。
开发
npm ci
npm run typecheck
npm test
npm run build
lib/ 会提交到仓库,以便 dsh 可以直接通过 GitHub 安装;CI 会验证提交的 bundle 与源码构建结果一致。
License
Comments
Loading…
From the same category
by deepseek-ai
DeepSeek Harness: Everything is a Plugin.
★ 236.1k
MIT
TypeScript
Sep 24, 2026
by nexu-io
🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards,
★ 98.1k
Apache-2.0
TypeScript
Sep 26, 2026
by tt-a1i
Agent skill for beautiful, verifiable architecture, workflow, sequence, data-flow, and lifecycle diagrams—self-contained HTML with motion and crisp export.
★ 71.8k
↓ 3.5k/wk
MIT
JavaScript
Sep 25, 2026
dsh plugin --profile agent add @tt-a1i/archify-dshby Tencent
Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
★ 30.1k
↓ 838/wk
NOASSERTION
Go
Sep 26, 2026
dsh plugin --profile web add @wxg-prc-cpg/dsh-weknoraby awesome-dsh-plugin
A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表
★ 16.9k
CC0-1.0
Python
Sep 26, 2026
by zhu1090093659
DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop
★ 8k
Apache-2.0
TypeScript
Sep 25, 2026
dsh plugin --profile web add dsh-web