dsh-loop-engine 0.1.5-rc2 → 0.1.5-rc4
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 +44 -177
- package/README.zh.md +48 -100
- package/lib/client.js +887 -266
- package/lib/index.js +2212 -914
- package/lib/invariant.js +43 -45
- package/lib/types/agent-preset-ids.d.ts +303 -0
- package/lib/types/client/LoopEngineBadge.d.ts +44 -17
- package/lib/types/client/LoopEngineComposerSelect.d.ts +79 -13
- package/lib/types/client/LoopEngineSection.d.ts +5 -4
- package/lib/types/client/locales.d.ts +133 -7
- package/lib/types/client/reload.d.ts +135 -0
- package/lib/types/client/session-engine.d.ts +474 -0
- package/lib/types/client/store.d.ts +1 -1
- package/lib/types/client/turn-status.d.ts +112 -10
- package/lib/types/client/use-session-engine.d.ts +66 -0
- package/lib/types/commands.d.ts +11 -3
- package/lib/types/driver-core/host-servers.d.ts +106 -0
- package/lib/types/driver-core/hosted-engine-runtime.d.ts +190 -0
- package/lib/types/driver-core/hosted-tool-vocabulary.d.ts +72 -0
- package/lib/types/driver-core/model-handover.d.ts +116 -0
- package/lib/types/driver-core/ownership.d.ts +6 -5
- package/lib/types/driver-core/prompt.d.ts +32 -0
- package/lib/types/driver-core/session-lifetime.d.ts +62 -0
- package/lib/types/driver-core/session-model.d.ts +82 -0
- package/lib/types/engine-claude/agent.d.ts +23 -3
- package/lib/types/engine-claude/loop.d.ts +16 -15
- package/lib/types/engine-codex/agent.d.ts +22 -3
- package/lib/types/engine-codex/appserver/client.d.ts +15 -2
- package/lib/types/engine-codex/loop.d.ts +13 -15
- package/lib/types/engine-codex/model-handover.d.ts +44 -0
- package/lib/types/engine-kimi/acp/client.d.ts +10 -0
- package/lib/types/engine-kimi/agent.d.ts +19 -2
- package/lib/types/engine-kimi/commands.d.ts +18 -14
- package/lib/types/engine-kimi/loop.d.ts +14 -16
- package/lib/types/engine-kimi/model-handover.d.ts +32 -0
- package/lib/types/engine-kimi/process.d.ts +2 -2
- package/lib/types/engine-kimi/types.d.ts +1 -1
- package/lib/types/engine-of-session.d.ts +97 -0
- package/lib/types/engine-pi/agent.d.ts +25 -23
- package/lib/types/engine-pi/loop.d.ts +13 -23
- package/lib/types/engine-pi/model-handover.d.ts +35 -0
- package/lib/types/engine-pi/types.d.ts +2 -2
- package/lib/types/engine-remote.d.ts +192 -0
- package/lib/types/engine-surface.d.ts +36 -0
- package/lib/types/index.d.ts +51 -50
- package/lib/types/invariant.d.ts +8 -5
- package/lib/types/model-selection-reset.d.ts +271 -0
- package/lib/types/patch-manager.d.ts +57 -39
- package/lib/types/preset.d.ts +39 -26
- package/lib/types/provider-route.d.ts +83 -36
- package/lib/types/router-loop.d.ts +406 -0
- package/lib/types/session-engine-store.d.ts +138 -0
- package/lib/types/settings.d.ts +12 -11
- package/package.json +109 -104
package/package.json
CHANGED
|
@@ -1,104 +1,109 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dsh-loop-engine",
|
|
3
|
-
"description": "Web-switchable agent loop engine selection for the DeepSeek Harness - out-of-tree plugin (Claude Code / Codex / Pi / Kimi Code drivers) maintained by @kuun993, zero main-repo changes",
|
|
4
|
-
"version": "0.1.5-
|
|
5
|
-
"publishConfig": {
|
|
6
|
-
"access": "public"
|
|
7
|
-
},
|
|
8
|
-
"repository": "github:kuun993/dsh-loop-engine",
|
|
9
|
-
"type": "module",
|
|
10
|
-
"main": "lib/index.js",
|
|
11
|
-
"types": "lib/types/index.d.ts",
|
|
12
|
-
"exports": {
|
|
13
|
-
".": {
|
|
14
|
-
"types": "./lib/types/index.d.ts",
|
|
15
|
-
"default": "./lib/index.js"
|
|
16
|
-
},
|
|
17
|
-
"./invariant": {
|
|
18
|
-
"types": "./lib/types/invariant.d.ts",
|
|
19
|
-
"default": "./lib/invariant.js"
|
|
20
|
-
},
|
|
21
|
-
"./client": {
|
|
22
|
-
"types": "./lib/types/client/index.d.ts",
|
|
23
|
-
"default": "./lib/client.js"
|
|
24
|
-
},
|
|
25
|
-
"./src/*": "./src/*",
|
|
26
|
-
"./package.json": "./package.json"
|
|
27
|
-
},
|
|
28
|
-
"files": [
|
|
29
|
-
"lib/index.js",
|
|
30
|
-
"lib/invariant.js",
|
|
31
|
-
"lib/client.js",
|
|
32
|
-
"lib/types/**/*.d.ts",
|
|
33
|
-
"cordis.patch.yml"
|
|
34
|
-
],
|
|
35
|
-
"license": "MIT",
|
|
36
|
-
"scripts": {
|
|
37
|
-
"build": "node build.mjs",
|
|
38
|
-
"typecheck": "tsc -p tsconfig.build.json --noEmit",
|
|
39
|
-
"test": "vitest run",
|
|
40
|
-
"test:coverage": "vitest run --coverage"
|
|
41
|
-
},
|
|
42
|
-
"dsh": {
|
|
43
|
-
"bundle": {
|
|
44
|
-
"patch": "./cordis.patch.yml"
|
|
45
|
-
},
|
|
46
|
-
"client": {
|
|
47
|
-
"inject": [
|
|
48
|
-
"@deepseek-ai/dsh-client-locale",
|
|
49
|
-
"@deepseek-ai/dsh-client-ui-settings",
|
|
50
|
-
"@deepseek-ai/dsh-api-remotes"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
"@deepseek-ai/dsh-client-
|
|
56
|
-
"@deepseek-ai/dsh-client-
|
|
57
|
-
"@deepseek-ai/dsh-
|
|
58
|
-
"@deepseek-ai/dsh-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"@anthropic-ai/sdk": "0.
|
|
65
|
-
"@
|
|
66
|
-
"@
|
|
67
|
-
"@
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"@deepseek-ai/
|
|
72
|
-
"@deepseek-ai/dsh-
|
|
73
|
-
"@deepseek-ai/dsh-
|
|
74
|
-
"@deepseek-ai/dsh-
|
|
75
|
-
"@deepseek-ai/dsh-
|
|
76
|
-
"@deepseek-ai/dsh-
|
|
77
|
-
"@deepseek-ai/dsh-
|
|
78
|
-
"@deepseek-ai/dsh-
|
|
79
|
-
"@deepseek-ai/dsh-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
"@deepseek-ai/dsh-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
"@deepseek-ai/dsh-
|
|
86
|
-
"@deepseek-ai/dsh-
|
|
87
|
-
"@deepseek-ai/dsh-client-
|
|
88
|
-
"@deepseek-ai/dsh-client-
|
|
89
|
-
"@deepseek-ai/dsh-client-ui-
|
|
90
|
-
"@deepseek-ai/dsh-
|
|
91
|
-
"@deepseek-ai/dsh-
|
|
92
|
-
"@deepseek-ai/dsh-
|
|
93
|
-
"@deepseek-ai/dsh-
|
|
94
|
-
"@
|
|
95
|
-
"@
|
|
96
|
-
"@
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
|
|
104
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-loop-engine",
|
|
3
|
+
"description": "Web-switchable agent loop engine selection for the DeepSeek Harness - out-of-tree plugin (Claude Code / Codex / Pi / Kimi Code drivers) maintained by @kuun993, zero main-repo changes",
|
|
4
|
+
"version": "0.1.5-rc4",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"repository": "github:kuun993/dsh-loop-engine",
|
|
9
|
+
"type": "module",
|
|
10
|
+
"main": "lib/index.js",
|
|
11
|
+
"types": "lib/types/index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./lib/types/index.d.ts",
|
|
15
|
+
"default": "./lib/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./invariant": {
|
|
18
|
+
"types": "./lib/types/invariant.d.ts",
|
|
19
|
+
"default": "./lib/invariant.js"
|
|
20
|
+
},
|
|
21
|
+
"./client": {
|
|
22
|
+
"types": "./lib/types/client/index.d.ts",
|
|
23
|
+
"default": "./lib/client.js"
|
|
24
|
+
},
|
|
25
|
+
"./src/*": "./src/*",
|
|
26
|
+
"./package.json": "./package.json"
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"lib/index.js",
|
|
30
|
+
"lib/invariant.js",
|
|
31
|
+
"lib/client.js",
|
|
32
|
+
"lib/types/**/*.d.ts",
|
|
33
|
+
"cordis.patch.yml"
|
|
34
|
+
],
|
|
35
|
+
"license": "MIT",
|
|
36
|
+
"scripts": {
|
|
37
|
+
"build": "node build.mjs",
|
|
38
|
+
"typecheck": "tsc -p tsconfig.build.json --noEmit",
|
|
39
|
+
"test": "vitest run",
|
|
40
|
+
"test:coverage": "vitest run --coverage"
|
|
41
|
+
},
|
|
42
|
+
"dsh": {
|
|
43
|
+
"bundle": {
|
|
44
|
+
"patch": "./cordis.patch.yml"
|
|
45
|
+
},
|
|
46
|
+
"client": {
|
|
47
|
+
"inject": [
|
|
48
|
+
"@deepseek-ai/dsh-client-locale",
|
|
49
|
+
"@deepseek-ai/dsh-client-ui-settings",
|
|
50
|
+
"@deepseek-ai/dsh-api-remotes",
|
|
51
|
+
"@deepseek-ai/dsh-api-session-controller"
|
|
52
|
+
],
|
|
53
|
+
"platform": "web",
|
|
54
|
+
"external": [
|
|
55
|
+
"@deepseek-ai/dsh-client-locale/client",
|
|
56
|
+
"@deepseek-ai/dsh-client-store",
|
|
57
|
+
"@deepseek-ai/dsh-client-ui-settings/client",
|
|
58
|
+
"@deepseek-ai/dsh-api-remotes/client",
|
|
59
|
+
"@deepseek-ai/dsh-settings/types"
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"dependencies": {
|
|
64
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.220",
|
|
65
|
+
"@anthropic-ai/sdk": "0.93.0",
|
|
66
|
+
"@deepseek-ai/schemastery": "3.18.1",
|
|
67
|
+
"@earendil-works/pi-coding-agent": "0.84.3",
|
|
68
|
+
"@openai/codex": "0.149.1"
|
|
69
|
+
},
|
|
70
|
+
"peerDependencies": {
|
|
71
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
72
|
+
"@deepseek-ai/dsh-agent": "0.1.5-rc.2",
|
|
73
|
+
"@deepseek-ai/dsh-agent-loop": "0.1.5-rc.2",
|
|
74
|
+
"@deepseek-ai/dsh-invariants": "0.1.5-rc.2",
|
|
75
|
+
"@deepseek-ai/dsh-llm": "0.1.5-rc.2",
|
|
76
|
+
"@deepseek-ai/dsh-scope": "0.1.5-rc.2",
|
|
77
|
+
"@deepseek-ai/dsh-session": "0.1.5-rc.2",
|
|
78
|
+
"@deepseek-ai/dsh-session-persistence": "0.1.5-rc.2",
|
|
79
|
+
"@deepseek-ai/dsh-settings": "0.1.5-rc.2",
|
|
80
|
+
"@deepseek-ai/dsh-subprocess": "0.1.5-rc.2",
|
|
81
|
+
"@deepseek-ai/dsh-timeout": "0.1.5-rc.2",
|
|
82
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.5-rc.2"
|
|
83
|
+
},
|
|
84
|
+
"devDependencies": {
|
|
85
|
+
"@deepseek-ai/dsh-agent-loop": "0.1.5-rc.2",
|
|
86
|
+
"@deepseek-ai/dsh-attachment": "0.1.5-rc.2",
|
|
87
|
+
"@deepseek-ai/dsh-client-locale": "0.1.5-rc.2",
|
|
88
|
+
"@deepseek-ai/dsh-client-store": "0.1.5-rc.2",
|
|
89
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.1.5-rc.2",
|
|
90
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.1.5-rc.2",
|
|
91
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.1.5-rc.2",
|
|
92
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.5-rc.2",
|
|
93
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.5-rc.2",
|
|
94
|
+
"@deepseek-ai/dsh-home-paths": "0.1.5-rc.2",
|
|
95
|
+
"@deepseek-ai/dsh-session-persistence-jsonl": "0.1.5-rc.2",
|
|
96
|
+
"@deepseek-ai/dsh-subprocess-local": "0.1.5-rc.2",
|
|
97
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.5-rc.2",
|
|
98
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.5-rc.2",
|
|
99
|
+
"@types/node": "^22.20.0",
|
|
100
|
+
"@types/react": "^19.0.0",
|
|
101
|
+
"@vitest/coverage-v8": "^4.1.8",
|
|
102
|
+
"esbuild": "^0.28.2",
|
|
103
|
+
"tsx": "^4.22.4",
|
|
104
|
+
"typescript": "^6.0.3",
|
|
105
|
+
"vite": "^7.0.0",
|
|
106
|
+
"vite-tsconfig-paths": "^6.1.1",
|
|
107
|
+
"vitest": "^4.1.8"
|
|
108
|
+
}
|
|
109
|
+
}
|