@eddyskywalker/dsh-chatgpt-subscription 0.57.0 → 0.59.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 +43 -0
- package/README.md +3 -3
- package/lib/client.js +136 -23
- package/lib/client.js.map +1 -1
- package/lib/codemode.js +1565 -0
- package/lib/index.js +1121 -530
- package/lib/tool-result-pruner.js +1 -1
- package/lib/types/client/CodexImageToolView.d.ts.map +1 -1
- package/lib/types/client/minimax-code/commands-contract.d.ts +1 -1
- package/lib/types/client/progress-updates/progress-row.d.ts.map +1 -1
- package/lib/types/client/styles.d.ts.map +1 -1
- package/lib/types/compat.d.ts +10 -1
- package/lib/types/compat.d.ts.map +1 -1
- package/lib/types/entry-codemode.d.ts +37 -0
- package/lib/types/entry-codemode.d.ts.map +1 -0
- package/lib/types/entry-tool-result-pruner.d.ts +1 -1
- package/lib/types/host/agent-preset.d.ts +24 -2
- package/lib/types/host/agent-preset.d.ts.map +1 -1
- package/lib/types/host/antigravity/image-tool.d.ts +10 -2
- package/lib/types/host/antigravity/image-tool.d.ts.map +1 -1
- package/lib/types/host/cache-warmup/install.d.ts +10 -4
- package/lib/types/host/cache-warmup/install.d.ts.map +1 -1
- package/lib/types/host/cache-warmup/projection.d.ts +17 -0
- package/lib/types/host/cache-warmup/projection.d.ts.map +1 -1
- package/lib/types/host/codemode/discovery.d.ts +33 -0
- package/lib/types/host/codemode/discovery.d.ts.map +1 -0
- package/lib/types/host/codemode/executor.d.ts +140 -0
- package/lib/types/host/codemode/executor.d.ts.map +1 -0
- package/lib/types/host/codemode/retention.d.ts +34 -0
- package/lib/types/host/codemode/retention.d.ts.map +1 -0
- package/lib/types/host/codemode/rules.d.ts +183 -0
- package/lib/types/host/codemode/rules.d.ts.map +1 -0
- package/lib/types/host/codemode/scope.d.ts +59 -0
- package/lib/types/host/codemode/scope.d.ts.map +1 -0
- package/lib/types/host/codemode/transport.d.ts +258 -0
- package/lib/types/host/codemode/transport.d.ts.map +1 -0
- package/lib/types/host/codex-account-pool.d.ts.map +1 -1
- package/lib/types/host/codex-adopt.d.ts.map +1 -1
- package/lib/types/host/codex-catalog.d.ts +5 -3
- package/lib/types/host/codex-catalog.d.ts.map +1 -1
- package/lib/types/host/codex-identity.d.ts +130 -0
- package/lib/types/host/codex-identity.d.ts.map +1 -0
- package/lib/types/host/codex-images.d.ts +12 -0
- package/lib/types/host/codex-images.d.ts.map +1 -1
- package/lib/types/host/kimi-code/repeat-breaker.d.ts +1 -1
- package/lib/types/host/oauth-service.d.ts +0 -16
- package/lib/types/host/oauth-service.d.ts.map +1 -1
- package/lib/types/host/token-store.d.ts +9 -0
- package/lib/types/host/token-store.d.ts.map +1 -1
- package/lib/types/host/usage-service.d.ts.map +1 -1
- package/lib/types/host/workbuddy/adapter.d.ts.map +1 -1
- package/lib/types/host/workbuddy/client.d.ts.map +1 -1
- package/lib/types/host/workbuddy/model-catalog.d.ts +56 -44
- package/lib/types/host/workbuddy/model-catalog.d.ts.map +1 -1
- package/lib/types/host/workbuddy/routes.d.ts.map +1 -1
- package/lib/types/shared/workbuddy-contracts.d.ts +8 -8
- package/package.json +54 -46
- package/presets/dispatch/README.md +12 -3
- package/presets/dispatch/agent.cordis.yml +10 -9
- package/presets/dispatch/preset.yml +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eddyskywalker/dsh-chatgpt-subscription",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.59.0",
|
|
4
4
|
"description": "DSH provider plugin for Codex access through a ChatGPT subscription.",
|
|
5
5
|
"icon": "./icon.svg",
|
|
6
6
|
"author": {
|
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
"provider"
|
|
26
26
|
],
|
|
27
27
|
"type": "module",
|
|
28
|
+
"engines": {
|
|
29
|
+
"node": ">=22.19.0"
|
|
30
|
+
},
|
|
28
31
|
"publishConfig": {
|
|
29
32
|
"access": "public"
|
|
30
33
|
},
|
|
@@ -58,6 +61,10 @@
|
|
|
58
61
|
"./tool-result-pruner": {
|
|
59
62
|
"types": "./lib/types/entry-tool-result-pruner.d.ts",
|
|
60
63
|
"default": "./lib/tool-result-pruner.js"
|
|
64
|
+
},
|
|
65
|
+
"./codemode": {
|
|
66
|
+
"types": "./lib/types/entry-codemode.d.ts",
|
|
67
|
+
"default": "./lib/codemode.js"
|
|
61
68
|
}
|
|
62
69
|
},
|
|
63
70
|
"dsh": {
|
|
@@ -79,54 +86,54 @@
|
|
|
79
86
|
}
|
|
80
87
|
},
|
|
81
88
|
"peerDependencies": {
|
|
82
|
-
"@deepseek-ai/cordis": "^4.0.2 || 4.0.5 || 4.0.6-alpha.2",
|
|
83
|
-
"@deepseek-ai/cordis-plugin-loader": "^1.0.3 || 1.0.6 || 1.0.7-alpha.2",
|
|
84
|
-
"@deepseek-ai/dsh-attachment": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3",
|
|
85
|
-
"@deepseek-ai/dsh-client-connection": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3",
|
|
86
|
-
"@deepseek-ai/dsh-client-locale": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3",
|
|
87
|
-
"@deepseek-ai/dsh-client-ui-commands": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3",
|
|
88
|
-
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3",
|
|
89
|
-
"@deepseek-ai/dsh-client-ui-model-selection": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3",
|
|
90
|
-
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3",
|
|
91
|
-
"@deepseek-ai/dsh-client-ui-settings": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3",
|
|
92
|
-
"@deepseek-ai/dsh-client-ui-sidebar-documentpreview": "^0.1.5-alpha.2 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3",
|
|
93
|
-
"@deepseek-ai/dsh-client-ui-sidebar-right": "^0.1.5-alpha.1 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3",
|
|
94
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3",
|
|
95
|
-
"@deepseek-ai/dsh-client-ui-tool": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3",
|
|
96
|
-
"@deepseek-ai/dsh-host-webserver": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3",
|
|
97
|
-
"@deepseek-ai/dsh-llm": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3",
|
|
98
|
-
"@deepseek-ai/dsh-settings": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3",
|
|
99
|
-
"@deepseek-ai/dsh-timeout": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3",
|
|
100
|
-
"@deepseek-ai/dsh-tools": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3",
|
|
101
|
-
"@deepseek-ai/dsh-web": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3",
|
|
102
|
-
"@deepseek-ai/schemastery": "^3.18.2 || 3.18.5 || 3.18.6-alpha.2",
|
|
89
|
+
"@deepseek-ai/cordis": "^4.0.2 || 4.0.5 || 4.0.6-alpha.2 || 4.1.0",
|
|
90
|
+
"@deepseek-ai/cordis-plugin-loader": "^1.0.3 || 1.0.6 || 1.0.7-alpha.2 || 1.1.0",
|
|
91
|
+
"@deepseek-ai/dsh-attachment": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3 || ^0.2.2-rc.1",
|
|
92
|
+
"@deepseek-ai/dsh-client-connection": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3 || ^0.2.2-rc.1",
|
|
93
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3 || ^0.2.2-rc.1",
|
|
94
|
+
"@deepseek-ai/dsh-client-ui-commands": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3 || ^0.2.2-rc.1",
|
|
95
|
+
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3 || ^0.2.2-rc.1",
|
|
96
|
+
"@deepseek-ai/dsh-client-ui-model-selection": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3 || ^0.2.2-rc.1",
|
|
97
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3 || ^0.2.2-rc.1",
|
|
98
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3 || ^0.2.2-rc.1",
|
|
99
|
+
"@deepseek-ai/dsh-client-ui-sidebar-documentpreview": "^0.1.5-alpha.2 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3 || ^0.2.2-rc.1",
|
|
100
|
+
"@deepseek-ai/dsh-client-ui-sidebar-right": "^0.1.5-alpha.1 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3 || ^0.2.2-rc.1",
|
|
101
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3 || ^0.2.2-rc.1",
|
|
102
|
+
"@deepseek-ai/dsh-client-ui-tool": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3 || ^0.2.2-rc.1",
|
|
103
|
+
"@deepseek-ai/dsh-host-webserver": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3 || ^0.2.2-rc.1",
|
|
104
|
+
"@deepseek-ai/dsh-llm": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3 || ^0.2.2-rc.1",
|
|
105
|
+
"@deepseek-ai/dsh-settings": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3 || ^0.2.2-rc.1",
|
|
106
|
+
"@deepseek-ai/dsh-timeout": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3 || ^0.2.2-rc.1",
|
|
107
|
+
"@deepseek-ai/dsh-tools": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3 || ^0.2.2-rc.1",
|
|
108
|
+
"@deepseek-ai/dsh-web": "^0.1.2-alpha.5 || ^0.1.2-rc.1 || ^0.1.2 || ^0.1.3 || ^0.1.4 || ^0.1.5-rc.1 || ^0.1.6-alpha.1 || ^0.1.7-alpha.1 || ^0.1.7-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1 || ^0.2.0-rc.2 || 0.2.1-alpha.5 || ^0.2.1-rc.1 || ^0.2.1-rc.3 || ^0.2.2-alpha.3 || ^0.2.2-rc.1",
|
|
109
|
+
"@deepseek-ai/schemastery": "^3.18.2 || 3.18.5 || 3.18.6-alpha.2 || 3.19.0",
|
|
103
110
|
"react": "^18.2.0"
|
|
104
111
|
},
|
|
105
112
|
"devDependencies": {
|
|
106
|
-
"@deepseek-ai/cordis": "4.0
|
|
107
|
-
"@deepseek-ai/cordis-plugin-loader": "1.0
|
|
108
|
-
"@deepseek-ai/dsh-attachment": "^0.2.2-
|
|
109
|
-
"@deepseek-ai/dsh-client-connection": "^0.2.2-
|
|
110
|
-
"@deepseek-ai/dsh-client-locale": "^0.2.2-
|
|
111
|
-
"@deepseek-ai/dsh-client-ui-commands": "^0.2.2-
|
|
112
|
-
"@deepseek-ai/dsh-client-ui-conversation": "^0.2.2-
|
|
113
|
-
"@deepseek-ai/dsh-client-ui-model-selection": "^0.2.2-
|
|
114
|
-
"@deepseek-ai/dsh-client-ui-renderer": "^0.2.2-
|
|
115
|
-
"@deepseek-ai/dsh-client-ui-settings": "^0.2.2-
|
|
116
|
-
"@deepseek-ai/dsh-client-ui-sidebar-documentpreview": "^0.2.2-
|
|
117
|
-
"@deepseek-ai/dsh-client-ui-sidebar-right": "^0.2.2-
|
|
118
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.2.2-
|
|
119
|
-
"@deepseek-ai/dsh-client-ui-tool": "^0.2.2-
|
|
120
|
-
"@deepseek-ai/dsh-compaction-basic": "^0.2.2-
|
|
121
|
-
"@deepseek-ai/dsh-host-webserver": "^0.2.2-
|
|
122
|
-
"@deepseek-ai/dsh-llm": "^0.2.2-
|
|
123
|
-
"@deepseek-ai/dsh-ptc-runtime": "^0.2.2-
|
|
124
|
-
"@deepseek-ai/dsh-settings": "^0.2.2-
|
|
125
|
-
"@deepseek-ai/dsh-timeout": "^0.2.2-
|
|
126
|
-
"@deepseek-ai/dsh-tool-executor-ptc": "^0.2.2-
|
|
127
|
-
"@deepseek-ai/dsh-tools": "^0.2.2-
|
|
128
|
-
"@deepseek-ai/dsh-web": "^0.2.2-
|
|
129
|
-
"@deepseek-ai/schemastery": "3.
|
|
113
|
+
"@deepseek-ai/cordis": "4.1.0",
|
|
114
|
+
"@deepseek-ai/cordis-plugin-loader": "1.1.0",
|
|
115
|
+
"@deepseek-ai/dsh-attachment": "^0.2.2-rc.1",
|
|
116
|
+
"@deepseek-ai/dsh-client-connection": "^0.2.2-rc.1",
|
|
117
|
+
"@deepseek-ai/dsh-client-locale": "^0.2.2-rc.1",
|
|
118
|
+
"@deepseek-ai/dsh-client-ui-commands": "^0.2.2-rc.1",
|
|
119
|
+
"@deepseek-ai/dsh-client-ui-conversation": "^0.2.2-rc.1",
|
|
120
|
+
"@deepseek-ai/dsh-client-ui-model-selection": "^0.2.2-rc.1",
|
|
121
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.2.2-rc.1",
|
|
122
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.2.2-rc.1",
|
|
123
|
+
"@deepseek-ai/dsh-client-ui-sidebar-documentpreview": "^0.2.2-rc.1",
|
|
124
|
+
"@deepseek-ai/dsh-client-ui-sidebar-right": "^0.2.2-rc.1",
|
|
125
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.2.2-rc.1",
|
|
126
|
+
"@deepseek-ai/dsh-client-ui-tool": "^0.2.2-rc.1",
|
|
127
|
+
"@deepseek-ai/dsh-compaction-basic": "^0.2.2-rc.1",
|
|
128
|
+
"@deepseek-ai/dsh-host-webserver": "^0.2.2-rc.1",
|
|
129
|
+
"@deepseek-ai/dsh-llm": "^0.2.2-rc.1",
|
|
130
|
+
"@deepseek-ai/dsh-ptc-runtime": "^0.2.2-rc.1",
|
|
131
|
+
"@deepseek-ai/dsh-settings": "^0.2.2-rc.1",
|
|
132
|
+
"@deepseek-ai/dsh-timeout": "^0.2.2-rc.1",
|
|
133
|
+
"@deepseek-ai/dsh-tool-executor-ptc": "^0.2.2-rc.1",
|
|
134
|
+
"@deepseek-ai/dsh-tools": "^0.2.2-rc.1",
|
|
135
|
+
"@deepseek-ai/dsh-web": "^0.2.2-rc.1",
|
|
136
|
+
"@deepseek-ai/schemastery": "3.19.0",
|
|
130
137
|
"@types/node": "^22.20.0",
|
|
131
138
|
"@types/react": "~18.3.1",
|
|
132
139
|
"@types/react-dom": "^18.3.5",
|
|
@@ -167,6 +174,7 @@
|
|
|
167
174
|
"typecheck": "tsc -b --pretty false && tsc -p test/tsconfig.json --pretty false && tsc -p scripts/tsconfig.json --pretty false"
|
|
168
175
|
},
|
|
169
176
|
"dependencies": {
|
|
177
|
+
"@deepseek-ai/dsh-tool-executor-native": "^0.2.2-rc.1",
|
|
170
178
|
"katex": "^0.18.7",
|
|
171
179
|
"mermaid": "^11.17.2",
|
|
172
180
|
"undici": "^8.10.0",
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
# 调度模式(dispatch)
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
基于 **Code Mode** 的调度 Agent:本预设自己注册的工具保持原生可调(schema 不变),
|
|
4
|
+
预设清单以外的一切(MCP 服务端工具、profile 级插件工具、按 agent 注册的工具集)不进入模型
|
|
5
|
+
上下文,只能在 `code_run` 程序里用 `code_tools_search` 现查现调。改变的是**身份与流程纪律**。
|
|
6
|
+
|
|
7
|
+
> 内核的 `ptc` 呈现方式只把 `run_code` 交给模型、其余名字一律硬拒,`standard` 又完全没有程序
|
|
8
|
+
> 传输;「原生工具 + 程序」这个组合在内核里表达不出来,所以本预设自带一行 `code-mode`
|
|
9
|
+
> (`@eddyskywalker/dsh-chatgpt-subscription/codemode`)。代次上不可用原生 executor 时,
|
|
10
|
+
> `resolveDispatchPreset` 会自动退回 PTC 呈现(见 `src/host/agent-preset.ts`)。
|
|
11
|
+
|
|
12
|
+
> **缓存前提**:Code Mode 的说明段是**恒定文本**(不含任何遮蔽计数或 namespace 清单),
|
|
13
|
+
> 加上既有的 `ptc-sdk-cache-guard`,kimi-code / minimax-code 的前缀缓存不因 MCP 增删而失效。
|
|
5
14
|
|
|
6
15
|
## 运行骨架
|
|
7
16
|
|
|
@@ -24,7 +33,7 @@
|
|
|
24
33
|
| R0 | 先分诊,按复杂度决定是否展开重治理流程;绝不为 L0/L1 开启完整访谈或计划模式 |
|
|
25
34
|
| R0.5 | 兼容性闸门(每个新会话一次):判据**只有** `spawn_teammate` 是否在场——在场才说明跑的是旧代 team 运行时(它顶替协调工具),此时停下交用户决策;现行 team 只加共享任务板,与调度并行 |
|
|
26
35
|
| R-G | L2 规划前必须做澄清访谈:设计树 / 前沿 / 轮次,每题给推荐答案,事实自己查、决策交用户,前沿为空且用户确认后才进入规划 |
|
|
27
|
-
| R1 | L2 执行拓扑按「耦合度 × 并行收益」三选一:`Lead-Core`(紧耦合跨模块由主代理连续直执)、`Hybrid`(主代理先冻结公共契约再并行外包下游)、`Fan-out`(3+
|
|
36
|
+
| R1 | L2 执行拓扑按「耦合度 × 并行收益」三选一:`Lead-Core`(紧耦合跨模块由主代理连续直执)、`Hybrid`(主代理先冻结公共契约再并行外包下游)、`Fan-out`(3+ 正交子任务并行编排);单次生图、改提示词和重试由当前代理直接调用工具,只有独立多方案或更复杂创意任务才委派 |
|
|
28
37
|
| R2 | 允许清单唯一真源是 `list_subagent_models`(`{}` → `{ provider }`);派发必须显式给出拆开的 `provider` 与 `model`,直接采信工具返回值,无需去翻本地配置或代码核对 |
|
|
29
38
|
| R3 | 子代理对自己的模块拥有规划/执行/自检自治权 |
|
|
30
39
|
| R4 | 子代理使用 DSH 默认子代理角色;选模型的权力只在主代理 |
|
|
@@ -92,6 +92,7 @@
|
|
|
92
92
|
- Lead-Core: tightly coupled cross-module/contract changes or sequential chains where splitting duplicates reads or causes hand_back loops. -> Implement directly in continuous steps (track in todo_write, no self-briefs) and run R6 verification.
|
|
93
93
|
- Hybrid: unsettled shared contracts/seams plus orthogonal downstream work. -> Implement & freeze core seams yourself first, then delegate orthogonal adapters/tests/noisy exploration per R2/R5 (or subagent_fork for warm-context isolation).
|
|
94
94
|
- Fan-out: >=3 orthogonal subtasks with disjoint files, settled interfaces, and clear parallel/routing gain. -> Coordinate (plan, R2/R5 dispatch, R6 review/acceptance, docs, non-delegable or disjoint parallel modules); never edit an active child's Boundary.
|
|
95
|
+
- [Media generation] Generate/revise/retry images directly; delegate complex creative work, never a bare call.
|
|
95
96
|
|
|
96
97
|
## R2 · Model Routing (Check Availability First, Then Decide How to Dispatch)
|
|
97
98
|
Check whether list_subagent_models exists (in PTC mode: tools.list_subagent_models). The tool row and provider/model/reasoning_effort parameters are mounted statically, so they are present even in a session that authorized no route at all. Read that fact instead of inferring it from the tool's output:
|
|
@@ -421,15 +422,15 @@
|
|
|
421
422
|
|
|
422
423
|
# ── presentation ────────────────────────────────────────────────────────────
|
|
423
424
|
|
|
424
|
-
#
|
|
425
|
-
#
|
|
426
|
-
#
|
|
427
|
-
#
|
|
428
|
-
#
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
425
|
+
# Code Mode for this agent alone: the rows above stay natively callable, and
|
|
426
|
+
# everything this preset does not own (MCP servers, profile-level plugins,
|
|
427
|
+
# per-agent tool sets) is reachable only from inside `code_run`. The row brings
|
|
428
|
+
# its own executor, so no `tool-executor-ptc` row is mounted beside it — one
|
|
429
|
+
# executor per scope. resolveDispatchPreset swaps this row back to the PTC
|
|
430
|
+
# executor (or the deprecated presentation row) on generations without
|
|
431
|
+
# @deepseek-ai/dsh-tool-executor-native.
|
|
432
|
+
- id: code-mode
|
|
433
|
+
name: '@eddyskywalker/dsh-chatgpt-subscription/codemode'
|
|
433
434
|
|
|
434
435
|
# `present` ships from harness 0.1.5-alpha.2. On an earlier installation the
|
|
435
436
|
# sync disables this row rather than leave the whole preset unresolvable, and
|