@musdrop/ds-harness-remote 0.6.16 → 0.6.19

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,145 +1,144 @@
1
- > [!IMPORTANT]
2
- > # 这是一个 fork,不是原版
3
- >
4
- > 本包 [`@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,在原有全部功能之上新增了**跨设备模型借出/借用**。
5
- >
6
- > **新增功能:模型共享**
7
- >
8
- > - **借出(Lend)**:把本机已配置的模型借给其它设备。请求由本机代发、使用本机自己的凭据——对方拿不到任何密钥,但每次调用消耗的是本机账号的额度。
9
- > - **借用(Borrow)**:借用其它设备借出的模型。借到的模型出现在本机模型选择器中,以对方**设备名称**作为提供商名,其下列出具体模型。
10
- > - **双向授权**:借出方按提供商/设备配置允许借出哪些模型;借用方按设备决定是否启用。只有两边都同意的模型才会出现在选择器里。
11
- > - **端到端加密**:模型请求走 ds-harness-remote 既有的 Noise 加密 P2P/中继通道,凭据不出本机。
12
- > - 配置入口:**设置 → 插件 → 本插件详情 → 「模型共享」区块**;也可用 CLI(`ds-harness-remote model-share show` 等),详见 [docs/model-sharing.md](https://github.com/musdrop/ds-harness-remote/blob/main/docs/model-sharing.md)。
13
- >
14
- > **⚠️ 与原版不能同时安装**
15
- >
16
- > 本包与原版 `ds-harness-remote` 使用**相同的插件 ID**(`com.r2049.ds-harness-remote`),同一个 DSH profile 里**只能装两者之一**——同时安装时插件管理器把二者视为同一插件,启用开关互相影响、无法各自独立启停。
17
- >
18
- > 也正因为同 ID,本包可以直接**替换**原版:卸载原版、安装本包后,原有 Remote 配置(服务器地址、已授权设备、登录状态等)全部无缝继承,无需重新配对。模型共享的借出/借用配置存在独立的 `model-share.json`,不占用原版配置字段。想恢复原版时反向操作即可。
19
- >
20
- > **安装本包**:先在插件管理里卸载原版 `ds-harness-remote`,再安装 `@musdrop/ds-harness-remote`,重启 DSH。
21
- >
22
- > 以下为原版 README。原有功能(远程工作区、会话接管、终端、文件上传下载、CodeX/ACP 等)在本包中全部可用。
23
-
24
- ---
25
-
26
- # DeepSeek Harness Remote
27
-
28
- Continue DeepSeek Harness sessions and experimental Codex, Cursor, and Antigravity workspaces from another device over an end-to-end encrypted connection.
29
-
30
- [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)
31
-
32
- [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.
33
-
34
- `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.
35
-
36
- > Install the npm package through Desktop Plugin management or `dsh plugin`. Both manage the selected Harness profile and its bundle configuration.
37
-
38
- ## Remote Agent tools
39
-
40
- 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.
41
-
42
- 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.
43
-
44
- For native Harness workspaces (`backend: "harness"`), the same Agent can use:
45
-
46
- | Tool | Purpose |
47
- | --- | --- |
48
- | `remote_list_presets` | List available agent presets on the Remote Host (`hostId`, `backend`, optional `workspaceId`). |
49
- | `remote_list_sessions` | List root sessions in an existing workspace; live catalog pagination. |
50
- | `remote_read_session` | Read bounded native history, `agentPreset` (when reported), with an older-page cursor and explicit truncation. |
51
- | `remote_create_session` | Create an empty session in the selected workspace, optionally composing a `preset` before the first turn. |
52
- | `remote_select_preset` | Select an agent preset for a blank session before its first turn starts. |
53
- | `remote_send_message` | Queue a text task or follow-up under existing Host permissions. |
54
- | `remote_wait_sessions` | Observe up to eight sessions, for up to 60 seconds; zero requests snapshots. |
55
- | `remote_interrupt_session` | Request interruption of the current execution; does not undo edits or delete queued messages. |
56
- | `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. |
57
- | `remote_download_file` | Download a workspace-relative file to this plugin machine’s Downloads directory (50 MiB maximum). |
58
- | `remote_get_operation` | Read an operation receipt without executing the operation again. |
59
-
60
- 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.
61
-
62
- 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.
63
-
64
- 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)
65
-
66
- ## Install
67
-
68
- ### DSH Desktop
69
-
70
- In DeepSeek Harness Desktop, open **Extensions / Plugin management**, choose installation
71
- from **npm**, and enter:
72
-
73
- ```text
74
- ds-harness-remote@0.6.8
75
- ```
76
-
77
- Restart Desktop after installation. Its official `dsh` launcher can also install the package:
78
-
79
- ```sh
80
- dsh plugin --profile desktop add -w ds-harness-remote@0.6.8
81
- ```
82
-
83
- Use Desktop's official launcher to manage its reserved `desktop` profile.
84
-
85
- ### Existing DSH installation
86
-
87
- Add the current package version to the `web` profile, then restart Harness:
88
-
89
- ```sh
90
- dsh plugin --profile web add -w ds-harness-remote@0.6.8
91
- ```
92
-
93
- ## What’s new in 0.6.8
94
-
95
- - 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.
96
- - 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)
97
-
98
- ## Highlights
99
-
100
- - Continue active Harness sessions and review progress from another computer, the web, or Android.
101
- - Send text and image prompts, answer questions, and handle permission requests.
102
- - Open workspaces on another authorized computer without replacing the native Harness interface.
103
- - Use the official workspace file tree and bounded read-only previews on supported Harness versions.
104
- - Use an optional Host-local terminal and authorized loopback development-service previews.
105
- - Open Host Codex projects in the existing Remote UI through the optional experimental Codex domain.
106
- - Access Cursor and Antigravity workspaces through the optional experimental ACP gateway, with client-side projections kept in memory.
107
- - Reach the Host without opening a public listening port or configuring router port forwarding.
108
-
109
- ## Compatibility
110
-
111
- 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.
112
-
113
- `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.
114
-
115
- 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`.
116
-
117
- ## Self-hosted Server
118
-
119
- 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.
120
-
121
- ## Security boundary
122
-
123
- - Session traffic is encrypted on the Client and decrypted only by the selected Host using `Noise_IK_25519_ChaChaPoly_SHA256`.
124
- - Account membership and the Host's locally pinned device identity must both authorize a connection.
125
- - The Host creates outbound connections only; it does not listen on a public port.
126
- - Remote does not expose general tool RPC, remote desktop, or file-mutation APIs.
127
- - 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.
128
-
129
- ## Documentation
130
-
131
- - [Complete guide](https://github.com/liguobao/ds-harness-remote#readme)
132
- - [Codex Remote technical notes](https://github.com/liguobao/ds-harness-remote/blob/main/docs/codex-remote.md)
133
- - [Agent workspace integration guide](https://github.com/liguobao/ds-harness-remote/blob/main/docs/acp-remote.md)
134
- - [End-to-end encryption](https://github.com/liguobao/ds-harness-remote/blob/main/docs/end-to-end-encryption.md)
135
- - [Network and transport](https://github.com/liguobao/ds-harness-remote/blob/main/docs/network.md)
136
- - [Protocol reference](https://github.com/liguobao/ds-harness-remote/blob/main/docs/protocol.md)
137
- - [Changelog](https://github.com/liguobao/ds-harness-remote/blob/main/docs/CHANGELOG.md)
138
-
139
- This is an independent community project and is not an official DeepSeek product. Licensed under the [MIT License](./LICENSE).
140
-
141
- 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.
142
-
143
- `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.
144
-
145
- 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/client.js CHANGED
@@ -2191,6 +2191,7 @@ If a code was sent, recover the original submission without changing it.`,
2191
2191
  hermesVirtualWorkspace: "Hermes virtual workspace",
2192
2192
  kimiVirtualWorkspace: "Kimi virtual workspace",
2193
2193
  codexVirtualSessions: "Sessions",
2194
+ // [model-sharing] BEGIN — model-sharing strings, appended after upstream's last key.
2194
2195
  modelSharing: "Model sharing",
2195
2196
  modelSharingHint: "Lend your models to other devices, or borrow models from them.",
2196
2197
  modelShareLending: "Lend models",
@@ -2226,6 +2227,7 @@ If a code was sent, recover the original submission without changing it.`,
2226
2227
  modelShareSaveEdit: "Save rule",
2227
2228
  modelShareSelectModelsHint: "No models selected yet",
2228
2229
  modelShareClearDraft: "Clear form"
2230
+ // [model-sharing] END
2229
2231
  }, zh = {
2230
2232
  uploadTooLarge: "\u6587\u4EF6\u8D85\u8FC7\u5F53\u524D\u8FDE\u63A5\u7684\u5355\u6587\u4EF6\u4E0A\u4F20\u4E0A\u9650\uFF08{size}\uFF09\u3002",
2231
2233
  relayUploadTooLarge: "\u6587\u4EF6\u8D85\u8FC7\u5F53\u524D\u8FDE\u63A5\u7684\u5355\u6587\u4EF6\u4E0A\u4F20\u4E0A\u9650\uFF08{size}\uFF09\u3002Relay \u548C TURN \u4E0A\u4F20\u65F6\uFF0C\u666E\u901A\u7528\u6237\u6BCF\u4E2A\u6587\u4EF6\u6700\u591A 20 MiB\uFF0C\u652F\u6301\u4F1A\u5458\u989D\u5EA6\u7684\u8FDE\u63A5\u6700\u591A 100 MiB\u3002",
@@ -2639,6 +2641,7 @@ DSH Go \u626B\u7801\u6682\u4E0D\u652F\u6301\u591A\u53F0\u8BBE\u5907\u63A7\u5236\
2639
2641
  hermesVirtualWorkspace: "Hermes \u5DE5\u4F5C\u533A",
2640
2642
  kimiVirtualWorkspace: "Kimi \u5DE5\u4F5C\u533A",
2641
2643
  codexVirtualSessions: "Sessions",
2644
+ // [model-sharing] BEGIN — model-sharing strings, appended after upstream's last key.
2642
2645
  modelSharing: "\u6A21\u578B\u5171\u4EAB",
2643
2646
  modelSharingHint: "\u628A\u672C\u673A\u6A21\u578B\u501F\u7ED9\u5176\u4ED6\u8BBE\u5907\uFF0C\u6216\u501F\u7528\u5176\u4ED6\u8BBE\u5907\u7684\u6A21\u578B\u3002",
2644
2647
  modelShareLending: "\u501F\u51FA\u6A21\u578B",
@@ -2674,6 +2677,7 @@ DSH Go \u626B\u7801\u6682\u4E0D\u652F\u6301\u591A\u53F0\u8BBE\u5907\u63A7\u5236\
2674
2677
  modelShareSaveEdit: "\u4FDD\u5B58\u89C4\u5219",
2675
2678
  modelShareSelectModelsHint: "\u5C1A\u672A\u9009\u62E9\u6A21\u578B",
2676
2679
  modelShareClearDraft: "\u6E05\u7A7A\u8868\u5355"
2680
+ // [model-sharing] END
2677
2681
  }, ru = {
2678
2682
  uploadTooLarge: "\u0424\u0430\u0439\u043B \u043F\u0440\u0435\u0432\u044B\u0448\u0430\u0435\u0442 \u0442\u0435\u043A\u0443\u0449\u0438\u0439 \u043B\u0438\u043C\u0438\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0438 ({size}).",
2679
2683
  relayUploadTooLarge: "\u0424\u0430\u0439\u043B \u043F\u0440\u0435\u0432\u044B\u0448\u0430\u0435\u0442 \u0442\u0435\u043A\u0443\u0449\u0438\u0439 \u043B\u0438\u043C\u0438\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0438 ({size}). \u0427\u0435\u0440\u0435\u0437 Relay \u0438 TURN \u043B\u0438\u043C\u0438\u0442 \u0441\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 20 \u041C\u0438\u0411 \u043D\u0430 \u0444\u0430\u0439\u043B \u0438\u043B\u0438 100 \u041C\u0438\u0411, \u0435\u0441\u043B\u0438 \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043B\u0438\u043C\u0438\u0442 \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438.",
@@ -3087,6 +3091,7 @@ DSH Go \u626B\u7801\u6682\u4E0D\u652F\u6301\u591A\u53F0\u8BBE\u5907\u63A7\u5236\
3087
3091
  hermesVirtualWorkspace: "\u0412\u0438\u0440\u0442\u0443\u0430\u043B\u044C\u043D\u0430\u044F \u0440\u0430\u0431\u043E\u0447\u0430\u044F \u043E\u0431\u043B\u0430\u0441\u0442\u044C Hermes",
3088
3092
  kimiVirtualWorkspace: "\u0412\u0438\u0440\u0442\u0443\u0430\u043B\u044C\u043D\u0430\u044F \u0440\u0430\u0431\u043E\u0447\u0430\u044F \u043E\u0431\u043B\u0430\u0441\u0442\u044C Kimi",
3089
3093
  codexVirtualSessions: "\u0421\u0435\u0441\u0441\u0438\u0438",
3094
+ // [model-sharing] BEGIN — model-sharing strings, appended after upstream's last key.
3090
3095
  modelSharing: "\u041E\u0431\u043C\u0435\u043D \u043C\u043E\u0434\u0435\u043B\u044F\u043C\u0438",
3091
3096
  modelSharingHint: "\u041F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0439\u0442\u0435 \u043C\u043E\u0434\u0435\u043B\u0438 \u0434\u0440\u0443\u0433\u0438\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430\u043C \u0438\u043B\u0438 \u0437\u0430\u0438\u043C\u0441\u0442\u0432\u0443\u0439\u0442\u0435 \u043C\u043E\u0434\u0435\u043B\u0438 \u0441 \u0434\u0440\u0443\u0433\u0438\u0445 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432.",
3092
3097
  modelShareLending: "\u041F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043C\u043E\u0434\u0435\u043B\u0435\u0439",
@@ -3122,6 +3127,7 @@ DSH Go \u626B\u7801\u6682\u4E0D\u652F\u6301\u591A\u53F0\u8BBE\u5907\u63A7\u5236\
3122
3127
  modelShareSaveEdit: "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043F\u0440\u0430\u0432\u0438\u043B\u043E",
3123
3128
  modelShareSelectModelsHint: "\u041C\u043E\u0434\u0435\u043B\u0438 \u043D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u044B",
3124
3129
  modelShareClearDraft: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u043E\u0440\u043C\u0443"
3130
+ // [model-sharing] END
3125
3131
  }, uk = {
3126
3132
  uploadTooLarge: "\u0424\u0430\u0439\u043B \u043F\u0435\u0440\u0435\u0432\u0438\u0449\u0443\u0454 \u043F\u043E\u0442\u043E\u0447\u043D\u0438\u0439 \u043B\u0456\u043C\u0456\u0442 \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044F ({size}).",
3127
3133
  relayUploadTooLarge: "\u0424\u0430\u0439\u043B \u043F\u0435\u0440\u0435\u0432\u0438\u0449\u0443\u0454 \u043F\u043E\u0442\u043E\u0447\u043D\u0438\u0439 \u043B\u0456\u043C\u0456\u0442 \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044F ({size}). \u0427\u0435\u0440\u0435\u0437 Relay \u0456 TURN \u043B\u0456\u043C\u0456\u0442 \u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C 20 \u041C\u0456\u0411 \u043D\u0430 \u0444\u0430\u0439\u043B \u0430\u0431\u043E 100 \u041C\u0456\u0411, \u044F\u043A\u0449\u043E \u0437\u2019\u0454\u0434\u043D\u0430\u043D\u043D\u044F \u043F\u0456\u0434\u0442\u0440\u0438\u043C\u0443\u0454 \u043B\u0456\u043C\u0456\u0442 \u043F\u0435\u0440\u0435\u0434\u043F\u043B\u0430\u0442\u0438.",
@@ -3535,6 +3541,7 @@ DSH Go \u626B\u7801\u6682\u4E0D\u652F\u6301\u591A\u53F0\u8BBE\u5907\u63A7\u5236\
3535
3541
  hermesVirtualWorkspace: "\u0412\u0456\u0440\u0442\u0443\u0430\u043B\u044C\u043D\u0438\u0439 \u0440\u043E\u0431\u043E\u0447\u0438\u0439 \u043F\u0440\u043E\u0441\u0442\u0456\u0440 Hermes",
3536
3542
  kimiVirtualWorkspace: "\u0412\u0456\u0440\u0442\u0443\u0430\u043B\u044C\u043D\u0438\u0439 \u0440\u043E\u0431\u043E\u0447\u0438\u0439 \u043F\u0440\u043E\u0441\u0442\u0456\u0440 Kimi",
3537
3543
  codexVirtualSessions: "\u0421\u0435\u0441\u0456\u0457",
3544
+ // [model-sharing] BEGIN — model-sharing strings, appended after upstream's last key.
3538
3545
  modelSharing: "\u041C\u043E\u0434\u0435\u043B\u044C\u043D\u0438\u0439 \u043E\u0431\u043C\u0456\u043D",
3539
3546
  modelSharingHint: "\u041D\u0430\u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043C\u043E\u0434\u0435\u043B\u0456 \u0456\u043D\u0448\u0438\u043C \u043F\u0440\u0438\u0441\u0442\u0440\u043E\u044F\u043C \u0430\u0431\u043E \u043F\u043E\u0437\u0438\u0447\u0430\u0439\u0442\u0435 \u043C\u043E\u0434\u0435\u043B\u0456 \u0437 \u0456\u043D\u0448\u0438\u0445 \u043F\u0440\u0438\u0441\u0442\u0440\u043E\u0457\u0432.",
3540
3547
  modelShareLending: "\u041D\u0430\u0434\u0430\u043D\u043D\u044F \u043C\u043E\u0434\u0435\u043B\u0435\u0439",
@@ -3570,6 +3577,7 @@ DSH Go \u626B\u7801\u6682\u4E0D\u652F\u6301\u591A\u53F0\u8BBE\u5907\u63A7\u5236\
3570
3577
  modelShareSaveEdit: "\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u043F\u0440\u0430\u0432\u0438\u043B\u043E",
3571
3578
  modelShareSelectModelsHint: "\u041C\u043E\u0434\u0435\u043B\u0456 \u043D\u0435 \u0432\u0438\u0431\u0440\u0430\u043D\u043E",
3572
3579
  modelShareClearDraft: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0444\u043E\u0440\u043C\u0443"
3580
+ // [model-sharing] END
3573
3581
  };
3574
3582
 
3575
3583
  // packages/plugin/src/client/header.ts
@@ -5860,12 +5868,14 @@ DSH Go \u626B\u7801\u6682\u4E0D\u652F\u6301\u591A\u53F0\u8BBE\u5907\u63A7\u5236\
5860
5868
  sidebarEntrySetting,
5861
5869
  resetIdentitySetting,
5862
5870
  acpSetting,
5871
+ // [model-sharing] BEGIN — model-share block inside the options list.
5863
5872
  // [model-sharing] 专用的模型借出/借用配置区块。
5864
5873
  React.createElement(ModelSharingSection, {
5865
5874
  control: props.control,
5866
5875
  t,
5867
5876
  available: writable
5868
5877
  }),
5878
+ // [model-sharing] END
5869
5879
  React.createElement(
5870
5880
  "div",
5871
5881
  { className: "dshRemoteAuthorizationSetting" },
@@ -5957,12 +5967,14 @@ DSH Go \u626B\u7801\u6682\u4E0D\u652F\u6301\u591A\u53F0\u8BBE\u5907\u63A7\u5236\
5957
5967
  sidebarEntrySetting,
5958
5968
  resetIdentitySetting,
5959
5969
  acpSetting,
5970
+ // [model-sharing] BEGIN — model-share block inside the options list.
5960
5971
  // [model-sharing] 专用的模型借出/借用配置区块。
5961
5972
  React.createElement(ModelSharingSection, {
5962
5973
  control: props.control,
5963
5974
  t,
5964
5975
  available: writable
5965
5976
  }),
5977
+ // [model-sharing] END
5966
5978
  React.createElement(
5967
5979
  "div",
5968
5980
  { className: "dshRemoteSettingsSignIn" },
@@ -6076,13 +6088,15 @@ DSH Go \u626B\u7801\u6682\u4E0D\u652F\u6301\u591A\u53F0\u8BBE\u5907\u63A7\u5236\
6076
6088
  ".dshRemoteAcpList{display:flex;flex-direction:column;margin-top:10px;padding-left:16px;border-top:1px solid var(--dsw-alias-border-l3)}.dshRemoteAcpRow{display:flex;flex-direction:column;gap:4px;padding:10px 0}.dshRemoteAcpRow+.dshRemoteAcpRow{border-top:1px solid var(--dsw-alias-border-l3)}.dshRemoteAcpRowMain{display:grid;grid-template-columns:minmax(0,1fr) auto 38px;align-items:center;column-gap:16px;min-width:0}.dshRemoteAcpRowInfo{display:flex;align-items:center;gap:12px;min-width:0}.dshRemoteAcpName{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;line-height:1.45;color:var(--dsw-alias-label-primary)}",
6077
6089
  '.dshRemoteAcpStatus{display:inline-flex;align-items:center;gap:6px;min-width:0;font-size:12px;font-weight:400;line-height:1.45;color:var(--dsw-alias-label-tertiary);white-space:nowrap}.dshRemoteAcpStatus::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--dsw-alias-label-dimmed);flex:0 0 auto}.dshRemoteAcpStatus.isPassed{color:var(--dsw-alias-label-secondary)}.dshRemoteAcpStatus.isPassed::before{background:var(--dsw-alias-state-success-primary)}.dshRemoteAcpStatus.isFailed{color:var(--dsw-alias-state-danger-primary)}.dshRemoteAcpStatus.isFailed::before{background:var(--dsw-alias-state-danger-primary)}.dshRemoteAcpStatus.isChecking{color:var(--dsw-alias-label-secondary)}.dshRemoteAcpStatus.isChecking::before{background:var(--dsw-alias-brand-primary)}',
6078
6090
  ".dshRemoteAcpRowActions{display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;justify-self:end}.dshRemoteAcpActionBtn,.dshRemoteAcpRemoveBtn,.dshRemoteAcpAddTrigger{appearance:none;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:5px;height:28px;padding:0 8px;border:0;border-radius:6px;background:transparent;color:var(--dsw-alias-label-secondary);font:inherit;font-size:12px;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer;transition:color .14s,background .14s}.dshRemoteAcpActionBtn:hover:not(:disabled){color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-hover)}.dshRemoteAcpActionBtn.isConfigure{color:var(--dsw-alias-brand-primary)}.dshRemoteAcpActionBtn.isConfigure:hover:not(:disabled){color:var(--dsw-alias-brand-primary);background:color-mix(in srgb,var(--dsw-alias-brand-primary) 10%,transparent)}.dshRemoteAcpActionBtn:disabled,.dshRemoteAcpRemoveBtn:disabled,.dshRemoteAcpAddTrigger:disabled{opacity:.45;cursor:default}.dshRemoteAcpRemoveBtn{color:var(--dsw-alias-label-tertiary)}.dshRemoteAcpRemoveBtn:hover:not(:disabled){color:var(--dsw-alias-state-danger-primary);background:color-mix(in srgb,var(--dsw-alias-state-danger-primary) 10%,transparent)}",
6079
- // [model-sharing] The model-share section reuses the ACP row classes; these two
6080
- // selectors only add the select / number controls it introduces.
6091
+ // [model-sharing] BEGIN — the settings section reuses the ACP row classes;
6092
+ // this selector only adds the select / number controls it introduces.
6081
6093
  ".dshRemoteAcpAddInputs select,.dshRemoteAcpRowActions input[type=number]{box-sizing:border-box;min-width:0;height:32px;border:1px solid var(--dsw-alias-border-l2);border-radius:7px;background:var(--dsw-alias-bg-layer-3);color:var(--dsw-alias-label-primary);padding:0 10px;font:inherit;font-size:12px}.dshRemoteAcpAddInputs select:focus-visible,.dshRemoteAcpRowActions input[type=number]:focus-visible{border-color:var(--dsw-alias-brand-primary);outline:none}.dshRemoteAcpRowActions input[type=number]{width:72px;text-align:center}",
6094
+ // [model-sharing] END
6082
6095
  ".dshRemoteAcpDiag{margin:0;font-size:12px;line-height:1.45;color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere}.dshRemoteAcpAddTrigger{margin-top:6px;margin-left:8px;align-self:flex-start;color:var(--dsw-alias-label-tertiary)}.dshRemoteAcpAddTrigger:hover:not(:disabled){color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-hover)}.dshRemoteAcpAddForm{margin-top:8px;padding:12px 0 2px 16px;border-top:1px solid var(--dsw-alias-border-l3)}.dshRemoteAcpAddInputs{display:grid;grid-template-columns:minmax(90px,.85fr) minmax(130px,1.15fr) minmax(90px,.9fr) auto auto;gap:8px;align-items:center}.dshRemoteAcpAddInputs input{box-sizing:border-box;width:100%;min-width:0;height:32px;border:1px solid var(--dsw-alias-border-l2);border-radius:7px;background:var(--dsw-alias-bg-layer-3);color:var(--dsw-alias-label-primary);padding:0 10px;font:inherit;font-size:12px}.dshRemoteAcpAddInputs input:focus-visible{border-color:var(--dsw-alias-brand-primary);outline:none}.dshRemoteAcpAddInputs button{box-sizing:border-box;height:32px;border:1px solid var(--dsw-alias-border-l2);border-radius:7px;background:transparent;color:var(--dsw-alias-label-primary);padding:0 12px;cursor:pointer;font:inherit;font-size:12px;font-weight:500;white-space:nowrap;transition:border-color .15s,background .15s}.dshRemoteAcpAddInputs button.isGhost{border-color:transparent;color:var(--dsw-alias-label-tertiary)}.dshRemoteAcpAddInputs button:hover:not(:disabled){border-color:var(--dsw-alias-label-dimmed);background:var(--dsw-alias-interactive-bg-hover)}.dshRemoteAcpAddInputs button.isGhost:hover:not(:disabled){border-color:transparent;color:var(--dsw-alias-label-primary)}.dshRemoteAcpAddInputs button:disabled{opacity:.45;cursor:default}@media(prefers-reduced-motion:reduce){.dshRemoteAcpChevron{transition:none}}",
6083
- // [model-sharing] Collapsible checkbox pickers and grant rows inside the
6084
- // model-share settings section; everything else reuses dshRemoteAcp*.
6096
+ // [model-sharing] BEGIN — collapsible checkbox pickers and grant rows inside
6097
+ // the model-share settings section; everything else reuses dshRemoteAcp*.
6085
6098
  '.dshRemoteModelSharePicker{margin:8px 0 0 8px;font-size:12px;color:var(--dsw-alias-label-tertiary)}.dshRemoteModelSharePicker>summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;list-style:none;user-select:none;color:var(--dsw-alias-label-secondary);line-height:1.45;overflow-wrap:anywhere}.dshRemoteModelSharePicker>summary::-webkit-details-marker{display:none}.dshRemoteModelSharePicker>summary::before{content:"\u25B8";font-size:10px;transition:transform .15s ease-out}.dshRemoteModelSharePicker[open]>summary::before{transform:rotate(90deg)}.dshRemoteModelSharePicker>summary:hover{color:var(--dsw-alias-label-primary)}.dshRemoteModelSharePickerList{display:flex;flex-direction:column;gap:4px;margin:8px 0 0;padding:8px 10px;border:1px solid var(--dsw-alias-border-l2);border-radius:7px;background:var(--dsw-alias-bg-layer-3);max-height:180px;overflow-y:auto}.dshRemoteModelSharePickerList label{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px;line-height:1.4;color:var(--dsw-alias-label-primary);cursor:pointer;overflow-wrap:anywhere}.dshRemoteModelSharePickerList input[type=checkbox]{flex:0 0 auto;margin:0;accent-color:var(--dsw-alias-brand-primary);cursor:pointer}.dshRemoteModelSharePickerList input[type=checkbox]:disabled{cursor:default;opacity:.5}.dshRemoteModelSharePickerList label:has(input:disabled){color:var(--dsw-alias-label-tertiary)}.dshRemoteModelShareGrantEntry{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:6px 0 0 8px;font-size:12px;line-height:1.45;color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere}.dshRemoteModelShareGrantEntry>span{min-width:0}.dshRemoteModelShareGrantEntry .dshRemoteAcpRemoveBtn{flex:0 0 auto}@media(prefers-reduced-motion:reduce){.dshRemoteModelSharePicker>summary::before{transition:none}}',
6099
+ // [model-sharing] END
6086
6100
  ".dshRemoteCancelWorkspace{min-height:36px;border:0;background:transparent;color:var(--dsw-alias-label-secondary);padding:6px 0;cursor:pointer}.dshRemoteCancelWorkspace:hover:not(:disabled){color:var(--dsw-alias-label-primary);text-decoration:underline}.dshRemoteCancelWorkspace:disabled{opacity:.5;cursor:default}",
6087
6101
  ".dshRemoteHostLoading{display:flex;align-items:center;justify-content:center;gap:8px;position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap;color:var(--dsw-alias-label-secondary)}",
6088
6102
  '.dshRemoteHostList{display:flex;flex-direction:column;border-top:1px solid var(--dsw-alias-border-l2);max-height:296px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.dshRemoteHostList.isCollapsed{max-height:none;overflow-y:visible}.dshRemoteHostList>button{min-height:58px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;border:0;border-bottom:1px solid var(--dsw-alias-border-l2);background:transparent;padding:10px 20px 10px 4px;cursor:pointer}.dshRemoteHostList>button:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}.dshRemoteHostList>button:disabled{opacity:.5;cursor:default}.dshRemoteHostList>button[aria-current="true"]{background:var(--dsw-alias-interactive-bg-hover)}.dshRemoteHostList>button>span{min-width:0;display:flex;flex-direction:column;gap:3px}.dshRemoteHostList>button strong{font-size:14px;font-weight:500}.dshRemoteHostList small{color:var(--dsw-alias-label-secondary);font-size:12px}',
@@ -8853,9 +8867,11 @@ DSH Go \u626B\u7801\u6682\u4E0D\u652F\u6301\u591A\u53F0\u8BBE\u5907\u63A7\u5236\
8853
8867
  })
8854
8868
  }, RemoteWorkspaceAction)), ctx.slots.inject("plugins.row.config", () => ctx.slots.register({
8855
8869
  name: "plugins.row.config",
8856
- // [model-sharing] The key must match the installed package name; the
8870
+ // [fork-identity] BEGIN — row slot key must carry the scoped fork name.
8871
+ // [fork-identity] The key must match the installed package name; the
8857
8872
  // host resolves slot ownership by it.
8858
8873
  key: `${clientModuleId}#ds-harness-remote`,
8874
+ // [fork-identity] END
8859
8875
  locale: localeNamespace,
8860
8876
  inject: () => ({
8861
8877
  control,
@@ -8866,7 +8882,9 @@ DSH Go \u626B\u7801\u6682\u4E0D\u652F\u6301\u591A\u53F0\u8BBE\u5907\u63A7\u5236\
8866
8882
  })
8867
8883
  }, RemotePluginOptions)), ctx.slots.inject("plugins.bundle.config", () => ctx.slots.register({
8868
8884
  name: "plugins.bundle.config",
8885
+ // [fork-identity] BEGIN — bundle slot key follows the same fork name.
8869
8886
  key: clientModuleId,
8887
+ // [fork-identity] END
8870
8888
  locale: localeNamespace,
8871
8889
  inject: () => ({
8872
8890
  control,