@xrn1997/dsh-session-delete 0.2.1 → 0.2.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/README.md +45 -105
- package/icon.svg +18 -18
- package/lib/client.js +912 -509
- package/lib/index.js +1528 -939
- package/lib/types/api/dispatch.d.ts +23 -43
- package/lib/types/api/route-table.d.ts +35 -0
- package/lib/types/api/trash-rows.d.ts +24 -0
- package/lib/types/client/copy.d.ts +12 -0
- package/lib/types/client/remote.d.ts +49 -73
- package/lib/types/client/trash-confirm.d.ts +39 -0
- package/lib/types/client/trash-panel.d.ts +4 -2
- package/lib/types/client/trash-view.d.ts +38 -0
- package/lib/types/client/undo-toast.d.ts +2 -2
- package/lib/types/client/use-trash-query.d.ts +32 -0
- package/lib/types/client/use-trash-selection.d.ts +32 -0
- package/lib/types/index.d.ts +4 -3
- package/lib/types/ports/host-port.d.ts +21 -1
- package/lib/types/remote/map-error.d.ts +1 -1
- package/lib/types/shared/wire.d.ts +103 -9
- package/lib/types/trash/detail.d.ts +5 -23
- package/lib/types/trash/entry.d.ts +25 -2
- package/lib/types/trash/groups.d.ts +45 -0
- package/lib/types/verbs/delete-session.d.ts +5 -8
- package/lib/types/verbs/errors.d.ts +13 -6
- package/lib/types/verbs/member-journal.d.ts +26 -0
- package/lib/types/verbs/orphan-subagents.d.ts +82 -0
- package/lib/types/verbs/purge-trash.d.ts +13 -1
- package/lib/types/verbs/restore-session.d.ts +11 -9
- package/locale/en.json +6 -6
- package/locale/zh.json +6 -6
- package/package.json +105 -105
- /package/lib/types/verbs/{apply.d.ts → batch.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@xrn1997/dsh-session-delete",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "在 DeepSeek Harness 里删除会话:删除=移入回收站(可恢复),另设显式彻底删除",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "lib/index.js",
|
|
7
|
-
"types": "lib/types/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./lib/types/index.d.ts",
|
|
11
|
-
"default": "./lib/index.js"
|
|
12
|
-
},
|
|
13
|
-
"./client": {
|
|
14
|
-
"types": "./lib/types/client/index.d.ts",
|
|
15
|
-
"default": "./lib/client.js"
|
|
16
|
-
},
|
|
17
|
-
"./locale/*.json": "./locale/*.json",
|
|
18
|
-
"./package.json": "./package.json"
|
|
19
|
-
},
|
|
20
|
-
"icon": "./icon.svg",
|
|
21
|
-
"files": [
|
|
22
|
-
"lib/index.js",
|
|
23
|
-
"lib/client.js",
|
|
24
|
-
"lib/types/**/*.d.ts",
|
|
25
|
-
"locale",
|
|
26
|
-
"icon.svg",
|
|
27
|
-
"cordis.patch.yml",
|
|
28
|
-
"README.md",
|
|
29
|
-
"LICENSE"
|
|
30
|
-
],
|
|
31
|
-
"engines": {
|
|
32
|
-
"node": ">=24",
|
|
33
|
-
"dsh": ">=0.1.7-rc.2 <0.3.0-0"
|
|
34
|
-
},
|
|
35
|
-
"scripts": {
|
|
36
|
-
"build": "tsdown && tsc -p tsconfig.build.json",
|
|
37
|
-
"typecheck": "tsc --noEmit",
|
|
38
|
-
"test": "vitest run",
|
|
39
|
-
"prepack": "npm run build"
|
|
40
|
-
},
|
|
41
|
-
"peerDependencies": {
|
|
42
|
-
"@deepseek-ai/cordis": "^4.0.4",
|
|
43
|
-
"react": "^18.3.1"
|
|
44
|
-
},
|
|
45
|
-
"devDependencies": {
|
|
46
|
-
"@deepseek-ai/cordis": "^4.0.4",
|
|
47
|
-
"@testing-library/dom": "^10.4.2",
|
|
48
|
-
"@testing-library/jest-dom": "^6.10.0",
|
|
49
|
-
"@testing-library/react": "^16.3.3",
|
|
50
|
-
"@types/node": "24.19.0",
|
|
51
|
-
"@types/react": "18.3.31",
|
|
52
|
-
"@types/react-dom": "18.3.5",
|
|
53
|
-
"@types/semver": "^7.8.0",
|
|
54
|
-
"jsdom": "^26.1.0",
|
|
55
|
-
"react": "^18.3.1",
|
|
56
|
-
"react-dom": "18.3.1",
|
|
57
|
-
"semver": "^7.8.5",
|
|
58
|
-
"tsdown": "0.23.0",
|
|
59
|
-
"typescript": "5.9.3",
|
|
60
|
-
"vitest": "3.2.7"
|
|
61
|
-
},
|
|
62
|
-
"dsh": {
|
|
63
|
-
"bundle": {
|
|
64
|
-
"patch": "./cordis.patch.yml"
|
|
65
|
-
},
|
|
66
|
-
"client": {
|
|
67
|
-
"inject": [
|
|
68
|
-
"@deepseek-ai/dsh-client-locale"
|
|
69
|
-
],
|
|
70
|
-
"platform": "web"
|
|
71
|
-
},
|
|
72
|
-
"compatibility": {
|
|
73
|
-
"dshReleases": {
|
|
74
|
-
"0.2.0-rc.2": "compatible",
|
|
75
|
-
"0.2.1-rc.1": "compatible",
|
|
76
|
-
"0.2.1-rc.2": "compatible"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"publishConfig": {
|
|
81
|
-
"access": "public"
|
|
82
|
-
},
|
|
83
|
-
"repository": {
|
|
84
|
-
"type": "git",
|
|
85
|
-
"url": "git+https://github.com/xrn1997/dsh-session-delete.git"
|
|
86
|
-
},
|
|
87
|
-
"homepage": "https://github.com/xrn1997/dsh-session-delete#readme",
|
|
88
|
-
"bugs": {
|
|
89
|
-
"url": "https://github.com/xrn1997/dsh-session-delete/issues"
|
|
90
|
-
},
|
|
91
|
-
"keywords": [
|
|
92
|
-
"dsh",
|
|
93
|
-
"deepseek-harness",
|
|
94
|
-
"plugin",
|
|
95
|
-
"session",
|
|
96
|
-
"trash",
|
|
97
|
-
"delete"
|
|
98
|
-
],
|
|
99
|
-
"author": "xrn1997",
|
|
100
|
-
"license": "Apache-2.0",
|
|
101
|
-
"dependencies": {
|
|
102
|
-
"react-markdown": "^10.1.0",
|
|
103
|
-
"remark-gfm": "^4.0.1"
|
|
104
|
-
}
|
|
105
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@xrn1997/dsh-session-delete",
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"description": "在 DeepSeek Harness 里删除会话:删除=移入回收站(可恢复),另设显式彻底删除",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"types": "lib/types/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./lib/types/index.d.ts",
|
|
11
|
+
"default": "./lib/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./client": {
|
|
14
|
+
"types": "./lib/types/client/index.d.ts",
|
|
15
|
+
"default": "./lib/client.js"
|
|
16
|
+
},
|
|
17
|
+
"./locale/*.json": "./locale/*.json",
|
|
18
|
+
"./package.json": "./package.json"
|
|
19
|
+
},
|
|
20
|
+
"icon": "./icon.svg",
|
|
21
|
+
"files": [
|
|
22
|
+
"lib/index.js",
|
|
23
|
+
"lib/client.js",
|
|
24
|
+
"lib/types/**/*.d.ts",
|
|
25
|
+
"locale",
|
|
26
|
+
"icon.svg",
|
|
27
|
+
"cordis.patch.yml",
|
|
28
|
+
"README.md",
|
|
29
|
+
"LICENSE"
|
|
30
|
+
],
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">=24",
|
|
33
|
+
"dsh": ">=0.1.7-rc.2 <0.3.0-0"
|
|
34
|
+
},
|
|
35
|
+
"scripts": {
|
|
36
|
+
"build": "tsdown && tsc -p tsconfig.build.json",
|
|
37
|
+
"typecheck": "tsc --noEmit",
|
|
38
|
+
"test": "vitest run",
|
|
39
|
+
"prepack": "npm run build"
|
|
40
|
+
},
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"@deepseek-ai/cordis": "^4.0.4",
|
|
43
|
+
"react": "^18.3.1"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@deepseek-ai/cordis": "^4.0.4",
|
|
47
|
+
"@testing-library/dom": "^10.4.2",
|
|
48
|
+
"@testing-library/jest-dom": "^6.10.0",
|
|
49
|
+
"@testing-library/react": "^16.3.3",
|
|
50
|
+
"@types/node": "24.19.0",
|
|
51
|
+
"@types/react": "18.3.31",
|
|
52
|
+
"@types/react-dom": "18.3.5",
|
|
53
|
+
"@types/semver": "^7.8.0",
|
|
54
|
+
"jsdom": "^26.1.0",
|
|
55
|
+
"react": "^18.3.1",
|
|
56
|
+
"react-dom": "18.3.1",
|
|
57
|
+
"semver": "^7.8.5",
|
|
58
|
+
"tsdown": "0.23.0",
|
|
59
|
+
"typescript": "5.9.3",
|
|
60
|
+
"vitest": "3.2.7"
|
|
61
|
+
},
|
|
62
|
+
"dsh": {
|
|
63
|
+
"bundle": {
|
|
64
|
+
"patch": "./cordis.patch.yml"
|
|
65
|
+
},
|
|
66
|
+
"client": {
|
|
67
|
+
"inject": [
|
|
68
|
+
"@deepseek-ai/dsh-client-locale"
|
|
69
|
+
],
|
|
70
|
+
"platform": "web"
|
|
71
|
+
},
|
|
72
|
+
"compatibility": {
|
|
73
|
+
"dshReleases": {
|
|
74
|
+
"0.2.0-rc.2": "compatible",
|
|
75
|
+
"0.2.1-rc.1": "compatible",
|
|
76
|
+
"0.2.1-rc.2": "compatible"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"publishConfig": {
|
|
81
|
+
"access": "public"
|
|
82
|
+
},
|
|
83
|
+
"repository": {
|
|
84
|
+
"type": "git",
|
|
85
|
+
"url": "git+https://github.com/xrn1997/dsh-session-delete.git"
|
|
86
|
+
},
|
|
87
|
+
"homepage": "https://github.com/xrn1997/dsh-session-delete#readme",
|
|
88
|
+
"bugs": {
|
|
89
|
+
"url": "https://github.com/xrn1997/dsh-session-delete/issues"
|
|
90
|
+
},
|
|
91
|
+
"keywords": [
|
|
92
|
+
"dsh",
|
|
93
|
+
"deepseek-harness",
|
|
94
|
+
"plugin",
|
|
95
|
+
"session",
|
|
96
|
+
"trash",
|
|
97
|
+
"delete"
|
|
98
|
+
],
|
|
99
|
+
"author": "xrn1997",
|
|
100
|
+
"license": "Apache-2.0",
|
|
101
|
+
"dependencies": {
|
|
102
|
+
"react-markdown": "^10.1.0",
|
|
103
|
+
"remark-gfm": "^4.0.1"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
File without changes
|