@alm-allen/dsh-multi-provider 0.0.0-stage → 0.90.2

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 (857) hide show
  1. package/CHANGELOG.md +70 -0
  2. package/LICENSE +21 -0
  3. package/README.md +229 -2
  4. package/cordis.patch.yml +6 -0
  5. package/icon.svg +28 -0
  6. package/lib/client.js +25708 -0
  7. package/lib/client.js.map +1 -0
  8. package/lib/index.js +93587 -0
  9. package/lib/types/client/CodexComposerQuota.d.ts +13 -0
  10. package/lib/types/client/CodexComposerQuota.d.ts.map +1 -0
  11. package/lib/types/client/CodexSubscriptionSection.d.ts +42 -0
  12. package/lib/types/client/CodexSubscriptionSection.d.ts.map +1 -0
  13. package/lib/types/client/ProviderHubSection.d.ts +21 -0
  14. package/lib/types/client/ProviderHubSection.d.ts.map +1 -0
  15. package/lib/types/client/api.d.ts +66 -0
  16. package/lib/types/client/api.d.ts.map +1 -0
  17. package/lib/types/client/claude/ClaudeComposerQuota.d.ts +29 -0
  18. package/lib/types/client/claude/ClaudeComposerQuota.d.ts.map +1 -0
  19. package/lib/types/client/claude/ClaudeSection.d.ts +12 -0
  20. package/lib/types/client/claude/ClaudeSection.d.ts.map +1 -0
  21. package/lib/types/client/claude/locales.d.ts +489 -0
  22. package/lib/types/client/claude/locales.d.ts.map +1 -0
  23. package/lib/types/client/claude/styles.d.ts +15 -0
  24. package/lib/types/client/claude/styles.d.ts.map +1 -0
  25. package/lib/types/client/claude/useClaudeSection.d.ts +106 -0
  26. package/lib/types/client/claude/useClaudeSection.d.ts.map +1 -0
  27. package/lib/types/client/claude-api/ClaudeApiSection.d.ts +5 -0
  28. package/lib/types/client/claude-api/ClaudeApiSection.d.ts.map +1 -0
  29. package/lib/types/client/claude-api/api.d.ts +23 -0
  30. package/lib/types/client/claude-api/api.d.ts.map +1 -0
  31. package/lib/types/client/claude-api/locales.d.ts +161 -0
  32. package/lib/types/client/claude-api/locales.d.ts.map +1 -0
  33. package/lib/types/client/claude-api/styles.d.ts +4 -0
  34. package/lib/types/client/claude-api/styles.d.ts.map +1 -0
  35. package/lib/types/client/claude-api/useClaudeApiSection.d.ts +37 -0
  36. package/lib/types/client/claude-api/useClaudeApiSection.d.ts.map +1 -0
  37. package/lib/types/client/cline-pass/ClinePassComposerQuota.d.ts +23 -0
  38. package/lib/types/client/cline-pass/ClinePassComposerQuota.d.ts.map +1 -0
  39. package/lib/types/client/cline-pass/ClinePassSection.d.ts +17 -0
  40. package/lib/types/client/cline-pass/ClinePassSection.d.ts.map +1 -0
  41. package/lib/types/client/cline-pass/api.d.ts +85 -0
  42. package/lib/types/client/cline-pass/api.d.ts.map +1 -0
  43. package/lib/types/client/cline-pass/locales.d.ts +911 -0
  44. package/lib/types/client/cline-pass/locales.d.ts.map +1 -0
  45. package/lib/types/client/cline-pass/styles.d.ts +7 -0
  46. package/lib/types/client/cline-pass/styles.d.ts.map +1 -0
  47. package/lib/types/client/command-code/CommandCodeComposerQuota.d.ts +20 -0
  48. package/lib/types/client/command-code/CommandCodeComposerQuota.d.ts.map +1 -0
  49. package/lib/types/client/command-code/CommandCodeSection.d.ts +8 -0
  50. package/lib/types/client/command-code/CommandCodeSection.d.ts.map +1 -0
  51. package/lib/types/client/command-code/locales.d.ts +305 -0
  52. package/lib/types/client/command-code/locales.d.ts.map +1 -0
  53. package/lib/types/client/common/AccountPoolSection.d.ts +104 -0
  54. package/lib/types/client/common/AccountPoolSection.d.ts.map +1 -0
  55. package/lib/types/client/common/ComposerQuotaBadge.d.ts +63 -0
  56. package/lib/types/client/common/ComposerQuotaBadge.d.ts.map +1 -0
  57. package/lib/types/client/common/ContextWindowEditor.d.ts +71 -0
  58. package/lib/types/client/common/ContextWindowEditor.d.ts.map +1 -0
  59. package/lib/types/client/common/LineProxySection.d.ts +78 -0
  60. package/lib/types/client/common/LineProxySection.d.ts.map +1 -0
  61. package/lib/types/client/common/ModelChecklist.d.ts +29 -0
  62. package/lib/types/client/common/ModelChecklist.d.ts.map +1 -0
  63. package/lib/types/client/common/account-pool-labels.d.ts +74 -0
  64. package/lib/types/client/common/account-pool-labels.d.ts.map +1 -0
  65. package/lib/types/client/common/account-quota.d.ts +60 -0
  66. package/lib/types/client/common/account-quota.d.ts.map +1 -0
  67. package/lib/types/client/common/format.d.ts +70 -0
  68. package/lib/types/client/common/format.d.ts.map +1 -0
  69. package/lib/types/client/common/host-locale-mirror.d.ts +24 -0
  70. package/lib/types/client/common/host-locale-mirror.d.ts.map +1 -0
  71. package/lib/types/client/common/line-api.d.ts +8 -0
  72. package/lib/types/client/common/line-api.d.ts.map +1 -0
  73. package/lib/types/client/common/line-locale.d.ts +21 -0
  74. package/lib/types/client/common/line-locale.d.ts.map +1 -0
  75. package/lib/types/client/common/model-checklist-styles.d.ts +2 -0
  76. package/lib/types/client/common/model-checklist-styles.d.ts.map +1 -0
  77. package/lib/types/client/common/plugin-style.d.ts +23 -0
  78. package/lib/types/client/common/plugin-style.d.ts.map +1 -0
  79. package/lib/types/client/common/quota-follow-up.d.ts +30 -0
  80. package/lib/types/client/common/quota-follow-up.d.ts.map +1 -0
  81. package/lib/types/client/common/styles.d.ts +11 -0
  82. package/lib/types/client/common/styles.d.ts.map +1 -0
  83. package/lib/types/client/common/use-store.d.ts +3 -0
  84. package/lib/types/client/common/use-store.d.ts.map +1 -0
  85. package/lib/types/client/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts +27 -0
  86. package/lib/types/client/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts.map +1 -0
  87. package/lib/types/client/glm-coding-plan/GlmCodingPlanSection.d.ts +22 -0
  88. package/lib/types/client/glm-coding-plan/GlmCodingPlanSection.d.ts.map +1 -0
  89. package/lib/types/client/glm-coding-plan/api.d.ts +4 -0
  90. package/lib/types/client/glm-coding-plan/api.d.ts.map +1 -0
  91. package/lib/types/client/glm-coding-plan/locales.d.ts +409 -0
  92. package/lib/types/client/glm-coding-plan/locales.d.ts.map +1 -0
  93. package/lib/types/client/glm-coding-plan/styles.d.ts +16 -0
  94. package/lib/types/client/glm-coding-plan/styles.d.ts.map +1 -0
  95. package/lib/types/client/glm-coding-plan/useGlmCodingPlanSection.d.ts +65 -0
  96. package/lib/types/client/glm-coding-plan/useGlmCodingPlanSection.d.ts.map +1 -0
  97. package/lib/types/client/hub/HubOverview.d.ts +16 -0
  98. package/lib/types/client/hub/HubOverview.d.ts.map +1 -0
  99. package/lib/types/client/hub/brand-icons.d.ts +64 -0
  100. package/lib/types/client/hub/brand-icons.d.ts.map +1 -0
  101. package/lib/types/client/hub/brand-svg.d.ts +51 -0
  102. package/lib/types/client/hub/brand-svg.d.ts.map +1 -0
  103. package/lib/types/client/hub/hub-styles.d.ts +2 -0
  104. package/lib/types/client/hub/hub-styles.d.ts.map +1 -0
  105. package/lib/types/client/hub/providers.d.ts +55 -0
  106. package/lib/types/client/hub/providers.d.ts.map +1 -0
  107. package/lib/types/client/index.d.ts +67 -0
  108. package/lib/types/client/index.d.ts.map +1 -0
  109. package/lib/types/client/kimi-code/KimiCodeComposerQuota.d.ts +21 -0
  110. package/lib/types/client/kimi-code/KimiCodeComposerQuota.d.ts.map +1 -0
  111. package/lib/types/client/kimi-code/KimiCodeSection.d.ts +8 -0
  112. package/lib/types/client/kimi-code/KimiCodeSection.d.ts.map +1 -0
  113. package/lib/types/client/kimi-code/KimiModelCapabilities.d.ts +16 -0
  114. package/lib/types/client/kimi-code/KimiModelCapabilities.d.ts.map +1 -0
  115. package/lib/types/client/kimi-code/KimiQuotaCard.d.ts +31 -0
  116. package/lib/types/client/kimi-code/KimiQuotaCard.d.ts.map +1 -0
  117. package/lib/types/client/kimi-code/labels.d.ts +66 -0
  118. package/lib/types/client/kimi-code/labels.d.ts.map +1 -0
  119. package/lib/types/client/kimi-code/locales.d.ts +640 -0
  120. package/lib/types/client/kimi-code/locales.d.ts.map +1 -0
  121. package/lib/types/client/kimi-code/staff-art.d.ts +19 -0
  122. package/lib/types/client/kimi-code/staff-art.d.ts.map +1 -0
  123. package/lib/types/client/kimi-code/styles.d.ts +4 -0
  124. package/lib/types/client/kimi-code/styles.d.ts.map +1 -0
  125. package/lib/types/client/locales-ru/account-pool.d.ts +11 -0
  126. package/lib/types/client/locales-ru/account-pool.d.ts.map +1 -0
  127. package/lib/types/client/locales-ru/claude-api.d.ts +3 -0
  128. package/lib/types/client/locales-ru/claude-api.d.ts.map +1 -0
  129. package/lib/types/client/locales-ru/claude.d.ts +3 -0
  130. package/lib/types/client/locales-ru/claude.d.ts.map +1 -0
  131. package/lib/types/client/locales-ru/cline-pass.d.ts +11 -0
  132. package/lib/types/client/locales-ru/cline-pass.d.ts.map +1 -0
  133. package/lib/types/client/locales-ru/command-code.d.ts +9 -0
  134. package/lib/types/client/locales-ru/command-code.d.ts.map +1 -0
  135. package/lib/types/client/locales-ru/glm-coding-plan.d.ts +10 -0
  136. package/lib/types/client/locales-ru/glm-coding-plan.d.ts.map +1 -0
  137. package/lib/types/client/locales-ru/hub.d.ts +3 -0
  138. package/lib/types/client/locales-ru/hub.d.ts.map +1 -0
  139. package/lib/types/client/locales-ru/index.d.ts +26 -0
  140. package/lib/types/client/locales-ru/index.d.ts.map +1 -0
  141. package/lib/types/client/locales-ru/kimi-code.d.ts +10 -0
  142. package/lib/types/client/locales-ru/kimi-code.d.ts.map +1 -0
  143. package/lib/types/client/locales-ru/minimax-code.d.ts +9 -0
  144. package/lib/types/client/locales-ru/minimax-code.d.ts.map +1 -0
  145. package/lib/types/client/locales-ru/ollama.d.ts +10 -0
  146. package/lib/types/client/locales-ru/ollama.d.ts.map +1 -0
  147. package/lib/types/client/locales-ru/opencode-go.d.ts +3 -0
  148. package/lib/types/client/locales-ru/opencode-go.d.ts.map +1 -0
  149. package/lib/types/client/locales-ru/opendesign.d.ts +10 -0
  150. package/lib/types/client/locales-ru/opendesign.d.ts.map +1 -0
  151. package/lib/types/client/locales-ru/qianwen-token-plan.d.ts +3 -0
  152. package/lib/types/client/locales-ru/qianwen-token-plan.d.ts.map +1 -0
  153. package/lib/types/client/locales-ru/qoder.d.ts +11 -0
  154. package/lib/types/client/locales-ru/qoder.d.ts.map +1 -0
  155. package/lib/types/client/locales-ru/relayone.d.ts +3 -0
  156. package/lib/types/client/locales-ru/relayone.d.ts.map +1 -0
  157. package/lib/types/client/locales-ru/step-code.d.ts +9 -0
  158. package/lib/types/client/locales-ru/step-code.d.ts.map +1 -0
  159. package/lib/types/client/locales-ru/workbuddy.d.ts +10 -0
  160. package/lib/types/client/locales-ru/workbuddy.d.ts.map +1 -0
  161. package/lib/types/client/locales.d.ts +497 -0
  162. package/lib/types/client/locales.d.ts.map +1 -0
  163. package/lib/types/client/minimax-code/MinimaxCodeComposerQuota.d.ts +23 -0
  164. package/lib/types/client/minimax-code/MinimaxCodeComposerQuota.d.ts.map +1 -0
  165. package/lib/types/client/minimax-code/MinimaxCodeSection.d.ts +23 -0
  166. package/lib/types/client/minimax-code/MinimaxCodeSection.d.ts.map +1 -0
  167. package/lib/types/client/minimax-code/api.d.ts +35 -0
  168. package/lib/types/client/minimax-code/api.d.ts.map +1 -0
  169. package/lib/types/client/minimax-code/commands-contract.d.ts +46 -0
  170. package/lib/types/client/minimax-code/commands-contract.d.ts.map +1 -0
  171. package/lib/types/client/minimax-code/locales.d.ts +422 -0
  172. package/lib/types/client/minimax-code/locales.d.ts.map +1 -0
  173. package/lib/types/client/minimax-code/styles.d.ts +12 -0
  174. package/lib/types/client/minimax-code/styles.d.ts.map +1 -0
  175. package/lib/types/client/minimax-code/useMinimaxCodeSection.d.ts +164 -0
  176. package/lib/types/client/minimax-code/useMinimaxCodeSection.d.ts.map +1 -0
  177. package/lib/types/client/ollama/OllamaSection.d.ts +25 -0
  178. package/lib/types/client/ollama/OllamaSection.d.ts.map +1 -0
  179. package/lib/types/client/ollama/api.d.ts +49 -0
  180. package/lib/types/client/ollama/api.d.ts.map +1 -0
  181. package/lib/types/client/ollama/locales.d.ts +479 -0
  182. package/lib/types/client/ollama/locales.d.ts.map +1 -0
  183. package/lib/types/client/opencode-go/OpenCodeGoQuotaCard.d.ts +20 -0
  184. package/lib/types/client/opencode-go/OpenCodeGoQuotaCard.d.ts.map +1 -0
  185. package/lib/types/client/opencode-go/OpenCodeGoSection.d.ts +8 -0
  186. package/lib/types/client/opencode-go/OpenCodeGoSection.d.ts.map +1 -0
  187. package/lib/types/client/opencode-go/locales.d.ts +210 -0
  188. package/lib/types/client/opencode-go/locales.d.ts.map +1 -0
  189. package/lib/types/client/opencode-go/styles.d.ts +10 -0
  190. package/lib/types/client/opencode-go/styles.d.ts.map +1 -0
  191. package/lib/types/client/opendesign/OpenDesignComposerQuota.d.ts +26 -0
  192. package/lib/types/client/opendesign/OpenDesignComposerQuota.d.ts.map +1 -0
  193. package/lib/types/client/opendesign/OpenDesignSection.d.ts +19 -0
  194. package/lib/types/client/opendesign/OpenDesignSection.d.ts.map +1 -0
  195. package/lib/types/client/opendesign/api.d.ts +45 -0
  196. package/lib/types/client/opendesign/api.d.ts.map +1 -0
  197. package/lib/types/client/opendesign/locales.d.ts +815 -0
  198. package/lib/types/client/opendesign/locales.d.ts.map +1 -0
  199. package/lib/types/client/opendesign/styles.d.ts +16 -0
  200. package/lib/types/client/opendesign/styles.d.ts.map +1 -0
  201. package/lib/types/client/qianwen-token-plan/QianwenComposerQuota.d.ts +14 -0
  202. package/lib/types/client/qianwen-token-plan/QianwenComposerQuota.d.ts.map +1 -0
  203. package/lib/types/client/qianwen-token-plan/QianwenTokenPlanSection.d.ts +4 -0
  204. package/lib/types/client/qianwen-token-plan/QianwenTokenPlanSection.d.ts.map +1 -0
  205. package/lib/types/client/qianwen-token-plan/api.d.ts +5 -0
  206. package/lib/types/client/qianwen-token-plan/api.d.ts.map +1 -0
  207. package/lib/types/client/qianwen-token-plan/locales.d.ts +158 -0
  208. package/lib/types/client/qianwen-token-plan/locales.d.ts.map +1 -0
  209. package/lib/types/client/qianwen-token-plan/styles.d.ts +3 -0
  210. package/lib/types/client/qianwen-token-plan/styles.d.ts.map +1 -0
  211. package/lib/types/client/qianwen-token-plan/useQianwenSection.d.ts +32 -0
  212. package/lib/types/client/qianwen-token-plan/useQianwenSection.d.ts.map +1 -0
  213. package/lib/types/client/qoder/QoderComposerQuota.d.ts +41 -0
  214. package/lib/types/client/qoder/QoderComposerQuota.d.ts.map +1 -0
  215. package/lib/types/client/qoder/QoderSection.d.ts +37 -0
  216. package/lib/types/client/qoder/QoderSection.d.ts.map +1 -0
  217. package/lib/types/client/qoder/api.d.ts +4 -0
  218. package/lib/types/client/qoder/api.d.ts.map +1 -0
  219. package/lib/types/client/qoder/locales.d.ts +322 -0
  220. package/lib/types/client/qoder/locales.d.ts.map +1 -0
  221. package/lib/types/client/qoder/styles.d.ts +16 -0
  222. package/lib/types/client/qoder/styles.d.ts.map +1 -0
  223. package/lib/types/client/qoder/useQoderSection.d.ts +97 -0
  224. package/lib/types/client/qoder/useQoderSection.d.ts.map +1 -0
  225. package/lib/types/client/quota.d.ts +9 -0
  226. package/lib/types/client/quota.d.ts.map +1 -0
  227. package/lib/types/client/relayone/RelayOneComposerQuota.d.ts +14 -0
  228. package/lib/types/client/relayone/RelayOneComposerQuota.d.ts.map +1 -0
  229. package/lib/types/client/relayone/RelayOneSection.d.ts +4 -0
  230. package/lib/types/client/relayone/RelayOneSection.d.ts.map +1 -0
  231. package/lib/types/client/relayone/api.d.ts +5 -0
  232. package/lib/types/client/relayone/api.d.ts.map +1 -0
  233. package/lib/types/client/relayone/locales.d.ts +221 -0
  234. package/lib/types/client/relayone/locales.d.ts.map +1 -0
  235. package/lib/types/client/relayone/quota-format.d.ts +6 -0
  236. package/lib/types/client/relayone/quota-format.d.ts.map +1 -0
  237. package/lib/types/client/relayone/styles.d.ts +3 -0
  238. package/lib/types/client/relayone/styles.d.ts.map +1 -0
  239. package/lib/types/client/relayone/useRelayOneSection.d.ts +32 -0
  240. package/lib/types/client/relayone/useRelayOneSection.d.ts.map +1 -0
  241. package/lib/types/client/step-code/StepCodeComposerQuota.d.ts +50 -0
  242. package/lib/types/client/step-code/StepCodeComposerQuota.d.ts.map +1 -0
  243. package/lib/types/client/step-code/StepCodeSection.d.ts +28 -0
  244. package/lib/types/client/step-code/StepCodeSection.d.ts.map +1 -0
  245. package/lib/types/client/step-code/api.d.ts +4 -0
  246. package/lib/types/client/step-code/api.d.ts.map +1 -0
  247. package/lib/types/client/step-code/locales.d.ts +657 -0
  248. package/lib/types/client/step-code/locales.d.ts.map +1 -0
  249. package/lib/types/client/step-code/styles.d.ts +28 -0
  250. package/lib/types/client/step-code/styles.d.ts.map +1 -0
  251. package/lib/types/client/step-code/useStepCodeSection.d.ts +122 -0
  252. package/lib/types/client/step-code/useStepCodeSection.d.ts.map +1 -0
  253. package/lib/types/client/store.d.ts +19 -0
  254. package/lib/types/client/store.d.ts.map +1 -0
  255. package/lib/types/client/styles.d.ts +26 -0
  256. package/lib/types/client/styles.d.ts.map +1 -0
  257. package/lib/types/client/workbuddy/WorkBuddyComposerQuota.d.ts +34 -0
  258. package/lib/types/client/workbuddy/WorkBuddyComposerQuota.d.ts.map +1 -0
  259. package/lib/types/client/workbuddy/WorkBuddySection.d.ts +91 -0
  260. package/lib/types/client/workbuddy/WorkBuddySection.d.ts.map +1 -0
  261. package/lib/types/client/workbuddy/locales.d.ts +768 -0
  262. package/lib/types/client/workbuddy/locales.d.ts.map +1 -0
  263. package/lib/types/client/workbuddy/styles.d.ts +21 -0
  264. package/lib/types/client/workbuddy/styles.d.ts.map +1 -0
  265. package/lib/types/client/workbuddy/useWorkBuddySection.d.ts +149 -0
  266. package/lib/types/client/workbuddy/useWorkBuddySection.d.ts.map +1 -0
  267. package/lib/types/compat.d.ts +139 -0
  268. package/lib/types/compat.d.ts.map +1 -0
  269. package/lib/types/host/adapter.d.ts +43 -0
  270. package/lib/types/host/adapter.d.ts.map +1 -0
  271. package/lib/types/host/callback-server.d.ts +22 -0
  272. package/lib/types/host/callback-server.d.ts.map +1 -0
  273. package/lib/types/host/claude/account-pool.d.ts +583 -0
  274. package/lib/types/host/claude/account-pool.d.ts.map +1 -0
  275. package/lib/types/host/claude/adapter.d.ts +424 -0
  276. package/lib/types/host/claude/adapter.d.ts.map +1 -0
  277. package/lib/types/host/claude/adopt.d.ts +292 -0
  278. package/lib/types/host/claude/adopt.d.ts.map +1 -0
  279. package/lib/types/host/claude/client.d.ts +579 -0
  280. package/lib/types/host/claude/client.d.ts.map +1 -0
  281. package/lib/types/host/claude/mapper.d.ts +802 -0
  282. package/lib/types/host/claude/mapper.d.ts.map +1 -0
  283. package/lib/types/host/claude/model-catalog.d.ts +560 -0
  284. package/lib/types/host/claude/model-catalog.d.ts.map +1 -0
  285. package/lib/types/host/claude/oauth.d.ts +419 -0
  286. package/lib/types/host/claude/oauth.d.ts.map +1 -0
  287. package/lib/types/host/claude/routes.d.ts +131 -0
  288. package/lib/types/host/claude/routes.d.ts.map +1 -0
  289. package/lib/types/host/claude/token-store.d.ts +347 -0
  290. package/lib/types/host/claude/token-store.d.ts.map +1 -0
  291. package/lib/types/host/claude/types.d.ts +417 -0
  292. package/lib/types/host/claude/types.d.ts.map +1 -0
  293. package/lib/types/host/claude-api/adapter.d.ts +70 -0
  294. package/lib/types/host/claude-api/adapter.d.ts.map +1 -0
  295. package/lib/types/host/claude-api/capability-memory.d.ts +4 -0
  296. package/lib/types/host/claude-api/capability-memory.d.ts.map +1 -0
  297. package/lib/types/host/claude-api/catalog-manager.d.ts +57 -0
  298. package/lib/types/host/claude-api/catalog-manager.d.ts.map +1 -0
  299. package/lib/types/host/claude-api/client-version.d.ts +4 -0
  300. package/lib/types/host/claude-api/client-version.d.ts.map +1 -0
  301. package/lib/types/host/claude-api/client.d.ts +55 -0
  302. package/lib/types/host/claude-api/client.d.ts.map +1 -0
  303. package/lib/types/host/claude-api/compaction-instruction.d.ts +23 -0
  304. package/lib/types/host/claude-api/compaction-instruction.d.ts.map +1 -0
  305. package/lib/types/host/claude-api/compaction-store.d.ts +62 -0
  306. package/lib/types/host/claude-api/compaction-store.d.ts.map +1 -0
  307. package/lib/types/host/claude-api/compaction.d.ts +47 -0
  308. package/lib/types/host/claude-api/compaction.d.ts.map +1 -0
  309. package/lib/types/host/claude-api/mapper.d.ts +61 -0
  310. package/lib/types/host/claude-api/mapper.d.ts.map +1 -0
  311. package/lib/types/host/claude-api/model-catalog.d.ts +76 -0
  312. package/lib/types/host/claude-api/model-catalog.d.ts.map +1 -0
  313. package/lib/types/host/claude-api/routes.d.ts +22 -0
  314. package/lib/types/host/claude-api/routes.d.ts.map +1 -0
  315. package/lib/types/host/claude-api/stream.d.ts +88 -0
  316. package/lib/types/host/claude-api/stream.d.ts.map +1 -0
  317. package/lib/types/host/claude-api/token-store.d.ts +60 -0
  318. package/lib/types/host/claude-api/token-store.d.ts.map +1 -0
  319. package/lib/types/host/claude-api/types.d.ts +68 -0
  320. package/lib/types/host/claude-api/types.d.ts.map +1 -0
  321. package/lib/types/host/cline-pass/account-pool.d.ts +63 -0
  322. package/lib/types/host/cline-pass/account-pool.d.ts.map +1 -0
  323. package/lib/types/host/cline-pass/adapter.d.ts +60 -0
  324. package/lib/types/host/cline-pass/adapter.d.ts.map +1 -0
  325. package/lib/types/host/cline-pass/catalog.d.ts +49 -0
  326. package/lib/types/host/cline-pass/catalog.d.ts.map +1 -0
  327. package/lib/types/host/cline-pass/client.d.ts +109 -0
  328. package/lib/types/host/cline-pass/client.d.ts.map +1 -0
  329. package/lib/types/host/cline-pass/engine.d.ts +93 -0
  330. package/lib/types/host/cline-pass/engine.d.ts.map +1 -0
  331. package/lib/types/host/cline-pass/line.d.ts +55 -0
  332. package/lib/types/host/cline-pass/line.d.ts.map +1 -0
  333. package/lib/types/host/cline-pass/mapper.d.ts +138 -0
  334. package/lib/types/host/cline-pass/mapper.d.ts.map +1 -0
  335. package/lib/types/host/cline-pass/oauth.d.ts +134 -0
  336. package/lib/types/host/cline-pass/oauth.d.ts.map +1 -0
  337. package/lib/types/host/cline-pass/protocol.d.ts +44 -0
  338. package/lib/types/host/cline-pass/protocol.d.ts.map +1 -0
  339. package/lib/types/host/cline-pass/routes.d.ts +92 -0
  340. package/lib/types/host/cline-pass/routes.d.ts.map +1 -0
  341. package/lib/types/host/cline-pass/store.d.ts +75 -0
  342. package/lib/types/host/cline-pass/store.d.ts.map +1 -0
  343. package/lib/types/host/cline-pass/token-store.d.ts +170 -0
  344. package/lib/types/host/cline-pass/token-store.d.ts.map +1 -0
  345. package/lib/types/host/cline-pass/tools.d.ts +21 -0
  346. package/lib/types/host/cline-pass/tools.d.ts.map +1 -0
  347. package/lib/types/host/cline-pass/types.d.ts +127 -0
  348. package/lib/types/host/cline-pass/types.d.ts.map +1 -0
  349. package/lib/types/host/codex-account-pool.d.ts +223 -0
  350. package/lib/types/host/codex-account-pool.d.ts.map +1 -0
  351. package/lib/types/host/codex-adopt.d.ts +255 -0
  352. package/lib/types/host/codex-adopt.d.ts.map +1 -0
  353. package/lib/types/host/codex-catalog.d.ts +69 -0
  354. package/lib/types/host/codex-catalog.d.ts.map +1 -0
  355. package/lib/types/host/codex-fetch.d.ts +17 -0
  356. package/lib/types/host/codex-fetch.d.ts.map +1 -0
  357. package/lib/types/host/codex-file-import.d.ts +35 -0
  358. package/lib/types/host/codex-file-import.d.ts.map +1 -0
  359. package/lib/types/host/codex-identity.d.ts +132 -0
  360. package/lib/types/host/codex-identity.d.ts.map +1 -0
  361. package/lib/types/host/codex-remote-compaction.d.ts +41 -0
  362. package/lib/types/host/codex-remote-compaction.d.ts.map +1 -0
  363. package/lib/types/host/codex-search.d.ts +11 -0
  364. package/lib/types/host/codex-search.d.ts.map +1 -0
  365. package/lib/types/host/command-code/account-pool.d.ts +72 -0
  366. package/lib/types/host/command-code/account-pool.d.ts.map +1 -0
  367. package/lib/types/host/command-code/adapter.d.ts +89 -0
  368. package/lib/types/host/command-code/adapter.d.ts.map +1 -0
  369. package/lib/types/host/command-code/client.d.ts +126 -0
  370. package/lib/types/host/command-code/client.d.ts.map +1 -0
  371. package/lib/types/host/command-code/mapper.d.ts +199 -0
  372. package/lib/types/host/command-code/mapper.d.ts.map +1 -0
  373. package/lib/types/host/command-code/model-catalog.d.ts +90 -0
  374. package/lib/types/host/command-code/model-catalog.d.ts.map +1 -0
  375. package/lib/types/host/command-code/oauth.d.ts +95 -0
  376. package/lib/types/host/command-code/oauth.d.ts.map +1 -0
  377. package/lib/types/host/command-code/plans.d.ts +40 -0
  378. package/lib/types/host/command-code/plans.d.ts.map +1 -0
  379. package/lib/types/host/command-code/routes.d.ts +44 -0
  380. package/lib/types/host/command-code/routes.d.ts.map +1 -0
  381. package/lib/types/host/command-code/token-store.d.ts +100 -0
  382. package/lib/types/host/command-code/token-store.d.ts.map +1 -0
  383. package/lib/types/host/command-code/types.d.ts +222 -0
  384. package/lib/types/host/command-code/types.d.ts.map +1 -0
  385. package/lib/types/host/common/account-pool.d.ts +584 -0
  386. package/lib/types/host/common/account-pool.d.ts.map +1 -0
  387. package/lib/types/host/common/account-quota.d.ts +44 -0
  388. package/lib/types/host/common/account-quota.d.ts.map +1 -0
  389. package/lib/types/host/common/brand-compat.d.ts +4 -0
  390. package/lib/types/host/common/brand-compat.d.ts.map +1 -0
  391. package/lib/types/host/common/cache-activity.d.ts +16 -0
  392. package/lib/types/host/common/cache-activity.d.ts.map +1 -0
  393. package/lib/types/host/common/cache-affinity.d.ts +23 -0
  394. package/lib/types/host/common/cache-affinity.d.ts.map +1 -0
  395. package/lib/types/host/common/cache-hint.d.ts +18 -0
  396. package/lib/types/host/common/cache-hint.d.ts.map +1 -0
  397. package/lib/types/host/common/capabilities.d.ts +100 -0
  398. package/lib/types/host/common/capabilities.d.ts.map +1 -0
  399. package/lib/types/host/common/catalog-snapshot.d.ts +80 -0
  400. package/lib/types/host/common/catalog-snapshot.d.ts.map +1 -0
  401. package/lib/types/host/common/claude-capability-memory.d.ts +51 -0
  402. package/lib/types/host/common/claude-capability-memory.d.ts.map +1 -0
  403. package/lib/types/host/common/claude-code-cch.d.ts +28 -0
  404. package/lib/types/host/common/claude-code-cch.d.ts.map +1 -0
  405. package/lib/types/host/common/claude-code-corrections.d.ts +6 -0
  406. package/lib/types/host/common/claude-code-corrections.d.ts.map +1 -0
  407. package/lib/types/host/common/claude-code-first-party.d.ts +68 -0
  408. package/lib/types/host/common/claude-code-first-party.d.ts.map +1 -0
  409. package/lib/types/host/common/claude-code-version.d.ts +90 -0
  410. package/lib/types/host/common/claude-code-version.d.ts.map +1 -0
  411. package/lib/types/host/common/concurrency-gate.d.ts +46 -0
  412. package/lib/types/host/common/concurrency-gate.d.ts.map +1 -0
  413. package/lib/types/host/common/context-budget-fetch.d.ts +7 -0
  414. package/lib/types/host/common/context-budget-fetch.d.ts.map +1 -0
  415. package/lib/types/host/common/context-overflow.d.ts +7 -0
  416. package/lib/types/host/common/context-overflow.d.ts.map +1 -0
  417. package/lib/types/host/common/context-window-overrides.d.ts +12 -0
  418. package/lib/types/host/common/context-window-overrides.d.ts.map +1 -0
  419. package/lib/types/host/common/credential-read-cache.d.ts +82 -0
  420. package/lib/types/host/common/credential-read-cache.d.ts.map +1 -0
  421. package/lib/types/host/common/credentials-compat.d.ts +73 -0
  422. package/lib/types/host/common/credentials-compat.d.ts.map +1 -0
  423. package/lib/types/host/common/failure-classification.d.ts +21 -0
  424. package/lib/types/host/common/failure-classification.d.ts.map +1 -0
  425. package/lib/types/host/common/file-preferences.d.ts +49 -0
  426. package/lib/types/host/common/file-preferences.d.ts.map +1 -0
  427. package/lib/types/host/common/gpt-engineering-guidance.d.ts +16 -0
  428. package/lib/types/host/common/gpt-engineering-guidance.d.ts.map +1 -0
  429. package/lib/types/host/common/home.d.ts +8 -0
  430. package/lib/types/host/common/home.d.ts.map +1 -0
  431. package/lib/types/host/common/hosted-media.d.ts +36 -0
  432. package/lib/types/host/common/hosted-media.d.ts.map +1 -0
  433. package/lib/types/host/common/i18n/en.d.ts +9 -0
  434. package/lib/types/host/common/i18n/en.d.ts.map +1 -0
  435. package/lib/types/host/common/i18n/index.d.ts +13 -0
  436. package/lib/types/host/common/i18n/index.d.ts.map +1 -0
  437. package/lib/types/host/common/i18n/provider-name.d.ts +10 -0
  438. package/lib/types/host/common/i18n/provider-name.d.ts.map +1 -0
  439. package/lib/types/host/common/i18n/ru.d.ts +10 -0
  440. package/lib/types/host/common/i18n/ru.d.ts.map +1 -0
  441. package/lib/types/host/common/i18n/runtime.d.ts +54 -0
  442. package/lib/types/host/common/i18n/runtime.d.ts.map +1 -0
  443. package/lib/types/host/common/i18n/t.d.ts +38 -0
  444. package/lib/types/host/common/i18n/t.d.ts.map +1 -0
  445. package/lib/types/host/common/i18n/zh.d.ts +172 -0
  446. package/lib/types/host/common/i18n/zh.d.ts.map +1 -0
  447. package/lib/types/host/common/idle-watchdog.d.ts +58 -0
  448. package/lib/types/host/common/idle-watchdog.d.ts.map +1 -0
  449. package/lib/types/host/common/legacy-preferences.d.ts +29 -0
  450. package/lib/types/host/common/legacy-preferences.d.ts.map +1 -0
  451. package/lib/types/host/common/llm-compat.d.ts +157 -0
  452. package/lib/types/host/common/llm-compat.d.ts.map +1 -0
  453. package/lib/types/host/common/model-request-control.d.ts +21 -0
  454. package/lib/types/host/common/model-request-control.d.ts.map +1 -0
  455. package/lib/types/host/common/orphan-tool-calls.d.ts +47 -0
  456. package/lib/types/host/common/orphan-tool-calls.d.ts.map +1 -0
  457. package/lib/types/host/common/output-reservation.d.ts +11 -0
  458. package/lib/types/host/common/output-reservation.d.ts.map +1 -0
  459. package/lib/types/host/common/pool-storage-settings.d.ts +41 -0
  460. package/lib/types/host/common/pool-storage-settings.d.ts.map +1 -0
  461. package/lib/types/host/common/pool-storage.d.ts +143 -0
  462. package/lib/types/host/common/pool-storage.d.ts.map +1 -0
  463. package/lib/types/host/common/prefix-request-coordinator.d.ts +46 -0
  464. package/lib/types/host/common/prefix-request-coordinator.d.ts.map +1 -0
  465. package/lib/types/host/common/prefix-stability.d.ts +24 -0
  466. package/lib/types/host/common/prefix-stability.d.ts.map +1 -0
  467. package/lib/types/host/common/prompt-cache-policy.d.ts +47 -0
  468. package/lib/types/host/common/prompt-cache-policy.d.ts.map +1 -0
  469. package/lib/types/host/common/prompt-estimate.d.ts +22 -0
  470. package/lib/types/host/common/prompt-estimate.d.ts.map +1 -0
  471. package/lib/types/host/common/provider-route.d.ts +56 -0
  472. package/lib/types/host/common/provider-route.d.ts.map +1 -0
  473. package/lib/types/host/common/quota-refresh.d.ts +35 -0
  474. package/lib/types/host/common/quota-refresh.d.ts.map +1 -0
  475. package/lib/types/host/common/reasoning-dialect.d.ts +24 -0
  476. package/lib/types/host/common/reasoning-dialect.d.ts.map +1 -0
  477. package/lib/types/host/common/reasoning-efforts.d.ts +2 -0
  478. package/lib/types/host/common/reasoning-efforts.d.ts.map +1 -0
  479. package/lib/types/host/common/request-diagnostics.d.ts +79 -0
  480. package/lib/types/host/common/request-diagnostics.d.ts.map +1 -0
  481. package/lib/types/host/common/request-images.d.ts +275 -0
  482. package/lib/types/host/common/request-images.d.ts.map +1 -0
  483. package/lib/types/host/common/same-origin.d.ts +30 -0
  484. package/lib/types/host/common/same-origin.d.ts.map +1 -0
  485. package/lib/types/host/common/session-cache-state.d.ts +29 -0
  486. package/lib/types/host/common/session-cache-state.d.ts.map +1 -0
  487. package/lib/types/host/common/session-effort-memory.d.ts +35 -0
  488. package/lib/types/host/common/session-effort-memory.d.ts.map +1 -0
  489. package/lib/types/host/common/settings-compat.d.ts +55 -0
  490. package/lib/types/host/common/settings-compat.d.ts.map +1 -0
  491. package/lib/types/host/common/sticky-image-budget.d.ts +10 -0
  492. package/lib/types/host/common/sticky-image-budget.d.ts.map +1 -0
  493. package/lib/types/host/common/stream-error.d.ts +93 -0
  494. package/lib/types/host/common/stream-error.d.ts.map +1 -0
  495. package/lib/types/host/common/tool-schema.d.ts +27 -0
  496. package/lib/types/host/common/tool-schema.d.ts.map +1 -0
  497. package/lib/types/host/common/video-request.d.ts +81 -0
  498. package/lib/types/host/common/video-request.d.ts.map +1 -0
  499. package/lib/types/host/common/video.d.ts +90 -0
  500. package/lib/types/host/common/video.d.ts.map +1 -0
  501. package/lib/types/host/common/webserver-compat.d.ts +7 -0
  502. package/lib/types/host/common/webserver-compat.d.ts.map +1 -0
  503. package/lib/types/host/credential-store-secret-service.d.ts +66 -0
  504. package/lib/types/host/credential-store-secret-service.d.ts.map +1 -0
  505. package/lib/types/host/fetch-address-policy.d.ts +79 -0
  506. package/lib/types/host/fetch-address-policy.d.ts.map +1 -0
  507. package/lib/types/host/fetch-configuration.d.ts +6 -0
  508. package/lib/types/host/fetch-configuration.d.ts.map +1 -0
  509. package/lib/types/host/glm-coding-plan/account-pool.d.ts +152 -0
  510. package/lib/types/host/glm-coding-plan/account-pool.d.ts.map +1 -0
  511. package/lib/types/host/glm-coding-plan/adapter.d.ts +169 -0
  512. package/lib/types/host/glm-coding-plan/adapter.d.ts.map +1 -0
  513. package/lib/types/host/glm-coding-plan/adopt.d.ts +354 -0
  514. package/lib/types/host/glm-coding-plan/adopt.d.ts.map +1 -0
  515. package/lib/types/host/glm-coding-plan/biz-token-cache.d.ts +99 -0
  516. package/lib/types/host/glm-coding-plan/biz-token-cache.d.ts.map +1 -0
  517. package/lib/types/host/glm-coding-plan/client.d.ts +218 -0
  518. package/lib/types/host/glm-coding-plan/client.d.ts.map +1 -0
  519. package/lib/types/host/glm-coding-plan/exchange.d.ts +223 -0
  520. package/lib/types/host/glm-coding-plan/exchange.d.ts.map +1 -0
  521. package/lib/types/host/glm-coding-plan/mapper-anthropic.d.ts +312 -0
  522. package/lib/types/host/glm-coding-plan/mapper-anthropic.d.ts.map +1 -0
  523. package/lib/types/host/glm-coding-plan/mapper-openai.d.ts +213 -0
  524. package/lib/types/host/glm-coding-plan/mapper-openai.d.ts.map +1 -0
  525. package/lib/types/host/glm-coding-plan/model-catalog.d.ts +241 -0
  526. package/lib/types/host/glm-coding-plan/model-catalog.d.ts.map +1 -0
  527. package/lib/types/host/glm-coding-plan/oauth.d.ts +211 -0
  528. package/lib/types/host/glm-coding-plan/oauth.d.ts.map +1 -0
  529. package/lib/types/host/glm-coding-plan/routes.d.ts +93 -0
  530. package/lib/types/host/glm-coding-plan/routes.d.ts.map +1 -0
  531. package/lib/types/host/glm-coding-plan/token-store.d.ts +202 -0
  532. package/lib/types/host/glm-coding-plan/token-store.d.ts.map +1 -0
  533. package/lib/types/host/glm-coding-plan/types.d.ts +492 -0
  534. package/lib/types/host/glm-coding-plan/types.d.ts.map +1 -0
  535. package/lib/types/host/hub-overview.d.ts +32 -0
  536. package/lib/types/host/hub-overview.d.ts.map +1 -0
  537. package/lib/types/host/kimi-code/account-pool.d.ts +124 -0
  538. package/lib/types/host/kimi-code/account-pool.d.ts.map +1 -0
  539. package/lib/types/host/kimi-code/adapter.d.ts +451 -0
  540. package/lib/types/host/kimi-code/adapter.d.ts.map +1 -0
  541. package/lib/types/host/kimi-code/api-key.d.ts +55 -0
  542. package/lib/types/host/kimi-code/api-key.d.ts.map +1 -0
  543. package/lib/types/host/kimi-code/cache-affinity.d.ts +112 -0
  544. package/lib/types/host/kimi-code/cache-affinity.d.ts.map +1 -0
  545. package/lib/types/host/kimi-code/cache-hint.d.ts +65 -0
  546. package/lib/types/host/kimi-code/cache-hint.d.ts.map +1 -0
  547. package/lib/types/host/kimi-code/client.d.ts +306 -0
  548. package/lib/types/host/kimi-code/client.d.ts.map +1 -0
  549. package/lib/types/host/kimi-code/mapper.d.ts +913 -0
  550. package/lib/types/host/kimi-code/mapper.d.ts.map +1 -0
  551. package/lib/types/host/kimi-code/media-files.d.ts +206 -0
  552. package/lib/types/host/kimi-code/media-files.d.ts.map +1 -0
  553. package/lib/types/host/kimi-code/modalities.d.ts +23 -0
  554. package/lib/types/host/kimi-code/modalities.d.ts.map +1 -0
  555. package/lib/types/host/kimi-code/model-catalog.d.ts +125 -0
  556. package/lib/types/host/kimi-code/model-catalog.d.ts.map +1 -0
  557. package/lib/types/host/kimi-code/oauth.d.ts +213 -0
  558. package/lib/types/host/kimi-code/oauth.d.ts.map +1 -0
  559. package/lib/types/host/kimi-code/routes.d.ts +52 -0
  560. package/lib/types/host/kimi-code/routes.d.ts.map +1 -0
  561. package/lib/types/host/kimi-code/session-cache-state.d.ts +156 -0
  562. package/lib/types/host/kimi-code/session-cache-state.d.ts.map +1 -0
  563. package/lib/types/host/kimi-code/token-store.d.ts +182 -0
  564. package/lib/types/host/kimi-code/token-store.d.ts.map +1 -0
  565. package/lib/types/host/kimi-code/tool-argument-guard.d.ts +43 -0
  566. package/lib/types/host/kimi-code/tool-argument-guard.d.ts.map +1 -0
  567. package/lib/types/host/kimi-code/types.d.ts +458 -0
  568. package/lib/types/host/kimi-code/types.d.ts.map +1 -0
  569. package/lib/types/host/kimi-code/warmup-streak.d.ts +66 -0
  570. package/lib/types/host/kimi-code/warmup-streak.d.ts.map +1 -0
  571. package/lib/types/host/minimax-code/account-pool.d.ts +309 -0
  572. package/lib/types/host/minimax-code/account-pool.d.ts.map +1 -0
  573. package/lib/types/host/minimax-code/adapter.d.ts +207 -0
  574. package/lib/types/host/minimax-code/adapter.d.ts.map +1 -0
  575. package/lib/types/host/minimax-code/checkin-gateway.d.ts +145 -0
  576. package/lib/types/host/minimax-code/checkin-gateway.d.ts.map +1 -0
  577. package/lib/types/host/minimax-code/checkin.d.ts +207 -0
  578. package/lib/types/host/minimax-code/checkin.d.ts.map +1 -0
  579. package/lib/types/host/minimax-code/client.d.ts +242 -0
  580. package/lib/types/host/minimax-code/client.d.ts.map +1 -0
  581. package/lib/types/host/minimax-code/files-api.d.ts +117 -0
  582. package/lib/types/host/minimax-code/files-api.d.ts.map +1 -0
  583. package/lib/types/host/minimax-code/iso-bmff-duration.d.ts +84 -0
  584. package/lib/types/host/minimax-code/iso-bmff-duration.d.ts.map +1 -0
  585. package/lib/types/host/minimax-code/mapper.d.ts +351 -0
  586. package/lib/types/host/minimax-code/mapper.d.ts.map +1 -0
  587. package/lib/types/host/minimax-code/matrix-client.d.ts +168 -0
  588. package/lib/types/host/minimax-code/matrix-client.d.ts.map +1 -0
  589. package/lib/types/host/minimax-code/modalities.d.ts +20 -0
  590. package/lib/types/host/minimax-code/modalities.d.ts.map +1 -0
  591. package/lib/types/host/minimax-code/model-catalog.d.ts +227 -0
  592. package/lib/types/host/minimax-code/model-catalog.d.ts.map +1 -0
  593. package/lib/types/host/minimax-code/oauth.d.ts +220 -0
  594. package/lib/types/host/minimax-code/oauth.d.ts.map +1 -0
  595. package/lib/types/host/minimax-code/reset-card.d.ts +136 -0
  596. package/lib/types/host/minimax-code/reset-card.d.ts.map +1 -0
  597. package/lib/types/host/minimax-code/routes.d.ts +82 -0
  598. package/lib/types/host/minimax-code/routes.d.ts.map +1 -0
  599. package/lib/types/host/minimax-code/token-store.d.ts +328 -0
  600. package/lib/types/host/minimax-code/token-store.d.ts.map +1 -0
  601. package/lib/types/host/minimax-code/tool-argument-repair.d.ts +72 -0
  602. package/lib/types/host/minimax-code/tool-argument-repair.d.ts.map +1 -0
  603. package/lib/types/host/minimax-code/types.d.ts +378 -0
  604. package/lib/types/host/minimax-code/types.d.ts.map +1 -0
  605. package/lib/types/host/model-catalog.d.ts +43 -0
  606. package/lib/types/host/model-catalog.d.ts.map +1 -0
  607. package/lib/types/host/oauth-service.d.ts +242 -0
  608. package/lib/types/host/oauth-service.d.ts.map +1 -0
  609. package/lib/types/host/ollama/account-pool.d.ts +65 -0
  610. package/lib/types/host/ollama/account-pool.d.ts.map +1 -0
  611. package/lib/types/host/ollama/adapter.d.ts +90 -0
  612. package/lib/types/host/ollama/adapter.d.ts.map +1 -0
  613. package/lib/types/host/ollama/client.d.ts +166 -0
  614. package/lib/types/host/ollama/client.d.ts.map +1 -0
  615. package/lib/types/host/ollama/mapper.d.ts +49 -0
  616. package/lib/types/host/ollama/mapper.d.ts.map +1 -0
  617. package/lib/types/host/ollama/routes.d.ts +22 -0
  618. package/lib/types/host/ollama/routes.d.ts.map +1 -0
  619. package/lib/types/host/ollama/token-store.d.ts +78 -0
  620. package/lib/types/host/ollama/token-store.d.ts.map +1 -0
  621. package/lib/types/host/ollama/types.d.ts +247 -0
  622. package/lib/types/host/ollama/types.d.ts.map +1 -0
  623. package/lib/types/host/opencode-go/account-pool.d.ts +50 -0
  624. package/lib/types/host/opencode-go/account-pool.d.ts.map +1 -0
  625. package/lib/types/host/opencode-go/adapter.d.ts +38 -0
  626. package/lib/types/host/opencode-go/adapter.d.ts.map +1 -0
  627. package/lib/types/host/opencode-go/client.d.ts +13 -0
  628. package/lib/types/host/opencode-go/client.d.ts.map +1 -0
  629. package/lib/types/host/opencode-go/mapper-gemini.d.ts +13 -0
  630. package/lib/types/host/opencode-go/mapper-gemini.d.ts.map +1 -0
  631. package/lib/types/host/opencode-go/mapper-messages.d.ts +8 -0
  632. package/lib/types/host/opencode-go/mapper-messages.d.ts.map +1 -0
  633. package/lib/types/host/opencode-go/mapper-responses.d.ts +9 -0
  634. package/lib/types/host/opencode-go/mapper-responses.d.ts.map +1 -0
  635. package/lib/types/host/opencode-go/mapper.d.ts +38 -0
  636. package/lib/types/host/opencode-go/mapper.d.ts.map +1 -0
  637. package/lib/types/host/opencode-go/model-catalog.d.ts +57 -0
  638. package/lib/types/host/opencode-go/model-catalog.d.ts.map +1 -0
  639. package/lib/types/host/opencode-go/native-shared.d.ts +31 -0
  640. package/lib/types/host/opencode-go/native-shared.d.ts.map +1 -0
  641. package/lib/types/host/opencode-go/protocol.d.ts +13 -0
  642. package/lib/types/host/opencode-go/protocol.d.ts.map +1 -0
  643. package/lib/types/host/opencode-go/routes.d.ts +13 -0
  644. package/lib/types/host/opencode-go/routes.d.ts.map +1 -0
  645. package/lib/types/host/opencode-go/token-store.d.ts +29 -0
  646. package/lib/types/host/opencode-go/token-store.d.ts.map +1 -0
  647. package/lib/types/host/opencode-go/types.d.ts +20 -0
  648. package/lib/types/host/opencode-go/types.d.ts.map +1 -0
  649. package/lib/types/host/opendesign/account-pool.d.ts +54 -0
  650. package/lib/types/host/opendesign/account-pool.d.ts.map +1 -0
  651. package/lib/types/host/opendesign/adapter.d.ts +88 -0
  652. package/lib/types/host/opendesign/adapter.d.ts.map +1 -0
  653. package/lib/types/host/opendesign/catalog.d.ts +58 -0
  654. package/lib/types/host/opendesign/catalog.d.ts.map +1 -0
  655. package/lib/types/host/opendesign/client.d.ts +304 -0
  656. package/lib/types/host/opendesign/client.d.ts.map +1 -0
  657. package/lib/types/host/opendesign/line.d.ts +60 -0
  658. package/lib/types/host/opendesign/line.d.ts.map +1 -0
  659. package/lib/types/host/opendesign/mapper.d.ts +218 -0
  660. package/lib/types/host/opendesign/mapper.d.ts.map +1 -0
  661. package/lib/types/host/opendesign/oauth.d.ts +105 -0
  662. package/lib/types/host/opendesign/oauth.d.ts.map +1 -0
  663. package/lib/types/host/opendesign/routes.d.ts +75 -0
  664. package/lib/types/host/opendesign/routes.d.ts.map +1 -0
  665. package/lib/types/host/opendesign/token-store.d.ts +241 -0
  666. package/lib/types/host/opendesign/token-store.d.ts.map +1 -0
  667. package/lib/types/host/opendesign/types.d.ts +235 -0
  668. package/lib/types/host/opendesign/types.d.ts.map +1 -0
  669. package/lib/types/host/platform-token-store.d.ts +3 -0
  670. package/lib/types/host/platform-token-store.d.ts.map +1 -0
  671. package/lib/types/host/preferences.d.ts +26 -0
  672. package/lib/types/host/preferences.d.ts.map +1 -0
  673. package/lib/types/host/proxy-manager.d.ts +261 -0
  674. package/lib/types/host/proxy-manager.d.ts.map +1 -0
  675. package/lib/types/host/qianwen-token-plan/adapter.d.ts +37 -0
  676. package/lib/types/host/qianwen-token-plan/adapter.d.ts.map +1 -0
  677. package/lib/types/host/qianwen-token-plan/cache-stats.d.ts +17 -0
  678. package/lib/types/host/qianwen-token-plan/cache-stats.d.ts.map +1 -0
  679. package/lib/types/host/qianwen-token-plan/client.d.ts +5 -0
  680. package/lib/types/host/qianwen-token-plan/client.d.ts.map +1 -0
  681. package/lib/types/host/qianwen-token-plan/mapper.d.ts +71 -0
  682. package/lib/types/host/qianwen-token-plan/mapper.d.ts.map +1 -0
  683. package/lib/types/host/qianwen-token-plan/model-catalog.d.ts +28 -0
  684. package/lib/types/host/qianwen-token-plan/model-catalog.d.ts.map +1 -0
  685. package/lib/types/host/qianwen-token-plan/routes.d.ts +12 -0
  686. package/lib/types/host/qianwen-token-plan/routes.d.ts.map +1 -0
  687. package/lib/types/host/qianwen-token-plan/token-store.d.ts +56 -0
  688. package/lib/types/host/qianwen-token-plan/token-store.d.ts.map +1 -0
  689. package/lib/types/host/qianwen-token-plan/types.d.ts +13 -0
  690. package/lib/types/host/qianwen-token-plan/types.d.ts.map +1 -0
  691. package/lib/types/host/qoder/account-pool.d.ts +141 -0
  692. package/lib/types/host/qoder/account-pool.d.ts.map +1 -0
  693. package/lib/types/host/qoder/adapter.d.ts +167 -0
  694. package/lib/types/host/qoder/adapter.d.ts.map +1 -0
  695. package/lib/types/host/qoder/adopt.d.ts +146 -0
  696. package/lib/types/host/qoder/adopt.d.ts.map +1 -0
  697. package/lib/types/host/qoder/client.d.ts +323 -0
  698. package/lib/types/host/qoder/client.d.ts.map +1 -0
  699. package/lib/types/host/qoder/cosy.d.ts +173 -0
  700. package/lib/types/host/qoder/cosy.d.ts.map +1 -0
  701. package/lib/types/host/qoder/mapper.d.ts +332 -0
  702. package/lib/types/host/qoder/mapper.d.ts.map +1 -0
  703. package/lib/types/host/qoder/model-catalog.d.ts +231 -0
  704. package/lib/types/host/qoder/model-catalog.d.ts.map +1 -0
  705. package/lib/types/host/qoder/oauth.d.ts +151 -0
  706. package/lib/types/host/qoder/oauth.d.ts.map +1 -0
  707. package/lib/types/host/qoder/routes.d.ts +119 -0
  708. package/lib/types/host/qoder/routes.d.ts.map +1 -0
  709. package/lib/types/host/qoder/token-store.d.ts +280 -0
  710. package/lib/types/host/qoder/token-store.d.ts.map +1 -0
  711. package/lib/types/host/qoder/types.d.ts +262 -0
  712. package/lib/types/host/qoder/types.d.ts.map +1 -0
  713. package/lib/types/host/relayone/account-pool.d.ts +129 -0
  714. package/lib/types/host/relayone/account-pool.d.ts.map +1 -0
  715. package/lib/types/host/relayone/adapter.d.ts +87 -0
  716. package/lib/types/host/relayone/adapter.d.ts.map +1 -0
  717. package/lib/types/host/relayone/catalog-manager.d.ts +45 -0
  718. package/lib/types/host/relayone/catalog-manager.d.ts.map +1 -0
  719. package/lib/types/host/relayone/client.d.ts +5 -0
  720. package/lib/types/host/relayone/client.d.ts.map +1 -0
  721. package/lib/types/host/relayone/mapper-anthropic.d.ts +49 -0
  722. package/lib/types/host/relayone/mapper-anthropic.d.ts.map +1 -0
  723. package/lib/types/host/relayone/mapper-openai.d.ts +36 -0
  724. package/lib/types/host/relayone/mapper-openai.d.ts.map +1 -0
  725. package/lib/types/host/relayone/mapper-shared.d.ts +25 -0
  726. package/lib/types/host/relayone/mapper-shared.d.ts.map +1 -0
  727. package/lib/types/host/relayone/model-catalog.d.ts +70 -0
  728. package/lib/types/host/relayone/model-catalog.d.ts.map +1 -0
  729. package/lib/types/host/relayone/quota.d.ts +29 -0
  730. package/lib/types/host/relayone/quota.d.ts.map +1 -0
  731. package/lib/types/host/relayone/routes.d.ts +33 -0
  732. package/lib/types/host/relayone/routes.d.ts.map +1 -0
  733. package/lib/types/host/relayone/token-store.d.ts +49 -0
  734. package/lib/types/host/relayone/token-store.d.ts.map +1 -0
  735. package/lib/types/host/relayone/types.d.ts +22 -0
  736. package/lib/types/host/relayone/types.d.ts.map +1 -0
  737. package/lib/types/host/responses-client.d.ts +125 -0
  738. package/lib/types/host/responses-client.d.ts.map +1 -0
  739. package/lib/types/host/responses-mapper.d.ts +133 -0
  740. package/lib/types/host/responses-mapper.d.ts.map +1 -0
  741. package/lib/types/host/routes.d.ts +30 -0
  742. package/lib/types/host/routes.d.ts.map +1 -0
  743. package/lib/types/host/search-provider-switcher.d.ts +45 -0
  744. package/lib/types/host/search-provider-switcher.d.ts.map +1 -0
  745. package/lib/types/host/session-title-guard/index.d.ts +80 -0
  746. package/lib/types/host/session-title-guard/index.d.ts.map +1 -0
  747. package/lib/types/host/step-code/account-pool.d.ts +187 -0
  748. package/lib/types/host/step-code/account-pool.d.ts.map +1 -0
  749. package/lib/types/host/step-code/adapter.d.ts +156 -0
  750. package/lib/types/host/step-code/adapter.d.ts.map +1 -0
  751. package/lib/types/host/step-code/adopt.d.ts +201 -0
  752. package/lib/types/host/step-code/adopt.d.ts.map +1 -0
  753. package/lib/types/host/step-code/cache-stats.d.ts +181 -0
  754. package/lib/types/host/step-code/cache-stats.d.ts.map +1 -0
  755. package/lib/types/host/step-code/client.d.ts +339 -0
  756. package/lib/types/host/step-code/client.d.ts.map +1 -0
  757. package/lib/types/host/step-code/mapper.d.ts +305 -0
  758. package/lib/types/host/step-code/mapper.d.ts.map +1 -0
  759. package/lib/types/host/step-code/model-catalog.d.ts +247 -0
  760. package/lib/types/host/step-code/model-catalog.d.ts.map +1 -0
  761. package/lib/types/host/step-code/oauth.d.ts +265 -0
  762. package/lib/types/host/step-code/oauth.d.ts.map +1 -0
  763. package/lib/types/host/step-code/routes.d.ts +129 -0
  764. package/lib/types/host/step-code/routes.d.ts.map +1 -0
  765. package/lib/types/host/step-code/token-store.d.ts +325 -0
  766. package/lib/types/host/step-code/token-store.d.ts.map +1 -0
  767. package/lib/types/host/step-code/types.d.ts +492 -0
  768. package/lib/types/host/step-code/types.d.ts.map +1 -0
  769. package/lib/types/host/token-store-linux.d.ts +20 -0
  770. package/lib/types/host/token-store-linux.d.ts.map +1 -0
  771. package/lib/types/host/token-store-macos.d.ts +39 -0
  772. package/lib/types/host/token-store-macos.d.ts.map +1 -0
  773. package/lib/types/host/token-store-windows.d.ts +26 -0
  774. package/lib/types/host/token-store-windows.d.ts.map +1 -0
  775. package/lib/types/host/token-store.d.ts +81 -0
  776. package/lib/types/host/token-store.d.ts.map +1 -0
  777. package/lib/types/host/usage-service.d.ts +109 -0
  778. package/lib/types/host/usage-service.d.ts.map +1 -0
  779. package/lib/types/host/web-provider-reconciler.d.ts +34 -0
  780. package/lib/types/host/web-provider-reconciler.d.ts.map +1 -0
  781. package/lib/types/host/wire-auth.d.ts +63 -0
  782. package/lib/types/host/wire-auth.d.ts.map +1 -0
  783. package/lib/types/host/workbuddy/account-pool.d.ts +389 -0
  784. package/lib/types/host/workbuddy/account-pool.d.ts.map +1 -0
  785. package/lib/types/host/workbuddy/adapter.d.ts +248 -0
  786. package/lib/types/host/workbuddy/adapter.d.ts.map +1 -0
  787. package/lib/types/host/workbuddy/atrest.d.ts +98 -0
  788. package/lib/types/host/workbuddy/atrest.d.ts.map +1 -0
  789. package/lib/types/host/workbuddy/checkin.d.ts +150 -0
  790. package/lib/types/host/workbuddy/checkin.d.ts.map +1 -0
  791. package/lib/types/host/workbuddy/client.d.ts +214 -0
  792. package/lib/types/host/workbuddy/client.d.ts.map +1 -0
  793. package/lib/types/host/workbuddy/dsml.d.ts +55 -0
  794. package/lib/types/host/workbuddy/dsml.d.ts.map +1 -0
  795. package/lib/types/host/workbuddy/guardrails.d.ts +111 -0
  796. package/lib/types/host/workbuddy/guardrails.d.ts.map +1 -0
  797. package/lib/types/host/workbuddy/identity.d.ts +71 -0
  798. package/lib/types/host/workbuddy/identity.d.ts.map +1 -0
  799. package/lib/types/host/workbuddy/mapper.d.ts +238 -0
  800. package/lib/types/host/workbuddy/mapper.d.ts.map +1 -0
  801. package/lib/types/host/workbuddy/model-catalog.d.ts +239 -0
  802. package/lib/types/host/workbuddy/model-catalog.d.ts.map +1 -0
  803. package/lib/types/host/workbuddy/oauth.d.ts +47 -0
  804. package/lib/types/host/workbuddy/oauth.d.ts.map +1 -0
  805. package/lib/types/host/workbuddy/outbound-identity.d.ts +139 -0
  806. package/lib/types/host/workbuddy/outbound-identity.d.ts.map +1 -0
  807. package/lib/types/host/workbuddy/routes.d.ts +56 -0
  808. package/lib/types/host/workbuddy/routes.d.ts.map +1 -0
  809. package/lib/types/host/workbuddy/token-store.d.ts +370 -0
  810. package/lib/types/host/workbuddy/token-store.d.ts.map +1 -0
  811. package/lib/types/host/workbuddy/types.d.ts +185 -0
  812. package/lib/types/host/workbuddy/types.d.ts.map +1 -0
  813. package/lib/types/index.d.ts +248 -0
  814. package/lib/types/index.d.ts.map +1 -0
  815. package/lib/types/shared/account-pool-contracts.d.ts +99 -0
  816. package/lib/types/shared/account-pool-contracts.d.ts.map +1 -0
  817. package/lib/types/shared/claude-api-contracts.d.ts +98 -0
  818. package/lib/types/shared/claude-api-contracts.d.ts.map +1 -0
  819. package/lib/types/shared/claude-contracts.d.ts +370 -0
  820. package/lib/types/shared/claude-contracts.d.ts.map +1 -0
  821. package/lib/types/shared/cline-pass-contracts.d.ts +234 -0
  822. package/lib/types/shared/cline-pass-contracts.d.ts.map +1 -0
  823. package/lib/types/shared/command-code-contracts.d.ts +163 -0
  824. package/lib/types/shared/command-code-contracts.d.ts.map +1 -0
  825. package/lib/types/shared/contracts.d.ts +343 -0
  826. package/lib/types/shared/contracts.d.ts.map +1 -0
  827. package/lib/types/shared/glm-coding-plan-contracts.d.ts +315 -0
  828. package/lib/types/shared/glm-coding-plan-contracts.d.ts.map +1 -0
  829. package/lib/types/shared/hub-contracts.d.ts +37 -0
  830. package/lib/types/shared/hub-contracts.d.ts.map +1 -0
  831. package/lib/types/shared/i18n-contracts.d.ts +35 -0
  832. package/lib/types/shared/i18n-contracts.d.ts.map +1 -0
  833. package/lib/types/shared/kimi-code-contracts.d.ts +435 -0
  834. package/lib/types/shared/kimi-code-contracts.d.ts.map +1 -0
  835. package/lib/types/shared/minimax-code-contracts.d.ts +263 -0
  836. package/lib/types/shared/minimax-code-contracts.d.ts.map +1 -0
  837. package/lib/types/shared/model-catalog.d.ts +302 -0
  838. package/lib/types/shared/model-catalog.d.ts.map +1 -0
  839. package/lib/types/shared/ollama-contracts.d.ts +73 -0
  840. package/lib/types/shared/ollama-contracts.d.ts.map +1 -0
  841. package/lib/types/shared/opencode-go-contracts.d.ts +80 -0
  842. package/lib/types/shared/opencode-go-contracts.d.ts.map +1 -0
  843. package/lib/types/shared/opendesign-contracts.d.ts +262 -0
  844. package/lib/types/shared/opendesign-contracts.d.ts.map +1 -0
  845. package/lib/types/shared/preferences.d.ts +60 -0
  846. package/lib/types/shared/preferences.d.ts.map +1 -0
  847. package/lib/types/shared/qianwen-token-plan-contracts.d.ts +94 -0
  848. package/lib/types/shared/qianwen-token-plan-contracts.d.ts.map +1 -0
  849. package/lib/types/shared/qoder-contracts.d.ts +342 -0
  850. package/lib/types/shared/qoder-contracts.d.ts.map +1 -0
  851. package/lib/types/shared/relayone-contracts.d.ts +95 -0
  852. package/lib/types/shared/relayone-contracts.d.ts.map +1 -0
  853. package/lib/types/shared/step-code-contracts.d.ts +443 -0
  854. package/lib/types/shared/step-code-contracts.d.ts.map +1 -0
  855. package/lib/types/shared/workbuddy-contracts.d.ts +531 -0
  856. package/lib/types/shared/workbuddy-contracts.d.ts.map +1 -0
  857. package/package.json +147 -4
@@ -0,0 +1,489 @@
1
+ /**
2
+ * Locale namespace of the Claude subscription tab.
3
+ *
4
+ * Its own namespace rather than the hub's, so a missing string surfaces as this
5
+ * dictionary's key rather than as a wrong sentence borrowed from another
6
+ * provider — the same reason every sibling line has one.
7
+ */
8
+ export declare const NS_CLAUDE = "dsh-claude";
9
+ export declare const zh: {
10
+ readonly title: "Claude(订阅)";
11
+ readonly pageDesc: "登录 Claude Pro/Max 订阅,管理模型、思考档位、上下文窗口与额度。";
12
+ readonly account: "账号";
13
+ readonly signedIn: "已登录";
14
+ readonly signedOut: "未登录";
15
+ readonly email: "邮箱";
16
+ readonly plan: "套餐";
17
+ readonly planUnknown: "—";
18
+ readonly subscriptionType: "订阅类型";
19
+ readonly source: "来源";
20
+ readonly sourceManaged: "本插件登录";
21
+ readonly sourceClaudeCode: "本机 Claude Code";
22
+ readonly adoptedBadge: "导入的快照";
23
+ readonly signIn: "登录 Claude 账号";
24
+ readonly signInSection: "登录授权";
25
+ readonly signInAgain: "重新登录";
26
+ readonly signingIn: "正在发起登录...";
27
+ readonly cancelSignIn: "取消登录";
28
+ readonly openAuthorizeUrl: "打开授权页面";
29
+ readonly authorizeUrl: "授权链接";
30
+ readonly redirectUri: "回调地址";
31
+ readonly loginModeManual: "当前是手动模式:浏览器回调不可用,授权完成后把页面上的 code 粘贴到下方输入框。";
32
+ readonly loginModeLoopback: "当前是本地回环模式:浏览器授权完成后会自动回到本机回调地址。";
33
+ readonly loginFallbackReason: "本地回环模式不可用,已降级为手动模式:{detail}";
34
+ readonly loginWaiting: "等待浏览器中的授权完成...";
35
+ readonly loginExchanging: "正在交换令牌...";
36
+ readonly loginComplete: "登录完成";
37
+ readonly loginFailed: "登录失败";
38
+ readonly manualPasteSection: "手动粘贴授权码";
39
+ readonly manualPasteHint: "把浏览器地址栏里的 code(或整段回调 URL)粘贴到这里完成登录。手动模式下没有浏览器回调,这里是唯一的入口。";
40
+ readonly manualPastePlaceholder: "code#state 或完整的回调 URL";
41
+ readonly manualPasteSubmit: "提交授权码";
42
+ readonly manualPasteSubmitting: "提交中...";
43
+ readonly importClaudeCode: "导入本机 Claude Code 登录态";
44
+ readonly importing: "导入中...";
45
+ readonly stopImporting: "停止导入";
46
+ readonly connection: "连接";
47
+ readonly testConnection: "测试连接";
48
+ readonly testingConnection: "测试中...";
49
+ readonly testSuccess: "连接正常";
50
+ readonly testLatency: "往返 {ms} ms";
51
+ readonly testFailed: "连接失败:{detail}";
52
+ readonly testRetryable: "可重试";
53
+ readonly testNotRetryable: "不可重试";
54
+ readonly routeOwned: "模型路由由本插件提供";
55
+ readonly routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重试。";
56
+ readonly modelsSection: "模型";
57
+ readonly modelsHint: "勾选后模型才会出现在对话页的模型选择列表中。";
58
+ readonly refreshCatalog: "刷新模型目录";
59
+ readonly refreshingCatalog: "刷新中...";
60
+ readonly selectAll: "全选";
61
+ readonly unselectAll: "全不选";
62
+ readonly capImage: "图片";
63
+ readonly capNoImage: "仅文本";
64
+ readonly capThinkingOff: "可关闭思考";
65
+ readonly thinkingModeMidConvo: "多轮思考";
66
+ readonly thinkingModeAdaptive: "自适应思考";
67
+ readonly thinkingModeBudget: "预算思考";
68
+ readonly thinkingModeNone: "无思考";
69
+ readonly enhanced: "思考设置";
70
+ readonly defaultReasoningEffort: "默认思考档位";
71
+ readonly defaultReasoningEffortHint: "下拉列出的是目录中出现过的全部档位(含 xhigh);每个模型真正支持的档位见下方列表,Host 按模型自身的阶梯发送。";
72
+ readonly defaultEffortAuto: "使用模型默认值";
73
+ readonly cacheTtl: "主对话的提示缓存时长";
74
+ readonly cacheTtlHint: "Anthropic 提供 5 分钟与 1 小时两档。订阅用户在套餐额度内,官方 Claude Code 对主对话默认使用 1 小时;超出额度改按用量计费后官方会降回 5 分钟。1 小时写入更贵,短会话不划算。选择 1 小时(含「跟随官方」)时,子代理或后台任务运行期间本线路约每 55 分钟发一次很小的续热请求,避免缓存过期;5 分钟时长不会这样做。";
75
+ readonly cacheTtlSubscription: "跟随官方(订阅默认 1 小时)";
76
+ readonly cacheTtl1h: "1 小时";
77
+ readonly cacheTtl5m: "5 分钟";
78
+ readonly subagentCacheTtl: "子代理与后台请求的缓存时长";
79
+ readonly subagentCacheTtlHint: "子代理、上下文压缩、生成标题等主对话以外的请求。官方 Claude Code 对这些请求使用 5 分钟:它们通常几分钟内就结束,用不上 1 小时,而 1 小时档写入更贵。";
80
+ readonly subagentCacheTtlOfficial: "跟随官方(5 分钟)";
81
+ readonly fastMode: "快速模式";
82
+ readonly fastModeHint: "仅对支持的模型发送 speed: fast;被拒时自动纠正,并按账号和模型记住结论。";
83
+ readonly cacheKeepalive: "cache-keepalive(cache_touch)";
84
+ readonly cacheKeepaliveHint: "默认关闭;仅 1 小时主对话优先用 cache_touch,失败回退现有续热。尚未经真实订阅直连验证。";
85
+ readonly effortLow: "低 (low)";
86
+ readonly effortMedium: "中 (medium)";
87
+ readonly effortHigh: "高 (high)";
88
+ readonly effortXHigh: "极高 (xhigh)";
89
+ readonly effortMax: "最高 (max)";
90
+ readonly modelLadders: "各模型支持的档位";
91
+ readonly modelLadderNone: "该模型不接受思考档位";
92
+ readonly contextWindowSection: "模型上下文窗口";
93
+ readonly contextWindowHint: "默认取模型目录的上下文长度,保存过的覆盖值优先。恢复默认会让 Host 删掉这条覆盖值,重新回到目录值。";
94
+ readonly contextWindowReset: "恢复默认";
95
+ readonly contextWindowResetAll: "全部恢复默认";
96
+ readonly contextWindowResetAllConfirm: "确定把已改过的模型上下文窗口全部恢复为默认值吗?";
97
+ readonly maxTokensSection: "单次输出上限";
98
+ readonly maxTokensHint: "每次回复最多输出多少 token,思考也计入其中。默认是模型本身的上限。调低可以给对话多留上下文,但回复写到上限就会被截断,这一轮也随之结束。";
99
+ readonly maxTokensInvalid: "输出上限无效:{value}";
100
+ readonly maxTokensResetAllConfirm: "确定把已改过的模型输出上限全部恢复为默认值吗?";
101
+ readonly contextWindowNoneEnabled: "还没有勾选任何模型。在上方勾选后,这里会出现该模型的上下文窗口设置。";
102
+ readonly contextWindowInvalid: "上下文长度无效:{value}";
103
+ readonly save: "保存";
104
+ readonly saving: "保存中...";
105
+ readonly tokens: "tokens";
106
+ readonly quotaSection: "用量与额度";
107
+ readonly quotaDesc: "数据来自 Claude 用量接口与响应头;页面可见时最多每 60 秒刷新一次。utilization 是「已用百分比」,所以 0% 已用是正常的空用量状态。";
108
+ readonly refreshQuota: "刷新用量";
109
+ readonly refreshingQuota: "刷新中...";
110
+ readonly quotaRefreshing: "Host 正在后台刷新额度,稍后会自动更新。";
111
+ readonly quotaEmpty: "暂无配额数据,点击「刷新用量」重试。";
112
+ readonly quotaSignedOut: "未登录,无法读取用量。";
113
+ readonly quotaUnknown: "—";
114
+ readonly quotaUnknownHint: "Host 没有给出这个窗口的数值,这里不显示为 0。";
115
+ readonly usedLabel: "已用";
116
+ readonly remainingLabel: "剩余";
117
+ readonly left: "可用";
118
+ readonly resetAt: "重置:{time}";
119
+ readonly resetUnknown: "重置时间未知";
120
+ readonly updatedAt: "更新时间:{time}";
121
+ readonly observedAt: "最近观察:{time}";
122
+ readonly quotaError: "额度读取失败";
123
+ readonly extraUsage: "额外用量";
124
+ readonly extraUsageEnabled: "已开启";
125
+ readonly extraUsageDisabled: "未开启";
126
+ readonly extraUsageLimit: "月度上限";
127
+ readonly sourceUsage: "来源:用量接口";
128
+ readonly sourceHeaders: "来源:响应头";
129
+ readonly quotaStatus: "限流状态";
130
+ readonly quotaRepresentative: "代表性窗口";
131
+ readonly loading: "加载中...";
132
+ readonly now: "即将重置";
133
+ readonly copy: "复制";
134
+ readonly copied: "已复制";
135
+ readonly accountPool: string;
136
+ readonly addAccount: string;
137
+ readonly accountCount: string;
138
+ readonly primaryAccount: string;
139
+ readonly activeAccount: string;
140
+ readonly setPrimary: string;
141
+ readonly deleteAccount: string;
142
+ readonly cooling: string;
143
+ readonly cooldownLeft: string;
144
+ readonly cooldownRemaining: string;
145
+ readonly cooldownRemainingSeconds: string;
146
+ readonly clearCooldown: string;
147
+ readonly needsRelogin: string;
148
+ readonly relogin: string;
149
+ readonly rotationStrategy: string;
150
+ readonly strategySequential: string;
151
+ readonly strategyRoundRobin: string;
152
+ readonly strategySticky: string;
153
+ readonly noAccounts: string;
154
+ readonly expires: string;
155
+ readonly lastUsed: string;
156
+ readonly accountId: string;
157
+ readonly accountQuota: string;
158
+ readonly quotaNone: string;
159
+ readonly quotaSnapshot: string;
160
+ readonly quotaResets: string;
161
+ readonly quotaExhausted: string;
162
+ readonly quotaWindow: string;
163
+ readonly quotaUsed: string;
164
+ readonly quotaFactsScope: string;
165
+ readonly composerLabel: string;
166
+ };
167
+ export declare const en: Record<keyof typeof zh, string>;
168
+ export declare const dictionaries: {
169
+ zh: {
170
+ readonly title: "Claude(订阅)";
171
+ readonly pageDesc: "登录 Claude Pro/Max 订阅,管理模型、思考档位、上下文窗口与额度。";
172
+ readonly account: "账号";
173
+ readonly signedIn: "已登录";
174
+ readonly signedOut: "未登录";
175
+ readonly email: "邮箱";
176
+ readonly plan: "套餐";
177
+ readonly planUnknown: "—";
178
+ readonly subscriptionType: "订阅类型";
179
+ readonly source: "来源";
180
+ readonly sourceManaged: "本插件登录";
181
+ readonly sourceClaudeCode: "本机 Claude Code";
182
+ readonly adoptedBadge: "导入的快照";
183
+ readonly signIn: "登录 Claude 账号";
184
+ readonly signInSection: "登录授权";
185
+ readonly signInAgain: "重新登录";
186
+ readonly signingIn: "正在发起登录...";
187
+ readonly cancelSignIn: "取消登录";
188
+ readonly openAuthorizeUrl: "打开授权页面";
189
+ readonly authorizeUrl: "授权链接";
190
+ readonly redirectUri: "回调地址";
191
+ readonly loginModeManual: "当前是手动模式:浏览器回调不可用,授权完成后把页面上的 code 粘贴到下方输入框。";
192
+ readonly loginModeLoopback: "当前是本地回环模式:浏览器授权完成后会自动回到本机回调地址。";
193
+ readonly loginFallbackReason: "本地回环模式不可用,已降级为手动模式:{detail}";
194
+ readonly loginWaiting: "等待浏览器中的授权完成...";
195
+ readonly loginExchanging: "正在交换令牌...";
196
+ readonly loginComplete: "登录完成";
197
+ readonly loginFailed: "登录失败";
198
+ readonly manualPasteSection: "手动粘贴授权码";
199
+ readonly manualPasteHint: "把浏览器地址栏里的 code(或整段回调 URL)粘贴到这里完成登录。手动模式下没有浏览器回调,这里是唯一的入口。";
200
+ readonly manualPastePlaceholder: "code#state 或完整的回调 URL";
201
+ readonly manualPasteSubmit: "提交授权码";
202
+ readonly manualPasteSubmitting: "提交中...";
203
+ readonly importClaudeCode: "导入本机 Claude Code 登录态";
204
+ readonly importing: "导入中...";
205
+ readonly stopImporting: "停止导入";
206
+ readonly connection: "连接";
207
+ readonly testConnection: "测试连接";
208
+ readonly testingConnection: "测试中...";
209
+ readonly testSuccess: "连接正常";
210
+ readonly testLatency: "往返 {ms} ms";
211
+ readonly testFailed: "连接失败:{detail}";
212
+ readonly testRetryable: "可重试";
213
+ readonly testNotRetryable: "不可重试";
214
+ readonly routeOwned: "模型路由由本插件提供";
215
+ readonly routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重试。";
216
+ readonly modelsSection: "模型";
217
+ readonly modelsHint: "勾选后模型才会出现在对话页的模型选择列表中。";
218
+ readonly refreshCatalog: "刷新模型目录";
219
+ readonly refreshingCatalog: "刷新中...";
220
+ readonly selectAll: "全选";
221
+ readonly unselectAll: "全不选";
222
+ readonly capImage: "图片";
223
+ readonly capNoImage: "仅文本";
224
+ readonly capThinkingOff: "可关闭思考";
225
+ readonly thinkingModeMidConvo: "多轮思考";
226
+ readonly thinkingModeAdaptive: "自适应思考";
227
+ readonly thinkingModeBudget: "预算思考";
228
+ readonly thinkingModeNone: "无思考";
229
+ readonly enhanced: "思考设置";
230
+ readonly defaultReasoningEffort: "默认思考档位";
231
+ readonly defaultReasoningEffortHint: "下拉列出的是目录中出现过的全部档位(含 xhigh);每个模型真正支持的档位见下方列表,Host 按模型自身的阶梯发送。";
232
+ readonly defaultEffortAuto: "使用模型默认值";
233
+ readonly cacheTtl: "主对话的提示缓存时长";
234
+ readonly cacheTtlHint: "Anthropic 提供 5 分钟与 1 小时两档。订阅用户在套餐额度内,官方 Claude Code 对主对话默认使用 1 小时;超出额度改按用量计费后官方会降回 5 分钟。1 小时写入更贵,短会话不划算。选择 1 小时(含「跟随官方」)时,子代理或后台任务运行期间本线路约每 55 分钟发一次很小的续热请求,避免缓存过期;5 分钟时长不会这样做。";
235
+ readonly cacheTtlSubscription: "跟随官方(订阅默认 1 小时)";
236
+ readonly cacheTtl1h: "1 小时";
237
+ readonly cacheTtl5m: "5 分钟";
238
+ readonly subagentCacheTtl: "子代理与后台请求的缓存时长";
239
+ readonly subagentCacheTtlHint: "子代理、上下文压缩、生成标题等主对话以外的请求。官方 Claude Code 对这些请求使用 5 分钟:它们通常几分钟内就结束,用不上 1 小时,而 1 小时档写入更贵。";
240
+ readonly subagentCacheTtlOfficial: "跟随官方(5 分钟)";
241
+ readonly fastMode: "快速模式";
242
+ readonly fastModeHint: "仅对支持的模型发送 speed: fast;被拒时自动纠正,并按账号和模型记住结论。";
243
+ readonly cacheKeepalive: "cache-keepalive(cache_touch)";
244
+ readonly cacheKeepaliveHint: "默认关闭;仅 1 小时主对话优先用 cache_touch,失败回退现有续热。尚未经真实订阅直连验证。";
245
+ readonly effortLow: "低 (low)";
246
+ readonly effortMedium: "中 (medium)";
247
+ readonly effortHigh: "高 (high)";
248
+ readonly effortXHigh: "极高 (xhigh)";
249
+ readonly effortMax: "最高 (max)";
250
+ readonly modelLadders: "各模型支持的档位";
251
+ readonly modelLadderNone: "该模型不接受思考档位";
252
+ readonly contextWindowSection: "模型上下文窗口";
253
+ readonly contextWindowHint: "默认取模型目录的上下文长度,保存过的覆盖值优先。恢复默认会让 Host 删掉这条覆盖值,重新回到目录值。";
254
+ readonly contextWindowReset: "恢复默认";
255
+ readonly contextWindowResetAll: "全部恢复默认";
256
+ readonly contextWindowResetAllConfirm: "确定把已改过的模型上下文窗口全部恢复为默认值吗?";
257
+ readonly maxTokensSection: "单次输出上限";
258
+ readonly maxTokensHint: "每次回复最多输出多少 token,思考也计入其中。默认是模型本身的上限。调低可以给对话多留上下文,但回复写到上限就会被截断,这一轮也随之结束。";
259
+ readonly maxTokensInvalid: "输出上限无效:{value}";
260
+ readonly maxTokensResetAllConfirm: "确定把已改过的模型输出上限全部恢复为默认值吗?";
261
+ readonly contextWindowNoneEnabled: "还没有勾选任何模型。在上方勾选后,这里会出现该模型的上下文窗口设置。";
262
+ readonly contextWindowInvalid: "上下文长度无效:{value}";
263
+ readonly save: "保存";
264
+ readonly saving: "保存中...";
265
+ readonly tokens: "tokens";
266
+ readonly quotaSection: "用量与额度";
267
+ readonly quotaDesc: "数据来自 Claude 用量接口与响应头;页面可见时最多每 60 秒刷新一次。utilization 是「已用百分比」,所以 0% 已用是正常的空用量状态。";
268
+ readonly refreshQuota: "刷新用量";
269
+ readonly refreshingQuota: "刷新中...";
270
+ readonly quotaRefreshing: "Host 正在后台刷新额度,稍后会自动更新。";
271
+ readonly quotaEmpty: "暂无配额数据,点击「刷新用量」重试。";
272
+ readonly quotaSignedOut: "未登录,无法读取用量。";
273
+ readonly quotaUnknown: "—";
274
+ readonly quotaUnknownHint: "Host 没有给出这个窗口的数值,这里不显示为 0。";
275
+ readonly usedLabel: "已用";
276
+ readonly remainingLabel: "剩余";
277
+ readonly left: "可用";
278
+ readonly resetAt: "重置:{time}";
279
+ readonly resetUnknown: "重置时间未知";
280
+ readonly updatedAt: "更新时间:{time}";
281
+ readonly observedAt: "最近观察:{time}";
282
+ readonly quotaError: "额度读取失败";
283
+ readonly extraUsage: "额外用量";
284
+ readonly extraUsageEnabled: "已开启";
285
+ readonly extraUsageDisabled: "未开启";
286
+ readonly extraUsageLimit: "月度上限";
287
+ readonly sourceUsage: "来源:用量接口";
288
+ readonly sourceHeaders: "来源:响应头";
289
+ readonly quotaStatus: "限流状态";
290
+ readonly quotaRepresentative: "代表性窗口";
291
+ readonly loading: "加载中...";
292
+ readonly now: "即将重置";
293
+ readonly copy: "复制";
294
+ readonly copied: "已复制";
295
+ readonly accountPool: string;
296
+ readonly addAccount: string;
297
+ readonly accountCount: string;
298
+ readonly primaryAccount: string;
299
+ readonly activeAccount: string;
300
+ readonly setPrimary: string;
301
+ readonly deleteAccount: string;
302
+ readonly cooling: string;
303
+ readonly cooldownLeft: string;
304
+ readonly cooldownRemaining: string;
305
+ readonly cooldownRemainingSeconds: string;
306
+ readonly clearCooldown: string;
307
+ readonly needsRelogin: string;
308
+ readonly relogin: string;
309
+ readonly rotationStrategy: string;
310
+ readonly strategySequential: string;
311
+ readonly strategyRoundRobin: string;
312
+ readonly strategySticky: string;
313
+ readonly noAccounts: string;
314
+ readonly expires: string;
315
+ readonly lastUsed: string;
316
+ readonly accountId: string;
317
+ readonly accountQuota: string;
318
+ readonly quotaNone: string;
319
+ readonly quotaSnapshot: string;
320
+ readonly quotaResets: string;
321
+ readonly quotaExhausted: string;
322
+ readonly quotaWindow: string;
323
+ readonly quotaUsed: string;
324
+ readonly quotaFactsScope: string;
325
+ readonly composerLabel: string;
326
+ };
327
+ 'zh-CN': {
328
+ readonly title: "Claude(订阅)";
329
+ readonly pageDesc: "登录 Claude Pro/Max 订阅,管理模型、思考档位、上下文窗口与额度。";
330
+ readonly account: "账号";
331
+ readonly signedIn: "已登录";
332
+ readonly signedOut: "未登录";
333
+ readonly email: "邮箱";
334
+ readonly plan: "套餐";
335
+ readonly planUnknown: "—";
336
+ readonly subscriptionType: "订阅类型";
337
+ readonly source: "来源";
338
+ readonly sourceManaged: "本插件登录";
339
+ readonly sourceClaudeCode: "本机 Claude Code";
340
+ readonly adoptedBadge: "导入的快照";
341
+ readonly signIn: "登录 Claude 账号";
342
+ readonly signInSection: "登录授权";
343
+ readonly signInAgain: "重新登录";
344
+ readonly signingIn: "正在发起登录...";
345
+ readonly cancelSignIn: "取消登录";
346
+ readonly openAuthorizeUrl: "打开授权页面";
347
+ readonly authorizeUrl: "授权链接";
348
+ readonly redirectUri: "回调地址";
349
+ readonly loginModeManual: "当前是手动模式:浏览器回调不可用,授权完成后把页面上的 code 粘贴到下方输入框。";
350
+ readonly loginModeLoopback: "当前是本地回环模式:浏览器授权完成后会自动回到本机回调地址。";
351
+ readonly loginFallbackReason: "本地回环模式不可用,已降级为手动模式:{detail}";
352
+ readonly loginWaiting: "等待浏览器中的授权完成...";
353
+ readonly loginExchanging: "正在交换令牌...";
354
+ readonly loginComplete: "登录完成";
355
+ readonly loginFailed: "登录失败";
356
+ readonly manualPasteSection: "手动粘贴授权码";
357
+ readonly manualPasteHint: "把浏览器地址栏里的 code(或整段回调 URL)粘贴到这里完成登录。手动模式下没有浏览器回调,这里是唯一的入口。";
358
+ readonly manualPastePlaceholder: "code#state 或完整的回调 URL";
359
+ readonly manualPasteSubmit: "提交授权码";
360
+ readonly manualPasteSubmitting: "提交中...";
361
+ readonly importClaudeCode: "导入本机 Claude Code 登录态";
362
+ readonly importing: "导入中...";
363
+ readonly stopImporting: "停止导入";
364
+ readonly connection: "连接";
365
+ readonly testConnection: "测试连接";
366
+ readonly testingConnection: "测试中...";
367
+ readonly testSuccess: "连接正常";
368
+ readonly testLatency: "往返 {ms} ms";
369
+ readonly testFailed: "连接失败:{detail}";
370
+ readonly testRetryable: "可重试";
371
+ readonly testNotRetryable: "不可重试";
372
+ readonly routeOwned: "模型路由由本插件提供";
373
+ readonly routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重试。";
374
+ readonly modelsSection: "模型";
375
+ readonly modelsHint: "勾选后模型才会出现在对话页的模型选择列表中。";
376
+ readonly refreshCatalog: "刷新模型目录";
377
+ readonly refreshingCatalog: "刷新中...";
378
+ readonly selectAll: "全选";
379
+ readonly unselectAll: "全不选";
380
+ readonly capImage: "图片";
381
+ readonly capNoImage: "仅文本";
382
+ readonly capThinkingOff: "可关闭思考";
383
+ readonly thinkingModeMidConvo: "多轮思考";
384
+ readonly thinkingModeAdaptive: "自适应思考";
385
+ readonly thinkingModeBudget: "预算思考";
386
+ readonly thinkingModeNone: "无思考";
387
+ readonly enhanced: "思考设置";
388
+ readonly defaultReasoningEffort: "默认思考档位";
389
+ readonly defaultReasoningEffortHint: "下拉列出的是目录中出现过的全部档位(含 xhigh);每个模型真正支持的档位见下方列表,Host 按模型自身的阶梯发送。";
390
+ readonly defaultEffortAuto: "使用模型默认值";
391
+ readonly cacheTtl: "主对话的提示缓存时长";
392
+ readonly cacheTtlHint: "Anthropic 提供 5 分钟与 1 小时两档。订阅用户在套餐额度内,官方 Claude Code 对主对话默认使用 1 小时;超出额度改按用量计费后官方会降回 5 分钟。1 小时写入更贵,短会话不划算。选择 1 小时(含「跟随官方」)时,子代理或后台任务运行期间本线路约每 55 分钟发一次很小的续热请求,避免缓存过期;5 分钟时长不会这样做。";
393
+ readonly cacheTtlSubscription: "跟随官方(订阅默认 1 小时)";
394
+ readonly cacheTtl1h: "1 小时";
395
+ readonly cacheTtl5m: "5 分钟";
396
+ readonly subagentCacheTtl: "子代理与后台请求的缓存时长";
397
+ readonly subagentCacheTtlHint: "子代理、上下文压缩、生成标题等主对话以外的请求。官方 Claude Code 对这些请求使用 5 分钟:它们通常几分钟内就结束,用不上 1 小时,而 1 小时档写入更贵。";
398
+ readonly subagentCacheTtlOfficial: "跟随官方(5 分钟)";
399
+ readonly fastMode: "快速模式";
400
+ readonly fastModeHint: "仅对支持的模型发送 speed: fast;被拒时自动纠正,并按账号和模型记住结论。";
401
+ readonly cacheKeepalive: "cache-keepalive(cache_touch)";
402
+ readonly cacheKeepaliveHint: "默认关闭;仅 1 小时主对话优先用 cache_touch,失败回退现有续热。尚未经真实订阅直连验证。";
403
+ readonly effortLow: "低 (low)";
404
+ readonly effortMedium: "中 (medium)";
405
+ readonly effortHigh: "高 (high)";
406
+ readonly effortXHigh: "极高 (xhigh)";
407
+ readonly effortMax: "最高 (max)";
408
+ readonly modelLadders: "各模型支持的档位";
409
+ readonly modelLadderNone: "该模型不接受思考档位";
410
+ readonly contextWindowSection: "模型上下文窗口";
411
+ readonly contextWindowHint: "默认取模型目录的上下文长度,保存过的覆盖值优先。恢复默认会让 Host 删掉这条覆盖值,重新回到目录值。";
412
+ readonly contextWindowReset: "恢复默认";
413
+ readonly contextWindowResetAll: "全部恢复默认";
414
+ readonly contextWindowResetAllConfirm: "确定把已改过的模型上下文窗口全部恢复为默认值吗?";
415
+ readonly maxTokensSection: "单次输出上限";
416
+ readonly maxTokensHint: "每次回复最多输出多少 token,思考也计入其中。默认是模型本身的上限。调低可以给对话多留上下文,但回复写到上限就会被截断,这一轮也随之结束。";
417
+ readonly maxTokensInvalid: "输出上限无效:{value}";
418
+ readonly maxTokensResetAllConfirm: "确定把已改过的模型输出上限全部恢复为默认值吗?";
419
+ readonly contextWindowNoneEnabled: "还没有勾选任何模型。在上方勾选后,这里会出现该模型的上下文窗口设置。";
420
+ readonly contextWindowInvalid: "上下文长度无效:{value}";
421
+ readonly save: "保存";
422
+ readonly saving: "保存中...";
423
+ readonly tokens: "tokens";
424
+ readonly quotaSection: "用量与额度";
425
+ readonly quotaDesc: "数据来自 Claude 用量接口与响应头;页面可见时最多每 60 秒刷新一次。utilization 是「已用百分比」,所以 0% 已用是正常的空用量状态。";
426
+ readonly refreshQuota: "刷新用量";
427
+ readonly refreshingQuota: "刷新中...";
428
+ readonly quotaRefreshing: "Host 正在后台刷新额度,稍后会自动更新。";
429
+ readonly quotaEmpty: "暂无配额数据,点击「刷新用量」重试。";
430
+ readonly quotaSignedOut: "未登录,无法读取用量。";
431
+ readonly quotaUnknown: "—";
432
+ readonly quotaUnknownHint: "Host 没有给出这个窗口的数值,这里不显示为 0。";
433
+ readonly usedLabel: "已用";
434
+ readonly remainingLabel: "剩余";
435
+ readonly left: "可用";
436
+ readonly resetAt: "重置:{time}";
437
+ readonly resetUnknown: "重置时间未知";
438
+ readonly updatedAt: "更新时间:{time}";
439
+ readonly observedAt: "最近观察:{time}";
440
+ readonly quotaError: "额度读取失败";
441
+ readonly extraUsage: "额外用量";
442
+ readonly extraUsageEnabled: "已开启";
443
+ readonly extraUsageDisabled: "未开启";
444
+ readonly extraUsageLimit: "月度上限";
445
+ readonly sourceUsage: "来源:用量接口";
446
+ readonly sourceHeaders: "来源:响应头";
447
+ readonly quotaStatus: "限流状态";
448
+ readonly quotaRepresentative: "代表性窗口";
449
+ readonly loading: "加载中...";
450
+ readonly now: "即将重置";
451
+ readonly copy: "复制";
452
+ readonly copied: "已复制";
453
+ readonly accountPool: string;
454
+ readonly addAccount: string;
455
+ readonly accountCount: string;
456
+ readonly primaryAccount: string;
457
+ readonly activeAccount: string;
458
+ readonly setPrimary: string;
459
+ readonly deleteAccount: string;
460
+ readonly cooling: string;
461
+ readonly cooldownLeft: string;
462
+ readonly cooldownRemaining: string;
463
+ readonly cooldownRemainingSeconds: string;
464
+ readonly clearCooldown: string;
465
+ readonly needsRelogin: string;
466
+ readonly relogin: string;
467
+ readonly rotationStrategy: string;
468
+ readonly strategySequential: string;
469
+ readonly strategyRoundRobin: string;
470
+ readonly strategySticky: string;
471
+ readonly noAccounts: string;
472
+ readonly expires: string;
473
+ readonly lastUsed: string;
474
+ readonly accountId: string;
475
+ readonly accountQuota: string;
476
+ readonly quotaNone: string;
477
+ readonly quotaSnapshot: string;
478
+ readonly quotaResets: string;
479
+ readonly quotaExhausted: string;
480
+ readonly quotaWindow: string;
481
+ readonly quotaUsed: string;
482
+ readonly quotaFactsScope: string;
483
+ readonly composerLabel: string;
484
+ };
485
+ en: Record<"account" | "quotaRefreshing" | "rotationStrategy" | "accountId" | "relogin" | "source" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "fastMode" | "fastModeHint" | "contextWindowInvalid" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "quotaSignedOut" | "stopImporting" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "email" | "lastUsed" | "accountQuota" | "quotaNone" | "quotaSnapshot" | "quotaResets" | "quotaExhausted" | "quotaWindow" | "quotaUsed" | "quotaFactsScope" | "composerLabel" | "pageDesc" | "planUnknown" | "subscriptionType" | "sourceManaged" | "sourceClaudeCode" | "adoptedBadge" | "signInSection" | "signingIn" | "cancelSignIn" | "openAuthorizeUrl" | "authorizeUrl" | "redirectUri" | "loginModeManual" | "loginModeLoopback" | "loginFallbackReason" | "loginWaiting" | "loginExchanging" | "loginComplete" | "loginFailed" | "manualPasteSection" | "manualPasteHint" | "manualPastePlaceholder" | "manualPasteSubmit" | "manualPasteSubmitting" | "importClaudeCode" | "importing" | "testingConnection" | "testSuccess" | "testLatency" | "testFailed" | "testRetryable" | "testNotRetryable" | "routeOwned" | "routeConflict" | "modelsSection" | "refreshCatalog" | "refreshingCatalog" | "capImage" | "capNoImage" | "capThinkingOff" | "thinkingModeMidConvo" | "thinkingModeAdaptive" | "thinkingModeBudget" | "thinkingModeNone" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "cacheTtl" | "cacheTtlHint" | "cacheTtlSubscription" | "cacheTtl1h" | "cacheTtl5m" | "subagentCacheTtl" | "subagentCacheTtlHint" | "subagentCacheTtlOfficial" | "cacheKeepalive" | "cacheKeepaliveHint" | "effortLow" | "effortMedium" | "effortHigh" | "effortXHigh" | "effortMax" | "modelLadders" | "modelLadderNone" | "contextWindowSection" | "contextWindowHint" | "maxTokensSection" | "maxTokensHint" | "maxTokensInvalid" | "maxTokensResetAllConfirm" | "contextWindowNoneEnabled" | "saving" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "quotaUnknown" | "quotaUnknownHint" | "usedLabel" | "remainingLabel" | "left" | "resetAt" | "resetUnknown" | "updatedAt" | "observedAt" | "quotaError" | "extraUsage" | "extraUsageEnabled" | "extraUsageDisabled" | "extraUsageLimit" | "sourceUsage" | "sourceHeaders" | "quotaStatus" | "quotaRepresentative" | "now" | "copy" | "copied", string>;
486
+ 'en-US': Record<"account" | "quotaRefreshing" | "rotationStrategy" | "accountId" | "relogin" | "source" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "fastMode" | "fastModeHint" | "contextWindowInvalid" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "quotaSignedOut" | "stopImporting" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "email" | "lastUsed" | "accountQuota" | "quotaNone" | "quotaSnapshot" | "quotaResets" | "quotaExhausted" | "quotaWindow" | "quotaUsed" | "quotaFactsScope" | "composerLabel" | "pageDesc" | "planUnknown" | "subscriptionType" | "sourceManaged" | "sourceClaudeCode" | "adoptedBadge" | "signInSection" | "signingIn" | "cancelSignIn" | "openAuthorizeUrl" | "authorizeUrl" | "redirectUri" | "loginModeManual" | "loginModeLoopback" | "loginFallbackReason" | "loginWaiting" | "loginExchanging" | "loginComplete" | "loginFailed" | "manualPasteSection" | "manualPasteHint" | "manualPastePlaceholder" | "manualPasteSubmit" | "manualPasteSubmitting" | "importClaudeCode" | "importing" | "testingConnection" | "testSuccess" | "testLatency" | "testFailed" | "testRetryable" | "testNotRetryable" | "routeOwned" | "routeConflict" | "modelsSection" | "refreshCatalog" | "refreshingCatalog" | "capImage" | "capNoImage" | "capThinkingOff" | "thinkingModeMidConvo" | "thinkingModeAdaptive" | "thinkingModeBudget" | "thinkingModeNone" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "cacheTtl" | "cacheTtlHint" | "cacheTtlSubscription" | "cacheTtl1h" | "cacheTtl5m" | "subagentCacheTtl" | "subagentCacheTtlHint" | "subagentCacheTtlOfficial" | "cacheKeepalive" | "cacheKeepaliveHint" | "effortLow" | "effortMedium" | "effortHigh" | "effortXHigh" | "effortMax" | "modelLadders" | "modelLadderNone" | "contextWindowSection" | "contextWindowHint" | "maxTokensSection" | "maxTokensHint" | "maxTokensInvalid" | "maxTokensResetAllConfirm" | "contextWindowNoneEnabled" | "saving" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "quotaUnknown" | "quotaUnknownHint" | "usedLabel" | "remainingLabel" | "left" | "resetAt" | "resetUnknown" | "updatedAt" | "observedAt" | "quotaError" | "extraUsage" | "extraUsageEnabled" | "extraUsageDisabled" | "extraUsageLimit" | "sourceUsage" | "sourceHeaders" | "quotaStatus" | "quotaRepresentative" | "now" | "copy" | "copied", string>;
487
+ };
488
+ export type ClaudeLocaleKey = keyof typeof zh;
489
+ //# sourceMappingURL=locales.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/claude/locales.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,eAAe,CAAA;AAErC,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsJL,CAAA;AAEV,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,OAAO,EAAE,EAAE,MAAM,CA4IrC,CAAA;AAEV,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKxB,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,EAAE,CAAA"}
@@ -0,0 +1,15 @@
1
+ export declare const STYLE_ID = "dsh-claude-settings-style";
2
+ /**
3
+ * Claude-only additions to the shared settings design system.
4
+ *
5
+ * The base control styles ('.dsha-page', '.dsha-group', '.dsha-models', the
6
+ * account card, the meters, the composer badge, …) come from the stylesheet the
7
+ * Kimi Code sibling installs, in the same order the client installs them, so
8
+ * this file declares only what stays unique to this card — the same rule the GLM
9
+ * and Step Code cards follow.
10
+ *
11
+ * What stays unique here is the sign-in flow block and the borrowed-sign-in
12
+ * markers, neither of which a sibling line renders.
13
+ */
14
+ export declare function installClaudeStyles(): void;
15
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/client/claude/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,8BAA8B,CAAA;AAEnD;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAY1C"}
@@ -0,0 +1,106 @@
1
+ import type { AccountRotationStrategy } from '../../shared/account-pool-contracts.ts';
2
+ import type { ClaudeAccountQuota, ClaudeAccountSummaryDto, ClaudeCacheTtl, ClaudeConnectionDto, ClaudeLoginFlowDto, ClaudeModelOption, ClaudeQuotaWindow, ClaudeReasoningEffort, ClaudeWebStatus } from '../../shared/claude-contracts.ts';
3
+ import { zh } from './locales.ts';
4
+ /** The seats the settings hub hands the card; both optional, so a bare render works. */
5
+ export interface ClaudeSectionProps {
6
+ onModelChange?: () => void;
7
+ loadModelDirectory?: () => void;
8
+ }
9
+ /**
10
+ * Everything the card's view consumes, grouped by kind.
11
+ *
12
+ * Returned as one named shape instead of one status blob: a reader can see at a
13
+ * glance what the hook tracks, what it computes from a status answer, and what
14
+ * the view is allowed to ask it to do.
15
+ */
16
+ export interface ClaudeSectionView {
17
+ /** Values that change as the card runs. */
18
+ state: {
19
+ /** Last status answer; null until the first read lands. */
20
+ status: ClaudeWebStatus | null;
21
+ /** True until the first status read settles, whatever its outcome. */
22
+ loading: boolean;
23
+ /** Id of the action in flight, or null; every disabled control reads it. */
24
+ busy: string | null;
25
+ /** The failure the card's error strip shows. */
26
+ error: string | null;
27
+ /** The sign-in flow being polled, when one is running. */
28
+ flow: ClaudeLoginFlowDto | null;
29
+ /** Result of the last explicit connection test. */
30
+ connection: ClaudeConnectionDto | null;
31
+ /** What the user has typed into the manual-paste box. */
32
+ pasteValue: string;
33
+ /** One free-text capacity draft per model, keyed by model id. */
34
+ contextDrafts: Record<string, string>;
35
+ /** Model id whose context-window save or restore is in flight. */
36
+ savingModel: string | null;
37
+ /** One free-text max_tokens draft per model, keyed by model id. */
38
+ maxTokensDrafts: Record<string, string>;
39
+ };
40
+ /** Facts read straight off the current status answer. */
41
+ derived: {
42
+ /** Every account row the shared pool card lists. */
43
+ accounts: ClaudeAccountSummaryDto[];
44
+ /** Whether any row is a snapshot of a sign-in this plugin does not own. */
45
+ hasAdopted: boolean;
46
+ /** Models the context-window editor offers: the enabled ones only. */
47
+ contextModels: ClaudeModelOption[];
48
+ /** How many stored overrides exist, whether or not a row still shows them. */
49
+ overrideCount: number;
50
+ /** Models whose max_tokens is saved, whether or not a row still shows them. */
51
+ maxTokensOverrideCount: number;
52
+ /** The displayed account's quota snapshot, when the host has one. */
53
+ quota: ClaudeAccountQuota | null | undefined;
54
+ /** Windows of that snapshot, shortest first. */
55
+ windows: ClaudeQuotaWindow[];
56
+ /**
57
+ * The line's dictionary, handed to the shared pool card as one object.
58
+ *
59
+ * The hook already owns it for its own sentences, so the view takes the same
60
+ * object from here rather than reaching for a second import.
61
+ */
62
+ poolLabels: typeof zh;
63
+ };
64
+ /** Everything the view can trigger. */
65
+ actions: {
66
+ /** Start a sign-in; opens the authorize page when the flow carries one. */
67
+ login(): Promise<void>;
68
+ cancelLogin(): Promise<void>;
69
+ /** Finish a manual-mode sign-in with the pasted code. */
70
+ submitPaste(): Promise<void>;
71
+ /** Add the local Claude Code sign-in as a snapshot. */
72
+ adopt(): Promise<void>;
73
+ /** Forget every imported snapshot, or one of them. */
74
+ stopImporting(accountId?: string): Promise<void>;
75
+ /** One account-level action on the shared pool card. */
76
+ accountAction(action: 'set-primary' | 'delete' | 'clear-cooldown', accountId: string): Promise<void>;
77
+ setStrategy(strategy: AccountRotationStrategy): Promise<void>;
78
+ /** Re-authorize ONE account; the returned flow starts the polling above. */
79
+ relogin(accountId: string): void;
80
+ refreshQuota(): Promise<void>;
81
+ refreshCatalog(): Promise<void>;
82
+ testConnection(): Promise<void>;
83
+ toggleModel(modelId: string, checked: boolean): void;
84
+ setAllModels(selectAll: boolean): void;
85
+ updateEffort(effort: ClaudeReasoningEffort | null): Promise<void>;
86
+ updateCacheTtl(ttl: ClaudeCacheTtl | null): Promise<void>;
87
+ /** The tier outside the main conversation; `null` follows the official five minutes. */
88
+ updateSubagentCacheTtl(ttl: ClaudeCacheTtl | null): Promise<void>;
89
+ updateFastMode(checked: boolean): Promise<void>;
90
+ updateCacheKeepalive(checked: boolean): Promise<void>;
91
+ saveContextWindow(modelId: string): Promise<void>;
92
+ resetContextWindow(modelId: string): Promise<void>;
93
+ resetAllContextWindows(): Promise<void>;
94
+ /** Edit one output-limit draft mid-typing; the editor never parses it. */
95
+ updateMaxTokensDraft(modelId: string, draft: string): void;
96
+ saveMaxTokens(modelId: string): Promise<void>;
97
+ resetMaxTokens(modelId: string): Promise<void>;
98
+ resetAllMaxTokens(): Promise<void>;
99
+ /** Edit one capacity draft mid-typing; the editor never parses it. */
100
+ updateContextDraft(modelId: string, draft: string): void;
101
+ /** Edit the manual-paste box. */
102
+ setPasteValue(value: string): void;
103
+ };
104
+ }
105
+ export declare function useClaudeSection({ onModelChange, loadModelDirectory }: ClaudeSectionProps): ClaudeSectionView;
106
+ //# sourceMappingURL=useClaudeSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useClaudeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/claude/useClaudeSection.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAA;AACrF,OAAO,KAAK,EACV,kBAAkB,EAClB,uBAAuB,EACvB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,EAChB,MAAM,kCAAkC,CAAA;AAKzC,OAAO,EAAE,EAAE,EAAa,MAAM,cAAc,CAAA;AAe5C,wFAAwF;AACxF,MAAM,WAAW,kBAAkB;IACjC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AAED;;;;;;GAMG;AACH,MAAM,WAAW,iBAAiB;IAChC,2CAA2C;IAC3C,KAAK,EAAE;QACL,2DAA2D;QAC3D,MAAM,EAAE,eAAe,GAAG,IAAI,CAAA;QAC9B,sEAAsE;QACtE,OAAO,EAAE,OAAO,CAAA;QAChB,4EAA4E;QAC5E,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;QACnB,gDAAgD;QAChD,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;QACpB,0DAA0D;QAC1D,IAAI,EAAE,kBAAkB,GAAG,IAAI,CAAA;QAC/B,mDAAmD;QACnD,UAAU,EAAE,mBAAmB,GAAG,IAAI,CAAA;QACtC,yDAAyD;QACzD,UAAU,EAAE,MAAM,CAAA;QAClB,iEAAiE;QACjE,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;QACrC,kEAAkE;QAClE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;QAC1B,mEAAmE;QACnE,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KACxC,CAAA;IACD,yDAAyD;IACzD,OAAO,EAAE;QACP,oDAAoD;QACpD,QAAQ,EAAE,uBAAuB,EAAE,CAAA;QACnC,2EAA2E;QAC3E,UAAU,EAAE,OAAO,CAAA;QACnB,sEAAsE;QACtE,aAAa,EAAE,iBAAiB,EAAE,CAAA;QAClC,8EAA8E;QAC9E,aAAa,EAAE,MAAM,CAAA;QACrB,+EAA+E;QAC/E,sBAAsB,EAAE,MAAM,CAAA;QAC9B,qEAAqE;QACrE,KAAK,EAAE,kBAAkB,GAAG,IAAI,GAAG,SAAS,CAAA;QAC5C,gDAAgD;QAChD,OAAO,EAAE,iBAAiB,EAAE,CAAA;QAC5B;;;;;WAKG;QACH,UAAU,EAAE,OAAO,EAAE,CAAA;KACtB,CAAA;IACD,uCAAuC;IACvC,OAAO,EAAE;QACP,2EAA2E;QAC3E,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;QACtB,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;QAC5B,yDAAyD;QACzD,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;QAC5B,uDAAuD;QACvD,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;QACtB,sDAAsD;QACtD,aAAa,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;QAChD,wDAAwD;QACxD,aAAa,CACX,MAAM,EAAE,aAAa,GAAG,QAAQ,GAAG,gBAAgB,EACnD,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,IAAI,CAAC,CAAA;QAChB,WAAW,CAAC,QAAQ,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;QAC7D,4EAA4E;QAC5E,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;QAChC,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;QAC7B,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;QAC/B,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;QAC/B,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI,CAAA;QACpD,YAAY,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI,CAAA;QACtC,YAAY,CAAC,MAAM,EAAE,qBAAqB,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;QACjE,cAAc,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;QACzD,wFAAwF;QACxF,sBAAsB,CAAC,GAAG,EAAE,cAAc,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;QACjE,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;QAC/C,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;QACrD,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;QACjD,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;QAClD,sBAAsB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;QACvC,0EAA0E;QAC1E,oBAAoB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;QAC1D,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;QAC7C,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;QAC9C,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;QAClC,sEAAsE;QACtE,kBAAkB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;QACxD,iCAAiC;QACjC,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;KACnC,CAAA;CACF;AAED,wBAAgB,gBAAgB,CAAC,EAAE,aAAa,EAAE,kBAAkB,EAAE,EAAE,kBAAkB,GAAG,iBAAiB,CAwkB7G"}