@keystrokehq/scale_ai 0.1.5 → 0.1.6

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 (333) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-studio-assignments.cjs +1 -0
  4. package/dist/actions/add-studio-assignments.cjs.map +1 -1
  5. package/dist/actions/add-studio-assignments.d.cts +3 -16
  6. package/dist/actions/add-studio-assignments.d.cts.map +1 -1
  7. package/dist/actions/add-studio-assignments.d.mts +3 -16
  8. package/dist/actions/add-studio-assignments.d.mts.map +1 -1
  9. package/dist/actions/add-studio-assignments.mjs +1 -0
  10. package/dist/actions/add-studio-assignments.mjs.map +1 -1
  11. package/dist/actions/add-task-tags.cjs +1 -0
  12. package/dist/actions/add-task-tags.cjs.map +1 -1
  13. package/dist/actions/add-task-tags.d.cts +3 -16
  14. package/dist/actions/add-task-tags.d.cts.map +1 -1
  15. package/dist/actions/add-task-tags.d.mts +3 -16
  16. package/dist/actions/add-task-tags.d.mts.map +1 -1
  17. package/dist/actions/add-task-tags.mjs +1 -0
  18. package/dist/actions/add-task-tags.mjs.map +1 -1
  19. package/dist/actions/create-batch.cjs +1 -0
  20. package/dist/actions/create-batch.cjs.map +1 -1
  21. package/dist/actions/create-batch.d.cts +3 -19
  22. package/dist/actions/create-batch.d.cts.map +1 -1
  23. package/dist/actions/create-batch.d.mts +3 -19
  24. package/dist/actions/create-batch.d.mts.map +1 -1
  25. package/dist/actions/create-batch.mjs +1 -0
  26. package/dist/actions/create-batch.mjs.map +1 -1
  27. package/dist/actions/create-document-transcription-task.cjs +1 -0
  28. package/dist/actions/create-document-transcription-task.cjs.map +1 -1
  29. package/dist/actions/create-document-transcription-task.d.cts +3 -53
  30. package/dist/actions/create-document-transcription-task.d.cts.map +1 -1
  31. package/dist/actions/create-document-transcription-task.d.mts +3 -53
  32. package/dist/actions/create-document-transcription-task.d.mts.map +1 -1
  33. package/dist/actions/create-document-transcription-task.mjs +1 -0
  34. package/dist/actions/create-document-transcription-task.mjs.map +1 -1
  35. package/dist/actions/create-image-annotation-task.cjs +1 -0
  36. package/dist/actions/create-image-annotation-task.cjs.map +1 -1
  37. package/dist/actions/create-image-annotation-task.d.cts +3 -125
  38. package/dist/actions/create-image-annotation-task.d.cts.map +1 -1
  39. package/dist/actions/create-image-annotation-task.d.mts +3 -125
  40. package/dist/actions/create-image-annotation-task.d.mts.map +1 -1
  41. package/dist/actions/create-image-annotation-task.mjs +1 -0
  42. package/dist/actions/create-image-annotation-task.mjs.map +1 -1
  43. package/dist/actions/create-lidar-annotation-task.cjs +1 -0
  44. package/dist/actions/create-lidar-annotation-task.cjs.map +1 -1
  45. package/dist/actions/create-lidar-annotation-task.d.cts +3 -32
  46. package/dist/actions/create-lidar-annotation-task.d.cts.map +1 -1
  47. package/dist/actions/create-lidar-annotation-task.d.mts +3 -32
  48. package/dist/actions/create-lidar-annotation-task.d.mts.map +1 -1
  49. package/dist/actions/create-lidar-annotation-task.mjs +1 -0
  50. package/dist/actions/create-lidar-annotation-task.mjs.map +1 -1
  51. package/dist/actions/create-lidar-segmentation-task.cjs +1 -0
  52. package/dist/actions/create-lidar-segmentation-task.cjs.map +1 -1
  53. package/dist/actions/create-lidar-segmentation-task.d.cts +3 -27
  54. package/dist/actions/create-lidar-segmentation-task.d.cts.map +1 -1
  55. package/dist/actions/create-lidar-segmentation-task.d.mts +3 -27
  56. package/dist/actions/create-lidar-segmentation-task.d.mts.map +1 -1
  57. package/dist/actions/create-lidar-segmentation-task.mjs +1 -0
  58. package/dist/actions/create-lidar-segmentation-task.mjs.map +1 -1
  59. package/dist/actions/create-named-entity-recognition-task.cjs +1 -0
  60. package/dist/actions/create-named-entity-recognition-task.cjs.map +1 -1
  61. package/dist/actions/create-named-entity-recognition-task.d.cts +3 -43
  62. package/dist/actions/create-named-entity-recognition-task.d.cts.map +1 -1
  63. package/dist/actions/create-named-entity-recognition-task.d.mts +3 -43
  64. package/dist/actions/create-named-entity-recognition-task.d.mts.map +1 -1
  65. package/dist/actions/create-named-entity-recognition-task.mjs +1 -0
  66. package/dist/actions/create-named-entity-recognition-task.mjs.map +1 -1
  67. package/dist/actions/create-segmentation-annotation-task.cjs +1 -0
  68. package/dist/actions/create-segmentation-annotation-task.cjs.map +1 -1
  69. package/dist/actions/create-segmentation-annotation-task.d.cts +3 -36
  70. package/dist/actions/create-segmentation-annotation-task.d.cts.map +1 -1
  71. package/dist/actions/create-segmentation-annotation-task.d.mts +3 -36
  72. package/dist/actions/create-segmentation-annotation-task.d.mts.map +1 -1
  73. package/dist/actions/create-segmentation-annotation-task.mjs +1 -0
  74. package/dist/actions/create-segmentation-annotation-task.mjs.map +1 -1
  75. package/dist/actions/create-text-collection-task.cjs +1 -0
  76. package/dist/actions/create-text-collection-task.cjs.map +1 -1
  77. package/dist/actions/create-text-collection-task.d.cts +3 -45
  78. package/dist/actions/create-text-collection-task.d.cts.map +1 -1
  79. package/dist/actions/create-text-collection-task.d.mts +3 -45
  80. package/dist/actions/create-text-collection-task.d.mts.map +1 -1
  81. package/dist/actions/create-text-collection-task.mjs +1 -0
  82. package/dist/actions/create-text-collection-task.mjs.map +1 -1
  83. package/dist/actions/create-video-annotation-task.cjs +1 -0
  84. package/dist/actions/create-video-annotation-task.cjs.map +1 -1
  85. package/dist/actions/create-video-annotation-task.d.cts +3 -77
  86. package/dist/actions/create-video-annotation-task.d.cts.map +1 -1
  87. package/dist/actions/create-video-annotation-task.d.mts +3 -77
  88. package/dist/actions/create-video-annotation-task.d.mts.map +1 -1
  89. package/dist/actions/create-video-annotation-task.mjs +1 -0
  90. package/dist/actions/create-video-annotation-task.mjs.map +1 -1
  91. package/dist/actions/create-video-playback-annotation-task.cjs +1 -0
  92. package/dist/actions/create-video-playback-annotation-task.cjs.map +1 -1
  93. package/dist/actions/create-video-playback-annotation-task.d.cts +3 -83
  94. package/dist/actions/create-video-playback-annotation-task.d.cts.map +1 -1
  95. package/dist/actions/create-video-playback-annotation-task.d.mts +3 -83
  96. package/dist/actions/create-video-playback-annotation-task.d.mts.map +1 -1
  97. package/dist/actions/create-video-playback-annotation-task.mjs +1 -0
  98. package/dist/actions/create-video-playback-annotation-task.mjs.map +1 -1
  99. package/dist/actions/delete-task-tags.cjs +1 -0
  100. package/dist/actions/delete-task-tags.cjs.map +1 -1
  101. package/dist/actions/delete-task-tags.d.cts +3 -16
  102. package/dist/actions/delete-task-tags.d.cts.map +1 -1
  103. package/dist/actions/delete-task-tags.d.mts +3 -16
  104. package/dist/actions/delete-task-tags.d.mts.map +1 -1
  105. package/dist/actions/delete-task-tags.mjs +1 -0
  106. package/dist/actions/delete-task-tags.mjs.map +1 -1
  107. package/dist/actions/delete-task-unique-id.cjs +1 -0
  108. package/dist/actions/delete-task-unique-id.cjs.map +1 -1
  109. package/dist/actions/delete-task-unique-id.d.cts +3 -15
  110. package/dist/actions/delete-task-unique-id.d.cts.map +1 -1
  111. package/dist/actions/delete-task-unique-id.d.mts +3 -15
  112. package/dist/actions/delete-task-unique-id.d.mts.map +1 -1
  113. package/dist/actions/delete-task-unique-id.mjs +1 -0
  114. package/dist/actions/delete-task-unique-id.mjs.map +1 -1
  115. package/dist/actions/finalize-batch.cjs +1 -0
  116. package/dist/actions/finalize-batch.cjs.map +1 -1
  117. package/dist/actions/finalize-batch.d.cts +3 -15
  118. package/dist/actions/finalize-batch.d.cts.map +1 -1
  119. package/dist/actions/finalize-batch.d.mts +3 -15
  120. package/dist/actions/finalize-batch.d.mts.map +1 -1
  121. package/dist/actions/finalize-batch.mjs +1 -0
  122. package/dist/actions/finalize-batch.mjs.map +1 -1
  123. package/dist/actions/get-assets.cjs +1 -0
  124. package/dist/actions/get-assets.cjs.map +1 -1
  125. package/dist/actions/get-assets.d.cts +3 -17
  126. package/dist/actions/get-assets.d.cts.map +1 -1
  127. package/dist/actions/get-assets.d.mts +3 -17
  128. package/dist/actions/get-assets.d.mts.map +1 -1
  129. package/dist/actions/get-assets.mjs +1 -0
  130. package/dist/actions/get-assets.mjs.map +1 -1
  131. package/dist/actions/get-batch-status.cjs +1 -0
  132. package/dist/actions/get-batch-status.cjs.map +1 -1
  133. package/dist/actions/get-batch-status.d.cts +3 -15
  134. package/dist/actions/get-batch-status.d.cts.map +1 -1
  135. package/dist/actions/get-batch-status.d.mts +3 -15
  136. package/dist/actions/get-batch-status.d.mts.map +1 -1
  137. package/dist/actions/get-batch-status.mjs +1 -0
  138. package/dist/actions/get-batch-status.mjs.map +1 -1
  139. package/dist/actions/get-batch.cjs +1 -0
  140. package/dist/actions/get-batch.cjs.map +1 -1
  141. package/dist/actions/get-batch.d.cts +3 -15
  142. package/dist/actions/get-batch.d.cts.map +1 -1
  143. package/dist/actions/get-batch.d.mts +3 -15
  144. package/dist/actions/get-batch.d.mts.map +1 -1
  145. package/dist/actions/get-batch.mjs +1 -0
  146. package/dist/actions/get-batch.mjs.map +1 -1
  147. package/dist/actions/get-fixless-audits.cjs +1 -0
  148. package/dist/actions/get-fixless-audits.cjs.map +1 -1
  149. package/dist/actions/get-fixless-audits.d.cts +3 -16
  150. package/dist/actions/get-fixless-audits.d.cts.map +1 -1
  151. package/dist/actions/get-fixless-audits.d.mts +3 -16
  152. package/dist/actions/get-fixless-audits.d.mts.map +1 -1
  153. package/dist/actions/get-fixless-audits.mjs +1 -0
  154. package/dist/actions/get-fixless-audits.mjs.map +1 -1
  155. package/dist/actions/get-project.cjs +1 -0
  156. package/dist/actions/get-project.cjs.map +1 -1
  157. package/dist/actions/get-project.d.cts +3 -15
  158. package/dist/actions/get-project.d.cts.map +1 -1
  159. package/dist/actions/get-project.d.mts +3 -15
  160. package/dist/actions/get-project.d.mts.map +1 -1
  161. package/dist/actions/get-project.mjs +1 -0
  162. package/dist/actions/get-project.mjs.map +1 -1
  163. package/dist/actions/get-quality-labelers.cjs +1 -0
  164. package/dist/actions/get-quality-labelers.cjs.map +1 -1
  165. package/dist/actions/get-quality-labelers.d.cts +3 -18
  166. package/dist/actions/get-quality-labelers.d.cts.map +1 -1
  167. package/dist/actions/get-quality-labelers.d.mts +3 -18
  168. package/dist/actions/get-quality-labelers.d.mts.map +1 -1
  169. package/dist/actions/get-quality-labelers.mjs +1 -0
  170. package/dist/actions/get-quality-labelers.mjs.map +1 -1
  171. package/dist/actions/get-studio-assignments.cjs +1 -0
  172. package/dist/actions/get-studio-assignments.cjs.map +1 -1
  173. package/dist/actions/get-studio-assignments.d.cts +3 -13
  174. package/dist/actions/get-studio-assignments.d.cts.map +1 -1
  175. package/dist/actions/get-studio-assignments.d.mts +3 -13
  176. package/dist/actions/get-studio-assignments.d.mts.map +1 -1
  177. package/dist/actions/get-studio-assignments.mjs +1 -0
  178. package/dist/actions/get-studio-assignments.mjs.map +1 -1
  179. package/dist/actions/get-studio-batches.cjs +1 -0
  180. package/dist/actions/get-studio-batches.cjs.map +1 -1
  181. package/dist/actions/get-studio-batches.d.cts +3 -13
  182. package/dist/actions/get-studio-batches.d.cts.map +1 -1
  183. package/dist/actions/get-studio-batches.d.mts +3 -13
  184. package/dist/actions/get-studio-batches.d.mts.map +1 -1
  185. package/dist/actions/get-studio-batches.mjs +1 -0
  186. package/dist/actions/get-studio-batches.mjs.map +1 -1
  187. package/dist/actions/get-teams.cjs +1 -0
  188. package/dist/actions/get-teams.cjs.map +1 -1
  189. package/dist/actions/get-teams.d.cts +3 -13
  190. package/dist/actions/get-teams.d.cts.map +1 -1
  191. package/dist/actions/get-teams.d.mts +3 -13
  192. package/dist/actions/get-teams.d.mts.map +1 -1
  193. package/dist/actions/get-teams.mjs +1 -0
  194. package/dist/actions/get-teams.mjs.map +1 -1
  195. package/dist/actions/get-v1-task-response-url.cjs +1 -0
  196. package/dist/actions/get-v1-task-response-url.cjs.map +1 -1
  197. package/dist/actions/get-v1-task-response-url.d.cts +3 -16
  198. package/dist/actions/get-v1-task-response-url.d.cts.map +1 -1
  199. package/dist/actions/get-v1-task-response-url.d.mts +3 -16
  200. package/dist/actions/get-v1-task-response-url.d.mts.map +1 -1
  201. package/dist/actions/get-v1-task-response-url.mjs +1 -0
  202. package/dist/actions/get-v1-task-response-url.mjs.map +1 -1
  203. package/dist/actions/get-v1-task.cjs +1 -0
  204. package/dist/actions/get-v1-task.cjs.map +1 -1
  205. package/dist/actions/get-v1-task.d.cts +3 -15
  206. package/dist/actions/get-v1-task.d.cts.map +1 -1
  207. package/dist/actions/get-v1-task.d.mts +3 -15
  208. package/dist/actions/get-v1-task.d.mts.map +1 -1
  209. package/dist/actions/get-v1-task.mjs +1 -0
  210. package/dist/actions/get-v1-task.mjs.map +1 -1
  211. package/dist/actions/import-file.cjs +1 -0
  212. package/dist/actions/import-file.cjs.map +1 -1
  213. package/dist/actions/import-file.d.cts +3 -16
  214. package/dist/actions/import-file.d.cts.map +1 -1
  215. package/dist/actions/import-file.d.mts +3 -16
  216. package/dist/actions/import-file.d.mts.map +1 -1
  217. package/dist/actions/import-file.mjs +1 -0
  218. package/dist/actions/import-file.mjs.map +1 -1
  219. package/dist/actions/invite-team-member.cjs +1 -0
  220. package/dist/actions/invite-team-member.cjs.map +1 -1
  221. package/dist/actions/invite-team-member.d.cts +3 -16
  222. package/dist/actions/invite-team-member.d.cts.map +1 -1
  223. package/dist/actions/invite-team-member.d.mts +3 -16
  224. package/dist/actions/invite-team-member.d.mts.map +1 -1
  225. package/dist/actions/invite-team-member.mjs +1 -0
  226. package/dist/actions/invite-team-member.mjs.map +1 -1
  227. package/dist/actions/list-batches.cjs +1 -0
  228. package/dist/actions/list-batches.cjs.map +1 -1
  229. package/dist/actions/list-batches.d.cts +3 -21
  230. package/dist/actions/list-batches.d.cts.map +1 -1
  231. package/dist/actions/list-batches.d.mts +3 -21
  232. package/dist/actions/list-batches.d.mts.map +1 -1
  233. package/dist/actions/list-batches.mjs +1 -0
  234. package/dist/actions/list-batches.mjs.map +1 -1
  235. package/dist/actions/list-projects.cjs +1 -0
  236. package/dist/actions/list-projects.cjs.map +1 -1
  237. package/dist/actions/list-projects.d.cts +3 -17
  238. package/dist/actions/list-projects.d.cts.map +1 -1
  239. package/dist/actions/list-projects.d.mts +3 -17
  240. package/dist/actions/list-projects.d.mts.map +1 -1
  241. package/dist/actions/list-projects.mjs +1 -0
  242. package/dist/actions/list-projects.mjs.map +1 -1
  243. package/dist/actions/list-tasks.cjs +1 -0
  244. package/dist/actions/list-tasks.cjs.map +1 -1
  245. package/dist/actions/list-tasks.d.cts +3 -30
  246. package/dist/actions/list-tasks.d.cts.map +1 -1
  247. package/dist/actions/list-tasks.d.mts +3 -30
  248. package/dist/actions/list-tasks.d.mts.map +1 -1
  249. package/dist/actions/list-tasks.mjs +1 -0
  250. package/dist/actions/list-tasks.mjs.map +1 -1
  251. package/dist/actions/post-v1-task-send-callback.cjs +1 -0
  252. package/dist/actions/post-v1-task-send-callback.cjs.map +1 -1
  253. package/dist/actions/post-v1-task-send-callback.d.cts +3 -15
  254. package/dist/actions/post-v1-task-send-callback.d.cts.map +1 -1
  255. package/dist/actions/post-v1-task-send-callback.d.mts +3 -15
  256. package/dist/actions/post-v1-task-send-callback.d.mts.map +1 -1
  257. package/dist/actions/post-v1-task-send-callback.mjs +1 -0
  258. package/dist/actions/post-v1-task-send-callback.mjs.map +1 -1
  259. package/dist/actions/remove-studio-assignments.cjs +1 -0
  260. package/dist/actions/remove-studio-assignments.cjs.map +1 -1
  261. package/dist/actions/remove-studio-assignments.d.cts +3 -16
  262. package/dist/actions/remove-studio-assignments.d.cts.map +1 -1
  263. package/dist/actions/remove-studio-assignments.d.mts +3 -16
  264. package/dist/actions/remove-studio-assignments.d.mts.map +1 -1
  265. package/dist/actions/remove-studio-assignments.mjs +1 -0
  266. package/dist/actions/remove-studio-assignments.mjs.map +1 -1
  267. package/dist/actions/reset-batch-priorities.cjs +1 -0
  268. package/dist/actions/reset-batch-priorities.cjs.map +1 -1
  269. package/dist/actions/reset-batch-priorities.d.cts +3 -15
  270. package/dist/actions/reset-batch-priorities.d.cts.map +1 -1
  271. package/dist/actions/reset-batch-priorities.d.mts +3 -15
  272. package/dist/actions/reset-batch-priorities.d.mts.map +1 -1
  273. package/dist/actions/reset-batch-priorities.mjs +1 -0
  274. package/dist/actions/reset-batch-priorities.mjs.map +1 -1
  275. package/dist/actions/set-batch-priorities.cjs +1 -0
  276. package/dist/actions/set-batch-priorities.cjs.map +1 -1
  277. package/dist/actions/set-batch-priorities.d.cts +3 -18
  278. package/dist/actions/set-batch-priorities.d.cts.map +1 -1
  279. package/dist/actions/set-batch-priorities.d.mts +3 -18
  280. package/dist/actions/set-batch-priorities.d.mts.map +1 -1
  281. package/dist/actions/set-batch-priorities.mjs +1 -0
  282. package/dist/actions/set-batch-priorities.mjs.map +1 -1
  283. package/dist/actions/set-project-ontology.cjs +1 -0
  284. package/dist/actions/set-project-ontology.cjs.map +1 -1
  285. package/dist/actions/set-project-ontology.d.cts +3 -17
  286. package/dist/actions/set-project-ontology.d.cts.map +1 -1
  287. package/dist/actions/set-project-ontology.d.mts +3 -17
  288. package/dist/actions/set-project-ontology.d.mts.map +1 -1
  289. package/dist/actions/set-project-ontology.mjs +1 -0
  290. package/dist/actions/set-project-ontology.mjs.map +1 -1
  291. package/dist/actions/set-project-params.cjs +1 -0
  292. package/dist/actions/set-project-params.cjs.map +1 -1
  293. package/dist/actions/set-project-params.d.cts +3 -19
  294. package/dist/actions/set-project-params.d.cts.map +1 -1
  295. package/dist/actions/set-project-params.d.mts +3 -19
  296. package/dist/actions/set-project-params.d.mts.map +1 -1
  297. package/dist/actions/set-project-params.mjs +1 -0
  298. package/dist/actions/set-project-params.mjs.map +1 -1
  299. package/dist/actions/set-task-metadata.cjs +1 -0
  300. package/dist/actions/set-task-metadata.cjs.map +1 -1
  301. package/dist/actions/set-task-metadata.d.cts +3 -16
  302. package/dist/actions/set-task-metadata.d.cts.map +1 -1
  303. package/dist/actions/set-task-metadata.d.mts +3 -16
  304. package/dist/actions/set-task-metadata.d.mts.map +1 -1
  305. package/dist/actions/set-task-metadata.mjs +1 -0
  306. package/dist/actions/set-task-metadata.mjs.map +1 -1
  307. package/dist/actions/update-task-unique-id.cjs +1 -0
  308. package/dist/actions/update-task-unique-id.cjs.map +1 -1
  309. package/dist/actions/update-task-unique-id.d.cts +3 -16
  310. package/dist/actions/update-task-unique-id.d.cts.map +1 -1
  311. package/dist/actions/update-task-unique-id.d.mts +3 -16
  312. package/dist/actions/update-task-unique-id.d.mts.map +1 -1
  313. package/dist/actions/update-task-unique-id.mjs +1 -0
  314. package/dist/actions/update-task-unique-id.mjs.map +1 -1
  315. package/dist/actions/upload-file.cjs +1 -0
  316. package/dist/actions/upload-file.cjs.map +1 -1
  317. package/dist/actions/upload-file.d.cts +3 -23
  318. package/dist/actions/upload-file.d.cts.map +1 -1
  319. package/dist/actions/upload-file.d.mts +3 -23
  320. package/dist/actions/upload-file.d.mts.map +1 -1
  321. package/dist/actions/upload-file.mjs +1 -0
  322. package/dist/actions/upload-file.mjs.map +1 -1
  323. package/dist/app.cjs +2 -2
  324. package/dist/app.cjs.map +1 -1
  325. package/dist/app.d.cts +4 -6
  326. package/dist/app.d.cts.map +1 -1
  327. package/dist/app.d.mts +4 -6
  328. package/dist/app.d.mts.map +1 -1
  329. package/dist/app.mjs +0 -1
  330. package/dist/app.mjs.map +1 -1
  331. package/dist/index.d.cts +1 -1
  332. package/dist/index.d.mts +1 -1
  333. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { scaleAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/finalize-batch.d.ts
@@ -12,21 +14,7 @@ declare const ScaleAiFinalizeBatchOutput: z.ZodObject<{
12
14
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13
15
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const scaleAiFinalizeBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- batch_name: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>;
17
+ declare const scaleAiFinalizeBatch: AppAction<typeof ScaleAiFinalizeBatchInput, typeof ScaleAiFinalizeBatchOutput, typeof scaleAi.credential>;
30
18
  //#endregion
31
19
  export { scaleAiFinalizeBatch };
32
20
  //# sourceMappingURL=finalize-batch.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"finalize-batch.d.mts","names":[],"sources":["../../src/actions/finalize-batch.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAS1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"finalize-batch.d.mts","names":[],"sources":["../../src/actions/finalize-batch.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAS1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const scaleAiFinalizeBatch = action("SCALE_AI_FINALIZE_BATCH", {
@@ -1 +1 @@
1
- {"version":3,"file":"finalize-batch.mjs","names":[],"sources":["../../src/actions/finalize-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiFinalizeBatchInput = z.object({\n batch_name: z.string().describe(\"The name of the batch to finalize. This batch must exist before it can be finalized.\"),\n}).describe(\"Request model for finalizing a batch in Scale AI.\");\nexport const ScaleAiFinalizeBatchOutput = z.object({\n name: z.string().describe(\"The batch identifier\").nullable().optional(),\n status: z.string().describe(\"Current batch status (e.g., 'in_progress')\").nullable().optional(),\n project: z.string().describe(\"The project name associated with the batch\").nullable().optional(),\n callback: z.string().describe(\"Callback URL or email address\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional batch metadata\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation\").nullable().optional(),\n}).passthrough().describe(\"Response model for the finalize batch endpoint.\");\n\nexport const scaleAiFinalizeBatch = action(\"SCALE_AI_FINALIZE_BATCH\", {\n slug: \"scale_ai-finalize-batch\",\n name: \"Finalize Batch\",\n description: \"Tool to finalize a batch so its tasks can be worked on. Use when you need to finalize a batch for Scale Rapid and Studio customers. For other customer types, this endpoint returns success without performing any action.\",\n input: ScaleAiFinalizeBatchInput,\n output: ScaleAiFinalizeBatchOutput,\n});\n"],"mappings":";;AAgBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACxH,CAAC,CAAC,CAAC,SAAS,mDAcH;CACP,QAdwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"finalize-batch.mjs","names":[],"sources":["../../src/actions/finalize-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiFinalizeBatchInput = z.object({\n batch_name: z.string().describe(\"The name of the batch to finalize. This batch must exist before it can be finalized.\"),\n}).describe(\"Request model for finalizing a batch in Scale AI.\");\nexport const ScaleAiFinalizeBatchOutput = z.object({\n name: z.string().describe(\"The batch identifier\").nullable().optional(),\n status: z.string().describe(\"Current batch status (e.g., 'in_progress')\").nullable().optional(),\n project: z.string().describe(\"The project name associated with the batch\").nullable().optional(),\n callback: z.string().describe(\"Callback URL or email address\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional batch metadata\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation\").nullable().optional(),\n}).passthrough().describe(\"Response model for the finalize batch endpoint.\");\n\nexport const scaleAiFinalizeBatch: AppAction<\n typeof ScaleAiFinalizeBatchInput,\n typeof ScaleAiFinalizeBatchOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_FINALIZE_BATCH\", {\n slug: \"scale_ai-finalize-batch\",\n name: \"Finalize Batch\",\n description: \"Tool to finalize a batch so its tasks can be worked on. Use when you need to finalize a batch for Scale Rapid and Studio customers. For other customer types, this endpoint returns success without performing any action.\",\n input: ScaleAiFinalizeBatchInput,\n output: ScaleAiFinalizeBatchOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACxH,CAAC,CAAC,CAAC,SAAS,mDAkBH;CACP,QAlBwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-assets.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-assets.cjs","names":["z","action"],"sources":["../../src/actions/get-assets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetAssetsInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination to retrieve the next page of results. Use the cursor value from a previous response to get the next page.\").optional(),\n project: z.string().describe(\"Project filter to retrieve assets associated with a specific project. This parameter is required.\"),\n metadata: z.string().describe(\"Metadata filter to retrieve assets matching specific metadata criteria.\").optional(),\n}).describe(\"Request model for retrieving file assets with filtering and pagination.\");\nconst ScaleAiGetAssets_AssetItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the asset file.\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes.\").nullable().optional(),\n mime_type: z.string().describe(\"MIME type of the file (e.g., 'image/jpeg', 'application/pdf').\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the file was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the file was last updated.\").nullable().optional(),\n project_names: z.array(z.string()).describe(\"Array of project names the file is associated with.\").nullable().optional(),\n attachment_url: z.string().describe(\"URL where the file is stored (typically with scaledata:// prefix).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single file asset object.\");\nexport const ScaleAiGetAssetsOutput = z.object({\n assets: z.array(ScaleAiGetAssets_AssetItemSchema).describe(\"List of asset objects matching the filter criteria.\").nullable().optional(),\n cursor: z.string().describe(\"Cursor for retrieving the next page of results. Include this value in the next request to paginate through results.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates whether more results are available for pagination.\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving file assets.\");\n\nexport const scaleAiGetAssets = action(\"SCALE_AI_GET_ASSETS\", {\n slug: \"scale_ai-get-assets\",\n name: \"Get Assets\",\n description: \"Tool to retrieve file assets with filtering capabilities by project and metadata. Use when you need to list or search for files uploaded to Scale AI, filtered by project and optionally by metadata. Supports cursor-based pagination for large result sets.\",\n input: ScaleAiGetAssetsInput,\n output: ScaleAiGetAssetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CACxK,SAASA,IAAAA,EAAE,OAAO,C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C,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,mBAAmBC,eAAAA,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-assets.cjs","names":["z","action"],"sources":["../../src/actions/get-assets.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetAssetsInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination to retrieve the next page of results. Use the cursor value from a previous response to get the next page.\").optional(),\n project: z.string().describe(\"Project filter to retrieve assets associated with a specific project. This parameter is required.\"),\n metadata: z.string().describe(\"Metadata filter to retrieve assets matching specific metadata criteria.\").optional(),\n}).describe(\"Request model for retrieving file assets with filtering and pagination.\");\nconst ScaleAiGetAssets_AssetItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the asset file.\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes.\").nullable().optional(),\n mime_type: z.string().describe(\"MIME type of the file (e.g., 'image/jpeg', 'application/pdf').\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the file was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the file was last updated.\").nullable().optional(),\n project_names: z.array(z.string()).describe(\"Array of project names the file is associated with.\").nullable().optional(),\n attachment_url: z.string().describe(\"URL where the file is stored (typically with scaledata:// prefix).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single file asset object.\");\nexport const ScaleAiGetAssetsOutput = z.object({\n assets: z.array(ScaleAiGetAssets_AssetItemSchema).describe(\"List of asset objects matching the filter criteria.\").nullable().optional(),\n cursor: z.string().describe(\"Cursor for retrieving the next page of results. Include this value in the next request to paginate through results.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates whether more results are available for pagination.\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving file assets.\");\n\nexport const scaleAiGetAssets: AppAction<\n typeof ScaleAiGetAssetsInput,\n typeof ScaleAiGetAssetsOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_ASSETS\", {\n slug: \"scale_ai-get-assets\",\n name: \"Get Assets\",\n description: \"Tool to retrieve file assets with filtering capabilities by project and metadata. Use when you need to list or search for files uploaded to Scale AI, filtered by project and optionally by metadata. Supports cursor-based pagination for large result sets.\",\n input: ScaleAiGetAssetsInput,\n output: ScaleAiGetAssetsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CACxK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CAChI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,QAAQA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvK,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,mBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { scaleAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-assets.d.ts
@@ -19,23 +21,7 @@ declare const ScaleAiGetAssetsOutput: z.ZodObject<{
19
21
  cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
22
  has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
23
  }, z.core.$loose>;
22
- declare const scaleAiGetAssets: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- project: string;
24
- cursor?: string | undefined;
25
- metadata?: string | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>;
24
+ declare const scaleAiGetAssets: AppAction<typeof ScaleAiGetAssetsInput, typeof ScaleAiGetAssetsOutput, typeof scaleAi.credential>;
39
25
  //#endregion
40
26
  export { scaleAiGetAssets };
41
27
  //# sourceMappingURL=get-assets.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-assets.d.cts","names":[],"sources":["../../src/actions/get-assets.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAcrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAMtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"get-assets.d.cts","names":[],"sources":["../../src/actions/get-assets.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAcrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAMtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { scaleAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-assets.d.ts
@@ -19,23 +21,7 @@ declare const ScaleAiGetAssetsOutput: z.ZodObject<{
19
21
  cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
22
  has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
23
  }, z.core.$loose>;
22
- declare const scaleAiGetAssets: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- project: string;
24
- cursor?: string | undefined;
25
- metadata?: string | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>;
24
+ declare const scaleAiGetAssets: AppAction<typeof ScaleAiGetAssetsInput, typeof ScaleAiGetAssetsOutput, typeof scaleAi.credential>;
39
25
  //#endregion
40
26
  export { scaleAiGetAssets };
41
27
  //# sourceMappingURL=get-assets.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-assets.d.mts","names":[],"sources":["../../src/actions/get-assets.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAcrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAMtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"get-assets.d.mts","names":[],"sources":["../../src/actions/get-assets.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAcrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAMtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-assets.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-assets.mjs","names":[],"sources":["../../src/actions/get-assets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetAssetsInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination to retrieve the next page of results. Use the cursor value from a previous response to get the next page.\").optional(),\n project: z.string().describe(\"Project filter to retrieve assets associated with a specific project. This parameter is required.\"),\n metadata: z.string().describe(\"Metadata filter to retrieve assets matching specific metadata criteria.\").optional(),\n}).describe(\"Request model for retrieving file assets with filtering and pagination.\");\nconst ScaleAiGetAssets_AssetItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the asset file.\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes.\").nullable().optional(),\n mime_type: z.string().describe(\"MIME type of the file (e.g., 'image/jpeg', 'application/pdf').\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the file was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the file was last updated.\").nullable().optional(),\n project_names: z.array(z.string()).describe(\"Array of project names the file is associated with.\").nullable().optional(),\n attachment_url: z.string().describe(\"URL where the file is stored (typically with scaledata:// prefix).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single file asset object.\");\nexport const ScaleAiGetAssetsOutput = z.object({\n assets: z.array(ScaleAiGetAssets_AssetItemSchema).describe(\"List of asset objects matching the filter criteria.\").nullable().optional(),\n cursor: z.string().describe(\"Cursor for retrieving the next page of results. Include this value in the next request to paginate through results.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates whether more results are available for pagination.\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving file assets.\");\n\nexport const scaleAiGetAssets = action(\"SCALE_AI_GET_ASSETS\", {\n slug: \"scale_ai-get-assets\",\n name: \"Get Assets\",\n description: \"Tool to retrieve file assets with filtering capabilities by project and metadata. Use when you need to list or search for files uploaded to Scale AI, filtered by project and optionally by metadata. Supports cursor-based pag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qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvK,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-assets.mjs","names":[],"sources":["../../src/actions/get-assets.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetAssetsInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination to retrieve the next page of results. Use the cursor value from a previous response to get the next page.\").optional(),\n project: z.string().describe(\"Project filter to retrieve assets associated with a specific project. This parameter is required.\"),\n metadata: z.string().describe(\"Metadata filter to retrieve assets matching specific metadata criteria.\").optional(),\n}).describe(\"Request model for retrieving file assets with filtering and pagination.\");\nconst ScaleAiGetAssets_AssetItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the asset file.\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes.\").nullable().optional(),\n mime_type: z.string().describe(\"MIME type of the file (e.g., 'image/jpeg', 'application/pdf').\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the file was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the file was last updated.\").nullable().optional(),\n project_names: z.array(z.string()).describe(\"Array of project names the file is associated with.\").nullable().optional(),\n attachment_url: z.string().describe(\"URL where the file is stored (typically with scaledata:// prefix).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single file asset object.\");\nexport const ScaleAiGetAssetsOutput = z.object({\n assets: z.array(ScaleAiGetAssets_AssetItemSchema).describe(\"List of asset objects matching the filter criteria.\").nullable().optional(),\n cursor: z.string().describe(\"Cursor for retrieving the next page of results. Include this value in the next request to paginate through results.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates whether more results are available for pagination.\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving file assets.\");\n\nexport const scaleAiGetAssets: AppAction<\n typeof ScaleAiGetAssetsInput,\n typeof ScaleAiGetAssetsOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_ASSETS\", {\n slug: \"scale_ai-get-assets\",\n name: \"Get Assets\",\n description: \"Tool to retrieve file assets with filtering capabilities by project and metadata. Use when you need to list or search for files uploaded to Scale AI, filtered by project and optionally by metadata. Supports cursor-based pagination for large result sets.\",\n input: ScaleAiGetAssetsInput,\n output: ScaleAiGetAssetsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CACxK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CAChI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAO1E,MAAa,mBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfoC,EAAE,OAAO;EAC7C,QAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvK,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-batch-status.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch-status.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetBatchStatusInput = z.object({\n batch_name: z.string().describe(\"The name of the batch to retrieve status for\"),\n}).describe(\"Request model for retrieving batch status information.\");\nexport const ScaleAiGetBatchStatusOutput = z.object({\n queue: z.number().int().describe(\"Number of tasks in the batch that are in the queue\").nullable(),\n status: z.string().describe(\"The current state of the batch (e.g., 'in_progress', 'completed')\").nullable(),\n pending: z.number().int().describe(\"Number of tasks in the batch that are pending\").nullable(),\n completed: z.number().int().describe(\"Number of tasks in the batch that have been completed\").nullable(),\n inProgress: z.number().int().describe(\"Number of tasks in the batch that are currently in progress\").nullable(),\n}).passthrough().describe(\"Response model for batch status information.\");\n\nexport const scaleAiGetBatchStatus = action(\"SCALE_AI_GET_BATCH_STATUS\", {\n slug: \"scale_ai-get-batch-status\",\n name: \"Get Batch Status\",\n description: \"Tool to retrieve the current status of a batch and task completion counts. Use when you need to monitor batch progress or check how many tasks are pending or completed.\",\n input: ScaleAiGetBatchStatusInput,\n output: ScaleAiGetBatchStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-batch-status.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetBatchStatusInput = z.object({\n batch_name: z.string().describe(\"The name of the batch to retrieve status for\"),\n}).describe(\"Request model for retrieving batch status information.\");\nexport const ScaleAiGetBatchStatusOutput = z.object({\n queue: z.number().int().describe(\"Number of tasks in the batch that are in the queue\").nullable(),\n status: z.string().describe(\"The current state of the batch (e.g., 'in_progress', 'completed')\").nullable(),\n pending: z.number().int().describe(\"Number of tasks in the batch that are pending\").nullable(),\n completed: z.number().int().describe(\"Number of tasks in the batch that have been completed\").nullable(),\n inProgress: z.number().int().describe(\"Number of tasks in the batch that are currently in progress\").nullable(),\n}).passthrough().describe(\"Response model for batch status information.\");\n\nexport const scaleAiGetBatchStatus: AppAction<\n typeof ScaleAiGetBatchStatusInput,\n typeof ScaleAiGetBatchStatusOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_BATCH_STATUS\", {\n slug: \"scale_ai-get-batch-status\",\n name: \"Get Batch Status\",\n description: \"Tool to retrieve the current status of a batch and task completion counts. Use when you need to monitor batch progress or check how many tasks are pending or completed.\",\n input: ScaleAiGetBatchStatusInput,\n output: ScaleAiGetBatchStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,wBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { scaleAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-batch-status.d.ts
@@ -11,21 +13,7 @@ declare const ScaleAiGetBatchStatusOutput: z.ZodObject<{
11
13
  completed: z.ZodNullable<z.ZodNumber>;
12
14
  inProgress: z.ZodNullable<z.ZodNumber>;
13
15
  }, z.core.$loose>;
14
- declare const scaleAiGetBatchStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- batch_name: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- generic_api_key: z.ZodString;
22
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>;
16
+ declare const scaleAiGetBatchStatus: AppAction<typeof ScaleAiGetBatchStatusInput, typeof ScaleAiGetBatchStatusOutput, typeof scaleAi.credential>;
29
17
  //#endregion
30
18
  export { scaleAiGetBatchStatus };
31
19
  //# sourceMappingURL=get-batch-status.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch-status.d.cts","names":[],"sources":["../../src/actions/get-batch-status.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"get-batch-status.d.cts","names":[],"sources":["../../src/actions/get-batch-status.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { scaleAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-batch-status.d.ts
@@ -11,21 +13,7 @@ declare const ScaleAiGetBatchStatusOutput: z.ZodObject<{
11
13
  completed: z.ZodNullable<z.ZodNumber>;
12
14
  inProgress: z.ZodNullable<z.ZodNumber>;
13
15
  }, z.core.$loose>;
14
- declare const scaleAiGetBatchStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- batch_name: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- generic_api_key: z.ZodString;
22
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>;
16
+ declare const scaleAiGetBatchStatus: AppAction<typeof ScaleAiGetBatchStatusInput, typeof ScaleAiGetBatchStatusOutput, typeof scaleAi.credential>;
29
17
  //#endregion
30
18
  export { scaleAiGetBatchStatus };
31
19
  //# sourceMappingURL=get-batch-status.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch-status.d.mts","names":[],"sources":["../../src/actions/get-batch-status.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"get-batch-status.d.mts","names":[],"sources":["../../src/actions/get-batch-status.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const scaleAiGetBatchStatus = action("SCALE_AI_GET_BATCH_STATUS", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch-status.mjs","names":[],"sources":["../../src/actions/get-batch-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetBatchStatusInput = z.object({\n batch_name: z.string().describe(\"The name of the batch to retrieve status for\"),\n}).describe(\"Request model for retrieving batch status information.\");\nexport const ScaleAiGetBatchStatusOutput = z.object({\n queue: z.number().int().describe(\"Number of tasks in the batch that are in the queue\").nullable(),\n status: z.string().describe(\"The current state of the batch (e.g., 'in_progress', 'completed')\").nullable(),\n pending: z.number().int().describe(\"Number of tasks in the batch that are pending\").nullable(),\n completed: z.number().int().describe(\"Number of tasks in the batch that have been completed\").nullable(),\n inProgress: z.number().int().describe(\"Number of tasks in the batch that are currently in progress\").nullable(),\n}).passthrough().describe(\"Response model for batch status information.\");\n\nexport const scaleAiGetBatchStatus = action(\"SCALE_AI_GET_BATCH_STATUS\", {\n slug: \"scale_ai-get-batch-status\",\n name: \"Get Batch Status\",\n description: \"Tool to retrieve the current status of a batch and task completion counts. Use when you need to monitor batch progress or check how many tasks are pending or completed.\",\n input: ScaleAiGetBatchStatusInput,\n output: ScaleAiGetBatchStatusOutput,\n});\n"],"mappings":";;AAeA,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfwC,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,wDAaH;CACP,QAbyC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-batch-status.mjs","names":[],"sources":["../../src/actions/get-batch-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetBatchStatusInput = z.object({\n batch_name: z.string().describe(\"The name of the batch to retrieve status for\"),\n}).describe(\"Request model for retrieving batch status information.\");\nexport const ScaleAiGetBatchStatusOutput = z.object({\n queue: z.number().int().describe(\"Number of tasks in the batch that are in the queue\").nullable(),\n status: z.string().describe(\"The current state of the batch (e.g., 'in_progress', 'completed')\").nullable(),\n pending: z.number().int().describe(\"Number of tasks in the batch that are pending\").nullable(),\n completed: z.number().int().describe(\"Number of tasks in the batch that have been completed\").nullable(),\n inProgress: z.number().int().describe(\"Number of tasks in the batch that are currently in progress\").nullable(),\n}).passthrough().describe(\"Response model for batch status information.\");\n\nexport const scaleAiGetBatchStatus: AppAction<\n typeof ScaleAiGetBatchStatusInput,\n typeof ScaleAiGetBatchStatusOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_BATCH_STATUS\", {\n slug: \"scale_ai-get-batch-status\",\n name: \"Get Batch Status\",\n description: \"Tool to retrieve the current status of a batch and task completion counts. Use when you need to monitor batch progress or check how many tasks are pending or completed.\",\n input: ScaleAiGetBatchStatusInput,\n output: ScaleAiGetBatchStatusOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,wBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBwC,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,wDAiBH;CACP,QAjByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-batch.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch.cjs","names":["z","action"],"sources":["../../src/actions/get-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetBatchInput = z.object({\n batch_name: z.string().describe(\"The batch identifier to retrieve\"),\n}).describe(\"Request model for retrieving a batch by name.\");\nexport const ScaleAiGetBatchOutput = z.object({\n name: z.string().describe(\"Identifier for the batch\").nullable().optional(),\n status: z.string().describe(\"Current batch state (e.g., 'in_progress')\").nullable().optional(),\n project: z.string().describe(\"The project name associated with the batch\").nullable().optional(),\n callback: z.string().describe(\"The callback URL or email address configured for task completion notifications\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs associated with the batch\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation\").nullable().optional(),\n}).passthrough().describe(\"Response model for batch details.\");\n\nexport const scaleAiGetBatch = action(\"SCALE_AI_GET_BATCH\", {\n slug: \"scale_ai-get-batch\",\n name: \"Get Batch\",\n description: \"Tool to retrieve the details of a batch with the specified name. Use when you need to check the status or configuration of an existing batch.\",\n input: ScaleAiGetBatchInput,\n output: ScaleAiGetBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,kBAAkBC,eAAAA,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-batch.cjs","names":["z","action"],"sources":["../../src/actions/get-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetBatchInput = z.object({\n batch_name: z.string().describe(\"The batch identifier to retrieve\"),\n}).describe(\"Request model for retrieving a batch by name.\");\nexport const ScaleAiGetBatchOutput = z.object({\n name: z.string().describe(\"Identifier for the batch\").nullable().optional(),\n status: z.string().describe(\"Current batch state (e.g., 'in_progress')\").nullable().optional(),\n project: z.string().describe(\"The project name associated with the batch\").nullable().optional(),\n callback: z.string().describe(\"The callback URL or email address configured for task completion notifications\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs associated with the batch\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation\").nullable().optional(),\n}).passthrough().describe(\"Response model for batch details.\");\n\nexport const scaleAiGetBatch: AppAction<\n typeof ScaleAiGetBatchInput,\n typeof ScaleAiGetBatchOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_BATCH\", {\n slug: \"scale_ai-get-batch\",\n name: \"Get Batch\",\n description: \"Tool to retrieve the details of a batch with the specified name. Use when you need to check the status or configuration of an existing batch.\",\n input: ScaleAiGetBatchInput,\n output: ScaleAiGetBatchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,kBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { scaleAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-batch.d.ts
@@ -12,21 +14,7 @@ declare const ScaleAiGetBatchOutput: z.ZodObject<{
12
14
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13
15
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const scaleAiGetBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- batch_name: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>;
17
+ declare const scaleAiGetBatch: AppAction<typeof ScaleAiGetBatchInput, typeof ScaleAiGetBatchOutput, typeof scaleAi.credential>;
30
18
  //#endregion
31
19
  export { scaleAiGetBatch };
32
20
  //# sourceMappingURL=get-batch.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch.d.cts","names":[],"sources":["../../src/actions/get-batch.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cASrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"get-batch.d.cts","names":[],"sources":["../../src/actions/get-batch.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cASrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { scaleAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-batch.d.ts
@@ -12,21 +14,7 @@ declare const ScaleAiGetBatchOutput: z.ZodObject<{
12
14
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13
15
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const scaleAiGetBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- batch_name: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>;
17
+ declare const scaleAiGetBatch: AppAction<typeof ScaleAiGetBatchInput, typeof ScaleAiGetBatchOutput, typeof scaleAi.credential>;
30
18
  //#endregion
31
19
  export { scaleAiGetBatch };
32
20
  //# sourceMappingURL=get-batch.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch.d.mts","names":[],"sources":["../../src/actions/get-batch.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cASrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"get-batch.d.mts","names":[],"sources":["../../src/actions/get-batch.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cASrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const scaleAiGetBatch = action("SCALE_AI_GET_BATCH", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-batch.mjs","names":[],"sources":["../../src/actions/get-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetBatchInput = z.object({\n batch_name: z.string().describe(\"The batch identifier to retrieve\"),\n}).describe(\"Request model for retrieving a batch by name.\");\nexport const ScaleAiGetBatchOutput = z.object({\n name: z.string().describe(\"Identifier for the batch\").nullable().optional(),\n status: z.string().describe(\"Current batch state (e.g., 'in_progress')\").nullable().optional(),\n project: z.string().describe(\"The project name associated with the batch\").nullable().optional(),\n callback: z.string().describe(\"The callback URL or email address configured for task completion notifications\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs associated with the batch\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation\").nullable().optional(),\n}).passthrough().describe(\"Response model for batch details.\");\n\nexport const scaleAiGetBatch = action(\"SCALE_AI_GET_BATCH\", {\n slug: \"scale_ai-get-batch\",\n name: \"Get Batch\",\n description: \"Tool to retrieve the details of a batch with the specified name. Use when you need to check the status or configuration of an existing batch.\",\n input: ScaleAiGetBatchInput,\n output: ScaleAiGetBatchOutput,\n});\n"],"mappings":";;AAgBA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBkC,EAAE,OAAO,EAC3C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,+CAcH;CACP,QAdmC,EAAE,OAAO;EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-batch.mjs","names":[],"sources":["../../src/actions/get-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetBatchInput = z.object({\n batch_name: z.string().describe(\"The batch identifier to retrieve\"),\n}).describe(\"Request model for retrieving a batch by name.\");\nexport const ScaleAiGetBatchOutput = z.object({\n name: z.string().describe(\"Identifier for the batch\").nullable().optional(),\n status: z.string().describe(\"Current batch state (e.g., 'in_progress')\").nullable().optional(),\n project: z.string().describe(\"The project name associated with the batch\").nullable().optional(),\n callback: z.string().describe(\"The callback URL or email address configured for task completion notifications\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs associated with the batch\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation\").nullable().optional(),\n}).passthrough().describe(\"Response model for batch details.\");\n\nexport const scaleAiGetBatch: AppAction<\n typeof ScaleAiGetBatchInput,\n typeof ScaleAiGetBatchOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_BATCH\", {\n slug: \"scale_ai-get-batch\",\n name: \"Get Batch\",\n description: \"Tool to retrieve the details of a batch with the specified name. Use when you need to check the status or configuration of an existing batch.\",\n input: ScaleAiGetBatchInput,\n output: ScaleAiGetBatchOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,kBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBkC,EAAE,OAAO,EAC3C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,+CAkBH;CACP,QAlBmC,EAAE,OAAO;EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-fixless-audits.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-fixless-audits.cjs","names":["z","action"],"sources":["../../src/actions/get-fixless-audits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetFixlessAuditsInput = z.object({\n id: z.string().describe(\"Identifier for the specific audit. At least one of task_id or id must be provided.\").optional(),\n task_id: z.string().describe(\"Identifier for the task being audited. At least one of task_id or id must be provided.\").optional(),\n}).describe(\"Request model for retrieving fixless audits. At least one of task_id or id must be provided.\");\nconst ScaleAiGetFixlessAudits_FeedbackItemSchema = z.object({\n type: z.string().describe(\"Type of feedback item\").nullable().optional(),\n scope: z.string().describe(\"Scope of the feedback\").nullable().optional(),\n state: z.string().describe(\"State of the feedback item\").nullable().optional(),\n category: z.string().describe(\"Category of the feedback\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the feedback item\").nullable().optional(),\n severity: z.string().describe(\"Severity level of the feedback\").nullable().optional(),\n description: z.string().describe(\"Description of the feedback\").nullable().optional(),\n}).passthrough().describe(\"Feedback item within an audit.\");\nconst ScaleAiGetFixlessAudits_TargetResponseSchema = z.object({\n url: z.string().describe(\"URL pointing to audited task response\").nullable().optional(),\n}).passthrough().describe(\"Target response containing URL to audited task response.\");\nconst ScaleAiGetFixlessAudits_FixlessAuditSchema = z.object({\n id: z.string().describe(\"Unique audit identifier\").nullable(),\n srn: z.string().describe(\"Scale Resource Name in format 'srn:scale:avcv:audit:{{id}}'\").nullable().optional(),\n type: z.string().describe(\"Type of audit, typically 'fixless'\").nullable().optional(),\n active: z.boolean().describe(\"Indicates if this is the latest audit for the task\").nullable().optional(),\n result: z.string().describe(\"Audit outcome - 'accepted' or 'rejected'\").nullable().optional(),\n source: z.string().describe(\"Origin - 'api', 'lidarlite', or 'classic'\").nullable().optional(),\n task_id: z.string().describe(\"Associated task identifier\").nullable().optional(),\n comments: z.string().describe(\"Optional auditor comments\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs for tracking\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation\").nullable().optional(),\n created_by: z.string().describe(\"User who created the audit\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n feedback_items: z.array(ScaleAiGetFixlessAudits_FeedbackItemSchema).describe(\"Array of feedback item objects\").nullable().optional(),\n target_response: ScaleAiGetFixlessAudits_TargetResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a single fixless audit object.\");\nexport const ScaleAiGetFixlessAuditsOutput = z.object({\n audits: z.array(ScaleAiGetFixlessAudits_FixlessAuditSchema).describe(\"List of fixless audit objects\"),\n}).passthrough().describe(\"Response model for retrieving fixless audits. Returns an array of FixlessAudit objects.\");\n\nexport const scaleAiGetFixlessAudits = action(\"SCALE_AI_GET_FIXLESS_AUDITS\", {\n slug: \"scale_ai-get-fixless-audits\",\n name: \"Get Fixless Audits\",\n description: \"Tool to retrieve fixless audits by task ID or audit ID. Use when you need to fetch audit information for quality assessment. At least one of task_id or id must be provided.\",\n input: ScaleAiGetFixlessAuditsInput,\n output: ScaleAiGetFixlessAuditsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,8FAA8F;A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CAAgCA,IAAAA,EAAE,OAAO,EACpD,QAAQA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,+BAA+B,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yFAAyF;AAEnH,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-fixless-audits.cjs","names":["z","action"],"sources":["../../src/actions/get-fixless-audits.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetFixlessAuditsInput = z.object({\n id: z.string().describe(\"Identifier for the specific audit. At least one of task_id or id must be provided.\").optional(),\n task_id: z.string().describe(\"Identifier for the task being audited. At least one of task_id or id must be provided.\").optional(),\n}).describe(\"Request model for retrieving fixless audits. At least one of task_id or id must be provided.\");\nconst ScaleAiGetFixlessAudits_FeedbackItemSchema = z.object({\n type: z.string().describe(\"Type of feedback item\").nullable().optional(),\n scope: z.string().describe(\"Scope of the feedback\").nullable().optional(),\n state: z.string().describe(\"State of the feedback item\").nullable().optional(),\n category: z.string().describe(\"Category of the feedback\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the feedback item\").nullable().optional(),\n severity: z.string().describe(\"Severity level of the feedback\").nullable().optional(),\n description: z.string().describe(\"Description of the feedback\").nullable().optional(),\n}).passthrough().describe(\"Feedback item within an audit.\");\nconst ScaleAiGetFixlessAudits_TargetResponseSchema = z.object({\n url: z.string().describe(\"URL pointing to audited task response\").nullable().optional(),\n}).passthrough().describe(\"Target response containing URL to audited task response.\");\nconst ScaleAiGetFixlessAudits_FixlessAuditSchema = z.object({\n id: z.string().describe(\"Unique audit identifier\").nullable(),\n srn: z.string().describe(\"Scale Resource Name in format 'srn:scale:avcv:audit:{{id}}'\").nullable().optional(),\n type: z.string().describe(\"Type of audit, typically 'fixless'\").nullable().optional(),\n active: z.boolean().describe(\"Indicates if this is the latest audit for the task\").nullable().optional(),\n result: z.string().describe(\"Audit outcome - 'accepted' or 'rejected'\").nullable().optional(),\n source: z.string().describe(\"Origin - 'api', 'lidarlite', or 'classic'\").nullable().optional(),\n task_id: z.string().describe(\"Associated task identifier\").nullable().optional(),\n comments: z.string().describe(\"Optional auditor comments\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs for tracking\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation\").nullable().optional(),\n created_by: z.string().describe(\"User who created the audit\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n feedback_items: z.array(ScaleAiGetFixlessAudits_FeedbackItemSchema).describe(\"Array of feedback item objects\").nullable().optional(),\n target_response: ScaleAiGetFixlessAudits_TargetResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a single fixless audit object.\");\nexport const ScaleAiGetFixlessAuditsOutput = z.object({\n audits: z.array(ScaleAiGetFixlessAudits_FixlessAuditSchema).describe(\"List of fixless audit objects\"),\n}).passthrough().describe(\"Response model for retrieving fixless audits. Returns an array of FixlessAudit objects.\");\n\nexport const scaleAiGetFixlessAudits: AppAction<\n typeof ScaleAiGetFixlessAuditsInput,\n typeof ScaleAiGetFixlessAuditsOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_FIXLESS_AUDITS\", {\n slug: \"scale_ai-get-fixless-audits\",\n name: \"Get Fixless Audits\",\n description: \"Tool to retrieve fixless audits by task ID or audit ID. Use when you need to fetch audit information for quality assessment. At least one of task_id or id must be provided.\",\n input: ScaleAiGetFixlessAuditsInput,\n output: ScaleAiGetFixlessAuditsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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,SAAS,CAAC,CAAC,SAAS;CACnI,iBAAiB,6CAA6C,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,QAAQA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,+BAA+B,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yFAAyF;AAEnH,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { scaleAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-fixless-audits.d.ts
@@ -33,22 +35,7 @@ declare const ScaleAiGetFixlessAuditsOutput: z.ZodObject<{
33
35
  }, z.core.$loose>>>;
34
36
  }, z.core.$loose>>;
35
37
  }, z.core.$loose>;
36
- declare const scaleAiGetFixlessAudits: import("@keystrokehq/action").WorkflowActionDefinition<{
37
- id?: string | undefined;
38
- task_id?: string | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
40
- connectionId: z.ZodString;
41
- entityId: z.ZodString;
42
- instanceId: z.ZodString;
43
- }, z.core.$strip>, z.ZodObject<{
44
- generic_api_key: z.ZodString;
45
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
46
- connectionId: z.ZodString;
47
- entityId: z.ZodString;
48
- instanceId: z.ZodString;
49
- }, z.core.$strip>, z.ZodObject<{
50
- generic_api_key: z.ZodString;
51
- }, z.core.$strip>>]>;
38
+ declare const scaleAiGetFixlessAudits: AppAction<typeof ScaleAiGetFixlessAuditsInput, typeof ScaleAiGetFixlessAuditsOutput, typeof scaleAi.credential>;
52
39
  //#endregion
53
40
  export { scaleAiGetFixlessAudits };
54
41
  //# sourceMappingURL=get-fixless-audits.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-fixless-audits.d.cts","names":[],"sources":["../../src/actions/get-fixless-audits.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAgC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-fixless-audits.d.cts","names":[],"sources":["../../src/actions/get-fixless-audits.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAgC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { scaleAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-fixless-audits.d.ts
@@ -33,22 +35,7 @@ declare const ScaleAiGetFixlessAuditsOutput: z.ZodObject<{
33
35
  }, z.core.$loose>>>;
34
36
  }, z.core.$loose>>;
35
37
  }, z.core.$loose>;
36
- declare const scaleAiGetFixlessAudits: import("@keystrokehq/action").WorkflowActionDefinition<{
37
- id?: string | undefined;
38
- task_id?: string | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
40
- connectionId: z.ZodString;
41
- entityId: z.ZodString;
42
- instanceId: z.ZodString;
43
- }, z.core.$strip>, z.ZodObject<{
44
- generic_api_key: z.ZodString;
45
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scale_ai", z.ZodObject<{
46
- connectionId: z.ZodString;
47
- entityId: z.ZodString;
48
- instanceId: z.ZodString;
49
- }, z.core.$strip>, z.ZodObject<{
50
- generic_api_key: z.ZodString;
51
- }, z.core.$strip>>]>;
38
+ declare const scaleAiGetFixlessAudits: AppAction<typeof ScaleAiGetFixlessAuditsInput, typeof ScaleAiGetFixlessAuditsOutput, typeof scaleAi.credential>;
52
39
  //#endregion
53
40
  export { scaleAiGetFixlessAudits };
54
41
  //# sourceMappingURL=get-fixless-audits.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-fixless-audits.d.mts","names":[],"sources":["../../src/actions/get-fixless-audits.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAgC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-fixless-audits.d.mts","names":[],"sources":["../../src/actions/get-fixless-audits.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAgC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-fixless-audits.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-fixless-audits.mjs","names":[],"sources":["../../src/actions/get-fixless-audits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetFixlessAuditsInput = z.object({\n id: z.string().describe(\"Identifier for the specific audit. At least one of task_id or id must be provided.\").optional(),\n task_id: z.string().describe(\"Identifier for the task being audited. At least one of task_id or id must be provided.\").optional(),\n}).describe(\"Request model for retrieving fixless audits. At least one of task_id or id must be provided.\");\nconst ScaleAiGetFixlessAudits_FeedbackItemSchema = z.object({\n type: z.string().describe(\"Type of feedback item\").nullable().optional(),\n scope: z.string().describe(\"Scope of the feedback\").nullable().optional(),\n state: z.string().describe(\"State of the feedback item\").nullable().optional(),\n category: z.string().describe(\"Category of the feedback\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the feedback item\").nullable().optional(),\n severity: z.string().describe(\"Severity level of the feedback\").nullable().optional(),\n description: z.string().describe(\"Description of the feedback\").nullable().optional(),\n}).passthrough().describe(\"Feedback item within an audit.\");\nconst ScaleAiGetFixlessAudits_TargetResponseSchema = z.object({\n url: z.string().describe(\"URL pointing to audited task response\").nullable().optional(),\n}).passthrough().describe(\"Target response containing URL to audited task response.\");\nconst ScaleAiGetFixlessAudits_FixlessAuditSchema = z.object({\n id: z.string().describe(\"Unique audit identifier\").nullable(),\n srn: z.string().describe(\"Scale Resource Name in format 'srn:scale:avcv:audit:{{id}}'\").nullable().optional(),\n type: z.string().describe(\"Type of audit, typically 'fixless'\").nullable().optional(),\n active: z.boolean().describe(\"Indicates if this is the latest audit for the task\").nullable().optional(),\n result: z.string().describe(\"Audit outcome - 'accepted' or 'rejected'\").nullable().optional(),\n source: z.string().describe(\"Origin - 'api', 'lidarlite', or 'classic'\").nullable().optional(),\n task_id: z.string().describe(\"Associated task identifier\").nullable().optional(),\n comments: z.string().describe(\"Optional auditor comments\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs for tracking\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation\").nullable().optional(),\n created_by: z.string().describe(\"User who created the audit\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n feedback_items: z.array(ScaleAiGetFixlessAudits_FeedbackItemSchema).describe(\"Array of feedback item objects\").nullable().optional(),\n target_response: ScaleAiGetFixlessAudits_TargetResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a single fixless audit object.\");\nexport const ScaleAiGetFixlessAuditsOutput = z.object({\n audits: z.array(ScaleAiGetFixlessAudits_FixlessAuditSchema).describe(\"List of fixless audit objects\"),\n}).passthrough().describe(\"Response model for retrieving fixless audits. Returns an array of FixlessAudit objects.\");\n\nexport const scaleAiGetFixlessAudits = action(\"SCALE_AI_GET_FIXLESS_AUDITS\", {\n slug: \"scale_ai-get-fixless-audits\",\n name: \"Get Fixless Audits\",\n description: \"Tool to retrieve fixless audits by task ID or audit ID. Use when you need to fetch audit information for quality assessment. At least one of task_id or id must be provided.\",\n input: ScaleAiGetFixlessAuditsInput,\n output: ScaleAiGetFixlessAuditsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACvH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;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S,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,gBAAgB,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,iBAAiB,6CAA6C,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,+BAA+B,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yFAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-fixless-audits.mjs","names":[],"sources":["../../src/actions/get-fixless-audits.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetFixlessAuditsInput = z.object({\n id: z.string().describe(\"Identifier for the specific audit. At least one of task_id or id must be provided.\").optional(),\n task_id: z.string().describe(\"Identifier for the task being audited. At least one of task_id or id must be provided.\").optional(),\n}).describe(\"Request model for retrieving fixless audits. At least one of task_id or id must be provided.\");\nconst ScaleAiGetFixlessAudits_FeedbackItemSchema = z.object({\n type: z.string().describe(\"Type of feedback item\").nullable().optional(),\n scope: z.string().describe(\"Scope of the feedback\").nullable().optional(),\n state: z.string().describe(\"State of the feedback item\").nullable().optional(),\n category: z.string().describe(\"Category of the feedback\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the feedback item\").nullable().optional(),\n severity: z.string().describe(\"Severity level of the feedback\").nullable().optional(),\n description: z.string().describe(\"Description of the feedback\").nullable().optional(),\n}).passthrough().describe(\"Feedback item within an audit.\");\nconst ScaleAiGetFixlessAudits_TargetResponseSchema = z.object({\n url: z.string().describe(\"URL pointing to audited task response\").nullable().optional(),\n}).passthrough().describe(\"Target response containing URL to audited task response.\");\nconst ScaleAiGetFixlessAudits_FixlessAuditSchema = z.object({\n id: z.string().describe(\"Unique audit identifier\").nullable(),\n srn: z.string().describe(\"Scale Resource Name in format 'srn:scale:avcv:audit:{{id}}'\").nullable().optional(),\n type: z.string().describe(\"Type of audit, typically 'fixless'\").nullable().optional(),\n active: z.boolean().describe(\"Indicates if this is the latest audit for the task\").nullable().optional(),\n result: z.string().describe(\"Audit outcome - 'accepted' or 'rejected'\").nullable().optional(),\n source: z.string().describe(\"Origin - 'api', 'lidarlite', or 'classic'\").nullable().optional(),\n task_id: z.string().describe(\"Associated task identifier\").nullable().optional(),\n comments: z.string().describe(\"Optional auditor comments\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs for tracking\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation\").nullable().optional(),\n created_by: z.string().describe(\"User who created the audit\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n feedback_items: z.array(ScaleAiGetFixlessAudits_FeedbackItemSchema).describe(\"Array of feedback item objects\").nullable().optional(),\n target_response: ScaleAiGetFixlessAudits_TargetResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a single fixless audit object.\");\nexport const ScaleAiGetFixlessAuditsOutput = z.object({\n audits: z.array(ScaleAiGetFixlessAudits_FixlessAuditSchema).describe(\"List of fixless audit objects\"),\n}).passthrough().describe(\"Response model for retrieving fixless audits. Returns an array of FixlessAudit objects.\");\n\nexport const scaleAiGetFixlessAudits: AppAction<\n typeof ScaleAiGetFixlessAuditsInput,\n typeof ScaleAiGetFixlessAuditsOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_FIXLESS_AUDITS\", {\n slug: \"scale_ai-get-fixless-audits\",\n name: \"Get Fixless Audits\",\n description: \"Tool to retrieve fixless audits by task ID or audit ID. Use when you need to fetch audit information for quality assessment. At least one of task_id or id must be provided.\",\n input: ScaleAiGetFixlessAuditsInput,\n output: ScaleAiGetFixlessAuditsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACvH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,+CAA+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,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,gBAAgB,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,iBAAiB,6CAA6C,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO,EACpD,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,+BAA+B,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yFAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-project.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-project.cjs","names":["z","action"],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetProjectInput = z.object({\n name: z.string().describe(\"The unique project identifier to retrieve. This is the project name.\"),\n}).describe(\"Request model for retrieving a specific project by its identifier.\");\nconst ScaleAiGetProject_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable(),\n}).passthrough().describe(\"Historical parameter version for a project.\");\nexport const ScaleAiGetProjectOutput = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation', 'audiotranscription').\").nullable(),\n created_at: z.string().describe(\"ISO timestamp of project creation.\").nullable(),\n param_history: z.array(ScaleAiGetProject_ParamHistoryItemSchema).describe(\"Historical record of project parameters.\"),\n}).passthrough().describe(\"Response model for project details.\");\n\nexport const scaleAiGetProject = action(\"SCALE_AI_GET_PROJECT\", {\n slug: \"scale_ai-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve details about a specific Scale AI project using its unique identifier. Use when you need to get project metadata including type, name, parameter history, and creation timestamp.\",\n input: ScaleAiGetProjectInput,\n output: ScaleAiGetProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EAClG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,eAAeA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0CAA0C;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-project.cjs","names":["z","action"],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetProjectInput = z.object({\n name: z.string().describe(\"The unique project identifier to retrieve. This is the project name.\"),\n}).describe(\"Request model for retrieving a specific project by its identifier.\");\nconst ScaleAiGetProject_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable(),\n}).passthrough().describe(\"Historical parameter version for a project.\");\nexport const ScaleAiGetProjectOutput = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation', 'audiotranscription').\").nullable(),\n created_at: z.string().describe(\"ISO timestamp of project creation.\").nullable(),\n param_history: z.array(ScaleAiGetProject_ParamHistoryItemSchema).describe(\"Historical record of project parameters.\"),\n}).passthrough().describe(\"Response model for project details.\");\n\nexport const scaleAiGetProject: AppAction<\n typeof ScaleAiGetProjectInput,\n typeof ScaleAiGetProjectOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_PROJECT\", {\n slug: \"scale_ai-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve details about a specific Scale AI project using its unique identifier. Use when you need to get project metadata including type, name, parameter history, and creation timestamp.\",\n input: ScaleAiGetProjectInput,\n output: ScaleAiGetProjectOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EAClG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,eAAeA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0CAA0C;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,oBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}