dsh-session-detox 0.3.2 → 0.3.3

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/CHANGELOG.md +10 -0
  2. package/package.json +23 -3
package/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
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.3] - 2026-11-24
6
+
7
+ ### 元数据
8
+ - **加 `dsh.catalog`**:`category: tool` + 中英摘要 + `capabilities: ["fs","sqlite","llm/stream"]`。DSH 的插件市场 `dsh-plugin-shop` 靠这个字段决定分类和卡片文字,不写就只能由机器按 npm description 猜。
9
+ - **keywords 从 7 个补到 15 个**:补 `plugin`、`guard`、`loop`、`repetition`、`thinking-loop`、`session-health` 与两个中文词(`会话清理`、`思考循环`)。同类插件(`dsh-attention-health`、`dsh-loop-guard`、`dsh-allostasis`)都用这组词,市场与 npm 搜索都按关键词匹配。
10
+
11
+ ### 说明
12
+ - 纯元数据版本,代码与 0.3.2 完全一致。
13
+ - 市场收录只看两件事:keywords 里有 `dsh-plugin` 或 `deepseek-harness`,且声明了 `dsh.bundle` —— 这两条从 0.3.1 起就满足了,所以这次补的是「卡片好看」而不是「能不能进」。
14
+
5
15
  ## [0.3.2] - 2026-11-24
6
16
 
7
17
  ### 文档
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-session-detox",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
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",
@@ -20,16 +20,36 @@
20
20
  "bundle": {
21
21
  "patch": "./cordis.patch.yml"
22
22
  },
23
- "minVersion": "0.2.0"
23
+ "minVersion": "0.2.0",
24
+ "catalog": {
25
+ "category": "tool",
26
+ "summary": {
27
+ "en": "Cleans short-line loops out of DSH session history: trims them from reasoning blocks and compressed-block summaries, and can cut them mid-generation.",
28
+ "zh": "清理 DSH 会话历史里的极短碎句:从思考块和压缩摘要里去掉,也能在生成途中掐断。"
29
+ },
30
+ "capabilities": [
31
+ "fs",
32
+ "sqlite",
33
+ "llm/stream"
34
+ ]
35
+ }
24
36
  },
25
37
  "keywords": [
26
38
  "dsh",
27
39
  "dsh-plugin",
28
40
  "deepseek-harness",
41
+ "plugin",
29
42
  "session",
43
+ "session-health",
30
44
  "repair",
31
45
  "cleanup",
32
- "reasoning-loop"
46
+ "reasoning-loop",
47
+ "loop",
48
+ "repetition",
49
+ "guard",
50
+ "thinking-loop",
51
+ "会话清理",
52
+ "思考循环"
33
53
  ],
34
54
  "engines": {
35
55
  "node": ">=24"