feat: 支持官方 CLI 一行安装(dsh plugin add dsh-better-sidebar)

- package.json 声明 dsh.bundle.patch(./cordis.patch.yml),随包发布挂载
  patch;dsh plugin --profile <name> add dsh-better-sidebar@<v> 自动完成
  安装 + 注册到 dsh.profile.bundles + 下次启动挂载(无需手写挂载行)
- cordis.patch.yml:bundle 挂载层(insert better-sidebar)
- scripts/install.sh:改走官方 CLI;预写 allowBuilds(node-pty/protobufjs)
  规避 pnpm 11 strict-dep-builds 非零退出;幂等移除旧手动挂载行防双挂载
- README(EN):安装置顶官方 CLI 一行命令

v0.10.2
This commit is contained in:
Menghuan1918
2026-08-13 23:19:05 +08:00
parent e515d74f77
commit 9fdb44d9f9
5 changed files with 160 additions and 106 deletions
+4
View File
@@ -40,6 +40,9 @@
"node": ">=20"
},
"dsh": {
"bundle": {
"patch": "./cordis.patch.yml"
},
"client": {
"inject": [
"@deepseek-ai/dsh-client-runtime",
@@ -63,6 +66,7 @@
"lib/types/**/*.d.ts",
"src",
"scripts/install.sh",
"cordis.patch.yml",
"README.md",
"README_EN.md",
"LICENSE"