@mars-sea/dsh-commandcode-provider 0.11.1 → 0.11.3
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 +32 -0
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/lib/client.js +360 -319
- package/lib/client.js.map +1 -1
- package/lib/index.d.ts +80 -2
- package/lib/index.js +658 -29
- package/lib/index.js.map +1 -1
- package/package.json +42 -38
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mars-sea/dsh-commandcode-provider",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.3",
|
|
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
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -27,8 +27,10 @@
|
|
|
27
27
|
"0.1.3-alpha.2": "compatible",
|
|
28
28
|
"0.1.5-alpha.1": "compatible",
|
|
29
29
|
"0.1.5-rc.1": "compatible",
|
|
30
|
-
"0.1.5-rc.2": "compatible"
|
|
31
|
-
|
|
30
|
+
"0.1.5-rc.2": "compatible",
|
|
31
|
+
"0.1.6-alpha.1": "compatible"
|
|
32
|
+
},
|
|
33
|
+
"dsh": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1"
|
|
32
34
|
},
|
|
33
35
|
"client": {
|
|
34
36
|
"inject": [
|
|
@@ -54,11 +56,13 @@
|
|
|
54
56
|
"build": "tsdown",
|
|
55
57
|
"prepare": "tsdown",
|
|
56
58
|
"test:install": "node scripts/verify-isolated-install.mjs",
|
|
59
|
+
"test:engine": "node scripts/verify-engine-load.mjs",
|
|
57
60
|
"typecheck": "tsc --noEmit",
|
|
58
61
|
"test": "node --import tsx --test tests/**/*.test.ts"
|
|
59
62
|
},
|
|
60
63
|
"engines": {
|
|
61
|
-
"node": ">=22"
|
|
64
|
+
"node": ">=22",
|
|
65
|
+
"dsh": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1"
|
|
62
66
|
},
|
|
63
67
|
"publishConfig": {
|
|
64
68
|
"access": "public"
|
|
@@ -85,45 +89,45 @@
|
|
|
85
89
|
"license": "MIT",
|
|
86
90
|
"peerDependencies": {
|
|
87
91
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
88
|
-
"@deepseek-ai/dsh-api-remotes": "^0.1.2-rc.1",
|
|
89
|
-
"@deepseek-ai/dsh-attachment": "^0.1.2-rc.1",
|
|
90
|
-
"@deepseek-ai/dsh-client-connection": "^0.1.2-rc.1",
|
|
91
|
-
"@deepseek-ai/dsh-client-locale": "^0.1.2-rc.1",
|
|
92
|
-
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.2-rc.1",
|
|
93
|
-
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-rc.1",
|
|
94
|
-
"@deepseek-ai/dsh-client-ui-settings": "^0.1.2-rc.1",
|
|
95
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.1.2-rc.1",
|
|
96
|
-
"@deepseek-ai/dsh-commands": "^0.1.2-rc.1",
|
|
97
|
-
"@deepseek-ai/dsh-credentials": "^0.1.2-rc.1",
|
|
98
|
-
"@deepseek-ai/dsh-invariants": "^0.1.2-rc.1",
|
|
99
|
-
"@deepseek-ai/dsh-launch-environment": "^0.1.2-rc.1",
|
|
100
|
-
"@deepseek-ai/dsh-llm": "^0.1.2-rc.1",
|
|
101
|
-
"@deepseek-ai/dsh-settings": "^0.1.2-rc.1",
|
|
102
|
-
"@deepseek-ai/dsh-timeout": "^0.1.2-rc.1",
|
|
103
|
-
"@deepseek-ai/dsh-typert-protocol": "^0.1.2-rc.1",
|
|
92
|
+
"@deepseek-ai/dsh-api-remotes": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
93
|
+
"@deepseek-ai/dsh-attachment": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
94
|
+
"@deepseek-ai/dsh-client-connection": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
95
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
96
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
97
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
98
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
99
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
100
|
+
"@deepseek-ai/dsh-commands": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
101
|
+
"@deepseek-ai/dsh-credentials": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
102
|
+
"@deepseek-ai/dsh-invariants": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
103
|
+
"@deepseek-ai/dsh-launch-environment": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
104
|
+
"@deepseek-ai/dsh-llm": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
105
|
+
"@deepseek-ai/dsh-settings": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
106
|
+
"@deepseek-ai/dsh-timeout": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
107
|
+
"@deepseek-ai/dsh-typert-protocol": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
104
108
|
"@deepseek-ai/schemastery": "^3.18.2",
|
|
105
109
|
"react": "^18.2.0",
|
|
106
|
-
"@deepseek-ai/dsh-web": "^0.1.2-rc.1"
|
|
110
|
+
"@deepseek-ai/dsh-web": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1"
|
|
107
111
|
},
|
|
108
112
|
"devDependencies": {
|
|
109
113
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
110
|
-
"@deepseek-ai/dsh-api-remotes": "^0.1.2-rc.1",
|
|
111
|
-
"@deepseek-ai/dsh-attachment": "^0.1.2-rc.1",
|
|
112
|
-
"@deepseek-ai/dsh-client-connection": "^0.1.2-rc.1",
|
|
113
|
-
"@deepseek-ai/dsh-client-locale": "^0.1.2-rc.1",
|
|
114
|
-
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.2-rc.1",
|
|
115
|
-
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-rc.1",
|
|
116
|
-
"@deepseek-ai/dsh-client-ui-settings": "^0.1.2-rc.1",
|
|
117
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.1.2-rc.1",
|
|
118
|
-
"@deepseek-ai/dsh-commands": "^0.1.2-rc.1",
|
|
119
|
-
"@deepseek-ai/dsh-credentials": "^0.1.2-rc.1",
|
|
120
|
-
"@deepseek-ai/dsh-invariants": "^0.1.2-rc.1",
|
|
121
|
-
"@deepseek-ai/dsh-launch-environment": "^0.1.2-rc.1",
|
|
122
|
-
"@deepseek-ai/dsh-llm": "^0.1.2-rc.1",
|
|
123
|
-
"@deepseek-ai/dsh-settings": "^0.1.2-rc.1",
|
|
124
|
-
"@deepseek-ai/dsh-timeout": "^0.1.2-rc.1",
|
|
125
|
-
"@deepseek-ai/dsh-typert-protocol": "^0.1.2-rc.1",
|
|
126
|
-
"@deepseek-ai/dsh-web": "^0.1.2-rc.1",
|
|
114
|
+
"@deepseek-ai/dsh-api-remotes": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
115
|
+
"@deepseek-ai/dsh-attachment": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
116
|
+
"@deepseek-ai/dsh-client-connection": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
117
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
118
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
119
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
120
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
121
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
122
|
+
"@deepseek-ai/dsh-commands": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
123
|
+
"@deepseek-ai/dsh-credentials": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
124
|
+
"@deepseek-ai/dsh-invariants": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
125
|
+
"@deepseek-ai/dsh-launch-environment": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
126
|
+
"@deepseek-ai/dsh-llm": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
127
|
+
"@deepseek-ai/dsh-settings": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
128
|
+
"@deepseek-ai/dsh-timeout": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
129
|
+
"@deepseek-ai/dsh-typert-protocol": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
130
|
+
"@deepseek-ai/dsh-web": "^0.1.6-alpha.1 || ^0.1.5-rc.2 || ^0.1.5-rc.1 || ^0.1.5-alpha.1 || ^0.1.3-alpha.2 || ^0.1.3-alpha.1 || ^0.1.2-rc.1",
|
|
127
131
|
"@deepseek-ai/schemastery": "^3.18.2",
|
|
128
132
|
"@types/node": "^22.0.0",
|
|
129
133
|
"@types/react": "^18.3.1",
|