dsh-connect-minimaxcode 0.2.2 → 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 +107 -39
- package/lib/client.js +199 -0
- package/lib/index.d.ts +279 -4
- package/lib/index.js +618 -27
- package/package.json +16 -5
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "dsh-connect-minimaxcode",
|
|
3
3
|
"displayName": "DSH Connect MiniMax Code",
|
|
4
4
|
"description": "把本机已登录的 MiniMax Code 桌面 App 的模型接入 DeepSeek Harness:复用其登录态,提供 Anthropic Messages 兼容接入与动态模型目录。",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.3.0",
|
|
6
6
|
"author": "JeffTsuiCUG",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"private": false,
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"type": "module",
|
|
22
22
|
"engines": {
|
|
23
|
-
"node": "^22.19.0 || >=24.0.0"
|
|
23
|
+
"node": "^22.19.0 || >=24.0.0",
|
|
24
|
+
"dsh": ">=0.1.7-rc.1 <0.3.0-0"
|
|
24
25
|
},
|
|
25
26
|
"main": "lib/index.js",
|
|
26
27
|
"types": "lib/index.d.ts",
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
"types": "./lib/index.d.ts",
|
|
30
31
|
"default": "./lib/index.js"
|
|
31
32
|
},
|
|
33
|
+
"./client": "./lib/client.js",
|
|
32
34
|
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
33
35
|
"./package.json": "./package.json"
|
|
34
36
|
},
|
|
@@ -40,10 +42,10 @@
|
|
|
40
42
|
],
|
|
41
43
|
"scripts": {
|
|
42
44
|
"prepack": "npm run build",
|
|
43
|
-
"build": "tsdown",
|
|
45
|
+
"build": "tsdown && tsc -p tsconfig.client.json",
|
|
44
46
|
"test": "vitest run",
|
|
45
|
-
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
46
|
-
"check": "npm run typecheck && npm run
|
|
47
|
+
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.client.json",
|
|
48
|
+
"check": "npm run typecheck && npm run build && npm run test"
|
|
47
49
|
},
|
|
48
50
|
"keywords": [
|
|
49
51
|
"dsh-plugin",
|
|
@@ -75,6 +77,15 @@
|
|
|
75
77
|
"dsh": {
|
|
76
78
|
"bundle": {
|
|
77
79
|
"patch": "./cordis.patch.yml"
|
|
80
|
+
},
|
|
81
|
+
"client": {
|
|
82
|
+
"platform": "web",
|
|
83
|
+
"immediately": true,
|
|
84
|
+
"inject": [
|
|
85
|
+
"@deepseek-ai/dsh-client-ui-renderer",
|
|
86
|
+
"@deepseek-ai/dsh-client-ui-conversation",
|
|
87
|
+
"@deepseek-ai/dsh-client-locale"
|
|
88
|
+
]
|
|
78
89
|
}
|
|
79
90
|
}
|
|
80
91
|
}
|