dsh-loop-engine 1.0.0-rc6 → 1.0.0-rc8

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.
Files changed (36) hide show
  1. package/README.md +43 -3
  2. package/README.zh.md +4 -3
  3. package/lib/client.js +82 -19
  4. package/lib/index.js +2249 -460
  5. package/lib/invariant.js +4 -3
  6. package/lib/types/client/LoopEngineBadge.d.ts +1 -1
  7. package/lib/types/client/LoopEngineComposerSelect.d.ts +1 -1
  8. package/lib/types/client/LoopEngineSection.d.ts +1 -1
  9. package/lib/types/client/index.d.ts +1 -1
  10. package/lib/types/client/locales.d.ts +4 -0
  11. package/lib/types/client/store.d.ts +2 -1
  12. package/lib/types/engine-claude/agent.d.ts +2 -0
  13. package/lib/types/engine-claude/loop.d.ts +24 -2
  14. package/lib/types/engine-claude/mapping.d.ts +3 -3
  15. package/lib/types/engine-codex/agent.d.ts +2 -0
  16. package/lib/types/engine-codex/appserver/mapping.d.ts +4 -4
  17. package/lib/types/engine-codex/loop.d.ts +24 -2
  18. package/lib/types/engine-kimi/acp/client.d.ts +76 -0
  19. package/lib/types/engine-kimi/acp/mapping.d.ts +44 -0
  20. package/lib/types/engine-kimi/acp/types.d.ts +95 -0
  21. package/lib/types/engine-kimi/agent.d.ts +123 -0
  22. package/lib/types/engine-kimi/commands.d.ts +40 -0
  23. package/lib/types/engine-kimi/loop.d.ts +108 -0
  24. package/lib/types/engine-kimi/mapping.d.ts +71 -0
  25. package/lib/types/engine-kimi/permission.d.ts +28 -0
  26. package/lib/types/engine-kimi/process.d.ts +61 -0
  27. package/lib/types/engine-kimi/skills.d.ts +57 -0
  28. package/lib/types/engine-kimi/types.d.ts +23 -0
  29. package/lib/types/engine-pi/agent.d.ts +2 -0
  30. package/lib/types/engine-pi/loop.d.ts +24 -2
  31. package/lib/types/index.d.ts +20 -2
  32. package/lib/types/patch-manager.d.ts +9 -0
  33. package/lib/types/preset.d.ts +73 -0
  34. package/lib/types/provider-route.d.ts +35 -0
  35. package/lib/types/settings.d.ts +6 -6
  36. package/package.json +24 -24
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-loop-engine",
3
- "description": "Web-switchable agent loop engine selection for the DeepSeek Harness - out-of-tree plugin (Claude Code / Codex drivers) maintained by @kuun993, zero main-repo changes",
4
- "version": "1.0.0-rc6",
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": "1.0.0-rc8",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -46,14 +46,13 @@
46
46
  "client": {
47
47
  "inject": [
48
48
  "@deepseek-ai/dsh-client-locale",
49
- "@deepseek-ai/dsh-client-runtime",
50
49
  "@deepseek-ai/dsh-client-ui-settings",
51
50
  "@deepseek-ai/dsh-api-remotes"
52
51
  ],
53
52
  "platform": "web",
54
53
  "external": [
55
54
  "@deepseek-ai/dsh-client-locale/client",
56
- "@deepseek-ai/dsh-client-runtime/client",
55
+ "@deepseek-ai/dsh-client-store",
57
56
  "@deepseek-ai/dsh-client-ui-settings/client",
58
57
  "@deepseek-ai/dsh-api-remotes/client",
59
58
  "@deepseek-ai/dsh-settings/types"
@@ -69,28 +68,29 @@
69
68
  },
70
69
  "peerDependencies": {
71
70
  "@deepseek-ai/cordis": "^4.0.1",
72
- "@deepseek-ai/dsh-agent": "0.1.1-rc.2",
73
- "@deepseek-ai/dsh-invariants": "0.1.1-rc.2",
74
- "@deepseek-ai/dsh-llm": "0.1.1-rc.2",
75
- "@deepseek-ai/dsh-scope": "0.1.1-rc.2",
76
- "@deepseek-ai/dsh-session": "0.1.1-rc.2",
77
- "@deepseek-ai/dsh-session-persistence": "0.1.1-rc.2",
78
- "@deepseek-ai/dsh-settings": "0.1.1-rc.2",
79
- "@deepseek-ai/dsh-subprocess": "0.1.1-rc.2",
80
- "@deepseek-ai/dsh-timeout": "0.1.1-rc.2"
71
+ "@deepseek-ai/dsh-agent": "0.1.2-rc.1",
72
+ "@deepseek-ai/dsh-invariants": "0.1.2-rc.1",
73
+ "@deepseek-ai/dsh-llm": "0.1.2-rc.1",
74
+ "@deepseek-ai/dsh-scope": "0.1.2-rc.1",
75
+ "@deepseek-ai/dsh-session": "0.1.2-rc.1",
76
+ "@deepseek-ai/dsh-session-persistence": "0.1.2-rc.1",
77
+ "@deepseek-ai/dsh-settings": "0.1.2-rc.1",
78
+ "@deepseek-ai/dsh-subprocess": "0.1.2-rc.1",
79
+ "@deepseek-ai/dsh-timeout": "0.1.2-rc.1"
81
80
  },
82
81
  "devDependencies": {
83
- "@deepseek-ai/dsh-attachment": "0.1.1-rc.2",
84
- "@deepseek-ai/dsh-client-locale": "0.1.1-rc.2",
85
- "@deepseek-ai/dsh-client-runtime": "0.1.1-rc.2",
86
- "@deepseek-ai/dsh-client-ui-conversation": "0.1.1-rc.2",
87
- "@deepseek-ai/dsh-client-ui-primitives": "0.1.1-rc.2",
88
- "@deepseek-ai/dsh-client-ui-settings": "0.1.1-rc.2",
89
- "@deepseek-ai/dsh-client-ui-slots": "0.1.1-rc.2",
90
- "@deepseek-ai/dsh-home-paths": "0.1.1-rc.2",
91
- "@deepseek-ai/dsh-session-persistence-jsonl": "0.1.1-rc.2",
92
- "@deepseek-ai/dsh-subprocess-local": "0.1.1-rc.2",
93
- "@deepseek-ai/dsh-system-prompt": "0.1.1-rc.2",
82
+ "@deepseek-ai/dsh-attachment": "0.1.2-rc.1",
83
+ "@deepseek-ai/dsh-client-locale": "0.1.2-rc.1",
84
+ "@deepseek-ai/dsh-client-store": "0.1.2-rc.1",
85
+ "@deepseek-ai/dsh-client-ui-renderer": "0.1.2-rc.1",
86
+ "@deepseek-ai/dsh-client-ui-conversation": "0.1.2-rc.1",
87
+ "@deepseek-ai/dsh-client-ui-primitives": "0.1.2-rc.1",
88
+ "@deepseek-ai/dsh-client-ui-settings": "0.1.2-rc.1",
89
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.2-rc.1",
90
+ "@deepseek-ai/dsh-home-paths": "0.1.2-rc.1",
91
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.1.2-rc.1",
92
+ "@deepseek-ai/dsh-subprocess-local": "0.1.2-rc.1",
93
+ "@deepseek-ai/dsh-system-prompt": "0.1.2-rc.1",
94
94
  "@types/node": "^22.20.0",
95
95
  "@types/react": "^19.0.0",
96
96
  "@vitest/coverage-v8": "^4.1.8",