asteroid-odyssey 1.1.2 → 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 (322) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +6 -7
  3. package/dist/AgentsSDK.d.ts +0 -70
  4. package/dist/AgentsSDK.js +0 -102
  5. package/dist/Asteroid.d.ts +0 -70
  6. package/dist/Asteroid.js +0 -102
  7. package/dist/examples/index.d.ts +0 -1
  8. package/dist/examples/index.js +0 -33
  9. package/dist/generated/agents/core/ApiError.d.ts +0 -10
  10. package/dist/generated/agents/core/ApiError.js +0 -20
  11. package/dist/generated/agents/core/ApiRequestOptions.d.ts +0 -13
  12. package/dist/generated/agents/core/ApiRequestOptions.js +0 -2
  13. package/dist/generated/agents/core/ApiResult.d.ts +0 -7
  14. package/dist/generated/agents/core/ApiResult.js +0 -2
  15. package/dist/generated/agents/core/CancelablePromise.d.ts +0 -20
  16. package/dist/generated/agents/core/CancelablePromise.js +0 -104
  17. package/dist/generated/agents/core/OpenAPI.d.ts +0 -16
  18. package/dist/generated/agents/core/OpenAPI.js +0 -14
  19. package/dist/generated/agents/core/request.d.ts +0 -30
  20. package/dist/generated/agents/core/request.js +0 -294
  21. package/dist/generated/agents/models/Agent.d.ts +0 -22
  22. package/dist/generated/agents/models/Agent.js +0 -2
  23. package/dist/generated/agents/models/CreateWorkflowRequest.d.ts +0 -27
  24. package/dist/generated/agents/models/CreateWorkflowRequest.js +0 -14
  25. package/dist/generated/agents/models/Execution.d.ts +0 -18
  26. package/dist/generated/agents/models/Execution.js +0 -2
  27. package/dist/generated/agents/models/OptimisationRequest.d.ts +0 -6
  28. package/dist/generated/agents/models/OptimisationRequest.js +0 -2
  29. package/dist/generated/agents/models/Workflow.d.ts +0 -30
  30. package/dist/generated/agents/models/Workflow.js +0 -2
  31. package/dist/generated/agents/models/WorkflowExecution.d.ts +0 -6
  32. package/dist/generated/agents/models/WorkflowExecution.js +0 -2
  33. package/dist/generated/agents/models/WorkflowExecutionRequest.d.ts +0 -4
  34. package/dist/generated/agents/models/WorkflowExecutionRequest.js +0 -2
  35. package/dist/generated/agents/services/AgentService.d.ts +0 -10
  36. package/dist/generated/agents/services/AgentService.js +0 -19
  37. package/dist/generated/agents/services/ApiService.d.ts +0 -9
  38. package/dist/generated/agents/services/ApiService.js +0 -19
  39. package/dist/generated/agents/services/DefaultService.d.ts +0 -23
  40. package/dist/generated/agents/services/DefaultService.js +0 -43
  41. package/dist/generated/agents/services/OptimiserService.d.ts +0 -11
  42. package/dist/generated/agents/services/OptimiserService.js +0 -22
  43. package/dist/generated/agents/services/WorkflowService.d.ts +0 -20
  44. package/dist/generated/agents/services/WorkflowService.js +0 -44
  45. package/dist/generated/platform/core/ApiError.d.ts +0 -10
  46. package/dist/generated/platform/core/ApiError.js +0 -20
  47. package/dist/generated/platform/core/ApiRequestOptions.d.ts +0 -13
  48. package/dist/generated/platform/core/ApiRequestOptions.js +0 -2
  49. package/dist/generated/platform/core/ApiResult.d.ts +0 -7
  50. package/dist/generated/platform/core/ApiResult.js +0 -2
  51. package/dist/generated/platform/core/CancelablePromise.d.ts +0 -20
  52. package/dist/generated/platform/core/CancelablePromise.js +0 -104
  53. package/dist/generated/platform/core/OpenAPI.d.ts +0 -16
  54. package/dist/generated/platform/core/OpenAPI.js +0 -14
  55. package/dist/generated/platform/core/request.d.ts +0 -30
  56. package/dist/generated/platform/core/request.js +0 -294
  57. package/dist/generated/platform/index.d.ts +0 -57
  58. package/dist/generated/platform/index.js +0 -58
  59. package/dist/generated/platform/models/APIKey.d.ts +0 -9
  60. package/dist/generated/platform/models/APIKey.js +0 -2
  61. package/dist/generated/platform/models/AgentReport.d.ts +0 -45
  62. package/dist/generated/platform/models/AgentReport.js +0 -2
  63. package/dist/generated/platform/models/AsteroidChat.d.ts +0 -9
  64. package/dist/generated/platform/models/AsteroidChat.js +0 -2
  65. package/dist/generated/platform/models/AsteroidChoice.d.ts +0 -16
  66. package/dist/generated/platform/models/AsteroidChoice.js +0 -14
  67. package/dist/generated/platform/models/AsteroidMessage.d.ts +0 -27
  68. package/dist/generated/platform/models/AsteroidMessage.js +0 -15
  69. package/dist/generated/platform/models/AsteroidToolCall.d.ts +0 -11
  70. package/dist/generated/platform/models/AsteroidToolCall.js +0 -2
  71. package/dist/generated/platform/models/ChainExecution.d.ts +0 -6
  72. package/dist/generated/platform/models/ChainExecution.js +0 -2
  73. package/dist/generated/platform/models/ChainExecutionState.d.ts +0 -8
  74. package/dist/generated/platform/models/ChainExecutionState.js +0 -2
  75. package/dist/generated/platform/models/ChainRequest.d.ts +0 -6
  76. package/dist/generated/platform/models/ChainRequest.js +0 -2
  77. package/dist/generated/platform/models/ChatFormat.d.ts +0 -5
  78. package/dist/generated/platform/models/ChatFormat.js +0 -13
  79. package/dist/generated/platform/models/ChatIds.d.ts +0 -5
  80. package/dist/generated/platform/models/ChatIds.js +0 -2
  81. package/dist/generated/platform/models/ChoiceIds.d.ts +0 -6
  82. package/dist/generated/platform/models/ChoiceIds.js +0 -2
  83. package/dist/generated/platform/models/Decision.d.ts +0 -7
  84. package/dist/generated/platform/models/Decision.js +0 -15
  85. package/dist/generated/platform/models/ErrorResponse.d.ts +0 -4
  86. package/dist/generated/platform/models/ErrorResponse.js +0 -2
  87. package/dist/generated/platform/models/FailureCategory.d.ts +0 -12
  88. package/dist/generated/platform/models/FailureCategory.js +0 -20
  89. package/dist/generated/platform/models/FailureReport.d.ts +0 -33
  90. package/dist/generated/platform/models/FailureReport.js +0 -13
  91. package/dist/generated/platform/models/Feedback.d.ts +0 -13
  92. package/dist/generated/platform/models/Feedback.js +0 -2
  93. package/dist/generated/platform/models/FeedbackRequest.d.ts +0 -6
  94. package/dist/generated/platform/models/FeedbackRequest.js +0 -2
  95. package/dist/generated/platform/models/FileURL.d.ts +0 -4
  96. package/dist/generated/platform/models/FileURL.js +0 -2
  97. package/dist/generated/platform/models/HubStats.d.ts +0 -10
  98. package/dist/generated/platform/models/HubStats.js +0 -2
  99. package/dist/generated/platform/models/MessageRole.d.ts +0 -5
  100. package/dist/generated/platform/models/MessageRole.js +0 -13
  101. package/dist/generated/platform/models/MessageType.d.ts +0 -6
  102. package/dist/generated/platform/models/MessageType.js +0 -14
  103. package/dist/generated/platform/models/Permission.d.ts +0 -5
  104. package/dist/generated/platform/models/Permission.js +0 -13
  105. package/dist/generated/platform/models/Project.d.ts +0 -8
  106. package/dist/generated/platform/models/Project.js +0 -2
  107. package/dist/generated/platform/models/ReviewPayload.d.ts +0 -29
  108. package/dist/generated/platform/models/ReviewPayload.js +0 -2
  109. package/dist/generated/platform/models/Run.d.ts +0 -9
  110. package/dist/generated/platform/models/Run.js +0 -2
  111. package/dist/generated/platform/models/RunExecution.d.ts +0 -8
  112. package/dist/generated/platform/models/RunExecution.js +0 -2
  113. package/dist/generated/platform/models/RunState.d.ts +0 -2
  114. package/dist/generated/platform/models/RunState.js +0 -2
  115. package/dist/generated/platform/models/Status.d.ts +0 -8
  116. package/dist/generated/platform/models/Status.js +0 -16
  117. package/dist/generated/platform/models/SupervisionRequest.d.ts +0 -9
  118. package/dist/generated/platform/models/SupervisionRequest.js +0 -2
  119. package/dist/generated/platform/models/SupervisionRequestState.d.ts +0 -8
  120. package/dist/generated/platform/models/SupervisionRequestState.js +0 -2
  121. package/dist/generated/platform/models/SupervisionResult.d.ts +0 -9
  122. package/dist/generated/platform/models/SupervisionResult.js +0 -2
  123. package/dist/generated/platform/models/SupervisionStatus.d.ts +0 -7
  124. package/dist/generated/platform/models/SupervisionStatus.js +0 -2
  125. package/dist/generated/platform/models/Supervisor.d.ts +0 -10
  126. package/dist/generated/platform/models/Supervisor.js +0 -2
  127. package/dist/generated/platform/models/SupervisorChain.d.ts +0 -5
  128. package/dist/generated/platform/models/SupervisorChain.js +0 -2
  129. package/dist/generated/platform/models/SupervisorStats.d.ts +0 -21
  130. package/dist/generated/platform/models/SupervisorStats.js +0 -2
  131. package/dist/generated/platform/models/SupervisorType.d.ts +0 -8
  132. package/dist/generated/platform/models/SupervisorType.js +0 -16
  133. package/dist/generated/platform/models/Task.d.ts +0 -7
  134. package/dist/generated/platform/models/Task.js +0 -2
  135. package/dist/generated/platform/models/Tool.d.ts +0 -9
  136. package/dist/generated/platform/models/Tool.js +0 -2
  137. package/dist/generated/platform/models/ToolCallIds.d.ts +0 -4
  138. package/dist/generated/platform/models/ToolCallIds.js +0 -2
  139. package/dist/generated/platform/models/ToolSupervisionResult.d.ts +0 -36
  140. package/dist/generated/platform/models/ToolSupervisionResult.js +0 -2
  141. package/dist/generated/platform/models/User.d.ts +0 -4
  142. package/dist/generated/platform/models/User.js +0 -2
  143. package/dist/generated/platform/services/ApiKeyService.d.ts +0 -33
  144. package/dist/generated/platform/services/ApiKeyService.js +0 -64
  145. package/dist/generated/platform/services/ApiService.d.ts +0 -9
  146. package/dist/generated/platform/services/ApiService.js +0 -19
  147. package/dist/generated/platform/services/ImproveService.d.ts +0 -20
  148. package/dist/generated/platform/services/ImproveService.js +0 -47
  149. package/dist/generated/platform/services/ProjectService.d.ts +0 -34
  150. package/dist/generated/platform/services/ProjectService.js +0 -72
  151. package/dist/generated/platform/services/RunService.d.ts +0 -121
  152. package/dist/generated/platform/services/RunService.js +0 -260
  153. package/dist/generated/platform/services/StatsService.d.ts +0 -10
  154. package/dist/generated/platform/services/StatsService.js +0 -22
  155. package/dist/generated/platform/services/SupervisionService.d.ts +0 -46
  156. package/dist/generated/platform/services/SupervisionService.js +0 -100
  157. package/dist/generated/platform/services/SupervisorService.d.ts +0 -43
  158. package/dist/generated/platform/services/SupervisorService.js +0 -92
  159. package/dist/generated/platform/services/TaskService.d.ts +0 -29
  160. package/dist/generated/platform/services/TaskService.js +0 -59
  161. package/dist/generated/platform/services/ToolCallService.d.ts +0 -42
  162. package/dist/generated/platform/services/ToolCallService.js +0 -92
  163. package/dist/generated/platform/services/ToolService.d.ts +0 -47
  164. package/dist/generated/platform/services/ToolService.js +0 -92
  165. package/dist/src/generated/agents/core/ApiError.d.ts +0 -10
  166. package/dist/src/generated/agents/core/ApiError.js +0 -20
  167. package/dist/src/generated/agents/core/ApiRequestOptions.d.ts +0 -13
  168. package/dist/src/generated/agents/core/ApiRequestOptions.js +0 -2
  169. package/dist/src/generated/agents/core/ApiResult.d.ts +0 -7
  170. package/dist/src/generated/agents/core/ApiResult.js +0 -2
  171. package/dist/src/generated/agents/core/CancelablePromise.d.ts +0 -20
  172. package/dist/src/generated/agents/core/CancelablePromise.js +0 -104
  173. package/dist/src/generated/agents/core/OpenAPI.d.ts +0 -16
  174. package/dist/src/generated/agents/core/OpenAPI.js +0 -14
  175. package/dist/src/generated/agents/core/request.d.ts +0 -30
  176. package/dist/src/generated/agents/core/request.js +0 -294
  177. package/dist/src/generated/agents/index.d.ts +0 -16
  178. package/dist/src/generated/agents/index.js +0 -24
  179. package/dist/src/generated/agents/models/Agent.d.ts +0 -22
  180. package/dist/src/generated/agents/models/Agent.js +0 -2
  181. package/dist/src/generated/agents/models/CreateWorkflowRequest.d.ts +0 -14
  182. package/dist/src/generated/agents/models/CreateWorkflowRequest.js +0 -2
  183. package/dist/src/generated/agents/models/Execution.d.ts +0 -18
  184. package/dist/src/generated/agents/models/Execution.js +0 -2
  185. package/dist/src/generated/agents/models/OptimisationRequest.d.ts +0 -6
  186. package/dist/src/generated/agents/models/OptimisationRequest.js +0 -2
  187. package/dist/src/generated/agents/models/Workflow.d.ts +0 -26
  188. package/dist/src/generated/agents/models/Workflow.js +0 -2
  189. package/dist/src/generated/agents/models/WorkflowExecution.d.ts +0 -6
  190. package/dist/src/generated/agents/models/WorkflowExecution.js +0 -2
  191. package/dist/src/generated/agents/models/WorkflowExecutionRequest.d.ts +0 -4
  192. package/dist/src/generated/agents/models/WorkflowExecutionRequest.js +0 -2
  193. package/dist/src/generated/agents/services/AgentService.d.ts +0 -10
  194. package/dist/src/generated/agents/services/AgentService.js +0 -19
  195. package/dist/src/generated/agents/services/ApiService.d.ts +0 -9
  196. package/dist/src/generated/agents/services/ApiService.js +0 -19
  197. package/dist/src/generated/agents/services/DefaultService.d.ts +0 -23
  198. package/dist/src/generated/agents/services/DefaultService.js +0 -43
  199. package/dist/src/generated/agents/services/OptimiserService.d.ts +0 -11
  200. package/dist/src/generated/agents/services/OptimiserService.js +0 -22
  201. package/dist/src/generated/agents/services/WorkflowService.d.ts +0 -19
  202. package/dist/src/generated/agents/services/WorkflowService.js +0 -40
  203. package/dist/src/generated/platform/core/ApiError.d.ts +0 -10
  204. package/dist/src/generated/platform/core/ApiError.js +0 -20
  205. package/dist/src/generated/platform/core/ApiRequestOptions.d.ts +0 -13
  206. package/dist/src/generated/platform/core/ApiRequestOptions.js +0 -2
  207. package/dist/src/generated/platform/core/ApiResult.d.ts +0 -7
  208. package/dist/src/generated/platform/core/ApiResult.js +0 -2
  209. package/dist/src/generated/platform/core/CancelablePromise.d.ts +0 -20
  210. package/dist/src/generated/platform/core/CancelablePromise.js +0 -104
  211. package/dist/src/generated/platform/core/OpenAPI.d.ts +0 -16
  212. package/dist/src/generated/platform/core/OpenAPI.js +0 -14
  213. package/dist/src/generated/platform/core/request.d.ts +0 -30
  214. package/dist/src/generated/platform/core/request.js +0 -294
  215. package/dist/src/generated/platform/index.d.ts +0 -56
  216. package/dist/src/generated/platform/index.js +0 -58
  217. package/dist/src/generated/platform/models/APIKey.d.ts +0 -9
  218. package/dist/src/generated/platform/models/APIKey.js +0 -2
  219. package/dist/src/generated/platform/models/AgentReport.d.ts +0 -45
  220. package/dist/src/generated/platform/models/AgentReport.js +0 -2
  221. package/dist/src/generated/platform/models/AsteroidChat.d.ts +0 -9
  222. package/dist/src/generated/platform/models/AsteroidChat.js +0 -2
  223. package/dist/src/generated/platform/models/AsteroidChoice.d.ts +0 -16
  224. package/dist/src/generated/platform/models/AsteroidChoice.js +0 -14
  225. package/dist/src/generated/platform/models/AsteroidMessage.d.ts +0 -27
  226. package/dist/src/generated/platform/models/AsteroidMessage.js +0 -15
  227. package/dist/src/generated/platform/models/AsteroidToolCall.d.ts +0 -11
  228. package/dist/src/generated/platform/models/AsteroidToolCall.js +0 -2
  229. package/dist/src/generated/platform/models/ChainExecution.d.ts +0 -6
  230. package/dist/src/generated/platform/models/ChainExecution.js +0 -2
  231. package/dist/src/generated/platform/models/ChainExecutionState.d.ts +0 -8
  232. package/dist/src/generated/platform/models/ChainExecutionState.js +0 -2
  233. package/dist/src/generated/platform/models/ChainRequest.d.ts +0 -6
  234. package/dist/src/generated/platform/models/ChainRequest.js +0 -2
  235. package/dist/src/generated/platform/models/ChatFormat.d.ts +0 -5
  236. package/dist/src/generated/platform/models/ChatFormat.js +0 -13
  237. package/dist/src/generated/platform/models/ChatIds.d.ts +0 -5
  238. package/dist/src/generated/platform/models/ChatIds.js +0 -2
  239. package/dist/src/generated/platform/models/ChoiceIds.d.ts +0 -6
  240. package/dist/src/generated/platform/models/ChoiceIds.js +0 -2
  241. package/dist/src/generated/platform/models/Decision.d.ts +0 -7
  242. package/dist/src/generated/platform/models/Decision.js +0 -15
  243. package/dist/src/generated/platform/models/ErrorResponse.d.ts +0 -4
  244. package/dist/src/generated/platform/models/ErrorResponse.js +0 -2
  245. package/dist/src/generated/platform/models/FailureCategory.d.ts +0 -12
  246. package/dist/src/generated/platform/models/FailureCategory.js +0 -20
  247. package/dist/src/generated/platform/models/FailureReport.d.ts +0 -33
  248. package/dist/src/generated/platform/models/FailureReport.js +0 -13
  249. package/dist/src/generated/platform/models/Feedback.d.ts +0 -13
  250. package/dist/src/generated/platform/models/Feedback.js +0 -2
  251. package/dist/src/generated/platform/models/FeedbackRequest.d.ts +0 -6
  252. package/dist/src/generated/platform/models/FeedbackRequest.js +0 -2
  253. package/dist/src/generated/platform/models/HubStats.d.ts +0 -10
  254. package/dist/src/generated/platform/models/HubStats.js +0 -2
  255. package/dist/src/generated/platform/models/MessageRole.d.ts +0 -5
  256. package/dist/src/generated/platform/models/MessageRole.js +0 -13
  257. package/dist/src/generated/platform/models/MessageType.d.ts +0 -6
  258. package/dist/src/generated/platform/models/MessageType.js +0 -14
  259. package/dist/src/generated/platform/models/Permission.d.ts +0 -5
  260. package/dist/src/generated/platform/models/Permission.js +0 -13
  261. package/dist/src/generated/platform/models/Project.d.ts +0 -8
  262. package/dist/src/generated/platform/models/Project.js +0 -2
  263. package/dist/src/generated/platform/models/ReviewPayload.d.ts +0 -29
  264. package/dist/src/generated/platform/models/ReviewPayload.js +0 -2
  265. package/dist/src/generated/platform/models/Run.d.ts +0 -9
  266. package/dist/src/generated/platform/models/Run.js +0 -2
  267. package/dist/src/generated/platform/models/RunExecution.d.ts +0 -8
  268. package/dist/src/generated/platform/models/RunExecution.js +0 -2
  269. package/dist/src/generated/platform/models/RunState.d.ts +0 -2
  270. package/dist/src/generated/platform/models/RunState.js +0 -2
  271. package/dist/src/generated/platform/models/Status.d.ts +0 -8
  272. package/dist/src/generated/platform/models/Status.js +0 -16
  273. package/dist/src/generated/platform/models/SupervisionRequest.d.ts +0 -9
  274. package/dist/src/generated/platform/models/SupervisionRequest.js +0 -2
  275. package/dist/src/generated/platform/models/SupervisionRequestState.d.ts +0 -8
  276. package/dist/src/generated/platform/models/SupervisionRequestState.js +0 -2
  277. package/dist/src/generated/platform/models/SupervisionResult.d.ts +0 -9
  278. package/dist/src/generated/platform/models/SupervisionResult.js +0 -2
  279. package/dist/src/generated/platform/models/SupervisionStatus.d.ts +0 -7
  280. package/dist/src/generated/platform/models/SupervisionStatus.js +0 -2
  281. package/dist/src/generated/platform/models/Supervisor.d.ts +0 -10
  282. package/dist/src/generated/platform/models/Supervisor.js +0 -2
  283. package/dist/src/generated/platform/models/SupervisorChain.d.ts +0 -5
  284. package/dist/src/generated/platform/models/SupervisorChain.js +0 -2
  285. package/dist/src/generated/platform/models/SupervisorStats.d.ts +0 -21
  286. package/dist/src/generated/platform/models/SupervisorStats.js +0 -2
  287. package/dist/src/generated/platform/models/SupervisorType.d.ts +0 -8
  288. package/dist/src/generated/platform/models/SupervisorType.js +0 -16
  289. package/dist/src/generated/platform/models/Task.d.ts +0 -7
  290. package/dist/src/generated/platform/models/Task.js +0 -2
  291. package/dist/src/generated/platform/models/Tool.d.ts +0 -9
  292. package/dist/src/generated/platform/models/Tool.js +0 -2
  293. package/dist/src/generated/platform/models/ToolCallIds.d.ts +0 -4
  294. package/dist/src/generated/platform/models/ToolCallIds.js +0 -2
  295. package/dist/src/generated/platform/models/ToolSupervisionResult.d.ts +0 -36
  296. package/dist/src/generated/platform/models/ToolSupervisionResult.js +0 -2
  297. package/dist/src/generated/platform/models/User.d.ts +0 -4
  298. package/dist/src/generated/platform/models/User.js +0 -2
  299. package/dist/src/generated/platform/services/ApiKeyService.d.ts +0 -33
  300. package/dist/src/generated/platform/services/ApiKeyService.js +0 -64
  301. package/dist/src/generated/platform/services/ApiService.d.ts +0 -9
  302. package/dist/src/generated/platform/services/ApiService.js +0 -19
  303. package/dist/src/generated/platform/services/ImproveService.d.ts +0 -20
  304. package/dist/src/generated/platform/services/ImproveService.js +0 -47
  305. package/dist/src/generated/platform/services/ProjectService.d.ts +0 -34
  306. package/dist/src/generated/platform/services/ProjectService.js +0 -72
  307. package/dist/src/generated/platform/services/RunService.d.ts +0 -103
  308. package/dist/src/generated/platform/services/RunService.js +0 -227
  309. package/dist/src/generated/platform/services/StatsService.d.ts +0 -10
  310. package/dist/src/generated/platform/services/StatsService.js +0 -22
  311. package/dist/src/generated/platform/services/SupervisionService.d.ts +0 -46
  312. package/dist/src/generated/platform/services/SupervisionService.js +0 -100
  313. package/dist/src/generated/platform/services/SupervisorService.d.ts +0 -43
  314. package/dist/src/generated/platform/services/SupervisorService.js +0 -92
  315. package/dist/src/generated/platform/services/TaskService.d.ts +0 -29
  316. package/dist/src/generated/platform/services/TaskService.js +0 -59
  317. package/dist/src/generated/platform/services/ToolCallService.d.ts +0 -42
  318. package/dist/src/generated/platform/services/ToolCallService.js +0 -92
  319. package/dist/src/generated/platform/services/ToolService.d.ts +0 -47
  320. package/dist/src/generated/platform/services/ToolService.js +0 -92
  321. package/dist/src/index.d.ts +0 -70
  322. package/dist/src/index.js +0 -102
@@ -1,227 +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 the messages for a run
193
- * @param runId
194
- * @param index
195
- * @returns AsteroidMessage Run messages
196
- * @throws ApiError
197
- */
198
- static getRunMessages(runId, index) {
199
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
200
- method: 'GET',
201
- url: '/run/{run_id}/messages/{index}',
202
- path: {
203
- 'run_id': runId,
204
- 'index': index,
205
- },
206
- errors: {
207
- 404: `Run not found`,
208
- },
209
- });
210
- }
211
- /**
212
- * Count the number of chat entries for a run
213
- * @param runId
214
- * @returns number Number of chat entries for the run
215
- * @throws ApiError
216
- */
217
- static getRunChatCount(runId) {
218
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
219
- method: 'GET',
220
- url: '/run/{run_id}/chat_count',
221
- path: {
222
- 'run_id': runId,
223
- },
224
- });
225
- }
226
- }
227
- 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;
@@ -1,29 +0,0 @@
1
- import type { Task } from '../models/Task';
2
- import type { CancelablePromise } from '../core/CancelablePromise';
3
- export declare class TaskService {
4
- /**
5
- * Get all tasks for a project
6
- * @param projectId
7
- * @returns Task List of tasks
8
- * @throws ApiError
9
- */
10
- static getProjectTasks(projectId: string): CancelablePromise<Array<Task>>;
11
- /**
12
- * Create a new task
13
- * @param projectId
14
- * @param requestBody
15
- * @returns string Task created
16
- * @throws ApiError
17
- */
18
- static createTask(projectId: string, requestBody: {
19
- name: string;
20
- description?: string;
21
- }): CancelablePromise<string>;
22
- /**
23
- * Get a task
24
- * @param taskId
25
- * @returns Task Task
26
- * @throws ApiError
27
- */
28
- static getTask(taskId: string): CancelablePromise<Task>;
29
- }
@@ -1,59 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TaskService = void 0;
4
- const OpenAPI_1 = require("../core/OpenAPI");
5
- const request_1 = require("../core/request");
6
- class TaskService {
7
- /**
8
- * Get all tasks for a project
9
- * @param projectId
10
- * @returns Task List of tasks
11
- * @throws ApiError
12
- */
13
- static getProjectTasks(projectId) {
14
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
15
- method: 'GET',
16
- url: '/project/{projectId}/tasks',
17
- path: {
18
- 'projectId': projectId,
19
- },
20
- errors: {
21
- 404: `Project not found`,
22
- },
23
- });
24
- }
25
- /**
26
- * Create a new task
27
- * @param projectId
28
- * @param requestBody
29
- * @returns string Task created
30
- * @throws ApiError
31
- */
32
- static createTask(projectId, requestBody) {
33
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
34
- method: 'POST',
35
- url: '/project/{projectId}/tasks',
36
- path: {
37
- 'projectId': projectId,
38
- },
39
- body: requestBody,
40
- mediaType: 'application/json',
41
- });
42
- }
43
- /**
44
- * Get a task
45
- * @param taskId
46
- * @returns Task Task
47
- * @throws ApiError
48
- */
49
- static getTask(taskId) {
50
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
51
- method: 'GET',
52
- url: '/task/{taskId}',
53
- path: {
54
- 'taskId': taskId,
55
- },
56
- });
57
- }
58
- }
59
- exports.TaskService = TaskService;
@@ -1,42 +0,0 @@
1
- import type { AsteroidToolCall } from '../models/AsteroidToolCall';
2
- import type { RunExecution } from '../models/RunExecution';
3
- import type { Status } from '../models/Status';
4
- import type { CancelablePromise } from '../core/CancelablePromise';
5
- export declare class ToolCallService {
6
- /**
7
- * Get a tool call
8
- * @param toolCallId
9
- * @returns AsteroidToolCall Tool call
10
- * @throws ApiError
11
- */
12
- static getToolCall(toolCallId: string): CancelablePromise<AsteroidToolCall>;
13
- /**
14
- * Update a tool call
15
- * @param toolCallId
16
- * @param requestBody
17
- * @returns AsteroidToolCall Tool call updated
18
- * @throws ApiError
19
- */
20
- static updateToolCall(toolCallId: string, requestBody: AsteroidToolCall): CancelablePromise<AsteroidToolCall>;
21
- /**
22
- * Get a tool call status
23
- * @param toolCallId
24
- * @returns Status Tool call
25
- * @throws ApiError
26
- */
27
- static getToolCallStatus(toolCallId: string): CancelablePromise<Status>;
28
- /**
29
- * Get the modifications to a tool call
30
- * @param toolCallId
31
- * @returns AsteroidToolCall Tool call history
32
- * @throws ApiError
33
- */
34
- static getToolCallHistory(toolCallId: string): CancelablePromise<Array<AsteroidToolCall>>;
35
- /**
36
- * Get the state of a tool call
37
- * @param toolCallId
38
- * @returns RunExecution Tool call state
39
- * @throws ApiError
40
- */
41
- static getToolCallState(toolCallId: string): CancelablePromise<RunExecution>;
42
- }