asteroid-odyssey 1.0.25 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. package/dist/generated/agents/sdk.gen.d.ts +19 -2
  2. package/dist/generated/agents/sdk.gen.js +61 -1
  3. package/dist/generated/agents/types.gen.d.ts +154 -3
  4. package/dist/index.d.ts +38 -5
  5. package/dist/index.js +57 -6
  6. package/package.json +6 -7
  7. package/dist/AgentsSDK.d.ts +0 -70
  8. package/dist/AgentsSDK.js +0 -102
  9. package/dist/Asteroid.d.ts +0 -70
  10. package/dist/Asteroid.js +0 -102
  11. package/dist/examples/index.d.ts +0 -1
  12. package/dist/examples/index.js +0 -33
  13. package/dist/generated/agents/core/ApiError.d.ts +0 -10
  14. package/dist/generated/agents/core/ApiError.js +0 -20
  15. package/dist/generated/agents/core/ApiRequestOptions.d.ts +0 -13
  16. package/dist/generated/agents/core/ApiRequestOptions.js +0 -2
  17. package/dist/generated/agents/core/ApiResult.d.ts +0 -7
  18. package/dist/generated/agents/core/ApiResult.js +0 -2
  19. package/dist/generated/agents/core/CancelablePromise.d.ts +0 -20
  20. package/dist/generated/agents/core/CancelablePromise.js +0 -104
  21. package/dist/generated/agents/core/OpenAPI.d.ts +0 -16
  22. package/dist/generated/agents/core/OpenAPI.js +0 -14
  23. package/dist/generated/agents/core/request.d.ts +0 -30
  24. package/dist/generated/agents/core/request.js +0 -294
  25. package/dist/generated/agents/models/Agent.d.ts +0 -22
  26. package/dist/generated/agents/models/Agent.js +0 -2
  27. package/dist/generated/agents/models/CreateWorkflowRequest.d.ts +0 -27
  28. package/dist/generated/agents/models/CreateWorkflowRequest.js +0 -14
  29. package/dist/generated/agents/models/Execution.d.ts +0 -18
  30. package/dist/generated/agents/models/Execution.js +0 -2
  31. package/dist/generated/agents/models/OptimisationRequest.d.ts +0 -6
  32. package/dist/generated/agents/models/OptimisationRequest.js +0 -2
  33. package/dist/generated/agents/models/Workflow.d.ts +0 -30
  34. package/dist/generated/agents/models/Workflow.js +0 -2
  35. package/dist/generated/agents/models/WorkflowExecution.d.ts +0 -6
  36. package/dist/generated/agents/models/WorkflowExecution.js +0 -2
  37. package/dist/generated/agents/models/WorkflowExecutionRequest.d.ts +0 -4
  38. package/dist/generated/agents/models/WorkflowExecutionRequest.js +0 -2
  39. package/dist/generated/agents/services/AgentService.d.ts +0 -10
  40. package/dist/generated/agents/services/AgentService.js +0 -19
  41. package/dist/generated/agents/services/ApiService.d.ts +0 -9
  42. package/dist/generated/agents/services/ApiService.js +0 -19
  43. package/dist/generated/agents/services/DefaultService.d.ts +0 -23
  44. package/dist/generated/agents/services/DefaultService.js +0 -43
  45. package/dist/generated/agents/services/OptimiserService.d.ts +0 -11
  46. package/dist/generated/agents/services/OptimiserService.js +0 -22
  47. package/dist/generated/agents/services/WorkflowService.d.ts +0 -20
  48. package/dist/generated/agents/services/WorkflowService.js +0 -44
  49. package/dist/generated/platform/core/ApiError.d.ts +0 -10
  50. package/dist/generated/platform/core/ApiError.js +0 -20
  51. package/dist/generated/platform/core/ApiRequestOptions.d.ts +0 -13
  52. package/dist/generated/platform/core/ApiRequestOptions.js +0 -2
  53. package/dist/generated/platform/core/ApiResult.d.ts +0 -7
  54. package/dist/generated/platform/core/ApiResult.js +0 -2
  55. package/dist/generated/platform/core/CancelablePromise.d.ts +0 -20
  56. package/dist/generated/platform/core/CancelablePromise.js +0 -104
  57. package/dist/generated/platform/core/OpenAPI.d.ts +0 -16
  58. package/dist/generated/platform/core/OpenAPI.js +0 -14
  59. package/dist/generated/platform/core/request.d.ts +0 -30
  60. package/dist/generated/platform/core/request.js +0 -294
  61. package/dist/generated/platform/index.d.ts +0 -57
  62. package/dist/generated/platform/index.js +0 -58
  63. package/dist/generated/platform/models/APIKey.d.ts +0 -9
  64. package/dist/generated/platform/models/APIKey.js +0 -2
  65. package/dist/generated/platform/models/AgentReport.d.ts +0 -45
  66. package/dist/generated/platform/models/AgentReport.js +0 -2
  67. package/dist/generated/platform/models/AsteroidChat.d.ts +0 -9
  68. package/dist/generated/platform/models/AsteroidChat.js +0 -2
  69. package/dist/generated/platform/models/AsteroidChoice.d.ts +0 -16
  70. package/dist/generated/platform/models/AsteroidChoice.js +0 -14
  71. package/dist/generated/platform/models/AsteroidMessage.d.ts +0 -27
  72. package/dist/generated/platform/models/AsteroidMessage.js +0 -15
  73. package/dist/generated/platform/models/AsteroidToolCall.d.ts +0 -11
  74. package/dist/generated/platform/models/AsteroidToolCall.js +0 -2
  75. package/dist/generated/platform/models/ChainExecution.d.ts +0 -6
  76. package/dist/generated/platform/models/ChainExecution.js +0 -2
  77. package/dist/generated/platform/models/ChainExecutionState.d.ts +0 -8
  78. package/dist/generated/platform/models/ChainExecutionState.js +0 -2
  79. package/dist/generated/platform/models/ChainRequest.d.ts +0 -6
  80. package/dist/generated/platform/models/ChainRequest.js +0 -2
  81. package/dist/generated/platform/models/ChatFormat.d.ts +0 -5
  82. package/dist/generated/platform/models/ChatFormat.js +0 -13
  83. package/dist/generated/platform/models/ChatIds.d.ts +0 -5
  84. package/dist/generated/platform/models/ChatIds.js +0 -2
  85. package/dist/generated/platform/models/ChoiceIds.d.ts +0 -6
  86. package/dist/generated/platform/models/ChoiceIds.js +0 -2
  87. package/dist/generated/platform/models/Decision.d.ts +0 -7
  88. package/dist/generated/platform/models/Decision.js +0 -15
  89. package/dist/generated/platform/models/ErrorResponse.d.ts +0 -4
  90. package/dist/generated/platform/models/ErrorResponse.js +0 -2
  91. package/dist/generated/platform/models/FailureCategory.d.ts +0 -12
  92. package/dist/generated/platform/models/FailureCategory.js +0 -20
  93. package/dist/generated/platform/models/FailureReport.d.ts +0 -33
  94. package/dist/generated/platform/models/FailureReport.js +0 -13
  95. package/dist/generated/platform/models/Feedback.d.ts +0 -13
  96. package/dist/generated/platform/models/Feedback.js +0 -2
  97. package/dist/generated/platform/models/FeedbackRequest.d.ts +0 -6
  98. package/dist/generated/platform/models/FeedbackRequest.js +0 -2
  99. package/dist/generated/platform/models/FileURL.d.ts +0 -4
  100. package/dist/generated/platform/models/FileURL.js +0 -2
  101. package/dist/generated/platform/models/HubStats.d.ts +0 -10
  102. package/dist/generated/platform/models/HubStats.js +0 -2
  103. package/dist/generated/platform/models/MessageRole.d.ts +0 -5
  104. package/dist/generated/platform/models/MessageRole.js +0 -13
  105. package/dist/generated/platform/models/MessageType.d.ts +0 -6
  106. package/dist/generated/platform/models/MessageType.js +0 -14
  107. package/dist/generated/platform/models/Permission.d.ts +0 -5
  108. package/dist/generated/platform/models/Permission.js +0 -13
  109. package/dist/generated/platform/models/Project.d.ts +0 -8
  110. package/dist/generated/platform/models/Project.js +0 -2
  111. package/dist/generated/platform/models/ReviewPayload.d.ts +0 -29
  112. package/dist/generated/platform/models/ReviewPayload.js +0 -2
  113. package/dist/generated/platform/models/Run.d.ts +0 -9
  114. package/dist/generated/platform/models/Run.js +0 -2
  115. package/dist/generated/platform/models/RunExecution.d.ts +0 -8
  116. package/dist/generated/platform/models/RunExecution.js +0 -2
  117. package/dist/generated/platform/models/RunState.d.ts +0 -2
  118. package/dist/generated/platform/models/RunState.js +0 -2
  119. package/dist/generated/platform/models/Status.d.ts +0 -8
  120. package/dist/generated/platform/models/Status.js +0 -16
  121. package/dist/generated/platform/models/SupervisionRequest.d.ts +0 -9
  122. package/dist/generated/platform/models/SupervisionRequest.js +0 -2
  123. package/dist/generated/platform/models/SupervisionRequestState.d.ts +0 -8
  124. package/dist/generated/platform/models/SupervisionRequestState.js +0 -2
  125. package/dist/generated/platform/models/SupervisionResult.d.ts +0 -9
  126. package/dist/generated/platform/models/SupervisionResult.js +0 -2
  127. package/dist/generated/platform/models/SupervisionStatus.d.ts +0 -7
  128. package/dist/generated/platform/models/SupervisionStatus.js +0 -2
  129. package/dist/generated/platform/models/Supervisor.d.ts +0 -10
  130. package/dist/generated/platform/models/Supervisor.js +0 -2
  131. package/dist/generated/platform/models/SupervisorChain.d.ts +0 -5
  132. package/dist/generated/platform/models/SupervisorChain.js +0 -2
  133. package/dist/generated/platform/models/SupervisorStats.d.ts +0 -21
  134. package/dist/generated/platform/models/SupervisorStats.js +0 -2
  135. package/dist/generated/platform/models/SupervisorType.d.ts +0 -8
  136. package/dist/generated/platform/models/SupervisorType.js +0 -16
  137. package/dist/generated/platform/models/Task.d.ts +0 -7
  138. package/dist/generated/platform/models/Task.js +0 -2
  139. package/dist/generated/platform/models/Tool.d.ts +0 -9
  140. package/dist/generated/platform/models/Tool.js +0 -2
  141. package/dist/generated/platform/models/ToolCallIds.d.ts +0 -4
  142. package/dist/generated/platform/models/ToolCallIds.js +0 -2
  143. package/dist/generated/platform/models/ToolSupervisionResult.d.ts +0 -36
  144. package/dist/generated/platform/models/ToolSupervisionResult.js +0 -2
  145. package/dist/generated/platform/models/User.d.ts +0 -4
  146. package/dist/generated/platform/models/User.js +0 -2
  147. package/dist/generated/platform/services/ApiKeyService.d.ts +0 -33
  148. package/dist/generated/platform/services/ApiKeyService.js +0 -64
  149. package/dist/generated/platform/services/ApiService.d.ts +0 -9
  150. package/dist/generated/platform/services/ApiService.js +0 -19
  151. package/dist/generated/platform/services/ImproveService.d.ts +0 -20
  152. package/dist/generated/platform/services/ImproveService.js +0 -47
  153. package/dist/generated/platform/services/ProjectService.d.ts +0 -34
  154. package/dist/generated/platform/services/ProjectService.js +0 -72
  155. package/dist/generated/platform/services/RunService.d.ts +0 -121
  156. package/dist/generated/platform/services/RunService.js +0 -260
  157. package/dist/generated/platform/services/StatsService.d.ts +0 -10
  158. package/dist/generated/platform/services/StatsService.js +0 -22
  159. package/dist/generated/platform/services/SupervisionService.d.ts +0 -46
  160. package/dist/generated/platform/services/SupervisionService.js +0 -100
  161. package/dist/generated/platform/services/SupervisorService.d.ts +0 -43
  162. package/dist/generated/platform/services/SupervisorService.js +0 -92
  163. package/dist/generated/platform/services/TaskService.d.ts +0 -29
  164. package/dist/generated/platform/services/TaskService.js +0 -59
  165. package/dist/generated/platform/services/ToolCallService.d.ts +0 -42
  166. package/dist/generated/platform/services/ToolCallService.js +0 -92
  167. package/dist/generated/platform/services/ToolService.d.ts +0 -47
  168. package/dist/generated/platform/services/ToolService.js +0 -92
  169. package/dist/src/generated/agents/core/ApiError.d.ts +0 -10
  170. package/dist/src/generated/agents/core/ApiError.js +0 -20
  171. package/dist/src/generated/agents/core/ApiRequestOptions.d.ts +0 -13
  172. package/dist/src/generated/agents/core/ApiRequestOptions.js +0 -2
  173. package/dist/src/generated/agents/core/ApiResult.d.ts +0 -7
  174. package/dist/src/generated/agents/core/ApiResult.js +0 -2
  175. package/dist/src/generated/agents/core/CancelablePromise.d.ts +0 -20
  176. package/dist/src/generated/agents/core/CancelablePromise.js +0 -104
  177. package/dist/src/generated/agents/core/OpenAPI.d.ts +0 -16
  178. package/dist/src/generated/agents/core/OpenAPI.js +0 -14
  179. package/dist/src/generated/agents/core/request.d.ts +0 -30
  180. package/dist/src/generated/agents/core/request.js +0 -294
  181. package/dist/src/generated/agents/index.d.ts +0 -16
  182. package/dist/src/generated/agents/index.js +0 -24
  183. package/dist/src/generated/agents/models/Agent.d.ts +0 -22
  184. package/dist/src/generated/agents/models/Agent.js +0 -2
  185. package/dist/src/generated/agents/models/CreateWorkflowRequest.d.ts +0 -14
  186. package/dist/src/generated/agents/models/CreateWorkflowRequest.js +0 -2
  187. package/dist/src/generated/agents/models/Execution.d.ts +0 -18
  188. package/dist/src/generated/agents/models/Execution.js +0 -2
  189. package/dist/src/generated/agents/models/OptimisationRequest.d.ts +0 -6
  190. package/dist/src/generated/agents/models/OptimisationRequest.js +0 -2
  191. package/dist/src/generated/agents/models/Workflow.d.ts +0 -26
  192. package/dist/src/generated/agents/models/Workflow.js +0 -2
  193. package/dist/src/generated/agents/models/WorkflowExecution.d.ts +0 -6
  194. package/dist/src/generated/agents/models/WorkflowExecution.js +0 -2
  195. package/dist/src/generated/agents/models/WorkflowExecutionRequest.d.ts +0 -4
  196. package/dist/src/generated/agents/models/WorkflowExecutionRequest.js +0 -2
  197. package/dist/src/generated/agents/services/AgentService.d.ts +0 -10
  198. package/dist/src/generated/agents/services/AgentService.js +0 -19
  199. package/dist/src/generated/agents/services/ApiService.d.ts +0 -9
  200. package/dist/src/generated/agents/services/ApiService.js +0 -19
  201. package/dist/src/generated/agents/services/DefaultService.d.ts +0 -23
  202. package/dist/src/generated/agents/services/DefaultService.js +0 -43
  203. package/dist/src/generated/agents/services/OptimiserService.d.ts +0 -11
  204. package/dist/src/generated/agents/services/OptimiserService.js +0 -22
  205. package/dist/src/generated/agents/services/WorkflowService.d.ts +0 -19
  206. package/dist/src/generated/agents/services/WorkflowService.js +0 -40
  207. package/dist/src/generated/platform/core/ApiError.d.ts +0 -10
  208. package/dist/src/generated/platform/core/ApiError.js +0 -20
  209. package/dist/src/generated/platform/core/ApiRequestOptions.d.ts +0 -13
  210. package/dist/src/generated/platform/core/ApiRequestOptions.js +0 -2
  211. package/dist/src/generated/platform/core/ApiResult.d.ts +0 -7
  212. package/dist/src/generated/platform/core/ApiResult.js +0 -2
  213. package/dist/src/generated/platform/core/CancelablePromise.d.ts +0 -20
  214. package/dist/src/generated/platform/core/CancelablePromise.js +0 -104
  215. package/dist/src/generated/platform/core/OpenAPI.d.ts +0 -16
  216. package/dist/src/generated/platform/core/OpenAPI.js +0 -14
  217. package/dist/src/generated/platform/core/request.d.ts +0 -30
  218. package/dist/src/generated/platform/core/request.js +0 -294
  219. package/dist/src/generated/platform/index.d.ts +0 -56
  220. package/dist/src/generated/platform/index.js +0 -58
  221. package/dist/src/generated/platform/models/APIKey.d.ts +0 -9
  222. package/dist/src/generated/platform/models/APIKey.js +0 -2
  223. package/dist/src/generated/platform/models/AgentReport.d.ts +0 -45
  224. package/dist/src/generated/platform/models/AgentReport.js +0 -2
  225. package/dist/src/generated/platform/models/AsteroidChat.d.ts +0 -9
  226. package/dist/src/generated/platform/models/AsteroidChat.js +0 -2
  227. package/dist/src/generated/platform/models/AsteroidChoice.d.ts +0 -16
  228. package/dist/src/generated/platform/models/AsteroidChoice.js +0 -14
  229. package/dist/src/generated/platform/models/AsteroidMessage.d.ts +0 -27
  230. package/dist/src/generated/platform/models/AsteroidMessage.js +0 -15
  231. package/dist/src/generated/platform/models/AsteroidToolCall.d.ts +0 -11
  232. package/dist/src/generated/platform/models/AsteroidToolCall.js +0 -2
  233. package/dist/src/generated/platform/models/ChainExecution.d.ts +0 -6
  234. package/dist/src/generated/platform/models/ChainExecution.js +0 -2
  235. package/dist/src/generated/platform/models/ChainExecutionState.d.ts +0 -8
  236. package/dist/src/generated/platform/models/ChainExecutionState.js +0 -2
  237. package/dist/src/generated/platform/models/ChainRequest.d.ts +0 -6
  238. package/dist/src/generated/platform/models/ChainRequest.js +0 -2
  239. package/dist/src/generated/platform/models/ChatFormat.d.ts +0 -5
  240. package/dist/src/generated/platform/models/ChatFormat.js +0 -13
  241. package/dist/src/generated/platform/models/ChatIds.d.ts +0 -5
  242. package/dist/src/generated/platform/models/ChatIds.js +0 -2
  243. package/dist/src/generated/platform/models/ChoiceIds.d.ts +0 -6
  244. package/dist/src/generated/platform/models/ChoiceIds.js +0 -2
  245. package/dist/src/generated/platform/models/Decision.d.ts +0 -7
  246. package/dist/src/generated/platform/models/Decision.js +0 -15
  247. package/dist/src/generated/platform/models/ErrorResponse.d.ts +0 -4
  248. package/dist/src/generated/platform/models/ErrorResponse.js +0 -2
  249. package/dist/src/generated/platform/models/FailureCategory.d.ts +0 -12
  250. package/dist/src/generated/platform/models/FailureCategory.js +0 -20
  251. package/dist/src/generated/platform/models/FailureReport.d.ts +0 -33
  252. package/dist/src/generated/platform/models/FailureReport.js +0 -13
  253. package/dist/src/generated/platform/models/Feedback.d.ts +0 -13
  254. package/dist/src/generated/platform/models/Feedback.js +0 -2
  255. package/dist/src/generated/platform/models/FeedbackRequest.d.ts +0 -6
  256. package/dist/src/generated/platform/models/FeedbackRequest.js +0 -2
  257. package/dist/src/generated/platform/models/HubStats.d.ts +0 -10
  258. package/dist/src/generated/platform/models/HubStats.js +0 -2
  259. package/dist/src/generated/platform/models/MessageRole.d.ts +0 -5
  260. package/dist/src/generated/platform/models/MessageRole.js +0 -13
  261. package/dist/src/generated/platform/models/MessageType.d.ts +0 -6
  262. package/dist/src/generated/platform/models/MessageType.js +0 -14
  263. package/dist/src/generated/platform/models/Permission.d.ts +0 -5
  264. package/dist/src/generated/platform/models/Permission.js +0 -13
  265. package/dist/src/generated/platform/models/Project.d.ts +0 -8
  266. package/dist/src/generated/platform/models/Project.js +0 -2
  267. package/dist/src/generated/platform/models/ReviewPayload.d.ts +0 -29
  268. package/dist/src/generated/platform/models/ReviewPayload.js +0 -2
  269. package/dist/src/generated/platform/models/Run.d.ts +0 -9
  270. package/dist/src/generated/platform/models/Run.js +0 -2
  271. package/dist/src/generated/platform/models/RunExecution.d.ts +0 -8
  272. package/dist/src/generated/platform/models/RunExecution.js +0 -2
  273. package/dist/src/generated/platform/models/RunState.d.ts +0 -2
  274. package/dist/src/generated/platform/models/RunState.js +0 -2
  275. package/dist/src/generated/platform/models/Status.d.ts +0 -8
  276. package/dist/src/generated/platform/models/Status.js +0 -16
  277. package/dist/src/generated/platform/models/SupervisionRequest.d.ts +0 -9
  278. package/dist/src/generated/platform/models/SupervisionRequest.js +0 -2
  279. package/dist/src/generated/platform/models/SupervisionRequestState.d.ts +0 -8
  280. package/dist/src/generated/platform/models/SupervisionRequestState.js +0 -2
  281. package/dist/src/generated/platform/models/SupervisionResult.d.ts +0 -9
  282. package/dist/src/generated/platform/models/SupervisionResult.js +0 -2
  283. package/dist/src/generated/platform/models/SupervisionStatus.d.ts +0 -7
  284. package/dist/src/generated/platform/models/SupervisionStatus.js +0 -2
  285. package/dist/src/generated/platform/models/Supervisor.d.ts +0 -10
  286. package/dist/src/generated/platform/models/Supervisor.js +0 -2
  287. package/dist/src/generated/platform/models/SupervisorChain.d.ts +0 -5
  288. package/dist/src/generated/platform/models/SupervisorChain.js +0 -2
  289. package/dist/src/generated/platform/models/SupervisorStats.d.ts +0 -21
  290. package/dist/src/generated/platform/models/SupervisorStats.js +0 -2
  291. package/dist/src/generated/platform/models/SupervisorType.d.ts +0 -8
  292. package/dist/src/generated/platform/models/SupervisorType.js +0 -16
  293. package/dist/src/generated/platform/models/Task.d.ts +0 -7
  294. package/dist/src/generated/platform/models/Task.js +0 -2
  295. package/dist/src/generated/platform/models/Tool.d.ts +0 -9
  296. package/dist/src/generated/platform/models/Tool.js +0 -2
  297. package/dist/src/generated/platform/models/ToolCallIds.d.ts +0 -4
  298. package/dist/src/generated/platform/models/ToolCallIds.js +0 -2
  299. package/dist/src/generated/platform/models/ToolSupervisionResult.d.ts +0 -36
  300. package/dist/src/generated/platform/models/ToolSupervisionResult.js +0 -2
  301. package/dist/src/generated/platform/models/User.d.ts +0 -4
  302. package/dist/src/generated/platform/models/User.js +0 -2
  303. package/dist/src/generated/platform/services/ApiKeyService.d.ts +0 -33
  304. package/dist/src/generated/platform/services/ApiKeyService.js +0 -64
  305. package/dist/src/generated/platform/services/ApiService.d.ts +0 -9
  306. package/dist/src/generated/platform/services/ApiService.js +0 -19
  307. package/dist/src/generated/platform/services/ImproveService.d.ts +0 -20
  308. package/dist/src/generated/platform/services/ImproveService.js +0 -47
  309. package/dist/src/generated/platform/services/ProjectService.d.ts +0 -34
  310. package/dist/src/generated/platform/services/ProjectService.js +0 -72
  311. package/dist/src/generated/platform/services/RunService.d.ts +0 -103
  312. package/dist/src/generated/platform/services/RunService.js +0 -227
  313. package/dist/src/generated/platform/services/StatsService.d.ts +0 -10
  314. package/dist/src/generated/platform/services/StatsService.js +0 -22
  315. package/dist/src/generated/platform/services/SupervisionService.d.ts +0 -46
  316. package/dist/src/generated/platform/services/SupervisionService.js +0 -100
  317. package/dist/src/generated/platform/services/SupervisorService.d.ts +0 -43
  318. package/dist/src/generated/platform/services/SupervisorService.js +0 -92
  319. package/dist/src/generated/platform/services/TaskService.d.ts +0 -29
  320. package/dist/src/generated/platform/services/TaskService.js +0 -59
  321. package/dist/src/generated/platform/services/ToolCallService.d.ts +0 -42
  322. package/dist/src/generated/platform/services/ToolCallService.js +0 -92
  323. package/dist/src/generated/platform/services/ToolService.d.ts +0 -47
  324. package/dist/src/generated/platform/services/ToolService.js +0 -92
  325. package/dist/src/index.d.ts +0 -70
  326. package/dist/src/index.js +0 -102
@@ -1,121 +0,0 @@
1
- import type { AsteroidChat } from '../models/AsteroidChat';
2
- import type { AsteroidMessage } from '../models/AsteroidMessage';
3
- import type { ChatIds } from '../models/ChatIds';
4
- import type { FileURL } from '../models/FileURL';
5
- import type { Run } from '../models/Run';
6
- import type { Status } from '../models/Status';
7
- import type { CancelablePromise } from '../core/CancelablePromise';
8
- export declare class RunService {
9
- /**
10
- * Get all runs for a task
11
- * @param taskId
12
- * @returns Run List of runs
13
- * @throws ApiError
14
- */
15
- static getTaskRuns(taskId: string): CancelablePromise<Array<Run>>;
16
- /**
17
- * Create a new run for a task
18
- * @param taskId
19
- * @param requestBody
20
- * @returns string Run created
21
- * @throws ApiError
22
- */
23
- static createRun(taskId: string, requestBody?: {
24
- name?: string;
25
- run_id?: string;
26
- }): CancelablePromise<string>;
27
- /**
28
- * Get a run
29
- * @param runId
30
- * @returns Run Run
31
- * @throws ApiError
32
- */
33
- static getRun(runId: string): CancelablePromise<Run>;
34
- /**
35
- * Delete a run
36
- * @param runId
37
- * @returns any Run deleted
38
- * @throws ApiError
39
- */
40
- static deleteRun(runId: string): CancelablePromise<any>;
41
- /**
42
- * Update the metadata of a run
43
- * @param runId
44
- * @param requestBody
45
- * @returns void
46
- * @throws ApiError
47
- */
48
- static updateRunMetadata(runId: string, requestBody: Record<string, any>): CancelablePromise<void>;
49
- /**
50
- * Get the status of a run
51
- * @param runId
52
- * @returns Status Run status
53
- * @throws ApiError
54
- */
55
- static getRunStatus(runId: string): CancelablePromise<Status>;
56
- /**
57
- * Update the status of a run
58
- * @param runId
59
- * @param requestBody
60
- * @returns void
61
- * @throws ApiError
62
- */
63
- static updateRunStatus(runId: string, requestBody: Status): CancelablePromise<void>;
64
- /**
65
- * Update a run with a result
66
- * @param runId
67
- * @param requestBody
68
- * @returns any Run result created
69
- * @throws ApiError
70
- */
71
- static updateRunResult(runId: string, requestBody: {
72
- result?: string;
73
- }): CancelablePromise<any>;
74
- /**
75
- * Get the image messages for a run
76
- * @param runId
77
- * @returns AsteroidMessage Run image messages
78
- * @throws ApiError
79
- */
80
- static getRunImageMessages(runId: string): CancelablePromise<Array<AsteroidMessage>>;
81
- /**
82
- * Create a new chat completion request from an existing run
83
- * @param runId
84
- * @param requestBody
85
- * @returns ChatIds New chat completion created
86
- * @throws ApiError
87
- */
88
- static createNewChat(runId: string, requestBody: AsteroidChat): CancelablePromise<ChatIds>;
89
- /**
90
- * Get a signed URL to create a file for a run
91
- * @param runId
92
- * @param requestBody
93
- * @returns string File created
94
- * @throws ApiError
95
- */
96
- static getCreateFileUrl(runId: string, requestBody: {
97
- file_name?: string;
98
- }): CancelablePromise<string>;
99
- /**
100
- * Get a signed URL to fetch a file for a run
101
- * @param runId
102
- * @returns FileURL An array of signed URLs to fetch files for a run
103
- * @throws ApiError
104
- */
105
- static getFetchFileUrLs(runId: string): CancelablePromise<Array<FileURL>>;
106
- /**
107
- * Get the messages for a run
108
- * @param runId
109
- * @param index
110
- * @returns AsteroidMessage Run messages
111
- * @throws ApiError
112
- */
113
- static getRunMessages(runId: string, index: number): CancelablePromise<Array<AsteroidMessage>>;
114
- /**
115
- * Count the number of chat entries for a run
116
- * @param runId
117
- * @returns number Number of chat entries for the run
118
- * @throws ApiError
119
- */
120
- static getRunChatCount(runId: string): CancelablePromise<number>;
121
- }
@@ -1,260 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RunService = void 0;
4
- const OpenAPI_1 = require("../core/OpenAPI");
5
- const request_1 = require("../core/request");
6
- class RunService {
7
- /**
8
- * Get all runs for a task
9
- * @param taskId
10
- * @returns Run List of runs
11
- * @throws ApiError
12
- */
13
- static getTaskRuns(taskId) {
14
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
15
- method: 'GET',
16
- url: '/task/{taskId}/run',
17
- path: {
18
- 'taskId': taskId,
19
- },
20
- });
21
- }
22
- /**
23
- * Create a new run for a task
24
- * @param taskId
25
- * @param requestBody
26
- * @returns string Run created
27
- * @throws ApiError
28
- */
29
- static createRun(taskId, requestBody) {
30
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
31
- method: 'POST',
32
- url: '/task/{taskId}/run',
33
- path: {
34
- 'taskId': taskId,
35
- },
36
- body: requestBody,
37
- mediaType: 'application/json',
38
- });
39
- }
40
- /**
41
- * Get a run
42
- * @param runId
43
- * @returns Run Run
44
- * @throws ApiError
45
- */
46
- static getRun(runId) {
47
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
48
- method: 'GET',
49
- url: '/run/{runId}',
50
- path: {
51
- 'runId': runId,
52
- },
53
- errors: {
54
- 404: `Run not found`,
55
- },
56
- });
57
- }
58
- /**
59
- * Delete a run
60
- * @param runId
61
- * @returns any Run deleted
62
- * @throws ApiError
63
- */
64
- static deleteRun(runId) {
65
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
66
- method: 'DELETE',
67
- url: '/run/{runId}',
68
- path: {
69
- 'runId': runId,
70
- },
71
- });
72
- }
73
- /**
74
- * Update the metadata of a run
75
- * @param runId
76
- * @param requestBody
77
- * @returns void
78
- * @throws ApiError
79
- */
80
- static updateRunMetadata(runId, requestBody) {
81
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
82
- method: 'PUT',
83
- url: '/run/{runId}/metadata',
84
- path: {
85
- 'runId': runId,
86
- },
87
- body: requestBody,
88
- mediaType: 'application/json',
89
- errors: {
90
- 404: `Run not found`,
91
- },
92
- });
93
- }
94
- /**
95
- * Get the status of a run
96
- * @param runId
97
- * @returns Status Run status
98
- * @throws ApiError
99
- */
100
- static getRunStatus(runId) {
101
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
102
- method: 'GET',
103
- url: '/run/{runId}/status',
104
- path: {
105
- 'runId': runId,
106
- },
107
- errors: {
108
- 404: `Run not found`,
109
- },
110
- });
111
- }
112
- /**
113
- * Update the status of a run
114
- * @param runId
115
- * @param requestBody
116
- * @returns void
117
- * @throws ApiError
118
- */
119
- static updateRunStatus(runId, requestBody) {
120
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
121
- method: 'PUT',
122
- url: '/run/{runId}/status',
123
- path: {
124
- 'runId': runId,
125
- },
126
- body: requestBody,
127
- mediaType: 'application/json',
128
- });
129
- }
130
- /**
131
- * Update a run with a result
132
- * @param runId
133
- * @param requestBody
134
- * @returns any Run result created
135
- * @throws ApiError
136
- */
137
- static updateRunResult(runId, requestBody) {
138
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
139
- method: 'PUT',
140
- url: '/run/{runId}/result',
141
- path: {
142
- 'runId': runId,
143
- },
144
- body: requestBody,
145
- mediaType: 'application/json',
146
- errors: {
147
- 400: `Bad request`,
148
- },
149
- });
150
- }
151
- /**
152
- * Get the image messages for a run
153
- * @param runId
154
- * @returns AsteroidMessage Run image messages
155
- * @throws ApiError
156
- */
157
- static getRunImageMessages(runId) {
158
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
159
- method: 'GET',
160
- url: '/run/{run_id}/image_messages',
161
- path: {
162
- 'run_id': runId,
163
- },
164
- errors: {
165
- 404: `Run not found`,
166
- },
167
- });
168
- }
169
- /**
170
- * Create a new chat completion request from an existing run
171
- * @param runId
172
- * @param requestBody
173
- * @returns ChatIds New chat completion created
174
- * @throws ApiError
175
- */
176
- static createNewChat(runId, requestBody) {
177
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
178
- method: 'POST',
179
- url: '/run/{run_id}/chat',
180
- path: {
181
- 'run_id': runId,
182
- },
183
- body: requestBody,
184
- mediaType: 'application/json',
185
- errors: {
186
- 400: `Bad request`,
187
- 404: `Run not found`,
188
- },
189
- });
190
- }
191
- /**
192
- * Get a signed URL to create a file for a run
193
- * @param runId
194
- * @param requestBody
195
- * @returns string File created
196
- * @throws ApiError
197
- */
198
- static getCreateFileUrl(runId, requestBody) {
199
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
200
- method: 'POST',
201
- url: '/run/{run_id}/get_create_file_url',
202
- path: {
203
- 'run_id': runId,
204
- },
205
- body: requestBody,
206
- mediaType: 'application/json',
207
- });
208
- }
209
- /**
210
- * Get a signed URL to fetch a file for a run
211
- * @param runId
212
- * @returns FileURL An array of signed URLs to fetch files for a run
213
- * @throws ApiError
214
- */
215
- static getFetchFileUrLs(runId) {
216
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
217
- method: 'GET',
218
- url: '/run/{run_id}/get_fetch_file_urls',
219
- path: {
220
- 'run_id': runId,
221
- },
222
- });
223
- }
224
- /**
225
- * Get the messages for a run
226
- * @param runId
227
- * @param index
228
- * @returns AsteroidMessage Run messages
229
- * @throws ApiError
230
- */
231
- static getRunMessages(runId, index) {
232
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
233
- method: 'GET',
234
- url: '/run/{run_id}/messages/{index}',
235
- path: {
236
- 'run_id': runId,
237
- 'index': index,
238
- },
239
- errors: {
240
- 404: `Run not found`,
241
- },
242
- });
243
- }
244
- /**
245
- * Count the number of chat entries for a run
246
- * @param runId
247
- * @returns number Number of chat entries for the run
248
- * @throws ApiError
249
- */
250
- static getRunChatCount(runId) {
251
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
252
- method: 'GET',
253
- url: '/run/{run_id}/chat_count',
254
- path: {
255
- 'run_id': runId,
256
- },
257
- });
258
- }
259
- }
260
- exports.RunService = RunService;
@@ -1,10 +0,0 @@
1
- import type { HubStats } from '../models/HubStats';
2
- import type { CancelablePromise } from '../core/CancelablePromise';
3
- export declare class StatsService {
4
- /**
5
- * Get hub stats
6
- * @returns HubStats Hub stats
7
- * @throws ApiError
8
- */
9
- static getHubStats(): CancelablePromise<HubStats>;
10
- }
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StatsService = void 0;
4
- const OpenAPI_1 = require("../core/OpenAPI");
5
- const request_1 = require("../core/request");
6
- class StatsService {
7
- /**
8
- * Get hub stats
9
- * @returns HubStats Hub stats
10
- * @throws ApiError
11
- */
12
- static getHubStats() {
13
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
14
- method: 'GET',
15
- url: '/stats',
16
- errors: {
17
- 400: `Invalid request`,
18
- },
19
- });
20
- }
21
- }
22
- exports.StatsService = StatsService;
@@ -1,46 +0,0 @@
1
- import type { ReviewPayload } from '../models/ReviewPayload';
2
- import type { SupervisionRequest } from '../models/SupervisionRequest';
3
- import type { SupervisionResult } from '../models/SupervisionResult';
4
- import type { SupervisionStatus } from '../models/SupervisionStatus';
5
- import type { CancelablePromise } from '../core/CancelablePromise';
6
- export declare class SupervisionService {
7
- /**
8
- * Create a supervision request for a supervisor in a chain on a tool call
9
- * @param toolCallId
10
- * @param chainId
11
- * @param supervisorId
12
- * @param requestBody
13
- * @returns string Supervision request created
14
- * @throws ApiError
15
- */
16
- static createSupervisionRequest(toolCallId: string, chainId: string, supervisorId: string, requestBody: SupervisionRequest): CancelablePromise<string>;
17
- /**
18
- * Get a supervision request status
19
- * @param supervisionRequestId
20
- * @returns SupervisionStatus Get the supervision request status
21
- * @throws ApiError
22
- */
23
- static getSupervisionRequestStatus(supervisionRequestId: string): CancelablePromise<SupervisionStatus>;
24
- /**
25
- * Get a supervision result
26
- * @param supervisionRequestId
27
- * @returns SupervisionResult Get the supervision result for a supervision request
28
- * @throws ApiError
29
- */
30
- static getSupervisionResult(supervisionRequestId: string): CancelablePromise<SupervisionResult>;
31
- /**
32
- * Create a supervision result for a supervision request
33
- * @param supervisionRequestId
34
- * @param requestBody
35
- * @returns string Supervision result created
36
- * @throws ApiError
37
- */
38
- static createSupervisionResult(supervisionRequestId: string, requestBody: SupervisionResult): CancelablePromise<string>;
39
- /**
40
- * Get the review payload for a supervision request
41
- * @param supervisionRequestId
42
- * @returns ReviewPayload Review payload for the supervision request
43
- * @throws ApiError
44
- */
45
- static getSupervisionReviewPayload(supervisionRequestId: string): CancelablePromise<ReviewPayload>;
46
- }
@@ -1,100 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SupervisionService = void 0;
4
- const OpenAPI_1 = require("../core/OpenAPI");
5
- const request_1 = require("../core/request");
6
- class SupervisionService {
7
- /**
8
- * Create a supervision request for a supervisor in a chain on a tool call
9
- * @param toolCallId
10
- * @param chainId
11
- * @param supervisorId
12
- * @param requestBody
13
- * @returns string Supervision request created
14
- * @throws ApiError
15
- */
16
- static createSupervisionRequest(toolCallId, chainId, supervisorId, requestBody) {
17
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
18
- method: 'POST',
19
- url: '/tool_call/{toolCallId}/chain/{chainId}/supervisor/{supervisorId}/supervision_request',
20
- path: {
21
- 'toolCallId': toolCallId,
22
- 'chainId': chainId,
23
- 'supervisorId': supervisorId,
24
- },
25
- body: requestBody,
26
- mediaType: 'application/json',
27
- errors: {
28
- 400: `Bad request`,
29
- 404: `Not found`,
30
- },
31
- });
32
- }
33
- /**
34
- * Get a supervision request status
35
- * @param supervisionRequestId
36
- * @returns SupervisionStatus Get the supervision request status
37
- * @throws ApiError
38
- */
39
- static getSupervisionRequestStatus(supervisionRequestId) {
40
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
41
- method: 'GET',
42
- url: '/supervision_request/{supervisionRequestId}/status',
43
- path: {
44
- 'supervisionRequestId': supervisionRequestId,
45
- },
46
- });
47
- }
48
- /**
49
- * Get a supervision result
50
- * @param supervisionRequestId
51
- * @returns SupervisionResult Get the supervision result for a supervision request
52
- * @throws ApiError
53
- */
54
- static getSupervisionResult(supervisionRequestId) {
55
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
56
- method: 'GET',
57
- url: '/supervision_request/{supervisionRequestId}/result',
58
- path: {
59
- 'supervisionRequestId': supervisionRequestId,
60
- },
61
- });
62
- }
63
- /**
64
- * Create a supervision result for a supervision request
65
- * @param supervisionRequestId
66
- * @param requestBody
67
- * @returns string Supervision result created
68
- * @throws ApiError
69
- */
70
- static createSupervisionResult(supervisionRequestId, requestBody) {
71
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
72
- method: 'POST',
73
- url: '/supervision_request/{supervisionRequestId}/result',
74
- path: {
75
- 'supervisionRequestId': supervisionRequestId,
76
- },
77
- body: requestBody,
78
- mediaType: 'application/json',
79
- });
80
- }
81
- /**
82
- * Get the review payload for a supervision request
83
- * @param supervisionRequestId
84
- * @returns ReviewPayload Review payload for the supervision request
85
- * @throws ApiError
86
- */
87
- static getSupervisionReviewPayload(supervisionRequestId) {
88
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
89
- method: 'GET',
90
- url: '/supervision_request/{supervisionRequestId}/review_payload',
91
- path: {
92
- 'supervisionRequestId': supervisionRequestId,
93
- },
94
- errors: {
95
- 404: `Supervision request not found`,
96
- },
97
- });
98
- }
99
- }
100
- exports.SupervisionService = SupervisionService;
@@ -1,43 +0,0 @@
1
- import type { ChainRequest } from '../models/ChainRequest';
2
- import type { Supervisor } from '../models/Supervisor';
3
- import type { SupervisorChain } from '../models/SupervisorChain';
4
- import type { CancelablePromise } from '../core/CancelablePromise';
5
- export declare class SupervisorService {
6
- /**
7
- * Get a supervisor
8
- * @param supervisorId
9
- * @returns Supervisor Supervisor
10
- * @throws ApiError
11
- */
12
- static getSupervisor(supervisorId: string): CancelablePromise<Supervisor>;
13
- /**
14
- * Get all supervisors
15
- * @param projectId
16
- * @returns Supervisor List of supervisors
17
- * @throws ApiError
18
- */
19
- static getSupervisors(projectId: string): CancelablePromise<Array<Supervisor>>;
20
- /**
21
- * Create a new supervisor
22
- * @param projectId
23
- * @param requestBody
24
- * @returns string Supervisor created
25
- * @throws ApiError
26
- */
27
- static createSupervisor(projectId: string, requestBody: Supervisor): CancelablePromise<string>;
28
- /**
29
- * Get all supervisors for a tool, in chain format
30
- * @param toolId
31
- * @returns SupervisorChain List of chains with their supervisors
32
- * @throws ApiError
33
- */
34
- static getToolSupervisorChains(toolId: string): CancelablePromise<Array<SupervisorChain>>;
35
- /**
36
- * Create new chains with supervisors for a tool
37
- * @param toolId
38
- * @param requestBody
39
- * @returns string Chains created
40
- * @throws ApiError
41
- */
42
- static createToolSupervisorChains(toolId: string, requestBody: Array<ChainRequest>): CancelablePromise<Array<string>>;
43
- }
@@ -1,92 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SupervisorService = void 0;
4
- const OpenAPI_1 = require("../core/OpenAPI");
5
- const request_1 = require("../core/request");
6
- class SupervisorService {
7
- /**
8
- * Get a supervisor
9
- * @param supervisorId
10
- * @returns Supervisor Supervisor
11
- * @throws ApiError
12
- */
13
- static getSupervisor(supervisorId) {
14
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
15
- method: 'GET',
16
- url: '/supervisor/{supervisorId}',
17
- path: {
18
- 'supervisorId': supervisorId,
19
- },
20
- });
21
- }
22
- /**
23
- * Get all supervisors
24
- * @param projectId
25
- * @returns Supervisor List of supervisors
26
- * @throws ApiError
27
- */
28
- static getSupervisors(projectId) {
29
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
30
- method: 'GET',
31
- url: '/project/{projectId}/supervisor',
32
- path: {
33
- 'projectId': projectId,
34
- },
35
- });
36
- }
37
- /**
38
- * Create a new supervisor
39
- * @param projectId
40
- * @param requestBody
41
- * @returns string Supervisor created
42
- * @throws ApiError
43
- */
44
- static createSupervisor(projectId, requestBody) {
45
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
46
- method: 'POST',
47
- url: '/project/{projectId}/supervisor',
48
- path: {
49
- 'projectId': projectId,
50
- },
51
- body: requestBody,
52
- mediaType: 'application/json',
53
- errors: {
54
- 400: `Bad request`,
55
- },
56
- });
57
- }
58
- /**
59
- * Get all supervisors for a tool, in chain format
60
- * @param toolId
61
- * @returns SupervisorChain List of chains with their supervisors
62
- * @throws ApiError
63
- */
64
- static getToolSupervisorChains(toolId) {
65
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
66
- method: 'GET',
67
- url: '/tool/{toolId}/supervisors',
68
- path: {
69
- 'toolId': toolId,
70
- },
71
- });
72
- }
73
- /**
74
- * Create new chains with supervisors for a tool
75
- * @param toolId
76
- * @param requestBody
77
- * @returns string Chains created
78
- * @throws ApiError
79
- */
80
- static createToolSupervisorChains(toolId, requestBody) {
81
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
82
- method: 'POST',
83
- url: '/tool/{toolId}/supervisors',
84
- path: {
85
- 'toolId': toolId,
86
- },
87
- body: requestBody,
88
- mediaType: 'application/json',
89
- });
90
- }
91
- }
92
- exports.SupervisorService = SupervisorService;