@xiaotuchu/dsh-theme-eye-care 0.0.0-stage → 2.0.0

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 ADDED
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Host half of the Eye-care palettes plugin.
3
+ *
4
+ * All three palettes live in the client half: it stacks one alias-token override
5
+ * layer for the selected palette and contributes the switcher row to
6
+ * Settings -> General. This half therefore has no work to do — but its row has
7
+ * to exist, because `dsh-client-modules` discovers `dsh.client` by walking the
8
+ * enabled Loader rows' manifests, so without a mounted row the browser bundle is
9
+ * never served.
10
+ *
11
+ * Deliberately declares no `inject`: a service dependency here (`webServer`, for
12
+ * example) would leave the row permanently pending in profiles that do not have
13
+ * that service, and the row only needs to be mounted, not activated.
14
+ */
15
+
16
+ /** Stable plugin name; matches the row id in cordis.patch.yml. */
17
+ const name = 'dsh-theme-eye-care';
18
+
19
+ /** No host-side setup: the palettes live in the client bundle. */
20
+ function apply() {}
21
+
22
+ export { apply, name };
package/package.json CHANGED
@@ -1,6 +1,71 @@
1
1
  {
2
2
  "name": "@xiaotuchu/dsh-theme-eye-care",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "2.0.0",
4
+ "description": "护眼配色 Eye-care palettes — three switchable low-glare themes (warm paper, eye green, warm grey) for the DeepSeek Harness web GUI, each a full alias-token layer with a light and a dark face.",
5
+ "license": "MIT",
6
+ "author": "Xiaotu",
7
+ "type": "module",
8
+ "engines": {
9
+ "node": ">=20"
10
+ },
11
+ "main": "lib/index.js",
12
+ "exports": {
13
+ ".": "./lib/index.js",
14
+ "./client": "./lib/client.js",
15
+ "./themes/warm-paper.json": "./themes/warm-paper.json",
16
+ "./themes/eye-green.json": "./themes/eye-green.json",
17
+ "./themes/warm-grey.json": "./themes/warm-grey.json",
18
+ "./package.json": "./package.json"
19
+ },
20
+ "files": [
21
+ "lib",
22
+ "themes",
23
+ "cordis.patch.yml",
24
+ "README.md",
25
+ "LICENSE",
26
+ "preview.png"
27
+ ],
28
+ "scripts": {
29
+ "build": "node scripts/build-client.js",
30
+ "check": "node scripts/check-theme.js",
31
+ "preview": "python scripts/render-preview.py preview.png",
32
+ "test": "node scripts/check-theme.js && node scripts/test-client-contract.js"
33
+ },
34
+ "keywords": [
35
+ "dsh",
36
+ "deepseek-harness",
37
+ "theme",
38
+ "palette",
39
+ "eye-care",
40
+ "dsh-plugin"
41
+ ],
42
+ "repository": {
43
+ "type": "git",
44
+ "url": "git+https://github.com/xiaotuchu/dsh-theme-eye-care.git"
45
+ },
46
+ "homepage": "https://github.com/xiaotuchu/dsh-theme-eye-care#readme",
47
+ "bugs": {
48
+ "url": "https://github.com/xiaotuchu/dsh-theme-eye-care/issues"
49
+ },
50
+ "publishConfig": {
51
+ "access": "public"
52
+ },
53
+ "dsh": {
54
+ "bundle": {
55
+ "patch": "./cordis.patch.yml"
56
+ },
57
+ "client": {
58
+ "inject": [
59
+ "@deepseek-ai/dsh-client-ui-theme"
60
+ ],
61
+ "platform": "web"
62
+ },
63
+ "compatibility": {
64
+ "dsh": ">=0.1.7-rc.1",
65
+ "profiles": [
66
+ "web",
67
+ "desktop"
68
+ ]
69
+ }
70
+ }
6
71
  }
package/preview.png ADDED
Binary file