dsh-fish-ui 0.3.1 → 0.6.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/dist/index.js ADDED
@@ -0,0 +1,44 @@
1
+ import Schema from "@deepseek-ai/schemastery";
2
+ const flags = [
3
+ "hero",
4
+ "field",
5
+ "wave",
6
+ "ripple",
7
+ "thinkingSphere",
8
+ "thinkingLabel",
9
+ "glass",
10
+ "effortBadge",
11
+ "sidebarDots",
12
+ "sidebarRail",
13
+ "bold",
14
+ "focusRing",
15
+ "diff",
16
+ "reading",
17
+ "code",
18
+ "fishFont",
19
+ "fishGlow",
20
+ "fishMotion",
21
+ "fishCode",
22
+ "catppuccin",
23
+ "aurora",
24
+ "cursor",
25
+ "textMotion",
26
+ "hostIcons"
27
+ ];
28
+ const Config = Schema.object({
29
+ ...Object.fromEntries(flags.map((key) => [key, Schema.boolean().default(true).volatile()])),
30
+ scene: Schema.union(["atlas", "aurora", "orbit", "dunes", "rain", "lotus"]).default("atlas").volatile(),
31
+ sceneMotion: Schema.union(["still", "calm", "flow"]).default("calm").volatile(),
32
+ iconStyle: Schema.union(["line", "duotone"]).default("duotone").volatile(),
33
+ accentColor: Schema.string().pattern(/^#[0-9a-f]{6}$/i).default("#4D6BFE").volatile(),
34
+ settingsMigrated: Schema.boolean().default(false).volatile().hidden()
35
+ });
36
+ function apply(ctx) {
37
+ ctx.inject(["settings"], (scope) => {
38
+ scope.effect(() => scope.settings.configure({ auto: false }, ctx.fiber), "dsh-fish-ui: preferences");
39
+ });
40
+ }
41
+ export {
42
+ Config,
43
+ apply
44
+ };
package/icon.png ADDED
Binary file
package/icon.svg CHANGED
@@ -1,11 +1,17 @@
1
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="#1e1e2e"/>
3
- <g fill="#cba6f7">
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="#11111b"/>
8
- <g fill="#89b4fa" opacity=".85">
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>
2
+ <defs>
3
+ <linearGradient id="ocean" x1=".1" y1="0" x2=".85" y2="1">
4
+ <stop stop-color="#718DFF"/><stop offset=".48" stop-color="#4D6BFE"/><stop offset="1" stop-color="#243EAA"/>
5
+ </linearGradient>
6
+ <linearGradient id="pearl" x1=".85" y1=".2" x2=".2" y2=".9">
7
+ <stop stop-color="#FFFFFF"/><stop offset="1" stop-color="#D3EDFF"/>
8
+ </linearGradient>
9
+ </defs>
10
+ <rect width="64" height="64" rx="16" fill="url(#ocean)"/>
11
+ <rect x=".5" y=".5" width="63" height="63" rx="15.5" fill="none" stroke="#BFD4FF" stroke-opacity=".42"/>
12
+ <path d="M27 28Q28 18 40 12L38 23ZM31 39Q29 45 32 50Q40 43 40 33Z" fill="#9DD7FF"/>
13
+ <path d="M18 36C25 25 39 16 54 17C52 32 39 43 21 43C16 47 11 49 6 49C9 44 12 40 15 38C11 34 9 29 10 24C15 26 18 31 18 36Z" fill="url(#pearl)"/>
14
+ <path d="M23 39C31 37 36 33 40 29" fill="none" stroke="#6EA4F9" stroke-width="1.8" stroke-linecap="round"/>
15
+ <circle cx="46.3" cy="23.4" r="1.8" fill="#243EAA"/>
16
+ <path d="M11 53Q18 52 24 48" fill="none" stroke="#9DD7FF" stroke-width="1.7" stroke-linecap="round"/>
11
17
  </svg>
package/locale/en.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "meta": {
3
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."
4
+ "description": "Choose a session model and reasoning level in the composer. Six illustrated scenes respond when the first word of a reply arrives."
5
5
  }
6
6
  }
package/locale/zh.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "meta": {
3
3
  "title": "Deep Fish UI",
4
- "description": "Deep Fish UI:点阵鱼、鲸鱼蓝强调、阅读排版与代码配色,加上 Maple Mono NF CN 字体、输入框柔光、代码块质感与轻动效。"
4
+ "description": "在输入框里切换当前会话的模型与推理强度。六套插画背景会在回复首字出现时各自播放一次动效。"
5
5
  }
6
6
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "dsh-fish-ui",
3
- "version": "0.3.1",
3
+ "version": "0.6.0",
4
4
  "type": "module",
5
- "description": "Deep Fish UI — a Catppuccin-themed, dot-matrix DSH theme with the whale-girl maid hero artwork, aurora background, pointer physics, thinking/text motion, Maple Mono NF CN type and fish-finish toggles.",
5
+ "description": "Live model and reasoning controls, six illustrated conversation scenes and first-reply motion for DeepSeek Harness.",
6
6
  "license": "MIT",
7
7
  "author": "Guocheng Song",
8
8
  "repository": {
@@ -14,19 +14,20 @@
14
14
  "url": "https://github.com/feichai0017/dsh-fish-ui/issues"
15
15
  },
16
16
  "exports": {
17
- ".": "./index.js",
18
- "./client": "./client.js",
17
+ ".": "./dist/index.js",
18
+ "./client": "./dist/client.js",
19
19
  "./locale/*.json": "./locale/*.json",
20
20
  "./icon": "./icon.svg"
21
21
  },
22
22
  "files": [
23
- "index.js",
24
- "client.js",
23
+ "dist/*.js",
25
24
  "cordis.patch.yml",
26
25
  "locale/*.json",
27
26
  "icon.svg",
27
+ "icon.png",
28
28
  "README.md",
29
- "LICENSE"
29
+ "LICENSE",
30
+ "THIRD-PARTY-NOTICES"
30
31
  ],
31
32
  "dsh": {
32
33
  "bundle": {
@@ -56,5 +57,16 @@
56
57
  },
57
58
  "dependencies": {
58
59
  "@deepseek-ai/schemastery": "~3.19.0"
60
+ },
61
+ "devDependencies": {
62
+ "@types/react": "^19.3.0",
63
+ "@types/react-dom": "^19.3.0",
64
+ "esbuild": "^0.28.2",
65
+ "typescript": "~5.9.3"
66
+ },
67
+ "scripts": {
68
+ "build": "npm run check && esbuild src/index.ts --platform=node --packages=external --format=esm --target=node22 --outfile=dist/index.js && esbuild src/client.ts --bundle --format=iife --target=es2022 --loader:.webp=dataurl --loader:.jpg=dataurl --loader:.png=dataurl --outfile=dist/client.js",
69
+ "check": "tsc -p tsconfig.json --noEmit",
70
+ "prepack": "npm run build"
59
71
  }
60
72
  }