@qawolf/api-contracts 0.140.0 → 0.142.0

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 (316) hide show
  1. package/dist/v1/activity/wait.d.ts +8 -8
  2. package/dist/v1/activity/wait.d.ts.map +1 -1
  3. package/dist/v1/agent/get.d.ts +5 -5
  4. package/dist/v1/agent/get.d.ts.map +1 -1
  5. package/dist/v1/agent/send.d.ts +4 -4
  6. package/dist/v1/agent/send.d.ts.map +1 -1
  7. package/dist/v1/agent/status.d.ts +3 -3
  8. package/dist/v1/agent/status.d.ts.map +1 -1
  9. package/dist/v1/agent/wait.d.ts +1 -1
  10. package/dist/v1/attempt/get.d.ts +40 -38
  11. package/dist/v1/attempt/get.d.ts.map +1 -1
  12. package/dist/v1/attempt/get.js +4 -0
  13. package/dist/v1/attempt/get.js.map +1 -1
  14. package/dist/v1/build/create.d.ts +1 -1
  15. package/dist/v1/build/create.d.ts.map +1 -1
  16. package/dist/v1/build/delete.d.ts +1 -1
  17. package/dist/v1/build/delete.d.ts.map +1 -1
  18. package/dist/v1/build/get.d.ts +1 -1
  19. package/dist/v1/build/get.d.ts.map +1 -1
  20. package/dist/v1/build/index.d.ts +4 -4
  21. package/dist/v1/build/index.d.ts.map +1 -1
  22. package/dist/v1/build/list.d.ts +1 -1
  23. package/dist/v1/build/list.d.ts.map +1 -1
  24. package/dist/v1/build/requestDownload.d.ts.map +1 -1
  25. package/dist/v1/build/requestUpload.d.ts.map +1 -1
  26. package/dist/v1/build/resource.d.ts +1 -1
  27. package/dist/v1/build/resource.d.ts.map +1 -1
  28. package/dist/v1/codeHostIntegration/find.d.ts +1 -1
  29. package/dist/v1/codeHostIntegration/find.d.ts.map +1 -1
  30. package/dist/v1/codeHostIntegration/findForRepository.d.ts +1 -1
  31. package/dist/v1/codeHostIntegration/findForRepository.d.ts.map +1 -1
  32. package/dist/v1/codeHostIntegration/index.d.ts +3 -3
  33. package/dist/v1/codeHostIntegration/index.d.ts.map +1 -1
  34. package/dist/v1/codeHostIntegration/listRepositories.d.ts +1 -1
  35. package/dist/v1/codeHostIntegration/listRepositories.d.ts.map +1 -1
  36. package/dist/v1/codeHostIntegration/resource.d.ts +2 -2
  37. package/dist/v1/deployment/find.d.ts +4 -4
  38. package/dist/v1/deployment/find.d.ts.map +1 -1
  39. package/dist/v1/deployment/index.d.ts +21 -21
  40. package/dist/v1/deployment/index.d.ts.map +1 -1
  41. package/dist/v1/deployment/listTriggerEvaluations.d.ts +7 -7
  42. package/dist/v1/deployment/listTriggerEvaluations.d.ts.map +1 -1
  43. package/dist/v1/deployment/reportStatus.d.ts +10 -10
  44. package/dist/v1/deployment/reportStatus.d.ts.map +1 -1
  45. package/dist/v1/deployment/reportStatusChanges.d.ts +5 -5
  46. package/dist/v1/deployment/resource.d.ts +4 -4
  47. package/dist/v1/deployment/resource.d.ts.map +1 -1
  48. package/dist/v1/deployment/verdict.d.ts +15 -15
  49. package/dist/v1/deployment/verdictParts.d.ts +5 -5
  50. package/dist/v1/email/find.d.ts +1 -1
  51. package/dist/v1/email/find.d.ts.map +1 -1
  52. package/dist/v1/email/get.d.ts +16 -16
  53. package/dist/v1/email/get.d.ts.map +1 -1
  54. package/dist/v1/email/getAttachment.d.ts +1 -1
  55. package/dist/v1/email/getAttachment.d.ts.map +1 -1
  56. package/dist/v1/email/listAddresses.d.ts +1 -1
  57. package/dist/v1/email/listAddresses.d.ts.map +1 -1
  58. package/dist/v1/email/registerAddress.d.ts +1 -1
  59. package/dist/v1/email/registerAddress.d.ts.map +1 -1
  60. package/dist/v1/email/resource.d.ts +17 -17
  61. package/dist/v1/email/resource.d.ts.map +1 -1
  62. package/dist/v1/email/send.d.ts +1 -1
  63. package/dist/v1/email/send.d.ts.map +1 -1
  64. package/dist/v1/environment/create.d.ts +3 -3
  65. package/dist/v1/environment/create.d.ts.map +1 -1
  66. package/dist/v1/environment/deleteVariable.d.ts.map +1 -1
  67. package/dist/v1/environment/find.d.ts +4 -4
  68. package/dist/v1/environment/find.d.ts.map +1 -1
  69. package/dist/v1/environment/getVariable.d.ts.map +1 -1
  70. package/dist/v1/environment/index.d.ts +4 -4
  71. package/dist/v1/environment/index.d.ts.map +1 -1
  72. package/dist/v1/environment/promote.d.ts +14 -14
  73. package/dist/v1/environment/promote.d.ts.map +1 -1
  74. package/dist/v1/environment/resource.d.ts +3 -3
  75. package/dist/v1/environment/resource.d.ts.map +1 -1
  76. package/dist/v1/environment/terminate.d.ts +3 -3
  77. package/dist/v1/environment/terminate.d.ts.map +1 -1
  78. package/dist/v1/environment/update.d.ts +3 -3
  79. package/dist/v1/environment/update.d.ts.map +1 -1
  80. package/dist/v1/extensibleValue.d.ts.map +1 -1
  81. package/dist/v1/file/index.d.ts.map +1 -1
  82. package/dist/v1/file/path.d.ts.map +1 -1
  83. package/dist/v1/file/requestDownload.d.ts.map +1 -1
  84. package/dist/v1/file/requestUpload.d.ts.map +1 -1
  85. package/dist/v1/flow/addTag.d.ts +1 -1
  86. package/dist/v1/flow/addTag.d.ts.map +1 -1
  87. package/dist/v1/flow/getHistory.d.ts +6 -6
  88. package/dist/v1/flow/getHistory.d.ts.map +1 -1
  89. package/dist/v1/flow/index.d.ts +2 -2
  90. package/dist/v1/flow/index.d.ts.map +1 -1
  91. package/dist/v1/flow/readiness.d.ts +1 -1
  92. package/dist/v1/flow/removeTag.d.ts +1 -1
  93. package/dist/v1/flow/removeTag.d.ts.map +1 -1
  94. package/dist/v1/flow/skippedFlows.d.ts.map +1 -1
  95. package/dist/v1/flow/update.d.ts +3 -3
  96. package/dist/v1/flow/update.d.ts.map +1 -1
  97. package/dist/v1/ids.d.ts.map +1 -1
  98. package/dist/v1/index.d.ts +3839 -2657
  99. package/dist/v1/index.d.ts.map +1 -1
  100. package/dist/v1/investigation/finding.d.ts +3 -3
  101. package/dist/v1/investigation/finding.d.ts.map +1 -1
  102. package/dist/v1/investigation/get.d.ts +18 -8
  103. package/dist/v1/investigation/get.d.ts.map +1 -1
  104. package/dist/v1/investigation/get.js +12 -0
  105. package/dist/v1/investigation/get.js.map +1 -1
  106. package/dist/v1/investigation/index.d.ts +22 -12
  107. package/dist/v1/investigation/index.d.ts.map +1 -1
  108. package/dist/v1/investigation/question/answer.d.ts +1 -1
  109. package/dist/v1/investigation/question/answer.d.ts.map +1 -1
  110. package/dist/v1/investigation/question/find.d.ts +3 -3
  111. package/dist/v1/investigation/question/find.d.ts.map +1 -1
  112. package/dist/v1/investigation/question/index.d.ts +4 -4
  113. package/dist/v1/investigation/question/index.d.ts.map +1 -1
  114. package/dist/v1/issue/addFlows.d.ts +7 -7
  115. package/dist/v1/issue/addFlows.d.ts.map +1 -1
  116. package/dist/v1/issue/attachFiles.d.ts +7 -7
  117. package/dist/v1/issue/attachFiles.d.ts.map +1 -1
  118. package/dist/v1/issue/comment.d.ts +1 -1
  119. package/dist/v1/issue/comment.d.ts.map +1 -1
  120. package/dist/v1/issue/commentResource.d.ts +1 -1
  121. package/dist/v1/issue/commentResource.d.ts.map +1 -1
  122. package/dist/v1/issue/contracts.d.ts +199 -100
  123. package/dist/v1/issue/contracts.d.ts.map +1 -1
  124. package/dist/v1/issue/contracts.js +6 -0
  125. package/dist/v1/issue/contracts.js.map +1 -1
  126. package/dist/v1/issue/create.d.ts +28 -28
  127. package/dist/v1/issue/create.d.ts.map +1 -1
  128. package/dist/v1/issue/index.d.ts +32 -32
  129. package/dist/v1/issue/index.d.ts.map +1 -1
  130. package/dist/v1/issue/listActivity.d.ts +17 -17
  131. package/dist/v1/issue/listActivity.d.ts.map +1 -1
  132. package/dist/v1/issue/listComments.d.ts +1 -1
  133. package/dist/v1/issue/listComments.d.ts.map +1 -1
  134. package/dist/v1/issue/markFixReadyForReview.d.ts +33 -0
  135. package/dist/v1/issue/markFixReadyForReview.d.ts.map +1 -0
  136. package/dist/v1/issue/markFixReadyForReview.js +36 -0
  137. package/dist/v1/issue/markFixReadyForReview.js.map +1 -0
  138. package/dist/v1/issue/recentFailures.d.ts.map +1 -1
  139. package/dist/v1/issue/removeFlows.d.ts +7 -7
  140. package/dist/v1/issue/removeFlows.d.ts.map +1 -1
  141. package/dist/v1/issue/requestFix.d.ts +42 -0
  142. package/dist/v1/issue/requestFix.d.ts.map +1 -0
  143. package/dist/v1/issue/requestFix.js +52 -0
  144. package/dist/v1/issue/requestFix.js.map +1 -0
  145. package/dist/v1/issue/retryFix.d.ts +40 -0
  146. package/dist/v1/issue/retryFix.d.ts.map +1 -0
  147. package/dist/v1/issue/retryFix.js +41 -0
  148. package/dist/v1/issue/retryFix.js.map +1 -0
  149. package/dist/v1/issue/update.d.ts +12 -12
  150. package/dist/v1/issue/update.d.ts.map +1 -1
  151. package/dist/v1/legacyTrigger/find.d.ts +22 -22
  152. package/dist/v1/legacyTrigger/find.d.ts.map +1 -1
  153. package/dist/v1/legacyTrigger/index.d.ts +22 -22
  154. package/dist/v1/legacyTrigger/index.d.ts.map +1 -1
  155. package/dist/v1/legacyTrigger/lifecycle.d.ts.map +1 -1
  156. package/dist/v1/legacyTrigger/resource.d.ts +21 -21
  157. package/dist/v1/legacyTrigger/resource.d.ts.map +1 -1
  158. package/dist/v1/mcpServer/connect.d.ts.map +1 -1
  159. package/dist/v1/narratedRecording/get.d.ts +1 -1
  160. package/dist/v1/narratedRecording/get.d.ts.map +1 -1
  161. package/dist/v1/pagination.d.ts.map +1 -1
  162. package/dist/v1/promotion/answerQuestions.d.ts +14 -14
  163. package/dist/v1/promotion/answerQuestions.d.ts.map +1 -1
  164. package/dist/v1/promotion/askQuestion.d.ts +4 -4
  165. package/dist/v1/promotion/askQuestion.d.ts.map +1 -1
  166. package/dist/v1/promotion/decision.d.ts +7 -7
  167. package/dist/v1/promotion/decision.d.ts.map +1 -1
  168. package/dist/v1/promotion/find.d.ts +18 -18
  169. package/dist/v1/promotion/find.d.ts.map +1 -1
  170. package/dist/v1/promotion/get.d.ts +16 -16
  171. package/dist/v1/promotion/get.d.ts.map +1 -1
  172. package/dist/v1/promotion/index.d.ts +85 -85
  173. package/dist/v1/promotion/index.d.ts.map +1 -1
  174. package/dist/v1/promotion/needsPerson.d.ts +8 -8
  175. package/dist/v1/promotion/question.d.ts +4 -4
  176. package/dist/v1/promotion/question.d.ts.map +1 -1
  177. package/dist/v1/promotion/reportDecision.d.ts +19 -19
  178. package/dist/v1/promotion/reportDecision.d.ts.map +1 -1
  179. package/dist/v1/promotion/resolve.d.ts +14 -14
  180. package/dist/v1/promotion/resolve.d.ts.map +1 -1
  181. package/dist/v1/promotion/resource.d.ts +18 -18
  182. package/dist/v1/promotion/resource.d.ts.map +1 -1
  183. package/dist/v1/promotion/validationRun.d.ts +2 -2
  184. package/dist/v1/promotion/validationRun.d.ts.map +1 -1
  185. package/dist/v1/resource.js.map +1 -1
  186. package/dist/v1/run/acceptScreenshotBaseline.d.ts.map +1 -1
  187. package/dist/v1/run/diagnose.d.ts +7 -7
  188. package/dist/v1/run/diagnose.d.ts.map +1 -1
  189. package/dist/v1/run/find.d.ts +7 -7
  190. package/dist/v1/run/find.d.ts.map +1 -1
  191. package/dist/v1/run/flowAttempts.d.ts +10 -7
  192. package/dist/v1/run/flowAttempts.d.ts.map +1 -1
  193. package/dist/v1/run/flowAttempts.js +4 -0
  194. package/dist/v1/run/flowAttempts.js.map +1 -1
  195. package/dist/v1/run/flowFailure.d.ts +1 -1
  196. package/dist/v1/run/flowFailure.d.ts.map +1 -1
  197. package/dist/v1/run/flowSelection.d.ts.map +1 -1
  198. package/dist/v1/run/get.d.ts +47 -41
  199. package/dist/v1/run/get.d.ts.map +1 -1
  200. package/dist/v1/run/index.d.ts +2 -2
  201. package/dist/v1/run/index.d.ts.map +1 -1
  202. package/dist/v1/run/listScreenshotComparisons.d.ts +3 -3
  203. package/dist/v1/run/listScreenshotComparisons.d.ts.map +1 -1
  204. package/dist/v1/run/optOutOfInvestigation.d.ts +1 -1
  205. package/dist/v1/run/optOutOfInvestigation.d.ts.map +1 -1
  206. package/dist/v1/run/reattempt.d.ts +1 -1
  207. package/dist/v1/run/reattempt.d.ts.map +1 -1
  208. package/dist/v1/run/restoreScreenshotBaseline.d.ts.map +1 -1
  209. package/dist/v1/run/stop.d.ts +1 -1
  210. package/dist/v1/run/stop.d.ts.map +1 -1
  211. package/dist/v1/run/summary.d.ts +2 -2
  212. package/dist/v1/run/summary.d.ts.map +1 -1
  213. package/dist/v1/runEventsWebhook/index.d.ts +20 -20
  214. package/dist/v1/runner/actionSequence.d.ts.map +1 -1
  215. package/dist/v1/runner/browserAction.d.ts +1 -1
  216. package/dist/v1/runner/catalog.d.ts +233 -233
  217. package/dist/v1/runner/catalog.d.ts.map +1 -1
  218. package/dist/v1/runner/evaluateSnippet.d.ts +2 -2
  219. package/dist/v1/runner/evaluateSnippet.d.ts.map +1 -1
  220. package/dist/v1/runner/files.d.ts.map +1 -1
  221. package/dist/v1/runner/get.d.ts.map +1 -1
  222. package/dist/v1/runner/highlightSelector.d.ts +3 -3
  223. package/dist/v1/runner/highlightSelector.d.ts.map +1 -1
  224. package/dist/v1/runner/identity.d.ts +6 -6
  225. package/dist/v1/runner/importPackage.d.ts +1 -1
  226. package/dist/v1/runner/importPackage.d.ts.map +1 -1
  227. package/dist/v1/runner/index.d.ts +6 -6
  228. package/dist/v1/runner/index.d.ts.map +1 -1
  229. package/dist/v1/runner/inspect.d.ts +1 -1
  230. package/dist/v1/runner/inspect.d.ts.map +1 -1
  231. package/dist/v1/runner/inspectMobile.d.ts +45 -45
  232. package/dist/v1/runner/inspectMobile.d.ts.map +1 -1
  233. package/dist/v1/runner/inspectMobileShapes.d.ts +5 -5
  234. package/dist/v1/runner/journal.d.ts.map +1 -1
  235. package/dist/v1/runner/list.d.ts +3 -3
  236. package/dist/v1/runner/list.d.ts.map +1 -1
  237. package/dist/v1/runner/outcome.d.ts +1 -1
  238. package/dist/v1/runner/performAction.d.ts +4 -4
  239. package/dist/v1/runner/performAction.d.ts.map +1 -1
  240. package/dist/v1/runner/performActions.d.ts +14 -14
  241. package/dist/v1/runner/performActions.d.ts.map +1 -1
  242. package/dist/v1/runner/performActionsSteps.d.ts +8 -8
  243. package/dist/v1/runner/promoteSnapshot.d.ts +1 -1
  244. package/dist/v1/runner/promoteSnapshot.d.ts.map +1 -1
  245. package/dist/v1/runner/readJournal.d.ts.map +1 -1
  246. package/dist/v1/runner/recording.d.ts +26 -26
  247. package/dist/v1/runner/recording.d.ts.map +1 -1
  248. package/dist/v1/runner/runFlow.d.ts +7 -7
  249. package/dist/v1/runner/runFlow.d.ts.map +1 -1
  250. package/dist/v1/runner/runnerAction.d.ts +1 -1
  251. package/dist/v1/runner/screen.d.ts.map +1 -1
  252. package/dist/v1/runner/stopRun.d.ts.map +1 -1
  253. package/dist/v1/runner/takeScreenshot.d.ts +1 -1
  254. package/dist/v1/runner/takeScreenshot.d.ts.map +1 -1
  255. package/dist/v1/skill/index.d.ts.map +1 -1
  256. package/dist/v1/suggestion/decide.d.ts +9 -9
  257. package/dist/v1/suggestion/decide.d.ts.map +1 -1
  258. package/dist/v1/suggestion/find.d.ts +8 -8
  259. package/dist/v1/suggestion/find.d.ts.map +1 -1
  260. package/dist/v1/suggestion/get.d.ts +7 -7
  261. package/dist/v1/suggestion/get.d.ts.map +1 -1
  262. package/dist/v1/suggestion/index.d.ts +24 -24
  263. package/dist/v1/suggestion/index.d.ts.map +1 -1
  264. package/dist/v1/suggestion/resource.d.ts +9 -9
  265. package/dist/v1/suggestion/resource.d.ts.map +1 -1
  266. package/dist/v1/tag/contracts.d.ts +2 -2
  267. package/dist/v1/tag/contracts.d.ts.map +1 -1
  268. package/dist/v1/tag/index.d.ts +2 -2
  269. package/dist/v1/tag/index.d.ts.map +1 -1
  270. package/dist/v1/tag/list.d.ts +1 -1
  271. package/dist/v1/tag/list.d.ts.map +1 -1
  272. package/dist/v1/trigger/configuration.d.ts +44 -35
  273. package/dist/v1/trigger/configuration.d.ts.map +1 -1
  274. package/dist/v1/trigger/configuration.js +12 -6
  275. package/dist/v1/trigger/configuration.js.map +1 -1
  276. package/dist/v1/trigger/configurationRules.d.ts +4 -1
  277. package/dist/v1/trigger/configurationRules.d.ts.map +1 -1
  278. package/dist/v1/trigger/configurationRules.js +44 -3
  279. package/dist/v1/trigger/configurationRules.js.map +1 -1
  280. package/dist/v1/trigger/create.d.ts +121 -38
  281. package/dist/v1/trigger/create.d.ts.map +1 -1
  282. package/dist/v1/trigger/create.js +16 -8
  283. package/dist/v1/trigger/create.js.map +1 -1
  284. package/dist/v1/trigger/deploymentFields.d.ts +4 -6
  285. package/dist/v1/trigger/deploymentFields.d.ts.map +1 -1
  286. package/dist/v1/trigger/deploymentFields.js +3 -3
  287. package/dist/v1/trigger/deploymentFields.js.map +1 -1
  288. package/dist/v1/trigger/describedFields.d.ts +8 -0
  289. package/dist/v1/trigger/describedFields.d.ts.map +1 -0
  290. package/dist/v1/trigger/describedFields.js +11 -0
  291. package/dist/v1/trigger/describedFields.js.map +1 -0
  292. package/dist/v1/trigger/find.d.ts +96 -19
  293. package/dist/v1/trigger/find.d.ts.map +1 -1
  294. package/dist/v1/trigger/get.d.ts +96 -19
  295. package/dist/v1/trigger/get.d.ts.map +1 -1
  296. package/dist/v1/trigger/hourlyWindowRules.d.ts.map +1 -1
  297. package/dist/v1/trigger/index.d.ts +690 -216
  298. package/dist/v1/trigger/index.d.ts.map +1 -1
  299. package/dist/v1/trigger/lifecycle.d.ts +192 -38
  300. package/dist/v1/trigger/lifecycle.d.ts.map +1 -1
  301. package/dist/v1/trigger/resource.d.ts +96 -19
  302. package/dist/v1/trigger/resource.d.ts.map +1 -1
  303. package/dist/v1/trigger/resource.js +30 -16
  304. package/dist/v1/trigger/resource.js.map +1 -1
  305. package/dist/v1/trigger/scheduleFieldRules.d.ts.map +1 -1
  306. package/dist/v1/trigger/scheduleRepeatFields.d.ts.map +1 -1
  307. package/dist/v1/trigger/scheduleRepeatRules.d.ts.map +1 -1
  308. package/dist/v1/trigger/update.d.ts +121 -38
  309. package/dist/v1/trigger/update.d.ts.map +1 -1
  310. package/dist/v1/trigger/update.js +15 -9
  311. package/dist/v1/trigger/update.js.map +1 -1
  312. package/dist/v1/usage/breakdown.d.ts +5 -5
  313. package/dist/v1/usage/breakdown.d.ts.map +1 -1
  314. package/dist/v1/usage/index.d.ts +5 -5
  315. package/dist/v1/usage/index.d.ts.map +1 -1
  316. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAsBhD,eAAO,MAAM,mBAAmB,GAC9B,MAAM,SAAS,cAAc,EAC7B,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBC,CAAC"}
@@ -13,7 +13,7 @@ export declare const makeEvaluateSnippetOnRunnerContract: <WorkspaceId extends P
13
13
  readonly openWorldHint: true;
14
14
  readonly readOnlyHint: false;
15
15
  };
16
- readonly description: "Evaluate a snippet against whatever the runner's browser is showing right now. Answers whether the snippet ran, and its error if it threw — not the value it evaluated to, so read anything you want back out of the runner's journal (a snippet's `console.log` lands in the `console` stream). A snippet starts no run and leaves no run-scoped journal entries of its own. `runner-cannot-evaluate-snippets` on a runner with nothing attached to serve one — which will never clear, so check that the runner you launched is one that runs a browser or app before retrying. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Neither is proof the snippet did not run: a snippet that outlives the answer window is still executing when you read this, so do not blindly resubmit one that mutates what the page is looking at.";
16
+ readonly description: "Evaluate a snippet against whatever the runner's browser is showing right now. Answers whether the snippet ran, and its error if it threw \u2014 not the value it evaluated to, so read anything you want back out of the runner's journal (a snippet's `console.log` lands in the `console` stream). A snippet starts no run and leaves no run-scoped journal entries of its own. `runner-cannot-evaluate-snippets` on a runner with nothing attached to serve one \u2014 which will never clear, so check that the runner you launched is one that runs a browser or app before retrying. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Neither is proof the snippet did not run: a snippet that outlives the answer window is still executing when you read this, so do not blindly resubmit one that mutates what the page is looking at.";
17
17
  readonly input: z.ZodObject<{
18
18
  code: z.ZodString;
19
19
  filePath: z.ZodOptional<z.ZodString>;
@@ -28,8 +28,8 @@ export declare const makeEvaluateSnippetOnRunnerContract: <WorkspaceId extends P
28
28
  outcome: z.ZodLiteral<"success">;
29
29
  result: z.ZodEnum<{
30
30
  error: "error";
31
- success: "success";
32
31
  stopped: "stopped";
32
+ success: "success";
33
33
  }>;
34
34
  }, z.core.$strip>, z.ZodObject<{
35
35
  failureReason: z.ZodEnum<{
@@ -1 +1 @@
1
- {"version":3,"file":"evaluateSnippet.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/evaluateSnippet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAehD,eAAO,MAAM,mCAAmC,GAC9C,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkFA,CAAC"}
1
+ {"version":3,"file":"evaluateSnippet.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/evaluateSnippet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAehD,eAAO,MAAM,mCAAmC,GAC9C,WAAW,SAAS,cAAc,OAC7B;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;iBA0DK,eAAe,EACb,0GAA0G;iBAC5G,aAAa,EACX,uFAAuF;iBACzF,YAAY,EACV,0EAA0E;;;iBAG5E,eAAe;iBACf,aAAa;iBACb,YAAY;;0BAGZ,85BAAo5B;;;;;;;;mBAEh5B,OAAO;mBACP,wBAAwB;;;;;;;;;;;;;;;;CAQjC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/files.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AAEH;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,0DAO7B,CAAC;AAuBX,4EAA4E;AAC5E,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAW5D;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,QAAuR,CAAC;AAEvT,eAAO,MAAM,iBAAiB,aAE5B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,kBAAkB,iBAAiB,CAAC"}
1
+ {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/files.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AAEH;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,YACrC,MAAM,EACN,KAAK,EACL,OAAO,EACP,MAAM,EACN,KAAK,EACL,MAAM,CACE,CAAC;AAuBX,4EAA4E;AAC5E,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAW5D;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,QAAuR,CAAC;AAEvT,eAAO,MAAM,iBAAiB,aAE5B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,kBAAkB,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAQhD,eAAO,MAAM,qBAAqB,GAAI,WAAW,SAAS,cAAc,EAAE,KAAK;IAC7E,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDA,CAAC"}
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAQhD,eAAO,MAAM,qBAAqB,GAAI,WAAW,SAAS,cAAc,OAAO;IAC7E,SAAS,EAAE,WAAW,CAAC;CACxB;;iBA+BK,eAAe,EAAE,mDAAmD;iBACpE,aAAa,EACX,+EAA+E;iBACjF,YAAY,EACV,wFAAwF;;;iBAG1F,eAAe;iBACf,aAAa;iBACb,YAAY;;0BAGZ,wdAAwd;;;;;mBAEpd,MAAM;mBACN,YAAY;;;;;;;;;;;CAQrB,CAAC"}
@@ -15,7 +15,7 @@ export declare const makeHighlightSelectorOnRunnerContract: <WorkspaceId extends
15
15
  readonly openWorldHint: false;
16
16
  readonly readOnlyHint: false;
17
17
  };
18
- readonly description: "Highlight the elements a selector matches on an interactive runner's live page, and answer how many it matched. The highlight stays until it is replaced or cleared, so it is visible in the next `runner.takeScreenshot` — which is the point, since a caller cannot see the runner's screen otherwise. Send an empty selector to clear, which answers `cleared`. `status` tells a selector that matched nothing (`empty`) from one the page could not parse (`invalid`), so a caller can tell a bad locator from a locator pointing at nothing. `no-answer` if the page did not answer in time: the highlight runs inside the page, so a page that is gone or mid-navigation does not answer slowly, it does not answer at all. `runner-cannot-highlight-selectors` on a runner with no browser to draw on. `runner-unreachable` if the runner could not be reached: it may still be starting, or it may have terminated after inactivity.";
18
+ readonly description: "Highlight the elements a selector matches on an interactive runner's live page, and answer how many it matched. The highlight stays until it is replaced or cleared, so it is visible in the next `runner.takeScreenshot` \u2014 which is the point, since a caller cannot see the runner's screen otherwise. Send an empty selector to clear, which answers `cleared`. `status` tells a selector that matched nothing (`empty`) from one the page could not parse (`invalid`), so a caller can tell a bad locator from a locator pointing at nothing. `no-answer` if the page did not answer in time: the highlight runs inside the page, so a page that is gone or mid-navigation does not answer slowly, it does not answer at all. `runner-cannot-highlight-selectors` on a runner with no browser to draw on. `runner-unreachable` if the runner could not be reached: it may still be starting, or it may have terminated after inactivity.";
19
19
  readonly input: z.ZodObject<{
20
20
  id: z.ZodString;
21
21
  selector: z.ZodString;
@@ -27,16 +27,16 @@ export declare const makeHighlightSelectorOnRunnerContract: <WorkspaceId extends
27
27
  matchCount: z.ZodNumber;
28
28
  outcome: z.ZodLiteral<"success">;
29
29
  selector: z.ZodString;
30
- status: z.ZodLiteral<"valid" | "invalid" | "empty">;
30
+ status: z.ZodLiteral<"empty" | "invalid" | "valid">;
31
31
  targetPage: z.ZodOptional<z.ZodString>;
32
32
  }, z.core.$strip>, z.ZodObject<{
33
33
  outcome: z.ZodLiteral<"cleared">;
34
34
  }, z.core.$strip>, z.ZodObject<{
35
35
  errorMessage: z.ZodOptional<z.ZodString>;
36
36
  failureReason: z.ZodEnum<{
37
- "runner-unreachable": "runner-unreachable";
38
37
  "no-answer": "no-answer";
39
38
  "runner-cannot-highlight-selectors": "runner-cannot-highlight-selectors";
39
+ "runner-unreachable": "runner-unreachable";
40
40
  }>;
41
41
  outcome: z.ZodLiteral<"failure">;
42
42
  }, z.core.$strip>], "outcome">;
@@ -1 +1 @@
1
- {"version":3,"file":"highlightSelector.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/highlightSelector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,2FAA2F;AAC3F,eAAO,MAAM,0BAA0B,OAAQ,CAAC;AAEhD,eAAO,MAAM,qCAAqC,GAChD,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2EA,CAAC"}
1
+ {"version":3,"file":"highlightSelector.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/highlightSelector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,2FAA2F;AAC3F,eAAO,MAAM,0BAA0B,OAAQ,CAAC;AAEhD,eAAO,MAAM,qCAAqC,GAChD,WAAW,SAAS,cAAc,OAC7B;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;iBAmDK,eAAe,EACb,uFAAuF;iBACzF,aAAa,EACX,4EAA4E;iBAC9E,YAAY,EACV,kEAAkE;;;iBAGpE,eAAe;iBACf,aAAa;iBACb,YAAY;;0BAGZ,m5BAA84B;;;;;;mBAE14B,OAAO;mBACP,0BAA0B;;;;;;;;;;;;;;;;;;CAQnC,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import { z } from "zod";
2
2
  export declare const runnerNameSchema: z.ZodEnum<{
3
- basic: "basic";
4
- playwright: "playwright";
5
3
  android: "android";
4
+ basic: "basic";
6
5
  ios: "ios";
7
- windows: "windows";
8
6
  mac: "mac";
7
+ playwright: "playwright";
8
+ windows: "windows";
9
9
  }>;
10
10
  export type RunnerNameForPublicApi = z.infer<typeof runnerNameSchema>;
11
11
  export declare const runnerWorkspaceRequirement = "Read it from whoami.";
@@ -17,12 +17,12 @@ export declare const makeRunnerSchema: () => z.ZodObject<{
17
17
  gpuAccelerated: z.ZodBoolean;
18
18
  id: z.ZodString;
19
19
  runnerName: z.ZodEnum<{
20
- basic: "basic";
21
- playwright: "playwright";
22
20
  android: "android";
21
+ basic: "basic";
23
22
  ios: "ios";
24
- windows: "windows";
25
23
  mac: "mac";
24
+ playwright: "playwright";
25
+ windows: "windows";
26
26
  }>;
27
27
  url: z.ZodURL;
28
28
  }, z.core.$strip>;
@@ -28,8 +28,8 @@ export declare const makeImportPackageOnRunnerContract: <WorkspaceId extends Pub
28
28
  }, z.core.$strip>, z.ZodObject<{
29
29
  errorMessage: z.ZodOptional<z.ZodString>;
30
30
  failureReason: z.ZodEnum<{
31
- "runner-unreachable": "runner-unreachable";
32
31
  "install-failed": "install-failed";
32
+ "runner-unreachable": "runner-unreachable";
33
33
  }>;
34
34
  outcome: z.ZodLiteral<"failure">;
35
35
  }, z.core.$strip>], "outcome">;
@@ -1 +1 @@
1
- {"version":3,"file":"importPackage.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/importPackage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAOhD,eAAO,MAAM,iCAAiC,GAC5C,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDA,CAAC"}
1
+ {"version":3,"file":"importPackage.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/importPackage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAOhD,eAAO,MAAM,iCAAiC,GAC5C,WAAW,SAAS,cAAc,OAC7B;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;iBA6BK,eAAe,EACb,4GAA4G;iBAC9G,aAAa,EACX,kGAAkG;iBACpG,YAAY,EACV,6GAA6G;;;iBAG/G,eAAe;iBACf,aAAa;iBACb,YAAY;;0BAGZ,0eAA0e;;;;;;;;mBAEte,OAAO;mBACP,sBAAsB;;;;;;;;;;;CAQ/B,CAAC"}
@@ -18,12 +18,12 @@ export declare const makeLaunchRunnerContract: <WorkspaceId extends PublicIdSche
18
18
  id: z.ZodString;
19
19
  initialUrl: z.ZodOptional<z.ZodURL>;
20
20
  runnerName: z.ZodOptional<z.ZodEnum<{
21
- basic: "basic";
22
- playwright: "playwright";
23
21
  android: "android";
22
+ basic: "basic";
24
23
  ios: "ios";
25
- windows: "windows";
26
24
  mac: "mac";
25
+ playwright: "playwright";
26
+ windows: "windows";
27
27
  }>>;
28
28
  workspaceId: z.ZodOptional<WorkspaceId>;
29
29
  }, z.core.$strip>;
@@ -33,12 +33,12 @@ export declare const makeLaunchRunnerContract: <WorkspaceId extends PublicIdSche
33
33
  gpuAccelerated: z.ZodBoolean;
34
34
  id: z.ZodString;
35
35
  runnerName: z.ZodEnum<{
36
- basic: "basic";
37
- playwright: "playwright";
38
36
  android: "android";
37
+ basic: "basic";
39
38
  ios: "ios";
40
- windows: "windows";
41
39
  mac: "mac";
40
+ playwright: "playwright";
41
+ windows: "windows";
42
42
  }>;
43
43
  url: z.ZodURL;
44
44
  alreadyRunning: z.ZodBoolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAWhD,eAAO,MAAM,wBAAwB,GACnC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmEA,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;CA2CA,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAWhD,eAAO,MAAM,wBAAwB,GACnC,WAAW,SAAS,cAAc,OAC7B;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;iBA2CK,eAAe,EACb,kFAAkF;iBACpF,aAAa,EACX,qGAAqG;iBACvG,YAAY,EACV,6GAA6G;;;iBAG/G,eAAe;iBACf,aAAa;iBACb,YAAY;;0BAGZ,g3BAAg3B;;;;;;;;;;;;;;mBAE52B,OAAO;mBACP,eAAe;;;;;;;;;;;;;;;;CAQxB,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,WAAW,SAAS,cAAc,OAC7B;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;iBAmBK,eAAe,EACb,+FAA+F;iBACjG,aAAa,EACX,mFAAmF;iBACrF,YAAY,EACV,kEAAkE;;;iBAGpE,eAAe;iBACf,aAAa;iBACb,YAAY;;0BAGZ,yRAAyR;;;;;mBAErR,OAAO;mBACP,kBAAkB;;;;;;CAQ3B,CAAC"}
@@ -48,9 +48,9 @@ export declare const makeInspectOnRunnerContract: <WorkspaceId extends PublicIdS
48
48
  }, z.core.$strip>, z.ZodObject<{
49
49
  errorMessage: z.ZodOptional<z.ZodString>;
50
50
  failureReason: z.ZodEnum<{
51
- "runner-unreachable": "runner-unreachable";
52
51
  "nothing-to-inspect": "nothing-to-inspect";
53
52
  "runner-is-not-a-browser": "runner-is-not-a-browser";
53
+ "runner-unreachable": "runner-unreachable";
54
54
  }>;
55
55
  outcome: z.ZodLiteral<"failure">;
56
56
  }, z.core.$strip>], "outcome">;
@@ -1 +1 @@
1
- {"version":3,"file":"inspect.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/inspect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAKhD,eAAO,MAAM,iBAAiB,OAAQ,CAAC;AAGvC,eAAO,MAAM,oBAAoB;;;;;;;;;2BA0B/B,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE1E,eAAO,MAAM,2BAA2B,GACtC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuDA,CAAC"}
1
+ {"version":3,"file":"inspect.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/inspect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAKhD,eAAO,MAAM,iBAAiB,OAAQ,CAAC;AAGvC,eAAO,MAAM,oBAAoB;;;;;;;;;2BA0B/B,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE1E,eAAO,MAAM,2BAA2B,GACtC,WAAW,SAAS,cAAc,OAC7B;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;iBA8BK,eAAe,EACb,uGAAuG;iBACzG,aAAa,EACX,6EAA6E;iBAC/E,YAAY,EACV,oGAAoG;;;iBAGtG,eAAe;iBACf,aAAa;iBACb,YAAY;;;;;;;;;;;;;;;;;mBAMR,MAAM;mBACN,gBAAgB;;;;;;;;;;;;;CAQzB,CAAC"}
@@ -112,15 +112,24 @@ export declare const makeInspectMobileOnRunnerContract: <WorkspaceId extends Pub
112
112
  }, z.core.$strip>, z.ZodObject<{
113
113
  context: z.ZodString;
114
114
  orientation: z.ZodEnum<{
115
- PORTRAIT: "PORTRAIT";
116
115
  LANDSCAPE: "LANDSCAPE";
116
+ PORTRAIT: "PORTRAIT";
117
117
  }>;
118
118
  outcome: z.ZodLiteral<"success">;
119
119
  pageSource: z.ZodType<{
120
+ attributes?: {
121
+ bounds?: {
122
+ bottom: number;
123
+ left: number;
124
+ right: number;
125
+ top: number;
126
+ } | undefined;
127
+ rest?: Record<string, string> | undefined;
128
+ } | undefined;
120
129
  selectors: {
121
130
  strategy: {
122
131
  name: "xpath";
123
- type: "unique" | "full-path" | "sibling-of" | "parent-of";
132
+ type: "full-path" | "parent-of" | "sibling-of" | "unique";
124
133
  } | {
125
134
  name: "ios-predicate";
126
135
  } | {
@@ -131,21 +140,21 @@ export declare const makeInspectMobileOnRunnerContract: <WorkspaceId extends Pub
131
140
  value: string;
132
141
  }[];
133
142
  tag: string;
134
- attributes?: {
135
- bounds?: {
136
- bottom: number;
137
- left: number;
138
- right: number;
139
- top: number;
140
- } | undefined;
141
- rest?: Record<string, string> | undefined;
142
- } | undefined;
143
143
  } & {
144
144
  children?: (({
145
+ attributes?: {
146
+ bounds?: {
147
+ bottom: number;
148
+ left: number;
149
+ right: number;
150
+ top: number;
151
+ } | undefined;
152
+ rest?: Record<string, string> | undefined;
153
+ } | undefined;
145
154
  selectors: {
146
155
  strategy: {
147
156
  name: "xpath";
148
- type: "unique" | "full-path" | "sibling-of" | "parent-of";
157
+ type: "full-path" | "parent-of" | "sibling-of" | "unique";
149
158
  } | {
150
159
  name: "ios-predicate";
151
160
  } | {
@@ -156,21 +165,21 @@ export declare const makeInspectMobileOnRunnerContract: <WorkspaceId extends Pub
156
165
  value: string;
157
166
  }[];
158
167
  tag: string;
159
- attributes?: {
160
- bounds?: {
161
- bottom: number;
162
- left: number;
163
- right: number;
164
- top: number;
165
- } | undefined;
166
- rest?: Record<string, string> | undefined;
167
- } | undefined;
168
168
  } & /*elided*/ any) | string)[];
169
169
  }, unknown, z.core.$ZodTypeInternals<{
170
+ attributes?: {
171
+ bounds?: {
172
+ bottom: number;
173
+ left: number;
174
+ right: number;
175
+ top: number;
176
+ } | undefined;
177
+ rest?: Record<string, string> | undefined;
178
+ } | undefined;
170
179
  selectors: {
171
180
  strategy: {
172
181
  name: "xpath";
173
- type: "unique" | "full-path" | "sibling-of" | "parent-of";
182
+ type: "full-path" | "parent-of" | "sibling-of" | "unique";
174
183
  } | {
175
184
  name: "ios-predicate";
176
185
  } | {
@@ -181,21 +190,21 @@ export declare const makeInspectMobileOnRunnerContract: <WorkspaceId extends Pub
181
190
  value: string;
182
191
  }[];
183
192
  tag: string;
184
- attributes?: {
185
- bounds?: {
186
- bottom: number;
187
- left: number;
188
- right: number;
189
- top: number;
190
- } | undefined;
191
- rest?: Record<string, string> | undefined;
192
- } | undefined;
193
193
  } & {
194
194
  children?: (({
195
+ attributes?: {
196
+ bounds?: {
197
+ bottom: number;
198
+ left: number;
199
+ right: number;
200
+ top: number;
201
+ } | undefined;
202
+ rest?: Record<string, string> | undefined;
203
+ } | undefined;
195
204
  selectors: {
196
205
  strategy: {
197
206
  name: "xpath";
198
- type: "unique" | "full-path" | "sibling-of" | "parent-of";
207
+ type: "full-path" | "parent-of" | "sibling-of" | "unique";
199
208
  } | {
200
209
  name: "ios-predicate";
201
210
  } | {
@@ -206,16 +215,7 @@ export declare const makeInspectMobileOnRunnerContract: <WorkspaceId extends Pub
206
215
  value: string;
207
216
  }[];
208
217
  tag: string;
209
- attributes?: {
210
- bounds?: {
211
- bottom: number;
212
- left: number;
213
- right: number;
214
- top: number;
215
- } | undefined;
216
- rest?: Record<string, string> | undefined;
217
- } | undefined;
218
- } & /*elided*/ any) | string)[];
218
+ } & any) | string)[];
219
219
  }, unknown>>;
220
220
  what: z.ZodLiteral<"page">;
221
221
  }, z.core.$strip>, z.ZodObject<{
@@ -235,10 +235,10 @@ export declare const makeInspectMobileOnRunnerContract: <WorkspaceId extends Pub
235
235
  strategy: z.ZodUnion<readonly [z.ZodObject<{
236
236
  name: z.ZodLiteral<"xpath">;
237
237
  type: z.ZodEnum<{
238
- unique: "unique";
239
238
  "full-path": "full-path";
240
- "sibling-of": "sibling-of";
241
239
  "parent-of": "parent-of";
240
+ "sibling-of": "sibling-of";
241
+ unique: "unique";
242
242
  }>;
243
243
  }, z.core.$strip>, z.ZodObject<{
244
244
  name: z.ZodLiteral<"ios-predicate">;
@@ -255,9 +255,9 @@ export declare const makeInspectMobileOnRunnerContract: <WorkspaceId extends Pub
255
255
  what: z.ZodLiteral<"elements">;
256
256
  }, z.core.$strip>], "what">, z.ZodObject<{
257
257
  failureReason: z.ZodEnum<{
258
- "runner-unreachable": "runner-unreachable";
259
258
  "invalid-selector": "invalid-selector";
260
259
  "runner-is-not-mobile": "runner-is-not-mobile";
260
+ "runner-unreachable": "runner-unreachable";
261
261
  "screen-needs-a-run": "screen-needs-a-run";
262
262
  "screen-not-ready": "screen-not-ready";
263
263
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"inspectMobile.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/inspectMobile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAuBhD,wGAAwG;AACxG,eAAO,MAAM,sBAAsB;;;;EAIjC,CAAC;AA4CH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCA0BrC,CAAC;AA8CH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ/B,CAAC"}
@@ -15,10 +15,10 @@ export declare const elementSchema: z.ZodObject<{
15
15
  strategy: z.ZodUnion<readonly [z.ZodObject<{
16
16
  name: z.ZodLiteral<"xpath">;
17
17
  type: z.ZodEnum<{
18
- unique: "unique";
19
18
  "full-path": "full-path";
20
- "sibling-of": "sibling-of";
21
19
  "parent-of": "parent-of";
20
+ "sibling-of": "sibling-of";
21
+ unique: "unique";
22
22
  }>;
23
23
  }, z.core.$strip>, z.ZodObject<{
24
24
  name: z.ZodLiteral<"ios-predicate">;
@@ -45,10 +45,10 @@ declare const basePageSourceNodeSchema: z.ZodObject<{
45
45
  strategy: z.ZodUnion<readonly [z.ZodObject<{
46
46
  name: z.ZodLiteral<"xpath">;
47
47
  type: z.ZodEnum<{
48
- unique: "unique";
49
48
  "full-path": "full-path";
50
- "sibling-of": "sibling-of";
51
49
  "parent-of": "parent-of";
50
+ "sibling-of": "sibling-of";
51
+ unique: "unique";
52
52
  }>;
53
53
  }, z.core.$strip>, z.ZodObject<{
54
54
  name: z.ZodLiteral<"ios-predicate">;
@@ -66,8 +66,8 @@ type PageSourceNode = z.infer<typeof basePageSourceNodeSchema> & {
66
66
  };
67
67
  export declare const pageSourceNodeSchema: z.ZodType<PageSourceNode>;
68
68
  export declare const orientationSchema: z.ZodEnum<{
69
- PORTRAIT: "PORTRAIT";
70
69
  LANDSCAPE: "LANDSCAPE";
70
+ PORTRAIT: "PORTRAIT";
71
71
  }>;
72
72
  export {};
73
73
  //# sourceMappingURL=inspectMobileShapes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"journal.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/journal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AAEH,qDAAqD;AACrD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EAAE,MAAM,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;iBAKK,CAAC"}
@@ -25,12 +25,12 @@ export declare const makeListRunnersContract: <WorkspaceId extends PublicIdSchem
25
25
  gpuAccelerated: z.ZodBoolean;
26
26
  id: z.ZodString;
27
27
  runnerName: z.ZodEnum<{
28
- basic: "basic";
29
- playwright: "playwright";
30
28
  android: "android";
29
+ basic: "basic";
31
30
  ios: "ios";
32
- windows: "windows";
33
31
  mac: "mac";
32
+ playwright: "playwright";
33
+ windows: "windows";
34
34
  }>;
35
35
  url: z.ZodURL;
36
36
  }, z.core.$strip>>;
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,uBAAuB,GAClC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CA,CAAC"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,uBAAuB,GAClC,WAAW,SAAS,cAAc,OAC7B;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;iBAoBK,eAAe,EAAE,oDAAoD;iBACrE,aAAa,EACX,wEAAwE;iBAC1E,YAAY,EACV,8FAA8F;;;iBAGhG,eAAe;iBACf,aAAa;iBACb,YAAY;;0BAGZ,+kBAA+kB;;;;mBAE3kB,MAAM;mBACN,aAAa;;;;;;;;;;;;;;;;;CAQtB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  export declare function makeRunnerFailureSchema<const Reasons extends readonly [string, ...string[]]>(reasons: Reasons): z.ZodObject<{
3
- failureReason: z.ZodEnum<{ [k_1 in Reasons[number]]: k_1; } extends infer T ? { [k in keyof T]: T[k]; } : never>;
3
+ failureReason: z.ZodEnum<{ [k in Reasons[number]]: k; } extends infer T ? { [k in keyof T]: T[k]; } : never>;
4
4
  outcome: z.ZodLiteral<"failure">;
5
5
  }, z.core.$strip>;
6
6
  //# sourceMappingURL=outcome.d.ts.map
@@ -18,7 +18,7 @@ export declare const makePerformActionOnRunnerContract: <WorkspaceId extends Pub
18
18
  readonly description: "Perform one raw action on an interactive runner: click, double_click, move, drag, scroll, keypress, type, or navigate; on mobile or Windows, also tap, swipe, or fill. One action per request, and the runner serves one at a time. A success means the action took effect. `action-failed`, with a reason, if it reached the runner and did not take effect. On a runner image with a browser, the first action on a runner that has never run anything starts its browser and waits for it, so it can take up to a minute to answer — no `runner.runFlow` is needed before acting; if the browser is still starting when the wait runs out, the answer is `screen-not-ready` and retrying converges. On a mobile or Windows runner, the same `screen-needs-a-run` and `screen-not-ready` outcomes mean no Appium session has started yet, or it did not answer this instant; `runner.runFlow` is what starts one, same as a browser. `screen-needs-a-run` if the browser could not be started that way — usually a runner whose runs all finished without starting its desktop; call `runner.runFlow` with a flow that opens a browser. `screen-not-ready` if the runner has a screen that cannot serve this instant. Retry in a second or two: the desktop restarts when a run changes the display size, and it serves one see-or-act request at a time, so a screenshot or action already in flight is the usual reason. Do not submit a run to clear this — a run may restart the display and discard what is on it. `runner-has-no-screen` if this runner has no browser desktop to see or drive, and retrying will never help. Launch a `playwright` runner. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may have stopped answering mid-action. This does not mean the action was not performed — take a screenshot before repeating it.";
19
19
  readonly input: z.ZodObject<{
20
20
  action: z.ZodDiscriminatedUnion<[z.ZodObject<{
21
- button: z.ZodLiteral<"left" | "right" | "wheel" | "back" | "forward">;
21
+ button: z.ZodLiteral<"back" | "forward" | "left" | "right" | "wheel">;
22
22
  type: z.ZodLiteral<"click">;
23
23
  x: z.ZodInt;
24
24
  y: z.ZodInt;
@@ -98,12 +98,12 @@ export declare const makePerformActionOnRunnerContract: <WorkspaceId extends Pub
98
98
  outcome: z.ZodLiteral<"failure">;
99
99
  }, z.core.$strip>, z.ZodObject<{
100
100
  failureReason: z.ZodEnum<{
101
+ "action-not-supported-on-browser": "action-not-supported-on-browser";
102
+ "action-not-supported-on-mobile": "action-not-supported-on-mobile";
103
+ "runner-has-no-screen": "runner-has-no-screen";
101
104
  "runner-unreachable": "runner-unreachable";
102
105
  "screen-needs-a-run": "screen-needs-a-run";
103
106
  "screen-not-ready": "screen-not-ready";
104
- "runner-has-no-screen": "runner-has-no-screen";
105
- "action-not-supported-on-mobile": "action-not-supported-on-mobile";
106
- "action-not-supported-on-browser": "action-not-supported-on-browser";
107
107
  }>;
108
108
  outcome: z.ZodLiteral<"failure">;
109
109
  }, z.core.$strip>], "failureReason">], "outcome">;
@@ -1 +1 @@
1
- {"version":3,"file":"performAction.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/performAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AA8BhD,uDAAuD;AACvD,eAAO,MAAM,2BAA2B,OAAQ,CAAC;AAEjD,eAAO,MAAM,iCAAiC,GAC5C,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmEA,CAAC"}
1
+ {"version":3,"file":"performAction.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/performAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AA8BhD,uDAAuD;AACvD,eAAO,MAAM,2BAA2B,OAAQ,CAAC;AAEjD,eAAO,MAAM,iCAAiC,GAC5C,WAAW,SAAS,cAAc,OAC7B;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;iBA4CK,eAAe,EACb,gIAAgI;iBAClI,aAAa,EACX,sFAAsF;iBACxF,YAAY,EACV,0EAA0E;;;iBAG5E,eAAe;iBACf,aAAa;iBACb,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAIR,OAAO;mBACP,sBAAsB;;;;;;;;;;;;;;;;;;;;CAQ/B,CAAC"}
@@ -14,10 +14,10 @@ export declare const makePerformActionsOnRunnerContract: <WorkspaceId extends Pu
14
14
  readonly openWorldHint: true;
15
15
  readonly readOnlyHint: false;
16
16
  };
17
- readonly description: "Perform a sequence of raw actions on an interactive runner in one request, one after another, and answer with what happened to each. A `success` means every action took effect. A `failure` names the first action that did not (`failedIndex`, `failureReason`), the last one that did (`lastCompletedIndex`), and whether actions were left unperformed (`stoppedEarly`); `results` has one entry per action reached, in order. Read `effect` on an entry before sending its action again: `performed` means the runner did it; `not-performed` means the runner answered that it did not take effect, though a `navigate` that timed out may still be loading; `unknown` means the runner stopped answering with the action in flight (`runner-unreachable`), or its screen went quiet mid-action (`action-unconfirmed`), and it may have taken effect — a click that submitted a form, say — so take a screenshot instead of repeating it. A sequence gets about a minute to start its actions; an action it did not reach in time is `out-of-time`, nothing after it was attempted, and the rest can go in a new request. Everything `runner.performAction` says about a runner that has never run anything, a mobile or Windows runner, and the `screen-needs-a-run`, `screen-not-ready`, `runner-has-no-screen`, `action-not-supported-on-mobile` and `action-not-supported-on-browser` reasons holds for each action here.";
17
+ readonly description: "Perform a sequence of raw actions on an interactive runner in one request, one after another, and answer with what happened to each. A `success` means every action took effect. A `failure` names the first action that did not (`failedIndex`, `failureReason`), the last one that did (`lastCompletedIndex`), and whether actions were left unperformed (`stoppedEarly`); `results` has one entry per action reached, in order. Read `effect` on an entry before sending its action again: `performed` means the runner did it; `not-performed` means the runner answered that it did not take effect, though a `navigate` that timed out may still be loading; `unknown` means the runner stopped answering with the action in flight (`runner-unreachable`), or its screen went quiet mid-action (`action-unconfirmed`), and it may have taken effect \u2014 a click that submitted a form, say \u2014 so take a screenshot instead of repeating it. A sequence gets about a minute to start its actions; an action it did not reach in time is `out-of-time`, nothing after it was attempted, and the rest can go in a new request. Everything `runner.performAction` says about a runner that has never run anything, a mobile or Windows runner, and the `screen-needs-a-run`, `screen-not-ready`, `runner-has-no-screen`, `action-not-supported-on-mobile` and `action-not-supported-on-browser` reasons holds for each action here.";
18
18
  readonly input: z.ZodObject<{
19
19
  actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
20
- button: z.ZodLiteral<"left" | "right" | "wheel" | "back" | "forward">;
20
+ button: z.ZodLiteral<"back" | "forward" | "left" | "right" | "wheel">;
21
21
  type: z.ZodLiteral<"click">;
22
22
  x: z.ZodInt;
23
23
  y: z.ZodInt;
@@ -83,9 +83,9 @@ export declare const makePerformActionsOnRunnerContract: <WorkspaceId extends Pu
83
83
  }, z.core.$strict>], "type">>;
84
84
  id: z.ZodString;
85
85
  screenshotMode: z.ZodOptional<z.ZodEnum<{
86
- none: "none";
87
- final: "final";
88
86
  each: "each";
87
+ final: "final";
88
+ none: "none";
89
89
  }>>;
90
90
  stopOnFailure: z.ZodOptional<z.ZodBoolean>;
91
91
  workspaceId: z.ZodOptional<WorkspaceId>;
@@ -106,15 +106,15 @@ export declare const makePerformActionsOnRunnerContract: <WorkspaceId extends Pu
106
106
  errorMessage: z.ZodOptional<z.ZodString>;
107
107
  failedIndex: z.ZodInt;
108
108
  failureReason: z.ZodEnum<{
109
- "runner-unreachable": "runner-unreachable";
110
- "screen-needs-a-run": "screen-needs-a-run";
111
- "screen-not-ready": "screen-not-ready";
112
109
  "action-failed": "action-failed";
113
- "runner-has-no-screen": "runner-has-no-screen";
114
- "action-not-supported-on-mobile": "action-not-supported-on-mobile";
115
110
  "action-not-supported-on-browser": "action-not-supported-on-browser";
116
- "out-of-time": "out-of-time";
111
+ "action-not-supported-on-mobile": "action-not-supported-on-mobile";
117
112
  "action-unconfirmed": "action-unconfirmed";
113
+ "out-of-time": "out-of-time";
114
+ "runner-has-no-screen": "runner-has-no-screen";
115
+ "runner-unreachable": "runner-unreachable";
116
+ "screen-needs-a-run": "screen-needs-a-run";
117
+ "screen-not-ready": "screen-not-ready";
118
118
  }>;
119
119
  imageJpegBase64: z.ZodOptional<z.ZodString>;
120
120
  lastCompletedIndex: z.ZodOptional<z.ZodInt>;
@@ -145,12 +145,12 @@ export declare const makePerformActionsOnRunnerContract: <WorkspaceId extends Pu
145
145
  }, z.core.$strip>, z.ZodObject<{
146
146
  effect: z.ZodLiteral<"not-performed">;
147
147
  failureReason: z.ZodEnum<{
148
- "screen-needs-a-run": "screen-needs-a-run";
149
- "screen-not-ready": "screen-not-ready";
150
- "runner-has-no-screen": "runner-has-no-screen";
151
- "action-not-supported-on-mobile": "action-not-supported-on-mobile";
152
148
  "action-not-supported-on-browser": "action-not-supported-on-browser";
149
+ "action-not-supported-on-mobile": "action-not-supported-on-mobile";
153
150
  "out-of-time": "out-of-time";
151
+ "runner-has-no-screen": "runner-has-no-screen";
152
+ "screen-needs-a-run": "screen-needs-a-run";
153
+ "screen-not-ready": "screen-not-ready";
154
154
  }>;
155
155
  index: z.ZodInt;
156
156
  outcome: z.ZodLiteral<"failure">;
@@ -1 +1 @@
1
- {"version":3,"file":"performActions.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/performActions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAchD,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,sBAAsB,EACtB,wBAAwB,GACzB,MAAM,0BAA0B,CAAC;AAalC,eAAO,MAAM,kCAAkC,GAC7C,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmGA,CAAC"}
1
+ {"version":3,"file":"performActions.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/performActions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAchD,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,sBAAsB,EACtB,wBAAwB,GACzB,MAAM,0BAA0B,CAAC;AAalC,eAAO,MAAM,kCAAkC,GAC7C,WAAW,SAAS,cAAc,OAC7B;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;iBA2EK,eAAe,EACb,gIAAgI;iBAClI,aAAa,EACX,sFAAsF;iBACxF,YAAY,EACV,+DAA+D;;;iBAGjE,eAAe;iBACf,aAAa;iBACb,YAAY;;0BAGZ,+2CAAq2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAEj2C,OAAO;mBACP,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQhC,CAAC"}
@@ -35,12 +35,12 @@ export declare const failedStepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
35
35
  }, z.core.$strip>, z.ZodObject<{
36
36
  effect: z.ZodLiteral<"not-performed">;
37
37
  failureReason: z.ZodEnum<{
38
- "screen-needs-a-run": "screen-needs-a-run";
39
- "screen-not-ready": "screen-not-ready";
40
- "runner-has-no-screen": "runner-has-no-screen";
41
- "action-not-supported-on-mobile": "action-not-supported-on-mobile";
42
38
  "action-not-supported-on-browser": "action-not-supported-on-browser";
39
+ "action-not-supported-on-mobile": "action-not-supported-on-mobile";
43
40
  "out-of-time": "out-of-time";
41
+ "runner-has-no-screen": "runner-has-no-screen";
42
+ "screen-needs-a-run": "screen-needs-a-run";
43
+ "screen-not-ready": "screen-not-ready";
44
44
  }>;
45
45
  index: z.ZodInt;
46
46
  outcome: z.ZodLiteral<"failure">;
@@ -72,12 +72,12 @@ export declare const stepResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
72
72
  }, z.core.$strip>, z.ZodObject<{
73
73
  effect: z.ZodLiteral<"not-performed">;
74
74
  failureReason: z.ZodEnum<{
75
- "screen-needs-a-run": "screen-needs-a-run";
76
- "screen-not-ready": "screen-not-ready";
77
- "runner-has-no-screen": "runner-has-no-screen";
78
- "action-not-supported-on-mobile": "action-not-supported-on-mobile";
79
75
  "action-not-supported-on-browser": "action-not-supported-on-browser";
76
+ "action-not-supported-on-mobile": "action-not-supported-on-mobile";
80
77
  "out-of-time": "out-of-time";
78
+ "runner-has-no-screen": "runner-has-no-screen";
79
+ "screen-needs-a-run": "screen-needs-a-run";
80
+ "screen-not-ready": "screen-not-ready";
81
81
  }>;
82
82
  index: z.ZodInt;
83
83
  outcome: z.ZodLiteral<"failure">;
@@ -28,8 +28,8 @@ export declare const makePromoteSnapshotOnRunnerContract: <WorkspaceId extends P
28
28
  outcome: z.ZodLiteral<"success">;
29
29
  }, z.core.$strip>, z.ZodObject<{
30
30
  failureReason: z.ZodEnum<{
31
- "runner-unreachable": "runner-unreachable";
32
31
  "runner-cannot-promote-snapshots": "runner-cannot-promote-snapshots";
32
+ "runner-unreachable": "runner-unreachable";
33
33
  "snapshot-not-found": "snapshot-not-found";
34
34
  }>;
35
35
  outcome: z.ZodLiteral<"failure">;
@@ -1 +1 @@
1
- {"version":3,"file":"promoteSnapshot.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/promoteSnapshot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,6EAA6E;AAC7E,eAAO,MAAM,qBAAqB,OAAQ,CAAC;AAE3C,eAAO,MAAM,mCAAmC,GAC9C,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwDA,CAAC"}
1
+ {"version":3,"file":"promoteSnapshot.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/promoteSnapshot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,6EAA6E;AAC7E,eAAO,MAAM,qBAAqB,OAAQ,CAAC;AAE3C,eAAO,MAAM,mCAAmC,GAC9C,WAAW,SAAS,cAAc,OAC7B;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;iBAgCK,eAAe,EACb,uFAAuF;iBACzF,aAAa,EACX,mFAAmF;iBACrF,YAAY,EACV,gFAAgF;;;iBAGlF,eAAe;iBACf,aAAa;iBACb,YAAY;;0BAGZ,svBAAsvB;;;;;;;mBAElvB,OAAO;mBACP,wBAAwB;;;;;;;;;;;CAQjC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"readJournal.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/readJournal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAehD,eAAO,MAAM,6BAA6B,GACxC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCA,CAAC"}
1
+ {"version":3,"file":"readJournal.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/readJournal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAehD,eAAO,MAAM,6BAA6B,GACxC,WAAW,SAAS,cAAc,OAC7B;IACL,SAAS,EAAE,WAAW,CAAC;CACxB;;iBAkBK,eAAe,EACb,gHAAgH;iBAClH,aAAa,EACX,mFAAmF;iBACrF,YAAY,EACV,4FAA4F;;;iBAG9F,eAAe;iBACf,aAAa;iBACb,YAAY;;;;;;;;;;;mBAIR,MAAM;mBACN,oBAAoB;;;;;;;;;;;;;;;;;;;;;CAQ7B,CAAC"}