@meetkai/mka1 0.48.38 → 0.48.40

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 (340) hide show
  1. package/bin/mcp-server.js +1027 -746
  2. package/bin/mcp-server.js.map +53 -55
  3. package/dist/commonjs/funcs/budgetsApiKeyEvents.d.ts +1 -1
  4. package/dist/commonjs/funcs/budgetsApiKeyEvents.js +1 -1
  5. package/dist/commonjs/funcs/budgetsDeleteApiKey.d.ts +1 -1
  6. package/dist/commonjs/funcs/budgetsDeleteApiKey.js +1 -1
  7. package/dist/commonjs/funcs/budgetsGetApiKey.d.ts +1 -1
  8. package/dist/commonjs/funcs/budgetsGetApiKey.js +1 -1
  9. package/dist/commonjs/funcs/budgetsList.d.ts +1 -1
  10. package/dist/commonjs/funcs/budgetsList.js +1 -1
  11. package/dist/commonjs/funcs/budgetsSetApiKey.d.ts +1 -1
  12. package/dist/commonjs/funcs/budgetsSetApiKey.js +1 -1
  13. package/dist/commonjs/funcs/llmConversationsCreateItems.d.ts +1 -2
  14. package/dist/commonjs/funcs/llmConversationsCreateItems.d.ts.map +1 -1
  15. package/dist/commonjs/funcs/llmConversationsCreateItems.js +1 -2
  16. package/dist/commonjs/funcs/llmConversationsCreateItems.js.map +1 -1
  17. package/dist/commonjs/funcs/llmConversationsListItems.d.ts +1 -2
  18. package/dist/commonjs/funcs/llmConversationsListItems.d.ts.map +1 -1
  19. package/dist/commonjs/funcs/llmConversationsListItems.js +1 -2
  20. package/dist/commonjs/funcs/llmConversationsListItems.js.map +1 -1
  21. package/dist/commonjs/funcs/llmPromptsDelete.js +1 -2
  22. package/dist/commonjs/funcs/llmPromptsDelete.js.map +1 -1
  23. package/dist/commonjs/lib/config.d.ts +2 -2
  24. package/dist/commonjs/lib/config.js +2 -2
  25. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  26. package/dist/commonjs/mcp-server/server.js +1 -1
  27. package/dist/commonjs/mcp-server/tools/budgetsApiKeyEvents.js +1 -1
  28. package/dist/commonjs/mcp-server/tools/budgetsApiKeyEvents.js.map +1 -1
  29. package/dist/commonjs/mcp-server/tools/budgetsDeleteApiKey.js +1 -1
  30. package/dist/commonjs/mcp-server/tools/budgetsDeleteApiKey.js.map +1 -1
  31. package/dist/commonjs/mcp-server/tools/budgetsGetApiKey.js +1 -1
  32. package/dist/commonjs/mcp-server/tools/budgetsGetApiKey.js.map +1 -1
  33. package/dist/commonjs/mcp-server/tools/budgetsList.js +1 -1
  34. package/dist/commonjs/mcp-server/tools/budgetsList.js.map +1 -1
  35. package/dist/commonjs/mcp-server/tools/budgetsSetApiKey.js +1 -1
  36. package/dist/commonjs/mcp-server/tools/budgetsSetApiKey.js.map +1 -1
  37. package/dist/commonjs/models/components/conversationobject.d.ts +3 -0
  38. package/dist/commonjs/models/components/conversationobject.d.ts.map +1 -1
  39. package/dist/commonjs/models/components/conversationobject.js.map +1 -1
  40. package/dist/commonjs/models/components/createconversationrequest.d.ts +3 -0
  41. package/dist/commonjs/models/components/createconversationrequest.d.ts.map +1 -1
  42. package/dist/commonjs/models/components/createconversationrequest.js.map +1 -1
  43. package/dist/commonjs/models/components/evalfewshotconfig.d.ts +4 -3
  44. package/dist/commonjs/models/components/evalfewshotconfig.d.ts.map +1 -1
  45. package/dist/commonjs/models/components/evalfewshotconfig.js +3 -2
  46. package/dist/commonjs/models/components/evalfewshotconfig.js.map +1 -1
  47. package/dist/commonjs/models/components/evalmetric.d.ts +37 -0
  48. package/dist/commonjs/models/components/evalmetric.d.ts.map +1 -0
  49. package/dist/commonjs/models/components/{itemlistobject.js → evalmetric.js} +37 -26
  50. package/dist/commonjs/models/components/evalmetric.js.map +1 -0
  51. package/dist/commonjs/models/components/evaltask.d.ts +3 -2
  52. package/dist/commonjs/models/components/evaltask.d.ts.map +1 -1
  53. package/dist/commonjs/models/components/evaltask.js +3 -2
  54. package/dist/commonjs/models/components/evaltask.js.map +1 -1
  55. package/dist/commonjs/models/components/index.d.ts +1 -3
  56. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  57. package/dist/commonjs/models/components/index.js +1 -3
  58. package/dist/commonjs/models/components/index.js.map +1 -1
  59. package/dist/commonjs/models/components/livekittokenrequest.d.ts +3 -0
  60. package/dist/commonjs/models/components/livekittokenrequest.d.ts.map +1 -1
  61. package/dist/commonjs/models/components/livekittokenrequest.js.map +1 -1
  62. package/dist/commonjs/models/components/responseobject.d.ts +2 -11
  63. package/dist/commonjs/models/components/responseobject.d.ts.map +1 -1
  64. package/dist/commonjs/models/components/responseobject.js +3 -15
  65. package/dist/commonjs/models/components/responseobject.js.map +1 -1
  66. package/dist/commonjs/models/components/responsescreaterequest.d.ts +3 -0
  67. package/dist/commonjs/models/components/responsescreaterequest.d.ts.map +1 -1
  68. package/dist/commonjs/models/components/responsescreaterequest.js.map +1 -1
  69. package/dist/commonjs/models/components/update.d.ts +3 -0
  70. package/dist/commonjs/models/components/update.d.ts.map +1 -1
  71. package/dist/commonjs/models/components/update.js.map +1 -1
  72. package/dist/commonjs/models/components/updateresponserequest.d.ts +3 -0
  73. package/dist/commonjs/models/components/updateresponserequest.d.ts.map +1 -1
  74. package/dist/commonjs/models/components/updateresponserequest.js.map +1 -1
  75. package/dist/commonjs/models/operations/conversationsitemscreate.d.ts +123 -0
  76. package/dist/commonjs/models/operations/conversationsitemscreate.d.ts.map +1 -1
  77. package/dist/commonjs/models/operations/conversationsitemscreate.js +219 -1
  78. package/dist/commonjs/models/operations/conversationsitemscreate.js.map +1 -1
  79. package/dist/commonjs/models/operations/conversationsitemslist.d.ts +123 -0
  80. package/dist/commonjs/models/operations/conversationsitemslist.d.ts.map +1 -1
  81. package/dist/commonjs/models/operations/conversationsitemslist.js +220 -1
  82. package/dist/commonjs/models/operations/conversationsitemslist.js.map +1 -1
  83. package/dist/commonjs/models/operations/conversationsitemsretrieve.d.ts +85 -2
  84. package/dist/commonjs/models/operations/conversationsitemsretrieve.d.ts.map +1 -1
  85. package/dist/commonjs/models/operations/conversationsitemsretrieve.js +73 -3
  86. package/dist/commonjs/models/operations/conversationsitemsretrieve.js.map +1 -1
  87. package/dist/commonjs/models/operations/deleteprompt.d.ts +0 -11
  88. package/dist/commonjs/models/operations/deleteprompt.d.ts.map +1 -1
  89. package/dist/commonjs/models/operations/deleteprompt.js +1 -17
  90. package/dist/commonjs/models/operations/deleteprompt.js.map +1 -1
  91. package/dist/commonjs/models/operations/getapikeybudgets.d.ts +2 -0
  92. package/dist/commonjs/models/operations/getapikeybudgets.d.ts.map +1 -1
  93. package/dist/commonjs/models/operations/getapikeybudgets.js +4 -0
  94. package/dist/commonjs/models/operations/getapikeybudgets.js.map +1 -1
  95. package/dist/commonjs/models/operations/getorgbudgets.d.ts +2 -0
  96. package/dist/commonjs/models/operations/getorgbudgets.d.ts.map +1 -1
  97. package/dist/commonjs/models/operations/getorgbudgets.js +4 -0
  98. package/dist/commonjs/models/operations/getorgbudgets.js.map +1 -1
  99. package/dist/commonjs/models/operations/listbudgets.d.ts +2 -0
  100. package/dist/commonjs/models/operations/listbudgets.d.ts.map +1 -1
  101. package/dist/commonjs/models/operations/listbudgets.js +4 -0
  102. package/dist/commonjs/models/operations/listbudgets.js.map +1 -1
  103. package/dist/commonjs/models/operations/listevalsuiteversions.d.ts +8 -8
  104. package/dist/commonjs/models/operations/listevalsuiteversions.d.ts.map +1 -1
  105. package/dist/commonjs/models/operations/listevalsuiteversions.js +11 -12
  106. package/dist/commonjs/models/operations/listevalsuiteversions.js.map +1 -1
  107. package/dist/commonjs/models/operations/setapikeybudget.d.ts +2 -0
  108. package/dist/commonjs/models/operations/setapikeybudget.d.ts.map +1 -1
  109. package/dist/commonjs/models/operations/setapikeybudget.js +4 -0
  110. package/dist/commonjs/models/operations/setapikeybudget.js.map +1 -1
  111. package/dist/commonjs/models/operations/setorgbudget.d.ts +2 -0
  112. package/dist/commonjs/models/operations/setorgbudget.d.ts.map +1 -1
  113. package/dist/commonjs/models/operations/setorgbudget.js +4 -0
  114. package/dist/commonjs/models/operations/setorgbudget.js.map +1 -1
  115. package/dist/commonjs/react-query/budgetsApiKeyEvents.d.ts +2 -2
  116. package/dist/commonjs/react-query/budgetsApiKeyEvents.js +2 -2
  117. package/dist/commonjs/react-query/budgetsDeleteApiKey.d.ts +1 -1
  118. package/dist/commonjs/react-query/budgetsDeleteApiKey.js +1 -1
  119. package/dist/commonjs/react-query/budgetsGetApiKey.d.ts +2 -2
  120. package/dist/commonjs/react-query/budgetsGetApiKey.js +2 -2
  121. package/dist/commonjs/react-query/budgetsList.d.ts +2 -2
  122. package/dist/commonjs/react-query/budgetsList.js +2 -2
  123. package/dist/commonjs/react-query/budgetsSetApiKey.d.ts +1 -1
  124. package/dist/commonjs/react-query/budgetsSetApiKey.js +1 -1
  125. package/dist/commonjs/react-query/llmConversationsCreateItems.d.ts +1 -2
  126. package/dist/commonjs/react-query/llmConversationsCreateItems.d.ts.map +1 -1
  127. package/dist/commonjs/react-query/llmConversationsCreateItems.js.map +1 -1
  128. package/dist/commonjs/react-query/llmConversationsListItems.core.d.ts +1 -2
  129. package/dist/commonjs/react-query/llmConversationsListItems.core.d.ts.map +1 -1
  130. package/dist/commonjs/react-query/llmConversationsListItems.core.js.map +1 -1
  131. package/dist/commonjs/sdk/budgets.d.ts +5 -5
  132. package/dist/commonjs/sdk/budgets.js +5 -5
  133. package/dist/commonjs/sdk/conversations.d.ts +2 -2
  134. package/dist/commonjs/sdk/conversations.d.ts.map +1 -1
  135. package/dist/esm/funcs/budgetsApiKeyEvents.d.ts +1 -1
  136. package/dist/esm/funcs/budgetsApiKeyEvents.js +1 -1
  137. package/dist/esm/funcs/budgetsDeleteApiKey.d.ts +1 -1
  138. package/dist/esm/funcs/budgetsDeleteApiKey.js +1 -1
  139. package/dist/esm/funcs/budgetsGetApiKey.d.ts +1 -1
  140. package/dist/esm/funcs/budgetsGetApiKey.js +1 -1
  141. package/dist/esm/funcs/budgetsList.d.ts +1 -1
  142. package/dist/esm/funcs/budgetsList.js +1 -1
  143. package/dist/esm/funcs/budgetsSetApiKey.d.ts +1 -1
  144. package/dist/esm/funcs/budgetsSetApiKey.js +1 -1
  145. package/dist/esm/funcs/llmConversationsCreateItems.d.ts +1 -2
  146. package/dist/esm/funcs/llmConversationsCreateItems.d.ts.map +1 -1
  147. package/dist/esm/funcs/llmConversationsCreateItems.js +1 -2
  148. package/dist/esm/funcs/llmConversationsCreateItems.js.map +1 -1
  149. package/dist/esm/funcs/llmConversationsListItems.d.ts +1 -2
  150. package/dist/esm/funcs/llmConversationsListItems.d.ts.map +1 -1
  151. package/dist/esm/funcs/llmConversationsListItems.js +1 -2
  152. package/dist/esm/funcs/llmConversationsListItems.js.map +1 -1
  153. package/dist/esm/funcs/llmPromptsDelete.js +2 -3
  154. package/dist/esm/funcs/llmPromptsDelete.js.map +1 -1
  155. package/dist/esm/lib/config.d.ts +2 -2
  156. package/dist/esm/lib/config.js +2 -2
  157. package/dist/esm/mcp-server/mcp-server.js +1 -1
  158. package/dist/esm/mcp-server/server.js +1 -1
  159. package/dist/esm/mcp-server/tools/budgetsApiKeyEvents.js +1 -1
  160. package/dist/esm/mcp-server/tools/budgetsApiKeyEvents.js.map +1 -1
  161. package/dist/esm/mcp-server/tools/budgetsDeleteApiKey.js +1 -1
  162. package/dist/esm/mcp-server/tools/budgetsDeleteApiKey.js.map +1 -1
  163. package/dist/esm/mcp-server/tools/budgetsGetApiKey.js +1 -1
  164. package/dist/esm/mcp-server/tools/budgetsGetApiKey.js.map +1 -1
  165. package/dist/esm/mcp-server/tools/budgetsList.js +1 -1
  166. package/dist/esm/mcp-server/tools/budgetsList.js.map +1 -1
  167. package/dist/esm/mcp-server/tools/budgetsSetApiKey.js +1 -1
  168. package/dist/esm/mcp-server/tools/budgetsSetApiKey.js.map +1 -1
  169. package/dist/esm/models/components/conversationobject.d.ts +3 -0
  170. package/dist/esm/models/components/conversationobject.d.ts.map +1 -1
  171. package/dist/esm/models/components/conversationobject.js.map +1 -1
  172. package/dist/esm/models/components/createconversationrequest.d.ts +3 -0
  173. package/dist/esm/models/components/createconversationrequest.d.ts.map +1 -1
  174. package/dist/esm/models/components/createconversationrequest.js.map +1 -1
  175. package/dist/esm/models/components/evalfewshotconfig.d.ts +4 -3
  176. package/dist/esm/models/components/evalfewshotconfig.d.ts.map +1 -1
  177. package/dist/esm/models/components/evalfewshotconfig.js +3 -2
  178. package/dist/esm/models/components/evalfewshotconfig.js.map +1 -1
  179. package/dist/esm/models/components/evalmetric.d.ts +37 -0
  180. package/dist/esm/models/components/evalmetric.d.ts.map +1 -0
  181. package/dist/esm/models/components/evalmetric.js +49 -0
  182. package/dist/esm/models/components/evalmetric.js.map +1 -0
  183. package/dist/esm/models/components/evaltask.d.ts +3 -2
  184. package/dist/esm/models/components/evaltask.d.ts.map +1 -1
  185. package/dist/esm/models/components/evaltask.js +3 -2
  186. package/dist/esm/models/components/evaltask.js.map +1 -1
  187. package/dist/esm/models/components/index.d.ts +1 -3
  188. package/dist/esm/models/components/index.d.ts.map +1 -1
  189. package/dist/esm/models/components/index.js +1 -3
  190. package/dist/esm/models/components/index.js.map +1 -1
  191. package/dist/esm/models/components/livekittokenrequest.d.ts +3 -0
  192. package/dist/esm/models/components/livekittokenrequest.d.ts.map +1 -1
  193. package/dist/esm/models/components/livekittokenrequest.js.map +1 -1
  194. package/dist/esm/models/components/responseobject.d.ts +2 -11
  195. package/dist/esm/models/components/responseobject.d.ts.map +1 -1
  196. package/dist/esm/models/components/responseobject.js +2 -12
  197. package/dist/esm/models/components/responseobject.js.map +1 -1
  198. package/dist/esm/models/components/responsescreaterequest.d.ts +3 -0
  199. package/dist/esm/models/components/responsescreaterequest.d.ts.map +1 -1
  200. package/dist/esm/models/components/responsescreaterequest.js.map +1 -1
  201. package/dist/esm/models/components/update.d.ts +3 -0
  202. package/dist/esm/models/components/update.d.ts.map +1 -1
  203. package/dist/esm/models/components/update.js.map +1 -1
  204. package/dist/esm/models/components/updateresponserequest.d.ts +3 -0
  205. package/dist/esm/models/components/updateresponserequest.d.ts.map +1 -1
  206. package/dist/esm/models/components/updateresponserequest.js.map +1 -1
  207. package/dist/esm/models/operations/conversationsitemscreate.d.ts +123 -0
  208. package/dist/esm/models/operations/conversationsitemscreate.d.ts.map +1 -1
  209. package/dist/esm/models/operations/conversationsitemscreate.js +210 -0
  210. package/dist/esm/models/operations/conversationsitemscreate.js.map +1 -1
  211. package/dist/esm/models/operations/conversationsitemslist.d.ts +123 -0
  212. package/dist/esm/models/operations/conversationsitemslist.d.ts.map +1 -1
  213. package/dist/esm/models/operations/conversationsitemslist.js +211 -0
  214. package/dist/esm/models/operations/conversationsitemslist.js.map +1 -1
  215. package/dist/esm/models/operations/conversationsitemsretrieve.d.ts +85 -2
  216. package/dist/esm/models/operations/conversationsitemsretrieve.d.ts.map +1 -1
  217. package/dist/esm/models/operations/conversationsitemsretrieve.js +68 -2
  218. package/dist/esm/models/operations/conversationsitemsretrieve.js.map +1 -1
  219. package/dist/esm/models/operations/deleteprompt.d.ts +0 -11
  220. package/dist/esm/models/operations/deleteprompt.d.ts.map +1 -1
  221. package/dist/esm/models/operations/deleteprompt.js +0 -14
  222. package/dist/esm/models/operations/deleteprompt.js.map +1 -1
  223. package/dist/esm/models/operations/getapikeybudgets.d.ts +2 -0
  224. package/dist/esm/models/operations/getapikeybudgets.d.ts.map +1 -1
  225. package/dist/esm/models/operations/getapikeybudgets.js +4 -0
  226. package/dist/esm/models/operations/getapikeybudgets.js.map +1 -1
  227. package/dist/esm/models/operations/getorgbudgets.d.ts +2 -0
  228. package/dist/esm/models/operations/getorgbudgets.d.ts.map +1 -1
  229. package/dist/esm/models/operations/getorgbudgets.js +4 -0
  230. package/dist/esm/models/operations/getorgbudgets.js.map +1 -1
  231. package/dist/esm/models/operations/listbudgets.d.ts +2 -0
  232. package/dist/esm/models/operations/listbudgets.d.ts.map +1 -1
  233. package/dist/esm/models/operations/listbudgets.js +4 -0
  234. package/dist/esm/models/operations/listbudgets.js.map +1 -1
  235. package/dist/esm/models/operations/listevalsuiteversions.d.ts +8 -8
  236. package/dist/esm/models/operations/listevalsuiteversions.d.ts.map +1 -1
  237. package/dist/esm/models/operations/listevalsuiteversions.js +8 -9
  238. package/dist/esm/models/operations/listevalsuiteversions.js.map +1 -1
  239. package/dist/esm/models/operations/setapikeybudget.d.ts +2 -0
  240. package/dist/esm/models/operations/setapikeybudget.d.ts.map +1 -1
  241. package/dist/esm/models/operations/setapikeybudget.js +4 -0
  242. package/dist/esm/models/operations/setapikeybudget.js.map +1 -1
  243. package/dist/esm/models/operations/setorgbudget.d.ts +2 -0
  244. package/dist/esm/models/operations/setorgbudget.d.ts.map +1 -1
  245. package/dist/esm/models/operations/setorgbudget.js +4 -0
  246. package/dist/esm/models/operations/setorgbudget.js.map +1 -1
  247. package/dist/esm/react-query/budgetsApiKeyEvents.d.ts +2 -2
  248. package/dist/esm/react-query/budgetsApiKeyEvents.js +2 -2
  249. package/dist/esm/react-query/budgetsDeleteApiKey.d.ts +1 -1
  250. package/dist/esm/react-query/budgetsDeleteApiKey.js +1 -1
  251. package/dist/esm/react-query/budgetsGetApiKey.d.ts +2 -2
  252. package/dist/esm/react-query/budgetsGetApiKey.js +2 -2
  253. package/dist/esm/react-query/budgetsList.d.ts +2 -2
  254. package/dist/esm/react-query/budgetsList.js +2 -2
  255. package/dist/esm/react-query/budgetsSetApiKey.d.ts +1 -1
  256. package/dist/esm/react-query/budgetsSetApiKey.js +1 -1
  257. package/dist/esm/react-query/llmConversationsCreateItems.d.ts +1 -2
  258. package/dist/esm/react-query/llmConversationsCreateItems.d.ts.map +1 -1
  259. package/dist/esm/react-query/llmConversationsCreateItems.js.map +1 -1
  260. package/dist/esm/react-query/llmConversationsListItems.core.d.ts +1 -2
  261. package/dist/esm/react-query/llmConversationsListItems.core.d.ts.map +1 -1
  262. package/dist/esm/react-query/llmConversationsListItems.core.js.map +1 -1
  263. package/dist/esm/sdk/budgets.d.ts +5 -5
  264. package/dist/esm/sdk/budgets.js +5 -5
  265. package/dist/esm/sdk/conversations.d.ts +2 -2
  266. package/dist/esm/sdk/conversations.d.ts.map +1 -1
  267. package/jsr.json +1 -1
  268. package/package.json +1 -1
  269. package/src/funcs/budgetsApiKeyEvents.ts +1 -1
  270. package/src/funcs/budgetsDeleteApiKey.ts +1 -1
  271. package/src/funcs/budgetsGetApiKey.ts +1 -1
  272. package/src/funcs/budgetsList.ts +1 -1
  273. package/src/funcs/budgetsSetApiKey.ts +1 -1
  274. package/src/funcs/llmConversationsCreateItems.ts +4 -5
  275. package/src/funcs/llmConversationsListItems.ts +4 -5
  276. package/src/funcs/llmPromptsDelete.ts +2 -3
  277. package/src/lib/config.ts +2 -2
  278. package/src/mcp-server/mcp-server.ts +1 -1
  279. package/src/mcp-server/server.ts +1 -1
  280. package/src/mcp-server/tools/budgetsApiKeyEvents.ts +1 -1
  281. package/src/mcp-server/tools/budgetsDeleteApiKey.ts +1 -1
  282. package/src/mcp-server/tools/budgetsGetApiKey.ts +1 -1
  283. package/src/mcp-server/tools/budgetsList.ts +1 -1
  284. package/src/mcp-server/tools/budgetsSetApiKey.ts +1 -1
  285. package/src/models/components/conversationobject.ts +3 -0
  286. package/src/models/components/createconversationrequest.ts +3 -0
  287. package/src/models/components/evalfewshotconfig.ts +11 -5
  288. package/src/models/components/evalmetric.ts +96 -0
  289. package/src/models/components/evaltask.ts +10 -4
  290. package/src/models/components/index.ts +1 -3
  291. package/src/models/components/livekittokenrequest.ts +3 -0
  292. package/src/models/components/responseobject.ts +4 -47
  293. package/src/models/components/responsescreaterequest.ts +3 -0
  294. package/src/models/components/update.ts +3 -0
  295. package/src/models/components/updateresponserequest.ts +3 -0
  296. package/src/models/operations/conversationsitemscreate.ts +488 -0
  297. package/src/models/operations/conversationsitemslist.ts +496 -0
  298. package/src/models/operations/conversationsitemsretrieve.ts +168 -4
  299. package/src/models/operations/deleteprompt.ts +0 -41
  300. package/src/models/operations/getapikeybudgets.ts +6 -0
  301. package/src/models/operations/getorgbudgets.ts +6 -0
  302. package/src/models/operations/listbudgets.ts +6 -0
  303. package/src/models/operations/listevalsuiteversions.ts +54 -44
  304. package/src/models/operations/setapikeybudget.ts +6 -0
  305. package/src/models/operations/setorgbudget.ts +6 -0
  306. package/src/react-query/budgetsApiKeyEvents.ts +2 -2
  307. package/src/react-query/budgetsDeleteApiKey.ts +1 -1
  308. package/src/react-query/budgetsGetApiKey.ts +2 -2
  309. package/src/react-query/budgetsList.ts +2 -2
  310. package/src/react-query/budgetsSetApiKey.ts +1 -1
  311. package/src/react-query/llmConversationsCreateItems.ts +2 -2
  312. package/src/react-query/llmConversationsListItems.core.ts +2 -2
  313. package/src/sdk/budgets.ts +5 -5
  314. package/src/sdk/conversations.ts +2 -2
  315. package/dist/commonjs/models/components/inputmessagewithid.d.ts +0 -89
  316. package/dist/commonjs/models/components/inputmessagewithid.d.ts.map +0 -1
  317. package/dist/commonjs/models/components/inputmessagewithid.js +0 -106
  318. package/dist/commonjs/models/components/inputmessagewithid.js.map +0 -1
  319. package/dist/commonjs/models/components/itemlistobject.d.ts +0 -33
  320. package/dist/commonjs/models/components/itemlistobject.d.ts.map +0 -1
  321. package/dist/commonjs/models/components/itemlistobject.js.map +0 -1
  322. package/dist/commonjs/models/components/itemwithid.d.ts +0 -37
  323. package/dist/commonjs/models/components/itemwithid.d.ts.map +0 -1
  324. package/dist/commonjs/models/components/itemwithid.js +0 -128
  325. package/dist/commonjs/models/components/itemwithid.js.map +0 -1
  326. package/dist/esm/models/components/inputmessagewithid.d.ts +0 -89
  327. package/dist/esm/models/components/inputmessagewithid.d.ts.map +0 -1
  328. package/dist/esm/models/components/inputmessagewithid.js +0 -66
  329. package/dist/esm/models/components/inputmessagewithid.js.map +0 -1
  330. package/dist/esm/models/components/itemlistobject.d.ts +0 -33
  331. package/dist/esm/models/components/itemlistobject.d.ts.map +0 -1
  332. package/dist/esm/models/components/itemlistobject.js +0 -38
  333. package/dist/esm/models/components/itemlistobject.js.map +0 -1
  334. package/dist/esm/models/components/itemwithid.d.ts +0 -37
  335. package/dist/esm/models/components/itemwithid.d.ts.map +0 -1
  336. package/dist/esm/models/components/itemwithid.js +0 -90
  337. package/dist/esm/models/components/itemwithid.js.map +0 -1
  338. package/src/models/components/inputmessagewithid.ts +0 -183
  339. package/src/models/components/itemlistobject.ts +0 -85
  340. package/src/models/components/itemwithid.ts +0 -281
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.38",
52879
+ sdkVersion: "0.48.40",
52880
52880
  genVersion: "2.916.2",
52881
- userAgent: "speakeasy-sdk/typescript 0.48.38 2.916.2 1.1.0 @meetkai/mka1"
52881
+ userAgent: "speakeasy-sdk/typescript 0.48.40 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(() => {
@@ -75371,6 +75110,117 @@ var init_sessionurlresponse = __esm(() => {
75371
75110
  });
75372
75111
  });
75373
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
+
75374
75224
  // src/models/components/skill.ts
75375
75225
  var Skill$inboundSchema, Skill$outboundSchema;
75376
75226
  var init_skill = __esm(() => {
@@ -77436,6 +77286,38 @@ var init_wakeagentrunrequest = __esm(() => {
77436
77286
  });
77437
77287
  });
77438
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
+
77439
77321
  // src/models/components/workspacearchiverequest.ts
77440
77322
  var WorkspaceArchiveRequest$inboundSchema, WorkspaceArchiveRequest$outboundSchema;
77441
77323
  var init_workspacearchiverequest = __esm(() => {
@@ -77657,6 +77539,7 @@ var init_components = __esm(() => {
77657
77539
  init_evalfewshotconfig();
77658
77540
  init_evalgenerationconfig();
77659
77541
  init_evalhistoricalimportobject();
77542
+ init_evalmetric();
77660
77543
  init_evaloutputextraction();
77661
77544
  init_evalpythongrader();
77662
77545
  init_evalpythongradercontract();
@@ -77762,7 +77645,6 @@ var init_components = __esm(() => {
77762
77645
  init_inputitemlistobject();
77763
77646
  init_inputmessage();
77764
77647
  init_inputmessagecontent();
77765
- init_inputmessagewithid();
77766
77648
  init_inputtext();
77767
77649
  init_inputtokensdetails();
77768
77650
  init_insertdatarequest();
@@ -77770,10 +77652,8 @@ var init_components = __esm(() => {
77770
77652
  init_integrationobject();
77771
77653
  init_intfield();
77772
77654
  init_item();
77773
- init_itemlistobject();
77774
77655
  init_itemreference();
77775
77656
  init_itemreferencewithid();
77776
- init_itemwithid();
77777
77657
  init_ivfflatindexconfig();
77778
77658
  init_ivfpqindexconfig();
77779
77659
  init_jobevent();
@@ -84878,11 +84758,17 @@ var init_conversationsdelete = __esm(() => {
84878
84758
  });
84879
84759
 
84880
84760
  // src/models/operations/conversationsitemscreate.ts
84881
- 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;
84882
84762
  var init_conversationsitemscreate = __esm(() => {
84883
84763
  init_esm();
84884
84764
  init_primitives();
84885
84765
  init_components();
84766
+ DataRole = {
84767
+ User: "user",
84768
+ Assistant: "assistant",
84769
+ System: "system",
84770
+ Developer: "developer"
84771
+ };
84886
84772
  ConversationsItemsCreateRequest$inboundSchema = objectType({
84887
84773
  conversation_id: stringType(),
84888
84774
  "X-On-Behalf-Of": stringType().optional(),
@@ -84905,6 +84791,172 @@ var init_conversationsitemscreate = __esm(() => {
84905
84791
  createItemsRequest: "CreateItemsRequest"
84906
84792
  });
84907
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
+ });
84908
84960
  });
84909
84961
 
84910
84962
  // src/models/operations/conversationsitemsdelete.ts
@@ -84980,14 +85032,21 @@ var init_conversationsitemsdeletemany = __esm(() => {
84980
85032
  });
84981
85033
 
84982
85034
  // src/models/operations/conversationsitemslist.ts
84983
- 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;
84984
85036
  var init_conversationsitemslist = __esm(() => {
84985
85037
  init_esm();
84986
85038
  init_primitives();
85039
+ init_components();
84987
85040
  QueryParamOrder = {
84988
85041
  Asc: "asc",
84989
85042
  Desc: "desc"
84990
85043
  };
85044
+ ConversationsItemsListDataRole = {
85045
+ User: "user",
85046
+ Assistant: "assistant",
85047
+ System: "system",
85048
+ Developer: "developer"
85049
+ };
84991
85050
  QueryParamOrder$inboundSchema = nativeEnumType(QueryParamOrder);
84992
85051
  QueryParamOrder$outboundSchema = QueryParamOrder$inboundSchema;
84993
85052
  ConversationsItemsListRequest$inboundSchema = objectType({
@@ -85016,14 +85075,186 @@ var init_conversationsitemslist = __esm(() => {
85016
85075
  xOnBehalfOf: "X-On-Behalf-Of"
85017
85076
  });
85018
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
+ });
85019
85244
  });
85020
85245
 
85021
85246
  // src/models/operations/conversationsitemsretrieve.ts
85022
- 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;
85023
85248
  var init_conversationsitemsretrieve = __esm(() => {
85024
85249
  init_esm();
85025
85250
  init_primitives();
85026
85251
  init_components();
85252
+ Role2 = {
85253
+ User: "user",
85254
+ Assistant: "assistant",
85255
+ System: "system",
85256
+ Developer: "developer"
85257
+ };
85027
85258
  ConversationsItemsRetrieveRequest$inboundSchema = objectType({
85028
85259
  conversation_id: stringType(),
85029
85260
  item_id: stringType(),
@@ -85046,6 +85277,45 @@ var init_conversationsitemsretrieve = __esm(() => {
85046
85277
  xOnBehalfOf: "X-On-Behalf-Of"
85047
85278
  });
85048
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
+ });
85049
85319
  ConversationsItemsRetrieveResponseBody$inboundSchema = unionType([
85050
85320
  ComputerToolCallWithId$inboundSchema,
85051
85321
  CodeInterpreterToolCallWithId$inboundSchema,
@@ -85066,7 +85336,7 @@ var init_conversationsitemsretrieve = __esm(() => {
85066
85336
  MCPListToolsWithId$inboundSchema,
85067
85337
  MCPApprovalResponseWithId$inboundSchema,
85068
85338
  CustomToolCallOutputWithId$inboundSchema,
85069
- InputMessageWithId$inboundSchema,
85339
+ lazyType(() => InputMessageItem$inboundSchema),
85070
85340
  ReasoningWithId$inboundSchema,
85071
85341
  LocalShellCallOutputWithId$inboundSchema,
85072
85342
  ResponseCompactionItemWithId$inboundSchema,
@@ -85092,7 +85362,7 @@ var init_conversationsitemsretrieve = __esm(() => {
85092
85362
  MCPListToolsWithId$outboundSchema,
85093
85363
  MCPApprovalResponseWithId$outboundSchema,
85094
85364
  CustomToolCallOutputWithId$outboundSchema,
85095
- InputMessageWithId$outboundSchema,
85365
+ lazyType(() => InputMessageItem$outboundSchema),
85096
85366
  ReasoningWithId$outboundSchema,
85097
85367
  LocalShellCallOutputWithId$outboundSchema,
85098
85368
  ResponseCompactionItemWithId$outboundSchema,
@@ -87839,30 +88109,24 @@ var init_deleteorgbudget = __esm(() => {
87839
88109
  });
87840
88110
 
87841
88111
  // src/models/operations/deleteprompt.ts
87842
- var DeletePromptRequestBody$inboundSchema, DeletePromptRequestBody$outboundSchema, DeletePromptRequest$inboundSchema, DeletePromptRequest$outboundSchema;
88112
+ var DeletePromptRequest$inboundSchema, DeletePromptRequest$outboundSchema;
87843
88113
  var init_deleteprompt = __esm(() => {
87844
88114
  init_esm();
87845
88115
  init_primitives();
87846
- DeletePromptRequestBody$inboundSchema = objectType({});
87847
- DeletePromptRequestBody$outboundSchema = objectType({});
87848
88116
  DeletePromptRequest$inboundSchema = objectType({
87849
88117
  id: stringType(),
87850
- "X-On-Behalf-Of": stringType().optional(),
87851
- RequestBody: lazyType(() => DeletePromptRequestBody$inboundSchema).optional()
88118
+ "X-On-Behalf-Of": stringType().optional()
87852
88119
  }).transform((v2) => {
87853
88120
  return remap(v2, {
87854
- "X-On-Behalf-Of": "xOnBehalfOf",
87855
- RequestBody: "requestBody"
88121
+ "X-On-Behalf-Of": "xOnBehalfOf"
87856
88122
  });
87857
88123
  });
87858
88124
  DeletePromptRequest$outboundSchema = objectType({
87859
88125
  id: stringType(),
87860
- xOnBehalfOf: stringType().optional(),
87861
- requestBody: lazyType(() => DeletePromptRequestBody$outboundSchema).optional()
88126
+ xOnBehalfOf: stringType().optional()
87862
88127
  }).transform((v2) => {
87863
88128
  return remap(v2, {
87864
- xOnBehalfOf: "X-On-Behalf-Of",
87865
- requestBody: "RequestBody"
88129
+ xOnBehalfOf: "X-On-Behalf-Of"
87866
88130
  });
87867
88131
  });
87868
88132
  });
@@ -88772,6 +89036,7 @@ var init_getapikeybudgets = __esm(() => {
88772
89036
  id: stringType(),
88773
89037
  scope: GetApiKeyBudgetsScope$inboundSchema,
88774
89038
  scope_id: stringType(),
89039
+ scope_org_id: nullableType(stringType()),
88775
89040
  owner: GetApiKeyBudgetsOwner$inboundSchema,
88776
89041
  period: GetApiKeyBudgetsPeriod$inboundSchema,
88777
89042
  limit: numberType(),
@@ -88781,6 +89046,7 @@ var init_getapikeybudgets = __esm(() => {
88781
89046
  }).transform((v2) => {
88782
89047
  return remap(v2, {
88783
89048
  scope_id: "scopeId",
89049
+ scope_org_id: "scopeOrgId",
88784
89050
  alert_webhook_url: "alertWebhookUrl"
88785
89051
  });
88786
89052
  });
@@ -88788,6 +89054,7 @@ var init_getapikeybudgets = __esm(() => {
88788
89054
  id: stringType(),
88789
89055
  scope: GetApiKeyBudgetsScope$outboundSchema,
88790
89056
  scopeId: stringType(),
89057
+ scopeOrgId: nullableType(stringType()),
88791
89058
  owner: GetApiKeyBudgetsOwner$outboundSchema,
88792
89059
  period: GetApiKeyBudgetsPeriod$outboundSchema,
88793
89060
  limit: numberType(),
@@ -88797,6 +89064,7 @@ var init_getapikeybudgets = __esm(() => {
88797
89064
  }).transform((v2) => {
88798
89065
  return remap(v2, {
88799
89066
  scopeId: "scope_id",
89067
+ scopeOrgId: "scope_org_id",
88800
89068
  alertWebhookUrl: "alert_webhook_url"
88801
89069
  });
88802
89070
  });
@@ -91127,6 +91395,7 @@ var init_getorgbudgets = __esm(() => {
91127
91395
  id: stringType(),
91128
91396
  scope: GetOrgBudgetsScope$inboundSchema,
91129
91397
  scope_id: stringType(),
91398
+ scope_org_id: nullableType(stringType()),
91130
91399
  owner: GetOrgBudgetsOwner$inboundSchema,
91131
91400
  period: GetOrgBudgetsPeriod$inboundSchema,
91132
91401
  limit: numberType(),
@@ -91136,6 +91405,7 @@ var init_getorgbudgets = __esm(() => {
91136
91405
  }).transform((v2) => {
91137
91406
  return remap(v2, {
91138
91407
  scope_id: "scopeId",
91408
+ scope_org_id: "scopeOrgId",
91139
91409
  alert_webhook_url: "alertWebhookUrl"
91140
91410
  });
91141
91411
  });
@@ -91143,6 +91413,7 @@ var init_getorgbudgets = __esm(() => {
91143
91413
  id: stringType(),
91144
91414
  scope: GetOrgBudgetsScope$outboundSchema,
91145
91415
  scopeId: stringType(),
91416
+ scopeOrgId: nullableType(stringType()),
91146
91417
  owner: GetOrgBudgetsOwner$outboundSchema,
91147
91418
  period: GetOrgBudgetsPeriod$outboundSchema,
91148
91419
  limit: numberType(),
@@ -91152,6 +91423,7 @@ var init_getorgbudgets = __esm(() => {
91152
91423
  }).transform((v2) => {
91153
91424
  return remap(v2, {
91154
91425
  scopeId: "scope_id",
91426
+ scopeOrgId: "scope_org_id",
91155
91427
  alertWebhookUrl: "alert_webhook_url"
91156
91428
  });
91157
91429
  });
@@ -92723,6 +92995,7 @@ var init_listbudgets = __esm(() => {
92723
92995
  id: stringType(),
92724
92996
  scope: ListBudgetsScope$inboundSchema,
92725
92997
  scope_id: stringType(),
92998
+ scope_org_id: nullableType(stringType()),
92726
92999
  owner: ListBudgetsOwner$inboundSchema,
92727
93000
  period: ListBudgetsPeriod$inboundSchema,
92728
93001
  limit: numberType(),
@@ -92732,6 +93005,7 @@ var init_listbudgets = __esm(() => {
92732
93005
  }).transform((v2) => {
92733
93006
  return remap(v2, {
92734
93007
  scope_id: "scopeId",
93008
+ scope_org_id: "scopeOrgId",
92735
93009
  alert_webhook_url: "alertWebhookUrl"
92736
93010
  });
92737
93011
  });
@@ -92739,6 +93013,7 @@ var init_listbudgets = __esm(() => {
92739
93013
  id: stringType(),
92740
93014
  scope: ListBudgetsScope$outboundSchema,
92741
93015
  scopeId: stringType(),
93016
+ scopeOrgId: nullableType(stringType()),
92742
93017
  owner: ListBudgetsOwner$outboundSchema,
92743
93018
  period: ListBudgetsPeriod$outboundSchema,
92744
93019
  limit: numberType(),
@@ -92748,6 +93023,7 @@ var init_listbudgets = __esm(() => {
92748
93023
  }).transform((v2) => {
92749
93024
  return remap(v2, {
92750
93025
  scopeId: "scope_id",
93026
+ scopeOrgId: "scope_org_id",
92751
93027
  alertWebhookUrl: "alert_webhook_url"
92752
93028
  });
92753
93029
  });
@@ -92958,13 +93234,13 @@ var init_listembeddingmodels = __esm(() => {
92958
93234
  });
92959
93235
 
92960
93236
  // src/models/operations/listevalruns.ts
92961
- 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;
93237
+ 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;
92962
93238
  var init_listevalruns = __esm(() => {
92963
93239
  init_esm();
92964
93240
  init_primitives();
92965
93241
  init_schemas4();
92966
93242
  init_components();
92967
- Status18 = {
93243
+ Status17 = {
92968
93244
  Queued: "queued",
92969
93245
  InProgress: "in_progress",
92970
93246
  Finalizing: "finalizing",
@@ -92983,7 +93259,7 @@ var init_listevalruns = __esm(() => {
92983
93259
  Flex: "flex",
92984
93260
  Priority: "priority"
92985
93261
  };
92986
- Status$inboundSchema2 = nativeEnumType(Status18);
93262
+ Status$inboundSchema2 = nativeEnumType(Status17);
92987
93263
  Status$outboundSchema2 = Status$inboundSchema2;
92988
93264
  ListEvalRunsRequest$inboundSchema = objectType({
92989
93265
  after: stringType().optional(),
@@ -93917,7 +94193,7 @@ var init_listevalsuites = __esm(() => {
93917
94193
  });
93918
94194
 
93919
94195
  // src/models/operations/listevalsuiteversions.ts
93920
- var ListEvalSuiteVersionsRequest$inboundSchema, ListEvalSuiteVersionsRequest$outboundSchema, ListEvalSuiteVersionsManifest$inboundSchema, ListEvalSuiteVersionsManifest$outboundSchema, Data$inboundSchema2, Data$outboundSchema2, ListEvalSuiteVersionsResponseBody$inboundSchema, ListEvalSuiteVersionsResponseBody$outboundSchema;
94196
+ var ListEvalSuiteVersionsRequest$inboundSchema, ListEvalSuiteVersionsRequest$outboundSchema, ListEvalSuiteVersionsManifest$inboundSchema, ListEvalSuiteVersionsManifest$outboundSchema, ListEvalSuiteVersionsData$inboundSchema, ListEvalSuiteVersionsData$outboundSchema, ListEvalSuiteVersionsResponseBody$inboundSchema, ListEvalSuiteVersionsResponseBody$outboundSchema;
93921
94197
  var init_listevalsuiteversions = __esm(() => {
93922
94198
  init_esm();
93923
94199
  init_primitives();
@@ -93961,7 +94237,7 @@ var init_listevalsuiteversions = __esm(() => {
93961
94237
  schemaVersion: "schema_version"
93962
94238
  });
93963
94239
  });
93964
- Data$inboundSchema2 = objectType({
94240
+ ListEvalSuiteVersionsData$inboundSchema = objectType({
93965
94241
  id: stringType(),
93966
94242
  object: literalType("eval.suite.version"),
93967
94243
  suite_id: stringType(),
@@ -93977,7 +94253,7 @@ var init_listevalsuiteversions = __esm(() => {
93977
94253
  created_at: "createdAt"
93978
94254
  });
93979
94255
  });
93980
- Data$outboundSchema2 = objectType({
94256
+ ListEvalSuiteVersionsData$outboundSchema = objectType({
93981
94257
  id: stringType(),
93982
94258
  object: literalType("eval.suite.version"),
93983
94259
  suiteId: stringType(),
@@ -93995,7 +94271,7 @@ var init_listevalsuiteversions = __esm(() => {
93995
94271
  });
93996
94272
  ListEvalSuiteVersionsResponseBody$inboundSchema = objectType({
93997
94273
  object: literalType("list"),
93998
- data: arrayType(lazyType(() => Data$inboundSchema2)),
94274
+ data: arrayType(lazyType(() => ListEvalSuiteVersionsData$inboundSchema)),
93999
94275
  first_id: stringType().optional(),
94000
94276
  last_id: stringType().optional(),
94001
94277
  has_more: booleanType()
@@ -94008,7 +94284,7 @@ var init_listevalsuiteversions = __esm(() => {
94008
94284
  });
94009
94285
  ListEvalSuiteVersionsResponseBody$outboundSchema = objectType({
94010
94286
  object: literalType("list"),
94011
- data: arrayType(lazyType(() => Data$outboundSchema2)),
94287
+ data: arrayType(lazyType(() => ListEvalSuiteVersionsData$outboundSchema)),
94012
94288
  firstId: stringType().optional(),
94013
94289
  lastId: stringType().optional(),
94014
94290
  hasMore: booleanType()
@@ -96876,6 +97152,7 @@ var init_setapikeybudget = __esm(() => {
96876
97152
  id: stringType(),
96877
97153
  scope: SetApiKeyBudgetScope$inboundSchema,
96878
97154
  scope_id: stringType(),
97155
+ scope_org_id: nullableType(stringType()),
96879
97156
  owner: SetApiKeyBudgetBudgetsOwner$inboundSchema,
96880
97157
  period: SetApiKeyBudgetBudgetsPeriod$inboundSchema,
96881
97158
  limit: numberType(),
@@ -96885,6 +97162,7 @@ var init_setapikeybudget = __esm(() => {
96885
97162
  }).transform((v2) => {
96886
97163
  return remap(v2, {
96887
97164
  scope_id: "scopeId",
97165
+ scope_org_id: "scopeOrgId",
96888
97166
  alert_webhook_url: "alertWebhookUrl"
96889
97167
  });
96890
97168
  });
@@ -96892,6 +97170,7 @@ var init_setapikeybudget = __esm(() => {
96892
97170
  id: stringType(),
96893
97171
  scope: SetApiKeyBudgetScope$outboundSchema,
96894
97172
  scopeId: stringType(),
97173
+ scopeOrgId: nullableType(stringType()),
96895
97174
  owner: SetApiKeyBudgetBudgetsOwner$outboundSchema,
96896
97175
  period: SetApiKeyBudgetBudgetsPeriod$outboundSchema,
96897
97176
  limit: numberType(),
@@ -96901,6 +97180,7 @@ var init_setapikeybudget = __esm(() => {
96901
97180
  }).transform((v2) => {
96902
97181
  return remap(v2, {
96903
97182
  scopeId: "scope_id",
97183
+ scopeOrgId: "scope_org_id",
96904
97184
  alertWebhookUrl: "alert_webhook_url"
96905
97185
  });
96906
97186
  });
@@ -97063,6 +97343,7 @@ var init_setorgbudget = __esm(() => {
97063
97343
  id: stringType(),
97064
97344
  scope: Scope$inboundSchema2,
97065
97345
  scope_id: stringType(),
97346
+ scope_org_id: nullableType(stringType()),
97066
97347
  owner: SetOrgBudgetOwner$inboundSchema,
97067
97348
  period: SetOrgBudgetPeriod$inboundSchema,
97068
97349
  limit: numberType(),
@@ -97072,6 +97353,7 @@ var init_setorgbudget = __esm(() => {
97072
97353
  }).transform((v2) => {
97073
97354
  return remap(v2, {
97074
97355
  scope_id: "scopeId",
97356
+ scope_org_id: "scopeOrgId",
97075
97357
  alert_webhook_url: "alertWebhookUrl"
97076
97358
  });
97077
97359
  });
@@ -97079,6 +97361,7 @@ var init_setorgbudget = __esm(() => {
97079
97361
  id: stringType(),
97080
97362
  scope: Scope$outboundSchema2,
97081
97363
  scopeId: stringType(),
97364
+ scopeOrgId: nullableType(stringType()),
97082
97365
  owner: SetOrgBudgetOwner$outboundSchema,
97083
97366
  period: SetOrgBudgetPeriod$outboundSchema,
97084
97367
  limit: numberType(),
@@ -97088,6 +97371,7 @@ var init_setorgbudget = __esm(() => {
97088
97371
  }).transform((v2) => {
97089
97372
  return remap(v2, {
97090
97373
  scopeId: "scope_id",
97374
+ scopeOrgId: "scope_org_id",
97091
97375
  alertWebhookUrl: "alert_webhook_url"
97092
97376
  });
97093
97377
  });
@@ -106374,7 +106658,7 @@ var init_budgetsApiKeyEvents2 = __esm(() => {
106374
106658
  name: "budgets-api-key-events",
106375
106659
  description: `List apikey budget events
106376
106660
 
106377
- Returns recent threshold-alert and block events for the scope's budgets.`,
106661
+ Returns recent threshold-alert and block events for the scope's budgets. Callable by cluster admins, or org admins for API keys in their own organization.`,
106378
106662
  args: args58,
106379
106663
  tool: async (client, args59, ctx) => {
106380
106664
  const [result, apiCall] = await budgetsApiKeyEvents(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -106492,7 +106776,7 @@ var init_budgetsDeleteApiKey2 = __esm(() => {
106492
106776
  name: "budgets-delete-api-key",
106493
106777
  description: `Delete a apikey budget
106494
106778
 
106495
- Removes the apikey's budget for the given owner; enforcement and alerts stop.`,
106779
+ Removes the apikey's budget for the given owner; enforcement and alerts stop. Callable by cluster admins, or org admins for API keys in their own organization.`,
106496
106780
  args: args59,
106497
106781
  tool: async (client, args60, ctx) => {
106498
106782
  const [result, apiCall] = await budgetsDeleteApiKey(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -106724,7 +107008,7 @@ var init_budgetsGetApiKey2 = __esm(() => {
106724
107008
  name: "budgets-get-api-key",
106725
107009
  description: `List apikey budgets
106726
107010
 
106727
- Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge.`,
107011
+ Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge. Callable by cluster admins, or org admins for API keys in their own organization.`,
106728
107012
  args: args61,
106729
107013
  tool: async (client, args62, ctx) => {
106730
107014
  const [result, apiCall] = await budgetsGetApiKey(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -107025,7 +107309,7 @@ var init_budgetsList2 = __esm(() => {
107025
107309
  name: "budgets-list",
107026
107310
  description: `List budgets
107027
107311
 
107028
- Cluster admins see all budgets; org admins see their org's budgets.`,
107312
+ Cluster admins see all budgets; org admins see their org's budgets plus budgets on API keys in their org.`,
107029
107313
  tool: async (client, ctx) => {
107030
107314
  const [result, apiCall] = await budgetsList(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
107031
107315
  if (!result.ok) {
@@ -107253,7 +107537,7 @@ var init_budgetsSetApiKey2 = __esm(() => {
107253
107537
  name: "budgets-set-api-key",
107254
107538
  description: `Set a apikey budget
107255
107539
 
107256
- Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend.`,
107540
+ Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend. Callable by cluster admins, or org admins for API keys in their own organization.`,
107257
107541
  args: args64,
107258
107542
  tool: async (client, args65, ctx) => {
107259
107543
  const [result, apiCall] = await budgetsSetApiKey(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -109045,7 +109329,7 @@ async function $do82(client, request, options) {
109045
109329
  return [doResult, { status: "request-error", request: req }];
109046
109330
  }
109047
109331
  const response = doResult.value;
109048
- const [result] = await match(json(200, ItemListObject$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
109332
+ const [result] = await match(json(200, ConversationsItemsCreateResponseBody$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
109049
109333
  if (!result.ok) {
109050
109334
  return [result, { status: "complete", request: req, response }];
109051
109335
  }
@@ -109059,7 +109343,6 @@ var init_llmConversationsCreateItems = __esm(() => {
109059
109343
  init_schemas4();
109060
109344
  init_security();
109061
109345
  init_url();
109062
- init_components();
109063
109346
  init_operations();
109064
109347
  init_async();
109065
109348
  });
@@ -109874,7 +110157,7 @@ async function $do89(client, request, options) {
109874
110157
  return [doResult, { status: "request-error", request: req }];
109875
110158
  }
109876
110159
  const response = doResult.value;
109877
- const [result] = await match(json(200, ItemListObject$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
110160
+ const [result] = await match(json(200, ConversationsItemsListResponseBody$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
109878
110161
  if (!result.ok) {
109879
110162
  return [result, { status: "complete", request: req, response }];
109880
110163
  }
@@ -109888,7 +110171,6 @@ var init_llmConversationsListItems = __esm(() => {
109888
110171
  init_schemas4();
109889
110172
  init_security();
109890
110173
  init_url();
109891
- init_components();
109892
110174
  init_operations();
109893
110175
  init_async();
109894
110176
  });
@@ -122219,7 +122501,7 @@ async function $do196(client, request, options) {
122219
122501
  return [parsed, { status: "invalid" }];
122220
122502
  }
122221
122503
  const payload = parsed.value;
122222
- const body = encodeJSON("body", payload.RequestBody, { explode: true });
122504
+ const body = null;
122223
122505
  const pathParams = {
122224
122506
  id: encodeSimple("id", payload.id, {
122225
122507
  explode: false,
@@ -122228,7 +122510,6 @@ async function $do196(client, request, options) {
122228
122510
  };
122229
122511
  const path = pathToFunc("/api/v1/llm/prompts/{id}")(pathParams);
122230
122512
  const headers = new Headers(compactMap({
122231
- "Content-Type": "application/json",
122232
122513
  Accept: "application/json",
122233
122514
  "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
122234
122515
  }));
@@ -138753,7 +139034,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
138753
139034
  function createMCPServer(deps) {
138754
139035
  const server = new McpServer({
138755
139036
  name: "SDK",
138756
- version: "0.48.38"
139037
+ version: "0.48.40"
138757
139038
  });
138758
139039
  const client = new SDKCore({
138759
139040
  bearerAuth: deps.bearerAuth,
@@ -140617,7 +140898,7 @@ var routes = rn({
140617
140898
  var app = Ve(routes, {
140618
140899
  name: "mcp",
140619
140900
  versionInfo: {
140620
- currentVersion: "0.48.38"
140901
+ currentVersion: "0.48.40"
140621
140902
  }
140622
140903
  });
140623
140904
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -140625,5 +140906,5 @@ export {
140625
140906
  app
140626
140907
  };
140627
140908
 
140628
- //# debugId=5E322BAEF58E7C8D64756E2164756E21
140909
+ //# debugId=7727CD425E1A16C964756E2164756E21
140629
140910
  //# sourceMappingURL=mcp-server.js.map