dsh-todo-float-ball 0.14.2 → 0.14.4

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,44 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.14.4 — 2026-10-14
4
+
5
+ ### 合规性改进(无功能改动)
6
+
7
+ 本次为**纯元数据与文档改动,未触碰任何运行代码**(`lib/*.js` 与上一版逐字节一致):
8
+
9
+ - **包元数据**:`engines.node` 对齐 DSH 运行时(`^22.19.0 || >=24.0.0`);补 `packageManager`;`files` 白名单补上裸目录 `lib`、`locale/*.json`、`icon.svg` 与多语言 README;`exports` 补 `./locale/*.json` 与 `./icon`。
10
+ - **交付元数据**(官方插件契约要求):新增 `locale/en.json` 与 `locale/zh.json`(含 `meta.title` / `meta.description`),新增 `icon.svg`(插件管理器显示用图标,不再显示裸 id)。
11
+ - **多语言文档**:新增 `README-zh.md` 中文说明;`README-es/pt/hi.md` 标题与主 README 对齐。
12
+
13
+ 以上改动使插件通过官方 `dsh-plugin-dev check` 全部检查项(`P=12 F=0 W=0`)。
14
+
15
+ ### Compliance improvements (no functional changes)
16
+
17
+ This release is **metadata and documentation only — no runtime code was touched** (`lib/*.js` is byte-identical to the previous version):
18
+
19
+ - **Package metadata**: `engines.node` aligned with the DSH runtime (`^22.19.0 || >=24.0.0`); `packageManager` added; `files` allowlist now includes the bare `lib` directory, `locale/*.json`, `icon.svg` and the multi-language READMEs; `exports` gained `./locale/*.json` and `./icon`.
20
+ - **Display metadata** (required by the official plugin contract): added `locale/en.json` and `locale/zh.json` with `meta.title` / `meta.description`, plus `icon.svg` so the plugin manager shows a real name and icon instead of a bare id.
21
+ - **Multi-language docs**: added `README-zh.md`; `README-es/pt/hi.md` headings aligned with the main README.
22
+
23
+ With these changes the packages pass every official `dsh-plugin-dev check` item (`P=12 F=0 W=0`).
24
+
25
+ ---
26
+
27
+ ## 0.14.3 - 官方 DSH 兼容声明与引擎版本口径修正
28
+
29
+ 依照 DeepSeek Harness **官方规范**(`packages/boot/app-boot/README.md`)修正兼容性声明。
30
+
31
+ - **新增官方 DSH 兼容声明**:内核检查的是 `peerDependencies` 中的
32
+ `@deepseek-ai/dsh` / `@deepseek-ai/dsh-*` 范围,**不读取 `engines.dsh`**。
33
+ 现已在 `peerDependencies` 与 `devDependencies` 同范围声明:
34
+ `@deepseek-ai/cordis` `^4.0.2`、`@deepseek-ai/dsh` `>=0.1.7-rc.1`。
35
+ - **引擎口径修正为内核版本**:此前 `engines` 只写 `node`,未声明 DSH 内核要求;
36
+ 现补 `engines.dsh = >=0.1.7-rc.1`(内核版本口径,非客户端/外壳版本)。
37
+ - 说明:`^0.1.7` **不匹配**预发布内核 `0.1.7-rc.2`,故范围使用显式预发布下限。
38
+
39
+ 无功能变更。
40
+
41
+
3
42
  All notable changes to this project are documented in this file.
4
43
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
5
44
 
package/README-es.md ADDED
@@ -0,0 +1,61 @@
1
+ # Todo Float Ball
2
+
3
+ > A floating task ball that keeps the live todo list on screen and injects the checklist discipline every turn.
4
+
5
+ > Full documentation: [English README](./README.md)
6
+
7
+ ## What it does · 一句话说明
8
+
9
+ > 📖 [Leer esta sección en el README principal](./README.md#what-it-does-一句话说明)
10
+
11
+ ## Why it matters · 为什么值得装
12
+
13
+ > 📖 [Leer esta sección en el README principal](./README.md#why-it-matters-为什么值得装)
14
+
15
+ ## Screenshots
16
+
17
+ > 📖 [Leer esta sección en el README principal](./README.md#screenshots)
18
+
19
+ ## Basic usage · 基本用法
20
+
21
+ > 📖 [Leer esta sección en el README principal](./README.md#basic-usage-基本用法)
22
+
23
+ ## 功能总览 · At a glance(中英对照 / Bilingual)
24
+
25
+ > 📖 [Leer esta sección en el README principal](./README.md#功能总览-at-a-glance中英对照-bilingual)
26
+
27
+ ## Features
28
+
29
+ > 📖 [Leer esta sección en el README principal](./README.md#features)
30
+
31
+ ## Pinned sessions & panel layout (v0.11.0)
32
+
33
+ > 📖 [Leer esta sección en el README principal](./README.md#pinned-sessions-panel-layout-v0110)
34
+
35
+ ## History & panel management (v0.10.0)
36
+
37
+ > 📖 [Leer esta sección en el README principal](./README.md#history-panel-management-v0100)
38
+
39
+ ## Discipline injection (v0.9.0)
40
+
41
+ > 📖 [Leer esta sección en el README principal](./README.md#discipline-injection-v090)
42
+
43
+ ## Install
44
+
45
+ > 📖 [Leer esta sección en el README principal](./README.md#install)
46
+
47
+ ## How it works
48
+
49
+ > 📖 [Leer esta sección en el README principal](./README.md#how-it-works)
50
+
51
+ ## FAQ
52
+
53
+ > 📖 [Leer esta sección en el README principal](./README.md#faq)
54
+
55
+ ## Compatibility
56
+
57
+ > 📖 [Leer esta sección en el README principal](./README.md#compatibility)
58
+
59
+ ## License
60
+
61
+ > 📖 [Leer esta sección en el README principal](./README.md#license)
package/README-hi.md ADDED
@@ -0,0 +1,61 @@
1
+ # Todo Float Ball
2
+
3
+ > A floating task ball that keeps the live todo list on screen and injects the checklist discipline every turn.
4
+
5
+ > Full documentation: [English README](./README.md)
6
+
7
+ ## What it does · 一句话说明
8
+
9
+ > 📖 [यह अनुभाग मुख्य README में पढ़ें](./README.md#what-it-does-一句话说明)
10
+
11
+ ## Why it matters · 为什么值得装
12
+
13
+ > 📖 [यह अनुभाग मुख्य README में पढ़ें](./README.md#why-it-matters-为什么值得装)
14
+
15
+ ## Screenshots
16
+
17
+ > 📖 [यह अनुभाग मुख्य README में पढ़ें](./README.md#screenshots)
18
+
19
+ ## Basic usage · 基本用法
20
+
21
+ > 📖 [यह अनुभाग मुख्य README में पढ़ें](./README.md#basic-usage-基本用法)
22
+
23
+ ## 功能总览 · At a glance(中英对照 / Bilingual)
24
+
25
+ > 📖 [यह अनुभाग मुख्य README में पढ़ें](./README.md#功能总览-at-a-glance中英对照-bilingual)
26
+
27
+ ## Features
28
+
29
+ > 📖 [यह अनुभाग मुख्य README में पढ़ें](./README.md#features)
30
+
31
+ ## Pinned sessions & panel layout (v0.11.0)
32
+
33
+ > 📖 [यह अनुभाग मुख्य README में पढ़ें](./README.md#pinned-sessions-panel-layout-v0110)
34
+
35
+ ## History & panel management (v0.10.0)
36
+
37
+ > 📖 [यह अनुभाग मुख्य README में पढ़ें](./README.md#history-panel-management-v0100)
38
+
39
+ ## Discipline injection (v0.9.0)
40
+
41
+ > 📖 [यह अनुभाग मुख्य README में पढ़ें](./README.md#discipline-injection-v090)
42
+
43
+ ## Install
44
+
45
+ > 📖 [यह अनुभाग मुख्य README में पढ़ें](./README.md#install)
46
+
47
+ ## How it works
48
+
49
+ > 📖 [यह अनुभाग मुख्य README में पढ़ें](./README.md#how-it-works)
50
+
51
+ ## FAQ
52
+
53
+ > 📖 [यह अनुभाग मुख्य README में पढ़ें](./README.md#faq)
54
+
55
+ ## Compatibility
56
+
57
+ > 📖 [यह अनुभाग मुख्य README में पढ़ें](./README.md#compatibility)
58
+
59
+ ## License
60
+
61
+ > 📖 [यह अनुभाग मुख्य README में पढ़ें](./README.md#license)
package/README-pt.md ADDED
@@ -0,0 +1,61 @@
1
+ # Todo Float Ball
2
+
3
+ > A floating task ball that keeps the live todo list on screen and injects the checklist discipline every turn.
4
+
5
+ > Full documentation: [English README](./README.md)
6
+
7
+ ## What it does · 一句话说明
8
+
9
+ > 📖 [Ler esta seção no README principal](./README.md#what-it-does-一句话说明)
10
+
11
+ ## Why it matters · 为什么值得装
12
+
13
+ > 📖 [Ler esta seção no README principal](./README.md#why-it-matters-为什么值得装)
14
+
15
+ ## Screenshots
16
+
17
+ > 📖 [Ler esta seção no README principal](./README.md#screenshots)
18
+
19
+ ## Basic usage · 基本用法
20
+
21
+ > 📖 [Ler esta seção no README principal](./README.md#basic-usage-基本用法)
22
+
23
+ ## 功能总览 · At a glance(中英对照 / Bilingual)
24
+
25
+ > 📖 [Ler esta seção no README principal](./README.md#功能总览-at-a-glance中英对照-bilingual)
26
+
27
+ ## Features
28
+
29
+ > 📖 [Ler esta seção no README principal](./README.md#features)
30
+
31
+ ## Pinned sessions & panel layout (v0.11.0)
32
+
33
+ > 📖 [Ler esta seção no README principal](./README.md#pinned-sessions-panel-layout-v0110)
34
+
35
+ ## History & panel management (v0.10.0)
36
+
37
+ > 📖 [Ler esta seção no README principal](./README.md#history-panel-management-v0100)
38
+
39
+ ## Discipline injection (v0.9.0)
40
+
41
+ > 📖 [Ler esta seção no README principal](./README.md#discipline-injection-v090)
42
+
43
+ ## Install
44
+
45
+ > 📖 [Ler esta seção no README principal](./README.md#install)
46
+
47
+ ## How it works
48
+
49
+ > 📖 [Ler esta seção no README principal](./README.md#how-it-works)
50
+
51
+ ## FAQ
52
+
53
+ > 📖 [Ler esta seção no README principal](./README.md#faq)
54
+
55
+ ## Compatibility
56
+
57
+ > 📖 [Ler esta seção no README principal](./README.md#compatibility)
58
+
59
+ ## License
60
+
61
+ > 📖 [Ler esta seção no README principal](./README.md#license)
package/README-zh.md ADDED
@@ -0,0 +1,101 @@
1
+ # dsh-todo-float-ball
2
+
3
+ > 悬浮任务球常驻屏幕显示实时待办,并在每一轮对话注入清单纪律。
4
+
5
+ > 完整文档以 [English README](./README.md) 为准,本页提供中文导读与关键信息速查。
6
+
7
+ ## What it does · 一句话说明
8
+
9
+ 本节内容详见 [English README](./README.md)。
10
+
11
+ ## Why it matters · 为什么值得装
12
+
13
+ 本节内容详见 [English README](./README.md)。
14
+
15
+ ## Screenshots
16
+
17
+ 本节内容详见 [English README](./README.md)。
18
+
19
+ ## Basic usage · 基本用法
20
+
21
+ 本节内容详见 [English README](./README.md)。
22
+
23
+ ## 功能总览 · At a glance(中英对照 / Bilingual)
24
+
25
+ ### 悬浮球 · Floating ball
26
+
27
+ | 中文 | English |
28
+ |---|---|
29
+ | 常驻可拖拽悬浮球(默认右下角),位置记忆跨重启恢复,越界自动拉回 | Persistent draggable ball, position remembered, off-screen clamped back |
30
+ | 球面实时 `完成数/总数` + 当前进行中任务名(截断) | Live `done/total` + active task name, updated in real time |
31
+ | 状态颜色:橙脉动=进行中 / 绿=完成 / 蓝=待办 / 灰=空清单 | Status colours: orange pulse / green / blue / gray |
32
+ | 每项带图标与配色:✓ 完成(绿+删除线)、▶ 进行中(橙)、○ 待办(灰虚线) | Per-item icons: ✓ done, ▶ in progress, ○ pending |
33
+
34
+ ### 面板与数据 · Panel & data
35
+
36
+ | 中文 | English |
37
+ |---|---|
38
+ | 点球折叠/展开,靠屏幕边缘自动翻侧 | Click to fold/expand; flips sides near the edge |
39
+ | 双路数据同步:DOM 观察 + 会话投影帧解析——官方面板折叠时也有完整清单 | Dual-channel sync: DOM observer + projection frames — full list even when collapsed |
40
+ | Shadow DOM + `all:initial` 样式隔离 | Shadow DOM with `all:initial` isolation |
41
+ | 桌面端 + 网页端双端可用 | Works on Desktop and web |
42
+
43
+ ### 历史与固定会话 · History & pinned sessions
44
+
45
+ | 中文 | English |
46
+ |---|---|
47
+ | 快照合并而非替换,旧任务进历史归档区 | Snapshots merge, older todos become a history archive |
48
+ | 行级 ✕ 隐藏、两个折叠行、🧹 批量清理、♻️ 一键恢复、📋 整行复制 | Per-row hide, fold rows, batch cleanup, one-click restore, full-text copy |
49
+ | 📌 固定会话共用同一渲染器,状态按会话独立 | Pinned sessions share the renderer, per-session state |
50
+ | ⇄ 上下堆叠 ⇄ 左右并排布局切换 | ⇄ stacked / side-by-side layout switch |
51
+
52
+ ### 纪律注入 · Discipline injection
53
+
54
+ | 中文 | English |
55
+ |---|---|
56
+ | 向每次会话系统提示注入 todo 纪律(order=190)——装插件即生效 | Injects todo discipline into every session — works on install |
57
+ | 硬门:每轮首个工具调用必须是 todo_write(可用 `enforceFirstTodoWrite: false` 关闭) | Hard gate: first tool call per turn must be `todo_write` (toggle) |
58
+ | 只有显式布尔 `false` 才关闭 | Only explicit `false` disables it |
59
+
60
+ ### 皮肤与隐私 · Skins & privacy
61
+
62
+ | 中文 | English |
63
+ |---|---|
64
+ | 三球共享 128 款皮肤(含经典旧皮肤) | Shares the 128-skin catalogue across the three balls |
65
+ | 零遥测、零上传,仅回环健康路由 | Zero telemetry, loopback-only health route |
66
+
67
+ ## Features
68
+
69
+ 本节内容详见 [English README](./README.md)。
70
+
71
+ ## Pinned sessions & panel layout (v0.11.0)
72
+
73
+ 本节内容详见 [English README](./README.md)。
74
+
75
+ ## History & panel management (v0.10.0)
76
+
77
+ 本节内容详见 [English README](./README.md)。
78
+
79
+ ## Discipline injection (v0.9.0)
80
+
81
+ 本节内容详见 [English README](./README.md)。
82
+
83
+ ## Install
84
+
85
+ 本节内容详见 [English README](./README.md)。
86
+
87
+ ## How it works
88
+
89
+ 本节内容详见 [English README](./README.md)。
90
+
91
+ ## FAQ
92
+
93
+ 本节内容详见 [English README](./README.md)。
94
+
95
+ ## Compatibility
96
+
97
+ 本节内容详见 [English README](./README.md)。
98
+
99
+ ## License
100
+
101
+ MIT
package/icon.svg ADDED
@@ -0,0 +1,11 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64" role="img" aria-label="dsh-todo-float-ball">
2
+ <defs>
3
+ <linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
4
+ <stop offset="0%" stop-color="#4F6BED"/>
5
+ <stop offset="100%" stop-color="#7C3AED"/>
6
+ </linearGradient>
7
+ </defs>
8
+ <rect x="2" y="2" width="60" height="60" rx="14" fill="url(#g)"/>
9
+ <text x="32" y="41" font-family="-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif"
10
+ font-size="26" font-weight="700" fill="#ffffff" text-anchor="middle">TF</text>
11
+ </svg>
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Todo Float Ball",
4
+ "description": "A floating task ball that keeps the live todo list on screen and injects the checklist discipline every turn."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "待办悬浮球",
4
+ "description": "悬浮任务球常驻屏幕显示实时待办,并在每轮对话注入清单纪律。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,19 +1,23 @@
1
1
  {
2
2
  "name": "dsh-todo-float-ball",
3
- "version": "0.14.2",
3
+ "version": "0.14.4",
4
4
  "description": "DSH todo 悬浮球:常驻可拖动悬浮球实时显示当前会话 todo_write 任务清单进度(总数/完成数/进行中),Shadow DOM 样式隔离,点击折叠/展开完整清单,状态颜色(待办灰/进行中橙脉动/完成绿)。数据双路同步:MutationObserver 抓官方 todo 面板为主 + 拦截会话投影帧为辅。双端可用(Desktop 桌面端 + Web 网页端)。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "sideEffects": false,
8
8
  "engines": {
9
- "node": ">=18"
9
+ "dsh": ">=0.1.7-rc.1",
10
+ "node": "^22.19.0 || >=24.0.0"
10
11
  },
11
12
  "exports": {
12
13
  ".": "./lib/index.js",
13
14
  "./client": "./lib/client.js",
14
- "./package.json": "./package.json"
15
+ "./package.json": "./package.json",
16
+ "./locale/*.json": "./locale/*.json",
17
+ "./icon": "./icon.svg"
15
18
  },
16
19
  "files": [
20
+ "lib",
17
21
  "lib/**/*.js",
18
22
  "cordis.patch.yml",
19
23
  "README.md",
@@ -21,7 +25,13 @@
21
25
  "CHANGELOG.md",
22
26
  "docs/*.md",
23
27
  "docs/images/*",
24
- "LICENSE"
28
+ "LICENSE",
29
+ "locale/*.json",
30
+ "icon.svg",
31
+ "README-zh.md",
32
+ "README-es.md",
33
+ "README-pt.md",
34
+ "README-hi.md"
25
35
  ],
26
36
  "license": "MIT",
27
37
  "repository": {
@@ -52,5 +62,14 @@
52
62
  ],
53
63
  "platform": "web"
54
64
  }
55
- }
65
+ },
66
+ "peerDependencies": {
67
+ "@deepseek-ai/cordis": "^4.0.2",
68
+ "@deepseek-ai/dsh": ">=0.1.7-rc.1"
69
+ },
70
+ "devDependencies": {
71
+ "@deepseek-ai/cordis": "^4.0.2",
72
+ "@deepseek-ai/dsh": ">=0.1.7-rc.1"
73
+ },
74
+ "packageManager": "pnpm@11.7.0"
56
75
  }