dsh-job-progress 1.0.0 → 1.0.1
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/lib/client.js +5 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
本文件记录对外发布的版本。格式参考 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),
|
|
4
4
|
版本号遵循 [语义化版本](https://semver.org/lang/zh-CN/)。
|
|
5
5
|
|
|
6
|
+
## [1.0.1] - 2026-09-25
|
|
7
|
+
|
|
8
|
+
### 修复
|
|
9
|
+
|
|
10
|
+
- 任务面板的背景不再透出后面的会话内容。面板此前直接借用了主题的菜单色
|
|
11
|
+
`--dsw-specific-menu`,而那个值本身是半透明的(亮色 `#f8f9fa94`、暗色 `#30313680`)
|
|
12
|
+
且**约定与模糊滤镜成对使用**——应用自己的菜单就是这么用的(`--dsw-menu-backdrop-filter`,
|
|
13
|
+
即 `blur(40px) saturate(150%)`)。面板里是数字与标签、没有那层模糊,于是直接透出底下的内容。
|
|
14
|
+
现在把同一层色调叠在不透明底色 `--dsw-alias-bg-base` 上:既保持主题色,又完全不透明,
|
|
15
|
+
主题被自定义时也仍然跟随(不硬编码色值)。
|
|
16
|
+
|
|
6
17
|
## [1.0.0] - 2026-09-25
|
|
7
18
|
|
|
8
19
|
首个稳定版。这一版没有引入不兼容改动:自 0.1.0 首发以来,对外接口(`dsh.bundle` 补丁行、
|
|
@@ -39,6 +50,7 @@
|
|
|
39
50
|
|
|
40
51
|
- 首个公开发布。
|
|
41
52
|
|
|
53
|
+
[1.0.1]: https://github.com/Rice00/dsh-job-progress/compare/v1.0.0...v1.0.1
|
|
42
54
|
[1.0.0]: https://github.com/Rice00/dsh-job-progress/compare/7ede4b8...v1.0.0
|
|
43
55
|
[0.1.1]: https://github.com/Rice00/dsh-job-progress/compare/a76c03d...7ede4b8
|
|
44
56
|
[0.1.0]: https://github.com/Rice00/dsh-job-progress/commit/a76c03d
|
package/lib/client.js
CHANGED
|
@@ -125,7 +125,11 @@ window.__ModuleLoader__.load({
|
|
|
125
125
|
'.djp-ball:focus-visible{outline:2px solid #7fb0ff;outline-offset:2px}',
|
|
126
126
|
'.djp-icon{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;pointer-events:none;-webkit-user-drag:none}',
|
|
127
127
|
'.djp-badge{position:absolute;top:-5px;right:-5px;box-sizing:border-box;width:19px;height:19px;border-radius:50%;background:#395590;color:#fff;font-size:10.5px;line-height:19px;text-align:center;font-variant-numeric:tabular-nums;box-shadow:0 0 0 2px rgba(255,255,255,.9)}',
|
|
128
|
-
'
|
|
128
|
+
// The theme's menu colour is deliberately translucent (#f8f9fa94 light / #30313680 dark) and is
|
|
129
|
+
// meant to be read on top of this base colour: the app pairs it with a backdrop blur, while the
|
|
130
|
+
// panel here shows numbers and labels and must stay opaque. Keeping the tint layered on the
|
|
131
|
+
// theme background rather than replacing it with a literal keeps a restyled theme working.
|
|
132
|
+
'.djp-panel{position:fixed;z-index:9001;box-sizing:border-box;width:340px;display:flex;flex-direction:column;gap:6px;overflow:auto;padding:8px;border-radius:14px;background:var(--dsw-specific-menu) var(--dsw-alias-bg-base);background:linear-gradient(var(--dsw-specific-menu),var(--dsw-specific-menu)),var(--dsw-alias-bg-base);box-shadow:var(--dsw-elevation-prominent)}',
|
|
129
133
|
'.djp-row{display:flex;flex-direction:column;gap:5px;box-sizing:border-box;width:100%;padding:7px 8px;border-radius:8px;color:var(--dsw-alias-label-primary);font-size:12.5px;line-height:17px}',
|
|
130
134
|
'.djp-rowSettled{color:var(--dsw-alias-label-tertiary)}',
|
|
131
135
|
'.djp-head{display:flex;align-items:center;gap:7px}',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-job-progress",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
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",
|