dsh-any-background 0.1.9 → 0.2.2

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
@@ -47,7 +47,8 @@ const DEFAULT_CONFIG = {
47
47
  opacities: {
48
48
  bg: .85,
49
49
  sidebar: .93,
50
- card: 1
50
+ card: 1,
51
+ input: 1
51
52
  },
52
53
  blurs: {
53
54
  bg: 0,
@@ -55,7 +56,8 @@ const DEFAULT_CONFIG = {
55
56
  card: 0,
56
57
  settings: 0,
57
58
  chat: 0,
58
- trajectory: 0
59
+ trajectory: 0,
60
+ input: 0
59
61
  },
60
62
  settingsOpacity: 1,
61
63
  wallpaperOpacity: 1,
@@ -169,14 +171,16 @@ function normalizeConfig(raw) {
169
171
  "card",
170
172
  "settings",
171
173
  "chat",
172
- "trajectory"
174
+ "trajectory",
175
+ "input"
173
176
  ]) blurs[k] = clamp(bl[k], 0, 60, DEFAULT_CONFIG.blurs[k]);
174
177
  return {
175
178
  color,
176
179
  opacities: {
177
180
  bg: clamp(ops.bg, 0, 1, legacy ?? DEFAULT_CONFIG.opacities.bg),
178
181
  sidebar: clamp(ops.sidebar, 0, 1, legacy !== null ? Math.min(1, legacy + .08) : DEFAULT_CONFIG.opacities.sidebar),
179
- card: clamp(ops.card, 0, 1, DEFAULT_CONFIG.opacities.card)
182
+ card: clamp(ops.card, 0, 1, DEFAULT_CONFIG.opacities.card),
183
+ input: clamp(ops.input, 0, 1, DEFAULT_CONFIG.opacities.input)
180
184
  },
181
185
  blurs,
182
186
  settingsOpacity: clamp(r.settingsOpacity, 0, 1, DEFAULT_CONFIG.settingsOpacity),
package/package.json CHANGED
@@ -1,106 +1,124 @@
1
- {
2
- "name": "dsh-any-background",
3
- "version": "0.1.9",
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
- "keywords": [
6
- "deepseek-harness",
7
- "dsh",
8
- "plugin",
9
- "dsh-plugin",
10
- "theme",
11
- "wallpaper",
12
- "web-ui"
13
- ],
14
- "homepage": "https://github.com/Tkingxiao/dsh-any-background#readme",
15
- "bugs": {
16
- "url": "https://github.com/Tkingxiao/dsh-any-background/issues"
17
- },
18
- "repository": {
19
- "type": "git",
20
- "url": "git+https://github.com/Tkingxiao/dsh-any-background.git"
21
- },
22
- "license": "MIT",
23
- "author": "Tkingxiao",
24
- "type": "module",
25
- "exports": {
26
- ".": {
27
- "default": "./lib/index.js"
28
- },
29
- "./invariant": {
30
- "default": "./lib/invariant.js"
31
- },
32
- "./client": {
33
- "default": "./lib/client.js"
34
- },
35
- "./package.json": "./package.json"
36
- },
37
- "main": "lib/index.js",
38
- "directories": {
39
- "lib": "lib"
40
- },
41
- "files": [
42
- "lib/index.js",
43
- "lib/invariant.js",
44
- "lib/client.js",
45
- "lib/client.js.map",
46
- "cordis.patch.yml"
47
- ],
48
- "scripts": {
49
- "bundle": "tsdown",
50
- "watch": "tsdown --watch",
51
- "typecheck": "tsc -p tsconfig.json"
52
- },
53
- "devDependencies": {
54
- "@deepseek-ai/dsh-home-paths": "^0.1.0-rc.6",
55
- "@types/node": "^26.2.0",
56
- "@types/react": "^19.2.18",
57
- "@types/react-dom": "^19.2.4",
58
- "tsdown": "^0.22.2",
59
- "typescript": "^7.0.2"
60
- },
61
- "dependencies": {
62
- "@deepseek-ai/dsh-home-paths": "^0.1.0-rc.6"
63
- },
64
- "peerDependencies": {
65
- "@deepseek-ai/cordis": "^4.0.1",
66
- "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6",
67
- "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.6",
68
- "@deepseek-ai/dsh-client-ui-theme": "^0.1.0-rc.6",
69
- "@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
70
- "react": "^18.2.0"
71
- },
72
- "peerDependenciesMeta": {
73
- "react": {
74
- "optional": true
75
- },
76
- "@deepseek-ai/cordis": {
77
- "optional": true
78
- },
79
- "@deepseek-ai/dsh-client-runtime": {
80
- "optional": true
81
- },
82
- "@deepseek-ai/dsh-client-ui-theme": {
83
- "optional": true
84
- },
85
- "@deepseek-ai/dsh-client-locale": {
86
- "optional": true
87
- },
88
- "@deepseek-ai/dsh-invariants": {
89
- "optional": true
90
- }
91
- },
92
- "dsh": {
93
- "bundle": {
94
- "patch": "./cordis.patch.yml"
95
- },
96
- "client": {
97
- "platform": "web",
98
- "inject": [
99
- "@deepseek-ai/dsh-client-runtime",
100
- "@deepseek-ai/dsh-client-locale",
101
- "@deepseek-ai/dsh-client-ui-theme"
102
- ],
103
- "immediately": true
104
- }
105
- }
106
- }
1
+ {
2
+ "name": "dsh-any-background",
3
+ "version": "0.2.2",
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
+ "keywords": [
6
+ "deepseek-harness",
7
+ "dsh",
8
+ "plugin",
9
+ "dsh-plugin",
10
+ "theme",
11
+ "wallpaper",
12
+ "web-ui"
13
+ ],
14
+ "homepage": "https://github.com/Tkingxiao/dsh-any-background#readme",
15
+ "bugs": {
16
+ "url": "https://github.com/Tkingxiao/dsh-any-background/issues"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/Tkingxiao/dsh-any-background.git"
21
+ },
22
+ "license": "MIT",
23
+ "author": "Tkingxiao",
24
+ "type": "module",
25
+ "exports": {
26
+ ".": {
27
+ "default": "./lib/index.js"
28
+ },
29
+ "./invariant": {
30
+ "default": "./lib/invariant.js"
31
+ },
32
+ "./client": {
33
+ "default": "./lib/client.js"
34
+ },
35
+ "./package.json": "./package.json"
36
+ },
37
+ "main": "lib/index.js",
38
+ "directories": {
39
+ "lib": "lib"
40
+ },
41
+ "files": [
42
+ "lib/index.js",
43
+ "lib/invariant.js",
44
+ "lib/client.js",
45
+ "lib/client.js.map",
46
+ "cordis.patch.yml"
47
+ ],
48
+ "scripts": {
49
+ "bundle": "tsdown",
50
+ "watch": "tsdown --watch",
51
+ "typecheck": "tsc -p tsconfig.json"
52
+ },
53
+ "devDependencies": {
54
+ "@deepseek-ai/dsh-home-paths": "^0.1.0-rc.6",
55
+ "@types/node": "^26.2.0",
56
+ "@types/react": "^19.2.18",
57
+ "@types/react-dom": "^19.2.4",
58
+ "tsdown": "^0.22.2",
59
+ "typescript": "^7.0.2",
60
+ "unrun": "^0.3.1"
61
+ },
62
+ "dependencies": {
63
+ "@deepseek-ai/dsh-home-paths": "^0.1.0-rc.6"
64
+ },
65
+ "peerDependencies": {
66
+ "@deepseek-ai/cordis": "^4.0.1",
67
+ "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6",
68
+ "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.6",
69
+ "@deepseek-ai/dsh-client-store": "^0.1.2-alpha.2",
70
+ "@deepseek-ai/dsh-client-connection": "^0.1.0-rc.6",
71
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6",
72
+ "@deepseek-ai/dsh-client-ui-theme": "^0.1.0-rc.6",
73
+ "@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
74
+ "react": "^18.2.0"
75
+ },
76
+ "peerDependenciesMeta": {
77
+ "react": {
78
+ "optional": true
79
+ },
80
+ "@deepseek-ai/cordis": {
81
+ "optional": true
82
+ },
83
+ "@deepseek-ai/dsh-client-store": {
84
+ "optional": true
85
+ },
86
+ "@deepseek-ai/dsh-client-connection": {
87
+ "optional": true
88
+ },
89
+ "@deepseek-ai/dsh-client-ui-settings": {
90
+ "optional": true
91
+ },
92
+ "@deepseek-ai/dsh-client-runtime": {
93
+ "optional": true
94
+ },
95
+ "@deepseek-ai/dsh-client-ui-theme": {
96
+ "optional": true
97
+ },
98
+ "@deepseek-ai/dsh-client-locale": {
99
+ "optional": true
100
+ },
101
+ "@deepseek-ai/dsh-invariants": {
102
+ "optional": true
103
+ }
104
+ },
105
+ "dsh": {
106
+ "bundle": {
107
+ "patch": "./cordis.patch.yml"
108
+ },
109
+ "client": {
110
+ "platform": "web",
111
+ "inject": [
112
+ "@deepseek-ai/dsh-client-runtime",
113
+ "@deepseek-ai/dsh-client-store",
114
+ "@deepseek-ai/dsh-client-locale",
115
+ "@deepseek-ai/dsh-client-connection",
116
+ "@deepseek-ai/dsh-client-ui-theme",
117
+ "@deepseek-ai/dsh-client-ui-settings",
118
+ "@deepseek-ai/dsh-client-ui-renderer"
119
+ ],
120
+ "immediately": true
121
+ }
122
+ },
123
+ "packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be"
124
+ }