@xrn1997/dsh-session-delete 0.1.1 → 0.2.0
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 +5 -4
- package/icon.svg +18 -18
- package/lib/client.js +1407 -427
- package/lib/index.js +785 -182
- package/lib/types/api/dispatch.d.ts +51 -0
- package/lib/types/client/batch-bar.d.ts +24 -0
- package/lib/types/client/batch-confirm.d.ts +31 -0
- package/lib/types/client/batch-menu-item.d.ts +19 -0
- package/lib/types/client/batch-select.d.ts +97 -0
- package/lib/types/client/context.d.ts +31 -0
- package/lib/types/client/copy.d.ts +167 -0
- package/lib/types/client/delete-confirm.d.ts +40 -0
- package/lib/types/client/delete-menu-item.d.ts +20 -0
- package/lib/types/client/index.d.ts +19 -0
- package/lib/types/client/markdown.d.ts +11 -0
- package/lib/types/client/remote.d.ts +178 -0
- package/lib/types/client/trash-detail.d.ts +27 -0
- package/lib/types/client/trash-entry.d.ts +6 -0
- package/lib/types/client/trash-panel.d.ts +10 -0
- package/lib/types/client/trash-store.d.ts +4 -0
- package/lib/types/client/ui/Button.d.ts +21 -0
- package/lib/types/client/ui/Checkbox.d.ts +29 -0
- package/lib/types/client/ui/MenuItemButton.d.ts +32 -0
- package/lib/types/client/ui/Modal.d.ts +35 -0
- package/lib/types/client/ui/Tag.d.ts +16 -0
- package/lib/types/client/ui/Toast.d.ts +36 -0
- package/lib/types/client/ui/Tooltip.d.ts +37 -0
- package/lib/types/client/ui/format.d.ts +18 -0
- package/lib/types/client/ui/icons.d.ts +33 -0
- package/lib/types/client/ui/recipe.d.ts +11 -0
- package/lib/types/client/ui/styles.d.ts +2 -0
- package/lib/types/client/undo-toast.d.ts +49 -0
- package/lib/types/client/use-column-resize.d.ts +62 -0
- package/lib/types/client/use-panel-width.d.ts +15 -0
- package/lib/{index.d.ts → types/index.d.ts} +9 -36
- package/lib/types/log/session-log.d.ts +40 -0
- package/lib/types/log/zstd-frames.d.ts +30 -0
- package/lib/types/ports/fs-port.d.ts +16 -0
- package/lib/types/ports/host-port.d.ts +85 -0
- package/lib/types/remote/map-error.d.ts +19 -0
- package/lib/types/shared/wire.d.ts +134 -0
- package/lib/types/trash/detail.d.ts +40 -0
- package/lib/types/trash/entry.d.ts +35 -0
- package/lib/types/trash/manifest.d.ts +18 -0
- package/lib/types/trash/reconcile.d.ts +35 -0
- package/lib/types/verbs/apply.d.ts +3 -0
- package/lib/types/verbs/delete-session.d.ts +30 -0
- package/lib/types/verbs/errors.d.ts +20 -0
- package/lib/types/verbs/purge-trash.d.ts +6 -0
- package/lib/types/verbs/restore-session.d.ts +19 -0
- package/locale/en.json +6 -6
- package/locale/zh.json +6 -6
- package/package.json +14 -9
- package/lib/client.js.map +0 -1
package/locale/en.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{
|
|
2
|
-
"meta": {
|
|
3
|
-
"title": "Session Delete",
|
|
4
|
-
"description": "Delete sessions: delete moves them to a recoverable trash, with an explicit permanent delete."
|
|
5
|
-
}
|
|
6
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Session Delete",
|
|
4
|
+
"description": "Delete sessions: delete moves them to a recoverable trash, with an explicit permanent delete."
|
|
5
|
+
}
|
|
6
|
+
}
|
package/locale/zh.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{
|
|
2
|
-
"meta": {
|
|
3
|
-
"title": "会话删除",
|
|
4
|
-
"description": "删除会话:删除 = 移入回收站(可恢复),另设显式的彻底删除。"
|
|
5
|
-
}
|
|
6
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "会话删除",
|
|
4
|
+
"description": "删除会话:删除 = 移入回收站(可恢复),另设显式的彻底删除。"
|
|
5
|
+
}
|
|
6
|
+
}
|
package/package.json
CHANGED
|
@@ -1,22 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xrn1997/dsh-session-delete",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "在 DeepSeek Harness 里删除会话:删除=移入回收站(可恢复),另设显式彻底删除",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
|
-
"types": "lib/index.d.ts",
|
|
7
|
+
"types": "lib/types/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
-
"types": "./lib/index.d.ts",
|
|
10
|
+
"types": "./lib/types/index.d.ts",
|
|
11
11
|
"default": "./lib/index.js"
|
|
12
12
|
},
|
|
13
|
-
"./client":
|
|
13
|
+
"./client": {
|
|
14
|
+
"types": "./lib/types/client/index.d.ts",
|
|
15
|
+
"default": "./lib/client.js"
|
|
16
|
+
},
|
|
14
17
|
"./locale/*.json": "./locale/*.json",
|
|
15
18
|
"./package.json": "./package.json"
|
|
16
19
|
},
|
|
17
20
|
"icon": "./icon.svg",
|
|
18
21
|
"files": [
|
|
19
|
-
"lib",
|
|
22
|
+
"lib/index.js",
|
|
23
|
+
"lib/client.js",
|
|
24
|
+
"lib/types/**/*.d.ts",
|
|
20
25
|
"locale",
|
|
21
26
|
"icon.svg",
|
|
22
27
|
"cordis.patch.yml",
|
|
@@ -27,17 +32,17 @@
|
|
|
27
32
|
"node": ">=24"
|
|
28
33
|
},
|
|
29
34
|
"scripts": {
|
|
30
|
-
"build": "tsdown",
|
|
35
|
+
"build": "tsdown && tsc -p tsconfig.build.json",
|
|
31
36
|
"typecheck": "tsc --noEmit",
|
|
32
37
|
"test": "vitest run",
|
|
33
38
|
"prepack": "npm run build"
|
|
34
39
|
},
|
|
35
40
|
"peerDependencies": {
|
|
36
|
-
"@deepseek-ai/cordis": "^4.0.
|
|
41
|
+
"@deepseek-ai/cordis": "^4.0.4",
|
|
37
42
|
"react": "^18.3.1"
|
|
38
43
|
},
|
|
39
44
|
"devDependencies": {
|
|
40
|
-
"@deepseek-ai/cordis": "4.0.4",
|
|
45
|
+
"@deepseek-ai/cordis": "^4.0.4",
|
|
41
46
|
"@testing-library/dom": "^10.4.2",
|
|
42
47
|
"@testing-library/jest-dom": "^6.10.0",
|
|
43
48
|
"@testing-library/react": "^16.3.3",
|
|
@@ -45,7 +50,7 @@
|
|
|
45
50
|
"@types/react": "18.3.31",
|
|
46
51
|
"@types/react-dom": "18.3.5",
|
|
47
52
|
"jsdom": "^26.1.0",
|
|
48
|
-
"react": "18.3.1",
|
|
53
|
+
"react": "^18.3.1",
|
|
49
54
|
"react-dom": "18.3.1",
|
|
50
55
|
"tsdown": "0.23.0",
|
|
51
56
|
"typescript": "5.9.3",
|