dsh-sweeper 1.4.0 → 1.4.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.
Files changed (2) hide show
  1. package/README.md +15 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,15 +12,15 @@
12
12
 
13
13
  **扫描结果**:两档分开,无脑删一键清理,其余逐项勾选。
14
14
 
15
- ![扫描结果:两档候选、真实路径与模型给出的原因](docs/store/scan.png)
15
+ ![扫描结果:两档候选、真实路径与模型给出的原因](https://raw.githubusercontent.com/Dushiqi1987/dsh-sweeper/HEAD/docs/store/scan.png)
16
16
 
17
17
  **模型复核**:一次调用给整份清单评档,清单外还发现的新候选也在这里。
18
18
 
19
- ![模型复核:模型逐条给判定,有疑问的直接反问你](docs/store/model-review.png)
19
+ ![模型复核:模型逐条给判定,有疑问的直接反问你](https://raw.githubusercontent.com/Dushiqi1987/dsh-sweeper/HEAD/docs/store/model-review.png)
20
20
 
21
21
  **深度清理**:把某段对话的摘要发给你的模型,让它按上下文判断哪些文件已经没用了。
22
22
 
23
- ![深度清理:按对话问模型,谁先返回先显示](docs/store/deep-sweep.png)
23
+ ![深度清理:按对话问模型,谁先返回先显示](https://raw.githubusercontent.com/Dushiqi1987/dsh-sweeper/HEAD/docs/store/deep-sweep.png)
24
24
 
25
25
  这三张由 `test/browser/` 的回放页在无头 Chrome 里渲染真实抓包得到;
26
26
  `test/screenshots.mjs` 保证 `screenshots.json` 里的路径都存在、都是横版 PNG —— 商店那排图是它读的。
@@ -32,8 +32,18 @@
32
32
  dsh plugin add https://github.com/Dushiqi1987/dsh-sweeper/releases/latest/download/dsh-sweeper.tgz
33
33
  ```
34
34
 
35
- 发布到 npm 之后也可以直接 `dsh plugin add dsh-sweeper`(npm 包同时喂给官方
36
- `dsh-plugin-catalog` 索引,插件商店里搜得到、显示版本号)。
35
+ 也可以直接从 npm 装:
36
+
37
+ ```bash
38
+ dsh plugin add dsh-sweeper
39
+ ```
40
+
41
+ npm 上这个包喂给官方 `dsh-plugin-catalog` 索引,插件商店里因此能显示版本号;
42
+ Release 与 npm 的内容一致,选哪条都行。
43
+
44
+ 发版走 npm 的**暂存区**:CI 只负责 `npm stage publish`,最后一步要维护者用 2FA
45
+ 批准(`npm stage list` 看 id,`npm stage approve <id>`),所以一个被偷的 token
46
+ 没法直接把代码送到用户面前。
37
47
 
38
48
  ## 怎么用
39
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-sweeper",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "type": "module",
5
5
  "description": "清理对话留下的临时文件与垃圾,释放磁盘空间;只报告,清理进回收站可恢复 (cleanup junk files conversations leave on disk, free up space)",
6
6
  "keywords": [