dsh-mobile 0.1.0-alpha.12 → 0.1.0-alpha.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/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  <h1 align="center">DSH Mobile</h1>
6
6
 
7
- <p align="center">Private, authenticated LAN access to the stock DeepSeek Harness Web UI.</p>
7
+ <p align="center">Private, authenticated LAN access to DeepSeek Harness.</p>
8
8
 
9
9
  <p align="center">
10
10
  <a href="https://www.npmjs.com/package/dsh-mobile"><img src="https://img.shields.io/npm/v/dsh-mobile?label=npm&amp;color=CB3837" alt="npm version"></a>
@@ -24,7 +24,7 @@
24
24
 
25
25
  > Public npm alpha. The source repository remains private during the current testing phase. Android is the only supported native app. This is a community project, not an official DeepSeek product.
26
26
 
27
- DSH Mobile reuses DSH's own Web application, sessions, and plugin slots. It adds an authenticated HTTPS gateway, device pairing, session revocation, and a small responsive Client face. Use the Android shell without browser chrome, or open the same LAN address directly in any mobile browser.
27
+ DSH Mobile keeps the stock DSH Host, sessions, workspaces, and plugin capabilities, but provides its own lightweight mobile Web app. It does not reuse desktop page components or patch the desktop DOM. The desktop UI stays unchanged; Android and mobile browsers read the same live DSH data through the standalone mobile client.
28
28
 
29
29
  The mobile client is self-editable: ask DSH in an ordinary conversation to change `mobile.css` for presentation or `mobile.js` for behavior, keep the phone open, and watch the Android app or mobile browser apply the result automatically within about one second.
30
30
 
@@ -32,14 +32,14 @@ The mobile client is self-editable: ask DSH in an ordinary conversation to chang
32
32
 
33
33
  | Capability | Android app | Mobile browser |
34
34
  | --- | :---: | :---: |
35
- | Live DSH Web UI | Yes | Yes |
35
+ | Standalone mobile DSH Web UI | Yes | Yes |
36
36
  | Authenticated HTTPS LAN access | Yes | Yes |
37
37
  | One-time device pairing | Yes | Yes |
38
38
  | Extend mobile UI and Web functions through a DSH conversation with live preview | Yes | Yes |
39
39
  | Phone/computer image selection and downloads | Yes | Yes (the browser supplies the phone picker) |
40
40
  | iOS native app | Not yet | Safari can use the Web UI |
41
41
 
42
- The plugin turns narrow screens into a single content column with a navigation drawer and pins Add workspace to DSH's in-page computer directory browser. The composer image action asks for Phone files or Computer files: the first opens Android's or the browser's picker, while the second browses the computer inside the phone UI. Stock DSH currently models image attachments only, so this surface does not pretend that arbitrary files can be sent. Treat every paired device as a fully trusted operator of the computer, not as a guest account.
42
+ The mobile client owns its conversation column, Workspace drawer, composer, and computer directory browser. It subscribes directly to DSH's `sessions` and `workspaces` services, so desktop and phone use the same authoritative Workspace account. The image action asks for Phone files or Computer files: the first opens Android's or the browser's picker, while the second browses the computer inside the phone UI. Stock DSH currently models image attachments only, so this surface does not pretend that arbitrary files can be sent. Treat every paired device as a fully trusted operator of the computer, not as a guest account.
43
43
 
44
44
  ## Quick start
45
45
 
@@ -167,7 +167,7 @@ One standard bundle contributes two faces: the Host face owns the gateway and lo
167
167
  ```mermaid
168
168
  flowchart LR
169
169
  Phone["Android app or mobile browser"] -->|"HTTPS and paired session"| Gateway["DSH Mobile plugin"]
170
- Gateway -->|"loopback-only proxy"| DSH["Stock DSH Web UI"]
170
+ Gateway -->|"loopback-only proxy"| DSH["Stock DSH Host and Client Runtime"]
171
171
  ```
172
172
 
173
173
  ## Security model
@@ -198,7 +198,7 @@ dsh plugin --profile web remove dsh-mobile
198
198
 
199
199
  ## Android app
200
200
 
201
- The supported native shell lives in [`apps/mobile/android`](apps/mobile/android). It does not bundle a copy of the DSH frontend; it renders the same authenticated HTTPS page used by mobile browsers. See the [Android guide](apps/mobile/README.md).
201
+ The supported native shell lives in [`apps/mobile/android`](apps/mobile/android). It does not bundle a frontend copy; it renders the standalone mobile page served live by the plugin, which is also available to mobile browsers. See the [Android guide](apps/mobile/README.md).
202
202
 
203
203
  ## Development
204
204
 
package/README.zh.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  <h1 align="center">DSH Mobile</h1>
6
6
 
7
- <p align="center">让手机通过受保护的局域网连接直接控制原生 DeepSeek Harness Web UI。</p>
7
+ <p align="center">让手机通过受保护的局域网连接使用 DeepSeek Harness。</p>
8
8
 
9
9
  <p align="center">
10
10
  <a href="https://www.npmjs.com/package/dsh-mobile"><img src="https://img.shields.io/npm/v/dsh-mobile?label=npm&amp;color=CB3837" alt="npm 版本"></a>
@@ -24,7 +24,7 @@
24
24
 
25
25
  > 当前为公开 npm Alpha,源码仓库在测试阶段暂时保持私有,仅支持 Android。它是社区项目,不是 DeepSeek 官方产品。
26
26
 
27
- DSH Mobile 不是另一套远程控制面板。插件直接复用 DSH 自己的 Web 应用、会话和插件槽位,在外层增加 HTTPS、设备配对、会话撤销和移动端样式。你可以用 Android App 获得无浏览器栏的体验,也可以直接用手机浏览器访问同一个局域网地址。
27
+ DSH Mobile 保留原生 DSH Host、会话、工作区和插件能力,但移动端页面由插件独立实现,不再复用桌面页面组件或给桌面 DOM 打补丁。桌面界面保持原样;Android App 和手机浏览器通过同一个轻量移动前端访问同一份实时数据。
28
28
 
29
29
  移动端客户端可以“自己改自己”:直接在普通 DSH 对话中要求 DSH 修改负责外观的 `mobile.css` 或负责功能的 `mobile.js`,手机页面保持打开,Android App 和手机浏览器通常会在一秒内自动应用结果。
30
30
 
@@ -32,14 +32,14 @@ DSH Mobile 不是另一套远程控制面板。插件直接复用 DSH 自己的
32
32
 
33
33
  | 能力 | Android App | 手机浏览器 |
34
34
  | --- | :---: | :---: |
35
- | 实时访问 DSH Web UI | 支持 | 支持 |
35
+ | 独立移动端 DSH Web UI | 支持 | 支持 |
36
36
  | HTTPS 局域网入口 | 支持 | 支持 |
37
37
  | 一次性设备配对 | 支持 | 支持 |
38
38
  | 在 DSH 对话中扩展移动 UI与网页功能并实时预览 | 支持 | 支持 |
39
39
  | 手机/电脑图片选择与下载 | 支持 | 支持(手机面板由浏览器提供) |
40
40
  | iOS | 暂不支持 | 可用 Safari 访问网页 |
41
41
 
42
- 插件会把窄屏界面改成单栏内容与抽屉导航,并把“添加工作区”固定为手机页面内的电脑目录浏览器。消息输入栏的图片入口会先询问“手机文件”或“电脑文件”:前者打开 Android/浏览器文件面板,后者直接在手机页面中浏览电脑目录。当前原生 DSH 的附件协议只支持图片,因此这里不会把任意文件伪装成可发送附件。配对设备应视为电脑上的完全可信操作者,而不是低权限访客。
42
+ 移动端采用自己的单栏对话、工作区抽屉、输入栏和电脑目录浏览器,数据直接来自 DSH 的 `sessions` 与 `workspaces` 服务,因此电脑和手机看到的是同一份工作区账户。图片入口会先询问“手机文件”或“电脑文件”:前者打开 Android/浏览器文件面板,后者直接在手机页面中浏览电脑目录。当前原生 DSH 的附件协议只支持图片,因此这里不会把任意文件伪装成可发送附件。配对设备应视为电脑上的完全可信操作者,而不是低权限访客。
43
43
 
44
44
  ## 快速开始
45
45
 
@@ -167,12 +167,12 @@ window.dshMobile.register(({ root, document, request }) => {
167
167
 
168
168
  ## 为什么符合 DSH 的插件理念
169
169
 
170
- DSH Mobile 通过一个标准 bundle 同时贡献两张 face:Host face 提供局域网网关和本地控制接口,Client face 提供移动端样式与左下角控制卡。它只注入原生 `webServer` 服务,通过 `dsh plugin add/remove` 安装和卸载,不修改 `deepseek-harness` 文件。
170
+ DSH Mobile 通过一个标准 bundle 同时贡献两张 face:Host face 提供局域网网关和本地控制接口;Client face 在电脑回环页面贡献左下角控制卡,在远程页面挂载独立移动应用。移动应用只订阅 DSH 的公开会话与工作区服务,不导入桌面页面。插件通过 `dsh plugin add/remove` 安装和卸载,不修改 `deepseek-harness` 文件。
171
171
 
172
172
  ```mermaid
173
173
  flowchart LR
174
174
  Phone["Android App 或手机浏览器"] -->|"HTTPS + 已配对会话"| Gateway["DSH Mobile 插件"]
175
- Gateway -->|"仅回环代理"| DSH["原生 DSH Web UI"]
175
+ Gateway -->|"仅回环代理"| DSH["原生 DSH Host 与 Client Runtime"]
176
176
  ```
177
177
 
178
178
  ## 安全模型
@@ -203,7 +203,7 @@ dsh plugin --profile web remove dsh-mobile
203
203
 
204
204
  ## Android App
205
205
 
206
- 当前仅维护 Android 薄壳,源码位于 [`apps/mobile/android`](apps/mobile/android)。App 不复制 DSH 前端,只渲染插件提供的同一 HTTPS 页面;浏览器访问始终是一等能力。构建与安全边界见 [Android 文档](apps/mobile/README.zh-CN.md)。
206
+ 当前仅维护 Android 薄壳,源码位于 [`apps/mobile/android`](apps/mobile/android)。App 不打包前端副本,只渲染插件实时提供的独立移动页面;浏览器访问始终是一等能力。构建与安全边界见 [Android 文档](apps/mobile/README.zh-CN.md)。
207
207
 
208
208
  ## 开发
209
209