dsh-broom 0.0.0-stage → 0.1.1

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 tryhub
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,42 @@
1
- # Temporary Holding Version
1
+ # dsh-broom
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ 在 DeepSeek Harness(DSH)中查看和管理会话、归档和残留数据。插件提供搜索、多选和删除操作,也显示新建后尚未交互的会话。
4
+
5
+ ## 可以做什么
6
+
7
+ - 查看并搜索会话,包括新建后尚未交互的会话,使用 DSH 的归档操作。
8
+ - 查看已归档会话,取消归档或删除所选会话。
9
+ - 查看并删除残留的任务、缓存、工作区注册和会话目录等数据。
10
+ - 按工作区浏览列表,查看会话状态和关联的自动化任务。
11
+
12
+ ## 用命令行安装
13
+
14
+ 使用 DSH 的插件命令安装。下面以 `web` profile 为例;使用其他 profile 时,请替换 profile 名称:
15
+
16
+ ```sh
17
+ dsh plugin --profile web add dsh-broom
18
+ ```
19
+
20
+ ## 使用
21
+
22
+ 在「设置 → 归档会话」中选择页签,搜索并勾选需要操作的项目:
23
+
24
+ - **会话**:选择「归档会话」。
25
+ - **已归档**:选择「取消归档」或「删除」。
26
+ - **残留**:选择需要清理的项目,点击「删除」。
27
+
28
+ 归档和取消归档使用 DSH 的操作。删除已归档会话或残留由本插件处理,删除后无法恢复。
29
+
30
+ ## 升级与卸载
31
+
32
+ 从 npm 安装后,可在插件详情的「版本」区块检查和安装更新。卸载时在 DSH 的「插件」页面选择本插件并卸载。
33
+
34
+ 命令行卸载时,请使用安装时所选的 profile,例如:
35
+
36
+ ```sh
37
+ dsh plugin --profile web remove dsh-broom
38
+ ```
39
+
40
+ ## 版本兼容
41
+
42
+ 插件以 DSH `0.2.2-rc.5` 为兼容基线;其他版本尚未验证。删除驻留会话时,插件可能使用宿主内部生命周期结构;宿主结构变化可能导致操作失败。