@orq-ai/node 4.1.4 → 4.2.0-rc.11

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 (559) hide show
  1. package/README.md +18 -0
  2. package/bin/mcp-server.js +835 -380
  3. package/bin/mcp-server.js.map +61 -58
  4. package/examples/package-lock.json +4 -7
  5. package/jsr.json +1 -1
  6. package/lib/config.d.ts +3 -3
  7. package/lib/config.js +3 -3
  8. package/lib/config.js.map +1 -1
  9. package/mcp-server/mcp-server.js +1 -1
  10. package/mcp-server/mcp-server.js.map +1 -1
  11. package/mcp-server/server.js +1 -1
  12. package/mcp-server/server.js.map +1 -1
  13. package/models/components/conversationresponse.js +2 -2
  14. package/models/components/invokedeploymentrequest.d.ts +1 -1
  15. package/models/components/partdoneevent.js +2 -2
  16. package/models/components/reasoningpart.js +2 -2
  17. package/models/operations/createcontact.js +2 -2
  18. package/models/operations/createconversation.js +2 -2
  19. package/models/operations/createdataset.js +2 -2
  20. package/models/operations/createdatasetitem.js +8 -8
  21. package/models/operations/createdatasource.js +2 -2
  22. package/models/operations/createeval.js +28 -28
  23. package/models/operations/createtool.js +12 -12
  24. package/models/operations/deploymentgetconfig.d.ts +1 -1
  25. package/models/operations/deploymentstream.d.ts +1 -1
  26. package/models/operations/fileget.js +2 -2
  27. package/models/operations/filelist.js +2 -2
  28. package/models/operations/fileupload.js +2 -2
  29. package/models/operations/generateconversationname.js +2 -2
  30. package/models/operations/getalltools.js +12 -12
  31. package/models/operations/getevals.js +28 -28
  32. package/models/operations/listcontacts.js +2 -2
  33. package/models/operations/listdatasetdatapoints.js +8 -8
  34. package/models/operations/listdatasets.js +2 -2
  35. package/models/operations/listdatasources.js +2 -2
  36. package/models/operations/retrievecontact.js +2 -2
  37. package/models/operations/retrieveconversation.js +2 -2
  38. package/models/operations/retrievedatapoint.js +8 -8
  39. package/models/operations/retrievedataset.js +2 -2
  40. package/models/operations/retrievedatasource.js +2 -2
  41. package/models/operations/retrievetool.js +12 -12
  42. package/models/operations/runagent.js +2 -2
  43. package/models/operations/streamrunagent.js +2 -2
  44. package/models/operations/updatecontact.js +2 -2
  45. package/models/operations/updateconversation.js +2 -2
  46. package/models/operations/updatedatapoint.js +8 -8
  47. package/models/operations/updatedataset.js +2 -2
  48. package/models/operations/updatedatasource.js +2 -2
  49. package/models/operations/updateeval.js +28 -28
  50. package/models/operations/updatetool.js +14 -14
  51. package/package.json +4 -3
  52. package/src/lib/config.ts +3 -3
  53. package/src/mcp-server/mcp-server.ts +1 -1
  54. package/src/mcp-server/server.ts +1 -1
  55. package/src/models/components/conversationresponse.ts +2 -2
  56. package/src/models/components/invokedeploymentrequest.ts +1 -1
  57. package/src/models/components/partdoneevent.ts +2 -2
  58. package/src/models/components/reasoningpart.ts +2 -2
  59. package/src/models/operations/createcontact.ts +2 -2
  60. package/src/models/operations/createconversation.ts +2 -2
  61. package/src/models/operations/createdataset.ts +2 -2
  62. package/src/models/operations/createdatasetitem.ts +8 -8
  63. package/src/models/operations/createdatasource.ts +2 -2
  64. package/src/models/operations/createeval.ts +28 -28
  65. package/src/models/operations/createtool.ts +12 -12
  66. package/src/models/operations/deploymentgetconfig.ts +1 -1
  67. package/src/models/operations/deploymentstream.ts +1 -1
  68. package/src/models/operations/fileget.ts +2 -2
  69. package/src/models/operations/filelist.ts +2 -2
  70. package/src/models/operations/fileupload.ts +2 -2
  71. package/src/models/operations/generateconversationname.ts +2 -2
  72. package/src/models/operations/getalltools.ts +12 -12
  73. package/src/models/operations/getevals.ts +28 -28
  74. package/src/models/operations/listcontacts.ts +2 -2
  75. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  76. package/src/models/operations/listdatasets.ts +2 -2
  77. package/src/models/operations/listdatasources.ts +2 -2
  78. package/src/models/operations/retrievecontact.ts +2 -2
  79. package/src/models/operations/retrieveconversation.ts +2 -2
  80. package/src/models/operations/retrievedatapoint.ts +8 -8
  81. package/src/models/operations/retrievedataset.ts +2 -2
  82. package/src/models/operations/retrievedatasource.ts +2 -2
  83. package/src/models/operations/retrievetool.ts +12 -12
  84. package/src/models/operations/runagent.ts +2 -2
  85. package/src/models/operations/streamrunagent.ts +2 -2
  86. package/src/models/operations/updatecontact.ts +2 -2
  87. package/src/models/operations/updateconversation.ts +2 -2
  88. package/src/models/operations/updatedatapoint.ts +8 -8
  89. package/src/models/operations/updatedataset.ts +2 -2
  90. package/src/models/operations/updatedatasource.ts +2 -2
  91. package/src/models/operations/updateeval.ts +28 -28
  92. package/src/models/operations/updatetool.ts +14 -14
  93. package/_speakeasy/.github/action-inputs-config.json +0 -53
  94. package/_speakeasy/.github/action-security-config.json +0 -88
  95. package/packages/orq-rc/examples/contactsCreate.example.ts +0 -42
  96. package/packages/orq-rc/examples/package-lock.json +0 -619
  97. package/packages/orq-rc/examples/package.json +0 -18
  98. package/packages/orq-rc/jsr.json +0 -28
  99. package/packages/orq-rc/package-lock.json +0 -3552
  100. package/packages/orq-rc/package.json +0 -40
  101. package/packages/orq-rc/src/core.ts +0 -13
  102. package/packages/orq-rc/src/funcs/agentsCreate.ts +0 -170
  103. package/packages/orq-rc/src/funcs/agentsDelete.ts +0 -180
  104. package/packages/orq-rc/src/funcs/agentsInvoke.ts +0 -177
  105. package/packages/orq-rc/src/funcs/agentsList.ts +0 -179
  106. package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +0 -183
  107. package/packages/orq-rc/src/funcs/agentsRetrieve.ts +0 -180
  108. package/packages/orq-rc/src/funcs/agentsRun.ts +0 -162
  109. package/packages/orq-rc/src/funcs/agentsStream.ts +0 -201
  110. package/packages/orq-rc/src/funcs/agentsStreamRun.ts +0 -186
  111. package/packages/orq-rc/src/funcs/agentsUpdate.ts +0 -184
  112. package/packages/orq-rc/src/funcs/chunkingParse.ts +0 -160
  113. package/packages/orq-rc/src/funcs/contactsCreate.ts +0 -165
  114. package/packages/orq-rc/src/funcs/contactsDelete.ts +0 -176
  115. package/packages/orq-rc/src/funcs/contactsList.ts +0 -170
  116. package/packages/orq-rc/src/funcs/contactsRetrieve.ts +0 -175
  117. package/packages/orq-rc/src/funcs/contactsUpdate.ts +0 -176
  118. package/packages/orq-rc/src/funcs/conversationsCreate.ts +0 -161
  119. package/packages/orq-rc/src/funcs/conversationsDelete.ts +0 -180
  120. package/packages/orq-rc/src/funcs/conversationsGenerateName.ts +0 -194
  121. package/packages/orq-rc/src/funcs/conversationsList.ts +0 -181
  122. package/packages/orq-rc/src/funcs/conversationsRetrieve.ts +0 -180
  123. package/packages/orq-rc/src/funcs/conversationsUpdate.ts +0 -184
  124. package/packages/orq-rc/src/funcs/datasetsClear.ts +0 -167
  125. package/packages/orq-rc/src/funcs/datasetsCreate.ts +0 -165
  126. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +0 -171
  127. package/packages/orq-rc/src/funcs/datasetsDelete.ts +0 -167
  128. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +0 -182
  129. package/packages/orq-rc/src/funcs/datasetsList.ts +0 -167
  130. package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +0 -174
  131. package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +0 -175
  132. package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +0 -181
  133. package/packages/orq-rc/src/funcs/datasetsUpdate.ts +0 -176
  134. package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +0 -179
  135. package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +0 -168
  136. package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +0 -176
  137. package/packages/orq-rc/src/funcs/deploymentsList.ts +0 -176
  138. package/packages/orq-rc/src/funcs/deploymentsMetricsCreate.ts +0 -168
  139. package/packages/orq-rc/src/funcs/deploymentsStream.ts +0 -183
  140. package/packages/orq-rc/src/funcs/evalsAll.ts +0 -173
  141. package/packages/orq-rc/src/funcs/evalsCreate.ts +0 -169
  142. package/packages/orq-rc/src/funcs/evalsDelete.ts +0 -173
  143. package/packages/orq-rc/src/funcs/evalsInvoke.ts +0 -177
  144. package/packages/orq-rc/src/funcs/evalsUpdate.ts +0 -173
  145. package/packages/orq-rc/src/funcs/evaluatorsGetV2EvaluatorsIdVersions.ts +0 -183
  146. package/packages/orq-rc/src/funcs/evaluatorsGetV2EvaluatorsIdVersionsVersionId.ts +0 -190
  147. package/packages/orq-rc/src/funcs/feedbackCreate.ts +0 -160
  148. package/packages/orq-rc/src/funcs/filesCreate.ts +0 -187
  149. package/packages/orq-rc/src/funcs/filesDelete.ts +0 -164
  150. package/packages/orq-rc/src/funcs/filesGet.ts +0 -166
  151. package/packages/orq-rc/src/funcs/filesList.ts +0 -167
  152. package/packages/orq-rc/src/funcs/knowledgeCreate.ts +0 -158
  153. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +0 -171
  154. package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +0 -166
  155. package/packages/orq-rc/src/funcs/knowledgeDelete.ts +0 -167
  156. package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +0 -174
  157. package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +0 -170
  158. package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +0 -173
  159. package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +0 -170
  160. package/packages/orq-rc/src/funcs/knowledgeList.ts +0 -169
  161. package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +0 -178
  162. package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +0 -171
  163. package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +0 -174
  164. package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +0 -166
  165. package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +0 -173
  166. package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +0 -169
  167. package/packages/orq-rc/src/funcs/knowledgeSearch.ts +0 -167
  168. package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +0 -164
  169. package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +0 -174
  170. package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +0 -170
  171. package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +0 -162
  172. package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +0 -175
  173. package/packages/orq-rc/src/funcs/memoryStoresCreateMemory.ts +0 -170
  174. package/packages/orq-rc/src/funcs/memoryStoresDelete.ts +0 -168
  175. package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +0 -184
  176. package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +0 -179
  177. package/packages/orq-rc/src/funcs/memoryStoresList.ts +0 -178
  178. package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +0 -183
  179. package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +0 -177
  180. package/packages/orq-rc/src/funcs/memoryStoresRetrieve.ts +0 -177
  181. package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +0 -178
  182. package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +0 -173
  183. package/packages/orq-rc/src/funcs/memoryStoresUpdate.ts +0 -168
  184. package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +0 -179
  185. package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +0 -174
  186. package/packages/orq-rc/src/funcs/modelsList.ts +0 -142
  187. package/packages/orq-rc/src/funcs/promptsCreate.ts +0 -160
  188. package/packages/orq-rc/src/funcs/promptsDelete.ts +0 -164
  189. package/packages/orq-rc/src/funcs/promptsGetVersion.ts +0 -181
  190. package/packages/orq-rc/src/funcs/promptsList.ts +0 -167
  191. package/packages/orq-rc/src/funcs/promptsListVersions.ts +0 -173
  192. package/packages/orq-rc/src/funcs/promptsRetrieve.ts +0 -166
  193. package/packages/orq-rc/src/funcs/promptsUpdate.ts +0 -173
  194. package/packages/orq-rc/src/funcs/remoteconfigsRetrieve.ts +0 -161
  195. package/packages/orq-rc/src/funcs/routerChatCompletions.ts +0 -172
  196. package/packages/orq-rc/src/funcs/routerImagesGenerate.ts +0 -160
  197. package/packages/orq-rc/src/funcs/toolsCreate.ts +0 -172
  198. package/packages/orq-rc/src/funcs/toolsDelete.ts +0 -167
  199. package/packages/orq-rc/src/funcs/toolsGetV2ToolsToolIdVersions.ts +0 -183
  200. package/packages/orq-rc/src/funcs/toolsGetV2ToolsToolIdVersionsVersionId.ts +0 -190
  201. package/packages/orq-rc/src/funcs/toolsList.ts +0 -176
  202. package/packages/orq-rc/src/funcs/toolsRetrieve.ts +0 -166
  203. package/packages/orq-rc/src/funcs/toolsUpdate.ts +0 -176
  204. package/packages/orq-rc/src/hooks/global.ts +0 -44
  205. package/packages/orq-rc/src/hooks/hooks.ts +0 -132
  206. package/packages/orq-rc/src/hooks/index.ts +0 -6
  207. package/packages/orq-rc/src/hooks/registration.ts +0 -15
  208. package/packages/orq-rc/src/hooks/types.ts +0 -112
  209. package/packages/orq-rc/src/index.ts +0 -9
  210. package/packages/orq-rc/src/lib/base64.ts +0 -37
  211. package/packages/orq-rc/src/lib/config.ts +0 -74
  212. package/packages/orq-rc/src/lib/dlv.ts +0 -53
  213. package/packages/orq-rc/src/lib/encodings.ts +0 -497
  214. package/packages/orq-rc/src/lib/env.ts +0 -89
  215. package/packages/orq-rc/src/lib/event-streams.ts +0 -135
  216. package/packages/orq-rc/src/lib/files.ts +0 -82
  217. package/packages/orq-rc/src/lib/http.ts +0 -323
  218. package/packages/orq-rc/src/lib/is-plain-object.ts +0 -43
  219. package/packages/orq-rc/src/lib/logger.ts +0 -9
  220. package/packages/orq-rc/src/lib/matchers.ts +0 -345
  221. package/packages/orq-rc/src/lib/primitives.ts +0 -150
  222. package/packages/orq-rc/src/lib/retries.ts +0 -218
  223. package/packages/orq-rc/src/lib/schemas.ts +0 -91
  224. package/packages/orq-rc/src/lib/sdks.ts +0 -407
  225. package/packages/orq-rc/src/lib/security.ts +0 -264
  226. package/packages/orq-rc/src/lib/url.ts +0 -33
  227. package/packages/orq-rc/src/mcp-server/cli/start/command.ts +0 -111
  228. package/packages/orq-rc/src/mcp-server/cli/start/impl.ts +0 -136
  229. package/packages/orq-rc/src/mcp-server/cli.ts +0 -13
  230. package/packages/orq-rc/src/mcp-server/console-logger.ts +0 -71
  231. package/packages/orq-rc/src/mcp-server/extensions.ts +0 -17
  232. package/packages/orq-rc/src/mcp-server/mcp-server.ts +0 -26
  233. package/packages/orq-rc/src/mcp-server/prompts.ts +0 -121
  234. package/packages/orq-rc/src/mcp-server/resources.ts +0 -176
  235. package/packages/orq-rc/src/mcp-server/scopes.ts +0 -7
  236. package/packages/orq-rc/src/mcp-server/server.ts +0 -267
  237. package/packages/orq-rc/src/mcp-server/shared.ts +0 -74
  238. package/packages/orq-rc/src/mcp-server/tools/agentsCreate.ts +0 -37
  239. package/packages/orq-rc/src/mcp-server/tools/agentsDelete.ts +0 -35
  240. package/packages/orq-rc/src/mcp-server/tools/agentsInvoke.ts +0 -40
  241. package/packages/orq-rc/src/mcp-server/tools/agentsList.ts +0 -41
  242. package/packages/orq-rc/src/mcp-server/tools/agentsResponsesCreate.ts +0 -40
  243. package/packages/orq-rc/src/mcp-server/tools/agentsRetrieve.ts +0 -37
  244. package/packages/orq-rc/src/mcp-server/tools/agentsRun.ts +0 -37
  245. package/packages/orq-rc/src/mcp-server/tools/agentsStream.ts +0 -40
  246. package/packages/orq-rc/src/mcp-server/tools/agentsStreamRun.ts +0 -37
  247. package/packages/orq-rc/src/mcp-server/tools/agentsUpdate.ts +0 -40
  248. package/packages/orq-rc/src/mcp-server/tools/chunkingParse.ts +0 -37
  249. package/packages/orq-rc/src/mcp-server/tools/contactsCreate.ts +0 -37
  250. package/packages/orq-rc/src/mcp-server/tools/contactsDelete.ts +0 -35
  251. package/packages/orq-rc/src/mcp-server/tools/contactsList.ts +0 -37
  252. package/packages/orq-rc/src/mcp-server/tools/contactsRetrieve.ts +0 -37
  253. package/packages/orq-rc/src/mcp-server/tools/contactsUpdate.ts +0 -37
  254. package/packages/orq-rc/src/mcp-server/tools/conversationsCreate.ts +0 -37
  255. package/packages/orq-rc/src/mcp-server/tools/conversationsDelete.ts +0 -35
  256. package/packages/orq-rc/src/mcp-server/tools/conversationsGenerateName.ts +0 -40
  257. package/packages/orq-rc/src/mcp-server/tools/conversationsList.ts +0 -41
  258. package/packages/orq-rc/src/mcp-server/tools/conversationsRetrieve.ts +0 -37
  259. package/packages/orq-rc/src/mcp-server/tools/conversationsUpdate.ts +0 -40
  260. package/packages/orq-rc/src/mcp-server/tools/datasetsClear.ts +0 -35
  261. package/packages/orq-rc/src/mcp-server/tools/datasetsCreate.ts +0 -37
  262. package/packages/orq-rc/src/mcp-server/tools/datasetsCreateDatapoint.ts +0 -37
  263. package/packages/orq-rc/src/mcp-server/tools/datasetsDelete.ts +0 -35
  264. package/packages/orq-rc/src/mcp-server/tools/datasetsDeleteDatapoint.ts +0 -35
  265. package/packages/orq-rc/src/mcp-server/tools/datasetsList.ts +0 -37
  266. package/packages/orq-rc/src/mcp-server/tools/datasetsListDatapoints.ts +0 -37
  267. package/packages/orq-rc/src/mcp-server/tools/datasetsRetrieve.ts +0 -37
  268. package/packages/orq-rc/src/mcp-server/tools/datasetsRetrieveDatapoint.ts +0 -37
  269. package/packages/orq-rc/src/mcp-server/tools/datasetsUpdate.ts +0 -37
  270. package/packages/orq-rc/src/mcp-server/tools/datasetsUpdateDatapoint.ts +0 -35
  271. package/packages/orq-rc/src/mcp-server/tools/deploymentsGetConfig.ts +0 -37
  272. package/packages/orq-rc/src/mcp-server/tools/deploymentsInvoke.ts +0 -37
  273. package/packages/orq-rc/src/mcp-server/tools/deploymentsList.ts +0 -37
  274. package/packages/orq-rc/src/mcp-server/tools/deploymentsMetricsCreate.ts +0 -37
  275. package/packages/orq-rc/src/mcp-server/tools/deploymentsStream.ts +0 -37
  276. package/packages/orq-rc/src/mcp-server/tools/evalsAll.ts +0 -35
  277. package/packages/orq-rc/src/mcp-server/tools/evalsCreate.ts +0 -35
  278. package/packages/orq-rc/src/mcp-server/tools/evalsDelete.ts +0 -33
  279. package/packages/orq-rc/src/mcp-server/tools/evalsInvoke.ts +0 -35
  280. package/packages/orq-rc/src/mcp-server/tools/evalsUpdate.ts +0 -35
  281. package/packages/orq-rc/src/mcp-server/tools/evaluatorsGetV2EvaluatorsIdVersions.ts +0 -39
  282. package/packages/orq-rc/src/mcp-server/tools/evaluatorsGetV2EvaluatorsIdVersionsVersionId.ts +0 -40
  283. package/packages/orq-rc/src/mcp-server/tools/feedbackCreate.ts +0 -37
  284. package/packages/orq-rc/src/mcp-server/tools/filesCreate.ts +0 -37
  285. package/packages/orq-rc/src/mcp-server/tools/filesDelete.ts +0 -33
  286. package/packages/orq-rc/src/mcp-server/tools/filesGet.ts +0 -37
  287. package/packages/orq-rc/src/mcp-server/tools/filesList.ts +0 -37
  288. package/packages/orq-rc/src/mcp-server/tools/knowledgeCreate.ts +0 -35
  289. package/packages/orq-rc/src/mcp-server/tools/knowledgeCreateChunks.ts +0 -35
  290. package/packages/orq-rc/src/mcp-server/tools/knowledgeCreateDatasource.ts +0 -35
  291. package/packages/orq-rc/src/mcp-server/tools/knowledgeDelete.ts +0 -35
  292. package/packages/orq-rc/src/mcp-server/tools/knowledgeDeleteChunk.ts +0 -33
  293. package/packages/orq-rc/src/mcp-server/tools/knowledgeDeleteChunks.ts +0 -35
  294. package/packages/orq-rc/src/mcp-server/tools/knowledgeDeleteDatasource.ts +0 -35
  295. package/packages/orq-rc/src/mcp-server/tools/knowledgeGetChunksCount.ts +0 -35
  296. package/packages/orq-rc/src/mcp-server/tools/knowledgeList.ts +0 -37
  297. package/packages/orq-rc/src/mcp-server/tools/knowledgeListChunks.ts +0 -35
  298. package/packages/orq-rc/src/mcp-server/tools/knowledgeListChunksPaginated.ts +0 -35
  299. package/packages/orq-rc/src/mcp-server/tools/knowledgeListDatasources.ts +0 -35
  300. package/packages/orq-rc/src/mcp-server/tools/knowledgeRetrieve.ts +0 -37
  301. package/packages/orq-rc/src/mcp-server/tools/knowledgeRetrieveChunk.ts +0 -35
  302. package/packages/orq-rc/src/mcp-server/tools/knowledgeRetrieveDatasource.ts +0 -35
  303. package/packages/orq-rc/src/mcp-server/tools/knowledgeSearch.ts +0 -37
  304. package/packages/orq-rc/src/mcp-server/tools/knowledgeUpdate.ts +0 -35
  305. package/packages/orq-rc/src/mcp-server/tools/knowledgeUpdateChunk.ts +0 -35
  306. package/packages/orq-rc/src/mcp-server/tools/knowledgeUpdateDatasource.ts +0 -35
  307. package/packages/orq-rc/src/mcp-server/tools/memoryStoresCreate.ts +0 -35
  308. package/packages/orq-rc/src/mcp-server/tools/memoryStoresCreateDocument.ts +0 -37
  309. package/packages/orq-rc/src/mcp-server/tools/memoryStoresCreateMemory.ts +0 -37
  310. package/packages/orq-rc/src/mcp-server/tools/memoryStoresDelete.ts +0 -35
  311. package/packages/orq-rc/src/mcp-server/tools/memoryStoresDeleteDocument.ts +0 -40
  312. package/packages/orq-rc/src/mcp-server/tools/memoryStoresDeleteMemory.ts +0 -40
  313. package/packages/orq-rc/src/mcp-server/tools/memoryStoresList.ts +0 -37
  314. package/packages/orq-rc/src/mcp-server/tools/memoryStoresListDocuments.ts +0 -37
  315. package/packages/orq-rc/src/mcp-server/tools/memoryStoresListMemories.ts +0 -37
  316. package/packages/orq-rc/src/mcp-server/tools/memoryStoresRetrieve.ts +0 -37
  317. package/packages/orq-rc/src/mcp-server/tools/memoryStoresRetrieveDocument.ts +0 -37
  318. package/packages/orq-rc/src/mcp-server/tools/memoryStoresRetrieveMemory.ts +0 -37
  319. package/packages/orq-rc/src/mcp-server/tools/memoryStoresUpdate.ts +0 -37
  320. package/packages/orq-rc/src/mcp-server/tools/memoryStoresUpdateDocument.ts +0 -37
  321. package/packages/orq-rc/src/mcp-server/tools/memoryStoresUpdateMemory.ts +0 -37
  322. package/packages/orq-rc/src/mcp-server/tools/modelsList.ts +0 -30
  323. package/packages/orq-rc/src/mcp-server/tools/promptsCreate.ts +0 -35
  324. package/packages/orq-rc/src/mcp-server/tools/promptsDelete.ts +0 -33
  325. package/packages/orq-rc/src/mcp-server/tools/promptsGetVersion.ts +0 -37
  326. package/packages/orq-rc/src/mcp-server/tools/promptsList.ts +0 -37
  327. package/packages/orq-rc/src/mcp-server/tools/promptsListVersions.ts +0 -37
  328. package/packages/orq-rc/src/mcp-server/tools/promptsRetrieve.ts +0 -37
  329. package/packages/orq-rc/src/mcp-server/tools/promptsUpdate.ts +0 -35
  330. package/packages/orq-rc/src/mcp-server/tools/remoteconfigsRetrieve.ts +0 -36
  331. package/packages/orq-rc/src/mcp-server/tools/routerChatCompletions.ts +0 -37
  332. package/packages/orq-rc/src/mcp-server/tools/routerImagesGenerate.ts +0 -37
  333. package/packages/orq-rc/src/mcp-server/tools/toolsCreate.ts +0 -37
  334. package/packages/orq-rc/src/mcp-server/tools/toolsDelete.ts +0 -35
  335. package/packages/orq-rc/src/mcp-server/tools/toolsGetV2ToolsToolIdVersions.ts +0 -37
  336. package/packages/orq-rc/src/mcp-server/tools/toolsGetV2ToolsToolIdVersionsVersionId.ts +0 -39
  337. package/packages/orq-rc/src/mcp-server/tools/toolsList.ts +0 -37
  338. package/packages/orq-rc/src/mcp-server/tools/toolsRetrieve.ts +0 -37
  339. package/packages/orq-rc/src/mcp-server/tools/toolsUpdate.ts +0 -37
  340. package/packages/orq-rc/src/mcp-server/tools.ts +0 -133
  341. package/packages/orq-rc/src/models/components/actionreviewedstreamingevent.ts +0 -173
  342. package/packages/orq-rc/src/models/components/actionreviewrequestedstreamingevent.ts +0 -309
  343. package/packages/orq-rc/src/models/components/agenterroredstreamingevent.ts +0 -125
  344. package/packages/orq-rc/src/models/components/agentexecutionstartedstreamingevent.ts +0 -150
  345. package/packages/orq-rc/src/models/components/agenthandedoffstreamingevent.ts +0 -125
  346. package/packages/orq-rc/src/models/components/agentinactivestreamingevent.ts +0 -801
  347. package/packages/orq-rc/src/models/components/agentmessagecreatedstreamingevent.ts +0 -305
  348. package/packages/orq-rc/src/models/components/agentresponsemessage.ts +0 -185
  349. package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +0 -822
  350. package/packages/orq-rc/src/models/components/agentthoughtstreamingevent.ts +0 -1399
  351. package/packages/orq-rc/src/models/components/audiocontentpartschema.ts +0 -136
  352. package/packages/orq-rc/src/models/components/conversationresponse.ts +0 -194
  353. package/packages/orq-rc/src/models/components/createagentresponse.ts +0 -340
  354. package/packages/orq-rc/src/models/components/datapart.ts +0 -58
  355. package/packages/orq-rc/src/models/components/errorstreamingevent.ts +0 -112
  356. package/packages/orq-rc/src/models/components/executionnamedstreamingevent.ts +0 -125
  357. package/packages/orq-rc/src/models/components/executionreviewedstreamingevent.ts +0 -105
  358. package/packages/orq-rc/src/models/components/executionreviewrequiredstreamingevent.ts +0 -113
  359. package/packages/orq-rc/src/models/components/filecontentpartschema.ts +0 -87
  360. package/packages/orq-rc/src/models/components/filepart.ts +0 -218
  361. package/packages/orq-rc/src/models/components/imagecontentpartschema.ts +0 -268
  362. package/packages/orq-rc/src/models/components/index.ts +0 -55
  363. package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +0 -5271
  364. package/packages/orq-rc/src/models/components/partdelta.ts +0 -80
  365. package/packages/orq-rc/src/models/components/partdeltaevent.ts +0 -120
  366. package/packages/orq-rc/src/models/components/partdoneevent.ts +0 -216
  367. package/packages/orq-rc/src/models/components/publiccontact.ts +0 -99
  368. package/packages/orq-rc/src/models/components/reasoningpart.ts +0 -90
  369. package/packages/orq-rc/src/models/components/reasoningpartschema.ts +0 -71
  370. package/packages/orq-rc/src/models/components/redactedreasoningpartschema.ts +0 -66
  371. package/packages/orq-rc/src/models/components/refusalpartschema.ts +0 -64
  372. package/packages/orq-rc/src/models/components/responsedoneevent.ts +0 -526
  373. package/packages/orq-rc/src/models/components/responsefailedevent.ts +0 -118
  374. package/packages/orq-rc/src/models/components/responsestartedevent.ts +0 -124
  375. package/packages/orq-rc/src/models/components/responsestreamingevent.ts +0 -148
  376. package/packages/orq-rc/src/models/components/reviewoutcome.ts +0 -27
  377. package/packages/orq-rc/src/models/components/security.ts +0 -56
  378. package/packages/orq-rc/src/models/components/textcontentpartschema.ts +0 -207
  379. package/packages/orq-rc/src/models/components/textpart.ts +0 -54
  380. package/packages/orq-rc/src/models/components/thinkingconfigdisabledschema.ts +0 -59
  381. package/packages/orq-rc/src/models/components/thinkingconfigenabledschema.ts +0 -106
  382. package/packages/orq-rc/src/models/components/timeoutstreamingevent.ts +0 -108
  383. package/packages/orq-rc/src/models/components/toolcallpart.ts +0 -83
  384. package/packages/orq-rc/src/models/components/tooldoneevent.ts +0 -121
  385. package/packages/orq-rc/src/models/components/toolexecutionfailedstreamingevent.ts +0 -392
  386. package/packages/orq-rc/src/models/components/toolexecutionfinishedstreamingevent.ts +0 -360
  387. package/packages/orq-rc/src/models/components/toolexecutionstartedstreamingevent.ts +0 -336
  388. package/packages/orq-rc/src/models/components/toolfailedevent.ts +0 -123
  389. package/packages/orq-rc/src/models/components/toolresultpart.ts +0 -71
  390. package/packages/orq-rc/src/models/components/toolreviewdoneevent.ts +0 -130
  391. package/packages/orq-rc/src/models/components/toolreviewrequestedevent.ts +0 -141
  392. package/packages/orq-rc/src/models/components/toolstartedevent.ts +0 -132
  393. package/packages/orq-rc/src/models/errors/apierror.ts +0 -40
  394. package/packages/orq-rc/src/models/errors/createagentrequest.ts +0 -67
  395. package/packages/orq-rc/src/models/errors/createeval.ts +0 -67
  396. package/packages/orq-rc/src/models/errors/deleteagent.ts +0 -67
  397. package/packages/orq-rc/src/models/errors/deletecontact.ts +0 -78
  398. package/packages/orq-rc/src/models/errors/deleteconversation.ts +0 -67
  399. package/packages/orq-rc/src/models/errors/deleteeval.ts +0 -67
  400. package/packages/orq-rc/src/models/errors/generateconversationname.ts +0 -132
  401. package/packages/orq-rc/src/models/errors/getevals.ts +0 -67
  402. package/packages/orq-rc/src/models/errors/getpromptversion.ts +0 -67
  403. package/packages/orq-rc/src/models/errors/getv2evaluatorsidversions.ts +0 -67
  404. package/packages/orq-rc/src/models/errors/getv2evaluatorsidversionsversionid.ts +0 -69
  405. package/packages/orq-rc/src/models/errors/getv2toolstoolidversions.ts +0 -67
  406. package/packages/orq-rc/src/models/errors/getv2toolstoolidversionsversionid.ts +0 -69
  407. package/packages/orq-rc/src/models/errors/honoapierror.ts +0 -77
  408. package/packages/orq-rc/src/models/errors/httpclienterrors.ts +0 -62
  409. package/packages/orq-rc/src/models/errors/index.ts +0 -35
  410. package/packages/orq-rc/src/models/errors/invokeeval.ts +0 -128
  411. package/packages/orq-rc/src/models/errors/orqerror.ts +0 -35
  412. package/packages/orq-rc/src/models/errors/responsevalidationerror.ts +0 -50
  413. package/packages/orq-rc/src/models/errors/retrieveagentrequest.ts +0 -67
  414. package/packages/orq-rc/src/models/errors/retrievecontact.ts +0 -78
  415. package/packages/orq-rc/src/models/errors/retrieveconversation.ts +0 -67
  416. package/packages/orq-rc/src/models/errors/sdkvalidationerror.ts +0 -109
  417. package/packages/orq-rc/src/models/errors/streamagent.ts +0 -67
  418. package/packages/orq-rc/src/models/errors/streamrunagent.ts +0 -67
  419. package/packages/orq-rc/src/models/errors/updateagent.ts +0 -67
  420. package/packages/orq-rc/src/models/errors/updatecontact.ts +0 -70
  421. package/packages/orq-rc/src/models/errors/updateconversation.ts +0 -67
  422. package/packages/orq-rc/src/models/errors/updateeval.ts +0 -67
  423. package/packages/orq-rc/src/models/errors/updateprompt.ts +0 -67
  424. package/packages/orq-rc/src/models/errors/updatetool.ts +0 -78
  425. package/packages/orq-rc/src/models/operations/cleardataset.ts +0 -63
  426. package/packages/orq-rc/src/models/operations/createagentrequest.ts +0 -8610
  427. package/packages/orq-rc/src/models/operations/createagentresponserequest.ts +0 -770
  428. package/packages/orq-rc/src/models/operations/createchatcompletion.ts +0 -8948
  429. package/packages/orq-rc/src/models/operations/createchunk.ts +0 -341
  430. package/packages/orq-rc/src/models/operations/createcontact.ts +0 -237
  431. package/packages/orq-rc/src/models/operations/createconversation.ts +0 -314
  432. package/packages/orq-rc/src/models/operations/createdataset.ts +0 -257
  433. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +0 -4044
  434. package/packages/orq-rc/src/models/operations/createdatasource.ts +0 -662
  435. package/packages/orq-rc/src/models/operations/createeval.ts +0 -5397
  436. package/packages/orq-rc/src/models/operations/createfeedback.ts +0 -226
  437. package/packages/orq-rc/src/models/operations/createimage.ts +0 -966
  438. package/packages/orq-rc/src/models/operations/createknowledge.ts +0 -1489
  439. package/packages/orq-rc/src/models/operations/creatememory.ts +0 -241
  440. package/packages/orq-rc/src/models/operations/creatememorydocument.ts +0 -245
  441. package/packages/orq-rc/src/models/operations/creatememorystore.ts +0 -310
  442. package/packages/orq-rc/src/models/operations/createprompt.ts +0 -5320
  443. package/packages/orq-rc/src/models/operations/createtool.ts +0 -3791
  444. package/packages/orq-rc/src/models/operations/deleteagent.ts +0 -63
  445. package/packages/orq-rc/src/models/operations/deletechunk.ts +0 -81
  446. package/packages/orq-rc/src/models/operations/deletechunks.ts +0 -198
  447. package/packages/orq-rc/src/models/operations/deletecontact.ts +0 -54
  448. package/packages/orq-rc/src/models/operations/deleteconversation.ts +0 -63
  449. package/packages/orq-rc/src/models/operations/deletedatapoint.ts +0 -72
  450. package/packages/orq-rc/src/models/operations/deletedataset.ts +0 -63
  451. package/packages/orq-rc/src/models/operations/deletedatasource.ts +0 -72
  452. package/packages/orq-rc/src/models/operations/deleteeval.ts +0 -51
  453. package/packages/orq-rc/src/models/operations/deleteknowledge.ts +0 -63
  454. package/packages/orq-rc/src/models/operations/deletememory.ts +0 -72
  455. package/packages/orq-rc/src/models/operations/deletememorydocument.ts +0 -83
  456. package/packages/orq-rc/src/models/operations/deletememorystore.ts +0 -63
  457. package/packages/orq-rc/src/models/operations/deleteprompt.ts +0 -54
  458. package/packages/orq-rc/src/models/operations/deletetool.ts +0 -60
  459. package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +0 -3596
  460. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +0 -7042
  461. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +0 -1136
  462. package/packages/orq-rc/src/models/operations/deployments.ts +0 -2005
  463. package/packages/orq-rc/src/models/operations/deploymentstream.ts +0 -7134
  464. package/packages/orq-rc/src/models/operations/filedelete.ts +0 -63
  465. package/packages/orq-rc/src/models/operations/fileget.ts +0 -181
  466. package/packages/orq-rc/src/models/operations/filelist.ts +0 -268
  467. package/packages/orq-rc/src/models/operations/fileupload.ts +0 -258
  468. package/packages/orq-rc/src/models/operations/generateconversationname.ts +0 -319
  469. package/packages/orq-rc/src/models/operations/getallmemories.ts +0 -280
  470. package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +0 -305
  471. package/packages/orq-rc/src/models/operations/getallmemorystores.ts +0 -325
  472. package/packages/orq-rc/src/models/operations/getallprompts.ts +0 -1991
  473. package/packages/orq-rc/src/models/operations/getalltools.ts +0 -2214
  474. package/packages/orq-rc/src/models/operations/getchunkscount.ts +0 -185
  475. package/packages/orq-rc/src/models/operations/getevals.ts +0 -4268
  476. package/packages/orq-rc/src/models/operations/getonechunk.ts +0 -258
  477. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +0 -1070
  478. package/packages/orq-rc/src/models/operations/getoneprompt.ts +0 -1875
  479. package/packages/orq-rc/src/models/operations/getpromptversion.ts +0 -1892
  480. package/packages/orq-rc/src/models/operations/getv2evaluatorsidversions.ts +0 -274
  481. package/packages/orq-rc/src/models/operations/getv2evaluatorsidversionsversionid.ts +0 -193
  482. package/packages/orq-rc/src/models/operations/getv2toolstoolidversions.ts +0 -276
  483. package/packages/orq-rc/src/models/operations/getv2toolstoolidversionsversionid.ts +0 -194
  484. package/packages/orq-rc/src/models/operations/index.ts +0 -106
  485. package/packages/orq-rc/src/models/operations/invokeagent.ts +0 -957
  486. package/packages/orq-rc/src/models/operations/invokeeval.ts +0 -1878
  487. package/packages/orq-rc/src/models/operations/listagents.ts +0 -3811
  488. package/packages/orq-rc/src/models/operations/listchunks.ts +0 -395
  489. package/packages/orq-rc/src/models/operations/listchunkspaginated.ts +0 -408
  490. package/packages/orq-rc/src/models/operations/listcontacts.ts +0 -420
  491. package/packages/orq-rc/src/models/operations/listconversations.ts +0 -151
  492. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +0 -2486
  493. package/packages/orq-rc/src/models/operations/listdatasets.ts +0 -334
  494. package/packages/orq-rc/src/models/operations/listdatasources.ts +0 -363
  495. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +0 -1048
  496. package/packages/orq-rc/src/models/operations/listmodels.ts +0 -207
  497. package/packages/orq-rc/src/models/operations/listpromptversions.ts +0 -1989
  498. package/packages/orq-rc/src/models/operations/parse.ts +0 -945
  499. package/packages/orq-rc/src/models/operations/remoteconfigsgetconfig.ts +0 -146
  500. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +0 -3956
  501. package/packages/orq-rc/src/models/operations/retrievecontact.ts +0 -180
  502. package/packages/orq-rc/src/models/operations/retrieveconversation.ts +0 -262
  503. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +0 -2334
  504. package/packages/orq-rc/src/models/operations/retrievedataset.ts +0 -246
  505. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +0 -231
  506. package/packages/orq-rc/src/models/operations/retrievememory.ts +0 -183
  507. package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +0 -192
  508. package/packages/orq-rc/src/models/operations/retrievememorystore.ts +0 -234
  509. package/packages/orq-rc/src/models/operations/retrievetool.ts +0 -2262
  510. package/packages/orq-rc/src/models/operations/runagent.ts +0 -6502
  511. package/packages/orq-rc/src/models/operations/searchknowledge.ts +0 -2775
  512. package/packages/orq-rc/src/models/operations/streamagent.ts +0 -838
  513. package/packages/orq-rc/src/models/operations/streamrunagent.ts +0 -6833
  514. package/packages/orq-rc/src/models/operations/updateagent.ts +0 -9054
  515. package/packages/orq-rc/src/models/operations/updatechunk.ts +0 -361
  516. package/packages/orq-rc/src/models/operations/updatecontact.ts +0 -280
  517. package/packages/orq-rc/src/models/operations/updateconversation.ts +0 -377
  518. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +0 -4058
  519. package/packages/orq-rc/src/models/operations/updatedataset.ts +0 -326
  520. package/packages/orq-rc/src/models/operations/updatedatasource.ts +0 -288
  521. package/packages/orq-rc/src/models/operations/updateeval.ts +0 -5776
  522. package/packages/orq-rc/src/models/operations/updateknowledge.ts +0 -1925
  523. package/packages/orq-rc/src/models/operations/updatememory.ts +0 -250
  524. package/packages/orq-rc/src/models/operations/updatememorydocument.ts +0 -254
  525. package/packages/orq-rc/src/models/operations/updatememorystore.ts +0 -375
  526. package/packages/orq-rc/src/models/operations/updateprompt.ts +0 -5618
  527. package/packages/orq-rc/src/models/operations/updatetool.ts +0 -4114
  528. package/packages/orq-rc/src/sdk/agents.ts +0 -196
  529. package/packages/orq-rc/src/sdk/chunking.ts +0 -27
  530. package/packages/orq-rc/src/sdk/contacts.ts +0 -99
  531. package/packages/orq-rc/src/sdk/conversations.ts +0 -125
  532. package/packages/orq-rc/src/sdk/datasets.ts +0 -204
  533. package/packages/orq-rc/src/sdk/deployments.ts +0 -89
  534. package/packages/orq-rc/src/sdk/evals.ts +0 -84
  535. package/packages/orq-rc/src/sdk/evaluators.ts +0 -45
  536. package/packages/orq-rc/src/sdk/feedback.ts +0 -27
  537. package/packages/orq-rc/src/sdk/files.ts +0 -78
  538. package/packages/orq-rc/src/sdk/index.ts +0 -5
  539. package/packages/orq-rc/src/sdk/knowledge.ts +0 -309
  540. package/packages/orq-rc/src/sdk/memorystores.ts +0 -286
  541. package/packages/orq-rc/src/sdk/metrics.ts +0 -27
  542. package/packages/orq-rc/src/sdk/models.ts +0 -25
  543. package/packages/orq-rc/src/sdk/prompts.ts +0 -126
  544. package/packages/orq-rc/src/sdk/remoteconfigs.ts +0 -24
  545. package/packages/orq-rc/src/sdk/responses.ts +0 -34
  546. package/packages/orq-rc/src/sdk/router.ts +0 -52
  547. package/packages/orq-rc/src/sdk/sdk.ts +0 -109
  548. package/packages/orq-rc/src/sdk/tools.ts +0 -135
  549. package/packages/orq-rc/src/types/async.ts +0 -68
  550. package/packages/orq-rc/src/types/blobs.ts +0 -32
  551. package/packages/orq-rc/src/types/constdatetime.ts +0 -15
  552. package/packages/orq-rc/src/types/enums.ts +0 -45
  553. package/packages/orq-rc/src/types/fp.ts +0 -50
  554. package/packages/orq-rc/src/types/index.ts +0 -11
  555. package/packages/orq-rc/src/types/operations.ts +0 -105
  556. package/packages/orq-rc/src/types/rfcdate.ts +0 -54
  557. package/packages/orq-rc/src/types/streams.ts +0 -21
  558. package/packages/orq-rc/src/types/unrecognized.ts +0 -35
  559. package/packages/orq-rc/tsconfig.json +0 -40
@@ -1,35 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { agentsDelete } from "../../funcs/agentsDelete.js";
7
- import { formatResult, ToolDefinition } from "../tools.js";
8
-
9
- const args = {
10
- agentKey: z.string(),
11
- };
12
-
13
- export const tool$agentsDelete: ToolDefinition<typeof args> = {
14
- name: "agents-delete",
15
- description: `Delete agent
16
-
17
- Permanently removes an agent from the workspace. This operation is irreversible and will delete all associated configuration including model assignments, tools, knowledge bases, memory stores, and cached data. Active agent sessions will be terminated, and the agent key will become available for reuse.`,
18
- args,
19
- tool: async (client, args, ctx) => {
20
- const [result, apiCall] = await agentsDelete(
21
- client,
22
- args.agentKey,
23
- { fetchOptions: { signal: ctx.signal } },
24
- ).$inspect();
25
-
26
- if (!result.ok) {
27
- return {
28
- content: [{ type: "text", text: result.error.message }],
29
- isError: true,
30
- };
31
- }
32
-
33
- return formatResult(void 0, apiCall);
34
- },
35
- };
@@ -1,40 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { agentsInvoke } from "../../funcs/agentsInvoke.js";
7
- import * as operations from "../../models/operations/index.js";
8
- import { formatResult, ToolDefinition } from "../tools.js";
9
-
10
- const args = {
11
- key: z.string(),
12
- requestBody: operations.InvokeAgentRequestBody$inboundSchema.optional(),
13
- };
14
-
15
- export const tool$agentsInvoke: ToolDefinition<typeof args> = {
16
- name: "agents-invoke",
17
- description: `Execute an agent task
18
-
19
- Invokes an agent to perform a task with the provided input message. The agent will process the request using its configured model and tools, maintaining context through memory stores if configured. Supports automatic model fallback on primary model failure, tool execution, knowledge base retrieval, and continuation of previous conversations. Returns a task response that can be used to track execution status and retrieve results.`,
20
- args,
21
- tool: async (client, args, ctx) => {
22
- const [result, apiCall] = await agentsInvoke(
23
- client,
24
- args.key,
25
- args.requestBody,
26
- { fetchOptions: { signal: ctx.signal } },
27
- ).$inspect();
28
-
29
- if (!result.ok) {
30
- return {
31
- content: [{ type: "text", text: result.error.message }],
32
- isError: true,
33
- };
34
- }
35
-
36
- const value = result.value;
37
-
38
- return formatResult(value, apiCall);
39
- },
40
- };
@@ -1,41 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { agentsList } from "../../funcs/agentsList.js";
7
- import { formatResult, ToolDefinition } from "../tools.js";
8
-
9
- const args = {
10
- limit: z.number().optional(),
11
- startingAfter: z.string().optional(),
12
- endingBefore: z.string().optional(),
13
- };
14
-
15
- export const tool$agentsList: ToolDefinition<typeof args> = {
16
- name: "agents-list",
17
- description: `List agents
18
-
19
- Retrieves a comprehensive list of agents configured in your workspace. Supports pagination for large datasets and returns agents sorted by creation date (newest first). Each agent in the response includes its complete configuration: model settings with fallback options, instructions, tools, knowledge bases, memory stores, and execution parameters. Use pagination parameters to efficiently navigate through large collections of agents.`,
20
- args,
21
- tool: async (client, args, ctx) => {
22
- const [result, apiCall] = await agentsList(
23
- client,
24
- args.limit,
25
- args.startingAfter,
26
- args.endingBefore,
27
- { fetchOptions: { signal: ctx.signal } },
28
- ).$inspect();
29
-
30
- if (!result.ok) {
31
- return {
32
- content: [{ type: "text", text: result.error.message }],
33
- isError: true,
34
- };
35
- }
36
-
37
- const value = result.value;
38
-
39
- return formatResult(value, apiCall);
40
- },
41
- };
@@ -1,40 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { agentsResponsesCreate } from "../../funcs/agentsResponsesCreate.js";
7
- import * as operations from "../../models/operations/index.js";
8
- import { formatResult, ToolDefinition } from "../tools.js";
9
-
10
- const args = {
11
- requestBody: operations.CreateAgentResponseRequestRequestBody$inboundSchema,
12
- agentKey: z.string(),
13
- };
14
-
15
- export const tool$agentsResponsesCreate: ToolDefinition<typeof args> = {
16
- name: "agents-responses-create",
17
- description: `Create response
18
-
19
- Initiates an agent conversation and returns a complete response. This endpoint manages the full lifecycle of an agent interaction, from receiving the initial message through all processing steps until completion. Supports synchronous execution (waits for completion) and asynchronous execution (returns immediately with task ID). The response includes all messages exchanged, tool calls made, and token usage statistics. Ideal for request-response patterns where you need the complete interaction result.`,
20
- args,
21
- tool: async (client, args, ctx) => {
22
- const [result, apiCall] = await agentsResponsesCreate(
23
- client,
24
- args.requestBody,
25
- args.agentKey,
26
- { fetchOptions: { signal: ctx.signal } },
27
- ).$inspect();
28
-
29
- if (!result.ok) {
30
- return {
31
- content: [{ type: "text", text: result.error.message }],
32
- isError: true,
33
- };
34
- }
35
-
36
- const value = result.value;
37
-
38
- return formatResult(value, apiCall);
39
- },
40
- };
@@ -1,37 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { agentsRetrieve } from "../../funcs/agentsRetrieve.js";
7
- import { formatResult, ToolDefinition } from "../tools.js";
8
-
9
- const args = {
10
- agentKey: z.string(),
11
- };
12
-
13
- export const tool$agentsRetrieve: ToolDefinition<typeof args> = {
14
- name: "agents-retrieve",
15
- description: `Retrieve agent
16
-
17
- Retrieves detailed information about a specific agent identified by its unique key or identifier. Returns the complete agent manifest including configuration settings, model assignments (primary and fallback), tools, knowledge bases, memory stores, instructions, and execution parameters. Use this endpoint to fetch the current state and configuration of an individual agent.`,
18
- args,
19
- tool: async (client, args, ctx) => {
20
- const [result, apiCall] = await agentsRetrieve(
21
- client,
22
- args.agentKey,
23
- { fetchOptions: { signal: ctx.signal } },
24
- ).$inspect();
25
-
26
- if (!result.ok) {
27
- return {
28
- content: [{ type: "text", text: result.error.message }],
29
- isError: true,
30
- };
31
- }
32
-
33
- const value = result.value;
34
-
35
- return formatResult(value, apiCall);
36
- },
37
- };
@@ -1,37 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { agentsRun } from "../../funcs/agentsRun.js";
6
- import * as operations from "../../models/operations/index.js";
7
- import { formatResult, ToolDefinition } from "../tools.js";
8
-
9
- const args = {
10
- request: operations.RunAgentRequestBody$inboundSchema,
11
- };
12
-
13
- export const tool$agentsRun: ToolDefinition<typeof args> = {
14
- name: "agents-run",
15
- description: `Run an agent with configuration
16
-
17
- Executes an agent using inline configuration or references an existing agent. Supports dynamic agent creation where the system automatically manages agent versioning - reusing existing agents with matching configurations or creating new versions when configurations differ. Ideal for programmatic agent execution with flexible configuration management. The agent processes messages in A2A format with support for memory context, tool execution, and automatic model fallback on failure.`,
18
- args,
19
- tool: async (client, args, ctx) => {
20
- const [result, apiCall] = await agentsRun(
21
- client,
22
- args.request,
23
- { fetchOptions: { signal: ctx.signal } },
24
- ).$inspect();
25
-
26
- if (!result.ok) {
27
- return {
28
- content: [{ type: "text", text: result.error.message }],
29
- isError: true,
30
- };
31
- }
32
-
33
- const value = result.value;
34
-
35
- return formatResult(value, apiCall);
36
- },
37
- };
@@ -1,40 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { agentsStream } from "../../funcs/agentsStream.js";
7
- import * as operations from "../../models/operations/index.js";
8
- import { formatResult, ToolDefinition } from "../tools.js";
9
-
10
- const args = {
11
- requestBody: operations.StreamAgentRequestBody$inboundSchema,
12
- key: z.string(),
13
- };
14
-
15
- export const tool$agentsStream: ToolDefinition<typeof args> = {
16
- name: "agents-stream",
17
- description: `Stream agent execution in real-time
18
-
19
- Executes an agent and streams the interaction in real-time using Server-Sent Events (SSE). Provides live updates as the agent processes the request, including message chunks, tool calls, and execution status. Perfect for building responsive chat interfaces and monitoring agent progress. The stream continues until the agent completes its task, encounters an error, or reaches the configured timeout (default 30 minutes, configurable 1-3600 seconds).`,
20
- args,
21
- tool: async (client, args, ctx) => {
22
- const [result, apiCall] = await agentsStream(
23
- client,
24
- args.requestBody,
25
- args.key,
26
- { fetchOptions: { signal: ctx.signal } },
27
- ).$inspect();
28
-
29
- if (!result.ok) {
30
- return {
31
- content: [{ type: "text", text: result.error.message }],
32
- isError: true,
33
- };
34
- }
35
-
36
- const value = result.value;
37
-
38
- return formatResult(value, apiCall);
39
- },
40
- };
@@ -1,37 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { agentsStreamRun } from "../../funcs/agentsStreamRun.js";
6
- import * as operations from "../../models/operations/index.js";
7
- import { formatResult, ToolDefinition } from "../tools.js";
8
-
9
- const args = {
10
- request: operations.StreamRunAgentRequestBody$inboundSchema,
11
- };
12
-
13
- export const tool$agentsStreamRun: ToolDefinition<typeof args> = {
14
- name: "agents-stream-run",
15
- description: `Run agent with streaming response
16
-
17
- Dynamically configures and executes an agent while streaming the interaction in real-time via Server-Sent Events (SSE). Intelligently manages agent versioning by reusing existing agents with matching configurations or creating new versions when configurations differ. Combines the flexibility of inline configuration with real-time streaming, making it ideal for dynamic agent interactions with live feedback. The stream provides continuous updates including message chunks, tool executions, and status changes until completion or timeout.`,
18
- args,
19
- tool: async (client, args, ctx) => {
20
- const [result, apiCall] = await agentsStreamRun(
21
- client,
22
- args.request,
23
- { fetchOptions: { signal: ctx.signal } },
24
- ).$inspect();
25
-
26
- if (!result.ok) {
27
- return {
28
- content: [{ type: "text", text: result.error.message }],
29
- isError: true,
30
- };
31
- }
32
-
33
- const value = result.value;
34
-
35
- return formatResult(value, apiCall);
36
- },
37
- };
@@ -1,40 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { agentsUpdate } from "../../funcs/agentsUpdate.js";
7
- import * as operations from "../../models/operations/index.js";
8
- import { formatResult, ToolDefinition } from "../tools.js";
9
-
10
- const args = {
11
- requestBody: operations.UpdateAgentUpdateAgentRequest$inboundSchema,
12
- agentKey: z.string(),
13
- };
14
-
15
- export const tool$agentsUpdate: ToolDefinition<typeof args> = {
16
- name: "agents-update",
17
- description: `Update agent
18
-
19
- Modifies an existing agent's configuration with partial updates. Supports updating any aspect of the agent including model assignments (primary and fallback), instructions, tools, knowledge bases, memory stores, and execution parameters. Only the fields provided in the request body will be updated; all other fields remain unchanged. Changes take effect immediately for new agent invocations.`,
20
- args,
21
- tool: async (client, args, ctx) => {
22
- const [result, apiCall] = await agentsUpdate(
23
- client,
24
- args.requestBody,
25
- args.agentKey,
26
- { fetchOptions: { signal: ctx.signal } },
27
- ).$inspect();
28
-
29
- if (!result.ok) {
30
- return {
31
- content: [{ type: "text", text: result.error.message }],
32
- isError: true,
33
- };
34
- }
35
-
36
- const value = result.value;
37
-
38
- return formatResult(value, apiCall);
39
- },
40
- };
@@ -1,37 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { chunkingParse } from "../../funcs/chunkingParse.js";
6
- import * as operations from "../../models/operations/index.js";
7
- import { formatResult, ToolDefinition } from "../tools.js";
8
-
9
- const args = {
10
- request: operations.ParseChunkingRequest$inboundSchema,
11
- };
12
-
13
- export const tool$chunkingParse: ToolDefinition<typeof args> = {
14
- name: "chunking-parse",
15
- description: `Parse text
16
-
17
- Split large text documents into smaller, manageable chunks using different chunking strategies optimized for RAG (Retrieval-Augmented Generation) workflows. This endpoint supports multiple chunking algorithms including token-based, sentence-based, recursive, semantic, and specialized strategies.`,
18
- args,
19
- tool: async (client, args, ctx) => {
20
- const [result, apiCall] = await chunkingParse(
21
- client,
22
- args.request,
23
- { fetchOptions: { signal: ctx.signal } },
24
- ).$inspect();
25
-
26
- if (!result.ok) {
27
- return {
28
- content: [{ type: "text", text: result.error.message }],
29
- isError: true,
30
- };
31
- }
32
-
33
- const value = result.value;
34
-
35
- return formatResult(value, apiCall);
36
- },
37
- };
@@ -1,37 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { contactsCreate } from "../../funcs/contactsCreate.js";
6
- import * as operations from "../../models/operations/index.js";
7
- import { formatResult, ToolDefinition } from "../tools.js";
8
-
9
- const args = {
10
- request: operations.CreateContactRequestBody$inboundSchema.optional(),
11
- };
12
-
13
- export const tool$contactsCreate: ToolDefinition<typeof args> = {
14
- name: "contacts-create",
15
- description: `Create a contact
16
-
17
- Creates a new contact with a unique external_id. If a contact with the same external_id already exists, the operation will fail. Use this endpoint to add users from your system to orq.ai for tracking their usage and engagement.`,
18
- args,
19
- tool: async (client, args, ctx) => {
20
- const [result, apiCall] = await contactsCreate(
21
- client,
22
- args.request,
23
- { fetchOptions: { signal: ctx.signal } },
24
- ).$inspect();
25
-
26
- if (!result.ok) {
27
- return {
28
- content: [{ type: "text", text: result.error.message }],
29
- isError: true,
30
- };
31
- }
32
-
33
- const value = result.value;
34
-
35
- return formatResult(value, apiCall);
36
- },
37
- };
@@ -1,35 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { contactsDelete } from "../../funcs/contactsDelete.js";
6
- import * as operations from "../../models/operations/index.js";
7
- import { formatResult, ToolDefinition } from "../tools.js";
8
-
9
- const args = {
10
- request: operations.DeleteContactRequest$inboundSchema,
11
- };
12
-
13
- export const tool$contactsDelete: ToolDefinition<typeof args> = {
14
- name: "contacts-delete",
15
- description: `Delete a contact
16
-
17
- Permanently deletes a contact from your workspace and cleans up associated budget configurations. This action cannot be undone.`,
18
- args,
19
- tool: async (client, args, ctx) => {
20
- const [result, apiCall] = await contactsDelete(
21
- client,
22
- args.request,
23
- { fetchOptions: { signal: ctx.signal } },
24
- ).$inspect();
25
-
26
- if (!result.ok) {
27
- return {
28
- content: [{ type: "text", text: result.error.message }],
29
- isError: true,
30
- };
31
- }
32
-
33
- return formatResult(void 0, apiCall);
34
- },
35
- };
@@ -1,37 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { contactsList } from "../../funcs/contactsList.js";
6
- import * as operations from "../../models/operations/index.js";
7
- import { formatResult, ToolDefinition } from "../tools.js";
8
-
9
- const args = {
10
- request: operations.ListContactsRequest$inboundSchema.optional(),
11
- };
12
-
13
- export const tool$contactsList: ToolDefinition<typeof args> = {
14
- name: "contacts-list",
15
- description: `List contacts
16
-
17
- Retrieves a paginated list of contacts in your workspace. Use pagination parameters to navigate through large contact lists efficiently.`,
18
- args,
19
- tool: async (client, args, ctx) => {
20
- const [result, apiCall] = await contactsList(
21
- client,
22
- args.request,
23
- { fetchOptions: { signal: ctx.signal } },
24
- ).$inspect();
25
-
26
- if (!result.ok) {
27
- return {
28
- content: [{ type: "text", text: result.error.message }],
29
- isError: true,
30
- };
31
- }
32
-
33
- const value = result.value;
34
-
35
- return formatResult(value, apiCall);
36
- },
37
- };
@@ -1,37 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { contactsRetrieve } from "../../funcs/contactsRetrieve.js";
6
- import * as operations from "../../models/operations/index.js";
7
- import { formatResult, ToolDefinition } from "../tools.js";
8
-
9
- const args = {
10
- request: operations.RetrieveContactRequest$inboundSchema,
11
- };
12
-
13
- export const tool$contactsRetrieve: ToolDefinition<typeof args> = {
14
- name: "contacts-retrieve",
15
- description: `Retrieve a contact
16
-
17
- Retrieves detailed information about a specific contact using their contact ID or external ID from your system.`,
18
- args,
19
- tool: async (client, args, ctx) => {
20
- const [result, apiCall] = await contactsRetrieve(
21
- client,
22
- args.request,
23
- { fetchOptions: { signal: ctx.signal } },
24
- ).$inspect();
25
-
26
- if (!result.ok) {
27
- return {
28
- content: [{ type: "text", text: result.error.message }],
29
- isError: true,
30
- };
31
- }
32
-
33
- const value = result.value;
34
-
35
- return formatResult(value, apiCall);
36
- },
37
- };
@@ -1,37 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { contactsUpdate } from "../../funcs/contactsUpdate.js";
6
- import * as operations from "../../models/operations/index.js";
7
- import { formatResult, ToolDefinition } from "../tools.js";
8
-
9
- const args = {
10
- request: operations.UpdateContactRequest$inboundSchema,
11
- };
12
-
13
- export const tool$contactsUpdate: ToolDefinition<typeof args> = {
14
- name: "contacts-update",
15
- description: `Update a contact
16
-
17
- Updates specific fields of an existing contact. Only the fields provided in the request body will be updated.`,
18
- args,
19
- tool: async (client, args, ctx) => {
20
- const [result, apiCall] = await contactsUpdate(
21
- client,
22
- args.request,
23
- { fetchOptions: { signal: ctx.signal } },
24
- ).$inspect();
25
-
26
- if (!result.ok) {
27
- return {
28
- content: [{ type: "text", text: result.error.message }],
29
- isError: true,
30
- };
31
- }
32
-
33
- const value = result.value;
34
-
35
- return formatResult(value, apiCall);
36
- },
37
- };
@@ -1,37 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { conversationsCreate } from "../../funcs/conversationsCreate.js";
6
- import * as operations from "../../models/operations/index.js";
7
- import { formatResult, ToolDefinition } from "../tools.js";
8
-
9
- const args = {
10
- request: operations.CreateConversationRequestBody$inboundSchema,
11
- };
12
-
13
- export const tool$conversationsCreate: ToolDefinition<typeof args> = {
14
- name: "conversations-create",
15
- description: `Create conversation
16
-
17
- Creates a new conversation in the workspace. Conversations serve as containers for organizing related messages and interactions. Each conversation is assigned a unique identifier and timestamps for tracking.`,
18
- args,
19
- tool: async (client, args, ctx) => {
20
- const [result, apiCall] = await conversationsCreate(
21
- client,
22
- args.request,
23
- { fetchOptions: { signal: ctx.signal } },
24
- ).$inspect();
25
-
26
- if (!result.ok) {
27
- return {
28
- content: [{ type: "text", text: result.error.message }],
29
- isError: true,
30
- };
31
- }
32
-
33
- const value = result.value;
34
-
35
- return formatResult(value, apiCall);
36
- },
37
- };
@@ -1,35 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { conversationsDelete } from "../../funcs/conversationsDelete.js";
7
- import { formatResult, ToolDefinition } from "../tools.js";
8
-
9
- const args = {
10
- conversationId: z.string(),
11
- };
12
-
13
- export const tool$conversationsDelete: ToolDefinition<typeof args> = {
14
- name: "conversations-delete",
15
- description: `Delete conversation
16
-
17
- Permanently removes a conversation from the workspace`,
18
- args,
19
- tool: async (client, args, ctx) => {
20
- const [result, apiCall] = await conversationsDelete(
21
- client,
22
- args.conversationId,
23
- { fetchOptions: { signal: ctx.signal } },
24
- ).$inspect();
25
-
26
- if (!result.ok) {
27
- return {
28
- content: [{ type: "text", text: result.error.message }],
29
- isError: true,
30
- };
31
- }
32
-
33
- return formatResult(void 0, apiCall);
34
- },
35
- };