beauticode-dsh 1.0.29 → 1.0.30

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/README.zh-CN.md CHANGED
@@ -68,3 +68,8 @@ npx @deepseek-ai/dsh web
68
68
  ## 1.0.29 背景修复
69
69
 
70
70
  画窗现在响应背景磨砂和阴影滑块,并随 DSH 深浅色切换遮罩。背景模式保留宿主的渐隐滚动内容,修复长思考展开后的持续抖动(#86、#87)。
71
+
72
+
73
+ ## 1.0.30:插件页可读性
74
+
75
+ 基于本地正式包 1.0.29,加入 #92 的局部实色底板,并保留主分支已合并的问答、计划及审批面板保护。DSH Web 和官方 Desktop 共用同一脚本;插件标题、分组、卡片、详情、配置及加载/空/错误状态受保护,分组间隙保留壁纸。沿用「功能面板不透明」开关,关闭保护或清除背景即可恢复宿主效果;说明文字使用宿主 secondary 标签色。不改变偏好、鉴权和存储格式。回滚可恢复旧包,无需数据迁移。
package/package.json CHANGED
@@ -1,62 +1,62 @@
1
- {
2
- "name": "beauticode-dsh",
3
- "version": "1.0.29",
4
- "description": "Cordis plugin: image/video backgrounds for DeepSeek Harness Web and Desktop.",
5
- "type": "module",
6
- "main": "./index.mjs",
7
- "bin": {
8
- "beauticode-dsh": "bin/beauticode-dsh"
9
- },
10
- "exports": {
11
- ".": {
12
- "import": "./index.mjs"
13
- }
14
- },
15
- "files": [
16
- "index.mjs",
17
- "browser-injection.mjs",
18
- "transport.js",
19
- "client.js",
20
- "readability.js",
21
- "console.js",
22
- "gallery.js",
23
- "gallery-host.mjs",
24
- "skin-center.json",
25
- "atmosphere.js",
26
- "presets.mjs",
27
- "agent.mjs",
28
- "control-client.mjs",
29
- "host-apply.mjs",
30
- "ui-host.mjs",
31
- "cli.js",
32
- "bin/beauticode-dsh",
33
- "cordis.patch.yml",
34
- "vendor",
35
- "themes"
36
- ],
37
- "dsh": {
38
- "bundle": {
39
- "patch": "./cordis.patch.yml"
40
- }
41
- },
42
- "publishConfig": {
43
- "access": "public"
44
- },
45
- "keywords": [
46
- "dsh",
47
- "dsh-plugin",
48
- "deepseek",
49
- "deepseek-harness",
50
- "background",
51
- "wallpaper"
52
- ],
53
- "repository": {
54
- "type": "git",
55
- "url": "git+https://github.com/starsstreaming/beautiCode.git",
56
- "directory": "integrations/deepseek-harness"
57
- },
58
- "engines": {
59
- "node": ">=22"
60
- },
61
- "license": "MIT"
62
- }
1
+ {
2
+ "name": "beauticode-dsh",
3
+ "version": "1.0.30",
4
+ "description": "Cordis plugin: image/video backgrounds for DeepSeek Harness Web and Desktop.",
5
+ "type": "module",
6
+ "main": "./index.mjs",
7
+ "bin": {
8
+ "beauticode-dsh": "bin/beauticode-dsh"
9
+ },
10
+ "exports": {
11
+ ".": {
12
+ "import": "./index.mjs"
13
+ }
14
+ },
15
+ "files": [
16
+ "index.mjs",
17
+ "browser-injection.mjs",
18
+ "transport.js",
19
+ "client.js",
20
+ "readability.js",
21
+ "console.js",
22
+ "gallery.js",
23
+ "gallery-host.mjs",
24
+ "skin-center.json",
25
+ "atmosphere.js",
26
+ "presets.mjs",
27
+ "agent.mjs",
28
+ "control-client.mjs",
29
+ "host-apply.mjs",
30
+ "ui-host.mjs",
31
+ "cli.js",
32
+ "bin/beauticode-dsh",
33
+ "cordis.patch.yml",
34
+ "vendor",
35
+ "themes"
36
+ ],
37
+ "dsh": {
38
+ "bundle": {
39
+ "patch": "./cordis.patch.yml"
40
+ }
41
+ },
42
+ "publishConfig": {
43
+ "access": "public"
44
+ },
45
+ "keywords": [
46
+ "dsh",
47
+ "dsh-plugin",
48
+ "deepseek",
49
+ "deepseek-harness",
50
+ "background",
51
+ "wallpaper"
52
+ ],
53
+ "repository": {
54
+ "type": "git",
55
+ "url": "git+https://github.com/starsstreaming/beautiCode.git",
56
+ "directory": "integrations/deepseek-harness"
57
+ },
58
+ "engines": {
59
+ "node": ">=22"
60
+ },
61
+ "license": "MIT"
62
+ }
package/readability.js CHANGED
@@ -35,7 +35,31 @@ html[data-bc-active="true"][data-bc-resolved-tone="light"] body{
35
35
  Semantic roles and data-composer-card are shipped DSH contracts, not hashes. */
36
36
  html[data-bc-active="true"]:not([data-bc-readable-surfaces="false"]) :is(
37
37
  [role="dialog"],[role="alertdialog"],[role="menu"],[role="listbox"],
38
- [role="tooltip"],[data-composer-card]
38
+ [role="tooltip"],[data-composer-card],
39
+ /* DSH pending-interaction panels — user questions, plan review and approval —
40
+ are NOT dialogs. Each is a transparent flex frame wrapping an inner card
41
+ that paints var(--dsw-specific-input-major), the very token this bridge
42
+ re-expresses as translucent, so the transcript bled through the question
43
+ card. Target the inner card by the stable data-* key on its frame (the
44
+ class names are CSS-module hashes and must not be relied on): painting the
45
+ frame instead would produce a solid bar across its side padding. */
46
+ [data-question-key] > section,
47
+ [data-plan-review-key] > section,
48
+ [data-approval-key] > div,
49
+ /* The standalone plugin page has separate reading regions. Keep its frame
50
+ transparent so wallpaper remains visible between groups. Empty/offline
51
+ states are direct paragraphs; failures wrap an alert and retry control. */
52
+ [data-plugin-panel] > header,
53
+ [data-plugin-panel] [data-plugin-group],
54
+ [data-plugin-panel] [data-plugin-detail],
55
+ [data-plugin-panel] [data-plugin-item-detail],
56
+ [data-plugin-panel] [data-plugin-row-detail],
57
+ [data-plugin-panel] [data-plugin-config],
58
+ [data-plugin-panel] [data-plugin-loading],
59
+ [data-plugin-panel] > p,
60
+ [data-plugin-panel] > div:has(> [role="alert"]),
61
+ [data-plugin-panel] [data-plugin-package],
62
+ [data-plugin-panel] [data-plugin-item]
39
63
  ){
40
64
  --dsw-alias-bg-base:var(--bc-readable-fill);
41
65
  --dsw-alias-bg-layer-1:var(--bc-readable-fill);
@@ -47,6 +71,17 @@ html[data-bc-active="true"]:not([data-bc-readable-surfaces="false"]) :is(
47
71
  --dsw-alias-tooltip-bg:var(--bc-readable-fill);
48
72
  background-color:var(--bc-readable-fill);
49
73
  }
74
+ /* Keep host geometry and radii: groups have no padding, so adding a radius
75
+ would expose wallpaper behind the first letter of their heading. */
76
+ html[data-bc-active="true"]:not([data-bc-readable-surfaces="false"]) [data-plugin-panel]{
77
+ --dsw-alias-label-tertiary:var(--dsw-alias-label-secondary);
78
+ --dsw-alias-label-caption:var(--dsw-alias-label-secondary);
79
+ }
80
+ /* Preserve the host's translucent hover feedback over an opaque base. Using
81
+ an image layer leaves the reading plate opaque even in gallery/video mode. */
82
+ html[data-bc-active="true"]:not([data-bc-readable-surfaces="false"]) [data-plugin-panel] :is([data-plugin-package],[data-plugin-item]):hover{
83
+ background-image:linear-gradient(var(--dsw-alias-interactive-bg-hover),var(--dsw-alias-interactive-bg-hover));
84
+ }
50
85
  `;
51
86
  document.head.append(style);
52
87
  applyPreference();