@xxgxiaoyu/dsh-session-sync 0.8.4 → 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 +11 -0
- package/CHANGELOG_ZH.md +11 -0
- package/cordis.patch.yml +1 -1
- package/lib/client.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
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
|
+
|
|
8
|
+
## 0.8.5 — 2026-10-22
|
|
9
|
+
|
|
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'`.
|
|
11
|
+
- 0.8.2–0.8.4 are deprecated on npm; use 0.8.5.
|
|
12
|
+
- Code identical to 0.8.4; **60** tests passing.
|
|
13
|
+
|
|
3
14
|
## 0.8.4 — 2026-10-22
|
|
4
15
|
|
|
5
16
|
- **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,16 @@
|
|
|
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
|
+
|
|
8
|
+
## 0.8.5 — 2026-10-22
|
|
9
|
+
|
|
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'`。
|
|
11
|
+
- 0.8.2–0.8.4 已从 npm 标记为 deprecated;请升级到 0.8.5。
|
|
12
|
+
- 代码与 0.8.4 一致;测试 **60 项**通过。
|
|
13
|
+
|
|
3
14
|
## 0.8.4 — 2026-10-22
|
|
4
15
|
|
|
5
16
|
- **README 安装方式改为 npm 优先。** 主命令改成 `dsh plugin --profile web add @xxgxiaoyu/dsh-session-sync`;GitHub 安装保留为跟踪最新提交的备选。手动 profile 示例的依赖名和 `bundles` 也改成 scoped 名。
|
package/cordis.patch.yml
CHANGED
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.
|
|
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.
|
|
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",
|