@xxgxiaoyu/dsh-session-sync 0.8.6 → 0.8.7

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,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.7 — 2026-10-23
4
+
5
+ - **Separated the bundle specifier from the registered plugin name.** In `cordis.patch.yml`, `name` is the module specifier and must be the scoped package `'@xxgxiaoyu/dsh-session-sync'`; the registered plugin name (the host export and client factory id) stays unscoped `dsh-session-sync`. 0.8.6 used the unscoped specifier and hit `ERR_MODULE_NOT_FOUND`.
6
+ - 0.8.6 and earlier are deprecated; upgrade to 0.8.7.
7
+ - **60** tests passing.
8
+
3
9
  ## 0.8.6 — 2026-10-23
4
10
 
5
11
  - **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.
package/CHANGELOG_ZH.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # 更新日志
2
2
 
3
+ ## 0.8.7 — 2026-10-23
4
+
5
+ - **修正 bundle specifier 与注册名的区别。** `cordis.patch.yml` 的 `name` 是模块 specifier,必须写 scoped 包名 `'@xxgxiaoyu/dsh-session-sync'`;DSH 里注册的插件名仍是 host 导出的 `dsh-session-sync`(不带 `@`),client factory id 也不变。0.8.6 把模块 specifier 写成 unscoped,导致 `ERR_MODULE_NOT_FOUND`。
6
+ - 0.8.6 及更早的 scoped 版本已 deprecated;升级 0.8.7。
7
+ - 测试 **60 项**通过。
8
+
3
9
  ## 0.8.6 — 2026-10-23
4
10
 
5
11
  - **修复 DSH 插件注册名。** DSH 的 bundle `name` 不能以 `@` 开头;npm 包名仍为 `@xxgxiaoyu/dsh-session-sync`,但 `cordis.patch.yml` 里注册的插件名改回 `dsh-session-sync`。0.8.2–0.8.5 的 scoped 注册名会在加载/注册阶段失败或重复注册,已 deprecated。
package/cordis.patch.yml CHANGED
@@ -12,4 +12,4 @@
12
12
  # verbose: false
13
13
  - insert:
14
14
  - id: session-sync
15
- name: dsh-session-sync
15
+ name: '@xxgxiaoyu/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.6'
32
+ const CLIENT_VERSION = '0.8.7'
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.6",
3
+ "version": "0.8.7",
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",