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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user