dsh-any-background 0.4.1 → 0.4.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/README.md +8 -11
- package/README.zh.md +8 -11
- package/lib/client.js +566 -190
- package/lib/client.js.map +1 -1
- package/lib/index.js +2 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -493,6 +493,7 @@ const DEFAULT_CONFIG = {
|
|
|
493
493
|
headerOpacity: .5,
|
|
494
494
|
headerBarOpacity: .5,
|
|
495
495
|
captionInk: "auto",
|
|
496
|
+
protectThirdParty: true,
|
|
496
497
|
profiles: [],
|
|
497
498
|
rotation: {
|
|
498
499
|
enabled: false,
|
|
@@ -749,6 +750,7 @@ function normalizeConfig(raw) {
|
|
|
749
750
|
headerOpacity: clamp(r.headerOpacity, 0, 1, DEFAULT_CONFIG.headerOpacity),
|
|
750
751
|
headerBarOpacity: clamp(r.headerBarOpacity, 0, 1, DEFAULT_CONFIG.headerBarOpacity),
|
|
751
752
|
captionInk: r.captionInk === "theme" || r.captionInk === "white" || r.captionInk === "black" ? r.captionInk : "auto",
|
|
753
|
+
protectThirdParty: typeof r.protectThirdParty === "boolean" ? r.protectThirdParty : DEFAULT_CONFIG.protectThirdParty,
|
|
752
754
|
profiles: normalizeProfiles(r.profiles),
|
|
753
755
|
rotation: normalizeRotation(r.rotation),
|
|
754
756
|
schedule: normalizeSchedule(r.schedule),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-any-background",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
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",
|