dsh-fish-ui 0.5.0 → 0.6.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/README.md +18 -11
- package/dist/client.js +3157 -2866
- package/dist/index.js +40 -16
- package/icon.png +0 -0
- package/icon.svg +41 -12
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +4 -3
package/dist/index.js
CHANGED
|
@@ -1,20 +1,44 @@
|
|
|
1
|
-
import Schema from
|
|
1
|
+
import Schema from "@deepseek-ai/schemastery";
|
|
2
2
|
const flags = [
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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/icon.png
CHANGED
|
Binary file
|
package/icon.svg
CHANGED
|
@@ -1,17 +1,46 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 128 128">
|
|
2
|
+
<title>Deep Fish UI</title>
|
|
2
3
|
<defs>
|
|
3
|
-
<linearGradient id="
|
|
4
|
-
<stop stop-color="#
|
|
4
|
+
<linearGradient id="abyss" x1="0" y1="0" x2="1" y2="1">
|
|
5
|
+
<stop stop-color="#172040"/>
|
|
6
|
+
<stop offset=".58" stop-color="#101632"/>
|
|
7
|
+
<stop offset="1" stop-color="#0B1029"/>
|
|
5
8
|
</linearGradient>
|
|
6
|
-
<linearGradient id="
|
|
7
|
-
<stop stop-color="#
|
|
9
|
+
<linearGradient id="cobalt" x1=".1" y1="0" x2=".9" y2=".9">
|
|
10
|
+
<stop stop-color="#7189FF"/>
|
|
11
|
+
<stop offset=".43" stop-color="#4D6BFE"/>
|
|
12
|
+
<stop offset="1" stop-color="#405BE8"/>
|
|
13
|
+
</linearGradient>
|
|
14
|
+
<linearGradient id="pearl" x1="0" y1="1" x2="1" y2="0">
|
|
15
|
+
<stop stop-color="#FFE5C0"/>
|
|
16
|
+
<stop offset="1" stop-color="#FFFAEC"/>
|
|
8
17
|
</linearGradient>
|
|
9
18
|
</defs>
|
|
10
|
-
<rect width="
|
|
11
|
-
<rect x=".5" y=".5" width="
|
|
12
|
-
|
|
13
|
-
<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
19
|
+
<rect width="128" height="128" rx="28" fill="url(#abyss)"/>
|
|
20
|
+
<rect x=".5" y=".5" width="127" height="127" rx="27.5"
|
|
21
|
+
fill="none" stroke="#A9B7EB" stroke-opacity=".17"/>
|
|
22
|
+
<g transform="translate(0 -1.4)">
|
|
23
|
+
<path fill="url(#cobalt)" fill-rule="evenodd" d="
|
|
24
|
+
M116 43.4
|
|
25
|
+
C107.5 38.3 96.3 36.2 86.4 37.1
|
|
26
|
+
C73.9 30.4 63.3 29.2 53.8 33.5
|
|
27
|
+
C62.1 35.8 64.2 40.1 59.7 48.2
|
|
28
|
+
C66.2 43.5 72.7 40.3 81.1 38.4
|
|
29
|
+
C66.2 43.9 50.4 57.3 39.3 74.3
|
|
30
|
+
C41.7 64.8 36.5 61.1 30.3 57.4
|
|
31
|
+
C21.4 52.3 14.7 46.8 12.4 37.2
|
|
32
|
+
C10.8 50.5 14.6 60.7 21.8 67.9
|
|
33
|
+
C28.4 74.4 29.4 79.4 26.8 87.2
|
|
34
|
+
C24.3 94.8 20 100.1 15.1 103.1
|
|
35
|
+
C27.4 98.2 33.7 91 43.2 80.8
|
|
36
|
+
C62.3 60.6 74.3 54.1 88.7 55.4
|
|
37
|
+
C100.5 56.5 110.2 52.4 116 43.4 Z
|
|
38
|
+
M106.1 45 A2.45 2.45 0 1 0 101.2 45 A2.45 2.45 0 1 0 106.1 45 Z"/>
|
|
39
|
+
<path fill="url(#pearl)" d="
|
|
40
|
+
M48.8 82.3
|
|
41
|
+
C63.4 69.6 73.1 62.6 86.7 60.2
|
|
42
|
+
C100.3 57.9 107.8 54.5 112.8 49
|
|
43
|
+
C105.7 62.4 94.3 70.1 77.9 73.7
|
|
44
|
+
C65.3 76.3 56.6 77.1 48.8 82.3 Z"/>
|
|
45
|
+
</g>
|
|
17
46
|
</svg>
|
package/locale/en.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"title": "Deep Fish UI",
|
|
4
|
-
"description": "
|
|
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
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-fish-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "
|
|
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": "
|
|
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:.svg=dataurl --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
|
}
|