@xxgxiaoyu/dsh-session-sync 0.8.3 → 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 +12 -0
- package/CHANGELOG_ZH.md +12 -0
- package/README.md +12 -7
- package/README_ZH.md +12 -7
- package/cordis.patch.yml +1 -1
- package/lib/client.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
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
|
+
|
|
9
|
+
## 0.8.4 — 2026-10-22
|
|
10
|
+
|
|
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.
|
|
12
|
+
- Removed the broken prebuilt-tarball link (the release has no such asset) and pointed at Releases; added an npm badge.
|
|
13
|
+
- Code identical to 0.8.3; **60** tests passing.
|
|
14
|
+
|
|
3
15
|
## 0.8.3 — 2026-10-22
|
|
4
16
|
|
|
5
17
|
- **Privacy fix: removed every screenshot containing real device names, IPs, paths or session titles.** This covers the README images (`docs/preview*.png`, `docs/queue.png`) and the older `docs/mockups/*.png`. The repository no longer contains them, and the npm package no longer bundles them.
|
package/CHANGELOG_ZH.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
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
|
+
|
|
9
|
+
## 0.8.4 — 2026-10-22
|
|
10
|
+
|
|
11
|
+
- **README 安装方式改为 npm 优先。** 主命令改成 `dsh plugin --profile web add @xxgxiaoyu/dsh-session-sync`;GitHub 安装保留为跟踪最新提交的备选。手动 profile 示例的依赖名和 `bundles` 也改成 scoped 名。
|
|
12
|
+
- 删掉失效的预构建 tarball 链接(Release 没有该 asset),改为指向 Releases 页面;补 npm 版本徽章。
|
|
13
|
+
- 代码与 0.8.3 一致;测试 **60 项**通过。
|
|
14
|
+
|
|
3
15
|
## 0.8.3 — 2026-10-22
|
|
4
16
|
|
|
5
17
|
- **隐私修复:移除所有含真实设备名、IP、路径和会话标题的截图。** 受影响的是 README 里的 `docs/preview*.png`、`docs/queue.png`,以及旧设计稿 `docs/mockups/*.png`。仓库不再包含这些图片,npm 包也不再打包它们。
|
package/README.md
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
<div align="center">
|
|
7
7
|
|
|
8
8
|
[](https://github.com/XXGxiaoyu/dsh-session-sync/actions/workflows/ci.yml)
|
|
9
|
+
[](https://www.npmjs.com/package/@xxgxiaoyu/dsh-session-sync)
|
|
9
10
|
[](https://github.com/XXGxiaoyu/dsh-session-sync/stargazers)
|
|
10
11
|
[](https://opensource.org/licenses/MIT)
|
|
11
12
|
[](https://www.npmjs.com/package/@deepseek-ai/dsh)
|
|
@@ -39,19 +40,23 @@
|
|
|
39
40
|
|
|
40
41
|
## 🚀 Installation
|
|
41
42
|
|
|
42
|
-
|
|
43
|
-
# From GitHub (recommended, tracks the latest commit)
|
|
44
|
-
dsh plugin --profile web add github:XXGxiaoyu/dsh-session-sync
|
|
43
|
+
From npm (scoped name; the unscoped `dsh-session-sync` belongs to another project):
|
|
45
44
|
|
|
46
|
-
|
|
45
|
+
```sh
|
|
47
46
|
dsh plugin --profile web add @xxgxiaoyu/dsh-session-sync
|
|
48
47
|
```
|
|
49
48
|
|
|
49
|
+
Or from GitHub to track the latest commit:
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
dsh plugin --profile web add github:XXGxiaoyu/dsh-session-sync
|
|
53
|
+
```
|
|
54
|
+
|
|
50
55
|
Requires DSH **0.2.1-rc.2** (the version bundled with the current desktop app) and Node 22+.
|
|
51
56
|
|
|
52
57
|
Then restart the DSH desktop app (host-side changes load at boot; open pages pick up the new UI on refresh). The page footer shows the build that is actually running — if it reads an older number than the latest release, the process has not been restarted yet. The install is auto-activated: the package declares `dsh.bundle`, so `dsh plugin add` adds it to `dsh.profile.bundles` on its own.
|
|
53
58
|
|
|
54
|
-
|
|
59
|
+
Releases: <https://github.com/XXGxiaoyu/dsh-session-sync/releases>
|
|
55
60
|
|
|
56
61
|
<details>
|
|
57
62
|
<summary>Manual install from a local checkout</summary>
|
|
@@ -60,11 +65,11 @@ Prebuilt tarball (no build step): <https://github.com/XXGxiaoyu/dsh-session-sync
|
|
|
60
65
|
// ~/.dsh/profiles/<profile>/package.json
|
|
61
66
|
{
|
|
62
67
|
"dependencies": {
|
|
63
|
-
"dsh-session-sync": "link:/absolute/path/to/dsh-session-sync"
|
|
68
|
+
"@xxgxiaoyu/dsh-session-sync": "link:/absolute/path/to/dsh-session-sync"
|
|
64
69
|
},
|
|
65
70
|
"dsh": {
|
|
66
71
|
"profile": {
|
|
67
|
-
"bundles": ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "dsh-session-sync"]
|
|
72
|
+
"bundles": ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "@xxgxiaoyu/dsh-session-sync"]
|
|
68
73
|
}
|
|
69
74
|
}
|
|
70
75
|
}
|
package/README_ZH.md
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
<div align="center">
|
|
7
7
|
|
|
8
8
|
[](https://github.com/XXGxiaoyu/dsh-session-sync/actions/workflows/ci.yml)
|
|
9
|
+
[](https://www.npmjs.com/package/@xxgxiaoyu/dsh-session-sync)
|
|
9
10
|
[](https://github.com/XXGxiaoyu/dsh-session-sync/stargazers)
|
|
10
11
|
[](https://opensource.org/licenses/MIT)
|
|
11
12
|
[](https://www.npmjs.com/package/@deepseek-ai/dsh)
|
|
@@ -40,19 +41,23 @@
|
|
|
40
41
|
|
|
41
42
|
## 🚀 安装
|
|
42
43
|
|
|
43
|
-
|
|
44
|
-
# 从 GitHub 安装(推荐,包含最新提交)
|
|
45
|
-
dsh plugin --profile web add github:XXGxiaoyu/dsh-session-sync
|
|
44
|
+
从 npm 安装(scope 包名;npm 上的 `dsh-session-sync` 属于另一个项目):
|
|
46
45
|
|
|
47
|
-
|
|
46
|
+
```sh
|
|
48
47
|
dsh plugin --profile web add @xxgxiaoyu/dsh-session-sync
|
|
49
48
|
```
|
|
50
49
|
|
|
50
|
+
或从 GitHub 跟踪最新提交:
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
dsh plugin --profile web add github:XXGxiaoyu/dsh-session-sync
|
|
54
|
+
```
|
|
55
|
+
|
|
51
56
|
需要 DSH **0.2.1-rc.2**(当前桌面版内置的版本)与 Node 22+。
|
|
52
57
|
|
|
53
58
|
然后重启 DSH 桌面应用(宿主半边的改动在启动时加载,页面刷新即可拿到新 UI)。装完会自动启用:包里声明了 `dsh.bundle`,`dsh plugin add` 会自己把它加进 `dsh.profile.bundles`。页脚显示的是**真正在运行**的那份构建;如果比 Latest 版本旧,说明进程还没重启。
|
|
54
59
|
|
|
55
|
-
|
|
60
|
+
发布页:<https://github.com/XXGxiaoyu/dsh-session-sync/releases>
|
|
56
61
|
|
|
57
62
|
<details>
|
|
58
63
|
<summary>从本地目录手动安装</summary>
|
|
@@ -61,11 +66,11 @@ dsh plugin --profile web add @xxgxiaoyu/dsh-session-sync
|
|
|
61
66
|
// ~/.dsh/profiles/<profile>/package.json
|
|
62
67
|
{
|
|
63
68
|
"dependencies": {
|
|
64
|
-
"dsh-session-sync": "link:/absolute/path/to/dsh-session-sync"
|
|
69
|
+
"@xxgxiaoyu/dsh-session-sync": "link:/absolute/path/to/dsh-session-sync"
|
|
65
70
|
},
|
|
66
71
|
"dsh": {
|
|
67
72
|
"profile": {
|
|
68
|
-
"bundles": ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "dsh-session-sync"]
|
|
73
|
+
"bundles": ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "@xxgxiaoyu/dsh-session-sync"]
|
|
69
74
|
}
|
|
70
75
|
}
|
|
71
76
|
}
|
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.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.
|
|
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",
|