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/LICENSE +1 -0
- package/README.md +24 -28
- package/assets/icon-180.png +0 -0
- package/client.js +3135 -44
- package/icon.svg +11 -0
- package/index.js +16 -8
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +14 -6
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-fish-ui",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "
|
|
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
|
-
"
|
|
50
|
+
"dot-matrix",
|
|
51
|
+
"fish",
|
|
46
52
|
"maple-mono",
|
|
47
|
-
"
|
|
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
|
}
|