@wangxiaocuo/dsh-session-trash 0.5.1 → 0.6.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/locale/en.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "meta": {
3
3
  "title": "Session trash",
4
- "description": "Move cold sessions into a recoverable trash and restore or delete them within the retention window."
4
+ "description": "Move cold sessions, together with their hidden subagent children, into a recoverable trash; restore them within the retention window, or delete their logs permanently."
5
5
  }
6
6
  }
package/locale/zh.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "meta": {
3
3
  "title": "会话回收站",
4
- "description": "把冷会话移入回收站,并在保留期内恢复或永久删除"
4
+ "description": "把冷会话连同隐藏的 subagent 子会话移入回收站,并在保留期内恢复或永久删除"
5
5
  }
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wangxiaocuo/dsh-session-trash",
3
- "version": "0.5.1",
3
+ "version": "0.6.1",
4
4
  "description": "DeepSeek Harness plugin: move cold sessions into a recoverable trash, restore them within the retention window, or delete their logs permanently.",
5
5
  "license": "MIT",
6
6
  "author": "wangxiaocuo",
@@ -23,6 +23,7 @@
23
23
  ],
24
24
  "type": "module",
25
25
  "engines": {
26
+ "node": ">=20",
26
27
  "dsh": "^0.2.2-rc.1"
27
28
  },
28
29
  "exports": {
@@ -43,13 +44,17 @@
43
44
  ],
44
45
  "scripts": {
45
46
  "test": "node --test test/*.test.js",
47
+ "test:coverage": "node --experimental-test-coverage --test test/*.test.js",
46
48
  "test:e2e": "node test/e2e-web.mjs",
47
- "test:smoke": "DSH_HOME=$(mktemp -d) ELECTRON_RUN_AS_NODE=1 \"/Applications/DeepSeek Harness.app/Contents/MacOS/DeepSeek Harness\" test/smoke-host.mjs"
49
+ "test:smoke": "node test/smoke-host.mjs"
48
50
  },
49
51
  "dependencies": {
50
52
  "@deepseek-ai/dsh-home-paths": "0.2.2-rc.1",
51
53
  "@deepseek-ai/schemastery": "3.19.0"
52
54
  },
55
+ "devDependencies": {
56
+ "@deepseek-ai/cordis": "4.1.0"
57
+ },
53
58
  "dsh": {
54
59
  "bundle": {
55
60
  "patch": "./cordis.patch.yml"