dsh-delete-session 0.2.3 → 0.2.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/README.md +5 -0
- package/package.json +1 -1
- package/src/client.js +396 -37
- package/src/index.js +199 -276
- package/test/artifacts.host.test.js +238 -0
- package/test/checkbox.dom.test.js +587 -11
package/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# dsh-delete-session
|
|
2
|
+
- **拖到页脚删除** —— 把侧边栏里的对话直接拖到页脚那一条,整条变红并显示「松手删除「标题」」,松手即按「删除时询问」的设置走:开着就弹确认框,关着就直接删;多选模式下拖动仍是宿主的行排序,不会被接管
|
|
2
3
|
|
|
3
4
|
**DeepSeek Harness 会话删除插件 —— 在侧边栏会话菜单里直接删除会话。**
|
|
4
5
|
|
|
@@ -71,6 +72,10 @@ dsh plugin --profile web add github:DDDMUC/dsh-delete-session
|
|
|
71
72
|
| **同时删除子会话** | **关** | 开:删对话时把它派生的子代理会话一起删掉。关:弹窗列出子会话,由你勾选 |
|
|
72
73
|
| 隔离夹保存位置 | 空(= `$DSH_HOME`) | 可手输、可点「选择文件夹…」调系统对话框、可点「打开」在资源管理器里定位 |
|
|
73
74
|
|
|
75
|
+
产出文件的每一行右侧有两个按钮:**打开所在文件夹**(在资源管理器里定位)和**删除这个文件**(去向跟随「删除至回收站」开关,开则进回收站,关则直接删除)。删除只对本次扫描列出的路径有效,请求里写别的路径会被宿主拒绝。
|
|
76
|
+
|
|
77
|
+
> 「选择文件夹…」用的是宿主自己的 `ctx.directoryPicker`:本地桌面弹系统对话框,远程/浏览式宿主自动退回页面内的目录列表。插件不再自带任何自绘或自编译的选择器。
|
|
78
|
+
|
|
74
79
|
### 删除之后文件在哪
|
|
75
80
|
|
|
76
81
|
| 平台 | 去处 |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-delete-session",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Delete sessions from the DSH Web sidebar: adds a Delete action to the session row menu with a risk-consent dialog, sends the session log, workspace accounting and live session state to the system trash (or removes them outright), and, when opted in, quarantines the files the conversation produced.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|