@xrn1997/dsh-session-delete 0.9.0 → 0.10.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.
Files changed (142) hide show
  1. package/README.md +40 -39
  2. package/lib/client.js +26498 -26519
  3. package/lib/index.js +2090 -1698
  4. package/lib/types/api/archive-rows.d.ts +4 -17
  5. package/lib/types/api/attachment-orphans.d.ts +3 -9
  6. package/lib/types/api/attachment.d.ts +4 -18
  7. package/lib/types/api/connection-route.d.ts +2 -6
  8. package/lib/types/api/route-table.d.ts +18 -59
  9. package/lib/types/api/trash-rows.d.ts +6 -22
  10. package/lib/types/client/api-base.d.ts +5 -12
  11. package/lib/types/client/archive-detail.d.ts +6 -14
  12. package/lib/types/client/archive-pane.d.ts +27 -24
  13. package/lib/types/client/archive-store.d.ts +7 -3
  14. package/lib/types/client/attachment-view.d.ts +3 -10
  15. package/lib/types/client/batch-bar.d.ts +4 -15
  16. package/lib/types/client/batch-confirm.d.ts +17 -22
  17. package/lib/types/client/batch-menu-item.d.ts +2 -10
  18. package/lib/types/client/batch-pick.d.ts +6 -14
  19. package/lib/types/client/batch-select.d.ts +10 -25
  20. package/lib/types/client/batch-selection-store.d.ts +21 -9
  21. package/lib/types/client/busy-gate.d.ts +2 -4
  22. package/lib/types/client/config-settings.d.ts +2 -3
  23. package/lib/types/client/confirm-dialog.d.ts +4 -7
  24. package/lib/types/client/context-menu-actions.d.ts +2 -8
  25. package/lib/types/client/context.d.ts +6 -15
  26. package/lib/types/client/copy.d.ts +33 -44
  27. package/lib/types/client/delete-confirm.d.ts +25 -13
  28. package/lib/types/client/delete-menu-item.d.ts +5 -9
  29. package/lib/types/client/detail-blocks.d.ts +5 -6
  30. package/lib/types/client/detail-ledger.d.ts +6 -10
  31. package/lib/types/client/detail-pane.d.ts +5 -10
  32. package/lib/types/client/host-archive-watch.d.ts +5 -18
  33. package/lib/types/client/host-rows.d.ts +31 -42
  34. package/lib/types/client/index.d.ts +5 -19
  35. package/lib/types/client/main-view.d.ts +25 -34
  36. package/lib/types/client/maintenance-parts.d.ts +2 -5
  37. package/lib/types/client/maintenance-settings.d.ts +3 -13
  38. package/lib/types/client/markdown.d.ts +4 -9
  39. package/lib/types/client/notice.d.ts +2 -5
  40. package/lib/types/client/orphan-maintenance.d.ts +7 -19
  41. package/lib/types/client/panel-tab.d.ts +39 -0
  42. package/lib/types/client/pending-open.d.ts +0 -1
  43. package/lib/types/client/plugin.d.ts +2 -4
  44. package/lib/types/client/prompt-rail.d.ts +1 -2
  45. package/lib/types/client/receipt.d.ts +13 -43
  46. package/lib/types/client/remote.d.ts +32 -98
  47. package/lib/types/client/scene.d.ts +41 -0
  48. package/lib/types/client/session-detail.d.ts +11 -41
  49. package/lib/types/client/session-list.d.ts +10 -44
  50. package/lib/types/client/session-live.d.ts +3 -13
  51. package/lib/types/client/settings-cards.d.ts +3 -6
  52. package/lib/types/client/settings-view.d.ts +1 -7
  53. package/lib/types/client/store.d.ts +6 -25
  54. package/lib/types/client/subagent-section.d.ts +4 -13
  55. package/lib/types/client/trash-confirm.d.ts +7 -9
  56. package/lib/types/client/trash-detail.d.ts +9 -12
  57. package/lib/types/client/trash-entry.d.ts +1 -1
  58. package/lib/types/client/trash-nav.d.ts +4 -11
  59. package/lib/types/client/trash-panel.d.ts +4 -6
  60. package/lib/types/client/trash-snapshot.d.ts +27 -22
  61. package/lib/types/client/trash-store.d.ts +12 -4
  62. package/lib/types/client/trash-tab.d.ts +22 -0
  63. package/lib/types/client/trash-view.d.ts +19 -49
  64. package/lib/types/client/ui/ErrorBoundary.d.ts +2 -1
  65. package/lib/types/client/ui/Modal.d.ts +3 -1
  66. package/lib/types/client/ui/Toast.d.ts +6 -3
  67. package/lib/types/client/undo-notices.d.ts +41 -30
  68. package/lib/types/client/undo-toast.d.ts +6 -12
  69. package/lib/types/client/use-archive-detail-reader.d.ts +2 -3
  70. package/lib/types/client/use-archive-panel-controller.d.ts +9 -38
  71. package/lib/types/client/use-archive-query.d.ts +2 -0
  72. package/lib/types/client/use-column-resize.d.ts +4 -11
  73. package/lib/types/client/use-detail-frame.d.ts +50 -0
  74. package/lib/types/client/use-detail-pager.d.ts +5 -13
  75. package/lib/types/client/use-detail-rail.d.ts +5 -14
  76. package/lib/types/client/use-detail-reader.d.ts +5 -16
  77. package/lib/types/client/use-gated-refresh.d.ts +3 -3
  78. package/lib/types/client/use-list-selection.d.ts +2 -3
  79. package/lib/types/client/use-maintenance-section.d.ts +7 -12
  80. package/lib/types/client/use-maintenance.d.ts +7 -13
  81. package/lib/types/client/use-panel-child-view.d.ts +20 -0
  82. package/lib/types/client/use-panel-list-read.d.ts +51 -0
  83. package/lib/types/client/use-panel-selection.d.ts +1 -3
  84. package/lib/types/client/use-panel-tab.d.ts +134 -0
  85. package/lib/types/client/use-panel-width.d.ts +3 -11
  86. package/lib/types/client/use-prompt-rail.d.ts +8 -28
  87. package/lib/types/client/use-trash-detail-reader.d.ts +3 -10
  88. package/lib/types/client/use-trash-panel-controller.d.ts +14 -46
  89. package/lib/types/client/use-trash-query.d.ts +9 -25
  90. package/lib/types/client/use-write-progress.d.ts +26 -0
  91. package/lib/types/client/write-progress.d.ts +18 -0
  92. package/lib/types/client/write-seats.d.ts +33 -75
  93. package/lib/types/config.d.ts +8 -25
  94. package/lib/types/deps.d.ts +6 -11
  95. package/lib/types/domain/closure.d.ts +11 -30
  96. package/lib/types/errors.d.ts +6 -12
  97. package/lib/types/index.d.ts +9 -32
  98. package/lib/types/log/session-log.d.ts +33 -25
  99. package/lib/types/log/zstd-frames.d.ts +7 -29
  100. package/lib/types/ports/agent-handles.d.ts +10 -19
  101. package/lib/types/ports/attachments-port.d.ts +2 -6
  102. package/lib/types/ports/fs-port.d.ts +17 -31
  103. package/lib/types/ports/home.d.ts +7 -15
  104. package/lib/types/ports/host-port.d.ts +51 -98
  105. package/lib/types/ports/presence-port.d.ts +5 -12
  106. package/lib/types/remote/map-error.d.ts +4 -17
  107. package/lib/types/shared/apply-actions.d.ts +36 -0
  108. package/lib/types/shared/apply-values.d.ts +163 -0
  109. package/lib/types/shared/project-key.d.ts +5 -23
  110. package/lib/types/shared/session-path.d.ts +8 -33
  111. package/lib/types/shared/value-schema.d.ts +54 -0
  112. package/lib/types/shared/wire.d.ts +117 -249
  113. package/lib/types/trash/archive-detail.d.ts +9 -20
  114. package/lib/types/trash/attachments.d.ts +60 -46
  115. package/lib/types/trash/detail.d.ts +17 -36
  116. package/lib/types/trash/display-name.d.ts +2 -5
  117. package/lib/types/trash/entry.d.ts +19 -44
  118. package/lib/types/trash/groups.d.ts +17 -26
  119. package/lib/types/trash/ledger.d.ts +5 -11
  120. package/lib/types/trash/manifest.d.ts +4 -6
  121. package/lib/types/trash/projection-cache.d.ts +5 -11
  122. package/lib/types/trash/reconcile.d.ts +11 -23
  123. package/lib/types/trash/session-rows.d.ts +15 -35
  124. package/lib/types/trash/shrinking-view.d.ts +10 -11
  125. package/lib/types/trash/storage-manifest.d.ts +4 -7
  126. package/lib/types/trash/subagent-summary.d.ts +35 -0
  127. package/lib/types/verbs/batch-carried.d.ts +22 -4
  128. package/lib/types/verbs/batch.d.ts +39 -2
  129. package/lib/types/verbs/config.d.ts +3 -11
  130. package/lib/types/verbs/delete-session.d.ts +8 -13
  131. package/lib/types/verbs/empty-batch.d.ts +18 -0
  132. package/lib/types/verbs/live-admission.d.ts +3 -10
  133. package/lib/types/verbs/member-journal.d.ts +3 -7
  134. package/lib/types/verbs/member-presence.d.ts +7 -18
  135. package/lib/types/verbs/move-group.d.ts +2 -6
  136. package/lib/types/verbs/orphan-subagents.d.ts +23 -36
  137. package/lib/types/verbs/permanent-removal.d.ts +91 -84
  138. package/lib/types/verbs/restore-session.d.ts +10 -26
  139. package/lib/types/verbs/trash-scope.d.ts +21 -30
  140. package/lib/types/verbs/write-progress.d.ts +37 -0
  141. package/package.json +135 -134
  142. 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.9.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
- "publishConfig": {
114
- "access": "public"
115
- },
116
- "repository": {
117
- "type": "git",
118
- "url": "git+https://github.com/xrn1997/dsh-session-delete.git"
119
- },
120
- "homepage": "https://github.com/xrn1997/dsh-session-delete#readme",
121
- "bugs": {
122
- "url": "https://github.com/xrn1997/dsh-session-delete/issues"
123
- },
124
- "keywords": [
125
- "dsh",
126
- "deepseek-harness",
127
- "plugin",
128
- "session",
129
- "trash",
130
- "delete"
131
- ],
132
- "author": "xrn1997",
133
- "license": "Apache-2.0"
134
- }
1
+ {
2
+ "name": "@xrn1997/dsh-session-delete",
3
+ "version": "0.10.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;