@eddyskywalker/dsh-chatgpt-subscription 0.82.3 → 0.84.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 (1747) hide show
  1. package/README.md +65 -227
  2. package/lib/aws-quick-mcp.js +1 -1
  3. package/lib/client.js +444 -456
  4. package/lib/client.js.map +1 -1
  5. package/lib/codemode.js +310 -45
  6. package/lib/index.js +3747 -4910
  7. package/lib/plan-mode-Rrk8NKuk.js +1760 -0
  8. package/lib/plan-mode-pipeline-DvVmLaxR.js +433 -0
  9. package/lib/plan-mode-pipeline.js +1 -1
  10. package/lib/plan-mode.js +2 -2
  11. package/lib/preset-sync-B9yKbQPc.js +726 -0
  12. package/lib/progress-updates-CSBYky9J.js +1121 -0
  13. package/lib/progress-updates.js +1 -1
  14. package/lib/tool-result-pruner-CIZ8RtkC.js +1112 -0
  15. package/lib/tool-result-pruner.js +1 -1
  16. package/lib/types/client/common/AccountPoolSection.d.ts +9 -0
  17. package/lib/types/client/common/AccountPoolSection.d.ts.map +1 -1
  18. package/lib/types/client/common/ComposerQuotaBadge.d.ts +1 -1
  19. package/lib/types/client/common/ComposerQuotaBadge.d.ts.map +1 -1
  20. package/lib/types/client/common/use-store.d.ts +1 -1
  21. package/lib/types/client/common/use-store.d.ts.map +1 -1
  22. package/lib/types/client/features/CompactionRouteCard.d.ts +43 -0
  23. package/lib/types/client/features/CompactionRouteCard.d.ts.map +1 -0
  24. package/lib/types/client/features/codemode/CodeRunToolView.d.ts +68 -0
  25. package/lib/types/client/features/codemode/CodeRunToolView.d.ts.map +1 -0
  26. package/lib/types/client/features/codemode/highlight.d.ts.map +1 -0
  27. package/lib/types/client/features/codemode/styles.d.ts.map +1 -0
  28. package/lib/types/client/features/codemode/tool-name.d.ts.map +1 -0
  29. package/lib/types/client/features/compact-after-turn/CompactAfterTurnToggle.d.ts +24 -0
  30. package/lib/types/client/features/compact-after-turn/CompactAfterTurnToggle.d.ts.map +1 -0
  31. package/lib/types/client/features/compact-after-turn/locales.d.ts.map +1 -0
  32. package/lib/types/client/features/compact-after-turn/styles.d.ts.map +1 -0
  33. package/lib/types/client/features/dispatch-ledger/MandateToolView.d.ts.map +1 -0
  34. package/lib/types/client/features/dispatch-ledger/locales.d.ts.map +1 -0
  35. package/lib/types/client/features/dispatch-ledger/styles.d.ts.map +1 -0
  36. package/lib/types/client/features/mermaid/renderer.d.ts.map +1 -0
  37. package/lib/types/client/features/mermaid/sanitize.d.ts.map +1 -0
  38. package/lib/types/client/features/mermaid/styles.d.ts.map +1 -0
  39. package/lib/types/client/features/progress-updates/contracts.d.ts.map +1 -0
  40. package/lib/types/client/features/progress-updates/guide-artwork.d.ts.map +1 -0
  41. package/lib/types/client/features/progress-updates/host-source.d.ts +118 -0
  42. package/lib/types/client/features/progress-updates/host-source.d.ts.map +1 -0
  43. package/lib/types/client/features/progress-updates/index.d.ts +61 -0
  44. package/lib/types/client/features/progress-updates/index.d.ts.map +1 -0
  45. package/lib/types/client/features/progress-updates/locales.d.ts.map +1 -0
  46. package/lib/types/client/features/progress-updates/markdown-lite.d.ts +65 -0
  47. package/lib/types/client/features/progress-updates/markdown-lite.d.ts.map +1 -0
  48. package/lib/types/client/features/progress-updates/progress-row.d.ts.map +1 -0
  49. package/lib/types/client/features/progress-updates/settings-binding.d.ts.map +1 -0
  50. package/lib/types/client/features/progress-updates/settings-section.d.ts.map +1 -0
  51. package/lib/types/client/features/progress-updates/styles.d.ts.map +1 -0
  52. package/lib/types/client/features/progress-updates/tool-name.d.ts.map +1 -0
  53. package/lib/types/client/features/progress-updates/updates-panel.d.ts.map +1 -0
  54. package/lib/types/client/features/subagent/SubagentCard.d.ts.map +1 -0
  55. package/lib/types/client/features/subagent/index.d.ts.map +1 -0
  56. package/lib/types/client/features/subagent/locales.d.ts +184 -0
  57. package/lib/types/client/features/subagent/locales.d.ts.map +1 -0
  58. package/lib/types/client/features/subagent/styles.d.ts.map +1 -0
  59. package/lib/types/client/features/subagent/subagent-card-controller.d.ts +352 -0
  60. package/lib/types/client/features/subagent/subagent-card-controller.d.ts.map +1 -0
  61. package/lib/types/client/hub/HubOverview.d.ts +1 -1
  62. package/lib/types/client/hub/HubOverview.d.ts.map +1 -1
  63. package/lib/types/client/hub/ProviderHubSection.d.ts +16 -0
  64. package/lib/types/client/hub/ProviderHubSection.d.ts.map +1 -0
  65. package/lib/types/client/hub/UpdateCheck.d.ts +1 -1
  66. package/lib/types/client/hub/UpdateCheck.d.ts.map +1 -1
  67. package/lib/types/client/index.d.ts +21 -21
  68. package/lib/types/client/index.d.ts.map +1 -1
  69. package/lib/types/client/locales-ru/antigravity-acp.d.ts +1 -1
  70. package/lib/types/client/locales-ru/antigravity-acp.d.ts.map +1 -1
  71. package/lib/types/client/locales-ru/aws-quick.d.ts +1 -1
  72. package/lib/types/client/locales-ru/aws-quick.d.ts.map +1 -1
  73. package/lib/types/client/locales-ru/claude-api.d.ts +1 -1
  74. package/lib/types/client/locales-ru/claude-api.d.ts.map +1 -1
  75. package/lib/types/client/locales-ru/claude.d.ts +1 -1
  76. package/lib/types/client/locales-ru/claude.d.ts.map +1 -1
  77. package/lib/types/client/locales-ru/cline-pass.d.ts +1 -1
  78. package/lib/types/client/locales-ru/cline-pass.d.ts.map +1 -1
  79. package/lib/types/client/locales-ru/command-code.d.ts +1 -1
  80. package/lib/types/client/locales-ru/command-code.d.ts.map +1 -1
  81. package/lib/types/client/locales-ru/compact-after-turn.d.ts +1 -1
  82. package/lib/types/client/locales-ru/compact-after-turn.d.ts.map +1 -1
  83. package/lib/types/client/locales-ru/dispatch-ledger.d.ts +1 -1
  84. package/lib/types/client/locales-ru/dispatch-ledger.d.ts.map +1 -1
  85. package/lib/types/client/locales-ru/glm-coding-plan.d.ts +1 -1
  86. package/lib/types/client/locales-ru/glm-coding-plan.d.ts.map +1 -1
  87. package/lib/types/client/locales-ru/hub.d.ts +1 -1
  88. package/lib/types/client/locales-ru/hub.d.ts.map +1 -1
  89. package/lib/types/client/locales-ru/kimi-code.d.ts +1 -1
  90. package/lib/types/client/locales-ru/kimi-code.d.ts.map +1 -1
  91. package/lib/types/client/locales-ru/minimax-code.d.ts +1 -1
  92. package/lib/types/client/locales-ru/minimax-code.d.ts.map +1 -1
  93. package/lib/types/client/locales-ru/ollama.d.ts +1 -1
  94. package/lib/types/client/locales-ru/ollama.d.ts.map +1 -1
  95. package/lib/types/client/locales-ru/opendesign.d.ts +1 -1
  96. package/lib/types/client/locales-ru/opendesign.d.ts.map +1 -1
  97. package/lib/types/client/locales-ru/progress-updates.d.ts +1 -1
  98. package/lib/types/client/locales-ru/progress-updates.d.ts.map +1 -1
  99. package/lib/types/client/locales-ru/qianwen-token-plan.d.ts +1 -1
  100. package/lib/types/client/locales-ru/qianwen-token-plan.d.ts.map +1 -1
  101. package/lib/types/client/locales-ru/qoder.d.ts +1 -1
  102. package/lib/types/client/locales-ru/qoder.d.ts.map +1 -1
  103. package/lib/types/client/locales-ru/relayone.d.ts +1 -1
  104. package/lib/types/client/locales-ru/relayone.d.ts.map +1 -1
  105. package/lib/types/client/locales-ru/step-code.d.ts +1 -1
  106. package/lib/types/client/locales-ru/step-code.d.ts.map +1 -1
  107. package/lib/types/client/providers/antigravity-acp/AntigravityAcpComposerBadge.d.ts +35 -0
  108. package/lib/types/client/providers/antigravity-acp/AntigravityAcpComposerBadge.d.ts.map +1 -0
  109. package/lib/types/client/providers/antigravity-acp/AntigravityAcpSection.d.ts.map +1 -0
  110. package/lib/types/client/providers/antigravity-acp/api.d.ts +36 -0
  111. package/lib/types/client/providers/antigravity-acp/api.d.ts.map +1 -0
  112. package/lib/types/client/providers/antigravity-acp/locales.d.ts +557 -0
  113. package/lib/types/client/providers/antigravity-acp/locales.d.ts.map +1 -0
  114. package/lib/types/client/providers/antigravity-acp/route.d.ts.map +1 -0
  115. package/lib/types/client/providers/antigravity-acp/styles.d.ts.map +1 -0
  116. package/lib/types/client/providers/aws-quick/AwsQuickSection.d.ts.map +1 -0
  117. package/lib/types/client/providers/aws-quick/api.d.ts +11 -0
  118. package/lib/types/client/providers/aws-quick/api.d.ts.map +1 -0
  119. package/lib/types/client/providers/aws-quick/locales.d.ts +117 -0
  120. package/lib/types/client/providers/aws-quick/locales.d.ts.map +1 -0
  121. package/lib/types/client/providers/aws-quick/styles.d.ts.map +1 -0
  122. package/lib/types/client/providers/claude/ClaudeComposerQuota.d.ts +29 -0
  123. package/lib/types/client/providers/claude/ClaudeComposerQuota.d.ts.map +1 -0
  124. package/lib/types/client/providers/claude/ClaudeSection.d.ts.map +1 -0
  125. package/lib/types/client/providers/claude/locales.d.ts +468 -0
  126. package/lib/types/client/providers/claude/locales.d.ts.map +1 -0
  127. package/lib/types/client/providers/claude/styles.d.ts.map +1 -0
  128. package/lib/types/client/providers/claude/useClaudeSection.d.ts +95 -0
  129. package/lib/types/client/providers/claude/useClaudeSection.d.ts.map +1 -0
  130. package/lib/types/client/providers/claude-api/ClaudeApiSection.d.ts.map +1 -0
  131. package/lib/types/client/providers/claude-api/api.d.ts.map +1 -0
  132. package/lib/types/client/providers/claude-api/locales.d.ts +161 -0
  133. package/lib/types/client/providers/claude-api/locales.d.ts.map +1 -0
  134. package/lib/types/client/providers/claude-api/styles.d.ts.map +1 -0
  135. package/lib/types/client/providers/claude-api/useClaudeApiSection.d.ts +37 -0
  136. package/lib/types/client/providers/claude-api/useClaudeApiSection.d.ts.map +1 -0
  137. package/lib/types/client/providers/cline-pass/ClinePassComposerQuota.d.ts +23 -0
  138. package/lib/types/client/providers/cline-pass/ClinePassComposerQuota.d.ts.map +1 -0
  139. package/lib/types/client/providers/cline-pass/ClinePassSection.d.ts.map +1 -0
  140. package/lib/types/client/providers/cline-pass/api.d.ts +85 -0
  141. package/lib/types/client/providers/cline-pass/api.d.ts.map +1 -0
  142. package/lib/types/client/providers/cline-pass/locales.d.ts.map +1 -0
  143. package/lib/types/client/providers/cline-pass/styles.d.ts.map +1 -0
  144. package/lib/types/client/providers/codex-chatgpt/CodexComposerQuota.d.ts.map +1 -0
  145. package/lib/types/client/providers/codex-chatgpt/CodexImageToolView.d.ts.map +1 -0
  146. package/lib/types/client/providers/codex-chatgpt/CodexSubscriptionSection.d.ts +42 -0
  147. package/lib/types/client/providers/codex-chatgpt/CodexSubscriptionSection.d.ts.map +1 -0
  148. package/lib/types/client/providers/codex-chatgpt/api.d.ts +60 -0
  149. package/lib/types/client/providers/codex-chatgpt/api.d.ts.map +1 -0
  150. package/lib/types/client/providers/codex-chatgpt/locales.d.ts +541 -0
  151. package/lib/types/client/providers/codex-chatgpt/locales.d.ts.map +1 -0
  152. package/lib/types/client/providers/codex-chatgpt/quota.d.ts +9 -0
  153. package/lib/types/client/providers/codex-chatgpt/quota.d.ts.map +1 -0
  154. package/lib/types/client/providers/codex-chatgpt/store.d.ts.map +1 -0
  155. package/lib/types/client/providers/codex-chatgpt/styles.d.ts.map +1 -0
  156. package/lib/types/client/providers/command-code/CommandCodeComposerQuota.d.ts +20 -0
  157. package/lib/types/client/providers/command-code/CommandCodeComposerQuota.d.ts.map +1 -0
  158. package/lib/types/client/providers/command-code/CommandCodeSection.d.ts.map +1 -0
  159. package/lib/types/client/providers/command-code/locales.d.ts +305 -0
  160. package/lib/types/client/providers/command-code/locales.d.ts.map +1 -0
  161. package/lib/types/client/providers/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts +27 -0
  162. package/lib/types/client/providers/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts.map +1 -0
  163. package/lib/types/client/providers/glm-coding-plan/GlmCodingPlanSection.d.ts.map +1 -0
  164. package/lib/types/client/providers/glm-coding-plan/api.d.ts.map +1 -0
  165. package/lib/types/client/providers/glm-coding-plan/locales.d.ts +409 -0
  166. package/lib/types/client/providers/glm-coding-plan/locales.d.ts.map +1 -0
  167. package/lib/types/client/providers/glm-coding-plan/styles.d.ts.map +1 -0
  168. package/lib/types/client/providers/glm-coding-plan/useGlmCodingPlanSection.d.ts +65 -0
  169. package/lib/types/client/providers/glm-coding-plan/useGlmCodingPlanSection.d.ts.map +1 -0
  170. package/lib/types/client/providers/kimi-code/KimiCodeComposerQuota.d.ts +21 -0
  171. package/lib/types/client/providers/kimi-code/KimiCodeComposerQuota.d.ts.map +1 -0
  172. package/lib/types/client/providers/kimi-code/KimiCodeSection.d.ts.map +1 -0
  173. package/lib/types/client/providers/kimi-code/KimiModelCapabilities.d.ts +16 -0
  174. package/lib/types/client/providers/kimi-code/KimiModelCapabilities.d.ts.map +1 -0
  175. package/lib/types/client/providers/kimi-code/KimiQuotaCard.d.ts +31 -0
  176. package/lib/types/client/providers/kimi-code/KimiQuotaCard.d.ts.map +1 -0
  177. package/lib/types/client/providers/kimi-code/labels.d.ts +66 -0
  178. package/lib/types/client/providers/kimi-code/labels.d.ts.map +1 -0
  179. package/lib/types/client/providers/kimi-code/locales.d.ts +694 -0
  180. package/lib/types/client/providers/kimi-code/locales.d.ts.map +1 -0
  181. package/lib/types/client/providers/kimi-code/staff-art.d.ts.map +1 -0
  182. package/lib/types/client/providers/kimi-code/styles.d.ts.map +1 -0
  183. package/lib/types/client/providers/minimax-code/MinimaxCodeComposerQuota.d.ts +23 -0
  184. package/lib/types/client/providers/minimax-code/MinimaxCodeComposerQuota.d.ts.map +1 -0
  185. package/lib/types/client/providers/minimax-code/MinimaxCodeSection.d.ts.map +1 -0
  186. package/lib/types/client/providers/minimax-code/MinimaxVideoDocumentBody.d.ts +48 -0
  187. package/lib/types/client/providers/minimax-code/MinimaxVideoDocumentBody.d.ts.map +1 -0
  188. package/lib/types/client/providers/minimax-code/MinimaxVideoToolView.d.ts.map +1 -0
  189. package/lib/types/client/providers/minimax-code/VideoFormDialog.d.ts +49 -0
  190. package/lib/types/client/providers/minimax-code/VideoFormDialog.d.ts.map +1 -0
  191. package/lib/types/client/providers/minimax-code/VideoSettingsSections.d.ts.map +1 -0
  192. package/lib/types/client/providers/minimax-code/api.d.ts +35 -0
  193. package/lib/types/client/providers/minimax-code/api.d.ts.map +1 -0
  194. package/lib/types/client/providers/minimax-code/commands-contract.d.ts.map +1 -0
  195. package/lib/types/client/providers/minimax-code/document-preview.d.ts.map +1 -0
  196. package/lib/types/client/providers/minimax-code/locales.d.ts +686 -0
  197. package/lib/types/client/providers/minimax-code/locales.d.ts.map +1 -0
  198. package/lib/types/client/providers/minimax-code/styles.d.ts.map +1 -0
  199. package/lib/types/client/providers/minimax-code/useMinimaxCodeSection.d.ts +164 -0
  200. package/lib/types/client/providers/minimax-code/useMinimaxCodeSection.d.ts.map +1 -0
  201. package/lib/types/client/providers/minimax-code/video-command-host.d.ts +41 -0
  202. package/lib/types/client/providers/minimax-code/video-command-host.d.ts.map +1 -0
  203. package/lib/types/client/providers/minimax-code/video-command-icon.d.ts.map +1 -0
  204. package/lib/types/client/providers/minimax-code/video-command.d.ts +90 -0
  205. package/lib/types/client/providers/minimax-code/video-command.d.ts.map +1 -0
  206. package/lib/types/client/providers/minimax-code/video-contract.d.ts.map +1 -0
  207. package/lib/types/client/providers/minimax-code/video-defaults-store.d.ts.map +1 -0
  208. package/lib/types/client/providers/minimax-code/video-form-rules.d.ts +245 -0
  209. package/lib/types/client/providers/minimax-code/video-form-rules.d.ts.map +1 -0
  210. package/lib/types/client/providers/minimax-code/video-media-dropzone.d.ts.map +1 -0
  211. package/lib/types/client/providers/minimax-code/video-media-input.d.ts.map +1 -0
  212. package/lib/types/client/providers/minimax-code/video-media.d.ts.map +1 -0
  213. package/lib/types/client/providers/minimax-code/video-presets.d.ts.map +1 -0
  214. package/lib/types/client/providers/minimax-code/video-slots.d.ts.map +1 -0
  215. package/lib/types/client/providers/minimax-code/video-workspace.d.ts.map +1 -0
  216. package/lib/types/client/providers/ollama/OllamaSection.d.ts.map +1 -0
  217. package/lib/types/client/providers/ollama/api.d.ts +49 -0
  218. package/lib/types/client/providers/ollama/api.d.ts.map +1 -0
  219. package/lib/types/client/providers/ollama/locales.d.ts +479 -0
  220. package/lib/types/client/providers/ollama/locales.d.ts.map +1 -0
  221. package/lib/types/client/providers/opendesign/OpenDesignComposerQuota.d.ts +26 -0
  222. package/lib/types/client/providers/opendesign/OpenDesignComposerQuota.d.ts.map +1 -0
  223. package/lib/types/client/providers/opendesign/OpenDesignSection.d.ts.map +1 -0
  224. package/lib/types/client/providers/opendesign/api.d.ts +45 -0
  225. package/lib/types/client/providers/opendesign/api.d.ts.map +1 -0
  226. package/lib/types/client/providers/opendesign/locales.d.ts.map +1 -0
  227. package/lib/types/client/providers/opendesign/styles.d.ts.map +1 -0
  228. package/lib/types/client/providers/qianwen-token-plan/QianwenComposerQuota.d.ts +14 -0
  229. package/lib/types/client/providers/qianwen-token-plan/QianwenComposerQuota.d.ts.map +1 -0
  230. package/lib/types/client/providers/qianwen-token-plan/QianwenTokenPlanSection.d.ts.map +1 -0
  231. package/lib/types/client/providers/qianwen-token-plan/api.d.ts.map +1 -0
  232. package/lib/types/client/providers/qianwen-token-plan/locales.d.ts +158 -0
  233. package/lib/types/client/providers/qianwen-token-plan/locales.d.ts.map +1 -0
  234. package/lib/types/client/providers/qianwen-token-plan/styles.d.ts.map +1 -0
  235. package/lib/types/client/providers/qianwen-token-plan/useQianwenSection.d.ts +32 -0
  236. package/lib/types/client/providers/qianwen-token-plan/useQianwenSection.d.ts.map +1 -0
  237. package/lib/types/client/providers/qoder/QoderComposerQuota.d.ts +41 -0
  238. package/lib/types/client/providers/qoder/QoderComposerQuota.d.ts.map +1 -0
  239. package/lib/types/client/providers/qoder/QoderSection.d.ts +37 -0
  240. package/lib/types/client/providers/qoder/QoderSection.d.ts.map +1 -0
  241. package/lib/types/client/providers/qoder/api.d.ts.map +1 -0
  242. package/lib/types/client/providers/qoder/locales.d.ts +322 -0
  243. package/lib/types/client/providers/qoder/locales.d.ts.map +1 -0
  244. package/lib/types/client/providers/qoder/styles.d.ts.map +1 -0
  245. package/lib/types/client/providers/qoder/useQoderSection.d.ts +97 -0
  246. package/lib/types/client/providers/qoder/useQoderSection.d.ts.map +1 -0
  247. package/lib/types/client/providers/relayone/RelayOneComposerQuota.d.ts +14 -0
  248. package/lib/types/client/providers/relayone/RelayOneComposerQuota.d.ts.map +1 -0
  249. package/lib/types/client/providers/relayone/RelayOneSection.d.ts.map +1 -0
  250. package/lib/types/client/providers/relayone/api.d.ts.map +1 -0
  251. package/lib/types/client/providers/relayone/locales.d.ts +221 -0
  252. package/lib/types/client/providers/relayone/locales.d.ts.map +1 -0
  253. package/lib/types/client/providers/relayone/quota-format.d.ts +6 -0
  254. package/lib/types/client/providers/relayone/quota-format.d.ts.map +1 -0
  255. package/lib/types/client/providers/relayone/styles.d.ts.map +1 -0
  256. package/lib/types/client/providers/relayone/useRelayOneSection.d.ts +32 -0
  257. package/lib/types/client/providers/relayone/useRelayOneSection.d.ts.map +1 -0
  258. package/lib/types/client/providers/step-code/StepCodeComposerQuota.d.ts +50 -0
  259. package/lib/types/client/providers/step-code/StepCodeComposerQuota.d.ts.map +1 -0
  260. package/lib/types/client/providers/step-code/StepCodeSection.d.ts.map +1 -0
  261. package/lib/types/client/providers/step-code/api.d.ts.map +1 -0
  262. package/lib/types/client/providers/step-code/locales.d.ts +657 -0
  263. package/lib/types/client/providers/step-code/locales.d.ts.map +1 -0
  264. package/lib/types/client/providers/step-code/styles.d.ts.map +1 -0
  265. package/lib/types/client/providers/step-code/useStepCodeSection.d.ts +122 -0
  266. package/lib/types/client/providers/step-code/useStepCodeSection.d.ts.map +1 -0
  267. package/lib/types/client/providers/workbuddy/WorkBuddyComposerQuota.d.ts +34 -0
  268. package/lib/types/client/providers/workbuddy/WorkBuddyComposerQuota.d.ts.map +1 -0
  269. package/lib/types/client/providers/workbuddy/WorkBuddySection.d.ts +64 -0
  270. package/lib/types/client/providers/workbuddy/WorkBuddySection.d.ts.map +1 -0
  271. package/lib/types/client/providers/workbuddy/locales.d.ts +768 -0
  272. package/lib/types/client/providers/workbuddy/locales.d.ts.map +1 -0
  273. package/lib/types/client/providers/workbuddy/styles.d.ts.map +1 -0
  274. package/lib/types/client/providers/workbuddy/useWorkBuddySection.d.ts +149 -0
  275. package/lib/types/client/providers/workbuddy/useWorkBuddySection.d.ts.map +1 -0
  276. package/lib/types/compat.d.ts +1 -1
  277. package/lib/types/entries/aws-quick-mcp.d.ts +2 -0
  278. package/lib/types/entries/aws-quick-mcp.d.ts.map +1 -0
  279. package/lib/types/entries/codemode.d.ts +57 -0
  280. package/lib/types/entries/codemode.d.ts.map +1 -0
  281. package/lib/types/entries/plan-mode-pipeline.d.ts +159 -0
  282. package/lib/types/entries/plan-mode-pipeline.d.ts.map +1 -0
  283. package/lib/types/entries/plan-mode.d.ts +453 -0
  284. package/lib/types/entries/plan-mode.d.ts.map +1 -0
  285. package/lib/types/entries/progress-updates.d.ts +43 -0
  286. package/lib/types/entries/progress-updates.d.ts.map +1 -0
  287. package/lib/types/entries/tool-result-pruner.d.ts +260 -0
  288. package/lib/types/entries/tool-result-pruner.d.ts.map +1 -0
  289. package/lib/types/host/common/account-pool.d.ts +1 -1
  290. package/lib/types/host/common/account-pool.d.ts.map +1 -1
  291. package/lib/types/host/common/i18n/zh.d.ts +3 -3
  292. package/lib/types/host/common/llm-compat.d.ts +35 -2
  293. package/lib/types/host/common/llm-compat.d.ts.map +1 -1
  294. package/lib/types/host/common/pool-storage.d.ts +1 -1
  295. package/lib/types/host/common/pool-storage.d.ts.map +1 -1
  296. package/lib/types/host/common/prefix-stability.d.ts +1 -1
  297. package/lib/types/host/common/prefix-stability.d.ts.map +1 -1
  298. package/lib/types/host/common/request-images.d.ts +18 -30
  299. package/lib/types/host/common/request-images.d.ts.map +1 -1
  300. package/lib/types/host/common/tool-runaway.d.ts +20 -1
  301. package/lib/types/host/common/tool-runaway.d.ts.map +1 -1
  302. package/lib/types/host/infra/hub/compaction-prompt.d.ts +94 -0
  303. package/lib/types/host/infra/hub/compaction-prompt.d.ts.map +1 -0
  304. package/lib/types/host/infra/hub/hub-overview.d.ts +31 -0
  305. package/lib/types/host/infra/hub/hub-overview.d.ts.map +1 -0
  306. package/lib/types/host/infra/hub/update-check.d.ts +118 -0
  307. package/lib/types/host/infra/hub/update-check.d.ts.map +1 -0
  308. package/lib/types/host/infra/network/fetch-address-policy.d.ts.map +1 -0
  309. package/lib/types/host/infra/network/fetch-configuration.d.ts +6 -0
  310. package/lib/types/host/infra/network/fetch-configuration.d.ts.map +1 -0
  311. package/lib/types/host/infra/network/proxy-manager.d.ts +246 -0
  312. package/lib/types/host/infra/network/proxy-manager.d.ts.map +1 -0
  313. package/lib/types/host/infra/network/relay-probe.d.ts.map +1 -0
  314. package/lib/types/host/infra/network/search-provider-switcher.d.ts +45 -0
  315. package/lib/types/host/infra/network/search-provider-switcher.d.ts.map +1 -0
  316. package/lib/types/host/infra/network/web-provider-reconciler.d.ts.map +1 -0
  317. package/lib/types/host/infra/network/wire-auth.d.ts +63 -0
  318. package/lib/types/host/infra/network/wire-auth.d.ts.map +1 -0
  319. package/lib/types/host/infra/storage/credential-store-secret-service.d.ts.map +1 -0
  320. package/lib/types/host/infra/storage/platform-token-store.d.ts.map +1 -0
  321. package/lib/types/host/infra/storage/token-store-linux.d.ts.map +1 -0
  322. package/lib/types/host/infra/storage/token-store-macos.d.ts.map +1 -0
  323. package/lib/types/host/infra/storage/token-store-windows.d.ts.map +1 -0
  324. package/lib/types/host/infra/storage/token-store.d.ts +81 -0
  325. package/lib/types/host/infra/storage/token-store.d.ts.map +1 -0
  326. package/lib/types/host/providers/_claude-shared/claude-capability-memory.d.ts.map +1 -0
  327. package/lib/types/host/providers/_claude-shared/claude-code-cch.d.ts.map +1 -0
  328. package/lib/types/host/providers/_claude-shared/claude-code-corrections.d.ts.map +1 -0
  329. package/lib/types/host/providers/_claude-shared/claude-code-first-party.d.ts +68 -0
  330. package/lib/types/host/providers/_claude-shared/claude-code-first-party.d.ts.map +1 -0
  331. package/lib/types/host/providers/_claude-shared/claude-code-version.d.ts +90 -0
  332. package/lib/types/host/providers/_claude-shared/claude-code-version.d.ts.map +1 -0
  333. package/lib/types/host/providers/antigravity-acp/acp-client.d.ts.map +1 -0
  334. package/lib/types/host/providers/antigravity-acp/adapter.d.ts +305 -0
  335. package/lib/types/host/providers/antigravity-acp/adapter.d.ts.map +1 -0
  336. package/lib/types/host/providers/antigravity-acp/auth-cache.d.ts +59 -0
  337. package/lib/types/host/providers/antigravity-acp/auth-cache.d.ts.map +1 -0
  338. package/lib/types/host/providers/antigravity-acp/binary.d.ts.map +1 -0
  339. package/lib/types/host/providers/antigravity-acp/catalog.d.ts +107 -0
  340. package/lib/types/host/providers/antigravity-acp/catalog.d.ts.map +1 -0
  341. package/lib/types/host/providers/antigravity-acp/doctor.d.ts +73 -0
  342. package/lib/types/host/providers/antigravity-acp/doctor.d.ts.map +1 -0
  343. package/lib/types/host/providers/antigravity-acp/errors.d.ts +69 -0
  344. package/lib/types/host/providers/antigravity-acp/errors.d.ts.map +1 -0
  345. package/lib/types/host/providers/antigravity-acp/history.d.ts +131 -0
  346. package/lib/types/host/providers/antigravity-acp/history.d.ts.map +1 -0
  347. package/lib/types/host/providers/antigravity-acp/login.d.ts +68 -0
  348. package/lib/types/host/providers/antigravity-acp/login.d.ts.map +1 -0
  349. package/lib/types/host/providers/antigravity-acp/mcp-bridge.d.ts.map +1 -0
  350. package/lib/types/host/providers/antigravity-acp/process-temp.d.ts.map +1 -0
  351. package/lib/types/host/providers/antigravity-acp/routes.d.ts +100 -0
  352. package/lib/types/host/providers/antigravity-acp/routes.d.ts.map +1 -0
  353. package/lib/types/host/providers/antigravity-acp/settings.d.ts +81 -0
  354. package/lib/types/host/providers/antigravity-acp/settings.d.ts.map +1 -0
  355. package/lib/types/host/providers/antigravity-acp/subagent.d.ts +128 -0
  356. package/lib/types/host/providers/antigravity-acp/subagent.d.ts.map +1 -0
  357. package/lib/types/host/providers/antigravity-acp/types.d.ts +155 -0
  358. package/lib/types/host/providers/antigravity-acp/types.d.ts.map +1 -0
  359. package/lib/types/host/providers/aws-quick/adapter.d.ts +73 -0
  360. package/lib/types/host/providers/aws-quick/adapter.d.ts.map +1 -0
  361. package/lib/types/host/providers/aws-quick/binary.d.ts +3 -0
  362. package/lib/types/host/providers/aws-quick/binary.d.ts.map +1 -0
  363. package/lib/types/host/providers/aws-quick/client.d.ts +85 -0
  364. package/lib/types/host/providers/aws-quick/client.d.ts.map +1 -0
  365. package/lib/types/host/providers/aws-quick/execution-broker.d.ts.map +1 -0
  366. package/lib/types/host/providers/aws-quick/images.d.ts +21 -0
  367. package/lib/types/host/providers/aws-quick/images.d.ts.map +1 -0
  368. package/lib/types/host/providers/aws-quick/markup.d.ts.map +1 -0
  369. package/lib/types/host/providers/aws-quick/outpost.d.ts +55 -0
  370. package/lib/types/host/providers/aws-quick/outpost.d.ts.map +1 -0
  371. package/lib/types/host/providers/aws-quick/protocol.d.ts +53 -0
  372. package/lib/types/host/providers/aws-quick/protocol.d.ts.map +1 -0
  373. package/lib/types/host/providers/aws-quick/routes.d.ts +15 -0
  374. package/lib/types/host/providers/aws-quick/routes.d.ts.map +1 -0
  375. package/lib/types/host/providers/aws-quick/settings.d.ts +24 -0
  376. package/lib/types/host/providers/aws-quick/settings.d.ts.map +1 -0
  377. package/lib/types/host/providers/aws-quick/tool-bridge.d.ts +67 -0
  378. package/lib/types/host/providers/aws-quick/tool-bridge.d.ts.map +1 -0
  379. package/lib/types/host/providers/aws-quick/types.d.ts +12 -0
  380. package/lib/types/host/providers/aws-quick/types.d.ts.map +1 -0
  381. package/lib/types/host/providers/claude/account-pool.d.ts +484 -0
  382. package/lib/types/host/providers/claude/account-pool.d.ts.map +1 -0
  383. package/lib/types/host/providers/claude/adapter.d.ts +243 -0
  384. package/lib/types/host/providers/claude/adapter.d.ts.map +1 -0
  385. package/lib/types/host/providers/claude/adopt.d.ts +193 -0
  386. package/lib/types/host/providers/claude/adopt.d.ts.map +1 -0
  387. package/lib/types/host/providers/claude/client.d.ts +463 -0
  388. package/lib/types/host/providers/claude/client.d.ts.map +1 -0
  389. package/lib/types/host/providers/claude/mapper.d.ts +575 -0
  390. package/lib/types/host/providers/claude/mapper.d.ts.map +1 -0
  391. package/lib/types/host/providers/claude/model-catalog.d.ts +258 -0
  392. package/lib/types/host/providers/claude/model-catalog.d.ts.map +1 -0
  393. package/lib/types/host/providers/claude/oauth.d.ts +312 -0
  394. package/lib/types/host/providers/claude/oauth.d.ts.map +1 -0
  395. package/lib/types/host/providers/claude/routes.d.ts +86 -0
  396. package/lib/types/host/providers/claude/routes.d.ts.map +1 -0
  397. package/lib/types/host/providers/claude/token-store.d.ts +261 -0
  398. package/lib/types/host/providers/claude/token-store.d.ts.map +1 -0
  399. package/lib/types/host/providers/claude/types.d.ts +375 -0
  400. package/lib/types/host/providers/claude/types.d.ts.map +1 -0
  401. package/lib/types/host/providers/claude-api/adapter.d.ts +70 -0
  402. package/lib/types/host/providers/claude-api/adapter.d.ts.map +1 -0
  403. package/lib/types/host/providers/claude-api/capability-memory.d.ts +4 -0
  404. package/lib/types/host/providers/claude-api/capability-memory.d.ts.map +1 -0
  405. package/lib/types/host/providers/claude-api/catalog-manager.d.ts +57 -0
  406. package/lib/types/host/providers/claude-api/catalog-manager.d.ts.map +1 -0
  407. package/lib/types/host/providers/claude-api/client-version.d.ts +4 -0
  408. package/lib/types/host/providers/claude-api/client-version.d.ts.map +1 -0
  409. package/lib/types/host/providers/claude-api/client.d.ts +55 -0
  410. package/lib/types/host/providers/claude-api/client.d.ts.map +1 -0
  411. package/lib/types/host/providers/claude-api/compaction-store.d.ts.map +1 -0
  412. package/lib/types/host/providers/claude-api/compaction.d.ts +47 -0
  413. package/lib/types/host/providers/claude-api/compaction.d.ts.map +1 -0
  414. package/lib/types/host/providers/claude-api/mapper.d.ts +61 -0
  415. package/lib/types/host/providers/claude-api/mapper.d.ts.map +1 -0
  416. package/lib/types/host/providers/claude-api/model-catalog.d.ts +76 -0
  417. package/lib/types/host/providers/claude-api/model-catalog.d.ts.map +1 -0
  418. package/lib/types/host/providers/claude-api/routes.d.ts +22 -0
  419. package/lib/types/host/providers/claude-api/routes.d.ts.map +1 -0
  420. package/lib/types/host/providers/claude-api/stream.d.ts +88 -0
  421. package/lib/types/host/providers/claude-api/stream.d.ts.map +1 -0
  422. package/lib/types/host/providers/claude-api/token-store.d.ts +60 -0
  423. package/lib/types/host/providers/claude-api/token-store.d.ts.map +1 -0
  424. package/lib/types/host/providers/claude-api/types.d.ts +68 -0
  425. package/lib/types/host/providers/claude-api/types.d.ts.map +1 -0
  426. package/lib/types/host/providers/cline-pass/account-pool.d.ts +63 -0
  427. package/lib/types/host/providers/cline-pass/account-pool.d.ts.map +1 -0
  428. package/lib/types/host/providers/cline-pass/adapter.d.ts +58 -0
  429. package/lib/types/host/providers/cline-pass/adapter.d.ts.map +1 -0
  430. package/lib/types/host/providers/cline-pass/catalog.d.ts.map +1 -0
  431. package/lib/types/host/providers/cline-pass/client.d.ts.map +1 -0
  432. package/lib/types/host/providers/cline-pass/engine.d.ts.map +1 -0
  433. package/lib/types/host/providers/cline-pass/line.d.ts +55 -0
  434. package/lib/types/host/providers/cline-pass/line.d.ts.map +1 -0
  435. package/lib/types/host/providers/cline-pass/mapper.d.ts +138 -0
  436. package/lib/types/host/providers/cline-pass/mapper.d.ts.map +1 -0
  437. package/lib/types/host/providers/cline-pass/oauth.d.ts.map +1 -0
  438. package/lib/types/host/providers/cline-pass/protocol.d.ts.map +1 -0
  439. package/lib/types/host/providers/cline-pass/routes.d.ts +92 -0
  440. package/lib/types/host/providers/cline-pass/routes.d.ts.map +1 -0
  441. package/lib/types/host/providers/cline-pass/store.d.ts +75 -0
  442. package/lib/types/host/providers/cline-pass/store.d.ts.map +1 -0
  443. package/lib/types/host/providers/cline-pass/token-store.d.ts +170 -0
  444. package/lib/types/host/providers/cline-pass/token-store.d.ts.map +1 -0
  445. package/lib/types/host/providers/cline-pass/tools.d.ts +21 -0
  446. package/lib/types/host/providers/cline-pass/tools.d.ts.map +1 -0
  447. package/lib/types/host/providers/cline-pass/types.d.ts.map +1 -0
  448. package/lib/types/host/providers/codex-chatgpt/adapter.d.ts.map +1 -0
  449. package/lib/types/host/providers/codex-chatgpt/callback-server.d.ts.map +1 -0
  450. package/lib/types/host/providers/codex-chatgpt/codex-account-pool.d.ts +183 -0
  451. package/lib/types/host/providers/codex-chatgpt/codex-account-pool.d.ts.map +1 -0
  452. package/lib/types/host/providers/codex-chatgpt/codex-adopt.d.ts +162 -0
  453. package/lib/types/host/providers/codex-chatgpt/codex-adopt.d.ts.map +1 -0
  454. package/lib/types/host/providers/codex-chatgpt/codex-catalog.d.ts +69 -0
  455. package/lib/types/host/providers/codex-chatgpt/codex-catalog.d.ts.map +1 -0
  456. package/lib/types/host/providers/codex-chatgpt/codex-fetch.d.ts.map +1 -0
  457. package/lib/types/host/providers/codex-chatgpt/codex-identity.d.ts +130 -0
  458. package/lib/types/host/providers/codex-chatgpt/codex-identity.d.ts.map +1 -0
  459. package/lib/types/host/providers/codex-chatgpt/codex-images.d.ts.map +1 -0
  460. package/lib/types/host/providers/codex-chatgpt/codex-remote-compaction.d.ts +41 -0
  461. package/lib/types/host/providers/codex-chatgpt/codex-remote-compaction.d.ts.map +1 -0
  462. package/lib/types/host/providers/codex-chatgpt/codex-search.d.ts.map +1 -0
  463. package/lib/types/host/providers/codex-chatgpt/model-catalog.d.ts +43 -0
  464. package/lib/types/host/providers/codex-chatgpt/model-catalog.d.ts.map +1 -0
  465. package/lib/types/host/providers/codex-chatgpt/oauth-service.d.ts +242 -0
  466. package/lib/types/host/providers/codex-chatgpt/oauth-service.d.ts.map +1 -0
  467. package/lib/types/host/providers/codex-chatgpt/preferences.d.ts +26 -0
  468. package/lib/types/host/providers/codex-chatgpt/preferences.d.ts.map +1 -0
  469. package/lib/types/host/providers/codex-chatgpt/responses-client.d.ts +125 -0
  470. package/lib/types/host/providers/codex-chatgpt/responses-client.d.ts.map +1 -0
  471. package/lib/types/host/providers/codex-chatgpt/responses-mapper.d.ts +133 -0
  472. package/lib/types/host/providers/codex-chatgpt/responses-mapper.d.ts.map +1 -0
  473. package/lib/types/host/providers/codex-chatgpt/routes.d.ts +32 -0
  474. package/lib/types/host/providers/codex-chatgpt/routes.d.ts.map +1 -0
  475. package/lib/types/host/providers/codex-chatgpt/usage-service.d.ts +109 -0
  476. package/lib/types/host/providers/codex-chatgpt/usage-service.d.ts.map +1 -0
  477. package/lib/types/host/providers/command-code/account-pool.d.ts +72 -0
  478. package/lib/types/host/providers/command-code/account-pool.d.ts.map +1 -0
  479. package/lib/types/host/providers/command-code/adapter.d.ts.map +1 -0
  480. package/lib/types/host/providers/command-code/client.d.ts +126 -0
  481. package/lib/types/host/providers/command-code/client.d.ts.map +1 -0
  482. package/lib/types/host/providers/command-code/mapper.d.ts +199 -0
  483. package/lib/types/host/providers/command-code/mapper.d.ts.map +1 -0
  484. package/lib/types/host/providers/command-code/model-catalog.d.ts +45 -0
  485. package/lib/types/host/providers/command-code/model-catalog.d.ts.map +1 -0
  486. package/lib/types/host/providers/command-code/oauth.d.ts +95 -0
  487. package/lib/types/host/providers/command-code/oauth.d.ts.map +1 -0
  488. package/lib/types/host/providers/command-code/plans.d.ts.map +1 -0
  489. package/lib/types/host/providers/command-code/routes.d.ts +44 -0
  490. package/lib/types/host/providers/command-code/routes.d.ts.map +1 -0
  491. package/lib/types/host/providers/command-code/token-store.d.ts +100 -0
  492. package/lib/types/host/providers/command-code/token-store.d.ts.map +1 -0
  493. package/lib/types/host/providers/command-code/types.d.ts +222 -0
  494. package/lib/types/host/providers/command-code/types.d.ts.map +1 -0
  495. package/lib/types/host/providers/glm-coding-plan/account-pool.d.ts +152 -0
  496. package/lib/types/host/providers/glm-coding-plan/account-pool.d.ts.map +1 -0
  497. package/lib/types/host/providers/glm-coding-plan/adapter.d.ts +167 -0
  498. package/lib/types/host/providers/glm-coding-plan/adapter.d.ts.map +1 -0
  499. package/lib/types/host/providers/glm-coding-plan/adopt.d.ts +296 -0
  500. package/lib/types/host/providers/glm-coding-plan/adopt.d.ts.map +1 -0
  501. package/lib/types/host/providers/glm-coding-plan/biz-token-cache.d.ts +99 -0
  502. package/lib/types/host/providers/glm-coding-plan/biz-token-cache.d.ts.map +1 -0
  503. package/lib/types/host/providers/glm-coding-plan/client.d.ts +218 -0
  504. package/lib/types/host/providers/glm-coding-plan/client.d.ts.map +1 -0
  505. package/lib/types/host/providers/glm-coding-plan/exchange.d.ts +189 -0
  506. package/lib/types/host/providers/glm-coding-plan/exchange.d.ts.map +1 -0
  507. package/lib/types/host/providers/glm-coding-plan/mapper-anthropic.d.ts +312 -0
  508. package/lib/types/host/providers/glm-coding-plan/mapper-anthropic.d.ts.map +1 -0
  509. package/lib/types/host/providers/glm-coding-plan/mapper-openai.d.ts +182 -0
  510. package/lib/types/host/providers/glm-coding-plan/mapper-openai.d.ts.map +1 -0
  511. package/lib/types/host/providers/glm-coding-plan/model-catalog.d.ts +180 -0
  512. package/lib/types/host/providers/glm-coding-plan/model-catalog.d.ts.map +1 -0
  513. package/lib/types/host/providers/glm-coding-plan/oauth.d.ts +180 -0
  514. package/lib/types/host/providers/glm-coding-plan/oauth.d.ts.map +1 -0
  515. package/lib/types/host/providers/glm-coding-plan/routes.d.ts +93 -0
  516. package/lib/types/host/providers/glm-coding-plan/routes.d.ts.map +1 -0
  517. package/lib/types/host/providers/glm-coding-plan/token-store.d.ts +202 -0
  518. package/lib/types/host/providers/glm-coding-plan/token-store.d.ts.map +1 -0
  519. package/lib/types/host/providers/glm-coding-plan/types.d.ts +462 -0
  520. package/lib/types/host/providers/glm-coding-plan/types.d.ts.map +1 -0
  521. package/lib/types/host/providers/kimi-code/account-pool.d.ts +124 -0
  522. package/lib/types/host/providers/kimi-code/account-pool.d.ts.map +1 -0
  523. package/lib/types/host/providers/kimi-code/adapter.d.ts +405 -0
  524. package/lib/types/host/providers/kimi-code/adapter.d.ts.map +1 -0
  525. package/lib/types/host/providers/kimi-code/api-key.d.ts +55 -0
  526. package/lib/types/host/providers/kimi-code/api-key.d.ts.map +1 -0
  527. package/lib/types/host/providers/kimi-code/cache-affinity.d.ts +112 -0
  528. package/lib/types/host/providers/kimi-code/cache-affinity.d.ts.map +1 -0
  529. package/lib/types/host/providers/kimi-code/cache-hint.d.ts +65 -0
  530. package/lib/types/host/providers/kimi-code/cache-hint.d.ts.map +1 -0
  531. package/lib/types/host/providers/kimi-code/cache-wait.d.ts +166 -0
  532. package/lib/types/host/providers/kimi-code/cache-wait.d.ts.map +1 -0
  533. package/lib/types/host/providers/kimi-code/client.d.ts +316 -0
  534. package/lib/types/host/providers/kimi-code/client.d.ts.map +1 -0
  535. package/lib/types/host/providers/kimi-code/mapper.d.ts +913 -0
  536. package/lib/types/host/providers/kimi-code/mapper.d.ts.map +1 -0
  537. package/lib/types/host/providers/kimi-code/media-files.d.ts +179 -0
  538. package/lib/types/host/providers/kimi-code/media-files.d.ts.map +1 -0
  539. package/lib/types/host/providers/kimi-code/modalities.d.ts +23 -0
  540. package/lib/types/host/providers/kimi-code/modalities.d.ts.map +1 -0
  541. package/lib/types/host/providers/kimi-code/model-catalog.d.ts +125 -0
  542. package/lib/types/host/providers/kimi-code/model-catalog.d.ts.map +1 -0
  543. package/lib/types/host/providers/kimi-code/oauth.d.ts +213 -0
  544. package/lib/types/host/providers/kimi-code/oauth.d.ts.map +1 -0
  545. package/lib/types/host/providers/kimi-code/repeat-breaker.d.ts +185 -0
  546. package/lib/types/host/providers/kimi-code/repeat-breaker.d.ts.map +1 -0
  547. package/lib/types/host/providers/kimi-code/routes.d.ts +52 -0
  548. package/lib/types/host/providers/kimi-code/routes.d.ts.map +1 -0
  549. package/lib/types/host/providers/kimi-code/session-cache-state.d.ts +156 -0
  550. package/lib/types/host/providers/kimi-code/session-cache-state.d.ts.map +1 -0
  551. package/lib/types/host/providers/kimi-code/token-store.d.ts +182 -0
  552. package/lib/types/host/providers/kimi-code/token-store.d.ts.map +1 -0
  553. package/lib/types/host/providers/kimi-code/tool-argument-guard.d.ts +43 -0
  554. package/lib/types/host/providers/kimi-code/tool-argument-guard.d.ts.map +1 -0
  555. package/lib/types/host/providers/kimi-code/tool-argument-recovery.d.ts.map +1 -0
  556. package/lib/types/host/providers/kimi-code/types.d.ts +407 -0
  557. package/lib/types/host/providers/kimi-code/types.d.ts.map +1 -0
  558. package/lib/types/host/providers/kimi-code/video-store.d.ts.map +1 -0
  559. package/lib/types/host/providers/kimi-code/video-tool.d.ts.map +1 -0
  560. package/lib/types/host/providers/minimax-code/account-pool.d.ts +309 -0
  561. package/lib/types/host/providers/minimax-code/account-pool.d.ts.map +1 -0
  562. package/lib/types/host/providers/minimax-code/adapter.d.ts +205 -0
  563. package/lib/types/host/providers/minimax-code/adapter.d.ts.map +1 -0
  564. package/lib/types/host/providers/minimax-code/checkin-gateway.d.ts +117 -0
  565. package/lib/types/host/providers/minimax-code/checkin-gateway.d.ts.map +1 -0
  566. package/lib/types/host/providers/minimax-code/checkin.d.ts +178 -0
  567. package/lib/types/host/providers/minimax-code/checkin.d.ts.map +1 -0
  568. package/lib/types/host/providers/minimax-code/client.d.ts +242 -0
  569. package/lib/types/host/providers/minimax-code/client.d.ts.map +1 -0
  570. package/lib/types/host/providers/minimax-code/files-api.d.ts +89 -0
  571. package/lib/types/host/providers/minimax-code/files-api.d.ts.map +1 -0
  572. package/lib/types/host/providers/minimax-code/iso-bmff-duration.d.ts +43 -0
  573. package/lib/types/host/providers/minimax-code/iso-bmff-duration.d.ts.map +1 -0
  574. package/lib/types/host/providers/minimax-code/mapper.d.ts +260 -0
  575. package/lib/types/host/providers/minimax-code/mapper.d.ts.map +1 -0
  576. package/lib/types/host/providers/minimax-code/matrix-client.d.ts +128 -0
  577. package/lib/types/host/providers/minimax-code/matrix-client.d.ts.map +1 -0
  578. package/lib/types/host/providers/minimax-code/media-store.d.ts +122 -0
  579. package/lib/types/host/providers/minimax-code/media-store.d.ts.map +1 -0
  580. package/lib/types/host/providers/minimax-code/modalities.d.ts +20 -0
  581. package/lib/types/host/providers/minimax-code/modalities.d.ts.map +1 -0
  582. package/lib/types/host/providers/minimax-code/model-catalog.d.ts +227 -0
  583. package/lib/types/host/providers/minimax-code/model-catalog.d.ts.map +1 -0
  584. package/lib/types/host/providers/minimax-code/oauth.d.ts +220 -0
  585. package/lib/types/host/providers/minimax-code/oauth.d.ts.map +1 -0
  586. package/lib/types/host/providers/minimax-code/reset-card.d.ts +106 -0
  587. package/lib/types/host/providers/minimax-code/reset-card.d.ts.map +1 -0
  588. package/lib/types/host/providers/minimax-code/routes.d.ts +82 -0
  589. package/lib/types/host/providers/minimax-code/routes.d.ts.map +1 -0
  590. package/lib/types/host/providers/minimax-code/runtime-enhancements.d.ts +205 -0
  591. package/lib/types/host/providers/minimax-code/runtime-enhancements.d.ts.map +1 -0
  592. package/lib/types/host/providers/minimax-code/token-store.d.ts +300 -0
  593. package/lib/types/host/providers/minimax-code/token-store.d.ts.map +1 -0
  594. package/lib/types/host/providers/minimax-code/types.d.ts +344 -0
  595. package/lib/types/host/providers/minimax-code/types.d.ts.map +1 -0
  596. package/lib/types/host/providers/minimax-code/video-history.d.ts +209 -0
  597. package/lib/types/host/providers/minimax-code/video-history.d.ts.map +1 -0
  598. package/lib/types/host/providers/minimax-code/video-submit-rules.d.ts.map +1 -0
  599. package/lib/types/host/providers/minimax-code/video-tool.d.ts.map +1 -0
  600. package/lib/types/host/providers/ollama/account-pool.d.ts +65 -0
  601. package/lib/types/host/providers/ollama/account-pool.d.ts.map +1 -0
  602. package/lib/types/host/providers/ollama/adapter.d.ts +85 -0
  603. package/lib/types/host/providers/ollama/adapter.d.ts.map +1 -0
  604. package/lib/types/host/providers/ollama/client.d.ts +166 -0
  605. package/lib/types/host/providers/ollama/client.d.ts.map +1 -0
  606. package/lib/types/host/providers/ollama/mapper.d.ts +49 -0
  607. package/lib/types/host/providers/ollama/mapper.d.ts.map +1 -0
  608. package/lib/types/host/providers/ollama/routes.d.ts +22 -0
  609. package/lib/types/host/providers/ollama/routes.d.ts.map +1 -0
  610. package/lib/types/host/providers/ollama/token-store.d.ts +78 -0
  611. package/lib/types/host/providers/ollama/token-store.d.ts.map +1 -0
  612. package/lib/types/host/providers/ollama/types.d.ts +220 -0
  613. package/lib/types/host/providers/ollama/types.d.ts.map +1 -0
  614. package/lib/types/host/providers/opendesign/account-pool.d.ts +54 -0
  615. package/lib/types/host/providers/opendesign/account-pool.d.ts.map +1 -0
  616. package/lib/types/host/providers/opendesign/adapter.d.ts +82 -0
  617. package/lib/types/host/providers/opendesign/adapter.d.ts.map +1 -0
  618. package/lib/types/host/providers/opendesign/catalog.d.ts.map +1 -0
  619. package/lib/types/host/providers/opendesign/client.d.ts +258 -0
  620. package/lib/types/host/providers/opendesign/client.d.ts.map +1 -0
  621. package/lib/types/host/providers/opendesign/line.d.ts +60 -0
  622. package/lib/types/host/providers/opendesign/line.d.ts.map +1 -0
  623. package/lib/types/host/providers/opendesign/mapper.d.ts +218 -0
  624. package/lib/types/host/providers/opendesign/mapper.d.ts.map +1 -0
  625. package/lib/types/host/providers/opendesign/oauth.d.ts.map +1 -0
  626. package/lib/types/host/providers/opendesign/routes.d.ts +75 -0
  627. package/lib/types/host/providers/opendesign/routes.d.ts.map +1 -0
  628. package/lib/types/host/providers/opendesign/token-store.d.ts +241 -0
  629. package/lib/types/host/providers/opendesign/token-store.d.ts.map +1 -0
  630. package/lib/types/host/providers/opendesign/types.d.ts.map +1 -0
  631. package/lib/types/host/providers/qianwen-token-plan/adapter.d.ts +35 -0
  632. package/lib/types/host/providers/qianwen-token-plan/adapter.d.ts.map +1 -0
  633. package/lib/types/host/providers/qianwen-token-plan/cache-stats.d.ts +17 -0
  634. package/lib/types/host/providers/qianwen-token-plan/cache-stats.d.ts.map +1 -0
  635. package/lib/types/host/providers/qianwen-token-plan/client.d.ts +5 -0
  636. package/lib/types/host/providers/qianwen-token-plan/client.d.ts.map +1 -0
  637. package/lib/types/host/providers/qianwen-token-plan/mapper.d.ts +71 -0
  638. package/lib/types/host/providers/qianwen-token-plan/mapper.d.ts.map +1 -0
  639. package/lib/types/host/providers/qianwen-token-plan/model-catalog.d.ts +28 -0
  640. package/lib/types/host/providers/qianwen-token-plan/model-catalog.d.ts.map +1 -0
  641. package/lib/types/host/providers/qianwen-token-plan/routes.d.ts +12 -0
  642. package/lib/types/host/providers/qianwen-token-plan/routes.d.ts.map +1 -0
  643. package/lib/types/host/providers/qianwen-token-plan/token-store.d.ts +56 -0
  644. package/lib/types/host/providers/qianwen-token-plan/token-store.d.ts.map +1 -0
  645. package/lib/types/host/providers/qianwen-token-plan/types.d.ts.map +1 -0
  646. package/lib/types/host/providers/qoder/account-pool.d.ts +141 -0
  647. package/lib/types/host/providers/qoder/account-pool.d.ts.map +1 -0
  648. package/lib/types/host/providers/qoder/adapter.d.ts +165 -0
  649. package/lib/types/host/providers/qoder/adapter.d.ts.map +1 -0
  650. package/lib/types/host/providers/qoder/adopt.d.ts +104 -0
  651. package/lib/types/host/providers/qoder/adopt.d.ts.map +1 -0
  652. package/lib/types/host/providers/qoder/client.d.ts +292 -0
  653. package/lib/types/host/providers/qoder/client.d.ts.map +1 -0
  654. package/lib/types/host/providers/qoder/cosy.d.ts.map +1 -0
  655. package/lib/types/host/providers/qoder/mapper.d.ts +332 -0
  656. package/lib/types/host/providers/qoder/mapper.d.ts.map +1 -0
  657. package/lib/types/host/providers/qoder/model-catalog.d.ts +231 -0
  658. package/lib/types/host/providers/qoder/model-catalog.d.ts.map +1 -0
  659. package/lib/types/host/providers/qoder/oauth.d.ts +151 -0
  660. package/lib/types/host/providers/qoder/oauth.d.ts.map +1 -0
  661. package/lib/types/host/providers/qoder/routes.d.ts +119 -0
  662. package/lib/types/host/providers/qoder/routes.d.ts.map +1 -0
  663. package/lib/types/host/providers/qoder/token-store.d.ts +280 -0
  664. package/lib/types/host/providers/qoder/token-store.d.ts.map +1 -0
  665. package/lib/types/host/providers/qoder/types.d.ts +262 -0
  666. package/lib/types/host/providers/qoder/types.d.ts.map +1 -0
  667. package/lib/types/host/providers/relayone/account-pool.d.ts +129 -0
  668. package/lib/types/host/providers/relayone/account-pool.d.ts.map +1 -0
  669. package/lib/types/host/providers/relayone/adapter.d.ts +79 -0
  670. package/lib/types/host/providers/relayone/adapter.d.ts.map +1 -0
  671. package/lib/types/host/providers/relayone/catalog-manager.d.ts +45 -0
  672. package/lib/types/host/providers/relayone/catalog-manager.d.ts.map +1 -0
  673. package/lib/types/host/providers/relayone/client.d.ts +5 -0
  674. package/lib/types/host/providers/relayone/client.d.ts.map +1 -0
  675. package/lib/types/host/providers/relayone/image-tool.d.ts.map +1 -0
  676. package/lib/types/host/providers/relayone/mapper-anthropic.d.ts +49 -0
  677. package/lib/types/host/providers/relayone/mapper-anthropic.d.ts.map +1 -0
  678. package/lib/types/host/providers/relayone/mapper-openai.d.ts +36 -0
  679. package/lib/types/host/providers/relayone/mapper-openai.d.ts.map +1 -0
  680. package/lib/types/host/providers/relayone/mapper-shared.d.ts +25 -0
  681. package/lib/types/host/providers/relayone/mapper-shared.d.ts.map +1 -0
  682. package/lib/types/host/providers/relayone/media-shared.d.ts +27 -0
  683. package/lib/types/host/providers/relayone/media-shared.d.ts.map +1 -0
  684. package/lib/types/host/providers/relayone/model-catalog.d.ts +70 -0
  685. package/lib/types/host/providers/relayone/model-catalog.d.ts.map +1 -0
  686. package/lib/types/host/providers/relayone/quota.d.ts +29 -0
  687. package/lib/types/host/providers/relayone/quota.d.ts.map +1 -0
  688. package/lib/types/host/providers/relayone/routes.d.ts +25 -0
  689. package/lib/types/host/providers/relayone/routes.d.ts.map +1 -0
  690. package/lib/types/host/providers/relayone/token-store.d.ts +49 -0
  691. package/lib/types/host/providers/relayone/token-store.d.ts.map +1 -0
  692. package/lib/types/host/providers/relayone/types.d.ts.map +1 -0
  693. package/lib/types/host/providers/relayone/video-tool.d.ts.map +1 -0
  694. package/lib/types/host/providers/step-code/account-pool.d.ts +187 -0
  695. package/lib/types/host/providers/step-code/account-pool.d.ts.map +1 -0
  696. package/lib/types/host/providers/step-code/adapter.d.ts +154 -0
  697. package/lib/types/host/providers/step-code/adapter.d.ts.map +1 -0
  698. package/lib/types/host/providers/step-code/adopt.d.ts +156 -0
  699. package/lib/types/host/providers/step-code/adopt.d.ts.map +1 -0
  700. package/lib/types/host/providers/step-code/cache-stats.d.ts.map +1 -0
  701. package/lib/types/host/providers/step-code/client.d.ts +311 -0
  702. package/lib/types/host/providers/step-code/client.d.ts.map +1 -0
  703. package/lib/types/host/providers/step-code/mapper.d.ts +248 -0
  704. package/lib/types/host/providers/step-code/mapper.d.ts.map +1 -0
  705. package/lib/types/host/providers/step-code/model-catalog.d.ts +218 -0
  706. package/lib/types/host/providers/step-code/model-catalog.d.ts.map +1 -0
  707. package/lib/types/host/providers/step-code/oauth.d.ts +265 -0
  708. package/lib/types/host/providers/step-code/oauth.d.ts.map +1 -0
  709. package/lib/types/host/providers/step-code/routes.d.ts +102 -0
  710. package/lib/types/host/providers/step-code/routes.d.ts.map +1 -0
  711. package/lib/types/host/providers/step-code/token-store.d.ts +325 -0
  712. package/lib/types/host/providers/step-code/token-store.d.ts.map +1 -0
  713. package/lib/types/host/providers/step-code/types.d.ts +492 -0
  714. package/lib/types/host/providers/step-code/types.d.ts.map +1 -0
  715. package/lib/types/host/providers/workbuddy/account-pool.d.ts +389 -0
  716. package/lib/types/host/providers/workbuddy/account-pool.d.ts.map +1 -0
  717. package/lib/types/host/providers/workbuddy/adapter.d.ts +246 -0
  718. package/lib/types/host/providers/workbuddy/adapter.d.ts.map +1 -0
  719. package/lib/types/host/providers/workbuddy/atrest.d.ts.map +1 -0
  720. package/lib/types/host/providers/workbuddy/checkin.d.ts +150 -0
  721. package/lib/types/host/providers/workbuddy/checkin.d.ts.map +1 -0
  722. package/lib/types/host/providers/workbuddy/client.d.ts +214 -0
  723. package/lib/types/host/providers/workbuddy/client.d.ts.map +1 -0
  724. package/lib/types/host/providers/workbuddy/dsml.d.ts.map +1 -0
  725. package/lib/types/host/providers/workbuddy/guardrails.d.ts +111 -0
  726. package/lib/types/host/providers/workbuddy/guardrails.d.ts.map +1 -0
  727. package/lib/types/host/providers/workbuddy/identity.d.ts.map +1 -0
  728. package/lib/types/host/providers/workbuddy/mapper.d.ts +238 -0
  729. package/lib/types/host/providers/workbuddy/mapper.d.ts.map +1 -0
  730. package/lib/types/host/providers/workbuddy/model-catalog.d.ts +153 -0
  731. package/lib/types/host/providers/workbuddy/model-catalog.d.ts.map +1 -0
  732. package/lib/types/host/providers/workbuddy/oauth.d.ts +47 -0
  733. package/lib/types/host/providers/workbuddy/oauth.d.ts.map +1 -0
  734. package/lib/types/host/providers/workbuddy/outbound-identity.d.ts +105 -0
  735. package/lib/types/host/providers/workbuddy/outbound-identity.d.ts.map +1 -0
  736. package/lib/types/host/providers/workbuddy/routes.d.ts +56 -0
  737. package/lib/types/host/providers/workbuddy/routes.d.ts.map +1 -0
  738. package/lib/types/host/providers/workbuddy/token-store.d.ts +370 -0
  739. package/lib/types/host/providers/workbuddy/token-store.d.ts.map +1 -0
  740. package/lib/types/host/providers/workbuddy/types.d.ts +185 -0
  741. package/lib/types/host/providers/workbuddy/types.d.ts.map +1 -0
  742. package/lib/types/host/runtime/cache-warmup/budget.d.ts.map +1 -0
  743. package/lib/types/host/runtime/cache-warmup/contracts.d.ts.map +1 -0
  744. package/lib/types/host/runtime/cache-warmup/index.d.ts.map +1 -0
  745. package/lib/types/host/runtime/cache-warmup/install.d.ts +124 -0
  746. package/lib/types/host/runtime/cache-warmup/install.d.ts.map +1 -0
  747. package/lib/types/host/runtime/cache-warmup/logging.d.ts.map +1 -0
  748. package/lib/types/host/runtime/cache-warmup/projection.d.ts.map +1 -0
  749. package/lib/types/host/runtime/cache-warmup/result-tool.d.ts.map +1 -0
  750. package/lib/types/host/runtime/cache-warmup/retrieval-intent.d.ts.map +1 -0
  751. package/lib/types/host/runtime/cache-warmup/settings.d.ts +79 -0
  752. package/lib/types/host/runtime/cache-warmup/settings.d.ts.map +1 -0
  753. package/lib/types/host/runtime/cache-warmup/store.d.ts.map +1 -0
  754. package/lib/types/host/runtime/cache-warmup/usage.d.ts.map +1 -0
  755. package/lib/types/host/runtime/codemode/discovery.d.ts.map +1 -0
  756. package/lib/types/host/runtime/codemode/executor.d.ts.map +1 -0
  757. package/lib/types/host/runtime/codemode/retention.d.ts.map +1 -0
  758. package/lib/types/host/runtime/codemode/rules.d.ts.map +1 -0
  759. package/lib/types/host/runtime/codemode/scope.d.ts.map +1 -0
  760. package/lib/types/host/runtime/codemode/transport.d.ts +493 -0
  761. package/lib/types/host/runtime/codemode/transport.d.ts.map +1 -0
  762. package/lib/types/host/runtime/compact-after-turn/index.d.ts +105 -0
  763. package/lib/types/host/runtime/compact-after-turn/index.d.ts.map +1 -0
  764. package/lib/types/host/runtime/compaction-route/index.d.ts +118 -0
  765. package/lib/types/host/runtime/compaction-route/index.d.ts.map +1 -0
  766. package/lib/types/host/runtime/deepseek-v41-flash/discipline.d.ts +27 -0
  767. package/lib/types/host/runtime/deepseek-v41-flash/discipline.d.ts.map +1 -0
  768. package/lib/types/host/runtime/deepseek-v41-flash/index.d.ts +70 -0
  769. package/lib/types/host/runtime/deepseek-v41-flash/index.d.ts.map +1 -0
  770. package/lib/types/host/runtime/deepseek-v41-flash/match.d.ts.map +1 -0
  771. package/lib/types/host/runtime/deepseek-v41-flash/observation-tagger.d.ts.map +1 -0
  772. package/lib/types/host/runtime/deepseek-v41-flash/state-anchor.d.ts.map +1 -0
  773. package/lib/types/host/runtime/dispatch-ledger/binding.d.ts.map +1 -0
  774. package/lib/types/host/runtime/dispatch-ledger/guard.d.ts +282 -0
  775. package/lib/types/host/runtime/dispatch-ledger/guard.d.ts.map +1 -0
  776. package/lib/types/host/runtime/dispatch-ledger/header.d.ts +143 -0
  777. package/lib/types/host/runtime/dispatch-ledger/header.d.ts.map +1 -0
  778. package/lib/types/host/runtime/dispatch-ledger/index.d.ts.map +1 -0
  779. package/lib/types/host/runtime/dispatch-ledger/ledger.d.ts +505 -0
  780. package/lib/types/host/runtime/dispatch-ledger/ledger.d.ts.map +1 -0
  781. package/lib/types/host/runtime/dispatch-ledger/policy.d.ts.map +1 -0
  782. package/lib/types/host/runtime/dispatch-ledger/protocol.d.ts.map +1 -0
  783. package/lib/types/host/runtime/dispatch-ledger/tool.d.ts.map +1 -0
  784. package/lib/types/host/runtime/guards/compaction-policy-guard.d.ts +79 -0
  785. package/lib/types/host/runtime/guards/compaction-policy-guard.d.ts.map +1 -0
  786. package/lib/types/host/runtime/guards/dispatch-execution-guard.d.ts +143 -0
  787. package/lib/types/host/runtime/guards/dispatch-execution-guard.d.ts.map +1 -0
  788. package/lib/types/host/runtime/guards/plan-mode-cache-guard.d.ts.map +1 -0
  789. package/lib/types/host/runtime/guards/ptc-sdk-cache-guard.d.ts +75 -0
  790. package/lib/types/host/runtime/guards/ptc-sdk-cache-guard.d.ts.map +1 -0
  791. package/lib/types/host/runtime/guards/settled-job-guard.d.ts +47 -0
  792. package/lib/types/host/runtime/guards/settled-job-guard.d.ts.map +1 -0
  793. package/lib/types/host/runtime/guards/subagent-model-authorization.d.ts +676 -0
  794. package/lib/types/host/runtime/guards/subagent-model-authorization.d.ts.map +1 -0
  795. package/lib/types/host/runtime/guards/subagent-route-audit.d.ts +154 -0
  796. package/lib/types/host/runtime/guards/subagent-route-audit.d.ts.map +1 -0
  797. package/lib/types/host/runtime/guards/team-policy-cache-guard.d.ts.map +1 -0
  798. package/lib/types/host/runtime/guards/timeline-cache-guard.d.ts +68 -0
  799. package/lib/types/host/runtime/guards/timeline-cache-guard.d.ts.map +1 -0
  800. package/lib/types/host/runtime/guards/tool-result-pruner-guard.d.ts +44 -0
  801. package/lib/types/host/runtime/guards/tool-result-pruner-guard.d.ts.map +1 -0
  802. package/lib/types/host/runtime/no-answer-resume/index.d.ts.map +1 -0
  803. package/lib/types/host/runtime/open-models/discipline.d.ts +14 -0
  804. package/lib/types/host/runtime/open-models/discipline.d.ts.map +1 -0
  805. package/lib/types/host/runtime/open-models/index.d.ts +59 -0
  806. package/lib/types/host/runtime/open-models/index.d.ts.map +1 -0
  807. package/lib/types/host/runtime/open-models/observation-guard.d.ts +32 -0
  808. package/lib/types/host/runtime/open-models/observation-guard.d.ts.map +1 -0
  809. package/lib/types/host/runtime/open-models/profiles.d.ts +113 -0
  810. package/lib/types/host/runtime/open-models/profiles.d.ts.map +1 -0
  811. package/lib/types/host/runtime/open-models/state-anchor.d.ts +46 -0
  812. package/lib/types/host/runtime/open-models/state-anchor.d.ts.map +1 -0
  813. package/lib/types/host/runtime/presets/agent-preset.d.ts.map +1 -0
  814. package/lib/types/host/runtime/presets/preset-sync.d.ts +130 -0
  815. package/lib/types/host/runtime/presets/preset-sync.d.ts.map +1 -0
  816. package/lib/types/host/runtime/progress-updates/index.d.ts.map +1 -0
  817. package/lib/types/host/runtime/progress-updates/nudge.d.ts.map +1 -0
  818. package/lib/types/host/runtime/progress-updates/projection.d.ts +181 -0
  819. package/lib/types/host/runtime/progress-updates/projection.d.ts.map +1 -0
  820. package/lib/types/host/runtime/progress-updates/prompt.d.ts.map +1 -0
  821. package/lib/types/host/runtime/progress-updates/routes.d.ts.map +1 -0
  822. package/lib/types/host/runtime/progress-updates/store.d.ts.map +1 -0
  823. package/lib/types/host/runtime/progress-updates/tool.d.ts.map +1 -0
  824. package/lib/types/host/runtime/reasoning-collapse-guard/index.d.ts +304 -0
  825. package/lib/types/host/runtime/reasoning-collapse-guard/index.d.ts.map +1 -0
  826. package/lib/types/host/runtime/session-title-guard/index.d.ts +64 -0
  827. package/lib/types/host/runtime/session-title-guard/index.d.ts.map +1 -0
  828. package/lib/types/host/runtime/widget-board/line-contracts.d.ts +192 -0
  829. package/lib/types/host/runtime/widget-board/line-contracts.d.ts.map +1 -0
  830. package/lib/types/host/runtime/widget-board/line-quota.d.ts +253 -0
  831. package/lib/types/host/runtime/widget-board/line-quota.d.ts.map +1 -0
  832. package/lib/types/host/runtime/widget-board/line-registry.d.ts +346 -0
  833. package/lib/types/host/runtime/widget-board/line-registry.d.ts.map +1 -0
  834. package/lib/types/host/runtime/widget-board/provider.d.ts.map +1 -0
  835. package/lib/types/index.d.ts +136 -118
  836. package/lib/types/index.d.ts.map +1 -1
  837. package/lib/types/shared/claude-contracts.d.ts +0 -59
  838. package/lib/types/shared/claude-contracts.d.ts.map +1 -1
  839. package/lib/types/shared/relayone-contracts.d.ts +17 -0
  840. package/lib/types/shared/relayone-contracts.d.ts.map +1 -1
  841. package/package.json +57 -59
  842. package/CHANGELOG.md +0 -2706
  843. package/lib/entry-plan-mode-EShP3ndV.js +0 -1843
  844. package/lib/entry-plan-mode-pipeline-BCAZPcOz.js +0 -433
  845. package/lib/entry-progress-updates-DMLVID9V.js +0 -1154
  846. package/lib/entry-tool-result-pruner-E_xILd9Z.js +0 -703
  847. package/lib/llm-compat--WsaC9K6.js +0 -134
  848. package/lib/types/client/CodexComposerQuota.d.ts.map +0 -1
  849. package/lib/types/client/CodexImageToolView.d.ts.map +0 -1
  850. package/lib/types/client/CodexSubscriptionSection.d.ts +0 -42
  851. package/lib/types/client/CodexSubscriptionSection.d.ts.map +0 -1
  852. package/lib/types/client/CompactionRouteCard.d.ts +0 -43
  853. package/lib/types/client/CompactionRouteCard.d.ts.map +0 -1
  854. package/lib/types/client/ProviderHubSection.d.ts +0 -16
  855. package/lib/types/client/ProviderHubSection.d.ts.map +0 -1
  856. package/lib/types/client/antigravity-acp/AntigravityAcpComposerBadge.d.ts +0 -35
  857. package/lib/types/client/antigravity-acp/AntigravityAcpComposerBadge.d.ts.map +0 -1
  858. package/lib/types/client/antigravity-acp/AntigravityAcpSection.d.ts.map +0 -1
  859. package/lib/types/client/antigravity-acp/api.d.ts +0 -36
  860. package/lib/types/client/antigravity-acp/api.d.ts.map +0 -1
  861. package/lib/types/client/antigravity-acp/locales.d.ts +0 -557
  862. package/lib/types/client/antigravity-acp/locales.d.ts.map +0 -1
  863. package/lib/types/client/antigravity-acp/route.d.ts.map +0 -1
  864. package/lib/types/client/antigravity-acp/styles.d.ts.map +0 -1
  865. package/lib/types/client/api.d.ts +0 -60
  866. package/lib/types/client/api.d.ts.map +0 -1
  867. package/lib/types/client/aws-quick/AwsQuickSection.d.ts.map +0 -1
  868. package/lib/types/client/aws-quick/api.d.ts +0 -11
  869. package/lib/types/client/aws-quick/api.d.ts.map +0 -1
  870. package/lib/types/client/aws-quick/locales.d.ts +0 -117
  871. package/lib/types/client/aws-quick/locales.d.ts.map +0 -1
  872. package/lib/types/client/aws-quick/styles.d.ts.map +0 -1
  873. package/lib/types/client/claude/ClaudeComposerQuota.d.ts +0 -29
  874. package/lib/types/client/claude/ClaudeComposerQuota.d.ts.map +0 -1
  875. package/lib/types/client/claude/ClaudeSection.d.ts.map +0 -1
  876. package/lib/types/client/claude/locales.d.ts +0 -468
  877. package/lib/types/client/claude/locales.d.ts.map +0 -1
  878. package/lib/types/client/claude/styles.d.ts.map +0 -1
  879. package/lib/types/client/claude/useClaudeSection.d.ts +0 -95
  880. package/lib/types/client/claude/useClaudeSection.d.ts.map +0 -1
  881. package/lib/types/client/claude-api/ClaudeApiSection.d.ts.map +0 -1
  882. package/lib/types/client/claude-api/api.d.ts.map +0 -1
  883. package/lib/types/client/claude-api/locales.d.ts +0 -161
  884. package/lib/types/client/claude-api/locales.d.ts.map +0 -1
  885. package/lib/types/client/claude-api/styles.d.ts.map +0 -1
  886. package/lib/types/client/claude-api/useClaudeApiSection.d.ts +0 -37
  887. package/lib/types/client/claude-api/useClaudeApiSection.d.ts.map +0 -1
  888. package/lib/types/client/cline-pass/ClinePassComposerQuota.d.ts +0 -23
  889. package/lib/types/client/cline-pass/ClinePassComposerQuota.d.ts.map +0 -1
  890. package/lib/types/client/cline-pass/ClinePassSection.d.ts.map +0 -1
  891. package/lib/types/client/cline-pass/api.d.ts +0 -85
  892. package/lib/types/client/cline-pass/api.d.ts.map +0 -1
  893. package/lib/types/client/cline-pass/locales.d.ts.map +0 -1
  894. package/lib/types/client/cline-pass/styles.d.ts.map +0 -1
  895. package/lib/types/client/codemode/CodeRunToolView.d.ts +0 -68
  896. package/lib/types/client/codemode/CodeRunToolView.d.ts.map +0 -1
  897. package/lib/types/client/codemode/highlight.d.ts.map +0 -1
  898. package/lib/types/client/codemode/styles.d.ts.map +0 -1
  899. package/lib/types/client/codemode/tool-name.d.ts.map +0 -1
  900. package/lib/types/client/command-code/CommandCodeComposerQuota.d.ts +0 -20
  901. package/lib/types/client/command-code/CommandCodeComposerQuota.d.ts.map +0 -1
  902. package/lib/types/client/command-code/CommandCodeSection.d.ts.map +0 -1
  903. package/lib/types/client/command-code/locales.d.ts +0 -305
  904. package/lib/types/client/command-code/locales.d.ts.map +0 -1
  905. package/lib/types/client/compact-after-turn/CompactAfterTurnToggle.d.ts +0 -24
  906. package/lib/types/client/compact-after-turn/CompactAfterTurnToggle.d.ts.map +0 -1
  907. package/lib/types/client/compact-after-turn/locales.d.ts.map +0 -1
  908. package/lib/types/client/compact-after-turn/styles.d.ts.map +0 -1
  909. package/lib/types/client/dispatch-ledger/MandateToolView.d.ts.map +0 -1
  910. package/lib/types/client/dispatch-ledger/locales.d.ts.map +0 -1
  911. package/lib/types/client/dispatch-ledger/styles.d.ts.map +0 -1
  912. package/lib/types/client/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts +0 -27
  913. package/lib/types/client/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts.map +0 -1
  914. package/lib/types/client/glm-coding-plan/GlmCodingPlanSection.d.ts.map +0 -1
  915. package/lib/types/client/glm-coding-plan/api.d.ts.map +0 -1
  916. package/lib/types/client/glm-coding-plan/locales.d.ts +0 -409
  917. package/lib/types/client/glm-coding-plan/locales.d.ts.map +0 -1
  918. package/lib/types/client/glm-coding-plan/styles.d.ts.map +0 -1
  919. package/lib/types/client/glm-coding-plan/useGlmCodingPlanSection.d.ts +0 -65
  920. package/lib/types/client/glm-coding-plan/useGlmCodingPlanSection.d.ts.map +0 -1
  921. package/lib/types/client/kimi-code/KimiCodeComposerQuota.d.ts +0 -21
  922. package/lib/types/client/kimi-code/KimiCodeComposerQuota.d.ts.map +0 -1
  923. package/lib/types/client/kimi-code/KimiCodeSection.d.ts.map +0 -1
  924. package/lib/types/client/kimi-code/KimiModelCapabilities.d.ts +0 -16
  925. package/lib/types/client/kimi-code/KimiModelCapabilities.d.ts.map +0 -1
  926. package/lib/types/client/kimi-code/KimiQuotaCard.d.ts +0 -31
  927. package/lib/types/client/kimi-code/KimiQuotaCard.d.ts.map +0 -1
  928. package/lib/types/client/kimi-code/labels.d.ts +0 -66
  929. package/lib/types/client/kimi-code/labels.d.ts.map +0 -1
  930. package/lib/types/client/kimi-code/locales.d.ts +0 -694
  931. package/lib/types/client/kimi-code/locales.d.ts.map +0 -1
  932. package/lib/types/client/kimi-code/staff-art.d.ts.map +0 -1
  933. package/lib/types/client/kimi-code/styles.d.ts.map +0 -1
  934. package/lib/types/client/locales.d.ts +0 -541
  935. package/lib/types/client/locales.d.ts.map +0 -1
  936. package/lib/types/client/mermaid/renderer.d.ts.map +0 -1
  937. package/lib/types/client/mermaid/sanitize.d.ts.map +0 -1
  938. package/lib/types/client/mermaid/styles.d.ts.map +0 -1
  939. package/lib/types/client/minimax-code/MinimaxCodeComposerQuota.d.ts +0 -23
  940. package/lib/types/client/minimax-code/MinimaxCodeComposerQuota.d.ts.map +0 -1
  941. package/lib/types/client/minimax-code/MinimaxCodeSection.d.ts.map +0 -1
  942. package/lib/types/client/minimax-code/MinimaxVideoDocumentBody.d.ts +0 -86
  943. package/lib/types/client/minimax-code/MinimaxVideoDocumentBody.d.ts.map +0 -1
  944. package/lib/types/client/minimax-code/MinimaxVideoToolView.d.ts.map +0 -1
  945. package/lib/types/client/minimax-code/VideoFormDialog.d.ts +0 -86
  946. package/lib/types/client/minimax-code/VideoFormDialog.d.ts.map +0 -1
  947. package/lib/types/client/minimax-code/VideoSettingsSections.d.ts.map +0 -1
  948. package/lib/types/client/minimax-code/api.d.ts +0 -35
  949. package/lib/types/client/minimax-code/api.d.ts.map +0 -1
  950. package/lib/types/client/minimax-code/commands-contract.d.ts.map +0 -1
  951. package/lib/types/client/minimax-code/document-preview.d.ts.map +0 -1
  952. package/lib/types/client/minimax-code/locales.d.ts +0 -686
  953. package/lib/types/client/minimax-code/locales.d.ts.map +0 -1
  954. package/lib/types/client/minimax-code/styles.d.ts.map +0 -1
  955. package/lib/types/client/minimax-code/useMinimaxCodeSection.d.ts +0 -164
  956. package/lib/types/client/minimax-code/useMinimaxCodeSection.d.ts.map +0 -1
  957. package/lib/types/client/minimax-code/video-command-host.d.ts +0 -67
  958. package/lib/types/client/minimax-code/video-command-host.d.ts.map +0 -1
  959. package/lib/types/client/minimax-code/video-command-icon.d.ts.map +0 -1
  960. package/lib/types/client/minimax-code/video-command.d.ts +0 -120
  961. package/lib/types/client/minimax-code/video-command.d.ts.map +0 -1
  962. package/lib/types/client/minimax-code/video-contract.d.ts.map +0 -1
  963. package/lib/types/client/minimax-code/video-defaults-store.d.ts.map +0 -1
  964. package/lib/types/client/minimax-code/video-form-rules.d.ts +0 -288
  965. package/lib/types/client/minimax-code/video-form-rules.d.ts.map +0 -1
  966. package/lib/types/client/minimax-code/video-media-dropzone.d.ts.map +0 -1
  967. package/lib/types/client/minimax-code/video-media-input.d.ts.map +0 -1
  968. package/lib/types/client/minimax-code/video-media.d.ts.map +0 -1
  969. package/lib/types/client/minimax-code/video-presets.d.ts.map +0 -1
  970. package/lib/types/client/minimax-code/video-slots.d.ts.map +0 -1
  971. package/lib/types/client/minimax-code/video-workspace.d.ts.map +0 -1
  972. package/lib/types/client/ollama/OllamaSection.d.ts.map +0 -1
  973. package/lib/types/client/ollama/api.d.ts +0 -49
  974. package/lib/types/client/ollama/api.d.ts.map +0 -1
  975. package/lib/types/client/ollama/locales.d.ts +0 -479
  976. package/lib/types/client/ollama/locales.d.ts.map +0 -1
  977. package/lib/types/client/opendesign/OpenDesignComposerQuota.d.ts +0 -26
  978. package/lib/types/client/opendesign/OpenDesignComposerQuota.d.ts.map +0 -1
  979. package/lib/types/client/opendesign/OpenDesignSection.d.ts.map +0 -1
  980. package/lib/types/client/opendesign/api.d.ts +0 -45
  981. package/lib/types/client/opendesign/api.d.ts.map +0 -1
  982. package/lib/types/client/opendesign/locales.d.ts.map +0 -1
  983. package/lib/types/client/opendesign/styles.d.ts.map +0 -1
  984. package/lib/types/client/progress-updates/contracts.d.ts.map +0 -1
  985. package/lib/types/client/progress-updates/guide-artwork.d.ts.map +0 -1
  986. package/lib/types/client/progress-updates/host-source.d.ts +0 -144
  987. package/lib/types/client/progress-updates/host-source.d.ts.map +0 -1
  988. package/lib/types/client/progress-updates/index.d.ts +0 -91
  989. package/lib/types/client/progress-updates/index.d.ts.map +0 -1
  990. package/lib/types/client/progress-updates/locales.d.ts.map +0 -1
  991. package/lib/types/client/progress-updates/markdown-lite.d.ts +0 -99
  992. package/lib/types/client/progress-updates/markdown-lite.d.ts.map +0 -1
  993. package/lib/types/client/progress-updates/progress-row.d.ts.map +0 -1
  994. package/lib/types/client/progress-updates/settings-binding.d.ts.map +0 -1
  995. package/lib/types/client/progress-updates/settings-section.d.ts.map +0 -1
  996. package/lib/types/client/progress-updates/styles.d.ts.map +0 -1
  997. package/lib/types/client/progress-updates/tool-name.d.ts.map +0 -1
  998. package/lib/types/client/progress-updates/updates-panel.d.ts.map +0 -1
  999. package/lib/types/client/qianwen-token-plan/QianwenComposerQuota.d.ts +0 -14
  1000. package/lib/types/client/qianwen-token-plan/QianwenComposerQuota.d.ts.map +0 -1
  1001. package/lib/types/client/qianwen-token-plan/QianwenTokenPlanSection.d.ts.map +0 -1
  1002. package/lib/types/client/qianwen-token-plan/api.d.ts.map +0 -1
  1003. package/lib/types/client/qianwen-token-plan/locales.d.ts +0 -158
  1004. package/lib/types/client/qianwen-token-plan/locales.d.ts.map +0 -1
  1005. package/lib/types/client/qianwen-token-plan/styles.d.ts.map +0 -1
  1006. package/lib/types/client/qianwen-token-plan/useQianwenSection.d.ts +0 -32
  1007. package/lib/types/client/qianwen-token-plan/useQianwenSection.d.ts.map +0 -1
  1008. package/lib/types/client/qoder/QoderComposerQuota.d.ts +0 -41
  1009. package/lib/types/client/qoder/QoderComposerQuota.d.ts.map +0 -1
  1010. package/lib/types/client/qoder/QoderSection.d.ts +0 -37
  1011. package/lib/types/client/qoder/QoderSection.d.ts.map +0 -1
  1012. package/lib/types/client/qoder/api.d.ts.map +0 -1
  1013. package/lib/types/client/qoder/locales.d.ts +0 -322
  1014. package/lib/types/client/qoder/locales.d.ts.map +0 -1
  1015. package/lib/types/client/qoder/styles.d.ts.map +0 -1
  1016. package/lib/types/client/qoder/useQoderSection.d.ts +0 -97
  1017. package/lib/types/client/qoder/useQoderSection.d.ts.map +0 -1
  1018. package/lib/types/client/quota.d.ts +0 -9
  1019. package/lib/types/client/quota.d.ts.map +0 -1
  1020. package/lib/types/client/relayone/RelayOneComposerQuota.d.ts +0 -14
  1021. package/lib/types/client/relayone/RelayOneComposerQuota.d.ts.map +0 -1
  1022. package/lib/types/client/relayone/RelayOneSection.d.ts.map +0 -1
  1023. package/lib/types/client/relayone/api.d.ts.map +0 -1
  1024. package/lib/types/client/relayone/locales.d.ts +0 -157
  1025. package/lib/types/client/relayone/locales.d.ts.map +0 -1
  1026. package/lib/types/client/relayone/quota-format.d.ts +0 -6
  1027. package/lib/types/client/relayone/quota-format.d.ts.map +0 -1
  1028. package/lib/types/client/relayone/styles.d.ts.map +0 -1
  1029. package/lib/types/client/relayone/useRelayOneSection.d.ts +0 -30
  1030. package/lib/types/client/relayone/useRelayOneSection.d.ts.map +0 -1
  1031. package/lib/types/client/step-code/StepCodeComposerQuota.d.ts +0 -50
  1032. package/lib/types/client/step-code/StepCodeComposerQuota.d.ts.map +0 -1
  1033. package/lib/types/client/step-code/StepCodeSection.d.ts.map +0 -1
  1034. package/lib/types/client/step-code/api.d.ts.map +0 -1
  1035. package/lib/types/client/step-code/locales.d.ts +0 -657
  1036. package/lib/types/client/step-code/locales.d.ts.map +0 -1
  1037. package/lib/types/client/step-code/styles.d.ts.map +0 -1
  1038. package/lib/types/client/step-code/useStepCodeSection.d.ts +0 -122
  1039. package/lib/types/client/step-code/useStepCodeSection.d.ts.map +0 -1
  1040. package/lib/types/client/store.d.ts.map +0 -1
  1041. package/lib/types/client/styles.d.ts.map +0 -1
  1042. package/lib/types/client/subagent/SubagentCard.d.ts.map +0 -1
  1043. package/lib/types/client/subagent/index.d.ts.map +0 -1
  1044. package/lib/types/client/subagent/locales.d.ts +0 -184
  1045. package/lib/types/client/subagent/locales.d.ts.map +0 -1
  1046. package/lib/types/client/subagent/styles.d.ts.map +0 -1
  1047. package/lib/types/client/subagent/subagent-card-controller.d.ts +0 -352
  1048. package/lib/types/client/subagent/subagent-card-controller.d.ts.map +0 -1
  1049. package/lib/types/client/workbuddy/WorkBuddyComposerQuota.d.ts +0 -34
  1050. package/lib/types/client/workbuddy/WorkBuddyComposerQuota.d.ts.map +0 -1
  1051. package/lib/types/client/workbuddy/WorkBuddySection.d.ts +0 -91
  1052. package/lib/types/client/workbuddy/WorkBuddySection.d.ts.map +0 -1
  1053. package/lib/types/client/workbuddy/locales.d.ts +0 -768
  1054. package/lib/types/client/workbuddy/locales.d.ts.map +0 -1
  1055. package/lib/types/client/workbuddy/styles.d.ts.map +0 -1
  1056. package/lib/types/client/workbuddy/useWorkBuddySection.d.ts +0 -149
  1057. package/lib/types/client/workbuddy/useWorkBuddySection.d.ts.map +0 -1
  1058. package/lib/types/entry-codemode.d.ts +0 -37
  1059. package/lib/types/entry-codemode.d.ts.map +0 -1
  1060. package/lib/types/entry-plan-mode-pipeline.d.ts +0 -206
  1061. package/lib/types/entry-plan-mode-pipeline.d.ts.map +0 -1
  1062. package/lib/types/entry-plan-mode.d.ts +0 -499
  1063. package/lib/types/entry-plan-mode.d.ts.map +0 -1
  1064. package/lib/types/entry-progress-updates.d.ts +0 -43
  1065. package/lib/types/entry-progress-updates.d.ts.map +0 -1
  1066. package/lib/types/entry-tool-result-pruner.d.ts +0 -258
  1067. package/lib/types/entry-tool-result-pruner.d.ts.map +0 -1
  1068. package/lib/types/host/adapter.d.ts.map +0 -1
  1069. package/lib/types/host/agent-preset.d.ts.map +0 -1
  1070. package/lib/types/host/antigravity-acp/acp-client.d.ts.map +0 -1
  1071. package/lib/types/host/antigravity-acp/adapter.d.ts +0 -340
  1072. package/lib/types/host/antigravity-acp/adapter.d.ts.map +0 -1
  1073. package/lib/types/host/antigravity-acp/auth-cache.d.ts +0 -59
  1074. package/lib/types/host/antigravity-acp/auth-cache.d.ts.map +0 -1
  1075. package/lib/types/host/antigravity-acp/binary.d.ts.map +0 -1
  1076. package/lib/types/host/antigravity-acp/catalog.d.ts +0 -107
  1077. package/lib/types/host/antigravity-acp/catalog.d.ts.map +0 -1
  1078. package/lib/types/host/antigravity-acp/doctor.d.ts +0 -73
  1079. package/lib/types/host/antigravity-acp/doctor.d.ts.map +0 -1
  1080. package/lib/types/host/antigravity-acp/errors.d.ts +0 -69
  1081. package/lib/types/host/antigravity-acp/errors.d.ts.map +0 -1
  1082. package/lib/types/host/antigravity-acp/history.d.ts +0 -131
  1083. package/lib/types/host/antigravity-acp/history.d.ts.map +0 -1
  1084. package/lib/types/host/antigravity-acp/login.d.ts +0 -68
  1085. package/lib/types/host/antigravity-acp/login.d.ts.map +0 -1
  1086. package/lib/types/host/antigravity-acp/mcp-bridge.d.ts.map +0 -1
  1087. package/lib/types/host/antigravity-acp/process-temp.d.ts.map +0 -1
  1088. package/lib/types/host/antigravity-acp/routes.d.ts +0 -100
  1089. package/lib/types/host/antigravity-acp/routes.d.ts.map +0 -1
  1090. package/lib/types/host/antigravity-acp/settings.d.ts +0 -81
  1091. package/lib/types/host/antigravity-acp/settings.d.ts.map +0 -1
  1092. package/lib/types/host/antigravity-acp/subagent.d.ts +0 -128
  1093. package/lib/types/host/antigravity-acp/subagent.d.ts.map +0 -1
  1094. package/lib/types/host/antigravity-acp/types.d.ts +0 -155
  1095. package/lib/types/host/antigravity-acp/types.d.ts.map +0 -1
  1096. package/lib/types/host/aws-quick/adapter.d.ts +0 -77
  1097. package/lib/types/host/aws-quick/adapter.d.ts.map +0 -1
  1098. package/lib/types/host/aws-quick/binary.d.ts +0 -3
  1099. package/lib/types/host/aws-quick/binary.d.ts.map +0 -1
  1100. package/lib/types/host/aws-quick/client.d.ts +0 -85
  1101. package/lib/types/host/aws-quick/client.d.ts.map +0 -1
  1102. package/lib/types/host/aws-quick/execution-broker.d.ts.map +0 -1
  1103. package/lib/types/host/aws-quick/images.d.ts +0 -21
  1104. package/lib/types/host/aws-quick/images.d.ts.map +0 -1
  1105. package/lib/types/host/aws-quick/markup.d.ts.map +0 -1
  1106. package/lib/types/host/aws-quick/outpost.d.ts +0 -55
  1107. package/lib/types/host/aws-quick/outpost.d.ts.map +0 -1
  1108. package/lib/types/host/aws-quick/protocol.d.ts +0 -53
  1109. package/lib/types/host/aws-quick/protocol.d.ts.map +0 -1
  1110. package/lib/types/host/aws-quick/routes.d.ts +0 -15
  1111. package/lib/types/host/aws-quick/routes.d.ts.map +0 -1
  1112. package/lib/types/host/aws-quick/settings.d.ts +0 -24
  1113. package/lib/types/host/aws-quick/settings.d.ts.map +0 -1
  1114. package/lib/types/host/aws-quick/tool-bridge.d.ts +0 -67
  1115. package/lib/types/host/aws-quick/tool-bridge.d.ts.map +0 -1
  1116. package/lib/types/host/aws-quick/types.d.ts +0 -12
  1117. package/lib/types/host/aws-quick/types.d.ts.map +0 -1
  1118. package/lib/types/host/cache-warmup/budget.d.ts.map +0 -1
  1119. package/lib/types/host/cache-warmup/contracts.d.ts.map +0 -1
  1120. package/lib/types/host/cache-warmup/index.d.ts.map +0 -1
  1121. package/lib/types/host/cache-warmup/install.d.ts +0 -152
  1122. package/lib/types/host/cache-warmup/install.d.ts.map +0 -1
  1123. package/lib/types/host/cache-warmup/logging.d.ts.map +0 -1
  1124. package/lib/types/host/cache-warmup/projection.d.ts.map +0 -1
  1125. package/lib/types/host/cache-warmup/result-tool.d.ts.map +0 -1
  1126. package/lib/types/host/cache-warmup/retrieval-intent.d.ts.map +0 -1
  1127. package/lib/types/host/cache-warmup/settings.d.ts +0 -84
  1128. package/lib/types/host/cache-warmup/settings.d.ts.map +0 -1
  1129. package/lib/types/host/cache-warmup/store.d.ts.map +0 -1
  1130. package/lib/types/host/cache-warmup/usage.d.ts.map +0 -1
  1131. package/lib/types/host/callback-server.d.ts.map +0 -1
  1132. package/lib/types/host/claude/account-pool.d.ts +0 -583
  1133. package/lib/types/host/claude/account-pool.d.ts.map +0 -1
  1134. package/lib/types/host/claude/adapter.d.ts +0 -415
  1135. package/lib/types/host/claude/adapter.d.ts.map +0 -1
  1136. package/lib/types/host/claude/adopt.d.ts +0 -292
  1137. package/lib/types/host/claude/adopt.d.ts.map +0 -1
  1138. package/lib/types/host/claude/client.d.ts +0 -579
  1139. package/lib/types/host/claude/client.d.ts.map +0 -1
  1140. package/lib/types/host/claude/mapper.d.ts +0 -793
  1141. package/lib/types/host/claude/mapper.d.ts.map +0 -1
  1142. package/lib/types/host/claude/model-catalog.d.ts +0 -560
  1143. package/lib/types/host/claude/model-catalog.d.ts.map +0 -1
  1144. package/lib/types/host/claude/oauth.d.ts +0 -419
  1145. package/lib/types/host/claude/oauth.d.ts.map +0 -1
  1146. package/lib/types/host/claude/routes.d.ts +0 -131
  1147. package/lib/types/host/claude/routes.d.ts.map +0 -1
  1148. package/lib/types/host/claude/token-store.d.ts +0 -331
  1149. package/lib/types/host/claude/token-store.d.ts.map +0 -1
  1150. package/lib/types/host/claude/types.d.ts +0 -415
  1151. package/lib/types/host/claude/types.d.ts.map +0 -1
  1152. package/lib/types/host/claude-api/adapter.d.ts +0 -74
  1153. package/lib/types/host/claude-api/adapter.d.ts.map +0 -1
  1154. package/lib/types/host/claude-api/capability-memory.d.ts +0 -4
  1155. package/lib/types/host/claude-api/capability-memory.d.ts.map +0 -1
  1156. package/lib/types/host/claude-api/catalog-manager.d.ts +0 -57
  1157. package/lib/types/host/claude-api/catalog-manager.d.ts.map +0 -1
  1158. package/lib/types/host/claude-api/client-version.d.ts +0 -4
  1159. package/lib/types/host/claude-api/client-version.d.ts.map +0 -1
  1160. package/lib/types/host/claude-api/client.d.ts +0 -55
  1161. package/lib/types/host/claude-api/client.d.ts.map +0 -1
  1162. package/lib/types/host/claude-api/compaction-store.d.ts.map +0 -1
  1163. package/lib/types/host/claude-api/compaction.d.ts +0 -47
  1164. package/lib/types/host/claude-api/compaction.d.ts.map +0 -1
  1165. package/lib/types/host/claude-api/mapper.d.ts +0 -61
  1166. package/lib/types/host/claude-api/mapper.d.ts.map +0 -1
  1167. package/lib/types/host/claude-api/model-catalog.d.ts +0 -76
  1168. package/lib/types/host/claude-api/model-catalog.d.ts.map +0 -1
  1169. package/lib/types/host/claude-api/routes.d.ts +0 -22
  1170. package/lib/types/host/claude-api/routes.d.ts.map +0 -1
  1171. package/lib/types/host/claude-api/stream.d.ts +0 -88
  1172. package/lib/types/host/claude-api/stream.d.ts.map +0 -1
  1173. package/lib/types/host/claude-api/token-store.d.ts +0 -60
  1174. package/lib/types/host/claude-api/token-store.d.ts.map +0 -1
  1175. package/lib/types/host/claude-api/types.d.ts +0 -68
  1176. package/lib/types/host/claude-api/types.d.ts.map +0 -1
  1177. package/lib/types/host/cline-pass/account-pool.d.ts +0 -63
  1178. package/lib/types/host/cline-pass/account-pool.d.ts.map +0 -1
  1179. package/lib/types/host/cline-pass/adapter.d.ts +0 -58
  1180. package/lib/types/host/cline-pass/adapter.d.ts.map +0 -1
  1181. package/lib/types/host/cline-pass/catalog.d.ts.map +0 -1
  1182. package/lib/types/host/cline-pass/client.d.ts.map +0 -1
  1183. package/lib/types/host/cline-pass/engine.d.ts.map +0 -1
  1184. package/lib/types/host/cline-pass/line.d.ts +0 -55
  1185. package/lib/types/host/cline-pass/line.d.ts.map +0 -1
  1186. package/lib/types/host/cline-pass/mapper.d.ts +0 -138
  1187. package/lib/types/host/cline-pass/mapper.d.ts.map +0 -1
  1188. package/lib/types/host/cline-pass/oauth.d.ts.map +0 -1
  1189. package/lib/types/host/cline-pass/protocol.d.ts.map +0 -1
  1190. package/lib/types/host/cline-pass/routes.d.ts +0 -92
  1191. package/lib/types/host/cline-pass/routes.d.ts.map +0 -1
  1192. package/lib/types/host/cline-pass/store.d.ts +0 -75
  1193. package/lib/types/host/cline-pass/store.d.ts.map +0 -1
  1194. package/lib/types/host/cline-pass/token-store.d.ts +0 -170
  1195. package/lib/types/host/cline-pass/token-store.d.ts.map +0 -1
  1196. package/lib/types/host/cline-pass/tools.d.ts +0 -21
  1197. package/lib/types/host/cline-pass/tools.d.ts.map +0 -1
  1198. package/lib/types/host/cline-pass/types.d.ts.map +0 -1
  1199. package/lib/types/host/codemode/discovery.d.ts.map +0 -1
  1200. package/lib/types/host/codemode/executor.d.ts.map +0 -1
  1201. package/lib/types/host/codemode/retention.d.ts.map +0 -1
  1202. package/lib/types/host/codemode/rules.d.ts.map +0 -1
  1203. package/lib/types/host/codemode/scope.d.ts.map +0 -1
  1204. package/lib/types/host/codemode/transport.d.ts +0 -457
  1205. package/lib/types/host/codemode/transport.d.ts.map +0 -1
  1206. package/lib/types/host/codex-account-pool.d.ts +0 -214
  1207. package/lib/types/host/codex-account-pool.d.ts.map +0 -1
  1208. package/lib/types/host/codex-adopt.d.ts +0 -255
  1209. package/lib/types/host/codex-adopt.d.ts.map +0 -1
  1210. package/lib/types/host/codex-catalog.d.ts +0 -69
  1211. package/lib/types/host/codex-catalog.d.ts.map +0 -1
  1212. package/lib/types/host/codex-fetch.d.ts.map +0 -1
  1213. package/lib/types/host/codex-identity.d.ts +0 -130
  1214. package/lib/types/host/codex-identity.d.ts.map +0 -1
  1215. package/lib/types/host/codex-images.d.ts.map +0 -1
  1216. package/lib/types/host/codex-remote-compaction.d.ts +0 -41
  1217. package/lib/types/host/codex-remote-compaction.d.ts.map +0 -1
  1218. package/lib/types/host/codex-search.d.ts.map +0 -1
  1219. package/lib/types/host/command-code/account-pool.d.ts +0 -72
  1220. package/lib/types/host/command-code/account-pool.d.ts.map +0 -1
  1221. package/lib/types/host/command-code/adapter.d.ts.map +0 -1
  1222. package/lib/types/host/command-code/client.d.ts +0 -126
  1223. package/lib/types/host/command-code/client.d.ts.map +0 -1
  1224. package/lib/types/host/command-code/mapper.d.ts +0 -199
  1225. package/lib/types/host/command-code/mapper.d.ts.map +0 -1
  1226. package/lib/types/host/command-code/model-catalog.d.ts +0 -90
  1227. package/lib/types/host/command-code/model-catalog.d.ts.map +0 -1
  1228. package/lib/types/host/command-code/oauth.d.ts +0 -95
  1229. package/lib/types/host/command-code/oauth.d.ts.map +0 -1
  1230. package/lib/types/host/command-code/plans.d.ts.map +0 -1
  1231. package/lib/types/host/command-code/routes.d.ts +0 -44
  1232. package/lib/types/host/command-code/routes.d.ts.map +0 -1
  1233. package/lib/types/host/command-code/token-store.d.ts +0 -100
  1234. package/lib/types/host/command-code/token-store.d.ts.map +0 -1
  1235. package/lib/types/host/command-code/types.d.ts +0 -222
  1236. package/lib/types/host/command-code/types.d.ts.map +0 -1
  1237. package/lib/types/host/common/claude-capability-memory.d.ts.map +0 -1
  1238. package/lib/types/host/common/claude-code-cch.d.ts.map +0 -1
  1239. package/lib/types/host/common/claude-code-corrections.d.ts.map +0 -1
  1240. package/lib/types/host/common/claude-code-first-party.d.ts +0 -68
  1241. package/lib/types/host/common/claude-code-first-party.d.ts.map +0 -1
  1242. package/lib/types/host/common/claude-code-version.d.ts +0 -90
  1243. package/lib/types/host/common/claude-code-version.d.ts.map +0 -1
  1244. package/lib/types/host/compact-after-turn/index.d.ts +0 -126
  1245. package/lib/types/host/compact-after-turn/index.d.ts.map +0 -1
  1246. package/lib/types/host/compaction-policy-guard.d.ts +0 -65
  1247. package/lib/types/host/compaction-policy-guard.d.ts.map +0 -1
  1248. package/lib/types/host/compaction-prompt.d.ts +0 -129
  1249. package/lib/types/host/compaction-prompt.d.ts.map +0 -1
  1250. package/lib/types/host/compaction-route/index.d.ts +0 -147
  1251. package/lib/types/host/compaction-route/index.d.ts.map +0 -1
  1252. package/lib/types/host/credential-store-secret-service.d.ts.map +0 -1
  1253. package/lib/types/host/deepseek-v41-flash/discipline.d.ts +0 -22
  1254. package/lib/types/host/deepseek-v41-flash/discipline.d.ts.map +0 -1
  1255. package/lib/types/host/deepseek-v41-flash/index.d.ts +0 -70
  1256. package/lib/types/host/deepseek-v41-flash/index.d.ts.map +0 -1
  1257. package/lib/types/host/deepseek-v41-flash/match.d.ts.map +0 -1
  1258. package/lib/types/host/deepseek-v41-flash/observation-tagger.d.ts.map +0 -1
  1259. package/lib/types/host/deepseek-v41-flash/state-anchor.d.ts.map +0 -1
  1260. package/lib/types/host/dispatch-execution-guard.d.ts +0 -181
  1261. package/lib/types/host/dispatch-execution-guard.d.ts.map +0 -1
  1262. package/lib/types/host/dispatch-ledger/binding.d.ts.map +0 -1
  1263. package/lib/types/host/dispatch-ledger/guard.d.ts +0 -281
  1264. package/lib/types/host/dispatch-ledger/guard.d.ts.map +0 -1
  1265. package/lib/types/host/dispatch-ledger/header.d.ts +0 -177
  1266. package/lib/types/host/dispatch-ledger/header.d.ts.map +0 -1
  1267. package/lib/types/host/dispatch-ledger/index.d.ts.map +0 -1
  1268. package/lib/types/host/dispatch-ledger/ledger.d.ts +0 -553
  1269. package/lib/types/host/dispatch-ledger/ledger.d.ts.map +0 -1
  1270. package/lib/types/host/dispatch-ledger/policy.d.ts.map +0 -1
  1271. package/lib/types/host/dispatch-ledger/protocol.d.ts.map +0 -1
  1272. package/lib/types/host/dispatch-ledger/tool.d.ts.map +0 -1
  1273. package/lib/types/host/fetch-address-policy.d.ts.map +0 -1
  1274. package/lib/types/host/fetch-configuration.d.ts +0 -6
  1275. package/lib/types/host/fetch-configuration.d.ts.map +0 -1
  1276. package/lib/types/host/glm-coding-plan/account-pool.d.ts +0 -152
  1277. package/lib/types/host/glm-coding-plan/account-pool.d.ts.map +0 -1
  1278. package/lib/types/host/glm-coding-plan/adapter.d.ts +0 -167
  1279. package/lib/types/host/glm-coding-plan/adapter.d.ts.map +0 -1
  1280. package/lib/types/host/glm-coding-plan/adopt.d.ts +0 -354
  1281. package/lib/types/host/glm-coding-plan/adopt.d.ts.map +0 -1
  1282. package/lib/types/host/glm-coding-plan/biz-token-cache.d.ts +0 -99
  1283. package/lib/types/host/glm-coding-plan/biz-token-cache.d.ts.map +0 -1
  1284. package/lib/types/host/glm-coding-plan/client.d.ts +0 -218
  1285. package/lib/types/host/glm-coding-plan/client.d.ts.map +0 -1
  1286. package/lib/types/host/glm-coding-plan/exchange.d.ts +0 -223
  1287. package/lib/types/host/glm-coding-plan/exchange.d.ts.map +0 -1
  1288. package/lib/types/host/glm-coding-plan/mapper-anthropic.d.ts +0 -388
  1289. package/lib/types/host/glm-coding-plan/mapper-anthropic.d.ts.map +0 -1
  1290. package/lib/types/host/glm-coding-plan/mapper-openai.d.ts +0 -213
  1291. package/lib/types/host/glm-coding-plan/mapper-openai.d.ts.map +0 -1
  1292. package/lib/types/host/glm-coding-plan/model-catalog.d.ts +0 -241
  1293. package/lib/types/host/glm-coding-plan/model-catalog.d.ts.map +0 -1
  1294. package/lib/types/host/glm-coding-plan/oauth.d.ts +0 -211
  1295. package/lib/types/host/glm-coding-plan/oauth.d.ts.map +0 -1
  1296. package/lib/types/host/glm-coding-plan/routes.d.ts +0 -93
  1297. package/lib/types/host/glm-coding-plan/routes.d.ts.map +0 -1
  1298. package/lib/types/host/glm-coding-plan/token-store.d.ts +0 -202
  1299. package/lib/types/host/glm-coding-plan/token-store.d.ts.map +0 -1
  1300. package/lib/types/host/glm-coding-plan/types.d.ts +0 -492
  1301. package/lib/types/host/glm-coding-plan/types.d.ts.map +0 -1
  1302. package/lib/types/host/hub-overview.d.ts +0 -26
  1303. package/lib/types/host/hub-overview.d.ts.map +0 -1
  1304. package/lib/types/host/kimi-code/account-pool.d.ts +0 -124
  1305. package/lib/types/host/kimi-code/account-pool.d.ts.map +0 -1
  1306. package/lib/types/host/kimi-code/adapter.d.ts +0 -454
  1307. package/lib/types/host/kimi-code/adapter.d.ts.map +0 -1
  1308. package/lib/types/host/kimi-code/api-key.d.ts +0 -55
  1309. package/lib/types/host/kimi-code/api-key.d.ts.map +0 -1
  1310. package/lib/types/host/kimi-code/cache-affinity.d.ts +0 -112
  1311. package/lib/types/host/kimi-code/cache-affinity.d.ts.map +0 -1
  1312. package/lib/types/host/kimi-code/cache-hint.d.ts +0 -65
  1313. package/lib/types/host/kimi-code/cache-hint.d.ts.map +0 -1
  1314. package/lib/types/host/kimi-code/cache-wait.d.ts +0 -166
  1315. package/lib/types/host/kimi-code/cache-wait.d.ts.map +0 -1
  1316. package/lib/types/host/kimi-code/client.d.ts +0 -306
  1317. package/lib/types/host/kimi-code/client.d.ts.map +0 -1
  1318. package/lib/types/host/kimi-code/mapper.d.ts +0 -913
  1319. package/lib/types/host/kimi-code/mapper.d.ts.map +0 -1
  1320. package/lib/types/host/kimi-code/media-files.d.ts +0 -206
  1321. package/lib/types/host/kimi-code/media-files.d.ts.map +0 -1
  1322. package/lib/types/host/kimi-code/modalities.d.ts +0 -23
  1323. package/lib/types/host/kimi-code/modalities.d.ts.map +0 -1
  1324. package/lib/types/host/kimi-code/model-catalog.d.ts +0 -125
  1325. package/lib/types/host/kimi-code/model-catalog.d.ts.map +0 -1
  1326. package/lib/types/host/kimi-code/oauth.d.ts +0 -213
  1327. package/lib/types/host/kimi-code/oauth.d.ts.map +0 -1
  1328. package/lib/types/host/kimi-code/repeat-breaker.d.ts +0 -219
  1329. package/lib/types/host/kimi-code/repeat-breaker.d.ts.map +0 -1
  1330. package/lib/types/host/kimi-code/routes.d.ts +0 -52
  1331. package/lib/types/host/kimi-code/routes.d.ts.map +0 -1
  1332. package/lib/types/host/kimi-code/session-cache-state.d.ts +0 -156
  1333. package/lib/types/host/kimi-code/session-cache-state.d.ts.map +0 -1
  1334. package/lib/types/host/kimi-code/token-store.d.ts +0 -182
  1335. package/lib/types/host/kimi-code/token-store.d.ts.map +0 -1
  1336. package/lib/types/host/kimi-code/tool-argument-guard.d.ts +0 -43
  1337. package/lib/types/host/kimi-code/tool-argument-guard.d.ts.map +0 -1
  1338. package/lib/types/host/kimi-code/tool-argument-recovery.d.ts.map +0 -1
  1339. package/lib/types/host/kimi-code/types.d.ts +0 -449
  1340. package/lib/types/host/kimi-code/types.d.ts.map +0 -1
  1341. package/lib/types/host/kimi-code/video-store.d.ts.map +0 -1
  1342. package/lib/types/host/kimi-code/video-tool.d.ts.map +0 -1
  1343. package/lib/types/host/minimax-code/account-pool.d.ts +0 -309
  1344. package/lib/types/host/minimax-code/account-pool.d.ts.map +0 -1
  1345. package/lib/types/host/minimax-code/adapter.d.ts +0 -209
  1346. package/lib/types/host/minimax-code/adapter.d.ts.map +0 -1
  1347. package/lib/types/host/minimax-code/checkin-gateway.d.ts +0 -145
  1348. package/lib/types/host/minimax-code/checkin-gateway.d.ts.map +0 -1
  1349. package/lib/types/host/minimax-code/checkin.d.ts +0 -207
  1350. package/lib/types/host/minimax-code/checkin.d.ts.map +0 -1
  1351. package/lib/types/host/minimax-code/client.d.ts +0 -242
  1352. package/lib/types/host/minimax-code/client.d.ts.map +0 -1
  1353. package/lib/types/host/minimax-code/files-api.d.ts +0 -117
  1354. package/lib/types/host/minimax-code/files-api.d.ts.map +0 -1
  1355. package/lib/types/host/minimax-code/iso-bmff-duration.d.ts +0 -84
  1356. package/lib/types/host/minimax-code/iso-bmff-duration.d.ts.map +0 -1
  1357. package/lib/types/host/minimax-code/mapper.d.ts +0 -351
  1358. package/lib/types/host/minimax-code/mapper.d.ts.map +0 -1
  1359. package/lib/types/host/minimax-code/matrix-client.d.ts +0 -168
  1360. package/lib/types/host/minimax-code/matrix-client.d.ts.map +0 -1
  1361. package/lib/types/host/minimax-code/media-store.d.ts +0 -153
  1362. package/lib/types/host/minimax-code/media-store.d.ts.map +0 -1
  1363. package/lib/types/host/minimax-code/modalities.d.ts +0 -20
  1364. package/lib/types/host/minimax-code/modalities.d.ts.map +0 -1
  1365. package/lib/types/host/minimax-code/model-catalog.d.ts +0 -227
  1366. package/lib/types/host/minimax-code/model-catalog.d.ts.map +0 -1
  1367. package/lib/types/host/minimax-code/oauth.d.ts +0 -220
  1368. package/lib/types/host/minimax-code/oauth.d.ts.map +0 -1
  1369. package/lib/types/host/minimax-code/reset-card.d.ts +0 -136
  1370. package/lib/types/host/minimax-code/reset-card.d.ts.map +0 -1
  1371. package/lib/types/host/minimax-code/routes.d.ts +0 -82
  1372. package/lib/types/host/minimax-code/routes.d.ts.map +0 -1
  1373. package/lib/types/host/minimax-code/runtime-enhancements.d.ts +0 -226
  1374. package/lib/types/host/minimax-code/runtime-enhancements.d.ts.map +0 -1
  1375. package/lib/types/host/minimax-code/token-store.d.ts +0 -328
  1376. package/lib/types/host/minimax-code/token-store.d.ts.map +0 -1
  1377. package/lib/types/host/minimax-code/types.d.ts +0 -378
  1378. package/lib/types/host/minimax-code/types.d.ts.map +0 -1
  1379. package/lib/types/host/minimax-code/video-history.d.ts +0 -240
  1380. package/lib/types/host/minimax-code/video-history.d.ts.map +0 -1
  1381. package/lib/types/host/minimax-code/video-submit-rules.d.ts.map +0 -1
  1382. package/lib/types/host/minimax-code/video-tool.d.ts.map +0 -1
  1383. package/lib/types/host/model-catalog.d.ts +0 -43
  1384. package/lib/types/host/model-catalog.d.ts.map +0 -1
  1385. package/lib/types/host/no-answer-resume/index.d.ts.map +0 -1
  1386. package/lib/types/host/oauth-service.d.ts +0 -242
  1387. package/lib/types/host/oauth-service.d.ts.map +0 -1
  1388. package/lib/types/host/ollama/account-pool.d.ts +0 -65
  1389. package/lib/types/host/ollama/account-pool.d.ts.map +0 -1
  1390. package/lib/types/host/ollama/adapter.d.ts +0 -85
  1391. package/lib/types/host/ollama/adapter.d.ts.map +0 -1
  1392. package/lib/types/host/ollama/client.d.ts +0 -166
  1393. package/lib/types/host/ollama/client.d.ts.map +0 -1
  1394. package/lib/types/host/ollama/mapper.d.ts +0 -49
  1395. package/lib/types/host/ollama/mapper.d.ts.map +0 -1
  1396. package/lib/types/host/ollama/routes.d.ts +0 -22
  1397. package/lib/types/host/ollama/routes.d.ts.map +0 -1
  1398. package/lib/types/host/ollama/token-store.d.ts +0 -78
  1399. package/lib/types/host/ollama/token-store.d.ts.map +0 -1
  1400. package/lib/types/host/ollama/types.d.ts +0 -247
  1401. package/lib/types/host/ollama/types.d.ts.map +0 -1
  1402. package/lib/types/host/opendesign/account-pool.d.ts +0 -54
  1403. package/lib/types/host/opendesign/account-pool.d.ts.map +0 -1
  1404. package/lib/types/host/opendesign/adapter.d.ts +0 -82
  1405. package/lib/types/host/opendesign/adapter.d.ts.map +0 -1
  1406. package/lib/types/host/opendesign/catalog.d.ts.map +0 -1
  1407. package/lib/types/host/opendesign/client.d.ts +0 -304
  1408. package/lib/types/host/opendesign/client.d.ts.map +0 -1
  1409. package/lib/types/host/opendesign/line.d.ts +0 -60
  1410. package/lib/types/host/opendesign/line.d.ts.map +0 -1
  1411. package/lib/types/host/opendesign/mapper.d.ts +0 -218
  1412. package/lib/types/host/opendesign/mapper.d.ts.map +0 -1
  1413. package/lib/types/host/opendesign/oauth.d.ts.map +0 -1
  1414. package/lib/types/host/opendesign/routes.d.ts +0 -75
  1415. package/lib/types/host/opendesign/routes.d.ts.map +0 -1
  1416. package/lib/types/host/opendesign/token-store.d.ts +0 -241
  1417. package/lib/types/host/opendesign/token-store.d.ts.map +0 -1
  1418. package/lib/types/host/opendesign/types.d.ts.map +0 -1
  1419. package/lib/types/host/plan-mode-cache-guard.d.ts.map +0 -1
  1420. package/lib/types/host/platform-token-store.d.ts.map +0 -1
  1421. package/lib/types/host/preferences.d.ts +0 -26
  1422. package/lib/types/host/preferences.d.ts.map +0 -1
  1423. package/lib/types/host/preset-sync.d.ts +0 -161
  1424. package/lib/types/host/preset-sync.d.ts.map +0 -1
  1425. package/lib/types/host/progress-updates/index.d.ts.map +0 -1
  1426. package/lib/types/host/progress-updates/nudge.d.ts.map +0 -1
  1427. package/lib/types/host/progress-updates/projection.d.ts +0 -214
  1428. package/lib/types/host/progress-updates/projection.d.ts.map +0 -1
  1429. package/lib/types/host/progress-updates/prompt.d.ts.map +0 -1
  1430. package/lib/types/host/progress-updates/routes.d.ts.map +0 -1
  1431. package/lib/types/host/progress-updates/store.d.ts.map +0 -1
  1432. package/lib/types/host/progress-updates/tool.d.ts.map +0 -1
  1433. package/lib/types/host/proxy-manager.d.ts +0 -240
  1434. package/lib/types/host/proxy-manager.d.ts.map +0 -1
  1435. package/lib/types/host/ptc-sdk-cache-guard.d.ts +0 -104
  1436. package/lib/types/host/ptc-sdk-cache-guard.d.ts.map +0 -1
  1437. package/lib/types/host/qianwen-token-plan/adapter.d.ts +0 -39
  1438. package/lib/types/host/qianwen-token-plan/adapter.d.ts.map +0 -1
  1439. package/lib/types/host/qianwen-token-plan/cache-stats.d.ts +0 -17
  1440. package/lib/types/host/qianwen-token-plan/cache-stats.d.ts.map +0 -1
  1441. package/lib/types/host/qianwen-token-plan/client.d.ts +0 -5
  1442. package/lib/types/host/qianwen-token-plan/client.d.ts.map +0 -1
  1443. package/lib/types/host/qianwen-token-plan/mapper.d.ts +0 -71
  1444. package/lib/types/host/qianwen-token-plan/mapper.d.ts.map +0 -1
  1445. package/lib/types/host/qianwen-token-plan/model-catalog.d.ts +0 -28
  1446. package/lib/types/host/qianwen-token-plan/model-catalog.d.ts.map +0 -1
  1447. package/lib/types/host/qianwen-token-plan/routes.d.ts +0 -12
  1448. package/lib/types/host/qianwen-token-plan/routes.d.ts.map +0 -1
  1449. package/lib/types/host/qianwen-token-plan/token-store.d.ts +0 -56
  1450. package/lib/types/host/qianwen-token-plan/token-store.d.ts.map +0 -1
  1451. package/lib/types/host/qianwen-token-plan/types.d.ts.map +0 -1
  1452. package/lib/types/host/qoder/account-pool.d.ts +0 -141
  1453. package/lib/types/host/qoder/account-pool.d.ts.map +0 -1
  1454. package/lib/types/host/qoder/adapter.d.ts +0 -169
  1455. package/lib/types/host/qoder/adapter.d.ts.map +0 -1
  1456. package/lib/types/host/qoder/adopt.d.ts +0 -146
  1457. package/lib/types/host/qoder/adopt.d.ts.map +0 -1
  1458. package/lib/types/host/qoder/client.d.ts +0 -323
  1459. package/lib/types/host/qoder/client.d.ts.map +0 -1
  1460. package/lib/types/host/qoder/cosy.d.ts.map +0 -1
  1461. package/lib/types/host/qoder/mapper.d.ts +0 -332
  1462. package/lib/types/host/qoder/mapper.d.ts.map +0 -1
  1463. package/lib/types/host/qoder/model-catalog.d.ts +0 -231
  1464. package/lib/types/host/qoder/model-catalog.d.ts.map +0 -1
  1465. package/lib/types/host/qoder/oauth.d.ts +0 -151
  1466. package/lib/types/host/qoder/oauth.d.ts.map +0 -1
  1467. package/lib/types/host/qoder/routes.d.ts +0 -119
  1468. package/lib/types/host/qoder/routes.d.ts.map +0 -1
  1469. package/lib/types/host/qoder/token-store.d.ts +0 -280
  1470. package/lib/types/host/qoder/token-store.d.ts.map +0 -1
  1471. package/lib/types/host/qoder/types.d.ts +0 -262
  1472. package/lib/types/host/qoder/types.d.ts.map +0 -1
  1473. package/lib/types/host/reasoning-collapse-guard/index.d.ts +0 -364
  1474. package/lib/types/host/reasoning-collapse-guard/index.d.ts.map +0 -1
  1475. package/lib/types/host/relay-probe.d.ts.map +0 -1
  1476. package/lib/types/host/relayone/adapter.d.ts +0 -46
  1477. package/lib/types/host/relayone/adapter.d.ts.map +0 -1
  1478. package/lib/types/host/relayone/catalog-manager.d.ts +0 -44
  1479. package/lib/types/host/relayone/catalog-manager.d.ts.map +0 -1
  1480. package/lib/types/host/relayone/client.d.ts +0 -5
  1481. package/lib/types/host/relayone/client.d.ts.map +0 -1
  1482. package/lib/types/host/relayone/image-tool.d.ts.map +0 -1
  1483. package/lib/types/host/relayone/mapper-anthropic.d.ts +0 -49
  1484. package/lib/types/host/relayone/mapper-anthropic.d.ts.map +0 -1
  1485. package/lib/types/host/relayone/mapper-openai.d.ts +0 -36
  1486. package/lib/types/host/relayone/mapper-openai.d.ts.map +0 -1
  1487. package/lib/types/host/relayone/mapper-shared.d.ts +0 -24
  1488. package/lib/types/host/relayone/mapper-shared.d.ts.map +0 -1
  1489. package/lib/types/host/relayone/media-shared.d.ts +0 -18
  1490. package/lib/types/host/relayone/media-shared.d.ts.map +0 -1
  1491. package/lib/types/host/relayone/model-catalog.d.ts +0 -70
  1492. package/lib/types/host/relayone/model-catalog.d.ts.map +0 -1
  1493. package/lib/types/host/relayone/quota.d.ts +0 -28
  1494. package/lib/types/host/relayone/quota.d.ts.map +0 -1
  1495. package/lib/types/host/relayone/routes.d.ts +0 -17
  1496. package/lib/types/host/relayone/routes.d.ts.map +0 -1
  1497. package/lib/types/host/relayone/token-store.d.ts +0 -49
  1498. package/lib/types/host/relayone/token-store.d.ts.map +0 -1
  1499. package/lib/types/host/relayone/types.d.ts.map +0 -1
  1500. package/lib/types/host/relayone/video-tool.d.ts.map +0 -1
  1501. package/lib/types/host/responses-client.d.ts +0 -125
  1502. package/lib/types/host/responses-client.d.ts.map +0 -1
  1503. package/lib/types/host/responses-mapper.d.ts +0 -133
  1504. package/lib/types/host/responses-mapper.d.ts.map +0 -1
  1505. package/lib/types/host/routes.d.ts +0 -32
  1506. package/lib/types/host/routes.d.ts.map +0 -1
  1507. package/lib/types/host/search-provider-switcher.d.ts +0 -45
  1508. package/lib/types/host/search-provider-switcher.d.ts.map +0 -1
  1509. package/lib/types/host/settled-job-guard.d.ts +0 -77
  1510. package/lib/types/host/settled-job-guard.d.ts.map +0 -1
  1511. package/lib/types/host/step-code/account-pool.d.ts +0 -187
  1512. package/lib/types/host/step-code/account-pool.d.ts.map +0 -1
  1513. package/lib/types/host/step-code/adapter.d.ts +0 -158
  1514. package/lib/types/host/step-code/adapter.d.ts.map +0 -1
  1515. package/lib/types/host/step-code/adopt.d.ts +0 -201
  1516. package/lib/types/host/step-code/adopt.d.ts.map +0 -1
  1517. package/lib/types/host/step-code/cache-stats.d.ts.map +0 -1
  1518. package/lib/types/host/step-code/client.d.ts +0 -339
  1519. package/lib/types/host/step-code/client.d.ts.map +0 -1
  1520. package/lib/types/host/step-code/mapper.d.ts +0 -305
  1521. package/lib/types/host/step-code/mapper.d.ts.map +0 -1
  1522. package/lib/types/host/step-code/model-catalog.d.ts +0 -247
  1523. package/lib/types/host/step-code/model-catalog.d.ts.map +0 -1
  1524. package/lib/types/host/step-code/oauth.d.ts +0 -265
  1525. package/lib/types/host/step-code/oauth.d.ts.map +0 -1
  1526. package/lib/types/host/step-code/routes.d.ts +0 -129
  1527. package/lib/types/host/step-code/routes.d.ts.map +0 -1
  1528. package/lib/types/host/step-code/token-store.d.ts +0 -325
  1529. package/lib/types/host/step-code/token-store.d.ts.map +0 -1
  1530. package/lib/types/host/step-code/types.d.ts +0 -492
  1531. package/lib/types/host/step-code/types.d.ts.map +0 -1
  1532. package/lib/types/host/subagent-model-authorization.d.ts +0 -653
  1533. package/lib/types/host/subagent-model-authorization.d.ts.map +0 -1
  1534. package/lib/types/host/subagent-route-audit.d.ts +0 -154
  1535. package/lib/types/host/subagent-route-audit.d.ts.map +0 -1
  1536. package/lib/types/host/team-policy-cache-guard.d.ts.map +0 -1
  1537. package/lib/types/host/timeline-cache-guard.d.ts +0 -69
  1538. package/lib/types/host/timeline-cache-guard.d.ts.map +0 -1
  1539. package/lib/types/host/token-store-linux.d.ts.map +0 -1
  1540. package/lib/types/host/token-store-macos.d.ts.map +0 -1
  1541. package/lib/types/host/token-store-windows.d.ts.map +0 -1
  1542. package/lib/types/host/token-store.d.ts +0 -81
  1543. package/lib/types/host/token-store.d.ts.map +0 -1
  1544. package/lib/types/host/tool-result-pruner-guard.d.ts +0 -39
  1545. package/lib/types/host/tool-result-pruner-guard.d.ts.map +0 -1
  1546. package/lib/types/host/update-check.d.ts +0 -118
  1547. package/lib/types/host/update-check.d.ts.map +0 -1
  1548. package/lib/types/host/usage-service.d.ts +0 -109
  1549. package/lib/types/host/usage-service.d.ts.map +0 -1
  1550. package/lib/types/host/web-provider-reconciler.d.ts.map +0 -1
  1551. package/lib/types/host/widget-board/line-contracts.d.ts +0 -192
  1552. package/lib/types/host/widget-board/line-contracts.d.ts.map +0 -1
  1553. package/lib/types/host/widget-board/line-quota.d.ts +0 -279
  1554. package/lib/types/host/widget-board/line-quota.d.ts.map +0 -1
  1555. package/lib/types/host/widget-board/line-registry.d.ts +0 -402
  1556. package/lib/types/host/widget-board/line-registry.d.ts.map +0 -1
  1557. package/lib/types/host/widget-board/provider.d.ts.map +0 -1
  1558. package/lib/types/host/wire-auth.d.ts +0 -63
  1559. package/lib/types/host/wire-auth.d.ts.map +0 -1
  1560. package/lib/types/host/workbuddy/account-pool.d.ts +0 -389
  1561. package/lib/types/host/workbuddy/account-pool.d.ts.map +0 -1
  1562. package/lib/types/host/workbuddy/adapter.d.ts +0 -250
  1563. package/lib/types/host/workbuddy/adapter.d.ts.map +0 -1
  1564. package/lib/types/host/workbuddy/atrest.d.ts.map +0 -1
  1565. package/lib/types/host/workbuddy/checkin.d.ts +0 -150
  1566. package/lib/types/host/workbuddy/checkin.d.ts.map +0 -1
  1567. package/lib/types/host/workbuddy/client.d.ts +0 -214
  1568. package/lib/types/host/workbuddy/client.d.ts.map +0 -1
  1569. package/lib/types/host/workbuddy/dsml.d.ts.map +0 -1
  1570. package/lib/types/host/workbuddy/guardrails.d.ts +0 -111
  1571. package/lib/types/host/workbuddy/guardrails.d.ts.map +0 -1
  1572. package/lib/types/host/workbuddy/identity.d.ts.map +0 -1
  1573. package/lib/types/host/workbuddy/mapper.d.ts +0 -238
  1574. package/lib/types/host/workbuddy/mapper.d.ts.map +0 -1
  1575. package/lib/types/host/workbuddy/model-catalog.d.ts +0 -239
  1576. package/lib/types/host/workbuddy/model-catalog.d.ts.map +0 -1
  1577. package/lib/types/host/workbuddy/oauth.d.ts +0 -47
  1578. package/lib/types/host/workbuddy/oauth.d.ts.map +0 -1
  1579. package/lib/types/host/workbuddy/outbound-identity.d.ts +0 -139
  1580. package/lib/types/host/workbuddy/outbound-identity.d.ts.map +0 -1
  1581. package/lib/types/host/workbuddy/routes.d.ts +0 -56
  1582. package/lib/types/host/workbuddy/routes.d.ts.map +0 -1
  1583. package/lib/types/host/workbuddy/token-store.d.ts +0 -370
  1584. package/lib/types/host/workbuddy/token-store.d.ts.map +0 -1
  1585. package/lib/types/host/workbuddy/types.d.ts +0 -185
  1586. package/lib/types/host/workbuddy/types.d.ts.map +0 -1
  1587. /package/{icon.svg → assets/icon.svg} +0 -0
  1588. /package/{progress-updates.svg → assets/progress-updates.svg} +0 -0
  1589. /package/lib/types/client/{codemode → features/codemode}/highlight.d.ts +0 -0
  1590. /package/lib/types/client/{codemode → features/codemode}/styles.d.ts +0 -0
  1591. /package/lib/types/client/{codemode → features/codemode}/tool-name.d.ts +0 -0
  1592. /package/lib/types/client/{compact-after-turn → features/compact-after-turn}/locales.d.ts +0 -0
  1593. /package/lib/types/client/{compact-after-turn → features/compact-after-turn}/styles.d.ts +0 -0
  1594. /package/lib/types/client/{dispatch-ledger → features/dispatch-ledger}/MandateToolView.d.ts +0 -0
  1595. /package/lib/types/client/{dispatch-ledger → features/dispatch-ledger}/locales.d.ts +0 -0
  1596. /package/lib/types/client/{dispatch-ledger → features/dispatch-ledger}/styles.d.ts +0 -0
  1597. /package/lib/types/client/{mermaid → features/mermaid}/renderer.d.ts +0 -0
  1598. /package/lib/types/client/{mermaid → features/mermaid}/sanitize.d.ts +0 -0
  1599. /package/lib/types/client/{mermaid → features/mermaid}/styles.d.ts +0 -0
  1600. /package/lib/types/client/{progress-updates → features/progress-updates}/contracts.d.ts +0 -0
  1601. /package/lib/types/client/{progress-updates → features/progress-updates}/guide-artwork.d.ts +0 -0
  1602. /package/lib/types/client/{progress-updates → features/progress-updates}/locales.d.ts +0 -0
  1603. /package/lib/types/client/{progress-updates → features/progress-updates}/progress-row.d.ts +0 -0
  1604. /package/lib/types/client/{progress-updates → features/progress-updates}/settings-binding.d.ts +0 -0
  1605. /package/lib/types/client/{progress-updates → features/progress-updates}/settings-section.d.ts +0 -0
  1606. /package/lib/types/client/{progress-updates → features/progress-updates}/styles.d.ts +0 -0
  1607. /package/lib/types/client/{progress-updates → features/progress-updates}/tool-name.d.ts +0 -0
  1608. /package/lib/types/client/{progress-updates → features/progress-updates}/updates-panel.d.ts +0 -0
  1609. /package/lib/types/client/{subagent → features/subagent}/SubagentCard.d.ts +0 -0
  1610. /package/lib/types/client/{subagent → features/subagent}/index.d.ts +0 -0
  1611. /package/lib/types/client/{subagent → features/subagent}/styles.d.ts +0 -0
  1612. /package/lib/types/client/{antigravity-acp → providers/antigravity-acp}/AntigravityAcpSection.d.ts +0 -0
  1613. /package/lib/types/client/{antigravity-acp → providers/antigravity-acp}/route.d.ts +0 -0
  1614. /package/lib/types/client/{antigravity-acp → providers/antigravity-acp}/styles.d.ts +0 -0
  1615. /package/lib/types/client/{aws-quick → providers/aws-quick}/AwsQuickSection.d.ts +0 -0
  1616. /package/lib/types/client/{aws-quick → providers/aws-quick}/styles.d.ts +0 -0
  1617. /package/lib/types/client/{claude → providers/claude}/ClaudeSection.d.ts +0 -0
  1618. /package/lib/types/client/{claude → providers/claude}/styles.d.ts +0 -0
  1619. /package/lib/types/client/{claude-api → providers/claude-api}/ClaudeApiSection.d.ts +0 -0
  1620. /package/lib/types/client/{claude-api → providers/claude-api}/api.d.ts +0 -0
  1621. /package/lib/types/client/{claude-api → providers/claude-api}/styles.d.ts +0 -0
  1622. /package/lib/types/client/{cline-pass → providers/cline-pass}/ClinePassSection.d.ts +0 -0
  1623. /package/lib/types/client/{cline-pass → providers/cline-pass}/locales.d.ts +0 -0
  1624. /package/lib/types/client/{cline-pass → providers/cline-pass}/styles.d.ts +0 -0
  1625. /package/lib/types/client/{CodexComposerQuota.d.ts → providers/codex-chatgpt/CodexComposerQuota.d.ts} +0 -0
  1626. /package/lib/types/client/{CodexImageToolView.d.ts → providers/codex-chatgpt/CodexImageToolView.d.ts} +0 -0
  1627. /package/lib/types/client/{store.d.ts → providers/codex-chatgpt/store.d.ts} +0 -0
  1628. /package/lib/types/client/{styles.d.ts → providers/codex-chatgpt/styles.d.ts} +0 -0
  1629. /package/lib/types/client/{command-code → providers/command-code}/CommandCodeSection.d.ts +0 -0
  1630. /package/lib/types/client/{glm-coding-plan → providers/glm-coding-plan}/GlmCodingPlanSection.d.ts +0 -0
  1631. /package/lib/types/client/{glm-coding-plan → providers/glm-coding-plan}/api.d.ts +0 -0
  1632. /package/lib/types/client/{glm-coding-plan → providers/glm-coding-plan}/styles.d.ts +0 -0
  1633. /package/lib/types/client/{kimi-code → providers/kimi-code}/KimiCodeSection.d.ts +0 -0
  1634. /package/lib/types/client/{kimi-code → providers/kimi-code}/staff-art.d.ts +0 -0
  1635. /package/lib/types/client/{kimi-code → providers/kimi-code}/styles.d.ts +0 -0
  1636. /package/lib/types/client/{minimax-code → providers/minimax-code}/MinimaxCodeSection.d.ts +0 -0
  1637. /package/lib/types/client/{minimax-code → providers/minimax-code}/MinimaxVideoToolView.d.ts +0 -0
  1638. /package/lib/types/client/{minimax-code → providers/minimax-code}/VideoSettingsSections.d.ts +0 -0
  1639. /package/lib/types/client/{minimax-code → providers/minimax-code}/commands-contract.d.ts +0 -0
  1640. /package/lib/types/client/{minimax-code → providers/minimax-code}/document-preview.d.ts +0 -0
  1641. /package/lib/types/client/{minimax-code → providers/minimax-code}/styles.d.ts +0 -0
  1642. /package/lib/types/client/{minimax-code → providers/minimax-code}/video-command-icon.d.ts +0 -0
  1643. /package/lib/types/client/{minimax-code → providers/minimax-code}/video-contract.d.ts +0 -0
  1644. /package/lib/types/client/{minimax-code → providers/minimax-code}/video-defaults-store.d.ts +0 -0
  1645. /package/lib/types/client/{minimax-code → providers/minimax-code}/video-media-dropzone.d.ts +0 -0
  1646. /package/lib/types/client/{minimax-code → providers/minimax-code}/video-media-input.d.ts +0 -0
  1647. /package/lib/types/client/{minimax-code → providers/minimax-code}/video-media.d.ts +0 -0
  1648. /package/lib/types/client/{minimax-code → providers/minimax-code}/video-presets.d.ts +0 -0
  1649. /package/lib/types/client/{minimax-code → providers/minimax-code}/video-slots.d.ts +0 -0
  1650. /package/lib/types/client/{minimax-code → providers/minimax-code}/video-workspace.d.ts +0 -0
  1651. /package/lib/types/client/{ollama → providers/ollama}/OllamaSection.d.ts +0 -0
  1652. /package/lib/types/client/{opendesign → providers/opendesign}/OpenDesignSection.d.ts +0 -0
  1653. /package/lib/types/client/{opendesign → providers/opendesign}/locales.d.ts +0 -0
  1654. /package/lib/types/client/{opendesign → providers/opendesign}/styles.d.ts +0 -0
  1655. /package/lib/types/client/{qianwen-token-plan → providers/qianwen-token-plan}/QianwenTokenPlanSection.d.ts +0 -0
  1656. /package/lib/types/client/{qianwen-token-plan → providers/qianwen-token-plan}/api.d.ts +0 -0
  1657. /package/lib/types/client/{qianwen-token-plan → providers/qianwen-token-plan}/styles.d.ts +0 -0
  1658. /package/lib/types/client/{qoder → providers/qoder}/api.d.ts +0 -0
  1659. /package/lib/types/client/{qoder → providers/qoder}/styles.d.ts +0 -0
  1660. /package/lib/types/client/{relayone → providers/relayone}/RelayOneSection.d.ts +0 -0
  1661. /package/lib/types/client/{relayone → providers/relayone}/api.d.ts +0 -0
  1662. /package/lib/types/client/{relayone → providers/relayone}/styles.d.ts +0 -0
  1663. /package/lib/types/client/{step-code → providers/step-code}/StepCodeSection.d.ts +0 -0
  1664. /package/lib/types/client/{step-code → providers/step-code}/api.d.ts +0 -0
  1665. /package/lib/types/client/{step-code → providers/step-code}/styles.d.ts +0 -0
  1666. /package/lib/types/client/{workbuddy → providers/workbuddy}/styles.d.ts +0 -0
  1667. /package/lib/types/host/{fetch-address-policy.d.ts → infra/network/fetch-address-policy.d.ts} +0 -0
  1668. /package/lib/types/host/{relay-probe.d.ts → infra/network/relay-probe.d.ts} +0 -0
  1669. /package/lib/types/host/{web-provider-reconciler.d.ts → infra/network/web-provider-reconciler.d.ts} +0 -0
  1670. /package/lib/types/host/{credential-store-secret-service.d.ts → infra/storage/credential-store-secret-service.d.ts} +0 -0
  1671. /package/lib/types/host/{platform-token-store.d.ts → infra/storage/platform-token-store.d.ts} +0 -0
  1672. /package/lib/types/host/{token-store-linux.d.ts → infra/storage/token-store-linux.d.ts} +0 -0
  1673. /package/lib/types/host/{token-store-macos.d.ts → infra/storage/token-store-macos.d.ts} +0 -0
  1674. /package/lib/types/host/{token-store-windows.d.ts → infra/storage/token-store-windows.d.ts} +0 -0
  1675. /package/lib/types/host/{common → providers/_claude-shared}/claude-capability-memory.d.ts +0 -0
  1676. /package/lib/types/host/{common → providers/_claude-shared}/claude-code-cch.d.ts +0 -0
  1677. /package/lib/types/host/{common → providers/_claude-shared}/claude-code-corrections.d.ts +0 -0
  1678. /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/acp-client.d.ts +0 -0
  1679. /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/binary.d.ts +0 -0
  1680. /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/mcp-bridge.d.ts +0 -0
  1681. /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/process-temp.d.ts +0 -0
  1682. /package/lib/types/host/{aws-quick → providers/aws-quick}/execution-broker.d.ts +0 -0
  1683. /package/lib/types/host/{aws-quick → providers/aws-quick}/markup.d.ts +0 -0
  1684. /package/lib/types/host/{claude-api → providers/claude-api}/compaction-store.d.ts +0 -0
  1685. /package/lib/types/host/{cline-pass → providers/cline-pass}/catalog.d.ts +0 -0
  1686. /package/lib/types/host/{cline-pass → providers/cline-pass}/client.d.ts +0 -0
  1687. /package/lib/types/host/{cline-pass → providers/cline-pass}/engine.d.ts +0 -0
  1688. /package/lib/types/host/{cline-pass → providers/cline-pass}/oauth.d.ts +0 -0
  1689. /package/lib/types/host/{cline-pass → providers/cline-pass}/protocol.d.ts +0 -0
  1690. /package/lib/types/host/{cline-pass → providers/cline-pass}/types.d.ts +0 -0
  1691. /package/lib/types/host/{adapter.d.ts → providers/codex-chatgpt/adapter.d.ts} +0 -0
  1692. /package/lib/types/host/{callback-server.d.ts → providers/codex-chatgpt/callback-server.d.ts} +0 -0
  1693. /package/lib/types/host/{codex-fetch.d.ts → providers/codex-chatgpt/codex-fetch.d.ts} +0 -0
  1694. /package/lib/types/host/{codex-images.d.ts → providers/codex-chatgpt/codex-images.d.ts} +0 -0
  1695. /package/lib/types/host/{codex-search.d.ts → providers/codex-chatgpt/codex-search.d.ts} +0 -0
  1696. /package/lib/types/host/{command-code → providers/command-code}/adapter.d.ts +0 -0
  1697. /package/lib/types/host/{command-code → providers/command-code}/plans.d.ts +0 -0
  1698. /package/lib/types/host/{kimi-code → providers/kimi-code}/tool-argument-recovery.d.ts +0 -0
  1699. /package/lib/types/host/{kimi-code → providers/kimi-code}/video-store.d.ts +0 -0
  1700. /package/lib/types/host/{kimi-code → providers/kimi-code}/video-tool.d.ts +0 -0
  1701. /package/lib/types/host/{minimax-code → providers/minimax-code}/video-submit-rules.d.ts +0 -0
  1702. /package/lib/types/host/{minimax-code → providers/minimax-code}/video-tool.d.ts +0 -0
  1703. /package/lib/types/host/{opendesign → providers/opendesign}/catalog.d.ts +0 -0
  1704. /package/lib/types/host/{opendesign → providers/opendesign}/oauth.d.ts +0 -0
  1705. /package/lib/types/host/{opendesign → providers/opendesign}/types.d.ts +0 -0
  1706. /package/lib/types/host/{qianwen-token-plan → providers/qianwen-token-plan}/types.d.ts +0 -0
  1707. /package/lib/types/host/{qoder → providers/qoder}/cosy.d.ts +0 -0
  1708. /package/lib/types/host/{relayone → providers/relayone}/image-tool.d.ts +0 -0
  1709. /package/lib/types/host/{relayone → providers/relayone}/types.d.ts +0 -0
  1710. /package/lib/types/host/{relayone → providers/relayone}/video-tool.d.ts +0 -0
  1711. /package/lib/types/host/{step-code → providers/step-code}/cache-stats.d.ts +0 -0
  1712. /package/lib/types/host/{workbuddy → providers/workbuddy}/atrest.d.ts +0 -0
  1713. /package/lib/types/host/{workbuddy → providers/workbuddy}/dsml.d.ts +0 -0
  1714. /package/lib/types/host/{workbuddy → providers/workbuddy}/identity.d.ts +0 -0
  1715. /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/budget.d.ts +0 -0
  1716. /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/contracts.d.ts +0 -0
  1717. /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/index.d.ts +0 -0
  1718. /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/logging.d.ts +0 -0
  1719. /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/projection.d.ts +0 -0
  1720. /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/result-tool.d.ts +0 -0
  1721. /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/retrieval-intent.d.ts +0 -0
  1722. /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/store.d.ts +0 -0
  1723. /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/usage.d.ts +0 -0
  1724. /package/lib/types/host/{codemode → runtime/codemode}/discovery.d.ts +0 -0
  1725. /package/lib/types/host/{codemode → runtime/codemode}/executor.d.ts +0 -0
  1726. /package/lib/types/host/{codemode → runtime/codemode}/retention.d.ts +0 -0
  1727. /package/lib/types/host/{codemode → runtime/codemode}/rules.d.ts +0 -0
  1728. /package/lib/types/host/{codemode → runtime/codemode}/scope.d.ts +0 -0
  1729. /package/lib/types/host/{deepseek-v41-flash → runtime/deepseek-v41-flash}/match.d.ts +0 -0
  1730. /package/lib/types/host/{deepseek-v41-flash → runtime/deepseek-v41-flash}/observation-tagger.d.ts +0 -0
  1731. /package/lib/types/host/{deepseek-v41-flash → runtime/deepseek-v41-flash}/state-anchor.d.ts +0 -0
  1732. /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/binding.d.ts +0 -0
  1733. /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/index.d.ts +0 -0
  1734. /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/policy.d.ts +0 -0
  1735. /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/protocol.d.ts +0 -0
  1736. /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/tool.d.ts +0 -0
  1737. /package/lib/types/host/{plan-mode-cache-guard.d.ts → runtime/guards/plan-mode-cache-guard.d.ts} +0 -0
  1738. /package/lib/types/host/{team-policy-cache-guard.d.ts → runtime/guards/team-policy-cache-guard.d.ts} +0 -0
  1739. /package/lib/types/host/{no-answer-resume → runtime/no-answer-resume}/index.d.ts +0 -0
  1740. /package/lib/types/host/{agent-preset.d.ts → runtime/presets/agent-preset.d.ts} +0 -0
  1741. /package/lib/types/host/{progress-updates → runtime/progress-updates}/index.d.ts +0 -0
  1742. /package/lib/types/host/{progress-updates → runtime/progress-updates}/nudge.d.ts +0 -0
  1743. /package/lib/types/host/{progress-updates → runtime/progress-updates}/prompt.d.ts +0 -0
  1744. /package/lib/types/host/{progress-updates → runtime/progress-updates}/routes.d.ts +0 -0
  1745. /package/lib/types/host/{progress-updates → runtime/progress-updates}/store.d.ts +0 -0
  1746. /package/lib/types/host/{progress-updates → runtime/progress-updates}/tool.d.ts +0 -0
  1747. /package/lib/types/host/{widget-board → runtime/widget-board}/provider.d.ts +0 -0
@@ -0,0 +1,130 @@
1
+ /**
2
+ * Get this plugin's bundled agent presets in front of the running harness:
3
+ * either declared at runtime, or copied into the harness-home preset root.
4
+ * @module dsh-chatgpt-subscription/preset-sync
5
+ */
6
+ import type { PresetHost, PresetInstall } from './agent-preset.ts';
7
+ /** The preset directory this package ships. */
8
+ export declare const BUNDLED_PRESET_IDS: readonly string[];
9
+ /**
10
+ * Candidate directories where the running harness or profile packages reside.
11
+ * @param entryScript - harness CLI entry script, defaults to this process's.
12
+ */
13
+ export declare function candidatePackageRoots(entryScript?: string | undefined): string[];
14
+ /**
15
+ * Whether a package or exported subpath is installed in any candidate node_modules tree.
16
+ * A subpath needs its own exact `exports` key; the package root alone is not enough.
17
+ *
18
+ * The nearest manifest on each Node resolution chain is authoritative. Looking
19
+ * farther out after that manifest rejects a subpath would let an unrelated old
20
+ * installation resurrect an export the running package deliberately removed.
21
+ */
22
+ export declare function packageInstalled(specifier: string, roots?: readonly string[]): boolean;
23
+ /** One module-resolution attempt, injectable so stale-tree cases are testable. */
24
+ type ModuleResolver = (specifier: string) => unknown;
25
+ /**
26
+ * Resolve against the installation that will actually mount the preset.
27
+ *
28
+ * `import.meta.resolve` is based at this plugin, while the harness mounts
29
+ * runtime-declared preset rows from its own context. A successful plugin-side
30
+ * resolution is therefore not sufficient for a harness package: an old copy in
31
+ * the profile tree must not override the running harness's missing export.
32
+ * The plugin's own rows are the deliberate exception. With no harness entry,
33
+ * retain the legacy local probe behavior.
34
+ */
35
+ export declare function resolvesFromInstallation(specifier: string, entryScript: string | undefined, resolveFromPlugin: ModuleResolver | undefined): boolean;
36
+ /**
37
+ * Whether a bare specifier resolves in the installation that mounts presets.
38
+ * @param specifier - bare package specifier.
39
+ * @returns whether the specifier resolves.
40
+ */
41
+ export declare function resolvesFromHere(specifier: string): boolean;
42
+ /**
43
+ * Point every renamed package name at the spelling this installation ships.
44
+ *
45
+ * A name that still resolves is left alone, and so is a rename whose
46
+ * replacement does not resolve: with neither spelling present the preset is
47
+ * unresolvable either way, and rewriting would only hide which name was tried.
48
+ * @param content - bundled preset file text.
49
+ * @param resolves - whether a bare specifier resolves in this installation.
50
+ * @returns the text to write, equal to `content` when no rename applies.
51
+ */
52
+ export declare function reconcilePackageNames(content: string, resolves: (specifier: string) => boolean): string;
53
+ /**
54
+ * Reconcile one bundled preset file with the packages this installation ships:
55
+ * a renamed package takes the spelling it carries, and a row it cannot mount is
56
+ * disabled rather than left to mark the whole preset unresolvable.
57
+ * @param content - bundled preset file text.
58
+ * @param resolves - whether a bare specifier resolves in this installation.
59
+ * @returns the text to write.
60
+ */
61
+ export declare function reconcilePreset(content: string, resolves: (specifier: string) => boolean): string;
62
+ /** One preset file's text, rewritten for the running installation. */
63
+ export type PresetFileRewrite = (relativePath: string, content: string) => string;
64
+ /** Rewrite bundled preset text for the packages this installation ships. */
65
+ export declare const rewritePresetFile: PresetFileRewrite;
66
+ /** One sync run's outcome, grouped for diagnostics. */
67
+ export interface PresetSyncResult {
68
+ /** Preset ids whose tree was (re)written this run. */
69
+ synced: string[];
70
+ /** Preset ids already current — nothing copied. */
71
+ current: string[];
72
+ /** Preset ids that failed, with the underlying error message. */
73
+ failed: {
74
+ id: string;
75
+ error: string;
76
+ }[];
77
+ /** Previously bundled preset ids removed from the target root this run. */
78
+ retired: string[];
79
+ }
80
+ /**
81
+ * The package root, found by walking up from this module to the nearest
82
+ * `package.json`.
83
+ *
84
+ * A fixed `../presets/` is wrong here: this module sits two levels below the
85
+ * package root under `src/host/` but is bundled flat into `lib/`, so the same
86
+ * relative specifier resolves to a different directory in each layout. Walking
87
+ * up is layout-independent — it holds under `src/`, under the bundled
88
+ * `lib/`, and when the package is reached through a pnpm symlink or a
89
+ * Windows junction.
90
+ * @returns absolute package root path.
91
+ */
92
+ export declare function packageRoot(): string;
93
+ /** Absolute path of the `presets/` directory shipped inside this package. */
94
+ export declare function bundledPresetsRoot(): string;
95
+ /** The harness-home agent-presets discovery root this plugin syncs into. */
96
+ export declare function presetTargetRoot(home: string): string;
97
+ /**
98
+ * Copy `sourceDir` into `targetDir` idempotently.
99
+ * @param sourceDir - bundled preset directory.
100
+ * @param targetDir - discovery-root directory for the same preset id.
101
+ * @param rewrites - replacement text by path relative to `sourceDir`; a rewritten file is compared by content, since its target carries no source mtime.
102
+ * @returns whether anything was written.
103
+ */
104
+ export declare function syncOnePreset(sourceDir: string, targetDir: string, rewrites?: ReadonlyMap<string, string>): 'synced' | 'current';
105
+ /**
106
+ * Sync every bundled preset into `targetRoot`, then remove ids named in
107
+ * `retire` that the bundle no longer ships. Only those exact ids are removed;
108
+ * every other target directory is left alone.
109
+ * @param sourceRoot - this package's bundled `presets/` directory.
110
+ * @param targetRoot - harness-home agent-presets discovery root.
111
+ * @param retire - previously bundled preset ids to remove when absent from the source.
112
+ * @param rewrite - rewrites preset text for the running installation; omission copies the bundle verbatim.
113
+ * @returns the grouped outcome of the run.
114
+ */
115
+ export declare function syncPresetTrees(sourceRoot: string, targetRoot: string, retire?: readonly string[], rewrite?: PresetFileRewrite): PresetSyncResult;
116
+ /**
117
+ * Make this package's bundled agent presets available on the running harness.
118
+ *
119
+ * The harness-home copy is the mechanism for every generation before 0.1.7,
120
+ * and the fallback for one whose runtime declaration is missing or unusable.
121
+ * It is skipped entirely when the declaration already took the presets: a
122
+ * harness that registers presets from a plugin row reads no discovery root, so
123
+ * the copy would write files nothing reads.
124
+ * @param host - plugin context: the effect seam and the logger.
125
+ * @param install - what the runtime declaration attempt reported.
126
+ * @returns the effect body's disposer, for `ctx.effect`.
127
+ */
128
+ export declare function installBundledPresets(host: PresetHost, install: PresetInstall): () => void;
129
+ export {};
130
+ //# sourceMappingURL=preset-sync.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-sync.d.ts","sourceRoot":"","sources":["../../../../../src/host/runtime/presets/preset-sync.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAElE,+CAA+C;AAC/C,eAAO,MAAM,kBAAkB,EAAE,SAAS,MAAM,EAAiB,CAAA;AAwFjE;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,GAAE,MAAM,GAAG,SAA2B,GAAG,MAAM,EAAE,CAyBjG;AAOD;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,MAAM,EACjB,KAAK,GAAE,SAAS,MAAM,EAA4B,GACjD,OAAO,CAsBT;AAkDD,kFAAkF;AAClF,KAAK,cAAc,GAAG,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAA;AAEpD;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,iBAAiB,EAAE,cAAc,GAAG,SAAS,GAC5C,OAAO,CAqBT;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAG3D;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,GAAG,MAAM,CAUvG;AA6CD;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,GAAG,MAAM,CAEjG;AAED,sEAAsE;AACtE,MAAM,MAAM,iBAAiB,GAAG,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,MAAM,CAAA;AAEjF,4EAA4E;AAC5E,eAAO,MAAM,iBAAiB,EAAE,iBACY,CAAA;AAE5C,uDAAuD;AACvD,MAAM,WAAW,gBAAgB;IAC/B,sDAAsD;IACtD,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,mDAAmD;IACnD,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,iEAAiE;IACjE,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACvC,2EAA2E;IAC3E,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,IAAI,MAAM,CAQpC;AAED,6EAA6E;AAC7E,wBAAgB,kBAAkB,IAAI,MAAM,CAE3C;AAED,4EAA4E;AAC5E,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAErD;AA0FD;;;;;;GAMG;AACH,wBAAgB,aAAa,CAC3B,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,QAAQ,GAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAa,GAChD,QAAQ,GAAG,SAAS,CA+CtB;AAED;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,MAAM,GAAE,SAAS,MAAM,EAAO,EAC9B,OAAO,CAAC,EAAE,iBAAiB,GAC1B,gBAAgB,CAiClB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,aAAa,GAAG,MAAM,IAAI,CAiB1F"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/host/runtime/progress-updates/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAaH,OAAO,EAOL,KAAK,sBAAsB,EAC5B,MAAM,aAAa,CAAA;AAiBpB,sCAAsC;AACtC,MAAM,WAAW,uBAAuB;IACtC,WAAW;IACX,OAAO,EAAE,OAAO,CAAA;IAChB,mCAAmC;IACnC,cAAc,EAAE,MAAM,CAAA;IACtB,sCAAsC;IACtC,QAAQ,EAAE,sBAAsB,CAAA;CACjC;AAED;;;;;;GAMG;AACH,UAAU,SAAS,CAAC,CAAC;IACnB,iBAAiB;IACjB,GAAG,IAAI,CAAC,GAAG,SAAS,CAAA;CACrB;AAED,sBAAsB;AACtB,MAAM,MAAM,0BAA0B,CAAC,CAAC,IAAI,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,SAAS,CAAA;AAExE,mCAAmC;AACnC,MAAM,WAAW,2BAA2B;IAC1C,aAAa;IACb,eAAe,CAAC,EAAE,0BAA0B,CAAC,OAAO,CAAC,CAAA;IACrD,eAAe;IACf,6BAA6B,CAAC,EAAE,0BAA0B,CAAC,MAAM,CAAC,CAAA;IAClE,cAAc;IACd,uBAAuB,CAAC,EAAE,0BAA0B,CAAC,sBAAsB,CAAC,CAAA;CAC7E;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,KAAK,EAAE,0BAA0B,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,SAAS,CAM9F;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAAC,MAAM,CAAC,EAAE,2BAA2B,GAAG,uBAAuB,CAc5G;AAED,YAAY;AACZ,MAAM,WAAW,sBAAsB;IACrC;;;;;;OAMG;IACH,QAAQ,EAAE,MAAM,uBAAuB,CAAA;CACxC;AAED,kDAAkD;AAClD,MAAM,WAAW,sBAAsB;IACrC,6CAA6C;IAC7C,MAAM,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IACrD,oBAAoB;IACpB,EAAE,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAI,EAAE,KAAK,EAAE,KAAK,OAAO,GAAG,MAAM,IAAI,CAAA;IACvE,uCAAuC;IACvC,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;CAC5B;AAgLD;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,sBAAsB,EAAE,OAAO,EAAE,sBAAsB,GAAG,MAAM,IAAI,CAwS/G"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nudge.d.ts","sourceRoot":"","sources":["../../../../../src/host/runtime/progress-updates/nudge.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAIvD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,UAAU,QAUZ,CAAA;AAEX,wCAAwC;AACxC,eAAO,MAAM,iBAAiB,2BAA2B,CAAA;AAEzD,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,gBAAgB;QACxB,mBAAmB;QACnB,wBAAwB,EAAE;YAAE,IAAI,EAAE,wBAAwB,CAAA;SAAE,GAAG;YAAE,IAAI,CAAC,EAAE,QAAQ,CAAC;YAAC,OAAO,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KACrG;CACF;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,WAAW,CAShE;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,wBAAwB;IACxB,QAAQ,CAAC,EAAE,CAAC,EAAE,OAAO,CAAA;IACrB,4BAA4B;IAC5B,QAAQ,CAAC,OAAO,CAAC,EAAE,gBAAgB,CAAA;CACpC;AAED,2CAA2C;AAC3C,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,MAAM,CAAC,EAAE;QAChB,QAAQ,CAAC,EAAE,CAAC,EAAE,OAAO,CAAA;QACrB,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAA;QACzB,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAA;KACjC,CAAA;CACF;AAED,4BAA4B;AAC5B,MAAM,WAAW,kBAAkB;IACjC,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG;QAAE,QAAQ,CAAC,MAAM,CAAC,EAAE;YAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;YAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAA;SAAE,CAAA;KAAE,GAAG,SAAS,CAAA;CACnH;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,UAAU,GAAG,SAAS,EAC7B,QAAQ,CAAC,EAAE,kBAAkB,GAC5B,MAAM,GAAG,SAAS,CAkBpB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,cAAc,GACzC;QAAE,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAC7C,SAAS,CAAA;CACd;AAED;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,UAAU,GAAG,SAAS,EAAE,WAAW,CAAC,EAAE,kBAAkB,GAAG,MAAM,GAAG,SAAS,CAY7G"}
@@ -0,0 +1,181 @@
1
+ /**
2
+ * 「进展更新」的会话投影:把日志里的 progress_update 调用折叠成一条条进展。
3
+ * @module dsh-chatgpt-subscription/host/progress-updates/projection
4
+ */
5
+ import { z } from 'zod';
6
+ import { type ProgressUpdate } from './store.ts';
7
+ /** 投影键:宿主读状态、客户端取 wire 值都用这个名字。 */
8
+ export declare const PROGRESS_UPDATES_PROJECTION_KEY = "progressUpdates";
9
+ /**
10
+ * 折叠状态的持久化版本。
11
+ *
12
+ * 投影缓存按 `(sessionId, key, ver, seq, val)` 落盘。字段结构或折叠语义一变就
13
+ * +1:版本对不上的旧行会被丢弃重折,而不是被续折成一份混着两套语义的垃圾。
14
+ */
15
+ export declare const PROGRESS_UPDATES_STATE_VERSION = 2;
16
+ /**
17
+ * 折叠出来的状态。
18
+ *
19
+ * 只有一条环形缓冲 —— `roundsSinceUpdate` / `nudges` 是催促节奏的进程内状态,
20
+ * 不进日志,也不该被缓存下来。
21
+ *
22
+ * `source` 记的是这一份折叠属于哪个会话(投影契约的 `init(header)` 拿得到,
23
+ * `apply` 拿不到)。它喂给每条进展的 `source` 字段,同时是 id 的后缀:合并整棵
24
+ * 委派树时靠它区分不同会话里从 0 开始的 seq。
25
+ */
26
+ export interface ProgressUpdatesProjectionState {
27
+ /** 进展环形缓冲,按产生顺序排列,最多 {@link MAX_UPDATES} 条。 */
28
+ updates: ProgressUpdate[];
29
+ /** 这一份折叠所属的会话 id(来自会话头);拿不到会话头时缺省。 */
30
+ source?: string;
31
+ }
32
+ /** `apply` 会读到的会话事件字段(结构化;真实类型是 `SessionEvent` 的可判空子集)。 */
33
+ export interface ProjectionEventLike {
34
+ /** 事件类型判别值;只认 `'tool/call'`。 */
35
+ readonly type?: unknown;
36
+ /** 事件在会话日志里的序号(单调、重放稳定);进展 id 用它。 */
37
+ readonly seq?: unknown;
38
+ /** 事件时刻,Unix 毫秒;进展的 `at` 用它。 */
39
+ readonly time?: unknown;
40
+ /** 事件载荷;`tool/call` 下是 `{ turn, step, callId, name, arguments }`。 */
41
+ readonly data?: unknown;
42
+ }
43
+ /** `init` 会读到的会话头字段。 */
44
+ export interface ProjectionHeaderLike {
45
+ /** 会话 id。 */
46
+ readonly id?: unknown;
47
+ }
48
+ /**
49
+ * 一个投影单元的定义(结构上满足 `@deepseek-ai/dsh-session-projection` 的
50
+ * `ProjectionDefinition`,刻意不做运行时 import)。
51
+ */
52
+ export interface ProgressUpdatesProjectionDefinition {
53
+ /**
54
+ * 投影键。
55
+ *
56
+ * 写成**字面量类型**而不是 `string`:投影契约的 `register()` 要求键是合并过的
57
+ * 投影键联合的成员,宽化成 `string` 会让这份定义在同一条调用上不可赋值。这里
58
+ * 不收窄的话,将来谁把结构化声明换回官方类型时会撞上一个与运行期无关的编译错。
59
+ */
60
+ readonly key: 'progressUpdates';
61
+ /** 折叠状态的持久化版本。 */
62
+ readonly stateVersion: number;
63
+ /**
64
+ * 校验持久化状态,避免旧缓存被续折成垃圾。
65
+ *
66
+ * 类型直接写 zod 的 `ZodType`,**不要**自己声明一个"只要有 parse"的结构类型:
67
+ * 投影契约要的就是它本人,声明宽了在真正调用 `register()` 时不可赋值(实测:
68
+ * 宽声明能骗过这里的类型检查,却会在换成官方类型的那一刻炸出来)。zod 本来就是
69
+ * 本插件的运行时依赖,这样写既没有额外负担,也顺带把折叠状态钉在编译期。
70
+ */
71
+ readonly stateSchema: z.ZodType<ProgressUpdatesProjectionState>;
72
+ /**
73
+ * 空日志的初始状态。
74
+ * @param header - 被投影会话的不可变元数据。
75
+ * @param inheritedEventCount - fork 继承的前缀长度;本单元用不到(继承来的事件
76
+ * 同样是日志的一部分,照常折叠)。
77
+ * @returns 初始状态。
78
+ */
79
+ init(header: ProjectionHeaderLike, inheritedEventCount: unknown): ProgressUpdatesProjectionState;
80
+ /**
81
+ * 纯转换:上一条状态 + 一条已提交事件 → 下一条状态。
82
+ * @param state - 覆盖了此前全部事件的状态。
83
+ * @param event - 下一条已提交的会话事件。
84
+ * @returns 新状态;事件与本单元无关时返回**同一个引用**。
85
+ */
86
+ apply(state: ProgressUpdatesProjectionState, event: ProjectionEventLike): ProgressUpdatesProjectionState;
87
+ /** 客户端视图:交给浏览器半边的就是现有的 `ProgressUpdate[]` 形状。 */
88
+ readonly wire: {
89
+ /** 出去的 wire 值先过一遍 schema。 */
90
+ readonly viewSchema: z.ZodType<readonly ProgressUpdate[]>;
91
+ /**
92
+ * 状态 → wire 值。
93
+ *
94
+ * 返回的必须是**稳定引用**:投影驱动按 `Object.is` 比较两次结果,只有引用变了
95
+ * 才会发布。`state.updates` 正好只有「真的多了一条进展」时才换引用。
96
+ * @param state - 当前状态。
97
+ * @returns 该单元的整个当前值。
98
+ */
99
+ view(state: ProgressUpdatesProjectionState): readonly ProgressUpdate[];
100
+ };
101
+ }
102
+ /**
103
+ * 会话投影服务里本模块会读的那部分(结构化类型)。
104
+ *
105
+ * 三个成员都按可选声明:`register` 之外的读值入口在不同 harness 代次里叫法不同,
106
+ * 缺哪个就少一条读取路径,而不是让整个插件挂不上。
107
+ */
108
+ export interface SessionProjectionServiceLike {
109
+ /**
110
+ * 登记一个投影单元。
111
+ * @param definition - 键、schema、纯函数与版本号。
112
+ * @returns 注销该单元的函数。
113
+ */
114
+ register?(definition: ProgressUpdatesProjectionDefinition): () => void;
115
+ /**
116
+ * 读一个单元在某个会话上的**宿主状态**。
117
+ * @param session - 会话对象。
118
+ * @param key - 投影键。
119
+ * @returns 状态;键没有登记时 undefined。
120
+ */
121
+ stateOf?(session: unknown, key: string): unknown;
122
+ /**
123
+ * 读一份客户端可见的一致切面。
124
+ * @param session - 会话对象。
125
+ * @param keys - 想读的 wire 键。
126
+ * @returns 带 `values` 的切面。
127
+ */
128
+ snapshot?(session: unknown, keys?: readonly string[]): {
129
+ values?: Readonly<Record<string, unknown>>;
130
+ } | undefined;
131
+ }
132
+ /** 折叠状态的 schema(宿主状态)。 */
133
+ export declare const progressUpdatesStateSchema: z.ZodObject<{
134
+ updates: z.ZodArray<z.ZodObject<{
135
+ id: z.ZodString;
136
+ title: z.ZodOptional<z.ZodString>;
137
+ message: z.ZodString;
138
+ at: z.ZodNumber;
139
+ source: z.ZodOptional<z.ZodString>;
140
+ }, z.core.$strip>>;
141
+ source: z.ZodOptional<z.ZodString>;
142
+ }, z.core.$strip>;
143
+ /** wire 值的 schema(客户端看到的数组)。 */
144
+ export declare const progressUpdatesViewSchema: z.ZodArray<z.ZodObject<{
145
+ id: z.ZodString;
146
+ title: z.ZodOptional<z.ZodString>;
147
+ message: z.ZodString;
148
+ at: z.ZodNumber;
149
+ source: z.ZodOptional<z.ZodString>;
150
+ }, z.core.$strip>>;
151
+ /**
152
+ * 造一个进展折叠单元。
153
+ *
154
+ * 每次登记都要一份**新的**定义对象:它是纯函数集合,没有跨会话的状态,但把
155
+ * `init` 闭包里的会话头漏进来就会把不同会话串成一份。
156
+ * @returns 可交给 `sessionProjections.register` 的定义。
157
+ */
158
+ export declare function progressUpdatesProjection(): ProgressUpdatesProjectionDefinition;
159
+ /**
160
+ * 读一个会话上折叠出来的进展。
161
+ *
162
+ * 两条读取路径,都按**不可用就当没读到**处理(返回 undefined,调用方回退到内存
163
+ * 实现):先问 `stateOf`(宿主状态,最直接),没有再问 `snapshot`(wire 切面,
164
+ * 老一点的投影服务上只有它)。读出来的值一律过 schema,形状不对就当投影不可用 ——
165
+ * 宁可用进程内那份,也不要把一份坏数据渲染成历史。
166
+ * @param projections - 会话投影服务。
167
+ * @param session - 会话对象。
168
+ * @returns 该会话的进展;投影不可用时 undefined。
169
+ */
170
+ export declare function readProjectedUpdates(projections: SessionProjectionServiceLike, session: unknown): ProgressUpdate[] | undefined;
171
+ /**
172
+ * 把多个会话的进展合并成一份。
173
+ *
174
+ * 按 `at` 升序排(同一毫秒时按输入顺序,JS 的排序是稳定的:传入方把"被查询的
175
+ * 会话自己"放在最前面),再按 {@link MAX_UPDATES} 截断保留最新的。整棵委派树共用
176
+ * 一份进展是今天的语义,所以合并后的上限与单会话一致,不随子会话数量膨胀。
177
+ * @param lists - 各会话各自的进展(每条已各自截断过)。
178
+ * @returns 合并后的进展,最多 {@link MAX_UPDATES} 条。
179
+ */
180
+ export declare function mergeProjectedUpdates(lists: readonly (readonly ProgressUpdate[])[]): ProgressUpdate[];
181
+ //# sourceMappingURL=projection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projection.d.ts","sourceRoot":"","sources":["../../../../../src/host/runtime/progress-updates/projection.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAA2B,KAAK,cAAc,EAAE,MAAM,YAAY,CAAA;AAGzE,mCAAmC;AACnC,eAAO,MAAM,+BAA+B,oBAAoB,CAAA;AAEhE;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,IAAI,CAAA;AAE/C;;;;;;;;;GASG;AACH,MAAM,WAAW,8BAA8B;IAC7C,+CAA+C;IAC/C,OAAO,EAAE,cAAc,EAAE,CAAA;IACzB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,2DAA2D;AAC3D,MAAM,WAAW,mBAAmB;IAClC,gCAAgC;IAChC,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAA;IACvB,qCAAqC;IACrC,QAAQ,CAAC,GAAG,CAAC,EAAE,OAAO,CAAA;IACtB,gCAAgC;IAChC,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAA;IACvB,qEAAqE;IACrE,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,wBAAwB;AACxB,MAAM,WAAW,oBAAoB;IACnC,aAAa;IACb,QAAQ,CAAC,EAAE,CAAC,EAAE,OAAO,CAAA;CACtB;AAED;;;GAGG;AACH,MAAM,WAAW,mCAAmC;IAClD;;;;;;OAMG;IACH,QAAQ,CAAC,GAAG,EAAE,iBAAiB,CAAA;IAC/B,kBAAkB;IAClB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;IAC7B;;;;;;;OAOG;IACH,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,8BAA8B,CAAC,CAAA;IAC/D;;;;;;OAMG;IACH,IAAI,CAAC,MAAM,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,OAAO,GAAG,8BAA8B,CAAA;IAChG;;;;;OAKG;IACH,KAAK,CAAC,KAAK,EAAE,8BAA8B,EAAE,KAAK,EAAE,mBAAmB,GAAG,8BAA8B,CAAA;IACxG,iDAAiD;IACjD,QAAQ,CAAC,IAAI,EAAE;QACb,6BAA6B;QAC7B,QAAQ,CAAC,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,cAAc,EAAE,CAAC,CAAA;QACzD;;;;;;;WAOG;QACH,IAAI,CAAC,KAAK,EAAE,8BAA8B,GAAG,SAAS,cAAc,EAAE,CAAA;KACvE,CAAA;CACF;AAED;;;;;GAKG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;;;OAIG;IACH,QAAQ,CAAC,CAAC,UAAU,EAAE,mCAAmC,GAAG,MAAM,IAAI,CAAA;IACtE;;;;;OAKG;IACH,OAAO,CAAC,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;IAChD;;;;;OAKG;IACH,QAAQ,CAAC,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG;QAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;KAAE,GAAG,SAAS,CAAA;CAClH;AAWD,0BAA0B;AAC1B,eAAO,MAAM,0BAA0B;;;;;;;;;iBAGrC,CAAA;AAEF,gCAAgC;AAChC,eAAO,MAAM,yBAAyB;;;;;;kBAAyB,CAAA;AA8D/D;;;;;;GAMG;AACH,wBAAgB,yBAAyB,IAAI,mCAAmC,CAuD/E;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,4BAA4B,EACzC,OAAO,EAAE,OAAO,GACf,cAAc,EAAE,GAAG,SAAS,CA0B9B;AAED;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,SAAS,CAAC,SAAS,cAAc,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,CAIrG"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../../../../src/host/runtime/progress-updates/prompt.ts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAEvD;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,4BAA4B,CAAA;AAE9D;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,MAAM,CAAA;AAEzC;;;;;;;;GAQG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAEhE,qCAAqC;AACrC,eAAO,MAAM,yBAAyB,EAAE,SAAS,sBAAsB,EAA+B,CAAA;AAEtG;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,QAalB,CAAA;AAEZ;;;;;GAKG;AACH,eAAO,MAAM,4BAA4B,EAAE,QAAQ,CAAC,MAAM,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAKzF,CAAA;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,sBAAsB,GAAG,MAAM,CAElF;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,wBAAwB,QAAoC,CAAA;AAEzE;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,IAAI,MAAM,MAAM,CAElD;AAED;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,8BAA8B,CAAA;AAEtE,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,gBAAgB;QACxB,wCAAwC;QACxC,2BAA2B,EAAE;YAAE,IAAI,EAAE,2BAA2B,CAAA;SAAE,GAAG;YAAE,IAAI,CAAC,EAAE,QAAQ,CAAC;YAAC,OAAO,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KAC3G;CACF;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,sBAAsB,GAAG,MAAM,CAInF;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,IAAI,MAAM,CAIlD;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,WAAW,CAK/E;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,mCAAmC;IACnC,QAAQ,CAAC,MAAM,CAAC,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAA;IACrE,uBAAuB;IACvB,QAAQ,CAAC,UAAU,EAAE,sBAAsB,CAAA;CAC5C;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,sBAAsB,EAC/B,UAAU,EAAE,sBAAsB,GAAG,SAAS,GAC7C,qBAAqB,CAavB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../../../src/host/runtime/progress-updates/routes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAEhD,eAAe;AACf,eAAO,MAAM,mBAAmB,8BAA8B,CAAA;AAE9D,mBAAmB;AACnB,eAAO,MAAM,qBAAqB,QAAmC,CAAA;AAuErE;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,cAAc,EAAE,CAAA;CACxD;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,qBAAqB,GAAG,QAAQ,CAahF"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../../../src/host/runtime/progress-updates/store.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,wBAAwB;AACxB,eAAO,MAAM,WAAW,KAAK,CAAA;AAE7B,uCAAuC;AACvC,eAAO,MAAM,eAAe,IAAI,CAAA;AAEhC,gBAAgB;AAChB,MAAM,WAAW,cAAc;IAC7B,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAA;IACV,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mDAAmD;IACnD,OAAO,EAAE,MAAM,CAAA;IACf,uBAAuB;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,+BAA+B;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,qBAAqB;AACrB,MAAM,WAAW,mBAAmB;IAClC,+CAA+C;IAC/C,OAAO,EAAE,cAAc,EAAE,CAAA;IACzB,4BAA4B;IAC5B,iBAAiB,EAAE,MAAM,CAAA;IACzB,oBAAoB;IACpB,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAEnD;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,SAAS,cAAc,EAAE,GAAG,cAAc,EAAE,CAE5E;AAKD;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAG/C;AAED,kCAAkC;AAClC,MAAM,WAAW,mBAAmB;IAClC,oCAAoC;IACpC,KAAK,IAAI,mBAAmB,CAAA;IAC5B,4CAA4C;IAC5C,IAAI,CAAC,MAAM,EAAE,cAAc,GAAG,mBAAmB,CAAA;IACjD,6BAA6B;IAC7B,SAAS,IAAI,MAAM,CAAA;IACnB,uBAAuB;IACvB,WAAW,IAAI,mBAAmB,CAAA;IAClC,6BAA6B;IAC7B,UAAU,IAAI,mBAAmB,CAAA;IACjC,oBAAoB;IACpB,KAAK,IAAI,mBAAmB,CAAA;CAC7B;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,IAAI,mBAAmB,CA0B/D"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../../../../src/host/runtime/progress-updates/tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAE5D,OAAO,EAAgB,KAAK,cAAc,EAAE,MAAM,YAAY,CAAA;AAE9D,4BAA4B;AAC5B,eAAO,MAAM,gBAAgB,oBAAoB,CAAA;AAEjD,iDAAiD;AACjD,eAAO,MAAM,oBAAoB,iEAAiE,CAAA;AAElG,iBAAiB;AACjB,eAAO,MAAM,2BAA2B,QAe7B,CAAA;AAEX,wCAAwC;AACxC,MAAM,WAAW,kBAAkB;IACjC,yBAAyB;IACzB,IAAI,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAA;CACtC;AAED,sCAAsC;AACtC,MAAM,WAAW,oBAAoB;IACnC,sBAAsB;IACtB,SAAS,EAAE,OAAO,CAAA;CACnB;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE;IAC7C,0BAA0B;IAC1B,SAAS,EAAE,MAAM,OAAO,CAAA;IACxB,uCAAuC;IACvC,IAAI,CAAC,EAAE,MAAM,kBAAkB,GAAG,SAAS,CAAA;IAC3C,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,MAAM,GAAG,SAAS,CAAA;CACjD,GAAG,cAAc,CAgDjB"}
@@ -0,0 +1,304 @@
1
+ /**
2
+ * Reasoning-collapse guard.
3
+ */
4
+ /**
5
+ * The subset of `llm/stream` options this guard reads.
6
+ *
7
+ * `sessionId` is what binds a stream to the Agent that owns it, and
8
+ * `purpose` tells a conversation call from an auxiliary one (compaction,
9
+ * session title) that owns no turn to resume. Both are plain request fields:
10
+ * the guard adds no generation-bound named import to learn them.
11
+ */
12
+ export interface GuardStreamOptions {
13
+ readonly provider?: string | undefined;
14
+ readonly model?: string | undefined;
15
+ readonly signal?: AbortSignal | undefined;
16
+ /** Stamped by the agent loop on every request it builds. */
17
+ readonly sessionId?: string | undefined;
18
+ /** Absent on an ordinary conversation request; set on an auxiliary call. */
19
+ readonly purpose?: string | undefined;
20
+ }
21
+ /** A chunk as it crosses the stream boundary; only the reasoning delta is read. */
22
+ export interface GuardChunk {
23
+ readonly type: string;
24
+ readonly text?: string | undefined;
25
+ }
26
+ /** Live Agent methods the guard calls. Optional so an older shape stays loadable. */
27
+ export interface GuardAgentLike {
28
+ /** The Agent's session identity — the same value the loop stamps on requests. */
29
+ readonly id?: unknown;
30
+ cancel?(cause: {
31
+ kind: 'hook';
32
+ reason: string;
33
+ }, options?: {
34
+ keepInbox?: boolean;
35
+ }): void;
36
+ steer?(message: unknown): void;
37
+ }
38
+ /** The `llm/stream` waterfall listener the guard registers. */
39
+ export type GuardStreamListener = (options: GuardStreamOptions, next: () => AsyncIterable<GuardChunk>) => AsyncIterable<GuardChunk>;
40
+ /** The `agent/created` / `agent/disposed` listener the guard registers. */
41
+ export type GuardAgentEventListener = (payload: {
42
+ agent: unknown;
43
+ }) => void;
44
+ /** Either listener {@link ReasoningCollapseContext.on} accepts. */
45
+ export type GuardListener = GuardStreamListener | GuardAgentEventListener;
46
+ /** Listener options accepted by the harness event bus. */
47
+ export interface GuardListenerOptions {
48
+ /** Receive the event regardless of context filter checks. */
49
+ readonly global?: boolean;
50
+ }
51
+ /**
52
+ * The Context surface the guard needs, declared structurally so it loads on
53
+ * every supported harness generation without importing generation-bound types.
54
+ */
55
+ export interface ReasoningCollapseContext {
56
+ on?: (event: 'llm/stream' | 'agent/created' | 'agent/disposed', listener: GuardListener, options?: GuardListenerOptions) => unknown;
57
+ logger?: {
58
+ warn(message: string): void;
59
+ } | undefined;
60
+ /**
61
+ * Read one service from the store, with no `inject` requirement.
62
+ *
63
+ * This is the read that actually reaches the Agent registry. `ctx.agents`
64
+ * below is a property read, and Cordis throws for a property the plugin did
65
+ * not declare in its `inject` list — the registry is provided by a SIBLING
66
+ * fiber (`@deepseek-ai/dsh-agent`), not by this plugin's own context — so
67
+ * the property path is the one that fails in a real host. `ctx.get` reads
68
+ * the service store directly and therefore needs no declaration. Optional so
69
+ * a host without the reader keeps the property fallback.
70
+ */
71
+ get?(name: string): unknown;
72
+ /**
73
+ * The harness Agent registry, read so a guard installed after an Agent was
74
+ * created can still resolve it. A host without the service degrades to the
75
+ * `agent/created` map rather than failing this plugin's load.
76
+ */
77
+ readonly agents?: {
78
+ get(id: unknown): unknown;
79
+ } | undefined;
80
+ }
81
+ /** Configuration for {@link installReasoningCollapseGuard}. */
82
+ export interface GuardOptions {
83
+ /** Trailing reasoning characters scored per request (default 4096). */
84
+ windowChars?: number;
85
+ /** Characters required before a score is computed (default 1500). */
86
+ minWindowChars?: number;
87
+ /** Collapse score at or above which the stream is stopped (default 0.85). */
88
+ threshold?: number;
89
+ /** N-gram size for both halves of the score (default 8). */
90
+ ngramSize?: number;
91
+ /** Stops per turn before the guard stops resuming (default 3). */
92
+ maxBreaksPerTurn?: number;
93
+ /** Minimum milliseconds between two stops (default 30000). */
94
+ cooldownMs?: number;
95
+ /** Model ids to watch; empty watches every model. */
96
+ includeModels?: string[];
97
+ /** Optional predicate narrowing which streams this guard instance watches. */
98
+ matchRequest?: ((request: GuardStreamOptions) => boolean) | undefined;
99
+ /**
100
+ * Recurrence score at or above which the semantic signal is considered to
101
+ * hold (default 0.35).
102
+ *
103
+ * Measured on the trailing window: the three healthy fixtures peak at 0.19,
104
+ * 0.17 and 0.17 across every streaming prefix, while a paraphrased loop and
105
+ * the verbatim loop score 0.75 and 0.99. 0.35 sits near the geometric mean
106
+ * of that gap, roughly 1.8x above the worst healthy prefix.
107
+ */
108
+ semanticThreshold?: number;
109
+ /**
110
+ * Sentences a claim must be separated from to count as recurrence
111
+ * (default 6).
112
+ *
113
+ * Zero would make healthy enumeration look degenerate: item N of a list
114
+ * legitimately shares most of its wording with item N-1. Requiring the
115
+ * earlier sentence to be at least this far back keeps the measurement on
116
+ * "the model said this before" rather than "the model is still on this point".
117
+ */
118
+ semanticLag?: number;
119
+ /**
120
+ * Characters required before the semantic signal is scored (default 360).
121
+ *
122
+ * Deliberately its own floor, well below `minWindowChars`: a real trace
123
+ * emitted 16 steps of which only one crossed 1500 characters, so the
124
+ * literal signal saw a single step of a whole turn. The two floors are
125
+ * separate knobs because they answer different questions — the literal one
126
+ * is about how much text a duplicate needs to be visible in, the semantic
127
+ * one about how much text a recurrence needs to be measurable in.
128
+ */
129
+ semanticMinChars?: number;
130
+ /** Sentences required before recurrence is scored (default 8). */
131
+ semanticMinSentences?: number;
132
+ /**
133
+ * Consecutive windows in which both signals must hold before a break
134
+ * (default 3).
135
+ *
136
+ * Counted independently of the per-turn break budget, which bounds how often
137
+ * the guard may act, not how sure it must be. A stream delivers a scoring
138
+ * window every few dozen characters, so three confirmations cost a few
139
+ * hundred wasted tokens against a runaway measured in the tens of thousands.
140
+ */
141
+ semanticConfirmations?: number;
142
+ /**
143
+ * Lowest literal score the low-literal path will act on (default 0.6).
144
+ *
145
+ * A paraphrased loop sits far below `threshold` — measured at 0.676 for a
146
+ * model restating twelve conclusions in fresh words, against 0.85 for
147
+ * verbatim repetition. So a strong semantic signal has to be allowed to
148
+ * carry a decision the literal signal cannot make on its own.
149
+ *
150
+ * The floor exists because a low score is not the same as a high one: 0.6 is
151
+ * evidence that something is repeating, 0.2 is a short trace that has not
152
+ * repeated long enough to say anything. Measured healthy literal peaks at
153
+ * 0.276, so 0.6 keeps a 2.2x margin over every healthy prefix.
154
+ */
155
+ semanticLiteralFloor?: number;
156
+ /**
157
+ * Semantic score the low-literal path demands (default 0.45).
158
+ *
159
+ * Strictly greater than `semanticThreshold`, and validated as such. The literal
160
+ * evidence on this path is weaker by construction, so the semantic evidence
161
+ * has to be stronger: 0.45 against a measured healthy peak of 0.194 is a
162
+ * 2.3x margin, while a paraphrase loop measures 0.77.
163
+ */
164
+ semanticStrictThreshold?: number;
165
+ /**
166
+ * Most of a window's sentences may be distinct and still be eligible for the
167
+ * low-literal path (default 0.47).
168
+ *
169
+ * This is the dimension that separates a model circling from a model
170
+ * listing. Both reuse a frame heavily and both score high on recurrence, but
171
+ * a list writes a sentence that has never been written before on every line
172
+ * — measured at 1.000 distinct, against 0.42 for a paraphrase loop and 0.075
173
+ * for a verbatim one. Recurrence says the wording comes back; this says
174
+ * whether anything at all was new.
175
+ */
176
+ semanticDistinctCeiling?: number;
177
+ /**
178
+ * Consecutive windows the low-literal path needs (default 5).
179
+ *
180
+ * Strictly greater than `semanticConfirmations`, and validated as such. The path is
181
+ * acting on weaker evidence, so it also waits longer before it acts.
182
+ */
183
+ semanticStrictConfirmations?: number;
184
+ /** Injectable clock, so the cooldown is testable without a timer. */
185
+ now?: () => number;
186
+ }
187
+ /** Fully defaulted, validated options. */
188
+ export interface ResolvedGuardOptions {
189
+ windowChars: number;
190
+ minWindowChars: number;
191
+ threshold: number;
192
+ ngramSize: number;
193
+ maxBreaksPerTurn: number;
194
+ cooldownMs: number;
195
+ includeModels: string[];
196
+ matchRequest?: ((request: GuardStreamOptions) => boolean) | undefined;
197
+ semanticThreshold: number;
198
+ semanticLag: number;
199
+ semanticMinChars: number;
200
+ semanticMinSentences: number;
201
+ semanticConfirmations: number;
202
+ semanticLiteralFloor: number;
203
+ semanticStrictThreshold: number;
204
+ semanticDistinctCeiling: number;
205
+ semanticStrictConfirmations: number;
206
+ now: () => number;
207
+ }
208
+ export declare const DEFAULT_GUARD_OPTIONS: ResolvedGuardOptions;
209
+ /**
210
+ * Validate caller options fail-loud and fill in defaults. A threshold outside
211
+ * (0,1), a minimum above the window, or a non-positive budget throws rather
212
+ * than falling back to a value nobody chose.
213
+ */
214
+ export declare function resolveGuardOptions(options?: GuardOptions): ResolvedGuardOptions;
215
+ /**
216
+ * `1 - uniqueNgrams / totalNgrams` over the window.
217
+ *
218
+ * Scored over the whole window: a degenerate stream repeats within its own
219
+ * trailing characters, so scoring part of the window would dilute the signal.
220
+ * @param window - trailing reasoning characters.
221
+ * @param n - n-gram size.
222
+ * @returns collapse score in [0,1]; 0 means every n-gram is unique.
223
+ */
224
+ export declare function collapseScore(window: string, n: number): number;
225
+ /**
226
+ * Split reasoning text into sentences, for mixed CJK and Latin streams.
227
+ *
228
+ * A Chinese full stop ends a sentence whatever follows it. An ASCII `.!?` only
229
+ * ends one when whitespace or the end of the text follows, because the same
230
+ * characters carry out decimals, file names and version numbers
231
+ * (`selectors.test.ts:745`, `3.14`) that must not become sentence
232
+ * edges. Whitespace runs collapse and case folds, so a difference in spacing
233
+ * or capitalisation cannot read as a difference in wording.
234
+ *
235
+ * @param text - reasoning text, typically one trailing window.
236
+ * @returns non-empty normalized sentences, in order.
237
+ */
238
+ export declare function splitSentences(text: string): string[];
239
+ /**
240
+ * How strongly a window keeps returning to sentences it already stated.
241
+ *
242
+ * Each sentence is compared against every sentence at least `lag` positions earlier
243
+ * and keeps the best match; the score is the mean of those best matches. The
244
+ * comparison is normalized (Jaccard), so two sentences match on shared wording
245
+ * rather than on shared length, and character n-grams are used rather than words
246
+ * because no tokenizer is available here, and none would survive a CJK/Latin
247
+ * mix without segmenting Chinese first.
248
+ *
249
+ * Two properties matter more than the exact number. The score saturates — a
250
+ * twelve-sentence loop and a four-hundred-sentence one both approach one — so
251
+ * it does not drift with length the way a mean pairwise similarity does, and
252
+ * it does not reward a long answer merely for containing more pairs. And the
253
+ * lag is what makes it safe to ship: healthy enumeration reuses its framing
254
+ * from the sentence immediately before, which this metric cannot see.
255
+ *
256
+ * @param window - trailing reasoning characters.
257
+ * @param lag - sentences a claim must be separated from to count as recurrence.
258
+ * @returns recurrence score in [0,1]; 0 means nothing recurs, or too little text to tell.
259
+ */
260
+ export declare function semanticRecurrence(window: string, lag: number): number;
261
+ /**
262
+ * The share of a window's sentences that have never been said before.
263
+ *
264
+ * Recurrence cannot tell a model that is circling from a model that is
265
+ * listing, because a list reuses its frame as heavily as a loop does and
266
+ * scores just as high. The difference is that a list writes a new sentence on
267
+ * every line. Measured over a trailing window: 0.075 for the verbatim loop,
268
+ * 0.42 for a paraphrase loop, 1.000 for every healthy fixture and for every
269
+ * list shape tried.
270
+ *
271
+ * Equality is exact and on the normalized sentence, which is what keeps the
272
+ * lists out. Two rows differing only by a row number are 0.86 similar by
273
+ * `semanticRecurrence` and 1.000 distinct here, and that gap is the whole point: the
274
+ * fuzzy measure asks whether the wording came back, this one asks whether
275
+ * anything was new.
276
+ *
277
+ * @param window - trailing reasoning characters.
278
+ * @returns distinct share in (0,1]; 1 when every sentence is unique.
279
+ */
280
+ export declare function distinctSentenceRatio(window: string): number;
281
+ export declare const RESUME_HINT: string;
282
+ /** The second resume message, used once a resume has also collapsed. */
283
+ export declare const RESUME_HINT_STRICT: string;
284
+ /**
285
+ * Install the reasoning-collapse guard on a Context.
286
+ *
287
+ * The guard is inert unless the host exposes the event bus, so a harness
288
+ * without it keeps the built-in behaviour instead of failing this plugin's
289
+ * load.
290
+ *
291
+ * Resuming needs the live Agent for `cancel` and `steer`, and no supported
292
+ * generation hands the agent to `llm/stream`. The request does, though: every
293
+ * request the loop builds carries its `sessionId`, so the guard resolves the
294
+ * owning Agent per request through `ctx.agents.get`, falling back to the map
295
+ * `agent/created` fills. The per-turn break budget stays keyed on the
296
+ * request's own abort signal, which exists for a whole turn.
297
+ *
298
+ * @param ctx - plugin context.
299
+ * @param options - see {@link GuardOptions}; validated fail-loud.
300
+ * @returns a disposer removing every listener, or undefined when the host
301
+ * exposes no event bus.
302
+ */
303
+ export declare function installReasoningCollapseGuard(ctx: ReasoningCollapseContext, options?: GuardOptions): (() => void) | undefined;
304
+ //# sourceMappingURL=index.d.ts.map