AngLi1997/dsh-plugin-sync
Deepseek Harness 插件同步
Project Overview项目介绍
dsh-plugin-sync is a DeepSeek Harness plugin that syncs installed plugin lists to a GitHub Gist. It authenticates via GitHub OAuth device flow, exports the profile's package.json dependencies, dsh.profile.bundles, and cordis.patch.yml, and imports them back, automatically running pnpm install. Use it to replicate environments across machines or profiles; if no Gist is specified, a private Gist named dsh_plugin_sync_XXXX is created. Note: Harness must be restarted after import for changes to take effect.
dsh-plugin-sync 是用于 DeepSeek Harness 的插件同步工具,将当前 profile 的插件清单同步到 GitHub Gist。它通过 GitHub OAuth 设备流授权,支持导出 package.json 依赖、dsh.profile.bundles 与 cordis.patch.yml,并从 Gist 导入后自动 pnpm install。适用于多设备或多 profile 间迁移插件环境;未指定 Gist 时会创建私有 Gist。需注意导入后需重启 Harness 才会生效。
请帮我了解并安装插件:【dsh-plugin-sync】【https://github.com/AngLi1997/dsh-plugin-sync】
Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add dsh-plugin-sync
把 AngLi1997/dsh-plugin-sync 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-plugin-sync
把 DeepSeek Harness 已安装的插件清单同步到 GitHub Gist 的 DSH 插件。
- GitHub OAuth 设备流快捷登录(无需手动粘贴 token)
- 导出:将
profiles/<profile>/package.json的dependencies+dsh.profile.bundles+cordis.patch.yml打包为dsh-plugins.json上传到 Gist - 导入:从 Gist 读取插件清单,写回
package.json/cordis.patch.yml并自动执行pnpm install,提示重启 Harness 生效 - 未指定 Gist 地址时,自动创建名为
dsh_plugin_sync_XXXX(4 位随机字符)的私有 Gist
安装
dsh plugin --profile web add dsh-plugin-sync
或手动编辑 profile 的 package.json:
{
"dependencies": {
"dsh-plugin-sync": "^1.0.0"
},
"dsh": {
"profile": {
"bundles": ["dsh-plugin-sync"]
}
}
}
然后 pnpm install 并重启 Harness。安装后可在 dsh-market 中查看。
使用
- 打开设置 →「插件同步」
- 点「登录 GitHub」,按提示跳转 GitHub 授权(仅需
gist权限) - 点「导出到 Gist」上传插件清单;「从 Gist 导入」填写 Gist 地址后自动安装并提示重启
构建
npm install
npm run build # esbuild 产出 lib/index.js(host)+ lib/client.js(client bundle)
@deepseek-ai/* 与 react 保持外部依赖(由 profile 的 node_modules / app 模块系统提供),zod 打包进产物。
License
MIT
BiBoyang/dsh-eval-harness
Starfie1d1272/dsh-builtin-toggles
chuspeeism/dashi-taskboard
ccch1mneyyy/working-activity
Aisland-SJL/dsh-worktable
zhoushoujianwork/easyeda-agent