dsh-remote-bridge 2.2.0 → 2.2.1

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
@@ -9,7 +9,7 @@
9
9
  </p>
10
10
 
11
11
  <p align="center">
12
- <img alt="Version" src="https://img.shields.io/badge/version-v2.2.0-087f8c">
12
+ <img alt="Version" src="https://img.shields.io/badge/version-v2.2.1-087f8c">
13
13
  <img alt="DSH plugin" src="https://img.shields.io/badge/DeepSeek_Harness-plugin-1f2328">
14
14
  <img alt="Platforms" src="https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-586069">
15
15
  <img alt="License" src="https://img.shields.io/badge/license-AGPL--3.0-2da44e">
@@ -63,28 +63,37 @@ So seeing `dsh-workspace` in a REST address or the state directory is **expected
63
63
  - Node.js `^22.19.0` or `>=24.0.0`
64
64
  - Port `3090`, or another available port
65
65
 
66
- Run as the same operating-system user that runs DSH WebUI (pick either host — the tarball is identical):
66
+ Run as the same operating-system user that runs DSH WebUI. **The npm package name is recommended** — all three routes install the same build:
67
67
 
68
68
  ```sh
69
- # GitHub
70
- dsh plugin --profile web add https://github.com/westanke/dsh-remote-bridge/releases/download/v2.2.0/dsh-remote-bridge-2.2.0.tgz
69
+ # 1. npm package name (recommended: a prebuilt tarball, so pnpm never asks to approve a build)
70
+ dsh plugin --profile web add dsh-remote-bridge
71
71
 
72
- # Gitee (faster from mainland China)
72
+ # ...or point at the mainland-China mirror
73
+ dsh plugin --profile web add dsh-remote-bridge --registry https://registry.npmmirror.com
74
+
75
+ # 2. tarball from the GitHub release
76
+ dsh plugin --profile web add https://github.com/westanke/dsh-remote-bridge/releases/download/v2.2.1/dsh-remote-bridge-2.2.1.tgz
77
+
78
+ # 3. tarball from the Gitee release (faster from mainland China)
73
79
  dsh plugin --profile web add https://gitee.com/westanke/dsh-remote-bridge/releases/download/v2.2.0/dsh-remote-bridge-2.2.0.tgz
74
80
 
75
81
  npx @deepseek-ai/dsh web
76
82
  ```
77
83
 
84
+ > `dsh plugin add` is a thin wrapper over `pnpm add`, so pnpm options such as `--registry` work directly.
85
+ >
78
86
  > This README is shared verbatim by GitHub and Gitee, so any address that must carry a hostname
79
87
  > (the install commands, release downloads) lists both hosts. Relative links follow the site you
80
- > are reading on, but `/releases/download/...` has no relative form.
88
+ > are reading on, but `/releases/download/...` has no relative form. The npm package name is the
89
+ > same as the GitHub repository, so it reads identically on both hosts.
81
90
 
82
91
  Restart DSH after installation, then open settings — **Phone settings** sits right below **Phone access**. It is settings-only and does **not** contain the file tree. The in-conversation **Files** tab was removed in 2.0.4. **The desktop no longer offers a UI for browsing or editing files**: the standalone page `/dsh-workspace` was deleted in 2.2.0 — use the phone app, or ask the agent to use its tools in a conversation.
83
92
 
84
93
  To install a downloaded release archive:
85
94
 
86
95
  ```sh
87
- dsh plugin --profile web add ./dsh-remote-bridge-2.2.0.tgz
96
+ dsh plugin --profile web add ./dsh-remote-bridge-2.2.1.tgz
88
97
  ```
89
98
 
90
99
  ## First connection
@@ -299,14 +308,15 @@ pnpm pack
299
308
 
300
309
  `pnpm check` covers type-checking, documentation consistency, and tests. It currently passes **19 test files / 113 cases**, plus **3 browser-layer cases** (Playwright measuring real computed styles).
301
310
 
302
- `pnpm pack` produces roughly a **0.25 MB** archive: 2.2.0 dropped the standalone page and its editor dependencies and turned source maps off, down from 1.72 MB.
311
+ `npm pack` produces roughly a **0.25 MB** archive: 2.2.0 dropped the standalone page and its editor dependencies and turned source maps off, down from 1.72 MB.
303
312
 
304
- v2.2.0 was developed against DSH `master@47f943859bef60e4160492346772ded9b24f765a`. CI covers Windows, Ubuntu, and macOS.
313
+ v2.2.1 was developed against DSH `master@47f943859bef60e4160492346772ded9b24f765a`. CI covers Windows, Ubuntu, and macOS.
305
314
 
306
315
  ## Project
307
316
 
308
- - Version: `v2.2.0`
317
+ - Version: `v2.2.1`
309
318
  - Author: upstream [Hakunm](https://github.com/Hakunm); this fork maintained by [westanke](https://github.com/westanke)
310
319
  - Repository: [GitHub](https://github.com/westanke/dsh-remote-bridge) · [Gitee](https://gitee.com/westanke/dsh-remote-bridge)
320
+ - npm: [`dsh-remote-bridge`](https://www.npmjs.com/package/dsh-remote-bridge) ([mainland-China mirror](https://registry.npmmirror.com/dsh-remote-bridge))
311
321
  - License: [GNU Affero General Public License v3.0](./LICENSE)
312
322
  - Android client: dsh-companion ([GitHub](https://github.com/westanke/dsh-companion) · [Gitee](https://gitee.com/westanke/dsh-companion)), a fork of the upstream [dsh-android-app](https://github.com/Hakunm/dsh-android-app), kept in step with this plugin
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  </p>
10
10
 
11
11
  <p align="center">
12
- <img alt="Version" src="https://img.shields.io/badge/version-v2.2.0-087f8c">
12
+ <img alt="Version" src="https://img.shields.io/badge/version-v2.2.1-087f8c">
13
13
  <img alt="DSH plugin" src="https://img.shields.io/badge/DeepSeek_Harness-plugin-1f2328">
14
14
  <img alt="Platforms" src="https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-586069">
15
15
  <img alt="License" src="https://img.shields.io/badge/license-AGPL--3.0-2da44e">
@@ -62,27 +62,36 @@
62
62
  - Node.js `^22.19.0` 或 `>=24.0.0`
63
63
  - 默认端口 `3090` 可用,或准备一个其他端口
64
64
 
65
- 使用运行 DSH WebUI 的同一系统用户执行(两站任选其一,内容相同):
65
+ 使用运行 DSH WebUI 的同一系统用户执行。**推荐用 npm 包名**(三种方式装的是同一份产物):
66
66
 
67
67
  ```sh
68
- # GitHub
69
- dsh plugin --profile web add https://github.com/westanke/dsh-remote-bridge/releases/download/v2.2.0/dsh-remote-bridge-2.2.0.tgz
68
+ # ① npm 包名(推荐:装的是预构建产物,不需要 pnpm 的构建授权)
69
+ dsh plugin --profile web add dsh-remote-bridge
70
70
 
71
- # Gitee(国内访问更快)
71
+ # 国内镜像更快时,指定 registry
72
+ dsh plugin --profile web add dsh-remote-bridge --registry https://registry.npmmirror.com
73
+
74
+ # ② GitHub Release 的 tarball
75
+ dsh plugin --profile web add https://github.com/westanke/dsh-remote-bridge/releases/download/v2.2.1/dsh-remote-bridge-2.2.1.tgz
76
+
77
+ # ③ Gitee Release 的 tarball(国内访问更快)
72
78
  dsh plugin --profile web add https://gitee.com/westanke/dsh-remote-bridge/releases/download/v2.2.0/dsh-remote-bridge-2.2.0.tgz
73
79
 
74
80
  npx @deepseek-ai/dsh web
75
81
  ```
76
82
 
83
+ > `dsh plugin add` 底层就是 `pnpm add`,因此 `--registry` 等 pnpm 选项可直接使用。
84
+ >
77
85
  > 本 README 由 GitHub 与 Gitee 共用同一份文件,因此凡是必须带主机名的地址(安装命令、Release 下载)
78
86
  > 都会把两站都列出来 —— 相对链接可以跟着站点走,但 `/releases/download/...` 没有相对形式。
87
+ > npm 包名与 GitHub 上的仓库同名,两站看到的都一样。
79
88
 
80
89
  重启 DSH 后,打开设置就能看到「手机设置」(在「手机访问」下面)。它是**纯设置**,不含文件树;会话视图中工具轨迹旁的「文件」标签页已在 2.0.4 移除。**桌面端不再有浏览或编辑文件的界面**:独立页 `/dsh-workspace` 已在 2.2.0 删除,文件操作请走手机 App,或在会话里让 agent 用工具完成。
81
90
 
82
91
  从 GitHub Release 下载离线安装包时,可直接安装 tarball:
83
92
 
84
93
  ```sh
85
- dsh plugin --profile web add ./dsh-remote-bridge-2.2.0.tgz
94
+ dsh plugin --profile web add ./dsh-remote-bridge-2.2.1.tgz
86
95
  ```
87
96
 
88
97
  ## 第一次使用
@@ -296,14 +305,15 @@ pnpm pack
296
305
 
297
306
  `pnpm check` 覆盖类型检查、文档一致性与测试;当前 **19 个测试文件 / 113 个用例**,外加 **3 个浏览器层用例**(Playwright 实测量出的计算样式),全部通过。
298
307
 
299
- `pnpm pack` 的产物约 **0.25 MB**:2.2.0 删除独立页及其编辑器依赖、并关闭 source map 之后,从 1.72 MB 降下来。
308
+ `npm pack` 的产物约 **0.25 MB**:2.2.0 删除独立页及其编辑器依赖、并关闭 source map 之后,从 1.72 MB 降下来。
300
309
 
301
- v2.2.0 基于 DSH `master@47f943859bef60e4160492346772ded9b24f765a` 开发,CI 覆盖 Windows、Ubuntu 和 macOS。
310
+ v2.2.1 基于 DSH `master@47f943859bef60e4160492346772ded9b24f765a` 开发,CI 覆盖 Windows、Ubuntu 和 macOS。
302
311
 
303
312
  ## 项目信息
304
313
 
305
- - 当前版本:`v2.2.0`
314
+ - 当前版本:`v2.2.1`
306
315
  - 作者:上游 [Hakunm](https://github.com/Hakunm),本 fork 维护 [westanke](https://github.com/westanke)
307
316
  - 仓库:[GitHub](https://github.com/westanke/dsh-remote-bridge) · [Gitee](https://gitee.com/westanke/dsh-remote-bridge)
317
+ - npm:[`dsh-remote-bridge`](https://www.npmjs.com/package/dsh-remote-bridge)([国内镜像](https://registry.npmmirror.com/dsh-remote-bridge))
308
318
  - 许可证:[GNU Affero General Public License v3.0](./LICENSE)
309
319
  - Android 客户端:dsh-companion([GitHub](https://github.com/westanke/dsh-companion) · [Gitee](https://gitee.com/westanke/dsh-companion)),上游 [dsh-android-app](https://github.com/Hakunm/dsh-android-app) 的 fork,与本插件配套
@@ -1,7 +1,7 @@
1
1
  asyncapi: 3.0.0
2
2
  info:
3
3
  title: DeepSeek Harness Mobile Events
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  description: Live file and authorized DSH chat events. Reconnect clients must refresh REST state; unbounded replay is not provided.
6
6
  servers:
7
7
  local:
@@ -1,7 +1,7 @@
1
1
  openapi: 3.1.0
2
2
  info:
3
3
  title: DeepSeek Harness Mobile API
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  description: Versioned file and chat BFF for mobile and third-party DSH clients. HTTP and HTTPS are both supported.
6
6
  servers:
7
7
  - url: http://127.0.0.1:3090/api/v1
@@ -24,7 +24,7 @@ paths:
24
24
  properties:
25
25
  ok: { type: boolean, const: true }
26
26
  version: { type: string, const: v1 }
27
- pluginVersion: { type: string, const: 2.2.0 }
27
+ pluginVersion: { type: string, const: 2.2.1 }
28
28
  /pairings/exchange:
29
29
  post:
30
30
  security: []
@@ -4,7 +4,7 @@ plugins {
4
4
  }
5
5
 
6
6
  group = "ai.deepseek.dsh"
7
- version = "2.2.0"
7
+ version = "2.2.1"
8
8
 
9
9
  repositories { mavenCentral() }
10
10
 
package/lib/index.js CHANGED
@@ -2408,7 +2408,7 @@ async function inspectResolvedPath(root, wirePath) {
2408
2408
  }
2409
2409
  //#endregion
2410
2410
  //#region src/shared/version.ts
2411
- const PLUGIN_VERSION = "2.2.0";
2411
+ const PLUGIN_VERSION = "2.2.1";
2412
2412
  //#endregion
2413
2413
  //#region src/host/router.ts
2414
2414
  var ApiRouter = class {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-remote-bridge",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Versioned REST bridge for DeepSeek Harness: remote access for trusted clients (chat, files, devices) plus a Phone-settings panel inside the DSH WebUI.",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@11.19.0",