@lijian-ui/dsh-session-cleaner 0.1.4 → 0.1.5
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/lib/client.js +2 -1
- package/package.json +87 -87
package/lib/client.js
CHANGED
|
@@ -705,7 +705,8 @@ window.__ModuleLoader__.load({
|
|
|
705
705
|
ctx.inject(["workspaces"], (sctx) => {
|
|
706
706
|
officialArchive = async (sessionId) => {
|
|
707
707
|
try {
|
|
708
|
-
|
|
708
|
+
await sctx.workspaces.archiveSession(sessionId);
|
|
709
|
+
return true;
|
|
709
710
|
} catch {
|
|
710
711
|
return false;
|
|
711
712
|
}
|
package/package.json
CHANGED
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@lijian-ui/dsh-session-cleaner",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Session management plugin for DeepSeek Harness (dsh): list / delete / archive & restore sessions, with a built-in \"Archived\" group and a delete confirm dialog (real delete, not trash). 为 DeepSeek Harness 提供会话管理:列表 / 真删除(二次确认)/ 归档分组与恢复。",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"main": "lib/index.js",
|
|
8
|
-
"types": "lib/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./lib/index.d.ts",
|
|
12
|
-
"default": "./lib/index.js"
|
|
13
|
-
},
|
|
14
|
-
"./client": {
|
|
15
|
-
"default": "./lib/client.js"
|
|
16
|
-
},
|
|
17
|
-
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
18
|
-
"./package.json": "./package.json"
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"lib/**/*.js",
|
|
22
|
-
"lib/**/*.d.ts",
|
|
23
|
-
"cordis.patch.yml",
|
|
24
|
-
"README.md",
|
|
25
|
-
"README.en.md",
|
|
26
|
-
"LICENSE"
|
|
27
|
-
],
|
|
28
|
-
"scripts": {
|
|
29
|
-
"build": "tsdown",
|
|
30
|
-
"watch": "tsdown --watch",
|
|
31
|
-
"typecheck": "tsc --noEmit",
|
|
32
|
-
"prepare": "npm run build"
|
|
33
|
-
},
|
|
34
|
-
"keywords": [
|
|
35
|
-
"deepseek-harness",
|
|
36
|
-
"dsh",
|
|
37
|
-
"dsh-plugin",
|
|
38
|
-
"session",
|
|
39
|
-
"session-cleaner",
|
|
40
|
-
"archive",
|
|
41
|
-
"delete",
|
|
42
|
-
"cordis"
|
|
43
|
-
],
|
|
44
|
-
"repository": {
|
|
45
|
-
"type": "git",
|
|
46
|
-
"url": "git+https://github.com/lijian-ui/dsh-session-cleaner.git"
|
|
47
|
-
},
|
|
48
|
-
"dsh": {
|
|
49
|
-
"bundle": {
|
|
50
|
-
"patch": "./cordis.patch.yml"
|
|
51
|
-
},
|
|
52
|
-
"client": {
|
|
53
|
-
"inject": [
|
|
54
|
-
"@deepseek-ai/dsh-client-runtime",
|
|
55
|
-
"@deepseek-ai/dsh-client-locale",
|
|
56
|
-
"@deepseek-ai/dsh-api-gateway"
|
|
57
|
-
],
|
|
58
|
-
"platform": "web",
|
|
59
|
-
"immediately": true
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"peerDependencies": {
|
|
63
|
-
"@deepseek-ai/cordis": "*",
|
|
64
|
-
"@deepseek-ai/dsh-settings": "*",
|
|
65
|
-
"@deepseek-ai/dsh-typert-protocol": "*",
|
|
66
|
-
"@deepseek-ai/schemastery": "*"
|
|
67
|
-
},
|
|
68
|
-
"devDependencies": {
|
|
69
|
-
"@deepseek-ai/cordis": "4.0.1",
|
|
70
|
-
"@deepseek-ai/dsh-api-gateway": "0.1.
|
|
71
|
-
"@deepseek-ai/dsh-client-connection": "0.1.
|
|
72
|
-
"@deepseek-ai/dsh-client-locale": "0.1.
|
|
73
|
-
"@deepseek-ai/dsh-client-runtime": "0.1.
|
|
74
|
-
"@deepseek-ai/dsh-client-
|
|
75
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.1.
|
|
76
|
-
"@deepseek-ai/dsh-client-ui-
|
|
77
|
-
"@deepseek-ai/dsh-
|
|
78
|
-
"@deepseek-ai/dsh-
|
|
79
|
-
"@deepseek-ai/
|
|
80
|
-
"@
|
|
81
|
-
"@types/
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
}
|
|
87
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@lijian-ui/dsh-session-cleaner",
|
|
3
|
+
"version": "0.1.5",
|
|
4
|
+
"description": "Session management plugin for DeepSeek Harness (dsh): list / delete / archive & restore sessions, with a built-in \"Archived\" group and a delete confirm dialog (real delete, not trash). 为 DeepSeek Harness 提供会话管理:列表 / 真删除(二次确认)/ 归档分组与恢复。",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "lib/index.js",
|
|
8
|
+
"types": "lib/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./lib/index.d.ts",
|
|
12
|
+
"default": "./lib/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./client": {
|
|
15
|
+
"default": "./lib/client.js"
|
|
16
|
+
},
|
|
17
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
18
|
+
"./package.json": "./package.json"
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"lib/**/*.js",
|
|
22
|
+
"lib/**/*.d.ts",
|
|
23
|
+
"cordis.patch.yml",
|
|
24
|
+
"README.md",
|
|
25
|
+
"README.en.md",
|
|
26
|
+
"LICENSE"
|
|
27
|
+
],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "tsdown",
|
|
30
|
+
"watch": "tsdown --watch",
|
|
31
|
+
"typecheck": "tsc --noEmit",
|
|
32
|
+
"prepare": "npm run build"
|
|
33
|
+
},
|
|
34
|
+
"keywords": [
|
|
35
|
+
"deepseek-harness",
|
|
36
|
+
"dsh",
|
|
37
|
+
"dsh-plugin",
|
|
38
|
+
"session",
|
|
39
|
+
"session-cleaner",
|
|
40
|
+
"archive",
|
|
41
|
+
"delete",
|
|
42
|
+
"cordis"
|
|
43
|
+
],
|
|
44
|
+
"repository": {
|
|
45
|
+
"type": "git",
|
|
46
|
+
"url": "git+https://github.com/lijian-ui/dsh-session-cleaner.git"
|
|
47
|
+
},
|
|
48
|
+
"dsh": {
|
|
49
|
+
"bundle": {
|
|
50
|
+
"patch": "./cordis.patch.yml"
|
|
51
|
+
},
|
|
52
|
+
"client": {
|
|
53
|
+
"inject": [
|
|
54
|
+
"@deepseek-ai/dsh-client-runtime",
|
|
55
|
+
"@deepseek-ai/dsh-client-locale",
|
|
56
|
+
"@deepseek-ai/dsh-api-gateway"
|
|
57
|
+
],
|
|
58
|
+
"platform": "web",
|
|
59
|
+
"immediately": true
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"peerDependencies": {
|
|
63
|
+
"@deepseek-ai/cordis": "*",
|
|
64
|
+
"@deepseek-ai/dsh-settings": "*",
|
|
65
|
+
"@deepseek-ai/dsh-typert-protocol": "*",
|
|
66
|
+
"@deepseek-ai/schemastery": "*"
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@deepseek-ai/cordis": "4.0.1",
|
|
70
|
+
"@deepseek-ai/dsh-api-gateway": "0.1.1-rc.2",
|
|
71
|
+
"@deepseek-ai/dsh-client-connection": "0.1.1-rc.2",
|
|
72
|
+
"@deepseek-ai/dsh-client-locale": "0.1.1-rc.2",
|
|
73
|
+
"@deepseek-ai/dsh-client-runtime": "0.1.1-rc.2",
|
|
74
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.1-rc.2",
|
|
75
|
+
"@deepseek-ai/dsh-client-ui-settings-plugins": "0.1.1-rc.2",
|
|
76
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.1-rc.2",
|
|
77
|
+
"@deepseek-ai/dsh-settings": "0.1.1-rc.2",
|
|
78
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.1-rc.2",
|
|
79
|
+
"@deepseek-ai/schemastery": "3.18.1",
|
|
80
|
+
"@types/node": "^22.0.0",
|
|
81
|
+
"@types/react": "^18.3.0",
|
|
82
|
+
"react": "^18.2.0",
|
|
83
|
+
"tsdown": "^0.12.0",
|
|
84
|
+
"typescript": "^5.6.0",
|
|
85
|
+
"@deepseek-ai/dsh-typert-registry": "0.1.1-rc.2"
|
|
86
|
+
}
|
|
87
|
+
}
|