dsh-vscode-workbench 0.1.3 → 0.1.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.en.md CHANGED
@@ -1,21 +1,41 @@
1
-
2
-
3
1
  <h1 align="center">DSH VS Code Workbench</h1>
4
2
 
5
3
  <p align="center">A VS Code-style local development workbench for DeepSeek Harness.</p>
6
4
  <p align="center"><a href="README.md">中文</a> · <b>English</b></p>
7
5
 
6
+ ## Highlights
7
+
8
+ - **Genuine VS Code feel**: explorer / search / source-control views, an activity bar, and `Ctrl+Shift+E/F/G` shortcuts — the workflow you already know.
9
+ - **Reliable saves**: atomic writes with revision checks; conflicts are raised instead of silently overwriting.
10
+ - **External-change awareness**: a WebSocket watches the workspace, flagging files changed on disk in the tab and status bar.
11
+ - **Commit graph**: a swimlane commit graph visualizes branch history.
12
+ - **Per-workspace restore**: active view, tabs, widths, panels, and tree expansion persist per workspace across reloads.
8
13
 
9
14
  ## Features
10
15
 
11
- - Explorer: lazy directory loading with create, rename, delete, and refresh actions.
12
- - Editor: Monaco tabs, dirty state, atomic saves, revision conflicts, and external-change notices.
13
- - Preview: rendered Markdown by default with source and outline modes, workspace-relative links, and image previews.
14
- - Search: `@vscode/ripgrep` full-text search with case, whole-word, regex, and include/exclude controls.
15
- - Git: grouped status, stage, unstage, discard, commit, branch switching, inline/side-by-side diffs, and a commit graph.
16
- - Layout: resizable and collapsible primary view, bottom panel, and status bar, with centralized theme and width settings.
17
- - DSH conversation: reuses the official conversation UI with messages, coding tools, models, attachments, and permissions.
18
- - Restore: persists the active view, tabs, widths, and panel state per workspace across reloads.
16
+ ### Explorer
17
+ A lazily loaded tree with create, upload, rename, delete, and refresh. Drop local files onto the workspace root or any directory; Git file markers show `A`, `M`, and other status codes.
18
+
19
+ ### Editor
20
+ Monaco tabs with dirty tracking, atomic saves, and revision-conflict plus external-change notices.
21
+
22
+ ### Preview
23
+ Markdown rendered by default with source and outline modes; workspace-relative links, image and common file previews.
24
+
25
+ ### Search
26
+ `@vscode/ripgrep` full-text search with case, whole-word, regex, and include / exclude controls.
27
+
28
+ ### Git
29
+ Grouped status, stage, unstage, discard, commit, branch switching, inline / side-by-side diffs, and a commit graph.
30
+
31
+ ### Layout
32
+ Resizable and collapsible primary view, an extensible bottom panel, and a status bar; theme and widths centralized in settings.
33
+
34
+ ### DSH conversation
35
+ Reuses the official conversation UI with messages, coding tools, models, attachments, and permissions.
36
+
37
+ ### Restore
38
+ Persists the active view, tabs, widths, and panel state per workspace across reloads.
19
39
 
20
40
  The workbench mounts through the official `sidebar.footer.action` and `shell.overlay` extension points. It does not replace or disable `ui-layout`.
21
41
 
@@ -26,7 +46,6 @@ The workbench mounts through the official `sidebar.footer.action` and `shell.ove
26
46
  <br><em>Explorer and Monaco editor</em>
27
47
  </p>
28
48
 
29
-
30
49
  <p align="center">
31
50
  <img src="https://raw.githubusercontent.com/tingfeng347/dsh-vscode-workbench/main/assets/screenshots/source-control.png" width="800" alt="Source control and commit graph">
32
51
  <br><em>Source control and commit graph</em>
@@ -34,7 +53,6 @@ The workbench mounts through the official `sidebar.footer.action` and `shell.ove
34
53
 
35
54
  ## Installation
36
55
 
37
-
38
56
  ```bash
39
57
  dsh plugin --profile web add dsh-vscode-workbench
40
58
  ```
@@ -48,11 +66,6 @@ dsh plugin --profile web add dsh-vscode-workbench
48
66
  | `Ctrl+Shift+G` | Open Source Control |
49
67
  | `Ctrl+S` | Save the active file |
50
68
  | `Ctrl+Alt+B` | Toggle the DSH conversation panel |
51
- | `Ctrl+\`` | Toggle the registered terminal panel |
52
- | `Ctrl+Shift+\`` | Create a terminal and show its panel |
53
-
54
- The terminal remains an independent plugin. This workbench only owns the shortcuts and invokes it through `registerBottomPanel()` and the `terminal.new` command.
55
-
56
69
 
57
70
  ## Security
58
71
 
package/README.md CHANGED
@@ -1,22 +1,44 @@
1
-
2
1
  <h1 align="center">DSH VS Code Workbench</h1>
3
2
 
4
3
  <p align="center">在 DeepSeek Harness 中叠加 VS Code 风格的本地开发工作台。</p>
5
4
 
6
5
  <p align="center"><b>中文</b> · <a href="README.en.md">English</a></p>
7
6
 
7
+ ## 亮点
8
+
9
+ - **真正的 VS Code 风格**:资源管理器 / 搜索 / 源代码管理三视图 + 活动栏 + `Ctrl+Shift+E/F/G` 快捷键,沿用熟悉的 VS Code 工作流。
10
+ - **可靠的保存**:原子写入 + 版本校验,磁盘文件被外部改动时立即报冲突,绝不静默覆盖。
11
+ - **外部变更可感知**:WebSocket 实时监听工作区,脏文件被外部修改会在标签与状态栏标记。
12
+ - **提交图表**:泳道式提交图,分支历史一目了然。
13
+ - **按工作区恢复**:活动视图、标签、栏宽、面板与目录展开状态随工作区持久化,刷新后继续工作。
14
+
8
15
  ## 功能
9
16
 
10
- - 资源管理器:懒加载目录,支持新建、重命名、删除和刷新。
11
- - 编辑器:Monaco 多标签编辑、脏状态、原子保存、版本冲突和外部变更提示。
12
- - 预览:Markdown 默认渲染,可切换源码与大纲;支持工作区相对链接、图片和常见图片文件预览。
13
- - 搜索:基于 `@vscode/ripgrep` 的全文搜索,支持大小写、全词、正则和包含/排除规则。
14
- - Git:状态分组、暂存、撤销暂存、丢弃、提交、分支切换、内联/并排差异和提交图表。
15
- - 布局:可调节和折叠的左侧视图、底部面板与状态栏;设置统一管理主题和栏宽。
16
- - DSH 对话:右侧复用官方会话界面,保留消息、编程工具、模型、附件和权限能力。
17
- - 状态恢复:按工作区保存活动视图、标签、栏宽和面板状态,刷新后继续工作。
17
+ ### 资源管理器
18
+ 懒加载目录树,支持新建文件 / 目录、上传、重命名、删除与刷新。可把本地文件拖到工作区根目录或任一目录;新增文件显示 `A`,已修改文件显示 `M` 等 Git 状态。
19
+
20
+ ### 编辑器
21
+ Monaco 多标签编辑,脏状态跟踪,原子保存,版本冲突与外部变更提示。
22
+
23
+ ### 预览
24
+ Markdown 默认渲染,可切换源码与大纲;支持工作区相对链接、图片与常见图片文件预览。
25
+
26
+ ### 搜索
27
+ 基于 `@vscode/ripgrep` 的全文搜索,支持大小写、全词、正则与包含 / 排除规则。
28
+
29
+ ### Git
30
+ 状态分组、暂存、撤销暂存、丢弃、提交、分支切换、内联 / 并排差异与提交图表。
18
31
 
19
- 工作台通过官方 `sidebar.footer.action` 和 `shell.overlay` 扩展点挂载,不替换或卸载 `ui-layout`。
32
+ ### 布局
33
+ 可调节与折叠的左侧视图、可扩展的底部面板与状态栏;设置统一管理主题与栏宽。
34
+
35
+ ### DSH 对话
36
+ 右侧复用官方会话界面,保留消息、编程工具、模型、附件与权限能力。
37
+
38
+ ### 状态恢复
39
+ 按工作区保存活动视图、标签、栏宽与面板状态,刷新后继续工作。
40
+
41
+ 工作台通过官方 `sidebar.footer.action` 与 `shell.overlay` 扩展点挂载,不替换或卸载 `ui-layout`。
20
42
 
21
43
  ## 截图
22
44
 
@@ -25,7 +47,6 @@
25
47
  <br><em>资源管理器与 Monaco 编辑器</em>
26
48
  </p>
27
49
 
28
-
29
50
  <p align="center">
30
51
  <img src="https://raw.githubusercontent.com/tingfeng347/dsh-vscode-workbench/main/assets/screenshots/source-control.png" width="800" alt="源代码管理与提交图表">
31
52
  <br><em>源代码管理与提交图表</em>
@@ -46,15 +67,10 @@ dsh plugin --profile web add dsh-vscode-workbench
46
67
  | `Ctrl+Shift+G` | 打开源代码管理 |
47
68
  | `Ctrl+S` | 保存当前文件 |
48
69
  | `Ctrl+Alt+B` | 显示或隐藏 DSH 对话栏 |
49
- | `Ctrl+\`` | 显示或隐藏已注册的终端面板 |
50
- | `Ctrl+Shift+\`` | 新建终端并显示终端面板 |
51
-
52
- 终端仍由独立插件提供;本工作台只注册快捷键,并通过 `registerBottomPanel()` 和 `terminal.new` 命令调用它。
53
-
54
70
 
55
71
  ## 安全
56
72
 
57
- Host 只接受当前 DSH 会话工作目录内的相对路径,并阻止目录穿越与符号链接越界。保存使用版本校验和原子替换;Git 与 ripgrep 使用参数数组启动,不拼接 Shell 命令。
73
+ Host 只接受当前 DSH 会话工作目录内的相对路径,并阻止目录穿越与符号链接越界。保存使用版本校验与原子替换;Git 与 ripgrep 使用参数数组启动,不拼接 Shell 命令。
58
74
 
59
75
  ## 开发
60
76
 
@@ -65,7 +81,7 @@ pnpm test
65
81
  pnpm build
66
82
  ```
67
83
 
68
- 需要 Node.js `^22.19 || >=24`、pnpm 11.7 和系统 Git。
84
+ 需要 Node.js `^22.19 || >=24`、pnpm 11.7 与系统 Git。
69
85
 
70
86
  ## 许可证
71
87