@qontinui/shared-types 0.2.4 → 0.3.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 (589) hide show
  1. package/README.md +128 -128
  2. package/dist/{Region.d-BbpFAWF4.d.cts → Region.d-DtT3UphX.d.cts} +81 -81
  3. package/dist/{Region.d-BbpFAWF4.d.ts → Region.d-DtT3UphX.d.ts} +81 -81
  4. package/dist/{TaskRunFindingActionType.d-B4VmmbB6.d.cts → TaskRunFindingActionType.d-CNIWogcU.d.cts} +53 -53
  5. package/dist/{TaskRunFindingActionType.d-B4VmmbB6.d.ts → TaskRunFindingActionType.d-CNIWogcU.d.ts} +53 -53
  6. package/dist/accessibility.cjs.map +1 -1
  7. package/dist/accessibility.d.cts +379 -379
  8. package/dist/accessibility.d.ts +379 -379
  9. package/dist/chat.cjs.map +1 -1
  10. package/dist/{chunk-ZK5MJEGT.js → chunk-CTBDIP7K.js} +1 -1
  11. package/dist/chunk-CTBDIP7K.js.map +1 -0
  12. package/dist/{chunk-YXD4WCYQ.js → chunk-ZUZ3OLOH.js} +1 -1
  13. package/dist/chunk-ZUZ3OLOH.js.map +1 -0
  14. package/dist/config.cjs.map +1 -1
  15. package/dist/config.d.cts +105 -105
  16. package/dist/config.d.ts +105 -105
  17. package/dist/constraints.cjs.map +1 -1
  18. package/dist/constraints.d.cts +372 -372
  19. package/dist/constraints.d.ts +372 -372
  20. package/dist/execution.cjs.map +1 -1
  21. package/dist/execution.d.cts +869 -869
  22. package/dist/execution.d.ts +869 -869
  23. package/dist/execution.js +1 -1
  24. package/dist/geometry.cjs.map +1 -1
  25. package/dist/geometry.d.cts +81 -81
  26. package/dist/geometry.d.ts +81 -81
  27. package/dist/index.cjs.map +1 -1
  28. package/dist/index.d.cts +632 -590
  29. package/dist/index.d.ts +632 -590
  30. package/dist/index.js +2 -2
  31. package/dist/index.js.map +1 -1
  32. package/dist/library.cjs.map +1 -1
  33. package/dist/rag.cjs.map +1 -1
  34. package/dist/rag.d.cts +579 -579
  35. package/dist/rag.d.ts +579 -579
  36. package/dist/runner.cjs.map +1 -1
  37. package/dist/runner.d.cts +147 -147
  38. package/dist/runner.d.ts +147 -147
  39. package/dist/scheduler.cjs.map +1 -1
  40. package/dist/scheduler.d.cts +692 -692
  41. package/dist/scheduler.d.ts +692 -692
  42. package/dist/state-machine.cjs.map +1 -1
  43. package/dist/state-machine.d.cts +1128 -1128
  44. package/dist/state-machine.d.ts +1128 -1128
  45. package/dist/targets.cjs.map +1 -1
  46. package/dist/targets.d.cts +270 -270
  47. package/dist/targets.d.ts +270 -270
  48. package/dist/task-run.cjs.map +1 -1
  49. package/dist/task-run.d.cts +1431 -1431
  50. package/dist/task-run.d.ts +1431 -1431
  51. package/dist/tauri-events.cjs.map +1 -1
  52. package/dist/tauri-events.d.cts +310 -310
  53. package/dist/tauri-events.d.ts +310 -310
  54. package/dist/tree-events.cjs.map +1 -1
  55. package/dist/tree-events.d.cts +483 -483
  56. package/dist/tree-events.d.ts +483 -483
  57. package/dist/ui-bridge-ir.cjs +30 -33
  58. package/dist/ui-bridge-ir.cjs.map +1 -1
  59. package/dist/ui-bridge-ir.d.cts +98 -84
  60. package/dist/ui-bridge-ir.d.ts +98 -84
  61. package/dist/ui-bridge-ir.js +30 -33
  62. package/dist/ui-bridge-ir.js.map +1 -1
  63. package/dist/workflow.cjs.map +1 -1
  64. package/dist/workflow.d.cts +1634 -1634
  65. package/dist/workflow.d.ts +1634 -1634
  66. package/dist/workflow.js +1 -1
  67. package/package.json +141 -141
  68. package/src/accessibility/_api.ts +17 -17
  69. package/src/accessibility/index.ts +1 -1
  70. package/src/canvas/index.ts +319 -319
  71. package/src/chat/_api.ts +23 -23
  72. package/src/chat/index.ts +1 -1
  73. package/src/config/_api.ts +13 -13
  74. package/src/config/index.ts +1 -1
  75. package/src/constraints/_api.ts +17 -17
  76. package/src/constraints/index.ts +1 -1
  77. package/src/discovery.ts +188 -188
  78. package/src/execution/_api.ts +483 -483
  79. package/src/execution/index.ts +1 -1
  80. package/src/generated/A11yAction.d.ts +11 -11
  81. package/src/generated/AccessibilityBackend.d.ts +12 -12
  82. package/src/generated/AccessibilityBounds.d.ts +17 -17
  83. package/src/generated/AccessibilityNode.d.ts +73 -73
  84. package/src/generated/AccessibilityRole.d.ts +93 -93
  85. package/src/generated/AccessibilityRoleCriterion.d.ts +13 -13
  86. package/src/generated/AccessibilitySelector.d.ts +76 -76
  87. package/src/generated/AccessibilitySnapshot.d.ts +43 -43
  88. package/src/generated/AccessibilityState.d.ts +67 -67
  89. package/src/generated/ActionExecutionBatch.d.ts +23 -23
  90. package/src/generated/ActionExecutionBatchResponse.d.ts +24 -24
  91. package/src/generated/ActionExecutionCreate.d.ts +124 -124
  92. package/src/generated/ActionExecutionListResponse.d.ts +20 -20
  93. package/src/generated/ActionExecutionResponse.d.ts +24 -24
  94. package/src/generated/ActionReliabilityStats.d.ts +54 -54
  95. package/src/generated/ActionResponse.d.ts +45 -45
  96. package/src/generated/ActionStatus.d.ts +11 -11
  97. package/src/generated/ActionType.d.ts +41 -41
  98. package/src/generated/ActiveStatesResult.d.ts +32 -32
  99. package/src/generated/AgenticPhaseOutput.d.ts +50 -50
  100. package/src/generated/AgenticStatus.d.ts +11 -11
  101. package/src/generated/AiWorkflow.d.ts +76 -76
  102. package/src/generated/ApiAssertion.d.ts +35 -35
  103. package/src/generated/ApiAssertionOperator.d.ts +11 -11
  104. package/src/generated/ApiAssertionType.d.ts +11 -11
  105. package/src/generated/ApiContentType.d.ts +11 -11
  106. package/src/generated/ApiVariableExtraction.d.ts +24 -24
  107. package/src/generated/AssertionMiss.d.ts +22 -0
  108. package/src/generated/AssertionOutcome.d.ts +30 -0
  109. package/src/generated/AssertionResult.d.ts +38 -0
  110. package/src/generated/AssertionScope.d.ts +37 -0
  111. package/src/generated/AssertionSeverityCounts.d.ts +28 -0
  112. package/src/generated/AvailableTransitionsResult.d.ts +34 -34
  113. package/src/generated/BaseStepFields.d.ts +72 -72
  114. package/src/generated/BatchComputeEmbeddingRequest.d.ts +27 -27
  115. package/src/generated/BatchComputeEmbeddingResponse.d.ts +23 -23
  116. package/src/generated/BatchEmbeddingResult.d.ts +23 -23
  117. package/src/generated/BetweenIterations.d.ts +35 -35
  118. package/src/generated/BoundingBox.d.ts +18 -18
  119. package/src/generated/BridgeFingerprint.d.ts +40 -0
  120. package/src/generated/BuildPhaseConfig.d.ts +24 -24
  121. package/src/generated/BuiltinOverrideProposal.d.ts +27 -27
  122. package/src/generated/CandidateMiss.d.ts +39 -0
  123. package/src/generated/CanonicalStep.d.ts +60 -60
  124. package/src/generated/CatchUpPolicy.d.ts +12 -12
  125. package/src/generated/Category.d.ts +24 -24
  126. package/src/generated/CheckIssueDetail.d.ts +40 -40
  127. package/src/generated/CheckType.d.ts +21 -21
  128. package/src/generated/CodeExecutionStep.d.ts +88 -88
  129. package/src/generated/CommandMode.d.ts +11 -11
  130. package/src/generated/CommandStep.d.ts +183 -183
  131. package/src/generated/CommandStepPhase.d.ts +11 -11
  132. package/src/generated/ComponentActionInfo.d.ts +24 -24
  133. package/src/generated/ComponentActionRequest.d.ts +22 -22
  134. package/src/generated/ComputeEmbeddingRequest.d.ts +24 -24
  135. package/src/generated/ComputeEmbeddingResponse.d.ts +38 -38
  136. package/src/generated/ComputeTextEmbeddingRequest.d.ts +20 -20
  137. package/src/generated/ComputeTextEmbeddingResponse.d.ts +32 -32
  138. package/src/generated/ConditionScheduleConfig.d.ts +17 -17
  139. package/src/generated/ConditionStatus.d.ts +29 -29
  140. package/src/generated/Confidence.d.ts +11 -11
  141. package/src/generated/ConfidenceLevel.d.ts +11 -11
  142. package/src/generated/ConjunctEvaluation.d.ts +24 -0
  143. package/src/generated/ConjunctRule.d.ts +55 -0
  144. package/src/generated/Constraint.d.ts +33 -33
  145. package/src/generated/ConstraintCheck.d.ts +64 -64
  146. package/src/generated/ConstraintProposal.d.ts +37 -37
  147. package/src/generated/ConstraintResult.d.ts +32 -32
  148. package/src/generated/ConstraintSeverity.d.ts +16 -16
  149. package/src/generated/ConstraintViolation.d.ts +24 -24
  150. package/src/generated/Context.d.ts +50 -50
  151. package/src/generated/ContextAutoInclude.d.ts +34 -34
  152. package/src/generated/CoordinateSystem.d.ts +12 -12
  153. package/src/generated/Coordinates.d.ts +33 -33
  154. package/src/generated/CostTrendDataPoint.d.ts +36 -36
  155. package/src/generated/CostTrendResponse.d.ts +41 -41
  156. package/src/generated/CoverageData.d.ts +52 -52
  157. package/src/generated/CreateMcpCallInput.d.ts +59 -59
  158. package/src/generated/CreateMcpServerInput.d.ts +48 -48
  159. package/src/generated/CreateOlConfigRequest.d.ts +27 -27
  160. package/src/generated/CreateScheduledTaskRequest.d.ts +63 -63
  161. package/src/generated/CreateTaskRunRequest.d.ts +51 -51
  162. package/src/generated/CriterionOverride.d.ts +39 -39
  163. package/src/generated/CriterionType.d.ts +11 -11
  164. package/src/generated/DagApprovalStep.d.ts +80 -80
  165. package/src/generated/DagCancelStep.d.ts +76 -76
  166. package/src/generated/DagLoopStep.d.ts +80 -80
  167. package/src/generated/DecomposerConfig.d.ts +31 -31
  168. package/src/generated/DiagnosePhaseConfig.d.ts +34 -34
  169. package/src/generated/DiagnosticResult.d.ts +40 -40
  170. package/src/generated/DiscoveredElement.d.ts +48 -48
  171. package/src/generated/DiscoveredState.d.ts +49 -49
  172. package/src/generated/DiscoveredStateImage.d.ts +56 -56
  173. package/src/generated/DiscoveredTransition.d.ts +44 -44
  174. package/src/generated/DiscoveryBoundingBox.d.ts +32 -32
  175. package/src/generated/DiscoveryRequest.d.ts +40 -40
  176. package/src/generated/DiscoveryResponse.d.ts +32 -32
  177. package/src/generated/DiscoverySourceType.d.ts +14 -14
  178. package/src/generated/DiscoveryStrategy.d.ts +13 -13
  179. package/src/generated/DiscoveryTransitionTrigger.d.ts +38 -38
  180. package/src/generated/DisplayNode.d.ts +45 -45
  181. package/src/generated/DomainAssignment.d.ts +50 -50
  182. package/src/generated/DomainKnowledge.d.ts +29 -29
  183. package/src/generated/DomainVerificationResult.d.ts +36 -36
  184. package/src/generated/ElementActionRequest.d.ts +28 -28
  185. package/src/generated/ElementBbox.d.ts +36 -36
  186. package/src/generated/ElementIdentifier.d.ts +40 -40
  187. package/src/generated/ElementRect.d.ts +48 -48
  188. package/src/generated/ElementState.d.ts +47 -47
  189. package/src/generated/ElementType.d.ts +45 -45
  190. package/src/generated/EmbeddedElement.d.ts +36 -36
  191. package/src/generated/EmbeddingItem.d.ts +49 -49
  192. package/src/generated/EmbeddingListResponse.d.ts +22 -22
  193. package/src/generated/EmbeddingResultItem.d.ts +29 -29
  194. package/src/generated/EmbeddingResultsRequest.d.ts +19 -19
  195. package/src/generated/EmbeddingResultsResponse.d.ts +17 -17
  196. package/src/generated/ErrorType.d.ts +18 -18
  197. package/src/generated/ExecutePlaybookStep.d.ts +84 -84
  198. package/src/generated/ExecutionActionType.d.ts +40 -40
  199. package/src/generated/ExecutionIssueBatch.d.ts +19 -19
  200. package/src/generated/ExecutionIssueBatchResponse.d.ts +24 -24
  201. package/src/generated/ExecutionIssueCreate.d.ts +57 -57
  202. package/src/generated/ExecutionIssueDetail.d.ts +89 -89
  203. package/src/generated/ExecutionIssueListResponse.d.ts +26 -26
  204. package/src/generated/ExecutionIssueResponse.d.ts +24 -24
  205. package/src/generated/ExecutionIssueUpdate.d.ts +31 -31
  206. package/src/generated/ExecutionMatchLocation.d.ts +31 -31
  207. package/src/generated/ExecutionRunComplete.d.ts +34 -34
  208. package/src/generated/ExecutionRunCompleteResponse.d.ts +38 -38
  209. package/src/generated/ExecutionRunCreate.d.ts +40 -40
  210. package/src/generated/ExecutionRunDetail.d.ts +76 -76
  211. package/src/generated/ExecutionRunListResponse.d.ts +22 -22
  212. package/src/generated/ExecutionRunResponse.d.ts +41 -41
  213. package/src/generated/ExecutionScreenshotCreate.d.ts +59 -59
  214. package/src/generated/ExecutionScreenshotResponse.d.ts +36 -36
  215. package/src/generated/ExecutionStats.d.ts +56 -56
  216. package/src/generated/ExecutionStep.d.ts +78 -78
  217. package/src/generated/ExecutionTreeResponse.d.ts +42 -42
  218. package/src/generated/ExecutionTrendDataPoint.d.ts +36 -36
  219. package/src/generated/ExecutionTrendResponse.d.ts +46 -46
  220. package/src/generated/ExitCheckResult.d.ts +20 -20
  221. package/src/generated/ExitStrategy.d.ts +27 -27
  222. package/src/generated/ExportResult.d.ts +30 -30
  223. package/src/generated/ExtendIterationsRequest.d.ts +20 -20
  224. package/src/generated/FieldDiff.d.ts +33 -0
  225. package/src/generated/FileChange.d.ts +20 -20
  226. package/src/generated/Finding.d.ts +40 -40
  227. package/src/generated/FindingActionType.d.ts +13 -13
  228. package/src/generated/FindingBatchCreate.d.ts +27 -27
  229. package/src/generated/FindingCategory.d.ts +25 -25
  230. package/src/generated/FindingCodeContext.d.ts +31 -31
  231. package/src/generated/FindingCreate.d.ts +52 -52
  232. package/src/generated/FindingDetail.d.ts +78 -78
  233. package/src/generated/FindingListResponse.d.ts +40 -40
  234. package/src/generated/FindingOutput.d.ts +36 -36
  235. package/src/generated/FindingSeverity.d.ts +14 -14
  236. package/src/generated/FindingStatus.d.ts +15 -15
  237. package/src/generated/FindingSummary.d.ts +53 -53
  238. package/src/generated/FindingUpdate.d.ts +33 -33
  239. package/src/generated/FindingUserInput.d.ts +27 -27
  240. package/src/generated/FindingsSummary.d.ts +47 -47
  241. package/src/generated/FullRunnerStep.d.ts +144 -144
  242. package/src/generated/GUIElementChunk.d.ts +151 -151
  243. package/src/generated/GateEvaluationResult.d.ts +36 -36
  244. package/src/generated/HealthCheckUrl.d.ts +35 -35
  245. package/src/generated/HistoricalActionQuery.d.ts +42 -42
  246. package/src/generated/HistoricalActionResult.d.ts +57 -57
  247. package/src/generated/HttpConfig.d.ts +27 -27
  248. package/src/generated/HttpMethod.d.ts +13 -13
  249. package/src/generated/IdleCondition.d.ts +17 -17
  250. package/src/generated/ImplementFixesConfig.d.ts +25 -25
  251. package/src/generated/IndividualCheckResult.d.ts +50 -50
  252. package/src/generated/InitialStateRef.d.ts +23 -23
  253. package/src/generated/InitialStatesSource.d.ts +18 -18
  254. package/src/generated/IrAssertion.d.ts +26 -0
  255. package/src/generated/IrAssertionTarget.d.ts +28 -0
  256. package/src/generated/IrCrossRef.d.ts +16 -0
  257. package/src/generated/IrElementCriteria.d.ts +29 -0
  258. package/src/generated/IrGroup.d.ts +33 -0
  259. package/src/generated/IrMetadata.d.ts +15 -0
  260. package/src/generated/IrPageSpec.d.ts +51 -0
  261. package/src/generated/IrProvenance.d.ts +28 -0
  262. package/src/generated/IrState.d.ts +36 -0
  263. package/src/generated/IrStateCondition.d.ts +19 -0
  264. package/src/generated/IrTransition.d.ts +34 -0
  265. package/src/generated/IrTransitionAction.d.ts +17 -0
  266. package/src/generated/IrWaitSpec.d.ts +22 -0
  267. package/src/generated/IssueSeverity.d.ts +11 -11
  268. package/src/generated/IssueSource.d.ts +11 -11
  269. package/src/generated/IssueStatus.d.ts +11 -11
  270. package/src/generated/IssueType.d.ts +21 -21
  271. package/src/generated/IterationResult.d.ts +65 -65
  272. package/src/generated/IterationVerificationResults.d.ts +53 -53
  273. package/src/generated/JobItem.d.ts +31 -31
  274. package/src/generated/JobListResponse.d.ts +20 -20
  275. package/src/generated/JobStatus.d.ts +11 -11
  276. package/src/generated/JobSummary.d.ts +30 -30
  277. package/src/generated/LLMCostSummary.d.ts +38 -38
  278. package/src/generated/LLMMetrics.d.ts +42 -42
  279. package/src/generated/LegacyAssertion.d.ts +22 -0
  280. package/src/generated/LegacyAssertionTarget.d.ts +23 -0
  281. package/src/generated/LegacyGroup.d.ts +19 -0
  282. package/src/generated/LegacyProcessStep.d.ts +16 -0
  283. package/src/generated/LegacySpec.d.ts +30 -0
  284. package/src/generated/LegacyStateMachine.d.ts +17 -0
  285. package/src/generated/LegacyStateMachineState.d.ts +21 -0
  286. package/src/generated/LegacyTransition.d.ts +20 -0
  287. package/src/generated/LogSourceSelection.d.ts +25 -25
  288. package/src/generated/LoopInstanceStatus.d.ts +28 -28
  289. package/src/generated/LoopPhase.d.ts +26 -26
  290. package/src/generated/MatchAdjustment.d.ts +23 -23
  291. package/src/generated/MatchLocation.d.ts +22 -22
  292. package/src/generated/MatchMethod.d.ts +11 -11
  293. package/src/generated/MatchOutcome.d.ts +11 -0
  294. package/src/generated/MatchedElement.d.ts +28 -0
  295. package/src/generated/McpCallRecord.d.ts +35 -35
  296. package/src/generated/McpCallsResult.d.ts +44 -44
  297. package/src/generated/McpConnectionRef.d.ts +25 -25
  298. package/src/generated/McpServerConfig.d.ts +77 -77
  299. package/src/generated/McpServerStatus.d.ts +42 -42
  300. package/src/generated/McpToolCallResult.d.ts +38 -38
  301. package/src/generated/McpToolInfo.d.ts +23 -23
  302. package/src/generated/McpToolInputSchema.d.ts +34 -34
  303. package/src/generated/McpTransport.d.ts +15 -15
  304. package/src/generated/MissReason.d.ts +20 -0
  305. package/src/generated/ModelCostBreakdown.d.ts +36 -36
  306. package/src/generated/ModelOverrideConfig.d.ts +47 -47
  307. package/src/generated/Monitor.d.ts +48 -48
  308. package/src/generated/MonitorPosition.d.ts +13 -13
  309. package/src/generated/MouseButton.d.ts +13 -13
  310. package/src/generated/MultiLoopConfig.d.ts +32 -32
  311. package/src/generated/MultiLoopEntry.d.ts +32 -32
  312. package/src/generated/MultiLoopStatus.d.ts +37 -37
  313. package/src/generated/NativeAccessibilityStep.d.ts +121 -121
  314. package/src/generated/NavigationResult.d.ts +40 -40
  315. package/src/generated/NewConstraintProposal.d.ts +20 -20
  316. package/src/generated/NextTaskInfo.d.ts +24 -24
  317. package/src/generated/NodeMetadata.d.ts +47 -47
  318. package/src/generated/NodeStatus.d.ts +11 -11
  319. package/src/generated/NodeType.d.ts +11 -11
  320. package/src/generated/OcrEngine.d.ts +11 -11
  321. package/src/generated/OlConfig.d.ts +48 -48
  322. package/src/generated/OrchestrationLoopConfig.d.ts +87 -87
  323. package/src/generated/OrchestrationLoopStatus.d.ts +59 -59
  324. package/src/generated/Outcome.d.ts +15 -15
  325. package/src/generated/OutputLine.d.ts +23 -23
  326. package/src/generated/OutputStream.d.ts +11 -11
  327. package/src/generated/OverrideCollection.d.ts +18 -18
  328. package/src/generated/Pagination.d.ts +28 -28
  329. package/src/generated/ParserType.d.ts +17 -17
  330. package/src/generated/PathElement.d.ts +17 -17
  331. package/src/generated/PathfindingRequest.d.ts +24 -24
  332. package/src/generated/PathfindingResult.d.ts +30 -30
  333. package/src/generated/PathfindingStep.d.ts +36 -36
  334. package/src/generated/PatternOptions.d.ts +32 -32
  335. package/src/generated/PipelineConfig.d.ts +31 -31
  336. package/src/generated/PlaybackFrameRequest.d.ts +21 -21
  337. package/src/generated/PlaywrightExecutionMode.d.ts +11 -11
  338. package/src/generated/Point.d.ts +20 -20
  339. package/src/generated/PolicyConjunct.d.ts +22 -0
  340. package/src/generated/PolicyEvaluation.d.ts +22 -0
  341. package/src/generated/PolicyStatus.d.ts +11 -0
  342. package/src/generated/PollingConfig.d.ts +14 -14
  343. package/src/generated/ProcessConfig.d.ts +96 -96
  344. package/src/generated/ProcessState.d.ts +15 -15
  345. package/src/generated/ProcessStatus.d.ts +41 -41
  346. package/src/generated/PromptStep.d.ts +92 -92
  347. package/src/generated/PromptStepPhase.d.ts +13 -13
  348. package/src/generated/ProposalStatus.d.ts +13 -0
  349. package/src/generated/RAGDashboardStats.d.ts +26 -26
  350. package/src/generated/RagCompletionEvent.d.ts +25 -25
  351. package/src/generated/RagProcessingStatus.d.ts +11 -11
  352. package/src/generated/RagProgressEvent.d.ts +27 -27
  353. package/src/generated/ReadConfigResponse.d.ts +20 -20
  354. package/src/generated/RecommendedState.d.ts +23 -0
  355. package/src/generated/ReflectionFixOutput.d.ts +20 -20
  356. package/src/generated/Region.d.ts +39 -39
  357. package/src/generated/RepositoryInactiveCondition.d.ts +24 -24
  358. package/src/generated/RepositoryWatch.d.ts +20 -20
  359. package/src/generated/ResolvedInitialStates.d.ts +29 -29
  360. package/src/generated/ResolvedInitialStatesResult.d.ts +40 -40
  361. package/src/generated/ResourceLimits.d.ts +33 -33
  362. package/src/generated/RestartProcessStep.d.ts +88 -88
  363. package/src/generated/RetryPolicy.d.ts +24 -24
  364. package/src/generated/RetrySpec.d.ts +24 -24
  365. package/src/generated/RoleCriterion.d.ts +14 -14
  366. package/src/generated/RootCauseCategory.d.ts +18 -18
  367. package/src/generated/RoutingRule.d.ts +38 -38
  368. package/src/generated/RunPromptRequest.d.ts +56 -56
  369. package/src/generated/RunPromptResponse.d.ts +50 -50
  370. package/src/generated/RunPromptResponseData.d.ts +20 -20
  371. package/src/generated/RunStatus.d.ts +11 -11
  372. package/src/generated/RunType.d.ts +11 -11
  373. package/src/generated/Runner.d.ts +81 -81
  374. package/src/generated/RunnerCrash.d.ts +32 -32
  375. package/src/generated/RunnerFinding.d.ts +48 -48
  376. package/src/generated/RunnerFindingCodeContext.d.ts +20 -20
  377. package/src/generated/RunnerFindingUserInput.d.ts +19 -19
  378. package/src/generated/RunnerMetadata.d.ts +42 -42
  379. package/src/generated/RunnerStatus.d.ts +12 -12
  380. package/src/generated/RunnerUiError.d.ts +28 -28
  381. package/src/generated/RuntimeData.d.ts +40 -40
  382. package/src/generated/SaveWorkflowArtifactStep.d.ts +80 -80
  383. package/src/generated/ScheduleConditions.d.ts +29 -29
  384. package/src/generated/ScheduleExpression.d.ts +39 -39
  385. package/src/generated/ScheduledTask.d.ts +104 -104
  386. package/src/generated/ScheduledTaskStatus.d.ts +19 -19
  387. package/src/generated/ScheduledTaskType.d.ts +126 -126
  388. package/src/generated/SchedulerSettings.d.ts +28 -28
  389. package/src/generated/SchedulerStatus.d.ts +31 -31
  390. package/src/generated/ScreenshotAnnotation.d.ts +39 -39
  391. package/src/generated/ScreenshotAnnotationShape.d.ts +11 -11
  392. package/src/generated/ScreenshotType.d.ts +11 -11
  393. package/src/generated/ScrollDirection.d.ts +13 -13
  394. package/src/generated/SearchOptions.d.ts +33 -33
  395. package/src/generated/SearchResultItem.d.ts +19 -19
  396. package/src/generated/SearchStrategy.d.ts +14 -14
  397. package/src/generated/SemanticSearchRequest.d.ts +26 -26
  398. package/src/generated/SemanticSearchResponse.d.ts +21 -21
  399. package/src/generated/SpecCheckConfidence.d.ts +15 -0
  400. package/src/generated/SpecCheckPolicy.d.ts +23 -0
  401. package/src/generated/SpecCheckResult.d.ts +66 -0
  402. package/src/generated/SpecCheckStepConfig.d.ts +38 -0
  403. package/src/generated/SpecCheckSummary.d.ts +28 -0
  404. package/src/generated/SpecValidation.d.ts +27 -0
  405. package/src/generated/StageCondition.d.ts +37 -37
  406. package/src/generated/StageInput.d.ts +27 -27
  407. package/src/generated/StageOutput.d.ts +20 -20
  408. package/src/generated/StageTransition.d.ts +30 -30
  409. package/src/generated/StallDetectorConfig.d.ts +31 -31
  410. package/src/generated/StandardActionType.d.ts +40 -40
  411. package/src/generated/StateContext.d.ts +17 -17
  412. package/src/generated/StateDiscoveryResult.d.ts +104 -104
  413. package/src/generated/StateDiscoveryResultCreate.d.ts +65 -65
  414. package/src/generated/StateDiscoveryResultListResponse.d.ts +23 -23
  415. package/src/generated/StateDiscoveryResultSummary.d.ts +57 -57
  416. package/src/generated/StateDiscoveryResultUpdate.d.ts +47 -47
  417. package/src/generated/StateFilterItem.d.ts +18 -18
  418. package/src/generated/StateMachineConfig.d.ts +45 -45
  419. package/src/generated/StateMachineConfigCreate.d.ts +20 -20
  420. package/src/generated/StateMachineConfigFull.d.ts +67 -67
  421. package/src/generated/StateMachineConfigUpdate.d.ts +20 -20
  422. package/src/generated/StateMachineExport.d.ts +64 -64
  423. package/src/generated/StateMachineExportFormat.d.ts +39 -39
  424. package/src/generated/StateMachineImport.d.ts +25 -25
  425. package/src/generated/StateMachineState.d.ts +71 -71
  426. package/src/generated/StateMachineStateCreate.d.ts +52 -52
  427. package/src/generated/StateMachineStateUpdate.d.ts +48 -48
  428. package/src/generated/StateMachineTransition.d.ts +75 -75
  429. package/src/generated/StateMachineTransitionCreate.d.ts +53 -53
  430. package/src/generated/StateMachineTransitionUpdate.d.ts +53 -53
  431. package/src/generated/StateMatchResult.d.ts +36 -0
  432. package/src/generated/StateNodeData.d.ts +71 -71
  433. package/src/generated/StatesResponse.d.ts +19 -19
  434. package/src/generated/StdioConfig.d.ts +34 -34
  435. package/src/generated/StepExecutionConfig.d.ts +37 -37
  436. package/src/generated/StructuredFinding.d.ts +32 -32
  437. package/src/generated/StructuredOverride.d.ts +24 -24
  438. package/src/generated/StructuredSignal.d.ts +20 -20
  439. package/src/generated/SuccessCriterion.d.ts +57 -57
  440. package/src/generated/SummarizationConfig.d.ts +35 -35
  441. package/src/generated/TargetConfig.d.ts +108 -108
  442. package/src/generated/TaskCompletionResult.d.ts +90 -90
  443. package/src/generated/TaskExecutionRecord.d.ts +61 -61
  444. package/src/generated/TaskRun.d.ts +88 -88
  445. package/src/generated/TaskRunBackend.d.ts +86 -86
  446. package/src/generated/TaskRunBackendDetail.d.ts +99 -99
  447. package/src/generated/TaskRunCreate.d.ts +62 -62
  448. package/src/generated/TaskRunFilters.d.ts +38 -38
  449. package/src/generated/TaskRunFinding.d.ts +100 -100
  450. package/src/generated/TaskRunFindingActionType.d.ts +11 -11
  451. package/src/generated/TaskRunFindingCategory.d.ts +24 -24
  452. package/src/generated/TaskRunFindingCreate.d.ts +79 -79
  453. package/src/generated/TaskRunFindingFilters.d.ts +28 -28
  454. package/src/generated/TaskRunFindingSeverity.d.ts +11 -11
  455. package/src/generated/TaskRunFindingStatus.d.ts +11 -11
  456. package/src/generated/TaskRunFindingSummary.d.ts +34 -34
  457. package/src/generated/TaskRunFindingUpdate.d.ts +34 -34
  458. package/src/generated/TaskRunFindingsListResponse.d.ts +24 -24
  459. package/src/generated/TaskRunListResponse.d.ts +21 -21
  460. package/src/generated/TaskRunSession.d.ts +40 -40
  461. package/src/generated/TaskRunStatus.d.ts +11 -11
  462. package/src/generated/TaskRunUpdate.d.ts +47 -47
  463. package/src/generated/TaskType.d.ts +11 -11
  464. package/src/generated/TerminalExitEvent.d.ts +26 -26
  465. package/src/generated/TerminalInfo.d.ts +69 -69
  466. package/src/generated/TerminalOutputEvent.d.ts +29 -29
  467. package/src/generated/TestType.d.ts +11 -11
  468. package/src/generated/TextMatchType.d.ts +11 -11
  469. package/src/generated/TextSearchOptions.d.ts +30 -30
  470. package/src/generated/Ticket.d.ts +53 -53
  471. package/src/generated/TicketComment.d.ts +28 -28
  472. package/src/generated/TicketProviderConfig.d.ts +55 -55
  473. package/src/generated/TicketSource.d.ts +17 -17
  474. package/src/generated/TicketState.d.ts +15 -15
  475. package/src/generated/TimingInfo.d.ts +23 -23
  476. package/src/generated/TopMatch.d.ts +17 -17
  477. package/src/generated/TransitionAction.d.ts +93 -93
  478. package/src/generated/TransitionActionValue.d.ts +14 -14
  479. package/src/generated/TransitionEdgeData.d.ts +46 -46
  480. package/src/generated/TransitionExecutionResult.d.ts +30 -30
  481. package/src/generated/TransitionInfo.d.ts +29 -29
  482. package/src/generated/TransitionTriggerType.d.ts +13 -13
  483. package/src/generated/TreeEvent.d.ts +47 -47
  484. package/src/generated/TreeEventCreate.d.ts +30 -30
  485. package/src/generated/TreeEventListResponse.d.ts +30 -30
  486. package/src/generated/TreeEventResponse.d.ts +47 -47
  487. package/src/generated/TreeEventType.d.ts +20 -20
  488. package/src/generated/TreeNode.d.ts +54 -54
  489. package/src/generated/UIBridgeCapturedToast.d.ts +22 -22
  490. package/src/generated/UIBridgeComponent.d.ts +45 -45
  491. package/src/generated/UIBridgeElement.d.ts +90 -62
  492. package/src/generated/UIBridgeModalInfo.d.ts +40 -40
  493. package/src/generated/UIBridgeModalStack.d.ts +19 -19
  494. package/src/generated/UIBridgeSnapshot.d.ts +67 -67
  495. package/src/generated/UIBridgeToastContext.d.ts +17 -17
  496. package/src/generated/UIBridgeUndoContext.d.ts +19 -19
  497. package/src/generated/UiBridgeAction.d.ts +18 -18
  498. package/src/generated/UiBridgeAssertType.d.ts +11 -11
  499. package/src/generated/UiBridgeComparisonMode.d.ts +11 -11
  500. package/src/generated/UiBridgeDesignAuditStep.d.ts +76 -76
  501. package/src/generated/UiBridgeRequestEnvelope.d.ts +45 -45
  502. package/src/generated/UiBridgeResponseEnvelope.d.ts +66 -66
  503. package/src/generated/UiBridgeSeverity.d.ts +11 -11
  504. package/src/generated/UiBridgeStep.d.ts +127 -127
  505. package/src/generated/UiBridgeStepPhase.d.ts +14 -14
  506. package/src/generated/UiBridgeVisualAssertionStep.d.ts +97 -97
  507. package/src/generated/UnifiedStep.d.ts +57 -57
  508. package/src/generated/UnifiedWorkflow.d.ts +411 -411
  509. package/src/generated/UpdateMcpServerInput.d.ts +28 -28
  510. package/src/generated/UpdateOlConfigRequest.d.ts +32 -32
  511. package/src/generated/UpdateScheduledTaskRequest.d.ts +71 -71
  512. package/src/generated/ValidateConfigRequest.d.ts +16 -16
  513. package/src/generated/ValidateConfigResponse.d.ts +28 -28
  514. package/src/generated/VectorSearchResult.d.ts +48 -48
  515. package/src/generated/VerificationAgentContext.d.ts +25 -25
  516. package/src/generated/VerificationCategoryKind.d.ts +19 -19
  517. package/src/generated/VerificationMethod.d.ts +20 -20
  518. package/src/generated/VerificationPhaseResult.d.ts +63 -63
  519. package/src/generated/VerificationPlan.d.ts +43 -43
  520. package/src/generated/VerificationResult.d.ts +44 -44
  521. package/src/generated/VerificationResultResponse.d.ts +65 -65
  522. package/src/generated/VerificationResultsListResponse.d.ts +41 -41
  523. package/src/generated/VerificationStepDetails.d.ts +55 -55
  524. package/src/generated/VerificationStepResult.d.ts +68 -68
  525. package/src/generated/VgaAction.d.ts +61 -61
  526. package/src/generated/VgaActionKind.d.ts +14 -14
  527. package/src/generated/VgaAutomateStep.d.ts +110 -110
  528. package/src/generated/VirtualDesktop.d.ts +23 -23
  529. package/src/generated/VisualAssertionType.d.ts +11 -11
  530. package/src/generated/VisualComparisonResult.d.ts +40 -40
  531. package/src/generated/WaitOptions.d.ts +35 -35
  532. package/src/generated/WorkerCoordinationMessage.d.ts +93 -93
  533. package/src/generated/WorkerDomain.d.ts +29 -29
  534. package/src/generated/WorkerInstance.d.ts +62 -62
  535. package/src/generated/WorkerOutput.d.ts +53 -53
  536. package/src/generated/WorkerSignal.d.ts +48 -48
  537. package/src/generated/WorkerStatus.d.ts +11 -11
  538. package/src/generated/WorkflowArchitecture.d.ts +16 -16
  539. package/src/generated/WorkflowFixupMode.d.ts +11 -11
  540. package/src/generated/WorkflowFixupStep.d.ts +85 -85
  541. package/src/generated/WorkflowInfo.d.ts +28 -28
  542. package/src/generated/WorkflowMetadata.d.ts +44 -44
  543. package/src/generated/WorkflowRefStep.d.ts +94 -94
  544. package/src/generated/WorkflowStage.d.ts +126 -126
  545. package/src/generated/WorkflowStep.d.ts +80 -80
  546. package/src/generated/WorkflowStepPhase.d.ts +11 -11
  547. package/src/generated/WriteConfigRequest.d.ts +20 -20
  548. package/src/generated/WriteConfigResponse.d.ts +24 -24
  549. package/src/generated/index.ts +478 -432
  550. package/src/geometry/_api.ts +16 -16
  551. package/src/geometry/index.ts +1 -1
  552. package/src/index.ts +78 -73
  553. package/src/known-issues/index.ts +179 -179
  554. package/src/library/_api.ts +326 -326
  555. package/src/library/index.ts +1 -1
  556. package/src/rag/_api.ts +47 -47
  557. package/src/rag/index.ts +1 -1
  558. package/src/render-log.ts +371 -371
  559. package/src/runner/_api.ts +14 -14
  560. package/src/runner/index.ts +1 -1
  561. package/src/scheduler/_api.ts +21 -21
  562. package/src/scheduler/index.ts +1 -1
  563. package/src/state-machine/_api.ts +145 -145
  564. package/src/state-machine/index.ts +1 -1
  565. package/src/targets/_api.ts +47 -47
  566. package/src/targets/index.ts +1 -1
  567. package/src/task-run/_api.ts +108 -108
  568. package/src/task-run/index.ts +1 -1
  569. package/src/tauri-events/_api.ts +90 -90
  570. package/src/tauri-events/index.ts +1 -1
  571. package/src/tree-events/_api.ts +42 -42
  572. package/src/tree-events/index.ts +1 -1
  573. package/src/ui-bridge-ir/__tests__/projection.test.ts +1121 -1029
  574. package/src/ui-bridge-ir/adapter.ts +226 -220
  575. package/src/ui-bridge-ir/document.ts +114 -114
  576. package/src/ui-bridge-ir/element-criteria.ts +48 -48
  577. package/src/ui-bridge-ir/group.ts +84 -84
  578. package/src/ui-bridge-ir/index.ts +24 -24
  579. package/src/ui-bridge-ir/ir.schema.json +297 -293
  580. package/src/ui-bridge-ir/primitives.ts +110 -102
  581. package/src/ui-bridge-ir/projection.ts +898 -921
  582. package/src/ui-bridge-ir/state.ts +97 -90
  583. package/src/ui-bridge-ir/transition.ts +92 -92
  584. package/src/workflow/_api.ts +474 -474
  585. package/src/workflow/action-plan.ts +208 -208
  586. package/src/workflow/index.ts +1 -1
  587. package/src/workflow/skill.ts +152 -152
  588. package/dist/chunk-YXD4WCYQ.js.map +0 -1
  589. package/dist/chunk-ZK5MJEGT.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/workflow/index.ts","../src/workflow/_api.ts"],"sourcesContent":["export * from \"./_api\";\r\n","/**\r\n * Workflow Types\r\n *\r\n * Canonical type definitions for the unified Workflow Builder system.\r\n * Shared across qontinui-runner and qontinui-web.\r\n *\r\n * All automation is organized into four phases: Setup, Verification, Agentic, Completion.\r\n *\r\n * Execution Order:\r\n * Setup (once) -> [Verification <-> Agentic]* -> Completion (once)\r\n *\r\n * Step Types (4 core types):\r\n * command - Shell commands, checks, check groups, tests\r\n * ui_bridge - UI Bridge SDK interactions (navigate, execute, assert, snapshot)\r\n * prompt - AI task instructions\r\n * workflow - Run a saved workflow inline (composition)\r\n */\r\n\r\n// =============================================================================\r\n// Generated frame types — source of truth is qontinui-schemas/rust/src/workflow.rs\r\n// These are produced by the schemars -> JSON Schema -> json-schema-to-typescript\r\n// pipeline. Do NOT redeclare them here; re-export from ../generated/*.\r\n//\r\n// Step arrays on UnifiedWorkflow / WorkflowStage are typed as `unknown[]` by\r\n// the generator. Typed step arrays are part of the Wave 4 step migration and\r\n// remain hand-authored below (BaseStep, CommandStep, PromptStep, UiBridgeStep,\r\n// WorkflowStep, and the per-phase aliases).\r\n// =============================================================================\r\n\r\nexport type { LogSourceSelection } from \"../generated/LogSourceSelection\";\r\nexport type { HealthCheckUrl } from \"../generated/HealthCheckUrl\";\r\nexport type { RoutingRule } from \"../generated/RoutingRule\";\r\nexport type { ModelOverrideConfig } from \"../generated/ModelOverrideConfig\";\r\nexport type { StageCondition } from \"../generated/StageCondition\";\r\nexport type { RetryPolicy } from \"../generated/RetryPolicy\";\r\nexport type { StageOutput } from \"../generated/StageOutput\";\r\nexport type { StageInput } from \"../generated/StageInput\";\r\nexport type { WorkflowStage } from \"../generated/WorkflowStage\";\r\nexport type { UnifiedWorkflow } from \"../generated/UnifiedWorkflow\";\r\nexport type { WorkflowArchitecture } from \"../generated/WorkflowArchitecture\";\r\n\r\nexport type { BaseStepFields } from \"../generated/BaseStepFields\";\r\nexport type { RetrySpec } from \"../generated/RetrySpec\";\r\n\r\n// Step DTOs (generated from qontinui-types::workflow_step)\r\nexport type { CommandStep } from \"../generated/CommandStep\";\r\nexport type { PromptStep } from \"../generated/PromptStep\";\r\nexport type { UiBridgeStep } from \"../generated/UiBridgeStep\";\r\nexport type { WorkflowStep } from \"../generated/WorkflowStep\";\r\nexport type { UnifiedStep } from \"../generated/UnifiedStep\";\r\nexport type { CanonicalStep } from \"../generated/CanonicalStep\";\r\nexport type { HttpMethod } from \"../generated/HttpMethod\";\r\nexport type { ApiContentType } from \"../generated/ApiContentType\";\r\nexport type { ApiAssertion } from \"../generated/ApiAssertion\";\r\nexport type { ApiVariableExtraction } from \"../generated/ApiVariableExtraction\";\r\nexport type { TestType } from \"../generated/TestType\";\r\nexport type { PlaywrightExecutionMode } from \"../generated/PlaywrightExecutionMode\";\r\nexport type { CheckType } from \"../generated/CheckType\";\r\nexport type { CommandMode } from \"../generated/CommandMode\";\r\nexport type { UiBridgeAction } from \"../generated/UiBridgeAction\";\r\nexport type { VerificationCategoryKind } from \"../generated/VerificationCategoryKind\";\r\n\r\n// ModelOverrides is a hand-authored convenience alias: the generated\r\n// UnifiedWorkflow / WorkflowStage type `model_overrides` as an open\r\n// `{ [k: string]: ModelOverrideConfig }`, but downstream code prefers a\r\n// named type with known phase keys. Keep as a local alias over the generated\r\n// per-phase config.\r\nimport type { ModelOverrideConfig as _ModelOverrideConfig } from \"../generated/ModelOverrideConfig\";\r\n\r\nexport type ModelOverrides = {\r\n setup?: _ModelOverrideConfig;\r\n agentic?: _ModelOverrideConfig;\r\n completion?: _ModelOverrideConfig;\r\n verification?: _ModelOverrideConfig;\r\n investigation?: _ModelOverrideConfig;\r\n summary?: _ModelOverrideConfig;\r\n generation?: _ModelOverrideConfig;\r\n};\r\n\r\n// =============================================================================\r\n// Phases\r\n// =============================================================================\r\n\r\nexport type WorkflowPhase = \"setup\" | \"verification\" | \"agentic\" | \"completion\";\r\n\r\n// =============================================================================\r\n// Skill Types (re-exported from ./skill)\r\n// =============================================================================\r\n\r\nexport type {\r\n SkillCategory,\r\n SkillAuthor,\r\n SkillParameterOption,\r\n SkillParameter,\r\n SingleStepTemplate,\r\n MultiStepTemplate,\r\n CompositionTemplate,\r\n SkillRef,\r\n SkillTemplate,\r\n SkillDefinition,\r\n SkillOrigin,\r\n SkillExportManifest,\r\n SkillExport,\r\n SkillImportResult,\r\n} from \"./skill\";\r\n\r\nexport type {\r\n PlannedActionType,\r\n ElementTarget,\r\n PlannedAction,\r\n ActionPlan,\r\n PlannedActionResult,\r\n ActionPlanResult,\r\n ActionPlanExecuteRequest,\r\n} from \"./action-plan\";\r\n\r\n// =============================================================================\r\n// Step Types — generated from qontinui-types::workflow_step\r\n//\r\n// The four canonical step variants (CommandStep, PromptStep, UiBridgeStep,\r\n// WorkflowStep) and their helper unions (HttpMethod, ApiContentType, …) are\r\n// re-exported at the top of this file from ../generated/*. The remaining\r\n// hand-authored types in this section are TS-only sugar: a `BaseStep` alias\r\n// for consumers that still want a name for the shared-fields subset, a\r\n// `StepTypeName` literal that includes non-canonical runner-side variants\r\n// (e.g. native_accessibility) for UI listings, and the phase-alias types.\r\n//\r\n// Phase narrowing is TS-only sugar — not a wire concern. The generator emits\r\n// a narrow `phase` field on each variant; these aliases just group the four\r\n// variants by the phase that can carry them.\r\n// =============================================================================\r\n\r\nimport type { CommandStep as _CommandStep } from \"../generated/CommandStep\";\r\nimport type { PromptStep as _PromptStep } from \"../generated/PromptStep\";\r\nimport type { UiBridgeStep as _UiBridgeStep } from \"../generated/UiBridgeStep\";\r\nimport type { WorkflowStep as _WorkflowStep } from \"../generated/WorkflowStep\";\r\n\r\n/**\r\n * Shared-fields subset carried by every canonical step variant.\r\n *\r\n * Alias for the generated `BaseStepFields` so downstream code can still\r\n * reference `BaseStep` by name. Source of truth:\r\n * `qontinui-types::workflow_step::BaseStepFields`.\r\n */\r\nimport type { BaseStepFields as _BaseStepFields } from \"../generated/BaseStepFields\";\r\nexport type BaseStep = _BaseStepFields;\r\n\r\n// =============================================================================\r\n// Step Type Names\r\n// =============================================================================\r\n\r\n// Includes runner-side non-canonical variants (e.g. `native_accessibility`)\r\n// that appear in the UI listing but are not part of the `UnifiedStep` DTO.\r\nexport type StepTypeName = \"command\" | \"ui_bridge\" | \"prompt\" | \"workflow\" | \"native_accessibility\";\r\n\r\n// =============================================================================\r\n// Phase-alias types (TS-only sugar over the generated UnifiedStep)\r\n// =============================================================================\r\n\r\nexport type SetupStep = _CommandStep | _PromptStep | _UiBridgeStep | _WorkflowStep;\r\nexport type VerificationStep = _CommandStep | _PromptStep | _UiBridgeStep | _WorkflowStep;\r\nexport type AgenticStep = _PromptStep;\r\nexport type CompletionStep = _CommandStep | _PromptStep | _UiBridgeStep | _WorkflowStep;\r\n\r\n// =============================================================================\r\n// Verification Categories\r\n// =============================================================================\r\n\r\n// Alias for the generated `VerificationCategoryKind` union. Source of truth:\r\n// `qontinui-types::workflow_step::VerificationCategoryKind`. `VerificationCategoryKind`\r\n// itself is re-exported earlier in this file.\r\nimport type { VerificationCategoryKind as _VerificationCategoryKind } from \"../generated/VerificationCategoryKind\";\r\nexport type VerificationCategory = _VerificationCategoryKind;\r\n\r\n// =============================================================================\r\n// Dependency Graph\r\n// =============================================================================\r\n\r\nexport interface DependencyNode {\r\n id: string;\r\n label: string;\r\n type: string;\r\n phase: WorkflowPhase;\r\n is_referenced: boolean;\r\n cost_category?: string;\r\n}\r\n\r\nexport interface DependencyEdge {\r\n source: string;\r\n target: string;\r\n label?: string;\r\n edge_type: \"explicit_depends_on\" | \"implicit_reference\" | \"setup_provides\";\r\n}\r\n\r\nexport interface DependencyGraph {\r\n nodes: DependencyNode[];\r\n edges: DependencyEdge[];\r\n}\r\n\r\n// =============================================================================\r\n// Cost Annotations\r\n// =============================================================================\r\n\r\nexport type CostCategory =\r\n | \"network\"\r\n | \"ai_call\"\r\n | \"setup\"\r\n | \"ui_interaction\";\r\n\r\nexport interface StepCost {\r\n step_id: string;\r\n name: string;\r\n estimated_ms: number;\r\n category: CostCategory;\r\n has_side_effects: boolean;\r\n}\r\n\r\nexport interface CostAnnotations {\r\n steps: StepCost[];\r\n total_estimated_ms: number;\r\n}\r\n\r\n// =============================================================================\r\n// Quality Report\r\n// =============================================================================\r\n\r\nexport type QualityFindingSeverity = \"critical\" | \"warning\" | \"info\";\r\n\r\nexport type QualityFindingCategory =\r\n | \"verification_gap\"\r\n | \"missing_criterion\"\r\n | \"unnecessary_step\"\r\n | \"weak_retry\"\r\n | \"required_flag_violation\"\r\n | \"retry_inconsistency\"\r\n | \"data_contract_violation\"\r\n | \"false_positive_risk\";\r\n\r\nexport interface QualityFinding {\r\n finding_id: string;\r\n step_id?: string;\r\n severity: QualityFindingSeverity;\r\n category: QualityFindingCategory;\r\n description: string;\r\n suggested_fix?: string;\r\n}\r\n\r\nexport interface CoverageMatrix {\r\n criteria_to_steps: Record<string, string[]>;\r\n steps_to_criteria: Record<string, string[]>;\r\n uncovered_criteria: string[];\r\n unlinked_steps: string[];\r\n}\r\n\r\nexport interface QualityReport {\r\n findings: QualityFinding[];\r\n score: number;\r\n pass: boolean;\r\n coverage_matrix?: CoverageMatrix;\r\n}\r\n\r\n// =============================================================================\r\n// Export/Import Types\r\n// =============================================================================\r\n\r\nimport type { UnifiedWorkflow as _UnifiedWorkflow } from \"../generated/UnifiedWorkflow\";\r\n\r\nexport interface WorkflowExportManifest {\r\n version: string;\r\n exported_at: string;\r\n app_version: string;\r\n content_type: \"unified_workflow\";\r\n}\r\n\r\nexport interface WorkflowExport {\r\n manifest: WorkflowExportManifest;\r\n workflow: _UnifiedWorkflow;\r\n}\r\n\r\nexport interface WorkflowImportResult {\r\n workflow: _UnifiedWorkflow;\r\n overwritten: boolean;\r\n original_id: string | null;\r\n}\r\n\r\n// =============================================================================\r\n// Feature Detection\r\n// =============================================================================\r\n\r\nexport interface WorkflowFeatures {\r\n hasSetup: boolean;\r\n hasVerification: boolean;\r\n hasAgentic: boolean;\r\n hasCompletion: boolean;\r\n hasUiBridge: boolean;\r\n showIterationSettings: boolean;\r\n hasAiPrompts: boolean;\r\n}\r\n\r\n// =============================================================================\r\n// Step Type Display Info\r\n// =============================================================================\r\n\r\nexport interface StepTypeInfo {\r\n type: string;\r\n label: string;\r\n description: string;\r\n icon: string;\r\n color: string;\r\n phase: WorkflowPhase;\r\n}\r\n\r\n// =============================================================================\r\n// Step Type Constants\r\n// =============================================================================\r\n\r\nexport const STEP_TYPES: Record<WorkflowPhase, StepTypeInfo[]> = {\r\n setup: [\r\n {\r\n type: \"command\",\r\n label: \"Command\",\r\n description: \"Run shell commands, checks, or tests\",\r\n icon: \"Terminal\",\r\n color: \"gray\",\r\n phase: \"setup\",\r\n },\r\n {\r\n type: \"ui_bridge\",\r\n label: \"UI Bridge\",\r\n description: \"Interact with UI via UI Bridge SDK\",\r\n icon: \"Monitor\",\r\n color: \"emerald\",\r\n phase: \"setup\",\r\n },\r\n {\r\n type: \"prompt\",\r\n label: \"AI Task\",\r\n description: \"AI-driven task\",\r\n icon: \"Bot\",\r\n color: \"violet\",\r\n phase: \"setup\",\r\n },\r\n {\r\n type: \"workflow\",\r\n label: \"Workflow\",\r\n description: \"Run a saved workflow\",\r\n icon: \"Workflow\",\r\n color: \"blue\",\r\n phase: \"setup\",\r\n },\r\n ],\r\n verification: [\r\n {\r\n type: \"command\",\r\n label: \"Command\",\r\n description: \"Run commands, checks, or tests for verification\",\r\n icon: \"Terminal\",\r\n color: \"gray\",\r\n phase: \"verification\",\r\n },\r\n {\r\n type: \"ui_bridge\",\r\n label: \"UI Bridge\",\r\n description: \"Verify UI state via UI Bridge\",\r\n icon: \"Monitor\",\r\n color: \"emerald\",\r\n phase: \"verification\",\r\n },\r\n {\r\n type: \"prompt\",\r\n label: \"AI Verification\",\r\n description: \"AI-evaluated criteria\",\r\n icon: \"Bot\",\r\n color: \"violet\",\r\n phase: \"verification\",\r\n },\r\n {\r\n type: \"workflow\",\r\n label: \"Workflow\",\r\n description: \"Run a saved workflow for verification\",\r\n icon: \"Workflow\",\r\n color: \"blue\",\r\n phase: \"verification\",\r\n },\r\n {\r\n type: \"native_accessibility\",\r\n label: \"Native Accessibility\",\r\n description: \"Run a native accessibility audit using OS-level APIs\",\r\n icon: \"Accessibility\",\r\n color: \"teal\",\r\n phase: \"verification\",\r\n },\r\n ],\r\n agentic: [\r\n {\r\n type: \"prompt\",\r\n label: \"Prompt\",\r\n description: \"AI task instructions\",\r\n icon: \"MessageSquare\",\r\n color: \"amber\",\r\n phase: \"agentic\",\r\n },\r\n ],\r\n completion: [\r\n {\r\n type: \"command\",\r\n label: \"Command\",\r\n description: \"Run cleanup commands or final tests\",\r\n icon: \"Terminal\",\r\n color: \"gray\",\r\n phase: \"completion\",\r\n },\r\n {\r\n type: \"ui_bridge\",\r\n label: \"UI Bridge\",\r\n description: \"Final UI interactions\",\r\n icon: \"Monitor\",\r\n color: \"emerald\",\r\n phase: \"completion\",\r\n },\r\n {\r\n type: \"prompt\",\r\n label: \"AI Completion\",\r\n description: \"Final AI actions\",\r\n icon: \"Bot\",\r\n color: \"violet\",\r\n phase: \"completion\",\r\n },\r\n {\r\n type: \"workflow\",\r\n label: \"Workflow\",\r\n description: \"Run a saved workflow as a completion step\",\r\n icon: \"Workflow\",\r\n color: \"blue\",\r\n phase: \"completion\",\r\n },\r\n ],\r\n};\r\n\r\n// =============================================================================\r\n// Phase Display Info\r\n// =============================================================================\r\n\r\nexport const PHASE_INFO: Record<\r\n WorkflowPhase,\r\n { label: string; description: string; color: string }\r\n> = {\r\n setup: {\r\n label: \"Setup\",\r\n description: \"Runs once at the beginning\",\r\n color: \"blue\",\r\n },\r\n verification: {\r\n label: \"Verification\",\r\n description: \"Checks success criteria, loops with agentic\",\r\n color: \"green\",\r\n },\r\n agentic: {\r\n label: \"Agentic\",\r\n description: \"AI work, iterates until verification passes\",\r\n color: \"amber\",\r\n },\r\n completion: {\r\n label: \"Completion\",\r\n description: \"Runs once after the loop exits\",\r\n color: \"purple\",\r\n },\r\n};\r\n\r\n// =============================================================================\r\n// Summary Step Constants\r\n// =============================================================================\r\n\r\nexport const DEFAULT_SUMMARY_PROMPT = `Write a one-paragraph summary of all the tasks completed in this workflow. Include what was accomplished, whether the stated goal was achieved, any issues encountered and how they were resolved, and remaining work if the goal was not fully achieved. Be concise but comprehensive.`;\r\n"],"mappings":"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","names":[]}
1
+ {"version":3,"sources":["../src/workflow/index.ts","../src/workflow/_api.ts"],"sourcesContent":["export * from \"./_api\";\n","/**\n * Workflow Types\n *\n * Canonical type definitions for the unified Workflow Builder system.\n * Shared across qontinui-runner and qontinui-web.\n *\n * All automation is organized into four phases: Setup, Verification, Agentic, Completion.\n *\n * Execution Order:\n * Setup (once) -> [Verification <-> Agentic]* -> Completion (once)\n *\n * Step Types (4 core types):\n * command - Shell commands, checks, check groups, tests\n * ui_bridge - UI Bridge SDK interactions (navigate, execute, assert, snapshot)\n * prompt - AI task instructions\n * workflow - Run a saved workflow inline (composition)\n */\n\n// =============================================================================\n// Generated frame types — source of truth is qontinui-schemas/rust/src/workflow.rs\n// These are produced by the schemars -> JSON Schema -> json-schema-to-typescript\n// pipeline. Do NOT redeclare them here; re-export from ../generated/*.\n//\n// Step arrays on UnifiedWorkflow / WorkflowStage are typed as `unknown[]` by\n// the generator. Typed step arrays are part of the Wave 4 step migration and\n// remain hand-authored below (BaseStep, CommandStep, PromptStep, UiBridgeStep,\n// WorkflowStep, and the per-phase aliases).\n// =============================================================================\n\nexport type { LogSourceSelection } from \"../generated/LogSourceSelection\";\nexport type { HealthCheckUrl } from \"../generated/HealthCheckUrl\";\nexport type { RoutingRule } from \"../generated/RoutingRule\";\nexport type { ModelOverrideConfig } from \"../generated/ModelOverrideConfig\";\nexport type { StageCondition } from \"../generated/StageCondition\";\nexport type { RetryPolicy } from \"../generated/RetryPolicy\";\nexport type { StageOutput } from \"../generated/StageOutput\";\nexport type { StageInput } from \"../generated/StageInput\";\nexport type { WorkflowStage } from \"../generated/WorkflowStage\";\nexport type { UnifiedWorkflow } from \"../generated/UnifiedWorkflow\";\nexport type { WorkflowArchitecture } from \"../generated/WorkflowArchitecture\";\n\nexport type { BaseStepFields } from \"../generated/BaseStepFields\";\nexport type { RetrySpec } from \"../generated/RetrySpec\";\n\n// Step DTOs (generated from qontinui-types::workflow_step)\nexport type { CommandStep } from \"../generated/CommandStep\";\nexport type { PromptStep } from \"../generated/PromptStep\";\nexport type { UiBridgeStep } from \"../generated/UiBridgeStep\";\nexport type { WorkflowStep } from \"../generated/WorkflowStep\";\nexport type { UnifiedStep } from \"../generated/UnifiedStep\";\nexport type { CanonicalStep } from \"../generated/CanonicalStep\";\nexport type { HttpMethod } from \"../generated/HttpMethod\";\nexport type { ApiContentType } from \"../generated/ApiContentType\";\nexport type { ApiAssertion } from \"../generated/ApiAssertion\";\nexport type { ApiVariableExtraction } from \"../generated/ApiVariableExtraction\";\nexport type { TestType } from \"../generated/TestType\";\nexport type { PlaywrightExecutionMode } from \"../generated/PlaywrightExecutionMode\";\nexport type { CheckType } from \"../generated/CheckType\";\nexport type { CommandMode } from \"../generated/CommandMode\";\nexport type { UiBridgeAction } from \"../generated/UiBridgeAction\";\nexport type { VerificationCategoryKind } from \"../generated/VerificationCategoryKind\";\n\n// ModelOverrides is a hand-authored convenience alias: the generated\n// UnifiedWorkflow / WorkflowStage type `model_overrides` as an open\n// `{ [k: string]: ModelOverrideConfig }`, but downstream code prefers a\n// named type with known phase keys. Keep as a local alias over the generated\n// per-phase config.\nimport type { ModelOverrideConfig as _ModelOverrideConfig } from \"../generated/ModelOverrideConfig\";\n\nexport type ModelOverrides = {\n setup?: _ModelOverrideConfig;\n agentic?: _ModelOverrideConfig;\n completion?: _ModelOverrideConfig;\n verification?: _ModelOverrideConfig;\n investigation?: _ModelOverrideConfig;\n summary?: _ModelOverrideConfig;\n generation?: _ModelOverrideConfig;\n};\n\n// =============================================================================\n// Phases\n// =============================================================================\n\nexport type WorkflowPhase = \"setup\" | \"verification\" | \"agentic\" | \"completion\";\n\n// =============================================================================\n// Skill Types (re-exported from ./skill)\n// =============================================================================\n\nexport type {\n SkillCategory,\n SkillAuthor,\n SkillParameterOption,\n SkillParameter,\n SingleStepTemplate,\n MultiStepTemplate,\n CompositionTemplate,\n SkillRef,\n SkillTemplate,\n SkillDefinition,\n SkillOrigin,\n SkillExportManifest,\n SkillExport,\n SkillImportResult,\n} from \"./skill\";\n\nexport type {\n PlannedActionType,\n ElementTarget,\n PlannedAction,\n ActionPlan,\n PlannedActionResult,\n ActionPlanResult,\n ActionPlanExecuteRequest,\n} from \"./action-plan\";\n\n// =============================================================================\n// Step Types — generated from qontinui-types::workflow_step\n//\n// The four canonical step variants (CommandStep, PromptStep, UiBridgeStep,\n// WorkflowStep) and their helper unions (HttpMethod, ApiContentType, …) are\n// re-exported at the top of this file from ../generated/*. The remaining\n// hand-authored types in this section are TS-only sugar: a `BaseStep` alias\n// for consumers that still want a name for the shared-fields subset, a\n// `StepTypeName` literal that includes non-canonical runner-side variants\n// (e.g. native_accessibility) for UI listings, and the phase-alias types.\n//\n// Phase narrowing is TS-only sugar — not a wire concern. The generator emits\n// a narrow `phase` field on each variant; these aliases just group the four\n// variants by the phase that can carry them.\n// =============================================================================\n\nimport type { CommandStep as _CommandStep } from \"../generated/CommandStep\";\nimport type { PromptStep as _PromptStep } from \"../generated/PromptStep\";\nimport type { UiBridgeStep as _UiBridgeStep } from \"../generated/UiBridgeStep\";\nimport type { WorkflowStep as _WorkflowStep } from \"../generated/WorkflowStep\";\n\n/**\n * Shared-fields subset carried by every canonical step variant.\n *\n * Alias for the generated `BaseStepFields` so downstream code can still\n * reference `BaseStep` by name. Source of truth:\n * `qontinui-types::workflow_step::BaseStepFields`.\n */\nimport type { BaseStepFields as _BaseStepFields } from \"../generated/BaseStepFields\";\nexport type BaseStep = _BaseStepFields;\n\n// =============================================================================\n// Step Type Names\n// =============================================================================\n\n// Includes runner-side non-canonical variants (e.g. `native_accessibility`)\n// that appear in the UI listing but are not part of the `UnifiedStep` DTO.\nexport type StepTypeName = \"command\" | \"ui_bridge\" | \"prompt\" | \"workflow\" | \"native_accessibility\";\n\n// =============================================================================\n// Phase-alias types (TS-only sugar over the generated UnifiedStep)\n// =============================================================================\n\nexport type SetupStep = _CommandStep | _PromptStep | _UiBridgeStep | _WorkflowStep;\nexport type VerificationStep = _CommandStep | _PromptStep | _UiBridgeStep | _WorkflowStep;\nexport type AgenticStep = _PromptStep;\nexport type CompletionStep = _CommandStep | _PromptStep | _UiBridgeStep | _WorkflowStep;\n\n// =============================================================================\n// Verification Categories\n// =============================================================================\n\n// Alias for the generated `VerificationCategoryKind` union. Source of truth:\n// `qontinui-types::workflow_step::VerificationCategoryKind`. `VerificationCategoryKind`\n// itself is re-exported earlier in this file.\nimport type { VerificationCategoryKind as _VerificationCategoryKind } from \"../generated/VerificationCategoryKind\";\nexport type VerificationCategory = _VerificationCategoryKind;\n\n// =============================================================================\n// Dependency Graph\n// =============================================================================\n\nexport interface DependencyNode {\n id: string;\n label: string;\n type: string;\n phase: WorkflowPhase;\n is_referenced: boolean;\n cost_category?: string;\n}\n\nexport interface DependencyEdge {\n source: string;\n target: string;\n label?: string;\n edge_type: \"explicit_depends_on\" | \"implicit_reference\" | \"setup_provides\";\n}\n\nexport interface DependencyGraph {\n nodes: DependencyNode[];\n edges: DependencyEdge[];\n}\n\n// =============================================================================\n// Cost Annotations\n// =============================================================================\n\nexport type CostCategory =\n | \"network\"\n | \"ai_call\"\n | \"setup\"\n | \"ui_interaction\";\n\nexport interface StepCost {\n step_id: string;\n name: string;\n estimated_ms: number;\n category: CostCategory;\n has_side_effects: boolean;\n}\n\nexport interface CostAnnotations {\n steps: StepCost[];\n total_estimated_ms: number;\n}\n\n// =============================================================================\n// Quality Report\n// =============================================================================\n\nexport type QualityFindingSeverity = \"critical\" | \"warning\" | \"info\";\n\nexport type QualityFindingCategory =\n | \"verification_gap\"\n | \"missing_criterion\"\n | \"unnecessary_step\"\n | \"weak_retry\"\n | \"required_flag_violation\"\n | \"retry_inconsistency\"\n | \"data_contract_violation\"\n | \"false_positive_risk\";\n\nexport interface QualityFinding {\n finding_id: string;\n step_id?: string;\n severity: QualityFindingSeverity;\n category: QualityFindingCategory;\n description: string;\n suggested_fix?: string;\n}\n\nexport interface CoverageMatrix {\n criteria_to_steps: Record<string, string[]>;\n steps_to_criteria: Record<string, string[]>;\n uncovered_criteria: string[];\n unlinked_steps: string[];\n}\n\nexport interface QualityReport {\n findings: QualityFinding[];\n score: number;\n pass: boolean;\n coverage_matrix?: CoverageMatrix;\n}\n\n// =============================================================================\n// Export/Import Types\n// =============================================================================\n\nimport type { UnifiedWorkflow as _UnifiedWorkflow } from \"../generated/UnifiedWorkflow\";\n\nexport interface WorkflowExportManifest {\n version: string;\n exported_at: string;\n app_version: string;\n content_type: \"unified_workflow\";\n}\n\nexport interface WorkflowExport {\n manifest: WorkflowExportManifest;\n workflow: _UnifiedWorkflow;\n}\n\nexport interface WorkflowImportResult {\n workflow: _UnifiedWorkflow;\n overwritten: boolean;\n original_id: string | null;\n}\n\n// =============================================================================\n// Feature Detection\n// =============================================================================\n\nexport interface WorkflowFeatures {\n hasSetup: boolean;\n hasVerification: boolean;\n hasAgentic: boolean;\n hasCompletion: boolean;\n hasUiBridge: boolean;\n showIterationSettings: boolean;\n hasAiPrompts: boolean;\n}\n\n// =============================================================================\n// Step Type Display Info\n// =============================================================================\n\nexport interface StepTypeInfo {\n type: string;\n label: string;\n description: string;\n icon: string;\n color: string;\n phase: WorkflowPhase;\n}\n\n// =============================================================================\n// Step Type Constants\n// =============================================================================\n\nexport const STEP_TYPES: Record<WorkflowPhase, StepTypeInfo[]> = {\n setup: [\n {\n type: \"command\",\n label: \"Command\",\n description: \"Run shell commands, checks, or tests\",\n icon: \"Terminal\",\n color: \"gray\",\n phase: \"setup\",\n },\n {\n type: \"ui_bridge\",\n label: \"UI Bridge\",\n description: \"Interact with UI via UI Bridge SDK\",\n icon: \"Monitor\",\n color: \"emerald\",\n phase: \"setup\",\n },\n {\n type: \"prompt\",\n label: \"AI Task\",\n description: \"AI-driven task\",\n icon: \"Bot\",\n color: \"violet\",\n phase: \"setup\",\n },\n {\n type: \"workflow\",\n label: \"Workflow\",\n description: \"Run a saved workflow\",\n icon: \"Workflow\",\n color: \"blue\",\n phase: \"setup\",\n },\n ],\n verification: [\n {\n type: \"command\",\n label: \"Command\",\n description: \"Run commands, checks, or tests for verification\",\n icon: \"Terminal\",\n color: \"gray\",\n phase: \"verification\",\n },\n {\n type: \"ui_bridge\",\n label: \"UI Bridge\",\n description: \"Verify UI state via UI Bridge\",\n icon: \"Monitor\",\n color: \"emerald\",\n phase: \"verification\",\n },\n {\n type: \"prompt\",\n label: \"AI Verification\",\n description: \"AI-evaluated criteria\",\n icon: \"Bot\",\n color: \"violet\",\n phase: \"verification\",\n },\n {\n type: \"workflow\",\n label: \"Workflow\",\n description: \"Run a saved workflow for verification\",\n icon: \"Workflow\",\n color: \"blue\",\n phase: \"verification\",\n },\n {\n type: \"native_accessibility\",\n label: \"Native Accessibility\",\n description: \"Run a native accessibility audit using OS-level APIs\",\n icon: \"Accessibility\",\n color: \"teal\",\n phase: \"verification\",\n },\n ],\n agentic: [\n {\n type: \"prompt\",\n label: \"Prompt\",\n description: \"AI task instructions\",\n icon: \"MessageSquare\",\n color: \"amber\",\n phase: \"agentic\",\n },\n ],\n completion: [\n {\n type: \"command\",\n label: \"Command\",\n description: \"Run cleanup commands or final tests\",\n icon: \"Terminal\",\n color: \"gray\",\n phase: \"completion\",\n },\n {\n type: \"ui_bridge\",\n label: \"UI Bridge\",\n description: \"Final UI interactions\",\n icon: \"Monitor\",\n color: \"emerald\",\n phase: \"completion\",\n },\n {\n type: \"prompt\",\n label: \"AI Completion\",\n description: \"Final AI actions\",\n icon: \"Bot\",\n color: \"violet\",\n phase: \"completion\",\n },\n {\n type: \"workflow\",\n label: \"Workflow\",\n description: \"Run a saved workflow as a completion step\",\n icon: \"Workflow\",\n color: \"blue\",\n phase: \"completion\",\n },\n ],\n};\n\n// =============================================================================\n// Phase Display Info\n// =============================================================================\n\nexport const PHASE_INFO: Record<\n WorkflowPhase,\n { label: string; description: string; color: string }\n> = {\n setup: {\n label: \"Setup\",\n description: \"Runs once at the beginning\",\n color: \"blue\",\n },\n verification: {\n label: \"Verification\",\n description: \"Checks success criteria, loops with agentic\",\n color: \"green\",\n },\n agentic: {\n label: \"Agentic\",\n description: \"AI work, iterates until verification passes\",\n color: \"amber\",\n },\n completion: {\n label: \"Completion\",\n description: \"Runs once after the loop exits\",\n color: \"purple\",\n },\n};\n\n// =============================================================================\n// Summary Step Constants\n// =============================================================================\n\nexport const DEFAULT_SUMMARY_PROMPT = `Write a one-paragraph summary of all the tasks completed in this workflow. Include what was accomplished, whether the stated goal was achieved, any issues encountered and how they were resolved, and remaining work if the goal was not fully achieved. Be concise but comprehensive.`;\n"],"mappings":"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","names":[]}