dsh-session-detox 0.3.1 → 0.3.2
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/CHANGELOG.md +8 -0
- package/README.md +14 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
格式参考 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),版本号按 [SemVer](https://semver.org/lang/zh-CN/)。
|
|
4
4
|
|
|
5
|
+
## [0.3.2] - 2026-11-24
|
|
6
|
+
|
|
7
|
+
### 文档
|
|
8
|
+
- **安装段重写**:补上 `pnpm add dsh-session-detox` / `npm i dsh-session-detox` 这条最短路径(包已发布到公共 npm),把从源码安装降级成「要改代码调试时」的备选。0.3.1 的 README 只写了 `git clone` + 手动拷,等于让想装的人多走三步。
|
|
9
|
+
|
|
10
|
+
### 说明
|
|
11
|
+
- 这是纯文档版本,代码与 0.3.1 完全一致;升版本号只是为了在 npm 上生效。
|
|
12
|
+
|
|
5
13
|
## [0.3.1] - 2026-11-24
|
|
6
14
|
|
|
7
15
|
### 新增
|
package/README.md
CHANGED
|
@@ -13,20 +13,18 @@
|
|
|
13
13
|
|
|
14
14
|
## 安装
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
git clone https://github.com/backpang/dsh-session-detox.git
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
把克隆下来的目录放进 profile 的 `node_modules`,再在 profile 的 `package.json` 里登记两处:
|
|
16
|
+
**从 npm(推荐)**:
|
|
21
17
|
|
|
22
18
|
```bash
|
|
23
|
-
|
|
19
|
+
pnpm add dsh-session-detox # 或 npm i dsh-session-detox
|
|
24
20
|
```
|
|
25
21
|
|
|
22
|
+
然后在 profile 的 `package.json` 里登记两处:
|
|
23
|
+
|
|
26
24
|
```json
|
|
27
25
|
{
|
|
28
26
|
"dependencies": {
|
|
29
|
-
"dsh-session-detox": "
|
|
27
|
+
"dsh-session-detox": "^0.3.2"
|
|
30
28
|
},
|
|
31
29
|
"dsh": {
|
|
32
30
|
"bundles": ["dsh-session-detox"]
|
|
@@ -34,6 +32,15 @@ cp -r dsh-session-detox ~/.dsh/profiles/<profile>/node_modules/
|
|
|
34
32
|
}
|
|
35
33
|
```
|
|
36
34
|
|
|
35
|
+
**从源码**(要改代码调试时):
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
git clone https://github.com/backpang/dsh-session-detox.git
|
|
39
|
+
cp -r dsh-session-detox ~/.dsh/profiles/<profile>/node_modules/
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
登记方式同上,`dependencies` 里写 `"file:./node_modules/dsh-session-detox"`。
|
|
43
|
+
|
|
37
44
|
重启 DSH,五个工具就出现在工具列表里。
|
|
38
45
|
|
|
39
46
|
## 五个工具
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-session-detox",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Session-level cleanup for DSH: scan a session log for the short-line loop pattern, cut it out of the reasoning blocks, and clean the same pattern out of compressed-block summaries. Zero dependencies, pure node.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|