dsh-desktop-windows 0.2.7 → 0.2.8

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 (3) hide show
  1. package/README.en.md +17 -6
  2. package/README.md +17 -6
  3. package/package.json +2 -2
package/README.en.md CHANGED
@@ -8,15 +8,19 @@
8
8
  [![Platform](https://img.shields.io/badge/Platform-Windows-0078D6)]()
9
9
  [![Build](https://github.com/ReachGa0/dsh-desktop/actions/workflows/build.yml/badge.svg)](https://github.com/ReachGa0/dsh-desktop/actions)
10
10
 
11
- An **Electron desktop shell** for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness): double-click an icon and get a standalone window running `dsh web` — no terminal, no manual commands, no browser tab juggling.
11
+ An **Electron desktop shell** for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness): double-click an icon and get a standalone window running `dsh web` — no terminal, no manual commands, no browser tab juggling. **Region screenshot to ask the AI**, system tray, session manager, auto environment setup.
12
12
 
13
13
  Pure shell — it **does not modify dsh itself**. The server reuses your globally installed `@deepseek-ai/dsh`.
14
14
 
15
15
  ## ✨ Features
16
16
 
17
+ - 📸 **Region screenshot → ask AI**: one-click capture → full-screen overlay with real-time selection (GPU-accelerated, 8-direction handles to fine-tune) → auto-pastes into the chat → the AI answers from the image; the chat window hides itself during capture
18
+ - 🗂️ **Session manager**: `Alt → File → Session Manager…` lists every session, delete with one click (permanently removes chat history)
17
19
  - 🪟 **Standalone window**: native desktop window loading the Harness Web UI
18
20
  - 🍱 **System tray**: closing the window minimizes to the tray; right-click to show or quit
21
+ - 🔄 **Easy reload**: `F5` / `Ctrl+R` / floating button — load new plugins without restarting the window
19
22
  - 🧭 **Auto environment setup**: on first launch it detects Node.js / dsh and guides a one-click install — friendly to non-technical users
23
+ - 🔧 **Configurable port**: `npm start -- --port 3081` when 3080 is taken
20
24
  - 🧠 **Smart reuse**: reuses an already-running dsh service instead of starting a duplicate
21
25
  - 🧹 **Clean shutdown**: only kills the dsh process tree it started — never an external service
22
26
  - 🔒 **Single instance**: prevents double-launch conflicts
@@ -30,6 +34,15 @@ Pure shell — it **does not modify dsh itself**. The server reuses your globall
30
34
  3. Once ready, opens an Electron window loading the Web UI;
31
35
  4. When the window closes, kills only the dsh process tree it started (an externally started service is never touched).
32
36
 
37
+ ## 📸 Region screenshot
38
+
39
+ 1. Click the **📸** button (bottom-right) — the chat window auto-hides
40
+ 2. **Drag to select** an area on the full-screen overlay (live preview; drag the 8 handles to fine-tune after drawing)
41
+ 3. Click **✔ OK** (or double-click / Enter) — the chat window restores
42
+ 4. The screenshot lands in the chat box automatically → type a question → the AI answers from the image
43
+
44
+ > Pair with a vision bridge like [ModLens](https://www.npmjs.com/package/@liustack/modlens) so text-only DeepSeek models can read images too.
45
+
33
46
  ## Prerequisites
34
47
 
35
48
  - Node.js ≥ 22 (v24 verified)
@@ -58,17 +71,13 @@ npm start -- --port 3081
58
71
 
59
72
  On first launch: go to **Settings → Models**, enter your DeepSeek API Key, then pick a workspace.
60
73
 
61
- ## Screenshots
62
-
63
- > Coming soon — feel free to submit a screenshot via PR or Issue.
64
-
65
74
  ## Package an installer
66
75
 
67
76
  ```sh
68
77
  npm run dist
69
78
  ```
70
79
 
71
- Output lands in `release/`: `dsh-desktop-0.1.0-setup.exe` (NSIS installer).
80
+ Output lands in `release/`: `dsh-desktop-<version>-setup.exe` (NSIS installer).
72
81
 
73
82
  Custom icon: drop an `assets/icon.ico` (≥256×256) and add `"icon": "assets/icon.ico"` under `build.win` in `package.json`.
74
83
 
@@ -77,6 +86,8 @@ Custom icon: drop an `assets/icon.ico` (≥256×256) and add `"icon": "assets/ic
77
86
  - **Launch fails / error dialog**: check `%APPDATA%/DeepSeek Harness Desktop/dsh.log`; make sure `dsh --version` works.
78
87
  - **Port already in use**: run `npm start -- --port <new-port>` instead.
79
88
  - **After upgrading dsh**: just re-run `npm i -g @deepseek-ai/dsh` — the shell needs no changes.
89
+ - **Screenshot not in the chat box**: click the input and press `Ctrl+V` (the image is already on your clipboard).
90
+ - **Closing the window doesn't quit**: that's the tray — right-click the tray icon and choose "Quit".
80
91
 
81
92
  ## Contributing
82
93
 
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  [![Platform](https://img.shields.io/badge/Platform-Windows-0078D6)]()
9
9
  [![Build](https://github.com/ReachGa0/dsh-desktop/actions/workflows/build.yml/badge.svg)](https://github.com/ReachGa0/dsh-desktop/actions)
10
10
 
11
- > **English summary** · An [Electron](https://www.electronjs.org/) desktop shell for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (dsh web) on **Windows** — double-click to run the harness in a standalone window. No terminal, no commands, no browser juggling. System tray support, floating reload button, configurable port. Full English docs: [README.en.md](README.en.md)
11
+ > **English summary** · An [Electron](https://www.electronjs.org/) desktop shell for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (dsh web) on **Windows** — double-click to run the harness in a standalone window. **Region screenshot to ask AI**, system tray, session manager, auto environment setup. Full English docs: [README.en.md](README.en.md)
12
12
 
13
13
  DeepSeek Harness 的 **Electron 桌面壳**:双击图标,一个独立窗口运行 `dsh web` —— 不用开终端、不用敲命令、不用切浏览器。
14
14
 
@@ -16,9 +16,13 @@ DeepSeek Harness 的 **Electron 桌面壳**:双击图标,一个独立窗口
16
16
 
17
17
  ## ✨ 特性
18
18
 
19
+ - 📸 **选区截图提问**:一键截屏 → 全屏遮罩实时框选(GPU 加速、8 方向手柄微调)→ 自动粘贴到聊天框 → AI 直接看图回答;截图时自动隐藏聊天窗口
20
+ - 🗂️ **会话管理**:`Alt → 文件 → 会话管理…` 列出所有会话,一键删除(永久清理聊天记录)
19
21
  - 🪟 **独立窗口**:原生桌面窗口加载 Harness Web UI,可最小化到任务栏
20
22
  - 🍱 **系统托盘**:关窗口最小化到托盘常驻,右键菜单可随时显示/退出
23
+ - 🔄 **便捷刷新**:`F5` / `Ctrl+R` / 右下角悬浮按钮,加载新插件不用重启窗口
21
24
  - 🧭 **环境自动引导**:首次启动自动检测 Node.js / dsh,缺失时引导一键安装,小白也能搞定
25
+ - 🔧 **可换端口**:`npm start -- --port 3081` 解决端口占用
22
26
  - 🧠 **智能复用**:检测到已有的 dsh 服务就直接复用,不重复启动
23
27
  - 🧹 **干净退出**:关窗口只杀自己启动的 dsh 进程,绝不误杀外部服务
24
28
  - 🔒 **单实例锁**:防止双开冲突
@@ -32,6 +36,15 @@ DeepSeek Harness 的 **Electron 桌面壳**:双击图标,一个独立窗口
32
36
  3. 就绪后打开 Electron 窗口加载 Web UI;
33
37
  4. 关窗口 → 自动杀掉由本壳启动的 dsh 进程树(手动起的外部服务不会被误杀)。
34
38
 
39
+ ## 📸 选区截图提问
40
+
41
+ 1. 点右下角 **📸**(聊天窗口自动隐藏)
42
+ 2. 全屏遮罩上**拖动框选**区域(实时显示,画完可拖 8 个手柄微调)
43
+ 3. 点 **✔ 确定**(或双击 / 回车)→ 聊天窗口恢复
44
+ 4. 截图自动进入聊天框 → 输入问题 → AI 看图回答
45
+
46
+ > 配合 [ModLens](https://www.npmjs.com/package/@liustack/modlens) 等识图插件,DeepSeek 文本模型也能看懂图片。
47
+
35
48
  ## 前提
36
49
 
37
50
  - Node.js ≥ 22(v24 验证通过)
@@ -60,17 +73,13 @@ npm start -- --port 3081
60
73
 
61
74
  首次打开后:**设置 → 模型 → 填入 DeepSeek API Key**,然后选择工作区即可使用。
62
75
 
63
- ## 截图
64
-
65
- > 敬请期待 —— 欢迎提交你的界面截图(PR 或 Issue 均可)。
66
-
67
76
  ## 打包成安装程序
68
77
 
69
78
  ```sh
70
79
  npm run dist
71
80
  ```
72
81
 
73
- 产物在 `release/` 下:`dsh-desktop-0.1.0-setup.exe`(NSIS 安装包)。
82
+ 产物在 `release/` 下:`dsh-desktop-<版本>-setup.exe`(NSIS 安装包)。
74
83
 
75
84
  自定义图标:放一个 `assets/icon.ico`(≥256×256),并在 `package.json` 的 `build.win` 里加 `"icon": "assets/icon.ico"`。
76
85
 
@@ -79,6 +88,8 @@ npm run dist
79
88
  - **启动失败弹窗**:看 `%APPDATA%/DeepSeek Harness Desktop/dsh.log`;确认 `dsh --version` 可用。
80
89
  - **端口被占**:用 `npm start -- --port <新端口>` 换一个端口即可。
81
90
  - **改了 dsh 版本**:重新 `npm i -g @deepseek-ai/dsh` 即可,壳无需改动。
91
+ - **截图没进聊天框**:点一下输入框按 `Ctrl+V`(截图已在剪贴板)。
92
+ - **关闭窗口后应用还在**:正常!它最小化到托盘了,右键托盘图标选"退出"。
82
93
 
83
94
  ## 贡献
84
95
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "dsh-desktop-windows",
3
3
  "productName": "DeepSeek Harness Desktop",
4
- "version": "0.2.7",
5
- "description": "DeepSeek Harness 桌面版(Windows)· Electron desktop shell for DeepSeek Harness (dsh web) 双击即用,无需终端 / double-click to run the harness in a standalone window",
4
+ "version": "0.2.8",
5
+ "description": "DeepSeek Harness 桌面版(Windows)· Electron desktop shell for DeepSeek Harness — 双击即用 / double-click to run · 支持选区截图提问、系统托盘、会话管理 / region screenshot, system tray, session manager",
6
6
  "main": "src/main.js",
7
7
  "license": "MIT",
8
8
  "author": "ReachGa0",