dsh-llm-ustc 0.2.0 → 0.3.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/README.md +17 -8
- package/lib/adapter.js +28 -24
- package/lib/adapter.js.map +1 -1
- package/lib/client.js +256 -125
- package/lib/config.js +7 -4
- package/lib/config.js.map +1 -1
- package/lib/constants.js +3 -2
- package/lib/constants.js.map +1 -1
- package/lib/index.js +25 -17
- package/lib/index.js.map +1 -1
- package/lib/model-catalog.js +5 -9
- package/lib/model-catalog.js.map +1 -1
- package/lib/state.js +9 -9
- package/lib/state.js.map +1 -1
- package/lib/tokenworks.js +379 -0
- package/lib/tokenworks.js.map +1 -0
- package/lib/types/adapter.d.ts +3 -1
- package/lib/types/adapter.d.ts.map +1 -1
- package/lib/types/client/index.d.ts +24 -6
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/config.d.ts +16 -3
- package/lib/types/config.d.ts.map +1 -1
- package/lib/types/constants.d.ts +3 -2
- package/lib/types/constants.d.ts.map +1 -1
- package/lib/types/index.d.ts +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/model-catalog.d.ts +2 -3
- package/lib/types/model-catalog.d.ts.map +1 -1
- package/lib/types/state.d.ts +1 -1
- package/lib/types/state.d.ts.map +1 -1
- package/lib/types/tokenworks.d.ts +44 -0
- package/lib/types/tokenworks.d.ts.map +1 -0
- package/lib/types/web.d.ts +23 -1
- package/lib/types/web.d.ts.map +1 -1
- package/lib/web.js +80 -51
- package/lib/web.js.map +1 -1
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +63 -43
package/locale/en.json
ADDED
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-llm-ustc",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "USTC LLM provider for DeepSeek Harness with a provider-scoped iWAN tunnel",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,11 +22,13 @@
|
|
|
22
22
|
"default": "./lib/client.js"
|
|
23
23
|
},
|
|
24
24
|
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
25
|
+
"./locale/*.json": "./locale/*.json",
|
|
25
26
|
"./package.json": "./package.json"
|
|
26
27
|
},
|
|
27
28
|
"files": [
|
|
28
29
|
"lib",
|
|
29
30
|
"cordis.patch.yml",
|
|
31
|
+
"locale/*.json",
|
|
30
32
|
"README.md",
|
|
31
33
|
"LICENSE"
|
|
32
34
|
],
|
|
@@ -36,67 +38,85 @@
|
|
|
36
38
|
},
|
|
37
39
|
"client": {
|
|
38
40
|
"inject": [
|
|
39
|
-
"@deepseek-ai/dsh-client-
|
|
40
|
-
"@deepseek-ai/dsh-client-ui-settings",
|
|
41
|
-
"@deepseek-ai/dsh-client-ui-settings-plugins",
|
|
41
|
+
"@deepseek-ai/dsh-client-ui-plugin-manager",
|
|
42
42
|
"@deepseek-ai/dsh-client-ui-slots",
|
|
43
43
|
"@deepseek-ai/dsh-client-ui-primitives",
|
|
44
|
+
"@deepseek-ai/dsh-client-ui-renderer",
|
|
45
|
+
"@deepseek-ai/dsh-client-connection",
|
|
44
46
|
"@deepseek-ai/dsh-client-locale"
|
|
45
47
|
],
|
|
46
48
|
"platform": "web"
|
|
47
49
|
}
|
|
48
50
|
},
|
|
49
51
|
"peerDependencies": {
|
|
50
|
-
"@deepseek-ai/cordis": "
|
|
51
|
-
"@deepseek-ai/
|
|
52
|
-
"@deepseek-ai/dsh
|
|
53
|
-
"@deepseek-ai/dsh-client-
|
|
54
|
-
"@deepseek-ai/dsh-client-
|
|
55
|
-
"@deepseek-ai/dsh-client-ui-
|
|
56
|
-
"@deepseek-ai/dsh-client-ui-
|
|
57
|
-
"@deepseek-ai/dsh-
|
|
58
|
-
"@deepseek-ai/dsh-
|
|
59
|
-
"@deepseek-ai/dsh-
|
|
60
|
-
"@deepseek-ai/dsh-
|
|
61
|
-
"@deepseek-ai/dsh-
|
|
62
|
-
"@deepseek-ai/
|
|
63
|
-
"@
|
|
52
|
+
"@deepseek-ai/cordis": "~4.0.4",
|
|
53
|
+
"@deepseek-ai/cordis-plugin-loader": "~1.0.5",
|
|
54
|
+
"@deepseek-ai/dsh": "0.2.0-rc.2",
|
|
55
|
+
"@deepseek-ai/dsh-client-connection": "0.2.0-rc.2",
|
|
56
|
+
"@deepseek-ai/dsh-client-locale": "0.2.0-rc.2",
|
|
57
|
+
"@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.0-rc.2",
|
|
58
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2",
|
|
59
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.2",
|
|
60
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.2",
|
|
61
|
+
"@deepseek-ai/dsh-credentials": "0.2.0-rc.2",
|
|
62
|
+
"@deepseek-ai/dsh-home-paths": "0.2.0-rc.2",
|
|
63
|
+
"@deepseek-ai/dsh-llm": "0.2.0-rc.2",
|
|
64
|
+
"@deepseek-ai/dsh-llm-pi-ai": "0.2.0-rc.2",
|
|
65
|
+
"@deepseek-ai/dsh-settings": "0.2.0-rc.2",
|
|
66
|
+
"@deepseek-ai/schemastery": "~3.18.4",
|
|
67
|
+
"@earendil-works/pi-ai": "^0.87.1",
|
|
64
68
|
"react": "^18.2.0"
|
|
65
69
|
},
|
|
66
70
|
"peerDependenciesMeta": {
|
|
67
|
-
"@deepseek-ai/dsh
|
|
71
|
+
"@deepseek-ai/dsh": {
|
|
72
|
+
"optional": true
|
|
73
|
+
},
|
|
74
|
+
"@deepseek-ai/dsh-client-connection": {
|
|
68
75
|
"optional": true
|
|
69
76
|
}
|
|
70
77
|
},
|
|
71
78
|
"optionalDependencies": {
|
|
72
|
-
"@dsh-llm-ustc/helper-darwin-arm64": "0.
|
|
73
|
-
"@dsh-llm-ustc/helper-
|
|
74
|
-
"@dsh-llm-ustc/helper-
|
|
75
|
-
"@dsh-llm-ustc/helper-
|
|
76
|
-
"@dsh-llm-ustc/helper-win32-
|
|
77
|
-
"@dsh-llm-ustc/helper-
|
|
79
|
+
"@dsh-llm-ustc/helper-darwin-arm64": "0.3.0",
|
|
80
|
+
"@dsh-llm-ustc/helper-linux-arm64": "0.3.0",
|
|
81
|
+
"@dsh-llm-ustc/helper-win32-arm64": "0.3.0",
|
|
82
|
+
"@dsh-llm-ustc/helper-darwin-x64": "0.3.0",
|
|
83
|
+
"@dsh-llm-ustc/helper-win32-x64": "0.3.0",
|
|
84
|
+
"@dsh-llm-ustc/helper-linux-x64": "0.3.0"
|
|
78
85
|
},
|
|
79
86
|
"devDependencies": {
|
|
80
|
-
"@deepseek-ai/cordis": "
|
|
81
|
-
"@deepseek-ai/
|
|
82
|
-
"@deepseek-ai/
|
|
83
|
-
"@deepseek-ai/
|
|
84
|
-
"@deepseek-ai/dsh-
|
|
85
|
-
"@deepseek-ai/dsh-
|
|
86
|
-
"@deepseek-ai/dsh-
|
|
87
|
-
"@deepseek-ai/dsh-
|
|
88
|
-
"@deepseek-ai/dsh-
|
|
89
|
-
"@deepseek-ai/dsh-
|
|
90
|
-
"@deepseek-ai/dsh-
|
|
91
|
-
"@deepseek-ai/dsh-
|
|
92
|
-
"@deepseek-ai/
|
|
93
|
-
"@
|
|
94
|
-
"@
|
|
87
|
+
"@deepseek-ai/cordis": "4.0.4",
|
|
88
|
+
"@deepseek-ai/cordis-plugin-group": "1.0.4",
|
|
89
|
+
"@deepseek-ai/cordis-plugin-include": "1.0.9",
|
|
90
|
+
"@deepseek-ai/cordis-plugin-loader": "1.0.5",
|
|
91
|
+
"@deepseek-ai/dsh-app-boot": "0.2.0-rc.2",
|
|
92
|
+
"@deepseek-ai/dsh-attachment": "0.2.0-rc.2",
|
|
93
|
+
"@deepseek-ai/dsh-authorization": "0.2.0-rc.2",
|
|
94
|
+
"@deepseek-ai/dsh-client-connection": "0.2.0-rc.2",
|
|
95
|
+
"@deepseek-ai/dsh-client-locale": "0.2.0-rc.2",
|
|
96
|
+
"@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.0-rc.2",
|
|
97
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2",
|
|
98
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.2",
|
|
99
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.2",
|
|
100
|
+
"@deepseek-ai/dsh-credentials": "0.2.0-rc.2",
|
|
101
|
+
"@deepseek-ai/dsh-fs": "0.2.0-rc.2",
|
|
102
|
+
"@deepseek-ai/dsh-home-paths": "0.2.0-rc.2",
|
|
103
|
+
"@deepseek-ai/dsh-host-webserver": "0.2.0-rc.2",
|
|
104
|
+
"@deepseek-ai/dsh-invariants": "0.2.0-rc.2",
|
|
105
|
+
"@deepseek-ai/dsh-launch-environment": "0.2.0-rc.2",
|
|
106
|
+
"@deepseek-ai/dsh-llm": "0.2.0-rc.2",
|
|
107
|
+
"@deepseek-ai/dsh-llm-pi-ai": "0.2.0-rc.2",
|
|
108
|
+
"@deepseek-ai/dsh-sandbox": "0.2.0-rc.2",
|
|
109
|
+
"@deepseek-ai/dsh-scope": "0.2.0-rc.2",
|
|
110
|
+
"@deepseek-ai/dsh-session": "0.2.0-rc.2",
|
|
111
|
+
"@deepseek-ai/dsh-settings": "0.2.0-rc.2",
|
|
112
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
|
|
113
|
+
"@deepseek-ai/schemastery": "3.18.4",
|
|
114
|
+
"@earendil-works/pi-ai": "0.87.1",
|
|
115
|
+
"@types/node": "^24.19.0",
|
|
95
116
|
"@types/react": "~18.3.31",
|
|
96
|
-
"
|
|
97
|
-
"rolldown": "^1.2.4",
|
|
117
|
+
"rolldown": "^1.2.12",
|
|
98
118
|
"typescript": "^6.0.3",
|
|
99
|
-
"vitest": "^4.1.
|
|
119
|
+
"vitest": "^4.1.11"
|
|
100
120
|
},
|
|
101
121
|
"license": "MIT",
|
|
102
122
|
"scripts": {
|