@musdrop/ds-harness-remote 0.6.19 → 0.6.20

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
@@ -1,144 +1,144 @@
1
- # 这是一个 fork,不是原版
2
-
3
- 本包 [`@musdrop/ds-harness-remote`](https://github.com/musdrop/ds-harness-remote) 是 [`liguobao/ds-harness-remote`](https://github.com/liguobao/ds-harness-remote)(原版 npm 包 `ds-harness-remote`)的 fork,在原有全部功能之上新增了**跨设备模型借出/借用**。
4
-
5
- **新增功能:模型共享**
6
-
7
- - **借出(Lend)**:把本机已配置的模型借给其它设备。请求由本机代发、使用本机自己的凭据——对方拿不到任何密钥,但每次调用消耗的是本机账号的额度。
8
- - **借用(Borrow)**:借用其它设备借出的模型。借到的模型出现在本机模型选择器中,以对方**设备名称**作为提供商名,其下列出具体模型。
9
- - **双向授权**:借出方按提供商/设备配置允许借出哪些模型;借用方按设备决定是否启用。只有两边都同意的模型才会出现在选择器里。
10
- - **端到端加密**:模型请求走 ds-harness-remote 既有的 Noise 加密 P2P/中继通道,凭据不出本机。
11
- - 配置入口:**设置 → 插件 → 本插件详情 → 「模型共享」区块**;也可用 CLI(`ds-harness-remote model-share show` 等),详见 [docs/model-sharing.md](https://github.com/musdrop/ds-harness-remote/blob/main/docs/model-sharing.md)。
12
-
13
- **⚠️ 与原版不能同时安装**
14
-
15
- 本包与原版 `ds-harness-remote` 使用**相同的插件 ID**(`com.r2049.ds-harness-remote`),同一个 DSH profile 里**只能装两者之一**——同时安装时插件管理器把二者视为同一插件,启用开关互相影响、无法各自独立启停。
16
-
17
- 也正因为同 ID,本包可以直接**替换**原版:卸载原版、安装本包后,原有 Remote 配置(服务器地址、已授权设备、登录状态等)全部无缝继承,无需重新配对。模型共享的借出/借用配置存在独立的 `model-share.json`,不占用原版配置字段。想恢复原版时反向操作即可。
18
-
19
- **安装本包**:先在插件管理里卸载原版 `ds-harness-remote`,再安装 `@musdrop/ds-harness-remote`,重启 DSH。
20
-
21
- 以下为原版 README。原有功能(远程工作区、会话接管、终端、文件上传下载、CodeX/ACP 等)在本包中全部可用。
22
-
23
- ---
24
-
25
- # DeepSeek Harness Remote
26
-
27
- Continue DeepSeek Harness sessions and experimental Codex, Cursor, and Antigravity workspaces from another device over an end-to-end encrypted connection.
28
-
29
- [GitHub](https://github.com/liguobao/ds-harness-remote) · [Full guide](https://github.com/liguobao/ds-harness-remote/blob/main/README.md) · [中文说明](https://github.com/liguobao/ds-harness-remote/blob/main/README.zh.md) · [Remote Web](https://dsh.r2049.cn/app) · [iOS beta](https://github.com/liguobao/ds-harness-remote/issues/20) · [Android](https://github.com/liguobao/ds-harness-remote/releases/latest) · [DSH Go](https://github.com/ccch1mneyyy/dsh-go)
30
-
31
- [DSH Go](https://github.com/ccch1mneyyy/dsh-go) is a third-party DeepSeek Harness Android client that can run DSH on your phone or connect to your computer through this plugin.
32
-
33
- `ds-harness-remote` is the Remote Host and workspace plugin for DeepSeek Harness. Harness keeps running on your work computer with its existing workspaces, tools, and permission controls; Remote gives authorized devices another window into that environment.
34
-
35
- Install the npm package through Desktop Plugin management or `dsh plugin`. Both manage the selected Harness profile and its bundle configuration.
36
-
37
- ## Remote Agent tools
38
-
39
- After signing in through the local Desktop/web-profile Remote panel, ask a native Harness Agent to list online Remote machines and the workspaces on a selected machine. The plugin registers `remote_list_hosts` (no arguments) and `remote_list_workspaces` (`hostId` from the first tool) when the official `tools` service is available.
40
-
41
- Discovery reuses Remote account authorization, pinned Host identities and encrypted transport. Queries reuse the connection to the selected Host when available and otherwise open a temporary connection. Results identify the backend (`harness`, `codex`, or an available ACP backend); failed backend catalogs appear in `unavailable`. Host names, workspace paths and explicitly requested session history become part of the calling Agent's tool context and normal Harness tool history; credentials are not returned.
42
-
43
- For native Harness workspaces (`backend: "harness"`), the same Agent can use:
44
-
45
- | Tool | Purpose |
46
- | --- | --- |
47
- | `remote_list_presets` | List available agent presets on the Remote Host (`hostId`, `backend`, optional `workspaceId`). |
48
- | `remote_list_sessions` | List root sessions in an existing workspace; live catalog pagination. |
49
- | `remote_read_session` | Read bounded native history, `agentPreset` (when reported), with an older-page cursor and explicit truncation. |
50
- | `remote_create_session` | Create an empty session in the selected workspace, optionally composing a `preset` before the first turn. |
51
- | `remote_select_preset` | Select an agent preset for a blank session before its first turn starts. |
52
- | `remote_send_message` | Queue a text task or follow-up under existing Host permissions. |
53
- | `remote_wait_sessions` | Observe up to eight sessions, for up to 60 seconds; zero requests snapshots. |
54
- | `remote_interrupt_session` | Request interruption of the current execution; does not undo edits or delete queued messages. |
55
- | `remote_upload_file` | Upload a local file to a Harness workspace root (1 GiB on LAN/direct P2P, 100 MiB on member TURN/Relay connections, 20 MiB otherwise), without overwriting existing files. |
56
- | `remote_download_file` | Download a workspace-relative file to this plugin machine’s Downloads directory (50 MiB maximum). |
57
- | `remote_get_operation` | Read an operation receipt without executing the operation again. |
58
-
59
- Session tools require explicit `hostId`, `backend` and `workspaceId`; existing-session operations also require `sessionId`. Create/send/interrupt require a unique `operationId` (16–128 letters, digits, underscores or hyphens). The same key and parameters return the same in-memory receipt; changing parameters under that key is rejected. An `accepted` send receipt means queued, not completed. After an `unknown` result, inspect the receipt and remote session instead of retrying with a new key. Receipts are lost on Remote reset, leaving Remote, logout or restart; `not_found` is not proof that an earlier operation did not execute.
60
-
61
- For example, ask: “On the Linux Host, create a Harness session in my project, run its tests, and report the result here.” The Agent discovers the target, creates and messages a session, then waits and reads its history. An `idle` status does not prove the task objective succeeded. Pending approval/question detection is limited to retained history; use the native UI to handle those requests. Waiting never approves or interrupts work automatically.
62
-
63
- For an ACP workspace, pass its discovered backend and workspaceId to list, create, read, send, wait, or interrupt. Both installations need ACP session tool support. A text send starts one turn in an idle ACP session. Handle pending approvals in the Remote UI. Codex supports workspace discovery. This entry does not register an external MCP server. For a dsh-TUI Host, install the matching standalone bundle. [dsh-TUI package guide](https://github.com/liguobao/ds-harness-remote/tree/main/packages/tui#readme)
64
-
65
- ## Install
66
-
67
- ### DSH Desktop
68
-
69
- In DeepSeek Harness Desktop, open **Extensions / Plugin management**, choose installation
70
- from **npm**, and enter:
71
-
72
- ```text
73
- ds-harness-remote@0.6.8
74
- ```
75
-
76
- Restart Desktop after installation. Its official `dsh` launcher can also install the package:
77
-
78
- ```sh
79
- dsh plugin --profile desktop add -w ds-harness-remote@0.6.8
80
- ```
81
-
82
- Use Desktop's official launcher to manage its reserved `desktop` profile.
83
-
84
- ### Existing DSH installation
85
-
86
- Add the current package version to the `web` profile, then restart Harness:
87
-
88
- ```sh
89
- dsh plugin --profile web add -w ds-harness-remote@0.6.8
90
- ```
91
-
92
- ## What’s new in 0.6.8
93
-
94
- - The Host loads even when the optional `@deepseek-ai/dsh-client-connection` package is absent. When the running Harness provides a Connection service, the Host can use it to create owner peers.
95
- - Mobile clients can hand a conversation to another agent, review a workspace Git diff, and select changes for follow-up. The attention inbox brings pending approvals and questions together. [Release notes](https://github.com/liguobao/ds-harness-remote/blob/main/docs/CHANGELOG.md#068)
96
-
97
- ## Highlights
98
-
99
- - Continue active Harness sessions and review progress from another computer, the web, or Android.
100
- - Send text and image prompts, answer questions, and handle permission requests.
101
- - Open workspaces on another authorized computer without replacing the native Harness interface.
102
- - Use the official workspace file tree and bounded read-only previews on supported Harness versions.
103
- - Use an optional Host-local terminal and authorized loopback development-service previews.
104
- - Open Host Codex projects in the existing Remote UI through the optional experimental Codex domain.
105
- - Access Cursor and Antigravity workspaces through the optional experimental ACP gateway, with client-side projections kept in memory.
106
- - Reach the Host without opening a public listening port or configuring router port forwarding.
107
-
108
- ## Compatibility
109
-
110
- The development baseline is DeepSeek Harness `dsh-v0.2.3-alpha.3`, retaining the official Typert Remote / Session V3 carrier from `0.2.1-rc.5` and `0.2.0` RC. Earlier Typert carrier support remains capability-based.
111
-
112
- `0.5.19` removes Harness `0.1.1-rc.2` ApiProxy support from the Host and bundled Remote client. ApiProxy-only Hosts and missing capability discovery are rejected. CodeX/ACP Desktop projection also uses Typert only.
113
-
114
- The same package feature-detects the older settings registry and the `0.1.7-rc.1` and `0.2.0-rc.2` Volatile settings entry. Remote Web/Desktop and Android normalize released sessions that still report the retired `code` agent preset to `ptc`. The Host reads the running Harness version from the CLI entrypoint, or from the 0.2.0 Desktop shell's `@deepseek-ai/dsh-desktop-host` entrypoint when the Harness CLI package is only a sibling of that entrypoint inside `app.asar`.
115
-
116
- ## Self-hosted Server
117
-
118
- This repository includes a minimal, single-account self-hosted Relay Server in [`apps/server`](https://github.com/liguobao/ds-harness-remote/tree/main/apps/server). Configure `DSH_SERVER_ACCOUNT` and `DSH_SERVER_PASSWORD`, then point the Host and clients at the same server URL. It provides account login, device credentials, encrypted Control/Noise forwarding, Relay, and a device-status page. It does not provide the complete multi-account Server, Remote Web session UI, or WebRTC/TURN deployment.
119
-
120
- ## Security boundary
121
-
122
- - Session traffic is encrypted on the Client and decrypted only by the selected Host using `Noise_IK_25519_ChaChaPoly_SHA256`.
123
- - Account membership and the Host's locally pinned device identity must both authorize a connection.
124
- - The Host creates outbound connections only; it does not listen on a public port.
125
- - Remote does not expose general tool RPC, remote desktop, or file-mutation APIs.
126
- - Interactive terminals are enabled by default and can be disabled in the Host-local Remote settings; they run as the Host user independently of Agent approvals.
127
-
128
- ## Documentation
129
-
130
- - [Complete guide](https://github.com/liguobao/ds-harness-remote#readme)
131
- - [Codex Remote technical notes](https://github.com/liguobao/ds-harness-remote/blob/main/docs/codex-remote.md)
132
- - [Agent workspace integration guide](https://github.com/liguobao/ds-harness-remote/blob/main/docs/acp-remote.md)
133
- - [End-to-end encryption](https://github.com/liguobao/ds-harness-remote/blob/main/docs/end-to-end-encryption.md)
134
- - [Network and transport](https://github.com/liguobao/ds-harness-remote/blob/main/docs/network.md)
135
- - [Protocol reference](https://github.com/liguobao/ds-harness-remote/blob/main/docs/protocol.md)
136
- - [Changelog](https://github.com/liguobao/ds-harness-remote/blob/main/docs/CHANGELOG.md)
137
-
138
- This is an independent community project and is not an official DeepSeek product. Licensed under the [MIT License](./LICENSE).
139
-
140
- Downloads require a Harness workspace and session. Files are saved privately in a fresh `Downloads/dsh-remote-*` directory without overwriting existing files. The tool returns only the local path and byte count. It verifies version, size and chunk offsets and removes partial files on failure/cancellation. Host file limits still apply. For a browser connected to Harness, this downloads onto the machine running the plugin, not directly onto the browser device.
141
-
142
- `remote_upload_file` requires an absolute `localPath` on the plugin machine, the Harness host/workspace/session identifiers, and an `operationId`. Optional `name` sets the remote filename. Upload only files the user authorizes sending to that Host. The existing connection-scoped uploader publishes in the session workspace root, renaming collisions. The tool returns the remote filename, path and byte count; it does not send the file to the Agent as prompt text. For uncertain commit delivery, inspect the receipt and workspace rather than retrying with a new operation key.
143
-
144
- Upload size follows the actual encrypted transport: LAN and direct P2P allow up to 1 GiB (1,073,741,824 bytes); TURN and Relay allow 100 MiB with an active network membership and 20 MiB otherwise. Unknown paths allow 20 MiB. Both the client and updated Host enforce the limit throughout transfer. Falling back to relay stops an oversized upload and removes uncommitted data. Older Hosts may retain 20 MiB. The upload tool deadline is one hour; binary-capable Hosts accept up to four 256 KiB chunks in flight. Older Hosts use 64 KiB Base64 chunks.
1
+ # 这是一个 fork,不是原版
2
+
3
+ 本包 [`@musdrop/ds-harness-remote`](https://github.com/musdrop/ds-harness-remote) 是 [`liguobao/ds-harness-remote`](https://github.com/liguobao/ds-harness-remote)(原版 npm 包 `ds-harness-remote`)的 fork,在原有全部功能之上新增了**跨设备模型借出/借用**。
4
+
5
+ **新增功能:模型共享**
6
+
7
+ - **借出(Lend)**:把本机已配置的模型借给其它设备。请求由本机代发、使用本机自己的凭据——对方拿不到任何密钥,但每次调用消耗的是本机账号的额度。
8
+ - **借用(Borrow)**:借用其它设备借出的模型。借到的模型出现在本机模型选择器中,以对方**设备名称**作为提供商名,其下列出具体模型。
9
+ - **双向授权**:借出方按提供商/设备配置允许借出哪些模型;借用方按设备决定是否启用。只有两边都同意的模型才会出现在选择器里。
10
+ - **端到端加密**:模型请求走 ds-harness-remote 既有的 Noise 加密 P2P/中继通道,凭据不出本机。
11
+ - 配置入口:**设置 → 插件 → 本插件详情 → 「模型共享」区块**;也可用 CLI(`ds-harness-remote model-share show` 等),详见 [docs/model-sharing.md](https://github.com/musdrop/ds-harness-remote/blob/main/docs/model-sharing.md)。
12
+
13
+ **⚠️ 与原版不能同时安装**
14
+
15
+ 本包与原版 `ds-harness-remote` 使用**相同的插件 ID**(`com.r2049.ds-harness-remote`),同一个 DSH profile 里**只能装两者之一**——同时安装时插件管理器把二者视为同一插件,启用开关互相影响、无法各自独立启停。
16
+
17
+ 也正因为同 ID,本包可以直接**替换**原版:卸载原版、安装本包后,原有 Remote 配置(服务器地址、已授权设备、登录状态等)全部无缝继承,无需重新配对。模型共享的借出/借用配置存在独立的 `model-share.json`,不占用原版配置字段。想恢复原版时反向操作即可。
18
+
19
+ **安装本包**:先在插件管理里卸载原版 `ds-harness-remote`,再安装 `@musdrop/ds-harness-remote`,重启 DSH。
20
+
21
+ 以下为原版 README。原有功能(远程工作区、会话接管、终端、文件上传下载、CodeX/ACP 等)在本包中全部可用。
22
+
23
+ ---
24
+
25
+ # DeepSeek Harness Remote
26
+
27
+ Continue DeepSeek Harness sessions and experimental Codex, Cursor, and Antigravity workspaces from another device over an end-to-end encrypted connection.
28
+
29
+ [GitHub](https://github.com/liguobao/ds-harness-remote) · [Full guide](https://github.com/liguobao/ds-harness-remote/blob/main/README.md) · [中文说明](https://github.com/liguobao/ds-harness-remote/blob/main/README.zh.md) · [Remote Web](https://dsh.r2049.cn/app) · [iOS beta](https://github.com/liguobao/ds-harness-remote/issues/20) · [Android](https://github.com/liguobao/ds-harness-remote/releases/latest) · [DSH Go](https://github.com/ccch1mneyyy/dsh-go)
30
+
31
+ [DSH Go](https://github.com/ccch1mneyyy/dsh-go) is a third-party DeepSeek Harness Android client that can run DSH on your phone or connect to your computer through this plugin.
32
+
33
+ `ds-harness-remote` is the Remote Host and workspace plugin for DeepSeek Harness. Harness keeps running on your work computer with its existing workspaces, tools, and permission controls; Remote gives authorized devices another window into that environment.
34
+
35
+ Install the npm package through Desktop Plugin management or `dsh plugin`. Both manage the selected Harness profile and its bundle configuration.
36
+
37
+ ## Remote Agent tools
38
+
39
+ After signing in through the local Desktop/web-profile Remote panel, ask a native Harness Agent to list online Remote machines and the workspaces on a selected machine. The plugin registers `remote_list_hosts` (no arguments) and `remote_list_workspaces` (`hostId` from the first tool) when the official `tools` service is available.
40
+
41
+ Discovery reuses Remote account authorization, pinned Host identities and encrypted transport. Queries reuse the connection to the selected Host when available and otherwise open a temporary connection. Results identify the backend (`harness`, `codex`, or an available ACP backend); failed backend catalogs appear in `unavailable`. Host names, workspace paths and explicitly requested session history become part of the calling Agent's tool context and normal Harness tool history; credentials are not returned.
42
+
43
+ For native Harness workspaces (`backend: "harness"`), the same Agent can use:
44
+
45
+ | Tool | Purpose |
46
+ | --- | --- |
47
+ | `remote_list_presets` | List available agent presets on the Remote Host (`hostId`, `backend`, optional `workspaceId`). |
48
+ | `remote_list_sessions` | List root sessions in an existing workspace; live catalog pagination. |
49
+ | `remote_read_session` | Read bounded native history, `agentPreset` (when reported), with an older-page cursor and explicit truncation. |
50
+ | `remote_create_session` | Create an empty session in the selected workspace, optionally composing a `preset` before the first turn. |
51
+ | `remote_select_preset` | Select an agent preset for a blank session before its first turn starts. |
52
+ | `remote_send_message` | Queue a text task or follow-up under existing Host permissions. |
53
+ | `remote_wait_sessions` | Observe up to eight sessions, for up to 60 seconds; zero requests snapshots. |
54
+ | `remote_interrupt_session` | Request interruption of the current execution; does not undo edits or delete queued messages. |
55
+ | `remote_upload_file` | Upload a local file to a Harness workspace root (1 GiB on LAN/direct P2P, 100 MiB on member TURN/Relay connections, 20 MiB otherwise), without overwriting existing files. |
56
+ | `remote_download_file` | Download a workspace-relative file to this plugin machine’s Downloads directory (50 MiB maximum). |
57
+ | `remote_get_operation` | Read an operation receipt without executing the operation again. |
58
+
59
+ Session tools require explicit `hostId`, `backend` and `workspaceId`; existing-session operations also require `sessionId`. Create/send/interrupt require a unique `operationId` (16–128 letters, digits, underscores or hyphens). The same key and parameters return the same in-memory receipt; changing parameters under that key is rejected. An `accepted` send receipt means queued, not completed. After an `unknown` result, inspect the receipt and remote session instead of retrying with a new key. Receipts are lost on Remote reset, leaving Remote, logout or restart; `not_found` is not proof that an earlier operation did not execute.
60
+
61
+ For example, ask: “On the Linux Host, create a Harness session in my project, run its tests, and report the result here.” The Agent discovers the target, creates and messages a session, then waits and reads its history. An `idle` status does not prove the task objective succeeded. Pending approval/question detection is limited to retained history; use the native UI to handle those requests. Waiting never approves or interrupts work automatically.
62
+
63
+ For an ACP workspace, pass its discovered backend and workspaceId to list, create, read, send, wait, or interrupt. Both installations need ACP session tool support. A text send starts one turn in an idle ACP session. Handle pending approvals in the Remote UI. Codex supports workspace discovery. This entry does not register an external MCP server. For a dsh-TUI Host, install the matching standalone bundle. [dsh-TUI package guide](https://github.com/liguobao/ds-harness-remote/tree/main/packages/tui#readme)
64
+
65
+ ## Install
66
+
67
+ ### DSH Desktop
68
+
69
+ In DeepSeek Harness Desktop, open **Extensions / Plugin management**, choose installation
70
+ from **npm**, and enter:
71
+
72
+ ```text
73
+ ds-harness-remote@0.6.8
74
+ ```
75
+
76
+ Restart Desktop after installation. Its official `dsh` launcher can also install the package:
77
+
78
+ ```sh
79
+ dsh plugin --profile desktop add -w ds-harness-remote@0.6.8
80
+ ```
81
+
82
+ Use Desktop's official launcher to manage its reserved `desktop` profile.
83
+
84
+ ### Existing DSH installation
85
+
86
+ Add the current package version to the `web` profile, then restart Harness:
87
+
88
+ ```sh
89
+ dsh plugin --profile web add -w ds-harness-remote@0.6.8
90
+ ```
91
+
92
+ ## What’s new in 0.6.8
93
+
94
+ - The Host loads even when the optional `@deepseek-ai/dsh-client-connection` package is absent. When the running Harness provides a Connection service, the Host can use it to create owner peers.
95
+ - Mobile clients can hand a conversation to another agent, review a workspace Git diff, and select changes for follow-up. The attention inbox brings pending approvals and questions together. [Release notes](https://github.com/liguobao/ds-harness-remote/blob/main/docs/CHANGELOG.md#068)
96
+
97
+ ## Highlights
98
+
99
+ - Continue active Harness sessions and review progress from another computer, the web, or Android.
100
+ - Send text and image prompts, answer questions, and handle permission requests.
101
+ - Open workspaces on another authorized computer without replacing the native Harness interface.
102
+ - Use the official workspace file tree and bounded read-only previews on supported Harness versions.
103
+ - Use an optional Host-local terminal and authorized loopback development-service previews.
104
+ - Open Host Codex projects in the existing Remote UI through the optional experimental Codex domain.
105
+ - Access Cursor and Antigravity workspaces through the optional experimental ACP gateway, with client-side projections kept in memory.
106
+ - Reach the Host without opening a public listening port or configuring router port forwarding.
107
+
108
+ ## Compatibility
109
+
110
+ The development baseline is DeepSeek Harness `dsh-v0.2.3-alpha.3`, retaining the official Typert Remote / Session V3 carrier from `0.2.1-rc.5` and `0.2.0` RC. Earlier Typert carrier support remains capability-based.
111
+
112
+ `0.5.19` removes Harness `0.1.1-rc.2` ApiProxy support from the Host and bundled Remote client. ApiProxy-only Hosts and missing capability discovery are rejected. CodeX/ACP Desktop projection also uses Typert only.
113
+
114
+ The same package feature-detects the older settings registry and the `0.1.7-rc.1` and `0.2.0-rc.2` Volatile settings entry. Remote Web/Desktop and Android normalize released sessions that still report the retired `code` agent preset to `ptc`. The Host reads the running Harness version from the CLI entrypoint, or from the 0.2.0 Desktop shell's `@deepseek-ai/dsh-desktop-host` entrypoint when the Harness CLI package is only a sibling of that entrypoint inside `app.asar`.
115
+
116
+ ## Self-hosted Server
117
+
118
+ This repository includes a minimal, single-account self-hosted Relay Server in [`apps/server`](https://github.com/liguobao/ds-harness-remote/tree/main/apps/server). Configure `DSH_SERVER_ACCOUNT` and `DSH_SERVER_PASSWORD`, then point the Host and clients at the same server URL. It provides account login, device credentials, encrypted Control/Noise forwarding, Relay, and a device-status page. It does not provide the complete multi-account Server, Remote Web session UI, or WebRTC/TURN deployment.
119
+
120
+ ## Security boundary
121
+
122
+ - Session traffic is encrypted on the Client and decrypted only by the selected Host using `Noise_IK_25519_ChaChaPoly_SHA256`.
123
+ - Account membership and the Host's locally pinned device identity must both authorize a connection.
124
+ - The Host creates outbound connections only; it does not listen on a public port.
125
+ - Remote does not expose general tool RPC, remote desktop, or file-mutation APIs.
126
+ - Interactive terminals are enabled by default and can be disabled in the Host-local Remote settings; they run as the Host user independently of Agent approvals.
127
+
128
+ ## Documentation
129
+
130
+ - [Complete guide](https://github.com/liguobao/ds-harness-remote#readme)
131
+ - [Codex Remote technical notes](https://github.com/liguobao/ds-harness-remote/blob/main/docs/codex-remote.md)
132
+ - [Agent workspace integration guide](https://github.com/liguobao/ds-harness-remote/blob/main/docs/acp-remote.md)
133
+ - [End-to-end encryption](https://github.com/liguobao/ds-harness-remote/blob/main/docs/end-to-end-encryption.md)
134
+ - [Network and transport](https://github.com/liguobao/ds-harness-remote/blob/main/docs/network.md)
135
+ - [Protocol reference](https://github.com/liguobao/ds-harness-remote/blob/main/docs/protocol.md)
136
+ - [Changelog](https://github.com/liguobao/ds-harness-remote/blob/main/docs/CHANGELOG.md)
137
+
138
+ This is an independent community project and is not an official DeepSeek product. Licensed under the [MIT License](./LICENSE).
139
+
140
+ Downloads require a Harness workspace and session. Files are saved privately in a fresh `Downloads/dsh-remote-*` directory without overwriting existing files. The tool returns only the local path and byte count. It verifies version, size and chunk offsets and removes partial files on failure/cancellation. Host file limits still apply. For a browser connected to Harness, this downloads onto the machine running the plugin, not directly onto the browser device.
141
+
142
+ `remote_upload_file` requires an absolute `localPath` on the plugin machine, the Harness host/workspace/session identifiers, and an `operationId`. Optional `name` sets the remote filename. Upload only files the user authorizes sending to that Host. The existing connection-scoped uploader publishes in the session workspace root, renaming collisions. The tool returns the remote filename, path and byte count; it does not send the file to the Agent as prompt text. For uncertain commit delivery, inspect the receipt and workspace rather than retrying with a new operation key.
143
+
144
+ Upload size follows the actual encrypted transport: LAN and direct P2P allow up to 1 GiB (1,073,741,824 bytes); TURN and Relay allow 100 MiB with an active network membership and 20 MiB otherwise. Unknown paths allow 20 MiB. Both the client and updated Host enforce the limit throughout transfer. Falling back to relay stops an oversized upload and removes uncommitted data. Older Hosts may retain 20 MiB. The upload tool deadline is one hour; binary-capable Hosts accept up to four 256 KiB chunks in flight. Older Hosts use 64 KiB Base64 chunks.
package/dist/index.js CHANGED
@@ -75387,7 +75387,7 @@ function parseIpv6(value) {
75387
75387
  }
75388
75388
 
75389
75389
  // packages/plugin/src/version.ts
75390
- var PLUGIN_VERSION = "0.6.19";
75390
+ var PLUGIN_VERSION = "0.6.20";
75391
75391
 
75392
75392
  // packages/plugin/src/server-api.ts
75393
75393
  var TERMINAL_CONTROL_CHARACTERS = /[\u0000-\u001f\u007f-\u009f]/u;
@@ -93852,20 +93852,39 @@ var ClientModeRuntime = class {
93852
93852
  let held;
93853
93853
  let holding;
93854
93854
  const acquire = async () => {
93855
+ const closed = () => this.closed || this.remoteLifetime.signal.aborted;
93855
93856
  if (this.connected?.target.deviceId === hostId) {
93856
93857
  return { remote: this.connected, signal: this.remoteLifetime.signal };
93857
93858
  }
93858
- if (held !== void 0) return held;
93859
- holding ??= (async () => {
93859
+ if (held !== void 0) {
93860
+ if (!held.remote.client.getStats().connected) held = void 0;
93861
+ else return held;
93862
+ }
93863
+ if (holding !== void 0) {
93864
+ const settled = await holding.catch(() => void 0);
93865
+ if (settled !== void 0 && settled.remote.client.getStats().connected) return settled;
93866
+ holding = void 0;
93867
+ held = void 0;
93868
+ }
93869
+ holding = (async () => {
93860
93870
  if (this.identity === void 0) await this.ensureIdentity();
93861
93871
  const signal = this.remoteLifetime.signal;
93862
93872
  const remote = await this.connection.connect(hostId, signal, { background: true });
93863
- held = { remote, signal };
93873
+ const entry = { remote, signal };
93874
+ if (!remote.client.getStats().connected) {
93875
+ holding = void 0;
93876
+ throw new ClientModeError("TRANSPORT_CLOSED", "The borrowed-stream connection closed during setup.", true);
93877
+ }
93878
+ held = entry;
93864
93879
  remote.client.onClose(() => {
93865
93880
  if (held?.remote === remote) held = void 0;
93881
+ holding = void 0;
93866
93882
  });
93867
- return held;
93868
- })();
93883
+ return entry;
93884
+ })().catch((error62) => {
93885
+ holding = void 0;
93886
+ throw closed() ? new ClientModeError("CANCELLED", "The Remote runtime is closed.") : error62;
93887
+ });
93869
93888
  return holding;
93870
93889
  };
93871
93890
  const rpc = async (method, params, signal) => {
package/dsh-plugin.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://dsh.community/schemas/dsh-plugin-0.15.json",
3
3
  "id": "com.r2049.ds-harness-remote",
4
4
  "name": "@musdrop/ds-harness-remote",
5
- "version": "0.6.19",
5
+ "version": "0.6.20",
6
6
  "manifestVersion": "0.15",
7
7
  "facets": {
8
8
  "host": {
@@ -1,38 +1,38 @@
1
- ## This is a fork, not the original
2
-
3
- This plugin (`@musdrop/ds-harness-remote`) is a fork of [`liguobao/ds-harness-remote`](https://github.com/liguobao/ds-harness-remote) adding **cross-device model lending/borrowing** on top of everything below:
4
-
5
- - **Lend**: share this machine's configured models with other devices. Requests are re-driven locally with this machine's own credentials — the borrower never sees any secret, but every call spends this machine's quota.
6
- - **Borrow**: use models another device lends; they appear in the local model picker under that device's **name** as the provider.
7
- - **Two-sided grants**: the lender picks providers/devices and models; the borrower opts in per device. Only models allowed on both sides show up.
8
- - Configuration lives in this plugin's detail page, in the new **"Model sharing" section**.
9
-
10
- **⚠️ Not coinstallable with the original**: the plugin shares the original's id (`com.r2049.ds-harness-remote`), so a profile can hold only one of the two. The shared id also means this fork **replaces** the original seamlessly — existing Remote configuration and sign-in carry over. Model-sharing policy is stored in a separate `model-share.json`.
11
-
12
- The original feature tour follows.
13
-
14
- ---
15
-
16
- # DS Harness Remote
17
-
18
- [Website](https://dsh.r2049.cn/) · [Web client](https://dsh.r2049.cn/app) · [iOS beta](https://github.com/liguobao/ds-harness-remote/issues/20) · [Android download](https://github.com/liguobao/ds-harness-remote/releases/latest)
19
-
20
- Use **direct P2P connections** to continue using DeepSeek Harness on your work computer from another computer, browser, or phone. Your workspaces, sessions, tools, and project settings stay on the original computer.
21
-
22
- ## Features
23
-
24
- - Open Harness workspaces and sessions remotely, send messages, switch models, interrupt tasks, and handle approvals.
25
- - Connect to configured CodeX, Claude Code, Pi, OpenCode, and other workspaces.
26
- - Browse workspace files, preview content, and use the remote terminal when enabled.
27
- - **Direct P2P connections first**: devices exchange data directly, with no relay server carrying session data once connected; no public IP or inbound port required on the host.
28
- - **End-to-end encryption throughout**: automatically fall back to TURN or Relay when a direct connection is unavailable. Relay servers cannot decrypt session content.
29
-
30
- ## Get started
31
-
32
- 1. Install and enable the plugin on your work computer, then open **Remote** in the sidebar and sign in.
33
- 2. Sign in to the same account through Remote on another computer, the [browser client](https://dsh.r2049.cn/app), the [iOS app (beta)](https://github.com/liguobao/ds-harness-remote/issues/20), the [Android app](https://github.com/liguobao/ds-harness-remote/releases/latest), or [DSH Go](https://github.com/ccch1mneyyy/dsh-go).
34
- 3. Select an online host and workspace to continue. Keep your work computer running and connected to the internet.
35
-
36
- [DSH Go](https://github.com/ccch1mneyyy/dsh-go) is a third-party DeepSeek Harness Android client. It can run DSH locally on your phone or connect to DSH on your computer through this plugin.
37
-
38
- [Full guide](https://github.com/liguobao/ds-harness-remote/blob/main/README.md) · [Self-hosting](https://github.com/liguobao/ds-harness-remote/blob/main/apps/server/README.md) · [Report an issue](https://github.com/liguobao/ds-harness-remote/issues)
1
+ ## This is a fork, not the original
2
+
3
+ This plugin (`@musdrop/ds-harness-remote`) is a fork of [`liguobao/ds-harness-remote`](https://github.com/liguobao/ds-harness-remote) adding **cross-device model lending/borrowing** on top of everything below:
4
+
5
+ - **Lend**: share this machine's configured models with other devices. Requests are re-driven locally with this machine's own credentials — the borrower never sees any secret, but every call spends this machine's quota.
6
+ - **Borrow**: use models another device lends; they appear in the local model picker under that device's **name** as the provider.
7
+ - **Two-sided grants**: the lender picks providers/devices and models; the borrower opts in per device. Only models allowed on both sides show up.
8
+ - Configuration lives in this plugin's detail page, in the new **"Model sharing" section**.
9
+
10
+ **⚠️ Not coinstallable with the original**: the plugin shares the original's id (`com.r2049.ds-harness-remote`), so a profile can hold only one of the two. The shared id also means this fork **replaces** the original seamlessly — existing Remote configuration and sign-in carry over. Model-sharing policy is stored in a separate `model-share.json`.
11
+
12
+ The original feature tour follows.
13
+
14
+ ---
15
+
16
+ # DS Harness Remote
17
+
18
+ [Website](https://dsh.r2049.cn/) · [Web client](https://dsh.r2049.cn/app) · [iOS beta](https://github.com/liguobao/ds-harness-remote/issues/20) · [Android download](https://github.com/liguobao/ds-harness-remote/releases/latest)
19
+
20
+ Use **direct P2P connections** to continue using DeepSeek Harness on your work computer from another computer, browser, or phone. Your workspaces, sessions, tools, and project settings stay on the original computer.
21
+
22
+ ## Features
23
+
24
+ - Open Harness workspaces and sessions remotely, send messages, switch models, interrupt tasks, and handle approvals.
25
+ - Connect to configured CodeX, Claude Code, Pi, OpenCode, and other workspaces.
26
+ - Browse workspace files, preview content, and use the remote terminal when enabled.
27
+ - **Direct P2P connections first**: devices exchange data directly, with no relay server carrying session data once connected; no public IP or inbound port required on the host.
28
+ - **End-to-end encryption throughout**: automatically fall back to TURN or Relay when a direct connection is unavailable. Relay servers cannot decrypt session content.
29
+
30
+ ## Get started
31
+
32
+ 1. Install and enable the plugin on your work computer, then open **Remote** in the sidebar and sign in.
33
+ 2. Sign in to the same account through Remote on another computer, the [browser client](https://dsh.r2049.cn/app), the [iOS app (beta)](https://github.com/liguobao/ds-harness-remote/issues/20), the [Android app](https://github.com/liguobao/ds-harness-remote/releases/latest), or [DSH Go](https://github.com/ccch1mneyyy/dsh-go).
34
+ 3. Select an online host and workspace to continue. Keep your work computer running and connected to the internet.
35
+
36
+ [DSH Go](https://github.com/ccch1mneyyy/dsh-go) is a third-party DeepSeek Harness Android client. It can run DSH locally on your phone or connect to DSH on your computer through this plugin.
37
+
38
+ [Full guide](https://github.com/liguobao/ds-harness-remote/blob/main/README.md) · [Self-hosting](https://github.com/liguobao/ds-harness-remote/blob/main/apps/server/README.md) · [Report an issue](https://github.com/liguobao/ds-harness-remote/issues)
@@ -1,38 +1,38 @@
1
- ## これはフォーク版です(原版ではありません)
2
-
3
- 本プラグイン(`@musdrop/ds-harness-remote`)は [`liguobao/ds-harness-remote`](https://github.com/liguobao/ds-harness-remote) のフォークで、既存の全機能に加えて**デバイス間モデル貸借**を追加しています:
4
-
5
- - **貸出(Lend)**:このマシンが設定済みのモデルを他デバイスに貸し出します。リクエストはこのマシンが自身の資格情報で代行し、相手に秘密情報は渡りませんが、消費されるのはこのマシンのクォータです。
6
- - **借用(Borrow)**:他デバイスが貸し出したモデルを利用でき、選択器には相手の**デバイス名**をプロバイダーとして表示されます。
7
- - **双方向の許可**:貸し手はプロバイダー/デバイス/モデルを指定し、借り手はデバイスごとに有効化します。双方が許可したモデルのみ表示されます。
8
- - 設定は本プラグインの詳細ページにある**「モデル共有」セクション**で行います。
9
-
10
- **⚠️ 原版との併用不可**:原版 `ds-harness-remote` と同じプラグイン ID を持つため、同一 profile にはどちらか一方のみ。同 ID であるため、このフォークは原版をシームレスに**置き換え**でき、既存の Remote 設定とサインイン状態はそのまま引き継がれます。
11
-
12
- 以下は原版の機能紹介です。
13
-
14
- ---
15
-
16
- # DS Harness Remote
17
-
18
- [公式サイト](https://dsh.r2049.cn/) · [Web クライアント](https://dsh.r2049.cn/app) · [iOS ベータ](https://github.com/liguobao/ds-harness-remote/issues/20) · [Android ダウンロード](https://github.com/liguobao/ds-harness-remote/releases/latest)
19
-
20
- **P2P ネットワークで直接接続**し、別のパソコン、ブラウザー、スマートフォンから、作業用パソコン上の DeepSeek Harness を引き続き使えます。ワークスペース、セッション、ツール、プロジェクト設定は元のパソコンに保持されます。
21
-
22
- ## 主な機能
23
-
24
- - Harness のワークスペースとセッションを開き、メッセージ送信、モデル切り替え、タスク中断、承認操作ができます。
25
- - 設定済みの CodeX、Claude Code、Pi、OpenCode などのワークスペースに接続できます。
26
- - ワークスペースのファイル閲覧、プレビュー、有効化済みのリモートターミナルを利用できます。
27
- - **P2P 直接接続を優先**:端末間で直接データを転送し、接続後のセッションデータは中継サーバーを経由しません。ホストのパブリック IP や公開ポートは不要です。
28
- - **通信は常にエンドツーエンド暗号化**:直接接続できない場合は TURN または Relay に自動で切り替えます。中継サーバーはセッションの内容を復号できません。
29
-
30
- ## 使い始めるには
31
-
32
- 1. 作業用パソコンにプラグインをインストールして有効化し、サイドバーの **Remote** からログインします。
33
- 2. 別のパソコンの Remote、[ブラウザー](https://dsh.r2049.cn/app)、[iOS アプリ(ベータ)](https://github.com/liguobao/ds-harness-remote/issues/20)、[Android アプリ](https://github.com/liguobao/ds-harness-remote/releases/latest)、または [DSH Go](https://github.com/ccch1mneyyy/dsh-go) で同じアカウントにログインします。
34
- 3. オンラインのホストとワークスペースを選択します。作業用パソコンは起動し、インターネットに接続したままにしてください。
35
-
36
- [DSH Go](https://github.com/ccch1mneyyy/dsh-go) はサードパーティー製の DeepSeek Harness Android クライアントです。スマートフォン上で DSH を実行するほか、本プラグイン経由でパソコン上の DSH にリモート接続できます。
37
-
38
- [詳しい使い方](https://github.com/liguobao/ds-harness-remote/blob/main/README.ja.md) · [セルフホスティング](https://github.com/liguobao/ds-harness-remote/blob/main/apps/server/README.md) · [問題を報告](https://github.com/liguobao/ds-harness-remote/issues)
1
+ ## これはフォーク版です(原版ではありません)
2
+
3
+ 本プラグイン(`@musdrop/ds-harness-remote`)は [`liguobao/ds-harness-remote`](https://github.com/liguobao/ds-harness-remote) のフォークで、既存の全機能に加えて**デバイス間モデル貸借**を追加しています:
4
+
5
+ - **貸出(Lend)**:このマシンが設定済みのモデルを他デバイスに貸し出します。リクエストはこのマシンが自身の資格情報で代行し、相手に秘密情報は渡りませんが、消費されるのはこのマシンのクォータです。
6
+ - **借用(Borrow)**:他デバイスが貸し出したモデルを利用でき、選択器には相手の**デバイス名**をプロバイダーとして表示されます。
7
+ - **双方向の許可**:貸し手はプロバイダー/デバイス/モデルを指定し、借り手はデバイスごとに有効化します。双方が許可したモデルのみ表示されます。
8
+ - 設定は本プラグインの詳細ページにある**「モデル共有」セクション**で行います。
9
+
10
+ **⚠️ 原版との併用不可**:原版 `ds-harness-remote` と同じプラグイン ID を持つため、同一 profile にはどちらか一方のみ。同 ID であるため、このフォークは原版をシームレスに**置き換え**でき、既存の Remote 設定とサインイン状態はそのまま引き継がれます。
11
+
12
+ 以下は原版の機能紹介です。
13
+
14
+ ---
15
+
16
+ # DS Harness Remote
17
+
18
+ [公式サイト](https://dsh.r2049.cn/) · [Web クライアント](https://dsh.r2049.cn/app) · [iOS ベータ](https://github.com/liguobao/ds-harness-remote/issues/20) · [Android ダウンロード](https://github.com/liguobao/ds-harness-remote/releases/latest)
19
+
20
+ **P2P ネットワークで直接接続**し、別のパソコン、ブラウザー、スマートフォンから、作業用パソコン上の DeepSeek Harness を引き続き使えます。ワークスペース、セッション、ツール、プロジェクト設定は元のパソコンに保持されます。
21
+
22
+ ## 主な機能
23
+
24
+ - Harness のワークスペースとセッションを開き、メッセージ送信、モデル切り替え、タスク中断、承認操作ができます。
25
+ - 設定済みの CodeX、Claude Code、Pi、OpenCode などのワークスペースに接続できます。
26
+ - ワークスペースのファイル閲覧、プレビュー、有効化済みのリモートターミナルを利用できます。
27
+ - **P2P 直接接続を優先**:端末間で直接データを転送し、接続後のセッションデータは中継サーバーを経由しません。ホストのパブリック IP や公開ポートは不要です。
28
+ - **通信は常にエンドツーエンド暗号化**:直接接続できない場合は TURN または Relay に自動で切り替えます。中継サーバーはセッションの内容を復号できません。
29
+
30
+ ## 使い始めるには
31
+
32
+ 1. 作業用パソコンにプラグインをインストールして有効化し、サイドバーの **Remote** からログインします。
33
+ 2. 別のパソコンの Remote、[ブラウザー](https://dsh.r2049.cn/app)、[iOS アプリ(ベータ)](https://github.com/liguobao/ds-harness-remote/issues/20)、[Android アプリ](https://github.com/liguobao/ds-harness-remote/releases/latest)、または [DSH Go](https://github.com/ccch1mneyyy/dsh-go) で同じアカウントにログインします。
34
+ 3. オンラインのホストとワークスペースを選択します。作業用パソコンは起動し、インターネットに接続したままにしてください。
35
+
36
+ [DSH Go](https://github.com/ccch1mneyyy/dsh-go) はサードパーティー製の DeepSeek Harness Android クライアントです。スマートフォン上で DSH を実行するほか、本プラグイン経由でパソコン上の DSH にリモート接続できます。
37
+
38
+ [詳しい使い方](https://github.com/liguobao/ds-harness-remote/blob/main/README.ja.md) · [セルフホスティング](https://github.com/liguobao/ds-harness-remote/blob/main/apps/server/README.md) · [問題を報告](https://github.com/liguobao/ds-harness-remote/issues)
@@ -1,38 +1,38 @@
1
- ## Это форк, а не оригинал
2
-
3
- Этот плагин (`@musdrop/ds-harness-remote`) — форк [`liguobao/ds-harness-remote`](https://github.com/liguobao/ds-harness-remote), добавляющий **предоставление и заимствование моделей между устройствами** поверх всех функций ниже:
4
-
5
- - **Предоставление**: этот компьютер отдаёт свои настроенные модели другим устройствам. Запросы выполняются локально с собственными учётными данными — заёмщик не видит секретов, но расходуется квота этого компьютера.
6
- - **Заимствование**: модели, предоставленные другими устройствами, появляются в локальном выборе моделей под **именем устройства** как провайдером.
7
- - **Двусторонние правила**: владелец задаёт провайдеров/устройства и модели, заёмщик включают по устройствам. Показываются только модели, разрешённые с обеих сторон.
8
- - Настройки — в карточке этого плагина, в новом разделе **«Обмен моделями»**.
9
-
10
- **⚠️ Нельзя устанавливать вместе с оригиналом**: у плагина тот же идентификатор, что у `ds-harness-remote`, поэтому в профиле может стоять только один из них. Общий идентификатор также означает, что форк **заменяет** оригинал без потерь — существующие настройки Remote и вход в аккаунт сохраняются.
11
-
12
- Ниже — описание оригинальных функций.
13
-
14
- ---
15
-
16
- # DS Harness Remote
17
-
18
- [Сайт](https://dsh.r2049.cn/) · [Веб-клиент](https://dsh.r2049.cn/app) · [Бета для iOS](https://github.com/liguobao/ds-harness-remote/issues/20) · [Скачать для Android](https://github.com/liguobao/ds-harness-remote/releases/latest)
19
-
20
- Продолжайте работать с DeepSeek Harness на рабочем компьютере с другого компьютера, из браузера или с телефона через **прямое P2P-подключение**. Рабочие области, сессии, инструменты и настройки проектов остаются на исходном компьютере.
21
-
22
- ## Возможности
23
-
24
- - Удалённо открывайте рабочие области и сессии Harness, отправляйте сообщения, переключайте модели, прерывайте задачи и отвечайте на запросы подтверждения.
25
- - Подключайтесь к настроенным рабочим областям CodeX, Claude Code, Pi, OpenCode и других агентов.
26
- - Просматривайте файлы рабочей области, открывайте предпросмотр и пользуйтесь удалённым терминалом, если он включён.
27
- - **Сначала прямое P2P-подключение**: устройства обмениваются данными напрямую, и после подключения данные сессий не проходят через сервер-ретранслятор; публичный IP и входящий порт на хосте не нужны.
28
- - **Сквозное шифрование всегда**: если прямое подключение недоступно, используется TURN или Relay. Серверы-ретрансляторы не могут расшифровать содержимое сессий.
29
-
30
- ## Начало работы
31
-
32
- 1. Установите и включите плагин на рабочем компьютере, затем откройте **Remote** на боковой панели и войдите.
33
- 2. Войдите в тот же аккаунт через Remote на другом компьютере, в [браузерном клиенте](https://dsh.r2049.cn/app), в [приложении для iOS (бета)](https://github.com/liguobao/ds-harness-remote/issues/20), в [приложении для Android](https://github.com/liguobao/ds-harness-remote/releases/latest) или в [DSH Go](https://github.com/ccch1mneyyy/dsh-go).
34
- 3. Выберите хост в сети и рабочую область. Рабочий компьютер должен оставаться включённым и подключённым к интернету.
35
-
36
- [DSH Go](https://github.com/ccch1mneyyy/dsh-go) — сторонний Android-клиент DeepSeek Harness. Он может запускать DSH прямо на телефоне или подключаться к DSH на компьютере через этот плагин.
37
-
38
- [Полное руководство (англ.)](https://github.com/liguobao/ds-harness-remote/blob/main/README.md) · [Собственный сервер](https://github.com/liguobao/ds-harness-remote/blob/main/apps/server/README.md) · [Сообщить о проблеме](https://github.com/liguobao/ds-harness-remote/issues)
1
+ ## Это форк, а не оригинал
2
+
3
+ Этот плагин (`@musdrop/ds-harness-remote`) — форк [`liguobao/ds-harness-remote`](https://github.com/liguobao/ds-harness-remote), добавляющий **предоставление и заимствование моделей между устройствами** поверх всех функций ниже:
4
+
5
+ - **Предоставление**: этот компьютер отдаёт свои настроенные модели другим устройствам. Запросы выполняются локально с собственными учётными данными — заёмщик не видит секретов, но расходуется квота этого компьютера.
6
+ - **Заимствование**: модели, предоставленные другими устройствами, появляются в локальном выборе моделей под **именем устройства** как провайдером.
7
+ - **Двусторонние правила**: владелец задаёт провайдеров/устройства и модели, заёмщик включают по устройствам. Показываются только модели, разрешённые с обеих сторон.
8
+ - Настройки — в карточке этого плагина, в новом разделе **«Обмен моделями»**.
9
+
10
+ **⚠️ Нельзя устанавливать вместе с оригиналом**: у плагина тот же идентификатор, что у `ds-harness-remote`, поэтому в профиле может стоять только один из них. Общий идентификатор также означает, что форк **заменяет** оригинал без потерь — существующие настройки Remote и вход в аккаунт сохраняются.
11
+
12
+ Ниже — описание оригинальных функций.
13
+
14
+ ---
15
+
16
+ # DS Harness Remote
17
+
18
+ [Сайт](https://dsh.r2049.cn/) · [Веб-клиент](https://dsh.r2049.cn/app) · [Бета для iOS](https://github.com/liguobao/ds-harness-remote/issues/20) · [Скачать для Android](https://github.com/liguobao/ds-harness-remote/releases/latest)
19
+
20
+ Продолжайте работать с DeepSeek Harness на рабочем компьютере с другого компьютера, из браузера или с телефона через **прямое P2P-подключение**. Рабочие области, сессии, инструменты и настройки проектов остаются на исходном компьютере.
21
+
22
+ ## Возможности
23
+
24
+ - Удалённо открывайте рабочие области и сессии Harness, отправляйте сообщения, переключайте модели, прерывайте задачи и отвечайте на запросы подтверждения.
25
+ - Подключайтесь к настроенным рабочим областям CodeX, Claude Code, Pi, OpenCode и других агентов.
26
+ - Просматривайте файлы рабочей области, открывайте предпросмотр и пользуйтесь удалённым терминалом, если он включён.
27
+ - **Сначала прямое P2P-подключение**: устройства обмениваются данными напрямую, и после подключения данные сессий не проходят через сервер-ретранслятор; публичный IP и входящий порт на хосте не нужны.
28
+ - **Сквозное шифрование всегда**: если прямое подключение недоступно, используется TURN или Relay. Серверы-ретрансляторы не могут расшифровать содержимое сессий.
29
+
30
+ ## Начало работы
31
+
32
+ 1. Установите и включите плагин на рабочем компьютере, затем откройте **Remote** на боковой панели и войдите.
33
+ 2. Войдите в тот же аккаунт через Remote на другом компьютере, в [браузерном клиенте](https://dsh.r2049.cn/app), в [приложении для iOS (бета)](https://github.com/liguobao/ds-harness-remote/issues/20), в [приложении для Android](https://github.com/liguobao/ds-harness-remote/releases/latest) или в [DSH Go](https://github.com/ccch1mneyyy/dsh-go).
34
+ 3. Выберите хост в сети и рабочую область. Рабочий компьютер должен оставаться включённым и подключённым к интернету.
35
+
36
+ [DSH Go](https://github.com/ccch1mneyyy/dsh-go) — сторонний Android-клиент DeepSeek Harness. Он может запускать DSH прямо на телефоне или подключаться к DSH на компьютере через этот плагин.
37
+
38
+ [Полное руководство (англ.)](https://github.com/liguobao/ds-harness-remote/blob/main/README.md) · [Собственный сервер](https://github.com/liguobao/ds-harness-remote/blob/main/apps/server/README.md) · [Сообщить о проблеме](https://github.com/liguobao/ds-harness-remote/issues)
@@ -1,38 +1,38 @@
1
- ## Це форк, а не оригінал
2
-
3
- Цей плагін (`@musdrop/ds-harness-remote`) — форк [`liguobao/ds-harness-remote`](https://github.com/liguobao/ds-harness-remote), що додає **надання та позичання моделей між пристроями** поверх усіх функцій нижче:
4
-
5
- - **Надання**: цей комп'ютер віддає свої налаштовані моделі іншим пристроям. Запити виконуються локально з власними обліковими даними — позичальник не бачить секретів, але витрачається квота цього комп'ютера.
6
- - **Позичання**: моделі, надані іншими пристроями, з'являються в локальному виборі моделей під **іменем пристрою** як провайдером.
7
- - **Двосторонні правила**: власник задає провайдерів/пристрої та моделі, позичальник вмикає за пристроями. Показуються лише моделі, дозволені з обох боків.
8
- - Налаштування — в картці цього плагіна, в новому розділі **«Модельний обмін»**.
9
-
10
- **⚠️ Не можна встановлювати разом з оригіналом**: у плагіна той самий ідентифікатор, що й у `ds-harness-remote`, тож у профілі може бути лише один з них. Спільний ідентифікатор також означає, що форк **замінює** оригінал без втрат — наявні налаштування Remote та вхід в акаунт зберігаються.
11
-
12
- Нижче — опис оригінальних функцій.
13
-
14
- ---
15
-
16
- # DS Harness Remote
17
-
18
- [Сайт](https://dsh.r2049.cn/) · [Вебклієнт](https://dsh.r2049.cn/app) · [Бета для iOS](https://github.com/liguobao/ds-harness-remote/issues/20) · [Завантажити для Android](https://github.com/liguobao/ds-harness-remote/releases/latest)
19
-
20
- Продовжуйте працювати з DeepSeek Harness на робочому компʼютері з іншого компʼютера, у браузері або з телефона через **пряме P2P-зʼєднання**. Робочі простори, сесії, інструменти й налаштування проєктів залишаються на вихідному компʼютері.
21
-
22
- ## Можливості
23
-
24
- - Віддалено відкривайте робочі простори й сесії Harness, надсилайте повідомлення, перемикайте моделі, переривайте завдання та відповідайте на запити підтвердження.
25
- - Підключайтеся до налаштованих робочих просторів CodeX, Claude Code, Pi, OpenCode та інших агентів.
26
- - Переглядайте файли робочого простору, відкривайте попередній перегляд і користуйтеся віддаленим терміналом, якщо його ввімкнено.
27
- - **Спершу пряме P2P-зʼєднання**: пристрої обмінюються даними напряму, і після підключення дані сесій не проходять через сервер-ретранслятор; публічна IP-адреса та вхідний порт на хості не потрібні.
28
- - **Наскрізне шифрування завжди**: якщо пряме зʼєднання недоступне, використовується TURN або Relay. Сервери-ретранслятори не можуть розшифрувати вміст сесій.
29
-
30
- ## Початок роботи
31
-
32
- 1. Встановіть і ввімкніть плагін на робочому компʼютері, потім відкрийте **Remote** на бічній панелі та увійдіть.
33
- 2. Увійдіть у той самий обліковий запис через Remote на іншому компʼютері, у [браузерному клієнті](https://dsh.r2049.cn/app), у [застосунку для iOS (бета)](https://github.com/liguobao/ds-harness-remote/issues/20), у [застосунку для Android](https://github.com/liguobao/ds-harness-remote/releases/latest) або в [DSH Go](https://github.com/ccch1mneyyy/dsh-go).
34
- 3. Виберіть хост у мережі та робочий простір. Робочий компʼютер має залишатися ввімкненим і підключеним до інтернету.
35
-
36
- [DSH Go](https://github.com/ccch1mneyyy/dsh-go) — сторонній Android-клієнт DeepSeek Harness. Він може запускати DSH безпосередньо на телефоні або підключатися до DSH на компʼютері через цей плагін.
37
-
38
- [Повний посібник (англ.)](https://github.com/liguobao/ds-harness-remote/blob/main/README.md) · [Власний сервер](https://github.com/liguobao/ds-harness-remote/blob/main/apps/server/README.md) · [Повідомити про проблему](https://github.com/liguobao/ds-harness-remote/issues)
1
+ ## Це форк, а не оригінал
2
+
3
+ Цей плагін (`@musdrop/ds-harness-remote`) — форк [`liguobao/ds-harness-remote`](https://github.com/liguobao/ds-harness-remote), що додає **надання та позичання моделей між пристроями** поверх усіх функцій нижче:
4
+
5
+ - **Надання**: цей комп'ютер віддає свої налаштовані моделі іншим пристроям. Запити виконуються локально з власними обліковими даними — позичальник не бачить секретів, але витрачається квота цього комп'ютера.
6
+ - **Позичання**: моделі, надані іншими пристроями, з'являються в локальному виборі моделей під **іменем пристрою** як провайдером.
7
+ - **Двосторонні правила**: власник задає провайдерів/пристрої та моделі, позичальник вмикає за пристроями. Показуються лише моделі, дозволені з обох боків.
8
+ - Налаштування — в картці цього плагіна, в новому розділі **«Модельний обмін»**.
9
+
10
+ **⚠️ Не можна встановлювати разом з оригіналом**: у плагіна той самий ідентифікатор, що й у `ds-harness-remote`, тож у профілі може бути лише один з них. Спільний ідентифікатор також означає, що форк **замінює** оригінал без втрат — наявні налаштування Remote та вхід в акаунт зберігаються.
11
+
12
+ Нижче — опис оригінальних функцій.
13
+
14
+ ---
15
+
16
+ # DS Harness Remote
17
+
18
+ [Сайт](https://dsh.r2049.cn/) · [Вебклієнт](https://dsh.r2049.cn/app) · [Бета для iOS](https://github.com/liguobao/ds-harness-remote/issues/20) · [Завантажити для Android](https://github.com/liguobao/ds-harness-remote/releases/latest)
19
+
20
+ Продовжуйте працювати з DeepSeek Harness на робочому компʼютері з іншого компʼютера, у браузері або з телефона через **пряме P2P-зʼєднання**. Робочі простори, сесії, інструменти й налаштування проєктів залишаються на вихідному компʼютері.
21
+
22
+ ## Можливості
23
+
24
+ - Віддалено відкривайте робочі простори й сесії Harness, надсилайте повідомлення, перемикайте моделі, переривайте завдання та відповідайте на запити підтвердження.
25
+ - Підключайтеся до налаштованих робочих просторів CodeX, Claude Code, Pi, OpenCode та інших агентів.
26
+ - Переглядайте файли робочого простору, відкривайте попередній перегляд і користуйтеся віддаленим терміналом, якщо його ввімкнено.
27
+ - **Спершу пряме P2P-зʼєднання**: пристрої обмінюються даними напряму, і після підключення дані сесій не проходять через сервер-ретранслятор; публічна IP-адреса та вхідний порт на хості не потрібні.
28
+ - **Наскрізне шифрування завжди**: якщо пряме зʼєднання недоступне, використовується TURN або Relay. Сервери-ретранслятори не можуть розшифрувати вміст сесій.
29
+
30
+ ## Початок роботи
31
+
32
+ 1. Встановіть і ввімкніть плагін на робочому компʼютері, потім відкрийте **Remote** на бічній панелі та увійдіть.
33
+ 2. Увійдіть у той самий обліковий запис через Remote на іншому компʼютері, у [браузерному клієнті](https://dsh.r2049.cn/app), у [застосунку для iOS (бета)](https://github.com/liguobao/ds-harness-remote/issues/20), у [застосунку для Android](https://github.com/liguobao/ds-harness-remote/releases/latest) або в [DSH Go](https://github.com/ccch1mneyyy/dsh-go).
34
+ 3. Виберіть хост у мережі та робочий простір. Робочий компʼютер має залишатися ввімкненим і підключеним до інтернету.
35
+
36
+ [DSH Go](https://github.com/ccch1mneyyy/dsh-go) — сторонній Android-клієнт DeepSeek Harness. Він може запускати DSH безпосередньо на телефоні або підключатися до DSH на компʼютері через цей плагін.
37
+
38
+ [Повний посібник (англ.)](https://github.com/liguobao/ds-harness-remote/blob/main/README.md) · [Власний сервер](https://github.com/liguobao/ds-harness-remote/blob/main/apps/server/README.md) · [Повідомити про проблему](https://github.com/liguobao/ds-harness-remote/issues)
@@ -1,38 +1,38 @@
1
- ## 这是一个 fork,不是原版
2
-
3
- 本插件(`@musdrop/ds-harness-remote`)是 [`liguobao/ds-harness-remote`](https://github.com/liguobao/ds-harness-remote) 的 fork,在原有全部功能之上新增了**跨设备模型借出/借用**:
4
-
5
- - **借出**:把本机已配置的模型借给其它设备。请求由本机代发、使用本机自己的凭据——对方拿不到任何密钥,但每次调用消耗的是本机账号的额度。
6
- - **借用**:借用其它设备借出的模型,借到的模型以对方**设备名**作为提供商出现在本机模型选择器中。
7
- - **双向授权**:借出方按提供商/设备配置允许借出的模型,借用方按设备决定是否启用;两边都同意的模型才会出现。
8
- - 配置入口:本插件详情页下方新增的**「模型共享」区块**。
9
-
10
- **⚠️ 与原版不能同时安装**:本插件与原版 `ds-harness-remote` 使用相同插件 ID,同一 profile 只能装其一。同 ID 也意味着本插件可直接**替换**原版,原有 Remote 配置与登录状态无缝继承。模型共享的授权配置存在独立的 `model-share.json`,不影响原版配置字段。
11
-
12
- 以下为原版功能介绍。
13
-
14
- ---
15
-
16
- # DS Harness Remote
17
-
18
- [官方网站](https://dsh.r2049.cn/) · [Web 客户端](https://dsh.r2049.cn/app) · [iOS 内测](https://github.com/liguobao/ds-harness-remote/issues/20) · [Android 下载](https://github.com/liguobao/ds-harness-remote/releases/latest)
19
-
20
- 通过 **P2P 网络直连**,从另一台电脑、浏览器或手机,继续使用工作电脑上的 DeepSeek Harness。工作区、会话、工具和项目配置仍保留在原来的电脑上。
21
-
22
- ## 主要功能
23
-
24
- - 远程打开 Harness 工作区与会话,发送消息、切换模型、处理中断和审批。
25
- - 连接已配置的 CodeX、Claude Code、Pi、OpenCode 等工作区。
26
- - 浏览工作区文件、预览内容,并使用已启用的远程终端。
27
- - **P2P 网络直连优先**:设备之间直接传输数据,直连成功后会话数据无需经过中继服务器;主机无需公网 IP 或开放公网端口。
28
- - **全程端到端加密**:直连不可用时自动回退到 TURN 或 Relay 中继,中继服务器无法解密会话内容。
29
-
30
- ## 开始使用
31
-
32
- 1. 在工作电脑安装并启用插件,打开侧栏 **Remote** 登录账号。
33
- 2. 在另一台电脑的 Remote、[浏览器](https://dsh.r2049.cn/app)、[iOS 客户端(内测)](https://github.com/liguobao/ds-harness-remote/issues/20)、[Android 客户端](https://github.com/liguobao/ds-harness-remote/releases/latest)或 [DSH Go](https://github.com/ccch1mneyyy/dsh-go) 登录同一账号。
34
- 3. 选择在线主机和工作区,继续对话。工作电脑需保持运行并联网。
35
-
36
- [DSH Go](https://github.com/ccch1mneyyy/dsh-go) 是第三方 DeepSeek Harness Android 客户端,既可在手机本机运行 DSH,也可通过本插件远程连接电脑上的 DSH。
37
-
38
- [完整说明](https://github.com/liguobao/ds-harness-remote/blob/main/README.zh.md) · [自部署指南](https://github.com/liguobao/ds-harness-remote/blob/main/apps/server/README.zh.md) · [反馈问题](https://github.com/liguobao/ds-harness-remote/issues)
1
+ ## 这是一个 fork,不是原版
2
+
3
+ 本插件(`@musdrop/ds-harness-remote`)是 [`liguobao/ds-harness-remote`](https://github.com/liguobao/ds-harness-remote) 的 fork,在原有全部功能之上新增了**跨设备模型借出/借用**:
4
+
5
+ - **借出**:把本机已配置的模型借给其它设备。请求由本机代发、使用本机自己的凭据——对方拿不到任何密钥,但每次调用消耗的是本机账号的额度。
6
+ - **借用**:借用其它设备借出的模型,借到的模型以对方**设备名**作为提供商出现在本机模型选择器中。
7
+ - **双向授权**:借出方按提供商/设备配置允许借出的模型,借用方按设备决定是否启用;两边都同意的模型才会出现。
8
+ - 配置入口:本插件详情页下方新增的**「模型共享」区块**。
9
+
10
+ **⚠️ 与原版不能同时安装**:本插件与原版 `ds-harness-remote` 使用相同插件 ID,同一 profile 只能装其一。同 ID 也意味着本插件可直接**替换**原版,原有 Remote 配置与登录状态无缝继承。模型共享的授权配置存在独立的 `model-share.json`,不影响原版配置字段。
11
+
12
+ 以下为原版功能介绍。
13
+
14
+ ---
15
+
16
+ # DS Harness Remote
17
+
18
+ [官方网站](https://dsh.r2049.cn/) · [Web 客户端](https://dsh.r2049.cn/app) · [iOS 内测](https://github.com/liguobao/ds-harness-remote/issues/20) · [Android 下载](https://github.com/liguobao/ds-harness-remote/releases/latest)
19
+
20
+ 通过 **P2P 网络直连**,从另一台电脑、浏览器或手机,继续使用工作电脑上的 DeepSeek Harness。工作区、会话、工具和项目配置仍保留在原来的电脑上。
21
+
22
+ ## 主要功能
23
+
24
+ - 远程打开 Harness 工作区与会话,发送消息、切换模型、处理中断和审批。
25
+ - 连接已配置的 CodeX、Claude Code、Pi、OpenCode 等工作区。
26
+ - 浏览工作区文件、预览内容,并使用已启用的远程终端。
27
+ - **P2P 网络直连优先**:设备之间直接传输数据,直连成功后会话数据无需经过中继服务器;主机无需公网 IP 或开放公网端口。
28
+ - **全程端到端加密**:直连不可用时自动回退到 TURN 或 Relay 中继,中继服务器无法解密会话内容。
29
+
30
+ ## 开始使用
31
+
32
+ 1. 在工作电脑安装并启用插件,打开侧栏 **Remote** 登录账号。
33
+ 2. 在另一台电脑的 Remote、[浏览器](https://dsh.r2049.cn/app)、[iOS 客户端(内测)](https://github.com/liguobao/ds-harness-remote/issues/20)、[Android 客户端](https://github.com/liguobao/ds-harness-remote/releases/latest)或 [DSH Go](https://github.com/ccch1mneyyy/dsh-go) 登录同一账号。
34
+ 3. 选择在线主机和工作区,继续对话。工作电脑需保持运行并联网。
35
+
36
+ [DSH Go](https://github.com/ccch1mneyyy/dsh-go) 是第三方 DeepSeek Harness Android 客户端,既可在手机本机运行 DSH,也可通过本插件远程连接电脑上的 DSH。
37
+
38
+ [完整说明](https://github.com/liguobao/ds-harness-remote/blob/main/README.zh.md) · [自部署指南](https://github.com/liguobao/ds-harness-remote/blob/main/apps/server/README.zh.md) · [反馈问题](https://github.com/liguobao/ds-harness-remote/issues)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@musdrop/ds-harness-remote",
3
- "version": "0.6.19",
3
+ "version": "0.6.20",
4
4
  "description": "P2P-based, end-to-end encrypted remote access to DeepSeek Harness, CodeX, Claude Code, Pi, and other workspaces from web and mobile clients. Fork adding cross-device model lending/borrowing.",
5
5
  "keywords": [
6
6
  "deepseek",