dsh-fish-ui 0.1.0 → 0.2.1

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/icon.svg ADDED
@@ -0,0 +1,11 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
2
+ <rect width="64" height="64" rx="14" fill="#0b1118"/>
3
+ <g fill="#8ab6fa">
4
+ <path d="M12 22 L22 32 L12 42 Z"/>
5
+ <ellipse cx="37" cy="32" rx="16" ry="10"/>
6
+ </g>
7
+ <circle cx="44" cy="29" r="2.4" fill="#0b1118"/>
8
+ <g fill="#8ab6fa" opacity=".55">
9
+ <circle cx="52" cy="18" r="1.6"/><circle cx="57" cy="13" r="1.2"/><circle cx="56" cy="23" r="1"/>
10
+ </g>
11
+ </svg>
package/index.js CHANGED
@@ -1,8 +1,16 @@
1
- /**
2
- * dsh-fish-ui — host half.
3
- *
4
- * The visual work is entirely in client.js; this side exists so the bundle
5
- * has a normal host entry and can be enabled, disabled and removed like any
6
- * other plugin.
7
- */
8
- export function apply() {}
1
+ import Schema from '@deepseek-ai/schemastery'
2
+
3
+ /** Profile-owned preferences. Volatile fields update without restarting the UI. */
4
+ export const Config = Schema.object(Object.fromEntries([
5
+ 'hero', 'field', 'wave', 'ripple', 'thinkingSphere', 'thinkingLabel',
6
+ 'glass', 'effortBadge', 'sidebarDots', 'sidebarRail', 'bold', 'focusRing', 'diff',
7
+ 'reading', 'code', 'fishFont', 'fishGlow', 'fishMotion', 'fishCode',
8
+ ].map(key => [key, Schema.boolean().default(true).volatile()]).concat([
9
+ ['settingsMigrated', Schema.boolean().default(false).volatile().hidden()],
10
+ ])))
11
+
12
+ export function apply(ctx) {
13
+ ctx.inject(['settings'], scope => {
14
+ scope.effect(() => scope.settings.configure({ auto: false }, ctx.fiber), 'dsh-fish-ui: preferences')
15
+ })
16
+ }
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Deep Fish UI",
4
+ "description": "Deep Fish UI: a dot-matrix fish, whale-blue accents, reading layout and code palette, plus Maple Mono NF CN type, composer glow, code surfaces and soft motion."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Deep Fish UI",
4
+ "description": "Deep Fish UI:点阵鱼、鲸鱼蓝强调、阅读排版与代码配色,加上 Maple Mono NF CN 字体、输入框柔光、代码块质感与轻动效。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "dsh-fish-ui",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
- "description": "A Maple Mono NF CN finish layer for DeepSeek Harness: fonts, composer glow, code and motion polish. Designed to sit on top of deepclear-ui and stay out of its way.",
5
+ "description": "Deep Fish UI — a dot-matrix theme for DeepSeek Harness: fish hero artwork, whale-blue accents, reading layout, Maple Mono NF CN type, composer glow and fish-finish toggles.",
6
6
  "license": "MIT",
7
7
  "author": "Guocheng Song",
8
8
  "repository": {
@@ -15,12 +15,17 @@
15
15
  },
16
16
  "exports": {
17
17
  ".": "./index.js",
18
- "./client": "./client.js"
18
+ "./client": "./client.js",
19
+ "./locale/*.json": "./locale/*.json",
20
+ "./icon": "./icon.svg"
19
21
  },
20
22
  "files": [
21
23
  "index.js",
22
24
  "client.js",
23
25
  "cordis.patch.yml",
26
+ "locale/*.json",
27
+ "icon.svg",
28
+ "assets",
24
29
  "README.md",
25
30
  "LICENSE"
26
31
  ],
@@ -42,12 +47,15 @@
42
47
  "deepseek-harness",
43
48
  "dsh-plugin",
44
49
  "theme",
45
- "font",
50
+ "dot-matrix",
51
+ "fish",
46
52
  "maple-mono",
47
- "deepclear-ui",
48
- "appearance"
53
+ "font"
49
54
  ],
50
55
  "publishConfig": {
51
56
  "access": "public"
57
+ },
58
+ "dependencies": {
59
+ "@deepseek-ai/schemastery": "~3.19.0"
52
60
  }
53
61
  }