@songtonyli/dsh-cli 0.1.75 → 0.1.77

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 (681) hide show
  1. package/README.md +1 -1
  2. package/bin/dsh.mjs +1 -1
  3. package/node_modules/@deepseek-ai/dsh/README.i18n.yaml +2 -2
  4. package/node_modules/@deepseek-ai/dsh/README.md +1 -1
  5. package/node_modules/@deepseek-ai/dsh/README.zh.md +1 -1
  6. package/node_modules/@deepseek-ai/dsh/package.json +117 -116
  7. package/node_modules/@deepseek-ai/dsh-acp/package.json +23 -23
  8. package/node_modules/@deepseek-ai/dsh-acp-app/package.json +3 -3
  9. package/node_modules/@deepseek-ai/dsh-agent/package.json +18 -18
  10. package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +7 -7
  11. package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +24 -24
  12. package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +22 -22
  13. package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +6 -6
  14. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +3 -1
  15. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +26 -26
  16. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +8 -8
  17. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +5 -5
  18. package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.host.js +7 -6
  19. package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.remote-client.js +7 -6
  20. package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +7 -7
  21. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +9 -9
  22. package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +11 -11
  23. package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +9 -10
  24. package/node_modules/@deepseek-ai/dsh-api-remote-access/package.json +7 -8
  25. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +490 -62
  26. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/index.js +4 -0
  27. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +3 -1
  28. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/remote-events.js +1 -0
  29. package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +42 -41
  30. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +1 -1
  31. package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +72 -73
  32. package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +13 -13
  33. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.i18n.yaml +2 -2
  34. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.md +2 -0
  35. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.zh.md +2 -0
  36. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/client.js +166 -21
  37. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/index.js +36 -9
  38. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/inventory.js +101 -0
  39. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/model.js +23 -7
  40. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +19 -19
  41. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +18 -19
  42. package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +12 -13
  43. package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +2 -2
  44. package/node_modules/@deepseek-ai/dsh-app-boot/README.md +2 -2
  45. package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +2 -2
  46. package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +40 -26
  47. package/node_modules/@deepseek-ai/dsh-app-boot/package.json +8 -8
  48. package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +1 -1
  49. package/node_modules/@deepseek-ai/dsh-attachment/package.json +3 -3
  50. package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +6 -6
  51. package/node_modules/@deepseek-ai/dsh-authorization/package.json +5 -5
  52. package/node_modules/@deepseek-ai/dsh-base/package.json +94 -94
  53. package/node_modules/@deepseek-ai/dsh-bash-local/package.json +8 -8
  54. package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +12 -12
  55. package/node_modules/@deepseek-ai/dsh-brand/package.json +1 -1
  56. package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +1 -1
  57. package/node_modules/@deepseek-ai/dsh-client-connection/package.json +10 -10
  58. package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +10 -10
  59. package/node_modules/@deepseek-ai/dsh-client-hmr/README.i18n.yaml +2 -2
  60. package/node_modules/@deepseek-ai/dsh-client-hmr/README.md +1 -1
  61. package/node_modules/@deepseek-ai/dsh-client-hmr/README.zh.md +1 -1
  62. package/node_modules/@deepseek-ai/dsh-client-hmr/lib/client.js +237 -11
  63. package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +5 -4
  64. package/node_modules/@deepseek-ai/dsh-client-locale/package.json +7 -10
  65. package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +10 -7
  66. package/node_modules/@deepseek-ai/dsh-client-modules/README.md +8 -2
  67. package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +9 -2
  68. package/node_modules/@deepseek-ai/dsh-client-modules/lib/client.js +136 -6
  69. package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +25 -6
  70. package/node_modules/@deepseek-ai/dsh-client-modules/package.json +3 -4
  71. package/node_modules/@deepseek-ai/dsh-client-product-analytics/README.i18n.yaml +6 -6
  72. package/node_modules/@deepseek-ai/dsh-client-product-analytics/README.md +22 -4
  73. package/node_modules/@deepseek-ai/dsh-client-product-analytics/README.zh.md +22 -4
  74. package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/index.js +238 -6
  75. package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/typert.host.js +6 -6
  76. package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/typert.remote-client.js +4 -4
  77. package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +12 -11
  78. package/node_modules/@deepseek-ai/dsh-client-resources/package.json +3 -5
  79. package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +6 -8
  80. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +14 -17
  81. package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +11 -13
  82. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +8 -10
  83. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +3 -4
  84. package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +34 -37
  85. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.i18n.yaml +2 -2
  86. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.md +1 -1
  87. package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.zh.md +1 -1
  88. package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +16 -1
  89. package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +12 -15
  90. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +2 -2
  91. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +2 -2
  92. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +2 -2
  93. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +356 -124
  94. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +30 -33
  95. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +11 -13
  96. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +25 -28
  97. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +5 -7
  98. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +3 -3
  99. package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +12 -14
  100. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.i18n.yaml +2 -2
  101. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.md +1 -1
  102. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.zh.md +1 -1
  103. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +18 -0
  104. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +9 -12
  105. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +8 -10
  106. package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +7 -9
  107. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +13 -16
  108. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +3 -0
  109. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +8 -0
  110. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +8 -0
  111. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +34 -8
  112. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +13 -16
  113. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +16 -19
  114. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +12 -15
  115. package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +17 -20
  116. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +5 -2
  117. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +4 -0
  118. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +4 -0
  119. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +314 -85
  120. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +13 -16
  121. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.i18n.yaml +34 -0
  122. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.md +72 -0
  123. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.zh.md +72 -0
  124. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/lib/client.js +1637 -0
  125. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/lib/index.js +6 -0
  126. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/package.json +62 -0
  127. package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +13 -15
  128. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +1 -2
  129. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +17 -19
  130. package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/package.json +4 -5
  131. package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +7 -9
  132. package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +4 -6
  133. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.i18n.yaml +2 -2
  134. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.md +1 -1
  135. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.zh.md +1 -1
  136. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +117 -66
  137. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +13 -16
  138. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +6 -9
  139. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +5 -2
  140. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +6 -0
  141. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +6 -0
  142. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +176 -39
  143. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +15 -14
  144. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.i18n.yaml +2 -2
  145. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.md +3 -1
  146. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +3 -1
  147. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +324 -36
  148. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +8 -11
  149. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +9 -12
  150. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +5 -6
  151. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +6 -9
  152. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +6 -9
  153. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +4 -7
  154. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +6 -9
  155. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +6 -9
  156. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +7 -10
  157. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
  158. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +9 -12
  159. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +8 -11
  160. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +15 -18
  161. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +11 -14
  162. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +1 -1
  163. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +12 -15
  164. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +12 -15
  165. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.i18n.yaml +6 -6
  166. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.md +5 -3
  167. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.zh.md +5 -3
  168. package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +1 -0
  169. package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +14 -15
  170. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +15 -17
  171. package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +9 -12
  172. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +2 -2
  173. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +1 -1
  174. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +1 -1
  175. package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +75 -25
  176. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +25 -27
  177. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +14 -17
  178. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +18 -21
  179. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +11 -14
  180. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +23 -26
  181. package/node_modules/@deepseek-ai/dsh-cmdline/package.json +1 -1
  182. package/node_modules/@deepseek-ai/dsh-command-compact/package.json +8 -8
  183. package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +11 -11
  184. package/node_modules/@deepseek-ai/dsh-command-goal/package.json +11 -11
  185. package/node_modules/@deepseek-ai/dsh-commands/package.json +16 -16
  186. package/node_modules/@deepseek-ai/dsh-compaction/package.json +9 -9
  187. package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +21 -21
  188. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +16 -16
  189. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +12 -12
  190. package/node_modules/@deepseek-ai/dsh-config-editor/package.json +6 -6
  191. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +95 -8
  192. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +6 -6
  193. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +18 -18
  194. package/node_modules/@deepseek-ai/dsh-credentials/package.json +2 -2
  195. package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +9 -9
  196. package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +9 -7
  197. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.i18n.yaml +2 -2
  198. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.md +1 -1
  199. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.zh.md +1 -1
  200. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/index.js +15 -13
  201. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/details.js +10 -4
  202. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +9 -9
  203. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +1 -1
  204. package/node_modules/@deepseek-ai/dsh-deque/package.json +1 -1
  205. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +19 -19
  206. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +4 -4
  207. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +5 -5
  208. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +38 -38
  209. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/package.json +2 -2
  210. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +9 -22
  211. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/package.json +18 -26
  212. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +14 -32
  213. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/package.json +3 -3
  214. package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.i18n.yaml +2 -2
  215. package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.md +1 -1
  216. package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.zh.md +1 -1
  217. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/index.js +70 -17
  218. package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/worker.js +16 -12
  219. package/node_modules/@deepseek-ai/dsh-experimental-inspector/package.json +14 -20
  220. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/package.json +3 -3
  221. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/README.i18n.yaml +34 -0
  222. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/README.md +68 -0
  223. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/README.zh.md +68 -0
  224. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/cordis.patch.yml +10 -0
  225. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/icon.svg +9 -0
  226. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/lib/index.js +1 -0
  227. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/en.json +6 -0
  228. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/zh.json +6 -0
  229. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/package.json +50 -0
  230. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/package.json +3 -3
  231. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/package.json +10 -13
  232. package/node_modules/@deepseek-ai/dsh-experimental-session-search/package.json +3 -3
  233. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/package.json +2 -2
  234. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +6 -6
  235. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/worker.js +26 -12
  236. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +7 -7
  237. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/package.json +4 -4
  238. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +22 -22
  239. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/package.json +18 -18
  240. package/node_modules/@deepseek-ai/dsh-experimental-translator/package.json +24 -24
  241. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +5 -5
  242. package/node_modules/@deepseek-ai/dsh-experimental-worktree/package.json +21 -21
  243. package/node_modules/@deepseek-ai/dsh-file-reference/package.json +3 -3
  244. package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +13 -13
  245. package/node_modules/@deepseek-ai/dsh-fs/package.json +7 -7
  246. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +4 -4
  247. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +4 -4
  248. package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +10 -10
  249. package/node_modules/@deepseek-ai/dsh-goal/package.json +20 -20
  250. package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +15 -15
  251. package/node_modules/@deepseek-ai/dsh-harness-dev-context/package.json +11 -11
  252. package/node_modules/@deepseek-ai/dsh-headless/package.json +19 -19
  253. package/node_modules/@deepseek-ai/dsh-hmr/package.json +6 -6
  254. package/node_modules/@deepseek-ai/dsh-home-paths/package.json +1 -1
  255. package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +1 -1
  256. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +15 -15
  257. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +2 -2
  258. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +3 -3
  259. package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +6 -6
  260. package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +5 -5
  261. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +9 -9
  262. package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +4 -4
  263. package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +1 -1
  264. package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +1 -1
  265. package/node_modules/@deepseek-ai/dsh-jobs/package.json +9 -9
  266. package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +11 -11
  267. package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +1 -1
  268. package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +1 -1
  269. package/node_modules/@deepseek-ai/dsh-llm/package.json +7 -7
  270. package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +20 -20
  271. package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +37 -37
  272. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +13 -13
  273. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +9 -9
  274. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +21 -21
  275. package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +19 -19
  276. package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +20 -20
  277. package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +12 -12
  278. package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +14 -14
  279. package/node_modules/@deepseek-ai/dsh-native-command/package.json +2 -2
  280. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +10 -10
  281. package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +6 -6
  282. package/node_modules/@deepseek-ai/dsh-otel/package.json +3 -3
  283. package/node_modules/@deepseek-ai/dsh-output-retention/package.json +1 -1
  284. package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +1 -1
  285. package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +18 -18
  286. package/node_modules/@deepseek-ai/dsh-persona/package.json +4 -4
  287. package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +20 -20
  288. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.i18n.yaml +2 -2
  289. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +2 -2
  290. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +2 -2
  291. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +4 -3
  292. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +14 -14
  293. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +13 -13
  294. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/failure.js +2 -2
  295. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/operations.js +3 -3
  296. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/tools.js +1 -1
  297. package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +27 -27
  298. package/node_modules/@deepseek-ai/dsh-plugin-market/README.i18n.yaml +43 -0
  299. package/node_modules/@deepseek-ai/dsh-plugin-market/README.md +117 -0
  300. package/node_modules/@deepseek-ai/dsh-plugin-market/README.zh.md +117 -0
  301. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/index.js +661 -0
  302. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/typert.host.js +407 -0
  303. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/typert.remote-client.js +259 -0
  304. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/index-url.js +27 -0
  305. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/index.js +351 -0
  306. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/parse-thread.js +61 -0
  307. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/parse.js +36 -0
  308. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/search.js +135 -0
  309. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/tools.js +128 -0
  310. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/types.js +2 -0
  311. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/worker.js +8 -0
  312. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/worker.cjs +1759 -0
  313. package/node_modules/@deepseek-ai/dsh-plugin-market/package.json +89 -0
  314. package/node_modules/@deepseek-ai/dsh-plugin-market-index/README.i18n.yaml +34 -0
  315. package/node_modules/@deepseek-ai/dsh-plugin-market-index/README.md +74 -0
  316. package/node_modules/@deepseek-ai/dsh-plugin-market-index/README.zh.md +74 -0
  317. package/node_modules/@deepseek-ai/dsh-plugin-market-index/lib/index.js +320 -0
  318. package/node_modules/@deepseek-ai/{dsh-client-ui-slots → dsh-plugin-market-index}/package.json +15 -12
  319. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +13 -13
  320. package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +3 -3
  321. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +20 -20
  322. package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +8 -8
  323. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +12 -12
  324. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +9 -9
  325. package/node_modules/@deepseek-ai/dsh-sandbox/package.json +6 -6
  326. package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/package.json +22 -22
  327. package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +9 -9
  328. package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +11 -11
  329. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +10 -10
  330. package/node_modules/@deepseek-ai/dsh-schedule/package.json +30 -30
  331. package/node_modules/@deepseek-ai/dsh-scope/package.json +1 -1
  332. package/node_modules/@deepseek-ai/dsh-sdk-app/README.i18n.yaml +4 -4
  333. package/node_modules/@deepseek-ai/dsh-sdk-app/README.md +2 -2
  334. package/node_modules/@deepseek-ai/dsh-sdk-app/README.zh.md +2 -2
  335. package/node_modules/@deepseek-ai/dsh-sdk-app/cordis.patch.yml +5 -0
  336. package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +5 -5
  337. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +23 -23
  338. package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +34 -34
  339. package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +7 -7
  340. package/node_modules/@deepseek-ai/dsh-session/package.json +8 -8
  341. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +15 -15
  342. package/node_modules/@deepseek-ai/dsh-session-format/package.json +2 -2
  343. package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +9 -9
  344. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +4 -4
  345. package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +6 -6
  346. package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +4 -4
  347. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +3 -3
  348. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +13 -13
  349. package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +18 -21
  350. package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +9 -9
  351. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +10 -10
  352. package/node_modules/@deepseek-ai/dsh-session-projection/package.json +3 -3
  353. package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +10 -10
  354. package/node_modules/@deepseek-ai/dsh-session-query/package.json +18 -18
  355. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +9 -9
  356. package/node_modules/@deepseek-ai/dsh-session-reference/package.json +35 -35
  357. package/node_modules/@deepseek-ai/dsh-session-stats/package.json +7 -7
  358. package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +5 -5
  359. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +21 -21
  360. package/node_modules/@deepseek-ai/dsh-session-title/package.json +14 -14
  361. package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/package.json +12 -12
  362. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +15 -15
  363. package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +10 -10
  364. package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +7 -7
  365. package/node_modules/@deepseek-ai/dsh-settings/package.json +10 -10
  366. package/node_modules/@deepseek-ai/dsh-shell/package.json +5 -5
  367. package/node_modules/@deepseek-ai/dsh-shell-env/package.json +11 -11
  368. package/node_modules/@deepseek-ai/dsh-skill/package.json +6 -6
  369. package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +3 -3
  370. package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +7 -7
  371. package/node_modules/@deepseek-ai/dsh-skill-office/README.i18n.yaml +2 -2
  372. package/node_modules/@deepseek-ai/dsh-skill-office/README.md +1 -1
  373. package/node_modules/@deepseek-ai/dsh-skill-office/README.zh.md +1 -1
  374. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-export-pdf/SKILL.md +1 -1
  375. package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-render/SKILL.md +1 -1
  376. package/node_modules/@deepseek-ai/dsh-skill-office/package.json +4 -4
  377. package/node_modules/@deepseek-ai/dsh-spill/package.json +7 -7
  378. package/node_modules/@deepseek-ai/dsh-spill-local/package.json +6 -6
  379. package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +30 -30
  380. package/node_modules/@deepseek-ai/dsh-storage/package.json +1 -1
  381. package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +3 -3
  382. package/node_modules/@deepseek-ai/dsh-storage-json/package.json +3 -3
  383. package/node_modules/@deepseek-ai/dsh-subagent/package.json +46 -46
  384. package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +20 -20
  385. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +11 -11
  386. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +15 -15
  387. package/node_modules/@deepseek-ai/dsh-subprocess/package.json +4 -4
  388. package/node_modules/@deepseek-ai/dsh-subprocess-local/README.i18n.yaml +4 -4
  389. package/node_modules/@deepseek-ai/dsh-subprocess-local/README.md +3 -3
  390. package/node_modules/@deepseek-ai/dsh-subprocess-local/README.zh.md +3 -3
  391. package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/index.js +252 -47
  392. package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +7 -7
  393. package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +5 -5
  394. package/node_modules/@deepseek-ai/dsh-terminal/package.json +6 -6
  395. package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +19 -19
  396. package/node_modules/@deepseek-ai/dsh-time-context/package.json +18 -18
  397. package/node_modules/@deepseek-ai/dsh-timeout/package.json +1 -1
  398. package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +11 -11
  399. package/node_modules/@deepseek-ai/dsh-token-meter/package.json +14 -14
  400. package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +9 -9
  401. package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +32 -32
  402. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +21 -21
  403. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +7 -7
  404. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +125 -4
  405. package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +10 -10
  406. package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +1 -1
  407. package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +1 -1
  408. package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +1 -1
  409. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +31 -31
  410. package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +27 -27
  411. package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +16 -16
  412. package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +15 -15
  413. package/node_modules/@deepseek-ai/dsh-tool-present/package.json +19 -19
  414. package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +31 -31
  415. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +22 -22
  416. package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +19 -19
  417. package/node_modules/@deepseek-ai/dsh-tool-schedule/package.json +12 -12
  418. package/node_modules/@deepseek-ai/dsh-tool-session-query/package.json +24 -24
  419. package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +14 -14
  420. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +19 -19
  421. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +1 -1
  422. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +1 -1
  423. package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +1 -1
  424. package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +22 -22
  425. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +19 -19
  426. package/node_modules/@deepseek-ai/dsh-tool-terminal/package.json +25 -25
  427. package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +13 -13
  428. package/node_modules/@deepseek-ai/dsh-tool-web/package.json +19 -19
  429. package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +20 -20
  430. package/node_modules/@deepseek-ai/dsh-tool-working-directory/package.json +11 -11
  431. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +6 -6
  432. package/node_modules/@deepseek-ai/dsh-tools/README.i18n.yaml +2 -2
  433. package/node_modules/@deepseek-ai/dsh-tools/README.md +3 -3
  434. package/node_modules/@deepseek-ai/dsh-tools/README.zh.md +3 -3
  435. package/node_modules/@deepseek-ai/dsh-tools/lib/index.js +45 -26
  436. package/node_modules/@deepseek-ai/dsh-tools/lib/types/index.js +1 -1
  437. package/node_modules/@deepseek-ai/dsh-tools/lib/types/ptc.js +20 -10
  438. package/node_modules/@deepseek-ai/dsh-tools/lib/types/py-types.js +1 -1
  439. package/node_modules/@deepseek-ai/dsh-tools/lib/types/ts-types.js +26 -9
  440. package/node_modules/@deepseek-ai/dsh-tools/package.json +24 -24
  441. package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +6 -6
  442. package/node_modules/@deepseek-ai/dsh-tui-app/README.md +10 -10
  443. package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +10 -10
  444. package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +347 -136
  445. package/node_modules/@deepseek-ai/dsh-tui-app/package.json +78 -78
  446. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +5 -5
  447. package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +2 -2
  448. package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +2 -2
  449. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +13 -13
  450. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +15 -15
  451. package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +1 -1
  452. package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +1 -1
  453. package/node_modules/@deepseek-ai/dsh-util-time/package.json +1 -1
  454. package/node_modules/@deepseek-ai/dsh-util-values/package.json +1 -1
  455. package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +1 -1
  456. package/node_modules/@deepseek-ai/dsh-web/package.json +3 -3
  457. package/node_modules/@deepseek-ai/dsh-web-app/package.json +140 -139
  458. package/node_modules/@deepseek-ai/dsh-web-app/presets/cordis.patch.yml +3 -0
  459. package/node_modules/@deepseek-ai/dsh-web-app/presets/ptc.patch.yml +3 -0
  460. package/node_modules/@deepseek-ai/dsh-web-app/presets/standard.patch.yml +3 -0
  461. package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +7 -7
  462. package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +18 -20
  463. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +15 -15
  464. package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +6 -6
  465. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +6 -6
  466. package/node_modules/@deepseek-ai/dsh-win32-process/package.json +2 -2
  467. package/node_modules/@deepseek-ai/dsh-workflow/package.json +9 -9
  468. package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +36 -36
  469. package/node_modules/@deepseek-ai/dsh-working-directory/package.json +18 -18
  470. package/node_modules/@deepseek-ai/dsh-workspace/package.json +12 -12
  471. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +18 -18
  472. package/node_modules/@earendil-works/pi-ai/README.md +5 -34
  473. package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +59 -54
  474. package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +16 -18
  475. package/node_modules/@earendil-works/pi-ai/dist/api/google-shared.js +2 -0
  476. package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +2 -2
  477. package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +29 -27
  478. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +15 -2
  479. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +21 -4
  480. package/node_modules/@earendil-works/pi-ai/dist/api/transform-messages.js +28 -15
  481. package/node_modules/@earendil-works/pi-ai/dist/index.js +0 -1
  482. package/node_modules/@earendil-works/pi-ai/dist/providers/compat-schema.js +8 -0
  483. package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
  484. package/node_modules/@earendil-works/pi-ai/dist/providers/data/anthropic.json +1 -1
  485. package/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
  486. package/node_modules/@earendil-works/pi-ai/dist/providers/data/google-vertex.json +1 -1
  487. package/node_modules/@earendil-works/pi-ai/dist/providers/data/google.json +1 -1
  488. package/node_modules/@earendil-works/pi-ai/dist/providers/data/kimi-coding.json +1 -1
  489. package/node_modules/@earendil-works/pi-ai/dist/providers/data/meta.json +1 -1
  490. package/node_modules/@earendil-works/pi-ai/dist/providers/data/nvidia.json +1 -1
  491. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai-codex.json +1 -1
  492. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai.json +1 -1
  493. package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
  494. package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
  495. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
  496. package/node_modules/@earendil-works/pi-ai/dist/providers/data/radius.json +1 -1
  497. package/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
  498. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-ams.json +1 -1
  499. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-cn.json +1 -1
  500. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-sgp.json +1 -1
  501. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi.json +1 -1
  502. package/node_modules/@earendil-works/pi-ai/dist/providers/kimi-coding.js +3 -3
  503. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.js +2 -0
  504. package/node_modules/@earendil-works/pi-ai/dist/utils/json-parse.js +26 -1
  505. package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +5 -1
  506. package/node_modules/@earendil-works/pi-ai/dist/utils/validation.js +3 -0
  507. package/node_modules/@earendil-works/pi-ai/package.json +2 -2
  508. package/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
  509. package/node_modules/minisearch/LICENSE.txt +7 -0
  510. package/node_modules/minisearch/README.md +347 -0
  511. package/node_modules/minisearch/dist/cjs/SearchableMap.cjs +549 -0
  512. package/node_modules/minisearch/dist/cjs/index.cjs +2007 -0
  513. package/node_modules/minisearch/dist/es/SearchableMap.js +547 -0
  514. package/node_modules/minisearch/dist/es/index.js +2005 -0
  515. package/node_modules/minisearch/dist/umd/SearchableMap.js +555 -0
  516. package/node_modules/minisearch/dist/umd/index.js +2013 -0
  517. package/node_modules/minisearch/package.json +90 -0
  518. package/node_modules/minisearch/src/MiniSearch.test.js +1997 -0
  519. package/node_modules/minisearch/src/MiniSearch.ts +2261 -0
  520. package/node_modules/minisearch/src/SearchableMap/SearchableMap.test.js +314 -0
  521. package/node_modules/minisearch/src/SearchableMap/SearchableMap.ts +424 -0
  522. package/node_modules/minisearch/src/SearchableMap/TreeIterator.ts +103 -0
  523. package/node_modules/minisearch/src/SearchableMap/fuzzySearch.ts +130 -0
  524. package/node_modules/minisearch/src/SearchableMap/types.ts +18 -0
  525. package/node_modules/minisearch/src/index.ts +4 -0
  526. package/node_modules/minisearch/src/testSetup/jest.js +1 -0
  527. package/package.json +305 -301
  528. package/node_modules/@deepseek-ai/dsh-client-store/LICENSE +0 -21
  529. package/node_modules/@deepseek-ai/dsh-client-store/README.i18n.yaml +0 -28
  530. package/node_modules/@deepseek-ai/dsh-client-store/README.md +0 -46
  531. package/node_modules/@deepseek-ai/dsh-client-store/README.zh.md +0 -46
  532. package/node_modules/@deepseek-ai/dsh-client-store/lib/index.js +0 -180
  533. package/node_modules/@deepseek-ai/dsh-client-store/lib/types/contract.d.ts +0 -121
  534. package/node_modules/@deepseek-ai/dsh-client-store/lib/types/index.d.ts +0 -92
  535. package/node_modules/@deepseek-ai/dsh-client-store/package.json +0 -37
  536. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/LICENSE +0 -21
  537. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.i18n.yaml +0 -61
  538. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.md +0 -221
  539. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.zh.md +0 -221
  540. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Button.module.css +0 -77
  541. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Checkbox.module.css +0 -28
  542. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/CodeCard.module.css +0 -83
  543. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/CommandText.module.css +0 -12
  544. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ConnectionIndicator.module.css +0 -118
  545. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DiffBlock.module.css +0 -80
  546. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DisclosureRow.module.css +0 -111
  547. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/FileTypeIcon.module.css +0 -50
  548. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/HoverCard.module.css +0 -90
  549. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImageLightbox.module.css +0 -54
  550. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImagePreview.module.css +0 -24
  551. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/InlineEditor.module.css +0 -23
  552. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Input.module.css +0 -38
  553. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/JsonTree.module.css +0 -345
  554. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Menu.module.css +0 -285
  555. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuGroup.module.css +0 -37
  556. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuSurface.module.css +0 -49
  557. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Modal.module.css +0 -129
  558. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/OnboardingSurface.module.css +0 -28
  559. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/PathLabel.module.css +0 -28
  560. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Pill.module.css +0 -28
  561. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ReadBlock.module.css +0 -43
  562. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/RiskConfirmation.module.css +0 -73
  563. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SearchBlock.module.css +0 -112
  564. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedControl.module.css +0 -76
  565. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedTabs.module.css +0 -55
  566. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ShortcutKeys.module.css +0 -33
  567. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/StateDot.module.css +0 -100
  568. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Switch.module.css +0 -49
  569. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tag.module.css +0 -57
  570. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TerminalBlock.module.css +0 -205
  571. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TextShimmer.module.css +0 -88
  572. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Toast.module.css +0 -101
  573. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tooltip.module.css +0 -63
  574. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/WebBlock.module.css +0 -141
  575. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +0 -12583
  576. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/CodeBlock.module.css +0 -145
  577. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/JsonBlock.module.css +0 -32
  578. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/MarkdownText.module.css +0 -467
  579. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/SettingsForm.module.css +0 -53
  580. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/fields.module.css +0 -145
  581. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/BrandWordmark.d.ts +0 -15
  582. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Button.d.ts +0 -19
  583. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Checkbox.d.ts +0 -20
  584. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CodeFileIcon.d.ts +0 -12
  585. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CodeToolbar.d.ts +0 -30
  586. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CommandText.d.ts +0 -16
  587. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ConfigField.d.ts +0 -33
  588. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ConnectionIndicator.d.ts +0 -26
  589. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DiffBlock.d.ts +0 -52
  590. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DisclosureRow.d.ts +0 -38
  591. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/FileTypeIcon.d.ts +0 -43
  592. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/FishLogo.d.ts +0 -16
  593. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/FoldToggle.d.ts +0 -20
  594. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCard.d.ts +0 -40
  595. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCardGroup.d.ts +0 -23
  596. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ImageLightbox.d.ts +0 -27
  597. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ImagePreview.d.ts +0 -12
  598. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/InlineEditor.d.ts +0 -23
  599. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Input.d.ts +0 -12
  600. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/JsonTree.d.ts +0 -59
  601. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/LinkIcon.d.ts +0 -34
  602. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Menu.d.ts +0 -143
  603. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuGroup.d.ts +0 -22
  604. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuSurface.d.ts +0 -16
  605. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Modal.d.ts +0 -44
  606. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/OnboardingSurface.d.ts +0 -11
  607. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/PathLabel.d.ts +0 -13
  608. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/PermissionIcon.d.ts +0 -51
  609. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Pill.d.ts +0 -13
  610. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ReadBlock.d.ts +0 -48
  611. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ReferenceIcon.d.ts +0 -21
  612. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/RiskConfirmation.d.ts +0 -20
  613. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SearchBlock.d.ts +0 -72
  614. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SegmentedControl.d.ts +0 -35
  615. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SegmentedTabs.d.ts +0 -26
  616. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ShortcutKeys.d.ts +0 -11
  617. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SiteGlyph.d.ts +0 -25
  618. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/StateDot.d.ts +0 -20
  619. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Switch.d.ts +0 -20
  620. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tag.d.ts +0 -32
  621. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TerminalBlock.d.ts +0 -86
  622. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TextShimmer.d.ts +0 -22
  623. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Toast.d.ts +0 -49
  624. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tooltip.d.ts +0 -63
  625. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/WebBlock.d.ts +0 -61
  626. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ansi.d.ts +0 -17
  627. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/clipboard.d.ts +0 -9
  628. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-file-icon-artwork.d.ts +0 -54
  629. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-file-types.d.ts +0 -30
  630. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-highlighting.d.ts +0 -12
  631. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/darwin-desktop.d.ts +0 -9
  632. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/file-size.d.ts +0 -8
  633. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/focus.d.ts +0 -9
  634. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/guide-artwork.d.ts +0 -15
  635. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/head-tail-cap.d.ts +0 -23
  636. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/index.d.ts +0 -385
  637. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/props.d.ts +0 -9
  638. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/shared-artwork.d.ts +0 -43
  639. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/index.d.ts +0 -102
  640. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/input-modality.d.ts +0 -19
  641. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/keyboard-composition.d.ts +0 -11
  642. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/CodeBlock.d.ts +0 -35
  643. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/JsonBlock.d.ts +0 -8
  644. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/MarkdownDelegate.d.ts +0 -46
  645. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/MarkdownText.d.ts +0 -49
  646. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/cjkFriendlyStrong.d.ts +0 -9
  647. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/file-link.d.ts +0 -13
  648. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/highlight.d.ts +0 -148
  649. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/incremental.d.ts +0 -80
  650. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/katex.d.ts +0 -27
  651. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/local-image-syntax.d.ts +0 -10
  652. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/mathCompatibility.d.ts +0 -11
  653. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/parse.d.ts +0 -25
  654. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/plain-text.d.ts +0 -22
  655. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/render.d.ts +0 -141
  656. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/useViewportHighlighting.d.ts +0 -11
  657. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/overlay-top-margin.d.ts +0 -8
  658. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/plugin-artwork.d.ts +0 -17
  659. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/pointer-grace.d.ts +0 -22
  660. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/rank-by-name.d.ts +0 -22
  661. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/relative-time.d.ts +0 -23
  662. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/SettingsForm.d.ts +0 -46
  663. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/fields.d.ts +0 -70
  664. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/form-model.d.ts +0 -214
  665. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/use-copy-feedback.d.ts +0 -14
  666. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredMaxHeight.d.ts +0 -14
  667. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredPosition.d.ts +0 -36
  668. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useDismissOnOutsidePointer.d.ts +0 -11
  669. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useModalLayer.d.ts +0 -27
  670. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/user-text.d.ts +0 -29
  671. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/user-text.module.css +0 -46
  672. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +0 -61
  673. package/node_modules/@deepseek-ai/dsh-client-ui-slots/LICENSE +0 -21
  674. package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.i18n.yaml +0 -55
  675. package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.md +0 -111
  676. package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.zh.md +0 -111
  677. package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/index.js +0 -577
  678. package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/index.d.ts +0 -955
  679. package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/renderer.d.ts +0 -271
  680. package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/store.d.ts +0 -3
  681. package/node_modules/@earendil-works/pi-ai/dist/utils/assistant-message-frame.js +0 -425
@@ -3,7 +3,7 @@ import { combineAbortSignals } from "../utils/abort-signals.js";
3
3
  import { AssistantMessageEventStream } from "../utils/event-stream.js";
4
4
  import { shortHash } from "../utils/hash.js";
5
5
  import { headersToRecord } from "../utils/headers.js";
6
- import { parseStreamingJson } from "../utils/json-parse.js";
6
+ import { parseStreamingJson, parseToolCallArguments } from "../utils/json-parse.js";
7
7
  import { getPiUserAgent } from "../utils/pi-user-agent.js";
8
8
  import { sanitizeSurrogates } from "../utils/sanitize-unicode.js";
9
9
  import { getSystemMessageText, renderSystemMessageUpdate } from "../utils/text.js";
@@ -585,7 +585,7 @@ async function consumeChatStream(model, output, stream, mistralStream, onProvide
585
585
  if (block.type !== "toolCall")
586
586
  continue;
587
587
  const toolBlock = block;
588
- toolBlock.arguments = parseStreamingJson(toolBlock.partialArgs);
588
+ Object.assign(toolBlock, parseToolCallArguments(toolBlock.partialArgs));
589
589
  // Finalize in-place and strip the scratch buffer so replay only
590
590
  // carries parsed arguments.
591
591
  delete toolBlock.partialArgs;
@@ -4,7 +4,7 @@ import { formatProviderError, normalizeProviderError } from "../utils/error-body
4
4
  import { AssistantMessageEventStream } from "../utils/event-stream.js";
5
5
  import { shortHash } from "../utils/hash.js";
6
6
  import { headersToRecord } from "../utils/headers.js";
7
- import { parseStreamingJson } from "../utils/json-parse.js";
7
+ import { parseStreamingJson, parseToolCallArguments } from "../utils/json-parse.js";
8
8
  import { getPiUserAgent } from "../utils/pi-user-agent.js";
9
9
  import { getProviderEnvValue } from "../utils/provider-env.js";
10
10
  import { retryProviderRequest } from "../utils/provider-retry.js";
@@ -258,7 +258,7 @@ export const stream = (model, context, options) => {
258
258
  }
259
259
  }
260
260
  else {
261
- block.arguments = parseStreamingJson(block.partialArgs);
261
+ Object.assign(block, parseToolCallArguments(block.partialArgs));
262
262
  }
263
263
  // Finalize in-place and strip the scratch buffers so replay only
264
264
  // carries parsed arguments.
@@ -381,18 +381,8 @@ export const stream = (model, context, options) => {
381
381
  hasFinishReason = true;
382
382
  }
383
383
  if (choice.delta) {
384
- if (choice.delta.content !== null &&
385
- choice.delta.content !== undefined &&
386
- choice.delta.content.length > 0) {
387
- const block = ensureTextBlock();
388
- block.text += choice.delta.content;
389
- stream.push({
390
- type: "text_delta",
391
- contentIndex: getContentIndex(block),
392
- delta: choice.delta.content,
393
- partial: output,
394
- });
395
- }
384
+ // Handle reasoning before content: some proxies (e.g. LiteLLM) aggregate reasoning and
385
+ // answer into one delta, and the thinking block must precede the text block.
396
386
  // Some endpoints return reasoning in reasoning_content (llama.cpp),
397
387
  // or reasoning (other openai compatible endpoints)
398
388
  // Use the first non-empty reasoning field to avoid duplication
@@ -423,6 +413,31 @@ export const stream = (model, context, options) => {
423
413
  });
424
414
  }
425
415
  }
416
+ const reasoningDetails = choice.delta.reasoning_details;
417
+ if (Array.isArray(reasoningDetails)) {
418
+ for (const detail of reasoningDetails) {
419
+ if (!isOpenAIReasoningDetail(detail))
420
+ continue;
421
+ ensureThinkingBlock("");
422
+ streamedReasoningDetails ??= [];
423
+ // Keep provider replay data in the existing signature slot. OpenRouter streams
424
+ // reasoning_details as deltas: consecutive text/summary deltas are merged into
425
+ // logical entries, while encrypted entries remain opaque and discrete.
426
+ appendOpenAIReasoningDetail(streamedReasoningDetails, detail);
427
+ }
428
+ }
429
+ if (choice.delta.content !== null &&
430
+ choice.delta.content !== undefined &&
431
+ choice.delta.content.length > 0) {
432
+ const block = ensureTextBlock();
433
+ block.text += choice.delta.content;
434
+ stream.push({
435
+ type: "text_delta",
436
+ contentIndex: getContentIndex(block),
437
+ delta: choice.delta.content,
438
+ partial: output,
439
+ });
440
+ }
426
441
  if (choice?.delta?.tool_calls) {
427
442
  for (const toolCall of choice.delta.tool_calls) {
428
443
  const block = ensureToolCallBlock(toolCall);
@@ -452,19 +467,6 @@ export const stream = (model, context, options) => {
452
467
  });
453
468
  }
454
469
  }
455
- const reasoningDetails = choice.delta.reasoning_details;
456
- if (Array.isArray(reasoningDetails)) {
457
- for (const detail of reasoningDetails) {
458
- if (!isOpenAIReasoningDetail(detail))
459
- continue;
460
- ensureThinkingBlock("");
461
- streamedReasoningDetails ??= [];
462
- // Keep provider replay data in the existing signature slot. OpenRouter streams
463
- // reasoning_details as deltas: consecutive text/summary deltas are merged into
464
- // logical entries, while encrypted entries remain opaque and discrete.
465
- appendOpenAIReasoningDetail(streamedReasoningDetails, detail);
466
- }
467
- }
468
470
  }
469
471
  }
470
472
  for (const block of blocks) {
@@ -1,6 +1,6 @@
1
1
  import { calculateCost } from "../models.js";
2
2
  import { shortHash } from "../utils/hash.js";
3
- import { parseStreamingJson } from "../utils/json-parse.js";
3
+ import { parseStreamingJson, parseToolCallArguments } from "../utils/json-parse.js";
4
4
  import { sanitizeSurrogates } from "../utils/sanitize-unicode.js";
5
5
  import { getSystemMessageText, renderSystemMessageUpdate } from "../utils/text.js";
6
6
  import { resolveTranscript, resolveTranscriptTools } from "../utils/transcript.js";
@@ -121,6 +121,12 @@ export function convertResponsesMessages(model, context, allowedToolCallProvider
121
121
  });
122
122
  };
123
123
  const includeInitialSystemMessage = options?.includeSystemPrompt ?? true;
124
+ const pushConfigurationUpdate = (effort) => {
125
+ messages.push({
126
+ type: "configuration_update",
127
+ reasoning: { effort: effort },
128
+ });
129
+ };
124
130
  const compat = model.compat;
125
131
  const instructionRole = model.reasoning && compat?.supportsDeveloperRole !== false ? "developer" : "system";
126
132
  let msgIndex = 0;
@@ -241,6 +247,11 @@ export function convertResponsesMessages(model, context, allowedToolCallProvider
241
247
  }
242
248
  if (output.length === 0)
243
249
  continue;
250
+ if (options?.configurationUpdateEffort !== undefined &&
251
+ isSameModel &&
252
+ msg.providerThinkingLevel !== undefined) {
253
+ pushConfigurationUpdate(msg.providerThinkingLevel);
254
+ }
244
255
  messages.push(...output);
245
256
  }
246
257
  else if (msg.role === "toolResult") {
@@ -264,6 +275,8 @@ export function convertResponsesMessages(model, context, allowedToolCallProvider
264
275
  if (!isLeadingSystemMessage)
265
276
  msgIndex++;
266
277
  }
278
+ if (options?.configurationUpdateEffort !== undefined)
279
+ pushConfigurationUpdate(options.configurationUpdateEffort);
267
280
  return messages;
268
281
  }
269
282
  // =============================================================================
@@ -608,7 +621,7 @@ export async function processResponsesStream(openaiStream, output, stream, model
608
621
  else if (item.type === "function_call" &&
609
622
  slot?.type === "toolCall" &&
610
623
  slot.block.partialJson !== undefined) {
611
- slot.block.arguments = parseStreamingJson(item.arguments || slot.block.partialJson || "{}");
624
+ Object.assign(slot.block, parseToolCallArguments(item.arguments || slot.block.partialJson));
612
625
  if (item.namespace !== undefined)
613
626
  slot.block.namespace = item.namespace;
614
627
  // Finalize in-place and strip the scratch buffer so replay only
@@ -16,6 +16,8 @@ const OPENAI_TOOL_CALL_PROVIDERS = new Set(["openai", "openai-codex", "opencode"
16
16
  // OpenAI Responses rejects max_output_tokens below 16: https://github.com/earendil-works/pi/issues/6265
17
17
  const OPENAI_RESPONSES_MIN_OUTPUT_TOKENS = 16;
18
18
  const CHATGPT_USAGE_URL = "https://chatgpt.com/settings/usage";
19
+ // Fixed reasoning.effort while configuration_update items carry the thinking level.
20
+ const CONFIGURATION_UPDATE_REQUEST_EFFORT = "medium";
19
21
  /**
20
22
  * OpenAI API keys start with `sk-`; a different credential sent directly to OpenAI
21
23
  * is a Sign in with ChatGPT access token.
@@ -71,8 +73,19 @@ function getCompat(model) {
71
73
  supportsToolSearch: model.compat?.supportsToolSearch ?? false,
72
74
  supportsExplicitPromptCacheMode: model.compat?.supportsExplicitPromptCacheMode ?? false,
73
75
  supportsMaxOutputTokens: model.compat?.supportsMaxOutputTokens ?? true,
76
+ supportsMidConvoEffort: model.compat?.supportsMidConvoEffort ?? false,
74
77
  };
75
78
  }
79
+ /** Effort to send in configuration_update items, or undefined to send it as reasoning.effort. */
80
+ function getConfigurationUpdateEffort(model, options, compat) {
81
+ if (!compat.supportsMidConvoEffort ||
82
+ !options?.reasoningEffort ||
83
+ // Sign in with ChatGPT rejects configuration_update items.
84
+ isChatGPTSignIn(model, options.apiKey)) {
85
+ return undefined;
86
+ }
87
+ return model.thinkingLevelMap?.[options.reasoningEffort] ?? options.reasoningEffort;
88
+ }
76
89
  function getPromptCacheRetention(compat, cacheRetention) {
77
90
  return cacheRetention === "long" && compat.supportsLongCacheRetention && !compat.supportsExplicitPromptCacheMode
78
91
  ? "24h"
@@ -95,12 +108,15 @@ export const stream = (model, context, options) => {
95
108
  const normalizedContext = resolveTranscript(context, getCompat(model).supportsMidConvoSystemMessages);
96
109
  // Start async processing
97
110
  (async () => {
111
+ const compat = getCompat(model);
112
+ const configurationUpdateEffort = getConfigurationUpdateEffort(model, options, compat);
98
113
  const output = {
99
114
  role: "assistant",
100
115
  content: [],
101
116
  api: model.api,
102
117
  provider: model.provider,
103
118
  model: model.id,
119
+ ...(configurationUpdateEffort === undefined ? {} : { providerThinkingLevel: configurationUpdateEffort }),
104
120
  usage: {
105
121
  input: 0,
106
122
  output: 0,
@@ -117,10 +133,9 @@ export const stream = (model, context, options) => {
117
133
  const apiKey = getClientApiKey(model.provider, options?.apiKey, options?.headers);
118
134
  const cacheRetention = resolveCacheRetention(options?.cacheRetention, options?.env);
119
135
  const cacheSessionId = cacheRetention === "none" ? undefined : options?.sessionId;
120
- const compat = getCompat(model);
121
136
  const grammarToolInputProperties = createGrammarToolInputProperties(getDeclaredTools(normalizedContext.messages), compat.supportsOpenAIGrammarTools);
122
137
  const client = createClient(model, normalizedContext, apiKey, options?.headers, options?.fetch, cacheSessionId);
123
- let params = buildParams(model, normalizedContext, options, compat, grammarToolInputProperties);
138
+ let params = buildParams(model, normalizedContext, options, compat, grammarToolInputProperties, configurationUpdateEffort);
124
139
  const nextParams = await options?.onPayload?.(params, model);
125
140
  if (nextParams !== undefined) {
126
141
  params = nextParams;
@@ -221,7 +236,7 @@ function createClient(model, context, apiKey, optionsHeaders, fetch, sessionId)
221
236
  defaultHeaders: headers,
222
237
  });
223
238
  }
224
- function buildParams(model, context, options, compat = getCompat(model), grammarToolInputProperties = createGrammarToolInputProperties(getDeclaredTools(context.messages), compat.supportsOpenAIGrammarTools)) {
239
+ function buildParams(model, context, options, compat, grammarToolInputProperties, configurationUpdateEffort) {
225
240
  const transcriptTools = resolveTranscriptTools(context.messages, compat.supportsAdditionalTools || compat.supportsToolSearch);
226
241
  const messages = convertResponsesMessages(model, context, OPENAI_TOOL_CALL_PROVIDERS, {
227
242
  grammarToolInputProperties,
@@ -232,6 +247,7 @@ function buildParams(model, context, options, compat = getCompat(model), grammar
232
247
  supportsStrictMode: compat.supportsStrictMode,
233
248
  supportsOpenAIGrammarTools: compat.supportsOpenAIGrammarTools,
234
249
  },
250
+ configurationUpdateEffort,
235
251
  });
236
252
  const cacheRetention = resolveCacheRetention(options?.cacheRetention, options?.env);
237
253
  // Sign in with ChatGPT rejects these request fields.
@@ -266,9 +282,10 @@ function buildParams(model, context, options, compat = getCompat(model), grammar
266
282
  const reasoningEffort = options?.reasoningEffort ?? (options?.reasoningSummary ? "medium" : undefined);
267
283
  if (model.reasoning) {
268
284
  if (reasoningEffort) {
269
- const effort = options?.reasoningEffort
285
+ const requestedEffort = options?.reasoningEffort
270
286
  ? (model.thinkingLevelMap?.[options.reasoningEffort] ?? options.reasoningEffort)
271
287
  : reasoningEffort;
288
+ const effort = configurationUpdateEffort === undefined ? requestedEffort : CONFIGURATION_UPDATE_REQUEST_EFFORT;
272
289
  params.reasoning = {
273
290
  effort: effort,
274
291
  summary: options?.reasoningSummary || "auto",
@@ -1,5 +1,24 @@
1
1
  const NON_VISION_USER_IMAGE_PLACEHOLDER = "(image omitted: model does not support images)";
2
2
  const NON_VISION_TOOL_IMAGE_PLACEHOLDER = "(tool image omitted: model does not support images)";
3
+ const ERROR_TOOL_IMAGE_PLACEHOLDER = "(image attached after the tool results)";
4
+ /**
5
+ * Split the images out of an error tool result, for APIs that reject images in error results
6
+ * (Anthropic, and Claude on Bedrock). Send the returned content as the tool result and the caption and
7
+ * images after all tool results of the turn, in the same user message. Returns undefined for results
8
+ * that need no split (#10794).
9
+ */
10
+ export function splitErrorToolResultImages(msg) {
11
+ if (!msg.isError)
12
+ return undefined;
13
+ const images = msg.content.filter((block) => block.type === "image");
14
+ if (images.length === 0)
15
+ return undefined;
16
+ return {
17
+ content: replaceImagesWithPlaceholder(msg.content, ERROR_TOOL_IMAGE_PLACEHOLDER),
18
+ caption: `Images from the error result of tool call ${msg.toolCallId} (${msg.toolName}):`,
19
+ images,
20
+ };
21
+ }
3
22
  function replaceImagesWithPlaceholder(content, placeholder) {
4
23
  const result = [];
5
24
  let previousWasPlaceholder = false;
@@ -70,24 +89,18 @@ export function transformMessages(messages, model, normalizeToolCallId) {
70
89
  assistantMsg.model === model.id;
71
90
  const transformedContent = assistantMsg.content.flatMap((block) => {
72
91
  if (block.type === "thinking") {
73
- // Redacted thinking is opaque encrypted content, only valid for the same model.
74
- // Drop it for cross-model to avoid API errors.
75
- if (block.redacted) {
76
- return isSameModel ? block : [];
77
- }
78
- // For same model: keep thinking blocks with signatures (needed for replay)
79
- // even if the thinking text is empty (OpenAI encrypted reasoning)
80
- if (isSameModel && block.thinkingSignature)
92
+ // Thinking from another model is dropped. Signatures and encrypted reasoning are
93
+ // only valid for the model that produced them, and sending readable thinking as
94
+ // plain text makes the new model treat it as part of the visible reply.
95
+ if (!isSameModel)
96
+ return [];
97
+ // Keep redacted and signed blocks even if the thinking text is empty
98
+ // (OpenAI encrypted reasoning); they are needed for replay.
99
+ if (block.redacted || block.thinkingSignature)
81
100
  return block;
82
- // Skip empty thinking blocks, convert others to plain text
83
101
  if (!block.thinking || block.thinking.trim() === "")
84
102
  return [];
85
- if (isSameModel)
86
- return block;
87
- return {
88
- type: "text",
89
- text: block.thinking,
90
- };
103
+ return block;
91
104
  }
92
105
  if (block.type === "text") {
93
106
  if (isSameModel)
@@ -9,7 +9,6 @@ export * from "./models-store.js";
9
9
  export * from "./providers/faux.js";
10
10
  export * from "./session-resources.js";
11
11
  export * from "./types.js";
12
- export * from "./utils/assistant-message-frame.js";
13
12
  export * from "./utils/diagnostics.js";
14
13
  export * from "./utils/event-stream.js";
15
14
  export * from "./utils/json-parse.js";
@@ -240,6 +240,10 @@ export const OpenAIResponsesCompatSchema = Type.Object({
240
240
  description: "Whether the model accepts prompt_cache_options. Older OpenAI models reject the parameter.",
241
241
  default: false,
242
242
  })),
243
+ supportsMidConvoEffort: Type.Optional(Type.Boolean({
244
+ description: "Whether thinking level changes are sent as configuration_update input items instead of changing reasoning.effort, so a change keeps the prompt cache. Only used by the openai-responses API, and ignored with Sign in with ChatGPT on the openai provider.",
245
+ default: false,
246
+ })),
243
247
  supportsMaxOutputTokens: Type.Optional(Type.Boolean({
244
248
  description: "Whether the provider accepts max_output_tokens. Some Codex-protocol gateways reject it.",
245
249
  default: true,
@@ -320,6 +324,10 @@ const ProviderCompatPropertyOverrides = {
320
324
  sessionAffinityFormat: optionalSessionAffinityFormat({
321
325
  description: "Session-affinity header format. Defaults are API-specific or auto-detected.",
322
326
  }),
327
+ supportsMidConvoEffort: optionalCompatBoolean({
328
+ description: "Whether thinking level changes are sent inside the conversation instead of changing the request's effort, so a change keeps the prompt cache. Used by the anthropic-messages and openai-responses APIs.",
329
+ default: false,
330
+ }),
323
331
  supportsLongCacheRetention: optionalCompatBoolean({
324
332
  description: "Whether the provider supports long prompt cache retention. Defaults are API-specific or auto-detected.",
325
333
  }),
@@ -1 +1 @@
1
- {"schemaVersion":6,"generatedAt":"2026-10-12T22:50:30.032Z","structureHash":"2c88c6b129a59cef02b34f4d964d3df80a9bbd79dec2459b5311a3f299a229d2","files":{"amazon-bedrock.json":"df227d426b678e44cd82deae1cf433855d6b27f36fedcff3ef4fb812fe882868","ant-ling.json":"628feab3ef6c7d80ce96f75999804e1d9f05fec3851e5302e30fff3b69db90f6","anthropic.json":"327ea610aca64889902458243e9b6a440eb678671f5993b88ad32ac6e827b587","azure.json":"46c4e25b84463c6475e706c581196d2735c35feb9612d2efca0ab932c917d727","baseten.json":"1fcdab8daf2881bd099eb08f9416f7df5bf39975937d2a63b841542bd032f2e6","cerebras.json":"3eccb58c5de3d0dc7ba49dc6e477ba29f00cb3150ce0a35cc90d59e6b5ab368e","cloudflare-ai-gateway.json":"388aefd2f1e5c5b0783673de1acda4a7ea8de853ebb5beeeede9646a90159a2a","cloudflare-workers-ai.json":"98b9c8cb412139ae3f5d2f5e49134f8412ed4e139a12bf6cb3aeba38aacc6bb3","deepseek.json":"10a296fb3e898f7715c80890c8af0af4f5fd58f22dbcd6612fdc5d762157ccdc","fireworks.json":"8db3c11f65a5d76260d5040a5dc5a9ef0f35b92de8505a30907c2355c2837b36","github-copilot.json":"8fb758ef096c015ea1b7946e6b8195f17a09f333906025f35e050c9ad66e8bb7","google-vertex.json":"96ecc19bf20a706f99ae658b021a0ee5438146119e1e99de5fd824a01fcfd81b","google.json":"64bdd2563cee0e3598aec4d93a6735c189b6d7d14b9c03f061cc2824f3730528","groq.json":"910952ad9dad07856983459d63fce0148dba1203edd7b10d801a77c5824f3405","huggingface.json":"6399e958790a9d90c21fb55d1cbef8569427a1ceb28de86dadeb3b4454ecfade","kimi-coding.json":"582250b920454d98940da3e7e99d30b807edbea28f2eb8ac15f658d2ef41e8fc","meta.json":"1dbea20a92b0127190092e85fc4deab800d11e94dc2f8a3388c498f0121b29e8","minimax-cn.json":"1bbfbd11c3edbd141841d3cef027e12157218f1aec92477e15772116c1fabe7a","minimax.json":"a4b6864bd97eddf5749b2e117f643e751ec237408e8e24bec9e2f947782fa244","mistral.json":"27aa66c71a0504b53dc87ec194286fa7e70b99747fc8df9b709b23b3548afe50","moonshotai-cn.json":"79c9585dc84ee525ebaebbc78b3c55f3d369ec884d4f943488f1e0b14e3587f5","moonshotai.json":"1da2c4e34f22aef17a07c974d85bdee8e1b68b6dc712e3769c935b3f1e7dadca","nvidia.json":"a75e963dc81779e3eec01c051b12277c15ec37c5b94ab51ece9e9ccb3b16407c","openai-codex.json":"3cc35a7e122e5c77ee8ec30a9a3bd8bd59629997e85ba2cb3f9e0ed62e9a09c0","openai.json":"f4c1ac9f8f84cb9f2a952b0ceec51c90a38b31b4cdf33200e018ece9d408e95f","opencode-go.json":"aa73a7dcdb088b40f6f84ea0a3e814985c298aefdf76580f6836afbd8198b160","opencode.json":"b12302468f2d47f7c142744f935427a1a17551c2e49c47750b9617d16db7cf8a","openrouter.json":"07ad378d40ea46b78c52c80490b4cf8d5b1f4000b2e1e3e13a8c0193f5fd1e98","qwen-token-plan-cn.json":"2469a4091c474ec3db0a49a9962d8d2726c074ad9065b96bc4e0c87861c4c6c5","qwen-token-plan-individual.json":"0fb7cf64faf39d1a3b0a884210a86c87084b805eda15644f5f39293287b959dd","qwen-token-plan.json":"eff10620cb577142de4ec02698d5961a71fda2fe4f6ae7ea9432bad9d6844176","radius.json":"c359cdebfde2b8219fb4938a7066cf00dfd3eadc53e7709092c31007164eefa1","together.json":"52293df62191c8e799ae3632f8ab1b3f52ee626aee0280677086627b32864bf7","typesafe.json":"a4429a2f696d5cc5273969af61a7310bda07d6bdcd27bf9ac9c76c534cc43716","vercel-ai-gateway.json":"06e7ea1513bdcd3697b1b71f2b42654f8529d2c4d1c67cba8849053c04735c54","xai.json":"879c49b78b663a52a220ac4ee013e726b10c4f50aaa03bc58ee53a4b54c76928","xiaomi-token-plan-ams.json":"ca65178f4525d9705bc8d085ed136cecbe149c4080e857ea6a64ae643d2ac00a","xiaomi-token-plan-cn.json":"b065326926681c2262084e59c1c19ebdaf146c07107b5242c76b456becf74db0","xiaomi-token-plan-sgp.json":"92c3d6d707f81fd9cd2b6d1fb57dc431d90ba51e10fe49d97bc8806035c23492","xiaomi.json":"b81d01a374f7b558728c78d81f4168efa9c8996e6e2b5618409a8094b083c759","zai-coding-cn.json":"ee5ee705fb6e413a6088db5e3616c27fce802a8ece6c355f1db35490d787f610","zai.json":"58e6642fdfb736f0b9a4a277c760c536a3cea66a030abbfb2615f7b2851d5c6f"}}
1
+ {"schemaVersion":6,"generatedAt":"2026-10-15T19:00:55.287Z","structureHash":"f5b811296040611e9314534f2fb2464a007a47efe8b11b1e07dde80651a70bd4","files":{"amazon-bedrock.json":"df227d426b678e44cd82deae1cf433855d6b27f36fedcff3ef4fb812fe882868","ant-ling.json":"628feab3ef6c7d80ce96f75999804e1d9f05fec3851e5302e30fff3b69db90f6","anthropic.json":"91f5da01452c7746645d3405bc91e09f849e4e4687c7c7ff22d8976eafe64b87","azure.json":"46c4e25b84463c6475e706c581196d2735c35feb9612d2efca0ab932c917d727","baseten.json":"1fcdab8daf2881bd099eb08f9416f7df5bf39975937d2a63b841542bd032f2e6","cerebras.json":"3eccb58c5de3d0dc7ba49dc6e477ba29f00cb3150ce0a35cc90d59e6b5ab368e","cloudflare-ai-gateway.json":"388aefd2f1e5c5b0783673de1acda4a7ea8de853ebb5beeeede9646a90159a2a","cloudflare-workers-ai.json":"98b9c8cb412139ae3f5d2f5e49134f8412ed4e139a12bf6cb3aeba38aacc6bb3","deepseek.json":"10a296fb3e898f7715c80890c8af0af4f5fd58f22dbcd6612fdc5d762157ccdc","fireworks.json":"8db3c11f65a5d76260d5040a5dc5a9ef0f35b92de8505a30907c2355c2837b36","github-copilot.json":"1c7d77a4c320081bb0a80b2c8e185b34f07b73d38e67d20f3dcabcf72f2f8fcd","google-vertex.json":"564d692a4292ef12e98c8ec056a39948ea64e10851f5ddaaebcc37b585545231","google.json":"e13d3c51b13028d8253153165f7438ea2f3c3eaa8f209be952d3e9ded4494b5a","groq.json":"910952ad9dad07856983459d63fce0148dba1203edd7b10d801a77c5824f3405","huggingface.json":"6399e958790a9d90c21fb55d1cbef8569427a1ceb28de86dadeb3b4454ecfade","kimi-coding.json":"728d5ddb63ef52130552022d5ae2fd138fdc131ff854ac8c3b10ccaad355ab39","meta.json":"563f5ec07973f52ab8c3eb26ef91a36ad8a79e950b37174935666cdcb624bf35","minimax-cn.json":"1bbfbd11c3edbd141841d3cef027e12157218f1aec92477e15772116c1fabe7a","minimax.json":"a4b6864bd97eddf5749b2e117f643e751ec237408e8e24bec9e2f947782fa244","mistral.json":"27aa66c71a0504b53dc87ec194286fa7e70b99747fc8df9b709b23b3548afe50","moonshotai-cn.json":"79c9585dc84ee525ebaebbc78b3c55f3d369ec884d4f943488f1e0b14e3587f5","moonshotai.json":"1da2c4e34f22aef17a07c974d85bdee8e1b68b6dc712e3769c935b3f1e7dadca","nvidia.json":"98b47c4da26c8e649f48a874602fd7e9dc8a54ee0bdb40e3d07fe49189a842d2","openai-codex.json":"75dfc2f9e4b1e039978e069d94c983595ef8ff02eb64481901bedae5883b1d3f","openai.json":"3598d87bd39e40fe6ae44b07ecf3f9d27cb2e745e114c8b0c0fb0a3a84dd8d3e","opencode-go.json":"39408ee6da7302e3202d7f7b27d31d4d50a05c340bebd7da25ee23755d506475","opencode.json":"ecf8c62258249de738efee09932f1068c3feaf555779d0196aa129ea8339dd28","openrouter.json":"d303cf8e4ad2cfd322ea5fc8c9e617d46b21d36d9ebe0454be26ae92d91440aa","qwen-token-plan-cn.json":"2469a4091c474ec3db0a49a9962d8d2726c074ad9065b96bc4e0c87861c4c6c5","qwen-token-plan-individual.json":"0fb7cf64faf39d1a3b0a884210a86c87084b805eda15644f5f39293287b959dd","qwen-token-plan.json":"eff10620cb577142de4ec02698d5961a71fda2fe4f6ae7ea9432bad9d6844176","radius.json":"47c49f1ffaf2900c8e1e23ee61cb4cbe8c066ae59a4e2d01393c5c9772a1da04","together.json":"52293df62191c8e799ae3632f8ab1b3f52ee626aee0280677086627b32864bf7","typesafe.json":"a4429a2f696d5cc5273969af61a7310bda07d6bdcd27bf9ac9c76c534cc43716","vercel-ai-gateway.json":"154de982552dff9874764e724980aad167e2ff58be06d8477f2456494ef1e458","xai.json":"879c49b78b663a52a220ac4ee013e726b10c4f50aaa03bc58ee53a4b54c76928","xiaomi-token-plan-ams.json":"8266dc55ef720234373d4ff5434f0b8d40f614300d9e501f7d52935017534c82","xiaomi-token-plan-cn.json":"07ade989c0bd1ecf6ed9edc32e561c0dd28c317955b82f51e7a1875083906307","xiaomi-token-plan-sgp.json":"6afab55c8a37bc4018354ad657c774f0e664ae44cf79befb743bc5ae3fc3e9ba","xiaomi.json":"93f81b40e4d01f0193dd0b191f6ada2b851a71d351113067999ab0f9dc3f737e","zai-coding-cn.json":"ee5ee705fb6e413a6088db5e3616c27fce802a8ece6c355f1db35490d787f610","zai.json":"58e6642fdfb736f0b9a4a277c760c536a3cea66a030abbfb2615f7b2851d5c6f"}}
@@ -1 +1 @@
1
- {"anthropic-messages":{"chat:claude-fable-5":{"id":"claude-fable-5","name":"Claude Fable 5","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":10,"output":50,"cacheRead":1,"cacheWrite":12.5},"contextWindow":1000000,"maxTokens":128000,"compat":{"supportsMidConvoSystemMessages":true,"supportsMidConvoToolChanges":true,"forceAdaptiveThinking":true,"supportsStrictTools":true,"allowedFallbackModels":[{"provider":"anthropic","model":"claude-opus-4-8","cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25}},{"provider":"anthropic","model":"claude-opus-5","cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25}}]},"thinkingLevelMap":{"off":null,"xhigh":"xhigh","max":"max"},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-fable-5-1":{"id":"claude-fable-5-1","name":"Claude Fable 5.1","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":10,"output":50,"cacheRead":0.25,"cacheWrite":12.5},"contextWindow":1000000,"maxTokens":128000,"compat":{"supportsMidConvoEffort":true,"supportsMidConvoSystemMessages":true,"supportsMidConvoToolChanges":true,"forceAdaptiveThinking":true,"supportsStrictTools":true},"thinkingLevelMap":{"off":null,"xhigh":"xhigh","max":"max"},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-haiku-4-5":{"id":"claude-haiku-4-5","name":"Claude Haiku 4.5 (latest)","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":1,"output":5,"cacheRead":0.1,"cacheWrite":1.25},"contextWindow":200000,"maxTokens":64000,"compat":{"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":100,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-haiku-4-5-20251001":{"id":"claude-haiku-4-5-20251001","name":"Claude Haiku 4.5","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":1,"output":5,"cacheRead":0.1,"cacheWrite":1.25},"contextWindow":200000,"maxTokens":64000,"compat":{"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":100,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-haiku-5-5":{"id":"claude-haiku-5-5","name":"Claude Haiku 5.5","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":0.1,"output":0.5,"cacheRead":0.01,"cacheWrite":0.125,"tiers":[{"inputTokensAbove":100000,"input":0.5,"output":2.5,"cacheRead":0.05,"cacheWrite":0.625}]},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsMidConvoEffort":true,"supportsMidConvoSystemMessages":true,"supportsMidConvoToolChanges":true,"forceAdaptiveThinking":true,"supportsTemperature":false,"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-opus-4-5":{"id":"claude-opus-4-5","name":"Claude Opus 4.5 (latest)","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":200000,"maxTokens":64000,"compat":{"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":100,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-opus-4-5-20251101":{"id":"claude-opus-4-5-20251101","name":"Claude Opus 4.5","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":200000,"maxTokens":64000,"compat":{"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":100,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-opus-4-6":{"id":"claude-opus-4-6","name":"Claude Opus 4.6","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"max":"max"},"compat":{"forceAdaptiveThinking":true,"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-opus-4-7":{"id":"claude-opus-4-7","name":"Claude Opus 4.7","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"forceAdaptiveThinking":true,"supportsTemperature":false,"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-opus-4-8":{"id":"claude-opus-4-8","name":"Claude Opus 4.8","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"compat":{"supportsMidConvoSystemMessages":true,"supportsMidConvoToolChanges":true,"forceAdaptiveThinking":true,"supportsTemperature":false,"supportsStrictTools":true},"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-opus-5":{"id":"claude-opus-5","name":"Claude Opus 5","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"compat":{"supportsMidConvoEffort":true,"supportsMidConvoSystemMessages":true,"supportsMidConvoToolChanges":true,"forceAdaptiveThinking":true,"supportsTemperature":false,"supportsStrictTools":true},"thinkingLevelMap":{"off":null,"xhigh":"xhigh","max":"max"},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-opus-5-5":{"id":"claude-opus-5-5","name":"Claude Opus 5.5","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":4,"output":20,"cacheRead":0.2,"cacheWrite":5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsMidConvoEffort":true,"supportsMidConvoSystemMessages":true,"supportsMidConvoToolChanges":true,"forceAdaptiveThinking":true,"supportsTemperature":false,"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-sonnet-4-5":{"id":"claude-sonnet-4-5","name":"Claude Sonnet 4.5 (latest)","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":3.75},"contextWindow":200000,"maxTokens":64000,"compat":{"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":100,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-sonnet-4-5-20250929":{"id":"claude-sonnet-4-5-20250929","name":"Claude Sonnet 4.5","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":3.75},"contextWindow":200000,"maxTokens":64000,"compat":{"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":100,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-sonnet-4-6":{"id":"claude-sonnet-4-6","name":"Claude Sonnet 4.6","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":3.75},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"max":"max"},"compat":{"forceAdaptiveThinking":true,"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-sonnet-5":{"id":"claude-sonnet-5","name":"Claude Sonnet 5","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.2,"cacheWrite":2.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"forceAdaptiveThinking":true,"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-sonnet-5-5":{"id":"claude-sonnet-5-5","name":"Claude Sonnet 5.5","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.1,"cacheWrite":2.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsMidConvoEffort":true,"supportsMidConvoSystemMessages":true,"supportsMidConvoToolChanges":true,"forceAdaptiveThinking":true,"supportsTemperature":false,"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"}}}
1
+ {"anthropic-messages":{"chat:claude-fable-5":{"id":"claude-fable-5","name":"Claude Fable 5","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":10,"output":50,"cacheRead":1,"cacheWrite":12.5},"contextWindow":1000000,"maxTokens":128000,"compat":{"supportsMidConvoSystemMessages":true,"supportsMidConvoToolChanges":true,"forceAdaptiveThinking":true,"supportsStrictTools":true,"allowedFallbackModels":[{"provider":"anthropic","model":"claude-opus-4-8","cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25}},{"provider":"anthropic","model":"claude-opus-5","cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25}}]},"thinkingLevelMap":{"off":null,"xhigh":"xhigh","max":"max"},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-fable-5-1":{"id":"claude-fable-5-1","name":"Claude Fable 5.1","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":10,"output":50,"cacheRead":0.25,"cacheWrite":12.5},"contextWindow":1000000,"maxTokens":128000,"compat":{"supportsMidConvoEffort":true,"supportsMidConvoSystemMessages":true,"supportsMidConvoToolChanges":true,"forceAdaptiveThinking":true,"supportsStrictTools":true},"thinkingLevelMap":{"off":null,"xhigh":"xhigh","max":"max"},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-haiku-4-5":{"id":"claude-haiku-4-5","name":"Claude Haiku 4.5 (latest)","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":1,"output":5,"cacheRead":0.1,"cacheWrite":1.25},"contextWindow":200000,"maxTokens":64000,"compat":{"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":100,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-haiku-4-5-20251001":{"id":"claude-haiku-4-5-20251001","name":"Claude Haiku 4.5","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":1,"output":5,"cacheRead":0.1,"cacheWrite":1.25},"contextWindow":200000,"maxTokens":64000,"compat":{"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":100,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-haiku-5-5":{"id":"claude-haiku-5-5","name":"Claude Haiku 5.5","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":0.1,"output":0.5,"cacheRead":0.01,"cacheWrite":0.125,"tiers":[{"inputTokensAbove":100000,"input":0.5,"output":2.5,"cacheRead":0.05,"cacheWrite":0.625}]},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsMidConvoEffort":true,"supportsMidConvoSystemMessages":true,"supportsMidConvoToolChanges":true,"forceAdaptiveThinking":true,"supportsTemperature":false,"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-opus-4-5":{"id":"claude-opus-4-5","name":"Claude Opus 4.5 (latest)","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":200000,"maxTokens":64000,"compat":{"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":100,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-opus-4-5-20251101":{"id":"claude-opus-4-5-20251101","name":"Claude Opus 4.5","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":200000,"maxTokens":64000,"compat":{"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":100,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-opus-4-6":{"id":"claude-opus-4-6","name":"Claude Opus 4.6","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"max":"max"},"compat":{"forceAdaptiveThinking":true,"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-opus-4-7":{"id":"claude-opus-4-7","name":"Claude Opus 4.7","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"forceAdaptiveThinking":true,"supportsTemperature":false,"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-opus-4-8":{"id":"claude-opus-4-8","name":"Claude Opus 4.8","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"compat":{"supportsMidConvoSystemMessages":true,"supportsMidConvoToolChanges":true,"forceAdaptiveThinking":true,"supportsTemperature":false,"supportsStrictTools":true},"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-opus-5":{"id":"claude-opus-5","name":"Claude Opus 5","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"compat":{"supportsMidConvoEffort":true,"supportsMidConvoSystemMessages":true,"supportsMidConvoToolChanges":true,"forceAdaptiveThinking":true,"supportsTemperature":false,"supportsStrictTools":true},"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-opus-5-5":{"id":"claude-opus-5-5","name":"Claude Opus 5.5","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":4,"output":20,"cacheRead":0.2,"cacheWrite":5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsMidConvoEffort":true,"supportsMidConvoSystemMessages":true,"supportsMidConvoToolChanges":true,"forceAdaptiveThinking":true,"supportsTemperature":false,"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-sonnet-4-5":{"id":"claude-sonnet-4-5","name":"Claude Sonnet 4.5 (latest)","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":3.75},"contextWindow":200000,"maxTokens":64000,"compat":{"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":100,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-sonnet-4-5-20250929":{"id":"claude-sonnet-4-5-20250929","name":"Claude Sonnet 4.5","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":3.75},"contextWindow":200000,"maxTokens":64000,"compat":{"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":100,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-sonnet-4-6":{"id":"claude-sonnet-4-6","name":"Claude Sonnet 4.6","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":3.75},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"max":"max"},"compat":{"forceAdaptiveThinking":true,"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-sonnet-5":{"id":"claude-sonnet-5","name":"Claude Sonnet 5","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.2,"cacheWrite":2.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"forceAdaptiveThinking":true,"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:claude-sonnet-5-5":{"id":"claude-sonnet-5-5","name":"Claude Sonnet 5.5","api":"anthropic-messages","provider":"anthropic","baseUrl":"https://api.anthropic.com","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.1,"cacheWrite":2.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsMidConvoEffort":true,"supportsMidConvoSystemMessages":true,"supportsMidConvoToolChanges":true,"forceAdaptiveThinking":true,"supportsTemperature":false,"supportsStrictTools":true},"promptCache":{"short":300,"long":3600},"inputLimits":{"maxRequestBytes":33554432,"images":{"maxPerRequest":600,"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"}}}