@xrn1997/dsh-session-delete 0.9.0 → 0.11.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 +40 -39
- package/lib/client.js +28235 -27782
- package/lib/index.js +2090 -1698
- package/lib/types/api/archive-rows.d.ts +4 -17
- package/lib/types/api/attachment-orphans.d.ts +3 -9
- package/lib/types/api/attachment.d.ts +4 -18
- package/lib/types/api/connection-route.d.ts +2 -6
- package/lib/types/api/route-table.d.ts +18 -59
- package/lib/types/api/trash-rows.d.ts +6 -22
- package/lib/types/client/api-base.d.ts +5 -12
- package/lib/types/client/archive-detail.d.ts +6 -14
- package/lib/types/client/archive-pane.d.ts +27 -24
- package/lib/types/client/archive-store.d.ts +7 -3
- package/lib/types/client/attachment-view.d.ts +3 -10
- package/lib/types/client/batch-bar.d.ts +4 -15
- package/lib/types/client/batch-confirm.d.ts +17 -22
- package/lib/types/client/batch-menu-item.d.ts +2 -10
- package/lib/types/client/batch-pick.d.ts +8 -14
- package/lib/types/client/batch-select.d.ts +11 -26
- package/lib/types/client/batch-selection-store.d.ts +25 -9
- package/lib/types/client/busy-gate.d.ts +2 -4
- package/lib/types/client/config-settings.d.ts +2 -3
- package/lib/types/client/confirm-dialog.d.ts +4 -7
- package/lib/types/client/context-menu-actions.d.ts +2 -8
- package/lib/types/client/context.d.ts +6 -15
- package/lib/types/client/copy.d.ts +36 -44
- package/lib/types/client/delete-confirm.d.ts +25 -13
- package/lib/types/client/delete-menu-item.d.ts +5 -9
- package/lib/types/client/detail-blocks.d.ts +5 -6
- package/lib/types/client/detail-ledger.d.ts +6 -10
- package/lib/types/client/detail-pane.d.ts +5 -10
- package/lib/types/client/drop-machine.d.ts +34 -0
- package/lib/types/client/host-archive-watch.d.ts +5 -18
- package/lib/types/client/host-rows.d.ts +31 -42
- package/lib/types/client/index.d.ts +5 -19
- package/lib/types/client/main-view.d.ts +25 -34
- package/lib/types/client/maintenance-parts.d.ts +2 -5
- package/lib/types/client/maintenance-settings.d.ts +3 -13
- package/lib/types/client/markdown.d.ts +4 -9
- package/lib/types/client/notice.d.ts +2 -5
- package/lib/types/client/orphan-maintenance.d.ts +7 -19
- package/lib/types/client/panel-tab.d.ts +39 -0
- package/lib/types/client/pending-open.d.ts +0 -1
- package/lib/types/client/plugin.d.ts +2 -4
- package/lib/types/client/prompt-rail.d.ts +1 -2
- package/lib/types/client/receipt.d.ts +13 -43
- package/lib/types/client/remote.d.ts +32 -98
- package/lib/types/client/scene.d.ts +41 -0
- package/lib/types/client/session-detail.d.ts +11 -41
- package/lib/types/client/session-list.d.ts +10 -44
- package/lib/types/client/session-live.d.ts +3 -13
- package/lib/types/client/settings-cards.d.ts +3 -6
- package/lib/types/client/settings-view.d.ts +1 -7
- package/lib/types/client/store.d.ts +6 -25
- package/lib/types/client/subagent-section.d.ts +4 -13
- package/lib/types/client/trash-confirm.d.ts +7 -9
- package/lib/types/client/trash-detail.d.ts +9 -12
- package/lib/types/client/trash-drop.d.ts +33 -0
- package/lib/types/client/trash-entry.d.ts +8 -2
- package/lib/types/client/trash-nav.d.ts +4 -11
- package/lib/types/client/trash-panel.d.ts +4 -6
- package/lib/types/client/trash-snapshot.d.ts +27 -22
- package/lib/types/client/trash-store.d.ts +12 -4
- package/lib/types/client/trash-tab.d.ts +22 -0
- package/lib/types/client/trash-view.d.ts +19 -49
- package/lib/types/client/ui/Checkbox.d.ts +5 -2
- package/lib/types/client/ui/ErrorBoundary.d.ts +2 -1
- package/lib/types/client/ui/Modal.d.ts +3 -1
- package/lib/types/client/ui/Toast.d.ts +6 -3
- package/lib/types/client/ui/icons.d.ts +16 -8
- package/lib/types/client/undo-notices.d.ts +45 -30
- package/lib/types/client/undo-toast.d.ts +6 -12
- package/lib/types/client/use-archive-detail-reader.d.ts +2 -3
- package/lib/types/client/use-archive-panel-controller.d.ts +9 -38
- package/lib/types/client/use-archive-query.d.ts +2 -0
- package/lib/types/client/use-column-resize.d.ts +4 -11
- package/lib/types/client/use-detail-frame.d.ts +50 -0
- package/lib/types/client/use-detail-pager.d.ts +5 -13
- package/lib/types/client/use-detail-rail.d.ts +5 -14
- package/lib/types/client/use-detail-reader.d.ts +5 -16
- package/lib/types/client/use-gated-refresh.d.ts +3 -3
- package/lib/types/client/use-list-selection.d.ts +5 -3
- package/lib/types/client/use-maintenance-section.d.ts +7 -12
- package/lib/types/client/use-maintenance.d.ts +7 -13
- package/lib/types/client/use-panel-child-view.d.ts +20 -0
- package/lib/types/client/use-panel-list-read.d.ts +51 -0
- package/lib/types/client/use-panel-selection.d.ts +1 -3
- package/lib/types/client/use-panel-tab.d.ts +134 -0
- package/lib/types/client/use-panel-width.d.ts +3 -11
- package/lib/types/client/use-prompt-rail.d.ts +8 -28
- package/lib/types/client/use-trash-detail-reader.d.ts +3 -10
- package/lib/types/client/use-trash-panel-controller.d.ts +14 -46
- package/lib/types/client/use-trash-query.d.ts +9 -25
- package/lib/types/client/use-write-progress.d.ts +26 -0
- package/lib/types/client/write-progress.d.ts +18 -0
- package/lib/types/client/write-seats.d.ts +33 -75
- package/lib/types/config.d.ts +8 -25
- package/lib/types/deps.d.ts +6 -11
- package/lib/types/domain/closure.d.ts +11 -30
- package/lib/types/errors.d.ts +6 -12
- package/lib/types/index.d.ts +9 -32
- package/lib/types/log/session-log.d.ts +33 -25
- package/lib/types/log/zstd-frames.d.ts +7 -29
- package/lib/types/ports/agent-handles.d.ts +10 -19
- package/lib/types/ports/attachments-port.d.ts +2 -6
- package/lib/types/ports/fs-port.d.ts +17 -31
- package/lib/types/ports/home.d.ts +7 -15
- package/lib/types/ports/host-port.d.ts +51 -98
- package/lib/types/ports/presence-port.d.ts +5 -12
- package/lib/types/remote/map-error.d.ts +4 -17
- package/lib/types/shared/apply-actions.d.ts +36 -0
- package/lib/types/shared/apply-values.d.ts +163 -0
- package/lib/types/shared/project-key.d.ts +5 -23
- package/lib/types/shared/session-path.d.ts +8 -33
- package/lib/types/shared/value-schema.d.ts +54 -0
- package/lib/types/shared/wire.d.ts +117 -249
- package/lib/types/trash/archive-detail.d.ts +9 -20
- package/lib/types/trash/attachments.d.ts +60 -46
- package/lib/types/trash/detail.d.ts +17 -36
- package/lib/types/trash/display-name.d.ts +2 -5
- package/lib/types/trash/entry.d.ts +19 -44
- package/lib/types/trash/groups.d.ts +17 -26
- package/lib/types/trash/ledger.d.ts +5 -11
- package/lib/types/trash/manifest.d.ts +4 -6
- package/lib/types/trash/projection-cache.d.ts +5 -11
- package/lib/types/trash/reconcile.d.ts +11 -23
- package/lib/types/trash/session-rows.d.ts +15 -35
- package/lib/types/trash/shrinking-view.d.ts +10 -11
- package/lib/types/trash/storage-manifest.d.ts +4 -7
- package/lib/types/trash/subagent-summary.d.ts +35 -0
- package/lib/types/verbs/batch-carried.d.ts +22 -4
- package/lib/types/verbs/batch.d.ts +39 -2
- package/lib/types/verbs/config.d.ts +3 -11
- package/lib/types/verbs/delete-session.d.ts +8 -13
- package/lib/types/verbs/empty-batch.d.ts +18 -0
- package/lib/types/verbs/live-admission.d.ts +3 -10
- package/lib/types/verbs/member-journal.d.ts +3 -7
- package/lib/types/verbs/member-presence.d.ts +7 -18
- package/lib/types/verbs/move-group.d.ts +2 -6
- package/lib/types/verbs/orphan-subagents.d.ts +23 -36
- package/lib/types/verbs/permanent-removal.d.ts +91 -84
- package/lib/types/verbs/restore-session.d.ts +10 -26
- package/lib/types/verbs/trash-scope.d.ts +21 -30
- package/lib/types/verbs/write-progress.d.ts +37 -0
- package/package.json +135 -134
- package/lib/types/client/reset-client-state.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,134 +1,135 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@xrn1997/dsh-session-delete",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "在 DeepSeek Harness 里删除会话:删除=移入回收站(可恢复),另设显式彻底删除",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"packageManager": "pnpm@11.25.0",
|
|
7
|
-
"main": "lib/index.js",
|
|
8
|
-
"types": "lib/types/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./lib/types/index.d.ts",
|
|
12
|
-
"default": "./lib/index.js"
|
|
13
|
-
},
|
|
14
|
-
"./client": {
|
|
15
|
-
"types": "./lib/types/client/index.d.ts",
|
|
16
|
-
"default": "./lib/client.js"
|
|
17
|
-
},
|
|
18
|
-
"./locale/*.json": "./locale/*.json",
|
|
19
|
-
"./package.json": "./package.json"
|
|
20
|
-
},
|
|
21
|
-
"icon": "./icon.svg",
|
|
22
|
-
"files": [
|
|
23
|
-
"lib/index.js",
|
|
24
|
-
"lib/client.js",
|
|
25
|
-
"lib/types/**/*.d.ts",
|
|
26
|
-
"locale",
|
|
27
|
-
"icon.svg",
|
|
28
|
-
"cordis.patch.yml",
|
|
29
|
-
"README.md",
|
|
30
|
-
"LICENSE",
|
|
31
|
-
"THIRD_PARTY_NOTICES.md",
|
|
32
|
-
"docs/screenshots",
|
|
33
|
-
"docs/DETAIL.zh.md",
|
|
34
|
-
"docs/DETAIL.md",
|
|
35
|
-
"docs/preview.zh.svg",
|
|
36
|
-
"docs/preview.svg"
|
|
37
|
-
],
|
|
38
|
-
"engines": {
|
|
39
|
-
"node": ">=24",
|
|
40
|
-
"dsh": ">=0.1.7-rc.2 <0.3.0-0"
|
|
41
|
-
},
|
|
42
|
-
"scripts": {
|
|
43
|
-
"build": "tsdown && tsc -p tsconfig.build.json",
|
|
44
|
-
"typecheck": "tsc --noEmit",
|
|
45
|
-
"lint": "eslint .",
|
|
46
|
-
"test": "vitest run",
|
|
47
|
-
"test:watch": "vitest",
|
|
48
|
-
"pack:dry": "node scripts/verify-pack.mjs",
|
|
49
|
-
"prepack": "npm run build",
|
|
50
|
-
"gates": "pnpm typecheck && pnpm lint && pnpm test && pnpm build && pnpm run pack:dry"
|
|
51
|
-
},
|
|
52
|
-
"peerDependencies": {
|
|
53
|
-
"react": "^18.3.1",
|
|
54
|
-
"react-dom": "18.3.1"
|
|
55
|
-
},
|
|
56
|
-
"peerDependenciesMeta": {
|
|
57
|
-
"react": {
|
|
58
|
-
"optional": true
|
|
59
|
-
},
|
|
60
|
-
"react-dom": {
|
|
61
|
-
"optional": true
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"devDependencies": {
|
|
65
|
-
"@deepseek-ai/cordis": "^4.0.4",
|
|
66
|
-
"@eslint/js": "^10.0.1",
|
|
67
|
-
"@testing-library/dom": "^10.4.2",
|
|
68
|
-
"@testing-library/jest-dom": "^6.10.0",
|
|
69
|
-
"@testing-library/react": "^16.3.3",
|
|
70
|
-
"@types/node": "24.19.0",
|
|
71
|
-
"@types/react": "18.3.31",
|
|
72
|
-
"@types/react-dom": "18.3.5",
|
|
73
|
-
"@types/semver": "^7.8.0",
|
|
74
|
-
"eslint": "^10.14.0",
|
|
75
|
-
"eslint-plugin-react-hooks": "^7.1.1",
|
|
76
|
-
"globals": "^17.13.0",
|
|
77
|
-
"jsdom": "^26.1.0",
|
|
78
|
-
"react": "^18.3.1",
|
|
79
|
-
"react-dom": "18.3.1",
|
|
80
|
-
"react-markdown": "^10.1.0",
|
|
81
|
-
"remark-gfm": "^4.0.1",
|
|
82
|
-
"semver": "^7.8.5",
|
|
83
|
-
"tsdown": "0.23.0",
|
|
84
|
-
"typescript": "5.9.3",
|
|
85
|
-
"typescript-eslint": "^8.72.1",
|
|
86
|
-
"vitest": "3.2.7"
|
|
87
|
-
},
|
|
88
|
-
"dsh": {
|
|
89
|
-
"manifestVersion": 1,
|
|
90
|
-
"bundle": {
|
|
91
|
-
"patch": "./cordis.patch.yml"
|
|
92
|
-
},
|
|
93
|
-
"client": {
|
|
94
|
-
"inject": [
|
|
95
|
-
"@deepseek-ai/dsh-client-locale",
|
|
96
|
-
"@deepseek-ai/dsh-client-ui-context-menu"
|
|
97
|
-
],
|
|
98
|
-
"platform": "web"
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
"xrn1997": {
|
|
102
|
-
"dshReleases": {
|
|
103
|
-
"0.2.0-rc.2": "compatible",
|
|
104
|
-
"0.2.1-rc.1": "compatible",
|
|
105
|
-
"0.2.1-rc.2": "compatible",
|
|
106
|
-
"0.2.1-rc.3": "compatible",
|
|
107
|
-
"0.2.1-rc.5": "compatible",
|
|
108
|
-
"0.2.2-rc.1": "compatible",
|
|
109
|
-
"0.2.2-rc.2": "compatible",
|
|
110
|
-
"0.2.2-rc.3": "compatible"
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
"
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
"
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
"
|
|
134
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@xrn1997/dsh-session-delete",
|
|
3
|
+
"version": "0.11.0",
|
|
4
|
+
"description": "在 DeepSeek Harness 里删除会话:删除=移入回收站(可恢复),另设显式彻底删除",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"packageManager": "pnpm@11.25.0",
|
|
7
|
+
"main": "lib/index.js",
|
|
8
|
+
"types": "lib/types/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./lib/types/index.d.ts",
|
|
12
|
+
"default": "./lib/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./client": {
|
|
15
|
+
"types": "./lib/types/client/index.d.ts",
|
|
16
|
+
"default": "./lib/client.js"
|
|
17
|
+
},
|
|
18
|
+
"./locale/*.json": "./locale/*.json",
|
|
19
|
+
"./package.json": "./package.json"
|
|
20
|
+
},
|
|
21
|
+
"icon": "./icon.svg",
|
|
22
|
+
"files": [
|
|
23
|
+
"lib/index.js",
|
|
24
|
+
"lib/client.js",
|
|
25
|
+
"lib/types/**/*.d.ts",
|
|
26
|
+
"locale",
|
|
27
|
+
"icon.svg",
|
|
28
|
+
"cordis.patch.yml",
|
|
29
|
+
"README.md",
|
|
30
|
+
"LICENSE",
|
|
31
|
+
"THIRD_PARTY_NOTICES.md",
|
|
32
|
+
"docs/screenshots",
|
|
33
|
+
"docs/DETAIL.zh.md",
|
|
34
|
+
"docs/DETAIL.md",
|
|
35
|
+
"docs/preview.zh.svg",
|
|
36
|
+
"docs/preview.svg"
|
|
37
|
+
],
|
|
38
|
+
"engines": {
|
|
39
|
+
"node": ">=24",
|
|
40
|
+
"dsh": ">=0.1.7-rc.2 <0.3.0-0"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"build": "tsdown && tsc -p tsconfig.build.json",
|
|
44
|
+
"typecheck": "tsc --noEmit",
|
|
45
|
+
"lint": "eslint .",
|
|
46
|
+
"test": "vitest run",
|
|
47
|
+
"test:watch": "vitest",
|
|
48
|
+
"pack:dry": "node scripts/verify-pack.mjs",
|
|
49
|
+
"prepack": "npm run build",
|
|
50
|
+
"gates": "pnpm typecheck && pnpm lint && pnpm test && pnpm build && pnpm run pack:dry"
|
|
51
|
+
},
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"react": "^18.3.1",
|
|
54
|
+
"react-dom": "18.3.1"
|
|
55
|
+
},
|
|
56
|
+
"peerDependenciesMeta": {
|
|
57
|
+
"react": {
|
|
58
|
+
"optional": true
|
|
59
|
+
},
|
|
60
|
+
"react-dom": {
|
|
61
|
+
"optional": true
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@deepseek-ai/cordis": "^4.0.4",
|
|
66
|
+
"@eslint/js": "^10.0.1",
|
|
67
|
+
"@testing-library/dom": "^10.4.2",
|
|
68
|
+
"@testing-library/jest-dom": "^6.10.0",
|
|
69
|
+
"@testing-library/react": "^16.3.3",
|
|
70
|
+
"@types/node": "24.19.0",
|
|
71
|
+
"@types/react": "18.3.31",
|
|
72
|
+
"@types/react-dom": "18.3.5",
|
|
73
|
+
"@types/semver": "^7.8.0",
|
|
74
|
+
"eslint": "^10.14.0",
|
|
75
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
76
|
+
"globals": "^17.13.0",
|
|
77
|
+
"jsdom": "^26.1.0",
|
|
78
|
+
"react": "^18.3.1",
|
|
79
|
+
"react-dom": "18.3.1",
|
|
80
|
+
"react-markdown": "^10.1.0",
|
|
81
|
+
"remark-gfm": "^4.0.1",
|
|
82
|
+
"semver": "^7.8.5",
|
|
83
|
+
"tsdown": "0.23.0",
|
|
84
|
+
"typescript": "5.9.3",
|
|
85
|
+
"typescript-eslint": "^8.72.1",
|
|
86
|
+
"vitest": "3.2.7"
|
|
87
|
+
},
|
|
88
|
+
"dsh": {
|
|
89
|
+
"manifestVersion": 1,
|
|
90
|
+
"bundle": {
|
|
91
|
+
"patch": "./cordis.patch.yml"
|
|
92
|
+
},
|
|
93
|
+
"client": {
|
|
94
|
+
"inject": [
|
|
95
|
+
"@deepseek-ai/dsh-client-locale",
|
|
96
|
+
"@deepseek-ai/dsh-client-ui-context-menu"
|
|
97
|
+
],
|
|
98
|
+
"platform": "web"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"xrn1997": {
|
|
102
|
+
"dshReleases": {
|
|
103
|
+
"0.2.0-rc.2": "compatible",
|
|
104
|
+
"0.2.1-rc.1": "compatible",
|
|
105
|
+
"0.2.1-rc.2": "compatible",
|
|
106
|
+
"0.2.1-rc.3": "compatible",
|
|
107
|
+
"0.2.1-rc.5": "compatible",
|
|
108
|
+
"0.2.2-rc.1": "compatible",
|
|
109
|
+
"0.2.2-rc.2": "compatible",
|
|
110
|
+
"0.2.2-rc.3": "compatible",
|
|
111
|
+
"0.2.2-rc.5": "compatible"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"publishConfig": {
|
|
115
|
+
"access": "public"
|
|
116
|
+
},
|
|
117
|
+
"repository": {
|
|
118
|
+
"type": "git",
|
|
119
|
+
"url": "git+https://github.com/xrn1997/dsh-session-delete.git"
|
|
120
|
+
},
|
|
121
|
+
"homepage": "https://github.com/xrn1997/dsh-session-delete#readme",
|
|
122
|
+
"bugs": {
|
|
123
|
+
"url": "https://github.com/xrn1997/dsh-session-delete/issues"
|
|
124
|
+
},
|
|
125
|
+
"keywords": [
|
|
126
|
+
"dsh",
|
|
127
|
+
"deepseek-harness",
|
|
128
|
+
"plugin",
|
|
129
|
+
"session",
|
|
130
|
+
"trash",
|
|
131
|
+
"delete"
|
|
132
|
+
],
|
|
133
|
+
"author": "xrn1997",
|
|
134
|
+
"license": "Apache-2.0"
|
|
135
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function resetClientState(): void;
|