dsh-workspace-browser 0.0.0-stage → 0.4.13

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 tm5452
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,41 @@
1
- # Temporary Holding Version
1
+ # 工作区浏览器 · Workspace Browser
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
+ `dsh-workspace-browser` 为 DeepSeek Harness 的工作区与会话提供文件资源管理器式的浏览页面。
4
+
5
+ ## 安装试用
6
+
7
+ 在 DSH 的「插件 → 添加插件」中粘贴安装包的本地完整路径。启用后,打开左侧「工作区」标题旁的「视图选项」,在「分组方式」下选择「文件夹浏览」。
8
+
9
+ ## 浏览工作区
10
+
11
+ - 「主页」是工作区树的根,列出顶层工作区。有未归属会话时,主页也会显示「未分组会话」。
12
+ - 工作区层级沿用 DSH「按工作区树」的规则。双击文件夹进入,单击会话打开原对话。也可以用 Tab 聚焦,按 Enter 打开。
13
+ - 标题显示当前文件夹名,根目录显示「工作区」。将鼠标移到标题区即可展开路径栏,点击路径或使用旁边的按钮返回其他层级。
14
+ - 下方网格和列表可独立滚动。
15
+ - 会话右侧显示状态点,文件夹汇总下属会话的状态。在子目录里,标题左侧提示当前目录之外最高优先级的状态。
16
+ - 文件夹浏览及当前目录会保存在 DSH 客户端。切换会话时侧栏保持文件夹视图。
17
+ - 可拖动路径栏上方的横线调整分区比例。双击横线恢复默认。
18
+ - 「文件夹浏览」启用时,可在同一菜单切换「大图标」和「列表」。
19
+ - 文件夹浏览支持从左侧栏任意位置开始的右键手势。按住右键向左后退、向右前进、向上返回上一级,松手时执行。单击右键保留原来的菜单行为。
20
+ - 排序和归档筛选沿用「视图选项」中的设置。搜索时显示 DSH 原生搜索结果,清空后回到当前目录。
21
+
22
+ ## 截图
23
+
24
+ <table>
25
+ <tr>
26
+ <td><img src="https://raw.githubusercontent.com/tm5452/dsh-workspace-browser/main/screenshots/1.png" width="220" alt="文件夹浏览 1"></td>
27
+ <td><img src="https://raw.githubusercontent.com/tm5452/dsh-workspace-browser/main/screenshots/2.png" width="220" alt="文件夹浏览 2"></td>
28
+ <td><img src="https://raw.githubusercontent.com/tm5452/dsh-workspace-browser/main/screenshots/3.png" width="220" alt="文件夹浏览 3"></td>
29
+ <td><img src="https://raw.githubusercontent.com/tm5452/dsh-workspace-browser/main/screenshots/4.png" width="220" alt="文件夹浏览 4"></td>
30
+ </tr>
31
+ <tr>
32
+ <td><img src="https://raw.githubusercontent.com/tm5452/dsh-workspace-browser/main/screenshots/5.png" width="220" alt="文件夹浏览 5"></td>
33
+ <td><img src="https://raw.githubusercontent.com/tm5452/dsh-workspace-browser/main/screenshots/6.png" width="220" alt="文件夹浏览 6"></td>
34
+ <td><img src="https://raw.githubusercontent.com/tm5452/dsh-workspace-browser/main/screenshots/7.png" width="220" alt="文件夹浏览 7"></td>
35
+ <td></td>
36
+ </tr>
37
+ </table>
38
+
39
+ ## 本地构建
40
+
41
+ 在源码目录运行 `npm pack`,即可生成 `.tgz`。插件使用 DSH 提供的界面组件和主题,构建无需安装依赖。
@@ -0,0 +1,3 @@
1
+ - insert:
2
+ - id: dsh-workspace-browser
3
+ name: dsh-workspace-browser