@meetkai/mka1 0.48.37 → 0.48.39

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 (441) hide show
  1. package/README.md +241 -238
  2. package/bin/mcp-server.js +1643 -1098
  3. package/bin/mcp-server.js.map +49 -44
  4. package/dist/commonjs/funcs/llmConversationsCreateItems.d.ts +1 -2
  5. package/dist/commonjs/funcs/llmConversationsCreateItems.d.ts.map +1 -1
  6. package/dist/commonjs/funcs/llmConversationsCreateItems.js +1 -2
  7. package/dist/commonjs/funcs/llmConversationsCreateItems.js.map +1 -1
  8. package/dist/commonjs/funcs/llmConversationsListItems.d.ts +1 -2
  9. package/dist/commonjs/funcs/llmConversationsListItems.d.ts.map +1 -1
  10. package/dist/commonjs/funcs/llmConversationsListItems.js +1 -2
  11. package/dist/commonjs/funcs/llmConversationsListItems.js.map +1 -1
  12. package/dist/commonjs/funcs/llmPromptsDelete.js +1 -2
  13. package/dist/commonjs/funcs/llmPromptsDelete.js.map +1 -1
  14. package/dist/commonjs/funcs/sandboxGetPricing.d.ts +17 -0
  15. package/dist/commonjs/funcs/sandboxGetPricing.d.ts.map +1 -0
  16. package/dist/commonjs/funcs/sandboxGetPricing.js +115 -0
  17. package/dist/commonjs/funcs/sandboxGetPricing.js.map +1 -0
  18. package/dist/commonjs/funcs/{sandboxUsageGetUsageApiV1SandboxUsageGet.d.ts → sandboxSetPricing.d.ts} +6 -4
  19. package/dist/commonjs/funcs/sandboxSetPricing.d.ts.map +1 -0
  20. package/dist/commonjs/funcs/sandboxSetPricing.js +129 -0
  21. package/dist/commonjs/funcs/sandboxSetPricing.js.map +1 -0
  22. package/dist/commonjs/funcs/usageSandbox.d.ts +19 -0
  23. package/dist/commonjs/funcs/usageSandbox.d.ts.map +1 -0
  24. package/dist/commonjs/funcs/{sandboxUsageGetUsageApiV1SandboxUsageGet.js → usageSandbox.js} +9 -6
  25. package/dist/commonjs/funcs/usageSandbox.js.map +1 -0
  26. package/dist/commonjs/lib/config.d.ts +2 -2
  27. package/dist/commonjs/lib/config.js +2 -2
  28. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  29. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  30. package/dist/commonjs/mcp-server/server.js +8 -4
  31. package/dist/commonjs/mcp-server/server.js.map +1 -1
  32. package/dist/commonjs/mcp-server/tools/sandboxGetPricing.d.ts +3 -0
  33. package/dist/commonjs/mcp-server/tools/sandboxGetPricing.d.ts.map +1 -0
  34. package/dist/commonjs/mcp-server/tools/sandboxGetPricing.js +26 -0
  35. package/dist/commonjs/mcp-server/tools/sandboxGetPricing.js.map +1 -0
  36. package/dist/commonjs/mcp-server/tools/sandboxSetPricing.d.ts +8 -0
  37. package/dist/commonjs/mcp-server/tools/sandboxSetPricing.d.ts.map +1 -0
  38. package/dist/commonjs/mcp-server/tools/{sandboxUsageGetUsageApiV1SandboxUsageGet.js → sandboxSetPricing.js} +11 -9
  39. package/dist/commonjs/mcp-server/tools/sandboxSetPricing.js.map +1 -0
  40. package/dist/commonjs/mcp-server/tools/usageSandbox.d.ts +8 -0
  41. package/dist/commonjs/mcp-server/tools/usageSandbox.d.ts.map +1 -0
  42. package/dist/commonjs/mcp-server/tools/usageSandbox.js +64 -0
  43. package/dist/commonjs/mcp-server/tools/usageSandbox.js.map +1 -0
  44. package/dist/commonjs/models/components/conversationobject.d.ts +3 -0
  45. package/dist/commonjs/models/components/conversationobject.d.ts.map +1 -1
  46. package/dist/commonjs/models/components/conversationobject.js.map +1 -1
  47. package/dist/commonjs/models/components/createconversationrequest.d.ts +3 -0
  48. package/dist/commonjs/models/components/createconversationrequest.d.ts.map +1 -1
  49. package/dist/commonjs/models/components/createconversationrequest.js.map +1 -1
  50. package/dist/commonjs/models/components/evalfewshotconfig.d.ts +4 -3
  51. package/dist/commonjs/models/components/evalfewshotconfig.d.ts.map +1 -1
  52. package/dist/commonjs/models/components/evalfewshotconfig.js +3 -2
  53. package/dist/commonjs/models/components/evalfewshotconfig.js.map +1 -1
  54. package/dist/commonjs/models/components/evalmetric.d.ts +37 -0
  55. package/dist/commonjs/models/components/evalmetric.d.ts.map +1 -0
  56. package/dist/commonjs/models/components/evalmetric.js +87 -0
  57. package/dist/commonjs/models/components/evalmetric.js.map +1 -0
  58. package/dist/commonjs/models/components/evaltask.d.ts +3 -2
  59. package/dist/commonjs/models/components/evaltask.d.ts.map +1 -1
  60. package/dist/commonjs/models/components/evaltask.js +3 -2
  61. package/dist/commonjs/models/components/evaltask.js.map +1 -1
  62. package/dist/commonjs/models/components/index.d.ts +4 -3
  63. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  64. package/dist/commonjs/models/components/index.js +4 -3
  65. package/dist/commonjs/models/components/index.js.map +1 -1
  66. package/dist/commonjs/models/components/livekittokenrequest.d.ts +3 -0
  67. package/dist/commonjs/models/components/livekittokenrequest.d.ts.map +1 -1
  68. package/dist/commonjs/models/components/livekittokenrequest.js.map +1 -1
  69. package/dist/commonjs/models/components/responseobject.d.ts +2 -11
  70. package/dist/commonjs/models/components/responseobject.d.ts.map +1 -1
  71. package/dist/commonjs/models/components/responseobject.js +3 -15
  72. package/dist/commonjs/models/components/responseobject.js.map +1 -1
  73. package/dist/commonjs/models/components/responsescreaterequest.d.ts +3 -0
  74. package/dist/commonjs/models/components/responsescreaterequest.d.ts.map +1 -1
  75. package/dist/commonjs/models/components/responsescreaterequest.js.map +1 -1
  76. package/dist/commonjs/models/components/sandboxpricerate.d.ts +19 -0
  77. package/dist/commonjs/models/components/sandboxpricerate.d.ts.map +1 -0
  78. package/dist/commonjs/models/components/{itemlistobject.js → sandboxpricerate.js} +18 -23
  79. package/dist/commonjs/models/components/sandboxpricerate.js.map +1 -0
  80. package/dist/commonjs/models/components/sandboxpricingcard.d.ts +28 -0
  81. package/dist/commonjs/models/components/sandboxpricingcard.d.ts.map +1 -0
  82. package/dist/commonjs/models/components/sandboxpricingcard.js +76 -0
  83. package/dist/commonjs/models/components/sandboxpricingcard.js.map +1 -0
  84. package/dist/commonjs/models/components/sandboxpricingupdate.d.ts +25 -0
  85. package/dist/commonjs/models/components/sandboxpricingupdate.d.ts.map +1 -0
  86. package/dist/commonjs/models/components/sandboxpricingupdate.js +59 -0
  87. package/dist/commonjs/models/components/sandboxpricingupdate.js.map +1 -0
  88. package/dist/commonjs/models/components/update.d.ts +3 -0
  89. package/dist/commonjs/models/components/update.d.ts.map +1 -1
  90. package/dist/commonjs/models/components/update.js.map +1 -1
  91. package/dist/commonjs/models/components/updateresponserequest.d.ts +3 -0
  92. package/dist/commonjs/models/components/updateresponserequest.d.ts.map +1 -1
  93. package/dist/commonjs/models/components/updateresponserequest.js.map +1 -1
  94. package/dist/commonjs/models/operations/conversationsitemscreate.d.ts +123 -0
  95. package/dist/commonjs/models/operations/conversationsitemscreate.d.ts.map +1 -1
  96. package/dist/commonjs/models/operations/conversationsitemscreate.js +219 -1
  97. package/dist/commonjs/models/operations/conversationsitemscreate.js.map +1 -1
  98. package/dist/commonjs/models/operations/conversationsitemslist.d.ts +123 -0
  99. package/dist/commonjs/models/operations/conversationsitemslist.d.ts.map +1 -1
  100. package/dist/commonjs/models/operations/conversationsitemslist.js +220 -1
  101. package/dist/commonjs/models/operations/conversationsitemslist.js.map +1 -1
  102. package/dist/commonjs/models/operations/conversationsitemsretrieve.d.ts +85 -2
  103. package/dist/commonjs/models/operations/conversationsitemsretrieve.d.ts.map +1 -1
  104. package/dist/commonjs/models/operations/conversationsitemsretrieve.js +73 -3
  105. package/dist/commonjs/models/operations/conversationsitemsretrieve.js.map +1 -1
  106. package/dist/commonjs/models/operations/deleteprompt.d.ts +0 -11
  107. package/dist/commonjs/models/operations/deleteprompt.d.ts.map +1 -1
  108. package/dist/commonjs/models/operations/deleteprompt.js +1 -17
  109. package/dist/commonjs/models/operations/deleteprompt.js.map +1 -1
  110. package/dist/{esm/models/operations/getusageapiv1sandboxusageget.d.ts → commonjs/models/operations/getsandboxusage.d.ts} +7 -7
  111. package/dist/commonjs/models/operations/getsandboxusage.d.ts.map +1 -0
  112. package/dist/commonjs/models/operations/{getusageapiv1sandboxusageget.js → getsandboxusage.js} +10 -10
  113. package/dist/commonjs/models/operations/getsandboxusage.js.map +1 -0
  114. package/dist/commonjs/models/operations/index.d.ts +1 -1
  115. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  116. package/dist/commonjs/models/operations/index.js +1 -1
  117. package/dist/commonjs/models/operations/index.js.map +1 -1
  118. package/dist/commonjs/models/operations/listevalsuiteversions.d.ts +8 -8
  119. package/dist/commonjs/models/operations/listevalsuiteversions.d.ts.map +1 -1
  120. package/dist/commonjs/models/operations/listevalsuiteversions.js +11 -12
  121. package/dist/commonjs/models/operations/listevalsuiteversions.js.map +1 -1
  122. package/dist/commonjs/react-query/index.d.ts +3 -1
  123. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  124. package/dist/commonjs/react-query/index.js +3 -1
  125. package/dist/commonjs/react-query/index.js.map +1 -1
  126. package/dist/commonjs/react-query/llmConversationsCreateItems.d.ts +1 -2
  127. package/dist/commonjs/react-query/llmConversationsCreateItems.d.ts.map +1 -1
  128. package/dist/commonjs/react-query/llmConversationsCreateItems.js.map +1 -1
  129. package/dist/commonjs/react-query/llmConversationsListItems.core.d.ts +1 -2
  130. package/dist/commonjs/react-query/llmConversationsListItems.core.d.ts.map +1 -1
  131. package/dist/commonjs/react-query/llmConversationsListItems.core.js.map +1 -1
  132. package/dist/commonjs/react-query/sandboxGetPricing.core.d.ts +12 -0
  133. package/dist/commonjs/react-query/sandboxGetPricing.core.d.ts.map +1 -0
  134. package/dist/commonjs/react-query/sandboxGetPricing.core.js +34 -0
  135. package/dist/commonjs/react-query/sandboxGetPricing.core.js.map +1 -0
  136. package/dist/commonjs/react-query/sandboxGetPricing.d.ts +26 -0
  137. package/dist/commonjs/react-query/sandboxGetPricing.d.ts.map +1 -0
  138. package/dist/commonjs/react-query/sandboxGetPricing.js +53 -0
  139. package/dist/commonjs/react-query/sandboxGetPricing.js.map +1 -0
  140. package/dist/commonjs/react-query/sandboxSetPricing.d.ts +29 -0
  141. package/dist/commonjs/react-query/sandboxSetPricing.d.ts.map +1 -0
  142. package/dist/commonjs/react-query/sandboxSetPricing.js +47 -0
  143. package/dist/commonjs/react-query/sandboxSetPricing.js.map +1 -0
  144. package/dist/commonjs/react-query/usageSandbox.core.d.ts +21 -0
  145. package/dist/commonjs/react-query/usageSandbox.core.d.ts.map +1 -0
  146. package/dist/commonjs/react-query/usageSandbox.core.js +42 -0
  147. package/dist/commonjs/react-query/usageSandbox.core.js.map +1 -0
  148. package/dist/commonjs/react-query/usageSandbox.d.ts +50 -0
  149. package/dist/commonjs/react-query/usageSandbox.d.ts.map +1 -0
  150. package/dist/commonjs/react-query/usageSandbox.js +60 -0
  151. package/dist/commonjs/react-query/usageSandbox.js.map +1 -0
  152. package/dist/commonjs/sdk/conversations.d.ts +2 -2
  153. package/dist/commonjs/sdk/conversations.d.ts.map +1 -1
  154. package/dist/commonjs/sdk/sandbox.d.ts +14 -0
  155. package/dist/commonjs/sdk/sandbox.d.ts.map +1 -1
  156. package/dist/commonjs/sdk/sandbox.js +20 -0
  157. package/dist/commonjs/sdk/sandbox.js.map +1 -1
  158. package/dist/commonjs/sdk/sdk.d.ts +2 -5
  159. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  160. package/dist/commonjs/sdk/sdk.js +2 -6
  161. package/dist/commonjs/sdk/sdk.js.map +1 -1
  162. package/dist/commonjs/sdk/usage.d.ts +8 -0
  163. package/dist/commonjs/sdk/usage.d.ts.map +1 -1
  164. package/dist/commonjs/sdk/usage.js +10 -0
  165. package/dist/commonjs/sdk/usage.js.map +1 -1
  166. package/dist/esm/funcs/llmConversationsCreateItems.d.ts +1 -2
  167. package/dist/esm/funcs/llmConversationsCreateItems.d.ts.map +1 -1
  168. package/dist/esm/funcs/llmConversationsCreateItems.js +1 -2
  169. package/dist/esm/funcs/llmConversationsCreateItems.js.map +1 -1
  170. package/dist/esm/funcs/llmConversationsListItems.d.ts +1 -2
  171. package/dist/esm/funcs/llmConversationsListItems.d.ts.map +1 -1
  172. package/dist/esm/funcs/llmConversationsListItems.js +1 -2
  173. package/dist/esm/funcs/llmConversationsListItems.js.map +1 -1
  174. package/dist/esm/funcs/llmPromptsDelete.js +2 -3
  175. package/dist/esm/funcs/llmPromptsDelete.js.map +1 -1
  176. package/dist/esm/funcs/sandboxGetPricing.d.ts +17 -0
  177. package/dist/esm/funcs/sandboxGetPricing.d.ts.map +1 -0
  178. package/dist/esm/funcs/sandboxGetPricing.js +79 -0
  179. package/dist/esm/funcs/sandboxGetPricing.js.map +1 -0
  180. package/dist/esm/funcs/{sandboxUsageGetUsageApiV1SandboxUsageGet.d.ts → sandboxSetPricing.d.ts} +6 -4
  181. package/dist/esm/funcs/sandboxSetPricing.d.ts.map +1 -0
  182. package/dist/esm/funcs/sandboxSetPricing.js +93 -0
  183. package/dist/esm/funcs/sandboxSetPricing.js.map +1 -0
  184. package/dist/esm/funcs/usageSandbox.d.ts +19 -0
  185. package/dist/esm/funcs/usageSandbox.d.ts.map +1 -0
  186. package/dist/esm/funcs/{sandboxUsageGetUsageApiV1SandboxUsageGet.js → usageSandbox.js} +8 -5
  187. package/dist/esm/funcs/usageSandbox.js.map +1 -0
  188. package/dist/esm/lib/config.d.ts +2 -2
  189. package/dist/esm/lib/config.js +2 -2
  190. package/dist/esm/mcp-server/mcp-server.js +1 -1
  191. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  192. package/dist/esm/mcp-server/server.js +8 -4
  193. package/dist/esm/mcp-server/server.js.map +1 -1
  194. package/dist/esm/mcp-server/tools/sandboxGetPricing.d.ts +3 -0
  195. package/dist/esm/mcp-server/tools/sandboxGetPricing.d.ts.map +1 -0
  196. package/dist/esm/mcp-server/tools/sandboxGetPricing.js +23 -0
  197. package/dist/esm/mcp-server/tools/sandboxGetPricing.js.map +1 -0
  198. package/dist/esm/mcp-server/tools/sandboxSetPricing.d.ts +8 -0
  199. package/dist/esm/mcp-server/tools/sandboxSetPricing.d.ts.map +1 -0
  200. package/dist/esm/mcp-server/tools/sandboxSetPricing.js +28 -0
  201. package/dist/esm/mcp-server/tools/sandboxSetPricing.js.map +1 -0
  202. package/dist/esm/mcp-server/tools/usageSandbox.d.ts +8 -0
  203. package/dist/esm/mcp-server/tools/usageSandbox.d.ts.map +1 -0
  204. package/dist/esm/mcp-server/tools/usageSandbox.js +28 -0
  205. package/dist/esm/mcp-server/tools/usageSandbox.js.map +1 -0
  206. package/dist/esm/models/components/conversationobject.d.ts +3 -0
  207. package/dist/esm/models/components/conversationobject.d.ts.map +1 -1
  208. package/dist/esm/models/components/conversationobject.js.map +1 -1
  209. package/dist/esm/models/components/createconversationrequest.d.ts +3 -0
  210. package/dist/esm/models/components/createconversationrequest.d.ts.map +1 -1
  211. package/dist/esm/models/components/createconversationrequest.js.map +1 -1
  212. package/dist/esm/models/components/evalfewshotconfig.d.ts +4 -3
  213. package/dist/esm/models/components/evalfewshotconfig.d.ts.map +1 -1
  214. package/dist/esm/models/components/evalfewshotconfig.js +3 -2
  215. package/dist/esm/models/components/evalfewshotconfig.js.map +1 -1
  216. package/dist/esm/models/components/evalmetric.d.ts +37 -0
  217. package/dist/esm/models/components/evalmetric.d.ts.map +1 -0
  218. package/dist/esm/models/components/evalmetric.js +49 -0
  219. package/dist/esm/models/components/evalmetric.js.map +1 -0
  220. package/dist/esm/models/components/evaltask.d.ts +3 -2
  221. package/dist/esm/models/components/evaltask.d.ts.map +1 -1
  222. package/dist/esm/models/components/evaltask.js +3 -2
  223. package/dist/esm/models/components/evaltask.js.map +1 -1
  224. package/dist/esm/models/components/index.d.ts +4 -3
  225. package/dist/esm/models/components/index.d.ts.map +1 -1
  226. package/dist/esm/models/components/index.js +4 -3
  227. package/dist/esm/models/components/index.js.map +1 -1
  228. package/dist/esm/models/components/livekittokenrequest.d.ts +3 -0
  229. package/dist/esm/models/components/livekittokenrequest.d.ts.map +1 -1
  230. package/dist/esm/models/components/livekittokenrequest.js.map +1 -1
  231. package/dist/esm/models/components/responseobject.d.ts +2 -11
  232. package/dist/esm/models/components/responseobject.d.ts.map +1 -1
  233. package/dist/esm/models/components/responseobject.js +2 -12
  234. package/dist/esm/models/components/responseobject.js.map +1 -1
  235. package/dist/esm/models/components/responsescreaterequest.d.ts +3 -0
  236. package/dist/esm/models/components/responsescreaterequest.d.ts.map +1 -1
  237. package/dist/esm/models/components/responsescreaterequest.js.map +1 -1
  238. package/dist/esm/models/components/sandboxpricerate.d.ts +19 -0
  239. package/dist/esm/models/components/sandboxpricerate.d.ts.map +1 -0
  240. package/dist/esm/models/components/sandboxpricerate.js +33 -0
  241. package/dist/esm/models/components/sandboxpricerate.js.map +1 -0
  242. package/dist/esm/models/components/sandboxpricingcard.d.ts +28 -0
  243. package/dist/esm/models/components/sandboxpricingcard.d.ts.map +1 -0
  244. package/dist/esm/models/components/sandboxpricingcard.js +38 -0
  245. package/dist/esm/models/components/sandboxpricingcard.js.map +1 -0
  246. package/dist/esm/models/components/sandboxpricingupdate.d.ts +25 -0
  247. package/dist/esm/models/components/sandboxpricingupdate.d.ts.map +1 -0
  248. package/dist/esm/models/components/sandboxpricingupdate.js +21 -0
  249. package/dist/esm/models/components/sandboxpricingupdate.js.map +1 -0
  250. package/dist/esm/models/components/update.d.ts +3 -0
  251. package/dist/esm/models/components/update.d.ts.map +1 -1
  252. package/dist/esm/models/components/update.js.map +1 -1
  253. package/dist/esm/models/components/updateresponserequest.d.ts +3 -0
  254. package/dist/esm/models/components/updateresponserequest.d.ts.map +1 -1
  255. package/dist/esm/models/components/updateresponserequest.js.map +1 -1
  256. package/dist/esm/models/operations/conversationsitemscreate.d.ts +123 -0
  257. package/dist/esm/models/operations/conversationsitemscreate.d.ts.map +1 -1
  258. package/dist/esm/models/operations/conversationsitemscreate.js +210 -0
  259. package/dist/esm/models/operations/conversationsitemscreate.js.map +1 -1
  260. package/dist/esm/models/operations/conversationsitemslist.d.ts +123 -0
  261. package/dist/esm/models/operations/conversationsitemslist.d.ts.map +1 -1
  262. package/dist/esm/models/operations/conversationsitemslist.js +211 -0
  263. package/dist/esm/models/operations/conversationsitemslist.js.map +1 -1
  264. package/dist/esm/models/operations/conversationsitemsretrieve.d.ts +85 -2
  265. package/dist/esm/models/operations/conversationsitemsretrieve.d.ts.map +1 -1
  266. package/dist/esm/models/operations/conversationsitemsretrieve.js +68 -2
  267. package/dist/esm/models/operations/conversationsitemsretrieve.js.map +1 -1
  268. package/dist/esm/models/operations/deleteprompt.d.ts +0 -11
  269. package/dist/esm/models/operations/deleteprompt.d.ts.map +1 -1
  270. package/dist/esm/models/operations/deleteprompt.js +0 -14
  271. package/dist/esm/models/operations/deleteprompt.js.map +1 -1
  272. package/dist/{commonjs/models/operations/getusageapiv1sandboxusageget.d.ts → esm/models/operations/getsandboxusage.d.ts} +7 -7
  273. package/dist/esm/models/operations/getsandboxusage.d.ts.map +1 -0
  274. package/dist/esm/models/operations/{getusageapiv1sandboxusageget.js → getsandboxusage.js} +7 -7
  275. package/dist/esm/models/operations/getsandboxusage.js.map +1 -0
  276. package/dist/esm/models/operations/index.d.ts +1 -1
  277. package/dist/esm/models/operations/index.d.ts.map +1 -1
  278. package/dist/esm/models/operations/index.js +1 -1
  279. package/dist/esm/models/operations/index.js.map +1 -1
  280. package/dist/esm/models/operations/listevalsuiteversions.d.ts +8 -8
  281. package/dist/esm/models/operations/listevalsuiteversions.d.ts.map +1 -1
  282. package/dist/esm/models/operations/listevalsuiteversions.js +8 -9
  283. package/dist/esm/models/operations/listevalsuiteversions.js.map +1 -1
  284. package/dist/esm/react-query/index.d.ts +3 -1
  285. package/dist/esm/react-query/index.d.ts.map +1 -1
  286. package/dist/esm/react-query/index.js +3 -1
  287. package/dist/esm/react-query/index.js.map +1 -1
  288. package/dist/esm/react-query/llmConversationsCreateItems.d.ts +1 -2
  289. package/dist/esm/react-query/llmConversationsCreateItems.d.ts.map +1 -1
  290. package/dist/esm/react-query/llmConversationsCreateItems.js.map +1 -1
  291. package/dist/esm/react-query/llmConversationsListItems.core.d.ts +1 -2
  292. package/dist/esm/react-query/llmConversationsListItems.core.d.ts.map +1 -1
  293. package/dist/esm/react-query/llmConversationsListItems.core.js.map +1 -1
  294. package/dist/esm/react-query/sandboxGetPricing.core.d.ts +12 -0
  295. package/dist/esm/react-query/sandboxGetPricing.core.d.ts.map +1 -0
  296. package/dist/esm/react-query/sandboxGetPricing.core.js +29 -0
  297. package/dist/esm/react-query/sandboxGetPricing.core.js.map +1 -0
  298. package/dist/esm/react-query/sandboxGetPricing.d.ts +26 -0
  299. package/dist/esm/react-query/sandboxGetPricing.d.ts.map +1 -0
  300. package/dist/esm/react-query/sandboxGetPricing.js +44 -0
  301. package/dist/esm/react-query/sandboxGetPricing.js.map +1 -0
  302. package/dist/esm/react-query/sandboxSetPricing.d.ts +29 -0
  303. package/dist/esm/react-query/sandboxSetPricing.d.ts.map +1 -0
  304. package/dist/esm/react-query/sandboxSetPricing.js +42 -0
  305. package/dist/esm/react-query/sandboxSetPricing.js.map +1 -0
  306. package/dist/esm/react-query/usageSandbox.core.d.ts +21 -0
  307. package/dist/esm/react-query/usageSandbox.core.d.ts.map +1 -0
  308. package/dist/esm/react-query/usageSandbox.core.js +37 -0
  309. package/dist/esm/react-query/usageSandbox.core.js.map +1 -0
  310. package/dist/esm/react-query/usageSandbox.d.ts +50 -0
  311. package/dist/esm/react-query/usageSandbox.d.ts.map +1 -0
  312. package/dist/esm/react-query/usageSandbox.js +50 -0
  313. package/dist/esm/react-query/usageSandbox.js.map +1 -0
  314. package/dist/esm/sdk/conversations.d.ts +2 -2
  315. package/dist/esm/sdk/conversations.d.ts.map +1 -1
  316. package/dist/esm/sdk/sandbox.d.ts +14 -0
  317. package/dist/esm/sdk/sandbox.d.ts.map +1 -1
  318. package/dist/esm/sdk/sandbox.js +20 -0
  319. package/dist/esm/sdk/sandbox.js.map +1 -1
  320. package/dist/esm/sdk/sdk.d.ts +2 -5
  321. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  322. package/dist/esm/sdk/sdk.js +2 -6
  323. package/dist/esm/sdk/sdk.js.map +1 -1
  324. package/dist/esm/sdk/usage.d.ts +8 -0
  325. package/dist/esm/sdk/usage.d.ts.map +1 -1
  326. package/dist/esm/sdk/usage.js +10 -0
  327. package/dist/esm/sdk/usage.js.map +1 -1
  328. package/jsr.json +1 -1
  329. package/package.json +1 -1
  330. package/src/funcs/llmConversationsCreateItems.ts +4 -5
  331. package/src/funcs/llmConversationsListItems.ts +4 -5
  332. package/src/funcs/llmPromptsDelete.ts +2 -3
  333. package/src/funcs/sandboxGetPricing.ts +154 -0
  334. package/src/funcs/sandboxSetPricing.ts +181 -0
  335. package/src/funcs/{sandboxUsageGetUsageApiV1SandboxUsageGet.ts → usageSandbox.ts} +9 -9
  336. package/src/lib/config.ts +2 -2
  337. package/src/mcp-server/mcp-server.ts +1 -1
  338. package/src/mcp-server/server.ts +8 -4
  339. package/src/mcp-server/tools/sandboxGetPricing.ts +30 -0
  340. package/src/mcp-server/tools/sandboxSetPricing.ts +37 -0
  341. package/src/mcp-server/tools/usageSandbox.ts +37 -0
  342. package/src/models/components/conversationobject.ts +3 -0
  343. package/src/models/components/createconversationrequest.ts +3 -0
  344. package/src/models/components/evalfewshotconfig.ts +11 -5
  345. package/src/models/components/evalmetric.ts +96 -0
  346. package/src/models/components/evaltask.ts +10 -4
  347. package/src/models/components/index.ts +4 -3
  348. package/src/models/components/livekittokenrequest.ts +3 -0
  349. package/src/models/components/responseobject.ts +4 -47
  350. package/src/models/components/responsescreaterequest.ts +3 -0
  351. package/src/models/components/sandboxpricerate.ts +66 -0
  352. package/src/models/components/sandboxpricingcard.ts +82 -0
  353. package/src/models/components/sandboxpricingupdate.ts +60 -0
  354. package/src/models/components/update.ts +3 -0
  355. package/src/models/components/updateresponserequest.ts +3 -0
  356. package/src/models/operations/conversationsitemscreate.ts +488 -0
  357. package/src/models/operations/conversationsitemslist.ts +496 -0
  358. package/src/models/operations/conversationsitemsretrieve.ts +168 -4
  359. package/src/models/operations/deleteprompt.ts +0 -41
  360. package/src/models/operations/{getusageapiv1sandboxusageget.ts → getsandboxusage.ts} +14 -17
  361. package/src/models/operations/index.ts +1 -1
  362. package/src/models/operations/listevalsuiteversions.ts +54 -44
  363. package/src/react-query/index.ts +3 -1
  364. package/src/react-query/llmConversationsCreateItems.ts +2 -2
  365. package/src/react-query/llmConversationsListItems.core.ts +2 -2
  366. package/src/react-query/sandboxGetPricing.core.ts +66 -0
  367. package/src/react-query/sandboxGetPricing.ts +112 -0
  368. package/src/react-query/sandboxSetPricing.ts +110 -0
  369. package/src/react-query/{sandboxUsageGetUsageApiV1SandboxUsageGet.core.ts → usageSandbox.core.ts} +14 -22
  370. package/src/react-query/{sandboxUsageGetUsageApiV1SandboxUsageGet.ts → usageSandbox.ts} +38 -53
  371. package/src/sdk/conversations.ts +2 -2
  372. package/src/sdk/sandbox.ts +34 -0
  373. package/src/sdk/sdk.ts +3 -9
  374. package/src/sdk/usage.ts +19 -0
  375. package/dist/commonjs/funcs/sandboxUsageGetUsageApiV1SandboxUsageGet.d.ts.map +0 -1
  376. package/dist/commonjs/funcs/sandboxUsageGetUsageApiV1SandboxUsageGet.js.map +0 -1
  377. package/dist/commonjs/mcp-server/tools/sandboxUsageGetUsageApiV1SandboxUsageGet.d.ts +0 -8
  378. package/dist/commonjs/mcp-server/tools/sandboxUsageGetUsageApiV1SandboxUsageGet.d.ts.map +0 -1
  379. package/dist/commonjs/mcp-server/tools/sandboxUsageGetUsageApiV1SandboxUsageGet.js.map +0 -1
  380. package/dist/commonjs/models/components/inputmessagewithid.d.ts +0 -89
  381. package/dist/commonjs/models/components/inputmessagewithid.d.ts.map +0 -1
  382. package/dist/commonjs/models/components/inputmessagewithid.js +0 -106
  383. package/dist/commonjs/models/components/inputmessagewithid.js.map +0 -1
  384. package/dist/commonjs/models/components/itemlistobject.d.ts +0 -33
  385. package/dist/commonjs/models/components/itemlistobject.d.ts.map +0 -1
  386. package/dist/commonjs/models/components/itemlistobject.js.map +0 -1
  387. package/dist/commonjs/models/components/itemwithid.d.ts +0 -37
  388. package/dist/commonjs/models/components/itemwithid.d.ts.map +0 -1
  389. package/dist/commonjs/models/components/itemwithid.js +0 -128
  390. package/dist/commonjs/models/components/itemwithid.js.map +0 -1
  391. package/dist/commonjs/models/operations/getusageapiv1sandboxusageget.d.ts.map +0 -1
  392. package/dist/commonjs/models/operations/getusageapiv1sandboxusageget.js.map +0 -1
  393. package/dist/commonjs/react-query/sandboxUsageGetUsageApiV1SandboxUsageGet.core.d.ts +0 -21
  394. package/dist/commonjs/react-query/sandboxUsageGetUsageApiV1SandboxUsageGet.core.d.ts.map +0 -1
  395. package/dist/commonjs/react-query/sandboxUsageGetUsageApiV1SandboxUsageGet.core.js +0 -47
  396. package/dist/commonjs/react-query/sandboxUsageGetUsageApiV1SandboxUsageGet.core.js.map +0 -1
  397. package/dist/commonjs/react-query/sandboxUsageGetUsageApiV1SandboxUsageGet.d.ts +0 -44
  398. package/dist/commonjs/react-query/sandboxUsageGetUsageApiV1SandboxUsageGet.d.ts.map +0 -1
  399. package/dist/commonjs/react-query/sandboxUsageGetUsageApiV1SandboxUsageGet.js +0 -63
  400. package/dist/commonjs/react-query/sandboxUsageGetUsageApiV1SandboxUsageGet.js.map +0 -1
  401. package/dist/commonjs/sdk/sandboxusage.d.ts +0 -10
  402. package/dist/commonjs/sdk/sandboxusage.d.ts.map +0 -1
  403. package/dist/commonjs/sdk/sandboxusage.js +0 -19
  404. package/dist/commonjs/sdk/sandboxusage.js.map +0 -1
  405. package/dist/esm/funcs/sandboxUsageGetUsageApiV1SandboxUsageGet.d.ts.map +0 -1
  406. package/dist/esm/funcs/sandboxUsageGetUsageApiV1SandboxUsageGet.js.map +0 -1
  407. package/dist/esm/mcp-server/tools/sandboxUsageGetUsageApiV1SandboxUsageGet.d.ts +0 -8
  408. package/dist/esm/mcp-server/tools/sandboxUsageGetUsageApiV1SandboxUsageGet.d.ts.map +0 -1
  409. package/dist/esm/mcp-server/tools/sandboxUsageGetUsageApiV1SandboxUsageGet.js +0 -26
  410. package/dist/esm/mcp-server/tools/sandboxUsageGetUsageApiV1SandboxUsageGet.js.map +0 -1
  411. package/dist/esm/models/components/inputmessagewithid.d.ts +0 -89
  412. package/dist/esm/models/components/inputmessagewithid.d.ts.map +0 -1
  413. package/dist/esm/models/components/inputmessagewithid.js +0 -66
  414. package/dist/esm/models/components/inputmessagewithid.js.map +0 -1
  415. package/dist/esm/models/components/itemlistobject.d.ts +0 -33
  416. package/dist/esm/models/components/itemlistobject.d.ts.map +0 -1
  417. package/dist/esm/models/components/itemlistobject.js +0 -38
  418. package/dist/esm/models/components/itemlistobject.js.map +0 -1
  419. package/dist/esm/models/components/itemwithid.d.ts +0 -37
  420. package/dist/esm/models/components/itemwithid.d.ts.map +0 -1
  421. package/dist/esm/models/components/itemwithid.js +0 -90
  422. package/dist/esm/models/components/itemwithid.js.map +0 -1
  423. package/dist/esm/models/operations/getusageapiv1sandboxusageget.d.ts.map +0 -1
  424. package/dist/esm/models/operations/getusageapiv1sandboxusageget.js.map +0 -1
  425. package/dist/esm/react-query/sandboxUsageGetUsageApiV1SandboxUsageGet.core.d.ts +0 -21
  426. package/dist/esm/react-query/sandboxUsageGetUsageApiV1SandboxUsageGet.core.d.ts.map +0 -1
  427. package/dist/esm/react-query/sandboxUsageGetUsageApiV1SandboxUsageGet.core.js +0 -42
  428. package/dist/esm/react-query/sandboxUsageGetUsageApiV1SandboxUsageGet.core.js.map +0 -1
  429. package/dist/esm/react-query/sandboxUsageGetUsageApiV1SandboxUsageGet.d.ts +0 -44
  430. package/dist/esm/react-query/sandboxUsageGetUsageApiV1SandboxUsageGet.d.ts.map +0 -1
  431. package/dist/esm/react-query/sandboxUsageGetUsageApiV1SandboxUsageGet.js +0 -53
  432. package/dist/esm/react-query/sandboxUsageGetUsageApiV1SandboxUsageGet.js.map +0 -1
  433. package/dist/esm/sdk/sandboxusage.d.ts +0 -10
  434. package/dist/esm/sdk/sandboxusage.d.ts.map +0 -1
  435. package/dist/esm/sdk/sandboxusage.js +0 -15
  436. package/dist/esm/sdk/sandboxusage.js.map +0 -1
  437. package/src/mcp-server/tools/sandboxUsageGetUsageApiV1SandboxUsageGet.ts +0 -37
  438. package/src/models/components/inputmessagewithid.ts +0 -183
  439. package/src/models/components/itemlistobject.ts +0 -85
  440. package/src/models/components/itemwithid.ts +0 -281
  441. package/src/sdk/sandboxusage.ts +0 -25
package/bin/mcp-server.js CHANGED
@@ -52876,9 +52876,9 @@ var init_config = __esm(() => {
52876
52876
  SDK_METADATA = {
52877
52877
  language: "typescript",
52878
52878
  openapiDocVersion: "1.1.0",
52879
- sdkVersion: "0.48.37",
52879
+ sdkVersion: "0.48.39",
52880
52880
  genVersion: "2.916.2",
52881
- userAgent: "speakeasy-sdk/typescript 0.48.37 2.916.2 1.1.0 @meetkai/mka1"
52881
+ userAgent: "speakeasy-sdk/typescript 0.48.39 2.916.2 1.1.0 @meetkai/mka1"
52882
52882
  };
52883
52883
  });
52884
52884
 
@@ -60297,6 +60297,7 @@ var Strategy, Strategy$inboundSchema, Strategy$outboundSchema, EvalFewshotConfig
60297
60297
  var init_evalfewshotconfig = __esm(() => {
60298
60298
  init_esm();
60299
60299
  init_primitives();
60300
+ init_evaldataset();
60300
60301
  Strategy = {
60301
60302
  First: "first",
60302
60303
  Random: "random"
@@ -60305,7 +60306,7 @@ var init_evalfewshotconfig = __esm(() => {
60305
60306
  Strategy$outboundSchema = Strategy$inboundSchema;
60306
60307
  EvalFewshotConfig$inboundSchema = objectType({
60307
60308
  count: numberType().int().default(0),
60308
- dataset: anyType().optional(),
60309
+ dataset: EvalDataset$inboundSchema.optional(),
60309
60310
  prompt_template: stringType().optional(),
60310
60311
  target_template: stringType().optional(),
60311
60312
  example_template: stringType().default(`{{prompt}}
@@ -60324,7 +60325,7 @@ var init_evalfewshotconfig = __esm(() => {
60324
60325
  });
60325
60326
  EvalFewshotConfig$outboundSchema = objectType({
60326
60327
  count: numberType().int().default(0),
60327
- dataset: anyType().optional(),
60328
+ dataset: EvalDataset$outboundSchema.optional(),
60328
60329
  promptTemplate: stringType().optional(),
60329
60330
  targetTemplate: stringType().optional(),
60330
60331
  exampleTemplate: stringType().default(`{{prompt}}
@@ -60343,6 +60344,45 @@ var init_evalfewshotconfig = __esm(() => {
60343
60344
  });
60344
60345
  });
60345
60346
 
60347
+ // src/models/components/evalmetric.ts
60348
+ var Aggregation, Aggregation$inboundSchema, Aggregation$outboundSchema, EvalMetric$inboundSchema, EvalMetric$outboundSchema;
60349
+ var init_evalmetric = __esm(() => {
60350
+ init_esm();
60351
+ init_primitives();
60352
+ init_schemas4();
60353
+ Aggregation = {
60354
+ Mean: "mean",
60355
+ None: "none"
60356
+ };
60357
+ Aggregation$inboundSchema = nativeEnumType(Aggregation);
60358
+ Aggregation$outboundSchema = Aggregation$inboundSchema;
60359
+ EvalMetric$inboundSchema = collectExtraKeys(objectType({
60360
+ id: stringType(),
60361
+ aggregation: Aggregation$inboundSchema.default("mean"),
60362
+ higher_is_better: booleanType().default(true),
60363
+ description: stringType().optional()
60364
+ }).catchall(anyType()), "additionalProperties", true).transform((v2) => {
60365
+ return remap(v2, {
60366
+ higher_is_better: "higherIsBetter"
60367
+ });
60368
+ });
60369
+ EvalMetric$outboundSchema = objectType({
60370
+ id: stringType(),
60371
+ aggregation: Aggregation$outboundSchema.default("mean"),
60372
+ higherIsBetter: booleanType().default(true),
60373
+ description: stringType().optional(),
60374
+ additionalProperties: recordType(anyType()).optional()
60375
+ }).transform((v2) => {
60376
+ return {
60377
+ ...v2.additionalProperties,
60378
+ ...remap(v2, {
60379
+ higherIsBetter: "higher_is_better",
60380
+ additionalProperties: null
60381
+ })
60382
+ };
60383
+ });
60384
+ });
60385
+
60346
60386
  // src/models/components/evaloutputextraction.ts
60347
60387
  var Six$inboundSchema, Six$outboundSchema, Five$inboundSchema, Five$outboundSchema, EvalOutputExtractionGroup$inboundSchema, EvalOutputExtractionGroup$outboundSchema, EvalOutputExtraction4$inboundSchema, EvalOutputExtraction4$outboundSchema, Group$inboundSchema, Group$outboundSchema, EvalOutputExtraction3$inboundSchema, EvalOutputExtraction3$outboundSchema, EvalOutputExtraction2$inboundSchema, EvalOutputExtraction2$outboundSchema, EvalOutputExtraction1$inboundSchema, EvalOutputExtraction1$outboundSchema, EvalOutputExtraction$inboundSchema, EvalOutputExtraction$outboundSchema;
60348
60388
  var init_evaloutputextraction = __esm(() => {
@@ -60580,6 +60620,7 @@ var init_evaltask = __esm(() => {
60580
60620
  init_primitives();
60581
60621
  init_evaldataset();
60582
60622
  init_evalfewshotconfig();
60623
+ init_evalmetric();
60583
60624
  init_evaloutputextraction();
60584
60625
  init_evalpythongrader();
60585
60626
  init_evalpythonpreprocessor();
@@ -60593,7 +60634,7 @@ var init_evaltask = __esm(() => {
60593
60634
  target_template: stringType().optional(),
60594
60635
  choices: arrayType(stringType()).optional(),
60595
60636
  output_extraction: EvalOutputExtraction$inboundSchema.optional(),
60596
- metrics: arrayType(anyType()).optional(),
60637
+ metrics: arrayType(EvalMetric$inboundSchema).optional(),
60597
60638
  grader: EvalPythonGrader$inboundSchema,
60598
60639
  preprocess: EvalPythonPreprocessor$inboundSchema.optional(),
60599
60640
  fewshot: EvalFewshotConfig$inboundSchema.optional(),
@@ -60616,7 +60657,7 @@ var init_evaltask = __esm(() => {
60616
60657
  targetTemplate: stringType().optional(),
60617
60658
  choices: arrayType(stringType()).optional(),
60618
60659
  outputExtraction: EvalOutputExtraction$outboundSchema.optional(),
60619
- metrics: arrayType(anyType()).optional(),
60660
+ metrics: arrayType(EvalMetric$outboundSchema).optional(),
60620
60661
  grader: EvalPythonGrader$outboundSchema,
60621
60662
  preprocess: EvalPythonPreprocessor$outboundSchema.optional(),
60622
60663
  fewshot: EvalFewshotConfig$outboundSchema.optional(),
@@ -67029,51 +67070,6 @@ var init_inputitemlistobject = __esm(() => {
67029
67070
  });
67030
67071
  });
67031
67072
 
67032
- // src/models/components/inputmessagewithid.ts
67033
- var InputMessageWithIdRole, InputMessageWithIdRole$inboundSchema, InputMessageWithIdRole$outboundSchema, InputMessageWithIdContent$inboundSchema, InputMessageWithIdContent$outboundSchema, InputMessageWithId$inboundSchema, InputMessageWithId$outboundSchema;
67034
- var init_inputmessagewithid = __esm(() => {
67035
- init_esm();
67036
- init_primitives();
67037
- init_inputmessagecontent();
67038
- init_status();
67039
- InputMessageWithIdRole = {
67040
- User: "user",
67041
- Assistant: "assistant",
67042
- System: "system",
67043
- Developer: "developer"
67044
- };
67045
- InputMessageWithIdRole$inboundSchema = nativeEnumType(InputMessageWithIdRole);
67046
- InputMessageWithIdRole$outboundSchema = InputMessageWithIdRole$inboundSchema;
67047
- InputMessageWithIdContent$inboundSchema = unionType([stringType(), arrayType(InputMessageContent$inboundSchema)]);
67048
- InputMessageWithIdContent$outboundSchema = unionType([stringType(), arrayType(InputMessageContent$outboundSchema)]);
67049
- InputMessageWithId$inboundSchema = objectType({
67050
- type: literalType("message").optional(),
67051
- role: InputMessageWithIdRole$inboundSchema,
67052
- content: unionType([stringType(), arrayType(InputMessageContent$inboundSchema)]),
67053
- status: Status$inboundSchema.optional(),
67054
- id: stringType(),
67055
- response_id: nullableType(stringType()).optional(),
67056
- metadata: nullableType(recordType(stringType())).optional()
67057
- }).transform((v2) => {
67058
- return remap(v2, {
67059
- response_id: "responseId"
67060
- });
67061
- });
67062
- InputMessageWithId$outboundSchema = objectType({
67063
- type: literalType("message").optional(),
67064
- role: InputMessageWithIdRole$outboundSchema,
67065
- content: unionType([stringType(), arrayType(InputMessageContent$outboundSchema)]),
67066
- status: Status$outboundSchema.optional(),
67067
- id: stringType(),
67068
- responseId: nullableType(stringType()).optional(),
67069
- metadata: nullableType(recordType(stringType())).optional()
67070
- }).transform((v2) => {
67071
- return remap(v2, {
67072
- responseId: "response_id"
67073
- });
67074
- });
67075
- });
67076
-
67077
67073
  // src/models/components/insertdatarequest.ts
67078
67074
  var InsertDataRequest$inboundSchema, InsertDataRequest$outboundSchema;
67079
67075
  var init_insertdatarequest = __esm(() => {
@@ -67131,655 +67127,6 @@ var init_itemreferencewithid = __esm(() => {
67131
67127
  });
67132
67128
  });
67133
67129
 
67134
- // src/models/components/localshellcalloutputwithid.ts
67135
- var LocalShellCallOutputWithId$inboundSchema, LocalShellCallOutputWithId$outboundSchema;
67136
- var init_localshellcalloutputwithid = __esm(() => {
67137
- init_esm();
67138
- init_primitives();
67139
- init_status();
67140
- LocalShellCallOutputWithId$inboundSchema = objectType({
67141
- type: literalType("local_shell_call_output"),
67142
- id: stringType(),
67143
- output: stringType(),
67144
- status: Status$inboundSchema.optional(),
67145
- response_id: nullableType(stringType()).optional(),
67146
- metadata: nullableType(recordType(stringType())).optional()
67147
- }).transform((v2) => {
67148
- return remap(v2, {
67149
- response_id: "responseId"
67150
- });
67151
- });
67152
- LocalShellCallOutputWithId$outboundSchema = objectType({
67153
- type: literalType("local_shell_call_output"),
67154
- id: stringType(),
67155
- output: stringType(),
67156
- status: Status$outboundSchema.optional(),
67157
- responseId: nullableType(stringType()).optional(),
67158
- metadata: nullableType(recordType(stringType())).optional()
67159
- }).transform((v2) => {
67160
- return remap(v2, {
67161
- responseId: "response_id"
67162
- });
67163
- });
67164
- });
67165
-
67166
- // src/models/components/localshellcallwithid.ts
67167
- var LocalShellCallWithId$inboundSchema, LocalShellCallWithId$outboundSchema;
67168
- var init_localshellcallwithid = __esm(() => {
67169
- init_esm();
67170
- init_primitives();
67171
- init_localshellaction();
67172
- LocalShellCallWithId$inboundSchema = objectType({
67173
- type: literalType("local_shell_call"),
67174
- id: stringType(),
67175
- call_id: stringType(),
67176
- action: LocalShellAction$inboundSchema,
67177
- status: stringType(),
67178
- response_id: nullableType(stringType()).optional(),
67179
- metadata: nullableType(recordType(stringType())).optional()
67180
- }).transform((v2) => {
67181
- return remap(v2, {
67182
- call_id: "callId",
67183
- response_id: "responseId"
67184
- });
67185
- });
67186
- LocalShellCallWithId$outboundSchema = objectType({
67187
- type: literalType("local_shell_call"),
67188
- id: stringType(),
67189
- callId: stringType(),
67190
- action: LocalShellAction$outboundSchema,
67191
- status: stringType(),
67192
- responseId: nullableType(stringType()).optional(),
67193
- metadata: nullableType(recordType(stringType())).optional()
67194
- }).transform((v2) => {
67195
- return remap(v2, {
67196
- callId: "call_id",
67197
- responseId: "response_id"
67198
- });
67199
- });
67200
- });
67201
-
67202
- // src/models/components/mcpapprovalrequestwithid.ts
67203
- var MCPApprovalRequestWithId$inboundSchema, MCPApprovalRequestWithId$outboundSchema;
67204
- var init_mcpapprovalrequestwithid = __esm(() => {
67205
- init_esm();
67206
- init_primitives();
67207
- MCPApprovalRequestWithId$inboundSchema = objectType({
67208
- type: literalType("mcp_approval_request"),
67209
- id: stringType(),
67210
- arguments: stringType(),
67211
- name: stringType(),
67212
- server_label: stringType(),
67213
- response_id: nullableType(stringType()).optional(),
67214
- metadata: nullableType(recordType(stringType())).optional()
67215
- }).transform((v2) => {
67216
- return remap(v2, {
67217
- server_label: "serverLabel",
67218
- response_id: "responseId"
67219
- });
67220
- });
67221
- MCPApprovalRequestWithId$outboundSchema = objectType({
67222
- type: literalType("mcp_approval_request"),
67223
- id: stringType(),
67224
- arguments: stringType(),
67225
- name: stringType(),
67226
- serverLabel: stringType(),
67227
- responseId: nullableType(stringType()).optional(),
67228
- metadata: nullableType(recordType(stringType())).optional()
67229
- }).transform((v2) => {
67230
- return remap(v2, {
67231
- serverLabel: "server_label",
67232
- responseId: "response_id"
67233
- });
67234
- });
67235
- });
67236
-
67237
- // src/models/components/mcpapprovalresponsewithid.ts
67238
- var MCPApprovalResponseWithId$inboundSchema, MCPApprovalResponseWithId$outboundSchema;
67239
- var init_mcpapprovalresponsewithid = __esm(() => {
67240
- init_esm();
67241
- init_primitives();
67242
- MCPApprovalResponseWithId$inboundSchema = objectType({
67243
- type: literalType("mcp_approval_response"),
67244
- approval_request_id: stringType(),
67245
- approve: booleanType(),
67246
- id: stringType(),
67247
- reason: stringType().optional(),
67248
- response_id: nullableType(stringType()).optional(),
67249
- metadata: nullableType(recordType(stringType())).optional()
67250
- }).transform((v2) => {
67251
- return remap(v2, {
67252
- approval_request_id: "approvalRequestId",
67253
- response_id: "responseId"
67254
- });
67255
- });
67256
- MCPApprovalResponseWithId$outboundSchema = objectType({
67257
- type: literalType("mcp_approval_response"),
67258
- approvalRequestId: stringType(),
67259
- approve: booleanType(),
67260
- id: stringType(),
67261
- reason: stringType().optional(),
67262
- responseId: nullableType(stringType()).optional(),
67263
- metadata: nullableType(recordType(stringType())).optional()
67264
- }).transform((v2) => {
67265
- return remap(v2, {
67266
- approvalRequestId: "approval_request_id",
67267
- responseId: "response_id"
67268
- });
67269
- });
67270
- });
67271
-
67272
- // src/models/components/mcplisttoolswithid.ts
67273
- var MCPListToolsWithId$inboundSchema, MCPListToolsWithId$outboundSchema;
67274
- var init_mcplisttoolswithid = __esm(() => {
67275
- init_esm();
67276
- init_primitives();
67277
- init_mcptool();
67278
- MCPListToolsWithId$inboundSchema = objectType({
67279
- type: literalType("mcp_list_tools"),
67280
- id: stringType(),
67281
- server_label: stringType(),
67282
- tools: arrayType(MCPTool$inboundSchema),
67283
- error: stringType().optional(),
67284
- response_id: nullableType(stringType()).optional(),
67285
- metadata: nullableType(recordType(stringType())).optional()
67286
- }).transform((v2) => {
67287
- return remap(v2, {
67288
- server_label: "serverLabel",
67289
- response_id: "responseId"
67290
- });
67291
- });
67292
- MCPListToolsWithId$outboundSchema = objectType({
67293
- type: literalType("mcp_list_tools"),
67294
- id: stringType(),
67295
- serverLabel: stringType(),
67296
- tools: arrayType(MCPTool$outboundSchema),
67297
- error: stringType().optional(),
67298
- responseId: nullableType(stringType()).optional(),
67299
- metadata: nullableType(recordType(stringType())).optional()
67300
- }).transform((v2) => {
67301
- return remap(v2, {
67302
- serverLabel: "server_label",
67303
- responseId: "response_id"
67304
- });
67305
- });
67306
- });
67307
-
67308
- // src/models/components/mcptoolcallwithid.ts
67309
- var MCPToolCallWithId$inboundSchema, MCPToolCallWithId$outboundSchema;
67310
- var init_mcptoolcallwithid = __esm(() => {
67311
- init_esm();
67312
- init_primitives();
67313
- MCPToolCallWithId$inboundSchema = objectType({
67314
- type: literalType("mcp_call"),
67315
- id: stringType(),
67316
- arguments: stringType(),
67317
- name: stringType(),
67318
- server_label: stringType(),
67319
- error: stringType().optional(),
67320
- output: stringType().optional(),
67321
- response_id: nullableType(stringType()).optional(),
67322
- metadata: nullableType(recordType(stringType())).optional()
67323
- }).transform((v2) => {
67324
- return remap(v2, {
67325
- server_label: "serverLabel",
67326
- response_id: "responseId"
67327
- });
67328
- });
67329
- MCPToolCallWithId$outboundSchema = objectType({
67330
- type: literalType("mcp_call"),
67331
- id: stringType(),
67332
- arguments: stringType(),
67333
- name: stringType(),
67334
- serverLabel: stringType(),
67335
- error: stringType().optional(),
67336
- output: stringType().optional(),
67337
- responseId: nullableType(stringType()).optional(),
67338
- metadata: nullableType(recordType(stringType())).optional()
67339
- }).transform((v2) => {
67340
- return remap(v2, {
67341
- serverLabel: "server_label",
67342
- responseId: "response_id"
67343
- });
67344
- });
67345
- });
67346
-
67347
- // src/models/components/outputaudioitemwithid.ts
67348
- var OutputAudioItemWithIdStatus, OutputAudioItemWithIdStatus$inboundSchema, OutputAudioItemWithIdStatus$outboundSchema, OutputAudioItemWithId$inboundSchema, OutputAudioItemWithId$outboundSchema;
67349
- var init_outputaudioitemwithid = __esm(() => {
67350
- init_esm();
67351
- init_primitives();
67352
- OutputAudioItemWithIdStatus = {
67353
- InProgress: "in_progress",
67354
- Completed: "completed",
67355
- Incomplete: "incomplete"
67356
- };
67357
- OutputAudioItemWithIdStatus$inboundSchema = nativeEnumType(OutputAudioItemWithIdStatus);
67358
- OutputAudioItemWithIdStatus$outboundSchema = OutputAudioItemWithIdStatus$inboundSchema;
67359
- OutputAudioItemWithId$inboundSchema = objectType({
67360
- type: literalType("output_audio"),
67361
- data: stringType(),
67362
- transcript: stringType(),
67363
- id: stringType(),
67364
- status: OutputAudioItemWithIdStatus$inboundSchema,
67365
- response_id: nullableType(stringType()).optional(),
67366
- metadata: nullableType(recordType(stringType())).optional()
67367
- }).transform((v2) => {
67368
- return remap(v2, {
67369
- response_id: "responseId"
67370
- });
67371
- });
67372
- OutputAudioItemWithId$outboundSchema = objectType({
67373
- type: literalType("output_audio"),
67374
- data: stringType(),
67375
- transcript: stringType(),
67376
- id: stringType(),
67377
- status: OutputAudioItemWithIdStatus$outboundSchema,
67378
- responseId: nullableType(stringType()).optional(),
67379
- metadata: nullableType(recordType(stringType())).optional()
67380
- }).transform((v2) => {
67381
- return remap(v2, {
67382
- responseId: "response_id"
67383
- });
67384
- });
67385
- });
67386
-
67387
- // src/models/components/outputmessagewithid.ts
67388
- var OutputMessageWithIdStatus, OutputMessageWithIdPhase, OutputMessageWithIdContent$inboundSchema, OutputMessageWithIdContent$outboundSchema, OutputMessageWithIdStatus$inboundSchema, OutputMessageWithIdStatus$outboundSchema, OutputMessageWithIdPhase$inboundSchema, OutputMessageWithIdPhase$outboundSchema, OutputMessageWithId$inboundSchema, OutputMessageWithId$outboundSchema;
67389
- var init_outputmessagewithid = __esm(() => {
67390
- init_esm();
67391
- init_primitives();
67392
- init_outputtext();
67393
- init_refusal();
67394
- OutputMessageWithIdStatus = {
67395
- InProgress: "in_progress",
67396
- Completed: "completed",
67397
- Incomplete: "incomplete"
67398
- };
67399
- OutputMessageWithIdPhase = {
67400
- Commentary: "commentary",
67401
- FinalAnswer: "final_answer"
67402
- };
67403
- OutputMessageWithIdContent$inboundSchema = unionType([
67404
- OutputText$inboundSchema.and(objectType({ type: literalType("output_text") })),
67405
- Refusal$inboundSchema.and(objectType({ type: literalType("refusal") }))
67406
- ]);
67407
- OutputMessageWithIdContent$outboundSchema = unionType([
67408
- OutputText$outboundSchema.and(objectType({ type: literalType("output_text") })),
67409
- Refusal$outboundSchema.and(objectType({ type: literalType("refusal") }))
67410
- ]);
67411
- OutputMessageWithIdStatus$inboundSchema = nativeEnumType(OutputMessageWithIdStatus);
67412
- OutputMessageWithIdStatus$outboundSchema = OutputMessageWithIdStatus$inboundSchema;
67413
- OutputMessageWithIdPhase$inboundSchema = nativeEnumType(OutputMessageWithIdPhase);
67414
- OutputMessageWithIdPhase$outboundSchema = OutputMessageWithIdPhase$inboundSchema;
67415
- OutputMessageWithId$inboundSchema = objectType({
67416
- type: literalType("message"),
67417
- id: stringType(),
67418
- role: literalType("assistant"),
67419
- content: arrayType(unionType([
67420
- OutputText$inboundSchema.and(objectType({ type: literalType("output_text") })),
67421
- Refusal$inboundSchema.and(objectType({ type: literalType("refusal") }))
67422
- ])),
67423
- status: OutputMessageWithIdStatus$inboundSchema,
67424
- phase: OutputMessageWithIdPhase$inboundSchema.optional(),
67425
- response_id: nullableType(stringType()).optional(),
67426
- metadata: nullableType(recordType(stringType())).optional()
67427
- }).transform((v2) => {
67428
- return remap(v2, {
67429
- response_id: "responseId"
67430
- });
67431
- });
67432
- OutputMessageWithId$outboundSchema = objectType({
67433
- type: literalType("message"),
67434
- id: stringType(),
67435
- role: literalType("assistant"),
67436
- content: arrayType(unionType([
67437
- OutputText$outboundSchema.and(objectType({ type: literalType("output_text") })),
67438
- Refusal$outboundSchema.and(objectType({ type: literalType("refusal") }))
67439
- ])),
67440
- status: OutputMessageWithIdStatus$outboundSchema,
67441
- phase: OutputMessageWithIdPhase$outboundSchema.optional(),
67442
- responseId: nullableType(stringType()).optional(),
67443
- metadata: nullableType(recordType(stringType())).optional()
67444
- }).transform((v2) => {
67445
- return remap(v2, {
67446
- responseId: "response_id"
67447
- });
67448
- });
67449
- });
67450
-
67451
- // src/models/components/reasoningwithid.ts
67452
- var ReasoningWithId$inboundSchema, ReasoningWithId$outboundSchema;
67453
- var init_reasoningwithid = __esm(() => {
67454
- init_esm();
67455
- init_primitives();
67456
- init_reasoningtext();
67457
- init_status();
67458
- init_summarytext();
67459
- ReasoningWithId$inboundSchema = objectType({
67460
- type: literalType("reasoning"),
67461
- id: stringType(),
67462
- summary: arrayType(SummaryText$inboundSchema),
67463
- content: arrayType(ReasoningText$inboundSchema).optional(),
67464
- encrypted_content: nullableType(stringType()).optional(),
67465
- status: nullableType(Status$inboundSchema).optional(),
67466
- response_id: nullableType(stringType()).optional(),
67467
- metadata: nullableType(recordType(stringType())).optional()
67468
- }).transform((v2) => {
67469
- return remap(v2, {
67470
- encrypted_content: "encryptedContent",
67471
- response_id: "responseId"
67472
- });
67473
- });
67474
- ReasoningWithId$outboundSchema = objectType({
67475
- type: literalType("reasoning"),
67476
- id: stringType(),
67477
- summary: arrayType(SummaryText$outboundSchema),
67478
- content: arrayType(ReasoningText$outboundSchema).optional(),
67479
- encryptedContent: nullableType(stringType()).optional(),
67480
- status: nullableType(Status$outboundSchema).optional(),
67481
- responseId: nullableType(stringType()).optional(),
67482
- metadata: nullableType(recordType(stringType())).optional()
67483
- }).transform((v2) => {
67484
- return remap(v2, {
67485
- encryptedContent: "encrypted_content",
67486
- responseId: "response_id"
67487
- });
67488
- });
67489
- });
67490
-
67491
- // src/models/components/responsecompactionitemwithid.ts
67492
- var ResponseCompactionItemWithId$inboundSchema, ResponseCompactionItemWithId$outboundSchema;
67493
- var init_responsecompactionitemwithid = __esm(() => {
67494
- init_esm();
67495
- init_primitives();
67496
- ResponseCompactionItemWithId$inboundSchema = objectType({
67497
- type: literalType("compaction"),
67498
- id: stringType(),
67499
- content: stringType(),
67500
- encrypted_content: stringType().optional(),
67501
- created_by: stringType().optional(),
67502
- response_id: nullableType(stringType()).optional(),
67503
- metadata: nullableType(recordType(stringType())).optional()
67504
- }).transform((v2) => {
67505
- return remap(v2, {
67506
- encrypted_content: "encryptedContent",
67507
- created_by: "createdBy",
67508
- response_id: "responseId"
67509
- });
67510
- });
67511
- ResponseCompactionItemWithId$outboundSchema = objectType({
67512
- type: literalType("compaction"),
67513
- id: stringType(),
67514
- content: stringType(),
67515
- encryptedContent: stringType().optional(),
67516
- createdBy: stringType().optional(),
67517
- responseId: nullableType(stringType()).optional(),
67518
- metadata: nullableType(recordType(stringType())).optional()
67519
- }).transform((v2) => {
67520
- return remap(v2, {
67521
- encryptedContent: "encrypted_content",
67522
- createdBy: "created_by",
67523
- responseId: "response_id"
67524
- });
67525
- });
67526
- });
67527
-
67528
- // src/models/components/shellcalloutputwithid.ts
67529
- var ShellCallOutputWithIdType, ShellCallOutputWithIdType$inboundSchema, ShellCallOutputWithIdType$outboundSchema, ShellCallOutputWithIdOutcome$inboundSchema, ShellCallOutputWithIdOutcome$outboundSchema, ShellCallOutputWithIdOutput$inboundSchema, ShellCallOutputWithIdOutput$outboundSchema, ShellCallOutputWithId$inboundSchema, ShellCallOutputWithId$outboundSchema;
67530
- var init_shellcalloutputwithid = __esm(() => {
67531
- init_esm();
67532
- init_primitives();
67533
- init_status();
67534
- ShellCallOutputWithIdType = {
67535
- Exit: "exit",
67536
- Timeout: "timeout"
67537
- };
67538
- ShellCallOutputWithIdType$inboundSchema = nativeEnumType(ShellCallOutputWithIdType);
67539
- ShellCallOutputWithIdType$outboundSchema = ShellCallOutputWithIdType$inboundSchema;
67540
- ShellCallOutputWithIdOutcome$inboundSchema = objectType({
67541
- type: ShellCallOutputWithIdType$inboundSchema,
67542
- exit_code: nullableType(numberType().int())
67543
- }).transform((v2) => {
67544
- return remap(v2, {
67545
- exit_code: "exitCode"
67546
- });
67547
- });
67548
- ShellCallOutputWithIdOutcome$outboundSchema = objectType({
67549
- type: ShellCallOutputWithIdType$outboundSchema,
67550
- exitCode: nullableType(numberType().int())
67551
- }).transform((v2) => {
67552
- return remap(v2, {
67553
- exitCode: "exit_code"
67554
- });
67555
- });
67556
- ShellCallOutputWithIdOutput$inboundSchema = objectType({
67557
- stdout: stringType(),
67558
- stderr: stringType(),
67559
- outcome: lazyType(() => ShellCallOutputWithIdOutcome$inboundSchema)
67560
- });
67561
- ShellCallOutputWithIdOutput$outboundSchema = objectType({
67562
- stdout: stringType(),
67563
- stderr: stringType(),
67564
- outcome: lazyType(() => ShellCallOutputWithIdOutcome$outboundSchema)
67565
- });
67566
- ShellCallOutputWithId$inboundSchema = objectType({
67567
- type: literalType("shell_call_output"),
67568
- id: stringType(),
67569
- call_id: stringType(),
67570
- output: lazyType(() => ShellCallOutputWithIdOutput$inboundSchema),
67571
- status: Status$inboundSchema.optional(),
67572
- response_id: nullableType(stringType()).optional(),
67573
- metadata: nullableType(recordType(stringType())).optional()
67574
- }).transform((v2) => {
67575
- return remap(v2, {
67576
- call_id: "callId",
67577
- response_id: "responseId"
67578
- });
67579
- });
67580
- ShellCallOutputWithId$outboundSchema = objectType({
67581
- type: literalType("shell_call_output"),
67582
- id: stringType(),
67583
- callId: stringType(),
67584
- output: lazyType(() => ShellCallOutputWithIdOutput$outboundSchema),
67585
- status: Status$outboundSchema.optional(),
67586
- responseId: nullableType(stringType()).optional(),
67587
- metadata: nullableType(recordType(stringType())).optional()
67588
- }).transform((v2) => {
67589
- return remap(v2, {
67590
- callId: "call_id",
67591
- responseId: "response_id"
67592
- });
67593
- });
67594
- });
67595
-
67596
- // src/models/components/shellcallwithid.ts
67597
- var ShellCallWithIdStatus, ShellCallWithIdStatus$inboundSchema, ShellCallWithIdStatus$outboundSchema, ShellCallWithId$inboundSchema, ShellCallWithId$outboundSchema;
67598
- var init_shellcallwithid = __esm(() => {
67599
- init_esm();
67600
- init_primitives();
67601
- init_shellcallaction();
67602
- ShellCallWithIdStatus = {
67603
- InProgress: "in_progress",
67604
- Completed: "completed",
67605
- Incomplete: "incomplete"
67606
- };
67607
- ShellCallWithIdStatus$inboundSchema = nativeEnumType(ShellCallWithIdStatus);
67608
- ShellCallWithIdStatus$outboundSchema = ShellCallWithIdStatus$inboundSchema;
67609
- ShellCallWithId$inboundSchema = objectType({
67610
- type: literalType("shell_call"),
67611
- id: stringType(),
67612
- call_id: stringType(),
67613
- action: ShellCallAction$inboundSchema,
67614
- status: ShellCallWithIdStatus$inboundSchema,
67615
- response_id: nullableType(stringType()).optional(),
67616
- metadata: nullableType(recordType(stringType())).optional()
67617
- }).transform((v2) => {
67618
- return remap(v2, {
67619
- call_id: "callId",
67620
- response_id: "responseId"
67621
- });
67622
- });
67623
- ShellCallWithId$outboundSchema = objectType({
67624
- type: literalType("shell_call"),
67625
- id: stringType(),
67626
- callId: stringType(),
67627
- action: ShellCallAction$outboundSchema,
67628
- status: ShellCallWithIdStatus$outboundSchema,
67629
- responseId: nullableType(stringType()).optional(),
67630
- metadata: nullableType(recordType(stringType())).optional()
67631
- }).transform((v2) => {
67632
- return remap(v2, {
67633
- callId: "call_id",
67634
- responseId: "response_id"
67635
- });
67636
- });
67637
- });
67638
-
67639
- // src/models/components/websearchtoolcallwithid.ts
67640
- var WebSearchToolCallWithId$inboundSchema, WebSearchToolCallWithId$outboundSchema;
67641
- var init_websearchtoolcallwithid = __esm(() => {
67642
- init_esm();
67643
- init_primitives();
67644
- init_websearchaction();
67645
- WebSearchToolCallWithId$inboundSchema = objectType({
67646
- type: literalType("web_search_call"),
67647
- id: stringType(),
67648
- action: WebSearchAction$inboundSchema,
67649
- status: stringType(),
67650
- response_id: nullableType(stringType()).optional(),
67651
- metadata: nullableType(recordType(stringType())).optional()
67652
- }).transform((v2) => {
67653
- return remap(v2, {
67654
- response_id: "responseId"
67655
- });
67656
- });
67657
- WebSearchToolCallWithId$outboundSchema = objectType({
67658
- type: literalType("web_search_call"),
67659
- id: stringType(),
67660
- action: WebSearchAction$outboundSchema,
67661
- status: stringType(),
67662
- responseId: nullableType(stringType()).optional(),
67663
- metadata: nullableType(recordType(stringType())).optional()
67664
- }).transform((v2) => {
67665
- return remap(v2, {
67666
- responseId: "response_id"
67667
- });
67668
- });
67669
- });
67670
-
67671
- // src/models/components/itemwithid.ts
67672
- var ItemWithId$inboundSchema, ItemWithId$outboundSchema;
67673
- var init_itemwithid = __esm(() => {
67674
- init_esm();
67675
- init_codeinterpretertoolcallwithid();
67676
- init_computertoolcalloutputwithid();
67677
- init_computertoolcallwithid();
67678
- init_customtoolcalloutputwithid();
67679
- init_customtoolcallwithid();
67680
- init_filesearchtoolcallwithid();
67681
- init_functiontoolcalloutputwithid();
67682
- init_functiontoolcallwithid();
67683
- init_imagegenerationcallwithid();
67684
- init_inputmessagewithid();
67685
- init_itemreferencewithid();
67686
- init_localshellcalloutputwithid();
67687
- init_localshellcallwithid();
67688
- init_mcpapprovalrequestwithid();
67689
- init_mcpapprovalresponsewithid();
67690
- init_mcplisttoolswithid();
67691
- init_mcptoolcallwithid();
67692
- init_outputaudioitemwithid();
67693
- init_outputmessagewithid();
67694
- init_reasoningwithid();
67695
- init_responsecompactionitemwithid();
67696
- init_shellcalloutputwithid();
67697
- init_shellcallwithid();
67698
- init_websearchtoolcallwithid();
67699
- ItemWithId$inboundSchema = unionType([
67700
- ComputerToolCallWithId$inboundSchema,
67701
- CodeInterpreterToolCallWithId$inboundSchema,
67702
- OutputMessageWithId$inboundSchema,
67703
- OutputAudioItemWithId$inboundSchema,
67704
- FunctionToolCallWithId$inboundSchema,
67705
- LocalShellCallWithId$inboundSchema,
67706
- ShellCallWithId$inboundSchema,
67707
- MCPApprovalRequestWithId$inboundSchema,
67708
- MCPToolCallWithId$inboundSchema,
67709
- CustomToolCallWithId$inboundSchema,
67710
- FileSearchToolCallWithId$inboundSchema,
67711
- ComputerToolCallOutputWithId$inboundSchema,
67712
- WebSearchToolCallWithId$inboundSchema,
67713
- FunctionToolCallOutputWithId$inboundSchema,
67714
- ImageGenerationCallWithId$inboundSchema,
67715
- ShellCallOutputWithId$inboundSchema,
67716
- MCPListToolsWithId$inboundSchema,
67717
- MCPApprovalResponseWithId$inboundSchema,
67718
- CustomToolCallOutputWithId$inboundSchema,
67719
- InputMessageWithId$inboundSchema,
67720
- ReasoningWithId$inboundSchema,
67721
- LocalShellCallOutputWithId$inboundSchema,
67722
- ResponseCompactionItemWithId$inboundSchema,
67723
- ItemReferenceWithId$inboundSchema
67724
- ]);
67725
- ItemWithId$outboundSchema = unionType([
67726
- ComputerToolCallWithId$outboundSchema,
67727
- CodeInterpreterToolCallWithId$outboundSchema,
67728
- OutputMessageWithId$outboundSchema,
67729
- OutputAudioItemWithId$outboundSchema,
67730
- FunctionToolCallWithId$outboundSchema,
67731
- LocalShellCallWithId$outboundSchema,
67732
- ShellCallWithId$outboundSchema,
67733
- MCPApprovalRequestWithId$outboundSchema,
67734
- MCPToolCallWithId$outboundSchema,
67735
- CustomToolCallWithId$outboundSchema,
67736
- FileSearchToolCallWithId$outboundSchema,
67737
- ComputerToolCallOutputWithId$outboundSchema,
67738
- WebSearchToolCallWithId$outboundSchema,
67739
- FunctionToolCallOutputWithId$outboundSchema,
67740
- ImageGenerationCallWithId$outboundSchema,
67741
- ShellCallOutputWithId$outboundSchema,
67742
- MCPListToolsWithId$outboundSchema,
67743
- MCPApprovalResponseWithId$outboundSchema,
67744
- CustomToolCallOutputWithId$outboundSchema,
67745
- InputMessageWithId$outboundSchema,
67746
- ReasoningWithId$outboundSchema,
67747
- LocalShellCallOutputWithId$outboundSchema,
67748
- ResponseCompactionItemWithId$outboundSchema,
67749
- ItemReferenceWithId$outboundSchema
67750
- ]);
67751
- });
67752
-
67753
- // src/models/components/itemlistobject.ts
67754
- var ItemListObject$inboundSchema, ItemListObject$outboundSchema;
67755
- var init_itemlistobject = __esm(() => {
67756
- init_esm();
67757
- init_primitives();
67758
- init_itemwithid();
67759
- ItemListObject$inboundSchema = objectType({
67760
- object: literalType("list").optional(),
67761
- data: arrayType(ItemWithId$inboundSchema),
67762
- has_more: booleanType(),
67763
- last_id: stringType()
67764
- }).transform((v2) => {
67765
- return remap(v2, {
67766
- has_more: "hasMore",
67767
- last_id: "lastId"
67768
- });
67769
- });
67770
- ItemListObject$outboundSchema = objectType({
67771
- object: literalType("list").optional(),
67772
- data: arrayType(ItemWithId$outboundSchema),
67773
- hasMore: booleanType(),
67774
- lastId: stringType()
67775
- }).transform((v2) => {
67776
- return remap(v2, {
67777
- hasMore: "has_more",
67778
- lastId: "last_id"
67779
- });
67780
- });
67781
- });
67782
-
67783
67130
  // src/models/components/jobevent.ts
67784
67131
  var JobEvent$inboundSchema, JobEvent$outboundSchema;
67785
67132
  var init_jobevent = __esm(() => {
@@ -69122,6 +68469,74 @@ var init_livekittokenresponse = __esm(() => {
69122
68469
  });
69123
68470
  });
69124
68471
 
68472
+ // src/models/components/localshellcalloutputwithid.ts
68473
+ var LocalShellCallOutputWithId$inboundSchema, LocalShellCallOutputWithId$outboundSchema;
68474
+ var init_localshellcalloutputwithid = __esm(() => {
68475
+ init_esm();
68476
+ init_primitives();
68477
+ init_status();
68478
+ LocalShellCallOutputWithId$inboundSchema = objectType({
68479
+ type: literalType("local_shell_call_output"),
68480
+ id: stringType(),
68481
+ output: stringType(),
68482
+ status: Status$inboundSchema.optional(),
68483
+ response_id: nullableType(stringType()).optional(),
68484
+ metadata: nullableType(recordType(stringType())).optional()
68485
+ }).transform((v2) => {
68486
+ return remap(v2, {
68487
+ response_id: "responseId"
68488
+ });
68489
+ });
68490
+ LocalShellCallOutputWithId$outboundSchema = objectType({
68491
+ type: literalType("local_shell_call_output"),
68492
+ id: stringType(),
68493
+ output: stringType(),
68494
+ status: Status$outboundSchema.optional(),
68495
+ responseId: nullableType(stringType()).optional(),
68496
+ metadata: nullableType(recordType(stringType())).optional()
68497
+ }).transform((v2) => {
68498
+ return remap(v2, {
68499
+ responseId: "response_id"
68500
+ });
68501
+ });
68502
+ });
68503
+
68504
+ // src/models/components/localshellcallwithid.ts
68505
+ var LocalShellCallWithId$inboundSchema, LocalShellCallWithId$outboundSchema;
68506
+ var init_localshellcallwithid = __esm(() => {
68507
+ init_esm();
68508
+ init_primitives();
68509
+ init_localshellaction();
68510
+ LocalShellCallWithId$inboundSchema = objectType({
68511
+ type: literalType("local_shell_call"),
68512
+ id: stringType(),
68513
+ call_id: stringType(),
68514
+ action: LocalShellAction$inboundSchema,
68515
+ status: stringType(),
68516
+ response_id: nullableType(stringType()).optional(),
68517
+ metadata: nullableType(recordType(stringType())).optional()
68518
+ }).transform((v2) => {
68519
+ return remap(v2, {
68520
+ call_id: "callId",
68521
+ response_id: "responseId"
68522
+ });
68523
+ });
68524
+ LocalShellCallWithId$outboundSchema = objectType({
68525
+ type: literalType("local_shell_call"),
68526
+ id: stringType(),
68527
+ callId: stringType(),
68528
+ action: LocalShellAction$outboundSchema,
68529
+ status: stringType(),
68530
+ responseId: nullableType(stringType()).optional(),
68531
+ metadata: nullableType(recordType(stringType())).optional()
68532
+ }).transform((v2) => {
68533
+ return remap(v2, {
68534
+ callId: "call_id",
68535
+ responseId: "response_id"
68536
+ });
68537
+ });
68538
+ });
68539
+
69125
68540
  // src/models/components/logline.ts
69126
68541
  var LogLine$inboundSchema, LogLine$outboundSchema;
69127
68542
  var init_logline = __esm(() => {
@@ -69154,6 +68569,76 @@ var init_logprobtoken = __esm(() => {
69154
68569
  });
69155
68570
  });
69156
68571
 
68572
+ // src/models/components/mcpapprovalrequestwithid.ts
68573
+ var MCPApprovalRequestWithId$inboundSchema, MCPApprovalRequestWithId$outboundSchema;
68574
+ var init_mcpapprovalrequestwithid = __esm(() => {
68575
+ init_esm();
68576
+ init_primitives();
68577
+ MCPApprovalRequestWithId$inboundSchema = objectType({
68578
+ type: literalType("mcp_approval_request"),
68579
+ id: stringType(),
68580
+ arguments: stringType(),
68581
+ name: stringType(),
68582
+ server_label: stringType(),
68583
+ response_id: nullableType(stringType()).optional(),
68584
+ metadata: nullableType(recordType(stringType())).optional()
68585
+ }).transform((v2) => {
68586
+ return remap(v2, {
68587
+ server_label: "serverLabel",
68588
+ response_id: "responseId"
68589
+ });
68590
+ });
68591
+ MCPApprovalRequestWithId$outboundSchema = objectType({
68592
+ type: literalType("mcp_approval_request"),
68593
+ id: stringType(),
68594
+ arguments: stringType(),
68595
+ name: stringType(),
68596
+ serverLabel: stringType(),
68597
+ responseId: nullableType(stringType()).optional(),
68598
+ metadata: nullableType(recordType(stringType())).optional()
68599
+ }).transform((v2) => {
68600
+ return remap(v2, {
68601
+ serverLabel: "server_label",
68602
+ responseId: "response_id"
68603
+ });
68604
+ });
68605
+ });
68606
+
68607
+ // src/models/components/mcpapprovalresponsewithid.ts
68608
+ var MCPApprovalResponseWithId$inboundSchema, MCPApprovalResponseWithId$outboundSchema;
68609
+ var init_mcpapprovalresponsewithid = __esm(() => {
68610
+ init_esm();
68611
+ init_primitives();
68612
+ MCPApprovalResponseWithId$inboundSchema = objectType({
68613
+ type: literalType("mcp_approval_response"),
68614
+ approval_request_id: stringType(),
68615
+ approve: booleanType(),
68616
+ id: stringType(),
68617
+ reason: stringType().optional(),
68618
+ response_id: nullableType(stringType()).optional(),
68619
+ metadata: nullableType(recordType(stringType())).optional()
68620
+ }).transform((v2) => {
68621
+ return remap(v2, {
68622
+ approval_request_id: "approvalRequestId",
68623
+ response_id: "responseId"
68624
+ });
68625
+ });
68626
+ MCPApprovalResponseWithId$outboundSchema = objectType({
68627
+ type: literalType("mcp_approval_response"),
68628
+ approvalRequestId: stringType(),
68629
+ approve: booleanType(),
68630
+ id: stringType(),
68631
+ reason: stringType().optional(),
68632
+ responseId: nullableType(stringType()).optional(),
68633
+ metadata: nullableType(recordType(stringType())).optional()
68634
+ }).transform((v2) => {
68635
+ return remap(v2, {
68636
+ approvalRequestId: "approval_request_id",
68637
+ responseId: "response_id"
68638
+ });
68639
+ });
68640
+ });
68641
+
69157
68642
  // src/models/components/mcpcredential.ts
69158
68643
  var McpCredential$inboundSchema, McpCredential$outboundSchema;
69159
68644
  var init_mcpcredential = __esm(() => {
@@ -69270,6 +68755,42 @@ var init_mcpdeleted = __esm(() => {
69270
68755
  });
69271
68756
  });
69272
68757
 
68758
+ // src/models/components/mcplisttoolswithid.ts
68759
+ var MCPListToolsWithId$inboundSchema, MCPListToolsWithId$outboundSchema;
68760
+ var init_mcplisttoolswithid = __esm(() => {
68761
+ init_esm();
68762
+ init_primitives();
68763
+ init_mcptool();
68764
+ MCPListToolsWithId$inboundSchema = objectType({
68765
+ type: literalType("mcp_list_tools"),
68766
+ id: stringType(),
68767
+ server_label: stringType(),
68768
+ tools: arrayType(MCPTool$inboundSchema),
68769
+ error: stringType().optional(),
68770
+ response_id: nullableType(stringType()).optional(),
68771
+ metadata: nullableType(recordType(stringType())).optional()
68772
+ }).transform((v2) => {
68773
+ return remap(v2, {
68774
+ server_label: "serverLabel",
68775
+ response_id: "responseId"
68776
+ });
68777
+ });
68778
+ MCPListToolsWithId$outboundSchema = objectType({
68779
+ type: literalType("mcp_list_tools"),
68780
+ id: stringType(),
68781
+ serverLabel: stringType(),
68782
+ tools: arrayType(MCPTool$outboundSchema),
68783
+ error: stringType().optional(),
68784
+ responseId: nullableType(stringType()).optional(),
68785
+ metadata: nullableType(recordType(stringType())).optional()
68786
+ }).transform((v2) => {
68787
+ return remap(v2, {
68788
+ serverLabel: "server_label",
68789
+ responseId: "response_id"
68790
+ });
68791
+ });
68792
+ });
68793
+
69273
68794
  // src/models/components/mcpserver.ts
69274
68795
  var McpServer$inboundSchema, McpServer$outboundSchema;
69275
68796
  var init_mcpserver = __esm(() => {
@@ -69407,6 +68928,45 @@ var init_mcptoolapprovalfilter = __esm(() => {
69407
68928
  });
69408
68929
  });
69409
68930
 
68931
+ // src/models/components/mcptoolcallwithid.ts
68932
+ var MCPToolCallWithId$inboundSchema, MCPToolCallWithId$outboundSchema;
68933
+ var init_mcptoolcallwithid = __esm(() => {
68934
+ init_esm();
68935
+ init_primitives();
68936
+ MCPToolCallWithId$inboundSchema = objectType({
68937
+ type: literalType("mcp_call"),
68938
+ id: stringType(),
68939
+ arguments: stringType(),
68940
+ name: stringType(),
68941
+ server_label: stringType(),
68942
+ error: stringType().optional(),
68943
+ output: stringType().optional(),
68944
+ response_id: nullableType(stringType()).optional(),
68945
+ metadata: nullableType(recordType(stringType())).optional()
68946
+ }).transform((v2) => {
68947
+ return remap(v2, {
68948
+ server_label: "serverLabel",
68949
+ response_id: "responseId"
68950
+ });
68951
+ });
68952
+ MCPToolCallWithId$outboundSchema = objectType({
68953
+ type: literalType("mcp_call"),
68954
+ id: stringType(),
68955
+ arguments: stringType(),
68956
+ name: stringType(),
68957
+ serverLabel: stringType(),
68958
+ error: stringType().optional(),
68959
+ output: stringType().optional(),
68960
+ responseId: nullableType(stringType()).optional(),
68961
+ metadata: nullableType(recordType(stringType())).optional()
68962
+ }).transform((v2) => {
68963
+ return remap(v2, {
68964
+ serverLabel: "server_label",
68965
+ responseId: "response_id"
68966
+ });
68967
+ });
68968
+ });
68969
+
69410
68970
  // src/models/components/memoryentry.ts
69411
68971
  var MemoryEntry$inboundSchema, MemoryEntry$outboundSchema;
69412
68972
  var init_memoryentry = __esm(() => {
@@ -70831,6 +70391,110 @@ var init_openaichatcompletionrequestparams = __esm(() => {
70831
70391
  });
70832
70392
  });
70833
70393
 
70394
+ // src/models/components/outputaudioitemwithid.ts
70395
+ var OutputAudioItemWithIdStatus, OutputAudioItemWithIdStatus$inboundSchema, OutputAudioItemWithIdStatus$outboundSchema, OutputAudioItemWithId$inboundSchema, OutputAudioItemWithId$outboundSchema;
70396
+ var init_outputaudioitemwithid = __esm(() => {
70397
+ init_esm();
70398
+ init_primitives();
70399
+ OutputAudioItemWithIdStatus = {
70400
+ InProgress: "in_progress",
70401
+ Completed: "completed",
70402
+ Incomplete: "incomplete"
70403
+ };
70404
+ OutputAudioItemWithIdStatus$inboundSchema = nativeEnumType(OutputAudioItemWithIdStatus);
70405
+ OutputAudioItemWithIdStatus$outboundSchema = OutputAudioItemWithIdStatus$inboundSchema;
70406
+ OutputAudioItemWithId$inboundSchema = objectType({
70407
+ type: literalType("output_audio"),
70408
+ data: stringType(),
70409
+ transcript: stringType(),
70410
+ id: stringType(),
70411
+ status: OutputAudioItemWithIdStatus$inboundSchema,
70412
+ response_id: nullableType(stringType()).optional(),
70413
+ metadata: nullableType(recordType(stringType())).optional()
70414
+ }).transform((v2) => {
70415
+ return remap(v2, {
70416
+ response_id: "responseId"
70417
+ });
70418
+ });
70419
+ OutputAudioItemWithId$outboundSchema = objectType({
70420
+ type: literalType("output_audio"),
70421
+ data: stringType(),
70422
+ transcript: stringType(),
70423
+ id: stringType(),
70424
+ status: OutputAudioItemWithIdStatus$outboundSchema,
70425
+ responseId: nullableType(stringType()).optional(),
70426
+ metadata: nullableType(recordType(stringType())).optional()
70427
+ }).transform((v2) => {
70428
+ return remap(v2, {
70429
+ responseId: "response_id"
70430
+ });
70431
+ });
70432
+ });
70433
+
70434
+ // src/models/components/outputmessagewithid.ts
70435
+ var OutputMessageWithIdStatus, OutputMessageWithIdPhase, OutputMessageWithIdContent$inboundSchema, OutputMessageWithIdContent$outboundSchema, OutputMessageWithIdStatus$inboundSchema, OutputMessageWithIdStatus$outboundSchema, OutputMessageWithIdPhase$inboundSchema, OutputMessageWithIdPhase$outboundSchema, OutputMessageWithId$inboundSchema, OutputMessageWithId$outboundSchema;
70436
+ var init_outputmessagewithid = __esm(() => {
70437
+ init_esm();
70438
+ init_primitives();
70439
+ init_outputtext();
70440
+ init_refusal();
70441
+ OutputMessageWithIdStatus = {
70442
+ InProgress: "in_progress",
70443
+ Completed: "completed",
70444
+ Incomplete: "incomplete"
70445
+ };
70446
+ OutputMessageWithIdPhase = {
70447
+ Commentary: "commentary",
70448
+ FinalAnswer: "final_answer"
70449
+ };
70450
+ OutputMessageWithIdContent$inboundSchema = unionType([
70451
+ OutputText$inboundSchema.and(objectType({ type: literalType("output_text") })),
70452
+ Refusal$inboundSchema.and(objectType({ type: literalType("refusal") }))
70453
+ ]);
70454
+ OutputMessageWithIdContent$outboundSchema = unionType([
70455
+ OutputText$outboundSchema.and(objectType({ type: literalType("output_text") })),
70456
+ Refusal$outboundSchema.and(objectType({ type: literalType("refusal") }))
70457
+ ]);
70458
+ OutputMessageWithIdStatus$inboundSchema = nativeEnumType(OutputMessageWithIdStatus);
70459
+ OutputMessageWithIdStatus$outboundSchema = OutputMessageWithIdStatus$inboundSchema;
70460
+ OutputMessageWithIdPhase$inboundSchema = nativeEnumType(OutputMessageWithIdPhase);
70461
+ OutputMessageWithIdPhase$outboundSchema = OutputMessageWithIdPhase$inboundSchema;
70462
+ OutputMessageWithId$inboundSchema = objectType({
70463
+ type: literalType("message"),
70464
+ id: stringType(),
70465
+ role: literalType("assistant"),
70466
+ content: arrayType(unionType([
70467
+ OutputText$inboundSchema.and(objectType({ type: literalType("output_text") })),
70468
+ Refusal$inboundSchema.and(objectType({ type: literalType("refusal") }))
70469
+ ])),
70470
+ status: OutputMessageWithIdStatus$inboundSchema,
70471
+ phase: OutputMessageWithIdPhase$inboundSchema.optional(),
70472
+ response_id: nullableType(stringType()).optional(),
70473
+ metadata: nullableType(recordType(stringType())).optional()
70474
+ }).transform((v2) => {
70475
+ return remap(v2, {
70476
+ response_id: "responseId"
70477
+ });
70478
+ });
70479
+ OutputMessageWithId$outboundSchema = objectType({
70480
+ type: literalType("message"),
70481
+ id: stringType(),
70482
+ role: literalType("assistant"),
70483
+ content: arrayType(unionType([
70484
+ OutputText$outboundSchema.and(objectType({ type: literalType("output_text") })),
70485
+ Refusal$outboundSchema.and(objectType({ type: literalType("refusal") }))
70486
+ ])),
70487
+ status: OutputMessageWithIdStatus$outboundSchema,
70488
+ phase: OutputMessageWithIdPhase$outboundSchema.optional(),
70489
+ responseId: nullableType(stringType()).optional(),
70490
+ metadata: nullableType(recordType(stringType())).optional()
70491
+ }).transform((v2) => {
70492
+ return remap(v2, {
70493
+ responseId: "response_id"
70494
+ });
70495
+ });
70496
+ });
70497
+
70834
70498
  // src/models/components/pageacceleratortype.ts
70835
70499
  var PageAcceleratorType$inboundSchema, PageAcceleratorType$outboundSchema;
70836
70500
  var init_pageacceleratortype = __esm(() => {
@@ -71351,6 +71015,46 @@ var init_putorgautomodelrequest = __esm(() => {
71351
71015
  });
71352
71016
  });
71353
71017
 
71018
+ // src/models/components/reasoningwithid.ts
71019
+ var ReasoningWithId$inboundSchema, ReasoningWithId$outboundSchema;
71020
+ var init_reasoningwithid = __esm(() => {
71021
+ init_esm();
71022
+ init_primitives();
71023
+ init_reasoningtext();
71024
+ init_status();
71025
+ init_summarytext();
71026
+ ReasoningWithId$inboundSchema = objectType({
71027
+ type: literalType("reasoning"),
71028
+ id: stringType(),
71029
+ summary: arrayType(SummaryText$inboundSchema),
71030
+ content: arrayType(ReasoningText$inboundSchema).optional(),
71031
+ encrypted_content: nullableType(stringType()).optional(),
71032
+ status: nullableType(Status$inboundSchema).optional(),
71033
+ response_id: nullableType(stringType()).optional(),
71034
+ metadata: nullableType(recordType(stringType())).optional()
71035
+ }).transform((v2) => {
71036
+ return remap(v2, {
71037
+ encrypted_content: "encryptedContent",
71038
+ response_id: "responseId"
71039
+ });
71040
+ });
71041
+ ReasoningWithId$outboundSchema = objectType({
71042
+ type: literalType("reasoning"),
71043
+ id: stringType(),
71044
+ summary: arrayType(SummaryText$outboundSchema),
71045
+ content: arrayType(ReasoningText$outboundSchema).optional(),
71046
+ encryptedContent: nullableType(stringType()).optional(),
71047
+ status: nullableType(Status$outboundSchema).optional(),
71048
+ responseId: nullableType(stringType()).optional(),
71049
+ metadata: nullableType(recordType(stringType())).optional()
71050
+ }).transform((v2) => {
71051
+ return remap(v2, {
71052
+ encryptedContent: "encrypted_content",
71053
+ responseId: "response_id"
71054
+ });
71055
+ });
71056
+ });
71057
+
71354
71058
  // src/models/components/registrymodelresponse.ts
71355
71059
  var Health$inboundSchema, Health$outboundSchema, RegistryModelResponse$inboundSchema, RegistryModelResponse$outboundSchema;
71356
71060
  var init_registrymodelresponse = __esm(() => {
@@ -71444,7 +71148,7 @@ var init_responsestatus = __esm(() => {
71444
71148
  });
71445
71149
 
71446
71150
  // src/models/components/responseobject.ts
71447
- var ResponseObjectServiceTier, FiltersType, ResponseObjectFiltersType, ResponseObjectTruncation, Instructions$inboundSchema, Instructions$outboundSchema, ResponseObjectServiceTier$inboundSchema, ResponseObjectServiceTier$outboundSchema, FiltersType$inboundSchema, FiltersType$outboundSchema, ResponseObjectFiltersType$inboundSchema, ResponseObjectFiltersType$outboundSchema, ResponseObjectFiltersFilters$inboundSchema, ResponseObjectFiltersFilters$outboundSchema, ResponseObjectFilters2$inboundSchema, ResponseObjectFilters2$outboundSchema, FiltersFilters$inboundSchema, FiltersFilters$outboundSchema, Filters2$inboundSchema, Filters2$outboundSchema, ToolsFilters$inboundSchema, ToolsFilters$outboundSchema, ToolsFileSearchToolDefinition$inboundSchema, ToolsFileSearchToolDefinition$outboundSchema, ResponseObjectTools$inboundSchema, ResponseObjectTools$outboundSchema, ResponseObjectTruncation$inboundSchema, ResponseObjectTruncation$outboundSchema, ResponseObject$inboundSchema, ResponseObject$outboundSchema;
71151
+ var ResponseObjectServiceTier, FiltersType, ResponseObjectFiltersType, ResponseObjectTruncation, Instructions$inboundSchema, Instructions$outboundSchema, ResponseObjectServiceTier$inboundSchema, ResponseObjectServiceTier$outboundSchema, FiltersType$inboundSchema, FiltersType$outboundSchema, ResponseObjectFiltersType$inboundSchema, ResponseObjectFiltersType$outboundSchema, ResponseObjectFilters2$inboundSchema, ResponseObjectFilters2$outboundSchema, FiltersFilters$inboundSchema, FiltersFilters$outboundSchema, Filters2$inboundSchema, Filters2$outboundSchema, ToolsFilters$inboundSchema, ToolsFilters$outboundSchema, ToolsFileSearchToolDefinition$inboundSchema, ToolsFileSearchToolDefinition$outboundSchema, ResponseObjectTools$inboundSchema, ResponseObjectTools$outboundSchema, ResponseObjectTruncation$inboundSchema, ResponseObjectTruncation$outboundSchema, ResponseObject$inboundSchema, ResponseObject$outboundSchema;
71448
71152
  var init_responseobject = __esm(() => {
71449
71153
  init_esm();
71450
71154
  init_primitives();
@@ -71499,15 +71203,13 @@ var init_responseobject = __esm(() => {
71499
71203
  FiltersType$outboundSchema = FiltersType$inboundSchema;
71500
71204
  ResponseObjectFiltersType$inboundSchema = nativeEnumType(ResponseObjectFiltersType);
71501
71205
  ResponseObjectFiltersType$outboundSchema = ResponseObjectFiltersType$inboundSchema;
71502
- ResponseObjectFiltersFilters$inboundSchema = unionType([ComparisonFilter$inboundSchema, anyType()]);
71503
- ResponseObjectFiltersFilters$outboundSchema = unionType([ComparisonFilter$outboundSchema, anyType()]);
71504
71206
  ResponseObjectFilters2$inboundSchema = objectType({
71505
71207
  type: ResponseObjectFiltersType$inboundSchema,
71506
- filters: arrayType(nullableType(unionType([ComparisonFilter$inboundSchema, anyType()])))
71208
+ filters: arrayType(nullableType(anyType()))
71507
71209
  });
71508
71210
  ResponseObjectFilters2$outboundSchema = objectType({
71509
71211
  type: ResponseObjectFiltersType$outboundSchema,
71510
- filters: arrayType(nullableType(unionType([ComparisonFilter$outboundSchema, anyType()])))
71212
+ filters: arrayType(nullableType(anyType()))
71511
71213
  });
71512
71214
  FiltersFilters$inboundSchema = unionType([
71513
71215
  ComparisonFilter$inboundSchema.and(objectType({ type: literalType("eq") })),
@@ -71986,6 +71688,43 @@ var init_responsecodeinterpretercallinterpretingevent = __esm(() => {
71986
71688
  });
71987
71689
  });
71988
71690
 
71691
+ // src/models/components/responsecompactionitemwithid.ts
71692
+ var ResponseCompactionItemWithId$inboundSchema, ResponseCompactionItemWithId$outboundSchema;
71693
+ var init_responsecompactionitemwithid = __esm(() => {
71694
+ init_esm();
71695
+ init_primitives();
71696
+ ResponseCompactionItemWithId$inboundSchema = objectType({
71697
+ type: literalType("compaction"),
71698
+ id: stringType(),
71699
+ content: stringType(),
71700
+ encrypted_content: stringType().optional(),
71701
+ created_by: stringType().optional(),
71702
+ response_id: nullableType(stringType()).optional(),
71703
+ metadata: nullableType(recordType(stringType())).optional()
71704
+ }).transform((v2) => {
71705
+ return remap(v2, {
71706
+ encrypted_content: "encryptedContent",
71707
+ created_by: "createdBy",
71708
+ response_id: "responseId"
71709
+ });
71710
+ });
71711
+ ResponseCompactionItemWithId$outboundSchema = objectType({
71712
+ type: literalType("compaction"),
71713
+ id: stringType(),
71714
+ content: stringType(),
71715
+ encryptedContent: stringType().optional(),
71716
+ createdBy: stringType().optional(),
71717
+ responseId: nullableType(stringType()).optional(),
71718
+ metadata: nullableType(recordType(stringType())).optional()
71719
+ }).transform((v2) => {
71720
+ return remap(v2, {
71721
+ encryptedContent: "encrypted_content",
71722
+ createdBy: "created_by",
71723
+ responseId: "response_id"
71724
+ });
71725
+ });
71726
+ });
71727
+
71989
71728
  // src/models/components/responsecompletedevent.ts
71990
71729
  var ResponseCompletedEvent$inboundSchema, ResponseCompletedEvent$outboundSchema;
71991
71730
  var init_responsecompletedevent = __esm(() => {
@@ -74697,6 +74436,74 @@ var init_revokepermissionrequest = __esm(() => {
74697
74436
  });
74698
74437
  });
74699
74438
 
74439
+ // src/models/components/sandboxpricerate.ts
74440
+ var SandboxPriceRate$inboundSchema, SandboxPriceRate$outboundSchema;
74441
+ var init_sandboxpricerate = __esm(() => {
74442
+ init_esm();
74443
+ init_primitives();
74444
+ SandboxPriceRate$inboundSchema = objectType({
74445
+ per_hour: numberType().default(0),
74446
+ per_gib_hour: numberType().default(0)
74447
+ }).transform((v2) => {
74448
+ return remap(v2, {
74449
+ per_hour: "perHour",
74450
+ per_gib_hour: "perGibHour"
74451
+ });
74452
+ });
74453
+ SandboxPriceRate$outboundSchema = objectType({
74454
+ perHour: numberType().default(0),
74455
+ perGibHour: numberType().default(0)
74456
+ }).transform((v2) => {
74457
+ return remap(v2, {
74458
+ perHour: "per_hour",
74459
+ perGibHour: "per_gib_hour"
74460
+ });
74461
+ });
74462
+ });
74463
+
74464
+ // src/models/components/sandboxpricingcard.ts
74465
+ var SandboxPricingCard$inboundSchema, SandboxPricingCard$outboundSchema;
74466
+ var init_sandboxpricingcard = __esm(() => {
74467
+ init_esm();
74468
+ init_primitives();
74469
+ init_sandboxpricerate();
74470
+ SandboxPricingCard$inboundSchema = objectType({
74471
+ object: literalType("sandbox.pricing").default("sandbox.pricing"),
74472
+ rates: recordType(SandboxPriceRate$inboundSchema).optional(),
74473
+ updated_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
74474
+ updated_by: nullableType(stringType()).optional()
74475
+ }).transform((v2) => {
74476
+ return remap(v2, {
74477
+ updated_at: "updatedAt",
74478
+ updated_by: "updatedBy"
74479
+ });
74480
+ });
74481
+ SandboxPricingCard$outboundSchema = objectType({
74482
+ object: literalType("sandbox.pricing").default("sandbox.pricing"),
74483
+ rates: recordType(SandboxPriceRate$outboundSchema).optional(),
74484
+ updatedAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
74485
+ updatedBy: nullableType(stringType()).optional()
74486
+ }).transform((v2) => {
74487
+ return remap(v2, {
74488
+ updatedAt: "updated_at",
74489
+ updatedBy: "updated_by"
74490
+ });
74491
+ });
74492
+ });
74493
+
74494
+ // src/models/components/sandboxpricingupdate.ts
74495
+ var SandboxPricingUpdate$inboundSchema, SandboxPricingUpdate$outboundSchema;
74496
+ var init_sandboxpricingupdate = __esm(() => {
74497
+ init_esm();
74498
+ init_sandboxpricerate();
74499
+ SandboxPricingUpdate$inboundSchema = objectType({
74500
+ rates: recordType(SandboxPriceRate$inboundSchema)
74501
+ });
74502
+ SandboxPricingUpdate$outboundSchema = objectType({
74503
+ rates: recordType(SandboxPriceRate$outboundSchema)
74504
+ });
74505
+ });
74506
+
74700
74507
  // src/models/components/sandboxusageoperation.ts
74701
74508
  var SandboxUsageOperation, SandboxUsageOperation$inboundSchema, SandboxUsageOperation$outboundSchema;
74702
74509
  var init_sandboxusageoperation = __esm(() => {
@@ -75303,6 +75110,117 @@ var init_sessionurlresponse = __esm(() => {
75303
75110
  });
75304
75111
  });
75305
75112
 
75113
+ // src/models/components/shellcalloutputwithid.ts
75114
+ var ShellCallOutputWithIdType, ShellCallOutputWithIdType$inboundSchema, ShellCallOutputWithIdType$outboundSchema, ShellCallOutputWithIdOutcome$inboundSchema, ShellCallOutputWithIdOutcome$outboundSchema, ShellCallOutputWithIdOutput$inboundSchema, ShellCallOutputWithIdOutput$outboundSchema, ShellCallOutputWithId$inboundSchema, ShellCallOutputWithId$outboundSchema;
75115
+ var init_shellcalloutputwithid = __esm(() => {
75116
+ init_esm();
75117
+ init_primitives();
75118
+ init_status();
75119
+ ShellCallOutputWithIdType = {
75120
+ Exit: "exit",
75121
+ Timeout: "timeout"
75122
+ };
75123
+ ShellCallOutputWithIdType$inboundSchema = nativeEnumType(ShellCallOutputWithIdType);
75124
+ ShellCallOutputWithIdType$outboundSchema = ShellCallOutputWithIdType$inboundSchema;
75125
+ ShellCallOutputWithIdOutcome$inboundSchema = objectType({
75126
+ type: ShellCallOutputWithIdType$inboundSchema,
75127
+ exit_code: nullableType(numberType().int())
75128
+ }).transform((v2) => {
75129
+ return remap(v2, {
75130
+ exit_code: "exitCode"
75131
+ });
75132
+ });
75133
+ ShellCallOutputWithIdOutcome$outboundSchema = objectType({
75134
+ type: ShellCallOutputWithIdType$outboundSchema,
75135
+ exitCode: nullableType(numberType().int())
75136
+ }).transform((v2) => {
75137
+ return remap(v2, {
75138
+ exitCode: "exit_code"
75139
+ });
75140
+ });
75141
+ ShellCallOutputWithIdOutput$inboundSchema = objectType({
75142
+ stdout: stringType(),
75143
+ stderr: stringType(),
75144
+ outcome: lazyType(() => ShellCallOutputWithIdOutcome$inboundSchema)
75145
+ });
75146
+ ShellCallOutputWithIdOutput$outboundSchema = objectType({
75147
+ stdout: stringType(),
75148
+ stderr: stringType(),
75149
+ outcome: lazyType(() => ShellCallOutputWithIdOutcome$outboundSchema)
75150
+ });
75151
+ ShellCallOutputWithId$inboundSchema = objectType({
75152
+ type: literalType("shell_call_output"),
75153
+ id: stringType(),
75154
+ call_id: stringType(),
75155
+ output: lazyType(() => ShellCallOutputWithIdOutput$inboundSchema),
75156
+ status: Status$inboundSchema.optional(),
75157
+ response_id: nullableType(stringType()).optional(),
75158
+ metadata: nullableType(recordType(stringType())).optional()
75159
+ }).transform((v2) => {
75160
+ return remap(v2, {
75161
+ call_id: "callId",
75162
+ response_id: "responseId"
75163
+ });
75164
+ });
75165
+ ShellCallOutputWithId$outboundSchema = objectType({
75166
+ type: literalType("shell_call_output"),
75167
+ id: stringType(),
75168
+ callId: stringType(),
75169
+ output: lazyType(() => ShellCallOutputWithIdOutput$outboundSchema),
75170
+ status: Status$outboundSchema.optional(),
75171
+ responseId: nullableType(stringType()).optional(),
75172
+ metadata: nullableType(recordType(stringType())).optional()
75173
+ }).transform((v2) => {
75174
+ return remap(v2, {
75175
+ callId: "call_id",
75176
+ responseId: "response_id"
75177
+ });
75178
+ });
75179
+ });
75180
+
75181
+ // src/models/components/shellcallwithid.ts
75182
+ var ShellCallWithIdStatus, ShellCallWithIdStatus$inboundSchema, ShellCallWithIdStatus$outboundSchema, ShellCallWithId$inboundSchema, ShellCallWithId$outboundSchema;
75183
+ var init_shellcallwithid = __esm(() => {
75184
+ init_esm();
75185
+ init_primitives();
75186
+ init_shellcallaction();
75187
+ ShellCallWithIdStatus = {
75188
+ InProgress: "in_progress",
75189
+ Completed: "completed",
75190
+ Incomplete: "incomplete"
75191
+ };
75192
+ ShellCallWithIdStatus$inboundSchema = nativeEnumType(ShellCallWithIdStatus);
75193
+ ShellCallWithIdStatus$outboundSchema = ShellCallWithIdStatus$inboundSchema;
75194
+ ShellCallWithId$inboundSchema = objectType({
75195
+ type: literalType("shell_call"),
75196
+ id: stringType(),
75197
+ call_id: stringType(),
75198
+ action: ShellCallAction$inboundSchema,
75199
+ status: ShellCallWithIdStatus$inboundSchema,
75200
+ response_id: nullableType(stringType()).optional(),
75201
+ metadata: nullableType(recordType(stringType())).optional()
75202
+ }).transform((v2) => {
75203
+ return remap(v2, {
75204
+ call_id: "callId",
75205
+ response_id: "responseId"
75206
+ });
75207
+ });
75208
+ ShellCallWithId$outboundSchema = objectType({
75209
+ type: literalType("shell_call"),
75210
+ id: stringType(),
75211
+ callId: stringType(),
75212
+ action: ShellCallAction$outboundSchema,
75213
+ status: ShellCallWithIdStatus$outboundSchema,
75214
+ responseId: nullableType(stringType()).optional(),
75215
+ metadata: nullableType(recordType(stringType())).optional()
75216
+ }).transform((v2) => {
75217
+ return remap(v2, {
75218
+ callId: "call_id",
75219
+ responseId: "response_id"
75220
+ });
75221
+ });
75222
+ });
75223
+
75306
75224
  // src/models/components/skill.ts
75307
75225
  var Skill$inboundSchema, Skill$outboundSchema;
75308
75226
  var init_skill = __esm(() => {
@@ -77368,6 +77286,38 @@ var init_wakeagentrunrequest = __esm(() => {
77368
77286
  });
77369
77287
  });
77370
77288
 
77289
+ // src/models/components/websearchtoolcallwithid.ts
77290
+ var WebSearchToolCallWithId$inboundSchema, WebSearchToolCallWithId$outboundSchema;
77291
+ var init_websearchtoolcallwithid = __esm(() => {
77292
+ init_esm();
77293
+ init_primitives();
77294
+ init_websearchaction();
77295
+ WebSearchToolCallWithId$inboundSchema = objectType({
77296
+ type: literalType("web_search_call"),
77297
+ id: stringType(),
77298
+ action: WebSearchAction$inboundSchema,
77299
+ status: stringType(),
77300
+ response_id: nullableType(stringType()).optional(),
77301
+ metadata: nullableType(recordType(stringType())).optional()
77302
+ }).transform((v2) => {
77303
+ return remap(v2, {
77304
+ response_id: "responseId"
77305
+ });
77306
+ });
77307
+ WebSearchToolCallWithId$outboundSchema = objectType({
77308
+ type: literalType("web_search_call"),
77309
+ id: stringType(),
77310
+ action: WebSearchAction$outboundSchema,
77311
+ status: stringType(),
77312
+ responseId: nullableType(stringType()).optional(),
77313
+ metadata: nullableType(recordType(stringType())).optional()
77314
+ }).transform((v2) => {
77315
+ return remap(v2, {
77316
+ responseId: "response_id"
77317
+ });
77318
+ });
77319
+ });
77320
+
77371
77321
  // src/models/components/workspacearchiverequest.ts
77372
77322
  var WorkspaceArchiveRequest$inboundSchema, WorkspaceArchiveRequest$outboundSchema;
77373
77323
  var init_workspacearchiverequest = __esm(() => {
@@ -77589,6 +77539,7 @@ var init_components = __esm(() => {
77589
77539
  init_evalfewshotconfig();
77590
77540
  init_evalgenerationconfig();
77591
77541
  init_evalhistoricalimportobject();
77542
+ init_evalmetric();
77592
77543
  init_evaloutputextraction();
77593
77544
  init_evalpythongrader();
77594
77545
  init_evalpythongradercontract();
@@ -77694,7 +77645,6 @@ var init_components = __esm(() => {
77694
77645
  init_inputitemlistobject();
77695
77646
  init_inputmessage();
77696
77647
  init_inputmessagecontent();
77697
- init_inputmessagewithid();
77698
77648
  init_inputtext();
77699
77649
  init_inputtokensdetails();
77700
77650
  init_insertdatarequest();
@@ -77702,10 +77652,8 @@ var init_components = __esm(() => {
77702
77652
  init_integrationobject();
77703
77653
  init_intfield();
77704
77654
  init_item();
77705
- init_itemlistobject();
77706
77655
  init_itemreference();
77707
77656
  init_itemreferencewithid();
77708
- init_itemwithid();
77709
77657
  init_ivfflatindexconfig();
77710
77658
  init_ivfpqindexconfig();
77711
77659
  init_jobevent();
@@ -77911,6 +77859,9 @@ var init_components = __esm(() => {
77911
77859
  init_revokepermissionrequest();
77912
77860
  init_runtimeresourceusage();
77913
77861
  init_sandboxfeature();
77862
+ init_sandboxpricerate();
77863
+ init_sandboxpricingcard();
77864
+ init_sandboxpricingupdate();
77914
77865
  init_sandboxprovider();
77915
77866
  init_sandboxruntimeprofile();
77916
77867
  init_sandboxusagebucket();
@@ -84807,11 +84758,17 @@ var init_conversationsdelete = __esm(() => {
84807
84758
  });
84808
84759
 
84809
84760
  // src/models/operations/conversationsitemscreate.ts
84810
- var ConversationsItemsCreateRequest$inboundSchema, ConversationsItemsCreateRequest$outboundSchema;
84761
+ var DataRole, ConversationsItemsCreateRequest$inboundSchema, ConversationsItemsCreateRequest$outboundSchema, DataRole$inboundSchema, DataRole$outboundSchema, DataContent$inboundSchema, DataContent$outboundSchema, DataInputMessageItem$inboundSchema, DataInputMessageItem$outboundSchema, ConversationsItemsCreateData$inboundSchema, ConversationsItemsCreateData$outboundSchema, ConversationsItemsCreateResponseBody$inboundSchema, ConversationsItemsCreateResponseBody$outboundSchema;
84811
84762
  var init_conversationsitemscreate = __esm(() => {
84812
84763
  init_esm();
84813
84764
  init_primitives();
84814
84765
  init_components();
84766
+ DataRole = {
84767
+ User: "user",
84768
+ Assistant: "assistant",
84769
+ System: "system",
84770
+ Developer: "developer"
84771
+ };
84815
84772
  ConversationsItemsCreateRequest$inboundSchema = objectType({
84816
84773
  conversation_id: stringType(),
84817
84774
  "X-On-Behalf-Of": stringType().optional(),
@@ -84834,6 +84791,172 @@ var init_conversationsitemscreate = __esm(() => {
84834
84791
  createItemsRequest: "CreateItemsRequest"
84835
84792
  });
84836
84793
  });
84794
+ DataRole$inboundSchema = nativeEnumType(DataRole);
84795
+ DataRole$outboundSchema = DataRole$inboundSchema;
84796
+ DataContent$inboundSchema = unionType([
84797
+ stringType(),
84798
+ arrayType(InputMessageContent$inboundSchema)
84799
+ ]);
84800
+ DataContent$outboundSchema = unionType([
84801
+ stringType(),
84802
+ arrayType(InputMessageContent$outboundSchema)
84803
+ ]);
84804
+ DataInputMessageItem$inboundSchema = objectType({
84805
+ type: literalType("message").optional(),
84806
+ role: DataRole$inboundSchema,
84807
+ content: unionType([
84808
+ stringType(),
84809
+ arrayType(InputMessageContent$inboundSchema)
84810
+ ]),
84811
+ status: Status$inboundSchema.optional(),
84812
+ id: stringType(),
84813
+ response_id: nullableType(stringType()).optional(),
84814
+ metadata: nullableType(recordType(stringType())).optional()
84815
+ }).transform((v2) => {
84816
+ return remap(v2, {
84817
+ response_id: "responseId"
84818
+ });
84819
+ });
84820
+ DataInputMessageItem$outboundSchema = objectType({
84821
+ type: literalType("message").optional(),
84822
+ role: DataRole$outboundSchema,
84823
+ content: unionType([
84824
+ stringType(),
84825
+ arrayType(InputMessageContent$outboundSchema)
84826
+ ]),
84827
+ status: Status$outboundSchema.optional(),
84828
+ id: stringType(),
84829
+ responseId: nullableType(stringType()).optional(),
84830
+ metadata: nullableType(recordType(stringType())).optional()
84831
+ }).transform((v2) => {
84832
+ return remap(v2, {
84833
+ responseId: "response_id"
84834
+ });
84835
+ });
84836
+ ConversationsItemsCreateData$inboundSchema = unionType([
84837
+ ComputerToolCallWithId$inboundSchema,
84838
+ CodeInterpreterToolCallWithId$inboundSchema,
84839
+ OutputMessageWithId$inboundSchema,
84840
+ OutputAudioItemWithId$inboundSchema,
84841
+ FunctionToolCallWithId$inboundSchema,
84842
+ LocalShellCallWithId$inboundSchema,
84843
+ ShellCallWithId$inboundSchema,
84844
+ MCPApprovalRequestWithId$inboundSchema,
84845
+ MCPToolCallWithId$inboundSchema,
84846
+ CustomToolCallWithId$inboundSchema,
84847
+ FileSearchToolCallWithId$inboundSchema,
84848
+ ComputerToolCallOutputWithId$inboundSchema,
84849
+ WebSearchToolCallWithId$inboundSchema,
84850
+ FunctionToolCallOutputWithId$inboundSchema,
84851
+ ImageGenerationCallWithId$inboundSchema,
84852
+ ShellCallOutputWithId$inboundSchema,
84853
+ MCPListToolsWithId$inboundSchema,
84854
+ MCPApprovalResponseWithId$inboundSchema,
84855
+ CustomToolCallOutputWithId$inboundSchema,
84856
+ lazyType(() => DataInputMessageItem$inboundSchema),
84857
+ ReasoningWithId$inboundSchema,
84858
+ LocalShellCallOutputWithId$inboundSchema,
84859
+ ResponseCompactionItemWithId$inboundSchema,
84860
+ ItemReferenceWithId$inboundSchema
84861
+ ]);
84862
+ ConversationsItemsCreateData$outboundSchema = unionType([
84863
+ ComputerToolCallWithId$outboundSchema,
84864
+ CodeInterpreterToolCallWithId$outboundSchema,
84865
+ OutputMessageWithId$outboundSchema,
84866
+ OutputAudioItemWithId$outboundSchema,
84867
+ FunctionToolCallWithId$outboundSchema,
84868
+ LocalShellCallWithId$outboundSchema,
84869
+ ShellCallWithId$outboundSchema,
84870
+ MCPApprovalRequestWithId$outboundSchema,
84871
+ MCPToolCallWithId$outboundSchema,
84872
+ CustomToolCallWithId$outboundSchema,
84873
+ FileSearchToolCallWithId$outboundSchema,
84874
+ ComputerToolCallOutputWithId$outboundSchema,
84875
+ WebSearchToolCallWithId$outboundSchema,
84876
+ FunctionToolCallOutputWithId$outboundSchema,
84877
+ ImageGenerationCallWithId$outboundSchema,
84878
+ ShellCallOutputWithId$outboundSchema,
84879
+ MCPListToolsWithId$outboundSchema,
84880
+ MCPApprovalResponseWithId$outboundSchema,
84881
+ CustomToolCallOutputWithId$outboundSchema,
84882
+ lazyType(() => DataInputMessageItem$outboundSchema),
84883
+ ReasoningWithId$outboundSchema,
84884
+ LocalShellCallOutputWithId$outboundSchema,
84885
+ ResponseCompactionItemWithId$outboundSchema,
84886
+ ItemReferenceWithId$outboundSchema
84887
+ ]);
84888
+ ConversationsItemsCreateResponseBody$inboundSchema = objectType({
84889
+ object: literalType("list").optional(),
84890
+ data: arrayType(unionType([
84891
+ ComputerToolCallWithId$inboundSchema,
84892
+ CodeInterpreterToolCallWithId$inboundSchema,
84893
+ OutputMessageWithId$inboundSchema,
84894
+ OutputAudioItemWithId$inboundSchema,
84895
+ FunctionToolCallWithId$inboundSchema,
84896
+ LocalShellCallWithId$inboundSchema,
84897
+ ShellCallWithId$inboundSchema,
84898
+ MCPApprovalRequestWithId$inboundSchema,
84899
+ MCPToolCallWithId$inboundSchema,
84900
+ CustomToolCallWithId$inboundSchema,
84901
+ FileSearchToolCallWithId$inboundSchema,
84902
+ ComputerToolCallOutputWithId$inboundSchema,
84903
+ WebSearchToolCallWithId$inboundSchema,
84904
+ FunctionToolCallOutputWithId$inboundSchema,
84905
+ ImageGenerationCallWithId$inboundSchema,
84906
+ ShellCallOutputWithId$inboundSchema,
84907
+ MCPListToolsWithId$inboundSchema,
84908
+ MCPApprovalResponseWithId$inboundSchema,
84909
+ CustomToolCallOutputWithId$inboundSchema,
84910
+ lazyType(() => DataInputMessageItem$inboundSchema),
84911
+ ReasoningWithId$inboundSchema,
84912
+ LocalShellCallOutputWithId$inboundSchema,
84913
+ ResponseCompactionItemWithId$inboundSchema,
84914
+ ItemReferenceWithId$inboundSchema
84915
+ ])),
84916
+ has_more: booleanType(),
84917
+ last_id: stringType()
84918
+ }).transform((v2) => {
84919
+ return remap(v2, {
84920
+ has_more: "hasMore",
84921
+ last_id: "lastId"
84922
+ });
84923
+ });
84924
+ ConversationsItemsCreateResponseBody$outboundSchema = objectType({
84925
+ object: literalType("list").optional(),
84926
+ data: arrayType(unionType([
84927
+ ComputerToolCallWithId$outboundSchema,
84928
+ CodeInterpreterToolCallWithId$outboundSchema,
84929
+ OutputMessageWithId$outboundSchema,
84930
+ OutputAudioItemWithId$outboundSchema,
84931
+ FunctionToolCallWithId$outboundSchema,
84932
+ LocalShellCallWithId$outboundSchema,
84933
+ ShellCallWithId$outboundSchema,
84934
+ MCPApprovalRequestWithId$outboundSchema,
84935
+ MCPToolCallWithId$outboundSchema,
84936
+ CustomToolCallWithId$outboundSchema,
84937
+ FileSearchToolCallWithId$outboundSchema,
84938
+ ComputerToolCallOutputWithId$outboundSchema,
84939
+ WebSearchToolCallWithId$outboundSchema,
84940
+ FunctionToolCallOutputWithId$outboundSchema,
84941
+ ImageGenerationCallWithId$outboundSchema,
84942
+ ShellCallOutputWithId$outboundSchema,
84943
+ MCPListToolsWithId$outboundSchema,
84944
+ MCPApprovalResponseWithId$outboundSchema,
84945
+ CustomToolCallOutputWithId$outboundSchema,
84946
+ lazyType(() => DataInputMessageItem$outboundSchema),
84947
+ ReasoningWithId$outboundSchema,
84948
+ LocalShellCallOutputWithId$outboundSchema,
84949
+ ResponseCompactionItemWithId$outboundSchema,
84950
+ ItemReferenceWithId$outboundSchema
84951
+ ])),
84952
+ hasMore: booleanType(),
84953
+ lastId: stringType()
84954
+ }).transform((v2) => {
84955
+ return remap(v2, {
84956
+ hasMore: "has_more",
84957
+ lastId: "last_id"
84958
+ });
84959
+ });
84837
84960
  });
84838
84961
 
84839
84962
  // src/models/operations/conversationsitemsdelete.ts
@@ -84909,14 +85032,21 @@ var init_conversationsitemsdeletemany = __esm(() => {
84909
85032
  });
84910
85033
 
84911
85034
  // src/models/operations/conversationsitemslist.ts
84912
- var QueryParamOrder, QueryParamOrder$inboundSchema, QueryParamOrder$outboundSchema, ConversationsItemsListRequest$inboundSchema, ConversationsItemsListRequest$outboundSchema;
85035
+ var QueryParamOrder, ConversationsItemsListDataRole, QueryParamOrder$inboundSchema, QueryParamOrder$outboundSchema, ConversationsItemsListRequest$inboundSchema, ConversationsItemsListRequest$outboundSchema, ConversationsItemsListDataRole$inboundSchema, ConversationsItemsListDataRole$outboundSchema, ConversationsItemsListDataContent$inboundSchema, ConversationsItemsListDataContent$outboundSchema, ConversationsItemsListDataInputMessageItem$inboundSchema, ConversationsItemsListDataInputMessageItem$outboundSchema, Data$inboundSchema2, Data$outboundSchema2, ConversationsItemsListResponseBody$inboundSchema, ConversationsItemsListResponseBody$outboundSchema;
84913
85036
  var init_conversationsitemslist = __esm(() => {
84914
85037
  init_esm();
84915
85038
  init_primitives();
85039
+ init_components();
84916
85040
  QueryParamOrder = {
84917
85041
  Asc: "asc",
84918
85042
  Desc: "desc"
84919
85043
  };
85044
+ ConversationsItemsListDataRole = {
85045
+ User: "user",
85046
+ Assistant: "assistant",
85047
+ System: "system",
85048
+ Developer: "developer"
85049
+ };
84920
85050
  QueryParamOrder$inboundSchema = nativeEnumType(QueryParamOrder);
84921
85051
  QueryParamOrder$outboundSchema = QueryParamOrder$inboundSchema;
84922
85052
  ConversationsItemsListRequest$inboundSchema = objectType({
@@ -84945,14 +85075,186 @@ var init_conversationsitemslist = __esm(() => {
84945
85075
  xOnBehalfOf: "X-On-Behalf-Of"
84946
85076
  });
84947
85077
  });
85078
+ ConversationsItemsListDataRole$inboundSchema = nativeEnumType(ConversationsItemsListDataRole);
85079
+ ConversationsItemsListDataRole$outboundSchema = ConversationsItemsListDataRole$inboundSchema;
85080
+ ConversationsItemsListDataContent$inboundSchema = unionType([
85081
+ stringType(),
85082
+ arrayType(InputMessageContent$inboundSchema)
85083
+ ]);
85084
+ ConversationsItemsListDataContent$outboundSchema = unionType([
85085
+ stringType(),
85086
+ arrayType(InputMessageContent$outboundSchema)
85087
+ ]);
85088
+ ConversationsItemsListDataInputMessageItem$inboundSchema = objectType({
85089
+ type: literalType("message").optional(),
85090
+ role: ConversationsItemsListDataRole$inboundSchema,
85091
+ content: unionType([
85092
+ stringType(),
85093
+ arrayType(InputMessageContent$inboundSchema)
85094
+ ]),
85095
+ status: Status$inboundSchema.optional(),
85096
+ id: stringType(),
85097
+ response_id: nullableType(stringType()).optional(),
85098
+ metadata: nullableType(recordType(stringType())).optional()
85099
+ }).transform((v2) => {
85100
+ return remap(v2, {
85101
+ response_id: "responseId"
85102
+ });
85103
+ });
85104
+ ConversationsItemsListDataInputMessageItem$outboundSchema = objectType({
85105
+ type: literalType("message").optional(),
85106
+ role: ConversationsItemsListDataRole$outboundSchema,
85107
+ content: unionType([
85108
+ stringType(),
85109
+ arrayType(InputMessageContent$outboundSchema)
85110
+ ]),
85111
+ status: Status$outboundSchema.optional(),
85112
+ id: stringType(),
85113
+ responseId: nullableType(stringType()).optional(),
85114
+ metadata: nullableType(recordType(stringType())).optional()
85115
+ }).transform((v2) => {
85116
+ return remap(v2, {
85117
+ responseId: "response_id"
85118
+ });
85119
+ });
85120
+ Data$inboundSchema2 = unionType([
85121
+ ComputerToolCallWithId$inboundSchema,
85122
+ CodeInterpreterToolCallWithId$inboundSchema,
85123
+ OutputMessageWithId$inboundSchema,
85124
+ OutputAudioItemWithId$inboundSchema,
85125
+ FunctionToolCallWithId$inboundSchema,
85126
+ LocalShellCallWithId$inboundSchema,
85127
+ ShellCallWithId$inboundSchema,
85128
+ MCPApprovalRequestWithId$inboundSchema,
85129
+ MCPToolCallWithId$inboundSchema,
85130
+ CustomToolCallWithId$inboundSchema,
85131
+ FileSearchToolCallWithId$inboundSchema,
85132
+ ComputerToolCallOutputWithId$inboundSchema,
85133
+ WebSearchToolCallWithId$inboundSchema,
85134
+ FunctionToolCallOutputWithId$inboundSchema,
85135
+ ImageGenerationCallWithId$inboundSchema,
85136
+ ShellCallOutputWithId$inboundSchema,
85137
+ MCPListToolsWithId$inboundSchema,
85138
+ MCPApprovalResponseWithId$inboundSchema,
85139
+ CustomToolCallOutputWithId$inboundSchema,
85140
+ lazyType(() => ConversationsItemsListDataInputMessageItem$inboundSchema),
85141
+ ReasoningWithId$inboundSchema,
85142
+ LocalShellCallOutputWithId$inboundSchema,
85143
+ ResponseCompactionItemWithId$inboundSchema,
85144
+ ItemReferenceWithId$inboundSchema
85145
+ ]);
85146
+ Data$outboundSchema2 = unionType([
85147
+ ComputerToolCallWithId$outboundSchema,
85148
+ CodeInterpreterToolCallWithId$outboundSchema,
85149
+ OutputMessageWithId$outboundSchema,
85150
+ OutputAudioItemWithId$outboundSchema,
85151
+ FunctionToolCallWithId$outboundSchema,
85152
+ LocalShellCallWithId$outboundSchema,
85153
+ ShellCallWithId$outboundSchema,
85154
+ MCPApprovalRequestWithId$outboundSchema,
85155
+ MCPToolCallWithId$outboundSchema,
85156
+ CustomToolCallWithId$outboundSchema,
85157
+ FileSearchToolCallWithId$outboundSchema,
85158
+ ComputerToolCallOutputWithId$outboundSchema,
85159
+ WebSearchToolCallWithId$outboundSchema,
85160
+ FunctionToolCallOutputWithId$outboundSchema,
85161
+ ImageGenerationCallWithId$outboundSchema,
85162
+ ShellCallOutputWithId$outboundSchema,
85163
+ MCPListToolsWithId$outboundSchema,
85164
+ MCPApprovalResponseWithId$outboundSchema,
85165
+ CustomToolCallOutputWithId$outboundSchema,
85166
+ lazyType(() => ConversationsItemsListDataInputMessageItem$outboundSchema),
85167
+ ReasoningWithId$outboundSchema,
85168
+ LocalShellCallOutputWithId$outboundSchema,
85169
+ ResponseCompactionItemWithId$outboundSchema,
85170
+ ItemReferenceWithId$outboundSchema
85171
+ ]);
85172
+ ConversationsItemsListResponseBody$inboundSchema = objectType({
85173
+ object: literalType("list").optional(),
85174
+ data: arrayType(unionType([
85175
+ ComputerToolCallWithId$inboundSchema,
85176
+ CodeInterpreterToolCallWithId$inboundSchema,
85177
+ OutputMessageWithId$inboundSchema,
85178
+ OutputAudioItemWithId$inboundSchema,
85179
+ FunctionToolCallWithId$inboundSchema,
85180
+ LocalShellCallWithId$inboundSchema,
85181
+ ShellCallWithId$inboundSchema,
85182
+ MCPApprovalRequestWithId$inboundSchema,
85183
+ MCPToolCallWithId$inboundSchema,
85184
+ CustomToolCallWithId$inboundSchema,
85185
+ FileSearchToolCallWithId$inboundSchema,
85186
+ ComputerToolCallOutputWithId$inboundSchema,
85187
+ WebSearchToolCallWithId$inboundSchema,
85188
+ FunctionToolCallOutputWithId$inboundSchema,
85189
+ ImageGenerationCallWithId$inboundSchema,
85190
+ ShellCallOutputWithId$inboundSchema,
85191
+ MCPListToolsWithId$inboundSchema,
85192
+ MCPApprovalResponseWithId$inboundSchema,
85193
+ CustomToolCallOutputWithId$inboundSchema,
85194
+ lazyType(() => ConversationsItemsListDataInputMessageItem$inboundSchema),
85195
+ ReasoningWithId$inboundSchema,
85196
+ LocalShellCallOutputWithId$inboundSchema,
85197
+ ResponseCompactionItemWithId$inboundSchema,
85198
+ ItemReferenceWithId$inboundSchema
85199
+ ])),
85200
+ has_more: booleanType(),
85201
+ last_id: stringType()
85202
+ }).transform((v2) => {
85203
+ return remap(v2, {
85204
+ has_more: "hasMore",
85205
+ last_id: "lastId"
85206
+ });
85207
+ });
85208
+ ConversationsItemsListResponseBody$outboundSchema = objectType({
85209
+ object: literalType("list").optional(),
85210
+ data: arrayType(unionType([
85211
+ ComputerToolCallWithId$outboundSchema,
85212
+ CodeInterpreterToolCallWithId$outboundSchema,
85213
+ OutputMessageWithId$outboundSchema,
85214
+ OutputAudioItemWithId$outboundSchema,
85215
+ FunctionToolCallWithId$outboundSchema,
85216
+ LocalShellCallWithId$outboundSchema,
85217
+ ShellCallWithId$outboundSchema,
85218
+ MCPApprovalRequestWithId$outboundSchema,
85219
+ MCPToolCallWithId$outboundSchema,
85220
+ CustomToolCallWithId$outboundSchema,
85221
+ FileSearchToolCallWithId$outboundSchema,
85222
+ ComputerToolCallOutputWithId$outboundSchema,
85223
+ WebSearchToolCallWithId$outboundSchema,
85224
+ FunctionToolCallOutputWithId$outboundSchema,
85225
+ ImageGenerationCallWithId$outboundSchema,
85226
+ ShellCallOutputWithId$outboundSchema,
85227
+ MCPListToolsWithId$outboundSchema,
85228
+ MCPApprovalResponseWithId$outboundSchema,
85229
+ CustomToolCallOutputWithId$outboundSchema,
85230
+ lazyType(() => ConversationsItemsListDataInputMessageItem$outboundSchema),
85231
+ ReasoningWithId$outboundSchema,
85232
+ LocalShellCallOutputWithId$outboundSchema,
85233
+ ResponseCompactionItemWithId$outboundSchema,
85234
+ ItemReferenceWithId$outboundSchema
85235
+ ])),
85236
+ hasMore: booleanType(),
85237
+ lastId: stringType()
85238
+ }).transform((v2) => {
85239
+ return remap(v2, {
85240
+ hasMore: "has_more",
85241
+ lastId: "last_id"
85242
+ });
85243
+ });
84948
85244
  });
84949
85245
 
84950
85246
  // src/models/operations/conversationsitemsretrieve.ts
84951
- var ConversationsItemsRetrieveRequest$inboundSchema, ConversationsItemsRetrieveRequest$outboundSchema, ConversationsItemsRetrieveResponseBody$inboundSchema, ConversationsItemsRetrieveResponseBody$outboundSchema;
85247
+ var Role2, ConversationsItemsRetrieveRequest$inboundSchema, ConversationsItemsRetrieveRequest$outboundSchema, Role$inboundSchema2, Role$outboundSchema2, Content$inboundSchema2, Content$outboundSchema2, InputMessageItem$inboundSchema, InputMessageItem$outboundSchema, ConversationsItemsRetrieveResponseBody$inboundSchema, ConversationsItemsRetrieveResponseBody$outboundSchema;
84952
85248
  var init_conversationsitemsretrieve = __esm(() => {
84953
85249
  init_esm();
84954
85250
  init_primitives();
84955
85251
  init_components();
85252
+ Role2 = {
85253
+ User: "user",
85254
+ Assistant: "assistant",
85255
+ System: "system",
85256
+ Developer: "developer"
85257
+ };
84956
85258
  ConversationsItemsRetrieveRequest$inboundSchema = objectType({
84957
85259
  conversation_id: stringType(),
84958
85260
  item_id: stringType(),
@@ -84975,6 +85277,45 @@ var init_conversationsitemsretrieve = __esm(() => {
84975
85277
  xOnBehalfOf: "X-On-Behalf-Of"
84976
85278
  });
84977
85279
  });
85280
+ Role$inboundSchema2 = nativeEnumType(Role2);
85281
+ Role$outboundSchema2 = Role$inboundSchema2;
85282
+ Content$inboundSchema2 = unionType([stringType(), arrayType(InputMessageContent$inboundSchema)]);
85283
+ Content$outboundSchema2 = unionType([
85284
+ stringType(),
85285
+ arrayType(InputMessageContent$outboundSchema)
85286
+ ]);
85287
+ InputMessageItem$inboundSchema = objectType({
85288
+ type: literalType("message").optional(),
85289
+ role: Role$inboundSchema2,
85290
+ content: unionType([
85291
+ stringType(),
85292
+ arrayType(InputMessageContent$inboundSchema)
85293
+ ]),
85294
+ status: Status$inboundSchema.optional(),
85295
+ id: stringType(),
85296
+ response_id: nullableType(stringType()).optional(),
85297
+ metadata: nullableType(recordType(stringType())).optional()
85298
+ }).transform((v2) => {
85299
+ return remap(v2, {
85300
+ response_id: "responseId"
85301
+ });
85302
+ });
85303
+ InputMessageItem$outboundSchema = objectType({
85304
+ type: literalType("message").optional(),
85305
+ role: Role$outboundSchema2,
85306
+ content: unionType([
85307
+ stringType(),
85308
+ arrayType(InputMessageContent$outboundSchema)
85309
+ ]),
85310
+ status: Status$outboundSchema.optional(),
85311
+ id: stringType(),
85312
+ responseId: nullableType(stringType()).optional(),
85313
+ metadata: nullableType(recordType(stringType())).optional()
85314
+ }).transform((v2) => {
85315
+ return remap(v2, {
85316
+ responseId: "response_id"
85317
+ });
85318
+ });
84978
85319
  ConversationsItemsRetrieveResponseBody$inboundSchema = unionType([
84979
85320
  ComputerToolCallWithId$inboundSchema,
84980
85321
  CodeInterpreterToolCallWithId$inboundSchema,
@@ -84995,7 +85336,7 @@ var init_conversationsitemsretrieve = __esm(() => {
84995
85336
  MCPListToolsWithId$inboundSchema,
84996
85337
  MCPApprovalResponseWithId$inboundSchema,
84997
85338
  CustomToolCallOutputWithId$inboundSchema,
84998
- InputMessageWithId$inboundSchema,
85339
+ lazyType(() => InputMessageItem$inboundSchema),
84999
85340
  ReasoningWithId$inboundSchema,
85000
85341
  LocalShellCallOutputWithId$inboundSchema,
85001
85342
  ResponseCompactionItemWithId$inboundSchema,
@@ -85021,7 +85362,7 @@ var init_conversationsitemsretrieve = __esm(() => {
85021
85362
  MCPListToolsWithId$outboundSchema,
85022
85363
  MCPApprovalResponseWithId$outboundSchema,
85023
85364
  CustomToolCallOutputWithId$outboundSchema,
85024
- InputMessageWithId$outboundSchema,
85365
+ lazyType(() => InputMessageItem$outboundSchema),
85025
85366
  ReasoningWithId$outboundSchema,
85026
85367
  LocalShellCallOutputWithId$outboundSchema,
85027
85368
  ResponseCompactionItemWithId$outboundSchema,
@@ -87768,30 +88109,24 @@ var init_deleteorgbudget = __esm(() => {
87768
88109
  });
87769
88110
 
87770
88111
  // src/models/operations/deleteprompt.ts
87771
- var DeletePromptRequestBody$inboundSchema, DeletePromptRequestBody$outboundSchema, DeletePromptRequest$inboundSchema, DeletePromptRequest$outboundSchema;
88112
+ var DeletePromptRequest$inboundSchema, DeletePromptRequest$outboundSchema;
87772
88113
  var init_deleteprompt = __esm(() => {
87773
88114
  init_esm();
87774
88115
  init_primitives();
87775
- DeletePromptRequestBody$inboundSchema = objectType({});
87776
- DeletePromptRequestBody$outboundSchema = objectType({});
87777
88116
  DeletePromptRequest$inboundSchema = objectType({
87778
88117
  id: stringType(),
87779
- "X-On-Behalf-Of": stringType().optional(),
87780
- RequestBody: lazyType(() => DeletePromptRequestBody$inboundSchema).optional()
88118
+ "X-On-Behalf-Of": stringType().optional()
87781
88119
  }).transform((v2) => {
87782
88120
  return remap(v2, {
87783
- "X-On-Behalf-Of": "xOnBehalfOf",
87784
- RequestBody: "requestBody"
88121
+ "X-On-Behalf-Of": "xOnBehalfOf"
87785
88122
  });
87786
88123
  });
87787
88124
  DeletePromptRequest$outboundSchema = objectType({
87788
88125
  id: stringType(),
87789
- xOnBehalfOf: stringType().optional(),
87790
- requestBody: lazyType(() => DeletePromptRequestBody$outboundSchema).optional()
88126
+ xOnBehalfOf: stringType().optional()
87791
88127
  }).transform((v2) => {
87792
88128
  return remap(v2, {
87793
- xOnBehalfOf: "X-On-Behalf-Of",
87794
- requestBody: "RequestBody"
88129
+ xOnBehalfOf: "X-On-Behalf-Of"
87795
88130
  });
87796
88131
  });
87797
88132
  });
@@ -91468,6 +91803,52 @@ var init_getresponsesusage = __esm(() => {
91468
91803
  });
91469
91804
  });
91470
91805
 
91806
+ // src/models/operations/getsandboxusage.ts
91807
+ var GetSandboxUsageRequest$inboundSchema, GetSandboxUsageRequest$outboundSchema;
91808
+ var init_getsandboxusage = __esm(() => {
91809
+ init_esm();
91810
+ init_primitives();
91811
+ init_components();
91812
+ GetSandboxUsageRequest$inboundSchema = objectType({
91813
+ start_time: numberType().int(),
91814
+ end_time: nullableType(numberType().int()).optional(),
91815
+ bucket_width: SandboxUsageBucketWidth$inboundSchema.optional(),
91816
+ group_by: nullableType(arrayType(stringType())).optional(),
91817
+ all_orgs: booleanType().default(false),
91818
+ org_ids: nullableType(arrayType(stringType())).optional(),
91819
+ "X-On-Behalf-Of": stringType().optional()
91820
+ }).transform((v2) => {
91821
+ return remap(v2, {
91822
+ start_time: "startTime",
91823
+ end_time: "endTime",
91824
+ bucket_width: "bucketWidth",
91825
+ group_by: "groupBy",
91826
+ all_orgs: "allOrgs",
91827
+ org_ids: "orgIds",
91828
+ "X-On-Behalf-Of": "xOnBehalfOf"
91829
+ });
91830
+ });
91831
+ GetSandboxUsageRequest$outboundSchema = objectType({
91832
+ startTime: numberType().int(),
91833
+ endTime: nullableType(numberType().int()).optional(),
91834
+ bucketWidth: SandboxUsageBucketWidth$outboundSchema.optional(),
91835
+ groupBy: nullableType(arrayType(stringType())).optional(),
91836
+ allOrgs: booleanType().default(false),
91837
+ orgIds: nullableType(arrayType(stringType())).optional(),
91838
+ xOnBehalfOf: stringType().optional()
91839
+ }).transform((v2) => {
91840
+ return remap(v2, {
91841
+ startTime: "start_time",
91842
+ endTime: "end_time",
91843
+ bucketWidth: "bucket_width",
91844
+ groupBy: "group_by",
91845
+ allOrgs: "all_orgs",
91846
+ orgIds: "org_ids",
91847
+ xOnBehalfOf: "X-On-Behalf-Of"
91848
+ });
91849
+ });
91850
+ });
91851
+
91471
91852
  // src/models/operations/getserviceaccount.ts
91472
91853
  var GetServiceAccountRequest$inboundSchema, GetServiceAccountRequest$outboundSchema, GetServiceAccountServiceAccount$inboundSchema, GetServiceAccountServiceAccount$outboundSchema, GetServiceAccountTeams$inboundSchema, GetServiceAccountTeams$outboundSchema, GetServiceAccountResponseBody$inboundSchema2, GetServiceAccountResponseBody$outboundSchema2;
91473
91854
  var init_getserviceaccount2 = __esm(() => {
@@ -91884,52 +92265,6 @@ var init_gettexttospeechhistorycontent = __esm(() => {
91884
92265
  ]);
91885
92266
  });
91886
92267
 
91887
- // src/models/operations/getusageapiv1sandboxusageget.ts
91888
- var GetUsageApiV1SandboxUsageGetRequest$inboundSchema, GetUsageApiV1SandboxUsageGetRequest$outboundSchema;
91889
- var init_getusageapiv1sandboxusageget = __esm(() => {
91890
- init_esm();
91891
- init_primitives();
91892
- init_components();
91893
- GetUsageApiV1SandboxUsageGetRequest$inboundSchema = objectType({
91894
- start_time: numberType().int(),
91895
- end_time: nullableType(numberType().int()).optional(),
91896
- bucket_width: SandboxUsageBucketWidth$inboundSchema.optional(),
91897
- group_by: nullableType(arrayType(stringType())).optional(),
91898
- all_orgs: booleanType().default(false),
91899
- org_ids: nullableType(arrayType(stringType())).optional(),
91900
- "X-On-Behalf-Of": stringType().optional()
91901
- }).transform((v2) => {
91902
- return remap(v2, {
91903
- start_time: "startTime",
91904
- end_time: "endTime",
91905
- bucket_width: "bucketWidth",
91906
- group_by: "groupBy",
91907
- all_orgs: "allOrgs",
91908
- org_ids: "orgIds",
91909
- "X-On-Behalf-Of": "xOnBehalfOf"
91910
- });
91911
- });
91912
- GetUsageApiV1SandboxUsageGetRequest$outboundSchema = objectType({
91913
- startTime: numberType().int(),
91914
- endTime: nullableType(numberType().int()).optional(),
91915
- bucketWidth: SandboxUsageBucketWidth$outboundSchema.optional(),
91916
- groupBy: nullableType(arrayType(stringType())).optional(),
91917
- allOrgs: booleanType().default(false),
91918
- orgIds: nullableType(arrayType(stringType())).optional(),
91919
- xOnBehalfOf: stringType().optional()
91920
- }).transform((v2) => {
91921
- return remap(v2, {
91922
- startTime: "start_time",
91923
- endTime: "end_time",
91924
- bucketWidth: "bucket_width",
91925
- groupBy: "group_by",
91926
- allOrgs: "all_orgs",
91927
- orgIds: "org_ids",
91928
- xOnBehalfOf: "X-On-Behalf-Of"
91929
- });
91930
- });
91931
- });
91932
-
91933
92268
  // src/models/operations/getvectorstore.ts
91934
92269
  var GetVectorStoreRequest$inboundSchema, GetVectorStoreRequest$outboundSchema;
91935
92270
  var init_getvectorstore = __esm(() => {
@@ -92887,13 +93222,13 @@ var init_listembeddingmodels = __esm(() => {
92887
93222
  });
92888
93223
 
92889
93224
  // src/models/operations/listevalruns.ts
92890
- var Status18, ListEvalRunsTruncation, ListEvalRunsServiceTier, Status$inboundSchema2, Status$outboundSchema2, ListEvalRunsRequest$inboundSchema, ListEvalRunsRequest$outboundSchema, ListEvalRunsStop$inboundSchema, ListEvalRunsStop$outboundSchema, ListEvalRunsTruncation$inboundSchema, ListEvalRunsTruncation$outboundSchema, ListEvalRunsServiceTier$inboundSchema, ListEvalRunsServiceTier$outboundSchema, ListEvalRunsPrefillThink$inboundSchema, ListEvalRunsPrefillThink$outboundSchema, ListEvalRunsGeneration$inboundSchema, ListEvalRunsGeneration$outboundSchema, ListEvalRunsRequestCounts$inboundSchema, ListEvalRunsRequestCounts$outboundSchema, ListEvalRunsData$inboundSchema, ListEvalRunsData$outboundSchema, ListEvalRunsResponseBody$inboundSchema, ListEvalRunsResponseBody$outboundSchema;
93225
+ var Status17, ListEvalRunsTruncation, ListEvalRunsServiceTier, Status$inboundSchema2, Status$outboundSchema2, ListEvalRunsRequest$inboundSchema, ListEvalRunsRequest$outboundSchema, ListEvalRunsStop$inboundSchema, ListEvalRunsStop$outboundSchema, ListEvalRunsTruncation$inboundSchema, ListEvalRunsTruncation$outboundSchema, ListEvalRunsServiceTier$inboundSchema, ListEvalRunsServiceTier$outboundSchema, ListEvalRunsPrefillThink$inboundSchema, ListEvalRunsPrefillThink$outboundSchema, ListEvalRunsGeneration$inboundSchema, ListEvalRunsGeneration$outboundSchema, ListEvalRunsRequestCounts$inboundSchema, ListEvalRunsRequestCounts$outboundSchema, ListEvalRunsData$inboundSchema, ListEvalRunsData$outboundSchema, ListEvalRunsResponseBody$inboundSchema, ListEvalRunsResponseBody$outboundSchema;
92891
93226
  var init_listevalruns = __esm(() => {
92892
93227
  init_esm();
92893
93228
  init_primitives();
92894
93229
  init_schemas4();
92895
93230
  init_components();
92896
- Status18 = {
93231
+ Status17 = {
92897
93232
  Queued: "queued",
92898
93233
  InProgress: "in_progress",
92899
93234
  Finalizing: "finalizing",
@@ -92912,7 +93247,7 @@ var init_listevalruns = __esm(() => {
92912
93247
  Flex: "flex",
92913
93248
  Priority: "priority"
92914
93249
  };
92915
- Status$inboundSchema2 = nativeEnumType(Status18);
93250
+ Status$inboundSchema2 = nativeEnumType(Status17);
92916
93251
  Status$outboundSchema2 = Status$inboundSchema2;
92917
93252
  ListEvalRunsRequest$inboundSchema = objectType({
92918
93253
  after: stringType().optional(),
@@ -93846,7 +94181,7 @@ var init_listevalsuites = __esm(() => {
93846
94181
  });
93847
94182
 
93848
94183
  // src/models/operations/listevalsuiteversions.ts
93849
- var ListEvalSuiteVersionsRequest$inboundSchema, ListEvalSuiteVersionsRequest$outboundSchema, ListEvalSuiteVersionsManifest$inboundSchema, ListEvalSuiteVersionsManifest$outboundSchema, Data$inboundSchema2, Data$outboundSchema2, ListEvalSuiteVersionsResponseBody$inboundSchema, ListEvalSuiteVersionsResponseBody$outboundSchema;
94184
+ var ListEvalSuiteVersionsRequest$inboundSchema, ListEvalSuiteVersionsRequest$outboundSchema, ListEvalSuiteVersionsManifest$inboundSchema, ListEvalSuiteVersionsManifest$outboundSchema, ListEvalSuiteVersionsData$inboundSchema, ListEvalSuiteVersionsData$outboundSchema, ListEvalSuiteVersionsResponseBody$inboundSchema, ListEvalSuiteVersionsResponseBody$outboundSchema;
93850
94185
  var init_listevalsuiteversions = __esm(() => {
93851
94186
  init_esm();
93852
94187
  init_primitives();
@@ -93890,7 +94225,7 @@ var init_listevalsuiteversions = __esm(() => {
93890
94225
  schemaVersion: "schema_version"
93891
94226
  });
93892
94227
  });
93893
- Data$inboundSchema2 = objectType({
94228
+ ListEvalSuiteVersionsData$inboundSchema = objectType({
93894
94229
  id: stringType(),
93895
94230
  object: literalType("eval.suite.version"),
93896
94231
  suite_id: stringType(),
@@ -93906,7 +94241,7 @@ var init_listevalsuiteversions = __esm(() => {
93906
94241
  created_at: "createdAt"
93907
94242
  });
93908
94243
  });
93909
- Data$outboundSchema2 = objectType({
94244
+ ListEvalSuiteVersionsData$outboundSchema = objectType({
93910
94245
  id: stringType(),
93911
94246
  object: literalType("eval.suite.version"),
93912
94247
  suiteId: stringType(),
@@ -93924,7 +94259,7 @@ var init_listevalsuiteversions = __esm(() => {
93924
94259
  });
93925
94260
  ListEvalSuiteVersionsResponseBody$inboundSchema = objectType({
93926
94261
  object: literalType("list"),
93927
- data: arrayType(lazyType(() => Data$inboundSchema2)),
94262
+ data: arrayType(lazyType(() => ListEvalSuiteVersionsData$inboundSchema)),
93928
94263
  first_id: stringType().optional(),
93929
94264
  last_id: stringType().optional(),
93930
94265
  has_more: booleanType()
@@ -93937,7 +94272,7 @@ var init_listevalsuiteversions = __esm(() => {
93937
94272
  });
93938
94273
  ListEvalSuiteVersionsResponseBody$outboundSchema = objectType({
93939
94274
  object: literalType("list"),
93940
- data: arrayType(lazyType(() => Data$outboundSchema2)),
94275
+ data: arrayType(lazyType(() => ListEvalSuiteVersionsData$outboundSchema)),
93941
94276
  firstId: stringType().optional(),
93942
94277
  lastId: stringType().optional(),
93943
94278
  hasMore: booleanType()
@@ -99202,6 +99537,7 @@ var init_operations = __esm(() => {
99202
99537
  init_getresponse();
99203
99538
  init_getresponsefeedback();
99204
99539
  init_getresponsesusage();
99540
+ init_getsandboxusage();
99205
99541
  init_getserviceaccount2();
99206
99542
  init_getservingmodel();
99207
99543
  init_getsession();
@@ -99216,7 +99552,6 @@ var init_operations = __esm(() => {
99216
99552
  init_getteam2();
99217
99553
  init_gettexttospeechhistory();
99218
99554
  init_gettexttospeechhistorycontent();
99219
- init_getusageapiv1sandboxusageget();
99220
99555
  init_getvectorstore();
99221
99556
  init_getvectorstorefile();
99222
99557
  init_getvectorstorefilebatch();
@@ -108974,7 +109309,7 @@ async function $do82(client, request, options) {
108974
109309
  return [doResult, { status: "request-error", request: req }];
108975
109310
  }
108976
109311
  const response = doResult.value;
108977
- const [result] = await match(json(200, ItemListObject$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
109312
+ const [result] = await match(json(200, ConversationsItemsCreateResponseBody$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
108978
109313
  if (!result.ok) {
108979
109314
  return [result, { status: "complete", request: req, response }];
108980
109315
  }
@@ -108988,7 +109323,6 @@ var init_llmConversationsCreateItems = __esm(() => {
108988
109323
  init_schemas4();
108989
109324
  init_security();
108990
109325
  init_url();
108991
- init_components();
108992
109326
  init_operations();
108993
109327
  init_async();
108994
109328
  });
@@ -109803,7 +110137,7 @@ async function $do89(client, request, options) {
109803
110137
  return [doResult, { status: "request-error", request: req }];
109804
110138
  }
109805
110139
  const response = doResult.value;
109806
- const [result] = await match(json(200, ItemListObject$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
110140
+ const [result] = await match(json(200, ConversationsItemsListResponseBody$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
109807
110141
  if (!result.ok) {
109808
110142
  return [result, { status: "complete", request: req, response }];
109809
110143
  }
@@ -109817,7 +110151,6 @@ var init_llmConversationsListItems = __esm(() => {
109817
110151
  init_schemas4();
109818
110152
  init_security();
109819
110153
  init_url();
109820
- init_components();
109821
110154
  init_operations();
109822
110155
  init_async();
109823
110156
  });
@@ -122148,7 +122481,7 @@ async function $do196(client, request, options) {
122148
122481
  return [parsed, { status: "invalid" }];
122149
122482
  }
122150
122483
  const payload = parsed.value;
122151
- const body = encodeJSON("body", payload.RequestBody, { explode: true });
122484
+ const body = null;
122152
122485
  const pathParams = {
122153
122486
  id: encodeSimple("id", payload.id, {
122154
122487
  explode: false,
@@ -122157,7 +122490,6 @@ async function $do196(client, request, options) {
122157
122490
  };
122158
122491
  const path = pathToFunc("/api/v1/llm/prompts/{id}")(pathParams);
122159
122492
  const headers = new Headers(compactMap({
122160
- "Content-Type": "application/json",
122161
122493
  Accept: "application/json",
122162
122494
  "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
122163
122495
  }));
@@ -130782,11 +131114,105 @@ Return the current state, features, and runner metadata for a sandbox session.`,
130782
131114
  };
130783
131115
  });
130784
131116
 
131117
+ // src/funcs/sandboxGetPricing.ts
131118
+ function sandboxGetPricing(client, options) {
131119
+ return new APIPromise($do268(client, options));
131120
+ }
131121
+ async function $do268(client, options) {
131122
+ const path = pathToFunc("/api/v1/sandbox/pricing")();
131123
+ const headers = new Headers(compactMap({
131124
+ Accept: "application/json"
131125
+ }));
131126
+ const secConfig = await extractSecurity(client._options.bearerAuth);
131127
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
131128
+ const requestSecurity = resolveGlobalSecurity(securityInput);
131129
+ const context = {
131130
+ options: client._options,
131131
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
131132
+ operationID: "getSandboxPricing",
131133
+ oAuth2Scopes: null,
131134
+ resolvedSecurity: requestSecurity,
131135
+ securitySource: client._options.bearerAuth,
131136
+ retryConfig: options?.retries || client._options.retryConfig || {
131137
+ strategy: "backoff",
131138
+ backoff: {
131139
+ initialInterval: 500,
131140
+ maxInterval: 5000,
131141
+ exponent: 1.5,
131142
+ maxElapsedTime: 15000
131143
+ },
131144
+ retryConnectionErrors: true
131145
+ },
131146
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
131147
+ };
131148
+ const requestRes = client._createRequest(context, {
131149
+ security: requestSecurity,
131150
+ method: "GET",
131151
+ baseURL: options?.serverURL,
131152
+ path,
131153
+ headers,
131154
+ userAgent: client._options.userAgent,
131155
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
131156
+ }, options);
131157
+ if (!requestRes.ok) {
131158
+ return [requestRes, { status: "invalid" }];
131159
+ }
131160
+ const req = requestRes.value;
131161
+ const doResult = await client._do(req, {
131162
+ context,
131163
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
131164
+ retryConfig: context.retryConfig,
131165
+ retryCodes: context.retryCodes
131166
+ });
131167
+ if (!doResult.ok) {
131168
+ return [doResult, { status: "request-error", request: req }];
131169
+ }
131170
+ const response = doResult.value;
131171
+ const [result] = await match(json(200, SandboxPricingCard$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
131172
+ if (!result.ok) {
131173
+ return [result, { status: "complete", request: req, response }];
131174
+ }
131175
+ return [result, { status: "complete", request: req, response }];
131176
+ }
131177
+ var init_sandboxGetPricing = __esm(() => {
131178
+ init_http();
131179
+ init_matchers();
131180
+ init_primitives();
131181
+ init_security();
131182
+ init_url();
131183
+ init_components();
131184
+ init_async();
131185
+ });
131186
+
131187
+ // src/mcp-server/tools/sandboxGetPricing.ts
131188
+ var tool$sandboxGetPricing;
131189
+ var init_sandboxGetPricing2 = __esm(() => {
131190
+ init_sandboxGetPricing();
131191
+ init_tools();
131192
+ tool$sandboxGetPricing = {
131193
+ name: "sandbox-get-pricing",
131194
+ description: `Get Sandbox Pricing
131195
+
131196
+ Current sandbox pricing rate card, keyed by SKU (\`standard\`, \`browser\`, \`eval-python\`). Metered sandbox usage is billed \`hours × (per_hour + reserved_memory_GiB × per_gib_hour)\`; SKUs without a configured rate accrue no spend. Cluster admins only.`,
131197
+ tool: async (client, ctx) => {
131198
+ const [result, apiCall] = await sandboxGetPricing(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
131199
+ if (!result.ok) {
131200
+ return {
131201
+ content: [{ type: "text", text: result.error.message }],
131202
+ isError: true
131203
+ };
131204
+ }
131205
+ const value = result.value;
131206
+ return formatResult(value, apiCall);
131207
+ }
131208
+ };
131209
+ });
131210
+
130785
131211
  // src/funcs/sandboxGetUrl.ts
130786
131212
  function sandboxGetUrl(client, request, options) {
130787
- return new APIPromise($do268(client, request, options));
131213
+ return new APIPromise($do269(client, request, options));
130788
131214
  }
130789
- async function $do268(client, request, options) {
131215
+ async function $do269(client, request, options) {
130790
131216
  const parsed = safeParse4(request, (value) => GetSessionUrlRequest$outboundSchema.parse(value), "Input validation failed");
130791
131217
  if (!parsed.ok) {
130792
131218
  return [parsed, { status: "invalid" }];
@@ -130909,9 +131335,9 @@ Resolve a gateway URL for a port exposed by the sandbox session. For \`browser\`
130909
131335
 
130910
131336
  // src/funcs/sandboxGetWorkspace.ts
130911
131337
  function sandboxGetWorkspace(client, request, options) {
130912
- return new APIPromise($do269(client, request, options));
131338
+ return new APIPromise($do270(client, request, options));
130913
131339
  }
130914
- async function $do269(client, request, options) {
131340
+ async function $do270(client, request, options) {
130915
131341
  const parsed = safeParse4(request, (value) => GetWorkspaceRequest$outboundSchema.parse(value), "Input validation failed");
130916
131342
  if (!parsed.ok) {
130917
131343
  return [parsed, { status: "invalid" }];
@@ -131033,9 +131459,9 @@ List files currently stored in the session workspace, including paths, sizes, an
131033
131459
 
131034
131460
  // src/funcs/sandboxList.ts
131035
131461
  function sandboxList(client, request, options) {
131036
- return new APIPromise($do270(client, request, options));
131462
+ return new APIPromise($do271(client, request, options));
131037
131463
  }
131038
- async function $do270(client, request, options) {
131464
+ async function $do271(client, request, options) {
131039
131465
  const parsed = safeParse4(request, (value) => ListSessionsRequest$outboundSchema.parse(value), "Input validation failed");
131040
131466
  if (!parsed.ok) {
131041
131467
  return [parsed, { status: "invalid" }];
@@ -131148,9 +131574,9 @@ List sandbox sessions visible to the authenticated caller.`,
131148
131574
 
131149
131575
  // src/funcs/sandboxProxyBrowserPortRequest.ts
131150
131576
  function sandboxProxyBrowserPortRequest(client, request, options) {
131151
- return new APIPromise($do271(client, request, options));
131577
+ return new APIPromise($do272(client, request, options));
131152
131578
  }
131153
- async function $do271(client, request, options) {
131579
+ async function $do272(client, request, options) {
131154
131580
  const parsed = safeParse4(request, (value) => ProxyBrowserPortRequestRequest$outboundSchema.parse(value), "Input validation failed");
131155
131581
  if (!parsed.ok) {
131156
131582
  return [parsed, { status: "invalid" }];
@@ -131280,9 +131706,9 @@ Proxy an HTTP request to an exposed browser-session port through the gateway. Us
131280
131706
 
131281
131707
  // src/funcs/sandboxRunCode.ts
131282
131708
  function sandboxRunCode(client, request, options) {
131283
- return new APIPromise($do272(client, request, options));
131709
+ return new APIPromise($do273(client, request, options));
131284
131710
  }
131285
- async function $do272(client, request, options) {
131711
+ async function $do273(client, request, options) {
131286
131712
  const parsed = safeParse4(request, (value) => RunCodeRequest$outboundSchema.parse(value), "Input validation failed");
131287
131713
  if (!parsed.ok) {
131288
131714
  return [parsed, { status: "invalid" }];
@@ -131350,13 +131776,134 @@ async function $do272(client, request, options) {
131350
131776
  const responseFields = {
131351
131777
  HttpMeta: { Response: response, Request: req }
131352
131778
  };
131353
- const [result] = await match(json(200, CodeResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
131779
+ const [result] = await match(json(200, CodeResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
131780
+ if (!result.ok) {
131781
+ return [result, { status: "complete", request: req, response }];
131782
+ }
131783
+ return [result, { status: "complete", request: req, response }];
131784
+ }
131785
+ var init_sandboxRunCode = __esm(() => {
131786
+ init_encodings();
131787
+ init_http();
131788
+ init_matchers();
131789
+ init_primitives();
131790
+ init_schemas4();
131791
+ init_security();
131792
+ init_url();
131793
+ init_components();
131794
+ init_errors4();
131795
+ init_operations();
131796
+ init_async();
131797
+ });
131798
+
131799
+ // src/mcp-server/tools/sandboxRunCode.ts
131800
+ var args265, tool$sandboxRunCode;
131801
+ var init_sandboxRunCode2 = __esm(() => {
131802
+ init_sandboxRunCode();
131803
+ init_operations();
131804
+ init_tools();
131805
+ args265 = {
131806
+ request: RunCodeRequest$inboundSchema
131807
+ };
131808
+ tool$sandboxRunCode = {
131809
+ name: "sandbox-run-code",
131810
+ description: `Run Code
131811
+
131812
+ Execute source code in the session workspace using a supported runtime and return the execution result.`,
131813
+ args: args265,
131814
+ tool: async (client, args266, ctx) => {
131815
+ const [result, apiCall] = await sandboxRunCode(client, args266.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
131816
+ if (!result.ok) {
131817
+ return {
131818
+ content: [{ type: "text", text: result.error.message }],
131819
+ isError: true
131820
+ };
131821
+ }
131822
+ const value = result.value;
131823
+ return formatResult(value, apiCall);
131824
+ }
131825
+ };
131826
+ });
131827
+
131828
+ // src/funcs/sandboxRunCommand.ts
131829
+ function sandboxRunCommand(client, request, options) {
131830
+ return new APIPromise($do274(client, request, options));
131831
+ }
131832
+ async function $do274(client, request, options) {
131833
+ const parsed = safeParse4(request, (value) => RunCommandRequest$outboundSchema.parse(value), "Input validation failed");
131834
+ if (!parsed.ok) {
131835
+ return [parsed, { status: "invalid" }];
131836
+ }
131837
+ const payload = parsed.value;
131838
+ const body = encodeJSON("body", payload.CommandRequest, { explode: true });
131839
+ const pathParams = {
131840
+ session_id: encodeSimple("session_id", payload.session_id, {
131841
+ explode: false,
131842
+ charEncoding: "percent"
131843
+ })
131844
+ };
131845
+ const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/commands")(pathParams);
131846
+ const headers = new Headers(compactMap({
131847
+ "Content-Type": "application/json",
131848
+ Accept: "application/json",
131849
+ "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
131850
+ }));
131851
+ const secConfig = await extractSecurity(client._options.bearerAuth);
131852
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
131853
+ const requestSecurity = resolveGlobalSecurity(securityInput);
131854
+ const context = {
131855
+ options: client._options,
131856
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
131857
+ operationID: "runCommand",
131858
+ oAuth2Scopes: null,
131859
+ resolvedSecurity: requestSecurity,
131860
+ securitySource: client._options.bearerAuth,
131861
+ retryConfig: options?.retries || client._options.retryConfig || {
131862
+ strategy: "backoff",
131863
+ backoff: {
131864
+ initialInterval: 500,
131865
+ maxInterval: 5000,
131866
+ exponent: 1.5,
131867
+ maxElapsedTime: 15000
131868
+ },
131869
+ retryConnectionErrors: true
131870
+ },
131871
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
131872
+ };
131873
+ const requestRes = client._createRequest(context, {
131874
+ security: requestSecurity,
131875
+ method: "POST",
131876
+ baseURL: options?.serverURL,
131877
+ path,
131878
+ headers,
131879
+ body,
131880
+ userAgent: client._options.userAgent,
131881
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
131882
+ }, options);
131883
+ if (!requestRes.ok) {
131884
+ return [requestRes, { status: "invalid" }];
131885
+ }
131886
+ const req = requestRes.value;
131887
+ const doResult = await client._do(req, {
131888
+ context,
131889
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
131890
+ retryConfig: context.retryConfig,
131891
+ retryCodes: context.retryCodes
131892
+ });
131893
+ if (!doResult.ok) {
131894
+ return [doResult, { status: "request-error", request: req }];
131895
+ }
131896
+ const response = doResult.value;
131897
+ const responseFields = {
131898
+ HttpMeta: { Response: response, Request: req }
131899
+ };
131900
+ const [result] = await match(json(200, CommandResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
131354
131901
  if (!result.ok) {
131355
131902
  return [result, { status: "complete", request: req, response }];
131356
131903
  }
131357
131904
  return [result, { status: "complete", request: req, response }];
131358
131905
  }
131359
- var init_sandboxRunCode = __esm(() => {
131906
+ var init_sandboxRunCommand = __esm(() => {
131360
131907
  init_encodings();
131361
131908
  init_http();
131362
131909
  init_matchers();
@@ -131370,23 +131917,23 @@ var init_sandboxRunCode = __esm(() => {
131370
131917
  init_async();
131371
131918
  });
131372
131919
 
131373
- // src/mcp-server/tools/sandboxRunCode.ts
131374
- var args265, tool$sandboxRunCode;
131375
- var init_sandboxRunCode2 = __esm(() => {
131376
- init_sandboxRunCode();
131920
+ // src/mcp-server/tools/sandboxRunCommand.ts
131921
+ var args266, tool$sandboxRunCommand;
131922
+ var init_sandboxRunCommand2 = __esm(() => {
131923
+ init_sandboxRunCommand();
131377
131924
  init_operations();
131378
131925
  init_tools();
131379
- args265 = {
131380
- request: RunCodeRequest$inboundSchema
131926
+ args266 = {
131927
+ request: RunCommandRequest$inboundSchema
131381
131928
  };
131382
- tool$sandboxRunCode = {
131383
- name: "sandbox-run-code",
131384
- description: `Run Code
131929
+ tool$sandboxRunCommand = {
131930
+ name: "sandbox-run-command",
131931
+ description: `Run Command
131385
131932
 
131386
- Execute source code in the session workspace using a supported runtime and return the execution result.`,
131387
- args: args265,
131388
- tool: async (client, args266, ctx) => {
131389
- const [result, apiCall] = await sandboxRunCode(client, args266.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
131933
+ Run a command in the session workspace and return stdout, stderr, exit code, and changed files.`,
131934
+ args: args266,
131935
+ tool: async (client, args267, ctx) => {
131936
+ const [result, apiCall] = await sandboxRunCommand(client, args267.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
131390
131937
  if (!result.ok) {
131391
131938
  return {
131392
131939
  content: [{ type: "text", text: result.error.message }],
@@ -131399,28 +131946,21 @@ Execute source code in the session workspace using a supported runtime and retur
131399
131946
  };
131400
131947
  });
131401
131948
 
131402
- // src/funcs/sandboxRunCommand.ts
131403
- function sandboxRunCommand(client, request, options) {
131404
- return new APIPromise($do273(client, request, options));
131949
+ // src/funcs/sandboxSetPricing.ts
131950
+ function sandboxSetPricing(client, request, options) {
131951
+ return new APIPromise($do275(client, request, options));
131405
131952
  }
131406
- async function $do273(client, request, options) {
131407
- const parsed = safeParse4(request, (value) => RunCommandRequest$outboundSchema.parse(value), "Input validation failed");
131953
+ async function $do275(client, request, options) {
131954
+ const parsed = safeParse4(request, (value) => SandboxPricingUpdate$outboundSchema.parse(value), "Input validation failed");
131408
131955
  if (!parsed.ok) {
131409
131956
  return [parsed, { status: "invalid" }];
131410
131957
  }
131411
131958
  const payload = parsed.value;
131412
- const body = encodeJSON("body", payload.CommandRequest, { explode: true });
131413
- const pathParams = {
131414
- session_id: encodeSimple("session_id", payload.session_id, {
131415
- explode: false,
131416
- charEncoding: "percent"
131417
- })
131418
- };
131419
- const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/commands")(pathParams);
131959
+ const body = encodeJSON("body", payload, { explode: true });
131960
+ const path = pathToFunc("/api/v1/sandbox/pricing")();
131420
131961
  const headers = new Headers(compactMap({
131421
131962
  "Content-Type": "application/json",
131422
- Accept: "application/json",
131423
- "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
131963
+ Accept: "application/json"
131424
131964
  }));
131425
131965
  const secConfig = await extractSecurity(client._options.bearerAuth);
131426
131966
  const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
@@ -131428,7 +131968,7 @@ async function $do273(client, request, options) {
131428
131968
  const context = {
131429
131969
  options: client._options,
131430
131970
  baseURL: options?.serverURL ?? client._baseURL ?? "",
131431
- operationID: "runCommand",
131971
+ operationID: "setSandboxPricing",
131432
131972
  oAuth2Scopes: null,
131433
131973
  resolvedSecurity: requestSecurity,
131434
131974
  securitySource: client._options.bearerAuth,
@@ -131446,7 +131986,7 @@ async function $do273(client, request, options) {
131446
131986
  };
131447
131987
  const requestRes = client._createRequest(context, {
131448
131988
  security: requestSecurity,
131449
- method: "POST",
131989
+ method: "PUT",
131450
131990
  baseURL: options?.serverURL,
131451
131991
  path,
131452
131992
  headers,
@@ -131471,13 +132011,13 @@ async function $do273(client, request, options) {
131471
132011
  const responseFields = {
131472
132012
  HttpMeta: { Response: response, Request: req }
131473
132013
  };
131474
- const [result] = await match(json(200, CommandResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
132014
+ const [result] = await match(json(200, SandboxPricingCard$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
131475
132015
  if (!result.ok) {
131476
132016
  return [result, { status: "complete", request: req, response }];
131477
132017
  }
131478
132018
  return [result, { status: "complete", request: req, response }];
131479
132019
  }
131480
- var init_sandboxRunCommand = __esm(() => {
132020
+ var init_sandboxSetPricing = __esm(() => {
131481
132021
  init_encodings();
131482
132022
  init_http();
131483
132023
  init_matchers();
@@ -131487,27 +132027,26 @@ var init_sandboxRunCommand = __esm(() => {
131487
132027
  init_url();
131488
132028
  init_components();
131489
132029
  init_errors4();
131490
- init_operations();
131491
132030
  init_async();
131492
132031
  });
131493
132032
 
131494
- // src/mcp-server/tools/sandboxRunCommand.ts
131495
- var args266, tool$sandboxRunCommand;
131496
- var init_sandboxRunCommand2 = __esm(() => {
131497
- init_sandboxRunCommand();
131498
- init_operations();
132033
+ // src/mcp-server/tools/sandboxSetPricing.ts
132034
+ var args267, tool$sandboxSetPricing;
132035
+ var init_sandboxSetPricing2 = __esm(() => {
132036
+ init_sandboxSetPricing();
132037
+ init_components();
131499
132038
  init_tools();
131500
- args266 = {
131501
- request: RunCommandRequest$inboundSchema
132039
+ args267 = {
132040
+ request: SandboxPricingUpdate$inboundSchema
131502
132041
  };
131503
- tool$sandboxRunCommand = {
131504
- name: "sandbox-run-command",
131505
- description: `Run Command
132042
+ tool$sandboxSetPricing = {
132043
+ name: "sandbox-set-pricing",
132044
+ description: `Set Sandbox Pricing
131506
132045
 
131507
- Run a command in the session workspace and return stdout, stderr, exit code, and changed files.`,
131508
- args: args266,
131509
- tool: async (client, args267, ctx) => {
131510
- const [result, apiCall] = await sandboxRunCommand(client, args267.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
132046
+ Replace the sandbox pricing rate card. Full-replace semantics: SKUs omitted from the request become unpriced and accrue no spend. Takes effect on the next meter window without a restart. Cluster admins only.`,
132047
+ args: args267,
132048
+ tool: async (client, args268, ctx) => {
132049
+ const [result, apiCall] = await sandboxSetPricing(client, args268.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
131511
132050
  if (!result.ok) {
131512
132051
  return {
131513
132052
  content: [{ type: "text", text: result.error.message }],
@@ -131522,9 +132061,9 @@ Run a command in the session workspace and return stdout, stderr, exit code, and
131522
132061
 
131523
132062
  // src/funcs/sandboxTerminate.ts
131524
132063
  function sandboxTerminate(client, request, options) {
131525
- return new APIPromise($do274(client, request, options));
132064
+ return new APIPromise($do276(client, request, options));
131526
132065
  }
131527
- async function $do274(client, request, options) {
132066
+ async function $do276(client, request, options) {
131528
132067
  const parsed = safeParse4(request, (value) => TerminateSessionRequest$outboundSchema2.parse(value), "Input validation failed");
131529
132068
  if (!parsed.ok) {
131530
132069
  return [parsed, { status: "invalid" }];
@@ -131615,12 +132154,12 @@ var init_sandboxTerminate = __esm(() => {
131615
132154
  });
131616
132155
 
131617
132156
  // src/mcp-server/tools/sandboxTerminate.ts
131618
- var args267, tool$sandboxTerminate;
132157
+ var args268, tool$sandboxTerminate;
131619
132158
  var init_sandboxTerminate2 = __esm(() => {
131620
132159
  init_sandboxTerminate();
131621
132160
  init_operations();
131622
132161
  init_tools();
131623
- args267 = {
132162
+ args268 = {
131624
132163
  request: TerminateSessionRequest$inboundSchema2
131625
132164
  };
131626
132165
  tool$sandboxTerminate = {
@@ -131628,9 +132167,9 @@ var init_sandboxTerminate2 = __esm(() => {
131628
132167
  description: `Terminate Session
131629
132168
 
131630
132169
  Stop a sandbox session and release the backing sandbox resources.`,
131631
- args: args267,
131632
- tool: async (client, args268, ctx) => {
131633
- const [result, apiCall] = await sandboxTerminate(client, args268.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
132170
+ args: args268,
132171
+ tool: async (client, args269, ctx) => {
132172
+ const [result, apiCall] = await sandboxTerminate(client, args269.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
131634
132173
  if (!result.ok) {
131635
132174
  return {
131636
132175
  content: [{ type: "text", text: result.error.message }],
@@ -131645,9 +132184,9 @@ Stop a sandbox session and release the backing sandbox resources.`,
131645
132184
 
131646
132185
  // src/funcs/sandboxUploadArchive.ts
131647
132186
  function sandboxUploadArchive(client, request, options) {
131648
- return new APIPromise($do275(client, request, options));
132187
+ return new APIPromise($do277(client, request, options));
131649
132188
  }
131650
- async function $do275(client, request, options) {
132189
+ async function $do277(client, request, options) {
131651
132190
  const parsed = safeParse4(request, (value) => UploadWorkspaceArchiveRequest$outboundSchema.parse(value), "Input validation failed");
131652
132191
  if (!parsed.ok) {
131653
132192
  return [parsed, { status: "invalid" }];
@@ -131740,12 +132279,12 @@ var init_sandboxUploadArchive = __esm(() => {
131740
132279
  });
131741
132280
 
131742
132281
  // src/mcp-server/tools/sandboxUploadArchive.ts
131743
- var args268, tool$sandboxUploadArchive;
132282
+ var args269, tool$sandboxUploadArchive;
131744
132283
  var init_sandboxUploadArchive2 = __esm(() => {
131745
132284
  init_sandboxUploadArchive();
131746
132285
  init_operations();
131747
132286
  init_tools();
131748
- args268 = {
132287
+ args269 = {
131749
132288
  request: UploadWorkspaceArchiveRequest$inboundSchema
131750
132289
  };
131751
132290
  tool$sandboxUploadArchive = {
@@ -131753,9 +132292,9 @@ var init_sandboxUploadArchive2 = __esm(() => {
131753
132292
  description: `Upload Workspace Archive
131754
132293
 
131755
132294
  Upload a zip archive and extract its files into the session workspace.`,
131756
- args: args268,
131757
- tool: async (client, args269, ctx) => {
131758
- const [result, apiCall] = await sandboxUploadArchive(client, args269.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
132295
+ args: args269,
132296
+ tool: async (client, args270, ctx) => {
132297
+ const [result, apiCall] = await sandboxUploadArchive(client, args270.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
131759
132298
  if (!result.ok) {
131760
132299
  return {
131761
132300
  content: [{ type: "text", text: result.error.message }],
@@ -131770,9 +132309,9 @@ Upload a zip archive and extract its files into the session workspace.`,
131770
132309
 
131771
132310
  // src/funcs/sandboxUploadFile.ts
131772
132311
  function sandboxUploadFile(client, request, options) {
131773
- return new APIPromise($do276(client, request, options));
132312
+ return new APIPromise($do278(client, request, options));
131774
132313
  }
131775
- async function $do276(client, request, options) {
132314
+ async function $do278(client, request, options) {
131776
132315
  const parsed = safeParse4(request, (value) => UploadWorkspaceFileRequest$outboundSchema.parse(value), "Input validation failed");
131777
132316
  if (!parsed.ok) {
131778
132317
  return [parsed, { status: "invalid" }];
@@ -131869,12 +132408,12 @@ var init_sandboxUploadFile = __esm(() => {
131869
132408
  });
131870
132409
 
131871
132410
  // src/mcp-server/tools/sandboxUploadFile.ts
131872
- var args269, tool$sandboxUploadFile;
132411
+ var args270, tool$sandboxUploadFile;
131873
132412
  var init_sandboxUploadFile2 = __esm(() => {
131874
132413
  init_sandboxUploadFile();
131875
132414
  init_operations();
131876
132415
  init_tools();
131877
- args269 = {
132416
+ args270 = {
131878
132417
  request: UploadWorkspaceFileRequest$inboundSchema
131879
132418
  };
131880
132419
  tool$sandboxUploadFile = {
@@ -131882,130 +132421,9 @@ var init_sandboxUploadFile2 = __esm(() => {
131882
132421
  description: `Upload Workspace File
131883
132422
 
131884
132423
  Upload raw bytes into the session workspace at the given path.`,
131885
- args: args269,
131886
- tool: async (client, args270, ctx) => {
131887
- const [result, apiCall] = await sandboxUploadFile(client, args270.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
131888
- if (!result.ok) {
131889
- return {
131890
- content: [{ type: "text", text: result.error.message }],
131891
- isError: true
131892
- };
131893
- }
131894
- const value = result.value;
131895
- return formatResult(value, apiCall);
131896
- }
131897
- };
131898
- });
131899
-
131900
- // src/funcs/sandboxUsageGetUsageApiV1SandboxUsageGet.ts
131901
- function sandboxUsageGetUsageApiV1SandboxUsageGet(client, request, options) {
131902
- return new APIPromise($do277(client, request, options));
131903
- }
131904
- async function $do277(client, request, options) {
131905
- const parsed = safeParse4(request, (value) => GetUsageApiV1SandboxUsageGetRequest$outboundSchema.parse(value), "Input validation failed");
131906
- if (!parsed.ok) {
131907
- return [parsed, { status: "invalid" }];
131908
- }
131909
- const payload = parsed.value;
131910
- const body = null;
131911
- const path = pathToFunc("/api/v1/sandbox/usage")();
131912
- const query = encodeFormQuery({
131913
- all_orgs: payload.all_orgs,
131914
- bucket_width: payload.bucket_width,
131915
- end_time: payload.end_time,
131916
- group_by: payload.group_by,
131917
- org_ids: payload.org_ids,
131918
- start_time: payload.start_time
131919
- });
131920
- const headers = new Headers(compactMap({
131921
- Accept: "application/json",
131922
- "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
131923
- }));
131924
- const secConfig = await extractSecurity(client._options.bearerAuth);
131925
- const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
131926
- const requestSecurity = resolveGlobalSecurity(securityInput);
131927
- const context = {
131928
- options: client._options,
131929
- baseURL: options?.serverURL ?? client._baseURL ?? "",
131930
- operationID: "get_usage_api_v1_sandbox_usage_get",
131931
- oAuth2Scopes: null,
131932
- resolvedSecurity: requestSecurity,
131933
- securitySource: client._options.bearerAuth,
131934
- retryConfig: options?.retries || client._options.retryConfig || {
131935
- strategy: "backoff",
131936
- backoff: {
131937
- initialInterval: 500,
131938
- maxInterval: 5000,
131939
- exponent: 1.5,
131940
- maxElapsedTime: 15000
131941
- },
131942
- retryConnectionErrors: true
131943
- },
131944
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
131945
- };
131946
- const requestRes = client._createRequest(context, {
131947
- security: requestSecurity,
131948
- method: "GET",
131949
- baseURL: options?.serverURL,
131950
- path,
131951
- headers,
131952
- query,
131953
- body,
131954
- userAgent: client._options.userAgent,
131955
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
131956
- }, options);
131957
- if (!requestRes.ok) {
131958
- return [requestRes, { status: "invalid" }];
131959
- }
131960
- const req = requestRes.value;
131961
- const doResult = await client._do(req, {
131962
- context,
131963
- isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
131964
- retryConfig: context.retryConfig,
131965
- retryCodes: context.retryCodes
131966
- });
131967
- if (!doResult.ok) {
131968
- return [doResult, { status: "request-error", request: req }];
131969
- }
131970
- const response = doResult.value;
131971
- const responseFields = {
131972
- HttpMeta: { Response: response, Request: req }
131973
- };
131974
- const [result] = await match(json(200, SandboxUsagePage$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
131975
- if (!result.ok) {
131976
- return [result, { status: "complete", request: req, response }];
131977
- }
131978
- return [result, { status: "complete", request: req, response }];
131979
- }
131980
- var init_sandboxUsageGetUsageApiV1SandboxUsageGet = __esm(() => {
131981
- init_encodings();
131982
- init_http();
131983
- init_matchers();
131984
- init_primitives();
131985
- init_schemas4();
131986
- init_security();
131987
- init_url();
131988
- init_components();
131989
- init_errors4();
131990
- init_operations();
131991
- init_async();
131992
- });
131993
-
131994
- // src/mcp-server/tools/sandboxUsageGetUsageApiV1SandboxUsageGet.ts
131995
- var args270, tool$sandboxUsageGetUsageApiV1SandboxUsageGet;
131996
- var init_sandboxUsageGetUsageApiV1SandboxUsageGet2 = __esm(() => {
131997
- init_sandboxUsageGetUsageApiV1SandboxUsageGet();
131998
- init_operations();
131999
- init_tools();
132000
- args270 = {
132001
- request: GetUsageApiV1SandboxUsageGetRequest$inboundSchema
132002
- };
132003
- tool$sandboxUsageGetUsageApiV1SandboxUsageGet = {
132004
- name: "sandbox-usage-get-usage-api-v1-sandbox-usage-get",
132005
- description: `Get Usage`,
132006
132424
  args: args270,
132007
132425
  tool: async (client, args271, ctx) => {
132008
- const [result, apiCall] = await sandboxUsageGetUsageApiV1SandboxUsageGet(client, args271.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
132426
+ const [result, apiCall] = await sandboxUploadFile(client, args271.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
132009
132427
  if (!result.ok) {
132010
132428
  return {
132011
132429
  content: [{ type: "text", text: result.error.message }],
@@ -132020,9 +132438,9 @@ var init_sandboxUsageGetUsageApiV1SandboxUsageGet2 = __esm(() => {
132020
132438
 
132021
132439
  // src/funcs/searchGraphragCreateGraphRAGStore.ts
132022
132440
  function searchGraphragCreateGraphRAGStore(client, request, options) {
132023
- return new APIPromise($do278(client, request, options));
132441
+ return new APIPromise($do279(client, request, options));
132024
132442
  }
132025
- async function $do278(client, request, options) {
132443
+ async function $do279(client, request, options) {
132026
132444
  const parsed = safeParse4(request, (value) => CreateGraphRAGStoreRequest$outboundSchema2.parse(value), "Input validation failed");
132027
132445
  if (!parsed.ok) {
132028
132446
  return [parsed, { status: "invalid" }];
@@ -132135,9 +132553,9 @@ var init_searchGraphragCreateGraphRAGStore2 = __esm(() => {
132135
132553
 
132136
132554
  // src/funcs/searchGraphragDeleteGraphRAGStore.ts
132137
132555
  function searchGraphragDeleteGraphRAGStore(client, request, options) {
132138
- return new APIPromise($do279(client, request, options));
132556
+ return new APIPromise($do280(client, request, options));
132139
132557
  }
132140
- async function $do279(client, request, options) {
132558
+ async function $do280(client, request, options) {
132141
132559
  const parsed = safeParse4(request, (value) => DeleteGraphRAGStoreRequest$outboundSchema.parse(value), "Input validation failed");
132142
132560
  if (!parsed.ok) {
132143
132561
  return [parsed, { status: "invalid" }];
@@ -132253,9 +132671,9 @@ var init_searchGraphragDeleteGraphRAGStore2 = __esm(() => {
132253
132671
 
132254
132672
  // src/funcs/searchGraphragIngestGraphRAGDocuments.ts
132255
132673
  function searchGraphragIngestGraphRAGDocuments(client, request, options) {
132256
- return new APIPromise($do280(client, request, options));
132674
+ return new APIPromise($do281(client, request, options));
132257
132675
  }
132258
- async function $do280(client, request, options) {
132676
+ async function $do281(client, request, options) {
132259
132677
  const parsed = safeParse4(request, (value) => IngestGraphRAGDocumentsRequest$outboundSchema2.parse(value), "Input validation failed");
132260
132678
  if (!parsed.ok) {
132261
132679
  return [parsed, { status: "invalid" }];
@@ -132374,9 +132792,9 @@ var init_searchGraphragIngestGraphRAGDocuments2 = __esm(() => {
132374
132792
 
132375
132793
  // src/funcs/searchGraphragInspectGraphRAGStore.ts
132376
132794
  function searchGraphragInspectGraphRAGStore(client, request, options) {
132377
- return new APIPromise($do281(client, request, options));
132795
+ return new APIPromise($do282(client, request, options));
132378
132796
  }
132379
- async function $do281(client, request, options) {
132797
+ async function $do282(client, request, options) {
132380
132798
  const parsed = safeParse4(request, (value) => InspectGraphRAGStoreRequest$outboundSchema.parse(value), "Input validation failed");
132381
132799
  if (!parsed.ok) {
132382
132800
  return [parsed, { status: "invalid" }];
@@ -132497,9 +132915,9 @@ var init_searchGraphragInspectGraphRAGStore2 = __esm(() => {
132497
132915
 
132498
132916
  // src/funcs/searchGraphragQueryGraphRAGStore.ts
132499
132917
  function searchGraphragQueryGraphRAGStore(client, request, options) {
132500
- return new APIPromise($do282(client, request, options));
132918
+ return new APIPromise($do283(client, request, options));
132501
132919
  }
132502
- async function $do282(client, request, options) {
132920
+ async function $do283(client, request, options) {
132503
132921
  const parsed = safeParse4(request, (value) => QueryGraphRAGStoreRequest$outboundSchema.parse(value), "Input validation failed");
132504
132922
  if (!parsed.ok) {
132505
132923
  return [parsed, { status: "invalid" }];
@@ -132618,9 +133036,9 @@ var init_searchGraphragQueryGraphRAGStore2 = __esm(() => {
132618
133036
 
132619
133037
  // src/funcs/searchTablesCreateIndices.ts
132620
133038
  function searchTablesCreateIndices(client, request, options) {
132621
- return new APIPromise($do283(client, request, options));
133039
+ return new APIPromise($do284(client, request, options));
132622
133040
  }
132623
- async function $do283(client, request, options) {
133041
+ async function $do284(client, request, options) {
132624
133042
  const parsed = safeParse4(request, (value) => CreateIndicesRequest$outboundSchema2.parse(value), "Input validation failed");
132625
133043
  if (!parsed.ok) {
132626
133044
  return [parsed, { status: "invalid" }];
@@ -132741,9 +133159,9 @@ Create indices on the specified table.`,
132741
133159
 
132742
133160
  // src/funcs/searchTablesCreateTable.ts
132743
133161
  function searchTablesCreateTable(client, request, options) {
132744
- return new APIPromise($do284(client, request, options));
133162
+ return new APIPromise($do285(client, request, options));
132745
133163
  }
132746
- async function $do284(client, request, options) {
133164
+ async function $do285(client, request, options) {
132747
133165
  const parsed = safeParse4(request, (value) => CreateTableRequest$outboundSchema2.parse(value), "Input validation failed");
132748
133166
  if (!parsed.ok) {
132749
133167
  return [parsed, { status: "invalid" }];
@@ -132858,9 +133276,9 @@ Create a new table with the specified schema.`,
132858
133276
 
132859
133277
  // src/funcs/searchTablesDeleteData.ts
132860
133278
  function searchTablesDeleteData(client, request, options) {
132861
- return new APIPromise($do285(client, request, options));
133279
+ return new APIPromise($do286(client, request, options));
132862
133280
  }
132863
- async function $do285(client, request, options) {
133281
+ async function $do286(client, request, options) {
132864
133282
  const parsed = safeParse4(request, (value) => DeleteDataRequest$outboundSchema2.parse(value), "Input validation failed");
132865
133283
  if (!parsed.ok) {
132866
133284
  return [parsed, { status: "invalid" }];
@@ -132979,9 +133397,9 @@ Delete data from a table using a filter expression. https://lancedb.github.io/la
132979
133397
 
132980
133398
  // src/funcs/searchTablesDeleteTable.ts
132981
133399
  function searchTablesDeleteTable(client, request, options) {
132982
- return new APIPromise($do286(client, request, options));
133400
+ return new APIPromise($do287(client, request, options));
132983
133401
  }
132984
- async function $do286(client, request, options) {
133402
+ async function $do287(client, request, options) {
132985
133403
  const parsed = safeParse4(request, (value) => DeleteTableRequest$outboundSchema.parse(value), "Input validation failed");
132986
133404
  if (!parsed.ok) {
132987
133405
  return [parsed, { status: "invalid" }];
@@ -133099,9 +133517,9 @@ Delete a table.`,
133099
133517
 
133100
133518
  // src/funcs/searchTablesDropIndex.ts
133101
133519
  function searchTablesDropIndex(client, request, options) {
133102
- return new APIPromise($do287(client, request, options));
133520
+ return new APIPromise($do288(client, request, options));
133103
133521
  }
133104
- async function $do287(client, request, options) {
133522
+ async function $do288(client, request, options) {
133105
133523
  const parsed = safeParse4(request, (value) => DropIndexRequest$outboundSchema.parse(value), "Input validation failed");
133106
133524
  if (!parsed.ok) {
133107
133525
  return [parsed, { status: "invalid" }];
@@ -133223,9 +133641,9 @@ Drop an index on the specified field.`,
133223
133641
 
133224
133642
  // src/funcs/searchTablesGetTableSchema.ts
133225
133643
  function searchTablesGetTableSchema(client, request, options) {
133226
- return new APIPromise($do288(client, request, options));
133644
+ return new APIPromise($do289(client, request, options));
133227
133645
  }
133228
- async function $do288(client, request, options) {
133646
+ async function $do289(client, request, options) {
133229
133647
  const parsed = safeParse4(request, (value) => GetTableSchemaRequest$outboundSchema.parse(value), "Input validation failed");
133230
133648
  if (!parsed.ok) {
133231
133649
  return [parsed, { status: "invalid" }];
@@ -133343,9 +133761,9 @@ Get table schema and metadata.`,
133343
133761
 
133344
133762
  // src/funcs/searchTablesInsertData.ts
133345
133763
  function searchTablesInsertData(client, request, options) {
133346
- return new APIPromise($do289(client, request, options));
133764
+ return new APIPromise($do290(client, request, options));
133347
133765
  }
133348
- async function $do289(client, request, options) {
133766
+ async function $do290(client, request, options) {
133349
133767
  const parsed = safeParse4(request, (value) => InsertDataRequest$outboundSchema2.parse(value), "Input validation failed");
133350
133768
  if (!parsed.ok) {
133351
133769
  return [parsed, { status: "invalid" }];
@@ -133464,9 +133882,9 @@ Insert data into the specified table.`,
133464
133882
 
133465
133883
  // src/funcs/searchTablesListIndices.ts
133466
133884
  function searchTablesListIndices(client, request, options) {
133467
- return new APIPromise($do290(client, request, options));
133885
+ return new APIPromise($do291(client, request, options));
133468
133886
  }
133469
- async function $do290(client, request, options) {
133887
+ async function $do291(client, request, options) {
133470
133888
  const parsed = safeParse4(request, (value) => ListIndicesRequest$outboundSchema.parse(value), "Input validation failed");
133471
133889
  if (!parsed.ok) {
133472
133890
  return [parsed, { status: "invalid" }];
@@ -133584,9 +134002,9 @@ List all indices on the specified table.`,
133584
134002
 
133585
134003
  // src/funcs/searchTablesSearchData.ts
133586
134004
  function searchTablesSearchData(client, request, options) {
133587
- return new APIPromise($do291(client, request, options));
134005
+ return new APIPromise($do292(client, request, options));
133588
134006
  }
133589
- async function $do291(client, request, options) {
134007
+ async function $do292(client, request, options) {
133590
134008
  const parsed = safeParse4(request, (value) => SearchDataRequest$outboundSchema.parse(value), "Input validation failed");
133591
134009
  if (!parsed.ok) {
133592
134010
  return [parsed, { status: "invalid" }];
@@ -133705,9 +134123,9 @@ Perform search operations on a table.`,
133705
134123
 
133706
134124
  // src/funcs/searchTextStoreAddTexts.ts
133707
134125
  function searchTextStoreAddTexts(client, request, options) {
133708
- return new APIPromise($do292(client, request, options));
134126
+ return new APIPromise($do293(client, request, options));
133709
134127
  }
133710
- async function $do292(client, request, options) {
134128
+ async function $do293(client, request, options) {
133711
134129
  const parsed = safeParse4(request, (value) => AddTextsRequest$outboundSchema2.parse(value), "Input validation failed");
133712
134130
  if (!parsed.ok) {
133713
134131
  return [parsed, { status: "invalid" }];
@@ -133826,9 +134244,9 @@ Add texts to a store with a group identifier`,
133826
134244
 
133827
134245
  // src/funcs/searchTextStoreCreateTextStore.ts
133828
134246
  function searchTextStoreCreateTextStore(client, request, options) {
133829
- return new APIPromise($do293(client, request, options));
134247
+ return new APIPromise($do294(client, request, options));
133830
134248
  }
133831
- async function $do293(client, request, options) {
134249
+ async function $do294(client, request, options) {
133832
134250
  const parsed = safeParse4(request, (value) => CreateTextStoreRequest$outboundSchema2.parse(value), "Input validation failed");
133833
134251
  if (!parsed.ok) {
133834
134252
  return [parsed, { status: "invalid" }];
@@ -133943,9 +134361,9 @@ Create a new text store (idempotent: returns 200 if a store with the same name a
133943
134361
 
133944
134362
  // src/funcs/searchTextStoreDeleteTexts.ts
133945
134363
  function searchTextStoreDeleteTexts(client, request, options) {
133946
- return new APIPromise($do294(client, request, options));
134364
+ return new APIPromise($do295(client, request, options));
133947
134365
  }
133948
- async function $do294(client, request, options) {
134366
+ async function $do295(client, request, options) {
133949
134367
  const parsed = safeParse4(request, (value) => DeleteTextsRequest$outboundSchema2.parse(value), "Input validation failed");
133950
134368
  if (!parsed.ok) {
133951
134369
  return [parsed, { status: "invalid" }];
@@ -134066,9 +134484,9 @@ Delete texts from a store by specific texts or group identifiers`,
134066
134484
 
134067
134485
  // src/funcs/searchTextStoreDeleteTextStore.ts
134068
134486
  function searchTextStoreDeleteTextStore(client, request, options) {
134069
- return new APIPromise($do295(client, request, options));
134487
+ return new APIPromise($do296(client, request, options));
134070
134488
  }
134071
- async function $do295(client, request, options) {
134489
+ async function $do296(client, request, options) {
134072
134490
  const parsed = safeParse4(request, (value) => DeleteTextStoreRequest$outboundSchema.parse(value), "Input validation failed");
134073
134491
  if (!parsed.ok) {
134074
134492
  return [parsed, { status: "invalid" }];
@@ -134186,9 +134604,9 @@ Delete a text store and all its data`,
134186
134604
 
134187
134605
  // src/funcs/searchTextStoreSearchTexts.ts
134188
134606
  function searchTextStoreSearchTexts(client, request, options) {
134189
- return new APIPromise($do296(client, request, options));
134607
+ return new APIPromise($do297(client, request, options));
134190
134608
  }
134191
- async function $do296(client, request, options) {
134609
+ async function $do297(client, request, options) {
134192
134610
  const parsed = safeParse4(request, (value) => SearchTextsRequest$outboundSchema.parse(value), "Input validation failed");
134193
134611
  if (!parsed.ok) {
134194
134612
  return [parsed, { status: "invalid" }];
@@ -134307,9 +134725,9 @@ Search for similar texts in a store`,
134307
134725
 
134308
134726
  // src/funcs/servingAcceleratorsList.ts
134309
134727
  function servingAcceleratorsList(client, request, options) {
134310
- return new APIPromise($do297(client, request, options));
134728
+ return new APIPromise($do298(client, request, options));
134311
134729
  }
134312
- async function $do297(client, request, options) {
134730
+ async function $do298(client, request, options) {
134313
134731
  const parsed = safeParse4(request, (value) => ListAcceleratorsRequest$outboundSchema.parse(value), "Input validation failed");
134314
134732
  if (!parsed.ok) {
134315
134733
  return [parsed, { status: "invalid" }];
@@ -134421,9 +134839,9 @@ List the accelerator types available to your organization (GPU, NPU, TPU).`,
134421
134839
 
134422
134840
  // src/funcs/servingDeploymentsCreate.ts
134423
134841
  function servingDeploymentsCreate(client, request, options) {
134424
- return new APIPromise($do298(client, request, options));
134842
+ return new APIPromise($do299(client, request, options));
134425
134843
  }
134426
- async function $do298(client, request, options) {
134844
+ async function $do299(client, request, options) {
134427
134845
  const parsed = safeParse4(request, (value) => CreateDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
134428
134846
  if (!parsed.ok) {
134429
134847
  return [parsed, { status: "invalid" }];
@@ -134536,9 +134954,9 @@ Create and start an inference deployment for a model, and return its endpoint.`,
134536
134954
 
134537
134955
  // src/funcs/servingDeploymentsDelete.ts
134538
134956
  function servingDeploymentsDelete(client, request, options) {
134539
- return new APIPromise($do299(client, request, options));
134957
+ return new APIPromise($do300(client, request, options));
134540
134958
  }
134541
- async function $do299(client, request, options) {
134959
+ async function $do300(client, request, options) {
134542
134960
  const parsed = safeParse4(request, (value) => DeleteDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
134543
134961
  if (!parsed.ok) {
134544
134962
  return [parsed, { status: "invalid" }];
@@ -134655,9 +135073,9 @@ Tear down a deployment and release its resources.`,
134655
135073
 
134656
135074
  // src/funcs/servingDeploymentsGet.ts
134657
135075
  function servingDeploymentsGet(client, request, options) {
134658
- return new APIPromise($do300(client, request, options));
135076
+ return new APIPromise($do301(client, request, options));
134659
135077
  }
134660
- async function $do300(client, request, options) {
135078
+ async function $do301(client, request, options) {
134661
135079
  const parsed = safeParse4(request, (value) => GetDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
134662
135080
  if (!parsed.ok) {
134663
135081
  return [parsed, { status: "invalid" }];
@@ -134775,9 +135193,9 @@ Retrieve a single deployment, including its status and endpoint URL.`,
134775
135193
 
134776
135194
  // src/funcs/servingDeploymentsGetLogs.ts
134777
135195
  function servingDeploymentsGetLogs(client, request, options) {
134778
- return new APIPromise($do301(client, request, options));
135196
+ return new APIPromise($do302(client, request, options));
134779
135197
  }
134780
- async function $do301(client, request, options) {
135198
+ async function $do302(client, request, options) {
134781
135199
  const parsed = safeParse4(request, (value) => GetDeploymentLogsRequest$outboundSchema.parse(value), "Input validation failed");
134782
135200
  if (!parsed.ok) {
134783
135201
  return [parsed, { status: "invalid" }];
@@ -134900,9 +135318,9 @@ Fetch recent log lines from a deployment's replicas.`,
134900
135318
 
134901
135319
  // src/funcs/servingDeploymentsGetMetrics.ts
134902
135320
  function servingDeploymentsGetMetrics(client, request, options) {
134903
- return new APIPromise($do302(client, request, options));
135321
+ return new APIPromise($do303(client, request, options));
134904
135322
  }
134905
- async function $do302(client, request, options) {
135323
+ async function $do303(client, request, options) {
134906
135324
  const parsed = safeParse4(request, (value) => GetDeploymentMetricsRequest$outboundSchema.parse(value), "Input validation failed");
134907
135325
  if (!parsed.ok) {
134908
135326
  return [parsed, { status: "invalid" }];
@@ -135020,9 +135438,9 @@ Return live serving metrics (throughput, queue depth, accelerator usage).`,
135020
135438
 
135021
135439
  // src/funcs/servingDeploymentsList.ts
135022
135440
  function servingDeploymentsList(client, request, options) {
135023
- return new APIPromise($do303(client, request, options));
135441
+ return new APIPromise($do304(client, request, options));
135024
135442
  }
135025
- async function $do303(client, request, options) {
135443
+ async function $do304(client, request, options) {
135026
135444
  const parsed = safeParse4(request, (value) => ListDeploymentsRequest$outboundSchema.parse(value), "Input validation failed");
135027
135445
  if (!parsed.ok) {
135028
135446
  return [parsed, { status: "invalid" }];
@@ -135139,9 +135557,9 @@ List your inference deployments.`,
135139
135557
 
135140
135558
  // src/funcs/servingDeploymentsListReplicas.ts
135141
135559
  function servingDeploymentsListReplicas(client, request, options) {
135142
- return new APIPromise($do304(client, request, options));
135560
+ return new APIPromise($do305(client, request, options));
135143
135561
  }
135144
- async function $do304(client, request, options) {
135562
+ async function $do305(client, request, options) {
135145
135563
  const parsed = safeParse4(request, (value) => ListReplicasRequest$outboundSchema.parse(value), "Input validation failed");
135146
135564
  if (!parsed.ok) {
135147
135565
  return [parsed, { status: "invalid" }];
@@ -135259,9 +135677,9 @@ List the replicas currently backing a deployment.`,
135259
135677
 
135260
135678
  // src/funcs/servingDeploymentsListRevisions.ts
135261
135679
  function servingDeploymentsListRevisions(client, request, options) {
135262
- return new APIPromise($do305(client, request, options));
135680
+ return new APIPromise($do306(client, request, options));
135263
135681
  }
135264
- async function $do305(client, request, options) {
135682
+ async function $do306(client, request, options) {
135265
135683
  const parsed = safeParse4(request, (value) => ListRevisionsRequest$outboundSchema.parse(value), "Input validation failed");
135266
135684
  if (!parsed.ok) {
135267
135685
  return [parsed, { status: "invalid" }];
@@ -135379,9 +135797,9 @@ List a deployment's configuration revisions, most recent first.`,
135379
135797
 
135380
135798
  // src/funcs/servingDeploymentsRollback.ts
135381
135799
  function servingDeploymentsRollback(client, request, options) {
135382
- return new APIPromise($do306(client, request, options));
135800
+ return new APIPromise($do307(client, request, options));
135383
135801
  }
135384
- async function $do306(client, request, options) {
135802
+ async function $do307(client, request, options) {
135385
135803
  const parsed = safeParse4(request, (value) => RollbackDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
135386
135804
  if (!parsed.ok) {
135387
135805
  return [parsed, { status: "invalid" }];
@@ -135502,9 +135920,9 @@ Roll a deployment back to a previous configuration revision.`,
135502
135920
 
135503
135921
  // src/funcs/servingDeploymentsUpdate.ts
135504
135922
  function servingDeploymentsUpdate(client, request, options) {
135505
- return new APIPromise($do307(client, request, options));
135923
+ return new APIPromise($do308(client, request, options));
135506
135924
  }
135507
- async function $do307(client, request, options) {
135925
+ async function $do308(client, request, options) {
135508
135926
  const parsed = safeParse4(request, (value) => UpdateDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
135509
135927
  if (!parsed.ok) {
135510
135928
  return [parsed, { status: "invalid" }];
@@ -135623,9 +136041,9 @@ Update a deployment's configuration, rolling out a new revision.`,
135623
136041
 
135624
136042
  // src/funcs/servingDeploymentsUpdateScaling.ts
135625
136043
  function servingDeploymentsUpdateScaling(client, request, options) {
135626
- return new APIPromise($do308(client, request, options));
136044
+ return new APIPromise($do309(client, request, options));
135627
136045
  }
135628
- async function $do308(client, request, options) {
136046
+ async function $do309(client, request, options) {
135629
136047
  const parsed = safeParse4(request, (value) => UpdateScalingRequest$outboundSchema.parse(value), "Input validation failed");
135630
136048
  if (!parsed.ok) {
135631
136049
  return [parsed, { status: "invalid" }];
@@ -135744,9 +136162,9 @@ Change a deployment's autoscaling limits in place, without redeploying.`,
135744
136162
 
135745
136163
  // src/funcs/servingFinetuneJobsCancel.ts
135746
136164
  function servingFinetuneJobsCancel(client, request, options) {
135747
- return new APIPromise($do309(client, request, options));
136165
+ return new APIPromise($do310(client, request, options));
135748
136166
  }
135749
- async function $do309(client, request, options) {
136167
+ async function $do310(client, request, options) {
135750
136168
  const parsed = safeParse4(request, (value) => CancelFinetuneJobRequest$outboundSchema.parse(value), "Input validation failed");
135751
136169
  if (!parsed.ok) {
135752
136170
  return [parsed, { status: "invalid" }];
@@ -135863,9 +136281,9 @@ Cancel a running fine-tune job.`,
135863
136281
 
135864
136282
  // src/funcs/servingFinetuneJobsCreate.ts
135865
136283
  function servingFinetuneJobsCreate(client, request, options) {
135866
- return new APIPromise($do310(client, request, options));
136284
+ return new APIPromise($do311(client, request, options));
135867
136285
  }
135868
- async function $do310(client, request, options) {
136286
+ async function $do311(client, request, options) {
135869
136287
  const parsed = safeParse4(request, (value) => CreateFinetuneJobRequest$outboundSchema.parse(value), "Input validation failed");
135870
136288
  if (!parsed.ok) {
135871
136289
  return [parsed, { status: "invalid" }];
@@ -135978,9 +136396,9 @@ Submit a fine-tune job for a base model and dataset, and return its id.`,
135978
136396
 
135979
136397
  // src/funcs/servingFinetuneJobsGet.ts
135980
136398
  function servingFinetuneJobsGet(client, request, options) {
135981
- return new APIPromise($do311(client, request, options));
136399
+ return new APIPromise($do312(client, request, options));
135982
136400
  }
135983
- async function $do311(client, request, options) {
136401
+ async function $do312(client, request, options) {
135984
136402
  const parsed = safeParse4(request, (value) => GetFinetuneJobRequest$outboundSchema.parse(value), "Input validation failed");
135985
136403
  if (!parsed.ok) {
135986
136404
  return [parsed, { status: "invalid" }];
@@ -136098,9 +136516,9 @@ Retrieve a fine-tune job, including its status and progress.`,
136098
136516
 
136099
136517
  // src/funcs/servingFinetuneJobsGetEvents.ts
136100
136518
  function servingFinetuneJobsGetEvents(client, request, options) {
136101
- return new APIPromise($do312(client, request, options));
136519
+ return new APIPromise($do313(client, request, options));
136102
136520
  }
136103
- async function $do312(client, request, options) {
136521
+ async function $do313(client, request, options) {
136104
136522
  const parsed = safeParse4(request, (value) => GetFinetuneEventsRequest$outboundSchema.parse(value), "Input validation failed");
136105
136523
  if (!parsed.ok) {
136106
136524
  return [parsed, { status: "invalid" }];
@@ -136219,9 +136637,9 @@ Return the job's status timeline (queued, running, checkpoints, completion).`,
136219
136637
 
136220
136638
  // src/funcs/servingFinetuneJobsGetLogs.ts
136221
136639
  function servingFinetuneJobsGetLogs(client, request, options) {
136222
- return new APIPromise($do313(client, request, options));
136640
+ return new APIPromise($do314(client, request, options));
136223
136641
  }
136224
- async function $do313(client, request, options) {
136642
+ async function $do314(client, request, options) {
136225
136643
  const parsed = safeParse4(request, (value) => GetFinetuneLogsRequest$outboundSchema.parse(value), "Input validation failed");
136226
136644
  if (!parsed.ok) {
136227
136645
  return [parsed, { status: "invalid" }];
@@ -136344,9 +136762,9 @@ Fetch recent training log lines for a job.`,
136344
136762
 
136345
136763
  // src/funcs/servingFinetuneJobsList.ts
136346
136764
  function servingFinetuneJobsList(client, request, options) {
136347
- return new APIPromise($do314(client, request, options));
136765
+ return new APIPromise($do315(client, request, options));
136348
136766
  }
136349
- async function $do314(client, request, options) {
136767
+ async function $do315(client, request, options) {
136350
136768
  const parsed = safeParse4(request, (value) => ListFinetuneJobsRequest$outboundSchema.parse(value), "Input validation failed");
136351
136769
  if (!parsed.ok) {
136352
136770
  return [parsed, { status: "invalid" }];
@@ -136463,9 +136881,9 @@ List your fine-tune jobs.`,
136463
136881
 
136464
136882
  // src/funcs/servingFinetuneJobsListCheckpoints.ts
136465
136883
  function servingFinetuneJobsListCheckpoints(client, request, options) {
136466
- return new APIPromise($do315(client, request, options));
136884
+ return new APIPromise($do316(client, request, options));
136467
136885
  }
136468
- async function $do315(client, request, options) {
136886
+ async function $do316(client, request, options) {
136469
136887
  const parsed = safeParse4(request, (value) => ListFinetuneCheckpointsRequest$outboundSchema.parse(value), "Input validation failed");
136470
136888
  if (!parsed.ok) {
136471
136889
  return [parsed, { status: "invalid" }];
@@ -136584,9 +137002,9 @@ List the checkpoints a fine-tune job has produced.`,
136584
137002
 
136585
137003
  // src/funcs/servingImagesBuild.ts
136586
137004
  function servingImagesBuild(client, request, options) {
136587
- return new APIPromise($do316(client, request, options));
137005
+ return new APIPromise($do317(client, request, options));
136588
137006
  }
136589
- async function $do316(client, request, options) {
137007
+ async function $do317(client, request, options) {
136590
137008
  const parsed = safeParse4(request, (value) => BuildImageRequest$outboundSchema.parse(value), "Input validation failed");
136591
137009
  if (!parsed.ok) {
136592
137010
  return [parsed, { status: "invalid" }];
@@ -136699,9 +137117,9 @@ Build a custom container image from a recipe for use by deployments and jobs.`,
136699
137117
 
136700
137118
  // src/funcs/servingImagesDelete.ts
136701
137119
  function servingImagesDelete(client, request, options) {
136702
- return new APIPromise($do317(client, request, options));
137120
+ return new APIPromise($do318(client, request, options));
136703
137121
  }
136704
- async function $do317(client, request, options) {
137122
+ async function $do318(client, request, options) {
136705
137123
  const parsed = safeParse4(request, (value) => DeleteImageRequest$outboundSchema.parse(value), "Input validation failed");
136706
137124
  if (!parsed.ok) {
136707
137125
  return [parsed, { status: "invalid" }];
@@ -136818,9 +137236,9 @@ Delete a container image.`,
136818
137236
 
136819
137237
  // src/funcs/servingImagesGet.ts
136820
137238
  function servingImagesGet(client, request, options) {
136821
- return new APIPromise($do318(client, request, options));
137239
+ return new APIPromise($do319(client, request, options));
136822
137240
  }
136823
- async function $do318(client, request, options) {
137241
+ async function $do319(client, request, options) {
136824
137242
  const parsed = safeParse4(request, (value) => GetImageRequest$outboundSchema.parse(value), "Input validation failed");
136825
137243
  if (!parsed.ok) {
136826
137244
  return [parsed, { status: "invalid" }];
@@ -136938,9 +137356,9 @@ Retrieve an image, including its build status.`,
136938
137356
 
136939
137357
  // src/funcs/servingImagesList.ts
136940
137358
  function servingImagesList(client, request, options) {
136941
- return new APIPromise($do319(client, request, options));
137359
+ return new APIPromise($do320(client, request, options));
136942
137360
  }
136943
- async function $do319(client, request, options) {
137361
+ async function $do320(client, request, options) {
136944
137362
  const parsed = safeParse4(request, (value) => ListImagesRequest$outboundSchema.parse(value), "Input validation failed");
136945
137363
  if (!parsed.ok) {
136946
137364
  return [parsed, { status: "invalid" }];
@@ -137057,9 +137475,9 @@ List your container images.`,
137057
137475
 
137058
137476
  // src/funcs/servingModelsDelete.ts
137059
137477
  function servingModelsDelete(client, request, options) {
137060
- return new APIPromise($do320(client, request, options));
137478
+ return new APIPromise($do321(client, request, options));
137061
137479
  }
137062
- async function $do320(client, request, options) {
137480
+ async function $do321(client, request, options) {
137063
137481
  const parsed = safeParse4(request, (value) => DeleteModelRequest$outboundSchema.parse(value), "Input validation failed");
137064
137482
  if (!parsed.ok) {
137065
137483
  return [parsed, { status: "invalid" }];
@@ -137176,9 +137594,9 @@ Deregister a model from the catalog.`,
137176
137594
 
137177
137595
  // src/funcs/servingModelsGet.ts
137178
137596
  function servingModelsGet(client, request, options) {
137179
- return new APIPromise($do321(client, request, options));
137597
+ return new APIPromise($do322(client, request, options));
137180
137598
  }
137181
- async function $do321(client, request, options) {
137599
+ async function $do322(client, request, options) {
137182
137600
  const parsed = safeParse4(request, (value) => GetServingModelRequest$outboundSchema.parse(value), "Input validation failed");
137183
137601
  if (!parsed.ok) {
137184
137602
  return [parsed, { status: "invalid" }];
@@ -137296,9 +137714,9 @@ Retrieve a registered model.`,
137296
137714
 
137297
137715
  // src/funcs/servingModelsList.ts
137298
137716
  function servingModelsList(client, request, options) {
137299
- return new APIPromise($do322(client, request, options));
137717
+ return new APIPromise($do323(client, request, options));
137300
137718
  }
137301
- async function $do322(client, request, options) {
137719
+ async function $do323(client, request, options) {
137302
137720
  const parsed = safeParse4(request, (value) => ListServingModelsRequest$outboundSchema.parse(value), "Input validation failed");
137303
137721
  if (!parsed.ok) {
137304
137722
  return [parsed, { status: "invalid" }];
@@ -137415,9 +137833,9 @@ List your registered models.`,
137415
137833
 
137416
137834
  // src/funcs/servingModelsRegister.ts
137417
137835
  function servingModelsRegister(client, request, options) {
137418
- return new APIPromise($do323(client, request, options));
137836
+ return new APIPromise($do324(client, request, options));
137419
137837
  }
137420
- async function $do323(client, request, options) {
137838
+ async function $do324(client, request, options) {
137421
137839
  const parsed = safeParse4(request, (value) => RegisterModelRequest$outboundSchema.parse(value), "Input validation failed");
137422
137840
  if (!parsed.ok) {
137423
137841
  return [parsed, { status: "invalid" }];
@@ -137530,9 +137948,9 @@ Register a model (from a source or volume) so it can be deployed or fine-tuned.`
137530
137948
 
137531
137949
  // src/funcs/servingSecretsCreate.ts
137532
137950
  function servingSecretsCreate(client, request, options) {
137533
- return new APIPromise($do324(client, request, options));
137951
+ return new APIPromise($do325(client, request, options));
137534
137952
  }
137535
- async function $do324(client, request, options) {
137953
+ async function $do325(client, request, options) {
137536
137954
  const parsed = safeParse4(request, (value) => CreateSecretRequest$outboundSchema.parse(value), "Input validation failed");
137537
137955
  if (!parsed.ok) {
137538
137956
  return [parsed, { status: "invalid" }];
@@ -137645,9 +138063,9 @@ Create a secret whose values are injected into your workloads as env vars.`,
137645
138063
 
137646
138064
  // src/funcs/servingSecretsDelete.ts
137647
138065
  function servingSecretsDelete(client, request, options) {
137648
- return new APIPromise($do325(client, request, options));
138066
+ return new APIPromise($do326(client, request, options));
137649
138067
  }
137650
- async function $do325(client, request, options) {
138068
+ async function $do326(client, request, options) {
137651
138069
  const parsed = safeParse4(request, (value) => DeleteSecretRequest$outboundSchema.parse(value), "Input validation failed");
137652
138070
  if (!parsed.ok) {
137653
138071
  return [parsed, { status: "invalid" }];
@@ -137764,9 +138182,9 @@ Delete a secret.`,
137764
138182
 
137765
138183
  // src/funcs/servingSecretsList.ts
137766
138184
  function servingSecretsList(client, request, options) {
137767
- return new APIPromise($do326(client, request, options));
138185
+ return new APIPromise($do327(client, request, options));
137768
138186
  }
137769
- async function $do326(client, request, options) {
138187
+ async function $do327(client, request, options) {
137770
138188
  const parsed = safeParse4(request, (value) => ListSecretsRequest$outboundSchema.parse(value), "Input validation failed");
137771
138189
  if (!parsed.ok) {
137772
138190
  return [parsed, { status: "invalid" }];
@@ -137883,9 +138301,9 @@ List your secrets by name (values are never returned).`,
137883
138301
 
137884
138302
  // src/funcs/servingVolumesCreate.ts
137885
138303
  function servingVolumesCreate(client, request, options) {
137886
- return new APIPromise($do327(client, request, options));
138304
+ return new APIPromise($do328(client, request, options));
137887
138305
  }
137888
- async function $do327(client, request, options) {
138306
+ async function $do328(client, request, options) {
137889
138307
  const parsed = safeParse4(request, (value) => CreateVolumeRequest$outboundSchema.parse(value), "Input validation failed");
137890
138308
  if (!parsed.ok) {
137891
138309
  return [parsed, { status: "invalid" }];
@@ -137998,9 +138416,9 @@ Create a persistent volume for weights, datasets, or checkpoints.`,
137998
138416
 
137999
138417
  // src/funcs/servingVolumesDelete.ts
138000
138418
  function servingVolumesDelete(client, request, options) {
138001
- return new APIPromise($do328(client, request, options));
138419
+ return new APIPromise($do329(client, request, options));
138002
138420
  }
138003
- async function $do328(client, request, options) {
138421
+ async function $do329(client, request, options) {
138004
138422
  const parsed = safeParse4(request, (value) => DeleteVolumeRequest$outboundSchema.parse(value), "Input validation failed");
138005
138423
  if (!parsed.ok) {
138006
138424
  return [parsed, { status: "invalid" }];
@@ -138117,9 +138535,9 @@ Delete a volume and its contents.`,
138117
138535
 
138118
138536
  // src/funcs/servingVolumesGet.ts
138119
138537
  function servingVolumesGet(client, request, options) {
138120
- return new APIPromise($do329(client, request, options));
138538
+ return new APIPromise($do330(client, request, options));
138121
138539
  }
138122
- async function $do329(client, request, options) {
138540
+ async function $do330(client, request, options) {
138123
138541
  const parsed = safeParse4(request, (value) => GetVolumeRequest$outboundSchema.parse(value), "Input validation failed");
138124
138542
  if (!parsed.ok) {
138125
138543
  return [parsed, { status: "invalid" }];
@@ -138237,9 +138655,9 @@ Retrieve a volume.`,
138237
138655
 
138238
138656
  // src/funcs/servingVolumesList.ts
138239
138657
  function servingVolumesList(client, request, options) {
138240
- return new APIPromise($do330(client, request, options));
138658
+ return new APIPromise($do331(client, request, options));
138241
138659
  }
138242
- async function $do330(client, request, options) {
138660
+ async function $do331(client, request, options) {
138243
138661
  const parsed = safeParse4(request, (value) => ListVolumesRequest$outboundSchema.parse(value), "Input validation failed");
138244
138662
  if (!parsed.ok) {
138245
138663
  return [parsed, { status: "invalid" }];
@@ -138356,9 +138774,9 @@ List your volumes.`,
138356
138774
 
138357
138775
  // src/funcs/usageCosts.ts
138358
138776
  function usageCosts(client, request, options) {
138359
- return new APIPromise($do331(client, request, options));
138777
+ return new APIPromise($do332(client, request, options));
138360
138778
  }
138361
- async function $do331(client, request, options) {
138779
+ async function $do332(client, request, options) {
138362
138780
  const parsed = safeParse4(request, (value) => GetCostsRequest$outboundSchema.parse(value), "Input validation failed");
138363
138781
  if (!parsed.ok) {
138364
138782
  return [parsed, { status: "invalid" }];
@@ -138469,11 +138887,134 @@ Sums stored per-entry cost over [start_time, end_time), grouped by any of servic
138469
138887
  };
138470
138888
  });
138471
138889
 
138890
+ // src/funcs/usageSandbox.ts
138891
+ function usageSandbox(client, request, options) {
138892
+ return new APIPromise($do333(client, request, options));
138893
+ }
138894
+ async function $do333(client, request, options) {
138895
+ const parsed = safeParse4(request, (value) => GetSandboxUsageRequest$outboundSchema.parse(value), "Input validation failed");
138896
+ if (!parsed.ok) {
138897
+ return [parsed, { status: "invalid" }];
138898
+ }
138899
+ const payload = parsed.value;
138900
+ const body = null;
138901
+ const path = pathToFunc("/api/v1/sandbox/usage")();
138902
+ const query = encodeFormQuery({
138903
+ all_orgs: payload.all_orgs,
138904
+ bucket_width: payload.bucket_width,
138905
+ end_time: payload.end_time,
138906
+ group_by: payload.group_by,
138907
+ org_ids: payload.org_ids,
138908
+ start_time: payload.start_time
138909
+ });
138910
+ const headers = new Headers(compactMap({
138911
+ Accept: "application/json",
138912
+ "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
138913
+ }));
138914
+ const secConfig = await extractSecurity(client._options.bearerAuth);
138915
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
138916
+ const requestSecurity = resolveGlobalSecurity(securityInput);
138917
+ const context = {
138918
+ options: client._options,
138919
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
138920
+ operationID: "getSandboxUsage",
138921
+ oAuth2Scopes: null,
138922
+ resolvedSecurity: requestSecurity,
138923
+ securitySource: client._options.bearerAuth,
138924
+ retryConfig: options?.retries || client._options.retryConfig || {
138925
+ strategy: "backoff",
138926
+ backoff: {
138927
+ initialInterval: 500,
138928
+ maxInterval: 5000,
138929
+ exponent: 1.5,
138930
+ maxElapsedTime: 15000
138931
+ },
138932
+ retryConnectionErrors: true
138933
+ },
138934
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
138935
+ };
138936
+ const requestRes = client._createRequest(context, {
138937
+ security: requestSecurity,
138938
+ method: "GET",
138939
+ baseURL: options?.serverURL,
138940
+ path,
138941
+ headers,
138942
+ query,
138943
+ body,
138944
+ userAgent: client._options.userAgent,
138945
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
138946
+ }, options);
138947
+ if (!requestRes.ok) {
138948
+ return [requestRes, { status: "invalid" }];
138949
+ }
138950
+ const req = requestRes.value;
138951
+ const doResult = await client._do(req, {
138952
+ context,
138953
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
138954
+ retryConfig: context.retryConfig,
138955
+ retryCodes: context.retryCodes
138956
+ });
138957
+ if (!doResult.ok) {
138958
+ return [doResult, { status: "request-error", request: req }];
138959
+ }
138960
+ const response = doResult.value;
138961
+ const responseFields = {
138962
+ HttpMeta: { Response: response, Request: req }
138963
+ };
138964
+ const [result] = await match(json(200, SandboxUsagePage$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
138965
+ if (!result.ok) {
138966
+ return [result, { status: "complete", request: req, response }];
138967
+ }
138968
+ return [result, { status: "complete", request: req, response }];
138969
+ }
138970
+ var init_usageSandbox = __esm(() => {
138971
+ init_encodings();
138972
+ init_http();
138973
+ init_matchers();
138974
+ init_primitives();
138975
+ init_schemas4();
138976
+ init_security();
138977
+ init_url();
138978
+ init_components();
138979
+ init_errors4();
138980
+ init_operations();
138981
+ init_async();
138982
+ });
138983
+
138984
+ // src/mcp-server/tools/usageSandbox.ts
138985
+ var args325, tool$usageSandbox;
138986
+ var init_usageSandbox2 = __esm(() => {
138987
+ init_usageSandbox();
138988
+ init_operations();
138989
+ init_tools();
138990
+ args325 = {
138991
+ request: GetSandboxUsageRequest$inboundSchema
138992
+ };
138993
+ tool$usageSandbox = {
138994
+ name: "usage-sandbox",
138995
+ description: `Get Sandbox Usage
138996
+
138997
+ Aggregate sandbox usage (session lifecycle, execution, and workspace operations) over a time range, bucketed and optionally grouped. Org-scoped: callers see their own usage, org admins their team's; cluster admins may pass \`all_orgs\` or \`org_ids\`. Cost and spend reporting lives in the budgeting API (\`/api/v1/budgeting/usage/costs\`).`,
138998
+ args: args325,
138999
+ tool: async (client, args326, ctx) => {
139000
+ const [result, apiCall] = await usageSandbox(client, args326.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139001
+ if (!result.ok) {
139002
+ return {
139003
+ content: [{ type: "text", text: result.error.message }],
139004
+ isError: true
139005
+ };
139006
+ }
139007
+ const value = result.value;
139008
+ return formatResult(value, apiCall);
139009
+ }
139010
+ };
139011
+ });
139012
+
138472
139013
  // src/mcp-server/server.ts
138473
139014
  function createMCPServer(deps) {
138474
139015
  const server = new McpServer({
138475
139016
  name: "SDK",
138476
- version: "0.48.37"
139017
+ version: "0.48.39"
138477
139018
  });
138478
139019
  const client = new SDKCore({
138479
139020
  bearerAuth: deps.bearerAuth,
@@ -138495,6 +139036,8 @@ function createMCPServer(deps) {
138495
139036
  tool(tool$sandboxCreate);
138496
139037
  tool(tool$sandboxList);
138497
139038
  tool(tool$sandboxGet);
139039
+ tool(tool$sandboxGetPricing);
139040
+ tool(tool$sandboxSetPricing);
138498
139041
  tool(tool$sandboxGetUrl);
138499
139042
  tool(tool$sandboxProxyBrowserPortRequest);
138500
139043
  tool(tool$sandboxRunCommand);
@@ -138505,7 +139048,8 @@ function createMCPServer(deps) {
138505
139048
  tool(tool$sandboxUploadFile);
138506
139049
  tool(tool$sandboxDownloadArchive);
138507
139050
  tool(tool$sandboxUploadArchive);
138508
- tool(tool$sandboxUsageGetUsageApiV1SandboxUsageGet);
139051
+ tool(tool$usageSandbox);
139052
+ tool(tool$usageCosts);
138509
139053
  tool(tool$agentsListAgents);
138510
139054
  tool(tool$agentsCreateAgent);
138511
139055
  tool(tool$agentsGetAgent);
@@ -138537,7 +139081,6 @@ function createMCPServer(deps) {
138537
139081
  tool(tool$budgetsApiKeyEvents);
138538
139082
  tool(tool$budgetsGetCurrency);
138539
139083
  tool(tool$budgetsSetCurrency);
138540
- tool(tool$usageCosts);
138541
139084
  tool(tool$permissionsLlmGrant);
138542
139085
  tool(tool$permissionsLlmRevoke);
138543
139086
  tool(tool$permissionsLlmCheck);
@@ -139092,16 +139635,17 @@ var init_server2 = __esm(() => {
139092
139635
  init_sandboxDownloadArchive2();
139093
139636
  init_sandboxDownloadFile2();
139094
139637
  init_sandboxGet2();
139638
+ init_sandboxGetPricing2();
139095
139639
  init_sandboxGetUrl2();
139096
139640
  init_sandboxGetWorkspace2();
139097
139641
  init_sandboxList2();
139098
139642
  init_sandboxProxyBrowserPortRequest2();
139099
139643
  init_sandboxRunCode2();
139100
139644
  init_sandboxRunCommand2();
139645
+ init_sandboxSetPricing2();
139101
139646
  init_sandboxTerminate2();
139102
139647
  init_sandboxUploadArchive2();
139103
139648
  init_sandboxUploadFile2();
139104
- init_sandboxUsageGetUsageApiV1SandboxUsageGet2();
139105
139649
  init_searchGraphragCreateGraphRAGStore2();
139106
139650
  init_searchGraphragDeleteGraphRAGStore2();
139107
139651
  init_searchGraphragIngestGraphRAGDocuments2();
@@ -139156,6 +139700,7 @@ var init_server2 = __esm(() => {
139156
139700
  init_servingVolumesGet2();
139157
139701
  init_servingVolumesList2();
139158
139702
  init_usageCosts2();
139703
+ init_usageSandbox2();
139159
139704
  });
139160
139705
 
139161
139706
  // src/mcp-server/cli/start/impl.ts
@@ -140333,7 +140878,7 @@ var routes = rn({
140333
140878
  var app = Ve(routes, {
140334
140879
  name: "mcp",
140335
140880
  versionInfo: {
140336
- currentVersion: "0.48.37"
140881
+ currentVersion: "0.48.39"
140337
140882
  }
140338
140883
  });
140339
140884
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -140341,5 +140886,5 @@ export {
140341
140886
  app
140342
140887
  };
140343
140888
 
140344
- //# debugId=66556A246C05CDFD64756E2164756E21
140889
+ //# debugId=E4722F2B1C750FE464756E2164756E21
140345
140890
  //# sourceMappingURL=mcp-server.js.map