@kira905/dsh-butler-install 0.2.0 → 0.2.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 +16 -0
- package/package.json +1 -1
- package/suite-manifest.json +6 -6
package/README.md
CHANGED
|
@@ -227,6 +227,22 @@ npm test
|
|
|
227
227
|
以及**变异测试**:把监听地址改成 `0.0.0.0`、或把路由表放开非 `GET`、或让命令字符串不带期望区间,
|
|
228
228
|
夹具必须**变红**(改坏了还绿 ⇒ 这条夹具是假的)。
|
|
229
229
|
|
|
230
|
+
### 清单漂移判据(`test/range-drift.mjs`)
|
|
231
|
+
|
|
232
|
+
清单是单一真相,但真相会烂:写清单那天按当天的 latest 填区间,之后某个包跨了 0.x 的小版本
|
|
233
|
+
(0 阶段里这就是大版本),caret 的上界就把新版挡在门外 —— 照清单装一遍拿到旧一套,而且装后自检
|
|
234
|
+
**照样绿**(它读同一份清单)。所以这条判据对着清单外面的世界核,而不是自己核自己:
|
|
235
|
+
|
|
236
|
+
```powershell
|
|
237
|
+
node test/range-drift.mjs # npm view,真网络
|
|
238
|
+
node test/range-drift.mjs --offline test/fixtures/npm-latest-snapshot.json # 读快照,零网络
|
|
239
|
+
node test/range-drift.mjs --json --manifest <别的清单>
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
退出码:`0` 全部接受 · `3` 有漂移(照清单装会拿到旧版)· `4` 取数失败/无法判定(**绝不当通过**)·
|
|
243
|
+
`2` 用法错或清单读不进来。`test/run-all.mjs` 里那一格走仓内快照、零网络;快照的 `capturedAt`
|
|
244
|
+
是这份数据"什么时候是真的"的凭据,刷新清单区间时记得一起刷。
|
|
245
|
+
|
|
230
246
|
## 许可
|
|
231
247
|
|
|
232
248
|
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kira905/dsh-butler-install",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.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 read-only local wizard page (--ui) that lives outside DSH: loopback only, GET only, never executes anything.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
package/suite-manifest.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"items": [
|
|
6
6
|
{
|
|
7
7
|
"name": "@kira905/dsh-ecosystem-panel",
|
|
8
|
-
"versionRange": "^0.
|
|
8
|
+
"versionRange": "^0.5.0",
|
|
9
9
|
"type": "plugin",
|
|
10
10
|
"group": "核心",
|
|
11
11
|
"mount": "auto",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"name": "@kira905/dsh-butler-archive",
|
|
18
|
-
"versionRange": "^0.
|
|
18
|
+
"versionRange": "^0.4.0",
|
|
19
19
|
"type": "plugin",
|
|
20
20
|
"group": "界面",
|
|
21
21
|
"mount": "auto",
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"name": "@kira905/dsh-memory-toolkit",
|
|
48
|
-
"versionRange": "^0.
|
|
48
|
+
"versionRange": "^0.2.0",
|
|
49
49
|
"type": "plugin",
|
|
50
50
|
"group": "记忆",
|
|
51
51
|
"mount": "auto",
|
|
52
52
|
"aliases": ["记忆"],
|
|
53
53
|
"probe": { "kind": "existence" },
|
|
54
|
-
"note": "记忆工具:自带一份记忆实现(子包 dsh-memory-local)+
|
|
54
|
+
"note": "记忆工具:自带一份记忆实现(子包 dsh-memory-local)+ 三个命令行(dsh-memory-audit / export / summary)。它与官方记忆插件抢同一个位置,二选一;装之前先看 profile 的组合列表里有没有官方那份。下界钉在 0.2.0 有据:0.2.0 起主包自己带 dsh.bundle(patch 指向 ./cordis.patch.yml),装进 profile 就会被挂载,本项按「必须挂载」判;0.1.x 那版把声明放在子包里,装完是普通依赖、挂载判据只能报 ⏭(不算通过)。⚠️ 0.x 的插入号只吃补丁号,0.1.x → 0.2.0 这种跨小版本(0 阶段的真·大版本)旧区间不会自动接受 —— 想让它变绿只能改区间,它不会自愈。"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"name": "@kira905/dsh-board-toolkit",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
"name": "@kira905/dsh-butler-core",
|
|
67
|
-
"versionRange": "^0.
|
|
67
|
+
"versionRange": "^0.3.0",
|
|
68
68
|
"type": "cli",
|
|
69
69
|
"group": "CLI",
|
|
70
70
|
"aliases": ["核心", "大管家核心"],
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
129
|
"name": "@kira905/dsh-quality-toolkit",
|
|
130
|
-
"versionRange": "^0.
|
|
130
|
+
"versionRange": "^0.2.0",
|
|
131
131
|
"type": "cli",
|
|
132
132
|
"group": "体检",
|
|
133
133
|
"aliases": ["质量"],
|