dsh-auto-collapse 0.1.7 → 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/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "dsh-auto-collapse",
3
- "version": "0.1.7",
4
- "description": "DeepSeek Harness Web 客户端插件:把会话里的工具卡片与 Think 推理块折叠成一行,折叠态实时显示当前正在进行的工作(工具名 + 正在执行的命令/参数、或思考内容),运行中带流光动画;点击展开/收起。让界面只保留模型说的话。",
3
+ "version": "0.2.1",
4
+ "description": "DSH Web 工作段折叠:保留原生一级,将正文之间的思考、工具、上下文合为一个二级,展开后显示原生三级。",
5
5
  "type": "module",
6
+ "engines": {
7
+ "node": ">=22"
8
+ },
6
9
  "repository": {
7
10
  "type": "git",
8
11
  "url": "git+https://github.com/a179-sanae/dsh-auto-collapse.git"
@@ -39,14 +42,19 @@
39
42
  "scripts": {
40
43
  "build": "node build.mjs",
41
44
  "deploy": "node deploy.mjs",
45
+ "package": "node deploy.mjs",
42
46
  "test": "node test/run-all.mjs",
47
+ "test:unit": "node test/run-unit.mjs",
48
+ "test:browser": "playwright test",
49
+ "preview": "node test/server.mjs",
43
50
  "typecheck": "tsc --noEmit --pretty false",
44
51
  "check": "npm run typecheck && npm test",
45
52
  "prepack": "node build.mjs"
46
53
  },
47
54
  "files": [
48
55
  "lib",
49
- "cordis.patch.yml"
56
+ "cordis.patch.yml",
57
+ "assets/screenshot.png"
50
58
  ],
51
59
  "keywords": [
52
60
  "dsh",
@@ -59,7 +67,10 @@
59
67
  ],
60
68
  "license": "MIT",
61
69
  "devDependencies": {
70
+ "@playwright/test": "1.63.0",
62
71
  "esbuild": "0.25.0",
72
+ "react": "18.3.1",
73
+ "react-dom": "18.3.1",
63
74
  "typescript": "5.9.3"
64
75
  },
65
76
  "peerDependencies": {