dsh-job-progress 0.1.0 → 1.0.0

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 ADDED
@@ -0,0 +1,44 @@
1
+ # 变更记录
2
+
3
+ 本文件记录对外发布的版本。格式参考 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),
4
+ 版本号遵循 [语义化版本](https://semver.org/lang/zh-CN/)。
5
+
6
+ ## [1.0.0] - 2026-09-25
7
+
8
+ 首个稳定版。这一版没有引入不兼容改动:自 0.1.0 首发以来,对外接口(`dsh.bundle` 补丁行、
9
+ `./client` 与 `./progress` 两个入口、进度文件的目录约定)都没有改过,本版把语言与依赖声明
10
+ 两处不一致补齐,并把包标记为稳定。
11
+
12
+ ### 新增
13
+
14
+ - `CHANGELOG.md`:从这一版开始记录每次发布。
15
+
16
+ ### 修复
17
+
18
+ - `lib/client.js`:剩余时间的前缀过去是硬编码中文,英文界面下显示成「剩11m16s」。改为走
19
+ locale 词条 `eta.left`,中文为 `剩{d}`、英文为 `{d} left`(中英词序相反,所以用占位符而不是拼接)。
20
+
21
+ ### 变更
22
+
23
+ - `package.json`:peer 范围改为 `^0.1.0-rc.6 || ^0.1.5-rc.1`。原来的 `^0.1.0-rc.6` 按 semver
24
+ 规则**不匹配**预发布版本 `0.1.5-rc.2`(只允许同一 `major.minor.patch` 元组内的预发布比较),
25
+ 补上同元组分支后当前 harness 才落在声明范围内。
26
+ - `package.json`:声明 `engines.node`(`>=22.19.0`)。
27
+
28
+ ## [0.1.1] - 2026-09-25
29
+
30
+ ### 新增
31
+
32
+ - `screenshots.json`:向插件目录声明界面截图。
33
+ - README 增加 npm 安装方式与 npm 徽章;截图改用 Markdown 图片语法——插件目录渲染 README 时会丢弃
34
+ 裸 HTML,于是相对路径也就无法被改写成可访问的绝对地址。
35
+
36
+ ## [0.1.0] - 2026-09-25
37
+
38
+ ### 新增
39
+
40
+ - 首个公开发布。
41
+
42
+ [1.0.0]: https://github.com/Rice00/dsh-job-progress/compare/7ede4b8...v1.0.0
43
+ [0.1.1]: https://github.com/Rice00/dsh-job-progress/compare/a76c03d...7ede4b8
44
+ [0.1.0]: https://github.com/Rice00/dsh-job-progress/commit/a76c03d
package/README.md CHANGED
@@ -9,6 +9,7 @@
9
9
  A DeepSeek Harness plugin showing live progress for long-running background jobs:
10
10
  downloads, model conversions, renders, batch jobs — anything that runs in the background.
11
11
 
12
+ [![npm](https://img.shields.io/npm/v/dsh-job-progress?color=2f7de1)](https://www.npmjs.com/package/dsh-job-progress)
12
13
  [![License: MIT](https://img.shields.io/badge/License-MIT-2f7de1.svg)](./LICENSE)
13
14
  [![Platform: DSH web](https://img.shields.io/badge/platform-DSH%20web-334eac.svg)](#compatibility)
14
15
  [![Runtime: Node 22+](https://img.shields.io/badge/runtime-Node%2022%2B-3c873a.svg)](#compatibility)
@@ -56,11 +57,11 @@ host plugin modules are cached in-process, so a running harness will not pick th
56
57
  host code, after a refresh for UI code), but the folder must not be moved afterwards. To copy the
57
58
  files instead, use `file:/abs/path/to/dsh-job-progress` — then later edits need a re-install.
58
59
 
59
- ### From GitHub or npm
60
+ ### From npm or GitHub
60
61
 
61
62
  ```bash
62
- dsh plugin --profile <profile> add github:Rice00/dsh-job-progress
63
- dsh plugin --profile <profile> add dsh-job-progress # once published to npm
63
+ dsh plugin --profile <profile> add dsh-job-progress # npm
64
+ dsh plugin --profile <profile> add github:Rice00/dsh-job-progress # GitHub
64
65
  ```
65
66
 
66
67
  ### For an AI assistant (copy-paste)
@@ -68,10 +69,11 @@ dsh plugin --profile <profile> add dsh-job-progress # once published to n
68
69
  ```
69
70
  Please install the DSH plugin dsh-job-progress for me:
70
71
 
71
- 1) Install it into the web profile, from GitHub:
72
- dsh plugin --profile web add github:Rice00/dsh-job-progress
73
- or from a local checkout (absolute path of the folder):
74
- dsh plugin --profile web add link:<absolute-path>
72
+ 1) Install it into the web profile:
73
+ from npm: dsh plugin --profile web add dsh-job-progress
74
+ from GitHub: dsh plugin --profile web add github:Rice00/dsh-job-progress
75
+ local checkout (absolute path of the folder):
76
+ dsh plugin --profile web add link:<absolute-path>
75
77
  2) Restart that profile — host plugin modules are cached in-process, so the new row is
76
78
  only picked up on boot. (UI-only changes just need a browser refresh.)
77
79
  3) Verify:
package/README.zh.md CHANGED
@@ -8,6 +8,7 @@
8
8
 
9
9
  一个 DeepSeek Harness 插件:为长时间运行的后台任务显示实时进度。下载、模型转换、渲染、批量任务,都算。
10
10
 
11
+ [![npm](https://img.shields.io/npm/v/dsh-job-progress?color=2f7de1)](https://www.npmjs.com/package/dsh-job-progress)
11
12
  [![License: MIT](https://img.shields.io/badge/License-MIT-2f7de1.svg)](./LICENSE)
12
13
  [![Platform: DSH web](https://img.shields.io/badge/platform-DSH%20web-334eac.svg)](#兼容性)
13
14
  [![Runtime: Node 22+](https://img.shields.io/badge/runtime-Node%2022%2B-3c873a.svg)](#兼容性)
@@ -52,11 +53,11 @@ bundle 补丁会往 profile 里插一行(`job-progress`)。**然后重启这
52
53
 
53
54
  `link:` 是活链接:**改源码立刻生效**(宿主代码重启后生效,界面代码刷新后生效),但装完之后不能挪动这个目录。想连文件一起复制走,用 `file:/abs/path/to/dsh-job-progress`,代价是以后每次改都得重新装一遍。
54
55
 
55
- ### 从 GitHub 或 npm 安装
56
+ ### 从 npm 或 GitHub 安装
56
57
 
57
58
  ```bash
58
- dsh plugin --profile <profile> add github:Rice00/dsh-job-progress
59
- dsh plugin --profile <profile> add dsh-job-progress # 发布到 npm 之后
59
+ dsh plugin --profile <profile> add dsh-job-progress # npm
60
+ dsh plugin --profile <profile> add github:Rice00/dsh-job-progress # GitHub
60
61
  ```
61
62
 
62
63
  ### 交给 AI 助手(直接复制)
@@ -64,7 +65,9 @@ dsh plugin --profile <profile> add dsh-job-progress # 发布到 npm 之
64
65
  ```
65
66
  请帮我安装 DSH 插件 dsh-job-progress:
66
67
 
67
- 1) 装进 web profile,两种来源任选:
68
+ 1) 装进 web profile,三种来源任选:
69
+ 从 npm:
70
+ dsh plugin --profile web add dsh-job-progress
68
71
  从 GitHub:
69
72
  dsh plugin --profile web add github:Rice00/dsh-job-progress
70
73
  或从本地检出(填这个文件夹的绝对路径):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-job-progress",
3
- "version": "0.1.0",
3
+ "version": "1.0.0",
4
4
  "description": "Live progress for long-running background jobs in the DeepSeek Harness web GUI: a draggable floating ball with a per-session task panel showing done/total, speed and ETA.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -17,6 +17,7 @@
17
17
  "cordis.patch.yml",
18
18
  "README.md",
19
19
  "README.zh.md",
20
+ "CHANGELOG.md",
20
21
  "assets"
21
22
  ],
22
23
  "keywords": [