@eduwork/dsh-remote-access 0.1.3 → 0.1.5
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/CHANGELOG.md +9 -0
- package/README.md +2 -2
- package/README_EN.md +2 -2
- package/lib/client.js +8 -41
- package/lib/index.js +8 -7
- package/package.json +8 -28
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# 变更记录 / Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.5 — 2026-11-07
|
|
4
|
+
|
|
5
|
+
- 连接在生成配对码时关闭后,及时清理待确认请求。
|
|
6
|
+
- Drop a pending approval when the connection closes while its pairing code is being computed.
|
|
7
|
+
|
|
8
|
+
- 修复 DSH 0.2.2 上手机布局错位:远程设备上侧栏打开后是空白遮罩、左上角出现两套按钮。DSH 0.2.2 已自带手机布局,插件不再覆盖它的布局,只保留远程设备上设置仅可查看的提示。兼容范围改为 DSH 0.2.2-rc.1 及以上,DSH 0.2.1 宿主请继续使用 0.1.4。
|
|
9
|
+
|
|
10
|
+
- Fix the phone layout on DSH 0.2.2, where a remote device's sidebar opened as an empty mask and the top-left corner showed two sets of buttons. DSH 0.2.2 fits itself to phones, so the plugin no longer overrides its layout and only keeps settings view only on remote devices. The plugin now requires DSH 0.2.2-rc.1 or later; DSH 0.2.1 hosts should keep 0.1.4.
|
|
11
|
+
|
|
3
12
|
## 0.1.3 — Unreleased
|
|
4
13
|
|
|
5
14
|
- 兼容声明接纳已验证的 DSH 0.2.2-rc.1 与 Cordis 4.1;保留原有功能、配置及受支持的旧宿主范围。
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
包里有两部分:
|
|
8
8
|
|
|
9
|
-
- **DSH
|
|
9
|
+
- **DSH 插件**:运行在被访问的电脑上,在设置页开关远程访问、添加和移除设备。
|
|
10
10
|
- **中继服务**:部署在有公网地址的服务器上,转发密文,并提供手机上打开的网页。
|
|
11
11
|
|
|
12
12
|
## 使用
|
|
@@ -60,7 +60,7 @@ dsh plugin --profile web add @eduwork/dsh-remote-access
|
|
|
60
60
|
|
|
61
61
|
可以选择已有工作区,查看或新建会话,继续和取消任务,审批或回答提问,查看和下载结果;宿主已安装相应插件时,还可以使用 Studio 成果和日历。
|
|
62
62
|
|
|
63
|
-
手机上看到的就是 DSH
|
|
63
|
+
手机上看到的就是 DSH 自己的界面。DSH 0.2.2 起自带手机布局:会话列表从左上角以抽屉打开,选中会话或面板后自动收起;设置铺满屏幕,各分区排成一行标签。设置在远程设备上只能查看。对话中的耗时、重试、审批和提问与电脑上一致。
|
|
64
64
|
|
|
65
65
|
远端不能直接调用打开本机窗口、程序或发出通知的接口,不能注册或删除工作区、修改设置、管理账号、插件、凭据、技能、记忆或远程访问本身,也不能直接使用终端与代码执行接口。**通过 Agent 发起的任务仍可能执行命令,沿用该会话的权限与审批规则**;禁止直接调用终端接口不等于禁止 Agent 使用工具。完整清单见 [src/gate/gate.ts](src/gate/gate.ts),未列出的接口一律拒绝。
|
|
66
66
|
|
package/README_EN.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
The package has two parts:
|
|
8
8
|
|
|
9
|
-
- **DSH plugin**: runs on the computer being accessed. Its settings page switches remote access on and off and adds and removes devices
|
|
9
|
+
- **DSH plugin**: runs on the computer being accessed. Its settings page switches remote access on and off and adds and removes devices.
|
|
10
10
|
- **Relay service**: runs on a server with a public address. It forwards ciphertext and serves the page you open on your phone.
|
|
11
11
|
|
|
12
12
|
## Use
|
|
@@ -60,7 +60,7 @@ Choose "Remove" under "Paired devices" on the computer to disconnect a device at
|
|
|
60
60
|
|
|
61
61
|
They can choose an existing workspace, view and start conversations, continue and cancel tasks, approve or answer questions, and view and download results. Studio results and the calendar are also available when those plugins are installed on the host.
|
|
62
62
|
|
|
63
|
-
A phone shows DSH's own interface,
|
|
63
|
+
A phone shows DSH's own interface. From DSH 0.2.2, DSH fits it to phone screens itself: the session list opens as a drawer from the top-left corner and closes once you pick a session or a panel, and settings fill the screen with the sections as a row of tabs. Settings are view only on remote devices. Conversations show durations, retries, approvals and questions as on the computer.
|
|
64
64
|
|
|
65
65
|
Remote devices cannot directly call APIs that open local windows or programs or show notifications, register or remove workspaces, change settings, manage accounts, plugins, credentials, skills, memories or remote access, or access terminal and code-execution APIs. **Tasks submitted through the Agent can still execute commands under the session's permission and approval rules**; blocking direct terminal APIs does not disable Agent tools. The full list is in [src/gate/gate.ts](src/gate/gate.ts); anything not listed is refused.
|
|
66
66
|
|