@eduwork/dsh-remote-access 0.1.1 → 0.1.2

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 CHANGED
@@ -1,5 +1,15 @@
1
1
  # 变更记录 / Changelog
2
2
 
3
+ ## 0.1.2 — 2026-10-26
4
+
5
+ - 修复运行中安装或启用远控插件后,远端无法保存预览版说明确认状态的问题。
6
+ - 设置页支持机构账号与自建中继切换、机构登录、连接测试和重试;添加设备入口始终显示,并说明不可用原因。
7
+ - 机构鉴权被拒绝时显示通用排错提示,不再将所有失败都关联到固定的电脑数量上限。
8
+
9
+ - Fix saving the preview notice acknowledgment remotely after installing or enabling the plugin while DSH is running.
10
+ - Add organization/account and self-hosted relay selection, organization sign-in, connection testing and retry actions. Keep the add-device entry visible with an explanation when unavailable.
11
+ - Show general recovery guidance for rejected organization authentication instead of associating every failure with a fixed computer limit.
12
+
3
13
  ## 0.1.1 — 2026-10-24
4
14
 
5
15
  - 随 npm 包提供中英文自托管中继部署指南:固定版本启动、Key、HTTPS/Nginx、路径前缀、systemd、OIDC、iframe 与排错。
package/README.md CHANGED
@@ -40,9 +40,9 @@ RELAY_URL=https://remote.example.edu/ RELAY_ACCESS_KEYS=替换成随机Key \
40
40
  dsh plugin --profile web add @eduwork/dsh-remote-access
41
41
  ```
42
42
 
43
- 打开“设置 → 远程访问”,填写中继服务器和接入密钥,勾选“允许远程访问”。显示“已连接”后即可添加设备。远程访问默认关闭。
43
+ 打开“设置 → 远程访问”,填写中继服务器和接入密钥,勾选“允许远程访问”。显示“已连接”后即可添加设备。远程访问默认关闭。“测试连接”分别说明中继能否访问、身份能否通过,未开启时也可以测试;连接失败时可点“重试”。
44
44
 
45
- 机构的发行版可以预置自己的中继和登录(插件设置 `organization: { relay, oidcProfileId }`,`oidcProfileId` 是 [dsh-oidc](../dsh-oidc/README.md) 中的机构配置)。这时设置页不显示中继和接入密钥:登录机构账号并勾选“允许远程访问”即可,退出登录后远程访问随之停止。
45
+ 机构的发行版可以预置自己的中继和登录(插件设置 `organization: { relay, oidcProfileId }`,`oidcProfileId` 是 [dsh-oidc](../dsh-oidc/README.md) 中的机构配置)。这时设置页默认使用机构账号:显示登录状态,未登录时可直接登录,登录后勾选“允许远程访问”即可,退出登录后远程访问随之停止。中继由发行版决定,设置页不显示也不能修改。用户也可以改选“使用自己的中继服务器”,填写中继和接入密钥。
46
46
 
47
47
  机构登录模式还要求宿主安装提供 `identityToken(profileID)` 接口的 `@eduwork/dsh-oidc@0.3.1` 或后续兼容版本;旧版 `0.3.0` 不包含该接口。使用接入密钥的独立部署不依赖 OIDC 插件。
48
48
 
package/README_EN.md CHANGED
@@ -40,9 +40,9 @@ Install the plugin in DSH and restart it:
40
40
  dsh plugin --profile web add @eduwork/dsh-remote-access
41
41
  ```
42
42
 
43
- Open Settings → Remote access, enter the relay server and the access key, and select "Allow remote access". Once it shows "Connected", you can add devices. Remote access is off by default.
43
+ Open Settings → Remote access, enter the relay server and the access key, and select "Allow remote access". Once it shows "Connected", you can add devices. Remote access is off by default. "Test connection" tells separately whether the relay can be reached and whether it accepts this computer, also before remote access is on; when the connection fails, "Retry" starts it again.
44
44
 
45
- An organization's distribution can preset its relay and sign-in (plugin setting `organization: { relay, oidcProfileId }`, where `oidcProfileId` names the organization's [dsh-oidc](../dsh-oidc/README_EN.md) profile). The settings page then shows no relay or access key: sign in with the organization's account and select "Allow remote access". Signing out stops remote access.
45
+ An organization's distribution can preset its relay and sign-in (plugin setting `organization: { relay, oidcProfileId }`, where `oidcProfileId` names the organization's [dsh-oidc](../dsh-oidc/README_EN.md) profile). The settings page then uses the organization's account by default: it shows whether you are signed in and lets you sign in, after which you select "Allow remote access". Signing out stops remote access. The distribution decides the relay; the settings page neither shows nor changes it. Users can still choose "Use your own relay server" and enter a relay and an access key.
46
46
 
47
47
  Organization sign-in also requires `@eduwork/dsh-oidc@0.3.1` or a later compatible version on the host, providing `identityToken(profileID)`; the older `0.3.0` does not include this API. Standalone deployments using an access key do not depend on the OIDC plugin.
48
48