@xxgxiaoyu/dsh-session-sync 0.8.2 → 0.8.3
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 +6 -0
- package/CHANGELOG_ZH.md +6 -0
- package/README.md +0 -3
- package/README_ZH.md +0 -3
- package/lib/client.js +1 -1
- package/package.json +1 -5
- package/screenshots.json +1 -5
- package/docs/preview-en.png +0 -0
- package/docs/preview-transfer.png +0 -0
- package/docs/preview.png +0 -0
- package/docs/queue.png +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.8.3 — 2026-10-22
|
|
4
|
+
|
|
5
|
+
- **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.
|
|
6
|
+
- Sample data in the design draft now uses placeholders (device names, IPs, paths, session titles); the HTML/CSS draft stays, the preview images do not.
|
|
7
|
+
- Code unchanged; **60** tests passing.
|
|
8
|
+
|
|
3
9
|
## 0.8.2 — 2026-10-22
|
|
4
10
|
|
|
5
11
|
- **npm package renamed to `@xxgxiaoyu/dsh-session-sync`.** The unscoped `dsh-session-sync` belongs to another project (`perrylink`, 0.2.30), so the current account cannot publish it. The bundle patch mount name is updated too; plugin/slot ids and the client namespace are unchanged.
|
package/CHANGELOG_ZH.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## 0.8.3 — 2026-10-22
|
|
4
|
+
|
|
5
|
+
- **隐私修复:移除所有含真实设备名、IP、路径和会话标题的截图。** 受影响的是 README 里的 `docs/preview*.png`、`docs/queue.png`,以及旧设计稿 `docs/mockups/*.png`。仓库不再包含这些图片,npm 包也不再打包它们。
|
|
6
|
+
- 设计稿里的示例数据同步改成占位符(设备名、IP、路径、会话标题),避免源码继续暴露;设计稿的 HTML/CSS 仍在,预览图不再随仓库发布。
|
|
7
|
+
- 测试 **60 项**通过;代码逻辑未改。
|
|
8
|
+
|
|
3
9
|
## 0.8.2 — 2026-10-22
|
|
4
10
|
|
|
5
11
|
- **npm 发布名改为 `@xxgxiaoyu/dsh-session-sync`。** npm 上的 `dsh-session-sync` 已被 `perrylink` 的项目占用(0.2.30),无法用当前账号发布原名;scope 包名与 `cordis.patch.yml` 的挂载 `name` 同步更新。插件 id、槽位 id 和客户端命名空间保持不变。
|
package/README.md
CHANGED
|
@@ -16,9 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
> **0.8.0 UI rebuild**: session desk, whole-row selection, selection bar, transfer dock and settings were redrawn. The full draft (19 scenes, dark/light, zh/en) is in [`docs/redesign/index.html`](https://github.com/XXGxiaoyu/dsh-session-sync/tree/main/docs/redesign); implementation mapping and acceptance are in [`DESIGN.md`](https://github.com/XXGxiaoyu/dsh-session-sync/blob/main/docs/redesign/DESIGN.md). The whole-session file transfer design (chunks / resume) is in [`session-bundle-transfer.md`](https://github.com/XXGxiaoyu/dsh-session-sync/blob/main/docs/architecture/session-bundle-transfer.md) (next phase).
|
|
18
18
|
|
|
19
|
-

|
|
20
19
|
|
|
21
|
-

|
|
22
20
|
|
|
23
21
|
## ✨ Features
|
|
24
22
|
|
|
@@ -111,7 +109,6 @@ settings.locale = 'auto' | 'zh' | 'en' // persisted in <home>/session-sync/sta
|
|
|
111
109
|
|
|
112
110
|
The plugin reads `ctx.locale.getSnapshot().active` (`zh*` → Chinese, everything else → English) and only falls back to `navigator.languages` when no locale service exists. A language change is written to disk **before** the UI switches, so it never reverts on the next open. Sidebar/settings labels are resolved by the host, so the plugin re-registers its slots when the language changes — the page and the sidebar row never disagree.
|
|
113
111
|
|
|
114
|
-

|
|
115
112
|
|
|
116
113
|
## 🎨 Look and motion
|
|
117
114
|
|
package/README_ZH.md
CHANGED
|
@@ -16,9 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
> **0.8.0 界面重构**:会话台、整行选择、选择条、传输坞与设置页全部重画。完整稿(19 个场景,可切深浅主题 / 中英文)见 [`docs/redesign/index.html`](https://github.com/XXGxiaoyu/dsh-session-sync/tree/main/docs/redesign),实现映射与验收见 [`DESIGN.md`](https://github.com/XXGxiaoyu/dsh-session-sync/blob/main/docs/redesign/DESIGN.md)。整包文件迁移的分片 / 断点续传设计见 [`session-bundle-transfer.md`](https://github.com/XXGxiaoyu/dsh-session-sync/blob/main/docs/architecture/session-bundle-transfer.md)(下一阶段)。
|
|
18
18
|
|
|
19
|
-

|
|
20
19
|
|
|
21
|
-

|
|
22
20
|
|
|
23
21
|
## ✨ 功能
|
|
24
22
|
|
|
@@ -112,7 +110,6 @@ settings.locale = 'auto' | 'zh' | 'en' // 持久化在 <home>/session-sync/sta
|
|
|
112
110
|
|
|
113
111
|
插件读 `ctx.locale.getSnapshot().active`(`zh*` → 中文,其余 → English);只有拿不到 locale 服务时才退回 `navigator.languages`。切换语言先落盘再换 UI,不会出现「下次打开又变回去」。侧栏行和设置项的文字由宿主解析,所以语言变化时插件会重新登记槽位——页面和侧栏永远不会一个中文一个英文。
|
|
114
112
|
|
|
115
|
-

|
|
116
113
|
|
|
117
114
|
## 🎨 界面风格
|
|
118
115
|
|
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.3'
|
|
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.3",
|
|
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",
|
|
@@ -18,10 +18,6 @@
|
|
|
18
18
|
"CHANGELOG_ZH.md",
|
|
19
19
|
"LICENSE",
|
|
20
20
|
"icon.svg",
|
|
21
|
-
"docs/preview.png",
|
|
22
|
-
"docs/preview-en.png",
|
|
23
|
-
"docs/preview-transfer.png",
|
|
24
|
-
"docs/queue.png",
|
|
25
21
|
"screenshots.json",
|
|
26
22
|
"scripts/repair-sessions.mjs"
|
|
27
23
|
],
|
package/screenshots.json
CHANGED
package/docs/preview-en.png
DELETED
|
Binary file
|
|
Binary file
|
package/docs/preview.png
DELETED
|
Binary file
|
package/docs/queue.png
DELETED
|
Binary file
|