dsh-any-background 0.2.6 → 0.2.7

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/lib/index.js CHANGED
@@ -69,7 +69,8 @@ const DEFAULT_CONFIG = {
69
69
  settings: 0,
70
70
  chat: 0,
71
71
  trajectory: 0,
72
- input: 0
72
+ input: 0,
73
+ panel: 0
73
74
  },
74
75
  settingsOpacity: 1,
75
76
  wallpaperOpacity: 1,
@@ -95,6 +96,7 @@ const DEFAULT_CONFIG = {
95
96
  regenerateOnReload: false,
96
97
  chatTextOpacity: 0,
97
98
  trajectoryOpacity: 1,
99
+ panelOpacity: 1,
98
100
  profiles: [],
99
101
  rotation: {
100
102
  enabled: false,
@@ -203,7 +205,8 @@ function normalizeConfig(raw) {
203
205
  "settings",
204
206
  "chat",
205
207
  "trajectory",
206
- "input"
208
+ "input",
209
+ "panel"
207
210
  ]) blurs[k] = clamp(bl[k], 0, 60, DEFAULT_CONFIG.blurs[k]);
208
211
  return {
209
212
  color,
@@ -226,6 +229,7 @@ function normalizeConfig(raw) {
226
229
  regenerateOnReload: typeof r.regenerateOnReload === "boolean" ? r.regenerateOnReload : DEFAULT_CONFIG.regenerateOnReload,
227
230
  chatTextOpacity: clamp(r.chatTextOpacity, 0, 1, DEFAULT_CONFIG.chatTextOpacity),
228
231
  trajectoryOpacity: clamp(r.trajectoryOpacity, 0, 1, DEFAULT_CONFIG.trajectoryOpacity),
232
+ panelOpacity: clamp(r.panelOpacity, 0, 1, DEFAULT_CONFIG.panelOpacity),
229
233
  profiles: normalizeProfiles(r.profiles),
230
234
  rotation: normalizeRotation(r.rotation),
231
235
  schedule: normalizeSchedule(r.schedule),
@@ -286,7 +290,8 @@ function normalizeProfileAppearance(raw) {
286
290
  "settings",
287
291
  "chat",
288
292
  "trajectory",
289
- "input"
293
+ "input",
294
+ "panel"
290
295
  ]) blurs[k] = clamp(bl[k], 0, 60, DEFAULT_CONFIG.blurs[k]);
291
296
  return {
292
297
  color: Array.isArray(c) && c.length === 3 && c.every((x) => typeof x === "number" && isFinite(x)) ? [
@@ -305,7 +310,8 @@ function normalizeProfileAppearance(raw) {
305
310
  wallpaperOpacity: clamp(a.wallpaperOpacity, 0, 1, DEFAULT_CONFIG.wallpaperOpacity),
306
311
  blur: clamp(a.blur, 0, 60, DEFAULT_CONFIG.blur),
307
312
  chatTextOpacity: clamp(a.chatTextOpacity, 0, 1, DEFAULT_CONFIG.chatTextOpacity),
308
- trajectoryOpacity: clamp(a.trajectoryOpacity, 0, 1, DEFAULT_CONFIG.trajectoryOpacity)
313
+ trajectoryOpacity: clamp(a.trajectoryOpacity, 0, 1, DEFAULT_CONFIG.trajectoryOpacity),
314
+ panelOpacity: clamp(a.panelOpacity, 0, 1, DEFAULT_CONFIG.panelOpacity)
309
315
  };
310
316
  }
311
317
  function normalizeProfiles(raw) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-any-background",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Appearance plugin for DeepSeek Harness: custom theme color (PS-style color wheel), background wallpaper with opacity/blur controls, and separate main/settings interface opacity.",
5
5
  "keywords": [
6
6
  "deepseek-harness",
@@ -23,7 +23,7 @@
23
23
  "author": "Tkingxiao",
24
24
  "type": "module",
25
25
  "engines": {
26
- "dsh": ">=0.1.2-alpha.4"
26
+ "dsh": ">=0.1.5-rc.2"
27
27
  },
28
28
  "exports": {
29
29
  ".": {
@@ -104,13 +104,6 @@
104
104
  "dsh": {
105
105
  "compatibility": {
106
106
  "dshReleases": {
107
- "0.1.2-alpha.4": "compatible",
108
- "0.1.2-alpha.5": "compatible",
109
- "0.1.2-rc.1": "compatible",
110
- "0.1.3-alpha.2": "compatible",
111
- "0.1.5-alpha.1": "compatible",
112
- "0.1.5-alpha.2": "compatible",
113
- "0.1.5-rc.1": "compatible",
114
107
  "0.1.5-rc.2": "compatible"
115
108
  }
116
109
  },