@wenbin_wb/dsh-bridge 2.5.4 → 2.6.0

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
@@ -41,6 +41,7 @@
41
41
  - **2nd Line of Defense (Admin Console Guard)**: Separated administrator password and visitor password; global console lockout for remote devices to prevent unauthorized configuration changes (Password Unlock / Local Host Only / Open);
42
42
  - **Fail-safe Recovery System (Triple Protection)**: Host machine (`127.0.0.1`) enjoys permanent physical privileges (never locked out) + terminal command `touch ~/.dsh/dsh-bridge/reset-auth` for instant emergency recovery + built-in "Forgot Password" guides;
43
43
  - **Financial-grade Security Engine**: PBKDF2 + SHA-256 salted password hashing, 30-day HttpOnly SameSite session protection, IP brute-force rate limiter (5 failed attempts trigger 60s cooldown).
44
+ - **📱 Mobile Browser & Touch Adaptation**: Specially crafted layout for smartphone viewports. Clean header with drawer & quick-new button, touch gestures, and responsive settings cards without text-wrapping issues
44
45
  - **LAN Access**: Scan QR code with your smartphone/tablet, direct access on the same Wi-Fi — keep the conversation going from your phone
45
46
  - **Cloudflare Tunnel**: One-click public internet exposure, connect from anywhere without a public server of your own — keep working even when you're away from home
46
47
  - **Custom Tunnel**: Connect to your own tunnel server with a fixed domain ([Setup Guide](docs/custom-tunnel.md))
@@ -103,8 +104,8 @@ npm install -g @deepseek-ai/dsh
103
104
  # Install the latest version
104
105
  dsh plugin --profile web add @wenbin_wb/dsh-bridge
105
106
 
106
- # Or install a specific version (e.g. 2.5.4)
107
- dsh plugin --profile web add @wenbin_wb/dsh-bridge@2.5.4
107
+ # Or install a specific version (e.g. 2.6.0)
108
+ dsh plugin --profile web add @wenbin_wb/dsh-bridge@2.6.0
108
109
  ```
109
110
 
110
111
  > 💡 **No global install permission?** Use `npx`:
@@ -199,6 +200,34 @@ Go to Settings -> "Remote Access" -> "**Security**" tab to enable enterprise-gra
199
200
 
200
201
  ---
201
202
 
203
+ ### 📱 Mobile Browser & Touch Adaptation
204
+
205
+ Deeply tailored for smartphone screens and touch gestures, providing a clean and intuitive mobile experience via LAN or public tunnels without installing extra client apps:
206
+
207
+ - **Minimalist Top Navigation**: Left drawer toggle and right `(+)` quick-new session button, keeping the screen clean and content-focused;
208
+ - **Native Sidebar Drawer**: Full access to DSH session history, workspace folders, search, view options, and session actions;
209
+ - **Fluid Responsive Settings**: Redesigned settings layout with vertical flow, auto-scaling QR codes, and tag badges without cramped word wrapping;
210
+ - **Touch Gesture Support**: Swipe right from the left edge (<=35px) to open the drawer, swipe left to dismiss, and **long-press on any session item to bring up context actions** (Rename/Fork/Archive).
211
+
212
+ #### Chat & Session Experience
213
+
214
+ <p align="center">
215
+ <img src="docs/screenshots/remote-web-mobile.jpg" width="32%" alt="Mobile New Session Home" />
216
+ <img src="docs/screenshots/mobile-chat.jpg" width="32%" alt="Mobile Active Chat View" />
217
+ <img src="docs/screenshots/mobile-drawer.jpg" width="32%" alt="Mobile Native Sidebar Drawer" />
218
+ </p>
219
+
220
+ #### Remote Access & Plugin Settings Console
221
+
222
+ <p align="center">
223
+ <img src="docs/screenshots/mobile-settings-lan.jpg" width="24%" alt="LAN Access Console" />
224
+ <img src="docs/screenshots/mobile-settings-tunnel.jpg" width="24%" alt="Public Tunnel Settings" />
225
+ <img src="docs/screenshots/mobile-settings-im.jpg" width="24%" alt="IM Bot Platforms" />
226
+ <img src="docs/screenshots/mobile-settings-security.jpg" width="24%" alt="Global Access Security" />
227
+ </p>
228
+
229
+ ---
230
+
202
231
  ### LAN Access
203
232
 
204
233
  Automatically active when the plugin starts, zero configuration needed. Open Settings -> "Remote Access", and scan the QR code with your phone.
@@ -214,14 +243,6 @@ Automatically active when the plugin starts, zero configuration needed. Open Set
214
243
 
215
244
  ![Public Tunnel Settings](docs/screenshots/tunnel-access.jpg)
216
245
 
217
- <details>
218
- <summary>📱 Click to expand mobile browser public access screenshot</summary>
219
- <br/>
220
- <p align="center">
221
- <img src="docs/screenshots/remote-web-mobile.jpg" width="340" alt="Mobile Public Access Demo" />
222
- </p>
223
- </details>
224
-
225
246
  ### Custom Tunnel
226
247
 
227
248
  Requires a server with a public IP (server environment requires Node.js >= 18, recommended Node.js 22 LTS). See the [Custom Tunnel Setup Guide](docs/custom-tunnel.md) for detailed steps.
package/README.md CHANGED
@@ -41,6 +41,7 @@
41
41
  - **第二道防线(管理控制台防篡改)**:独立管理员密码,远程设备进入控制台全局锁定网络配置与 IM 机器人密钥,支持「需密码解锁 / 仅电脑本机管理 / 宽松直管」;
42
42
  - **三重容灾保命体系**:电脑本机(`127.0.0.1`)永久最高物理特权(永不自锁) + 终端 `touch ~/.dsh/dsh-bridge/reset-auth` 一秒救急重置 + 全界面忘记密码求助引导;
43
43
  - **金融级安全引擎**:PBKDF2 + SHA-256 加盐哈希安全存储、30 天 HttpOnly SameSite 会话、单 IP 连续 5 次错误封禁 60 秒防暴力破解。
44
+ - **📱 移动端与触控交互深度适配**:针对手机端排版与触控操作深度优化。极简轻量顶栏、快速新建、滑动手势抽屉,以及全自适应设置中心(彻底告别文字挤压折行)
44
45
  - **局域网访问**:手机/平板扫码,同一 Wi-Fi 直接访问,躺着也能在手机上接着聊
45
46
  - **Cloudflare 隧道**:一键暴露公网地址,随时随地连接,出差在外、不在家也能接着干,无需自建公网服务器
46
47
  - **自建隧道**:连接自己的隧道服务器,获得固定域名([搭建教程](docs/custom-tunnel.md))
@@ -103,8 +104,8 @@ npm install -g @deepseek-ai/dsh
103
104
  # 安装最新版
104
105
  dsh plugin --profile web add @wenbin_wb/dsh-bridge
105
106
 
106
- # 或指定版本(如 2.5.4
107
- dsh plugin --profile web add @wenbin_wb/dsh-bridge@2.5.4
107
+ # 或指定版本(如 2.6.0
108
+ dsh plugin --profile web add @wenbin_wb/dsh-bridge@2.6.0
108
109
  ```
109
110
 
110
111
  > 💡 **没有全局安装权限?** 使用 `npx` 方式:
@@ -199,6 +200,34 @@ dsh plugin --profile web add @wenbin_wb/dsh-bridge@latest
199
200
 
200
201
  ---
201
202
 
203
+ ### 📱 移动端与触控交互深度适配
204
+
205
+ 针对手机端屏幕与触控操作进行深度优化,手机扫码或公网访问时,无需额外配置即可获得流畅自然的交互体验:
206
+
207
+ - **极简顶栏布局**:保留左侧菜单抽屉与右侧快速新建会话,顶部无冗余元素干扰,视野开阔通透;
208
+ - **原生侧边栏抽屉**:完整复用 DSH 原生历史记录与工作区分类,支持搜索、视图选项切换及会话管理,点击会话即刻平滑切换;
209
+ - **流式自适应设置面板**:重构手机端设置排版,选项与下拉框自适应纵向流式展开,药丸徽标与二维码自适应缩放,彻底解决文字挤压折行;
210
+ - **手势与触屏友好**:支持屏幕左侧边缘向右滑动唤出抽屉、向左滑动收起,支持**长按任意会话项呼出操作菜单**(重命名/分叉/归档),大圆角输入区完美贴合移动端虚拟键盘。
211
+
212
+ #### 对话与会话管理体验
213
+
214
+ <p align="center">
215
+ <img src="docs/screenshots/remote-web-mobile.jpg" width="32%" alt="移动端新会话主页" />
216
+ <img src="docs/screenshots/mobile-chat.jpg" width="32%" alt="移动端已有对话交互" />
217
+ <img src="docs/screenshots/mobile-drawer.jpg" width="32%" alt="移动端原生抽屉侧边栏" />
218
+ </p>
219
+
220
+ #### 远程访问与插件设置中心
221
+
222
+ <p align="center">
223
+ <img src="docs/screenshots/mobile-settings-lan.jpg" width="24%" alt="局域网访问控制台" />
224
+ <img src="docs/screenshots/mobile-settings-tunnel.jpg" width="24%" alt="公网隧道配置" />
225
+ <img src="docs/screenshots/mobile-settings-im.jpg" width="24%" alt="IM 机器人矩阵" />
226
+ <img src="docs/screenshots/mobile-settings-security.jpg" width="24%" alt="全局访问安全认证" />
227
+ </p>
228
+
229
+ ---
230
+
202
231
  ### 局域网访问
203
232
 
204
233
  插件启动后自动开启,无需任何配置。打开设置页「远程访问」,用手机扫描二维码即可访问。
@@ -214,14 +243,6 @@ dsh plugin --profile web add @wenbin_wb/dsh-bridge@latest
214
243
 
215
244
  ![公网隧道配置](docs/screenshots/tunnel-access.jpg)
216
245
 
217
- <details>
218
- <summary>📱 点击展开手机公网访问 DeepSeek Harness 效果截图</summary>
219
- <br/>
220
- <p align="center">
221
- <img src="docs/screenshots/remote-web-mobile.jpg" width="340" alt="手机公网访问 DeepSeek Harness 效果" />
222
- </p>
223
- </details>
224
-
225
246
  ### 自建隧道
226
247
 
227
248
  需要一台有公网 IP 的服务器(服务端环境要求 Node.js >= 18,推荐 Node.js 22 LTS)。详细搭建步骤见 [自建隧道教程](docs/custom-tunnel.md)。