@eddyskywalker/dsh-chatgpt-subscription 0.72.0 → 0.74.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.
Files changed (80) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/lib/client.js +47 -12
  3. package/lib/client.js.map +1 -1
  4. package/lib/codemode.js +125 -60
  5. package/lib/{entry-plan-mode-5DBZA4Il.js → entry-plan-mode-EShP3ndV.js} +34 -8
  6. package/lib/index.js +1035 -535
  7. package/lib/{llm-compat-u9mor0uu.js → llm-compat--WsaC9K6.js} +25 -1
  8. package/lib/plan-mode.js +2 -2
  9. package/lib/types/client/antigravity-acp/AntigravityAcpSection.d.ts.map +1 -1
  10. package/lib/types/client/antigravity-acp/locales.d.ts +42 -18
  11. package/lib/types/client/antigravity-acp/locales.d.ts.map +1 -1
  12. package/lib/types/client/locales-ru/antigravity-acp.d.ts.map +1 -1
  13. package/lib/types/compat.d.ts +1 -1
  14. package/lib/types/entry-codemode.d.ts.map +1 -1
  15. package/lib/types/entry-plan-mode.d.ts +14 -0
  16. package/lib/types/entry-plan-mode.d.ts.map +1 -1
  17. package/lib/types/host/antigravity-acp/adapter.d.ts +31 -0
  18. package/lib/types/host/antigravity-acp/adapter.d.ts.map +1 -1
  19. package/lib/types/host/antigravity-acp/catalog.d.ts.map +1 -1
  20. package/lib/types/host/antigravity-acp/errors.d.ts +1 -1
  21. package/lib/types/host/antigravity-acp/errors.d.ts.map +1 -1
  22. package/lib/types/host/antigravity-acp/mcp-bridge.d.ts +16 -0
  23. package/lib/types/host/antigravity-acp/mcp-bridge.d.ts.map +1 -1
  24. package/lib/types/host/antigravity-acp/routes.d.ts.map +1 -1
  25. package/lib/types/host/antigravity-acp/settings.d.ts +13 -2
  26. package/lib/types/host/antigravity-acp/settings.d.ts.map +1 -1
  27. package/lib/types/host/antigravity-acp/types.d.ts +12 -7
  28. package/lib/types/host/antigravity-acp/types.d.ts.map +1 -1
  29. package/lib/types/host/cache-warmup/contracts.d.ts +19 -3
  30. package/lib/types/host/cache-warmup/contracts.d.ts.map +1 -1
  31. package/lib/types/host/cache-warmup/install.d.ts.map +1 -1
  32. package/lib/types/host/cache-warmup/projection.d.ts.map +1 -1
  33. package/lib/types/host/cache-warmup/result-tool.d.ts +4 -0
  34. package/lib/types/host/cache-warmup/result-tool.d.ts.map +1 -1
  35. package/lib/types/host/cache-warmup/store.d.ts.map +1 -1
  36. package/lib/types/host/claude/adapter.d.ts +2 -1
  37. package/lib/types/host/claude/adapter.d.ts.map +1 -1
  38. package/lib/types/host/cline-pass/adapter.d.ts.map +1 -1
  39. package/lib/types/host/cline-pass/mapper.d.ts +1 -1
  40. package/lib/types/host/cline-pass/mapper.d.ts.map +1 -1
  41. package/lib/types/host/codemode/rules.d.ts.map +1 -1
  42. package/lib/types/host/codemode/transport.d.ts +23 -1
  43. package/lib/types/host/codemode/transport.d.ts.map +1 -1
  44. package/lib/types/host/command-code/adapter.d.ts.map +1 -1
  45. package/lib/types/host/common/i18n/en.d.ts.map +1 -1
  46. package/lib/types/host/common/i18n/ru.d.ts.map +1 -1
  47. package/lib/types/host/common/i18n/zh.d.ts +1 -0
  48. package/lib/types/host/common/i18n/zh.d.ts.map +1 -1
  49. package/lib/types/host/common/llm-compat.d.ts +15 -2
  50. package/lib/types/host/common/llm-compat.d.ts.map +1 -1
  51. package/lib/types/host/common/stream-error.d.ts +1 -1
  52. package/lib/types/host/common/stream-error.d.ts.map +1 -1
  53. package/lib/types/host/common/tool-runaway.d.ts +91 -3
  54. package/lib/types/host/common/tool-runaway.d.ts.map +1 -1
  55. package/lib/types/host/compaction-policy-guard.d.ts.map +1 -1
  56. package/lib/types/host/glm-coding-plan/adapter.d.ts.map +1 -1
  57. package/lib/types/host/kimi-code/adapter.d.ts.map +1 -1
  58. package/lib/types/host/kimi-code/repeat-breaker.d.ts +3 -1
  59. package/lib/types/host/kimi-code/repeat-breaker.d.ts.map +1 -1
  60. package/lib/types/host/minimax-code/adapter.d.ts.map +1 -1
  61. package/lib/types/host/minimax-code/runtime-enhancements.d.ts +10 -97
  62. package/lib/types/host/minimax-code/runtime-enhancements.d.ts.map +1 -1
  63. package/lib/types/host/ollama/adapter.d.ts.map +1 -1
  64. package/lib/types/host/opendesign/adapter.d.ts.map +1 -1
  65. package/lib/types/host/opendesign/mapper.d.ts +1 -1
  66. package/lib/types/host/opendesign/mapper.d.ts.map +1 -1
  67. package/lib/types/host/qoder/adapter.d.ts.map +1 -1
  68. package/lib/types/host/responses-client.d.ts.map +1 -1
  69. package/lib/types/host/step-code/adapter.d.ts.map +1 -1
  70. package/lib/types/host/workbuddy/account-pool.d.ts +1 -1
  71. package/lib/types/host/workbuddy/account-pool.d.ts.map +1 -1
  72. package/lib/types/host/workbuddy/adapter.d.ts +2 -1
  73. package/lib/types/host/workbuddy/adapter.d.ts.map +1 -1
  74. package/lib/types/index.d.ts +2 -2
  75. package/lib/types/index.d.ts.map +1 -1
  76. package/lib/types/shared/antigravity-acp-contracts.d.ts +12 -0
  77. package/lib/types/shared/antigravity-acp-contracts.d.ts.map +1 -1
  78. package/package.json +42 -42
  79. package/presets/dispatch/README.md +2 -2
  80. package/presets/dispatch/agent.cordis.yml +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eddyskywalker/dsh-chatgpt-subscription",
3
- "version": "0.72.0",
3
+ "version": "0.74.0",
4
4
  "description": "DSH provider plugin for Codex access through a ChatGPT subscription.",
5
5
  "icon": "./icon.svg",
6
6
  "author": {
@@ -88,53 +88,53 @@
88
88
  "peerDependencies": {
89
89
  "@deepseek-ai/cordis": "^4.0.2 || 4.0.5 || 4.0.6-alpha.2 || 4.1.0",
90
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 || ^0.2.2-rc.2",
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 || ^0.2.2-rc.2",
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 || ^0.2.2-rc.2",
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 || ^0.2.2-rc.2",
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 || ^0.2.2-rc.2",
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 || ^0.2.2-rc.2",
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 || ^0.2.2-rc.2",
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 || ^0.2.2-rc.2",
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 || ^0.2.2-rc.2",
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 || ^0.2.2-rc.2",
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 || ^0.2.2-rc.2",
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 || ^0.2.2-rc.2",
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 || ^0.2.2-rc.2",
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 || ^0.2.2-rc.2",
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 || ^0.2.2-rc.2",
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 || ^0.2.2-rc.2",
107
- "@deepseek-ai/dsh-tool-executor-native": "^0.2.2-alpha.3 || ^0.2.2-rc.1",
108
- "@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 || ^0.2.2-rc.2",
109
- "@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 || ^0.2.2-rc.2",
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 || ^0.2.2-rc.2 || ^0.2.2-rc.3",
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 || ^0.2.2-rc.2 || ^0.2.2-rc.3",
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 || ^0.2.2-rc.2 || ^0.2.2-rc.3",
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 || ^0.2.2-rc.2 || ^0.2.2-rc.3",
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 || ^0.2.2-rc.2 || ^0.2.2-rc.3",
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 || ^0.2.2-rc.2 || ^0.2.2-rc.3",
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 || ^0.2.2-rc.2 || ^0.2.2-rc.3",
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 || ^0.2.2-rc.2 || ^0.2.2-rc.3",
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 || ^0.2.2-rc.2 || ^0.2.2-rc.3",
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 || ^0.2.2-rc.2 || ^0.2.2-rc.3",
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 || ^0.2.2-rc.2 || ^0.2.2-rc.3",
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 || ^0.2.2-rc.2 || ^0.2.2-rc.3",
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 || ^0.2.2-rc.2 || ^0.2.2-rc.3",
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 || ^0.2.2-rc.2 || ^0.2.2-rc.3",
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 || ^0.2.2-rc.2 || ^0.2.2-rc.3",
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 || ^0.2.2-rc.2 || ^0.2.2-rc.3",
107
+ "@deepseek-ai/dsh-tool-executor-native": "^0.2.2-alpha.3 || ^0.2.2-rc.1 || ^0.2.2-rc.2 || ^0.2.2-rc.3",
108
+ "@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 || ^0.2.2-rc.2 || ^0.2.2-rc.3",
109
+ "@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 || ^0.2.2-rc.2 || ^0.2.2-rc.3",
110
110
  "@deepseek-ai/schemastery": "^3.18.2 || 3.18.5 || 3.18.6-alpha.2 || 3.19.0",
111
111
  "react": "^18.2.0"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@deepseek-ai/cordis": "4.1.0",
115
115
  "@deepseek-ai/cordis-plugin-loader": "1.1.0",
116
- "@deepseek-ai/dsh-attachment": "^0.2.2-rc.1",
117
- "@deepseek-ai/dsh-client-connection": "^0.2.2-rc.1",
118
- "@deepseek-ai/dsh-client-locale": "^0.2.2-rc.1",
119
- "@deepseek-ai/dsh-client-ui-commands": "^0.2.2-rc.1",
120
- "@deepseek-ai/dsh-client-ui-conversation": "^0.2.2-rc.1",
121
- "@deepseek-ai/dsh-client-ui-model-selection": "^0.2.2-rc.1",
122
- "@deepseek-ai/dsh-client-ui-renderer": "^0.2.2-rc.1",
123
- "@deepseek-ai/dsh-client-ui-settings": "^0.2.2-rc.1",
124
- "@deepseek-ai/dsh-client-ui-sidebar-documentpreview": "^0.2.2-rc.1",
125
- "@deepseek-ai/dsh-client-ui-sidebar-right": "^0.2.2-rc.1",
126
- "@deepseek-ai/dsh-client-ui-slots": "^0.2.2-rc.1",
127
- "@deepseek-ai/dsh-client-ui-tool": "^0.2.2-rc.1",
128
- "@deepseek-ai/dsh-compaction-basic": "^0.2.2-rc.1",
129
- "@deepseek-ai/dsh-host-webserver": "^0.2.2-rc.1",
130
- "@deepseek-ai/dsh-llm": "^0.2.2-rc.1",
131
- "@deepseek-ai/dsh-ptc-runtime": "^0.2.2-rc.1",
132
- "@deepseek-ai/dsh-settings": "^0.2.2-rc.1",
133
- "@deepseek-ai/dsh-timeout": "^0.2.2-rc.1",
134
- "@deepseek-ai/dsh-tool-executor-native": "^0.2.2-rc.1",
135
- "@deepseek-ai/dsh-tool-executor-ptc": "^0.2.2-rc.1",
136
- "@deepseek-ai/dsh-tools": "^0.2.2-rc.1",
137
- "@deepseek-ai/dsh-web": "^0.2.2-rc.1",
116
+ "@deepseek-ai/dsh-attachment": "^0.2.2-rc.3",
117
+ "@deepseek-ai/dsh-client-connection": "^0.2.2-rc.3",
118
+ "@deepseek-ai/dsh-client-locale": "^0.2.2-rc.3",
119
+ "@deepseek-ai/dsh-client-ui-commands": "^0.2.2-rc.3",
120
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.2.2-rc.3",
121
+ "@deepseek-ai/dsh-client-ui-model-selection": "^0.2.2-rc.3",
122
+ "@deepseek-ai/dsh-client-ui-renderer": "^0.2.2-rc.3",
123
+ "@deepseek-ai/dsh-client-ui-settings": "^0.2.2-rc.3",
124
+ "@deepseek-ai/dsh-client-ui-sidebar-documentpreview": "^0.2.2-rc.3",
125
+ "@deepseek-ai/dsh-client-ui-sidebar-right": "^0.2.2-rc.3",
126
+ "@deepseek-ai/dsh-client-ui-slots": "^0.2.2-rc.3",
127
+ "@deepseek-ai/dsh-client-ui-tool": "^0.2.2-rc.3",
128
+ "@deepseek-ai/dsh-compaction-basic": "^0.2.2-rc.3",
129
+ "@deepseek-ai/dsh-host-webserver": "^0.2.2-rc.3",
130
+ "@deepseek-ai/dsh-llm": "^0.2.2-rc.3",
131
+ "@deepseek-ai/dsh-ptc-runtime": "^0.2.2-rc.3",
132
+ "@deepseek-ai/dsh-settings": "^0.2.2-rc.3",
133
+ "@deepseek-ai/dsh-timeout": "^0.2.2-rc.3",
134
+ "@deepseek-ai/dsh-tool-executor-native": "^0.2.2-rc.3",
135
+ "@deepseek-ai/dsh-tool-executor-ptc": "^0.2.2-rc.3",
136
+ "@deepseek-ai/dsh-tools": "^0.2.2-rc.3",
137
+ "@deepseek-ai/dsh-web": "^0.2.2-rc.3",
138
138
  "@deepseek-ai/schemastery": "3.19.0",
139
139
  "@types/node": "^22.20.0",
140
140
  "@types/react": "~18.3.1",
@@ -31,7 +31,7 @@
31
31
 
32
32
  | 编号 | 内容 |
33
33
  |---|---|
34
- | R0 | 按复杂度和决策状态分诊(L1/L2 简述分诊理由,L0 免贴标签直接执行);L0/L1/L2-Clear 不开 Plan Mode。执行阶段采用一次廉价探测、最小完整修改、批量读取、增量编辑;连续最多 2 个无进展模型步骤后换路或上报 |
34
+ | R0 | 按复杂度和决策状态分诊(L1/L2 简述分诊理由,L0 免贴标签直接执行);L0/L1/L2-Clear 不开 Plan Mode。执行阶段采用一次廉价探测、最小完整修改、已知路径且互不依赖的文件同批读取、增量编辑;无任何代码或配置变更时,不重复运行已通过的同一等价检查(仍须完成尚未执行的 typecheck/构建等异构验证);连续最多 2 个无进展模型步骤后换路或上报 |
35
35
  | ~~R0.5~~ | **已移除**:harness 0.2.1-rc.2 起旧代 team 运行时整体消失,调度模式不再按代检测,persona 里没有这条探测;与代次无关的任务板记账规则改由 `[Agent Teams Board]` 段承载,编排能力以 harness ≥ 0.2.1-rc.2 为下限 |
36
36
  | R-G | 仅 L2-Governed 在 R9 前做澄清访谈:设计树 / 前沿 / 轮次,直接使用工具 schema 字段(推荐答案标在首项,不在问题正文里重复拼接标题与选项),事实与先例自己查(本地仓库、`AGENTS.md` 以及联网检索 GitHub 文档/仓库、官方文档、研究论文/技术规范等外部先例,避免闭门造车与重复造轮子)、决策交用户;前沿清空(开放决策全部答完)即收敛进入 R9,无需在提交计划前再多问一轮“确认共识” |
37
37
  | R1 | 执行拓扑按「耦合度 × 并行收益」三选一:`Lead-Core`(紧耦合跨模块由主代理连续直执)、`Hybrid`(主代理先冻结公共契约再并行外包下游)、`Fan-out`(3+ 正交子任务并行编排);L2-Governed 先完成 R-G/R9,L2-Clear 用简短计划直接进入;单次生图、改提示词和重试由当前代理直接调用工具,只有独立多方案或复杂创意任务才委派 |
@@ -39,7 +39,7 @@
39
39
  | R3 | 子代理对自己的模块拥有规划、执行和收集验证证据的自治权;报告只给最小充分证据,不叙述过程或粘贴整文件 |
40
40
  | R4 | 子代理使用 DSH 默认子代理角色;选模型的权力只在主代理 |
41
41
  | R5 | 任务书含目标/边界/约束/验收标准/证据;独立任务并行派发 |
42
- | R6 | Lead 统一单层验收:读最终 diff、逐项核对并做风险相关验证,不机械重复子 Agent 的等价检查;每个 brief 含首次最多 3 次运行。UI Before/After 与缺陷复验仍然强制 |
42
+ | R6 | Lead 统一单层验收:读最终 diff、逐项核对并做风险相关验证,无代码/配置变更时不重复运行子 Agent 或自身已通过的同一等价检查;每个 brief 含首次最多 3 次运行。UI Before/After 与缺陷复验仍然强制 |
43
43
  | R7 | 多步工作(L1/L2;L0 免除)由主代理维护任务清单、决策记录与访谈结论,仅委派任务项记运行次数;对用户回复不罗列每回合待办账龄 |
44
44
  | R8 | 兜底需说明原因;**任务级、非会话级**——只覆盖触发它的那一个任务,下一个任务按 R0 重新分诊并恢复派发 |
45
45
  | R-W | 回合边界纪律:等待靠完成通知而非 sleep/轮询;不主动建目标(清单走 `todo_write`);需要拍板一律用提问工具 |
@@ -72,7 +72,7 @@
72
72
  - L1 Moderate: unambiguous module-local or mechanical multi-file work; edits at most 5 files (5 is a cap, not a range and not a target), no external contract break or unsettled product/UI decision, at most 2 open points. -> Ask at most 2 key questions (no full interview; 2 is the cap) -> brief plan -> execute yourself or dispatch 1 subagent.
73
73
  - L2 Complex / Multi-step: cross-module/contract changes, multi-part work, unsettled decisions, or major irreversible risk. -> L2-Clear (settled, reversible): brief decision-complete plan -> R1 -> R6, without full interview/Plan Mode. L2-Governed (unsettled product/UI/external contract or major irreversible risk): R-G Interview -> R9 Plan & Approval -> R1 -> R6.
74
74
  - [Stop by Impact, Not by Effort] Within Boundary, a subagent fixes all affected call sites, types, and tests, but pauses with status: hand_back immediately if a change would break an external contract, alter cross-module responsibilities, or require an unsettled product/UI decision—even for a single line.
75
- - [Execution Economy] Use one cheap probe, the smallest complete change, batched independent reads/searches, and incremental edits. Stop after at most 2 consecutive model steps without progress to change approach or escalate; re-triage if complexity grows mid-task.
75
+ - [Execution Economy] Use one cheap probe, the smallest complete change, batched reads of known, independent paths (probe before reading unknown paths), and incremental edits; with no code/config change since a check passed, do not re-run that same equivalent check (still run distinct unexecuted checks such as typecheck/build). Stop after at most 2 consecutive model steps without progress to change approach or escalate; re-triage if complexity grows mid-task.
76
76
 
77
77
  ## R-G · Clarification Interview (L2-Governed Only, Before R9)
78
78
  - G1 Design Tree & G2 Frontier: Model requirements as a decision dependency tree; ask the entire current frontier (decisions whose prerequisites are settled) in one round, wait for answers, and recompute. Never ask one question per round or dependent questions together.
@@ -103,7 +103,7 @@
103
103
  - [Limits] Each override states **what it bounds, in what unit, the cap, and whether it accumulates**. Use explicit caps ("at most 3 runs", "edits at most 5 files"), never ranges ("2–5 files"); silence is read as a limit of zero, and a quota that resets per cycle is lost, not banked. Do not ask the child to restate your rules back as a correctness check. Dispatch independent tasks concurrently through code_run Promise.all once decisions are settled.
104
104
 
105
105
  ## R6 · Lead Acceptance
106
- One acceptance layer owned by Lead: subagents supply implementation/evidence; Lead reads the final diff, checks every criterion, and runs risk-relevant verification. The completion notification is a post-hoc signal: a child stopped, not that the work passed.
106
+ One acceptance layer owned by Lead: subagents supply implementation/evidence; Lead reads the final diff, checks every criterion, and runs risk-relevant verification without re-running an already-passed equivalent check when no code/config changed. The completion notification is a post-hoc signal: a child stopped, not that the work passed.
107
107
  - Re-dispatch budget per brief: 1 first attempt + at most 2 re-dispatches = at most 3 runs total. Count runs, not failures; the number belongs in the task list item for that brief (R7). Only after the third run ends without acceptance, transition to R8 Fallback.
108
108
  - [Non-Penalized hand_back] Clean status: hand_back with a valid hand_back_reason and no out-of-boundary mutation does not increment a failure count or trigger R8 by itself (each run still counts toward the 3-run cap). Re-scope or answer via send_message({ agent }) on the existing child to preserve its warm prefix cache.
109
109
  - [Noticed but not handled] Every defect found in review: the defect goes back out on a re-dispatch with evidence or goes to the user via R-W (or fix and re-verify on Lead-Core/Hybrid core). Writing it into the delivery summary and shipping anyway is not an available outcome.