@kira905/dsh-butler-install 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -2
- package/package.json +1 -1
- package/suite-manifest.json +10 -0
package/README.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# dsh-butler-install
|
|
2
2
|
|
|
3
|
+
> ### 这是什么
|
|
4
|
+
> **上面那一整套的一键安装器**:一条命令装 16 个包,装完逐项自检,装坏了整批回滚。
|
|
5
|
+
>
|
|
6
|
+
> ### 它解决什么
|
|
7
|
+
> 一套东西散成十几个包,最容易死在「装一半」:有的装上了、有的没有,报错还只说 `ERR_PNPM_`。这个安装器给三件东西 —— ① **清单驱动**(16 项一次装齐,缺一项就算失败)② **整批回滚**(不是只撤最后一个)③ **失败说人话**(把 pnpm 的环境障碍翻成「安全软件拦了建链接」「store 不在同一块盘」)。
|
|
8
|
+
>
|
|
9
|
+
> ### 一条命令跑起来
|
|
10
|
+
> ```powershell
|
|
11
|
+
> npm i -g @kira905/dsh-butler-install
|
|
12
|
+
> dsh-butler-install --profile web --dry-run # 先看要装什么
|
|
13
|
+
> dsh-butler-install --profile web # 真装
|
|
14
|
+
> ```
|
|
15
|
+
> 想点着鼠标装也行:`dsh-butler-install --ui` 会起一个本地向导页(只绑 `127.0.0.1`、只读、不执行)。
|
|
16
|
+
>
|
|
17
|
+
> ### 先看它长什么样(真实输出)
|
|
18
|
+
> ```text
|
|
19
|
+
> dsh-butler-install —— 大管家全家桶薄壳安装器
|
|
20
|
+
> 用法:
|
|
21
|
+
> dsh-butler-install --profile <profile> [选项]
|
|
22
|
+
> --profile <name> 要操作的 profile(必填)。宿主会用它定位 <数据根>/profiles/<name>
|
|
23
|
+
> --manifest <path> 清单文件,默认用包内自带的 suite-manifest.json
|
|
24
|
+
> ```
|
|
25
|
+
>
|
|
26
|
+
> 另有一个自足的 Windows exe(双击出界面,自带 node 运行时,不用先装环境)。
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
3
30
|
大管家全家桶的**薄壳安装器**:一条命令按清单装齐插件与命令行工具,装完**立刻告诉你成了没**,红了能整批回滚。
|
|
4
31
|
|
|
5
32
|
> 卖点不是"一键",是"一键之后的可验证性"。
|
|
@@ -102,8 +129,7 @@ npx @kira905/dsh-butler-install --ui --port 45090
|
|
|
102
129
|
|
|
103
130
|
上面那套都要敲命令。**连 PowerShell 都不想开**的话,下载一个 exe 就行:
|
|
104
131
|
|
|
105
|
-
>
|
|
106
|
-
> `dsh-butler-install-0.2.1-win-x64.exe`,约 89 MB)
|
|
132
|
+
> **下载地址**:https://pan.baidu.com/s/1CxK4g-DAwuGoFVKLp4GqCA?pwd=9jir(提取码 `9jir`;文件名 `dsh-butler-install-0.3.0-win-x64.exe`,约 89 MB · 93,148,160 B)
|
|
107
133
|
|
|
108
134
|
用法就三步:
|
|
109
135
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kira905/dsh-butler-install",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Thin installer for the DSH butler suite: one command installs the plugin + CLI bundle through the host's own commands, then tells you whether it actually took effect, and can roll the whole batch back. Also ships a local wizard page (--ui) that lives outside DSH and can install from the browser: nothing runs until you press confirm; loopback only, per-process token + same-origin check, four POST entry points (preview/start/cancel/rollback), two honest rollbacks. It does not isolate you from other programs running as the same local user.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
package/suite-manifest.json
CHANGED
|
@@ -43,6 +43,16 @@
|
|
|
43
43
|
"probe": { "kind": "existence", "cmd": "dsh-host-adapter-deploy" },
|
|
44
44
|
"note": "只有客户端半,刻意不带 dsh.bundle:装进 profile 时会得到一行 declares no dsh.bundle 提示,这是设计如此、不是故障。真正的挂载由它自带的部署命令完成,本工具不替它挂,也不把它判红。"
|
|
45
45
|
},
|
|
46
|
+
{
|
|
47
|
+
"name": "@kira905/dsh-task-board-local",
|
|
48
|
+
"versionRange": "^1.1.5",
|
|
49
|
+
"type": "plugin",
|
|
50
|
+
"group": "界面",
|
|
51
|
+
"mount": "auto",
|
|
52
|
+
"aliases": ["任务看板", "看板界面"],
|
|
53
|
+
"probe": { "kind": "existence" },
|
|
54
|
+
"note": "看板界面插件:从上游任务看板插件 fork 出来、已与上游脱钩,装完侧边栏出现「任务看板」(宿主半 + 浏览器半都在包内)。它只带 1 个运行时依赖(schemastery),peer 依赖 react 由宿主自带,别再单独装。⚠️ 它与官方任务看板插件抢同一个位置,二选一;装之前先看 profile 的组合列表里有没有官方那份,两个都挂上会互相顶。⚠️ 界面在它、命令行不在它 —— 那 30 个看板命令(board-card / board-card-run / board-act …)在另一条 @kira905/dsh-board-toolkit 里,要命令行就两条都装。下界钉在 1.1.5 有据:1.1.5(2026-10-19)是当前 npm latest,发布件自带 dsh.bundle(patch 指向 ./cordis.patch.yml)+ dsh.client,装进 profile 就会被挂载,本项按「必须挂载」判;0.0.0-stage / 1.1.4 没逐一核过,别往回降。"
|
|
55
|
+
},
|
|
46
56
|
{
|
|
47
57
|
"name": "@kira905/dsh-memory-toolkit",
|
|
48
58
|
"versionRange": "^0.2.0",
|