dsh-llm-ustc 0.1.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/LICENSE +21 -0
- package/README.md +69 -0
- package/cordis.patch.yml +4 -0
- package/lib/adapter.js +211 -0
- package/lib/adapter.js.map +1 -0
- package/lib/client.js +506 -0
- package/lib/config.js +17 -0
- package/lib/config.js.map +1 -0
- package/lib/constants.js +11 -0
- package/lib/constants.js.map +1 -0
- package/lib/helper.js +302 -0
- package/lib/helper.js.map +1 -0
- package/lib/index.js +43 -0
- package/lib/index.js.map +1 -0
- package/lib/model-catalog.js +59 -0
- package/lib/model-catalog.js.map +1 -0
- package/lib/native.js +47 -0
- package/lib/native.js.map +1 -0
- package/lib/state.js +97 -0
- package/lib/state.js.map +1 -0
- package/lib/types/adapter.d.ts +24 -0
- package/lib/types/adapter.d.ts.map +1 -0
- package/lib/types/client/index.d.ts +112 -0
- package/lib/types/client/index.d.ts.map +1 -0
- package/lib/types/config.d.ts +12 -0
- package/lib/types/config.d.ts.map +1 -0
- package/lib/types/constants.d.ts +11 -0
- package/lib/types/constants.d.ts.map +1 -0
- package/lib/types/helper.d.ts +51 -0
- package/lib/types/helper.d.ts.map +1 -0
- package/lib/types/index.d.ts +7 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/model-catalog.d.ts +14 -0
- package/lib/types/model-catalog.d.ts.map +1 -0
- package/lib/types/native.d.ts +7 -0
- package/lib/types/native.d.ts.map +1 -0
- package/lib/types/state.d.ts +15 -0
- package/lib/types/state.d.ts.map +1 -0
- package/lib/types/types.d.ts +34 -0
- package/lib/types/types.d.ts.map +1 -0
- package/lib/types/web.d.ts +64 -0
- package/lib/types/web.d.ts.map +1 -0
- package/lib/types.js +2 -0
- package/lib/types.js.map +1 -0
- package/lib/web.js +221 -0
- package/lib/web.js.map +1 -0
- package/package.json +112 -0
package/package.json
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-llm-ustc",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "USTC LLM provider for DeepSeek Harness with a provider-scoped iWAN tunnel",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/USTC-XeF2/dsh-llm-ustc.git"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"engines": {
|
|
11
|
+
"node": "^22.19.0 || >=24.0.0"
|
|
12
|
+
},
|
|
13
|
+
"main": "lib/index.js",
|
|
14
|
+
"types": "lib/types/index.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./lib/types/index.d.ts",
|
|
18
|
+
"default": "./lib/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./client": {
|
|
21
|
+
"types": "./lib/types/client/index.d.ts",
|
|
22
|
+
"default": "./lib/client.js"
|
|
23
|
+
},
|
|
24
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"lib",
|
|
29
|
+
"cordis.patch.yml",
|
|
30
|
+
"README.md",
|
|
31
|
+
"LICENSE"
|
|
32
|
+
],
|
|
33
|
+
"dsh": {
|
|
34
|
+
"bundle": {
|
|
35
|
+
"patch": "./cordis.patch.yml"
|
|
36
|
+
},
|
|
37
|
+
"client": {
|
|
38
|
+
"inject": [
|
|
39
|
+
"@deepseek-ai/dsh-client-runtime",
|
|
40
|
+
"@deepseek-ai/dsh-client-ui-settings",
|
|
41
|
+
"@deepseek-ai/dsh-client-ui-settings-plugins",
|
|
42
|
+
"@deepseek-ai/dsh-client-ui-slots",
|
|
43
|
+
"@deepseek-ai/dsh-client-ui-primitives",
|
|
44
|
+
"@deepseek-ai/dsh-client-locale"
|
|
45
|
+
],
|
|
46
|
+
"platform": "web"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
51
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6",
|
|
52
|
+
"@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.6",
|
|
53
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.6",
|
|
54
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6",
|
|
55
|
+
"@deepseek-ai/dsh-client-ui-settings-plugins": "^0.1.0-rc.6",
|
|
56
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6",
|
|
57
|
+
"@deepseek-ai/dsh-credentials": "^0.1.0-rc.6",
|
|
58
|
+
"@deepseek-ai/dsh-host-webserver": "^0.1.0-rc.6",
|
|
59
|
+
"@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
|
|
60
|
+
"@deepseek-ai/dsh-llm-pi-ai": "^0.1.0-rc.6",
|
|
61
|
+
"@deepseek-ai/dsh-settings": "^0.1.0-rc.6",
|
|
62
|
+
"@deepseek-ai/schemastery": "^3.18.1",
|
|
63
|
+
"react": "^18.2.0"
|
|
64
|
+
},
|
|
65
|
+
"peerDependenciesMeta": {
|
|
66
|
+
"@deepseek-ai/dsh-host-webserver": {
|
|
67
|
+
"optional": true
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"@earendil-works/pi-ai": "^0.82.1"
|
|
72
|
+
},
|
|
73
|
+
"optionalDependencies": {
|
|
74
|
+
"@dsh-llm-ustc/helper-darwin-arm64": "0.1.0",
|
|
75
|
+
"@dsh-llm-ustc/helper-darwin-x64": "0.1.0",
|
|
76
|
+
"@dsh-llm-ustc/helper-linux-arm64": "0.1.0",
|
|
77
|
+
"@dsh-llm-ustc/helper-linux-x64": "0.1.0",
|
|
78
|
+
"@dsh-llm-ustc/helper-win32-arm64": "0.1.0",
|
|
79
|
+
"@dsh-llm-ustc/helper-win32-x64": "0.1.0"
|
|
80
|
+
},
|
|
81
|
+
"devDependencies": {
|
|
82
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
83
|
+
"@deepseek-ai/dsh-client-locale": "0.1.0-rc.6",
|
|
84
|
+
"@deepseek-ai/dsh-client-runtime": "0.1.0-rc.6",
|
|
85
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.1.0-rc.6",
|
|
86
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.0-rc.6",
|
|
87
|
+
"@deepseek-ai/dsh-client-ui-settings-plugins": "0.1.0-rc.6",
|
|
88
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.0-rc.6",
|
|
89
|
+
"@deepseek-ai/dsh-credentials": "0.1.0-rc.6",
|
|
90
|
+
"@deepseek-ai/dsh-host-webserver": "0.1.0-rc.6",
|
|
91
|
+
"@deepseek-ai/dsh-llm": "0.1.0-rc.6",
|
|
92
|
+
"@deepseek-ai/dsh-llm-pi-ai": "0.1.0-rc.6",
|
|
93
|
+
"@deepseek-ai/dsh-settings": "0.1.0-rc.6",
|
|
94
|
+
"@deepseek-ai/schemastery": "^3.18.1",
|
|
95
|
+
"@types/node": "^24.13.3",
|
|
96
|
+
"@types/react": "~18.3.31",
|
|
97
|
+
"@types/react-dom": "~18.3.7",
|
|
98
|
+
"rolldown": "^1.2.4",
|
|
99
|
+
"typescript": "^6.0.3",
|
|
100
|
+
"vitest": "^4.1.10"
|
|
101
|
+
},
|
|
102
|
+
"license": "MIT",
|
|
103
|
+
"scripts": {
|
|
104
|
+
"build": "node scripts/clean-build.mjs && tsc -p tsconfig.json && tsc -p tsconfig.client.json && node scripts/build-client.mjs",
|
|
105
|
+
"build:helper": "cargo build --manifest-path helper/Cargo.toml",
|
|
106
|
+
"build:all": "pnpm build && pnpm build:helper",
|
|
107
|
+
"check": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.client.json --noEmit",
|
|
108
|
+
"test": "pnpm build && vitest run && cargo test --manifest-path helper/Cargo.toml",
|
|
109
|
+
"test:ts": "pnpm build && vitest run",
|
|
110
|
+
"test:rust": "cargo test --manifest-path helper/Cargo.toml"
|
|
111
|
+
}
|
|
112
|
+
}
|