@kira905/dsh-butler-install 0.3.5 → 0.3.6
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 +10 -3
- package/package.json +1 -1
- package/suite-manifest.json +10 -10
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# dsh-butler-install
|
|
2
2
|
|
|
3
3
|
> ### 这是什么
|
|
4
|
-
> **上面那一整套的一键安装器**:一条命令装
|
|
4
|
+
> **上面那一整套的一键安装器**:一条命令装 17 个包,装完逐项自检,装坏了整批回滚。
|
|
5
5
|
>
|
|
6
6
|
> ### 它解决什么
|
|
7
|
-
> 一套东西散成十几个包,最容易死在「装一半」:有的装上了、有的没有,报错还只说 `ERR_PNPM_`。这个安装器给三件东西 —— ① **清单驱动**(
|
|
7
|
+
> 一套东西散成十几个包,最容易死在「装一半」:有的装上了、有的没有,报错还只说 `ERR_PNPM_`。这个安装器给三件东西 —— ① **清单驱动**(17 项一次装齐,缺一项就算失败)② **整批回滚**(不是只撤最后一个)③ **失败说人话**(把 pnpm 的环境障碍翻成「安全软件拦了建链接」「store 不在同一块盘」)。
|
|
8
8
|
>
|
|
9
9
|
> ### 一条命令跑起来
|
|
10
10
|
> ```powershell
|
|
@@ -25,6 +25,13 @@
|
|
|
25
25
|
>
|
|
26
26
|
> 另有一个 Windows exe(双击出界面)。它**自带 node 运行时**,所以 exe 自己不用你先装 Node;
|
|
27
27
|
> 但**这台电脑上仍然得先有 DSH 和 npm** —— exe 只装大管家组件,不装 DSH 本身。
|
|
28
|
+
>
|
|
29
|
+
> 🔴 **桌面版(Electron)DSH 装不了这一套 —— 结构性限制,不是 bug。**
|
|
30
|
+
> 桌面版的 profile 名是 `desktop`,而宿主把 `desktop` 保留给 Electron:**npm 装的 CLI 会直接拒绝它的插件管理请求**。
|
|
31
|
+
> 实测 `dsh plugin --profile desktop add "@kira905/dsh-ecosystem-panel@^0.5.0"` ⇒
|
|
32
|
+
> `error: profile "desktop" is managed exclusively by the Electron application`,rc=1。
|
|
33
|
+
> 本工具的插件那 6 步全部走 `dsh plugin`,所以对桌面版无效;**桌面版要用它自己内置的命令运行时管插件**。
|
|
34
|
+
> 本工具目前只支持 **npm / CLI 方式装的 DSH**。
|
|
28
35
|
|
|
29
36
|
---
|
|
30
37
|
|
|
@@ -75,7 +82,7 @@ npx @kira905/dsh-butler-install --ui --port 45090
|
|
|
75
82
|
|
|
76
83
|
| 按钮 | 干什么 | 不干什么 |
|
|
77
84
|
|---|---|---|
|
|
78
|
-
| **开始安装** | 算一遍"将对哪个 profile 做哪几件事",把
|
|
85
|
+
| **开始安装** | 算一遍"将对哪个 profile 做哪几件事",把 17 项、profile 名、回滚点位置逐条念给你看 | **那一步一条命令都不跑、一个文件都不写** |
|
|
79
86
|
| **确认,开始** | 真装。逐项显示 待装 / 安装中 / 成功 / 跳过 / 失败 | 不替你重启 DSH(装完要你自己重启,见下) |
|
|
80
87
|
| **取消** | 杀掉当前那条命令的进程树 | **不是干净撤回**:已经装好的项会留着;页面会明说"已取消,装了一半" |
|
|
81
88
|
| **卸载这次装的**(推荐) | 把这一轮装上去的真的卸掉:插件从 profile 摘掉、全局命令行包从全局前缀删掉 ⇒ 重查会真的变回"未装" | 不覆盖任何文件,所以你随后在侧边栏另装的插件不受影响 |
|
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.6",
|
|
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
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"name": "@kira905/dsh-host-adapter-client",
|
|
38
|
-
"versionRange": "^0.1.
|
|
38
|
+
"versionRange": "^0.1.2",
|
|
39
39
|
"type": "plugin",
|
|
40
40
|
"group": "界面",
|
|
41
41
|
"mount": "manual",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
"name": "@kira905/dsh-board-toolkit",
|
|
68
|
-
"versionRange": "^0.1.
|
|
68
|
+
"versionRange": "^0.1.3",
|
|
69
69
|
"type": "cli",
|
|
70
70
|
"group": "CLI",
|
|
71
71
|
"aliases": ["看板"],
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
"name": "@kira905/dsh-session-toolkit",
|
|
86
|
-
"versionRange": "^0.1.
|
|
86
|
+
"versionRange": "^0.1.2",
|
|
87
87
|
"type": "cli",
|
|
88
88
|
"group": "CLI",
|
|
89
89
|
"aliases": ["会话"],
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
"name": "@kira905/dsh-net-toolkit",
|
|
95
|
-
"versionRange": "^0.1.
|
|
95
|
+
"versionRange": "^0.1.1",
|
|
96
96
|
"type": "cli",
|
|
97
97
|
"group": "CLI",
|
|
98
98
|
"aliases": ["网络"],
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
103
|
"name": "@kira905/dsh-notekit",
|
|
104
|
-
"versionRange": "^0.1.
|
|
104
|
+
"versionRange": "^0.1.1",
|
|
105
105
|
"type": "cli",
|
|
106
106
|
"group": "CLI",
|
|
107
107
|
"aliases": ["笔记"],
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
"name": "@kira905/dsh-nurse",
|
|
113
|
-
"versionRange": "^0.1.
|
|
113
|
+
"versionRange": "^0.1.1",
|
|
114
114
|
"type": "cli",
|
|
115
115
|
"group": "体检",
|
|
116
116
|
"aliases": ["小护士", "体检"],
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
121
|
"name": "@kira905/dsh-firstaid",
|
|
122
|
-
"versionRange": "^0.1.
|
|
122
|
+
"versionRange": "^0.1.4",
|
|
123
123
|
"type": "cli",
|
|
124
124
|
"group": "体检",
|
|
125
125
|
"aliases": ["急救"],
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
"name": "@kira905/dsh-ops-toolkit",
|
|
131
|
-
"versionRange": "^0.1.
|
|
131
|
+
"versionRange": "^0.1.2",
|
|
132
132
|
"type": "cli",
|
|
133
133
|
"group": "体检",
|
|
134
134
|
"aliases": ["运维"],
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
},
|
|
147
147
|
{
|
|
148
148
|
"name": "@kira905/dsh-closure-tools",
|
|
149
|
-
"versionRange": "^0.1.
|
|
149
|
+
"versionRange": "^0.1.2",
|
|
150
150
|
"type": "cli",
|
|
151
151
|
"group": "体检",
|
|
152
152
|
"aliases": ["闭包"],
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
},
|
|
156
156
|
{
|
|
157
157
|
"name": "@kira905/dsh-diagnostics-extra",
|
|
158
|
-
"versionRange": "^0.1.
|
|
158
|
+
"versionRange": "^0.1.2",
|
|
159
159
|
"type": "cli",
|
|
160
160
|
"group": "体检",
|
|
161
161
|
"aliases": ["对账", "诊断"],
|