@xxgxiaoyu/dsh-session-sync 0.8.4 → 0.8.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.5 — 2026-10-22
4
+
5
+ - **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'`.
6
+ - 0.8.2–0.8.4 are deprecated on npm; use 0.8.5.
7
+ - Code identical to 0.8.4; **60** tests passing.
8
+
3
9
  ## 0.8.4 — 2026-10-22
4
10
 
5
11
  - **README now installs from npm first.** The primary command is `dsh plugin --profile web add @xxgxiaoyu/dsh-session-sync`; GitHub remains as the track-latest-commit fallback. The manual profile example uses the scoped dependency and bundle name.
package/CHANGELOG_ZH.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # 更新日志
2
2
 
3
+ ## 0.8.5 — 2026-10-22
4
+
5
+ - **修复 `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'`。
6
+ - 0.8.2–0.8.4 已从 npm 标记为 deprecated;请升级到 0.8.5。
7
+ - 代码与 0.8.4 一致;测试 **60 项**通过。
8
+
3
9
  ## 0.8.4 — 2026-10-22
4
10
 
5
11
  - **README 安装方式改为 npm 优先。** 主命令改成 `dsh plugin --profile web add @xxgxiaoyu/dsh-session-sync`;GitHub 安装保留为跟踪最新提交的备选。手动 profile 示例的依赖名和 `bundles` 也改成 scoped 名。
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: '@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.4'
32
+ const CLIENT_VERSION = '0.8.5'
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.4",
3
+ "version": "0.8.5",
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",