dsh-any-background 0.3.3 → 0.3.5
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 +177 -176
- package/README.zh.md +177 -176
- package/lib/client.js +463 -46
- package/lib/client.js.map +1 -1
- package/lib/index.js +11 -1
- package/package.json +12 -18
- package/lib/invariant.js +0 -8
package/lib/index.js
CHANGED
|
@@ -10,7 +10,9 @@ import { basename, dirname, join } from "node:path";
|
|
|
10
10
|
* a row then reports `exact` instead of `line`, and no new folder appears.
|
|
11
11
|
* Rows may ALSO share a patch line while carrying different channels, which is
|
|
12
12
|
* how a line says "the facts changed halfway through it" (`0.1.7-alpha.2` and
|
|
13
|
-
* `0.1.7-rc.1` speak for `0.1.7-alpha`, `0.1.7-rc.2` opens `0.1.7-rc
|
|
13
|
+
* `0.1.7-rc.1` speak for `0.1.7-alpha`, `0.1.7-rc.2` opens `0.1.7-rc`, and
|
|
14
|
+
* `0.2.0-rc.2` opens a second answer on a line that had one — see the note on
|
|
15
|
+
* `HostChannel` for why that row is keyed to the build).
|
|
14
16
|
* Adding an ADAPTER means adding a channel plus a folder in
|
|
15
17
|
* `client/host-compat/versions/`. */
|
|
16
18
|
const SUPPORTED_RELEASES = [
|
|
@@ -37,6 +39,14 @@ const SUPPORTED_RELEASES = [
|
|
|
37
39
|
{
|
|
38
40
|
channel: "0.2.0-rc",
|
|
39
41
|
release: "0.2.0-rc.1"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
channel: "0.2.0-rc.2",
|
|
45
|
+
release: "0.2.0-rc.2"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
channel: "0.2.1-alpha",
|
|
49
|
+
release: "0.2.1-alpha.1"
|
|
40
50
|
}
|
|
41
51
|
];
|
|
42
52
|
const UNKNOWN_HOST_INFO = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-any-background",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
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,15 +23,12 @@
|
|
|
23
23
|
"author": "Tkingxiao",
|
|
24
24
|
"type": "module",
|
|
25
25
|
"engines": {
|
|
26
|
-
"dsh": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 ||
|
|
26
|
+
"dsh": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-alpha.1 || >=0.1.7-alpha.1"
|
|
27
27
|
},
|
|
28
28
|
"exports": {
|
|
29
29
|
".": {
|
|
30
30
|
"default": "./lib/index.js"
|
|
31
31
|
},
|
|
32
|
-
"./invariant": {
|
|
33
|
-
"default": "./lib/invariant.js"
|
|
34
|
-
},
|
|
35
32
|
"./client": {
|
|
36
33
|
"default": "./lib/client.js"
|
|
37
34
|
},
|
|
@@ -43,7 +40,6 @@
|
|
|
43
40
|
},
|
|
44
41
|
"files": [
|
|
45
42
|
"lib/index.js",
|
|
46
|
-
"lib/invariant.js",
|
|
47
43
|
"lib/client.js",
|
|
48
44
|
"lib/client.js.map",
|
|
49
45
|
"cordis.patch.yml"
|
|
@@ -67,13 +63,12 @@
|
|
|
67
63
|
},
|
|
68
64
|
"peerDependencies": {
|
|
69
65
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
70
|
-
"@deepseek-ai/dsh-client-locale": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 ||
|
|
71
|
-
"@deepseek-ai/dsh-client-store": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 ||
|
|
72
|
-
"@deepseek-ai/dsh-client-connection": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 ||
|
|
73
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 ||
|
|
74
|
-
"@deepseek-ai/dsh-client-ui-sidebar-right": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 ||
|
|
75
|
-
"@deepseek-ai/dsh-client-ui-theme": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 ||
|
|
76
|
-
"@deepseek-ai/dsh-invariants": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || >=0.1.7-alpha.1 <0.2.0-alpha.0",
|
|
66
|
+
"@deepseek-ai/dsh-client-locale": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-alpha.1 || >=0.1.7-alpha.1",
|
|
67
|
+
"@deepseek-ai/dsh-client-store": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-alpha.1 || >=0.1.7-alpha.1",
|
|
68
|
+
"@deepseek-ai/dsh-client-connection": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-alpha.1 || >=0.1.7-alpha.1",
|
|
69
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-alpha.1 || >=0.1.7-alpha.1",
|
|
70
|
+
"@deepseek-ai/dsh-client-ui-sidebar-right": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-alpha.1 || >=0.1.7-alpha.1",
|
|
71
|
+
"@deepseek-ai/dsh-client-ui-theme": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-alpha.1 || >=0.1.7-alpha.1",
|
|
77
72
|
"react": "^18.2.0",
|
|
78
73
|
"dsh-better-sidebar": ">=0.4.0"
|
|
79
74
|
},
|
|
@@ -104,14 +99,11 @@
|
|
|
104
99
|
},
|
|
105
100
|
"@deepseek-ai/dsh-client-locale": {
|
|
106
101
|
"optional": true
|
|
107
|
-
},
|
|
108
|
-
"@deepseek-ai/dsh-invariants": {
|
|
109
|
-
"optional": true
|
|
110
102
|
}
|
|
111
103
|
},
|
|
112
104
|
"dsh": {
|
|
113
105
|
"compatibility": {
|
|
114
|
-
"dsh": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 ||
|
|
106
|
+
"dsh": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-alpha.1 || >=0.1.7-alpha.1",
|
|
115
107
|
"dshReleases": {
|
|
116
108
|
"0.1.5-rc.2": "compatible",
|
|
117
109
|
"0.1.5-rc.3": "compatible",
|
|
@@ -121,7 +113,9 @@
|
|
|
121
113
|
"0.1.7-alpha.2": "compatible",
|
|
122
114
|
"0.1.7-rc.1": "compatible",
|
|
123
115
|
"0.1.7-rc.2": "compatible",
|
|
124
|
-
"0.2.0-rc.1": "compatible"
|
|
116
|
+
"0.2.0-rc.1": "compatible",
|
|
117
|
+
"0.2.0-rc.2": "compatible",
|
|
118
|
+
"0.2.1-alpha.1": "compatible"
|
|
125
119
|
}
|
|
126
120
|
},
|
|
127
121
|
"bundle": {
|
package/lib/invariant.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
//#region src/invariant.ts
|
|
2
|
-
const PACKAGE_NAME = "dsh-any-background";
|
|
3
|
-
const name = "dsh-any-background-invariant";
|
|
4
|
-
const inject = ["invariants"];
|
|
5
|
-
const install = () => {};
|
|
6
|
-
const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
|
|
7
|
-
//#endregion
|
|
8
|
-
export { apply, inject, name };
|