@lynn123411/dsh-model-submenu 0.1.3 → 0.2.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/assets/icon.svg +5 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +23 -17
package/assets/icon.svg
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<rect x="3.5" y="3.5" width="17" height="4.5" rx="1.5"/>
|
|
3
|
+
<rect x="6" y="9.5" width="14.5" height="4.5" rx="1.5"/>
|
|
4
|
+
<rect x="8.5" y="15.5" width="12" height="4.5" rx="1.5"/>
|
|
5
|
+
</svg>
|
package/locale/en.json
ADDED
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynn123411/dsh-model-submenu",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "给输入框的模型选择器加上供应商层级:先选供应商,再选它下面的模型。",
|
|
4
5
|
"license": "MIT",
|
|
5
6
|
"publishConfig": {
|
|
6
7
|
"access": "public"
|
|
@@ -8,7 +9,7 @@
|
|
|
8
9
|
"type": "module",
|
|
9
10
|
"engines": {
|
|
10
11
|
"node": "^22.19.0 || >=24.0.0",
|
|
11
|
-
"dsh": ">=0.
|
|
12
|
+
"dsh": ">=0.2.0-rc.2"
|
|
12
13
|
},
|
|
13
14
|
"main": "lib/index.js",
|
|
14
15
|
"exports": {
|
|
@@ -21,6 +22,8 @@
|
|
|
21
22
|
"default": "./lib/client.js"
|
|
22
23
|
},
|
|
23
24
|
"./src/*": "./src/*",
|
|
25
|
+
"./locale/en.json": "./locale/en.json",
|
|
26
|
+
"./locale/zh.json": "./locale/zh.json",
|
|
24
27
|
"./package.json": "./package.json"
|
|
25
28
|
},
|
|
26
29
|
"files": [
|
|
@@ -30,7 +33,9 @@
|
|
|
30
33
|
"src/**/*.tsx",
|
|
31
34
|
"src/**/*.css",
|
|
32
35
|
"cordis.patch.yml",
|
|
33
|
-
"README.md"
|
|
36
|
+
"README.md",
|
|
37
|
+
"locale",
|
|
38
|
+
"assets"
|
|
34
39
|
],
|
|
35
40
|
"dsh": {
|
|
36
41
|
"bundle": {
|
|
@@ -54,7 +59,7 @@
|
|
|
54
59
|
},
|
|
55
60
|
"peerDependencies": {
|
|
56
61
|
"@deepseek-ai/cordis": "^4.0.4",
|
|
57
|
-
"@deepseek-ai/dsh-client-ui-primitives": "
|
|
62
|
+
"@deepseek-ai/dsh-client-ui-primitives": ">=0.2.0-rc.2",
|
|
58
63
|
"react": "^18.2.0"
|
|
59
64
|
},
|
|
60
65
|
"peerDependenciesMeta": {
|
|
@@ -64,17 +69,17 @@
|
|
|
64
69
|
},
|
|
65
70
|
"devDependencies": {
|
|
66
71
|
"@deepseek-ai/cordis": "^4.0.4",
|
|
67
|
-
"@deepseek-ai/dsh-api-remotes": ">=0.
|
|
68
|
-
"@deepseek-ai/dsh-api-session-controller": ">=0.
|
|
69
|
-
"@deepseek-ai/dsh-client-locale": ">=0.
|
|
70
|
-
"@deepseek-ai/dsh-client-store": ">=0.
|
|
71
|
-
"@deepseek-ai/dsh-client-ui-conversation": ">=0.
|
|
72
|
-
"@deepseek-ai/dsh-client-ui-model-selection": ">=0.
|
|
73
|
-
"@deepseek-ai/dsh-client-ui-primitives": ">=0.
|
|
74
|
-
"@deepseek-ai/dsh-client-ui-renderer": ">=0.
|
|
75
|
-
"@deepseek-ai/dsh-client-ui-slots": ">=0.
|
|
76
|
-
"@deepseek-ai/dsh-session": ">=0.
|
|
77
|
-
"@deepseek-ai/dsh-typert-protocol": ">=0.
|
|
72
|
+
"@deepseek-ai/dsh-api-remotes": ">=0.2.0-rc.2",
|
|
73
|
+
"@deepseek-ai/dsh-api-session-controller": ">=0.2.0-rc.2",
|
|
74
|
+
"@deepseek-ai/dsh-client-locale": ">=0.2.0-rc.2",
|
|
75
|
+
"@deepseek-ai/dsh-client-store": ">=0.2.0-rc.2",
|
|
76
|
+
"@deepseek-ai/dsh-client-ui-conversation": ">=0.2.0-rc.2",
|
|
77
|
+
"@deepseek-ai/dsh-client-ui-model-selection": ">=0.2.0-rc.2",
|
|
78
|
+
"@deepseek-ai/dsh-client-ui-primitives": ">=0.2.0-rc.2",
|
|
79
|
+
"@deepseek-ai/dsh-client-ui-renderer": ">=0.2.0-rc.2",
|
|
80
|
+
"@deepseek-ai/dsh-client-ui-slots": ">=0.2.0-rc.2",
|
|
81
|
+
"@deepseek-ai/dsh-session": ">=0.2.0-rc.2",
|
|
82
|
+
"@deepseek-ai/dsh-typert-protocol": ">=0.2.0-rc.2",
|
|
78
83
|
"@types/node": "^22.20.0",
|
|
79
84
|
"@types/react": "~18.3.1",
|
|
80
85
|
"@types/react-dom": "~18.3.0",
|
|
@@ -83,5 +88,6 @@
|
|
|
83
88
|
"react-dom": "^18.3.1",
|
|
84
89
|
"tsdown": "^0.22.2",
|
|
85
90
|
"typescript": "^5.9.2"
|
|
86
|
-
}
|
|
87
|
-
|
|
91
|
+
},
|
|
92
|
+
"icon": "./assets/icon.svg"
|
|
93
|
+
}
|