@mars-sea/dsh-commandcode-provider 0.15.4 → 0.16.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/CHANGELOG.md +53 -0
- package/README.md +16 -3
- package/README.zh-CN.md +16 -3
- package/lib/client.js +409 -144
- package/lib/index.d.ts +73 -6
- package/lib/index.js +344 -78
- package/package.json +50 -43
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mars-sea/dsh-commandcode-provider",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "Unofficial DeepSeek Harness LLM provider plugin for Command Code, ported from pi-commandcode-provider (MIT). Registers the 'commandcode' provider route with a Models-page card and live model catalog.",
|
|
5
5
|
"icon": "./icon.svg",
|
|
6
6
|
"type": "module",
|
|
@@ -24,9 +24,11 @@
|
|
|
24
24
|
"compatibility": {
|
|
25
25
|
"dshReleases": {
|
|
26
26
|
"0.2.1-rc.2": "compatible",
|
|
27
|
-
"0.2.1-rc.3": "compatible"
|
|
27
|
+
"0.2.1-rc.3": "compatible",
|
|
28
|
+
"0.2.1-rc.4": "compatible",
|
|
29
|
+
"0.2.2-alpha.2": "compatible"
|
|
28
30
|
},
|
|
29
|
-
"dsh": ">=0.2.1-rc.2 <0.2.2-0"
|
|
31
|
+
"dsh": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0"
|
|
30
32
|
},
|
|
31
33
|
"client": {
|
|
32
34
|
"inject": [
|
|
@@ -60,8 +62,8 @@
|
|
|
60
62
|
"test": "node --import tsx --test tests/**/*.test.ts"
|
|
61
63
|
},
|
|
62
64
|
"engines": {
|
|
63
|
-
"node": ">=
|
|
64
|
-
"dsh": ">=0.2.1-rc.2 <0.2.2-0"
|
|
65
|
+
"node": ">=24.9",
|
|
66
|
+
"dsh": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0"
|
|
65
67
|
},
|
|
66
68
|
"publishConfig": {
|
|
67
69
|
"access": "public"
|
|
@@ -87,24 +89,24 @@
|
|
|
87
89
|
],
|
|
88
90
|
"license": "MIT",
|
|
89
91
|
"peerDependencies": {
|
|
90
|
-
"@deepseek-ai/cordis": "~4.0.5",
|
|
91
|
-
"@deepseek-ai/dsh-api-remotes": ">=0.2.1-rc.2 <0.2.2-0",
|
|
92
|
-
"@deepseek-ai/dsh-attachment": ">=0.2.1-rc.2 <0.2.2-0",
|
|
93
|
-
"@deepseek-ai/dsh-client-locale": ">=0.2.1-rc.2 <0.2.2-0",
|
|
94
|
-
"@deepseek-ai/dsh-client-ui-primitives": ">=0.2.1-rc.2 <0.2.2-0",
|
|
95
|
-
"@deepseek-ai/dsh-client-ui-renderer": ">=0.2.1-rc.2 <0.2.2-0",
|
|
96
|
-
"@deepseek-ai/dsh-client-ui-settings": ">=0.2.1-rc.2 <0.2.2-0",
|
|
97
|
-
"@deepseek-ai/dsh-client-ui-slots": ">=0.2.1-rc.2 <0.2.2-0",
|
|
98
|
-
"@deepseek-ai/dsh-commands": ">=0.2.1-rc.2 <0.2.2-0",
|
|
99
|
-
"@deepseek-ai/dsh-credentials": ">=0.2.1-rc.2 <0.2.2-0",
|
|
100
|
-
"@deepseek-ai/dsh-launch-environment": ">=0.2.1-rc.2 <0.2.2-0",
|
|
101
|
-
"@deepseek-ai/dsh-llm": ">=0.2.1-rc.2 <0.2.2-0",
|
|
102
|
-
"@deepseek-ai/dsh-settings": ">=0.2.1-rc.2 <0.2.2-0",
|
|
103
|
-
"@deepseek-ai/dsh-timeout": ">=0.2.1-rc.2 <0.2.2-0",
|
|
104
|
-
"@deepseek-ai/dsh-typert-protocol": ">=0.2.1-rc.2 <0.2.2-0",
|
|
105
|
-
"@deepseek-ai/schemastery": "~3.18.5",
|
|
92
|
+
"@deepseek-ai/cordis": "~4.0.5 || 4.0.6-alpha.1",
|
|
93
|
+
"@deepseek-ai/dsh-api-remotes": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
94
|
+
"@deepseek-ai/dsh-attachment": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
95
|
+
"@deepseek-ai/dsh-client-locale": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
96
|
+
"@deepseek-ai/dsh-client-ui-primitives": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
97
|
+
"@deepseek-ai/dsh-client-ui-renderer": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
98
|
+
"@deepseek-ai/dsh-client-ui-settings": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
99
|
+
"@deepseek-ai/dsh-client-ui-slots": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
100
|
+
"@deepseek-ai/dsh-commands": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
101
|
+
"@deepseek-ai/dsh-credentials": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
102
|
+
"@deepseek-ai/dsh-launch-environment": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
103
|
+
"@deepseek-ai/dsh-llm": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
104
|
+
"@deepseek-ai/dsh-settings": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
105
|
+
"@deepseek-ai/dsh-timeout": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
106
|
+
"@deepseek-ai/dsh-typert-protocol": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
107
|
+
"@deepseek-ai/schemastery": "~3.18.5 || 3.18.6-alpha.1",
|
|
106
108
|
"react": "^18.2.0",
|
|
107
|
-
"@deepseek-ai/dsh-web": ">=0.2.1-rc.2 <0.2.2-0"
|
|
109
|
+
"@deepseek-ai/dsh-web": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0"
|
|
108
110
|
},
|
|
109
111
|
"peerDependenciesMeta": {
|
|
110
112
|
"@deepseek-ai/dsh-client-ui-primitives": {
|
|
@@ -118,33 +120,38 @@
|
|
|
118
120
|
}
|
|
119
121
|
},
|
|
120
122
|
"devDependencies": {
|
|
121
|
-
"@deepseek-ai/cordis": "~4.0.5",
|
|
122
|
-
"@deepseek-ai/dsh-agent": ">=0.2.1-rc.2 <0.2.2-0",
|
|
123
|
-
"@deepseek-ai/dsh-api-remotes": ">=0.2.1-rc.2 <0.2.2-0",
|
|
124
|
-
"@deepseek-ai/dsh-attachment": ">=0.2.1-rc.2 <0.2.2-0",
|
|
125
|
-
"@deepseek-ai/dsh-client-locale": ">=0.2.1-rc.2 <0.2.2-0",
|
|
126
|
-
"@deepseek-ai/dsh-client-ui-primitives": ">=0.2.1-rc.2 <0.2.2-0",
|
|
127
|
-
"@deepseek-ai/dsh-client-ui-renderer": ">=0.2.1-rc.2 <0.2.2-0",
|
|
128
|
-
"@deepseek-ai/dsh-client-ui-settings": ">=0.2.1-rc.2 <0.2.2-0",
|
|
129
|
-
"@deepseek-ai/dsh-client-ui-slots": ">=0.2.1-rc.2 <0.2.2-0",
|
|
130
|
-
"@deepseek-ai/dsh-commands": ">=0.2.1-rc.2 <0.2.2-0",
|
|
131
|
-
"@deepseek-ai/dsh-credentials": ">=0.2.1-rc.2 <0.2.2-0",
|
|
132
|
-
"@deepseek-ai/dsh-launch-environment": ">=0.2.1-rc.2 <0.2.2-0",
|
|
133
|
-
"@deepseek-ai/dsh-llm": ">=0.2.1-rc.2 <0.2.2-0",
|
|
134
|
-
"@deepseek-ai/dsh-settings": ">=0.2.1-rc.2 <0.2.2-0",
|
|
135
|
-
"@deepseek-ai/dsh-session": ">=0.2.1-rc.2 <0.2.2-0",
|
|
136
|
-
"@deepseek-ai/dsh-scope": ">=0.2.1-rc.2 <0.2.2-0",
|
|
137
|
-
"@deepseek-ai/dsh-session-projection": ">=0.2.1-rc.2 <0.2.2-0",
|
|
138
|
-
"@deepseek-ai/dsh-timeout": ">=0.2.1-rc.2 <0.2.2-0",
|
|
139
|
-
"@deepseek-ai/dsh-typert-protocol": ">=0.2.1-rc.2 <0.2.2-0",
|
|
140
|
-
"@deepseek-ai/dsh-web": ">=0.2.1-rc.2 <0.2.2-0",
|
|
141
|
-
"@deepseek-ai/schemastery": "~3.18.5",
|
|
123
|
+
"@deepseek-ai/cordis": "~4.0.5 || 4.0.6-alpha.1",
|
|
124
|
+
"@deepseek-ai/dsh-agent": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
125
|
+
"@deepseek-ai/dsh-api-remotes": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
126
|
+
"@deepseek-ai/dsh-attachment": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
127
|
+
"@deepseek-ai/dsh-client-locale": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
128
|
+
"@deepseek-ai/dsh-client-ui-primitives": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
129
|
+
"@deepseek-ai/dsh-client-ui-renderer": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
130
|
+
"@deepseek-ai/dsh-client-ui-settings": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
131
|
+
"@deepseek-ai/dsh-client-ui-slots": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
132
|
+
"@deepseek-ai/dsh-commands": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
133
|
+
"@deepseek-ai/dsh-credentials": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
134
|
+
"@deepseek-ai/dsh-launch-environment": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
135
|
+
"@deepseek-ai/dsh-llm": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
136
|
+
"@deepseek-ai/dsh-settings": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
137
|
+
"@deepseek-ai/dsh-session": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
138
|
+
"@deepseek-ai/dsh-scope": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
139
|
+
"@deepseek-ai/dsh-session-projection": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
140
|
+
"@deepseek-ai/dsh-timeout": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
141
|
+
"@deepseek-ai/dsh-typert-protocol": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
142
|
+
"@deepseek-ai/dsh-web": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-alpha.2 <0.2.3-0",
|
|
143
|
+
"@deepseek-ai/schemastery": "~3.18.5 || 3.18.6-alpha.1",
|
|
142
144
|
"@types/node": "^22.0.0",
|
|
143
145
|
"@types/react": "^18.3.1",
|
|
146
|
+
"@types/react-test-renderer": "^19.3.0",
|
|
144
147
|
"parse5": "8.0.1",
|
|
145
148
|
"react": "^18.2.0",
|
|
149
|
+
"react-test-renderer": "^18.3.1",
|
|
146
150
|
"tsdown": "^0.22.2",
|
|
147
151
|
"tsx": "^4.23.12",
|
|
148
152
|
"typescript": "^6.0.3"
|
|
153
|
+
},
|
|
154
|
+
"overrides": {
|
|
155
|
+
"zod": "^4.6.6"
|
|
149
156
|
}
|
|
150
157
|
}
|