@eddyskywalker/dsh-chatgpt-subscription 0.83.0 → 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 (1748) hide show
  1. package/README.md +65 -227
  2. package/lib/aws-quick-mcp.js +1 -1
  3. package/lib/client.js +220 -403
  4. package/lib/client.js.map +1 -1
  5. package/lib/codemode.js +310 -45
  6. package/lib/index.js +977 -3667
  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/ComposerQuotaBadge.d.ts +1 -1
  17. package/lib/types/client/common/ComposerQuotaBadge.d.ts.map +1 -1
  18. package/lib/types/client/common/use-store.d.ts +1 -1
  19. package/lib/types/client/common/use-store.d.ts.map +1 -1
  20. package/lib/types/client/features/CompactionRouteCard.d.ts +43 -0
  21. package/lib/types/client/features/CompactionRouteCard.d.ts.map +1 -0
  22. package/lib/types/client/features/codemode/CodeRunToolView.d.ts +68 -0
  23. package/lib/types/client/features/codemode/CodeRunToolView.d.ts.map +1 -0
  24. package/lib/types/client/features/codemode/highlight.d.ts.map +1 -0
  25. package/lib/types/client/features/codemode/styles.d.ts.map +1 -0
  26. package/lib/types/client/features/codemode/tool-name.d.ts.map +1 -0
  27. package/lib/types/client/features/compact-after-turn/CompactAfterTurnToggle.d.ts +24 -0
  28. package/lib/types/client/features/compact-after-turn/CompactAfterTurnToggle.d.ts.map +1 -0
  29. package/lib/types/client/features/compact-after-turn/locales.d.ts.map +1 -0
  30. package/lib/types/client/features/compact-after-turn/styles.d.ts.map +1 -0
  31. package/lib/types/client/features/dispatch-ledger/MandateToolView.d.ts.map +1 -0
  32. package/lib/types/client/features/dispatch-ledger/locales.d.ts.map +1 -0
  33. package/lib/types/client/features/dispatch-ledger/styles.d.ts.map +1 -0
  34. package/lib/types/client/features/mermaid/renderer.d.ts.map +1 -0
  35. package/lib/types/client/features/mermaid/sanitize.d.ts.map +1 -0
  36. package/lib/types/client/features/mermaid/styles.d.ts.map +1 -0
  37. package/lib/types/client/features/progress-updates/contracts.d.ts.map +1 -0
  38. package/lib/types/client/features/progress-updates/guide-artwork.d.ts.map +1 -0
  39. package/lib/types/client/features/progress-updates/host-source.d.ts +118 -0
  40. package/lib/types/client/features/progress-updates/host-source.d.ts.map +1 -0
  41. package/lib/types/client/features/progress-updates/index.d.ts +61 -0
  42. package/lib/types/client/features/progress-updates/index.d.ts.map +1 -0
  43. package/lib/types/client/features/progress-updates/locales.d.ts.map +1 -0
  44. package/lib/types/client/features/progress-updates/markdown-lite.d.ts +65 -0
  45. package/lib/types/client/features/progress-updates/markdown-lite.d.ts.map +1 -0
  46. package/lib/types/client/features/progress-updates/progress-row.d.ts.map +1 -0
  47. package/lib/types/client/features/progress-updates/settings-binding.d.ts.map +1 -0
  48. package/lib/types/client/features/progress-updates/settings-section.d.ts.map +1 -0
  49. package/lib/types/client/features/progress-updates/styles.d.ts.map +1 -0
  50. package/lib/types/client/features/progress-updates/tool-name.d.ts.map +1 -0
  51. package/lib/types/client/features/progress-updates/updates-panel.d.ts.map +1 -0
  52. package/lib/types/client/features/subagent/SubagentCard.d.ts.map +1 -0
  53. package/lib/types/client/features/subagent/index.d.ts.map +1 -0
  54. package/lib/types/client/features/subagent/locales.d.ts +184 -0
  55. package/lib/types/client/features/subagent/locales.d.ts.map +1 -0
  56. package/lib/types/client/features/subagent/styles.d.ts.map +1 -0
  57. package/lib/types/client/features/subagent/subagent-card-controller.d.ts +352 -0
  58. package/lib/types/client/features/subagent/subagent-card-controller.d.ts.map +1 -0
  59. package/lib/types/client/hub/HubOverview.d.ts +1 -1
  60. package/lib/types/client/hub/HubOverview.d.ts.map +1 -1
  61. package/lib/types/client/hub/ProviderHubSection.d.ts +16 -0
  62. package/lib/types/client/hub/ProviderHubSection.d.ts.map +1 -0
  63. package/lib/types/client/hub/UpdateCheck.d.ts +1 -1
  64. package/lib/types/client/hub/UpdateCheck.d.ts.map +1 -1
  65. package/lib/types/client/index.d.ts +21 -21
  66. package/lib/types/client/index.d.ts.map +1 -1
  67. package/lib/types/client/locales-ru/antigravity-acp.d.ts +1 -1
  68. package/lib/types/client/locales-ru/antigravity-acp.d.ts.map +1 -1
  69. package/lib/types/client/locales-ru/aws-quick.d.ts +1 -1
  70. package/lib/types/client/locales-ru/aws-quick.d.ts.map +1 -1
  71. package/lib/types/client/locales-ru/claude-api.d.ts +1 -1
  72. package/lib/types/client/locales-ru/claude-api.d.ts.map +1 -1
  73. package/lib/types/client/locales-ru/claude.d.ts +1 -1
  74. package/lib/types/client/locales-ru/claude.d.ts.map +1 -1
  75. package/lib/types/client/locales-ru/cline-pass.d.ts +1 -1
  76. package/lib/types/client/locales-ru/cline-pass.d.ts.map +1 -1
  77. package/lib/types/client/locales-ru/command-code.d.ts +1 -1
  78. package/lib/types/client/locales-ru/command-code.d.ts.map +1 -1
  79. package/lib/types/client/locales-ru/compact-after-turn.d.ts +1 -1
  80. package/lib/types/client/locales-ru/compact-after-turn.d.ts.map +1 -1
  81. package/lib/types/client/locales-ru/dispatch-ledger.d.ts +1 -1
  82. package/lib/types/client/locales-ru/dispatch-ledger.d.ts.map +1 -1
  83. package/lib/types/client/locales-ru/glm-coding-plan.d.ts +1 -1
  84. package/lib/types/client/locales-ru/glm-coding-plan.d.ts.map +1 -1
  85. package/lib/types/client/locales-ru/hub.d.ts +1 -1
  86. package/lib/types/client/locales-ru/hub.d.ts.map +1 -1
  87. package/lib/types/client/locales-ru/kimi-code.d.ts +1 -1
  88. package/lib/types/client/locales-ru/kimi-code.d.ts.map +1 -1
  89. package/lib/types/client/locales-ru/minimax-code.d.ts +1 -1
  90. package/lib/types/client/locales-ru/minimax-code.d.ts.map +1 -1
  91. package/lib/types/client/locales-ru/ollama.d.ts +1 -1
  92. package/lib/types/client/locales-ru/ollama.d.ts.map +1 -1
  93. package/lib/types/client/locales-ru/opendesign.d.ts +1 -1
  94. package/lib/types/client/locales-ru/opendesign.d.ts.map +1 -1
  95. package/lib/types/client/locales-ru/progress-updates.d.ts +1 -1
  96. package/lib/types/client/locales-ru/progress-updates.d.ts.map +1 -1
  97. package/lib/types/client/locales-ru/qianwen-token-plan.d.ts +1 -1
  98. package/lib/types/client/locales-ru/qianwen-token-plan.d.ts.map +1 -1
  99. package/lib/types/client/locales-ru/qoder.d.ts +1 -1
  100. package/lib/types/client/locales-ru/qoder.d.ts.map +1 -1
  101. package/lib/types/client/locales-ru/relayone.d.ts +1 -1
  102. package/lib/types/client/locales-ru/relayone.d.ts.map +1 -1
  103. package/lib/types/client/locales-ru/step-code.d.ts +1 -1
  104. package/lib/types/client/locales-ru/step-code.d.ts.map +1 -1
  105. package/lib/types/client/providers/antigravity-acp/AntigravityAcpComposerBadge.d.ts +35 -0
  106. package/lib/types/client/providers/antigravity-acp/AntigravityAcpComposerBadge.d.ts.map +1 -0
  107. package/lib/types/client/providers/antigravity-acp/AntigravityAcpSection.d.ts.map +1 -0
  108. package/lib/types/client/providers/antigravity-acp/api.d.ts +36 -0
  109. package/lib/types/client/providers/antigravity-acp/api.d.ts.map +1 -0
  110. package/lib/types/client/providers/antigravity-acp/locales.d.ts +557 -0
  111. package/lib/types/client/providers/antigravity-acp/locales.d.ts.map +1 -0
  112. package/lib/types/client/providers/antigravity-acp/route.d.ts.map +1 -0
  113. package/lib/types/client/providers/antigravity-acp/styles.d.ts.map +1 -0
  114. package/lib/types/client/providers/aws-quick/AwsQuickSection.d.ts.map +1 -0
  115. package/lib/types/client/providers/aws-quick/api.d.ts +11 -0
  116. package/lib/types/client/providers/aws-quick/api.d.ts.map +1 -0
  117. package/lib/types/client/providers/aws-quick/locales.d.ts +117 -0
  118. package/lib/types/client/providers/aws-quick/locales.d.ts.map +1 -0
  119. package/lib/types/client/providers/aws-quick/styles.d.ts.map +1 -0
  120. package/lib/types/client/providers/claude/ClaudeComposerQuota.d.ts +29 -0
  121. package/lib/types/client/providers/claude/ClaudeComposerQuota.d.ts.map +1 -0
  122. package/lib/types/client/providers/claude/ClaudeSection.d.ts.map +1 -0
  123. package/lib/types/client/providers/claude/locales.d.ts +468 -0
  124. package/lib/types/client/providers/claude/locales.d.ts.map +1 -0
  125. package/lib/types/client/providers/claude/styles.d.ts.map +1 -0
  126. package/lib/types/client/providers/claude/useClaudeSection.d.ts +95 -0
  127. package/lib/types/client/providers/claude/useClaudeSection.d.ts.map +1 -0
  128. package/lib/types/client/providers/claude-api/ClaudeApiSection.d.ts.map +1 -0
  129. package/lib/types/client/providers/claude-api/api.d.ts.map +1 -0
  130. package/lib/types/client/providers/claude-api/locales.d.ts +161 -0
  131. package/lib/types/client/providers/claude-api/locales.d.ts.map +1 -0
  132. package/lib/types/client/providers/claude-api/styles.d.ts.map +1 -0
  133. package/lib/types/client/providers/claude-api/useClaudeApiSection.d.ts +37 -0
  134. package/lib/types/client/providers/claude-api/useClaudeApiSection.d.ts.map +1 -0
  135. package/lib/types/client/providers/cline-pass/ClinePassComposerQuota.d.ts +23 -0
  136. package/lib/types/client/providers/cline-pass/ClinePassComposerQuota.d.ts.map +1 -0
  137. package/lib/types/client/providers/cline-pass/ClinePassSection.d.ts.map +1 -0
  138. package/lib/types/client/providers/cline-pass/api.d.ts +85 -0
  139. package/lib/types/client/providers/cline-pass/api.d.ts.map +1 -0
  140. package/lib/types/client/providers/cline-pass/locales.d.ts.map +1 -0
  141. package/lib/types/client/providers/cline-pass/styles.d.ts.map +1 -0
  142. package/lib/types/client/providers/codex-chatgpt/CodexComposerQuota.d.ts.map +1 -0
  143. package/lib/types/client/providers/codex-chatgpt/CodexImageToolView.d.ts.map +1 -0
  144. package/lib/types/client/providers/codex-chatgpt/CodexSubscriptionSection.d.ts +42 -0
  145. package/lib/types/client/providers/codex-chatgpt/CodexSubscriptionSection.d.ts.map +1 -0
  146. package/lib/types/client/providers/codex-chatgpt/api.d.ts +60 -0
  147. package/lib/types/client/providers/codex-chatgpt/api.d.ts.map +1 -0
  148. package/lib/types/client/providers/codex-chatgpt/locales.d.ts +541 -0
  149. package/lib/types/client/providers/codex-chatgpt/locales.d.ts.map +1 -0
  150. package/lib/types/client/providers/codex-chatgpt/quota.d.ts +9 -0
  151. package/lib/types/client/providers/codex-chatgpt/quota.d.ts.map +1 -0
  152. package/lib/types/client/providers/codex-chatgpt/store.d.ts.map +1 -0
  153. package/lib/types/client/providers/codex-chatgpt/styles.d.ts.map +1 -0
  154. package/lib/types/client/providers/command-code/CommandCodeComposerQuota.d.ts +20 -0
  155. package/lib/types/client/providers/command-code/CommandCodeComposerQuota.d.ts.map +1 -0
  156. package/lib/types/client/providers/command-code/CommandCodeSection.d.ts.map +1 -0
  157. package/lib/types/client/providers/command-code/locales.d.ts +305 -0
  158. package/lib/types/client/providers/command-code/locales.d.ts.map +1 -0
  159. package/lib/types/client/providers/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts +27 -0
  160. package/lib/types/client/providers/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts.map +1 -0
  161. package/lib/types/client/providers/glm-coding-plan/GlmCodingPlanSection.d.ts.map +1 -0
  162. package/lib/types/client/providers/glm-coding-plan/api.d.ts.map +1 -0
  163. package/lib/types/client/providers/glm-coding-plan/locales.d.ts +409 -0
  164. package/lib/types/client/providers/glm-coding-plan/locales.d.ts.map +1 -0
  165. package/lib/types/client/providers/glm-coding-plan/styles.d.ts.map +1 -0
  166. package/lib/types/client/providers/glm-coding-plan/useGlmCodingPlanSection.d.ts +65 -0
  167. package/lib/types/client/providers/glm-coding-plan/useGlmCodingPlanSection.d.ts.map +1 -0
  168. package/lib/types/client/providers/kimi-code/KimiCodeComposerQuota.d.ts +21 -0
  169. package/lib/types/client/providers/kimi-code/KimiCodeComposerQuota.d.ts.map +1 -0
  170. package/lib/types/client/providers/kimi-code/KimiCodeSection.d.ts.map +1 -0
  171. package/lib/types/client/providers/kimi-code/KimiModelCapabilities.d.ts +16 -0
  172. package/lib/types/client/providers/kimi-code/KimiModelCapabilities.d.ts.map +1 -0
  173. package/lib/types/client/providers/kimi-code/KimiQuotaCard.d.ts +31 -0
  174. package/lib/types/client/providers/kimi-code/KimiQuotaCard.d.ts.map +1 -0
  175. package/lib/types/client/providers/kimi-code/labels.d.ts +66 -0
  176. package/lib/types/client/providers/kimi-code/labels.d.ts.map +1 -0
  177. package/lib/types/client/providers/kimi-code/locales.d.ts +694 -0
  178. package/lib/types/client/providers/kimi-code/locales.d.ts.map +1 -0
  179. package/lib/types/client/providers/kimi-code/staff-art.d.ts.map +1 -0
  180. package/lib/types/client/providers/kimi-code/styles.d.ts.map +1 -0
  181. package/lib/types/client/providers/minimax-code/MinimaxCodeComposerQuota.d.ts +23 -0
  182. package/lib/types/client/providers/minimax-code/MinimaxCodeComposerQuota.d.ts.map +1 -0
  183. package/lib/types/client/providers/minimax-code/MinimaxCodeSection.d.ts.map +1 -0
  184. package/lib/types/client/providers/minimax-code/MinimaxVideoDocumentBody.d.ts +48 -0
  185. package/lib/types/client/providers/minimax-code/MinimaxVideoDocumentBody.d.ts.map +1 -0
  186. package/lib/types/client/providers/minimax-code/MinimaxVideoToolView.d.ts.map +1 -0
  187. package/lib/types/client/providers/minimax-code/VideoFormDialog.d.ts +49 -0
  188. package/lib/types/client/providers/minimax-code/VideoFormDialog.d.ts.map +1 -0
  189. package/lib/types/client/providers/minimax-code/VideoSettingsSections.d.ts.map +1 -0
  190. package/lib/types/client/providers/minimax-code/api.d.ts +35 -0
  191. package/lib/types/client/providers/minimax-code/api.d.ts.map +1 -0
  192. package/lib/types/client/providers/minimax-code/commands-contract.d.ts.map +1 -0
  193. package/lib/types/client/providers/minimax-code/document-preview.d.ts.map +1 -0
  194. package/lib/types/client/providers/minimax-code/locales.d.ts +686 -0
  195. package/lib/types/client/providers/minimax-code/locales.d.ts.map +1 -0
  196. package/lib/types/client/providers/minimax-code/styles.d.ts.map +1 -0
  197. package/lib/types/client/providers/minimax-code/useMinimaxCodeSection.d.ts +164 -0
  198. package/lib/types/client/providers/minimax-code/useMinimaxCodeSection.d.ts.map +1 -0
  199. package/lib/types/client/providers/minimax-code/video-command-host.d.ts +41 -0
  200. package/lib/types/client/providers/minimax-code/video-command-host.d.ts.map +1 -0
  201. package/lib/types/client/providers/minimax-code/video-command-icon.d.ts.map +1 -0
  202. package/lib/types/client/providers/minimax-code/video-command.d.ts +90 -0
  203. package/lib/types/client/providers/minimax-code/video-command.d.ts.map +1 -0
  204. package/lib/types/client/providers/minimax-code/video-contract.d.ts.map +1 -0
  205. package/lib/types/client/providers/minimax-code/video-defaults-store.d.ts.map +1 -0
  206. package/lib/types/client/providers/minimax-code/video-form-rules.d.ts +245 -0
  207. package/lib/types/client/providers/minimax-code/video-form-rules.d.ts.map +1 -0
  208. package/lib/types/client/providers/minimax-code/video-media-dropzone.d.ts.map +1 -0
  209. package/lib/types/client/providers/minimax-code/video-media-input.d.ts.map +1 -0
  210. package/lib/types/client/providers/minimax-code/video-media.d.ts.map +1 -0
  211. package/lib/types/client/providers/minimax-code/video-presets.d.ts.map +1 -0
  212. package/lib/types/client/providers/minimax-code/video-slots.d.ts.map +1 -0
  213. package/lib/types/client/providers/minimax-code/video-workspace.d.ts.map +1 -0
  214. package/lib/types/client/providers/ollama/OllamaSection.d.ts.map +1 -0
  215. package/lib/types/client/providers/ollama/api.d.ts +49 -0
  216. package/lib/types/client/providers/ollama/api.d.ts.map +1 -0
  217. package/lib/types/client/providers/ollama/locales.d.ts +479 -0
  218. package/lib/types/client/providers/ollama/locales.d.ts.map +1 -0
  219. package/lib/types/client/providers/opendesign/OpenDesignComposerQuota.d.ts +26 -0
  220. package/lib/types/client/providers/opendesign/OpenDesignComposerQuota.d.ts.map +1 -0
  221. package/lib/types/client/providers/opendesign/OpenDesignSection.d.ts.map +1 -0
  222. package/lib/types/client/providers/opendesign/api.d.ts +45 -0
  223. package/lib/types/client/providers/opendesign/api.d.ts.map +1 -0
  224. package/lib/types/client/providers/opendesign/locales.d.ts.map +1 -0
  225. package/lib/types/client/providers/opendesign/styles.d.ts.map +1 -0
  226. package/lib/types/client/providers/qianwen-token-plan/QianwenComposerQuota.d.ts +14 -0
  227. package/lib/types/client/providers/qianwen-token-plan/QianwenComposerQuota.d.ts.map +1 -0
  228. package/lib/types/client/providers/qianwen-token-plan/QianwenTokenPlanSection.d.ts.map +1 -0
  229. package/lib/types/client/providers/qianwen-token-plan/api.d.ts.map +1 -0
  230. package/lib/types/client/providers/qianwen-token-plan/locales.d.ts +158 -0
  231. package/lib/types/client/providers/qianwen-token-plan/locales.d.ts.map +1 -0
  232. package/lib/types/client/providers/qianwen-token-plan/styles.d.ts.map +1 -0
  233. package/lib/types/client/providers/qianwen-token-plan/useQianwenSection.d.ts +32 -0
  234. package/lib/types/client/providers/qianwen-token-plan/useQianwenSection.d.ts.map +1 -0
  235. package/lib/types/client/providers/qoder/QoderComposerQuota.d.ts +41 -0
  236. package/lib/types/client/providers/qoder/QoderComposerQuota.d.ts.map +1 -0
  237. package/lib/types/client/providers/qoder/QoderSection.d.ts +37 -0
  238. package/lib/types/client/providers/qoder/QoderSection.d.ts.map +1 -0
  239. package/lib/types/client/providers/qoder/api.d.ts.map +1 -0
  240. package/lib/types/client/providers/qoder/locales.d.ts +322 -0
  241. package/lib/types/client/providers/qoder/locales.d.ts.map +1 -0
  242. package/lib/types/client/providers/qoder/styles.d.ts.map +1 -0
  243. package/lib/types/client/providers/qoder/useQoderSection.d.ts +97 -0
  244. package/lib/types/client/providers/qoder/useQoderSection.d.ts.map +1 -0
  245. package/lib/types/client/providers/relayone/RelayOneComposerQuota.d.ts +14 -0
  246. package/lib/types/client/providers/relayone/RelayOneComposerQuota.d.ts.map +1 -0
  247. package/lib/types/client/providers/relayone/RelayOneSection.d.ts.map +1 -0
  248. package/lib/types/client/providers/relayone/api.d.ts.map +1 -0
  249. package/lib/types/client/providers/relayone/locales.d.ts +221 -0
  250. package/lib/types/client/providers/relayone/locales.d.ts.map +1 -0
  251. package/lib/types/client/providers/relayone/quota-format.d.ts +6 -0
  252. package/lib/types/client/providers/relayone/quota-format.d.ts.map +1 -0
  253. package/lib/types/client/providers/relayone/styles.d.ts.map +1 -0
  254. package/lib/types/client/providers/relayone/useRelayOneSection.d.ts +32 -0
  255. package/lib/types/client/providers/relayone/useRelayOneSection.d.ts.map +1 -0
  256. package/lib/types/client/providers/step-code/StepCodeComposerQuota.d.ts +50 -0
  257. package/lib/types/client/providers/step-code/StepCodeComposerQuota.d.ts.map +1 -0
  258. package/lib/types/client/providers/step-code/StepCodeSection.d.ts.map +1 -0
  259. package/lib/types/client/providers/step-code/api.d.ts.map +1 -0
  260. package/lib/types/client/providers/step-code/locales.d.ts +657 -0
  261. package/lib/types/client/providers/step-code/locales.d.ts.map +1 -0
  262. package/lib/types/client/providers/step-code/styles.d.ts.map +1 -0
  263. package/lib/types/client/providers/step-code/useStepCodeSection.d.ts +122 -0
  264. package/lib/types/client/providers/step-code/useStepCodeSection.d.ts.map +1 -0
  265. package/lib/types/client/providers/workbuddy/WorkBuddyComposerQuota.d.ts +34 -0
  266. package/lib/types/client/providers/workbuddy/WorkBuddyComposerQuota.d.ts.map +1 -0
  267. package/lib/types/client/providers/workbuddy/WorkBuddySection.d.ts +64 -0
  268. package/lib/types/client/providers/workbuddy/WorkBuddySection.d.ts.map +1 -0
  269. package/lib/types/client/providers/workbuddy/locales.d.ts +768 -0
  270. package/lib/types/client/providers/workbuddy/locales.d.ts.map +1 -0
  271. package/lib/types/client/providers/workbuddy/styles.d.ts.map +1 -0
  272. package/lib/types/client/providers/workbuddy/useWorkBuddySection.d.ts +149 -0
  273. package/lib/types/client/providers/workbuddy/useWorkBuddySection.d.ts.map +1 -0
  274. package/lib/types/compat.d.ts +1 -1
  275. package/lib/types/entries/aws-quick-mcp.d.ts +2 -0
  276. package/lib/types/entries/aws-quick-mcp.d.ts.map +1 -0
  277. package/lib/types/entries/codemode.d.ts +57 -0
  278. package/lib/types/entries/codemode.d.ts.map +1 -0
  279. package/lib/types/entries/plan-mode-pipeline.d.ts +159 -0
  280. package/lib/types/entries/plan-mode-pipeline.d.ts.map +1 -0
  281. package/lib/types/entries/plan-mode.d.ts +453 -0
  282. package/lib/types/entries/plan-mode.d.ts.map +1 -0
  283. package/lib/types/entries/progress-updates.d.ts +43 -0
  284. package/lib/types/entries/progress-updates.d.ts.map +1 -0
  285. package/lib/types/entries/tool-result-pruner.d.ts +260 -0
  286. package/lib/types/entries/tool-result-pruner.d.ts.map +1 -0
  287. package/lib/types/host/common/account-pool.d.ts +1 -1
  288. package/lib/types/host/common/account-pool.d.ts.map +1 -1
  289. package/lib/types/host/common/i18n/zh.d.ts +3 -3
  290. package/lib/types/host/common/llm-compat.d.ts +35 -2
  291. package/lib/types/host/common/llm-compat.d.ts.map +1 -1
  292. package/lib/types/host/common/pool-storage.d.ts +1 -1
  293. package/lib/types/host/common/pool-storage.d.ts.map +1 -1
  294. package/lib/types/host/common/prefix-stability.d.ts +1 -1
  295. package/lib/types/host/common/prefix-stability.d.ts.map +1 -1
  296. package/lib/types/host/common/request-images.d.ts +18 -30
  297. package/lib/types/host/common/request-images.d.ts.map +1 -1
  298. package/lib/types/host/infra/hub/compaction-prompt.d.ts +94 -0
  299. package/lib/types/host/infra/hub/compaction-prompt.d.ts.map +1 -0
  300. package/lib/types/host/infra/hub/hub-overview.d.ts +31 -0
  301. package/lib/types/host/infra/hub/hub-overview.d.ts.map +1 -0
  302. package/lib/types/host/infra/hub/update-check.d.ts +118 -0
  303. package/lib/types/host/infra/hub/update-check.d.ts.map +1 -0
  304. package/lib/types/host/infra/network/fetch-address-policy.d.ts.map +1 -0
  305. package/lib/types/host/infra/network/fetch-configuration.d.ts +6 -0
  306. package/lib/types/host/infra/network/fetch-configuration.d.ts.map +1 -0
  307. package/lib/types/host/infra/network/proxy-manager.d.ts +246 -0
  308. package/lib/types/host/infra/network/proxy-manager.d.ts.map +1 -0
  309. package/lib/types/host/infra/network/relay-probe.d.ts.map +1 -0
  310. package/lib/types/host/infra/network/search-provider-switcher.d.ts +45 -0
  311. package/lib/types/host/infra/network/search-provider-switcher.d.ts.map +1 -0
  312. package/lib/types/host/infra/network/web-provider-reconciler.d.ts.map +1 -0
  313. package/lib/types/host/infra/network/wire-auth.d.ts +63 -0
  314. package/lib/types/host/infra/network/wire-auth.d.ts.map +1 -0
  315. package/lib/types/host/infra/storage/credential-store-secret-service.d.ts.map +1 -0
  316. package/lib/types/host/infra/storage/platform-token-store.d.ts.map +1 -0
  317. package/lib/types/host/infra/storage/token-store-linux.d.ts.map +1 -0
  318. package/lib/types/host/infra/storage/token-store-macos.d.ts.map +1 -0
  319. package/lib/types/host/infra/storage/token-store-windows.d.ts.map +1 -0
  320. package/lib/types/host/infra/storage/token-store.d.ts +81 -0
  321. package/lib/types/host/infra/storage/token-store.d.ts.map +1 -0
  322. package/lib/types/host/providers/_claude-shared/claude-capability-memory.d.ts.map +1 -0
  323. package/lib/types/host/providers/_claude-shared/claude-code-cch.d.ts.map +1 -0
  324. package/lib/types/host/providers/_claude-shared/claude-code-corrections.d.ts.map +1 -0
  325. package/lib/types/host/providers/_claude-shared/claude-code-first-party.d.ts +68 -0
  326. package/lib/types/host/providers/_claude-shared/claude-code-first-party.d.ts.map +1 -0
  327. package/lib/types/host/providers/_claude-shared/claude-code-version.d.ts +90 -0
  328. package/lib/types/host/providers/_claude-shared/claude-code-version.d.ts.map +1 -0
  329. package/lib/types/host/providers/antigravity-acp/acp-client.d.ts.map +1 -0
  330. package/lib/types/host/providers/antigravity-acp/adapter.d.ts +305 -0
  331. package/lib/types/host/providers/antigravity-acp/adapter.d.ts.map +1 -0
  332. package/lib/types/host/providers/antigravity-acp/auth-cache.d.ts +59 -0
  333. package/lib/types/host/providers/antigravity-acp/auth-cache.d.ts.map +1 -0
  334. package/lib/types/host/providers/antigravity-acp/binary.d.ts.map +1 -0
  335. package/lib/types/host/providers/antigravity-acp/catalog.d.ts +107 -0
  336. package/lib/types/host/providers/antigravity-acp/catalog.d.ts.map +1 -0
  337. package/lib/types/host/providers/antigravity-acp/doctor.d.ts +73 -0
  338. package/lib/types/host/providers/antigravity-acp/doctor.d.ts.map +1 -0
  339. package/lib/types/host/providers/antigravity-acp/errors.d.ts +69 -0
  340. package/lib/types/host/providers/antigravity-acp/errors.d.ts.map +1 -0
  341. package/lib/types/host/providers/antigravity-acp/history.d.ts +131 -0
  342. package/lib/types/host/providers/antigravity-acp/history.d.ts.map +1 -0
  343. package/lib/types/host/providers/antigravity-acp/login.d.ts +68 -0
  344. package/lib/types/host/providers/antigravity-acp/login.d.ts.map +1 -0
  345. package/lib/types/host/providers/antigravity-acp/mcp-bridge.d.ts.map +1 -0
  346. package/lib/types/host/providers/antigravity-acp/process-temp.d.ts.map +1 -0
  347. package/lib/types/host/providers/antigravity-acp/routes.d.ts +100 -0
  348. package/lib/types/host/providers/antigravity-acp/routes.d.ts.map +1 -0
  349. package/lib/types/host/providers/antigravity-acp/settings.d.ts +81 -0
  350. package/lib/types/host/providers/antigravity-acp/settings.d.ts.map +1 -0
  351. package/lib/types/host/providers/antigravity-acp/subagent.d.ts +128 -0
  352. package/lib/types/host/providers/antigravity-acp/subagent.d.ts.map +1 -0
  353. package/lib/types/host/providers/antigravity-acp/types.d.ts +155 -0
  354. package/lib/types/host/providers/antigravity-acp/types.d.ts.map +1 -0
  355. package/lib/types/host/providers/aws-quick/adapter.d.ts +73 -0
  356. package/lib/types/host/providers/aws-quick/adapter.d.ts.map +1 -0
  357. package/lib/types/host/providers/aws-quick/binary.d.ts +3 -0
  358. package/lib/types/host/providers/aws-quick/binary.d.ts.map +1 -0
  359. package/lib/types/host/providers/aws-quick/client.d.ts +85 -0
  360. package/lib/types/host/providers/aws-quick/client.d.ts.map +1 -0
  361. package/lib/types/host/providers/aws-quick/execution-broker.d.ts.map +1 -0
  362. package/lib/types/host/providers/aws-quick/images.d.ts +21 -0
  363. package/lib/types/host/providers/aws-quick/images.d.ts.map +1 -0
  364. package/lib/types/host/providers/aws-quick/markup.d.ts.map +1 -0
  365. package/lib/types/host/providers/aws-quick/outpost.d.ts +55 -0
  366. package/lib/types/host/providers/aws-quick/outpost.d.ts.map +1 -0
  367. package/lib/types/host/providers/aws-quick/protocol.d.ts +53 -0
  368. package/lib/types/host/providers/aws-quick/protocol.d.ts.map +1 -0
  369. package/lib/types/host/providers/aws-quick/routes.d.ts +15 -0
  370. package/lib/types/host/providers/aws-quick/routes.d.ts.map +1 -0
  371. package/lib/types/host/providers/aws-quick/settings.d.ts +24 -0
  372. package/lib/types/host/providers/aws-quick/settings.d.ts.map +1 -0
  373. package/lib/types/host/providers/aws-quick/tool-bridge.d.ts +67 -0
  374. package/lib/types/host/providers/aws-quick/tool-bridge.d.ts.map +1 -0
  375. package/lib/types/host/providers/aws-quick/types.d.ts +12 -0
  376. package/lib/types/host/providers/aws-quick/types.d.ts.map +1 -0
  377. package/lib/types/host/providers/claude/account-pool.d.ts +484 -0
  378. package/lib/types/host/providers/claude/account-pool.d.ts.map +1 -0
  379. package/lib/types/host/providers/claude/adapter.d.ts +243 -0
  380. package/lib/types/host/providers/claude/adapter.d.ts.map +1 -0
  381. package/lib/types/host/providers/claude/adopt.d.ts +193 -0
  382. package/lib/types/host/providers/claude/adopt.d.ts.map +1 -0
  383. package/lib/types/host/providers/claude/client.d.ts +463 -0
  384. package/lib/types/host/providers/claude/client.d.ts.map +1 -0
  385. package/lib/types/host/providers/claude/mapper.d.ts +575 -0
  386. package/lib/types/host/providers/claude/mapper.d.ts.map +1 -0
  387. package/lib/types/host/providers/claude/model-catalog.d.ts +258 -0
  388. package/lib/types/host/providers/claude/model-catalog.d.ts.map +1 -0
  389. package/lib/types/host/providers/claude/oauth.d.ts +312 -0
  390. package/lib/types/host/providers/claude/oauth.d.ts.map +1 -0
  391. package/lib/types/host/providers/claude/routes.d.ts +86 -0
  392. package/lib/types/host/providers/claude/routes.d.ts.map +1 -0
  393. package/lib/types/host/providers/claude/token-store.d.ts +261 -0
  394. package/lib/types/host/providers/claude/token-store.d.ts.map +1 -0
  395. package/lib/types/host/providers/claude/types.d.ts +375 -0
  396. package/lib/types/host/providers/claude/types.d.ts.map +1 -0
  397. package/lib/types/host/providers/claude-api/adapter.d.ts +70 -0
  398. package/lib/types/host/providers/claude-api/adapter.d.ts.map +1 -0
  399. package/lib/types/host/providers/claude-api/capability-memory.d.ts +4 -0
  400. package/lib/types/host/providers/claude-api/capability-memory.d.ts.map +1 -0
  401. package/lib/types/host/providers/claude-api/catalog-manager.d.ts +57 -0
  402. package/lib/types/host/providers/claude-api/catalog-manager.d.ts.map +1 -0
  403. package/lib/types/host/providers/claude-api/client-version.d.ts +4 -0
  404. package/lib/types/host/providers/claude-api/client-version.d.ts.map +1 -0
  405. package/lib/types/host/providers/claude-api/client.d.ts +55 -0
  406. package/lib/types/host/providers/claude-api/client.d.ts.map +1 -0
  407. package/lib/types/host/providers/claude-api/compaction-store.d.ts.map +1 -0
  408. package/lib/types/host/providers/claude-api/compaction.d.ts +47 -0
  409. package/lib/types/host/providers/claude-api/compaction.d.ts.map +1 -0
  410. package/lib/types/host/providers/claude-api/mapper.d.ts +61 -0
  411. package/lib/types/host/providers/claude-api/mapper.d.ts.map +1 -0
  412. package/lib/types/host/providers/claude-api/model-catalog.d.ts +76 -0
  413. package/lib/types/host/providers/claude-api/model-catalog.d.ts.map +1 -0
  414. package/lib/types/host/providers/claude-api/routes.d.ts +22 -0
  415. package/lib/types/host/providers/claude-api/routes.d.ts.map +1 -0
  416. package/lib/types/host/providers/claude-api/stream.d.ts +88 -0
  417. package/lib/types/host/providers/claude-api/stream.d.ts.map +1 -0
  418. package/lib/types/host/providers/claude-api/token-store.d.ts +60 -0
  419. package/lib/types/host/providers/claude-api/token-store.d.ts.map +1 -0
  420. package/lib/types/host/providers/claude-api/types.d.ts +68 -0
  421. package/lib/types/host/providers/claude-api/types.d.ts.map +1 -0
  422. package/lib/types/host/providers/cline-pass/account-pool.d.ts +63 -0
  423. package/lib/types/host/providers/cline-pass/account-pool.d.ts.map +1 -0
  424. package/lib/types/host/providers/cline-pass/adapter.d.ts +58 -0
  425. package/lib/types/host/providers/cline-pass/adapter.d.ts.map +1 -0
  426. package/lib/types/host/providers/cline-pass/catalog.d.ts.map +1 -0
  427. package/lib/types/host/providers/cline-pass/client.d.ts.map +1 -0
  428. package/lib/types/host/providers/cline-pass/engine.d.ts.map +1 -0
  429. package/lib/types/host/providers/cline-pass/line.d.ts +55 -0
  430. package/lib/types/host/providers/cline-pass/line.d.ts.map +1 -0
  431. package/lib/types/host/providers/cline-pass/mapper.d.ts +138 -0
  432. package/lib/types/host/providers/cline-pass/mapper.d.ts.map +1 -0
  433. package/lib/types/host/providers/cline-pass/oauth.d.ts.map +1 -0
  434. package/lib/types/host/providers/cline-pass/protocol.d.ts.map +1 -0
  435. package/lib/types/host/providers/cline-pass/routes.d.ts +92 -0
  436. package/lib/types/host/providers/cline-pass/routes.d.ts.map +1 -0
  437. package/lib/types/host/providers/cline-pass/store.d.ts +75 -0
  438. package/lib/types/host/providers/cline-pass/store.d.ts.map +1 -0
  439. package/lib/types/host/providers/cline-pass/token-store.d.ts +170 -0
  440. package/lib/types/host/providers/cline-pass/token-store.d.ts.map +1 -0
  441. package/lib/types/host/providers/cline-pass/tools.d.ts +21 -0
  442. package/lib/types/host/providers/cline-pass/tools.d.ts.map +1 -0
  443. package/lib/types/host/providers/cline-pass/types.d.ts.map +1 -0
  444. package/lib/types/host/providers/codex-chatgpt/adapter.d.ts.map +1 -0
  445. package/lib/types/host/providers/codex-chatgpt/callback-server.d.ts.map +1 -0
  446. package/lib/types/host/providers/codex-chatgpt/codex-account-pool.d.ts +183 -0
  447. package/lib/types/host/providers/codex-chatgpt/codex-account-pool.d.ts.map +1 -0
  448. package/lib/types/host/providers/codex-chatgpt/codex-adopt.d.ts +162 -0
  449. package/lib/types/host/providers/codex-chatgpt/codex-adopt.d.ts.map +1 -0
  450. package/lib/types/host/providers/codex-chatgpt/codex-catalog.d.ts +69 -0
  451. package/lib/types/host/providers/codex-chatgpt/codex-catalog.d.ts.map +1 -0
  452. package/lib/types/host/providers/codex-chatgpt/codex-fetch.d.ts.map +1 -0
  453. package/lib/types/host/providers/codex-chatgpt/codex-identity.d.ts +130 -0
  454. package/lib/types/host/providers/codex-chatgpt/codex-identity.d.ts.map +1 -0
  455. package/lib/types/host/providers/codex-chatgpt/codex-images.d.ts.map +1 -0
  456. package/lib/types/host/providers/codex-chatgpt/codex-remote-compaction.d.ts +41 -0
  457. package/lib/types/host/providers/codex-chatgpt/codex-remote-compaction.d.ts.map +1 -0
  458. package/lib/types/host/providers/codex-chatgpt/codex-search.d.ts.map +1 -0
  459. package/lib/types/host/providers/codex-chatgpt/model-catalog.d.ts +43 -0
  460. package/lib/types/host/providers/codex-chatgpt/model-catalog.d.ts.map +1 -0
  461. package/lib/types/host/providers/codex-chatgpt/oauth-service.d.ts +242 -0
  462. package/lib/types/host/providers/codex-chatgpt/oauth-service.d.ts.map +1 -0
  463. package/lib/types/host/providers/codex-chatgpt/preferences.d.ts +26 -0
  464. package/lib/types/host/providers/codex-chatgpt/preferences.d.ts.map +1 -0
  465. package/lib/types/host/providers/codex-chatgpt/responses-client.d.ts +125 -0
  466. package/lib/types/host/providers/codex-chatgpt/responses-client.d.ts.map +1 -0
  467. package/lib/types/host/providers/codex-chatgpt/responses-mapper.d.ts +133 -0
  468. package/lib/types/host/providers/codex-chatgpt/responses-mapper.d.ts.map +1 -0
  469. package/lib/types/host/providers/codex-chatgpt/routes.d.ts +32 -0
  470. package/lib/types/host/providers/codex-chatgpt/routes.d.ts.map +1 -0
  471. package/lib/types/host/providers/codex-chatgpt/usage-service.d.ts +109 -0
  472. package/lib/types/host/providers/codex-chatgpt/usage-service.d.ts.map +1 -0
  473. package/lib/types/host/providers/command-code/account-pool.d.ts +72 -0
  474. package/lib/types/host/providers/command-code/account-pool.d.ts.map +1 -0
  475. package/lib/types/host/providers/command-code/adapter.d.ts.map +1 -0
  476. package/lib/types/host/providers/command-code/client.d.ts +126 -0
  477. package/lib/types/host/providers/command-code/client.d.ts.map +1 -0
  478. package/lib/types/host/providers/command-code/mapper.d.ts +199 -0
  479. package/lib/types/host/providers/command-code/mapper.d.ts.map +1 -0
  480. package/lib/types/host/providers/command-code/model-catalog.d.ts +45 -0
  481. package/lib/types/host/providers/command-code/model-catalog.d.ts.map +1 -0
  482. package/lib/types/host/providers/command-code/oauth.d.ts +95 -0
  483. package/lib/types/host/providers/command-code/oauth.d.ts.map +1 -0
  484. package/lib/types/host/providers/command-code/plans.d.ts.map +1 -0
  485. package/lib/types/host/providers/command-code/routes.d.ts +44 -0
  486. package/lib/types/host/providers/command-code/routes.d.ts.map +1 -0
  487. package/lib/types/host/providers/command-code/token-store.d.ts +100 -0
  488. package/lib/types/host/providers/command-code/token-store.d.ts.map +1 -0
  489. package/lib/types/host/providers/command-code/types.d.ts +222 -0
  490. package/lib/types/host/providers/command-code/types.d.ts.map +1 -0
  491. package/lib/types/host/providers/glm-coding-plan/account-pool.d.ts +152 -0
  492. package/lib/types/host/providers/glm-coding-plan/account-pool.d.ts.map +1 -0
  493. package/lib/types/host/providers/glm-coding-plan/adapter.d.ts +167 -0
  494. package/lib/types/host/providers/glm-coding-plan/adapter.d.ts.map +1 -0
  495. package/lib/types/host/providers/glm-coding-plan/adopt.d.ts +296 -0
  496. package/lib/types/host/providers/glm-coding-plan/adopt.d.ts.map +1 -0
  497. package/lib/types/host/providers/glm-coding-plan/biz-token-cache.d.ts +99 -0
  498. package/lib/types/host/providers/glm-coding-plan/biz-token-cache.d.ts.map +1 -0
  499. package/lib/types/host/providers/glm-coding-plan/client.d.ts +218 -0
  500. package/lib/types/host/providers/glm-coding-plan/client.d.ts.map +1 -0
  501. package/lib/types/host/providers/glm-coding-plan/exchange.d.ts +189 -0
  502. package/lib/types/host/providers/glm-coding-plan/exchange.d.ts.map +1 -0
  503. package/lib/types/host/providers/glm-coding-plan/mapper-anthropic.d.ts +312 -0
  504. package/lib/types/host/providers/glm-coding-plan/mapper-anthropic.d.ts.map +1 -0
  505. package/lib/types/host/providers/glm-coding-plan/mapper-openai.d.ts +182 -0
  506. package/lib/types/host/providers/glm-coding-plan/mapper-openai.d.ts.map +1 -0
  507. package/lib/types/host/providers/glm-coding-plan/model-catalog.d.ts +180 -0
  508. package/lib/types/host/providers/glm-coding-plan/model-catalog.d.ts.map +1 -0
  509. package/lib/types/host/providers/glm-coding-plan/oauth.d.ts +180 -0
  510. package/lib/types/host/providers/glm-coding-plan/oauth.d.ts.map +1 -0
  511. package/lib/types/host/providers/glm-coding-plan/routes.d.ts +93 -0
  512. package/lib/types/host/providers/glm-coding-plan/routes.d.ts.map +1 -0
  513. package/lib/types/host/providers/glm-coding-plan/token-store.d.ts +202 -0
  514. package/lib/types/host/providers/glm-coding-plan/token-store.d.ts.map +1 -0
  515. package/lib/types/host/providers/glm-coding-plan/types.d.ts +462 -0
  516. package/lib/types/host/providers/glm-coding-plan/types.d.ts.map +1 -0
  517. package/lib/types/host/providers/kimi-code/account-pool.d.ts +124 -0
  518. package/lib/types/host/providers/kimi-code/account-pool.d.ts.map +1 -0
  519. package/lib/types/host/providers/kimi-code/adapter.d.ts +405 -0
  520. package/lib/types/host/providers/kimi-code/adapter.d.ts.map +1 -0
  521. package/lib/types/host/providers/kimi-code/api-key.d.ts +55 -0
  522. package/lib/types/host/providers/kimi-code/api-key.d.ts.map +1 -0
  523. package/lib/types/host/providers/kimi-code/cache-affinity.d.ts +112 -0
  524. package/lib/types/host/providers/kimi-code/cache-affinity.d.ts.map +1 -0
  525. package/lib/types/host/providers/kimi-code/cache-hint.d.ts +65 -0
  526. package/lib/types/host/providers/kimi-code/cache-hint.d.ts.map +1 -0
  527. package/lib/types/host/providers/kimi-code/cache-wait.d.ts +166 -0
  528. package/lib/types/host/providers/kimi-code/cache-wait.d.ts.map +1 -0
  529. package/lib/types/host/providers/kimi-code/client.d.ts +316 -0
  530. package/lib/types/host/providers/kimi-code/client.d.ts.map +1 -0
  531. package/lib/types/host/providers/kimi-code/mapper.d.ts +913 -0
  532. package/lib/types/host/providers/kimi-code/mapper.d.ts.map +1 -0
  533. package/lib/types/host/providers/kimi-code/media-files.d.ts +179 -0
  534. package/lib/types/host/providers/kimi-code/media-files.d.ts.map +1 -0
  535. package/lib/types/host/providers/kimi-code/modalities.d.ts +23 -0
  536. package/lib/types/host/providers/kimi-code/modalities.d.ts.map +1 -0
  537. package/lib/types/host/providers/kimi-code/model-catalog.d.ts +125 -0
  538. package/lib/types/host/providers/kimi-code/model-catalog.d.ts.map +1 -0
  539. package/lib/types/host/providers/kimi-code/oauth.d.ts +213 -0
  540. package/lib/types/host/providers/kimi-code/oauth.d.ts.map +1 -0
  541. package/lib/types/host/providers/kimi-code/repeat-breaker.d.ts +185 -0
  542. package/lib/types/host/providers/kimi-code/repeat-breaker.d.ts.map +1 -0
  543. package/lib/types/host/providers/kimi-code/routes.d.ts +52 -0
  544. package/lib/types/host/providers/kimi-code/routes.d.ts.map +1 -0
  545. package/lib/types/host/providers/kimi-code/session-cache-state.d.ts +156 -0
  546. package/lib/types/host/providers/kimi-code/session-cache-state.d.ts.map +1 -0
  547. package/lib/types/host/providers/kimi-code/token-store.d.ts +182 -0
  548. package/lib/types/host/providers/kimi-code/token-store.d.ts.map +1 -0
  549. package/lib/types/host/providers/kimi-code/tool-argument-guard.d.ts +43 -0
  550. package/lib/types/host/providers/kimi-code/tool-argument-guard.d.ts.map +1 -0
  551. package/lib/types/host/providers/kimi-code/tool-argument-recovery.d.ts.map +1 -0
  552. package/lib/types/host/providers/kimi-code/types.d.ts +407 -0
  553. package/lib/types/host/providers/kimi-code/types.d.ts.map +1 -0
  554. package/lib/types/host/providers/kimi-code/video-store.d.ts.map +1 -0
  555. package/lib/types/host/providers/kimi-code/video-tool.d.ts.map +1 -0
  556. package/lib/types/host/providers/minimax-code/account-pool.d.ts +309 -0
  557. package/lib/types/host/providers/minimax-code/account-pool.d.ts.map +1 -0
  558. package/lib/types/host/providers/minimax-code/adapter.d.ts +205 -0
  559. package/lib/types/host/providers/minimax-code/adapter.d.ts.map +1 -0
  560. package/lib/types/host/providers/minimax-code/checkin-gateway.d.ts +117 -0
  561. package/lib/types/host/providers/minimax-code/checkin-gateway.d.ts.map +1 -0
  562. package/lib/types/host/providers/minimax-code/checkin.d.ts +178 -0
  563. package/lib/types/host/providers/minimax-code/checkin.d.ts.map +1 -0
  564. package/lib/types/host/providers/minimax-code/client.d.ts +242 -0
  565. package/lib/types/host/providers/minimax-code/client.d.ts.map +1 -0
  566. package/lib/types/host/providers/minimax-code/files-api.d.ts +89 -0
  567. package/lib/types/host/providers/minimax-code/files-api.d.ts.map +1 -0
  568. package/lib/types/host/providers/minimax-code/iso-bmff-duration.d.ts +43 -0
  569. package/lib/types/host/providers/minimax-code/iso-bmff-duration.d.ts.map +1 -0
  570. package/lib/types/host/providers/minimax-code/mapper.d.ts +260 -0
  571. package/lib/types/host/providers/minimax-code/mapper.d.ts.map +1 -0
  572. package/lib/types/host/providers/minimax-code/matrix-client.d.ts +128 -0
  573. package/lib/types/host/providers/minimax-code/matrix-client.d.ts.map +1 -0
  574. package/lib/types/host/providers/minimax-code/media-store.d.ts +122 -0
  575. package/lib/types/host/providers/minimax-code/media-store.d.ts.map +1 -0
  576. package/lib/types/host/providers/minimax-code/modalities.d.ts +20 -0
  577. package/lib/types/host/providers/minimax-code/modalities.d.ts.map +1 -0
  578. package/lib/types/host/providers/minimax-code/model-catalog.d.ts +227 -0
  579. package/lib/types/host/providers/minimax-code/model-catalog.d.ts.map +1 -0
  580. package/lib/types/host/providers/minimax-code/oauth.d.ts +220 -0
  581. package/lib/types/host/providers/minimax-code/oauth.d.ts.map +1 -0
  582. package/lib/types/host/providers/minimax-code/reset-card.d.ts +106 -0
  583. package/lib/types/host/providers/minimax-code/reset-card.d.ts.map +1 -0
  584. package/lib/types/host/providers/minimax-code/routes.d.ts +82 -0
  585. package/lib/types/host/providers/minimax-code/routes.d.ts.map +1 -0
  586. package/lib/types/host/providers/minimax-code/runtime-enhancements.d.ts +205 -0
  587. package/lib/types/host/providers/minimax-code/runtime-enhancements.d.ts.map +1 -0
  588. package/lib/types/host/providers/minimax-code/token-store.d.ts +300 -0
  589. package/lib/types/host/providers/minimax-code/token-store.d.ts.map +1 -0
  590. package/lib/types/host/providers/minimax-code/types.d.ts +344 -0
  591. package/lib/types/host/providers/minimax-code/types.d.ts.map +1 -0
  592. package/lib/types/host/providers/minimax-code/video-history.d.ts +209 -0
  593. package/lib/types/host/providers/minimax-code/video-history.d.ts.map +1 -0
  594. package/lib/types/host/providers/minimax-code/video-submit-rules.d.ts.map +1 -0
  595. package/lib/types/host/providers/minimax-code/video-tool.d.ts.map +1 -0
  596. package/lib/types/host/providers/ollama/account-pool.d.ts +65 -0
  597. package/lib/types/host/providers/ollama/account-pool.d.ts.map +1 -0
  598. package/lib/types/host/providers/ollama/adapter.d.ts +85 -0
  599. package/lib/types/host/providers/ollama/adapter.d.ts.map +1 -0
  600. package/lib/types/host/providers/ollama/client.d.ts +166 -0
  601. package/lib/types/host/providers/ollama/client.d.ts.map +1 -0
  602. package/lib/types/host/providers/ollama/mapper.d.ts +49 -0
  603. package/lib/types/host/providers/ollama/mapper.d.ts.map +1 -0
  604. package/lib/types/host/providers/ollama/routes.d.ts +22 -0
  605. package/lib/types/host/providers/ollama/routes.d.ts.map +1 -0
  606. package/lib/types/host/providers/ollama/token-store.d.ts +78 -0
  607. package/lib/types/host/providers/ollama/token-store.d.ts.map +1 -0
  608. package/lib/types/host/providers/ollama/types.d.ts +220 -0
  609. package/lib/types/host/providers/ollama/types.d.ts.map +1 -0
  610. package/lib/types/host/providers/opendesign/account-pool.d.ts +54 -0
  611. package/lib/types/host/providers/opendesign/account-pool.d.ts.map +1 -0
  612. package/lib/types/host/providers/opendesign/adapter.d.ts +82 -0
  613. package/lib/types/host/providers/opendesign/adapter.d.ts.map +1 -0
  614. package/lib/types/host/providers/opendesign/catalog.d.ts.map +1 -0
  615. package/lib/types/host/providers/opendesign/client.d.ts +258 -0
  616. package/lib/types/host/providers/opendesign/client.d.ts.map +1 -0
  617. package/lib/types/host/providers/opendesign/line.d.ts +60 -0
  618. package/lib/types/host/providers/opendesign/line.d.ts.map +1 -0
  619. package/lib/types/host/providers/opendesign/mapper.d.ts +218 -0
  620. package/lib/types/host/providers/opendesign/mapper.d.ts.map +1 -0
  621. package/lib/types/host/providers/opendesign/oauth.d.ts.map +1 -0
  622. package/lib/types/host/providers/opendesign/routes.d.ts +75 -0
  623. package/lib/types/host/providers/opendesign/routes.d.ts.map +1 -0
  624. package/lib/types/host/providers/opendesign/token-store.d.ts +241 -0
  625. package/lib/types/host/providers/opendesign/token-store.d.ts.map +1 -0
  626. package/lib/types/host/providers/opendesign/types.d.ts.map +1 -0
  627. package/lib/types/host/providers/qianwen-token-plan/adapter.d.ts +35 -0
  628. package/lib/types/host/providers/qianwen-token-plan/adapter.d.ts.map +1 -0
  629. package/lib/types/host/providers/qianwen-token-plan/cache-stats.d.ts +17 -0
  630. package/lib/types/host/providers/qianwen-token-plan/cache-stats.d.ts.map +1 -0
  631. package/lib/types/host/providers/qianwen-token-plan/client.d.ts +5 -0
  632. package/lib/types/host/providers/qianwen-token-plan/client.d.ts.map +1 -0
  633. package/lib/types/host/providers/qianwen-token-plan/mapper.d.ts +71 -0
  634. package/lib/types/host/providers/qianwen-token-plan/mapper.d.ts.map +1 -0
  635. package/lib/types/host/providers/qianwen-token-plan/model-catalog.d.ts +28 -0
  636. package/lib/types/host/providers/qianwen-token-plan/model-catalog.d.ts.map +1 -0
  637. package/lib/types/host/providers/qianwen-token-plan/routes.d.ts +12 -0
  638. package/lib/types/host/providers/qianwen-token-plan/routes.d.ts.map +1 -0
  639. package/lib/types/host/providers/qianwen-token-plan/token-store.d.ts +56 -0
  640. package/lib/types/host/providers/qianwen-token-plan/token-store.d.ts.map +1 -0
  641. package/lib/types/host/providers/qianwen-token-plan/types.d.ts.map +1 -0
  642. package/lib/types/host/providers/qoder/account-pool.d.ts +141 -0
  643. package/lib/types/host/providers/qoder/account-pool.d.ts.map +1 -0
  644. package/lib/types/host/providers/qoder/adapter.d.ts +165 -0
  645. package/lib/types/host/providers/qoder/adapter.d.ts.map +1 -0
  646. package/lib/types/host/providers/qoder/adopt.d.ts +104 -0
  647. package/lib/types/host/providers/qoder/adopt.d.ts.map +1 -0
  648. package/lib/types/host/providers/qoder/client.d.ts +292 -0
  649. package/lib/types/host/providers/qoder/client.d.ts.map +1 -0
  650. package/lib/types/host/providers/qoder/cosy.d.ts.map +1 -0
  651. package/lib/types/host/providers/qoder/mapper.d.ts +332 -0
  652. package/lib/types/host/providers/qoder/mapper.d.ts.map +1 -0
  653. package/lib/types/host/providers/qoder/model-catalog.d.ts +231 -0
  654. package/lib/types/host/providers/qoder/model-catalog.d.ts.map +1 -0
  655. package/lib/types/host/providers/qoder/oauth.d.ts +151 -0
  656. package/lib/types/host/providers/qoder/oauth.d.ts.map +1 -0
  657. package/lib/types/host/providers/qoder/routes.d.ts +119 -0
  658. package/lib/types/host/providers/qoder/routes.d.ts.map +1 -0
  659. package/lib/types/host/providers/qoder/token-store.d.ts +280 -0
  660. package/lib/types/host/providers/qoder/token-store.d.ts.map +1 -0
  661. package/lib/types/host/providers/qoder/types.d.ts +262 -0
  662. package/lib/types/host/providers/qoder/types.d.ts.map +1 -0
  663. package/lib/types/host/providers/relayone/account-pool.d.ts +129 -0
  664. package/lib/types/host/providers/relayone/account-pool.d.ts.map +1 -0
  665. package/lib/types/host/providers/relayone/adapter.d.ts +79 -0
  666. package/lib/types/host/providers/relayone/adapter.d.ts.map +1 -0
  667. package/lib/types/host/providers/relayone/catalog-manager.d.ts +45 -0
  668. package/lib/types/host/providers/relayone/catalog-manager.d.ts.map +1 -0
  669. package/lib/types/host/providers/relayone/client.d.ts +5 -0
  670. package/lib/types/host/providers/relayone/client.d.ts.map +1 -0
  671. package/lib/types/host/providers/relayone/image-tool.d.ts.map +1 -0
  672. package/lib/types/host/providers/relayone/mapper-anthropic.d.ts +49 -0
  673. package/lib/types/host/providers/relayone/mapper-anthropic.d.ts.map +1 -0
  674. package/lib/types/host/providers/relayone/mapper-openai.d.ts +36 -0
  675. package/lib/types/host/providers/relayone/mapper-openai.d.ts.map +1 -0
  676. package/lib/types/host/providers/relayone/mapper-shared.d.ts +25 -0
  677. package/lib/types/host/providers/relayone/mapper-shared.d.ts.map +1 -0
  678. package/lib/types/host/providers/relayone/media-shared.d.ts +27 -0
  679. package/lib/types/host/providers/relayone/media-shared.d.ts.map +1 -0
  680. package/lib/types/host/providers/relayone/model-catalog.d.ts +70 -0
  681. package/lib/types/host/providers/relayone/model-catalog.d.ts.map +1 -0
  682. package/lib/types/host/providers/relayone/quota.d.ts +29 -0
  683. package/lib/types/host/providers/relayone/quota.d.ts.map +1 -0
  684. package/lib/types/host/providers/relayone/routes.d.ts +25 -0
  685. package/lib/types/host/providers/relayone/routes.d.ts.map +1 -0
  686. package/lib/types/host/providers/relayone/token-store.d.ts +49 -0
  687. package/lib/types/host/providers/relayone/token-store.d.ts.map +1 -0
  688. package/lib/types/host/providers/relayone/types.d.ts.map +1 -0
  689. package/lib/types/host/providers/relayone/video-tool.d.ts.map +1 -0
  690. package/lib/types/host/providers/step-code/account-pool.d.ts +187 -0
  691. package/lib/types/host/providers/step-code/account-pool.d.ts.map +1 -0
  692. package/lib/types/host/providers/step-code/adapter.d.ts +154 -0
  693. package/lib/types/host/providers/step-code/adapter.d.ts.map +1 -0
  694. package/lib/types/host/providers/step-code/adopt.d.ts +156 -0
  695. package/lib/types/host/providers/step-code/adopt.d.ts.map +1 -0
  696. package/lib/types/host/providers/step-code/cache-stats.d.ts.map +1 -0
  697. package/lib/types/host/providers/step-code/client.d.ts +311 -0
  698. package/lib/types/host/providers/step-code/client.d.ts.map +1 -0
  699. package/lib/types/host/providers/step-code/mapper.d.ts +248 -0
  700. package/lib/types/host/providers/step-code/mapper.d.ts.map +1 -0
  701. package/lib/types/host/providers/step-code/model-catalog.d.ts +218 -0
  702. package/lib/types/host/providers/step-code/model-catalog.d.ts.map +1 -0
  703. package/lib/types/host/providers/step-code/oauth.d.ts +265 -0
  704. package/lib/types/host/providers/step-code/oauth.d.ts.map +1 -0
  705. package/lib/types/host/providers/step-code/routes.d.ts +102 -0
  706. package/lib/types/host/providers/step-code/routes.d.ts.map +1 -0
  707. package/lib/types/host/providers/step-code/token-store.d.ts +325 -0
  708. package/lib/types/host/providers/step-code/token-store.d.ts.map +1 -0
  709. package/lib/types/host/providers/step-code/types.d.ts +492 -0
  710. package/lib/types/host/providers/step-code/types.d.ts.map +1 -0
  711. package/lib/types/host/providers/workbuddy/account-pool.d.ts +389 -0
  712. package/lib/types/host/providers/workbuddy/account-pool.d.ts.map +1 -0
  713. package/lib/types/host/providers/workbuddy/adapter.d.ts +246 -0
  714. package/lib/types/host/providers/workbuddy/adapter.d.ts.map +1 -0
  715. package/lib/types/host/providers/workbuddy/atrest.d.ts.map +1 -0
  716. package/lib/types/host/providers/workbuddy/checkin.d.ts +150 -0
  717. package/lib/types/host/providers/workbuddy/checkin.d.ts.map +1 -0
  718. package/lib/types/host/providers/workbuddy/client.d.ts +214 -0
  719. package/lib/types/host/providers/workbuddy/client.d.ts.map +1 -0
  720. package/lib/types/host/providers/workbuddy/dsml.d.ts.map +1 -0
  721. package/lib/types/host/providers/workbuddy/guardrails.d.ts +111 -0
  722. package/lib/types/host/providers/workbuddy/guardrails.d.ts.map +1 -0
  723. package/lib/types/host/providers/workbuddy/identity.d.ts.map +1 -0
  724. package/lib/types/host/providers/workbuddy/mapper.d.ts +238 -0
  725. package/lib/types/host/providers/workbuddy/mapper.d.ts.map +1 -0
  726. package/lib/types/host/providers/workbuddy/model-catalog.d.ts +153 -0
  727. package/lib/types/host/providers/workbuddy/model-catalog.d.ts.map +1 -0
  728. package/lib/types/host/providers/workbuddy/oauth.d.ts +47 -0
  729. package/lib/types/host/providers/workbuddy/oauth.d.ts.map +1 -0
  730. package/lib/types/host/providers/workbuddy/outbound-identity.d.ts +105 -0
  731. package/lib/types/host/providers/workbuddy/outbound-identity.d.ts.map +1 -0
  732. package/lib/types/host/providers/workbuddy/routes.d.ts +56 -0
  733. package/lib/types/host/providers/workbuddy/routes.d.ts.map +1 -0
  734. package/lib/types/host/providers/workbuddy/token-store.d.ts +370 -0
  735. package/lib/types/host/providers/workbuddy/token-store.d.ts.map +1 -0
  736. package/lib/types/host/providers/workbuddy/types.d.ts +185 -0
  737. package/lib/types/host/providers/workbuddy/types.d.ts.map +1 -0
  738. package/lib/types/host/runtime/cache-warmup/budget.d.ts.map +1 -0
  739. package/lib/types/host/runtime/cache-warmup/contracts.d.ts.map +1 -0
  740. package/lib/types/host/runtime/cache-warmup/index.d.ts.map +1 -0
  741. package/lib/types/host/runtime/cache-warmup/install.d.ts +124 -0
  742. package/lib/types/host/runtime/cache-warmup/install.d.ts.map +1 -0
  743. package/lib/types/host/runtime/cache-warmup/logging.d.ts.map +1 -0
  744. package/lib/types/host/runtime/cache-warmup/projection.d.ts.map +1 -0
  745. package/lib/types/host/runtime/cache-warmup/result-tool.d.ts.map +1 -0
  746. package/lib/types/host/runtime/cache-warmup/retrieval-intent.d.ts.map +1 -0
  747. package/lib/types/host/runtime/cache-warmup/settings.d.ts +79 -0
  748. package/lib/types/host/runtime/cache-warmup/settings.d.ts.map +1 -0
  749. package/lib/types/host/runtime/cache-warmup/store.d.ts.map +1 -0
  750. package/lib/types/host/runtime/cache-warmup/usage.d.ts.map +1 -0
  751. package/lib/types/host/runtime/codemode/discovery.d.ts.map +1 -0
  752. package/lib/types/host/runtime/codemode/executor.d.ts.map +1 -0
  753. package/lib/types/host/runtime/codemode/retention.d.ts.map +1 -0
  754. package/lib/types/host/runtime/codemode/rules.d.ts.map +1 -0
  755. package/lib/types/host/runtime/codemode/scope.d.ts.map +1 -0
  756. package/lib/types/host/runtime/codemode/transport.d.ts +493 -0
  757. package/lib/types/host/runtime/codemode/transport.d.ts.map +1 -0
  758. package/lib/types/host/runtime/compact-after-turn/index.d.ts +105 -0
  759. package/lib/types/host/runtime/compact-after-turn/index.d.ts.map +1 -0
  760. package/lib/types/host/runtime/compaction-route/index.d.ts +118 -0
  761. package/lib/types/host/runtime/compaction-route/index.d.ts.map +1 -0
  762. package/lib/types/host/runtime/deepseek-v41-flash/discipline.d.ts +27 -0
  763. package/lib/types/host/runtime/deepseek-v41-flash/discipline.d.ts.map +1 -0
  764. package/lib/types/host/runtime/deepseek-v41-flash/index.d.ts +70 -0
  765. package/lib/types/host/runtime/deepseek-v41-flash/index.d.ts.map +1 -0
  766. package/lib/types/host/runtime/deepseek-v41-flash/match.d.ts.map +1 -0
  767. package/lib/types/host/runtime/deepseek-v41-flash/observation-tagger.d.ts.map +1 -0
  768. package/lib/types/host/runtime/deepseek-v41-flash/state-anchor.d.ts.map +1 -0
  769. package/lib/types/host/runtime/dispatch-ledger/binding.d.ts.map +1 -0
  770. package/lib/types/host/runtime/dispatch-ledger/guard.d.ts +282 -0
  771. package/lib/types/host/runtime/dispatch-ledger/guard.d.ts.map +1 -0
  772. package/lib/types/host/runtime/dispatch-ledger/header.d.ts +143 -0
  773. package/lib/types/host/runtime/dispatch-ledger/header.d.ts.map +1 -0
  774. package/lib/types/host/runtime/dispatch-ledger/index.d.ts.map +1 -0
  775. package/lib/types/host/runtime/dispatch-ledger/ledger.d.ts +505 -0
  776. package/lib/types/host/runtime/dispatch-ledger/ledger.d.ts.map +1 -0
  777. package/lib/types/host/runtime/dispatch-ledger/policy.d.ts.map +1 -0
  778. package/lib/types/host/runtime/dispatch-ledger/protocol.d.ts.map +1 -0
  779. package/lib/types/host/runtime/dispatch-ledger/tool.d.ts.map +1 -0
  780. package/lib/types/host/runtime/guards/compaction-policy-guard.d.ts.map +1 -0
  781. package/lib/types/host/runtime/guards/dispatch-execution-guard.d.ts +143 -0
  782. package/lib/types/host/runtime/guards/dispatch-execution-guard.d.ts.map +1 -0
  783. package/lib/types/host/runtime/guards/plan-mode-cache-guard.d.ts.map +1 -0
  784. package/lib/types/host/runtime/guards/ptc-sdk-cache-guard.d.ts +75 -0
  785. package/lib/types/host/runtime/guards/ptc-sdk-cache-guard.d.ts.map +1 -0
  786. package/lib/types/host/runtime/guards/settled-job-guard.d.ts +47 -0
  787. package/lib/types/host/runtime/guards/settled-job-guard.d.ts.map +1 -0
  788. package/lib/types/host/runtime/guards/subagent-model-authorization.d.ts +676 -0
  789. package/lib/types/host/runtime/guards/subagent-model-authorization.d.ts.map +1 -0
  790. package/lib/types/host/runtime/guards/subagent-route-audit.d.ts +154 -0
  791. package/lib/types/host/runtime/guards/subagent-route-audit.d.ts.map +1 -0
  792. package/lib/types/host/runtime/guards/team-policy-cache-guard.d.ts.map +1 -0
  793. package/lib/types/host/runtime/guards/timeline-cache-guard.d.ts.map +1 -0
  794. package/lib/types/host/runtime/guards/tool-result-pruner-guard.d.ts.map +1 -0
  795. package/lib/types/host/runtime/no-answer-resume/index.d.ts.map +1 -0
  796. package/lib/types/host/runtime/open-models/discipline.d.ts +14 -0
  797. package/lib/types/host/runtime/open-models/discipline.d.ts.map +1 -0
  798. package/lib/types/host/runtime/open-models/index.d.ts +59 -0
  799. package/lib/types/host/runtime/open-models/index.d.ts.map +1 -0
  800. package/lib/types/host/runtime/open-models/observation-guard.d.ts.map +1 -0
  801. package/lib/types/host/runtime/open-models/profiles.d.ts.map +1 -0
  802. package/lib/types/host/runtime/open-models/state-anchor.d.ts.map +1 -0
  803. package/lib/types/host/runtime/presets/agent-preset.d.ts.map +1 -0
  804. package/lib/types/host/runtime/presets/preset-sync.d.ts +130 -0
  805. package/lib/types/host/runtime/presets/preset-sync.d.ts.map +1 -0
  806. package/lib/types/host/runtime/progress-updates/index.d.ts.map +1 -0
  807. package/lib/types/host/runtime/progress-updates/nudge.d.ts.map +1 -0
  808. package/lib/types/host/runtime/progress-updates/projection.d.ts +181 -0
  809. package/lib/types/host/runtime/progress-updates/projection.d.ts.map +1 -0
  810. package/lib/types/host/runtime/progress-updates/prompt.d.ts.map +1 -0
  811. package/lib/types/host/runtime/progress-updates/routes.d.ts.map +1 -0
  812. package/lib/types/host/runtime/progress-updates/store.d.ts.map +1 -0
  813. package/lib/types/host/runtime/progress-updates/tool.d.ts.map +1 -0
  814. package/lib/types/host/runtime/reasoning-collapse-guard/index.d.ts +304 -0
  815. package/lib/types/host/runtime/reasoning-collapse-guard/index.d.ts.map +1 -0
  816. package/lib/types/host/runtime/session-title-guard/index.d.ts.map +1 -0
  817. package/lib/types/host/runtime/widget-board/line-contracts.d.ts +192 -0
  818. package/lib/types/host/runtime/widget-board/line-contracts.d.ts.map +1 -0
  819. package/lib/types/host/runtime/widget-board/line-quota.d.ts +253 -0
  820. package/lib/types/host/runtime/widget-board/line-quota.d.ts.map +1 -0
  821. package/lib/types/host/runtime/widget-board/line-registry.d.ts +346 -0
  822. package/lib/types/host/runtime/widget-board/line-registry.d.ts.map +1 -0
  823. package/lib/types/host/runtime/widget-board/provider.d.ts.map +1 -0
  824. package/lib/types/index.d.ts +120 -120
  825. package/lib/types/index.d.ts.map +1 -1
  826. package/lib/types/shared/claude-contracts.d.ts +0 -59
  827. package/lib/types/shared/claude-contracts.d.ts.map +1 -1
  828. package/package.json +57 -59
  829. package/CHANGELOG.md +0 -2718
  830. package/lib/entry-plan-mode-EShP3ndV.js +0 -1843
  831. package/lib/entry-plan-mode-pipeline-BCAZPcOz.js +0 -433
  832. package/lib/entry-progress-updates-DMLVID9V.js +0 -1154
  833. package/lib/entry-tool-result-pruner-CNGm7XOI.js +0 -1112
  834. package/lib/llm-compat--WsaC9K6.js +0 -134
  835. package/lib/types/client/CodexComposerQuota.d.ts.map +0 -1
  836. package/lib/types/client/CodexImageToolView.d.ts.map +0 -1
  837. package/lib/types/client/CodexSubscriptionSection.d.ts +0 -42
  838. package/lib/types/client/CodexSubscriptionSection.d.ts.map +0 -1
  839. package/lib/types/client/CompactionRouteCard.d.ts +0 -43
  840. package/lib/types/client/CompactionRouteCard.d.ts.map +0 -1
  841. package/lib/types/client/ProviderHubSection.d.ts +0 -16
  842. package/lib/types/client/ProviderHubSection.d.ts.map +0 -1
  843. package/lib/types/client/antigravity-acp/AntigravityAcpComposerBadge.d.ts +0 -35
  844. package/lib/types/client/antigravity-acp/AntigravityAcpComposerBadge.d.ts.map +0 -1
  845. package/lib/types/client/antigravity-acp/AntigravityAcpSection.d.ts.map +0 -1
  846. package/lib/types/client/antigravity-acp/api.d.ts +0 -36
  847. package/lib/types/client/antigravity-acp/api.d.ts.map +0 -1
  848. package/lib/types/client/antigravity-acp/locales.d.ts +0 -557
  849. package/lib/types/client/antigravity-acp/locales.d.ts.map +0 -1
  850. package/lib/types/client/antigravity-acp/route.d.ts.map +0 -1
  851. package/lib/types/client/antigravity-acp/styles.d.ts.map +0 -1
  852. package/lib/types/client/api.d.ts +0 -60
  853. package/lib/types/client/api.d.ts.map +0 -1
  854. package/lib/types/client/aws-quick/AwsQuickSection.d.ts.map +0 -1
  855. package/lib/types/client/aws-quick/api.d.ts +0 -11
  856. package/lib/types/client/aws-quick/api.d.ts.map +0 -1
  857. package/lib/types/client/aws-quick/locales.d.ts +0 -117
  858. package/lib/types/client/aws-quick/locales.d.ts.map +0 -1
  859. package/lib/types/client/aws-quick/styles.d.ts.map +0 -1
  860. package/lib/types/client/claude/ClaudeComposerQuota.d.ts +0 -29
  861. package/lib/types/client/claude/ClaudeComposerQuota.d.ts.map +0 -1
  862. package/lib/types/client/claude/ClaudeSection.d.ts.map +0 -1
  863. package/lib/types/client/claude/locales.d.ts +0 -468
  864. package/lib/types/client/claude/locales.d.ts.map +0 -1
  865. package/lib/types/client/claude/styles.d.ts.map +0 -1
  866. package/lib/types/client/claude/useClaudeSection.d.ts +0 -95
  867. package/lib/types/client/claude/useClaudeSection.d.ts.map +0 -1
  868. package/lib/types/client/claude-api/ClaudeApiSection.d.ts.map +0 -1
  869. package/lib/types/client/claude-api/api.d.ts.map +0 -1
  870. package/lib/types/client/claude-api/locales.d.ts +0 -161
  871. package/lib/types/client/claude-api/locales.d.ts.map +0 -1
  872. package/lib/types/client/claude-api/styles.d.ts.map +0 -1
  873. package/lib/types/client/claude-api/useClaudeApiSection.d.ts +0 -37
  874. package/lib/types/client/claude-api/useClaudeApiSection.d.ts.map +0 -1
  875. package/lib/types/client/cline-pass/ClinePassComposerQuota.d.ts +0 -23
  876. package/lib/types/client/cline-pass/ClinePassComposerQuota.d.ts.map +0 -1
  877. package/lib/types/client/cline-pass/ClinePassSection.d.ts.map +0 -1
  878. package/lib/types/client/cline-pass/api.d.ts +0 -85
  879. package/lib/types/client/cline-pass/api.d.ts.map +0 -1
  880. package/lib/types/client/cline-pass/locales.d.ts.map +0 -1
  881. package/lib/types/client/cline-pass/styles.d.ts.map +0 -1
  882. package/lib/types/client/codemode/CodeRunToolView.d.ts +0 -68
  883. package/lib/types/client/codemode/CodeRunToolView.d.ts.map +0 -1
  884. package/lib/types/client/codemode/highlight.d.ts.map +0 -1
  885. package/lib/types/client/codemode/styles.d.ts.map +0 -1
  886. package/lib/types/client/codemode/tool-name.d.ts.map +0 -1
  887. package/lib/types/client/command-code/CommandCodeComposerQuota.d.ts +0 -20
  888. package/lib/types/client/command-code/CommandCodeComposerQuota.d.ts.map +0 -1
  889. package/lib/types/client/command-code/CommandCodeSection.d.ts.map +0 -1
  890. package/lib/types/client/command-code/locales.d.ts +0 -305
  891. package/lib/types/client/command-code/locales.d.ts.map +0 -1
  892. package/lib/types/client/compact-after-turn/CompactAfterTurnToggle.d.ts +0 -24
  893. package/lib/types/client/compact-after-turn/CompactAfterTurnToggle.d.ts.map +0 -1
  894. package/lib/types/client/compact-after-turn/locales.d.ts.map +0 -1
  895. package/lib/types/client/compact-after-turn/styles.d.ts.map +0 -1
  896. package/lib/types/client/dispatch-ledger/MandateToolView.d.ts.map +0 -1
  897. package/lib/types/client/dispatch-ledger/locales.d.ts.map +0 -1
  898. package/lib/types/client/dispatch-ledger/styles.d.ts.map +0 -1
  899. package/lib/types/client/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts +0 -27
  900. package/lib/types/client/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts.map +0 -1
  901. package/lib/types/client/glm-coding-plan/GlmCodingPlanSection.d.ts.map +0 -1
  902. package/lib/types/client/glm-coding-plan/api.d.ts.map +0 -1
  903. package/lib/types/client/glm-coding-plan/locales.d.ts +0 -409
  904. package/lib/types/client/glm-coding-plan/locales.d.ts.map +0 -1
  905. package/lib/types/client/glm-coding-plan/styles.d.ts.map +0 -1
  906. package/lib/types/client/glm-coding-plan/useGlmCodingPlanSection.d.ts +0 -65
  907. package/lib/types/client/glm-coding-plan/useGlmCodingPlanSection.d.ts.map +0 -1
  908. package/lib/types/client/kimi-code/KimiCodeComposerQuota.d.ts +0 -21
  909. package/lib/types/client/kimi-code/KimiCodeComposerQuota.d.ts.map +0 -1
  910. package/lib/types/client/kimi-code/KimiCodeSection.d.ts.map +0 -1
  911. package/lib/types/client/kimi-code/KimiModelCapabilities.d.ts +0 -16
  912. package/lib/types/client/kimi-code/KimiModelCapabilities.d.ts.map +0 -1
  913. package/lib/types/client/kimi-code/KimiQuotaCard.d.ts +0 -31
  914. package/lib/types/client/kimi-code/KimiQuotaCard.d.ts.map +0 -1
  915. package/lib/types/client/kimi-code/labels.d.ts +0 -66
  916. package/lib/types/client/kimi-code/labels.d.ts.map +0 -1
  917. package/lib/types/client/kimi-code/locales.d.ts +0 -694
  918. package/lib/types/client/kimi-code/locales.d.ts.map +0 -1
  919. package/lib/types/client/kimi-code/staff-art.d.ts.map +0 -1
  920. package/lib/types/client/kimi-code/styles.d.ts.map +0 -1
  921. package/lib/types/client/locales.d.ts +0 -541
  922. package/lib/types/client/locales.d.ts.map +0 -1
  923. package/lib/types/client/mermaid/renderer.d.ts.map +0 -1
  924. package/lib/types/client/mermaid/sanitize.d.ts.map +0 -1
  925. package/lib/types/client/mermaid/styles.d.ts.map +0 -1
  926. package/lib/types/client/minimax-code/MinimaxCodeComposerQuota.d.ts +0 -23
  927. package/lib/types/client/minimax-code/MinimaxCodeComposerQuota.d.ts.map +0 -1
  928. package/lib/types/client/minimax-code/MinimaxCodeSection.d.ts.map +0 -1
  929. package/lib/types/client/minimax-code/MinimaxVideoDocumentBody.d.ts +0 -86
  930. package/lib/types/client/minimax-code/MinimaxVideoDocumentBody.d.ts.map +0 -1
  931. package/lib/types/client/minimax-code/MinimaxVideoToolView.d.ts.map +0 -1
  932. package/lib/types/client/minimax-code/VideoFormDialog.d.ts +0 -86
  933. package/lib/types/client/minimax-code/VideoFormDialog.d.ts.map +0 -1
  934. package/lib/types/client/minimax-code/VideoSettingsSections.d.ts.map +0 -1
  935. package/lib/types/client/minimax-code/api.d.ts +0 -35
  936. package/lib/types/client/minimax-code/api.d.ts.map +0 -1
  937. package/lib/types/client/minimax-code/commands-contract.d.ts.map +0 -1
  938. package/lib/types/client/minimax-code/document-preview.d.ts.map +0 -1
  939. package/lib/types/client/minimax-code/locales.d.ts +0 -686
  940. package/lib/types/client/minimax-code/locales.d.ts.map +0 -1
  941. package/lib/types/client/minimax-code/styles.d.ts.map +0 -1
  942. package/lib/types/client/minimax-code/useMinimaxCodeSection.d.ts +0 -164
  943. package/lib/types/client/minimax-code/useMinimaxCodeSection.d.ts.map +0 -1
  944. package/lib/types/client/minimax-code/video-command-host.d.ts +0 -67
  945. package/lib/types/client/minimax-code/video-command-host.d.ts.map +0 -1
  946. package/lib/types/client/minimax-code/video-command-icon.d.ts.map +0 -1
  947. package/lib/types/client/minimax-code/video-command.d.ts +0 -120
  948. package/lib/types/client/minimax-code/video-command.d.ts.map +0 -1
  949. package/lib/types/client/minimax-code/video-contract.d.ts.map +0 -1
  950. package/lib/types/client/minimax-code/video-defaults-store.d.ts.map +0 -1
  951. package/lib/types/client/minimax-code/video-form-rules.d.ts +0 -288
  952. package/lib/types/client/minimax-code/video-form-rules.d.ts.map +0 -1
  953. package/lib/types/client/minimax-code/video-media-dropzone.d.ts.map +0 -1
  954. package/lib/types/client/minimax-code/video-media-input.d.ts.map +0 -1
  955. package/lib/types/client/minimax-code/video-media.d.ts.map +0 -1
  956. package/lib/types/client/minimax-code/video-presets.d.ts.map +0 -1
  957. package/lib/types/client/minimax-code/video-slots.d.ts.map +0 -1
  958. package/lib/types/client/minimax-code/video-workspace.d.ts.map +0 -1
  959. package/lib/types/client/ollama/OllamaSection.d.ts.map +0 -1
  960. package/lib/types/client/ollama/api.d.ts +0 -49
  961. package/lib/types/client/ollama/api.d.ts.map +0 -1
  962. package/lib/types/client/ollama/locales.d.ts +0 -479
  963. package/lib/types/client/ollama/locales.d.ts.map +0 -1
  964. package/lib/types/client/opendesign/OpenDesignComposerQuota.d.ts +0 -26
  965. package/lib/types/client/opendesign/OpenDesignComposerQuota.d.ts.map +0 -1
  966. package/lib/types/client/opendesign/OpenDesignSection.d.ts.map +0 -1
  967. package/lib/types/client/opendesign/api.d.ts +0 -45
  968. package/lib/types/client/opendesign/api.d.ts.map +0 -1
  969. package/lib/types/client/opendesign/locales.d.ts.map +0 -1
  970. package/lib/types/client/opendesign/styles.d.ts.map +0 -1
  971. package/lib/types/client/progress-updates/contracts.d.ts.map +0 -1
  972. package/lib/types/client/progress-updates/guide-artwork.d.ts.map +0 -1
  973. package/lib/types/client/progress-updates/host-source.d.ts +0 -144
  974. package/lib/types/client/progress-updates/host-source.d.ts.map +0 -1
  975. package/lib/types/client/progress-updates/index.d.ts +0 -91
  976. package/lib/types/client/progress-updates/index.d.ts.map +0 -1
  977. package/lib/types/client/progress-updates/locales.d.ts.map +0 -1
  978. package/lib/types/client/progress-updates/markdown-lite.d.ts +0 -99
  979. package/lib/types/client/progress-updates/markdown-lite.d.ts.map +0 -1
  980. package/lib/types/client/progress-updates/progress-row.d.ts.map +0 -1
  981. package/lib/types/client/progress-updates/settings-binding.d.ts.map +0 -1
  982. package/lib/types/client/progress-updates/settings-section.d.ts.map +0 -1
  983. package/lib/types/client/progress-updates/styles.d.ts.map +0 -1
  984. package/lib/types/client/progress-updates/tool-name.d.ts.map +0 -1
  985. package/lib/types/client/progress-updates/updates-panel.d.ts.map +0 -1
  986. package/lib/types/client/qianwen-token-plan/QianwenComposerQuota.d.ts +0 -14
  987. package/lib/types/client/qianwen-token-plan/QianwenComposerQuota.d.ts.map +0 -1
  988. package/lib/types/client/qianwen-token-plan/QianwenTokenPlanSection.d.ts.map +0 -1
  989. package/lib/types/client/qianwen-token-plan/api.d.ts.map +0 -1
  990. package/lib/types/client/qianwen-token-plan/locales.d.ts +0 -158
  991. package/lib/types/client/qianwen-token-plan/locales.d.ts.map +0 -1
  992. package/lib/types/client/qianwen-token-plan/styles.d.ts.map +0 -1
  993. package/lib/types/client/qianwen-token-plan/useQianwenSection.d.ts +0 -32
  994. package/lib/types/client/qianwen-token-plan/useQianwenSection.d.ts.map +0 -1
  995. package/lib/types/client/qoder/QoderComposerQuota.d.ts +0 -41
  996. package/lib/types/client/qoder/QoderComposerQuota.d.ts.map +0 -1
  997. package/lib/types/client/qoder/QoderSection.d.ts +0 -37
  998. package/lib/types/client/qoder/QoderSection.d.ts.map +0 -1
  999. package/lib/types/client/qoder/api.d.ts.map +0 -1
  1000. package/lib/types/client/qoder/locales.d.ts +0 -322
  1001. package/lib/types/client/qoder/locales.d.ts.map +0 -1
  1002. package/lib/types/client/qoder/styles.d.ts.map +0 -1
  1003. package/lib/types/client/qoder/useQoderSection.d.ts +0 -97
  1004. package/lib/types/client/qoder/useQoderSection.d.ts.map +0 -1
  1005. package/lib/types/client/quota.d.ts +0 -9
  1006. package/lib/types/client/quota.d.ts.map +0 -1
  1007. package/lib/types/client/relayone/RelayOneComposerQuota.d.ts +0 -14
  1008. package/lib/types/client/relayone/RelayOneComposerQuota.d.ts.map +0 -1
  1009. package/lib/types/client/relayone/RelayOneSection.d.ts.map +0 -1
  1010. package/lib/types/client/relayone/api.d.ts.map +0 -1
  1011. package/lib/types/client/relayone/locales.d.ts +0 -221
  1012. package/lib/types/client/relayone/locales.d.ts.map +0 -1
  1013. package/lib/types/client/relayone/quota-format.d.ts +0 -6
  1014. package/lib/types/client/relayone/quota-format.d.ts.map +0 -1
  1015. package/lib/types/client/relayone/styles.d.ts.map +0 -1
  1016. package/lib/types/client/relayone/useRelayOneSection.d.ts +0 -32
  1017. package/lib/types/client/relayone/useRelayOneSection.d.ts.map +0 -1
  1018. package/lib/types/client/step-code/StepCodeComposerQuota.d.ts +0 -50
  1019. package/lib/types/client/step-code/StepCodeComposerQuota.d.ts.map +0 -1
  1020. package/lib/types/client/step-code/StepCodeSection.d.ts.map +0 -1
  1021. package/lib/types/client/step-code/api.d.ts.map +0 -1
  1022. package/lib/types/client/step-code/locales.d.ts +0 -657
  1023. package/lib/types/client/step-code/locales.d.ts.map +0 -1
  1024. package/lib/types/client/step-code/styles.d.ts.map +0 -1
  1025. package/lib/types/client/step-code/useStepCodeSection.d.ts +0 -122
  1026. package/lib/types/client/step-code/useStepCodeSection.d.ts.map +0 -1
  1027. package/lib/types/client/store.d.ts.map +0 -1
  1028. package/lib/types/client/styles.d.ts.map +0 -1
  1029. package/lib/types/client/subagent/SubagentCard.d.ts.map +0 -1
  1030. package/lib/types/client/subagent/index.d.ts.map +0 -1
  1031. package/lib/types/client/subagent/locales.d.ts +0 -184
  1032. package/lib/types/client/subagent/locales.d.ts.map +0 -1
  1033. package/lib/types/client/subagent/styles.d.ts.map +0 -1
  1034. package/lib/types/client/subagent/subagent-card-controller.d.ts +0 -352
  1035. package/lib/types/client/subagent/subagent-card-controller.d.ts.map +0 -1
  1036. package/lib/types/client/workbuddy/WorkBuddyComposerQuota.d.ts +0 -34
  1037. package/lib/types/client/workbuddy/WorkBuddyComposerQuota.d.ts.map +0 -1
  1038. package/lib/types/client/workbuddy/WorkBuddySection.d.ts +0 -91
  1039. package/lib/types/client/workbuddy/WorkBuddySection.d.ts.map +0 -1
  1040. package/lib/types/client/workbuddy/locales.d.ts +0 -768
  1041. package/lib/types/client/workbuddy/locales.d.ts.map +0 -1
  1042. package/lib/types/client/workbuddy/styles.d.ts.map +0 -1
  1043. package/lib/types/client/workbuddy/useWorkBuddySection.d.ts +0 -149
  1044. package/lib/types/client/workbuddy/useWorkBuddySection.d.ts.map +0 -1
  1045. package/lib/types/entry-codemode.d.ts +0 -37
  1046. package/lib/types/entry-codemode.d.ts.map +0 -1
  1047. package/lib/types/entry-plan-mode-pipeline.d.ts +0 -206
  1048. package/lib/types/entry-plan-mode-pipeline.d.ts.map +0 -1
  1049. package/lib/types/entry-plan-mode.d.ts +0 -499
  1050. package/lib/types/entry-plan-mode.d.ts.map +0 -1
  1051. package/lib/types/entry-progress-updates.d.ts +0 -43
  1052. package/lib/types/entry-progress-updates.d.ts.map +0 -1
  1053. package/lib/types/entry-tool-result-pruner.d.ts +0 -260
  1054. package/lib/types/entry-tool-result-pruner.d.ts.map +0 -1
  1055. package/lib/types/host/adapter.d.ts.map +0 -1
  1056. package/lib/types/host/agent-preset.d.ts.map +0 -1
  1057. package/lib/types/host/antigravity-acp/acp-client.d.ts.map +0 -1
  1058. package/lib/types/host/antigravity-acp/adapter.d.ts +0 -340
  1059. package/lib/types/host/antigravity-acp/adapter.d.ts.map +0 -1
  1060. package/lib/types/host/antigravity-acp/auth-cache.d.ts +0 -59
  1061. package/lib/types/host/antigravity-acp/auth-cache.d.ts.map +0 -1
  1062. package/lib/types/host/antigravity-acp/binary.d.ts.map +0 -1
  1063. package/lib/types/host/antigravity-acp/catalog.d.ts +0 -107
  1064. package/lib/types/host/antigravity-acp/catalog.d.ts.map +0 -1
  1065. package/lib/types/host/antigravity-acp/doctor.d.ts +0 -73
  1066. package/lib/types/host/antigravity-acp/doctor.d.ts.map +0 -1
  1067. package/lib/types/host/antigravity-acp/errors.d.ts +0 -69
  1068. package/lib/types/host/antigravity-acp/errors.d.ts.map +0 -1
  1069. package/lib/types/host/antigravity-acp/history.d.ts +0 -131
  1070. package/lib/types/host/antigravity-acp/history.d.ts.map +0 -1
  1071. package/lib/types/host/antigravity-acp/login.d.ts +0 -68
  1072. package/lib/types/host/antigravity-acp/login.d.ts.map +0 -1
  1073. package/lib/types/host/antigravity-acp/mcp-bridge.d.ts.map +0 -1
  1074. package/lib/types/host/antigravity-acp/process-temp.d.ts.map +0 -1
  1075. package/lib/types/host/antigravity-acp/routes.d.ts +0 -100
  1076. package/lib/types/host/antigravity-acp/routes.d.ts.map +0 -1
  1077. package/lib/types/host/antigravity-acp/settings.d.ts +0 -81
  1078. package/lib/types/host/antigravity-acp/settings.d.ts.map +0 -1
  1079. package/lib/types/host/antigravity-acp/subagent.d.ts +0 -128
  1080. package/lib/types/host/antigravity-acp/subagent.d.ts.map +0 -1
  1081. package/lib/types/host/antigravity-acp/types.d.ts +0 -155
  1082. package/lib/types/host/antigravity-acp/types.d.ts.map +0 -1
  1083. package/lib/types/host/aws-quick/adapter.d.ts +0 -77
  1084. package/lib/types/host/aws-quick/adapter.d.ts.map +0 -1
  1085. package/lib/types/host/aws-quick/binary.d.ts +0 -3
  1086. package/lib/types/host/aws-quick/binary.d.ts.map +0 -1
  1087. package/lib/types/host/aws-quick/client.d.ts +0 -85
  1088. package/lib/types/host/aws-quick/client.d.ts.map +0 -1
  1089. package/lib/types/host/aws-quick/execution-broker.d.ts.map +0 -1
  1090. package/lib/types/host/aws-quick/images.d.ts +0 -21
  1091. package/lib/types/host/aws-quick/images.d.ts.map +0 -1
  1092. package/lib/types/host/aws-quick/markup.d.ts.map +0 -1
  1093. package/lib/types/host/aws-quick/outpost.d.ts +0 -55
  1094. package/lib/types/host/aws-quick/outpost.d.ts.map +0 -1
  1095. package/lib/types/host/aws-quick/protocol.d.ts +0 -53
  1096. package/lib/types/host/aws-quick/protocol.d.ts.map +0 -1
  1097. package/lib/types/host/aws-quick/routes.d.ts +0 -15
  1098. package/lib/types/host/aws-quick/routes.d.ts.map +0 -1
  1099. package/lib/types/host/aws-quick/settings.d.ts +0 -24
  1100. package/lib/types/host/aws-quick/settings.d.ts.map +0 -1
  1101. package/lib/types/host/aws-quick/tool-bridge.d.ts +0 -67
  1102. package/lib/types/host/aws-quick/tool-bridge.d.ts.map +0 -1
  1103. package/lib/types/host/aws-quick/types.d.ts +0 -12
  1104. package/lib/types/host/aws-quick/types.d.ts.map +0 -1
  1105. package/lib/types/host/cache-warmup/budget.d.ts.map +0 -1
  1106. package/lib/types/host/cache-warmup/contracts.d.ts.map +0 -1
  1107. package/lib/types/host/cache-warmup/index.d.ts.map +0 -1
  1108. package/lib/types/host/cache-warmup/install.d.ts +0 -152
  1109. package/lib/types/host/cache-warmup/install.d.ts.map +0 -1
  1110. package/lib/types/host/cache-warmup/logging.d.ts.map +0 -1
  1111. package/lib/types/host/cache-warmup/projection.d.ts.map +0 -1
  1112. package/lib/types/host/cache-warmup/result-tool.d.ts.map +0 -1
  1113. package/lib/types/host/cache-warmup/retrieval-intent.d.ts.map +0 -1
  1114. package/lib/types/host/cache-warmup/settings.d.ts +0 -84
  1115. package/lib/types/host/cache-warmup/settings.d.ts.map +0 -1
  1116. package/lib/types/host/cache-warmup/store.d.ts.map +0 -1
  1117. package/lib/types/host/cache-warmup/usage.d.ts.map +0 -1
  1118. package/lib/types/host/callback-server.d.ts.map +0 -1
  1119. package/lib/types/host/claude/account-pool.d.ts +0 -583
  1120. package/lib/types/host/claude/account-pool.d.ts.map +0 -1
  1121. package/lib/types/host/claude/adapter.d.ts +0 -415
  1122. package/lib/types/host/claude/adapter.d.ts.map +0 -1
  1123. package/lib/types/host/claude/adopt.d.ts +0 -292
  1124. package/lib/types/host/claude/adopt.d.ts.map +0 -1
  1125. package/lib/types/host/claude/client.d.ts +0 -579
  1126. package/lib/types/host/claude/client.d.ts.map +0 -1
  1127. package/lib/types/host/claude/mapper.d.ts +0 -793
  1128. package/lib/types/host/claude/mapper.d.ts.map +0 -1
  1129. package/lib/types/host/claude/model-catalog.d.ts +0 -560
  1130. package/lib/types/host/claude/model-catalog.d.ts.map +0 -1
  1131. package/lib/types/host/claude/oauth.d.ts +0 -419
  1132. package/lib/types/host/claude/oauth.d.ts.map +0 -1
  1133. package/lib/types/host/claude/routes.d.ts +0 -131
  1134. package/lib/types/host/claude/routes.d.ts.map +0 -1
  1135. package/lib/types/host/claude/token-store.d.ts +0 -331
  1136. package/lib/types/host/claude/token-store.d.ts.map +0 -1
  1137. package/lib/types/host/claude/types.d.ts +0 -415
  1138. package/lib/types/host/claude/types.d.ts.map +0 -1
  1139. package/lib/types/host/claude-api/adapter.d.ts +0 -74
  1140. package/lib/types/host/claude-api/adapter.d.ts.map +0 -1
  1141. package/lib/types/host/claude-api/capability-memory.d.ts +0 -4
  1142. package/lib/types/host/claude-api/capability-memory.d.ts.map +0 -1
  1143. package/lib/types/host/claude-api/catalog-manager.d.ts +0 -57
  1144. package/lib/types/host/claude-api/catalog-manager.d.ts.map +0 -1
  1145. package/lib/types/host/claude-api/client-version.d.ts +0 -4
  1146. package/lib/types/host/claude-api/client-version.d.ts.map +0 -1
  1147. package/lib/types/host/claude-api/client.d.ts +0 -55
  1148. package/lib/types/host/claude-api/client.d.ts.map +0 -1
  1149. package/lib/types/host/claude-api/compaction-store.d.ts.map +0 -1
  1150. package/lib/types/host/claude-api/compaction.d.ts +0 -47
  1151. package/lib/types/host/claude-api/compaction.d.ts.map +0 -1
  1152. package/lib/types/host/claude-api/mapper.d.ts +0 -61
  1153. package/lib/types/host/claude-api/mapper.d.ts.map +0 -1
  1154. package/lib/types/host/claude-api/model-catalog.d.ts +0 -76
  1155. package/lib/types/host/claude-api/model-catalog.d.ts.map +0 -1
  1156. package/lib/types/host/claude-api/routes.d.ts +0 -22
  1157. package/lib/types/host/claude-api/routes.d.ts.map +0 -1
  1158. package/lib/types/host/claude-api/stream.d.ts +0 -88
  1159. package/lib/types/host/claude-api/stream.d.ts.map +0 -1
  1160. package/lib/types/host/claude-api/token-store.d.ts +0 -60
  1161. package/lib/types/host/claude-api/token-store.d.ts.map +0 -1
  1162. package/lib/types/host/claude-api/types.d.ts +0 -68
  1163. package/lib/types/host/claude-api/types.d.ts.map +0 -1
  1164. package/lib/types/host/cline-pass/account-pool.d.ts +0 -63
  1165. package/lib/types/host/cline-pass/account-pool.d.ts.map +0 -1
  1166. package/lib/types/host/cline-pass/adapter.d.ts +0 -58
  1167. package/lib/types/host/cline-pass/adapter.d.ts.map +0 -1
  1168. package/lib/types/host/cline-pass/catalog.d.ts.map +0 -1
  1169. package/lib/types/host/cline-pass/client.d.ts.map +0 -1
  1170. package/lib/types/host/cline-pass/engine.d.ts.map +0 -1
  1171. package/lib/types/host/cline-pass/line.d.ts +0 -55
  1172. package/lib/types/host/cline-pass/line.d.ts.map +0 -1
  1173. package/lib/types/host/cline-pass/mapper.d.ts +0 -138
  1174. package/lib/types/host/cline-pass/mapper.d.ts.map +0 -1
  1175. package/lib/types/host/cline-pass/oauth.d.ts.map +0 -1
  1176. package/lib/types/host/cline-pass/protocol.d.ts.map +0 -1
  1177. package/lib/types/host/cline-pass/routes.d.ts +0 -92
  1178. package/lib/types/host/cline-pass/routes.d.ts.map +0 -1
  1179. package/lib/types/host/cline-pass/store.d.ts +0 -75
  1180. package/lib/types/host/cline-pass/store.d.ts.map +0 -1
  1181. package/lib/types/host/cline-pass/token-store.d.ts +0 -170
  1182. package/lib/types/host/cline-pass/token-store.d.ts.map +0 -1
  1183. package/lib/types/host/cline-pass/tools.d.ts +0 -21
  1184. package/lib/types/host/cline-pass/tools.d.ts.map +0 -1
  1185. package/lib/types/host/cline-pass/types.d.ts.map +0 -1
  1186. package/lib/types/host/codemode/discovery.d.ts.map +0 -1
  1187. package/lib/types/host/codemode/executor.d.ts.map +0 -1
  1188. package/lib/types/host/codemode/retention.d.ts.map +0 -1
  1189. package/lib/types/host/codemode/rules.d.ts.map +0 -1
  1190. package/lib/types/host/codemode/scope.d.ts.map +0 -1
  1191. package/lib/types/host/codemode/transport.d.ts +0 -457
  1192. package/lib/types/host/codemode/transport.d.ts.map +0 -1
  1193. package/lib/types/host/codex-account-pool.d.ts +0 -214
  1194. package/lib/types/host/codex-account-pool.d.ts.map +0 -1
  1195. package/lib/types/host/codex-adopt.d.ts +0 -255
  1196. package/lib/types/host/codex-adopt.d.ts.map +0 -1
  1197. package/lib/types/host/codex-catalog.d.ts +0 -69
  1198. package/lib/types/host/codex-catalog.d.ts.map +0 -1
  1199. package/lib/types/host/codex-fetch.d.ts.map +0 -1
  1200. package/lib/types/host/codex-identity.d.ts +0 -130
  1201. package/lib/types/host/codex-identity.d.ts.map +0 -1
  1202. package/lib/types/host/codex-images.d.ts.map +0 -1
  1203. package/lib/types/host/codex-remote-compaction.d.ts +0 -41
  1204. package/lib/types/host/codex-remote-compaction.d.ts.map +0 -1
  1205. package/lib/types/host/codex-search.d.ts.map +0 -1
  1206. package/lib/types/host/command-code/account-pool.d.ts +0 -72
  1207. package/lib/types/host/command-code/account-pool.d.ts.map +0 -1
  1208. package/lib/types/host/command-code/adapter.d.ts.map +0 -1
  1209. package/lib/types/host/command-code/client.d.ts +0 -126
  1210. package/lib/types/host/command-code/client.d.ts.map +0 -1
  1211. package/lib/types/host/command-code/mapper.d.ts +0 -199
  1212. package/lib/types/host/command-code/mapper.d.ts.map +0 -1
  1213. package/lib/types/host/command-code/model-catalog.d.ts +0 -90
  1214. package/lib/types/host/command-code/model-catalog.d.ts.map +0 -1
  1215. package/lib/types/host/command-code/oauth.d.ts +0 -95
  1216. package/lib/types/host/command-code/oauth.d.ts.map +0 -1
  1217. package/lib/types/host/command-code/plans.d.ts.map +0 -1
  1218. package/lib/types/host/command-code/routes.d.ts +0 -44
  1219. package/lib/types/host/command-code/routes.d.ts.map +0 -1
  1220. package/lib/types/host/command-code/token-store.d.ts +0 -100
  1221. package/lib/types/host/command-code/token-store.d.ts.map +0 -1
  1222. package/lib/types/host/command-code/types.d.ts +0 -222
  1223. package/lib/types/host/command-code/types.d.ts.map +0 -1
  1224. package/lib/types/host/common/claude-capability-memory.d.ts.map +0 -1
  1225. package/lib/types/host/common/claude-code-cch.d.ts.map +0 -1
  1226. package/lib/types/host/common/claude-code-corrections.d.ts.map +0 -1
  1227. package/lib/types/host/common/claude-code-first-party.d.ts +0 -68
  1228. package/lib/types/host/common/claude-code-first-party.d.ts.map +0 -1
  1229. package/lib/types/host/common/claude-code-version.d.ts +0 -90
  1230. package/lib/types/host/common/claude-code-version.d.ts.map +0 -1
  1231. package/lib/types/host/compact-after-turn/index.d.ts +0 -134
  1232. package/lib/types/host/compact-after-turn/index.d.ts.map +0 -1
  1233. package/lib/types/host/compaction-policy-guard.d.ts.map +0 -1
  1234. package/lib/types/host/compaction-prompt.d.ts +0 -129
  1235. package/lib/types/host/compaction-prompt.d.ts.map +0 -1
  1236. package/lib/types/host/compaction-route/index.d.ts +0 -147
  1237. package/lib/types/host/compaction-route/index.d.ts.map +0 -1
  1238. package/lib/types/host/credential-store-secret-service.d.ts.map +0 -1
  1239. package/lib/types/host/deepseek-v41-flash/discipline.d.ts +0 -22
  1240. package/lib/types/host/deepseek-v41-flash/discipline.d.ts.map +0 -1
  1241. package/lib/types/host/deepseek-v41-flash/index.d.ts +0 -70
  1242. package/lib/types/host/deepseek-v41-flash/index.d.ts.map +0 -1
  1243. package/lib/types/host/deepseek-v41-flash/match.d.ts.map +0 -1
  1244. package/lib/types/host/deepseek-v41-flash/observation-tagger.d.ts.map +0 -1
  1245. package/lib/types/host/deepseek-v41-flash/state-anchor.d.ts.map +0 -1
  1246. package/lib/types/host/dispatch-execution-guard.d.ts +0 -181
  1247. package/lib/types/host/dispatch-execution-guard.d.ts.map +0 -1
  1248. package/lib/types/host/dispatch-ledger/binding.d.ts.map +0 -1
  1249. package/lib/types/host/dispatch-ledger/guard.d.ts +0 -281
  1250. package/lib/types/host/dispatch-ledger/guard.d.ts.map +0 -1
  1251. package/lib/types/host/dispatch-ledger/header.d.ts +0 -177
  1252. package/lib/types/host/dispatch-ledger/header.d.ts.map +0 -1
  1253. package/lib/types/host/dispatch-ledger/index.d.ts.map +0 -1
  1254. package/lib/types/host/dispatch-ledger/ledger.d.ts +0 -553
  1255. package/lib/types/host/dispatch-ledger/ledger.d.ts.map +0 -1
  1256. package/lib/types/host/dispatch-ledger/policy.d.ts.map +0 -1
  1257. package/lib/types/host/dispatch-ledger/protocol.d.ts.map +0 -1
  1258. package/lib/types/host/dispatch-ledger/tool.d.ts.map +0 -1
  1259. package/lib/types/host/fetch-address-policy.d.ts.map +0 -1
  1260. package/lib/types/host/fetch-configuration.d.ts +0 -6
  1261. package/lib/types/host/fetch-configuration.d.ts.map +0 -1
  1262. package/lib/types/host/glm-coding-plan/account-pool.d.ts +0 -152
  1263. package/lib/types/host/glm-coding-plan/account-pool.d.ts.map +0 -1
  1264. package/lib/types/host/glm-coding-plan/adapter.d.ts +0 -167
  1265. package/lib/types/host/glm-coding-plan/adapter.d.ts.map +0 -1
  1266. package/lib/types/host/glm-coding-plan/adopt.d.ts +0 -354
  1267. package/lib/types/host/glm-coding-plan/adopt.d.ts.map +0 -1
  1268. package/lib/types/host/glm-coding-plan/biz-token-cache.d.ts +0 -99
  1269. package/lib/types/host/glm-coding-plan/biz-token-cache.d.ts.map +0 -1
  1270. package/lib/types/host/glm-coding-plan/client.d.ts +0 -218
  1271. package/lib/types/host/glm-coding-plan/client.d.ts.map +0 -1
  1272. package/lib/types/host/glm-coding-plan/exchange.d.ts +0 -223
  1273. package/lib/types/host/glm-coding-plan/exchange.d.ts.map +0 -1
  1274. package/lib/types/host/glm-coding-plan/mapper-anthropic.d.ts +0 -312
  1275. package/lib/types/host/glm-coding-plan/mapper-anthropic.d.ts.map +0 -1
  1276. package/lib/types/host/glm-coding-plan/mapper-openai.d.ts +0 -213
  1277. package/lib/types/host/glm-coding-plan/mapper-openai.d.ts.map +0 -1
  1278. package/lib/types/host/glm-coding-plan/model-catalog.d.ts +0 -241
  1279. package/lib/types/host/glm-coding-plan/model-catalog.d.ts.map +0 -1
  1280. package/lib/types/host/glm-coding-plan/oauth.d.ts +0 -211
  1281. package/lib/types/host/glm-coding-plan/oauth.d.ts.map +0 -1
  1282. package/lib/types/host/glm-coding-plan/routes.d.ts +0 -93
  1283. package/lib/types/host/glm-coding-plan/routes.d.ts.map +0 -1
  1284. package/lib/types/host/glm-coding-plan/token-store.d.ts +0 -202
  1285. package/lib/types/host/glm-coding-plan/token-store.d.ts.map +0 -1
  1286. package/lib/types/host/glm-coding-plan/types.d.ts +0 -492
  1287. package/lib/types/host/glm-coding-plan/types.d.ts.map +0 -1
  1288. package/lib/types/host/hub-overview.d.ts +0 -26
  1289. package/lib/types/host/hub-overview.d.ts.map +0 -1
  1290. package/lib/types/host/kimi-code/account-pool.d.ts +0 -124
  1291. package/lib/types/host/kimi-code/account-pool.d.ts.map +0 -1
  1292. package/lib/types/host/kimi-code/adapter.d.ts +0 -454
  1293. package/lib/types/host/kimi-code/adapter.d.ts.map +0 -1
  1294. package/lib/types/host/kimi-code/api-key.d.ts +0 -55
  1295. package/lib/types/host/kimi-code/api-key.d.ts.map +0 -1
  1296. package/lib/types/host/kimi-code/cache-affinity.d.ts +0 -112
  1297. package/lib/types/host/kimi-code/cache-affinity.d.ts.map +0 -1
  1298. package/lib/types/host/kimi-code/cache-hint.d.ts +0 -65
  1299. package/lib/types/host/kimi-code/cache-hint.d.ts.map +0 -1
  1300. package/lib/types/host/kimi-code/cache-wait.d.ts +0 -166
  1301. package/lib/types/host/kimi-code/cache-wait.d.ts.map +0 -1
  1302. package/lib/types/host/kimi-code/client.d.ts +0 -316
  1303. package/lib/types/host/kimi-code/client.d.ts.map +0 -1
  1304. package/lib/types/host/kimi-code/mapper.d.ts +0 -913
  1305. package/lib/types/host/kimi-code/mapper.d.ts.map +0 -1
  1306. package/lib/types/host/kimi-code/media-files.d.ts +0 -206
  1307. package/lib/types/host/kimi-code/media-files.d.ts.map +0 -1
  1308. package/lib/types/host/kimi-code/modalities.d.ts +0 -23
  1309. package/lib/types/host/kimi-code/modalities.d.ts.map +0 -1
  1310. package/lib/types/host/kimi-code/model-catalog.d.ts +0 -125
  1311. package/lib/types/host/kimi-code/model-catalog.d.ts.map +0 -1
  1312. package/lib/types/host/kimi-code/oauth.d.ts +0 -213
  1313. package/lib/types/host/kimi-code/oauth.d.ts.map +0 -1
  1314. package/lib/types/host/kimi-code/repeat-breaker.d.ts +0 -219
  1315. package/lib/types/host/kimi-code/repeat-breaker.d.ts.map +0 -1
  1316. package/lib/types/host/kimi-code/routes.d.ts +0 -52
  1317. package/lib/types/host/kimi-code/routes.d.ts.map +0 -1
  1318. package/lib/types/host/kimi-code/session-cache-state.d.ts +0 -156
  1319. package/lib/types/host/kimi-code/session-cache-state.d.ts.map +0 -1
  1320. package/lib/types/host/kimi-code/token-store.d.ts +0 -182
  1321. package/lib/types/host/kimi-code/token-store.d.ts.map +0 -1
  1322. package/lib/types/host/kimi-code/tool-argument-guard.d.ts +0 -43
  1323. package/lib/types/host/kimi-code/tool-argument-guard.d.ts.map +0 -1
  1324. package/lib/types/host/kimi-code/tool-argument-recovery.d.ts.map +0 -1
  1325. package/lib/types/host/kimi-code/types.d.ts +0 -458
  1326. package/lib/types/host/kimi-code/types.d.ts.map +0 -1
  1327. package/lib/types/host/kimi-code/video-store.d.ts.map +0 -1
  1328. package/lib/types/host/kimi-code/video-tool.d.ts.map +0 -1
  1329. package/lib/types/host/minimax-code/account-pool.d.ts +0 -309
  1330. package/lib/types/host/minimax-code/account-pool.d.ts.map +0 -1
  1331. package/lib/types/host/minimax-code/adapter.d.ts +0 -209
  1332. package/lib/types/host/minimax-code/adapter.d.ts.map +0 -1
  1333. package/lib/types/host/minimax-code/checkin-gateway.d.ts +0 -145
  1334. package/lib/types/host/minimax-code/checkin-gateway.d.ts.map +0 -1
  1335. package/lib/types/host/minimax-code/checkin.d.ts +0 -207
  1336. package/lib/types/host/minimax-code/checkin.d.ts.map +0 -1
  1337. package/lib/types/host/minimax-code/client.d.ts +0 -242
  1338. package/lib/types/host/minimax-code/client.d.ts.map +0 -1
  1339. package/lib/types/host/minimax-code/files-api.d.ts +0 -117
  1340. package/lib/types/host/minimax-code/files-api.d.ts.map +0 -1
  1341. package/lib/types/host/minimax-code/iso-bmff-duration.d.ts +0 -84
  1342. package/lib/types/host/minimax-code/iso-bmff-duration.d.ts.map +0 -1
  1343. package/lib/types/host/minimax-code/mapper.d.ts +0 -351
  1344. package/lib/types/host/minimax-code/mapper.d.ts.map +0 -1
  1345. package/lib/types/host/minimax-code/matrix-client.d.ts +0 -168
  1346. package/lib/types/host/minimax-code/matrix-client.d.ts.map +0 -1
  1347. package/lib/types/host/minimax-code/media-store.d.ts +0 -153
  1348. package/lib/types/host/minimax-code/media-store.d.ts.map +0 -1
  1349. package/lib/types/host/minimax-code/modalities.d.ts +0 -20
  1350. package/lib/types/host/minimax-code/modalities.d.ts.map +0 -1
  1351. package/lib/types/host/minimax-code/model-catalog.d.ts +0 -227
  1352. package/lib/types/host/minimax-code/model-catalog.d.ts.map +0 -1
  1353. package/lib/types/host/minimax-code/oauth.d.ts +0 -220
  1354. package/lib/types/host/minimax-code/oauth.d.ts.map +0 -1
  1355. package/lib/types/host/minimax-code/reset-card.d.ts +0 -136
  1356. package/lib/types/host/minimax-code/reset-card.d.ts.map +0 -1
  1357. package/lib/types/host/minimax-code/routes.d.ts +0 -82
  1358. package/lib/types/host/minimax-code/routes.d.ts.map +0 -1
  1359. package/lib/types/host/minimax-code/runtime-enhancements.d.ts +0 -235
  1360. package/lib/types/host/minimax-code/runtime-enhancements.d.ts.map +0 -1
  1361. package/lib/types/host/minimax-code/token-store.d.ts +0 -328
  1362. package/lib/types/host/minimax-code/token-store.d.ts.map +0 -1
  1363. package/lib/types/host/minimax-code/types.d.ts +0 -378
  1364. package/lib/types/host/minimax-code/types.d.ts.map +0 -1
  1365. package/lib/types/host/minimax-code/video-history.d.ts +0 -240
  1366. package/lib/types/host/minimax-code/video-history.d.ts.map +0 -1
  1367. package/lib/types/host/minimax-code/video-submit-rules.d.ts.map +0 -1
  1368. package/lib/types/host/minimax-code/video-tool.d.ts.map +0 -1
  1369. package/lib/types/host/model-catalog.d.ts +0 -43
  1370. package/lib/types/host/model-catalog.d.ts.map +0 -1
  1371. package/lib/types/host/no-answer-resume/index.d.ts.map +0 -1
  1372. package/lib/types/host/oauth-service.d.ts +0 -242
  1373. package/lib/types/host/oauth-service.d.ts.map +0 -1
  1374. package/lib/types/host/ollama/account-pool.d.ts +0 -65
  1375. package/lib/types/host/ollama/account-pool.d.ts.map +0 -1
  1376. package/lib/types/host/ollama/adapter.d.ts +0 -85
  1377. package/lib/types/host/ollama/adapter.d.ts.map +0 -1
  1378. package/lib/types/host/ollama/client.d.ts +0 -166
  1379. package/lib/types/host/ollama/client.d.ts.map +0 -1
  1380. package/lib/types/host/ollama/mapper.d.ts +0 -49
  1381. package/lib/types/host/ollama/mapper.d.ts.map +0 -1
  1382. package/lib/types/host/ollama/routes.d.ts +0 -22
  1383. package/lib/types/host/ollama/routes.d.ts.map +0 -1
  1384. package/lib/types/host/ollama/token-store.d.ts +0 -78
  1385. package/lib/types/host/ollama/token-store.d.ts.map +0 -1
  1386. package/lib/types/host/ollama/types.d.ts +0 -247
  1387. package/lib/types/host/ollama/types.d.ts.map +0 -1
  1388. package/lib/types/host/open-models/discipline.d.ts +0 -9
  1389. package/lib/types/host/open-models/discipline.d.ts.map +0 -1
  1390. package/lib/types/host/open-models/index.d.ts +0 -59
  1391. package/lib/types/host/open-models/index.d.ts.map +0 -1
  1392. package/lib/types/host/open-models/observation-guard.d.ts.map +0 -1
  1393. package/lib/types/host/open-models/profiles.d.ts.map +0 -1
  1394. package/lib/types/host/open-models/state-anchor.d.ts.map +0 -1
  1395. package/lib/types/host/opendesign/account-pool.d.ts +0 -54
  1396. package/lib/types/host/opendesign/account-pool.d.ts.map +0 -1
  1397. package/lib/types/host/opendesign/adapter.d.ts +0 -82
  1398. package/lib/types/host/opendesign/adapter.d.ts.map +0 -1
  1399. package/lib/types/host/opendesign/catalog.d.ts.map +0 -1
  1400. package/lib/types/host/opendesign/client.d.ts +0 -304
  1401. package/lib/types/host/opendesign/client.d.ts.map +0 -1
  1402. package/lib/types/host/opendesign/line.d.ts +0 -60
  1403. package/lib/types/host/opendesign/line.d.ts.map +0 -1
  1404. package/lib/types/host/opendesign/mapper.d.ts +0 -218
  1405. package/lib/types/host/opendesign/mapper.d.ts.map +0 -1
  1406. package/lib/types/host/opendesign/oauth.d.ts.map +0 -1
  1407. package/lib/types/host/opendesign/routes.d.ts +0 -75
  1408. package/lib/types/host/opendesign/routes.d.ts.map +0 -1
  1409. package/lib/types/host/opendesign/token-store.d.ts +0 -241
  1410. package/lib/types/host/opendesign/token-store.d.ts.map +0 -1
  1411. package/lib/types/host/opendesign/types.d.ts.map +0 -1
  1412. package/lib/types/host/plan-mode-cache-guard.d.ts.map +0 -1
  1413. package/lib/types/host/platform-token-store.d.ts.map +0 -1
  1414. package/lib/types/host/preferences.d.ts +0 -26
  1415. package/lib/types/host/preferences.d.ts.map +0 -1
  1416. package/lib/types/host/preset-sync.d.ts +0 -161
  1417. package/lib/types/host/preset-sync.d.ts.map +0 -1
  1418. package/lib/types/host/progress-updates/index.d.ts.map +0 -1
  1419. package/lib/types/host/progress-updates/nudge.d.ts.map +0 -1
  1420. package/lib/types/host/progress-updates/projection.d.ts +0 -214
  1421. package/lib/types/host/progress-updates/projection.d.ts.map +0 -1
  1422. package/lib/types/host/progress-updates/prompt.d.ts.map +0 -1
  1423. package/lib/types/host/progress-updates/routes.d.ts.map +0 -1
  1424. package/lib/types/host/progress-updates/store.d.ts.map +0 -1
  1425. package/lib/types/host/progress-updates/tool.d.ts.map +0 -1
  1426. package/lib/types/host/proxy-manager.d.ts +0 -240
  1427. package/lib/types/host/proxy-manager.d.ts.map +0 -1
  1428. package/lib/types/host/ptc-sdk-cache-guard.d.ts +0 -104
  1429. package/lib/types/host/ptc-sdk-cache-guard.d.ts.map +0 -1
  1430. package/lib/types/host/qianwen-token-plan/adapter.d.ts +0 -39
  1431. package/lib/types/host/qianwen-token-plan/adapter.d.ts.map +0 -1
  1432. package/lib/types/host/qianwen-token-plan/cache-stats.d.ts +0 -17
  1433. package/lib/types/host/qianwen-token-plan/cache-stats.d.ts.map +0 -1
  1434. package/lib/types/host/qianwen-token-plan/client.d.ts +0 -5
  1435. package/lib/types/host/qianwen-token-plan/client.d.ts.map +0 -1
  1436. package/lib/types/host/qianwen-token-plan/mapper.d.ts +0 -71
  1437. package/lib/types/host/qianwen-token-plan/mapper.d.ts.map +0 -1
  1438. package/lib/types/host/qianwen-token-plan/model-catalog.d.ts +0 -28
  1439. package/lib/types/host/qianwen-token-plan/model-catalog.d.ts.map +0 -1
  1440. package/lib/types/host/qianwen-token-plan/routes.d.ts +0 -12
  1441. package/lib/types/host/qianwen-token-plan/routes.d.ts.map +0 -1
  1442. package/lib/types/host/qianwen-token-plan/token-store.d.ts +0 -56
  1443. package/lib/types/host/qianwen-token-plan/token-store.d.ts.map +0 -1
  1444. package/lib/types/host/qianwen-token-plan/types.d.ts.map +0 -1
  1445. package/lib/types/host/qoder/account-pool.d.ts +0 -141
  1446. package/lib/types/host/qoder/account-pool.d.ts.map +0 -1
  1447. package/lib/types/host/qoder/adapter.d.ts +0 -169
  1448. package/lib/types/host/qoder/adapter.d.ts.map +0 -1
  1449. package/lib/types/host/qoder/adopt.d.ts +0 -146
  1450. package/lib/types/host/qoder/adopt.d.ts.map +0 -1
  1451. package/lib/types/host/qoder/client.d.ts +0 -323
  1452. package/lib/types/host/qoder/client.d.ts.map +0 -1
  1453. package/lib/types/host/qoder/cosy.d.ts.map +0 -1
  1454. package/lib/types/host/qoder/mapper.d.ts +0 -332
  1455. package/lib/types/host/qoder/mapper.d.ts.map +0 -1
  1456. package/lib/types/host/qoder/model-catalog.d.ts +0 -231
  1457. package/lib/types/host/qoder/model-catalog.d.ts.map +0 -1
  1458. package/lib/types/host/qoder/oauth.d.ts +0 -151
  1459. package/lib/types/host/qoder/oauth.d.ts.map +0 -1
  1460. package/lib/types/host/qoder/routes.d.ts +0 -119
  1461. package/lib/types/host/qoder/routes.d.ts.map +0 -1
  1462. package/lib/types/host/qoder/token-store.d.ts +0 -280
  1463. package/lib/types/host/qoder/token-store.d.ts.map +0 -1
  1464. package/lib/types/host/qoder/types.d.ts +0 -262
  1465. package/lib/types/host/qoder/types.d.ts.map +0 -1
  1466. package/lib/types/host/reasoning-collapse-guard/index.d.ts +0 -364
  1467. package/lib/types/host/reasoning-collapse-guard/index.d.ts.map +0 -1
  1468. package/lib/types/host/relay-probe.d.ts.map +0 -1
  1469. package/lib/types/host/relayone/account-pool.d.ts +0 -129
  1470. package/lib/types/host/relayone/account-pool.d.ts.map +0 -1
  1471. package/lib/types/host/relayone/adapter.d.ts +0 -83
  1472. package/lib/types/host/relayone/adapter.d.ts.map +0 -1
  1473. package/lib/types/host/relayone/catalog-manager.d.ts +0 -45
  1474. package/lib/types/host/relayone/catalog-manager.d.ts.map +0 -1
  1475. package/lib/types/host/relayone/client.d.ts +0 -5
  1476. package/lib/types/host/relayone/client.d.ts.map +0 -1
  1477. package/lib/types/host/relayone/image-tool.d.ts.map +0 -1
  1478. package/lib/types/host/relayone/mapper-anthropic.d.ts +0 -49
  1479. package/lib/types/host/relayone/mapper-anthropic.d.ts.map +0 -1
  1480. package/lib/types/host/relayone/mapper-openai.d.ts +0 -36
  1481. package/lib/types/host/relayone/mapper-openai.d.ts.map +0 -1
  1482. package/lib/types/host/relayone/mapper-shared.d.ts +0 -24
  1483. package/lib/types/host/relayone/mapper-shared.d.ts.map +0 -1
  1484. package/lib/types/host/relayone/media-shared.d.ts +0 -27
  1485. package/lib/types/host/relayone/media-shared.d.ts.map +0 -1
  1486. package/lib/types/host/relayone/model-catalog.d.ts +0 -70
  1487. package/lib/types/host/relayone/model-catalog.d.ts.map +0 -1
  1488. package/lib/types/host/relayone/quota.d.ts +0 -29
  1489. package/lib/types/host/relayone/quota.d.ts.map +0 -1
  1490. package/lib/types/host/relayone/routes.d.ts +0 -25
  1491. package/lib/types/host/relayone/routes.d.ts.map +0 -1
  1492. package/lib/types/host/relayone/token-store.d.ts +0 -49
  1493. package/lib/types/host/relayone/token-store.d.ts.map +0 -1
  1494. package/lib/types/host/relayone/types.d.ts.map +0 -1
  1495. package/lib/types/host/relayone/video-tool.d.ts.map +0 -1
  1496. package/lib/types/host/responses-client.d.ts +0 -125
  1497. package/lib/types/host/responses-client.d.ts.map +0 -1
  1498. package/lib/types/host/responses-mapper.d.ts +0 -133
  1499. package/lib/types/host/responses-mapper.d.ts.map +0 -1
  1500. package/lib/types/host/routes.d.ts +0 -32
  1501. package/lib/types/host/routes.d.ts.map +0 -1
  1502. package/lib/types/host/search-provider-switcher.d.ts +0 -45
  1503. package/lib/types/host/search-provider-switcher.d.ts.map +0 -1
  1504. package/lib/types/host/session-title-guard/index.d.ts.map +0 -1
  1505. package/lib/types/host/settled-job-guard.d.ts +0 -77
  1506. package/lib/types/host/settled-job-guard.d.ts.map +0 -1
  1507. package/lib/types/host/step-code/account-pool.d.ts +0 -187
  1508. package/lib/types/host/step-code/account-pool.d.ts.map +0 -1
  1509. package/lib/types/host/step-code/adapter.d.ts +0 -158
  1510. package/lib/types/host/step-code/adapter.d.ts.map +0 -1
  1511. package/lib/types/host/step-code/adopt.d.ts +0 -201
  1512. package/lib/types/host/step-code/adopt.d.ts.map +0 -1
  1513. package/lib/types/host/step-code/cache-stats.d.ts.map +0 -1
  1514. package/lib/types/host/step-code/client.d.ts +0 -339
  1515. package/lib/types/host/step-code/client.d.ts.map +0 -1
  1516. package/lib/types/host/step-code/mapper.d.ts +0 -305
  1517. package/lib/types/host/step-code/mapper.d.ts.map +0 -1
  1518. package/lib/types/host/step-code/model-catalog.d.ts +0 -247
  1519. package/lib/types/host/step-code/model-catalog.d.ts.map +0 -1
  1520. package/lib/types/host/step-code/oauth.d.ts +0 -265
  1521. package/lib/types/host/step-code/oauth.d.ts.map +0 -1
  1522. package/lib/types/host/step-code/routes.d.ts +0 -129
  1523. package/lib/types/host/step-code/routes.d.ts.map +0 -1
  1524. package/lib/types/host/step-code/token-store.d.ts +0 -325
  1525. package/lib/types/host/step-code/token-store.d.ts.map +0 -1
  1526. package/lib/types/host/step-code/types.d.ts +0 -492
  1527. package/lib/types/host/step-code/types.d.ts.map +0 -1
  1528. package/lib/types/host/subagent-model-authorization.d.ts +0 -653
  1529. package/lib/types/host/subagent-model-authorization.d.ts.map +0 -1
  1530. package/lib/types/host/subagent-route-audit.d.ts +0 -154
  1531. package/lib/types/host/subagent-route-audit.d.ts.map +0 -1
  1532. package/lib/types/host/team-policy-cache-guard.d.ts.map +0 -1
  1533. package/lib/types/host/timeline-cache-guard.d.ts.map +0 -1
  1534. package/lib/types/host/token-store-linux.d.ts.map +0 -1
  1535. package/lib/types/host/token-store-macos.d.ts.map +0 -1
  1536. package/lib/types/host/token-store-windows.d.ts.map +0 -1
  1537. package/lib/types/host/token-store.d.ts +0 -81
  1538. package/lib/types/host/token-store.d.ts.map +0 -1
  1539. package/lib/types/host/tool-result-pruner-guard.d.ts.map +0 -1
  1540. package/lib/types/host/update-check.d.ts +0 -118
  1541. package/lib/types/host/update-check.d.ts.map +0 -1
  1542. package/lib/types/host/usage-service.d.ts +0 -109
  1543. package/lib/types/host/usage-service.d.ts.map +0 -1
  1544. package/lib/types/host/web-provider-reconciler.d.ts.map +0 -1
  1545. package/lib/types/host/widget-board/line-contracts.d.ts +0 -192
  1546. package/lib/types/host/widget-board/line-contracts.d.ts.map +0 -1
  1547. package/lib/types/host/widget-board/line-quota.d.ts +0 -279
  1548. package/lib/types/host/widget-board/line-quota.d.ts.map +0 -1
  1549. package/lib/types/host/widget-board/line-registry.d.ts +0 -402
  1550. package/lib/types/host/widget-board/line-registry.d.ts.map +0 -1
  1551. package/lib/types/host/widget-board/provider.d.ts.map +0 -1
  1552. package/lib/types/host/wire-auth.d.ts +0 -63
  1553. package/lib/types/host/wire-auth.d.ts.map +0 -1
  1554. package/lib/types/host/workbuddy/account-pool.d.ts +0 -389
  1555. package/lib/types/host/workbuddy/account-pool.d.ts.map +0 -1
  1556. package/lib/types/host/workbuddy/adapter.d.ts +0 -250
  1557. package/lib/types/host/workbuddy/adapter.d.ts.map +0 -1
  1558. package/lib/types/host/workbuddy/atrest.d.ts.map +0 -1
  1559. package/lib/types/host/workbuddy/checkin.d.ts +0 -150
  1560. package/lib/types/host/workbuddy/checkin.d.ts.map +0 -1
  1561. package/lib/types/host/workbuddy/client.d.ts +0 -214
  1562. package/lib/types/host/workbuddy/client.d.ts.map +0 -1
  1563. package/lib/types/host/workbuddy/dsml.d.ts.map +0 -1
  1564. package/lib/types/host/workbuddy/guardrails.d.ts +0 -111
  1565. package/lib/types/host/workbuddy/guardrails.d.ts.map +0 -1
  1566. package/lib/types/host/workbuddy/identity.d.ts.map +0 -1
  1567. package/lib/types/host/workbuddy/mapper.d.ts +0 -238
  1568. package/lib/types/host/workbuddy/mapper.d.ts.map +0 -1
  1569. package/lib/types/host/workbuddy/model-catalog.d.ts +0 -239
  1570. package/lib/types/host/workbuddy/model-catalog.d.ts.map +0 -1
  1571. package/lib/types/host/workbuddy/oauth.d.ts +0 -47
  1572. package/lib/types/host/workbuddy/oauth.d.ts.map +0 -1
  1573. package/lib/types/host/workbuddy/outbound-identity.d.ts +0 -139
  1574. package/lib/types/host/workbuddy/outbound-identity.d.ts.map +0 -1
  1575. package/lib/types/host/workbuddy/routes.d.ts +0 -56
  1576. package/lib/types/host/workbuddy/routes.d.ts.map +0 -1
  1577. package/lib/types/host/workbuddy/token-store.d.ts +0 -370
  1578. package/lib/types/host/workbuddy/token-store.d.ts.map +0 -1
  1579. package/lib/types/host/workbuddy/types.d.ts +0 -185
  1580. package/lib/types/host/workbuddy/types.d.ts.map +0 -1
  1581. /package/{icon.svg → assets/icon.svg} +0 -0
  1582. /package/{progress-updates.svg → assets/progress-updates.svg} +0 -0
  1583. /package/lib/types/client/{codemode → features/codemode}/highlight.d.ts +0 -0
  1584. /package/lib/types/client/{codemode → features/codemode}/styles.d.ts +0 -0
  1585. /package/lib/types/client/{codemode → features/codemode}/tool-name.d.ts +0 -0
  1586. /package/lib/types/client/{compact-after-turn → features/compact-after-turn}/locales.d.ts +0 -0
  1587. /package/lib/types/client/{compact-after-turn → features/compact-after-turn}/styles.d.ts +0 -0
  1588. /package/lib/types/client/{dispatch-ledger → features/dispatch-ledger}/MandateToolView.d.ts +0 -0
  1589. /package/lib/types/client/{dispatch-ledger → features/dispatch-ledger}/locales.d.ts +0 -0
  1590. /package/lib/types/client/{dispatch-ledger → features/dispatch-ledger}/styles.d.ts +0 -0
  1591. /package/lib/types/client/{mermaid → features/mermaid}/renderer.d.ts +0 -0
  1592. /package/lib/types/client/{mermaid → features/mermaid}/sanitize.d.ts +0 -0
  1593. /package/lib/types/client/{mermaid → features/mermaid}/styles.d.ts +0 -0
  1594. /package/lib/types/client/{progress-updates → features/progress-updates}/contracts.d.ts +0 -0
  1595. /package/lib/types/client/{progress-updates → features/progress-updates}/guide-artwork.d.ts +0 -0
  1596. /package/lib/types/client/{progress-updates → features/progress-updates}/locales.d.ts +0 -0
  1597. /package/lib/types/client/{progress-updates → features/progress-updates}/progress-row.d.ts +0 -0
  1598. /package/lib/types/client/{progress-updates → features/progress-updates}/settings-binding.d.ts +0 -0
  1599. /package/lib/types/client/{progress-updates → features/progress-updates}/settings-section.d.ts +0 -0
  1600. /package/lib/types/client/{progress-updates → features/progress-updates}/styles.d.ts +0 -0
  1601. /package/lib/types/client/{progress-updates → features/progress-updates}/tool-name.d.ts +0 -0
  1602. /package/lib/types/client/{progress-updates → features/progress-updates}/updates-panel.d.ts +0 -0
  1603. /package/lib/types/client/{subagent → features/subagent}/SubagentCard.d.ts +0 -0
  1604. /package/lib/types/client/{subagent → features/subagent}/index.d.ts +0 -0
  1605. /package/lib/types/client/{subagent → features/subagent}/styles.d.ts +0 -0
  1606. /package/lib/types/client/{antigravity-acp → providers/antigravity-acp}/AntigravityAcpSection.d.ts +0 -0
  1607. /package/lib/types/client/{antigravity-acp → providers/antigravity-acp}/route.d.ts +0 -0
  1608. /package/lib/types/client/{antigravity-acp → providers/antigravity-acp}/styles.d.ts +0 -0
  1609. /package/lib/types/client/{aws-quick → providers/aws-quick}/AwsQuickSection.d.ts +0 -0
  1610. /package/lib/types/client/{aws-quick → providers/aws-quick}/styles.d.ts +0 -0
  1611. /package/lib/types/client/{claude → providers/claude}/ClaudeSection.d.ts +0 -0
  1612. /package/lib/types/client/{claude → providers/claude}/styles.d.ts +0 -0
  1613. /package/lib/types/client/{claude-api → providers/claude-api}/ClaudeApiSection.d.ts +0 -0
  1614. /package/lib/types/client/{claude-api → providers/claude-api}/api.d.ts +0 -0
  1615. /package/lib/types/client/{claude-api → providers/claude-api}/styles.d.ts +0 -0
  1616. /package/lib/types/client/{cline-pass → providers/cline-pass}/ClinePassSection.d.ts +0 -0
  1617. /package/lib/types/client/{cline-pass → providers/cline-pass}/locales.d.ts +0 -0
  1618. /package/lib/types/client/{cline-pass → providers/cline-pass}/styles.d.ts +0 -0
  1619. /package/lib/types/client/{CodexComposerQuota.d.ts → providers/codex-chatgpt/CodexComposerQuota.d.ts} +0 -0
  1620. /package/lib/types/client/{CodexImageToolView.d.ts → providers/codex-chatgpt/CodexImageToolView.d.ts} +0 -0
  1621. /package/lib/types/client/{store.d.ts → providers/codex-chatgpt/store.d.ts} +0 -0
  1622. /package/lib/types/client/{styles.d.ts → providers/codex-chatgpt/styles.d.ts} +0 -0
  1623. /package/lib/types/client/{command-code → providers/command-code}/CommandCodeSection.d.ts +0 -0
  1624. /package/lib/types/client/{glm-coding-plan → providers/glm-coding-plan}/GlmCodingPlanSection.d.ts +0 -0
  1625. /package/lib/types/client/{glm-coding-plan → providers/glm-coding-plan}/api.d.ts +0 -0
  1626. /package/lib/types/client/{glm-coding-plan → providers/glm-coding-plan}/styles.d.ts +0 -0
  1627. /package/lib/types/client/{kimi-code → providers/kimi-code}/KimiCodeSection.d.ts +0 -0
  1628. /package/lib/types/client/{kimi-code → providers/kimi-code}/staff-art.d.ts +0 -0
  1629. /package/lib/types/client/{kimi-code → providers/kimi-code}/styles.d.ts +0 -0
  1630. /package/lib/types/client/{minimax-code → providers/minimax-code}/MinimaxCodeSection.d.ts +0 -0
  1631. /package/lib/types/client/{minimax-code → providers/minimax-code}/MinimaxVideoToolView.d.ts +0 -0
  1632. /package/lib/types/client/{minimax-code → providers/minimax-code}/VideoSettingsSections.d.ts +0 -0
  1633. /package/lib/types/client/{minimax-code → providers/minimax-code}/commands-contract.d.ts +0 -0
  1634. /package/lib/types/client/{minimax-code → providers/minimax-code}/document-preview.d.ts +0 -0
  1635. /package/lib/types/client/{minimax-code → providers/minimax-code}/styles.d.ts +0 -0
  1636. /package/lib/types/client/{minimax-code → providers/minimax-code}/video-command-icon.d.ts +0 -0
  1637. /package/lib/types/client/{minimax-code → providers/minimax-code}/video-contract.d.ts +0 -0
  1638. /package/lib/types/client/{minimax-code → providers/minimax-code}/video-defaults-store.d.ts +0 -0
  1639. /package/lib/types/client/{minimax-code → providers/minimax-code}/video-media-dropzone.d.ts +0 -0
  1640. /package/lib/types/client/{minimax-code → providers/minimax-code}/video-media-input.d.ts +0 -0
  1641. /package/lib/types/client/{minimax-code → providers/minimax-code}/video-media.d.ts +0 -0
  1642. /package/lib/types/client/{minimax-code → providers/minimax-code}/video-presets.d.ts +0 -0
  1643. /package/lib/types/client/{minimax-code → providers/minimax-code}/video-slots.d.ts +0 -0
  1644. /package/lib/types/client/{minimax-code → providers/minimax-code}/video-workspace.d.ts +0 -0
  1645. /package/lib/types/client/{ollama → providers/ollama}/OllamaSection.d.ts +0 -0
  1646. /package/lib/types/client/{opendesign → providers/opendesign}/OpenDesignSection.d.ts +0 -0
  1647. /package/lib/types/client/{opendesign → providers/opendesign}/locales.d.ts +0 -0
  1648. /package/lib/types/client/{opendesign → providers/opendesign}/styles.d.ts +0 -0
  1649. /package/lib/types/client/{qianwen-token-plan → providers/qianwen-token-plan}/QianwenTokenPlanSection.d.ts +0 -0
  1650. /package/lib/types/client/{qianwen-token-plan → providers/qianwen-token-plan}/api.d.ts +0 -0
  1651. /package/lib/types/client/{qianwen-token-plan → providers/qianwen-token-plan}/styles.d.ts +0 -0
  1652. /package/lib/types/client/{qoder → providers/qoder}/api.d.ts +0 -0
  1653. /package/lib/types/client/{qoder → providers/qoder}/styles.d.ts +0 -0
  1654. /package/lib/types/client/{relayone → providers/relayone}/RelayOneSection.d.ts +0 -0
  1655. /package/lib/types/client/{relayone → providers/relayone}/api.d.ts +0 -0
  1656. /package/lib/types/client/{relayone → providers/relayone}/styles.d.ts +0 -0
  1657. /package/lib/types/client/{step-code → providers/step-code}/StepCodeSection.d.ts +0 -0
  1658. /package/lib/types/client/{step-code → providers/step-code}/api.d.ts +0 -0
  1659. /package/lib/types/client/{step-code → providers/step-code}/styles.d.ts +0 -0
  1660. /package/lib/types/client/{workbuddy → providers/workbuddy}/styles.d.ts +0 -0
  1661. /package/lib/types/host/{fetch-address-policy.d.ts → infra/network/fetch-address-policy.d.ts} +0 -0
  1662. /package/lib/types/host/{relay-probe.d.ts → infra/network/relay-probe.d.ts} +0 -0
  1663. /package/lib/types/host/{web-provider-reconciler.d.ts → infra/network/web-provider-reconciler.d.ts} +0 -0
  1664. /package/lib/types/host/{credential-store-secret-service.d.ts → infra/storage/credential-store-secret-service.d.ts} +0 -0
  1665. /package/lib/types/host/{platform-token-store.d.ts → infra/storage/platform-token-store.d.ts} +0 -0
  1666. /package/lib/types/host/{token-store-linux.d.ts → infra/storage/token-store-linux.d.ts} +0 -0
  1667. /package/lib/types/host/{token-store-macos.d.ts → infra/storage/token-store-macos.d.ts} +0 -0
  1668. /package/lib/types/host/{token-store-windows.d.ts → infra/storage/token-store-windows.d.ts} +0 -0
  1669. /package/lib/types/host/{common → providers/_claude-shared}/claude-capability-memory.d.ts +0 -0
  1670. /package/lib/types/host/{common → providers/_claude-shared}/claude-code-cch.d.ts +0 -0
  1671. /package/lib/types/host/{common → providers/_claude-shared}/claude-code-corrections.d.ts +0 -0
  1672. /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/acp-client.d.ts +0 -0
  1673. /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/binary.d.ts +0 -0
  1674. /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/mcp-bridge.d.ts +0 -0
  1675. /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/process-temp.d.ts +0 -0
  1676. /package/lib/types/host/{aws-quick → providers/aws-quick}/execution-broker.d.ts +0 -0
  1677. /package/lib/types/host/{aws-quick → providers/aws-quick}/markup.d.ts +0 -0
  1678. /package/lib/types/host/{claude-api → providers/claude-api}/compaction-store.d.ts +0 -0
  1679. /package/lib/types/host/{cline-pass → providers/cline-pass}/catalog.d.ts +0 -0
  1680. /package/lib/types/host/{cline-pass → providers/cline-pass}/client.d.ts +0 -0
  1681. /package/lib/types/host/{cline-pass → providers/cline-pass}/engine.d.ts +0 -0
  1682. /package/lib/types/host/{cline-pass → providers/cline-pass}/oauth.d.ts +0 -0
  1683. /package/lib/types/host/{cline-pass → providers/cline-pass}/protocol.d.ts +0 -0
  1684. /package/lib/types/host/{cline-pass → providers/cline-pass}/types.d.ts +0 -0
  1685. /package/lib/types/host/{adapter.d.ts → providers/codex-chatgpt/adapter.d.ts} +0 -0
  1686. /package/lib/types/host/{callback-server.d.ts → providers/codex-chatgpt/callback-server.d.ts} +0 -0
  1687. /package/lib/types/host/{codex-fetch.d.ts → providers/codex-chatgpt/codex-fetch.d.ts} +0 -0
  1688. /package/lib/types/host/{codex-images.d.ts → providers/codex-chatgpt/codex-images.d.ts} +0 -0
  1689. /package/lib/types/host/{codex-search.d.ts → providers/codex-chatgpt/codex-search.d.ts} +0 -0
  1690. /package/lib/types/host/{command-code → providers/command-code}/adapter.d.ts +0 -0
  1691. /package/lib/types/host/{command-code → providers/command-code}/plans.d.ts +0 -0
  1692. /package/lib/types/host/{kimi-code → providers/kimi-code}/tool-argument-recovery.d.ts +0 -0
  1693. /package/lib/types/host/{kimi-code → providers/kimi-code}/video-store.d.ts +0 -0
  1694. /package/lib/types/host/{kimi-code → providers/kimi-code}/video-tool.d.ts +0 -0
  1695. /package/lib/types/host/{minimax-code → providers/minimax-code}/video-submit-rules.d.ts +0 -0
  1696. /package/lib/types/host/{minimax-code → providers/minimax-code}/video-tool.d.ts +0 -0
  1697. /package/lib/types/host/{opendesign → providers/opendesign}/catalog.d.ts +0 -0
  1698. /package/lib/types/host/{opendesign → providers/opendesign}/oauth.d.ts +0 -0
  1699. /package/lib/types/host/{opendesign → providers/opendesign}/types.d.ts +0 -0
  1700. /package/lib/types/host/{qianwen-token-plan → providers/qianwen-token-plan}/types.d.ts +0 -0
  1701. /package/lib/types/host/{qoder → providers/qoder}/cosy.d.ts +0 -0
  1702. /package/lib/types/host/{relayone → providers/relayone}/image-tool.d.ts +0 -0
  1703. /package/lib/types/host/{relayone → providers/relayone}/types.d.ts +0 -0
  1704. /package/lib/types/host/{relayone → providers/relayone}/video-tool.d.ts +0 -0
  1705. /package/lib/types/host/{step-code → providers/step-code}/cache-stats.d.ts +0 -0
  1706. /package/lib/types/host/{workbuddy → providers/workbuddy}/atrest.d.ts +0 -0
  1707. /package/lib/types/host/{workbuddy → providers/workbuddy}/dsml.d.ts +0 -0
  1708. /package/lib/types/host/{workbuddy → providers/workbuddy}/identity.d.ts +0 -0
  1709. /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/budget.d.ts +0 -0
  1710. /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/contracts.d.ts +0 -0
  1711. /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/index.d.ts +0 -0
  1712. /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/logging.d.ts +0 -0
  1713. /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/projection.d.ts +0 -0
  1714. /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/result-tool.d.ts +0 -0
  1715. /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/retrieval-intent.d.ts +0 -0
  1716. /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/store.d.ts +0 -0
  1717. /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/usage.d.ts +0 -0
  1718. /package/lib/types/host/{codemode → runtime/codemode}/discovery.d.ts +0 -0
  1719. /package/lib/types/host/{codemode → runtime/codemode}/executor.d.ts +0 -0
  1720. /package/lib/types/host/{codemode → runtime/codemode}/retention.d.ts +0 -0
  1721. /package/lib/types/host/{codemode → runtime/codemode}/rules.d.ts +0 -0
  1722. /package/lib/types/host/{codemode → runtime/codemode}/scope.d.ts +0 -0
  1723. /package/lib/types/host/{deepseek-v41-flash → runtime/deepseek-v41-flash}/match.d.ts +0 -0
  1724. /package/lib/types/host/{deepseek-v41-flash → runtime/deepseek-v41-flash}/observation-tagger.d.ts +0 -0
  1725. /package/lib/types/host/{deepseek-v41-flash → runtime/deepseek-v41-flash}/state-anchor.d.ts +0 -0
  1726. /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/binding.d.ts +0 -0
  1727. /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/index.d.ts +0 -0
  1728. /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/policy.d.ts +0 -0
  1729. /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/protocol.d.ts +0 -0
  1730. /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/tool.d.ts +0 -0
  1731. /package/lib/types/host/{compaction-policy-guard.d.ts → runtime/guards/compaction-policy-guard.d.ts} +0 -0
  1732. /package/lib/types/host/{plan-mode-cache-guard.d.ts → runtime/guards/plan-mode-cache-guard.d.ts} +0 -0
  1733. /package/lib/types/host/{team-policy-cache-guard.d.ts → runtime/guards/team-policy-cache-guard.d.ts} +0 -0
  1734. /package/lib/types/host/{timeline-cache-guard.d.ts → runtime/guards/timeline-cache-guard.d.ts} +0 -0
  1735. /package/lib/types/host/{tool-result-pruner-guard.d.ts → runtime/guards/tool-result-pruner-guard.d.ts} +0 -0
  1736. /package/lib/types/host/{no-answer-resume → runtime/no-answer-resume}/index.d.ts +0 -0
  1737. /package/lib/types/host/{open-models → runtime/open-models}/observation-guard.d.ts +0 -0
  1738. /package/lib/types/host/{open-models → runtime/open-models}/profiles.d.ts +0 -0
  1739. /package/lib/types/host/{open-models → runtime/open-models}/state-anchor.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/{session-title-guard → runtime/session-title-guard}/index.d.ts +0 -0
  1748. /package/lib/types/host/{widget-board → runtime/widget-board}/provider.d.ts +0 -0
@@ -0,0 +1,405 @@
1
+ import { type ProviderFailureClassification } from '../../common/failure-classification.ts';
2
+ import { LlmAdapter, ReasoningEffortId, type GenerateOptions, type LlmModelInfo, type LlmProviderInfo, type LlmResolvedModelInfo, type PreparedAdapterCall, type ResolvedRetryPolicy, type StreamChunk } from '@deepseek-ai/dsh-llm';
3
+ import type { ImageAttachmentRef } from '@deepseek-ai/dsh-attachment';
4
+ import { PROVIDER_ID, reasoningEffortsFor } from './types.ts';
5
+ import { FileCredentialStore, FileModelSettingsStore, type KimiCodeCatalogModel, type KimiCodePreferenceStore } from './token-store.ts';
6
+ import { buildModelOptions, clearCachedCatalog } from './client.ts';
7
+ import { type AttachmentImageReader, type AttachmentVideoReader } from './mapper.ts';
8
+ import { type KimiMediaFilesUploader } from './media-files.ts';
9
+ import { type ResolvedRequestImages } from '../../common/request-images.ts';
10
+ import type { ResolvedRequestVideos } from '../../common/video-request.ts';
11
+ import { type GenerateOptions as NormalizedGenerateOptions } from '../../common/llm-compat.ts';
12
+ import { KimiCodeAccountPool } from './account-pool.ts';
13
+ import type { KimiCodeWire } from '../../../shared/kimi-code-contracts.ts';
14
+ /**
15
+ * Transient-failure retry policy for the `kimi-code` route.
16
+ */
17
+ export declare const KIMI_CODE_RETRY_POLICY_CONFIG: {
18
+ mode: 'normal';
19
+ maxRetries: number;
20
+ retryableCodes: string[];
21
+ backoff: {
22
+ initialDelayMs: number;
23
+ maxDelayMs: number;
24
+ jitterRatio: number;
25
+ };
26
+ };
27
+ /** Configured effort when the model supports it, else the adapter's preference order. */
28
+ export declare function resolveDefaultReasoningEffort(efforts: readonly string[], configuredEffort?: string | null): ReasoningEffortId | undefined;
29
+ /**
30
+ * What one failed response means for the retry policy.
31
+ *
32
+ * The service overloads a single status for unrelated problems — a 401 covers
33
+ * both "your token is bad" and "your plan does not include k3", and a 429
34
+ * covers both ordinary back-pressure and a spent quota that must not be
35
+ * retried. The body text is what separates them, so the classification reads
36
+ * it rather than trusting the status alone.
37
+ */
38
+ /** What the account pool may do with one failed attempt. */
39
+ export type KimiPoolAction = 'retry-same-account' | 'cooldown-and-rotate' | 'mark-auth-failed' | 'none';
40
+ export interface KimiFailureClassification extends ProviderFailureClassification {
41
+ /** Account-pool side effect, kept separate from the retry code. */
42
+ poolAction: KimiPoolAction;
43
+ /** DSH error code; decides whether the route retries. */
44
+ code: string;
45
+ /** Message shown to the user, with the provider's own text appended. */
46
+ message: string;
47
+ /** True only when the failure is worth retrying. */
48
+ retryable: boolean;
49
+ /**
50
+ * 本次失败是不是上游引擎过载(正文命中 `UPSTREAM_OVERLOAD_PATTERNS`)。
51
+ *
52
+ * 单列成一个字段,是因为「过载」这条信息号池需要、而 code 本身已经不够用了:
53
+ * 过载要可重试(harness 的退避重试正是为它准备的),所以它必须留在
54
+ * retryable 集合里;但过载不是任何账号的错,所以它绝不能被当成账号级限流
55
+ * 写进冷却。code 只有一个,说不了这两件事;`accountScoped` 也只回答「能不能
56
+ * 换号」,不回答「要不要冷却」——真正限流时答案是「能换号、也要冷却」,
57
+ * 过载时是「不必换号、更不必冷却」。两条路都可重试却必须分开处理,所以这里
58
+ * 把归属显式带出来,而不是让调用方拿状态码去猜:同一个 429 状态码同时承载
59
+ * 这两种含义,而这正是本缺陷的成因。
60
+ */
61
+ upstreamOverload: boolean;
62
+ /**
63
+ * True when the refusal belongs to THIS account alone, so another pooled
64
+ * account may still serve the same request.
65
+ *
66
+ * A spent usage window is the case that matters, and this service reports it
67
+ * as a 403 — neither a bad credential nor retryable back-pressure, so nothing
68
+ * in the code or the message says "rotate". Asking the same account again
69
+ * cannot help; taking it out of rotation until its window resets lets the next
70
+ * account answer, and each account in the pool carries its own quota.
71
+ *
72
+ * False for every verdict that belongs to the request or to the plan: an
73
+ * entitlement refusal, a malformed body, ordinary overload. Rotating on one of
74
+ * those would spend every account in the pool to learn the same answer from
75
+ * each of them.
76
+ */
77
+ accountScoped: boolean;
78
+ }
79
+ /** Short, single-line excerpt of one error body, safe to show a user. */
80
+ export declare function summarizeFailureBody(raw: string): string;
81
+ /**
82
+ * Whether one failure detail is the gateway refusing a body for its SIZE.
83
+ *
84
+ * The managed gateway answers an oversized request with
85
+ * `total message size 5943865 exceeds limit 2097152` and no status beyond 400:
86
+ * the figures are bytes, and the wording matches nothing the shared overflow
87
+ * detector looks for. It is recognized HERE rather than in
88
+ * `common/context-overflow.ts` on purpose — that detector is shared by every
89
+ * route in this plugin, so a Kimi-specific sentence added there would
90
+ * reclassify other lines' failures on wording they never send.
91
+ */
92
+ export declare function isKimiBodySizeRefusal(detail: string): boolean;
93
+ /** Whether one 404 body is the service refusing a cited file rather than the model. */
94
+ export declare function isMissingResourceBody(bodyText: string): boolean;
95
+ /** One readable media occurrence this request intends to upload. */
96
+ export interface PlannedMediaReference {
97
+ /** Durable attachment id the block cites; the key the mapper looks it up by. */
98
+ readonly attachmentId: string;
99
+ /** Which wire field cites it afterwards. */
100
+ readonly kind: 'image' | 'video';
101
+ /** Media type the upload states as its purpose-carrying type. */
102
+ readonly mediaType: string;
103
+ /** Decoded bytes, ready to upload. */
104
+ readonly data: Uint8Array;
105
+ }
106
+ /**
107
+ * Which occurrences of one request would be uploaded, if any.
108
+ *
109
+ * Nothing is uploaded here and no network is touched: this only decides WHICH
110
+ * readable occurrences the reference path would cover, so the body-fit guard can
111
+ * measure the body that will actually be sent instead of measuring an inline
112
+ * body the reference path would never produce.
113
+ *
114
+ * An occurrence is eligible when all four hold, and each exclusion is load
115
+ * bearing:
116
+ *
117
+ * - the wire is OpenAI-compatible — the Anthropic surface documents no hosted
118
+ * media and must upload nothing at all;
119
+ * - the selected model declares the matching modality — sending a purpose the
120
+ * model cannot read uploads bytes nobody will look at;
121
+ * - the occurrence resolved to `inline`, i.e. its bytes were actually read —
122
+ * an unreadable media has nothing to upload and keeps its placeholder;
123
+ * - the occurrence cites a durable attachment, because only that is what a
124
+ * reference can be keyed by.
125
+ */
126
+ export declare function planMediaReferences(input: {
127
+ wire: KimiCodeWire;
128
+ imageAccepted: boolean;
129
+ videoAccepted: boolean;
130
+ images: ResolvedRequestImages;
131
+ videos: ResolvedRequestVideos;
132
+ }): PlannedMediaReference[];
133
+ /**
134
+ * Attachment ids one built request STILL sends as media occurrences.
135
+ *
136
+ * Two stages can take an occurrence away, and both run before a reference could
137
+ * be cited:
138
+ *
139
+ * - the image/video budget pass replaces the oldest occurrences with a text
140
+ * placeholder, and
141
+ * - the body-fit loop replaces more of them when the real serialized body is over
142
+ * the ceiling.
143
+ *
144
+ * An occurrence either stage removed is no longer part of the request, so
145
+ * uploading it would pay for bytes nobody reads and mint a reference nothing
146
+ * cites. The upload set is therefore read off the FINAL build rather than off
147
+ * what was merely readable when the request was planned.
148
+ *
149
+ * Tool results nest their own content, and a `read_image` result carries its
150
+ * pixels there, so the traversal recurses exactly the way the budget does.
151
+ */
152
+ export declare function mediaAttachmentIdsIn(options: NormalizedGenerateOptions): Set<string>;
153
+ /**
154
+ * The placeholder reference maps one planned set measures the body with.
155
+ *
156
+ * Returned separately for images and videos because the mapper keys them by
157
+ * field, not by kind.
158
+ */
159
+ export declare function plannedReferenceMaps(planned: readonly PlannedMediaReference[]): {
160
+ imageReferences: Map<string, string>;
161
+ videoReferences: Map<string, string>;
162
+ };
163
+ /**
164
+ * Classify one non-2xx response for the retry policy.
165
+ *
166
+ * @param status - HTTP status the service answered with.
167
+ * @param bodyText - raw response body, used to separate overloaded statuses.
168
+ */
169
+ export declare function classifyKimiFailure(status: number, bodyText: string): KimiFailureClassification;
170
+ /**
171
+ * How long one account stays out of rotation after it reports a spent limit.
172
+ *
173
+ * The reset instant is read from the body whenever the service states one — as a
174
+ * numeric field, or as an instant carrying its own zone — and the length of the
175
+ * window the service names is used otherwise. The zone is required for that
176
+ * instant because an unqualified one is ambiguous, and a cooldown computed from
177
+ * the wrong zone is either hours too long or already over; where the body is
178
+ * ambiguous the window length is the honest answer.
179
+ *
180
+ * Both ends of the range are load-bearing. A reset instant barely in the future
181
+ * would otherwise read as no cooldown at all and put the account straight back
182
+ * into rotation to be refused again; and a reset instant already in the past
183
+ * (a stale cache, a clock skew) falls back to the window length above rather
184
+ * than to no cooldown at all.
185
+ */
186
+ export declare function accountLimitCooldownMs(bodyText: string, now?: number): number;
187
+ export interface KimiCodeAdapterOptions {
188
+ fetchFn?: typeof fetch;
189
+ attachments?: AttachmentImageReader;
190
+ /**
191
+ * Video reader seam.
192
+ *
193
+ * DSH's attachment service stores images only, so a deployment that produces
194
+ * video references injects the reader here. Absent, video occurrences degrade
195
+ * to an explicit text placeholder rather than silently vanishing.
196
+ */
197
+ videos?: AttachmentVideoReader;
198
+ /** Live catalog loader seam; defaults to the managed `/models` call. */
199
+ loadCatalog?: () => Promise<KimiCodeCatalogModel[]>;
200
+ /**
201
+ * Hosted-file uploader seam.
202
+ *
203
+ * Production builds one through {@link createMediaFilesUploader} with THIS
204
+ * adapter's transport, so an upload and the chat request that cites it travel
205
+ * the same fetchFn — a test or a deployment that swaps the transport must not
206
+ * be bypassed by a module-level singleton holding its own.
207
+ *
208
+ * The cache is the point of the seam being shared across requests: one
209
+ * instance lives for the adapter's lifetime, so the same clip is uploaded once
210
+ * per account rather than once per turn.
211
+ */
212
+ mediaFiles?: KimiMediaFilesUploader;
213
+ /**
214
+ * Whether a request may state an account preference from the prefix cache.
215
+ *
216
+ * A live getter rather than a captured boolean: the switch is volatile in
217
+ * settings, and a captured value would keep routing by an answer the user has
218
+ * already changed. Absent means enabled — the behaviour the routing has when
219
+ * nothing turns it off.
220
+ */
221
+ cacheAffinity?: () => boolean;
222
+ }
223
+ /**
224
+ * Longest edge of the request version this route asks the attachment store for.
225
+ *
226
+ * Kimi's own CLI downscales an oversized image to a 2000 px long edge by default,
227
+ * so a screenshot its client would send at 2000 px must not be handed to this
228
+ * route at the shared 1024 px ceiling: that kept a screenshot the model could
229
+ * read at 2000 px legible-sized only by dropping and re-reading it. The
230
+ * encoded-byte target is deliberately NOT raised with it — 256 KiB per request
231
+ * version still fits four images inside the shared 1.5 MB budget — and an image
232
+ * already inside this edge is still sent as stored, so small images, references
233
+ * without dimensions and the body-fit ceiling all behave exactly as before.
234
+ */
235
+ export declare const KIMI_CODE_REQUEST_IMAGE_MAX_EDGE = 2000;
236
+ /**
237
+ * Persist the cache facts a status card needs to survive a restart.
238
+ *
239
+ * Written at the end of every request, from the same numbers the in-memory
240
+ * totals just recorded. The process forgets them at exit, and the expiry hint
241
+ * depends on knowing how long a conversation sat idle before it was resumed —
242
+ * the moment the hint matters is the moment memory no longer has the answer.
243
+ *
244
+ * The prompt size is this request's own (cache read + fresh input), not the
245
+ * rolling sum: the hint describes what the NEXT turn would have to reprocess.
246
+ */
247
+ /**
248
+ * How this route carries a mid-conversation tool change, or undefined for none.
249
+ *
250
+ * Three gates decide whether the route gets one at all: the model accepts
251
+ * message-level declarations, the request travels the OpenAI-compatible surface
252
+ * (the Anthropic one documents no such field), and no operator opted out. A
253
+ * model that fails any gate keeps the old shape, in which every request carries
254
+ * the complete tool list.
255
+ *
256
+ * The mode is `in-history`, not `addition-only`: both append an addition, but
257
+ * only `in-history` also expresses a removal by appending a note. Under
258
+ * `addition-only` a revoked tool is deleted from the declaration list, the
259
+ * top-level `tools` array shrinks, and the prefix cache is thrown away.
260
+ * @param modelId - exact model id.
261
+ * @param catalog - live catalog, possibly empty when offline.
262
+ * @returns the tool-update mode, or undefined when this route must resend everything.
263
+ */
264
+ export declare function toolUpdateMode(modelId: string, catalog: readonly KimiCodeCatalogModel[]): 'in-history' | undefined;
265
+ /** How long a cold-start follower waits for the leader warming the same prefix. */
266
+ export declare const COLD_START_WARMUP_WAIT_MS = 2500;
267
+ /** Forget every remembered prefix and release every waiting follower. */
268
+ export declare function resetColdStartSingleflightForTests(): void;
269
+ /** The prefix identity shared by requests on one region/model. */
270
+ export declare function prefixGroupKey(region: string, options: NormalizedGenerateOptions): string | undefined;
271
+ /** The cache group on one account; cross-account warmth is never inferred. */
272
+ export declare function coldStartGroupKey(region: string, options: NormalizedGenerateOptions, accountScope: string): string | undefined;
273
+ /** Whether this account's prefix is still warm under the measured Kimi TTL. */
274
+ export declare function isWarmPrefixGroup(region: string, options: NormalizedGenerateOptions, accountScope: string, now?: number): boolean;
275
+ export declare class KimiCodeAdapter extends LlmAdapter {
276
+ private readonly store;
277
+ private readonly modelSettings;
278
+ private readonly preferences?;
279
+ private readonly options;
280
+ /**
281
+ * Rotation pool, or null for the single stored credential.
282
+ *
283
+ * Only the plugin entry installs one, because it owns the pool's storage; an
284
+ * adapter built without one must keep working off the one credential file and
285
+ * must not create pool state of its own.
286
+ */
287
+ private readonly accountPool;
288
+ constructor(store?: FileCredentialStore, modelSettings?: FileModelSettingsStore, preferences?: KimiCodePreferenceStore | undefined, options?: KimiCodeAdapterOptions, accountPool?: KimiCodeAccountPool);
289
+ /**
290
+ * The uploader this adapter cites files through, built on first use.
291
+ *
292
+ * Built lazily for two reasons: a turn with no media pays nothing, and a test
293
+ * that stubs the global transport before the first request still reaches the
294
+ * default uploader, because the transport is read at construction rather than
295
+ * at module load.
296
+ *
297
+ * Deliberately NOT {@link kimiMediaFiles}, the module-level singleton: that one
298
+ * captured the global `fetch` when this module was imported, so an adapter
299
+ * given its own transport would upload through a different one than it chats
300
+ * through — the one thing this route must not do, since the reference it gets
301
+ * back is only meaningful to the endpoint the chat request goes to.
302
+ */
303
+ private mediaUploader;
304
+ /** The shared uploader, created on first use with THIS adapter's transport. */
305
+ private mediaFiles;
306
+ /**
307
+ * Upload every planned occurrence under ONE account and collect its references.
308
+ *
309
+ * The credential, base URL and scope are the ones the chat request about to be
310
+ * sent will use, which is what makes a reference citable at all: an id minted
311
+ * for another account or another deployment is not assumed to be readable.
312
+ *
313
+ * A failure is contained per occurrence. Uploading is an optimisation — the
314
+ * inline path always works — so a refused, overloaded or unreachable upload
315
+ * endpoint leaves THAT media inline and the turn runs. What is never
316
+ * contained is a cancellation: `signal` aborted, or an AbortError out of the
317
+ * transport, is a turn the caller deliberately stopped, and continuing to send
318
+ * the chat request would answer it anyway.
319
+ *
320
+ * This deliberately touches no account state: a 401/403/404/405/413/5xx or a
321
+ * network failure of the UPLOAD is a fact about the hosted-file endpoint, not
322
+ * a verdict on this account's quota, so it neither cools nor retires the
323
+ * account. The chat request's own classification owns that decision.
324
+ */
325
+ private uploadPlannedReferences;
326
+ providerInfo(provider: string): LlmProviderInfo;
327
+ providerRetryPolicy(): ResolvedRetryPolicy;
328
+ imageRequestPricing(): undefined;
329
+ imageRequestTarget(_provider: string, _model: string, image: ImageAttachmentRef): import("../../common/request-images.ts").CompatImageRequestTarget;
330
+ private settings;
331
+ /** Whether this deployment routes by warm prefix cache; on unless switched off. */
332
+ private cacheAffinityEnabled;
333
+ /**
334
+ * Which accounts this request would rather be served by, when the prefix cache
335
+ * can say something useful about it.
336
+ *
337
+ * The service keeps one prefix cache per account, so rotation — which knows
338
+ * cooldowns, tokens and last use, never prompt content — can spend a request on
339
+ * an account that has never seen this prompt while another one has it hot. Both
340
+ * facts needed to do better are already in this process: the cold-start gate
341
+ * records which (prefix, account) pairs are warm, and the quota cache says how
342
+ * much each account has left.
343
+ *
344
+ * Returns undefined — no preference at all — wherever a preference would be a
345
+ * guess: the switch is off, there is no pool or only one account, the pool
346
+ * document cannot be read, a region cannot be resolved, or no account has this
347
+ * prefix warm. The pool then applies its rotation strategy exactly as it would
348
+ * have without this method.
349
+ *
350
+ * @param pool - The account pool serving this route, or null when none is installed.
351
+ * @param options - The request about to be sent; its system prompt, tools and
352
+ * static bootstrap are what decide the prefix identity.
353
+ * @returns a preference for the pool, or undefined for "strategy decides".
354
+ */
355
+ private cacheAffinityHint;
356
+ /**
357
+ * Catalog for the picker: the live managed listing when reachable, the
358
+ * shipped fallback otherwise, narrowed by the user's enabled selection.
359
+ */
360
+ private catalog;
361
+ /**
362
+ * The single window this line reports AND budgets against.
363
+ *
364
+ * The resolution lives here, in the one place both readers go through, rather
365
+ * than at each call site: `resolveModel` publishes this number to DSH (which
366
+ * computes its compaction threshold from it) and `requestStream` sizes the
367
+ * completion budget with it, so two independent resolutions would let the
368
+ * promise and the budget drift apart.
369
+ *
370
+ * By default the window is published exactly as declared, and a user override
371
+ * is an ordinary declared window: an explicit 1M is the model's advertised
372
+ * capacity as this user chose it, and silently shrinking it would take away
373
+ * the context they asked for. A session that outgrows the byte ceiling is
374
+ * recovered at the wall (CONTEXT_OVERFLOW_CODE), not pre-emptively summarized.
375
+ *
376
+ * A deployment that would rather compact BEFORE the wall sets
377
+ * DSH_KIMI_CODE_BYTES_PER_TOKEN, and then the override is bounded like every
378
+ * other window — see {@link effectiveContextWindow}.
379
+ */
380
+ private contextWindowFor;
381
+ listModels(provider?: string): Promise<readonly LlmModelInfo[]>;
382
+ resolveModel(provider: string, modelId: string, signal?: AbortSignal): Promise<LlmResolvedModelInfo>;
383
+ prepareCall(provider: string, model: string, signal?: AbortSignal): Promise<PreparedAdapterCall>;
384
+ stream(options: GenerateOptions): AsyncIterable<StreamChunk>;
385
+ private requestStream;
386
+ /**
387
+ * What one in-band failure becomes once the pool has been told what the
388
+ * verdict means for it.
389
+ *
390
+ * Reclassification and the pool reaction are separate because they answer
391
+ * different questions about the same classification: the code decides whether
392
+ * the harness retries, `accountScoped` decides whether a retry could land
393
+ * somewhere that can answer. The mapper can supply only the first, which is
394
+ * why the wire object is recorded there and read here.
395
+ *
396
+ * The body is the one a non-2xx response would have carried, so every pattern
397
+ * below reads exactly what the HTTP branch reads and a limit cannot mean one
398
+ * thing as a status and another as an event. The request itself is NOT
399
+ * re-issued: its body is already open and part-read, and the harness retry
400
+ * policy owns the repeat.
401
+ */
402
+ private inBandStreamFailure;
403
+ }
404
+ export { clearCachedCatalog, buildModelOptions, reasoningEffortsFor, PROVIDER_ID };
405
+ //# sourceMappingURL=adapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../../src/host/providers/kimi-code/adapter.ts"],"names":[],"mappings":"AAGA,OAAO,EAGL,KAAK,6BAA6B,EACnC,MAAM,wCAAwC,CAAA;AAG/C,OAAO,EACL,UAAU,EACV,iBAAiB,EAGjB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AACrE,OAAO,EAGL,WAAW,EAaX,mBAAmB,EACpB,MAAM,YAAY,CAAA;AACnB,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EAEtB,KAAK,oBAAoB,EAEzB,KAAK,uBAAuB,EAC7B,MAAM,kBAAkB,CAAA;AAGzB,OAAO,EACL,iBAAiB,EAEjB,kBAAkB,EAUnB,MAAM,aAAa,CAAA;AACpB,OAAO,EA0BL,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAK3B,MAAM,aAAa,CAAA;AAGpB,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAaL,KAAK,qBAAqB,EAC3B,MAAM,gCAAgC,CAAC;AAIxC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAA;AA+D1E,OAAO,EAA4B,KAAK,eAAe,IAAI,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAYxH,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AASvD,OAAO,KAAK,EAIV,YAAY,EACb,MAAM,wCAAwC,CAAA;AAE/C;;GAEG;AACH,eAAO,MAAM,6BAA6B,EAAE;IAC1C,IAAI,EAAE,QAAQ,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,EAAE,CAAA;IACxB,OAAO,EAAE;QAAE,cAAc,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAA;CAM7E,CAAA;AAwBD,yFAAyF;AACzF,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,SAAS,MAAM,EAAE,EAC1B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAC/B,iBAAiB,GAAG,SAAS,CAK/B;AAED;;;;;;;;GAQG;AACH,4DAA4D;AAC5D,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG,qBAAqB,GAAG,kBAAkB,GAAG,MAAM,CAAA;AAEvG,MAAM,WAAW,yBAA0B,SAAQ,6BAA6B;IAC9E,mEAAmE;IACnE,UAAU,EAAE,cAAc,CAAA;IAC1B,yDAAyD;IACzD,IAAI,EAAE,MAAM,CAAA;IACZ,wEAAwE;IACxE,OAAO,EAAE,MAAM,CAAA;IACf,oDAAoD;IACpD,SAAS,EAAE,OAAO,CAAA;IAClB;;;;;;;;;;;OAWG;IACH,gBAAgB,EAAE,OAAO,CAAA;IACzB;;;;;;;;;;;;;;OAcG;IACH,aAAa,EAAE,OAAO,CAAA;CACvB;AAoFD,yEAAyE;AACzE,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAsBxD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAE7D;AAkBD,uFAAuF;AACvF,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAE/D;AAED,oEAAoE;AACpE,MAAM,WAAW,qBAAqB;IACpC,gFAAgF;IAChF,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;IAC7B,4CAA4C;IAC5C,QAAQ,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAAA;IAChC,iEAAiE;IACjE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,sCAAsC;IACtC,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAA;CAC1B;AAcD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE;IACzC,IAAI,EAAE,YAAY,CAAA;IAClB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,MAAM,EAAE,qBAAqB,CAAA;IAC7B,MAAM,EAAE,qBAAqB,CAAA;CAC9B,GAAG,qBAAqB,EAAE,CAiB1B;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,yBAAyB,GAAG,GAAG,CAAC,MAAM,CAAC,CAqBpF;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,SAAS,qBAAqB,EAAE,GAAG;IAC/E,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACpC,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACrC,CAQA;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,yBAAyB,CAoK/F;AAWD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,GAAE,MAAmB,GAAG,MAAM,CAezF;AAED,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,OAAO,KAAK,CAAA;IACtB,WAAW,CAAC,EAAE,qBAAqB,CAAA;IACnC;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,qBAAqB,CAAA;IAC9B,wEAAwE;IACxE,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAAA;IACnD;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,EAAE,sBAAsB,CAAA;IACnC;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,MAAM,OAAO,CAAA;CAC9B;AAmDD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,gCAAgC,OAAO,CAAA;AAEpD;;;;;;;;;;GAUG;AACH;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,SAAS,oBAAoB,EAAE,GACvC,YAAY,GAAG,SAAS,CAM1B;AAMD,mFAAmF;AACnF,eAAO,MAAM,yBAAyB,OAAQ,CAAA;AAI9C,yEAAyE;AACzE,wBAAgB,kCAAkC,IAAI,IAAI,CAEzD;AAED,kEAAkE;AAClE,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,yBAAyB,GAAG,MAAM,GAAG,SAAS,CAIrG;AAID,8EAA8E;AAC9E,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,yBAAyB,EAClC,YAAY,EAAE,MAAM,GACnB,MAAM,GAAG,SAAS,CAGpB;AAED,+EAA+E;AAC/E,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,yBAAyB,EAClC,YAAY,EAAE,MAAM,EACpB,GAAG,GAAE,MAAmB,GACvB,OAAO,CAGT;AAqKD,qBAAa,eAAgB,SAAQ,UAAU;IAW3C,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC;IAC7B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAb1B;;;;;;OAMG;IACH,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA4B;gBAGrC,KAAK,sBAA4B,EACjC,aAAa,yBAA+B,EAC5C,WAAW,CAAC,EAAE,uBAAuB,YAAA,EACrC,OAAO,GAAE,sBAA2B,EACrD,WAAW,CAAC,EAAE,mBAAmB;IAMnC;;;;;;;;;;;;;OAaG;IACH,OAAO,CAAC,aAAa,CAAoC;IAEzD,+EAA+E;IAC/E,OAAO,CAAC,UAAU;IAQlB;;;;;;;;;;;;;;;;;;OAkBG;YACW,uBAAuB;IAuCrC,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,eAAe;IAI/C,mBAAmB,IAAI,mBAAmB;IAI1C,mBAAmB,IAAI,SAAS;IAIhC,kBAAkB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,kBAAkB;IAO/E,OAAO,CAAC,QAAQ;IAIhB,mFAAmF;IACnF,OAAO,CAAC,oBAAoB;IAQ5B;;;;;;;;;;;;;;;;;;;;;OAqBG;YACW,iBAAiB;IA0D/B;;;OAGG;YACW,OAAO;IA0BrB;;;;;;;;;;;;;;;;;;OAkBG;IACH,OAAO,CAAC,gBAAgB;IAYlB,UAAU,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,YAAY,EAAE,CAAC;IAmB/D,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC;IA6CpG,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAO/F,MAAM,CAAC,OAAO,EAAE,eAAe,GAAG,aAAa,CAAC,WAAW,CAAC;YAiBpD,aAAa;IAkzB5B;;;;;;;;;;;;;;;OAeG;YACW,mBAAmB;CA8ClC;AAqFD,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,WAAW,EAAE,CAAA"}
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Kimi Code membership API key sign-in.
3
+ *
4
+ * Besides the OAuth device code, a Kimi Code member can create an API key in the
5
+ * Kimi Code console (https://www.kimi.com/code) for third-party tools. That key
6
+ * authenticates against the SAME coding endpoint and the same membership quota
7
+ * as the device-code token (`https://api.kimi.com/coding/v1`, bearer on the
8
+ * OpenAI-compatible surface, `x-api-key` on the Anthropic-compatible one — see
9
+ * the facts in `types.ts`), so it is stored as an ordinary credential whose
10
+ * access token is the key itself and whose `authKind` is `api-key`.
11
+ *
12
+ * It is NOT a Moonshot Open Platform key: those are billed per token on a
13
+ * different host and the coding endpoint refuses them with a 401, which is why
14
+ * a pasted key is verified before anything is stored.
15
+ *
16
+ * Left unverified (no live key was exercised for this change): that `/usages`
17
+ * and `/me` answer for an API key the way they answer for an OAuth token. Both
18
+ * are therefore treated as enrichment — a refusal there never rejects the key
19
+ * nor takes the account out of rotation; only the model listing decides.
20
+ */
21
+ import type { KimiCodeRegion } from '../../../shared/kimi-code-contracts.ts';
22
+ import type { KimiCodeCredentials } from './token-store.ts';
23
+ /** Longest key accepted; a real key is far shorter, this only bounds garbage. */
24
+ export declare const KIMI_CODE_API_KEY_MAX_LENGTH = 512;
25
+ /** A key the route refuses, with the HTTP status the refusal is answered with. */
26
+ export declare class KimiCodeApiKeyError extends Error {
27
+ readonly status: number;
28
+ constructor(message: string, status: number);
29
+ }
30
+ /**
31
+ * Clean up what a user pasted into the key field.
32
+ *
33
+ * Copying from a console or a shell snippet often brings surrounding blanks,
34
+ * quotes or a `Bearer ` prefix with it; those are removed. Anything that still
35
+ * contains blanks or non-printable characters is not a key, and is refused here
36
+ * rather than sent to the service as a header value.
37
+ */
38
+ export declare function normalizeKimiCodeApiKey(raw: unknown): string;
39
+ /** The credential one verified API key is stored as. */
40
+ export declare function kimiCodeApiKeyCredentials(apiKey: string, region: KimiCodeRegion, now?: number): KimiCodeCredentials;
41
+ /**
42
+ * Prove a key authenticates, and name the region that accepted it.
43
+ *
44
+ * The probe is the model listing: it is what every OpenAI-compatible client asks
45
+ * first, it costs no quota, and a 401 there is the service's own verdict on the
46
+ * key. The preferred region is asked first; only when it refuses the key is the
47
+ * other regional host asked, because a key belongs to the deployment it was
48
+ * created on. A pinned base URL (`KIMI_CODE_BASE_URL`) leaves a single host, so
49
+ * nothing else is tried.
50
+ */
51
+ export declare function verifyKimiCodeApiKey(apiKey: string, options: {
52
+ region: KimiCodeRegion;
53
+ fetchFn?: typeof fetch;
54
+ }): Promise<KimiCodeRegion>;
55
+ //# sourceMappingURL=api-key.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-key.d.ts","sourceRoot":"","sources":["../../../../../src/host/providers/kimi-code/api-key.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAA;AAE5E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAG3D,iFAAiF;AACjF,eAAO,MAAM,4BAA4B,MAAM,CAAA;AAE/C,kFAAkF;AAClF,qBAAa,mBAAoB,SAAQ,KAAK;IACf,QAAQ,CAAC,MAAM,EAAE,MAAM;gBAAxC,OAAO,EAAE,MAAM,EAAW,MAAM,EAAE,MAAM;CAIrD;AAED;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAY5D;AAED,wDAAwD;AACxD,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,cAAc,EACtB,GAAG,GAAE,MAAmB,GACvB,mBAAmB,CAYrB;AAMD;;;;;;;;;GASG;AACH,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE;IAAE,MAAM,EAAE,cAAc,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,KAAK,CAAA;CAAE,GAC1D,OAAO,CAAC,cAAc,CAAC,CA4BzB"}
@@ -0,0 +1,112 @@
1
+ /**
2
+ * Which account should serve this request when one of them still has it warm.
3
+ *
4
+ * Kimi's prefix cache lives on the service, one cache per account, so two
5
+ * accounts in the same pool do not share a warm prefix: the account that
6
+ * answered this exact prompt a minute ago reads it back at the cache price,
7
+ * while the account the rotation strategy happens to pick reprocesses the whole
8
+ * thing. Rotation cannot see that difference — it knows cooldowns, tokens and
9
+ * last use, never prompt content — so the request names the accounts it would
10
+ * rather use and the pool honours the order.
11
+ *
12
+ * The whole decision is here, as a pure function of four inputs, for the same
13
+ * reason `cache-hint` is: the numbers behind it (how long an entry survives, how
14
+ * much a cache read costs against a fresh one) are measured elsewhere, and
15
+ * swapping a source must change only where a value comes from, never the rule.
16
+ *
17
+ * @module dsh-chatgpt-subscription/kimi-code-cache-affinity
18
+ */
19
+ import type { KimiCodeAccountQuota } from '../../../shared/kimi-code-contracts.ts';
20
+ /**
21
+ * Remaining share below which a warm account stops being preferred.
22
+ *
23
+ * Affinity is a discount, not a right: an account holding 4% of its window can
24
+ * serve a few cheap cache reads and then take the line offline mid-conversation,
25
+ * which costs far more than the prefix it saved. 20% is the same floor the
26
+ * background warmup uses before it spends anything (`DEFAULT_MIN_WARMUP_QUOTA_RATIO`),
27
+ * so the two decisions agree about when an account is running dry instead of
28
+ * each inventing its own answer.
29
+ */
30
+ export declare const AFFINITY_QUOTA_FLOOR_SHARE = 0.2;
31
+ /**
32
+ * The share of its tightest window an account has left, or null when unknown.
33
+ *
34
+ * The TIGHTEST window is the only honest answer: a pool row can carry several
35
+ * at once, and an account with 90% of a weekly window but 2% of its five-hour
36
+ * one is about to be refused. A window whose consumption was never measured
37
+ * is skipped rather than read as empty or full, and a snapshot with no measured
38
+ * window at all answers null — "unknown", which the caller treats as "not
39
+ * provably short" instead of blocking the account on a number nobody measured.
40
+ *
41
+ * @param quota - The account's newest quota snapshot, when one was ever read.
42
+ * @returns the smallest remaining fraction in `[0, 1]`, or null when unknown.
43
+ */
44
+ export declare function remainingQuotaShare(quota: KimiCodeAccountQuota | null | undefined): number | null;
45
+ /** Settings-card description for the cache-affinity switch. */
46
+ export declare const CACHE_AFFINITY_SETTING_DESCRIPTION = "\u591A\u8D26\u53F7\u8F6E\u6362\u65F6\u4F18\u5148\u590D\u7528\u7F13\u5B58\u4ECD\u70ED\u4E14\u989D\u5EA6\u5145\u8DB3\u7684\u8D26\u53F7\uFF1B\u5173\u95ED\u540E\u6309\u539F\u7B56\u7565\u8F6E\u6362\u3002";
47
+ /**
48
+ * Environment override for the affinity switch.
49
+ *
50
+ * The same contract as the wait-time warmup switch beside it in settings: an
51
+ * explicit value wins over the stored setting, so a deployment can pin the
52
+ * behavioural change without editing preferences on disk.
53
+ */
54
+ export declare const CACHE_AFFINITY_ENV = "DSH_KIMI_CODE_CACHE_AFFINITY";
55
+ /**
56
+ * Resolve whether cache-affinity routing is enabled.
57
+ *
58
+ * Enabled by default. `0`/`false`/`no`/`off` and `1`/`true`/`yes`/`on` override
59
+ * the stored setting; otherwise the live `cacheAffinity` setting (default
60
+ * `true`) governs. Anything unreadable falls back to enabled rather than
61
+ * throwing inside a request path.
62
+ *
63
+ * @param config - Plugin config carrying the live setting.
64
+ * @param env - Environment to consult; `process.env` in production.
65
+ * @returns whether a request may state an account preference.
66
+ */
67
+ export declare function resolveCacheAffinityEnabled(config?: {
68
+ cacheAffinity?: {
69
+ get(): boolean | undefined;
70
+ } | boolean;
71
+ }, env?: Record<string, string | undefined>): boolean;
72
+ /** One account the request could be served by. */
73
+ export interface AffinityCandidate {
74
+ /** Pool account id. */
75
+ readonly id: string;
76
+ /**
77
+ * Whether this account's own prefix group for this request is warm right now.
78
+ *
79
+ * Per account by design: the pool's cache is per account, so "the prefix is
80
+ * warm" is a fact about one account, never about the pool.
81
+ */
82
+ readonly warm: boolean;
83
+ }
84
+ export interface AffinityOrderInput {
85
+ /** Accounts that may serve this request right now, in pool order. */
86
+ readonly candidates: readonly AffinityCandidate[];
87
+ /** Remaining share per account id; a missing or null entry means unknown. */
88
+ readonly remainingShareById?: Readonly<Record<string, number | null | undefined>>;
89
+ /** Floor below which a warm account gives way; defaults to {@link AFFINITY_QUOTA_FLOOR_SHARE}. */
90
+ readonly floorShare?: number;
91
+ }
92
+ /**
93
+ * Order the accounts this request would rather use, warmest and safest first.
94
+ *
95
+ * Only accounts whose prefix is warm AND whose remaining share is either
96
+ * unknown or at least the floor are returned: a warm account that is nearly
97
+ * spent is deliberately absent, because the pool then falls back to its own
98
+ * rotation instead of spending the last of a window on a discount. An empty
99
+ * result means "no preference" — the caller passes no hint at all and the
100
+ * strategy behaves exactly as it would have without this module.
101
+ *
102
+ * Order: a warm account with a known-and-sufficient share first (largest
103
+ * remaining first, so two warm accounts spread the load instead of always
104
+ * spending one), then a warm account whose share nobody measured. Unknown last
105
+ * because a measured account is a better bet than an unmeasured one, but still
106
+ * listed: an unmeasured warm account is not evidence of anything bad.
107
+ *
108
+ * @param input - candidates plus the quota evidence behind them.
109
+ * @returns account ids in preference order; empty when nothing is preferred.
110
+ */
111
+ export declare function orderAffinityCandidates(input: AffinityOrderInput): string[];
112
+ //# sourceMappingURL=cache-affinity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cache-affinity.d.ts","sourceRoot":"","sources":["../../../../../src/host/providers/kimi-code/cache-affinity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAA;AAOlF;;;;;;;;;GASG;AACH,eAAO,MAAM,0BAA0B,MAAqC,CAAA;AAE5E;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,oBAAoB,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAEjG;AAED,+DAA+D;AAC/D,eAAO,MAAM,kCAAkC,2MACV,CAAA;AAErC;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,iCAAiC,CAAA;AAEhE;;;;;;;;;;;GAWG;AACH,wBAAgB,2BAA2B,CACzC,MAAM,CAAC,EAAE;IAAE,aAAa,CAAC,EAAE;QAAE,GAAG,IAAI,OAAO,GAAG,SAAS,CAAA;KAAE,GAAG,OAAO,CAAA;CAAE,EACrE,GAAG,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAe,GACpD,OAAO,CAcT;AAED,kDAAkD;AAClD,MAAM,WAAW,iBAAiB;IAChC,uBAAuB;IACvB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB;;;;;OAKG;IACH,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;CACvB;AAED,MAAM,WAAW,kBAAkB;IACjC,qEAAqE;IACrE,QAAQ,CAAC,UAAU,EAAE,SAAS,iBAAiB,EAAE,CAAA;IACjD,6EAA6E;IAC7E,QAAQ,CAAC,kBAAkB,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,CAAC,CAAA;IACjF,kGAAkG;IAClG,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAC7B;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,kBAAkB,GAAG,MAAM,EAAE,CAE3E"}
@@ -0,0 +1,65 @@
1
+ import { type CacheHintDecision, type CacheHintInput } from '../../common/cache-hint.ts';
2
+ /**
3
+ * When it is worth telling the user their prompt cache has gone cold.
4
+ *
5
+ * Kimi's cache is automatic and content-hash based, so a client gets no marker
6
+ * that it is no longer being reused — the only evidence is the read ratio in
7
+ * the usage stream. A conversation that sat idle past the cache lifetime pays
8
+ * the full prompt again on its next turn, and it is large enough on a real
9
+ * codebase to be worth a sentence.
10
+ *
11
+ * The trigger mirrors the official client's: idle beyond the cache lifetime AND
12
+ * a context large enough that reprocessing it actually costs something. The
13
+ * upstream rules arrive from a remote config that a private deployment cannot
14
+ * reach, so the lifetime here is the measured one; the decision function stays
15
+ * a pure function of its inputs so swapping the source later changes only where
16
+ * the number comes from.
17
+ */
18
+ /**
19
+ * How long an entry survives, in milliseconds.
20
+ *
21
+ * MEASURED, not documented. The coding endpoint publishes no cache lifetime and
22
+ * its `5m`/`1h` write tiers cannot be selected from any official client, so the
23
+ * only figure available is the survival curve: 30 minutes, derived from the
24
+ * endpoint's own measured behaviour.
25
+ *
26
+ * The measurement (2026-10-02/03, three replicas per age, one fresh prefix per
27
+ * age so the probe does not renew what it is timing) put Kimi's coding plan at
28
+ * 3/3 warm through 25 minutes, 1/3 at 30 minutes, and 0/3 at 35 minutes — a
29
+ * 25–35 minute bracket around a fuzzy edge.
30
+ *
31
+ * 25 minutes is the last age at which every replica was still warm, and that is
32
+ * what this notice needs: it must arrive BEFORE the entry is surely gone. The
33
+ * 30-minute point where most replicas had gone cold is too late — by then the
34
+ * user has already paid for the reprocessed prefix, so a notice there describes
35
+ * the bill instead of preventing it.
36
+ *
37
+ * The old value was 5 minutes, taken from the `5m` write tier's NAME. On this
38
+ * endpoint the name is not the lifetime: that estimate warned from minute 6
39
+ * onward while the entry was still warm for another 19.
40
+ */
41
+ export declare const CACHE_TTL_MS: number;
42
+ /**
43
+ * Context below which a cold cache is not worth mentioning.
44
+ *
45
+ * Reprocessing a few thousand tokens is invisible; reprocessing a few hundred
46
+ * thousand is the difference between an instant and a visible pause, and
47
+ * telling someone about the former trains them to ignore the notice.
48
+ */
49
+ export declare const MIN_TOKENS_TO_HINT = 100000;
50
+ /**
51
+ * Note that a session just did something.
52
+ *
53
+ * Called on every turn, so the timestamp answers how long since this
54
+ * conversation last ran, which is what decides whether its cache entry can
55
+ * still be alive.
56
+ */
57
+ export declare function markSessionActive(sessionId: string | undefined, now?: number): void;
58
+ /** When a session last did something, or undefined when it never has. */
59
+ export declare function sessionLastActiveAt(sessionId: string | undefined): number | undefined;
60
+ /** Forget one session's activity, or all of it. Test seam and teardown. */
61
+ export declare function resetSessionActivity(sessionId?: string): void;
62
+ export type { CacheHintDecision, CacheHintInput } from '../../common/cache-hint.ts';
63
+ /** Kimi supplies its measured defaults; other providers call the common pure function directly. */
64
+ export declare function evaluateCacheHint(input: CacheHintInput): CacheHintDecision;
65
+ //# sourceMappingURL=cache-hint.d.ts.map