dsh-fish-ui 0.5.0 → 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 CHANGED
@@ -1,20 +1,44 @@
1
- import Schema from '@deepseek-ai/schemastery';
1
+ import Schema from "@deepseek-ai/schemastery";
2
2
  const flags = [
3
- 'hero', 'field', 'wave', 'ripple', 'thinkingSphere', 'thinkingLabel',
4
- 'glass', 'effortBadge', 'sidebarDots', 'sidebarRail', 'bold', 'focusRing', 'diff',
5
- 'reading', 'code', 'fishFont', 'fishGlow', 'fishMotion', 'fishCode',
6
- 'catppuccin', 'aurora', 'cursor', 'textMotion', 'hostIcons',
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"
7
27
  ];
8
- export const Config = Schema.object({
9
- ...Object.fromEntries(flags.map(key => [key, Schema.boolean().default(true).volatile()])),
10
- scene: Schema.union(['atlas', 'aurora', 'orbit', 'dunes', 'rain', 'lotus']).default('atlas').volatile(),
11
- sceneMotion: Schema.union(['still', 'calm', 'flow']).default('calm').volatile(),
12
- iconStyle: Schema.union(['line', 'duotone']).default('duotone').volatile(),
13
- accentColor: Schema.string().pattern(/^#[0-9a-f]{6}$/i).default('#4D6BFE').volatile(),
14
- settingsMigrated: Schema.boolean().default(false).volatile().hidden(),
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()
15
35
  });
16
- export function apply(ctx) {
17
- ctx.inject(['settings'], scope => {
18
- scope.effect(() => scope.settings.configure({ auto: false }, ctx.fiber), 'dsh-fish-ui: preferences');
19
- });
36
+ function apply(ctx) {
37
+ ctx.inject(["settings"], (scope) => {
38
+ scope.effect(() => scope.settings.configure({ auto: false }, ctx.fiber), "dsh-fish-ui: preferences");
39
+ });
20
40
  }
41
+ export {
42
+ Config,
43
+ apply
44
+ };
package/locale/en.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "meta": {
3
3
  "title": "Deep Fish UI",
4
- "description": "Six animated scenes, a dot-matrix whale-girl and two icon styles. Use DeepSeek blue or choose your own accent independently of the backdrop."
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": "点阵鲸鱼娘、六套动态场景和两种图标风格。界面默认使用 DeepSeek 蓝,也可单独选择强调色。"
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.5.0",
3
+ "version": "0.6.0",
4
4
  "type": "module",
5
- "description": "Six illustrated scenes, DeepSeek blue or custom accents, and outline or duotone icons for DeepSeek Harness.",
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": {
@@ -61,10 +61,11 @@
61
61
  "devDependencies": {
62
62
  "@types/react": "^19.3.0",
63
63
  "@types/react-dom": "^19.3.0",
64
+ "esbuild": "^0.28.2",
64
65
  "typescript": "~5.9.3"
65
66
  },
66
67
  "scripts": {
67
- "build": "tsc -p tsconfig.json",
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",
68
69
  "check": "tsc -p tsconfig.json --noEmit",
69
70
  "prepack": "npm run build"
70
71
  }