@xxgxiaoyu/dsh-session-sync 0.8.5 → 0.8.6

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,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.6 — 2026-10-23
4
+
5
+ - **Fixed the DSH plugin registration name.** A DSH bundle `name` cannot start with `@`. The npm package stays `@xxgxiaoyu/dsh-session-sync`, but `cordis.patch.yml` registers the plugin as `dsh-session-sync`. The scoped name in 0.8.2–0.8.5 failed or double-registered; those versions are deprecated.
6
+ - Code identical to 0.8.5; **60** tests passing.
7
+
3
8
  ## 0.8.5 — 2026-10-22
4
9
 
5
10
  - **Fixed the `cordis.patch.yml` YAML parse failure.** A scoped package name starts with `@`, which YAML treats as a reserved indicator unless quoted; 0.8.2–0.8.4 shipped `name: @xxgxiaoyu/...` and DSH failed with `bad indentation of a mapping entry`. It is now `name: '@xxgxiaoyu/dsh-session-sync'`.
package/CHANGELOG_ZH.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # 更新日志
2
2
 
3
+ ## 0.8.6 — 2026-10-23
4
+
5
+ - **修复 DSH 插件注册名。** DSH 的 bundle `name` 不能以 `@` 开头;npm 包名仍为 `@xxgxiaoyu/dsh-session-sync`,但 `cordis.patch.yml` 里注册的插件名改回 `dsh-session-sync`。0.8.2–0.8.5 的 scoped 注册名会在加载/注册阶段失败或重复注册,已 deprecated。
6
+ - 代码与 0.8.5 一致;测试 **60 项**通过。
7
+
3
8
  ## 0.8.5 — 2026-10-22
4
9
 
5
10
  - **修复 `cordis.patch.yml` 的 YAML 解析失败。** scoped 包名以 `@` 开头,在 YAML 里必须加引号;0.8.2–0.8.4 的 `name: @xxgxiaoyu/...` 会被解析器当成非法 mapping,导致 DSH 启动时报 `bad indentation of a mapping entry`。现在写成 `name: '@xxgxiaoyu/dsh-session-sync'`。
package/cordis.patch.yml CHANGED
@@ -12,4 +12,4 @@
12
12
  # verbose: false
13
13
  - insert:
14
14
  - id: session-sync
15
- name: '@xxgxiaoyu/dsh-session-sync'
15
+ name: dsh-session-sync
package/lib/client.js CHANGED
@@ -29,7 +29,7 @@ window.__ModuleLoader__.load({
29
29
  // Bumped together with package.json (a test enforces the pair). The footer
30
30
  // shows the *running* host version next to it, so a stale process is
31
31
  // obvious instead of looking like a publishing mistake.
32
- const CLIENT_VERSION = '0.8.5'
32
+ const CLIENT_VERSION = '0.8.6'
33
33
  const POLL_MS = 4000
34
34
 
35
35
  // ── styles ────────────────────────────────────────────────────────────
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xxgxiaoyu/dsh-session-sync",
3
- "version": "0.8.5",
3
+ "version": "0.8.6",
4
4
  "description": "DSH LAN session sync: auto-discover devices running this plugin, browse/pull/push sessions over HTTP, verify them with SHA-256, and keep a local-only nickname per device.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",