@qawolf/api-contracts 0.78.0 → 0.83.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 (340) hide show
  1. package/README.md +2 -0
  2. package/dist/v1/agent/get.d.ts +5 -0
  3. package/dist/v1/agent/get.d.ts.map +1 -1
  4. package/dist/v1/agent/get.js +5 -0
  5. package/dist/v1/agent/get.js.map +1 -1
  6. package/dist/v1/agent/send.d.ts +5 -0
  7. package/dist/v1/agent/send.d.ts.map +1 -1
  8. package/dist/v1/agent/send.js +5 -0
  9. package/dist/v1/agent/send.js.map +1 -1
  10. package/dist/v1/{run/getAttemptArtifacts.d.ts → attempt/get.d.ts} +9 -4
  11. package/dist/v1/attempt/get.d.ts.map +1 -0
  12. package/dist/v1/{run/getAttemptArtifacts.js → attempt/get.js} +10 -5
  13. package/dist/v1/attempt/get.js.map +1 -0
  14. package/dist/v1/codeHostIntegration/find.d.ts +5 -0
  15. package/dist/v1/codeHostIntegration/find.d.ts.map +1 -1
  16. package/dist/v1/codeHostIntegration/find.js +5 -0
  17. package/dist/v1/codeHostIntegration/find.js.map +1 -1
  18. package/dist/v1/codeHostIntegration/listRepositories.d.ts +5 -0
  19. package/dist/v1/codeHostIntegration/listRepositories.d.ts.map +1 -1
  20. package/dist/v1/codeHostIntegration/listRepositories.js +5 -0
  21. package/dist/v1/codeHostIntegration/listRepositories.js.map +1 -1
  22. package/dist/v1/definition.d.ts +5 -0
  23. package/dist/v1/definition.d.ts.map +1 -1
  24. package/dist/v1/deployment/find.d.ts +5 -0
  25. package/dist/v1/deployment/find.d.ts.map +1 -1
  26. package/dist/v1/deployment/find.js +5 -0
  27. package/dist/v1/deployment/find.js.map +1 -1
  28. package/dist/v1/deployment/index.d.ts +15 -0
  29. package/dist/v1/deployment/index.d.ts.map +1 -1
  30. package/dist/v1/deployment/listTriggerEvaluations.d.ts +5 -0
  31. package/dist/v1/deployment/listTriggerEvaluations.d.ts.map +1 -1
  32. package/dist/v1/deployment/listTriggerEvaluations.js +5 -0
  33. package/dist/v1/deployment/listTriggerEvaluations.js.map +1 -1
  34. package/dist/v1/deployment/reportStatus.d.ts +5 -0
  35. package/dist/v1/deployment/reportStatus.d.ts.map +1 -1
  36. package/dist/v1/deployment/reportStatus.js +5 -0
  37. package/dist/v1/deployment/reportStatus.js.map +1 -1
  38. package/dist/v1/email/find.d.ts +5 -0
  39. package/dist/v1/email/find.d.ts.map +1 -1
  40. package/dist/v1/email/find.js +5 -0
  41. package/dist/v1/email/find.js.map +1 -1
  42. package/dist/v1/email/get.d.ts +5 -0
  43. package/dist/v1/email/get.d.ts.map +1 -1
  44. package/dist/v1/email/get.js +5 -0
  45. package/dist/v1/email/get.js.map +1 -1
  46. package/dist/v1/email/getAttachment.d.ts +5 -0
  47. package/dist/v1/email/getAttachment.d.ts.map +1 -1
  48. package/dist/v1/email/getAttachment.js +5 -0
  49. package/dist/v1/email/getAttachment.js.map +1 -1
  50. package/dist/v1/email/listAddresses.d.ts +5 -0
  51. package/dist/v1/email/listAddresses.d.ts.map +1 -1
  52. package/dist/v1/email/listAddresses.js +5 -0
  53. package/dist/v1/email/listAddresses.js.map +1 -1
  54. package/dist/v1/email/registerAddress.d.ts +5 -0
  55. package/dist/v1/email/registerAddress.d.ts.map +1 -1
  56. package/dist/v1/email/registerAddress.js +5 -0
  57. package/dist/v1/email/registerAddress.js.map +1 -1
  58. package/dist/v1/email/send.d.ts +5 -0
  59. package/dist/v1/email/send.d.ts.map +1 -1
  60. package/dist/v1/email/send.js +5 -0
  61. package/dist/v1/email/send.js.map +1 -1
  62. package/dist/v1/environment/create.d.ts +5 -0
  63. package/dist/v1/environment/create.d.ts.map +1 -1
  64. package/dist/v1/environment/create.js +5 -0
  65. package/dist/v1/environment/create.js.map +1 -1
  66. package/dist/v1/environment/deleteVariable.d.ts +5 -0
  67. package/dist/v1/environment/deleteVariable.d.ts.map +1 -1
  68. package/dist/v1/environment/deleteVariable.js +5 -0
  69. package/dist/v1/environment/deleteVariable.js.map +1 -1
  70. package/dist/v1/environment/discard.d.ts +54 -0
  71. package/dist/v1/environment/discard.d.ts.map +1 -0
  72. package/dist/v1/environment/discard.js +28 -0
  73. package/dist/v1/environment/discard.js.map +1 -0
  74. package/dist/v1/environment/find.d.ts +5 -0
  75. package/dist/v1/environment/find.d.ts.map +1 -1
  76. package/dist/v1/environment/find.js +5 -0
  77. package/dist/v1/environment/find.js.map +1 -1
  78. package/dist/v1/environment/getVariable.d.ts +5 -0
  79. package/dist/v1/environment/getVariable.d.ts.map +1 -1
  80. package/dist/v1/environment/getVariable.js +5 -0
  81. package/dist/v1/environment/getVariable.js.map +1 -1
  82. package/dist/v1/environment/index.d.ts +15 -0
  83. package/dist/v1/environment/index.d.ts.map +1 -1
  84. package/dist/v1/environment/index.js +15 -0
  85. package/dist/v1/environment/index.js.map +1 -1
  86. package/dist/v1/environment/promote.d.ts +51 -0
  87. package/dist/v1/environment/promote.d.ts.map +1 -0
  88. package/dist/v1/environment/promote.js +28 -0
  89. package/dist/v1/environment/promote.js.map +1 -0
  90. package/dist/v1/environment/update.d.ts +5 -0
  91. package/dist/v1/environment/update.d.ts.map +1 -1
  92. package/dist/v1/environment/update.js +5 -0
  93. package/dist/v1/environment/update.js.map +1 -1
  94. package/dist/v1/file/index.d.ts +10 -0
  95. package/dist/v1/file/index.d.ts.map +1 -1
  96. package/dist/v1/file/requestDownload.d.ts +5 -0
  97. package/dist/v1/file/requestDownload.d.ts.map +1 -1
  98. package/dist/v1/file/requestDownload.js +5 -0
  99. package/dist/v1/file/requestDownload.js.map +1 -1
  100. package/dist/v1/file/requestUpload.d.ts +5 -0
  101. package/dist/v1/file/requestUpload.d.ts.map +1 -1
  102. package/dist/v1/file/requestUpload.js +5 -0
  103. package/dist/v1/file/requestUpload.js.map +1 -1
  104. package/dist/v1/flow/addTag.d.ts +5 -0
  105. package/dist/v1/flow/addTag.d.ts.map +1 -1
  106. package/dist/v1/flow/addTag.js +5 -0
  107. package/dist/v1/flow/addTag.js.map +1 -1
  108. package/dist/v1/flow/index.d.ts +5 -0
  109. package/dist/v1/flow/index.d.ts.map +1 -1
  110. package/dist/v1/flow/index.js +5 -0
  111. package/dist/v1/flow/index.js.map +1 -1
  112. package/dist/v1/flow/removeTag.d.ts +5 -0
  113. package/dist/v1/flow/removeTag.d.ts.map +1 -1
  114. package/dist/v1/flow/removeTag.js +5 -0
  115. package/dist/v1/flow/removeTag.js.map +1 -1
  116. package/dist/v1/flow/update.d.ts +5 -0
  117. package/dist/v1/flow/update.d.ts.map +1 -1
  118. package/dist/v1/flow/update.js +5 -0
  119. package/dist/v1/flow/update.js.map +1 -1
  120. package/dist/v1/ids.d.ts +3 -1
  121. package/dist/v1/ids.d.ts.map +1 -1
  122. package/dist/v1/ids.js +4 -0
  123. package/dist/v1/ids.js.map +1 -1
  124. package/dist/v1/index.d.ts +1858 -428
  125. package/dist/v1/index.d.ts.map +1 -1
  126. package/dist/v1/index.js +16 -2
  127. package/dist/v1/index.js.map +1 -1
  128. package/dist/v1/investigation/finding.d.ts +10 -0
  129. package/dist/v1/investigation/finding.d.ts.map +1 -1
  130. package/dist/v1/investigation/finding.js +35 -3
  131. package/dist/v1/investigation/finding.js.map +1 -1
  132. package/dist/v1/investigation/get.d.ts +29 -0
  133. package/dist/v1/investigation/get.d.ts.map +1 -1
  134. package/dist/v1/investigation/get.js +18 -1
  135. package/dist/v1/investigation/get.js.map +1 -1
  136. package/dist/v1/investigation/index.d.ts +29 -0
  137. package/dist/v1/investigation/index.d.ts.map +1 -1
  138. package/dist/v1/issue/addFlows.d.ts +6 -0
  139. package/dist/v1/issue/addFlows.d.ts.map +1 -1
  140. package/dist/v1/issue/addFlows.js +5 -0
  141. package/dist/v1/issue/addFlows.js.map +1 -1
  142. package/dist/v1/issue/create.d.ts +6 -0
  143. package/dist/v1/issue/create.d.ts.map +1 -1
  144. package/dist/v1/issue/create.js +5 -0
  145. package/dist/v1/issue/create.js.map +1 -1
  146. package/dist/v1/issue/index.d.ts +15 -0
  147. package/dist/v1/issue/index.d.ts.map +1 -1
  148. package/dist/v1/issue/index.js +18 -2
  149. package/dist/v1/issue/index.js.map +1 -1
  150. package/dist/v1/issue/removeFlows.d.ts +6 -0
  151. package/dist/v1/issue/removeFlows.d.ts.map +1 -1
  152. package/dist/v1/issue/removeFlows.js +5 -0
  153. package/dist/v1/issue/removeFlows.js.map +1 -1
  154. package/dist/v1/issue/update.d.ts +7 -0
  155. package/dist/v1/issue/update.d.ts.map +1 -1
  156. package/dist/v1/issue/update.js +5 -0
  157. package/dist/v1/issue/update.js.map +1 -1
  158. package/dist/v1/legacyTrigger/find.d.ts +5 -0
  159. package/dist/v1/legacyTrigger/find.d.ts.map +1 -1
  160. package/dist/v1/legacyTrigger/find.js +5 -0
  161. package/dist/v1/legacyTrigger/find.js.map +1 -1
  162. package/dist/v1/legacyTrigger/index.d.ts +15 -0
  163. package/dist/v1/legacyTrigger/index.d.ts.map +1 -1
  164. package/dist/v1/legacyTrigger/lifecycle.d.ts +10 -0
  165. package/dist/v1/legacyTrigger/lifecycle.d.ts.map +1 -1
  166. package/dist/v1/legacyTrigger/lifecycle.js +10 -0
  167. package/dist/v1/legacyTrigger/lifecycle.js.map +1 -1
  168. package/dist/v1/promotion/find.d.ts +64 -0
  169. package/dist/v1/promotion/find.d.ts.map +1 -0
  170. package/dist/v1/promotion/find.js +41 -0
  171. package/dist/v1/promotion/find.js.map +1 -0
  172. package/dist/v1/promotion/get.d.ts +48 -0
  173. package/dist/v1/promotion/get.d.ts.map +1 -0
  174. package/dist/v1/promotion/get.js +24 -0
  175. package/dist/v1/promotion/get.js.map +1 -0
  176. package/dist/v1/promotion/index.d.ts +109 -0
  177. package/dist/v1/promotion/index.d.ts.map +1 -0
  178. package/dist/v1/promotion/index.js +10 -0
  179. package/dist/v1/promotion/index.js.map +1 -0
  180. package/dist/v1/promotion/resource.d.ts +39 -0
  181. package/dist/v1/promotion/resource.d.ts.map +1 -0
  182. package/dist/v1/promotion/resource.js +45 -0
  183. package/dist/v1/promotion/resource.js.map +1 -0
  184. package/dist/v1/run/acceptScreenshotBaseline.d.ts +39 -0
  185. package/dist/v1/run/acceptScreenshotBaseline.d.ts.map +1 -0
  186. package/dist/v1/run/acceptScreenshotBaseline.js +66 -0
  187. package/dist/v1/run/acceptScreenshotBaseline.js.map +1 -0
  188. package/dist/v1/run/diagnose.d.ts +6 -0
  189. package/dist/v1/run/diagnose.d.ts.map +1 -1
  190. package/dist/v1/run/diagnose.js +5 -0
  191. package/dist/v1/run/diagnose.js.map +1 -1
  192. package/dist/v1/run/find.d.ts +5 -0
  193. package/dist/v1/run/find.d.ts.map +1 -1
  194. package/dist/v1/run/find.js +5 -0
  195. package/dist/v1/run/find.js.map +1 -1
  196. package/dist/v1/run/get.d.ts +7 -0
  197. package/dist/v1/run/get.d.ts.map +1 -1
  198. package/dist/v1/run/get.js +10 -0
  199. package/dist/v1/run/get.js.map +1 -1
  200. package/dist/v1/run/index.d.ts +5 -0
  201. package/dist/v1/run/index.d.ts.map +1 -1
  202. package/dist/v1/run/index.js +5 -0
  203. package/dist/v1/run/index.js.map +1 -1
  204. package/dist/v1/run/investigationSessionId.d.ts +3 -0
  205. package/dist/v1/run/investigationSessionId.d.ts.map +1 -0
  206. package/dist/v1/run/investigationSessionId.js +12 -0
  207. package/dist/v1/run/investigationSessionId.js.map +1 -0
  208. package/dist/v1/run/listScreenshotComparisons.d.ts +65 -0
  209. package/dist/v1/run/listScreenshotComparisons.d.ts.map +1 -0
  210. package/dist/v1/run/listScreenshotComparisons.js +129 -0
  211. package/dist/v1/run/listScreenshotComparisons.js.map +1 -0
  212. package/dist/v1/run/optOutOfInvestigation.d.ts +5 -0
  213. package/dist/v1/run/optOutOfInvestigation.d.ts.map +1 -1
  214. package/dist/v1/run/optOutOfInvestigation.js +5 -0
  215. package/dist/v1/run/optOutOfInvestigation.js.map +1 -1
  216. package/dist/v1/run/reattempt.d.ts +5 -0
  217. package/dist/v1/run/reattempt.d.ts.map +1 -1
  218. package/dist/v1/run/reattempt.js +5 -0
  219. package/dist/v1/run/reattempt.js.map +1 -1
  220. package/dist/v1/run/restoreScreenshotBaseline.d.ts +38 -0
  221. package/dist/v1/run/restoreScreenshotBaseline.d.ts.map +1 -0
  222. package/dist/v1/run/restoreScreenshotBaseline.js +62 -0
  223. package/dist/v1/run/restoreScreenshotBaseline.js.map +1 -0
  224. package/dist/v1/run/stop.d.ts +5 -0
  225. package/dist/v1/run/stop.d.ts.map +1 -1
  226. package/dist/v1/run/stop.js +5 -0
  227. package/dist/v1/run/stop.js.map +1 -1
  228. package/dist/v1/runner/catalog.d.ts +95 -5
  229. package/dist/v1/runner/catalog.d.ts.map +1 -1
  230. package/dist/v1/runner/evaluateSnippet.d.ts +5 -0
  231. package/dist/v1/runner/evaluateSnippet.d.ts.map +1 -1
  232. package/dist/v1/runner/evaluateSnippet.js +5 -0
  233. package/dist/v1/runner/evaluateSnippet.js.map +1 -1
  234. package/dist/v1/runner/get.d.ts +5 -0
  235. package/dist/v1/runner/get.d.ts.map +1 -1
  236. package/dist/v1/runner/get.js +5 -0
  237. package/dist/v1/runner/get.js.map +1 -1
  238. package/dist/v1/runner/highlightSelector.d.ts +5 -0
  239. package/dist/v1/runner/highlightSelector.d.ts.map +1 -1
  240. package/dist/v1/runner/highlightSelector.js +5 -0
  241. package/dist/v1/runner/highlightSelector.js.map +1 -1
  242. package/dist/v1/runner/importPackage.d.ts +5 -0
  243. package/dist/v1/runner/importPackage.d.ts.map +1 -1
  244. package/dist/v1/runner/importPackage.js +5 -0
  245. package/dist/v1/runner/importPackage.js.map +1 -1
  246. package/dist/v1/runner/index.d.ts +11 -1
  247. package/dist/v1/runner/index.d.ts.map +1 -1
  248. package/dist/v1/runner/index.js +11 -1
  249. package/dist/v1/runner/index.js.map +1 -1
  250. package/dist/v1/runner/inspect.d.ts +5 -0
  251. package/dist/v1/runner/inspect.d.ts.map +1 -1
  252. package/dist/v1/runner/inspect.js +6 -1
  253. package/dist/v1/runner/inspect.js.map +1 -1
  254. package/dist/v1/runner/inspectMobile.d.ts +6 -1
  255. package/dist/v1/runner/inspectMobile.d.ts.map +1 -1
  256. package/dist/v1/runner/inspectMobile.js +16 -5
  257. package/dist/v1/runner/inspectMobile.js.map +1 -1
  258. package/dist/v1/runner/list.d.ts +5 -0
  259. package/dist/v1/runner/list.d.ts.map +1 -1
  260. package/dist/v1/runner/list.js +5 -0
  261. package/dist/v1/runner/list.js.map +1 -1
  262. package/dist/v1/runner/performAction.d.ts +6 -1
  263. package/dist/v1/runner/performAction.d.ts.map +1 -1
  264. package/dist/v1/runner/performAction.js +11 -5
  265. package/dist/v1/runner/performAction.js.map +1 -1
  266. package/dist/v1/runner/performActions.d.ts +6 -1
  267. package/dist/v1/runner/performActions.d.ts.map +1 -1
  268. package/dist/v1/runner/performActions.js +6 -1
  269. package/dist/v1/runner/performActions.js.map +1 -1
  270. package/dist/v1/runner/promoteSnapshot.d.ts +5 -0
  271. package/dist/v1/runner/promoteSnapshot.d.ts.map +1 -1
  272. package/dist/v1/runner/promoteSnapshot.js +5 -0
  273. package/dist/v1/runner/promoteSnapshot.js.map +1 -1
  274. package/dist/v1/runner/readJournal.d.ts +5 -0
  275. package/dist/v1/runner/readJournal.d.ts.map +1 -1
  276. package/dist/v1/runner/readJournal.js +5 -0
  277. package/dist/v1/runner/readJournal.js.map +1 -1
  278. package/dist/v1/runner/recording.d.ts +20 -0
  279. package/dist/v1/runner/recording.d.ts.map +1 -1
  280. package/dist/v1/runner/recording.js +10 -0
  281. package/dist/v1/runner/recording.js.map +1 -1
  282. package/dist/v1/runner/runFlow.d.ts +5 -0
  283. package/dist/v1/runner/runFlow.d.ts.map +1 -1
  284. package/dist/v1/runner/runFlow.js +5 -0
  285. package/dist/v1/runner/runFlow.js.map +1 -1
  286. package/dist/v1/runner/runnerAction.d.ts +1 -1
  287. package/dist/v1/runner/runnerAction.js +1 -1
  288. package/dist/v1/runner/screen.d.ts +2 -2
  289. package/dist/v1/runner/screen.d.ts.map +1 -1
  290. package/dist/v1/runner/screen.js +2 -2
  291. package/dist/v1/runner/screen.js.map +1 -1
  292. package/dist/v1/runner/stopRun.d.ts +5 -0
  293. package/dist/v1/runner/stopRun.d.ts.map +1 -1
  294. package/dist/v1/runner/stopRun.js +5 -0
  295. package/dist/v1/runner/stopRun.js.map +1 -1
  296. package/dist/v1/runner/takeScreenshot.d.ts +6 -1
  297. package/dist/v1/runner/takeScreenshot.d.ts.map +1 -1
  298. package/dist/v1/runner/takeScreenshot.js +6 -1
  299. package/dist/v1/runner/takeScreenshot.js.map +1 -1
  300. package/dist/v1/sharedSchemas.d.ts +2 -1
  301. package/dist/v1/sharedSchemas.d.ts.map +1 -1
  302. package/dist/v1/sharedSchemas.js +1 -0
  303. package/dist/v1/sharedSchemas.js.map +1 -1
  304. package/dist/v1/skill/index.d.ts +20 -0
  305. package/dist/v1/skill/index.d.ts.map +1 -1
  306. package/dist/v1/skill/index.js +10 -0
  307. package/dist/v1/skill/index.js.map +1 -1
  308. package/dist/v1/tag/index.d.ts +5 -0
  309. package/dist/v1/tag/index.d.ts.map +1 -1
  310. package/dist/v1/tag/index.js +5 -0
  311. package/dist/v1/tag/index.js.map +1 -1
  312. package/dist/v1/tag/list.d.ts +5 -0
  313. package/dist/v1/tag/list.d.ts.map +1 -1
  314. package/dist/v1/tag/list.js +5 -0
  315. package/dist/v1/tag/list.js.map +1 -1
  316. package/dist/v1/trigger/create.d.ts +5 -0
  317. package/dist/v1/trigger/create.d.ts.map +1 -1
  318. package/dist/v1/trigger/create.js +5 -0
  319. package/dist/v1/trigger/create.js.map +1 -1
  320. package/dist/v1/trigger/find.d.ts +5 -0
  321. package/dist/v1/trigger/find.d.ts.map +1 -1
  322. package/dist/v1/trigger/find.js +5 -0
  323. package/dist/v1/trigger/find.js.map +1 -1
  324. package/dist/v1/trigger/get.d.ts +5 -0
  325. package/dist/v1/trigger/get.d.ts.map +1 -1
  326. package/dist/v1/trigger/get.js +5 -0
  327. package/dist/v1/trigger/get.js.map +1 -1
  328. package/dist/v1/trigger/index.d.ts +35 -0
  329. package/dist/v1/trigger/index.d.ts.map +1 -1
  330. package/dist/v1/trigger/lifecycle.d.ts +15 -0
  331. package/dist/v1/trigger/lifecycle.d.ts.map +1 -1
  332. package/dist/v1/trigger/lifecycle.js +15 -0
  333. package/dist/v1/trigger/lifecycle.js.map +1 -1
  334. package/dist/v1/trigger/update.d.ts +5 -0
  335. package/dist/v1/trigger/update.d.ts.map +1 -1
  336. package/dist/v1/trigger/update.js +5 -0
  337. package/dist/v1/trigger/update.js.map +1 -1
  338. package/package.json +1 -1
  339. package/dist/v1/run/getAttemptArtifacts.d.ts.map +0 -1
  340. package/dist/v1/run/getAttemptArtifacts.js.map +0 -1
@@ -11,11 +11,16 @@ export type PublicApiOutput<Api extends AnyPublicApiContract> = z.infer<Api["out
11
11
  * the same factory with its own strict id schemas, so the contract shape can
12
12
  * never drift between the two while validation strictness stays server-owned.
13
13
  */
14
- export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, FlowId extends PublicIdSchema, RunId extends PublicIdSchema, IssueId extends PublicIdSchema = PublicIdSchema, WorkspaceId extends PublicIdSchema = PublicIdSchema, AiTaskId extends PublicIdSchema = PublicIdSchema, ChatSessionId extends PublicIdSchema = PublicIdSchema, TriggerId extends PublicIdSchema = PublicIdSchema, DeploymentId extends PublicIdSchema = PublicIdSchema, LegacyTriggerId extends PublicIdSchema = PublicIdSchema, RunAttemptId extends PublicIdSchema = PublicIdSchema>(ids: Omit<PublicIdSchemasOf<EnvironmentId, FlowId, RunId, IssueId, WorkspaceId, AiTaskId, ChatSessionId, TriggerId, DeploymentId, LegacyTriggerId, RunAttemptId>, "runAttempt"> & {
14
+ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, FlowId extends PublicIdSchema, RunId extends PublicIdSchema, IssueId extends PublicIdSchema = PublicIdSchema, WorkspaceId extends PublicIdSchema = PublicIdSchema, AiTaskId extends PublicIdSchema = PublicIdSchema, ChatSessionId extends PublicIdSchema = PublicIdSchema, TriggerId extends PublicIdSchema = PublicIdSchema, DeploymentId extends PublicIdSchema = PublicIdSchema, LegacyTriggerId extends PublicIdSchema = PublicIdSchema, RunAttemptId extends PublicIdSchema = PublicIdSchema, PromotionId extends PublicIdSchema = PublicIdSchema>(ids: Omit<PublicIdSchemasOf<EnvironmentId, FlowId, RunId, IssueId, WorkspaceId, AiTaskId, ChatSessionId, TriggerId, DeploymentId, LegacyTriggerId, RunAttemptId, PromotionId>, "runAttempt"> & {
15
15
  runAttempt?: RunAttemptId;
16
16
  }) => {
17
17
  agent: {
18
18
  get: {
19
+ readonly annotationJustifications: {
20
+ readonly destructiveHint: "Does not cancel work or edit tests and messages.";
21
+ readonly openWorldHint: "Reads a QA Wolf session without posting to external services.";
22
+ readonly readOnlyHint: "Retrieves session status, replies and the live link without sending work.";
23
+ };
19
24
  readonly annotations: {
20
25
  readonly destructiveHint: false;
21
26
  readonly openWorldHint: false;
@@ -54,6 +59,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
54
59
  }, z.core.$strip>;
55
60
  };
56
61
  send: {
62
+ readonly annotationJustifications: {
63
+ readonly destructiveHint: "Delegated execution can overwrite test code or change and delete application data.";
64
+ readonly openWorldHint: "Delegated work can submit application actions and publish code to connected repositories.";
65
+ readonly readOnlyHint: "Creates or continues AI work that can implement, run and publish tests.";
66
+ };
57
67
  readonly annotations: {
58
68
  readonly destructiveHint: true;
59
69
  readonly openWorldHint: true;
@@ -84,8 +94,209 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
84
94
  }, z.core.$strip>;
85
95
  };
86
96
  };
97
+ attempt: {
98
+ get: {
99
+ readonly annotationJustifications: {
100
+ readonly destructiveHint: "Does not retry, cancel or alter the run attempt.";
101
+ readonly openWorldHint: "Reads recorded QA Wolf artifacts without changing the application under test.";
102
+ readonly readOnlyHint: "Retrieves a finished attempt's metadata and signed artifact URLs.";
103
+ };
104
+ readonly annotations: {
105
+ readonly destructiveHint: false;
106
+ readonly openWorldHint: false;
107
+ readonly readOnlyHint: true;
108
+ };
109
+ readonly description: "Get a finished run attempt: its run and flow status, its place among that flow's attempts in the run, and signed links to its logs, trace, and video when they were captured.";
110
+ readonly input: z.ZodObject<{
111
+ attemptId: PublicIdSchema;
112
+ }, z.core.$strip>;
113
+ readonly kind: "read";
114
+ readonly name: "attempt.get";
115
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
116
+ flowId: FlowId;
117
+ flowStatus: z.ZodEnum<{
118
+ failed: "failed";
119
+ queued: "queued";
120
+ running: "running";
121
+ passed: "passed";
122
+ canceled: "canceled";
123
+ }>;
124
+ retryContext: z.ZodObject<{
125
+ currentOrdinal: z.ZodNumber;
126
+ next: z.ZodOptional<z.ZodObject<{
127
+ attemptId: PublicIdSchema;
128
+ status: z.ZodEnum<{
129
+ failed: "failed";
130
+ passed: "passed";
131
+ canceled: "canceled";
132
+ skipped: "skipped";
133
+ aborted: "aborted";
134
+ }>;
135
+ }, z.core.$strip>>;
136
+ previous: z.ZodOptional<z.ZodObject<{
137
+ attemptId: PublicIdSchema;
138
+ status: z.ZodEnum<{
139
+ failed: "failed";
140
+ passed: "passed";
141
+ canceled: "canceled";
142
+ skipped: "skipped";
143
+ aborted: "aborted";
144
+ }>;
145
+ }, z.core.$strip>>;
146
+ total: z.ZodNumber;
147
+ }, z.core.$strip>;
148
+ runId: RunId;
149
+ runStatus: z.ZodEnum<{
150
+ failed: "failed";
151
+ queued: "queued";
152
+ running: "running";
153
+ passed: "passed";
154
+ canceled: "canceled";
155
+ superseded: "superseded";
156
+ }>;
157
+ artifacts: z.ZodObject<{
158
+ logsUrl: z.ZodOptional<z.ZodURL>;
159
+ traceUrl: z.ZodOptional<z.ZodURL>;
160
+ videoUrl: z.ZodOptional<z.ZodURL>;
161
+ }, z.core.$strip>;
162
+ artifactStatus: z.ZodLiteral<"signed">;
163
+ attempt: z.ZodObject<{
164
+ attemptId: PublicIdSchema;
165
+ completedAt: z.ZodOptional<z.ZodISODateTime>;
166
+ createdAt: z.ZodISODateTime;
167
+ error: z.ZodOptional<z.ZodString>;
168
+ startedAt: z.ZodOptional<z.ZodISODateTime>;
169
+ kind: z.ZodLiteral<"automated">;
170
+ status: z.ZodEnum<{
171
+ failed: "failed";
172
+ passed: "passed";
173
+ canceled: "canceled";
174
+ skipped: "skipped";
175
+ aborted: "aborted";
176
+ }>;
177
+ }, z.core.$strip>;
178
+ }, z.core.$strip>, z.ZodObject<{
179
+ flowId: FlowId;
180
+ flowStatus: z.ZodEnum<{
181
+ failed: "failed";
182
+ queued: "queued";
183
+ running: "running";
184
+ passed: "passed";
185
+ canceled: "canceled";
186
+ }>;
187
+ retryContext: z.ZodObject<{
188
+ currentOrdinal: z.ZodNumber;
189
+ next: z.ZodOptional<z.ZodObject<{
190
+ attemptId: PublicIdSchema;
191
+ status: z.ZodEnum<{
192
+ failed: "failed";
193
+ passed: "passed";
194
+ canceled: "canceled";
195
+ skipped: "skipped";
196
+ aborted: "aborted";
197
+ }>;
198
+ }, z.core.$strip>>;
199
+ previous: z.ZodOptional<z.ZodObject<{
200
+ attemptId: PublicIdSchema;
201
+ status: z.ZodEnum<{
202
+ failed: "failed";
203
+ passed: "passed";
204
+ canceled: "canceled";
205
+ skipped: "skipped";
206
+ aborted: "aborted";
207
+ }>;
208
+ }, z.core.$strip>>;
209
+ total: z.ZodNumber;
210
+ }, z.core.$strip>;
211
+ runId: RunId;
212
+ runStatus: z.ZodEnum<{
213
+ failed: "failed";
214
+ queued: "queued";
215
+ running: "running";
216
+ passed: "passed";
217
+ canceled: "canceled";
218
+ superseded: "superseded";
219
+ }>;
220
+ artifacts: z.ZodObject<{}, z.core.$strict>;
221
+ artifactStatus: z.ZodLiteral<"signing-failed">;
222
+ attempt: z.ZodObject<{
223
+ attemptId: PublicIdSchema;
224
+ completedAt: z.ZodOptional<z.ZodISODateTime>;
225
+ createdAt: z.ZodISODateTime;
226
+ error: z.ZodOptional<z.ZodString>;
227
+ startedAt: z.ZodOptional<z.ZodISODateTime>;
228
+ kind: z.ZodLiteral<"automated">;
229
+ status: z.ZodEnum<{
230
+ failed: "failed";
231
+ passed: "passed";
232
+ canceled: "canceled";
233
+ skipped: "skipped";
234
+ aborted: "aborted";
235
+ }>;
236
+ }, z.core.$strip>;
237
+ }, z.core.$strip>, z.ZodObject<{
238
+ flowId: FlowId;
239
+ flowStatus: z.ZodEnum<{
240
+ failed: "failed";
241
+ queued: "queued";
242
+ running: "running";
243
+ passed: "passed";
244
+ canceled: "canceled";
245
+ }>;
246
+ retryContext: z.ZodObject<{
247
+ currentOrdinal: z.ZodNumber;
248
+ next: z.ZodOptional<z.ZodObject<{
249
+ attemptId: PublicIdSchema;
250
+ status: z.ZodEnum<{
251
+ failed: "failed";
252
+ passed: "passed";
253
+ canceled: "canceled";
254
+ skipped: "skipped";
255
+ aborted: "aborted";
256
+ }>;
257
+ }, z.core.$strip>>;
258
+ previous: z.ZodOptional<z.ZodObject<{
259
+ attemptId: PublicIdSchema;
260
+ status: z.ZodEnum<{
261
+ failed: "failed";
262
+ passed: "passed";
263
+ canceled: "canceled";
264
+ skipped: "skipped";
265
+ aborted: "aborted";
266
+ }>;
267
+ }, z.core.$strip>>;
268
+ total: z.ZodNumber;
269
+ }, z.core.$strip>;
270
+ runId: RunId;
271
+ runStatus: z.ZodEnum<{
272
+ failed: "failed";
273
+ queued: "queued";
274
+ running: "running";
275
+ passed: "passed";
276
+ canceled: "canceled";
277
+ superseded: "superseded";
278
+ }>;
279
+ artifacts: z.ZodObject<{}, z.core.$strict>;
280
+ artifactStatus: z.ZodLiteral<"not-captured">;
281
+ attempt: z.ZodObject<{
282
+ attemptId: PublicIdSchema;
283
+ completedAt: z.ZodOptional<z.ZodISODateTime>;
284
+ createdAt: z.ZodISODateTime;
285
+ error: z.ZodOptional<z.ZodString>;
286
+ startedAt: z.ZodOptional<z.ZodISODateTime>;
287
+ kind: z.ZodLiteral<"manual">;
288
+ status: z.ZodLiteral<"passed">;
289
+ }, z.core.$strip>;
290
+ }, z.core.$strip>], "artifactStatus">;
291
+ };
292
+ };
87
293
  codeHostIntegration: {
88
294
  find: {
295
+ readonly annotationJustifications: {
296
+ readonly destructiveHint: "Does not disconnect integrations or change repository access.";
297
+ readonly openWorldHint: "Reads QA Wolf integration records without contacting or changing GitHub or GitLab.";
298
+ readonly readOnlyHint: "Lists the workspace's stored code host integrations and settings link without modifying them.";
299
+ };
89
300
  readonly annotations: {
90
301
  readonly destructiveHint: false;
91
302
  readonly openWorldHint: false;
@@ -111,6 +322,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
111
322
  }, z.core.$strip>;
112
323
  };
113
324
  listRepositories: {
325
+ readonly annotationJustifications: {
326
+ readonly destructiveHint: "Does not edit repositories, integration settings, or access permissions.";
327
+ readonly openWorldHint: "Reads repositories already recorded for the workspace's integrations, without accessing arbitrary external repositories.";
328
+ readonly readOnlyHint: "Lists repository metadata from the workspace's last code host sync without triggering a new sync.";
329
+ };
114
330
  readonly annotations: {
115
331
  readonly destructiveHint: false;
116
332
  readonly openWorldHint: false;
@@ -143,6 +359,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
143
359
  };
144
360
  deployment: {
145
361
  find: {
362
+ readonly annotationJustifications: {
363
+ readonly destructiveHint: "Does not modify deployments, environments, triggers, or runs.";
364
+ readonly openWorldHint: "Reads QA Wolf deployment records without contacting deployment providers or starting tests.";
365
+ readonly readOnlyHint: "Lists stored workspace deployments without reporting or changing their status.";
366
+ };
146
367
  readonly annotations: {
147
368
  readonly destructiveHint: false;
148
369
  readonly openWorldHint: false;
@@ -186,6 +407,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
186
407
  }, z.core.$strip>;
187
408
  };
188
409
  listTriggerEvaluations: {
410
+ readonly annotationJustifications: {
411
+ readonly destructiveHint: "Does not alter recorded verdicts, trigger configuration, or existing runs.";
412
+ readonly openWorldHint: "Reads stored QA Wolf verdicts without starting tests or updating external services.";
413
+ readonly readOnlyHint: "Retrieves the recorded trigger verdicts for one deployment without evaluating triggers again.";
414
+ };
189
415
  readonly annotations: {
190
416
  readonly destructiveHint: false;
191
417
  readonly openWorldHint: false;
@@ -301,6 +527,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
301
527
  }, z.core.$strip>], "state">;
302
528
  };
303
529
  reportStatus: {
530
+ readonly annotationJustifications: {
531
+ readonly destructiveHint: "Can replace deployment details and variable overrides, and trigger tests that overwrite or delete application data.";
532
+ readonly openWorldHint: "Successful deployments can start tests against external applications and update connected integrations.";
533
+ readonly readOnlyHint: "Creates or updates a deployment, can create an environment, and evaluates triggers on its first success report.";
534
+ };
304
535
  readonly annotations: {
305
536
  readonly destructiveHint: true;
306
537
  readonly openWorldHint: true;
@@ -354,6 +585,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
354
585
  };
355
586
  email: {
356
587
  find: {
588
+ readonly annotationJustifications: {
589
+ readonly destructiveHint: "Does not send, edit, or delete email messages.";
590
+ readonly openWorldHint: "Reads the workspace's QA Wolf inbox records without contacting recipients or arbitrary mailboxes.";
591
+ readonly readOnlyHint: "Searches stored workspace emails and returns matching message summaries.";
592
+ };
357
593
  readonly annotations: {
358
594
  readonly destructiveHint: false;
359
595
  readonly openWorldHint: false;
@@ -396,6 +632,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
396
632
  }, z.core.$strip>;
397
633
  };
398
634
  get: {
635
+ readonly annotationJustifications: {
636
+ readonly destructiveHint: "Does not alter or delete the message or its attachments.";
637
+ readonly openWorldHint: "Reads a stored workspace message without forwarding it or contacting external recipients.";
638
+ readonly readOnlyHint: "Retrieves the content of an existing workspace email.";
639
+ };
399
640
  readonly annotations: {
400
641
  readonly destructiveHint: false;
401
642
  readonly openWorldHint: false;
@@ -448,6 +689,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
448
689
  }, z.core.$strip>;
449
690
  };
450
691
  getAttachment: {
692
+ readonly annotationJustifications: {
693
+ readonly destructiveHint: "Does not modify or delete the email or attachment.";
694
+ readonly openWorldHint: "Access is limited to attachments of authorized workspace emails, not arbitrary external files.";
695
+ readonly readOnlyHint: "Reads one attachment from an existing workspace email and returns its content.";
696
+ };
451
697
  readonly annotations: {
452
698
  readonly destructiveHint: false;
453
699
  readonly openWorldHint: false;
@@ -471,6 +717,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
471
717
  }, z.core.$strip>;
472
718
  };
473
719
  listAddresses: {
720
+ readonly annotationJustifications: {
721
+ readonly destructiveHint: "Does not register, replace, or remove inbox addresses.";
722
+ readonly openWorldHint: "Reads QA Wolf inbox configuration without contacting external mail services or recipients.";
723
+ readonly readOnlyHint: "Lists the workspace's registered inbox addresses without changing them.";
724
+ };
474
725
  readonly annotations: {
475
726
  readonly destructiveHint: false;
476
727
  readonly openWorldHint: false;
@@ -494,6 +745,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
494
745
  }, z.core.$strip>;
495
746
  };
496
747
  registerAddress: {
748
+ readonly annotationJustifications: {
749
+ readonly destructiveHint: "Adds an address without replacing or deleting existing inbox addresses or emails.";
750
+ readonly openWorldHint: "Adds a QA Wolf workspace inbox address without sending messages to external recipients.";
751
+ readonly readOnlyHint: "Registers an additional inbox address for the workspace.";
752
+ };
497
753
  readonly annotations: {
498
754
  readonly destructiveHint: false;
499
755
  readonly openWorldHint: false;
@@ -513,6 +769,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
513
769
  }, z.core.$strip>;
514
770
  };
515
771
  send: {
772
+ readonly annotationJustifications: {
773
+ readonly destructiveHint: "Sending an email is irreversible; recipients may act on it, and the tool cannot recall it.";
774
+ readonly openWorldHint: "Delivers message content and attachments to caller-selected email recipients outside QA Wolf.";
775
+ readonly readOnlyHint: "Sends an email from a workspace inbox and stores the sent message.";
776
+ };
516
777
  readonly annotations: {
517
778
  readonly destructiveHint: true;
518
779
  readonly openWorldHint: true;
@@ -556,6 +817,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
556
817
  };
557
818
  environment: {
558
819
  create: {
820
+ readonly annotationJustifications: {
821
+ readonly destructiveHint: "Adds a new environment and branch rather than deleting or overwriting an existing one.";
822
+ readonly openWorldHint: "Creates a branch in the connected Git provider rather than changing only QA Wolf records.";
823
+ readonly readOnlyHint: "Creates a QA Wolf environment and its remote flow-code branch.";
824
+ };
559
825
  readonly annotations: {
560
826
  readonly destructiveHint: false;
561
827
  readonly openWorldHint: true;
@@ -598,6 +864,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
598
864
  }, z.core.$strip>;
599
865
  };
600
866
  deleteVariable: {
867
+ readonly annotationJustifications: {
868
+ readonly destructiveHint: "Deletes an existing variable value, while an already-absent variable is left absent.";
869
+ readonly openWorldHint: "Changes private test configuration without submitting it to an external application.";
870
+ readonly readOnlyHint: "Removes a named environment variable from QA Wolf storage.";
871
+ };
601
872
  readonly annotations: {
602
873
  readonly destructiveHint: true;
603
874
  readonly openWorldHint: false;
@@ -615,7 +886,59 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
615
886
  name: z.ZodString;
616
887
  }, z.core.$strip>;
617
888
  };
889
+ discard: {
890
+ readonly annotationJustifications: {
891
+ readonly destructiveHint: "Terminates the environment for good: its runs are canceled and its flow changes are never promoted.";
892
+ readonly openWorldHint: "Changes QA Wolf environments only, not the customer's own repository or deployments.";
893
+ readonly readOnlyHint: "Terminates an environment and returns it terminated.";
894
+ };
895
+ readonly annotations: {
896
+ readonly destructiveHint: true;
897
+ readonly openWorldHint: false;
898
+ readonly readOnlyHint: false;
899
+ };
900
+ readonly description: "Declare a preview environment's work discarded, typically when its pull request closes without merging: the environment is terminated and its flow changes are not promoted into its base. Returns the environment, now terminated. A terminated environment cannot be discarded again. Use environment.promote instead when the work is accepted.";
901
+ readonly input: z.ZodObject<{
902
+ environmentId: PublicIdSchema;
903
+ workspaceId: z.ZodOptional<WorkspaceId>;
904
+ }, z.core.$strip>;
905
+ readonly kind: "write";
906
+ readonly name: "environment.discard";
907
+ readonly output: z.ZodObject<{
908
+ alias: z.ZodOptional<z.ZodString>;
909
+ flowCodeBranch: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
910
+ lastSyncedCommitHash: z.ZodString;
911
+ name: z.ZodString;
912
+ syncStatus: z.ZodLiteral<"reconciled">;
913
+ }, z.core.$strip>, z.ZodObject<{
914
+ name: z.ZodString;
915
+ syncStatus: z.ZodLiteral<"not-reconciled">;
916
+ }, z.core.$strip>], "syncStatus">>;
917
+ id: EnvironmentId;
918
+ isDefault: z.ZodBoolean;
919
+ kind: z.ZodEnum<{
920
+ static: "static";
921
+ preview: "preview";
922
+ }>;
923
+ name: z.ZodString;
924
+ runConcurrencyLimit: z.ZodString;
925
+ status: z.ZodEnum<{
926
+ running: "running";
927
+ blocked: "blocked";
928
+ "needs-investigation": "needs-investigation";
929
+ ready: "ready";
930
+ }>;
931
+ terminatedAt: z.ZodOptional<z.ZodISODateTime>;
932
+ variablesUrl: z.ZodOptional<z.ZodURL>;
933
+ url: z.ZodURL;
934
+ }, z.core.$strip>;
935
+ };
618
936
  find: {
937
+ readonly annotationJustifications: {
938
+ readonly destructiveHint: "Does not edit environments, variables or branches.";
939
+ readonly openWorldHint: "Reads private QA Wolf environment metadata without publishing changes.";
940
+ readonly readOnlyHint: "Lists workspace environments and their configuration summaries.";
941
+ };
619
942
  readonly annotations: {
620
943
  readonly destructiveHint: false;
621
944
  readonly openWorldHint: false;
@@ -668,6 +991,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
668
991
  }, z.core.$strip>;
669
992
  };
670
993
  get: {
994
+ readonly annotationJustifications: {
995
+ readonly destructiveHint: "Does not alter environment settings or concurrency limits.";
996
+ readonly openWorldHint: "Reads QA Wolf environment state without updating the connected Git provider.";
997
+ readonly readOnlyHint: "Retrieves an environment's configuration, run health and code-reconciliation state.";
998
+ };
671
999
  readonly annotations: {
672
1000
  readonly destructiveHint: false;
673
1001
  readonly openWorldHint: false;
@@ -710,6 +1038,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
710
1038
  }, z.core.$strip>;
711
1039
  };
712
1040
  getVariable: {
1041
+ readonly annotationJustifications: {
1042
+ readonly destructiveHint: "Does not replace or remove variable values.";
1043
+ readonly openWorldHint: "Reads private stored configuration without submitting it to an external application.";
1044
+ readonly readOnlyHint: "Retrieves decrypted values of named environment variables and reports missing names.";
1045
+ };
713
1046
  readonly annotations: {
714
1047
  readonly destructiveHint: false;
715
1048
  readonly openWorldHint: false;
@@ -732,6 +1065,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
732
1065
  }, z.core.$strip>;
733
1066
  };
734
1067
  listVariableNames: {
1068
+ readonly annotationJustifications: {
1069
+ readonly destructiveHint: "Does not alter variables or expose their stored values.";
1070
+ readonly openWorldHint: "Reads private configuration names without changing external systems.";
1071
+ readonly readOnlyHint: "Lists available environment variable names without retrieving their values.";
1072
+ };
735
1073
  readonly annotations: {
736
1074
  readonly destructiveHint: false;
737
1075
  readonly openWorldHint: false;
@@ -748,26 +1086,78 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
748
1086
  variableNames: z.ZodArray<z.ZodString>;
749
1087
  }, z.core.$strip>;
750
1088
  };
751
- setVariable: {
1089
+ promote: {
1090
+ readonly annotationJustifications: {
1091
+ readonly destructiveHint: "Merges the environment's flow changes into its base and terminates the environment once they land.";
1092
+ readonly openWorldHint: "Changes QA Wolf flow code branches only, not the customer's own repository or deployments.";
1093
+ readonly readOnlyHint: "Records a promotion request that a background executor carries out.";
1094
+ };
752
1095
  readonly annotations: {
753
1096
  readonly destructiveHint: true;
754
1097
  readonly openWorldHint: false;
755
1098
  readonly readOnlyHint: false;
756
1099
  };
757
- readonly description: "Create or replace an environment variable. If the user asks to create one for \"my email\" without naming it, use DEFAULT_EMAIL. The value is never returned.";
1100
+ readonly description: "Declare a preview environment's work accepted, typically when its pull request merges: its flow changes are promoted into its base environment and the environment is terminated once they land. Returns the promotion in pending; poll promotion.get to learn how it settled. Calling again while a promotion is open returns that promotion. A conflict settles the promotion conflicted and cancels the environment's in-progress runs; promotion.get names the conflicting paths. Use environment.discard instead when the work is abandoned.";
758
1101
  readonly input: z.ZodObject<{
759
1102
  environmentId: PublicIdSchema;
760
- name: z.ZodString;
761
- value: z.ZodString;
762
1103
  workspaceId: z.ZodOptional<WorkspaceId>;
763
1104
  }, z.core.$strip>;
764
1105
  readonly kind: "write";
765
- readonly name: "environment.setVariable";
1106
+ readonly name: "environment.promote";
766
1107
  readonly output: z.ZodObject<{
767
- name: z.ZodString;
768
- }, z.core.$strip>;
1108
+ aiTaskId: z.ZodOptional<AiTaskId>;
1109
+ baseEnvironmentId: EnvironmentId;
1110
+ conflict: z.ZodOptional<z.ZodObject<{
1111
+ paths: z.ZodArray<z.ZodString>;
1112
+ sourceCommitHash: z.ZodString;
1113
+ targetCommitHash: z.ZodString;
1114
+ }, z.core.$strip>>;
1115
+ createdAt: z.ZodISODateTime;
1116
+ headEnvironmentId: EnvironmentId;
1117
+ id: PromotionId;
1118
+ promotedCommitHash: z.ZodOptional<z.ZodString>;
1119
+ settledAt: z.ZodOptional<z.ZodISODateTime>;
1120
+ status: z.ZodEnum<{
1121
+ pending: "pending";
1122
+ conflicted: "conflicted";
1123
+ resolving: "resolving";
1124
+ promoted: "promoted";
1125
+ "no-changes": "no-changes";
1126
+ abandoned: "abandoned";
1127
+ }>;
1128
+ url: z.ZodURL;
1129
+ }, z.core.$strip>;
1130
+ };
1131
+ setVariable: {
1132
+ readonly annotationJustifications: {
1133
+ readonly destructiveHint: "Can overwrite an existing variable value, while an unchanged value is skipped.";
1134
+ readonly openWorldHint: "Changes stored QA Wolf configuration rather than submitting forms or publishing content.";
1135
+ readonly readOnlyHint: "Creates or replaces a named environment variable without returning its value.";
1136
+ };
1137
+ readonly annotations: {
1138
+ readonly destructiveHint: true;
1139
+ readonly openWorldHint: false;
1140
+ readonly readOnlyHint: false;
1141
+ };
1142
+ readonly description: "Create or replace an environment variable. If the user asks to create one for \"my email\" without naming it, use DEFAULT_EMAIL. The value is never returned.";
1143
+ readonly input: z.ZodObject<{
1144
+ environmentId: PublicIdSchema;
1145
+ name: z.ZodString;
1146
+ value: z.ZodString;
1147
+ workspaceId: z.ZodOptional<WorkspaceId>;
1148
+ }, z.core.$strip>;
1149
+ readonly kind: "write";
1150
+ readonly name: "environment.setVariable";
1151
+ readonly output: z.ZodObject<{
1152
+ name: z.ZodString;
1153
+ }, z.core.$strip>;
769
1154
  };
770
1155
  update: {
1156
+ readonly annotationJustifications: {
1157
+ readonly destructiveHint: "Can overwrite existing environment settings and affect future run capacity.";
1158
+ readonly openWorldHint: "Changes private environment settings without publishing code or contacting application users.";
1159
+ readonly readOnlyHint: "Updates an environment's name or run concurrency limit.";
1160
+ };
771
1161
  readonly annotations: {
772
1162
  readonly destructiveHint: true;
773
1163
  readonly openWorldHint: false;
@@ -814,6 +1204,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
814
1204
  };
815
1205
  file: {
816
1206
  requestDownload: {
1207
+ readonly annotationJustifications: {
1208
+ readonly destructiveHint: "Does not change, overwrite or delete the stored file.";
1209
+ readonly openWorldHint: "Access is limited to QA Wolf team storage; the caller cannot supply an arbitrary external destination.";
1210
+ readonly readOnlyHint: "Returns an expiring read URL for an existing file in the authorized workspace storage.";
1211
+ };
817
1212
  readonly annotations: {
818
1213
  readonly destructiveHint: false;
819
1214
  readonly openWorldHint: false;
@@ -833,6 +1228,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
833
1228
  }, z.core.$strip>;
834
1229
  };
835
1230
  requestUpload: {
1231
+ readonly annotationJustifications: {
1232
+ readonly destructiveHint: "Using the returned upload URL with an existing file name replaces that stored file.";
1233
+ readonly openWorldHint: "The upload target is QA Wolf team storage, not an arbitrary external service or recipient.";
1234
+ readonly readOnlyHint: "Returns an expiring upload URL that permits writing a file to the authorized workspace storage.";
1235
+ };
836
1236
  readonly annotations: {
837
1237
  readonly destructiveHint: true;
838
1238
  readonly openWorldHint: false;
@@ -855,6 +1255,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
855
1255
  };
856
1256
  flow: {
857
1257
  addTag: {
1258
+ readonly annotationJustifications: {
1259
+ readonly destructiveHint: "Adds associations without removing existing tags.";
1260
+ readonly openWorldHint: "Changes private flow-tag associations without running flows or publishing code.";
1261
+ readonly readOnlyHint: "Adds an existing tag to selected flows and skips flows already carrying it.";
1262
+ };
858
1263
  readonly annotations: {
859
1264
  readonly destructiveHint: false;
860
1265
  readonly openWorldHint: false;
@@ -881,6 +1286,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
881
1286
  }, z.core.$strip>;
882
1287
  };
883
1288
  list: {
1289
+ readonly annotationJustifications: {
1290
+ readonly destructiveHint: "Does not change flow code, readiness or tags.";
1291
+ readonly openWorldHint: "Reads flow records without pushing code or executing application actions.";
1292
+ readonly readOnlyHint: "Lists flows at an environment's reconciled commit or on a selected AI task branch.";
1293
+ };
884
1294
  readonly annotations: {
885
1295
  readonly destructiveHint: false;
886
1296
  readonly openWorldHint: false;
@@ -921,6 +1331,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
921
1331
  }, z.core.$strip>;
922
1332
  };
923
1333
  removeTag: {
1334
+ readonly annotationJustifications: {
1335
+ readonly destructiveHint: "Deletes existing tag associations and skips flows that do not carry the tag.";
1336
+ readonly openWorldHint: "Changes private flow-tag associations without updating external services.";
1337
+ readonly readOnlyHint: "Removes a selected tag from specified flows.";
1338
+ };
924
1339
  readonly annotations: {
925
1340
  readonly destructiveHint: true;
926
1341
  readonly openWorldHint: false;
@@ -947,6 +1362,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
947
1362
  }, z.core.$strip>;
948
1363
  };
949
1364
  update: {
1365
+ readonly annotationJustifications: {
1366
+ readonly destructiveHint: "Overwrites readiness and can deactivate a flow that was active.";
1367
+ readonly openWorldHint: "Changes private readiness state without itself executing the flow or publishing code.";
1368
+ readonly readOnlyHint: "Changes a flow between draft and active readiness.";
1369
+ };
950
1370
  readonly annotations: {
951
1371
  readonly destructiveHint: true;
952
1372
  readonly openWorldHint: false;
@@ -977,6 +1397,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
977
1397
  };
978
1398
  investigation: {
979
1399
  get: {
1400
+ readonly annotationJustifications: {
1401
+ readonly destructiveHint: "Does not answer, dispute or change the investigation.";
1402
+ readonly openWorldHint: "Reads recorded QA Wolf findings without changing the application under test.";
1403
+ readonly readOnlyHint: "Retrieves an investigation's findings, open questions and pending answers.";
1404
+ };
980
1405
  readonly annotations: {
981
1406
  readonly destructiveHint: false;
982
1407
  readonly openWorldHint: false;
@@ -989,6 +1414,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
989
1414
  readonly kind: "read";
990
1415
  readonly name: "investigation.get";
991
1416
  readonly output: z.ZodObject<{
1417
+ baselineChanges: z.ZodEnum<{
1418
+ automatic: "automatic";
1419
+ "needs-approval": "needs-approval";
1420
+ }>;
992
1421
  findings: z.ZodArray<z.ZodObject<{
993
1422
  actual: z.ZodOptional<z.ZodString>;
994
1423
  commitHash: z.ZodOptional<z.ZodString>;
@@ -999,6 +1428,14 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
999
1428
  disputeReason: z.ZodOptional<z.ZodString>;
1000
1429
  expected: z.ZodOptional<z.ZodString>;
1001
1430
  findingId: z.ZodString;
1431
+ fix: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1432
+ commitHash: z.ZodString;
1433
+ type: z.ZodLiteral<"commit">;
1434
+ }, z.core.$strip>, z.ZodObject<{
1435
+ baselineChangeId: z.ZodOptional<z.ZodString>;
1436
+ comparisonId: z.ZodString;
1437
+ type: z.ZodLiteral<"baseline">;
1438
+ }, z.core.$strip>], "type">>;
1002
1439
  flowIds: z.ZodArray<FlowId>;
1003
1440
  headline: z.ZodOptional<z.ZodString>;
1004
1441
  issueId: z.ZodOptional<IssueId>;
@@ -1017,12 +1454,14 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1017
1454
  title: z.ZodString;
1018
1455
  value: z.ZodString;
1019
1456
  }, z.core.$strip>>;
1457
+ comparisonId: z.ZodOptional<z.ZodString>;
1020
1458
  text: z.ZodString;
1021
1459
  }, z.core.$strip>>;
1022
1460
  response: z.ZodOptional<z.ZodObject<{
1023
1461
  answer: z.ZodOptional<z.ZodString>;
1024
1462
  at: z.ZodISODateTime;
1025
1463
  reason: z.ZodOptional<z.ZodString>;
1464
+ text: z.ZodOptional<z.ZodString>;
1026
1465
  type: z.ZodString;
1027
1466
  }, z.core.$strip>>;
1028
1467
  state: z.ZodString;
@@ -1038,12 +1477,27 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1038
1477
  finished: "finished";
1039
1478
  "not-investigated": "not-investigated";
1040
1479
  }>;
1480
+ subSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1481
+ sessionId: ChatSessionId;
1482
+ status: z.ZodEnum<{
1483
+ working: "working";
1484
+ "waiting-for-you": "waiting-for-you";
1485
+ completed: "completed";
1486
+ failed: "failed";
1487
+ cancelled: "cancelled";
1488
+ }>;
1489
+ }, z.core.$strip>>>;
1041
1490
  url: z.ZodURL;
1042
1491
  }, z.core.$strip>;
1043
1492
  };
1044
1493
  };
1045
1494
  issue: {
1046
1495
  addFlows: {
1496
+ readonly annotationJustifications: {
1497
+ readonly destructiveHint: "Adds coverage associations without removing existing ones.";
1498
+ readonly openWorldHint: "Changes private coverage associations without publishing an external issue update.";
1499
+ readonly readOnlyHint: "Adds existing flows to a coverage request's covered-flow set.";
1500
+ };
1047
1501
  readonly annotations: {
1048
1502
  readonly destructiveHint: false;
1049
1503
  readonly openWorldHint: false;
@@ -1081,6 +1535,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1081
1535
  status: z.ZodEnum<{
1082
1536
  canceled: "canceled";
1083
1537
  pending: "pending";
1538
+ backlog: "backlog";
1084
1539
  inProgress: "inProgress";
1085
1540
  paused: "paused";
1086
1541
  resolved: "resolved";
@@ -1096,6 +1551,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1096
1551
  }, z.core.$strip>;
1097
1552
  };
1098
1553
  create: {
1554
+ readonly annotationJustifications: {
1555
+ readonly destructiveHint: "Configured notifications can send irreversible messages even though the QA Wolf issue itself is new.";
1556
+ readonly openWorldHint: "Issue creation can send messages or synchronize records through connected communication and issue-tracking services.";
1557
+ readonly readOnlyHint: "Creates a bug or coverage request and can start configured issue notifications.";
1558
+ };
1099
1559
  readonly annotations: {
1100
1560
  readonly destructiveHint: true;
1101
1561
  readonly openWorldHint: true;
@@ -1179,6 +1639,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1179
1639
  status: z.ZodEnum<{
1180
1640
  canceled: "canceled";
1181
1641
  pending: "pending";
1642
+ backlog: "backlog";
1182
1643
  inProgress: "inProgress";
1183
1644
  paused: "paused";
1184
1645
  resolved: "resolved";
@@ -1194,6 +1655,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1194
1655
  }, z.core.$strip>;
1195
1656
  };
1196
1657
  find: {
1658
+ readonly annotationJustifications: {
1659
+ readonly destructiveHint: "Does not edit issue details, statuses or coverage associations.";
1660
+ readonly openWorldHint: "Reads QA Wolf issue records without publishing updates to linked trackers.";
1661
+ readonly readOnlyHint: "Lists workspace bug reports, maintenance reports or coverage requests.";
1662
+ };
1197
1663
  readonly annotations: {
1198
1664
  readonly destructiveHint: false;
1199
1665
  readonly openWorldHint: false;
@@ -1204,6 +1670,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1204
1670
  statuses: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1205
1671
  canceled: "canceled";
1206
1672
  pending: "pending";
1673
+ backlog: "backlog";
1207
1674
  inProgress: "inProgress";
1208
1675
  paused: "paused";
1209
1676
  resolved: "resolved";
@@ -1245,6 +1712,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1245
1712
  status: z.ZodEnum<{
1246
1713
  canceled: "canceled";
1247
1714
  pending: "pending";
1715
+ backlog: "backlog";
1248
1716
  inProgress: "inProgress";
1249
1717
  paused: "paused";
1250
1718
  resolved: "resolved";
@@ -1261,6 +1729,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1261
1729
  }, z.core.$strip>;
1262
1730
  };
1263
1731
  get: {
1732
+ readonly annotationJustifications: {
1733
+ readonly destructiveHint: "Does not modify or remove the issue.";
1734
+ readonly openWorldHint: "Reads the QA Wolf issue without changing linked external systems.";
1735
+ readonly readOnlyHint: "Retrieves one issue and its associated details.";
1736
+ };
1264
1737
  readonly annotations: {
1265
1738
  readonly destructiveHint: false;
1266
1739
  readonly openWorldHint: false;
@@ -1297,6 +1770,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1297
1770
  status: z.ZodEnum<{
1298
1771
  canceled: "canceled";
1299
1772
  pending: "pending";
1773
+ backlog: "backlog";
1300
1774
  inProgress: "inProgress";
1301
1775
  paused: "paused";
1302
1776
  resolved: "resolved";
@@ -1312,6 +1786,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1312
1786
  }, z.core.$strip>;
1313
1787
  };
1314
1788
  removeFlows: {
1789
+ readonly annotationJustifications: {
1790
+ readonly destructiveHint: "Deletes existing coverage associations while leaving already-unassociated flows unchanged.";
1791
+ readonly openWorldHint: "Changes private coverage associations without publishing to an external tracker.";
1792
+ readonly readOnlyHint: "Removes selected flows from a coverage request's covered-flow set.";
1793
+ };
1315
1794
  readonly annotations: {
1316
1795
  readonly destructiveHint: true;
1317
1796
  readonly openWorldHint: true;
@@ -1350,6 +1829,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1350
1829
  status: z.ZodEnum<{
1351
1830
  canceled: "canceled";
1352
1831
  pending: "pending";
1832
+ backlog: "backlog";
1353
1833
  inProgress: "inProgress";
1354
1834
  paused: "paused";
1355
1835
  resolved: "resolved";
@@ -1365,6 +1845,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1365
1845
  }, z.core.$strip>;
1366
1846
  };
1367
1847
  update: {
1848
+ readonly annotationJustifications: {
1849
+ readonly destructiveHint: "Can overwrite existing issue fields or send irreversible integration messages.";
1850
+ readonly openWorldHint: "Issue changes can update connected issue trackers and communication services.";
1851
+ readonly readOnlyHint: "Updates issue details, priority or status and can trigger integration updates.";
1852
+ };
1368
1853
  readonly annotations: {
1369
1854
  readonly destructiveHint: true;
1370
1855
  readonly openWorldHint: true;
@@ -1385,6 +1870,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1385
1870
  status: z.ZodOptional<z.ZodEnum<{
1386
1871
  canceled: "canceled";
1387
1872
  pending: "pending";
1873
+ backlog: "backlog";
1388
1874
  inProgress: "inProgress";
1389
1875
  paused: "paused";
1390
1876
  resolved: "resolved";
@@ -1418,6 +1904,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1418
1904
  status: z.ZodEnum<{
1419
1905
  canceled: "canceled";
1420
1906
  pending: "pending";
1907
+ backlog: "backlog";
1421
1908
  inProgress: "inProgress";
1422
1909
  paused: "paused";
1423
1910
  resolved: "resolved";
@@ -1435,6 +1922,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1435
1922
  };
1436
1923
  legacyTrigger: {
1437
1924
  find: {
1925
+ readonly annotationJustifications: {
1926
+ readonly destructiveHint: "Does not pause, resume or change any trigger.";
1927
+ readonly openWorldHint: "Reads private QA Wolf trigger configuration without starting external work.";
1928
+ readonly readOnlyHint: "Lists a workspace's legacy per-environment triggers.";
1929
+ };
1438
1930
  readonly annotations: {
1439
1931
  readonly destructiveHint: false;
1440
1932
  readonly openWorldHint: false;
@@ -1521,6 +2013,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1521
2013
  }, z.core.$strip>;
1522
2014
  };
1523
2015
  pause: {
2016
+ readonly annotationJustifications: {
2017
+ readonly destructiveHint: "Disables future automatic execution for the legacy trigger and its pull request copies until it is resumed.";
2018
+ readonly openWorldHint: "Changes private QA Wolf scheduling state without starting external work.";
2019
+ readonly readOnlyHint: "Pauses an existing legacy trigger so it stops starting new work.";
2020
+ };
1524
2021
  readonly annotations: {
1525
2022
  readonly destructiveHint: true;
1526
2023
  readonly openWorldHint: false;
@@ -1538,6 +2035,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1538
2035
  }, z.core.$strip>;
1539
2036
  };
1540
2037
  resume: {
2038
+ readonly annotationJustifications: {
2039
+ readonly destructiveHint: "Enables automatic test execution that can overwrite or delete application data.";
2040
+ readonly openWorldHint: "Resumed execution can change the application under test and update connected integrations.";
2041
+ readonly readOnlyHint: "Reactivates a legacy trigger and its pull request copies so future schedules or deployments can start runs.";
2042
+ };
1541
2043
  readonly annotations: {
1542
2044
  readonly destructiveHint: true;
1543
2045
  readonly openWorldHint: true;
@@ -1555,8 +2057,144 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1555
2057
  }, z.core.$strip>;
1556
2058
  };
1557
2059
  };
2060
+ promotion: {
2061
+ find: {
2062
+ readonly annotationJustifications: {
2063
+ readonly destructiveHint: "Does not change promotions, environments or flow code branches.";
2064
+ readonly openWorldHint: "Reads private QA Wolf promotion records without changing external systems.";
2065
+ readonly readOnlyHint: "Lists promotions in the authorized workspace without changing them.";
2066
+ };
2067
+ readonly annotations: {
2068
+ readonly destructiveHint: false;
2069
+ readonly openWorldHint: false;
2070
+ readonly readOnlyHint: true;
2071
+ };
2072
+ readonly description: "List environment promotions, newest first. A promotion moves the flow changes made in a head environment into its base environment. Filter by status conflicted to find the promotions whose conflicts still need a resolution.";
2073
+ readonly input: z.ZodObject<{
2074
+ cursor: z.ZodOptional<z.ZodString>;
2075
+ limit: z.ZodDefault<z.ZodNumber>;
2076
+ environmentId: z.ZodOptional<PublicIdSchema>;
2077
+ status: z.ZodOptional<z.ZodEnum<{
2078
+ pending: "pending";
2079
+ conflicted: "conflicted";
2080
+ resolving: "resolving";
2081
+ promoted: "promoted";
2082
+ "no-changes": "no-changes";
2083
+ abandoned: "abandoned";
2084
+ }>>;
2085
+ workspaceId: z.ZodOptional<WorkspaceId>;
2086
+ }, z.core.$strip>;
2087
+ readonly kind: "read";
2088
+ readonly name: "promotion.find";
2089
+ readonly output: z.ZodObject<{
2090
+ nextCursor: z.ZodOptional<z.ZodString>;
2091
+ promotions: z.ZodArray<z.ZodObject<{
2092
+ aiTaskId: z.ZodOptional<AiTaskId>;
2093
+ baseEnvironmentId: EnvironmentId;
2094
+ conflict: z.ZodOptional<z.ZodObject<{
2095
+ paths: z.ZodArray<z.ZodString>;
2096
+ sourceCommitHash: z.ZodString;
2097
+ targetCommitHash: z.ZodString;
2098
+ }, z.core.$strip>>;
2099
+ createdAt: z.ZodISODateTime;
2100
+ headEnvironmentId: EnvironmentId;
2101
+ id: PromotionId;
2102
+ promotedCommitHash: z.ZodOptional<z.ZodString>;
2103
+ settledAt: z.ZodOptional<z.ZodISODateTime>;
2104
+ status: z.ZodEnum<{
2105
+ pending: "pending";
2106
+ conflicted: "conflicted";
2107
+ resolving: "resolving";
2108
+ promoted: "promoted";
2109
+ "no-changes": "no-changes";
2110
+ abandoned: "abandoned";
2111
+ }>;
2112
+ url: z.ZodURL;
2113
+ }, z.core.$strip>>;
2114
+ }, z.core.$strip>;
2115
+ };
2116
+ get: {
2117
+ readonly annotationJustifications: {
2118
+ readonly destructiveHint: "Does not change the promotion, its environments or flow code branches.";
2119
+ readonly openWorldHint: "Reads a private QA Wolf promotion record without changing external systems.";
2120
+ readonly readOnlyHint: "Retrieves one authorized promotion's status and conflict without changing it.";
2121
+ };
2122
+ readonly annotations: {
2123
+ readonly destructiveHint: false;
2124
+ readonly openWorldHint: false;
2125
+ readonly readOnlyHint: true;
2126
+ };
2127
+ readonly description: "Read one environment promotion: its status, the conflicting paths and commit hashes while it is conflicted or resolving, the commit it landed when promoted, and the AI task resolving it. Poll it after environment.promote to learn how the promotion settled. It does not serve file contents; a resolver reads both branches from the flow code repository.";
2128
+ readonly input: z.ZodObject<{
2129
+ promotionId: PromotionId;
2130
+ }, z.core.$strip>;
2131
+ readonly kind: "read";
2132
+ readonly name: "promotion.get";
2133
+ readonly output: z.ZodObject<{
2134
+ aiTaskId: z.ZodOptional<AiTaskId>;
2135
+ baseEnvironmentId: EnvironmentId;
2136
+ conflict: z.ZodOptional<z.ZodObject<{
2137
+ paths: z.ZodArray<z.ZodString>;
2138
+ sourceCommitHash: z.ZodString;
2139
+ targetCommitHash: z.ZodString;
2140
+ }, z.core.$strip>>;
2141
+ createdAt: z.ZodISODateTime;
2142
+ headEnvironmentId: EnvironmentId;
2143
+ id: PromotionId;
2144
+ promotedCommitHash: z.ZodOptional<z.ZodString>;
2145
+ settledAt: z.ZodOptional<z.ZodISODateTime>;
2146
+ status: z.ZodEnum<{
2147
+ pending: "pending";
2148
+ conflicted: "conflicted";
2149
+ resolving: "resolving";
2150
+ promoted: "promoted";
2151
+ "no-changes": "no-changes";
2152
+ abandoned: "abandoned";
2153
+ }>;
2154
+ url: z.ZodURL;
2155
+ }, z.core.$strip>;
2156
+ };
2157
+ };
1558
2158
  run: {
2159
+ acceptScreenshotBaseline: {
2160
+ readonly annotationJustifications: {
2161
+ readonly destructiveHint: "Replaces the workspace's screenshot baseline, which changes what every later run compares with.";
2162
+ readonly openWorldHint: "Changes private QA Wolf baseline storage without starting external work.";
2163
+ readonly readOnlyHint: "Makes the new screenshot of a failed comparison the baseline.";
2164
+ };
2165
+ readonly annotations: {
2166
+ readonly destructiveHint: true;
2167
+ readonly openWorldHint: false;
2168
+ readonly readOnlyHint: false;
2169
+ };
2170
+ readonly description: string;
2171
+ readonly input: z.ZodObject<{
2172
+ chatSessionId: z.ZodOptional<z.ZodString>;
2173
+ comparisonId: z.ZodString;
2174
+ runId: RunId;
2175
+ }, z.core.$strip>;
2176
+ readonly kind: "write";
2177
+ readonly name: "run.acceptScreenshotBaseline";
2178
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
2179
+ baselineChangeId: z.ZodString;
2180
+ name: z.ZodString;
2181
+ outcome: z.ZodLiteral<"accepted">;
2182
+ }, z.core.$strip>, z.ZodObject<{
2183
+ outcome: z.ZodLiteral<"baseline-changed">;
2184
+ }, z.core.$strip>, z.ZodObject<{
2185
+ outcome: z.ZodLiteral<"needs-approval">;
2186
+ }, z.core.$strip>, z.ZodObject<{
2187
+ outcome: z.ZodLiteral<"not-investigation-session">;
2188
+ }, z.core.$strip>, z.ZodObject<{
2189
+ outcome: z.ZodLiteral<"nothing-to-accept">;
2190
+ }, z.core.$strip>], "outcome">;
2191
+ };
1559
2192
  create: {
2193
+ readonly annotationJustifications: {
2194
+ readonly destructiveHint: "Test code can overwrite or delete application data.";
2195
+ readonly openWorldHint: "Test execution can submit forms or change the application under test and its connected services.";
2196
+ readonly readOnlyHint: "Creates a run and enqueues execution of selected flows.";
2197
+ };
1560
2198
  readonly annotations: {
1561
2199
  readonly destructiveHint: true;
1562
2200
  readonly openWorldHint: true;
@@ -1597,6 +2235,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1597
2235
  }, z.core.$strip>;
1598
2236
  };
1599
2237
  diagnose: {
2238
+ readonly annotationJustifications: {
2239
+ readonly destructiveHint: "Can replace a flow's existing diagnosis association and change externally reported run information.";
2240
+ readonly openWorldHint: "Recorded diagnosis changes can update run-related messages in configured external integrations.";
2241
+ readonly readOnlyHint: "Records failed flows as reproductions of a selected bug or maintenance issue.";
2242
+ };
1600
2243
  readonly annotations: {
1601
2244
  readonly destructiveHint: true;
1602
2245
  readonly openWorldHint: true;
@@ -1635,6 +2278,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1635
2278
  status: z.ZodEnum<{
1636
2279
  canceled: "canceled";
1637
2280
  pending: "pending";
2281
+ backlog: "backlog";
1638
2282
  inProgress: "inProgress";
1639
2283
  paused: "paused";
1640
2284
  resolved: "resolved";
@@ -1650,6 +2294,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1650
2294
  }, z.core.$strip>;
1651
2295
  };
1652
2296
  find: {
2297
+ readonly annotationJustifications: {
2298
+ readonly destructiveHint: "Does not stop runs, overwrite results or change diagnoses.";
2299
+ readonly openWorldHint: "Reads private run records without executing application actions.";
2300
+ readonly readOnlyHint: "Lists recent environment runs without starting or retrying them.";
2301
+ };
1653
2302
  readonly annotations: {
1654
2303
  readonly destructiveHint: false;
1655
2304
  readonly openWorldHint: false;
@@ -1697,6 +2346,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1697
2346
  }, z.core.$strip>;
1698
2347
  };
1699
2348
  get: {
2349
+ readonly annotationJustifications: {
2350
+ readonly destructiveHint: "Does not retry, cancel or alter the run.";
2351
+ readonly openWorldHint: "Reads recorded QA Wolf results without changing the application under test.";
2352
+ readonly readOnlyHint: "Retrieves a run's status, per-flow results and result links.";
2353
+ };
1700
2354
  readonly annotations: {
1701
2355
  readonly destructiveHint: false;
1702
2356
  readonly openWorldHint: false;
@@ -1738,6 +2392,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1738
2392
  videoUrl: z.ZodOptional<z.ZodURL>;
1739
2393
  }, z.core.$strip>, z.ZodObject<{
1740
2394
  attemptId: z.ZodOptional<PublicIdSchema>;
2395
+ canceledReason: z.ZodOptional<z.ZodString>;
1741
2396
  completedAt: z.ZodOptional<z.ZodISODateTime>;
1742
2397
  kind: z.ZodLiteral<"automated">;
1743
2398
  startedAt: z.ZodOptional<z.ZodISODateTime>;
@@ -1789,6 +2444,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1789
2444
  videoUrl: z.ZodOptional<z.ZodURL>;
1790
2445
  }, z.core.$strip>, z.ZodObject<{
1791
2446
  attemptId: z.ZodOptional<PublicIdSchema>;
2447
+ canceledReason: z.ZodOptional<z.ZodString>;
1792
2448
  completedAt: z.ZodOptional<z.ZodISODateTime>;
1793
2449
  kind: z.ZodLiteral<"automated">;
1794
2450
  startedAt: z.ZodOptional<z.ZodISODateTime>;
@@ -1831,199 +2487,71 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1831
2487
  runId: RunId;
1832
2488
  url: z.ZodURL;
1833
2489
  }, z.core.$strip>>;
1834
- url: z.ZodURL;
1835
- }, z.core.$strip>;
1836
- };
1837
- getAttemptArtifacts: {
1838
- readonly annotations: {
1839
- readonly destructiveHint: false;
1840
- readonly openWorldHint: false;
1841
- readonly readOnlyHint: true;
1842
- };
1843
- readonly description: "Get metadata and signed artifact URLs for one finished run attempt.";
1844
- readonly input: z.ZodObject<{
1845
- attemptId: PublicIdSchema;
1846
- }, z.core.$strip>;
1847
- readonly kind: "read";
1848
- readonly name: "run.getAttemptArtifacts";
1849
- readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
1850
- flowId: FlowId;
1851
- flowStatus: z.ZodEnum<{
1852
- failed: "failed";
1853
- queued: "queued";
1854
- running: "running";
1855
- passed: "passed";
1856
- canceled: "canceled";
1857
- }>;
1858
- retryContext: z.ZodObject<{
1859
- currentOrdinal: z.ZodNumber;
1860
- next: z.ZodOptional<z.ZodObject<{
1861
- attemptId: PublicIdSchema;
1862
- status: z.ZodEnum<{
1863
- failed: "failed";
1864
- passed: "passed";
1865
- canceled: "canceled";
1866
- skipped: "skipped";
1867
- aborted: "aborted";
1868
- }>;
1869
- }, z.core.$strip>>;
1870
- previous: z.ZodOptional<z.ZodObject<{
1871
- attemptId: PublicIdSchema;
1872
- status: z.ZodEnum<{
1873
- failed: "failed";
1874
- passed: "passed";
1875
- canceled: "canceled";
1876
- skipped: "skipped";
1877
- aborted: "aborted";
1878
- }>;
1879
- }, z.core.$strip>>;
1880
- total: z.ZodNumber;
1881
- }, z.core.$strip>;
1882
- runId: RunId;
1883
- runStatus: z.ZodEnum<{
1884
- failed: "failed";
1885
- queued: "queued";
1886
- running: "running";
1887
- passed: "passed";
1888
- canceled: "canceled";
1889
- superseded: "superseded";
1890
- }>;
1891
- artifacts: z.ZodObject<{
1892
- logsUrl: z.ZodOptional<z.ZodURL>;
1893
- traceUrl: z.ZodOptional<z.ZodURL>;
1894
- videoUrl: z.ZodOptional<z.ZodURL>;
1895
- }, z.core.$strip>;
1896
- artifactStatus: z.ZodLiteral<"signed">;
1897
- attempt: z.ZodObject<{
1898
- attemptId: PublicIdSchema;
1899
- completedAt: z.ZodOptional<z.ZodISODateTime>;
1900
- createdAt: z.ZodISODateTime;
1901
- error: z.ZodOptional<z.ZodString>;
1902
- startedAt: z.ZodOptional<z.ZodISODateTime>;
1903
- kind: z.ZodLiteral<"automated">;
1904
- status: z.ZodEnum<{
1905
- failed: "failed";
1906
- passed: "passed";
1907
- canceled: "canceled";
1908
- skipped: "skipped";
1909
- aborted: "aborted";
1910
- }>;
1911
- }, z.core.$strip>;
1912
- }, z.core.$strip>, z.ZodObject<{
1913
- flowId: FlowId;
1914
- flowStatus: z.ZodEnum<{
1915
- failed: "failed";
1916
- queued: "queued";
1917
- running: "running";
1918
- passed: "passed";
1919
- canceled: "canceled";
1920
- }>;
1921
- retryContext: z.ZodObject<{
1922
- currentOrdinal: z.ZodNumber;
1923
- next: z.ZodOptional<z.ZodObject<{
1924
- attemptId: PublicIdSchema;
1925
- status: z.ZodEnum<{
1926
- failed: "failed";
1927
- passed: "passed";
1928
- canceled: "canceled";
1929
- skipped: "skipped";
1930
- aborted: "aborted";
1931
- }>;
1932
- }, z.core.$strip>>;
1933
- previous: z.ZodOptional<z.ZodObject<{
1934
- attemptId: PublicIdSchema;
1935
- status: z.ZodEnum<{
1936
- failed: "failed";
1937
- passed: "passed";
1938
- canceled: "canceled";
1939
- skipped: "skipped";
1940
- aborted: "aborted";
1941
- }>;
1942
- }, z.core.$strip>>;
1943
- total: z.ZodNumber;
1944
- }, z.core.$strip>;
1945
- runId: RunId;
1946
- runStatus: z.ZodEnum<{
1947
- failed: "failed";
1948
- queued: "queued";
1949
- running: "running";
1950
- passed: "passed";
1951
- canceled: "canceled";
1952
- superseded: "superseded";
1953
- }>;
1954
- artifacts: z.ZodObject<{}, z.core.$strict>;
1955
- artifactStatus: z.ZodLiteral<"signing-failed">;
1956
- attempt: z.ZodObject<{
1957
- attemptId: PublicIdSchema;
1958
- completedAt: z.ZodOptional<z.ZodISODateTime>;
1959
- createdAt: z.ZodISODateTime;
1960
- error: z.ZodOptional<z.ZodString>;
1961
- startedAt: z.ZodOptional<z.ZodISODateTime>;
1962
- kind: z.ZodLiteral<"automated">;
1963
- status: z.ZodEnum<{
1964
- failed: "failed";
1965
- passed: "passed";
1966
- canceled: "canceled";
1967
- skipped: "skipped";
1968
- aborted: "aborted";
1969
- }>;
1970
- }, z.core.$strip>;
1971
- }, z.core.$strip>, z.ZodObject<{
1972
- flowId: FlowId;
1973
- flowStatus: z.ZodEnum<{
1974
- failed: "failed";
1975
- queued: "queued";
1976
- running: "running";
1977
- passed: "passed";
1978
- canceled: "canceled";
1979
- }>;
1980
- retryContext: z.ZodObject<{
1981
- currentOrdinal: z.ZodNumber;
1982
- next: z.ZodOptional<z.ZodObject<{
1983
- attemptId: PublicIdSchema;
1984
- status: z.ZodEnum<{
1985
- failed: "failed";
1986
- passed: "passed";
1987
- canceled: "canceled";
1988
- skipped: "skipped";
1989
- aborted: "aborted";
1990
- }>;
1991
- }, z.core.$strip>>;
1992
- previous: z.ZodOptional<z.ZodObject<{
1993
- attemptId: PublicIdSchema;
1994
- status: z.ZodEnum<{
1995
- failed: "failed";
1996
- passed: "passed";
1997
- canceled: "canceled";
1998
- skipped: "skipped";
1999
- aborted: "aborted";
2000
- }>;
2001
- }, z.core.$strip>>;
2002
- total: z.ZodNumber;
2003
- }, z.core.$strip>;
2004
- runId: RunId;
2005
- runStatus: z.ZodEnum<{
2006
- failed: "failed";
2007
- queued: "queued";
2008
- running: "running";
2009
- passed: "passed";
2010
- canceled: "canceled";
2011
- superseded: "superseded";
2012
- }>;
2013
- artifacts: z.ZodObject<{}, z.core.$strict>;
2014
- artifactStatus: z.ZodLiteral<"not-captured">;
2015
- attempt: z.ZodObject<{
2016
- attemptId: PublicIdSchema;
2017
- completedAt: z.ZodOptional<z.ZodISODateTime>;
2018
- createdAt: z.ZodISODateTime;
2019
- error: z.ZodOptional<z.ZodString>;
2020
- startedAt: z.ZodOptional<z.ZodISODateTime>;
2021
- kind: z.ZodLiteral<"manual">;
2022
- status: z.ZodLiteral<"passed">;
2023
- }, z.core.$strip>;
2024
- }, z.core.$strip>], "artifactStatus">;
2490
+ url: z.ZodURL;
2491
+ }, z.core.$strip>;
2492
+ };
2493
+ listScreenshotComparisons: {
2494
+ readonly annotationJustifications: {
2495
+ readonly destructiveHint: "Does not change baselines, results or the run.";
2496
+ readonly openWorldHint: "Reads recorded QA Wolf screenshots without changing the application under test.";
2497
+ readonly readOnlyHint: "Creates missing JPEG previews of the compared images and keeps them in team storage.";
2498
+ };
2499
+ readonly annotations: {
2500
+ readonly destructiveHint: false;
2501
+ readonly openWorldHint: false;
2502
+ readonly readOnlyHint: false;
2503
+ };
2504
+ readonly description: string;
2505
+ readonly input: z.ZodObject<{
2506
+ flowIds: z.ZodOptional<z.ZodArray<FlowId>>;
2507
+ runId: RunId;
2508
+ }, z.core.$strip>;
2509
+ readonly kind: "read";
2510
+ readonly name: "run.listScreenshotComparisons";
2511
+ readonly output: z.ZodObject<{
2512
+ comparisons: z.ZodArray<z.ZodObject<{
2513
+ actualPreviewUrl: z.ZodOptional<z.ZodURL>;
2514
+ actualUrl: z.ZodURL;
2515
+ attemptCompletedAt: z.ZodISODateTime;
2516
+ baselineStatus: z.ZodEnum<{
2517
+ unknown: "unknown";
2518
+ accepted: "accepted";
2519
+ deleted: "deleted";
2520
+ unchanged: "unchanged";
2521
+ "changed-since-run": "changed-since-run";
2522
+ }>;
2523
+ comparisonId: z.ZodString;
2524
+ diffPreviewUrl: z.ZodOptional<z.ZodURL>;
2525
+ diffUrl: z.ZodURL;
2526
+ expectedPreviewUrl: z.ZodOptional<z.ZodURL>;
2527
+ expectedUrl: z.ZodURL;
2528
+ filePath: z.ZodOptional<z.ZodString>;
2529
+ flowId: FlowId;
2530
+ lineNumber: z.ZodOptional<z.ZodNumber>;
2531
+ name: z.ZodString;
2532
+ passingElsewhere: z.ZodDiscriminatedUnion<[z.ZodObject<{
2533
+ status: z.ZodLiteral<"not-tracked">;
2534
+ }, z.core.$strip>, z.ZodObject<{
2535
+ environments: z.ZodArray<z.ZodObject<{
2536
+ environmentId: EnvironmentId;
2537
+ lastPassedAt: z.ZodISODateTime;
2538
+ }, z.core.$strip>>;
2539
+ status: z.ZodLiteral<"tracked">;
2540
+ }, z.core.$strip>], "status">;
2541
+ runAttemptId: z.ZodString;
2542
+ similarity: z.ZodNumber;
2543
+ sizeMismatch: z.ZodBoolean;
2544
+ }, z.core.$strip>>;
2545
+ expiresAt: z.ZodISODateTime;
2546
+ truncated: z.ZodBoolean;
2547
+ }, z.core.$strip>;
2025
2548
  };
2026
2549
  optOutOfInvestigation: {
2550
+ readonly annotationJustifications: {
2551
+ readonly destructiveHint: "Ends the investigation of the selected failures and changes externally reported run information.";
2552
+ readonly openWorldHint: "Recorded opt-outs can update run-related messages in configured external integrations.";
2553
+ readonly readOnlyHint: "Records failed flows as needing no bug or maintenance report.";
2554
+ };
2027
2555
  readonly annotations: {
2028
2556
  readonly destructiveHint: true;
2029
2557
  readonly openWorldHint: true;
@@ -2043,6 +2571,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2043
2571
  }, z.core.$strip>;
2044
2572
  };
2045
2573
  reattempt: {
2574
+ readonly annotationJustifications: {
2575
+ readonly destructiveHint: "Repeated execution can overwrite or delete application data and creates additional billed work.";
2576
+ readonly openWorldHint: "New attempts execute against the application under test and can affect connected services.";
2577
+ readonly readOnlyHint: "Enqueues new attempts for eligible failed or canceled flows using the latest code.";
2578
+ };
2046
2579
  readonly annotations: {
2047
2580
  readonly destructiveHint: true;
2048
2581
  readonly openWorldHint: true;
@@ -2061,7 +2594,44 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2061
2594
  url: z.ZodURL;
2062
2595
  }, z.core.$strip>;
2063
2596
  };
2597
+ restoreScreenshotBaseline: {
2598
+ readonly annotationJustifications: {
2599
+ readonly destructiveHint: "Replaces the current screenshot baseline with the one it replaced, which changes what every later run compares with.";
2600
+ readonly openWorldHint: "Changes private QA Wolf baseline storage without starting external work.";
2601
+ readonly readOnlyHint: "Puts back the screenshot baseline that an accepted comparison replaced.";
2602
+ };
2603
+ readonly annotations: {
2604
+ readonly destructiveHint: true;
2605
+ readonly openWorldHint: false;
2606
+ readonly readOnlyHint: false;
2607
+ };
2608
+ readonly description: string;
2609
+ readonly input: z.ZodObject<{
2610
+ baselineChangeId: z.ZodString;
2611
+ chatSessionId: z.ZodOptional<z.ZodString>;
2612
+ runId: RunId;
2613
+ }, z.core.$strip>;
2614
+ readonly kind: "write";
2615
+ readonly name: "run.restoreScreenshotBaseline";
2616
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
2617
+ name: z.ZodString;
2618
+ outcome: z.ZodLiteral<"restored">;
2619
+ }, z.core.$strip>, z.ZodObject<{
2620
+ outcome: z.ZodLiteral<"baseline-changed">;
2621
+ }, z.core.$strip>, z.ZodObject<{
2622
+ outcome: z.ZodLiteral<"needs-dispute">;
2623
+ }, z.core.$strip>, z.ZodObject<{
2624
+ outcome: z.ZodLiteral<"not-investigation-session">;
2625
+ }, z.core.$strip>, z.ZodObject<{
2626
+ outcome: z.ZodLiteral<"nothing-to-restore">;
2627
+ }, z.core.$strip>], "outcome">;
2628
+ };
2064
2629
  stop: {
2630
+ readonly annotationJustifications: {
2631
+ readonly destructiveHint: "Interrupts unfinished work, while finished results remain intact and repeated stop requests are supported.";
2632
+ readonly openWorldHint: "Run status changes can update messages or commit statuses in configured external integrations.";
2633
+ readonly readOnlyHint: "Requests asynchronous cancellation of a run, queued flows and automatic retries.";
2634
+ };
2065
2635
  readonly annotations: {
2066
2636
  readonly destructiveHint: true;
2067
2637
  readonly openWorldHint: true;
@@ -2086,6 +2656,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2086
2656
  };
2087
2657
  runner: {
2088
2658
  runFlow: {
2659
+ readonly annotationJustifications: {
2660
+ readonly destructiveHint: "Test code can overwrite or delete application data, and uncertain acceptance must be checked before resubmission.";
2661
+ readonly openWorldHint: "Executed tests can submit forms and change the application under test or its connected services.";
2662
+ readonly readOnlyHint: "Submits test files for full-flow or selected-line execution on an interactive runner.";
2663
+ };
2089
2664
  readonly annotations: {
2090
2665
  readonly destructiveHint: true;
2091
2666
  readonly openWorldHint: true;
@@ -2140,6 +2715,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2140
2715
  }, z.core.$strip>], "failureReason">], "outcome">;
2141
2716
  };
2142
2717
  stopRun: {
2718
+ readonly annotationJustifications: {
2719
+ readonly destructiveHint: "Stops unfinished work where it is, while an already-idle runner is left idle.";
2720
+ readonly openWorldHint: "Changes private execution state without itself posting external messages.";
2721
+ readonly readOnlyHint: "Interrupts current execution while leaving the runner available.";
2722
+ };
2143
2723
  readonly annotations: {
2144
2724
  readonly destructiveHint: true;
2145
2725
  readonly openWorldHint: false;
@@ -2163,12 +2743,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2163
2743
  }, z.core.$strip>], "outcome">;
2164
2744
  };
2165
2745
  takeScreenshot: {
2746
+ readonly annotationJustifications: {
2747
+ readonly destructiveHint: "Does not change application data or stop execution, although the activity refresh can extend billed runtime.";
2748
+ readonly openWorldHint: "Reads the private runner display without submitting an external application action.";
2749
+ readonly readOnlyHint: "Captures the runner screen and refreshes activity, which can cancel an inactivity shutdown.";
2750
+ };
2166
2751
  readonly annotations: {
2167
2752
  readonly destructiveHint: false;
2168
2753
  readonly openWorldHint: false;
2169
2754
  readonly readOnlyHint: false;
2170
2755
  };
2171
- readonly description: "Take one screenshot of an interactive runner's screen. On a runner with a browser the image is the whole virtual desktop, browser window and all; this refreshes the inactivity timer and can extend the runner's billed lifetime. On a mobile runner it is the device's own screen, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. `screen-needs-a-run` if the runner's virtual desktop has never started. Waiting will not change this and retrying is pointless — call `runner.runFlow` with a flow that opens a browser, then ask for the screen again. On a runner image with a browser that has never run anything, any `runner.performAction` also starts the browser itself. Evaluating a snippet does not start the desktop. `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, or on `windows` use `runner.runFlow`. `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. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
2756
+ readonly description: "Take one screenshot of an interactive runner's screen. On a runner with a browser the image is the whole virtual desktop, browser window and all; this refreshes the inactivity timer and can extend the runner's billed lifetime. On a mobile runner it is the device's own screen, and on Windows the VM's whole desktop, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. `screen-needs-a-run` if the runner's virtual desktop has never started. Waiting will not change this and retrying is pointless — call `runner.runFlow` with a flow that opens a browser, then ask for the screen again. On a Windows runner any flow run claims the VM and brings up its screen. On a runner image with a browser that has never run anything, any `runner.performAction` also starts the browser itself. Evaluating a snippet does not start the desktop. `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 be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
2172
2757
  readonly input: z.ZodObject<{
2173
2758
  id: z.ZodString;
2174
2759
  workspaceId: z.ZodOptional<WorkspaceId>;
@@ -2189,6 +2774,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2189
2774
  }, z.core.$strip>], "outcome">;
2190
2775
  };
2191
2776
  terminate: {
2777
+ readonly annotationJustifications: {
2778
+ readonly destructiveHint: "Terminates running work and discards the live session, while an absent runner is left absent.";
2779
+ readonly openWorldHint: "Stops a private QA Wolf runner without itself publishing to third-party services.";
2780
+ readonly readOnlyHint: "Ends a selected interactive runner and the resources hosting it.";
2781
+ };
2192
2782
  readonly annotations: {
2193
2783
  readonly destructiveHint: true;
2194
2784
  readonly openWorldHint: false;
@@ -2208,6 +2798,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2208
2798
  }, z.core.$strip>;
2209
2799
  };
2210
2800
  record: {
2801
+ readonly annotationJustifications: {
2802
+ readonly destructiveHint: "Starts or stops a video recording without changing the application under test.";
2803
+ readonly openWorldHint: "Controls recording on a QA Wolf runner without starting external work.";
2804
+ readonly readOnlyHint: "Starts or stops video recording and changes automatic capture settings.";
2805
+ };
2211
2806
  readonly annotations: {
2212
2807
  readonly destructiveHint: false;
2213
2808
  readonly openWorldHint: false;
@@ -2283,6 +2878,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2283
2878
  }, z.core.$strip>;
2284
2879
  };
2285
2880
  recordings: {
2881
+ readonly annotationJustifications: {
2882
+ readonly destructiveHint: "Does not delete or change any recording.";
2883
+ readonly openWorldHint: "Reads QA Wolf workspace storage without changing the application under test.";
2884
+ readonly readOnlyHint: "Lists or retrieves a runner's finalized recordings.";
2885
+ };
2286
2886
  readonly annotations: {
2287
2887
  readonly destructiveHint: false;
2288
2888
  readonly openWorldHint: false;
@@ -2321,6 +2921,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2321
2921
  }, z.core.$strip>;
2322
2922
  };
2323
2923
  evaluateSnippet: {
2924
+ readonly annotationJustifications: {
2925
+ readonly destructiveHint: "Code can overwrite or delete runner or application data, and a timeout does not prove execution stopped.";
2926
+ readonly openWorldHint: "Supplied code can submit application actions or contact and change external services.";
2927
+ readonly readOnlyHint: "Executes supplied code against the interactive runner's current session.";
2928
+ };
2324
2929
  readonly annotations: {
2325
2930
  readonly destructiveHint: true;
2326
2931
  readonly openWorldHint: true;
@@ -2353,6 +2958,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2353
2958
  }, z.core.$strip>], "outcome">;
2354
2959
  };
2355
2960
  get: {
2961
+ readonly annotationJustifications: {
2962
+ readonly destructiveHint: "Does not stop the runner or change its execution.";
2963
+ readonly openWorldHint: "Reads private runner placement state without acting on external applications.";
2964
+ readonly readOnlyHint: "Checks whether a runner exists without starting it or refreshing its inactivity timer.";
2965
+ };
2356
2966
  readonly annotations: {
2357
2967
  readonly destructiveHint: false;
2358
2968
  readonly openWorldHint: false;
@@ -2377,6 +2987,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2377
2987
  }, z.core.$strip>], "running">;
2378
2988
  };
2379
2989
  highlightSelector: {
2990
+ readonly annotationJustifications: {
2991
+ readonly destructiveHint: "Only replaces or clears the inspection overlay rather than deleting application data.";
2992
+ readonly openWorldHint: "Draws a private inspection overlay without submitting an application form.";
2993
+ readonly readOnlyHint: "Changes the visual selector highlight on the runner's live page.";
2994
+ };
2380
2995
  readonly annotations: {
2381
2996
  readonly destructiveHint: false;
2382
2997
  readonly openWorldHint: false;
@@ -2409,6 +3024,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2409
3024
  }, z.core.$strip>], "outcome">;
2410
3025
  };
2411
3026
  importPackage: {
3027
+ readonly annotationJustifications: {
3028
+ readonly destructiveHint: "Can replace existing dependencies or execute commands that overwrite or delete runner or application data.";
3029
+ readonly openWorldHint: "Installation can contact external services and execute commands that change third-party systems.";
3030
+ readonly readOnlyHint: "Installs caller-selected dependencies into a live runner and can execute commands with the runner's access.";
3031
+ };
2412
3032
  readonly annotations: {
2413
3033
  readonly destructiveHint: true;
2414
3034
  readonly openWorldHint: true;
@@ -2436,6 +3056,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2436
3056
  }, z.core.$strip>], "outcome">;
2437
3057
  };
2438
3058
  inspect: {
3059
+ readonly annotationJustifications: {
3060
+ readonly destructiveHint: "Does not edit test code or application data, although the activity refresh can extend billed runtime.";
3061
+ readonly openWorldHint: "Inspects the private runner session without submitting application actions.";
3062
+ readonly readOnlyHint: "Retrieves browser inspection data and refreshes activity, which can cancel an inactivity shutdown.";
3063
+ };
2439
3064
  readonly annotations: {
2440
3065
  readonly destructiveHint: false;
2441
3066
  readonly openWorldHint: false;
@@ -2472,12 +3097,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2472
3097
  }, z.core.$strip>], "outcome">;
2473
3098
  };
2474
3099
  inspectMobile: {
3100
+ readonly annotationJustifications: {
3101
+ readonly destructiveHint: "Does not change application data, edit tests, or stop the runner.";
3102
+ readonly openWorldHint: "Inspects the existing QA Wolf mobile runner without submitting application actions or contacting arbitrary services.";
3103
+ readonly readOnlyHint: "Reads mobile session status, contexts, page source, or elements without refreshing the runner's inactivity timer.";
3104
+ };
2475
3105
  readonly annotations: {
2476
3106
  readonly destructiveHint: false;
2477
3107
  readonly openWorldHint: false;
2478
3108
  readonly readOnlyHint: true;
2479
3109
  };
2480
- readonly description: "Inspect one thing on a mobile interactive runner: the Appium session's status, the WebView contexts available, the current context's page source, or the elements at a point, carrying some text, or matching a selector. This does not refresh the runner's inactivity timer. Mobile only — a browser runner answers `runner-is-not-mobile`; call `runner.inspect` for a browser's equivalent surface instead. `what: \"session\"` always answers with the session's own status rather than `screen-needs-a-run`, since that is the question it exists to answer; the other three request kinds need a live session first and answer the same `screen-needs-a-run` or `screen-not-ready` outcomes `runner.performAction` and `runner.takeScreenshot` use, instead of reading anything when there is none. `screen-needs-a-run` means no Appium session has started on this runner yet — call `runner.runFlow` with a flow that opens one, then inspect again. `screen-not-ready` means the runner's Appium session exists but did not answer this instant, or more than one is somehow live — retry once; if it persists, relaunch the runner. `runner-is-not-mobile` means there is nothing here to inspect, and retrying will never help — launch an `android` or `ios` runner instead. `invalid-selector` (elements by selector only) means the selector itself could not be parsed under the given `strategy` — distinct from a selector that parsed fine but matched nothing, which answers `matches: []` instead. `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. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
3110
+ readonly description: "Inspect one thing on a mobile or Windows interactive runner: the Appium session's status, the contexts available (WebViews on mobile, top-level windows on Windows), the current context's page source, or the elements at a point, carrying some text, or matching a selector. This does not refresh the runner's inactivity timer. Mobile and Windows only — a browser runner answers `runner-is-not-mobile`; call `runner.inspect` for a browser's equivalent surface instead. `what: \"session\"` always answers with the session's own status rather than `screen-needs-a-run`, since that is the question it exists to answer; the other three request kinds need a live session first and answer the same `screen-needs-a-run` or `screen-not-ready` outcomes `runner.performAction` and `runner.takeScreenshot` use, instead of reading anything when there is none. `screen-needs-a-run` means no Appium session has started on this runner yet — call `runner.runFlow` with a flow that opens one, then inspect again. `screen-not-ready` means the runner's Appium session exists but did not answer this instant, or more than one is somehow live — retry once; if it persists, relaunch the runner. `runner-is-not-mobile` means there is nothing here to inspect, and retrying will never help — launch an `android`, `ios` or `windows` runner instead. `invalid-selector` (elements by selector only) means the selector itself could not be parsed under the given `strategy` — distinct from a selector that parsed fine but matched nothing, which answers `matches: []` instead. `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. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
2481
3111
  readonly input: z.ZodObject<{
2482
3112
  id: z.ZodString;
2483
3113
  request: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2692,9 +3322,14 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2692
3322
  }, z.core.$strip>], "outcome">;
2693
3323
  };
2694
3324
  launch: {
3325
+ readonly annotationJustifications: {
3326
+ readonly destructiveHint: "Starts billable resource consumption that cannot be undone by later termination.";
3327
+ readonly openWorldHint: "Allocates a private QA Wolf runner without itself navigating to an application or submitting forms.";
3328
+ readonly readOnlyHint: "Starts an interactive runner and allocates billed resources unless the requested runner is already running.";
3329
+ };
2695
3330
  readonly annotations: {
2696
3331
  readonly destructiveHint: true;
2697
- readonly openWorldHint: false;
3332
+ readonly openWorldHint: true;
2698
3333
  readonly readOnlyHint: false;
2699
3334
  };
2700
3335
  readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Send `initialUrl` so its browser comes up on the page the work starts from, which saves a separate navigation and the browser's cold start. Launching the same id again returns the runner already running rather than starting a second one, and the same id with a different runnerName is refused. A runner is not permanent: it terminates on its own after a period of inactivity, and launching the same id after that starts and bills a new runner, so read `alreadyRunning` to tell which happened. A success means the runner is answering: the call waits for the pod it started to come up, so the very next call to the runner reaches it. If the pod does not come up in time the call fails instead, leaving the runner running, and launching the same id again attaches to it.";
@@ -2728,6 +3363,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2728
3363
  }, z.core.$strip>;
2729
3364
  };
2730
3365
  list: {
3366
+ readonly annotationJustifications: {
3367
+ readonly destructiveHint: "Does not interrupt or terminate any listed runner.";
3368
+ readonly openWorldHint: "Reads private runner state without acting on third-party applications.";
3369
+ readonly readOnlyHint: "Lists running workspace runners without starting them or refreshing their inactivity timers.";
3370
+ };
2731
3371
  readonly annotations: {
2732
3372
  readonly destructiveHint: false;
2733
3373
  readonly openWorldHint: false;
@@ -2756,12 +3396,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2756
3396
  }, z.core.$strip>;
2757
3397
  };
2758
3398
  performAction: {
3399
+ readonly annotationJustifications: {
3400
+ readonly destructiveHint: "Actions can submit irreversible transactions or delete existing data, so uncertain outcomes must be inspected before retrying.";
3401
+ readonly openWorldHint: "Clicks, typing and navigation can submit external forms or change application state.";
3402
+ readonly readOnlyHint: "Performs a browser or device action and can start a browser when needed.";
3403
+ };
2759
3404
  readonly annotations: {
2760
3405
  readonly destructiveHint: true;
2761
3406
  readonly openWorldHint: true;
2762
3407
  readonly readOnlyHint: false;
2763
3408
  };
2764
- readonly description: "Perform one raw action on an interactive runner: click, double_click, move, drag, scroll, keypress, type, or navigate; on mobile, tap, swipe, fill, or type. 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 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, or on `windows` use `runner.runFlow`. `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.";
3409
+ 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.";
2765
3410
  readonly input: z.ZodObject<{
2766
3411
  action: z.ZodDiscriminatedUnion<[z.ZodObject<{
2767
3412
  button: z.ZodLiteral<"left" | "right" | "wheel" | "back" | "forward">;
@@ -2855,12 +3500,17 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2855
3500
  }, z.core.$strip>], "failureReason">], "outcome">;
2856
3501
  };
2857
3502
  performActions: {
3503
+ readonly annotationJustifications: {
3504
+ readonly destructiveHint: "Actions can submit irreversible transactions or delete existing data, so uncertain outcomes must be inspected before retrying.";
3505
+ readonly openWorldHint: "Clicks, typing and navigation can submit external forms or change application state.";
3506
+ readonly readOnlyHint: "Performs a sequence of browser or device actions on a runner.";
3507
+ };
2858
3508
  readonly annotations: {
2859
3509
  readonly destructiveHint: true;
2860
3510
  readonly openWorldHint: true;
2861
3511
  readonly readOnlyHint: false;
2862
3512
  };
2863
- 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 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.";
3513
+ 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.";
2864
3514
  readonly input: z.ZodObject<{
2865
3515
  actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2866
3516
  button: z.ZodLiteral<"left" | "right" | "wheel" | "back" | "forward">;
@@ -3005,6 +3655,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3005
3655
  }, z.core.$strip>], "outcome">;
3006
3656
  };
3007
3657
  promoteSnapshot: {
3658
+ readonly annotationJustifications: {
3659
+ readonly destructiveHint: "Overwrites an existing baseline, while a missing source snapshot leaves it unchanged.";
3660
+ readonly openWorldHint: "Updates a stored test baseline rather than publishing to an external application.";
3661
+ readonly readOnlyHint: "Replaces a named image-diff baseline with a screenshot produced by the runner.";
3662
+ };
3008
3663
  readonly annotations: {
3009
3664
  readonly destructiveHint: true;
3010
3665
  readonly openWorldHint: false;
@@ -3031,6 +3686,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3031
3686
  }, z.core.$strip>], "outcome">;
3032
3687
  };
3033
3688
  readJournal: {
3689
+ readonly annotationJustifications: {
3690
+ readonly destructiveHint: "Does not erase journal entries or change run results, although the activity refresh can extend billed runtime.";
3691
+ readonly openWorldHint: "Reads private runner history without submitting actions to external applications.";
3692
+ readonly readOnlyHint: "Retrieves journal entries and refreshes activity, which can cancel an inactivity shutdown.";
3693
+ };
3034
3694
  readonly annotations: {
3035
3695
  readonly destructiveHint: false;
3036
3696
  readonly openWorldHint: false;
@@ -3071,6 +3731,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3071
3731
  };
3072
3732
  skill: {
3073
3733
  get: {
3734
+ readonly annotationJustifications: {
3735
+ readonly destructiveHint: "Does not change any skill or workspace data.";
3736
+ readonly openWorldHint: "Reads the QA Wolf skill catalog without calling external services.";
3737
+ readonly readOnlyHint: "Retrieves one QA Wolf skill's instructions and reference files.";
3738
+ };
3074
3739
  readonly annotations: {
3075
3740
  readonly destructiveHint: false;
3076
3741
  readonly openWorldHint: false;
@@ -3093,6 +3758,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3093
3758
  }, z.core.$strip>;
3094
3759
  };
3095
3760
  list: {
3761
+ readonly annotationJustifications: {
3762
+ readonly destructiveHint: "Does not change any skill or workspace data.";
3763
+ readonly openWorldHint: "Reads the QA Wolf skill catalog without calling external services.";
3764
+ readonly readOnlyHint: "Lists the QA Wolf skills with their names and descriptions.";
3765
+ };
3096
3766
  readonly annotations: {
3097
3767
  readonly destructiveHint: false;
3098
3768
  readonly openWorldHint: false;
@@ -3112,6 +3782,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3112
3782
  };
3113
3783
  tag: {
3114
3784
  create: {
3785
+ readonly annotationJustifications: {
3786
+ readonly destructiveHint: "Creates a tag without deleting existing tags or flow associations.";
3787
+ readonly openWorldHint: "Adds private QA Wolf metadata without publishing to an external application.";
3788
+ readonly readOnlyHint: "Creates a workspace tag for grouping and selecting flows.";
3789
+ };
3115
3790
  readonly annotations: {
3116
3791
  readonly destructiveHint: false;
3117
3792
  readonly openWorldHint: false;
@@ -3131,6 +3806,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3131
3806
  }, z.core.$strip>;
3132
3807
  };
3133
3808
  list: {
3809
+ readonly annotationJustifications: {
3810
+ readonly destructiveHint: "Does not create, rename or remove tags.";
3811
+ readonly openWorldHint: "Reads private tag metadata without changing connected services.";
3812
+ readonly readOnlyHint: "Lists existing workspace tags by name.";
3813
+ };
3134
3814
  readonly annotations: {
3135
3815
  readonly destructiveHint: false;
3136
3816
  readonly openWorldHint: false;
@@ -3159,6 +3839,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3159
3839
  };
3160
3840
  trigger: {
3161
3841
  create: {
3842
+ readonly annotationJustifications: {
3843
+ readonly destructiveHint: "Enables automatic execution of test code that may overwrite or delete application data.";
3844
+ readonly openWorldHint: "Triggered runs can change the application under test and update connected integrations.";
3845
+ readonly readOnlyHint: "Creates an active schedule or deployment trigger that can start test runs.";
3846
+ };
3162
3847
  readonly annotations: {
3163
3848
  readonly destructiveHint: true;
3164
3849
  readonly openWorldHint: true;
@@ -3307,6 +3992,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3307
3992
  }, z.core.$strip>;
3308
3993
  };
3309
3994
  delete: {
3995
+ readonly annotationJustifications: {
3996
+ readonly destructiveHint: "Permanently deletes the selected trigger configuration.";
3997
+ readonly openWorldHint: "Removes private QA Wolf trigger configuration without starting external work.";
3998
+ readonly readOnlyHint: "Permanently removes a trigger while preserving runs it already created.";
3999
+ };
3310
4000
  readonly annotations: {
3311
4001
  readonly destructiveHint: true;
3312
4002
  readonly openWorldHint: false;
@@ -3323,6 +4013,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3323
4013
  }, z.core.$strip>;
3324
4014
  };
3325
4015
  find: {
4016
+ readonly annotationJustifications: {
4017
+ readonly destructiveHint: "Does not modify or delete triggers or their runs.";
4018
+ readonly openWorldHint: "Reads private QA Wolf trigger records without changing external systems.";
4019
+ readonly readOnlyHint: "Lists trigger configuration in the authorized workspace without changing it.";
4020
+ };
3326
4021
  readonly annotations: {
3327
4022
  readonly destructiveHint: false;
3328
4023
  readonly openWorldHint: false;
@@ -3412,6 +4107,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3412
4107
  }, z.core.$strip>;
3413
4108
  };
3414
4109
  get: {
4110
+ readonly annotationJustifications: {
4111
+ readonly destructiveHint: "Does not modify or delete the trigger or its runs.";
4112
+ readonly openWorldHint: "Reads a private QA Wolf trigger without changing external systems.";
4113
+ readonly readOnlyHint: "Retrieves one authorized trigger and its configuration without changing it.";
4114
+ };
3415
4115
  readonly annotations: {
3416
4116
  readonly destructiveHint: false;
3417
4117
  readonly openWorldHint: false;
@@ -3500,6 +4200,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3500
4200
  }, z.core.$strip>;
3501
4201
  };
3502
4202
  pause: {
4203
+ readonly annotationJustifications: {
4204
+ readonly destructiveHint: "Disables future automatic execution for the selected trigger until it is resumed.";
4205
+ readonly openWorldHint: "Changes private QA Wolf scheduling state without starting external work.";
4206
+ readonly readOnlyHint: "Pauses an existing trigger so it stops starting new work.";
4207
+ };
3503
4208
  readonly annotations: {
3504
4209
  readonly destructiveHint: true;
3505
4210
  readonly openWorldHint: false;
@@ -3588,6 +4293,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3588
4293
  }, z.core.$strip>;
3589
4294
  };
3590
4295
  resume: {
4296
+ readonly annotationJustifications: {
4297
+ readonly destructiveHint: "Enables automatic test execution that may overwrite or delete application data.";
4298
+ readonly openWorldHint: "Resumed execution can change the application under test and update connected integrations.";
4299
+ readonly readOnlyHint: "Reactivates a paused trigger so future matching schedules or deployments can start runs.";
4300
+ };
3591
4301
  readonly annotations: {
3592
4302
  readonly destructiveHint: true;
3593
4303
  readonly openWorldHint: true;
@@ -3676,6 +4386,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3676
4386
  }, z.core.$strip>;
3677
4387
  };
3678
4388
  update: {
4389
+ readonly annotationJustifications: {
4390
+ readonly destructiveHint: "Overwrites trigger configuration and can enable tests that change or delete application data.";
4391
+ readonly openWorldHint: "The updated trigger can execute tests against external applications and update connected integrations.";
4392
+ readonly readOnlyHint: "Replaces an existing trigger configuration and can change future automatic runs.";
4393
+ };
3679
4394
  readonly annotations: {
3680
4395
  readonly destructiveHint: true;
3681
4396
  readonly openWorldHint: true;
@@ -3828,6 +4543,11 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
3828
4543
  export declare const publicContractsV1: {
3829
4544
  agent: {
3830
4545
  get: {
4546
+ readonly annotationJustifications: {
4547
+ readonly destructiveHint: "Does not cancel work or edit tests and messages.";
4548
+ readonly openWorldHint: "Reads a QA Wolf session without posting to external services.";
4549
+ readonly readOnlyHint: "Retrieves session status, replies and the live link without sending work.";
4550
+ };
3831
4551
  readonly annotations: {
3832
4552
  readonly destructiveHint: false;
3833
4553
  readonly openWorldHint: false;
@@ -3854,50 +4574,256 @@ export declare const publicContractsV1: {
3854
4574
  "waiting-for-you": "waiting-for-you";
3855
4575
  completed: "completed";
3856
4576
  failed: "failed";
3857
- cancelled: "cancelled";
4577
+ cancelled: "cancelled";
4578
+ }>;
4579
+ waitSeconds: z.ZodOptional<z.ZodNumber>;
4580
+ wokeOn: z.ZodOptional<z.ZodEnum<{
4581
+ reply: "reply";
4582
+ status: "status";
4583
+ timeout: "timeout";
4584
+ }>>;
4585
+ url: z.ZodURL;
4586
+ }, z.core.$strip>;
4587
+ };
4588
+ send: {
4589
+ readonly annotationJustifications: {
4590
+ readonly destructiveHint: "Delegated execution can overwrite test code or change and delete application data.";
4591
+ readonly openWorldHint: "Delegated work can submit application actions and publish code to connected repositories.";
4592
+ readonly readOnlyHint: "Creates or continues AI work that can implement, run and publish tests.";
4593
+ };
4594
+ readonly annotations: {
4595
+ readonly destructiveHint: true;
4596
+ readonly openWorldHint: true;
4597
+ readonly readOnlyHint: false;
4598
+ };
4599
+ readonly description: "Start or continue work with the QA Wolf AI and return a live session URL to share with the user. Use it to cover a user journey, investigate a failing run, or fix a broken flow. This is the one verb that starts work from nothing: every other write acts on a flow, run or issue that already exists. Returns sessionId, status, and url as soon as the request is accepted; work can take minutes to tens of minutes. After each send, put the exact returned url in a normal user-visible assistant message, and repeat it in the last message of the turn: only a turn's trailing message is shown expanded. Tool output and internal reasoning do not count as sharing the link. Do not run a timer or monitoring call alongside this send. Acceptance does not mean the work is complete. Then monitor the session with agent.get, reporting new progress, blockers, and the final outcome rather than unchanged status. Send here again to answer a question or add context to the same session.";
4600
+ readonly input: z.ZodObject<{
4601
+ environmentId: z.ZodOptional<PublicIdSchema>;
4602
+ filePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
4603
+ message: z.ZodString;
4604
+ parentSessionId: z.ZodOptional<PublicIdSchema>;
4605
+ runnerId: z.ZodOptional<z.ZodString>;
4606
+ sessionId: z.ZodOptional<PublicIdSchema>;
4607
+ workspaceId: z.ZodOptional<PublicIdSchema>;
4608
+ }, z.core.$strip>;
4609
+ readonly kind: "write";
4610
+ readonly name: "agent.send";
4611
+ readonly output: z.ZodObject<{
4612
+ sessionId: PublicIdSchema;
4613
+ status: z.ZodEnum<{
4614
+ working: "working";
4615
+ "waiting-for-you": "waiting-for-you";
4616
+ completed: "completed";
4617
+ failed: "failed";
4618
+ cancelled: "cancelled";
4619
+ }>;
4620
+ url: z.ZodURL;
4621
+ }, z.core.$strip>;
4622
+ };
4623
+ };
4624
+ attempt: {
4625
+ get: {
4626
+ readonly annotationJustifications: {
4627
+ readonly destructiveHint: "Does not retry, cancel or alter the run attempt.";
4628
+ readonly openWorldHint: "Reads recorded QA Wolf artifacts without changing the application under test.";
4629
+ readonly readOnlyHint: "Retrieves a finished attempt's metadata and signed artifact URLs.";
4630
+ };
4631
+ readonly annotations: {
4632
+ readonly destructiveHint: false;
4633
+ readonly openWorldHint: false;
4634
+ readonly readOnlyHint: true;
4635
+ };
4636
+ readonly description: "Get a finished run attempt: its run and flow status, its place among that flow's attempts in the run, and signed links to its logs, trace, and video when they were captured.";
4637
+ readonly input: z.ZodObject<{
4638
+ attemptId: PublicIdSchema;
4639
+ }, z.core.$strip>;
4640
+ readonly kind: "read";
4641
+ readonly name: "attempt.get";
4642
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
4643
+ flowId: PublicIdSchema;
4644
+ flowStatus: z.ZodEnum<{
4645
+ failed: "failed";
4646
+ queued: "queued";
4647
+ running: "running";
4648
+ passed: "passed";
4649
+ canceled: "canceled";
4650
+ }>;
4651
+ retryContext: z.ZodObject<{
4652
+ currentOrdinal: z.ZodNumber;
4653
+ next: z.ZodOptional<z.ZodObject<{
4654
+ attemptId: PublicIdSchema;
4655
+ status: z.ZodEnum<{
4656
+ failed: "failed";
4657
+ passed: "passed";
4658
+ canceled: "canceled";
4659
+ skipped: "skipped";
4660
+ aborted: "aborted";
4661
+ }>;
4662
+ }, z.core.$strip>>;
4663
+ previous: z.ZodOptional<z.ZodObject<{
4664
+ attemptId: PublicIdSchema;
4665
+ status: z.ZodEnum<{
4666
+ failed: "failed";
4667
+ passed: "passed";
4668
+ canceled: "canceled";
4669
+ skipped: "skipped";
4670
+ aborted: "aborted";
4671
+ }>;
4672
+ }, z.core.$strip>>;
4673
+ total: z.ZodNumber;
4674
+ }, z.core.$strip>;
4675
+ runId: PublicIdSchema;
4676
+ runStatus: z.ZodEnum<{
4677
+ failed: "failed";
4678
+ queued: "queued";
4679
+ running: "running";
4680
+ passed: "passed";
4681
+ canceled: "canceled";
4682
+ superseded: "superseded";
4683
+ }>;
4684
+ artifacts: z.ZodObject<{
4685
+ logsUrl: z.ZodOptional<z.ZodURL>;
4686
+ traceUrl: z.ZodOptional<z.ZodURL>;
4687
+ videoUrl: z.ZodOptional<z.ZodURL>;
4688
+ }, z.core.$strip>;
4689
+ artifactStatus: z.ZodLiteral<"signed">;
4690
+ attempt: z.ZodObject<{
4691
+ attemptId: PublicIdSchema;
4692
+ completedAt: z.ZodOptional<z.ZodISODateTime>;
4693
+ createdAt: z.ZodISODateTime;
4694
+ error: z.ZodOptional<z.ZodString>;
4695
+ startedAt: z.ZodOptional<z.ZodISODateTime>;
4696
+ kind: z.ZodLiteral<"automated">;
4697
+ status: z.ZodEnum<{
4698
+ failed: "failed";
4699
+ passed: "passed";
4700
+ canceled: "canceled";
4701
+ skipped: "skipped";
4702
+ aborted: "aborted";
4703
+ }>;
4704
+ }, z.core.$strip>;
4705
+ }, z.core.$strip>, z.ZodObject<{
4706
+ flowId: PublicIdSchema;
4707
+ flowStatus: z.ZodEnum<{
4708
+ failed: "failed";
4709
+ queued: "queued";
4710
+ running: "running";
4711
+ passed: "passed";
4712
+ canceled: "canceled";
4713
+ }>;
4714
+ retryContext: z.ZodObject<{
4715
+ currentOrdinal: z.ZodNumber;
4716
+ next: z.ZodOptional<z.ZodObject<{
4717
+ attemptId: PublicIdSchema;
4718
+ status: z.ZodEnum<{
4719
+ failed: "failed";
4720
+ passed: "passed";
4721
+ canceled: "canceled";
4722
+ skipped: "skipped";
4723
+ aborted: "aborted";
4724
+ }>;
4725
+ }, z.core.$strip>>;
4726
+ previous: z.ZodOptional<z.ZodObject<{
4727
+ attemptId: PublicIdSchema;
4728
+ status: z.ZodEnum<{
4729
+ failed: "failed";
4730
+ passed: "passed";
4731
+ canceled: "canceled";
4732
+ skipped: "skipped";
4733
+ aborted: "aborted";
4734
+ }>;
4735
+ }, z.core.$strip>>;
4736
+ total: z.ZodNumber;
4737
+ }, z.core.$strip>;
4738
+ runId: PublicIdSchema;
4739
+ runStatus: z.ZodEnum<{
4740
+ failed: "failed";
4741
+ queued: "queued";
4742
+ running: "running";
4743
+ passed: "passed";
4744
+ canceled: "canceled";
4745
+ superseded: "superseded";
4746
+ }>;
4747
+ artifacts: z.ZodObject<{}, z.core.$strict>;
4748
+ artifactStatus: z.ZodLiteral<"signing-failed">;
4749
+ attempt: z.ZodObject<{
4750
+ attemptId: PublicIdSchema;
4751
+ completedAt: z.ZodOptional<z.ZodISODateTime>;
4752
+ createdAt: z.ZodISODateTime;
4753
+ error: z.ZodOptional<z.ZodString>;
4754
+ startedAt: z.ZodOptional<z.ZodISODateTime>;
4755
+ kind: z.ZodLiteral<"automated">;
4756
+ status: z.ZodEnum<{
4757
+ failed: "failed";
4758
+ passed: "passed";
4759
+ canceled: "canceled";
4760
+ skipped: "skipped";
4761
+ aborted: "aborted";
4762
+ }>;
4763
+ }, z.core.$strip>;
4764
+ }, z.core.$strip>, z.ZodObject<{
4765
+ flowId: PublicIdSchema;
4766
+ flowStatus: z.ZodEnum<{
4767
+ failed: "failed";
4768
+ queued: "queued";
4769
+ running: "running";
4770
+ passed: "passed";
4771
+ canceled: "canceled";
3858
4772
  }>;
3859
- waitSeconds: z.ZodOptional<z.ZodNumber>;
3860
- wokeOn: z.ZodOptional<z.ZodEnum<{
3861
- reply: "reply";
3862
- status: "status";
3863
- timeout: "timeout";
3864
- }>>;
3865
- url: z.ZodURL;
3866
- }, z.core.$strip>;
3867
- };
3868
- send: {
3869
- readonly annotations: {
3870
- readonly destructiveHint: true;
3871
- readonly openWorldHint: true;
3872
- readonly readOnlyHint: false;
3873
- };
3874
- readonly description: "Start or continue work with the QA Wolf AI and return a live session URL to share with the user. Use it to cover a user journey, investigate a failing run, or fix a broken flow. This is the one verb that starts work from nothing: every other write acts on a flow, run or issue that already exists. Returns sessionId, status, and url as soon as the request is accepted; work can take minutes to tens of minutes. After each send, put the exact returned url in a normal user-visible assistant message, and repeat it in the last message of the turn: only a turn's trailing message is shown expanded. Tool output and internal reasoning do not count as sharing the link. Do not run a timer or monitoring call alongside this send. Acceptance does not mean the work is complete. Then monitor the session with agent.get, reporting new progress, blockers, and the final outcome rather than unchanged status. Send here again to answer a question or add context to the same session.";
3875
- readonly input: z.ZodObject<{
3876
- environmentId: z.ZodOptional<PublicIdSchema>;
3877
- filePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
3878
- message: z.ZodString;
3879
- parentSessionId: z.ZodOptional<PublicIdSchema>;
3880
- runnerId: z.ZodOptional<z.ZodString>;
3881
- sessionId: z.ZodOptional<PublicIdSchema>;
3882
- workspaceId: z.ZodOptional<PublicIdSchema>;
3883
- }, z.core.$strip>;
3884
- readonly kind: "write";
3885
- readonly name: "agent.send";
3886
- readonly output: z.ZodObject<{
3887
- sessionId: PublicIdSchema;
3888
- status: z.ZodEnum<{
3889
- working: "working";
3890
- "waiting-for-you": "waiting-for-you";
3891
- completed: "completed";
4773
+ retryContext: z.ZodObject<{
4774
+ currentOrdinal: z.ZodNumber;
4775
+ next: z.ZodOptional<z.ZodObject<{
4776
+ attemptId: PublicIdSchema;
4777
+ status: z.ZodEnum<{
4778
+ failed: "failed";
4779
+ passed: "passed";
4780
+ canceled: "canceled";
4781
+ skipped: "skipped";
4782
+ aborted: "aborted";
4783
+ }>;
4784
+ }, z.core.$strip>>;
4785
+ previous: z.ZodOptional<z.ZodObject<{
4786
+ attemptId: PublicIdSchema;
4787
+ status: z.ZodEnum<{
4788
+ failed: "failed";
4789
+ passed: "passed";
4790
+ canceled: "canceled";
4791
+ skipped: "skipped";
4792
+ aborted: "aborted";
4793
+ }>;
4794
+ }, z.core.$strip>>;
4795
+ total: z.ZodNumber;
4796
+ }, z.core.$strip>;
4797
+ runId: PublicIdSchema;
4798
+ runStatus: z.ZodEnum<{
3892
4799
  failed: "failed";
3893
- cancelled: "cancelled";
4800
+ queued: "queued";
4801
+ running: "running";
4802
+ passed: "passed";
4803
+ canceled: "canceled";
4804
+ superseded: "superseded";
3894
4805
  }>;
3895
- url: z.ZodURL;
3896
- }, z.core.$strip>;
4806
+ artifacts: z.ZodObject<{}, z.core.$strict>;
4807
+ artifactStatus: z.ZodLiteral<"not-captured">;
4808
+ attempt: z.ZodObject<{
4809
+ attemptId: PublicIdSchema;
4810
+ completedAt: z.ZodOptional<z.ZodISODateTime>;
4811
+ createdAt: z.ZodISODateTime;
4812
+ error: z.ZodOptional<z.ZodString>;
4813
+ startedAt: z.ZodOptional<z.ZodISODateTime>;
4814
+ kind: z.ZodLiteral<"manual">;
4815
+ status: z.ZodLiteral<"passed">;
4816
+ }, z.core.$strip>;
4817
+ }, z.core.$strip>], "artifactStatus">;
3897
4818
  };
3898
4819
  };
3899
4820
  codeHostIntegration: {
3900
4821
  find: {
4822
+ readonly annotationJustifications: {
4823
+ readonly destructiveHint: "Does not disconnect integrations or change repository access.";
4824
+ readonly openWorldHint: "Reads QA Wolf integration records without contacting or changing GitHub or GitLab.";
4825
+ readonly readOnlyHint: "Lists the workspace's stored code host integrations and settings link without modifying them.";
4826
+ };
3901
4827
  readonly annotations: {
3902
4828
  readonly destructiveHint: false;
3903
4829
  readonly openWorldHint: false;
@@ -3923,6 +4849,11 @@ export declare const publicContractsV1: {
3923
4849
  }, z.core.$strip>;
3924
4850
  };
3925
4851
  listRepositories: {
4852
+ readonly annotationJustifications: {
4853
+ readonly destructiveHint: "Does not edit repositories, integration settings, or access permissions.";
4854
+ readonly openWorldHint: "Reads repositories already recorded for the workspace's integrations, without accessing arbitrary external repositories.";
4855
+ readonly readOnlyHint: "Lists repository metadata from the workspace's last code host sync without triggering a new sync.";
4856
+ };
3926
4857
  readonly annotations: {
3927
4858
  readonly destructiveHint: false;
3928
4859
  readonly openWorldHint: false;
@@ -3955,6 +4886,11 @@ export declare const publicContractsV1: {
3955
4886
  };
3956
4887
  deployment: {
3957
4888
  find: {
4889
+ readonly annotationJustifications: {
4890
+ readonly destructiveHint: "Does not modify deployments, environments, triggers, or runs.";
4891
+ readonly openWorldHint: "Reads QA Wolf deployment records without contacting deployment providers or starting tests.";
4892
+ readonly readOnlyHint: "Lists stored workspace deployments without reporting or changing their status.";
4893
+ };
3958
4894
  readonly annotations: {
3959
4895
  readonly destructiveHint: false;
3960
4896
  readonly openWorldHint: false;
@@ -3998,6 +4934,11 @@ export declare const publicContractsV1: {
3998
4934
  }, z.core.$strip>;
3999
4935
  };
4000
4936
  listTriggerEvaluations: {
4937
+ readonly annotationJustifications: {
4938
+ readonly destructiveHint: "Does not alter recorded verdicts, trigger configuration, or existing runs.";
4939
+ readonly openWorldHint: "Reads stored QA Wolf verdicts without starting tests or updating external services.";
4940
+ readonly readOnlyHint: "Retrieves the recorded trigger verdicts for one deployment without evaluating triggers again.";
4941
+ };
4001
4942
  readonly annotations: {
4002
4943
  readonly destructiveHint: false;
4003
4944
  readonly openWorldHint: false;
@@ -4113,6 +5054,11 @@ export declare const publicContractsV1: {
4113
5054
  }, z.core.$strip>], "state">;
4114
5055
  };
4115
5056
  reportStatus: {
5057
+ readonly annotationJustifications: {
5058
+ readonly destructiveHint: "Can replace deployment details and variable overrides, and trigger tests that overwrite or delete application data.";
5059
+ readonly openWorldHint: "Successful deployments can start tests against external applications and update connected integrations.";
5060
+ readonly readOnlyHint: "Creates or updates a deployment, can create an environment, and evaluates triggers on its first success report.";
5061
+ };
4116
5062
  readonly annotations: {
4117
5063
  readonly destructiveHint: true;
4118
5064
  readonly openWorldHint: true;
@@ -4166,6 +5112,11 @@ export declare const publicContractsV1: {
4166
5112
  };
4167
5113
  email: {
4168
5114
  find: {
5115
+ readonly annotationJustifications: {
5116
+ readonly destructiveHint: "Does not send, edit, or delete email messages.";
5117
+ readonly openWorldHint: "Reads the workspace's QA Wolf inbox records without contacting recipients or arbitrary mailboxes.";
5118
+ readonly readOnlyHint: "Searches stored workspace emails and returns matching message summaries.";
5119
+ };
4169
5120
  readonly annotations: {
4170
5121
  readonly destructiveHint: false;
4171
5122
  readonly openWorldHint: false;
@@ -4208,6 +5159,11 @@ export declare const publicContractsV1: {
4208
5159
  }, z.core.$strip>;
4209
5160
  };
4210
5161
  get: {
5162
+ readonly annotationJustifications: {
5163
+ readonly destructiveHint: "Does not alter or delete the message or its attachments.";
5164
+ readonly openWorldHint: "Reads a stored workspace message without forwarding it or contacting external recipients.";
5165
+ readonly readOnlyHint: "Retrieves the content of an existing workspace email.";
5166
+ };
4211
5167
  readonly annotations: {
4212
5168
  readonly destructiveHint: false;
4213
5169
  readonly openWorldHint: false;
@@ -4260,6 +5216,11 @@ export declare const publicContractsV1: {
4260
5216
  }, z.core.$strip>;
4261
5217
  };
4262
5218
  getAttachment: {
5219
+ readonly annotationJustifications: {
5220
+ readonly destructiveHint: "Does not modify or delete the email or attachment.";
5221
+ readonly openWorldHint: "Access is limited to attachments of authorized workspace emails, not arbitrary external files.";
5222
+ readonly readOnlyHint: "Reads one attachment from an existing workspace email and returns its content.";
5223
+ };
4263
5224
  readonly annotations: {
4264
5225
  readonly destructiveHint: false;
4265
5226
  readonly openWorldHint: false;
@@ -4283,6 +5244,11 @@ export declare const publicContractsV1: {
4283
5244
  }, z.core.$strip>;
4284
5245
  };
4285
5246
  listAddresses: {
5247
+ readonly annotationJustifications: {
5248
+ readonly destructiveHint: "Does not register, replace, or remove inbox addresses.";
5249
+ readonly openWorldHint: "Reads QA Wolf inbox configuration without contacting external mail services or recipients.";
5250
+ readonly readOnlyHint: "Lists the workspace's registered inbox addresses without changing them.";
5251
+ };
4286
5252
  readonly annotations: {
4287
5253
  readonly destructiveHint: false;
4288
5254
  readonly openWorldHint: false;
@@ -4306,6 +5272,11 @@ export declare const publicContractsV1: {
4306
5272
  }, z.core.$strip>;
4307
5273
  };
4308
5274
  registerAddress: {
5275
+ readonly annotationJustifications: {
5276
+ readonly destructiveHint: "Adds an address without replacing or deleting existing inbox addresses or emails.";
5277
+ readonly openWorldHint: "Adds a QA Wolf workspace inbox address without sending messages to external recipients.";
5278
+ readonly readOnlyHint: "Registers an additional inbox address for the workspace.";
5279
+ };
4309
5280
  readonly annotations: {
4310
5281
  readonly destructiveHint: false;
4311
5282
  readonly openWorldHint: false;
@@ -4325,6 +5296,11 @@ export declare const publicContractsV1: {
4325
5296
  }, z.core.$strip>;
4326
5297
  };
4327
5298
  send: {
5299
+ readonly annotationJustifications: {
5300
+ readonly destructiveHint: "Sending an email is irreversible; recipients may act on it, and the tool cannot recall it.";
5301
+ readonly openWorldHint: "Delivers message content and attachments to caller-selected email recipients outside QA Wolf.";
5302
+ readonly readOnlyHint: "Sends an email from a workspace inbox and stores the sent message.";
5303
+ };
4328
5304
  readonly annotations: {
4329
5305
  readonly destructiveHint: true;
4330
5306
  readonly openWorldHint: true;
@@ -4368,6 +5344,11 @@ export declare const publicContractsV1: {
4368
5344
  };
4369
5345
  environment: {
4370
5346
  create: {
5347
+ readonly annotationJustifications: {
5348
+ readonly destructiveHint: "Adds a new environment and branch rather than deleting or overwriting an existing one.";
5349
+ readonly openWorldHint: "Creates a branch in the connected Git provider rather than changing only QA Wolf records.";
5350
+ readonly readOnlyHint: "Creates a QA Wolf environment and its remote flow-code branch.";
5351
+ };
4371
5352
  readonly annotations: {
4372
5353
  readonly destructiveHint: false;
4373
5354
  readonly openWorldHint: true;
@@ -4410,6 +5391,11 @@ export declare const publicContractsV1: {
4410
5391
  }, z.core.$strip>;
4411
5392
  };
4412
5393
  deleteVariable: {
5394
+ readonly annotationJustifications: {
5395
+ readonly destructiveHint: "Deletes an existing variable value, while an already-absent variable is left absent.";
5396
+ readonly openWorldHint: "Changes private test configuration without submitting it to an external application.";
5397
+ readonly readOnlyHint: "Removes a named environment variable from QA Wolf storage.";
5398
+ };
4413
5399
  readonly annotations: {
4414
5400
  readonly destructiveHint: true;
4415
5401
  readonly openWorldHint: false;
@@ -4427,7 +5413,59 @@ export declare const publicContractsV1: {
4427
5413
  name: z.ZodString;
4428
5414
  }, z.core.$strip>;
4429
5415
  };
5416
+ discard: {
5417
+ readonly annotationJustifications: {
5418
+ readonly destructiveHint: "Terminates the environment for good: its runs are canceled and its flow changes are never promoted.";
5419
+ readonly openWorldHint: "Changes QA Wolf environments only, not the customer's own repository or deployments.";
5420
+ readonly readOnlyHint: "Terminates an environment and returns it terminated.";
5421
+ };
5422
+ readonly annotations: {
5423
+ readonly destructiveHint: true;
5424
+ readonly openWorldHint: false;
5425
+ readonly readOnlyHint: false;
5426
+ };
5427
+ readonly description: "Declare a preview environment's work discarded, typically when its pull request closes without merging: the environment is terminated and its flow changes are not promoted into its base. Returns the environment, now terminated. A terminated environment cannot be discarded again. Use environment.promote instead when the work is accepted.";
5428
+ readonly input: z.ZodObject<{
5429
+ environmentId: PublicIdSchema;
5430
+ workspaceId: z.ZodOptional<PublicIdSchema>;
5431
+ }, z.core.$strip>;
5432
+ readonly kind: "write";
5433
+ readonly name: "environment.discard";
5434
+ readonly output: z.ZodObject<{
5435
+ alias: z.ZodOptional<z.ZodString>;
5436
+ flowCodeBranch: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
5437
+ lastSyncedCommitHash: z.ZodString;
5438
+ name: z.ZodString;
5439
+ syncStatus: z.ZodLiteral<"reconciled">;
5440
+ }, z.core.$strip>, z.ZodObject<{
5441
+ name: z.ZodString;
5442
+ syncStatus: z.ZodLiteral<"not-reconciled">;
5443
+ }, z.core.$strip>], "syncStatus">>;
5444
+ id: PublicIdSchema;
5445
+ isDefault: z.ZodBoolean;
5446
+ kind: z.ZodEnum<{
5447
+ static: "static";
5448
+ preview: "preview";
5449
+ }>;
5450
+ name: z.ZodString;
5451
+ runConcurrencyLimit: z.ZodString;
5452
+ status: z.ZodEnum<{
5453
+ running: "running";
5454
+ blocked: "blocked";
5455
+ "needs-investigation": "needs-investigation";
5456
+ ready: "ready";
5457
+ }>;
5458
+ terminatedAt: z.ZodOptional<z.ZodISODateTime>;
5459
+ variablesUrl: z.ZodOptional<z.ZodURL>;
5460
+ url: z.ZodURL;
5461
+ }, z.core.$strip>;
5462
+ };
4430
5463
  find: {
5464
+ readonly annotationJustifications: {
5465
+ readonly destructiveHint: "Does not edit environments, variables or branches.";
5466
+ readonly openWorldHint: "Reads private QA Wolf environment metadata without publishing changes.";
5467
+ readonly readOnlyHint: "Lists workspace environments and their configuration summaries.";
5468
+ };
4431
5469
  readonly annotations: {
4432
5470
  readonly destructiveHint: false;
4433
5471
  readonly openWorldHint: false;
@@ -4480,6 +5518,11 @@ export declare const publicContractsV1: {
4480
5518
  }, z.core.$strip>;
4481
5519
  };
4482
5520
  get: {
5521
+ readonly annotationJustifications: {
5522
+ readonly destructiveHint: "Does not alter environment settings or concurrency limits.";
5523
+ readonly openWorldHint: "Reads QA Wolf environment state without updating the connected Git provider.";
5524
+ readonly readOnlyHint: "Retrieves an environment's configuration, run health and code-reconciliation state.";
5525
+ };
4483
5526
  readonly annotations: {
4484
5527
  readonly destructiveHint: false;
4485
5528
  readonly openWorldHint: false;
@@ -4522,6 +5565,11 @@ export declare const publicContractsV1: {
4522
5565
  }, z.core.$strip>;
4523
5566
  };
4524
5567
  getVariable: {
5568
+ readonly annotationJustifications: {
5569
+ readonly destructiveHint: "Does not replace or remove variable values.";
5570
+ readonly openWorldHint: "Reads private stored configuration without submitting it to an external application.";
5571
+ readonly readOnlyHint: "Retrieves decrypted values of named environment variables and reports missing names.";
5572
+ };
4525
5573
  readonly annotations: {
4526
5574
  readonly destructiveHint: false;
4527
5575
  readonly openWorldHint: false;
@@ -4544,6 +5592,11 @@ export declare const publicContractsV1: {
4544
5592
  }, z.core.$strip>;
4545
5593
  };
4546
5594
  listVariableNames: {
5595
+ readonly annotationJustifications: {
5596
+ readonly destructiveHint: "Does not alter variables or expose their stored values.";
5597
+ readonly openWorldHint: "Reads private configuration names without changing external systems.";
5598
+ readonly readOnlyHint: "Lists available environment variable names without retrieving their values.";
5599
+ };
4547
5600
  readonly annotations: {
4548
5601
  readonly destructiveHint: false;
4549
5602
  readonly openWorldHint: false;
@@ -4560,7 +5613,54 @@ export declare const publicContractsV1: {
4560
5613
  variableNames: z.ZodArray<z.ZodString>;
4561
5614
  }, z.core.$strip>;
4562
5615
  };
5616
+ promote: {
5617
+ readonly annotationJustifications: {
5618
+ readonly destructiveHint: "Merges the environment's flow changes into its base and terminates the environment once they land.";
5619
+ readonly openWorldHint: "Changes QA Wolf flow code branches only, not the customer's own repository or deployments.";
5620
+ readonly readOnlyHint: "Records a promotion request that a background executor carries out.";
5621
+ };
5622
+ readonly annotations: {
5623
+ readonly destructiveHint: true;
5624
+ readonly openWorldHint: false;
5625
+ readonly readOnlyHint: false;
5626
+ };
5627
+ readonly description: "Declare a preview environment's work accepted, typically when its pull request merges: its flow changes are promoted into its base environment and the environment is terminated once they land. Returns the promotion in pending; poll promotion.get to learn how it settled. Calling again while a promotion is open returns that promotion. A conflict settles the promotion conflicted and cancels the environment's in-progress runs; promotion.get names the conflicting paths. Use environment.discard instead when the work is abandoned.";
5628
+ readonly input: z.ZodObject<{
5629
+ environmentId: PublicIdSchema;
5630
+ workspaceId: z.ZodOptional<PublicIdSchema>;
5631
+ }, z.core.$strip>;
5632
+ readonly kind: "write";
5633
+ readonly name: "environment.promote";
5634
+ readonly output: z.ZodObject<{
5635
+ aiTaskId: z.ZodOptional<PublicIdSchema>;
5636
+ baseEnvironmentId: PublicIdSchema;
5637
+ conflict: z.ZodOptional<z.ZodObject<{
5638
+ paths: z.ZodArray<z.ZodString>;
5639
+ sourceCommitHash: z.ZodString;
5640
+ targetCommitHash: z.ZodString;
5641
+ }, z.core.$strip>>;
5642
+ createdAt: z.ZodISODateTime;
5643
+ headEnvironmentId: PublicIdSchema;
5644
+ id: PublicIdSchema;
5645
+ promotedCommitHash: z.ZodOptional<z.ZodString>;
5646
+ settledAt: z.ZodOptional<z.ZodISODateTime>;
5647
+ status: z.ZodEnum<{
5648
+ pending: "pending";
5649
+ conflicted: "conflicted";
5650
+ resolving: "resolving";
5651
+ promoted: "promoted";
5652
+ "no-changes": "no-changes";
5653
+ abandoned: "abandoned";
5654
+ }>;
5655
+ url: z.ZodURL;
5656
+ }, z.core.$strip>;
5657
+ };
4563
5658
  setVariable: {
5659
+ readonly annotationJustifications: {
5660
+ readonly destructiveHint: "Can overwrite an existing variable value, while an unchanged value is skipped.";
5661
+ readonly openWorldHint: "Changes stored QA Wolf configuration rather than submitting forms or publishing content.";
5662
+ readonly readOnlyHint: "Creates or replaces a named environment variable without returning its value.";
5663
+ };
4564
5664
  readonly annotations: {
4565
5665
  readonly destructiveHint: true;
4566
5666
  readonly openWorldHint: false;
@@ -4580,6 +5680,11 @@ export declare const publicContractsV1: {
4580
5680
  }, z.core.$strip>;
4581
5681
  };
4582
5682
  update: {
5683
+ readonly annotationJustifications: {
5684
+ readonly destructiveHint: "Can overwrite existing environment settings and affect future run capacity.";
5685
+ readonly openWorldHint: "Changes private environment settings without publishing code or contacting application users.";
5686
+ readonly readOnlyHint: "Updates an environment's name or run concurrency limit.";
5687
+ };
4583
5688
  readonly annotations: {
4584
5689
  readonly destructiveHint: true;
4585
5690
  readonly openWorldHint: false;
@@ -4626,6 +5731,11 @@ export declare const publicContractsV1: {
4626
5731
  };
4627
5732
  file: {
4628
5733
  requestDownload: {
5734
+ readonly annotationJustifications: {
5735
+ readonly destructiveHint: "Does not change, overwrite or delete the stored file.";
5736
+ readonly openWorldHint: "Access is limited to QA Wolf team storage; the caller cannot supply an arbitrary external destination.";
5737
+ readonly readOnlyHint: "Returns an expiring read URL for an existing file in the authorized workspace storage.";
5738
+ };
4629
5739
  readonly annotations: {
4630
5740
  readonly destructiveHint: false;
4631
5741
  readonly openWorldHint: false;
@@ -4645,6 +5755,11 @@ export declare const publicContractsV1: {
4645
5755
  }, z.core.$strip>;
4646
5756
  };
4647
5757
  requestUpload: {
5758
+ readonly annotationJustifications: {
5759
+ readonly destructiveHint: "Using the returned upload URL with an existing file name replaces that stored file.";
5760
+ readonly openWorldHint: "The upload target is QA Wolf team storage, not an arbitrary external service or recipient.";
5761
+ readonly readOnlyHint: "Returns an expiring upload URL that permits writing a file to the authorized workspace storage.";
5762
+ };
4648
5763
  readonly annotations: {
4649
5764
  readonly destructiveHint: true;
4650
5765
  readonly openWorldHint: false;
@@ -4667,6 +5782,11 @@ export declare const publicContractsV1: {
4667
5782
  };
4668
5783
  flow: {
4669
5784
  addTag: {
5785
+ readonly annotationJustifications: {
5786
+ readonly destructiveHint: "Adds associations without removing existing tags.";
5787
+ readonly openWorldHint: "Changes private flow-tag associations without running flows or publishing code.";
5788
+ readonly readOnlyHint: "Adds an existing tag to selected flows and skips flows already carrying it.";
5789
+ };
4670
5790
  readonly annotations: {
4671
5791
  readonly destructiveHint: false;
4672
5792
  readonly openWorldHint: false;
@@ -4693,6 +5813,11 @@ export declare const publicContractsV1: {
4693
5813
  }, z.core.$strip>;
4694
5814
  };
4695
5815
  list: {
5816
+ readonly annotationJustifications: {
5817
+ readonly destructiveHint: "Does not change flow code, readiness or tags.";
5818
+ readonly openWorldHint: "Reads flow records without pushing code or executing application actions.";
5819
+ readonly readOnlyHint: "Lists flows at an environment's reconciled commit or on a selected AI task branch.";
5820
+ };
4696
5821
  readonly annotations: {
4697
5822
  readonly destructiveHint: false;
4698
5823
  readonly openWorldHint: false;
@@ -4733,6 +5858,11 @@ export declare const publicContractsV1: {
4733
5858
  }, z.core.$strip>;
4734
5859
  };
4735
5860
  removeTag: {
5861
+ readonly annotationJustifications: {
5862
+ readonly destructiveHint: "Deletes existing tag associations and skips flows that do not carry the tag.";
5863
+ readonly openWorldHint: "Changes private flow-tag associations without updating external services.";
5864
+ readonly readOnlyHint: "Removes a selected tag from specified flows.";
5865
+ };
4736
5866
  readonly annotations: {
4737
5867
  readonly destructiveHint: true;
4738
5868
  readonly openWorldHint: false;
@@ -4759,6 +5889,11 @@ export declare const publicContractsV1: {
4759
5889
  }, z.core.$strip>;
4760
5890
  };
4761
5891
  update: {
5892
+ readonly annotationJustifications: {
5893
+ readonly destructiveHint: "Overwrites readiness and can deactivate a flow that was active.";
5894
+ readonly openWorldHint: "Changes private readiness state without itself executing the flow or publishing code.";
5895
+ readonly readOnlyHint: "Changes a flow between draft and active readiness.";
5896
+ };
4762
5897
  readonly annotations: {
4763
5898
  readonly destructiveHint: true;
4764
5899
  readonly openWorldHint: false;
@@ -4789,6 +5924,11 @@ export declare const publicContractsV1: {
4789
5924
  };
4790
5925
  investigation: {
4791
5926
  get: {
5927
+ readonly annotationJustifications: {
5928
+ readonly destructiveHint: "Does not answer, dispute or change the investigation.";
5929
+ readonly openWorldHint: "Reads recorded QA Wolf findings without changing the application under test.";
5930
+ readonly readOnlyHint: "Retrieves an investigation's findings, open questions and pending answers.";
5931
+ };
4792
5932
  readonly annotations: {
4793
5933
  readonly destructiveHint: false;
4794
5934
  readonly openWorldHint: false;
@@ -4801,6 +5941,10 @@ export declare const publicContractsV1: {
4801
5941
  readonly kind: "read";
4802
5942
  readonly name: "investigation.get";
4803
5943
  readonly output: z.ZodObject<{
5944
+ baselineChanges: z.ZodEnum<{
5945
+ automatic: "automatic";
5946
+ "needs-approval": "needs-approval";
5947
+ }>;
4804
5948
  findings: z.ZodArray<z.ZodObject<{
4805
5949
  actual: z.ZodOptional<z.ZodString>;
4806
5950
  commitHash: z.ZodOptional<z.ZodString>;
@@ -4811,6 +5955,14 @@ export declare const publicContractsV1: {
4811
5955
  disputeReason: z.ZodOptional<z.ZodString>;
4812
5956
  expected: z.ZodOptional<z.ZodString>;
4813
5957
  findingId: z.ZodString;
5958
+ fix: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
5959
+ commitHash: z.ZodString;
5960
+ type: z.ZodLiteral<"commit">;
5961
+ }, z.core.$strip>, z.ZodObject<{
5962
+ baselineChangeId: z.ZodOptional<z.ZodString>;
5963
+ comparisonId: z.ZodString;
5964
+ type: z.ZodLiteral<"baseline">;
5965
+ }, z.core.$strip>], "type">>;
4814
5966
  flowIds: z.ZodArray<PublicIdSchema>;
4815
5967
  headline: z.ZodOptional<z.ZodString>;
4816
5968
  issueId: z.ZodOptional<PublicIdSchema>;
@@ -4829,12 +5981,14 @@ export declare const publicContractsV1: {
4829
5981
  title: z.ZodString;
4830
5982
  value: z.ZodString;
4831
5983
  }, z.core.$strip>>;
5984
+ comparisonId: z.ZodOptional<z.ZodString>;
4832
5985
  text: z.ZodString;
4833
5986
  }, z.core.$strip>>;
4834
5987
  response: z.ZodOptional<z.ZodObject<{
4835
5988
  answer: z.ZodOptional<z.ZodString>;
4836
5989
  at: z.ZodISODateTime;
4837
5990
  reason: z.ZodOptional<z.ZodString>;
5991
+ text: z.ZodOptional<z.ZodString>;
4838
5992
  type: z.ZodString;
4839
5993
  }, z.core.$strip>>;
4840
5994
  state: z.ZodString;
@@ -4850,12 +6004,27 @@ export declare const publicContractsV1: {
4850
6004
  finished: "finished";
4851
6005
  "not-investigated": "not-investigated";
4852
6006
  }>;
6007
+ subSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
6008
+ sessionId: PublicIdSchema;
6009
+ status: z.ZodEnum<{
6010
+ working: "working";
6011
+ "waiting-for-you": "waiting-for-you";
6012
+ completed: "completed";
6013
+ failed: "failed";
6014
+ cancelled: "cancelled";
6015
+ }>;
6016
+ }, z.core.$strip>>>;
4853
6017
  url: z.ZodURL;
4854
6018
  }, z.core.$strip>;
4855
6019
  };
4856
6020
  };
4857
6021
  issue: {
4858
6022
  addFlows: {
6023
+ readonly annotationJustifications: {
6024
+ readonly destructiveHint: "Adds coverage associations without removing existing ones.";
6025
+ readonly openWorldHint: "Changes private coverage associations without publishing an external issue update.";
6026
+ readonly readOnlyHint: "Adds existing flows to a coverage request's covered-flow set.";
6027
+ };
4859
6028
  readonly annotations: {
4860
6029
  readonly destructiveHint: false;
4861
6030
  readonly openWorldHint: false;
@@ -4893,6 +6062,7 @@ export declare const publicContractsV1: {
4893
6062
  status: z.ZodEnum<{
4894
6063
  canceled: "canceled";
4895
6064
  pending: "pending";
6065
+ backlog: "backlog";
4896
6066
  inProgress: "inProgress";
4897
6067
  paused: "paused";
4898
6068
  resolved: "resolved";
@@ -4908,6 +6078,11 @@ export declare const publicContractsV1: {
4908
6078
  }, z.core.$strip>;
4909
6079
  };
4910
6080
  create: {
6081
+ readonly annotationJustifications: {
6082
+ readonly destructiveHint: "Configured notifications can send irreversible messages even though the QA Wolf issue itself is new.";
6083
+ readonly openWorldHint: "Issue creation can send messages or synchronize records through connected communication and issue-tracking services.";
6084
+ readonly readOnlyHint: "Creates a bug or coverage request and can start configured issue notifications.";
6085
+ };
4911
6086
  readonly annotations: {
4912
6087
  readonly destructiveHint: true;
4913
6088
  readonly openWorldHint: true;
@@ -4991,6 +6166,7 @@ export declare const publicContractsV1: {
4991
6166
  status: z.ZodEnum<{
4992
6167
  canceled: "canceled";
4993
6168
  pending: "pending";
6169
+ backlog: "backlog";
4994
6170
  inProgress: "inProgress";
4995
6171
  paused: "paused";
4996
6172
  resolved: "resolved";
@@ -5006,6 +6182,11 @@ export declare const publicContractsV1: {
5006
6182
  }, z.core.$strip>;
5007
6183
  };
5008
6184
  find: {
6185
+ readonly annotationJustifications: {
6186
+ readonly destructiveHint: "Does not edit issue details, statuses or coverage associations.";
6187
+ readonly openWorldHint: "Reads QA Wolf issue records without publishing updates to linked trackers.";
6188
+ readonly readOnlyHint: "Lists workspace bug reports, maintenance reports or coverage requests.";
6189
+ };
5009
6190
  readonly annotations: {
5010
6191
  readonly destructiveHint: false;
5011
6192
  readonly openWorldHint: false;
@@ -5016,6 +6197,7 @@ export declare const publicContractsV1: {
5016
6197
  statuses: z.ZodDefault<z.ZodArray<z.ZodEnum<{
5017
6198
  canceled: "canceled";
5018
6199
  pending: "pending";
6200
+ backlog: "backlog";
5019
6201
  inProgress: "inProgress";
5020
6202
  paused: "paused";
5021
6203
  resolved: "resolved";
@@ -5057,6 +6239,7 @@ export declare const publicContractsV1: {
5057
6239
  status: z.ZodEnum<{
5058
6240
  canceled: "canceled";
5059
6241
  pending: "pending";
6242
+ backlog: "backlog";
5060
6243
  inProgress: "inProgress";
5061
6244
  paused: "paused";
5062
6245
  resolved: "resolved";
@@ -5073,6 +6256,11 @@ export declare const publicContractsV1: {
5073
6256
  }, z.core.$strip>;
5074
6257
  };
5075
6258
  get: {
6259
+ readonly annotationJustifications: {
6260
+ readonly destructiveHint: "Does not modify or remove the issue.";
6261
+ readonly openWorldHint: "Reads the QA Wolf issue without changing linked external systems.";
6262
+ readonly readOnlyHint: "Retrieves one issue and its associated details.";
6263
+ };
5076
6264
  readonly annotations: {
5077
6265
  readonly destructiveHint: false;
5078
6266
  readonly openWorldHint: false;
@@ -5109,6 +6297,7 @@ export declare const publicContractsV1: {
5109
6297
  status: z.ZodEnum<{
5110
6298
  canceled: "canceled";
5111
6299
  pending: "pending";
6300
+ backlog: "backlog";
5112
6301
  inProgress: "inProgress";
5113
6302
  paused: "paused";
5114
6303
  resolved: "resolved";
@@ -5124,6 +6313,11 @@ export declare const publicContractsV1: {
5124
6313
  }, z.core.$strip>;
5125
6314
  };
5126
6315
  removeFlows: {
6316
+ readonly annotationJustifications: {
6317
+ readonly destructiveHint: "Deletes existing coverage associations while leaving already-unassociated flows unchanged.";
6318
+ readonly openWorldHint: "Changes private coverage associations without publishing to an external tracker.";
6319
+ readonly readOnlyHint: "Removes selected flows from a coverage request's covered-flow set.";
6320
+ };
5127
6321
  readonly annotations: {
5128
6322
  readonly destructiveHint: true;
5129
6323
  readonly openWorldHint: true;
@@ -5162,6 +6356,7 @@ export declare const publicContractsV1: {
5162
6356
  status: z.ZodEnum<{
5163
6357
  canceled: "canceled";
5164
6358
  pending: "pending";
6359
+ backlog: "backlog";
5165
6360
  inProgress: "inProgress";
5166
6361
  paused: "paused";
5167
6362
  resolved: "resolved";
@@ -5177,6 +6372,11 @@ export declare const publicContractsV1: {
5177
6372
  }, z.core.$strip>;
5178
6373
  };
5179
6374
  update: {
6375
+ readonly annotationJustifications: {
6376
+ readonly destructiveHint: "Can overwrite existing issue fields or send irreversible integration messages.";
6377
+ readonly openWorldHint: "Issue changes can update connected issue trackers and communication services.";
6378
+ readonly readOnlyHint: "Updates issue details, priority or status and can trigger integration updates.";
6379
+ };
5180
6380
  readonly annotations: {
5181
6381
  readonly destructiveHint: true;
5182
6382
  readonly openWorldHint: true;
@@ -5197,6 +6397,7 @@ export declare const publicContractsV1: {
5197
6397
  status: z.ZodOptional<z.ZodEnum<{
5198
6398
  canceled: "canceled";
5199
6399
  pending: "pending";
6400
+ backlog: "backlog";
5200
6401
  inProgress: "inProgress";
5201
6402
  paused: "paused";
5202
6403
  resolved: "resolved";
@@ -5230,6 +6431,7 @@ export declare const publicContractsV1: {
5230
6431
  status: z.ZodEnum<{
5231
6432
  canceled: "canceled";
5232
6433
  pending: "pending";
6434
+ backlog: "backlog";
5233
6435
  inProgress: "inProgress";
5234
6436
  paused: "paused";
5235
6437
  resolved: "resolved";
@@ -5247,6 +6449,11 @@ export declare const publicContractsV1: {
5247
6449
  };
5248
6450
  legacyTrigger: {
5249
6451
  find: {
6452
+ readonly annotationJustifications: {
6453
+ readonly destructiveHint: "Does not pause, resume or change any trigger.";
6454
+ readonly openWorldHint: "Reads private QA Wolf trigger configuration without starting external work.";
6455
+ readonly readOnlyHint: "Lists a workspace's legacy per-environment triggers.";
6456
+ };
5250
6457
  readonly annotations: {
5251
6458
  readonly destructiveHint: false;
5252
6459
  readonly openWorldHint: false;
@@ -5333,6 +6540,11 @@ export declare const publicContractsV1: {
5333
6540
  }, z.core.$strip>;
5334
6541
  };
5335
6542
  pause: {
6543
+ readonly annotationJustifications: {
6544
+ readonly destructiveHint: "Disables future automatic execution for the legacy trigger and its pull request copies until it is resumed.";
6545
+ readonly openWorldHint: "Changes private QA Wolf scheduling state without starting external work.";
6546
+ readonly readOnlyHint: "Pauses an existing legacy trigger so it stops starting new work.";
6547
+ };
5336
6548
  readonly annotations: {
5337
6549
  readonly destructiveHint: true;
5338
6550
  readonly openWorldHint: false;
@@ -5350,6 +6562,11 @@ export declare const publicContractsV1: {
5350
6562
  }, z.core.$strip>;
5351
6563
  };
5352
6564
  resume: {
6565
+ readonly annotationJustifications: {
6566
+ readonly destructiveHint: "Enables automatic test execution that can overwrite or delete application data.";
6567
+ readonly openWorldHint: "Resumed execution can change the application under test and update connected integrations.";
6568
+ readonly readOnlyHint: "Reactivates a legacy trigger and its pull request copies so future schedules or deployments can start runs.";
6569
+ };
5353
6570
  readonly annotations: {
5354
6571
  readonly destructiveHint: true;
5355
6572
  readonly openWorldHint: true;
@@ -5366,9 +6583,145 @@ export declare const publicContractsV1: {
5366
6583
  legacyTriggerId: PublicIdSchema;
5367
6584
  }, z.core.$strip>;
5368
6585
  };
5369
- };
5370
- run: {
6586
+ };
6587
+ promotion: {
6588
+ find: {
6589
+ readonly annotationJustifications: {
6590
+ readonly destructiveHint: "Does not change promotions, environments or flow code branches.";
6591
+ readonly openWorldHint: "Reads private QA Wolf promotion records without changing external systems.";
6592
+ readonly readOnlyHint: "Lists promotions in the authorized workspace without changing them.";
6593
+ };
6594
+ readonly annotations: {
6595
+ readonly destructiveHint: false;
6596
+ readonly openWorldHint: false;
6597
+ readonly readOnlyHint: true;
6598
+ };
6599
+ readonly description: "List environment promotions, newest first. A promotion moves the flow changes made in a head environment into its base environment. Filter by status conflicted to find the promotions whose conflicts still need a resolution.";
6600
+ readonly input: z.ZodObject<{
6601
+ cursor: z.ZodOptional<z.ZodString>;
6602
+ limit: z.ZodDefault<z.ZodNumber>;
6603
+ environmentId: z.ZodOptional<PublicIdSchema>;
6604
+ status: z.ZodOptional<z.ZodEnum<{
6605
+ pending: "pending";
6606
+ conflicted: "conflicted";
6607
+ resolving: "resolving";
6608
+ promoted: "promoted";
6609
+ "no-changes": "no-changes";
6610
+ abandoned: "abandoned";
6611
+ }>>;
6612
+ workspaceId: z.ZodOptional<PublicIdSchema>;
6613
+ }, z.core.$strip>;
6614
+ readonly kind: "read";
6615
+ readonly name: "promotion.find";
6616
+ readonly output: z.ZodObject<{
6617
+ nextCursor: z.ZodOptional<z.ZodString>;
6618
+ promotions: z.ZodArray<z.ZodObject<{
6619
+ aiTaskId: z.ZodOptional<PublicIdSchema>;
6620
+ baseEnvironmentId: PublicIdSchema;
6621
+ conflict: z.ZodOptional<z.ZodObject<{
6622
+ paths: z.ZodArray<z.ZodString>;
6623
+ sourceCommitHash: z.ZodString;
6624
+ targetCommitHash: z.ZodString;
6625
+ }, z.core.$strip>>;
6626
+ createdAt: z.ZodISODateTime;
6627
+ headEnvironmentId: PublicIdSchema;
6628
+ id: PublicIdSchema;
6629
+ promotedCommitHash: z.ZodOptional<z.ZodString>;
6630
+ settledAt: z.ZodOptional<z.ZodISODateTime>;
6631
+ status: z.ZodEnum<{
6632
+ pending: "pending";
6633
+ conflicted: "conflicted";
6634
+ resolving: "resolving";
6635
+ promoted: "promoted";
6636
+ "no-changes": "no-changes";
6637
+ abandoned: "abandoned";
6638
+ }>;
6639
+ url: z.ZodURL;
6640
+ }, z.core.$strip>>;
6641
+ }, z.core.$strip>;
6642
+ };
6643
+ get: {
6644
+ readonly annotationJustifications: {
6645
+ readonly destructiveHint: "Does not change the promotion, its environments or flow code branches.";
6646
+ readonly openWorldHint: "Reads a private QA Wolf promotion record without changing external systems.";
6647
+ readonly readOnlyHint: "Retrieves one authorized promotion's status and conflict without changing it.";
6648
+ };
6649
+ readonly annotations: {
6650
+ readonly destructiveHint: false;
6651
+ readonly openWorldHint: false;
6652
+ readonly readOnlyHint: true;
6653
+ };
6654
+ readonly description: "Read one environment promotion: its status, the conflicting paths and commit hashes while it is conflicted or resolving, the commit it landed when promoted, and the AI task resolving it. Poll it after environment.promote to learn how the promotion settled. It does not serve file contents; a resolver reads both branches from the flow code repository.";
6655
+ readonly input: z.ZodObject<{
6656
+ promotionId: PublicIdSchema;
6657
+ }, z.core.$strip>;
6658
+ readonly kind: "read";
6659
+ readonly name: "promotion.get";
6660
+ readonly output: z.ZodObject<{
6661
+ aiTaskId: z.ZodOptional<PublicIdSchema>;
6662
+ baseEnvironmentId: PublicIdSchema;
6663
+ conflict: z.ZodOptional<z.ZodObject<{
6664
+ paths: z.ZodArray<z.ZodString>;
6665
+ sourceCommitHash: z.ZodString;
6666
+ targetCommitHash: z.ZodString;
6667
+ }, z.core.$strip>>;
6668
+ createdAt: z.ZodISODateTime;
6669
+ headEnvironmentId: PublicIdSchema;
6670
+ id: PublicIdSchema;
6671
+ promotedCommitHash: z.ZodOptional<z.ZodString>;
6672
+ settledAt: z.ZodOptional<z.ZodISODateTime>;
6673
+ status: z.ZodEnum<{
6674
+ pending: "pending";
6675
+ conflicted: "conflicted";
6676
+ resolving: "resolving";
6677
+ promoted: "promoted";
6678
+ "no-changes": "no-changes";
6679
+ abandoned: "abandoned";
6680
+ }>;
6681
+ url: z.ZodURL;
6682
+ }, z.core.$strip>;
6683
+ };
6684
+ };
6685
+ run: {
6686
+ acceptScreenshotBaseline: {
6687
+ readonly annotationJustifications: {
6688
+ readonly destructiveHint: "Replaces the workspace's screenshot baseline, which changes what every later run compares with.";
6689
+ readonly openWorldHint: "Changes private QA Wolf baseline storage without starting external work.";
6690
+ readonly readOnlyHint: "Makes the new screenshot of a failed comparison the baseline.";
6691
+ };
6692
+ readonly annotations: {
6693
+ readonly destructiveHint: true;
6694
+ readonly openWorldHint: false;
6695
+ readonly readOnlyHint: false;
6696
+ };
6697
+ readonly description: string;
6698
+ readonly input: z.ZodObject<{
6699
+ chatSessionId: z.ZodOptional<z.ZodString>;
6700
+ comparisonId: z.ZodString;
6701
+ runId: PublicIdSchema;
6702
+ }, z.core.$strip>;
6703
+ readonly kind: "write";
6704
+ readonly name: "run.acceptScreenshotBaseline";
6705
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
6706
+ baselineChangeId: z.ZodString;
6707
+ name: z.ZodString;
6708
+ outcome: z.ZodLiteral<"accepted">;
6709
+ }, z.core.$strip>, z.ZodObject<{
6710
+ outcome: z.ZodLiteral<"baseline-changed">;
6711
+ }, z.core.$strip>, z.ZodObject<{
6712
+ outcome: z.ZodLiteral<"needs-approval">;
6713
+ }, z.core.$strip>, z.ZodObject<{
6714
+ outcome: z.ZodLiteral<"not-investigation-session">;
6715
+ }, z.core.$strip>, z.ZodObject<{
6716
+ outcome: z.ZodLiteral<"nothing-to-accept">;
6717
+ }, z.core.$strip>], "outcome">;
6718
+ };
5371
6719
  create: {
6720
+ readonly annotationJustifications: {
6721
+ readonly destructiveHint: "Test code can overwrite or delete application data.";
6722
+ readonly openWorldHint: "Test execution can submit forms or change the application under test and its connected services.";
6723
+ readonly readOnlyHint: "Creates a run and enqueues execution of selected flows.";
6724
+ };
5372
6725
  readonly annotations: {
5373
6726
  readonly destructiveHint: true;
5374
6727
  readonly openWorldHint: true;
@@ -5409,6 +6762,11 @@ export declare const publicContractsV1: {
5409
6762
  }, z.core.$strip>;
5410
6763
  };
5411
6764
  diagnose: {
6765
+ readonly annotationJustifications: {
6766
+ readonly destructiveHint: "Can replace a flow's existing diagnosis association and change externally reported run information.";
6767
+ readonly openWorldHint: "Recorded diagnosis changes can update run-related messages in configured external integrations.";
6768
+ readonly readOnlyHint: "Records failed flows as reproductions of a selected bug or maintenance issue.";
6769
+ };
5412
6770
  readonly annotations: {
5413
6771
  readonly destructiveHint: true;
5414
6772
  readonly openWorldHint: true;
@@ -5447,6 +6805,7 @@ export declare const publicContractsV1: {
5447
6805
  status: z.ZodEnum<{
5448
6806
  canceled: "canceled";
5449
6807
  pending: "pending";
6808
+ backlog: "backlog";
5450
6809
  inProgress: "inProgress";
5451
6810
  paused: "paused";
5452
6811
  resolved: "resolved";
@@ -5462,6 +6821,11 @@ export declare const publicContractsV1: {
5462
6821
  }, z.core.$strip>;
5463
6822
  };
5464
6823
  find: {
6824
+ readonly annotationJustifications: {
6825
+ readonly destructiveHint: "Does not stop runs, overwrite results or change diagnoses.";
6826
+ readonly openWorldHint: "Reads private run records without executing application actions.";
6827
+ readonly readOnlyHint: "Lists recent environment runs without starting or retrying them.";
6828
+ };
5465
6829
  readonly annotations: {
5466
6830
  readonly destructiveHint: false;
5467
6831
  readonly openWorldHint: false;
@@ -5509,6 +6873,11 @@ export declare const publicContractsV1: {
5509
6873
  }, z.core.$strip>;
5510
6874
  };
5511
6875
  get: {
6876
+ readonly annotationJustifications: {
6877
+ readonly destructiveHint: "Does not retry, cancel or alter the run.";
6878
+ readonly openWorldHint: "Reads recorded QA Wolf results without changing the application under test.";
6879
+ readonly readOnlyHint: "Retrieves a run's status, per-flow results and result links.";
6880
+ };
5512
6881
  readonly annotations: {
5513
6882
  readonly destructiveHint: false;
5514
6883
  readonly openWorldHint: false;
@@ -5550,6 +6919,7 @@ export declare const publicContractsV1: {
5550
6919
  videoUrl: z.ZodOptional<z.ZodURL>;
5551
6920
  }, z.core.$strip>, z.ZodObject<{
5552
6921
  attemptId: z.ZodOptional<PublicIdSchema>;
6922
+ canceledReason: z.ZodOptional<z.ZodString>;
5553
6923
  completedAt: z.ZodOptional<z.ZodISODateTime>;
5554
6924
  kind: z.ZodLiteral<"automated">;
5555
6925
  startedAt: z.ZodOptional<z.ZodISODateTime>;
@@ -5601,6 +6971,7 @@ export declare const publicContractsV1: {
5601
6971
  videoUrl: z.ZodOptional<z.ZodURL>;
5602
6972
  }, z.core.$strip>, z.ZodObject<{
5603
6973
  attemptId: z.ZodOptional<PublicIdSchema>;
6974
+ canceledReason: z.ZodOptional<z.ZodString>;
5604
6975
  completedAt: z.ZodOptional<z.ZodISODateTime>;
5605
6976
  kind: z.ZodLiteral<"automated">;
5606
6977
  startedAt: z.ZodOptional<z.ZodISODateTime>;
@@ -5646,196 +7017,68 @@ export declare const publicContractsV1: {
5646
7017
  url: z.ZodURL;
5647
7018
  }, z.core.$strip>;
5648
7019
  };
5649
- getAttemptArtifacts: {
7020
+ listScreenshotComparisons: {
7021
+ readonly annotationJustifications: {
7022
+ readonly destructiveHint: "Does not change baselines, results or the run.";
7023
+ readonly openWorldHint: "Reads recorded QA Wolf screenshots without changing the application under test.";
7024
+ readonly readOnlyHint: "Creates missing JPEG previews of the compared images and keeps them in team storage.";
7025
+ };
5650
7026
  readonly annotations: {
5651
7027
  readonly destructiveHint: false;
5652
7028
  readonly openWorldHint: false;
5653
- readonly readOnlyHint: true;
7029
+ readonly readOnlyHint: false;
5654
7030
  };
5655
- readonly description: "Get metadata and signed artifact URLs for one finished run attempt.";
7031
+ readonly description: string;
5656
7032
  readonly input: z.ZodObject<{
5657
- attemptId: PublicIdSchema;
7033
+ flowIds: z.ZodOptional<z.ZodArray<PublicIdSchema>>;
7034
+ runId: PublicIdSchema;
5658
7035
  }, z.core.$strip>;
5659
7036
  readonly kind: "read";
5660
- readonly name: "run.getAttemptArtifacts";
5661
- readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
5662
- flowId: PublicIdSchema;
5663
- flowStatus: z.ZodEnum<{
5664
- failed: "failed";
5665
- queued: "queued";
5666
- running: "running";
5667
- passed: "passed";
5668
- canceled: "canceled";
5669
- }>;
5670
- retryContext: z.ZodObject<{
5671
- currentOrdinal: z.ZodNumber;
5672
- next: z.ZodOptional<z.ZodObject<{
5673
- attemptId: PublicIdSchema;
5674
- status: z.ZodEnum<{
5675
- failed: "failed";
5676
- passed: "passed";
5677
- canceled: "canceled";
5678
- skipped: "skipped";
5679
- aborted: "aborted";
5680
- }>;
5681
- }, z.core.$strip>>;
5682
- previous: z.ZodOptional<z.ZodObject<{
5683
- attemptId: PublicIdSchema;
5684
- status: z.ZodEnum<{
5685
- failed: "failed";
5686
- passed: "passed";
5687
- canceled: "canceled";
5688
- skipped: "skipped";
5689
- aborted: "aborted";
5690
- }>;
5691
- }, z.core.$strip>>;
5692
- total: z.ZodNumber;
5693
- }, z.core.$strip>;
5694
- runId: PublicIdSchema;
5695
- runStatus: z.ZodEnum<{
5696
- failed: "failed";
5697
- queued: "queued";
5698
- running: "running";
5699
- passed: "passed";
5700
- canceled: "canceled";
5701
- superseded: "superseded";
5702
- }>;
5703
- artifacts: z.ZodObject<{
5704
- logsUrl: z.ZodOptional<z.ZodURL>;
5705
- traceUrl: z.ZodOptional<z.ZodURL>;
5706
- videoUrl: z.ZodOptional<z.ZodURL>;
5707
- }, z.core.$strip>;
5708
- artifactStatus: z.ZodLiteral<"signed">;
5709
- attempt: z.ZodObject<{
5710
- attemptId: PublicIdSchema;
5711
- completedAt: z.ZodOptional<z.ZodISODateTime>;
5712
- createdAt: z.ZodISODateTime;
5713
- error: z.ZodOptional<z.ZodString>;
5714
- startedAt: z.ZodOptional<z.ZodISODateTime>;
5715
- kind: z.ZodLiteral<"automated">;
5716
- status: z.ZodEnum<{
5717
- failed: "failed";
5718
- passed: "passed";
5719
- canceled: "canceled";
5720
- skipped: "skipped";
5721
- aborted: "aborted";
5722
- }>;
5723
- }, z.core.$strip>;
5724
- }, z.core.$strip>, z.ZodObject<{
5725
- flowId: PublicIdSchema;
5726
- flowStatus: z.ZodEnum<{
5727
- failed: "failed";
5728
- queued: "queued";
5729
- running: "running";
5730
- passed: "passed";
5731
- canceled: "canceled";
5732
- }>;
5733
- retryContext: z.ZodObject<{
5734
- currentOrdinal: z.ZodNumber;
5735
- next: z.ZodOptional<z.ZodObject<{
5736
- attemptId: PublicIdSchema;
5737
- status: z.ZodEnum<{
5738
- failed: "failed";
5739
- passed: "passed";
5740
- canceled: "canceled";
5741
- skipped: "skipped";
5742
- aborted: "aborted";
5743
- }>;
5744
- }, z.core.$strip>>;
5745
- previous: z.ZodOptional<z.ZodObject<{
5746
- attemptId: PublicIdSchema;
5747
- status: z.ZodEnum<{
5748
- failed: "failed";
5749
- passed: "passed";
5750
- canceled: "canceled";
5751
- skipped: "skipped";
5752
- aborted: "aborted";
5753
- }>;
5754
- }, z.core.$strip>>;
5755
- total: z.ZodNumber;
5756
- }, z.core.$strip>;
5757
- runId: PublicIdSchema;
5758
- runStatus: z.ZodEnum<{
5759
- failed: "failed";
5760
- queued: "queued";
5761
- running: "running";
5762
- passed: "passed";
5763
- canceled: "canceled";
5764
- superseded: "superseded";
5765
- }>;
5766
- artifacts: z.ZodObject<{}, z.core.$strict>;
5767
- artifactStatus: z.ZodLiteral<"signing-failed">;
5768
- attempt: z.ZodObject<{
5769
- attemptId: PublicIdSchema;
5770
- completedAt: z.ZodOptional<z.ZodISODateTime>;
5771
- createdAt: z.ZodISODateTime;
5772
- error: z.ZodOptional<z.ZodString>;
5773
- startedAt: z.ZodOptional<z.ZodISODateTime>;
5774
- kind: z.ZodLiteral<"automated">;
5775
- status: z.ZodEnum<{
5776
- failed: "failed";
5777
- passed: "passed";
5778
- canceled: "canceled";
5779
- skipped: "skipped";
5780
- aborted: "aborted";
7037
+ readonly name: "run.listScreenshotComparisons";
7038
+ readonly output: z.ZodObject<{
7039
+ comparisons: z.ZodArray<z.ZodObject<{
7040
+ actualPreviewUrl: z.ZodOptional<z.ZodURL>;
7041
+ actualUrl: z.ZodURL;
7042
+ attemptCompletedAt: z.ZodISODateTime;
7043
+ baselineStatus: z.ZodEnum<{
7044
+ unknown: "unknown";
7045
+ accepted: "accepted";
7046
+ deleted: "deleted";
7047
+ unchanged: "unchanged";
7048
+ "changed-since-run": "changed-since-run";
5781
7049
  }>;
5782
- }, z.core.$strip>;
5783
- }, z.core.$strip>, z.ZodObject<{
5784
- flowId: PublicIdSchema;
5785
- flowStatus: z.ZodEnum<{
5786
- failed: "failed";
5787
- queued: "queued";
5788
- running: "running";
5789
- passed: "passed";
5790
- canceled: "canceled";
5791
- }>;
5792
- retryContext: z.ZodObject<{
5793
- currentOrdinal: z.ZodNumber;
5794
- next: z.ZodOptional<z.ZodObject<{
5795
- attemptId: PublicIdSchema;
5796
- status: z.ZodEnum<{
5797
- failed: "failed";
5798
- passed: "passed";
5799
- canceled: "canceled";
5800
- skipped: "skipped";
5801
- aborted: "aborted";
5802
- }>;
5803
- }, z.core.$strip>>;
5804
- previous: z.ZodOptional<z.ZodObject<{
5805
- attemptId: PublicIdSchema;
5806
- status: z.ZodEnum<{
5807
- failed: "failed";
5808
- passed: "passed";
5809
- canceled: "canceled";
5810
- skipped: "skipped";
5811
- aborted: "aborted";
5812
- }>;
5813
- }, z.core.$strip>>;
5814
- total: z.ZodNumber;
5815
- }, z.core.$strip>;
5816
- runId: PublicIdSchema;
5817
- runStatus: z.ZodEnum<{
5818
- failed: "failed";
5819
- queued: "queued";
5820
- running: "running";
5821
- passed: "passed";
5822
- canceled: "canceled";
5823
- superseded: "superseded";
5824
- }>;
5825
- artifacts: z.ZodObject<{}, z.core.$strict>;
5826
- artifactStatus: z.ZodLiteral<"not-captured">;
5827
- attempt: z.ZodObject<{
5828
- attemptId: PublicIdSchema;
5829
- completedAt: z.ZodOptional<z.ZodISODateTime>;
5830
- createdAt: z.ZodISODateTime;
5831
- error: z.ZodOptional<z.ZodString>;
5832
- startedAt: z.ZodOptional<z.ZodISODateTime>;
5833
- kind: z.ZodLiteral<"manual">;
5834
- status: z.ZodLiteral<"passed">;
5835
- }, z.core.$strip>;
5836
- }, z.core.$strip>], "artifactStatus">;
7050
+ comparisonId: z.ZodString;
7051
+ diffPreviewUrl: z.ZodOptional<z.ZodURL>;
7052
+ diffUrl: z.ZodURL;
7053
+ expectedPreviewUrl: z.ZodOptional<z.ZodURL>;
7054
+ expectedUrl: z.ZodURL;
7055
+ filePath: z.ZodOptional<z.ZodString>;
7056
+ flowId: PublicIdSchema;
7057
+ lineNumber: z.ZodOptional<z.ZodNumber>;
7058
+ name: z.ZodString;
7059
+ passingElsewhere: z.ZodDiscriminatedUnion<[z.ZodObject<{
7060
+ status: z.ZodLiteral<"not-tracked">;
7061
+ }, z.core.$strip>, z.ZodObject<{
7062
+ environments: z.ZodArray<z.ZodObject<{
7063
+ environmentId: PublicIdSchema;
7064
+ lastPassedAt: z.ZodISODateTime;
7065
+ }, z.core.$strip>>;
7066
+ status: z.ZodLiteral<"tracked">;
7067
+ }, z.core.$strip>], "status">;
7068
+ runAttemptId: z.ZodString;
7069
+ similarity: z.ZodNumber;
7070
+ sizeMismatch: z.ZodBoolean;
7071
+ }, z.core.$strip>>;
7072
+ expiresAt: z.ZodISODateTime;
7073
+ truncated: z.ZodBoolean;
7074
+ }, z.core.$strip>;
5837
7075
  };
5838
7076
  optOutOfInvestigation: {
7077
+ readonly annotationJustifications: {
7078
+ readonly destructiveHint: "Ends the investigation of the selected failures and changes externally reported run information.";
7079
+ readonly openWorldHint: "Recorded opt-outs can update run-related messages in configured external integrations.";
7080
+ readonly readOnlyHint: "Records failed flows as needing no bug or maintenance report.";
7081
+ };
5839
7082
  readonly annotations: {
5840
7083
  readonly destructiveHint: true;
5841
7084
  readonly openWorldHint: true;
@@ -5855,6 +7098,11 @@ export declare const publicContractsV1: {
5855
7098
  }, z.core.$strip>;
5856
7099
  };
5857
7100
  reattempt: {
7101
+ readonly annotationJustifications: {
7102
+ readonly destructiveHint: "Repeated execution can overwrite or delete application data and creates additional billed work.";
7103
+ readonly openWorldHint: "New attempts execute against the application under test and can affect connected services.";
7104
+ readonly readOnlyHint: "Enqueues new attempts for eligible failed or canceled flows using the latest code.";
7105
+ };
5858
7106
  readonly annotations: {
5859
7107
  readonly destructiveHint: true;
5860
7108
  readonly openWorldHint: true;
@@ -5873,7 +7121,44 @@ export declare const publicContractsV1: {
5873
7121
  url: z.ZodURL;
5874
7122
  }, z.core.$strip>;
5875
7123
  };
7124
+ restoreScreenshotBaseline: {
7125
+ readonly annotationJustifications: {
7126
+ readonly destructiveHint: "Replaces the current screenshot baseline with the one it replaced, which changes what every later run compares with.";
7127
+ readonly openWorldHint: "Changes private QA Wolf baseline storage without starting external work.";
7128
+ readonly readOnlyHint: "Puts back the screenshot baseline that an accepted comparison replaced.";
7129
+ };
7130
+ readonly annotations: {
7131
+ readonly destructiveHint: true;
7132
+ readonly openWorldHint: false;
7133
+ readonly readOnlyHint: false;
7134
+ };
7135
+ readonly description: string;
7136
+ readonly input: z.ZodObject<{
7137
+ baselineChangeId: z.ZodString;
7138
+ chatSessionId: z.ZodOptional<z.ZodString>;
7139
+ runId: PublicIdSchema;
7140
+ }, z.core.$strip>;
7141
+ readonly kind: "write";
7142
+ readonly name: "run.restoreScreenshotBaseline";
7143
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
7144
+ name: z.ZodString;
7145
+ outcome: z.ZodLiteral<"restored">;
7146
+ }, z.core.$strip>, z.ZodObject<{
7147
+ outcome: z.ZodLiteral<"baseline-changed">;
7148
+ }, z.core.$strip>, z.ZodObject<{
7149
+ outcome: z.ZodLiteral<"needs-dispute">;
7150
+ }, z.core.$strip>, z.ZodObject<{
7151
+ outcome: z.ZodLiteral<"not-investigation-session">;
7152
+ }, z.core.$strip>, z.ZodObject<{
7153
+ outcome: z.ZodLiteral<"nothing-to-restore">;
7154
+ }, z.core.$strip>], "outcome">;
7155
+ };
5876
7156
  stop: {
7157
+ readonly annotationJustifications: {
7158
+ readonly destructiveHint: "Interrupts unfinished work, while finished results remain intact and repeated stop requests are supported.";
7159
+ readonly openWorldHint: "Run status changes can update messages or commit statuses in configured external integrations.";
7160
+ readonly readOnlyHint: "Requests asynchronous cancellation of a run, queued flows and automatic retries.";
7161
+ };
5877
7162
  readonly annotations: {
5878
7163
  readonly destructiveHint: true;
5879
7164
  readonly openWorldHint: true;
@@ -5898,6 +7183,11 @@ export declare const publicContractsV1: {
5898
7183
  };
5899
7184
  runner: {
5900
7185
  runFlow: {
7186
+ readonly annotationJustifications: {
7187
+ readonly destructiveHint: "Test code can overwrite or delete application data, and uncertain acceptance must be checked before resubmission.";
7188
+ readonly openWorldHint: "Executed tests can submit forms and change the application under test or its connected services.";
7189
+ readonly readOnlyHint: "Submits test files for full-flow or selected-line execution on an interactive runner.";
7190
+ };
5901
7191
  readonly annotations: {
5902
7192
  readonly destructiveHint: true;
5903
7193
  readonly openWorldHint: true;
@@ -5952,6 +7242,11 @@ export declare const publicContractsV1: {
5952
7242
  }, z.core.$strip>], "failureReason">], "outcome">;
5953
7243
  };
5954
7244
  stopRun: {
7245
+ readonly annotationJustifications: {
7246
+ readonly destructiveHint: "Stops unfinished work where it is, while an already-idle runner is left idle.";
7247
+ readonly openWorldHint: "Changes private execution state without itself posting external messages.";
7248
+ readonly readOnlyHint: "Interrupts current execution while leaving the runner available.";
7249
+ };
5955
7250
  readonly annotations: {
5956
7251
  readonly destructiveHint: true;
5957
7252
  readonly openWorldHint: false;
@@ -5975,12 +7270,17 @@ export declare const publicContractsV1: {
5975
7270
  }, z.core.$strip>], "outcome">;
5976
7271
  };
5977
7272
  takeScreenshot: {
7273
+ readonly annotationJustifications: {
7274
+ readonly destructiveHint: "Does not change application data or stop execution, although the activity refresh can extend billed runtime.";
7275
+ readonly openWorldHint: "Reads the private runner display without submitting an external application action.";
7276
+ readonly readOnlyHint: "Captures the runner screen and refreshes activity, which can cancel an inactivity shutdown.";
7277
+ };
5978
7278
  readonly annotations: {
5979
7279
  readonly destructiveHint: false;
5980
7280
  readonly openWorldHint: false;
5981
7281
  readonly readOnlyHint: false;
5982
7282
  };
5983
- readonly description: "Take one screenshot of an interactive runner's screen. On a runner with a browser the image is the whole virtual desktop, browser window and all; this refreshes the inactivity timer and can extend the runner's billed lifetime. On a mobile runner it is the device's own screen, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. `screen-needs-a-run` if the runner's virtual desktop has never started. Waiting will not change this and retrying is pointless — call `runner.runFlow` with a flow that opens a browser, then ask for the screen again. On a runner image with a browser that has never run anything, any `runner.performAction` also starts the browser itself. Evaluating a snippet does not start the desktop. `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, or on `windows` use `runner.runFlow`. `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. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
7283
+ readonly description: "Take one screenshot of an interactive runner's screen. On a runner with a browser the image is the whole virtual desktop, browser window and all; this refreshes the inactivity timer and can extend the runner's billed lifetime. On a mobile runner it is the device's own screen, and on Windows the VM's whole desktop, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. `screen-needs-a-run` if the runner's virtual desktop has never started. Waiting will not change this and retrying is pointless — call `runner.runFlow` with a flow that opens a browser, then ask for the screen again. On a Windows runner any flow run claims the VM and brings up its screen. On a runner image with a browser that has never run anything, any `runner.performAction` also starts the browser itself. Evaluating a snippet does not start the desktop. `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 be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
5984
7284
  readonly input: z.ZodObject<{
5985
7285
  id: z.ZodString;
5986
7286
  workspaceId: z.ZodOptional<PublicIdSchema>;
@@ -6001,6 +7301,11 @@ export declare const publicContractsV1: {
6001
7301
  }, z.core.$strip>], "outcome">;
6002
7302
  };
6003
7303
  terminate: {
7304
+ readonly annotationJustifications: {
7305
+ readonly destructiveHint: "Terminates running work and discards the live session, while an absent runner is left absent.";
7306
+ readonly openWorldHint: "Stops a private QA Wolf runner without itself publishing to third-party services.";
7307
+ readonly readOnlyHint: "Ends a selected interactive runner and the resources hosting it.";
7308
+ };
6004
7309
  readonly annotations: {
6005
7310
  readonly destructiveHint: true;
6006
7311
  readonly openWorldHint: false;
@@ -6020,6 +7325,11 @@ export declare const publicContractsV1: {
6020
7325
  }, z.core.$strip>;
6021
7326
  };
6022
7327
  record: {
7328
+ readonly annotationJustifications: {
7329
+ readonly destructiveHint: "Starts or stops a video recording without changing the application under test.";
7330
+ readonly openWorldHint: "Controls recording on a QA Wolf runner without starting external work.";
7331
+ readonly readOnlyHint: "Starts or stops video recording and changes automatic capture settings.";
7332
+ };
6023
7333
  readonly annotations: {
6024
7334
  readonly destructiveHint: false;
6025
7335
  readonly openWorldHint: false;
@@ -6095,6 +7405,11 @@ export declare const publicContractsV1: {
6095
7405
  }, z.core.$strip>;
6096
7406
  };
6097
7407
  recordings: {
7408
+ readonly annotationJustifications: {
7409
+ readonly destructiveHint: "Does not delete or change any recording.";
7410
+ readonly openWorldHint: "Reads QA Wolf workspace storage without changing the application under test.";
7411
+ readonly readOnlyHint: "Lists or retrieves a runner's finalized recordings.";
7412
+ };
6098
7413
  readonly annotations: {
6099
7414
  readonly destructiveHint: false;
6100
7415
  readonly openWorldHint: false;
@@ -6133,6 +7448,11 @@ export declare const publicContractsV1: {
6133
7448
  }, z.core.$strip>;
6134
7449
  };
6135
7450
  evaluateSnippet: {
7451
+ readonly annotationJustifications: {
7452
+ readonly destructiveHint: "Code can overwrite or delete runner or application data, and a timeout does not prove execution stopped.";
7453
+ readonly openWorldHint: "Supplied code can submit application actions or contact and change external services.";
7454
+ readonly readOnlyHint: "Executes supplied code against the interactive runner's current session.";
7455
+ };
6136
7456
  readonly annotations: {
6137
7457
  readonly destructiveHint: true;
6138
7458
  readonly openWorldHint: true;
@@ -6165,6 +7485,11 @@ export declare const publicContractsV1: {
6165
7485
  }, z.core.$strip>], "outcome">;
6166
7486
  };
6167
7487
  get: {
7488
+ readonly annotationJustifications: {
7489
+ readonly destructiveHint: "Does not stop the runner or change its execution.";
7490
+ readonly openWorldHint: "Reads private runner placement state without acting on external applications.";
7491
+ readonly readOnlyHint: "Checks whether a runner exists without starting it or refreshing its inactivity timer.";
7492
+ };
6168
7493
  readonly annotations: {
6169
7494
  readonly destructiveHint: false;
6170
7495
  readonly openWorldHint: false;
@@ -6189,6 +7514,11 @@ export declare const publicContractsV1: {
6189
7514
  }, z.core.$strip>], "running">;
6190
7515
  };
6191
7516
  highlightSelector: {
7517
+ readonly annotationJustifications: {
7518
+ readonly destructiveHint: "Only replaces or clears the inspection overlay rather than deleting application data.";
7519
+ readonly openWorldHint: "Draws a private inspection overlay without submitting an application form.";
7520
+ readonly readOnlyHint: "Changes the visual selector highlight on the runner's live page.";
7521
+ };
6192
7522
  readonly annotations: {
6193
7523
  readonly destructiveHint: false;
6194
7524
  readonly openWorldHint: false;
@@ -6221,6 +7551,11 @@ export declare const publicContractsV1: {
6221
7551
  }, z.core.$strip>], "outcome">;
6222
7552
  };
6223
7553
  importPackage: {
7554
+ readonly annotationJustifications: {
7555
+ readonly destructiveHint: "Can replace existing dependencies or execute commands that overwrite or delete runner or application data.";
7556
+ readonly openWorldHint: "Installation can contact external services and execute commands that change third-party systems.";
7557
+ readonly readOnlyHint: "Installs caller-selected dependencies into a live runner and can execute commands with the runner's access.";
7558
+ };
6224
7559
  readonly annotations: {
6225
7560
  readonly destructiveHint: true;
6226
7561
  readonly openWorldHint: true;
@@ -6248,6 +7583,11 @@ export declare const publicContractsV1: {
6248
7583
  }, z.core.$strip>], "outcome">;
6249
7584
  };
6250
7585
  inspect: {
7586
+ readonly annotationJustifications: {
7587
+ readonly destructiveHint: "Does not edit test code or application data, although the activity refresh can extend billed runtime.";
7588
+ readonly openWorldHint: "Inspects the private runner session without submitting application actions.";
7589
+ readonly readOnlyHint: "Retrieves browser inspection data and refreshes activity, which can cancel an inactivity shutdown.";
7590
+ };
6251
7591
  readonly annotations: {
6252
7592
  readonly destructiveHint: false;
6253
7593
  readonly openWorldHint: false;
@@ -6284,12 +7624,17 @@ export declare const publicContractsV1: {
6284
7624
  }, z.core.$strip>], "outcome">;
6285
7625
  };
6286
7626
  inspectMobile: {
7627
+ readonly annotationJustifications: {
7628
+ readonly destructiveHint: "Does not change application data, edit tests, or stop the runner.";
7629
+ readonly openWorldHint: "Inspects the existing QA Wolf mobile runner without submitting application actions or contacting arbitrary services.";
7630
+ readonly readOnlyHint: "Reads mobile session status, contexts, page source, or elements without refreshing the runner's inactivity timer.";
7631
+ };
6287
7632
  readonly annotations: {
6288
7633
  readonly destructiveHint: false;
6289
7634
  readonly openWorldHint: false;
6290
7635
  readonly readOnlyHint: true;
6291
7636
  };
6292
- readonly description: "Inspect one thing on a mobile interactive runner: the Appium session's status, the WebView contexts available, the current context's page source, or the elements at a point, carrying some text, or matching a selector. This does not refresh the runner's inactivity timer. Mobile only — a browser runner answers `runner-is-not-mobile`; call `runner.inspect` for a browser's equivalent surface instead. `what: \"session\"` always answers with the session's own status rather than `screen-needs-a-run`, since that is the question it exists to answer; the other three request kinds need a live session first and answer the same `screen-needs-a-run` or `screen-not-ready` outcomes `runner.performAction` and `runner.takeScreenshot` use, instead of reading anything when there is none. `screen-needs-a-run` means no Appium session has started on this runner yet — call `runner.runFlow` with a flow that opens one, then inspect again. `screen-not-ready` means the runner's Appium session exists but did not answer this instant, or more than one is somehow live — retry once; if it persists, relaunch the runner. `runner-is-not-mobile` means there is nothing here to inspect, and retrying will never help — launch an `android` or `ios` runner instead. `invalid-selector` (elements by selector only) means the selector itself could not be parsed under the given `strategy` — distinct from a selector that parsed fine but matched nothing, which answers `matches: []` instead. `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. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
7637
+ readonly description: "Inspect one thing on a mobile or Windows interactive runner: the Appium session's status, the contexts available (WebViews on mobile, top-level windows on Windows), the current context's page source, or the elements at a point, carrying some text, or matching a selector. This does not refresh the runner's inactivity timer. Mobile and Windows only — a browser runner answers `runner-is-not-mobile`; call `runner.inspect` for a browser's equivalent surface instead. `what: \"session\"` always answers with the session's own status rather than `screen-needs-a-run`, since that is the question it exists to answer; the other three request kinds need a live session first and answer the same `screen-needs-a-run` or `screen-not-ready` outcomes `runner.performAction` and `runner.takeScreenshot` use, instead of reading anything when there is none. `screen-needs-a-run` means no Appium session has started on this runner yet — call `runner.runFlow` with a flow that opens one, then inspect again. `screen-not-ready` means the runner's Appium session exists but did not answer this instant, or more than one is somehow live — retry once; if it persists, relaunch the runner. `runner-is-not-mobile` means there is nothing here to inspect, and retrying will never help — launch an `android`, `ios` or `windows` runner instead. `invalid-selector` (elements by selector only) means the selector itself could not be parsed under the given `strategy` — distinct from a selector that parsed fine but matched nothing, which answers `matches: []` instead. `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. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
6293
7638
  readonly input: z.ZodObject<{
6294
7639
  id: z.ZodString;
6295
7640
  request: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -6504,9 +7849,14 @@ export declare const publicContractsV1: {
6504
7849
  }, z.core.$strip>], "outcome">;
6505
7850
  };
6506
7851
  launch: {
7852
+ readonly annotationJustifications: {
7853
+ readonly destructiveHint: "Starts billable resource consumption that cannot be undone by later termination.";
7854
+ readonly openWorldHint: "Allocates a private QA Wolf runner without itself navigating to an application or submitting forms.";
7855
+ readonly readOnlyHint: "Starts an interactive runner and allocates billed resources unless the requested runner is already running.";
7856
+ };
6507
7857
  readonly annotations: {
6508
7858
  readonly destructiveHint: true;
6509
- readonly openWorldHint: false;
7859
+ readonly openWorldHint: true;
6510
7860
  readonly readOnlyHint: false;
6511
7861
  };
6512
7862
  readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Send `initialUrl` so its browser comes up on the page the work starts from, which saves a separate navigation and the browser's cold start. Launching the same id again returns the runner already running rather than starting a second one, and the same id with a different runnerName is refused. A runner is not permanent: it terminates on its own after a period of inactivity, and launching the same id after that starts and bills a new runner, so read `alreadyRunning` to tell which happened. A success means the runner is answering: the call waits for the pod it started to come up, so the very next call to the runner reaches it. If the pod does not come up in time the call fails instead, leaving the runner running, and launching the same id again attaches to it.";
@@ -6540,6 +7890,11 @@ export declare const publicContractsV1: {
6540
7890
  }, z.core.$strip>;
6541
7891
  };
6542
7892
  list: {
7893
+ readonly annotationJustifications: {
7894
+ readonly destructiveHint: "Does not interrupt or terminate any listed runner.";
7895
+ readonly openWorldHint: "Reads private runner state without acting on third-party applications.";
7896
+ readonly readOnlyHint: "Lists running workspace runners without starting them or refreshing their inactivity timers.";
7897
+ };
6543
7898
  readonly annotations: {
6544
7899
  readonly destructiveHint: false;
6545
7900
  readonly openWorldHint: false;
@@ -6568,12 +7923,17 @@ export declare const publicContractsV1: {
6568
7923
  }, z.core.$strip>;
6569
7924
  };
6570
7925
  performAction: {
7926
+ readonly annotationJustifications: {
7927
+ readonly destructiveHint: "Actions can submit irreversible transactions or delete existing data, so uncertain outcomes must be inspected before retrying.";
7928
+ readonly openWorldHint: "Clicks, typing and navigation can submit external forms or change application state.";
7929
+ readonly readOnlyHint: "Performs a browser or device action and can start a browser when needed.";
7930
+ };
6571
7931
  readonly annotations: {
6572
7932
  readonly destructiveHint: true;
6573
7933
  readonly openWorldHint: true;
6574
7934
  readonly readOnlyHint: false;
6575
7935
  };
6576
- readonly description: "Perform one raw action on an interactive runner: click, double_click, move, drag, scroll, keypress, type, or navigate; on mobile, tap, swipe, fill, or type. 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 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, or on `windows` use `runner.runFlow`. `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.";
7936
+ 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.";
6577
7937
  readonly input: z.ZodObject<{
6578
7938
  action: z.ZodDiscriminatedUnion<[z.ZodObject<{
6579
7939
  button: z.ZodLiteral<"left" | "right" | "wheel" | "back" | "forward">;
@@ -6667,12 +8027,17 @@ export declare const publicContractsV1: {
6667
8027
  }, z.core.$strip>], "failureReason">], "outcome">;
6668
8028
  };
6669
8029
  performActions: {
8030
+ readonly annotationJustifications: {
8031
+ readonly destructiveHint: "Actions can submit irreversible transactions or delete existing data, so uncertain outcomes must be inspected before retrying.";
8032
+ readonly openWorldHint: "Clicks, typing and navigation can submit external forms or change application state.";
8033
+ readonly readOnlyHint: "Performs a sequence of browser or device actions on a runner.";
8034
+ };
6670
8035
  readonly annotations: {
6671
8036
  readonly destructiveHint: true;
6672
8037
  readonly openWorldHint: true;
6673
8038
  readonly readOnlyHint: false;
6674
8039
  };
6675
- 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 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.";
8040
+ 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.";
6676
8041
  readonly input: z.ZodObject<{
6677
8042
  actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
6678
8043
  button: z.ZodLiteral<"left" | "right" | "wheel" | "back" | "forward">;
@@ -6817,6 +8182,11 @@ export declare const publicContractsV1: {
6817
8182
  }, z.core.$strip>], "outcome">;
6818
8183
  };
6819
8184
  promoteSnapshot: {
8185
+ readonly annotationJustifications: {
8186
+ readonly destructiveHint: "Overwrites an existing baseline, while a missing source snapshot leaves it unchanged.";
8187
+ readonly openWorldHint: "Updates a stored test baseline rather than publishing to an external application.";
8188
+ readonly readOnlyHint: "Replaces a named image-diff baseline with a screenshot produced by the runner.";
8189
+ };
6820
8190
  readonly annotations: {
6821
8191
  readonly destructiveHint: true;
6822
8192
  readonly openWorldHint: false;
@@ -6843,6 +8213,11 @@ export declare const publicContractsV1: {
6843
8213
  }, z.core.$strip>], "outcome">;
6844
8214
  };
6845
8215
  readJournal: {
8216
+ readonly annotationJustifications: {
8217
+ readonly destructiveHint: "Does not erase journal entries or change run results, although the activity refresh can extend billed runtime.";
8218
+ readonly openWorldHint: "Reads private runner history without submitting actions to external applications.";
8219
+ readonly readOnlyHint: "Retrieves journal entries and refreshes activity, which can cancel an inactivity shutdown.";
8220
+ };
6846
8221
  readonly annotations: {
6847
8222
  readonly destructiveHint: false;
6848
8223
  readonly openWorldHint: false;
@@ -6883,6 +8258,11 @@ export declare const publicContractsV1: {
6883
8258
  };
6884
8259
  skill: {
6885
8260
  get: {
8261
+ readonly annotationJustifications: {
8262
+ readonly destructiveHint: "Does not change any skill or workspace data.";
8263
+ readonly openWorldHint: "Reads the QA Wolf skill catalog without calling external services.";
8264
+ readonly readOnlyHint: "Retrieves one QA Wolf skill's instructions and reference files.";
8265
+ };
6886
8266
  readonly annotations: {
6887
8267
  readonly destructiveHint: false;
6888
8268
  readonly openWorldHint: false;
@@ -6905,6 +8285,11 @@ export declare const publicContractsV1: {
6905
8285
  }, z.core.$strip>;
6906
8286
  };
6907
8287
  list: {
8288
+ readonly annotationJustifications: {
8289
+ readonly destructiveHint: "Does not change any skill or workspace data.";
8290
+ readonly openWorldHint: "Reads the QA Wolf skill catalog without calling external services.";
8291
+ readonly readOnlyHint: "Lists the QA Wolf skills with their names and descriptions.";
8292
+ };
6908
8293
  readonly annotations: {
6909
8294
  readonly destructiveHint: false;
6910
8295
  readonly openWorldHint: false;
@@ -6924,6 +8309,11 @@ export declare const publicContractsV1: {
6924
8309
  };
6925
8310
  tag: {
6926
8311
  create: {
8312
+ readonly annotationJustifications: {
8313
+ readonly destructiveHint: "Creates a tag without deleting existing tags or flow associations.";
8314
+ readonly openWorldHint: "Adds private QA Wolf metadata without publishing to an external application.";
8315
+ readonly readOnlyHint: "Creates a workspace tag for grouping and selecting flows.";
8316
+ };
6927
8317
  readonly annotations: {
6928
8318
  readonly destructiveHint: false;
6929
8319
  readonly openWorldHint: false;
@@ -6943,6 +8333,11 @@ export declare const publicContractsV1: {
6943
8333
  }, z.core.$strip>;
6944
8334
  };
6945
8335
  list: {
8336
+ readonly annotationJustifications: {
8337
+ readonly destructiveHint: "Does not create, rename or remove tags.";
8338
+ readonly openWorldHint: "Reads private tag metadata without changing connected services.";
8339
+ readonly readOnlyHint: "Lists existing workspace tags by name.";
8340
+ };
6946
8341
  readonly annotations: {
6947
8342
  readonly destructiveHint: false;
6948
8343
  readonly openWorldHint: false;
@@ -6971,6 +8366,11 @@ export declare const publicContractsV1: {
6971
8366
  };
6972
8367
  trigger: {
6973
8368
  create: {
8369
+ readonly annotationJustifications: {
8370
+ readonly destructiveHint: "Enables automatic execution of test code that may overwrite or delete application data.";
8371
+ readonly openWorldHint: "Triggered runs can change the application under test and update connected integrations.";
8372
+ readonly readOnlyHint: "Creates an active schedule or deployment trigger that can start test runs.";
8373
+ };
6974
8374
  readonly annotations: {
6975
8375
  readonly destructiveHint: true;
6976
8376
  readonly openWorldHint: true;
@@ -7119,6 +8519,11 @@ export declare const publicContractsV1: {
7119
8519
  }, z.core.$strip>;
7120
8520
  };
7121
8521
  delete: {
8522
+ readonly annotationJustifications: {
8523
+ readonly destructiveHint: "Permanently deletes the selected trigger configuration.";
8524
+ readonly openWorldHint: "Removes private QA Wolf trigger configuration without starting external work.";
8525
+ readonly readOnlyHint: "Permanently removes a trigger while preserving runs it already created.";
8526
+ };
7122
8527
  readonly annotations: {
7123
8528
  readonly destructiveHint: true;
7124
8529
  readonly openWorldHint: false;
@@ -7135,6 +8540,11 @@ export declare const publicContractsV1: {
7135
8540
  }, z.core.$strip>;
7136
8541
  };
7137
8542
  find: {
8543
+ readonly annotationJustifications: {
8544
+ readonly destructiveHint: "Does not modify or delete triggers or their runs.";
8545
+ readonly openWorldHint: "Reads private QA Wolf trigger records without changing external systems.";
8546
+ readonly readOnlyHint: "Lists trigger configuration in the authorized workspace without changing it.";
8547
+ };
7138
8548
  readonly annotations: {
7139
8549
  readonly destructiveHint: false;
7140
8550
  readonly openWorldHint: false;
@@ -7224,6 +8634,11 @@ export declare const publicContractsV1: {
7224
8634
  }, z.core.$strip>;
7225
8635
  };
7226
8636
  get: {
8637
+ readonly annotationJustifications: {
8638
+ readonly destructiveHint: "Does not modify or delete the trigger or its runs.";
8639
+ readonly openWorldHint: "Reads a private QA Wolf trigger without changing external systems.";
8640
+ readonly readOnlyHint: "Retrieves one authorized trigger and its configuration without changing it.";
8641
+ };
7227
8642
  readonly annotations: {
7228
8643
  readonly destructiveHint: false;
7229
8644
  readonly openWorldHint: false;
@@ -7312,6 +8727,11 @@ export declare const publicContractsV1: {
7312
8727
  }, z.core.$strip>;
7313
8728
  };
7314
8729
  pause: {
8730
+ readonly annotationJustifications: {
8731
+ readonly destructiveHint: "Disables future automatic execution for the selected trigger until it is resumed.";
8732
+ readonly openWorldHint: "Changes private QA Wolf scheduling state without starting external work.";
8733
+ readonly readOnlyHint: "Pauses an existing trigger so it stops starting new work.";
8734
+ };
7315
8735
  readonly annotations: {
7316
8736
  readonly destructiveHint: true;
7317
8737
  readonly openWorldHint: false;
@@ -7400,6 +8820,11 @@ export declare const publicContractsV1: {
7400
8820
  }, z.core.$strip>;
7401
8821
  };
7402
8822
  resume: {
8823
+ readonly annotationJustifications: {
8824
+ readonly destructiveHint: "Enables automatic test execution that may overwrite or delete application data.";
8825
+ readonly openWorldHint: "Resumed execution can change the application under test and update connected integrations.";
8826
+ readonly readOnlyHint: "Reactivates a paused trigger so future matching schedules or deployments can start runs.";
8827
+ };
7403
8828
  readonly annotations: {
7404
8829
  readonly destructiveHint: true;
7405
8830
  readonly openWorldHint: true;
@@ -7488,6 +8913,11 @@ export declare const publicContractsV1: {
7488
8913
  }, z.core.$strip>;
7489
8914
  };
7490
8915
  update: {
8916
+ readonly annotationJustifications: {
8917
+ readonly destructiveHint: "Overwrites trigger configuration and can enable tests that change or delete application data.";
8918
+ readonly openWorldHint: "The updated trigger can execute tests against external applications and update connected integrations.";
8919
+ readonly readOnlyHint: "Replaces an existing trigger configuration and can change future automatic runs.";
8920
+ };
7491
8921
  readonly annotations: {
7492
8922
  readonly destructiveHint: true;
7493
8923
  readonly openWorldHint: true;