@wangxiaocuo/dsh-session-trash 0.6.0 → 0.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wangxiaocuo/dsh-session-trash",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
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": {
@@ -42,14 +43,18 @@
42
43
  "README.en.md"
43
44
  ],
44
45
  "scripts": {
45
- "test": "node --test test/*.test.js",
46
+ "test": "node test/run-unit.mjs",
47
+ "test:coverage": "node test/run-unit.mjs --experimental-test-coverage",
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"