@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/README.en.md +21 -16
- package/README.md +21 -17
- package/client.js +62 -4
- package/lib/concurrency.js +30 -0
- package/lib/eligibility.js +150 -52
- package/lib/fsops.js +19 -0
- package/lib/http.js +5 -0
- package/lib/inventory.js +224 -36
- package/lib/members.js +95 -0
- package/lib/state.js +9 -21
- package/lib/store.js +69 -8
- package/lib/trash-service.js +832 -382
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +7 -2
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
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wangxiaocuo/dsh-session-trash",
|
|
3
|
-
"version": "0.
|
|
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": "
|
|
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"
|