@qontinui/shared-types 0.2.3 → 0.2.5

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 (543) 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 +589 -589
  29. package/dist/index.d.ts +589 -589
  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 +315 -202
  53. package/dist/tauri-events.d.ts +315 -202
  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 +37 -0
  58. package/dist/ui-bridge-ir.cjs.map +1 -1
  59. package/dist/ui-bridge-ir.d.cts +90 -1
  60. package/dist/ui-bridge-ir.d.ts +90 -1
  61. package/dist/ui-bridge-ir.js +37 -0
  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/AvailableTransitionsResult.d.ts +34 -34
  108. package/src/generated/BaseStepFields.d.ts +72 -72
  109. package/src/generated/BatchComputeEmbeddingRequest.d.ts +27 -27
  110. package/src/generated/BatchComputeEmbeddingResponse.d.ts +23 -23
  111. package/src/generated/BatchEmbeddingResult.d.ts +23 -23
  112. package/src/generated/BetweenIterations.d.ts +35 -35
  113. package/src/generated/BoundingBox.d.ts +18 -18
  114. package/src/generated/BuildPhaseConfig.d.ts +24 -24
  115. package/src/generated/BuiltinOverrideProposal.d.ts +27 -27
  116. package/src/generated/CanonicalStep.d.ts +60 -60
  117. package/src/generated/CatchUpPolicy.d.ts +12 -12
  118. package/src/generated/Category.d.ts +24 -24
  119. package/src/generated/CheckIssueDetail.d.ts +40 -40
  120. package/src/generated/CheckType.d.ts +21 -21
  121. package/src/generated/CodeExecutionStep.d.ts +88 -88
  122. package/src/generated/CommandMode.d.ts +11 -11
  123. package/src/generated/CommandStep.d.ts +183 -183
  124. package/src/generated/CommandStepPhase.d.ts +11 -11
  125. package/src/generated/ComponentActionInfo.d.ts +24 -24
  126. package/src/generated/ComponentActionRequest.d.ts +22 -22
  127. package/src/generated/ComputeEmbeddingRequest.d.ts +24 -24
  128. package/src/generated/ComputeEmbeddingResponse.d.ts +38 -38
  129. package/src/generated/ComputeTextEmbeddingRequest.d.ts +20 -20
  130. package/src/generated/ComputeTextEmbeddingResponse.d.ts +32 -32
  131. package/src/generated/ConditionScheduleConfig.d.ts +17 -17
  132. package/src/generated/ConditionStatus.d.ts +29 -29
  133. package/src/generated/Confidence.d.ts +11 -11
  134. package/src/generated/ConfidenceLevel.d.ts +11 -11
  135. package/src/generated/Constraint.d.ts +33 -33
  136. package/src/generated/ConstraintCheck.d.ts +64 -64
  137. package/src/generated/ConstraintProposal.d.ts +37 -37
  138. package/src/generated/ConstraintResult.d.ts +32 -32
  139. package/src/generated/ConstraintSeverity.d.ts +16 -16
  140. package/src/generated/ConstraintViolation.d.ts +24 -24
  141. package/src/generated/Context.d.ts +50 -50
  142. package/src/generated/ContextAutoInclude.d.ts +34 -34
  143. package/src/generated/CoordinateSystem.d.ts +12 -12
  144. package/src/generated/Coordinates.d.ts +33 -33
  145. package/src/generated/CostTrendDataPoint.d.ts +36 -36
  146. package/src/generated/CostTrendResponse.d.ts +41 -41
  147. package/src/generated/CoverageData.d.ts +52 -52
  148. package/src/generated/CreateMcpCallInput.d.ts +59 -59
  149. package/src/generated/CreateMcpServerInput.d.ts +48 -48
  150. package/src/generated/CreateOlConfigRequest.d.ts +27 -27
  151. package/src/generated/CreateScheduledTaskRequest.d.ts +63 -63
  152. package/src/generated/CreateTaskRunRequest.d.ts +51 -51
  153. package/src/generated/CriterionOverride.d.ts +39 -39
  154. package/src/generated/CriterionType.d.ts +11 -11
  155. package/src/generated/DagApprovalStep.d.ts +80 -80
  156. package/src/generated/DagCancelStep.d.ts +76 -76
  157. package/src/generated/DagLoopStep.d.ts +80 -80
  158. package/src/generated/DecomposerConfig.d.ts +31 -31
  159. package/src/generated/DiagnosePhaseConfig.d.ts +34 -34
  160. package/src/generated/DiagnosticResult.d.ts +40 -40
  161. package/src/generated/DiscoveredElement.d.ts +48 -48
  162. package/src/generated/DiscoveredState.d.ts +49 -49
  163. package/src/generated/DiscoveredStateImage.d.ts +56 -56
  164. package/src/generated/DiscoveredTransition.d.ts +44 -44
  165. package/src/generated/DiscoveryBoundingBox.d.ts +32 -32
  166. package/src/generated/DiscoveryRequest.d.ts +40 -40
  167. package/src/generated/DiscoveryResponse.d.ts +32 -32
  168. package/src/generated/DiscoverySourceType.d.ts +14 -14
  169. package/src/generated/DiscoveryStrategy.d.ts +13 -13
  170. package/src/generated/DiscoveryTransitionTrigger.d.ts +38 -38
  171. package/src/generated/DisplayNode.d.ts +45 -45
  172. package/src/generated/DomainAssignment.d.ts +50 -50
  173. package/src/generated/DomainKnowledge.d.ts +29 -29
  174. package/src/generated/DomainVerificationResult.d.ts +36 -36
  175. package/src/generated/ElementActionRequest.d.ts +28 -28
  176. package/src/generated/ElementBbox.d.ts +36 -36
  177. package/src/generated/ElementIdentifier.d.ts +40 -40
  178. package/src/generated/ElementRect.d.ts +48 -48
  179. package/src/generated/ElementState.d.ts +47 -47
  180. package/src/generated/ElementType.d.ts +45 -45
  181. package/src/generated/EmbeddedElement.d.ts +36 -36
  182. package/src/generated/EmbeddingItem.d.ts +49 -49
  183. package/src/generated/EmbeddingListResponse.d.ts +22 -22
  184. package/src/generated/EmbeddingResultItem.d.ts +29 -29
  185. package/src/generated/EmbeddingResultsRequest.d.ts +19 -19
  186. package/src/generated/EmbeddingResultsResponse.d.ts +17 -17
  187. package/src/generated/ErrorType.d.ts +18 -18
  188. package/src/generated/ExecutePlaybookStep.d.ts +84 -84
  189. package/src/generated/ExecutionActionType.d.ts +40 -40
  190. package/src/generated/ExecutionIssueBatch.d.ts +19 -19
  191. package/src/generated/ExecutionIssueBatchResponse.d.ts +24 -24
  192. package/src/generated/ExecutionIssueCreate.d.ts +57 -57
  193. package/src/generated/ExecutionIssueDetail.d.ts +89 -89
  194. package/src/generated/ExecutionIssueListResponse.d.ts +26 -26
  195. package/src/generated/ExecutionIssueResponse.d.ts +24 -24
  196. package/src/generated/ExecutionIssueUpdate.d.ts +31 -31
  197. package/src/generated/ExecutionMatchLocation.d.ts +31 -31
  198. package/src/generated/ExecutionRunComplete.d.ts +34 -34
  199. package/src/generated/ExecutionRunCompleteResponse.d.ts +38 -38
  200. package/src/generated/ExecutionRunCreate.d.ts +40 -40
  201. package/src/generated/ExecutionRunDetail.d.ts +76 -76
  202. package/src/generated/ExecutionRunListResponse.d.ts +22 -22
  203. package/src/generated/ExecutionRunResponse.d.ts +41 -41
  204. package/src/generated/ExecutionScreenshotCreate.d.ts +59 -59
  205. package/src/generated/ExecutionScreenshotResponse.d.ts +36 -36
  206. package/src/generated/ExecutionStats.d.ts +56 -56
  207. package/src/generated/ExecutionStep.d.ts +78 -78
  208. package/src/generated/ExecutionTreeResponse.d.ts +42 -42
  209. package/src/generated/ExecutionTrendDataPoint.d.ts +36 -36
  210. package/src/generated/ExecutionTrendResponse.d.ts +46 -46
  211. package/src/generated/ExitCheckResult.d.ts +20 -20
  212. package/src/generated/ExitStrategy.d.ts +27 -27
  213. package/src/generated/ExportResult.d.ts +30 -30
  214. package/src/generated/ExtendIterationsRequest.d.ts +20 -20
  215. package/src/generated/FileChange.d.ts +20 -20
  216. package/src/generated/Finding.d.ts +40 -40
  217. package/src/generated/FindingActionType.d.ts +13 -13
  218. package/src/generated/FindingBatchCreate.d.ts +27 -27
  219. package/src/generated/FindingCategory.d.ts +25 -25
  220. package/src/generated/FindingCodeContext.d.ts +31 -31
  221. package/src/generated/FindingCreate.d.ts +52 -52
  222. package/src/generated/FindingDetail.d.ts +78 -78
  223. package/src/generated/FindingListResponse.d.ts +40 -40
  224. package/src/generated/FindingOutput.d.ts +36 -36
  225. package/src/generated/FindingSeverity.d.ts +14 -14
  226. package/src/generated/FindingStatus.d.ts +15 -15
  227. package/src/generated/FindingSummary.d.ts +53 -53
  228. package/src/generated/FindingUpdate.d.ts +33 -33
  229. package/src/generated/FindingUserInput.d.ts +27 -27
  230. package/src/generated/FindingsSummary.d.ts +47 -47
  231. package/src/generated/FullRunnerStep.d.ts +144 -144
  232. package/src/generated/GUIElementChunk.d.ts +151 -151
  233. package/src/generated/GateEvaluationResult.d.ts +36 -36
  234. package/src/generated/HealthCheckUrl.d.ts +35 -35
  235. package/src/generated/HistoricalActionQuery.d.ts +42 -42
  236. package/src/generated/HistoricalActionResult.d.ts +57 -57
  237. package/src/generated/HttpConfig.d.ts +27 -27
  238. package/src/generated/HttpMethod.d.ts +13 -13
  239. package/src/generated/IdleCondition.d.ts +17 -17
  240. package/src/generated/ImplementFixesConfig.d.ts +25 -25
  241. package/src/generated/IndividualCheckResult.d.ts +50 -50
  242. package/src/generated/InitialStateRef.d.ts +23 -23
  243. package/src/generated/InitialStatesSource.d.ts +18 -18
  244. package/src/generated/IssueSeverity.d.ts +11 -11
  245. package/src/generated/IssueSource.d.ts +11 -11
  246. package/src/generated/IssueStatus.d.ts +11 -11
  247. package/src/generated/IssueType.d.ts +21 -21
  248. package/src/generated/IterationResult.d.ts +65 -65
  249. package/src/generated/IterationVerificationResults.d.ts +53 -53
  250. package/src/generated/JobItem.d.ts +31 -31
  251. package/src/generated/JobListResponse.d.ts +20 -20
  252. package/src/generated/JobStatus.d.ts +11 -11
  253. package/src/generated/JobSummary.d.ts +30 -30
  254. package/src/generated/LLMCostSummary.d.ts +38 -38
  255. package/src/generated/LLMMetrics.d.ts +42 -42
  256. package/src/generated/LogSourceSelection.d.ts +25 -25
  257. package/src/generated/LoopInstanceStatus.d.ts +28 -28
  258. package/src/generated/LoopPhase.d.ts +26 -26
  259. package/src/generated/MatchAdjustment.d.ts +23 -23
  260. package/src/generated/MatchLocation.d.ts +22 -22
  261. package/src/generated/MatchMethod.d.ts +11 -11
  262. package/src/generated/McpCallRecord.d.ts +35 -35
  263. package/src/generated/McpCallsResult.d.ts +44 -44
  264. package/src/generated/McpConnectionRef.d.ts +25 -25
  265. package/src/generated/McpServerConfig.d.ts +77 -77
  266. package/src/generated/McpServerStatus.d.ts +42 -42
  267. package/src/generated/McpToolCallResult.d.ts +38 -38
  268. package/src/generated/McpToolInfo.d.ts +23 -23
  269. package/src/generated/McpToolInputSchema.d.ts +34 -34
  270. package/src/generated/McpTransport.d.ts +15 -15
  271. package/src/generated/ModelCostBreakdown.d.ts +36 -36
  272. package/src/generated/ModelOverrideConfig.d.ts +47 -47
  273. package/src/generated/Monitor.d.ts +48 -48
  274. package/src/generated/MonitorPosition.d.ts +13 -13
  275. package/src/generated/MouseButton.d.ts +13 -13
  276. package/src/generated/MultiLoopConfig.d.ts +32 -32
  277. package/src/generated/MultiLoopEntry.d.ts +32 -32
  278. package/src/generated/MultiLoopStatus.d.ts +37 -37
  279. package/src/generated/NativeAccessibilityStep.d.ts +121 -121
  280. package/src/generated/NavigationResult.d.ts +40 -40
  281. package/src/generated/NewConstraintProposal.d.ts +20 -20
  282. package/src/generated/NextTaskInfo.d.ts +24 -24
  283. package/src/generated/NodeMetadata.d.ts +47 -47
  284. package/src/generated/NodeStatus.d.ts +11 -11
  285. package/src/generated/NodeType.d.ts +11 -11
  286. package/src/generated/OcrEngine.d.ts +11 -11
  287. package/src/generated/OlConfig.d.ts +48 -48
  288. package/src/generated/OrchestrationLoopConfig.d.ts +87 -87
  289. package/src/generated/OrchestrationLoopStatus.d.ts +59 -59
  290. package/src/generated/Outcome.d.ts +15 -15
  291. package/src/generated/OutputLine.d.ts +23 -23
  292. package/src/generated/OutputStream.d.ts +11 -11
  293. package/src/generated/OverrideCollection.d.ts +18 -18
  294. package/src/generated/Pagination.d.ts +28 -28
  295. package/src/generated/ParserType.d.ts +17 -17
  296. package/src/generated/PathElement.d.ts +17 -17
  297. package/src/generated/PathfindingRequest.d.ts +24 -24
  298. package/src/generated/PathfindingResult.d.ts +30 -30
  299. package/src/generated/PathfindingStep.d.ts +36 -36
  300. package/src/generated/PatternOptions.d.ts +32 -32
  301. package/src/generated/PipelineConfig.d.ts +31 -31
  302. package/src/generated/PlaybackFrameRequest.d.ts +21 -21
  303. package/src/generated/PlaywrightExecutionMode.d.ts +11 -11
  304. package/src/generated/Point.d.ts +20 -20
  305. package/src/generated/PollingConfig.d.ts +14 -14
  306. package/src/generated/ProcessConfig.d.ts +96 -96
  307. package/src/generated/ProcessState.d.ts +15 -15
  308. package/src/generated/ProcessStatus.d.ts +41 -41
  309. package/src/generated/PromptStep.d.ts +92 -92
  310. package/src/generated/PromptStepPhase.d.ts +13 -13
  311. package/src/generated/RAGDashboardStats.d.ts +26 -26
  312. package/src/generated/RagCompletionEvent.d.ts +25 -25
  313. package/src/generated/RagProcessingStatus.d.ts +11 -11
  314. package/src/generated/RagProgressEvent.d.ts +27 -27
  315. package/src/generated/ReadConfigResponse.d.ts +20 -20
  316. package/src/generated/ReflectionFixOutput.d.ts +20 -20
  317. package/src/generated/Region.d.ts +39 -39
  318. package/src/generated/RepositoryInactiveCondition.d.ts +24 -24
  319. package/src/generated/RepositoryWatch.d.ts +20 -20
  320. package/src/generated/ResolvedInitialStates.d.ts +29 -29
  321. package/src/generated/ResolvedInitialStatesResult.d.ts +40 -40
  322. package/src/generated/ResourceLimits.d.ts +33 -33
  323. package/src/generated/RestartProcessStep.d.ts +88 -88
  324. package/src/generated/RetryPolicy.d.ts +24 -24
  325. package/src/generated/RetrySpec.d.ts +24 -24
  326. package/src/generated/RoleCriterion.d.ts +14 -14
  327. package/src/generated/RootCauseCategory.d.ts +18 -18
  328. package/src/generated/RoutingRule.d.ts +38 -38
  329. package/src/generated/RunPromptRequest.d.ts +56 -56
  330. package/src/generated/RunPromptResponse.d.ts +50 -50
  331. package/src/generated/RunPromptResponseData.d.ts +20 -20
  332. package/src/generated/RunStatus.d.ts +11 -11
  333. package/src/generated/RunType.d.ts +11 -11
  334. package/src/generated/Runner.d.ts +81 -81
  335. package/src/generated/RunnerCrash.d.ts +32 -32
  336. package/src/generated/RunnerFinding.d.ts +48 -48
  337. package/src/generated/RunnerFindingCodeContext.d.ts +20 -20
  338. package/src/generated/RunnerFindingUserInput.d.ts +19 -19
  339. package/src/generated/RunnerMetadata.d.ts +42 -42
  340. package/src/generated/RunnerStatus.d.ts +12 -12
  341. package/src/generated/RunnerUiError.d.ts +28 -28
  342. package/src/generated/RuntimeData.d.ts +40 -40
  343. package/src/generated/SaveWorkflowArtifactStep.d.ts +80 -80
  344. package/src/generated/ScheduleConditions.d.ts +29 -29
  345. package/src/generated/ScheduleExpression.d.ts +39 -39
  346. package/src/generated/ScheduledTask.d.ts +104 -104
  347. package/src/generated/ScheduledTaskStatus.d.ts +19 -19
  348. package/src/generated/ScheduledTaskType.d.ts +126 -126
  349. package/src/generated/SchedulerSettings.d.ts +28 -28
  350. package/src/generated/SchedulerStatus.d.ts +31 -31
  351. package/src/generated/ScreenshotAnnotation.d.ts +39 -39
  352. package/src/generated/ScreenshotAnnotationShape.d.ts +11 -11
  353. package/src/generated/ScreenshotType.d.ts +11 -11
  354. package/src/generated/ScrollDirection.d.ts +13 -13
  355. package/src/generated/SearchOptions.d.ts +33 -33
  356. package/src/generated/SearchResultItem.d.ts +19 -19
  357. package/src/generated/SearchStrategy.d.ts +14 -14
  358. package/src/generated/SemanticSearchRequest.d.ts +26 -26
  359. package/src/generated/SemanticSearchResponse.d.ts +21 -21
  360. package/src/generated/StageCondition.d.ts +37 -37
  361. package/src/generated/StageInput.d.ts +27 -27
  362. package/src/generated/StageOutput.d.ts +20 -20
  363. package/src/generated/StageTransition.d.ts +30 -30
  364. package/src/generated/StallDetectorConfig.d.ts +31 -31
  365. package/src/generated/StandardActionType.d.ts +40 -40
  366. package/src/generated/StateContext.d.ts +17 -17
  367. package/src/generated/StateDiscoveryResult.d.ts +104 -104
  368. package/src/generated/StateDiscoveryResultCreate.d.ts +65 -65
  369. package/src/generated/StateDiscoveryResultListResponse.d.ts +23 -23
  370. package/src/generated/StateDiscoveryResultSummary.d.ts +57 -57
  371. package/src/generated/StateDiscoveryResultUpdate.d.ts +47 -47
  372. package/src/generated/StateFilterItem.d.ts +18 -18
  373. package/src/generated/StateMachineConfig.d.ts +45 -45
  374. package/src/generated/StateMachineConfigCreate.d.ts +20 -20
  375. package/src/generated/StateMachineConfigFull.d.ts +67 -67
  376. package/src/generated/StateMachineConfigUpdate.d.ts +20 -20
  377. package/src/generated/StateMachineExport.d.ts +64 -64
  378. package/src/generated/StateMachineExportFormat.d.ts +39 -39
  379. package/src/generated/StateMachineImport.d.ts +25 -25
  380. package/src/generated/StateMachineState.d.ts +71 -71
  381. package/src/generated/StateMachineStateCreate.d.ts +52 -52
  382. package/src/generated/StateMachineStateUpdate.d.ts +48 -48
  383. package/src/generated/StateMachineTransition.d.ts +75 -75
  384. package/src/generated/StateMachineTransitionCreate.d.ts +53 -53
  385. package/src/generated/StateMachineTransitionUpdate.d.ts +53 -53
  386. package/src/generated/StateNodeData.d.ts +71 -71
  387. package/src/generated/StatesResponse.d.ts +19 -19
  388. package/src/generated/StdioConfig.d.ts +34 -34
  389. package/src/generated/StepExecutionConfig.d.ts +37 -37
  390. package/src/generated/StructuredFinding.d.ts +32 -32
  391. package/src/generated/StructuredOverride.d.ts +24 -24
  392. package/src/generated/StructuredSignal.d.ts +20 -20
  393. package/src/generated/SuccessCriterion.d.ts +57 -57
  394. package/src/generated/SummarizationConfig.d.ts +35 -35
  395. package/src/generated/TargetConfig.d.ts +108 -108
  396. package/src/generated/TaskCompletionResult.d.ts +90 -90
  397. package/src/generated/TaskExecutionRecord.d.ts +61 -61
  398. package/src/generated/TaskRun.d.ts +88 -88
  399. package/src/generated/TaskRunBackend.d.ts +86 -86
  400. package/src/generated/TaskRunBackendDetail.d.ts +99 -99
  401. package/src/generated/TaskRunCreate.d.ts +62 -62
  402. package/src/generated/TaskRunFilters.d.ts +38 -38
  403. package/src/generated/TaskRunFinding.d.ts +100 -100
  404. package/src/generated/TaskRunFindingActionType.d.ts +11 -11
  405. package/src/generated/TaskRunFindingCategory.d.ts +24 -24
  406. package/src/generated/TaskRunFindingCreate.d.ts +79 -79
  407. package/src/generated/TaskRunFindingFilters.d.ts +28 -28
  408. package/src/generated/TaskRunFindingSeverity.d.ts +11 -11
  409. package/src/generated/TaskRunFindingStatus.d.ts +11 -11
  410. package/src/generated/TaskRunFindingSummary.d.ts +34 -34
  411. package/src/generated/TaskRunFindingUpdate.d.ts +34 -34
  412. package/src/generated/TaskRunFindingsListResponse.d.ts +24 -24
  413. package/src/generated/TaskRunListResponse.d.ts +21 -21
  414. package/src/generated/TaskRunSession.d.ts +40 -40
  415. package/src/generated/TaskRunStatus.d.ts +11 -11
  416. package/src/generated/TaskRunUpdate.d.ts +47 -47
  417. package/src/generated/TaskType.d.ts +11 -11
  418. package/src/generated/TerminalExitEvent.d.ts +26 -26
  419. package/src/generated/TerminalInfo.d.ts +69 -69
  420. package/src/generated/TerminalOutputEvent.d.ts +29 -29
  421. package/src/generated/TestType.d.ts +11 -11
  422. package/src/generated/TextMatchType.d.ts +11 -11
  423. package/src/generated/TextSearchOptions.d.ts +30 -30
  424. package/src/generated/Ticket.d.ts +53 -53
  425. package/src/generated/TicketComment.d.ts +28 -28
  426. package/src/generated/TicketProviderConfig.d.ts +55 -55
  427. package/src/generated/TicketSource.d.ts +17 -17
  428. package/src/generated/TicketState.d.ts +15 -15
  429. package/src/generated/TimingInfo.d.ts +23 -23
  430. package/src/generated/TopMatch.d.ts +17 -17
  431. package/src/generated/TransitionAction.d.ts +93 -93
  432. package/src/generated/TransitionActionValue.d.ts +14 -14
  433. package/src/generated/TransitionEdgeData.d.ts +46 -46
  434. package/src/generated/TransitionExecutionResult.d.ts +30 -30
  435. package/src/generated/TransitionInfo.d.ts +29 -29
  436. package/src/generated/TransitionTriggerType.d.ts +13 -13
  437. package/src/generated/TreeEvent.d.ts +47 -47
  438. package/src/generated/TreeEventCreate.d.ts +30 -30
  439. package/src/generated/TreeEventListResponse.d.ts +30 -30
  440. package/src/generated/TreeEventResponse.d.ts +47 -47
  441. package/src/generated/TreeEventType.d.ts +20 -20
  442. package/src/generated/TreeNode.d.ts +54 -54
  443. package/src/generated/UIBridgeCapturedToast.d.ts +22 -22
  444. package/src/generated/UIBridgeComponent.d.ts +45 -45
  445. package/src/generated/UIBridgeElement.d.ts +62 -62
  446. package/src/generated/UIBridgeModalInfo.d.ts +40 -40
  447. package/src/generated/UIBridgeModalStack.d.ts +19 -19
  448. package/src/generated/UIBridgeSnapshot.d.ts +67 -67
  449. package/src/generated/UIBridgeToastContext.d.ts +17 -17
  450. package/src/generated/UIBridgeUndoContext.d.ts +19 -19
  451. package/src/generated/UiBridgeAction.d.ts +18 -18
  452. package/src/generated/UiBridgeAssertType.d.ts +11 -11
  453. package/src/generated/UiBridgeComparisonMode.d.ts +11 -11
  454. package/src/generated/UiBridgeDesignAuditStep.d.ts +76 -76
  455. package/src/generated/UiBridgeRequestEnvelope.d.ts +45 -0
  456. package/src/generated/UiBridgeResponseEnvelope.d.ts +66 -0
  457. package/src/generated/UiBridgeSeverity.d.ts +11 -11
  458. package/src/generated/UiBridgeStep.d.ts +127 -127
  459. package/src/generated/UiBridgeStepPhase.d.ts +14 -14
  460. package/src/generated/UiBridgeVisualAssertionStep.d.ts +97 -97
  461. package/src/generated/UnifiedStep.d.ts +57 -57
  462. package/src/generated/UnifiedWorkflow.d.ts +411 -411
  463. package/src/generated/UpdateMcpServerInput.d.ts +28 -28
  464. package/src/generated/UpdateOlConfigRequest.d.ts +32 -32
  465. package/src/generated/UpdateScheduledTaskRequest.d.ts +71 -71
  466. package/src/generated/ValidateConfigRequest.d.ts +16 -16
  467. package/src/generated/ValidateConfigResponse.d.ts +28 -28
  468. package/src/generated/VectorSearchResult.d.ts +48 -48
  469. package/src/generated/VerificationAgentContext.d.ts +25 -25
  470. package/src/generated/VerificationCategoryKind.d.ts +19 -19
  471. package/src/generated/VerificationMethod.d.ts +20 -20
  472. package/src/generated/VerificationPhaseResult.d.ts +63 -63
  473. package/src/generated/VerificationPlan.d.ts +43 -43
  474. package/src/generated/VerificationResult.d.ts +44 -44
  475. package/src/generated/VerificationResultResponse.d.ts +65 -65
  476. package/src/generated/VerificationResultsListResponse.d.ts +41 -41
  477. package/src/generated/VerificationStepDetails.d.ts +55 -55
  478. package/src/generated/VerificationStepResult.d.ts +68 -68
  479. package/src/generated/VgaAction.d.ts +61 -61
  480. package/src/generated/VgaActionKind.d.ts +14 -14
  481. package/src/generated/VgaAutomateStep.d.ts +110 -110
  482. package/src/generated/VirtualDesktop.d.ts +23 -23
  483. package/src/generated/VisualAssertionType.d.ts +11 -11
  484. package/src/generated/VisualComparisonResult.d.ts +40 -40
  485. package/src/generated/WaitOptions.d.ts +35 -35
  486. package/src/generated/WorkerCoordinationMessage.d.ts +93 -93
  487. package/src/generated/WorkerDomain.d.ts +29 -29
  488. package/src/generated/WorkerInstance.d.ts +62 -62
  489. package/src/generated/WorkerOutput.d.ts +53 -53
  490. package/src/generated/WorkerSignal.d.ts +48 -48
  491. package/src/generated/WorkerStatus.d.ts +11 -11
  492. package/src/generated/WorkflowArchitecture.d.ts +16 -16
  493. package/src/generated/WorkflowFixupMode.d.ts +11 -11
  494. package/src/generated/WorkflowFixupStep.d.ts +85 -85
  495. package/src/generated/WorkflowInfo.d.ts +28 -28
  496. package/src/generated/WorkflowMetadata.d.ts +44 -44
  497. package/src/generated/WorkflowRefStep.d.ts +94 -94
  498. package/src/generated/WorkflowStage.d.ts +126 -126
  499. package/src/generated/WorkflowStep.d.ts +80 -80
  500. package/src/generated/WorkflowStepPhase.d.ts +11 -11
  501. package/src/generated/WriteConfigRequest.d.ts +20 -20
  502. package/src/generated/WriteConfigResponse.d.ts +24 -24
  503. package/src/generated/index.ts +2 -0
  504. package/src/geometry/_api.ts +16 -16
  505. package/src/geometry/index.ts +1 -1
  506. package/src/index.ts +73 -73
  507. package/src/known-issues/index.ts +179 -179
  508. package/src/library/_api.ts +326 -326
  509. package/src/library/index.ts +1 -1
  510. package/src/rag/_api.ts +47 -47
  511. package/src/rag/index.ts +1 -1
  512. package/src/render-log.ts +371 -371
  513. package/src/runner/_api.ts +14 -14
  514. package/src/runner/index.ts +1 -1
  515. package/src/scheduler/_api.ts +21 -21
  516. package/src/scheduler/index.ts +1 -1
  517. package/src/state-machine/_api.ts +145 -145
  518. package/src/state-machine/index.ts +1 -1
  519. package/src/targets/_api.ts +47 -47
  520. package/src/targets/index.ts +1 -1
  521. package/src/task-run/_api.ts +108 -108
  522. package/src/task-run/index.ts +1 -1
  523. package/src/tauri-events/_api.ts +90 -76
  524. package/src/tauri-events/index.ts +1 -1
  525. package/src/tree-events/_api.ts +42 -42
  526. package/src/tree-events/index.ts +1 -1
  527. package/src/ui-bridge-ir/__tests__/projection.test.ts +1029 -1029
  528. package/src/ui-bridge-ir/adapter.ts +220 -220
  529. package/src/ui-bridge-ir/document.ts +114 -105
  530. package/src/ui-bridge-ir/element-criteria.ts +48 -48
  531. package/src/ui-bridge-ir/group.ts +84 -0
  532. package/src/ui-bridge-ir/index.ts +24 -23
  533. package/src/ui-bridge-ir/ir.schema.json +293 -235
  534. package/src/ui-bridge-ir/primitives.ts +102 -102
  535. package/src/ui-bridge-ir/projection.ts +921 -863
  536. package/src/ui-bridge-ir/state.ts +90 -90
  537. package/src/ui-bridge-ir/transition.ts +92 -92
  538. package/src/workflow/_api.ts +474 -474
  539. package/src/workflow/action-plan.ts +208 -208
  540. package/src/workflow/index.ts +1 -1
  541. package/src/workflow/skill.ts +152 -152
  542. package/dist/chunk-YXD4WCYQ.js.map +0 -1
  543. package/dist/chunk-ZK5MJEGT.js.map +0 -1
@@ -1,1193 +1,1193 @@
1
- /* eslint-disable */
2
- /**
3
- * This file was automatically generated.
4
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
5
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
- */
7
-
8
- /**
9
- * All UI Bridge SDK standard actions plus workflow-level actions
10
- * (`wait`, `navigate`).
11
- *
12
- * Parameterized actions: `click`, `doubleClick`, `rightClick`, `type`,
13
- * `select`, `scroll`, `drag`.
14
- * No-param actions: `clear`, `focus`, `blur`, `hover`, `check`, `uncheck`,
15
- * `toggle`, `setValue`, `submit`, `reset`.
16
- * Workflow-level actions: `wait`, `navigate`.
17
- *
18
- * Serialized as a bare camelCase string matching the TypeScript literal
19
- * union (e.g., `"doubleClick"`, `"setValue"`).
20
- */
21
- type StandardActionType =
22
- | "click"
23
- | "doubleClick"
24
- | "rightClick"
25
- | "type"
26
- | "clear"
27
- | "select"
28
- | "focus"
29
- | "blur"
30
- | "hover"
31
- | "scroll"
32
- | "check"
33
- | "uncheck"
34
- | "toggle"
35
- | "setValue"
36
- | "drag"
37
- | "submit"
38
- | "reset"
39
- | "wait"
1
+ /* eslint-disable */
2
+ /**
3
+ * This file was automatically generated.
4
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
5
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
+ */
7
+
8
+ /**
9
+ * All UI Bridge SDK standard actions plus workflow-level actions
10
+ * (`wait`, `navigate`).
11
+ *
12
+ * Parameterized actions: `click`, `doubleClick`, `rightClick`, `type`,
13
+ * `select`, `scroll`, `drag`.
14
+ * No-param actions: `clear`, `focus`, `blur`, `hover`, `check`, `uncheck`,
15
+ * `toggle`, `setValue`, `submit`, `reset`.
16
+ * Workflow-level actions: `wait`, `navigate`.
17
+ *
18
+ * Serialized as a bare camelCase string matching the TypeScript literal
19
+ * union (e.g., `"doubleClick"`, `"setValue"`).
20
+ */
21
+ type StandardActionType =
22
+ | "click"
23
+ | "doubleClick"
24
+ | "rightClick"
25
+ | "type"
26
+ | "clear"
27
+ | "select"
28
+ | "focus"
29
+ | "blur"
30
+ | "hover"
31
+ | "scroll"
32
+ | "check"
33
+ | "uncheck"
34
+ | "toggle"
35
+ | "setValue"
36
+ | "drag"
37
+ | "submit"
38
+ | "reset"
39
+ | "wait"
40
40
  | "navigate";
41
41
 
42
- /* eslint-disable */
43
- /**
44
- * This file was automatically generated.
45
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
46
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
47
- */
48
-
49
- /**
50
- * An (x, y) pixel offset used by the click-position and related parameters.
51
- */
52
- interface Point {
53
- /**
54
- * Horizontal offset in pixels.
55
- */
56
- x: number;
57
- /**
58
- * Vertical offset in pixels.
59
- */
60
- y: number;
42
+ /* eslint-disable */
43
+ /**
44
+ * This file was automatically generated.
45
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
46
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
47
+ */
48
+
49
+ /**
50
+ * An (x, y) pixel offset used by the click-position and related parameters.
51
+ */
52
+ interface Point {
53
+ /**
54
+ * Horizontal offset in pixels.
55
+ */
56
+ x: number;
57
+ /**
58
+ * Vertical offset in pixels.
59
+ */
60
+ y: number;
61
61
  }
62
62
 
63
- /* eslint-disable */
64
- /**
65
- * This file was automatically generated.
66
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
67
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
68
- */
69
-
70
- /**
71
- * Scroll direction for the `scroll` action.
72
- *
73
- * Serialized as a bare lowercase string.
74
- */
63
+ /* eslint-disable */
64
+ /**
65
+ * This file was automatically generated.
66
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
67
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
68
+ */
69
+
70
+ /**
71
+ * Scroll direction for the `scroll` action.
72
+ *
73
+ * Serialized as a bare lowercase string.
74
+ */
75
75
  type ScrollDirection = "up" | "down" | "left" | "right";
76
76
 
77
- /* eslint-disable */
78
- /**
79
- * This file was automatically generated.
80
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
81
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
82
- */
83
-
84
- /**
85
- * Mouse button for click actions.
86
- *
87
- * Serialized as a bare lowercase string.
88
- */
77
+ /* eslint-disable */
78
+ /**
79
+ * This file was automatically generated.
80
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
81
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
82
+ */
83
+
84
+ /**
85
+ * Mouse button for click actions.
86
+ *
87
+ * Serialized as a bare lowercase string.
88
+ */
89
89
  type MouseButton = "left" | "right" | "middle";
90
90
 
91
- /* eslint-disable */
92
- /**
93
- * This file was automatically generated.
94
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
95
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
96
- */
97
-
98
- /**
99
- * A value for `select` / `setValue` actions: either a single string or a list
100
- * of strings (for multi-select).
101
- *
102
- * Serialized as an untagged union matching the TS `string | string[]`.
103
- */
91
+ /* eslint-disable */
92
+ /**
93
+ * This file was automatically generated.
94
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
95
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
96
+ */
97
+
98
+ /**
99
+ * A value for `select` / `setValue` actions: either a single string or a list
100
+ * of strings (for multi-select).
101
+ *
102
+ * Serialized as an untagged union matching the TS `string | string[]`.
103
+ */
104
104
  type TransitionActionValue = string | string[];
105
105
 
106
- /* eslint-disable */
107
- /**
108
- * This file was automatically generated.
109
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
110
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
111
- */
112
-
113
-
114
-
115
- /**
116
- * A single action within a transition.
117
- *
118
- * Each action targets an element and performs an interaction. Most fields are
119
- * only meaningful for specific action types — see the per-field docs.
120
- */
121
- interface TransitionAction {
122
- /**
123
- * Mouse button: `left`, `right`, `middle`
124
- * (`click` / `doubleClick` / `rightClick`).
125
- */
126
- button?: MouseButton | null;
127
- /**
128
- * Clear before typing (`type` action).
129
- */
130
- clear_first?: boolean | null;
131
- /**
132
- * Delay in milliseconds (`wait` action).
133
- */
134
- delay_ms?: number | null;
135
- /**
136
- * Hold delay before the first move in milliseconds (`drag` action).
137
- */
138
- drag_hold_delay?: number | null;
139
- /**
140
- * Dispatch HTML5 drag events alongside mouse events (`drag` action).
141
- */
142
- drag_html5?: boolean | null;
143
- /**
144
- * Number of intermediate mousemove steps (`drag` action).
145
- */
146
- drag_steps?: number | null;
147
- /**
148
- * Drag target element ID or selector (`drag` action).
149
- */
150
- drag_target?: string | null;
151
- /**
152
- * Drag target position (e.g., `{ x, y }` stringified, or a named
153
- * position) (`drag` action).
154
- */
155
- drag_target_position?: string | null;
156
- /**
157
- * Click position relative to the element
158
- * (`click` / `doubleClick` / `rightClick`).
159
- */
160
- position?: Point | null;
161
- /**
162
- * Scroll amount in pixels (`scroll` action).
163
- */
164
- scroll_amount?: number | null;
165
- /**
166
- * Scroll direction (`scroll` action).
167
- */
168
- scroll_direction?: ScrollDirection | null;
169
- /**
170
- * Select by label instead of value (`select` action).
171
- */
172
- select_by_label?: boolean | null;
173
- /**
174
- * Target element ID (used by most element actions).
175
- */
176
- target?: string | null;
177
- /**
178
- * Text to type (`type` action).
179
- */
180
- text?: string | null;
181
- type: StandardActionType;
182
- /**
183
- * Keystroke delay in milliseconds (`type` action).
184
- */
185
- type_delay?: number | null;
186
- /**
187
- * URL to navigate to (`navigate` action).
188
- */
189
- url?: string | null;
190
- /**
191
- * Value to select or set (`select` / `setValue` actions).
192
- */
193
- value?: TransitionActionValue | null;
106
+ /* eslint-disable */
107
+ /**
108
+ * This file was automatically generated.
109
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
110
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
111
+ */
112
+
113
+
114
+
115
+ /**
116
+ * A single action within a transition.
117
+ *
118
+ * Each action targets an element and performs an interaction. Most fields are
119
+ * only meaningful for specific action types — see the per-field docs.
120
+ */
121
+ interface TransitionAction {
122
+ /**
123
+ * Mouse button: `left`, `right`, `middle`
124
+ * (`click` / `doubleClick` / `rightClick`).
125
+ */
126
+ button?: MouseButton | null;
127
+ /**
128
+ * Clear before typing (`type` action).
129
+ */
130
+ clear_first?: boolean | null;
131
+ /**
132
+ * Delay in milliseconds (`wait` action).
133
+ */
134
+ delay_ms?: number | null;
135
+ /**
136
+ * Hold delay before the first move in milliseconds (`drag` action).
137
+ */
138
+ drag_hold_delay?: number | null;
139
+ /**
140
+ * Dispatch HTML5 drag events alongside mouse events (`drag` action).
141
+ */
142
+ drag_html5?: boolean | null;
143
+ /**
144
+ * Number of intermediate mousemove steps (`drag` action).
145
+ */
146
+ drag_steps?: number | null;
147
+ /**
148
+ * Drag target element ID or selector (`drag` action).
149
+ */
150
+ drag_target?: string | null;
151
+ /**
152
+ * Drag target position (e.g., `{ x, y }` stringified, or a named
153
+ * position) (`drag` action).
154
+ */
155
+ drag_target_position?: string | null;
156
+ /**
157
+ * Click position relative to the element
158
+ * (`click` / `doubleClick` / `rightClick`).
159
+ */
160
+ position?: Point | null;
161
+ /**
162
+ * Scroll amount in pixels (`scroll` action).
163
+ */
164
+ scroll_amount?: number | null;
165
+ /**
166
+ * Scroll direction (`scroll` action).
167
+ */
168
+ scroll_direction?: ScrollDirection | null;
169
+ /**
170
+ * Select by label instead of value (`select` action).
171
+ */
172
+ select_by_label?: boolean | null;
173
+ /**
174
+ * Target element ID (used by most element actions).
175
+ */
176
+ target?: string | null;
177
+ /**
178
+ * Text to type (`type` action).
179
+ */
180
+ text?: string | null;
181
+ type: StandardActionType;
182
+ /**
183
+ * Keystroke delay in milliseconds (`type` action).
184
+ */
185
+ type_delay?: number | null;
186
+ /**
187
+ * URL to navigate to (`navigate` action).
188
+ */
189
+ url?: string | null;
190
+ /**
191
+ * Value to select or set (`select` / `setValue` actions).
192
+ */
193
+ value?: TransitionActionValue | null;
194
194
  }
195
195
 
196
- /* eslint-disable */
197
- /**
198
- * This file was automatically generated.
199
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
200
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
201
- */
202
-
203
- /**
204
- * A piece of domain knowledge attached to a state — free-form notes that
205
- * help the AI reason about what a state represents.
206
- */
207
- interface DomainKnowledge {
208
- /**
209
- * Full knowledge content (markdown or plain text).
210
- */
211
- content: string;
212
- /**
213
- * Unique identifier for this knowledge entry.
214
- */
215
- id: string;
216
- /**
217
- * Tags for filtering and grouping.
218
- */
219
- tags: string[];
220
- /**
221
- * Short title / headline.
222
- */
223
- title: string;
196
+ /* eslint-disable */
197
+ /**
198
+ * This file was automatically generated.
199
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
200
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
201
+ */
202
+
203
+ /**
204
+ * A piece of domain knowledge attached to a state — free-form notes that
205
+ * help the AI reason about what a state represents.
206
+ */
207
+ interface DomainKnowledge {
208
+ /**
209
+ * Full knowledge content (markdown or plain text).
210
+ */
211
+ content: string;
212
+ /**
213
+ * Unique identifier for this knowledge entry.
214
+ */
215
+ id: string;
216
+ /**
217
+ * Tags for filtering and grouping.
218
+ */
219
+ tags: string[];
220
+ /**
221
+ * Short title / headline.
222
+ */
223
+ title: string;
224
224
  }
225
225
 
226
- /* eslint-disable */
227
- /**
228
- * This file was automatically generated.
229
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
230
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
231
- */
232
-
233
- /**
234
- * A state machine configuration — a named collection of states and
235
- * transitions that describe the navigable structure of an application's UI.
236
- */
237
- interface StateMachineConfig {
238
- /**
239
- * ISO 8601 timestamp of creation.
240
- */
241
- created_at: string;
242
- /**
243
- * Optional description.
244
- */
245
- description?: string | null;
246
- /**
247
- * Number of unique elements discovered in this config.
248
- */
249
- element_count: number;
250
- /**
251
- * Unique identifier (UUID).
252
- */
253
- id: string;
254
- /**
255
- * Whether to include HTML IDs when generating selectors.
256
- */
257
- include_html_ids: boolean;
258
- /**
259
- * Display name.
260
- */
261
- name: string;
262
- /**
263
- * Number of DOM renders collected for this config.
264
- */
265
- render_count: number;
266
- /**
267
- * ISO 8601 timestamp of last modification.
268
- */
269
- updated_at: string;
226
+ /* eslint-disable */
227
+ /**
228
+ * This file was automatically generated.
229
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
230
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
231
+ */
232
+
233
+ /**
234
+ * A state machine configuration — a named collection of states and
235
+ * transitions that describe the navigable structure of an application's UI.
236
+ */
237
+ interface StateMachineConfig {
238
+ /**
239
+ * ISO 8601 timestamp of creation.
240
+ */
241
+ created_at: string;
242
+ /**
243
+ * Optional description.
244
+ */
245
+ description?: string | null;
246
+ /**
247
+ * Number of unique elements discovered in this config.
248
+ */
249
+ element_count: number;
250
+ /**
251
+ * Unique identifier (UUID).
252
+ */
253
+ id: string;
254
+ /**
255
+ * Whether to include HTML IDs when generating selectors.
256
+ */
257
+ include_html_ids: boolean;
258
+ /**
259
+ * Display name.
260
+ */
261
+ name: string;
262
+ /**
263
+ * Number of DOM renders collected for this config.
264
+ */
265
+ render_count: number;
266
+ /**
267
+ * ISO 8601 timestamp of last modification.
268
+ */
269
+ updated_at: string;
270
270
  }
271
271
 
272
- /* eslint-disable */
273
- /**
274
- * This file was automatically generated.
275
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
276
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
277
- */
278
-
279
- /**
280
- * Payload for creating a new state machine configuration.
281
- */
282
- interface StateMachineConfigCreate {
283
- /**
284
- * Optional description.
285
- */
286
- description?: string | null;
287
- /**
288
- * Display name.
289
- */
290
- name: string;
272
+ /* eslint-disable */
273
+ /**
274
+ * This file was automatically generated.
275
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
276
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
277
+ */
278
+
279
+ /**
280
+ * Payload for creating a new state machine configuration.
281
+ */
282
+ interface StateMachineConfigCreate {
283
+ /**
284
+ * Optional description.
285
+ */
286
+ description?: string | null;
287
+ /**
288
+ * Display name.
289
+ */
290
+ name: string;
291
291
  }
292
292
 
293
- /* eslint-disable */
294
- /**
295
- * This file was automatically generated.
296
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
297
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
298
- */
299
-
300
- /**
301
- * Payload for updating an existing state machine configuration.
302
- */
303
- interface StateMachineConfigUpdate {
304
- /**
305
- * New description.
306
- */
307
- description?: string | null;
308
- /**
309
- * New display name.
310
- */
311
- name?: string | null;
293
+ /* eslint-disable */
294
+ /**
295
+ * This file was automatically generated.
296
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
297
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
298
+ */
299
+
300
+ /**
301
+ * Payload for updating an existing state machine configuration.
302
+ */
303
+ interface StateMachineConfigUpdate {
304
+ /**
305
+ * New description.
306
+ */
307
+ description?: string | null;
308
+ /**
309
+ * New display name.
310
+ */
311
+ name?: string | null;
312
312
  }
313
313
 
314
- /* eslint-disable */
315
- /**
316
- * This file was automatically generated.
317
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
318
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
319
- */
320
-
321
-
322
-
323
- /**
324
- * A UI state, defined by which elements are present on screen.
325
- *
326
- * States are discovered via co-occurrence analysis of DOM snapshots.
327
- */
328
- interface StateMachineState {
329
- /**
330
- * Acceptance criteria for verifying the state is reached.
331
- */
332
- acceptance_criteria: string[];
333
- /**
334
- * Confidence score (0.0–1.0) from the discovery pass.
335
- */
336
- confidence: number;
337
- /**
338
- * Parent config ID.
339
- */
340
- config_id: string;
341
- /**
342
- * ISO 8601 timestamp of creation.
343
- */
344
- created_at: string;
345
- /**
346
- * Optional description.
347
- */
348
- description?: string | null;
349
- /**
350
- * Domain knowledge entries attached to this state.
351
- */
352
- domain_knowledge: DomainKnowledge[];
353
- /**
354
- * Element IDs that must be present for this state to be active.
355
- */
356
- element_ids: string[];
357
- /**
358
- * Free-form metadata bag.
359
- */
360
- extra_metadata: {
361
- [k: string]: unknown;
362
- };
363
- /**
364
- * Unique database identifier (UUID).
365
- */
366
- id: string;
367
- /**
368
- * Display name.
369
- */
370
- name: string;
371
- /**
372
- * Render IDs that contributed to discovering this state.
373
- */
374
- render_ids: string[];
375
- /**
376
- * Stable logical state ID (distinct from `id`; set by the user or
377
- * generator).
378
- */
379
- state_id: string;
380
- /**
381
- * ISO 8601 timestamp of last modification.
382
- */
383
- updated_at: string;
314
+ /* eslint-disable */
315
+ /**
316
+ * This file was automatically generated.
317
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
318
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
319
+ */
320
+
321
+
322
+
323
+ /**
324
+ * A UI state, defined by which elements are present on screen.
325
+ *
326
+ * States are discovered via co-occurrence analysis of DOM snapshots.
327
+ */
328
+ interface StateMachineState {
329
+ /**
330
+ * Acceptance criteria for verifying the state is reached.
331
+ */
332
+ acceptance_criteria: string[];
333
+ /**
334
+ * Confidence score (0.0–1.0) from the discovery pass.
335
+ */
336
+ confidence: number;
337
+ /**
338
+ * Parent config ID.
339
+ */
340
+ config_id: string;
341
+ /**
342
+ * ISO 8601 timestamp of creation.
343
+ */
344
+ created_at: string;
345
+ /**
346
+ * Optional description.
347
+ */
348
+ description?: string | null;
349
+ /**
350
+ * Domain knowledge entries attached to this state.
351
+ */
352
+ domain_knowledge: DomainKnowledge[];
353
+ /**
354
+ * Element IDs that must be present for this state to be active.
355
+ */
356
+ element_ids: string[];
357
+ /**
358
+ * Free-form metadata bag.
359
+ */
360
+ extra_metadata: {
361
+ [k: string]: unknown;
362
+ };
363
+ /**
364
+ * Unique database identifier (UUID).
365
+ */
366
+ id: string;
367
+ /**
368
+ * Display name.
369
+ */
370
+ name: string;
371
+ /**
372
+ * Render IDs that contributed to discovering this state.
373
+ */
374
+ render_ids: string[];
375
+ /**
376
+ * Stable logical state ID (distinct from `id`; set by the user or
377
+ * generator).
378
+ */
379
+ state_id: string;
380
+ /**
381
+ * ISO 8601 timestamp of last modification.
382
+ */
383
+ updated_at: string;
384
384
  }
385
385
 
386
- /* eslint-disable */
387
- /**
388
- * This file was automatically generated.
389
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
390
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
391
- */
392
-
393
-
394
-
395
- /**
396
- * A transition between states, consisting of one or more actions.
397
- *
398
- * Transitions define the edges of the state machine graph.
399
- */
400
- interface StateMachineTransition {
401
- /**
402
- * Ordered list of actions executed as part of this transition.
403
- */
404
- actions: TransitionAction[];
405
- /**
406
- * States activated when this transition fires.
407
- */
408
- activate_states: string[];
409
- /**
410
- * Parent config ID.
411
- */
412
- config_id: string;
413
- /**
414
- * ISO 8601 timestamp of creation.
415
- */
416
- created_at: string;
417
- /**
418
- * States exited when this transition fires.
419
- */
420
- exit_states: string[];
421
- /**
422
- * Free-form metadata bag.
423
- */
424
- extra_metadata: {
425
- [k: string]: unknown;
426
- };
427
- /**
428
- * States this transition may be taken from.
429
- */
430
- from_states: string[];
431
- /**
432
- * Unique database identifier (UUID).
433
- */
434
- id: string;
435
- /**
436
- * Display name.
437
- */
438
- name: string;
439
- /**
440
- * Cost used by pathfinding to prefer cheaper transitions.
441
- */
442
- path_cost: number;
443
- /**
444
- * Whether source states stay visible after activation.
445
- */
446
- stays_visible: boolean;
447
- /**
448
- * Stable logical transition ID (distinct from `id`).
449
- */
450
- transition_id: string;
451
- /**
452
- * ISO 8601 timestamp of last modification.
453
- */
454
- updated_at: string;
386
+ /* eslint-disable */
387
+ /**
388
+ * This file was automatically generated.
389
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
390
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
391
+ */
392
+
393
+
394
+
395
+ /**
396
+ * A transition between states, consisting of one or more actions.
397
+ *
398
+ * Transitions define the edges of the state machine graph.
399
+ */
400
+ interface StateMachineTransition {
401
+ /**
402
+ * Ordered list of actions executed as part of this transition.
403
+ */
404
+ actions: TransitionAction[];
405
+ /**
406
+ * States activated when this transition fires.
407
+ */
408
+ activate_states: string[];
409
+ /**
410
+ * Parent config ID.
411
+ */
412
+ config_id: string;
413
+ /**
414
+ * ISO 8601 timestamp of creation.
415
+ */
416
+ created_at: string;
417
+ /**
418
+ * States exited when this transition fires.
419
+ */
420
+ exit_states: string[];
421
+ /**
422
+ * Free-form metadata bag.
423
+ */
424
+ extra_metadata: {
425
+ [k: string]: unknown;
426
+ };
427
+ /**
428
+ * States this transition may be taken from.
429
+ */
430
+ from_states: string[];
431
+ /**
432
+ * Unique database identifier (UUID).
433
+ */
434
+ id: string;
435
+ /**
436
+ * Display name.
437
+ */
438
+ name: string;
439
+ /**
440
+ * Cost used by pathfinding to prefer cheaper transitions.
441
+ */
442
+ path_cost: number;
443
+ /**
444
+ * Whether source states stay visible after activation.
445
+ */
446
+ stays_visible: boolean;
447
+ /**
448
+ * Stable logical transition ID (distinct from `id`).
449
+ */
450
+ transition_id: string;
451
+ /**
452
+ * ISO 8601 timestamp of last modification.
453
+ */
454
+ updated_at: string;
455
455
  }
456
456
 
457
- /* eslint-disable */
458
- /**
459
- * This file was automatically generated.
460
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
461
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
462
- */
463
-
464
-
465
-
466
- /**
467
- * A config with all its states and transitions loaded.
468
- *
469
- * Used when the full state machine needs to be displayed or exported. This
470
- * mirrors the TypeScript `StateMachineConfigFull extends StateMachineConfig`
471
- * by flattening the base config's fields via `#[serde(flatten)]`.
472
- */
473
- interface StateMachineConfigFull {
474
- /**
475
- * ISO 8601 timestamp of creation.
476
- */
477
- created_at: string;
478
- /**
479
- * Optional description.
480
- */
481
- description?: string | null;
482
- /**
483
- * Number of unique elements discovered in this config.
484
- */
485
- element_count: number;
486
- /**
487
- * Unique identifier (UUID).
488
- */
489
- id: string;
490
- /**
491
- * Whether to include HTML IDs when generating selectors.
492
- */
493
- include_html_ids: boolean;
494
- /**
495
- * Display name.
496
- */
497
- name: string;
498
- /**
499
- * Number of DOM renders collected for this config.
500
- */
501
- render_count: number;
502
- /**
503
- * All states belonging to this config.
504
- */
505
- states: StateMachineState[];
506
- /**
507
- * All transitions belonging to this config.
508
- */
509
- transitions: StateMachineTransition[];
510
- /**
511
- * ISO 8601 timestamp of last modification.
512
- */
513
- updated_at: string;
514
- [k: string]: unknown;
457
+ /* eslint-disable */
458
+ /**
459
+ * This file was automatically generated.
460
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
461
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
462
+ */
463
+
464
+
465
+
466
+ /**
467
+ * A config with all its states and transitions loaded.
468
+ *
469
+ * Used when the full state machine needs to be displayed or exported. This
470
+ * mirrors the TypeScript `StateMachineConfigFull extends StateMachineConfig`
471
+ * by flattening the base config's fields via `#[serde(flatten)]`.
472
+ */
473
+ interface StateMachineConfigFull {
474
+ /**
475
+ * ISO 8601 timestamp of creation.
476
+ */
477
+ created_at: string;
478
+ /**
479
+ * Optional description.
480
+ */
481
+ description?: string | null;
482
+ /**
483
+ * Number of unique elements discovered in this config.
484
+ */
485
+ element_count: number;
486
+ /**
487
+ * Unique identifier (UUID).
488
+ */
489
+ id: string;
490
+ /**
491
+ * Whether to include HTML IDs when generating selectors.
492
+ */
493
+ include_html_ids: boolean;
494
+ /**
495
+ * Display name.
496
+ */
497
+ name: string;
498
+ /**
499
+ * Number of DOM renders collected for this config.
500
+ */
501
+ render_count: number;
502
+ /**
503
+ * All states belonging to this config.
504
+ */
505
+ states: StateMachineState[];
506
+ /**
507
+ * All transitions belonging to this config.
508
+ */
509
+ transitions: StateMachineTransition[];
510
+ /**
511
+ * ISO 8601 timestamp of last modification.
512
+ */
513
+ updated_at: string;
514
+ [k: string]: unknown;
515
515
  }
516
516
 
517
- /* eslint-disable */
518
- /**
519
- * This file was automatically generated.
520
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
521
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
522
- */
523
-
524
-
525
-
526
- /**
527
- * Payload for creating a new state within a config.
528
- */
529
- interface StateMachineStateCreate {
530
- /**
531
- * Acceptance criteria.
532
- */
533
- acceptance_criteria?: string[] | null;
534
- /**
535
- * Initial confidence score.
536
- */
537
- confidence?: number | null;
538
- /**
539
- * Optional description.
540
- */
541
- description?: string | null;
542
- /**
543
- * Domain knowledge entries.
544
- */
545
- domain_knowledge?: DomainKnowledge[] | null;
546
- /**
547
- * Element IDs that define this state.
548
- */
549
- element_ids?: string[] | null;
550
- /**
551
- * Free-form metadata bag.
552
- */
553
- extra_metadata?: {
554
- [k: string]: unknown;
555
- } | null;
556
- /**
557
- * Display name.
558
- */
559
- name: string;
560
- /**
561
- * Render IDs associated with this state.
562
- */
563
- render_ids?: string[] | null;
564
- /**
565
- * Optional stable logical state ID (generated if omitted).
566
- */
567
- state_id?: string | null;
517
+ /* eslint-disable */
518
+ /**
519
+ * This file was automatically generated.
520
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
521
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
522
+ */
523
+
524
+
525
+
526
+ /**
527
+ * Payload for creating a new state within a config.
528
+ */
529
+ interface StateMachineStateCreate {
530
+ /**
531
+ * Acceptance criteria.
532
+ */
533
+ acceptance_criteria?: string[] | null;
534
+ /**
535
+ * Initial confidence score.
536
+ */
537
+ confidence?: number | null;
538
+ /**
539
+ * Optional description.
540
+ */
541
+ description?: string | null;
542
+ /**
543
+ * Domain knowledge entries.
544
+ */
545
+ domain_knowledge?: DomainKnowledge[] | null;
546
+ /**
547
+ * Element IDs that define this state.
548
+ */
549
+ element_ids?: string[] | null;
550
+ /**
551
+ * Free-form metadata bag.
552
+ */
553
+ extra_metadata?: {
554
+ [k: string]: unknown;
555
+ } | null;
556
+ /**
557
+ * Display name.
558
+ */
559
+ name: string;
560
+ /**
561
+ * Render IDs associated with this state.
562
+ */
563
+ render_ids?: string[] | null;
564
+ /**
565
+ * Optional stable logical state ID (generated if omitted).
566
+ */
567
+ state_id?: string | null;
568
568
  }
569
569
 
570
- /* eslint-disable */
571
- /**
572
- * This file was automatically generated.
573
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
574
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
575
- */
576
-
577
-
578
-
579
- /**
580
- * Payload for updating an existing state.
581
- */
582
- interface StateMachineStateUpdate {
583
- /**
584
- * New acceptance criteria.
585
- */
586
- acceptance_criteria?: string[] | null;
587
- /**
588
- * New confidence score.
589
- */
590
- confidence?: number | null;
591
- /**
592
- * New description.
593
- */
594
- description?: string | null;
595
- /**
596
- * New domain knowledge entries.
597
- */
598
- domain_knowledge?: DomainKnowledge[] | null;
599
- /**
600
- * New element ID set.
601
- */
602
- element_ids?: string[] | null;
603
- /**
604
- * New metadata bag.
605
- */
606
- extra_metadata?: {
607
- [k: string]: unknown;
608
- } | null;
609
- /**
610
- * New display name.
611
- */
612
- name?: string | null;
613
- /**
614
- * New render ID set.
615
- */
616
- render_ids?: string[] | null;
570
+ /* eslint-disable */
571
+ /**
572
+ * This file was automatically generated.
573
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
574
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
575
+ */
576
+
577
+
578
+
579
+ /**
580
+ * Payload for updating an existing state.
581
+ */
582
+ interface StateMachineStateUpdate {
583
+ /**
584
+ * New acceptance criteria.
585
+ */
586
+ acceptance_criteria?: string[] | null;
587
+ /**
588
+ * New confidence score.
589
+ */
590
+ confidence?: number | null;
591
+ /**
592
+ * New description.
593
+ */
594
+ description?: string | null;
595
+ /**
596
+ * New domain knowledge entries.
597
+ */
598
+ domain_knowledge?: DomainKnowledge[] | null;
599
+ /**
600
+ * New element ID set.
601
+ */
602
+ element_ids?: string[] | null;
603
+ /**
604
+ * New metadata bag.
605
+ */
606
+ extra_metadata?: {
607
+ [k: string]: unknown;
608
+ } | null;
609
+ /**
610
+ * New display name.
611
+ */
612
+ name?: string | null;
613
+ /**
614
+ * New render ID set.
615
+ */
616
+ render_ids?: string[] | null;
617
617
  }
618
618
 
619
- /* eslint-disable */
620
- /**
621
- * This file was automatically generated.
622
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
623
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
624
- */
625
-
626
-
627
-
628
- /**
629
- * Payload for creating a new transition.
630
- */
631
- interface StateMachineTransitionCreate {
632
- /**
633
- * Ordered list of actions executed as part of this transition.
634
- */
635
- actions: TransitionAction[];
636
- /**
637
- * States activated when this transition fires.
638
- */
639
- activate_states: string[];
640
- /**
641
- * States exited when this transition fires.
642
- */
643
- exit_states: string[];
644
- /**
645
- * Free-form metadata bag.
646
- */
647
- extra_metadata?: {
648
- [k: string]: unknown;
649
- } | null;
650
- /**
651
- * States this transition may be taken from.
652
- */
653
- from_states: string[];
654
- /**
655
- * Display name.
656
- */
657
- name: string;
658
- /**
659
- * Cost used by pathfinding.
660
- */
661
- path_cost?: number | null;
662
- /**
663
- * Whether source states stay visible after activation.
664
- */
665
- stays_visible?: boolean | null;
619
+ /* eslint-disable */
620
+ /**
621
+ * This file was automatically generated.
622
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
623
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
624
+ */
625
+
626
+
627
+
628
+ /**
629
+ * Payload for creating a new transition.
630
+ */
631
+ interface StateMachineTransitionCreate {
632
+ /**
633
+ * Ordered list of actions executed as part of this transition.
634
+ */
635
+ actions: TransitionAction[];
636
+ /**
637
+ * States activated when this transition fires.
638
+ */
639
+ activate_states: string[];
640
+ /**
641
+ * States exited when this transition fires.
642
+ */
643
+ exit_states: string[];
644
+ /**
645
+ * Free-form metadata bag.
646
+ */
647
+ extra_metadata?: {
648
+ [k: string]: unknown;
649
+ } | null;
650
+ /**
651
+ * States this transition may be taken from.
652
+ */
653
+ from_states: string[];
654
+ /**
655
+ * Display name.
656
+ */
657
+ name: string;
658
+ /**
659
+ * Cost used by pathfinding.
660
+ */
661
+ path_cost?: number | null;
662
+ /**
663
+ * Whether source states stay visible after activation.
664
+ */
665
+ stays_visible?: boolean | null;
666
666
  }
667
667
 
668
- /* eslint-disable */
669
- /**
670
- * This file was automatically generated.
671
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
672
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
673
- */
674
-
675
-
676
-
677
- /**
678
- * Payload for updating an existing transition.
679
- */
680
- interface StateMachineTransitionUpdate {
681
- /**
682
- * New action list.
683
- */
684
- actions?: TransitionAction[] | null;
685
- /**
686
- * New "activate" states.
687
- */
688
- activate_states?: string[] | null;
689
- /**
690
- * New "exit" states.
691
- */
692
- exit_states?: string[] | null;
693
- /**
694
- * New metadata bag.
695
- */
696
- extra_metadata?: {
697
- [k: string]: unknown;
698
- } | null;
699
- /**
700
- * New "from" states.
701
- */
702
- from_states?: string[] | null;
703
- /**
704
- * New display name.
705
- */
706
- name?: string | null;
707
- /**
708
- * New path cost.
709
- */
710
- path_cost?: number | null;
711
- /**
712
- * New stays-visible flag.
713
- */
714
- stays_visible?: boolean | null;
668
+ /* eslint-disable */
669
+ /**
670
+ * This file was automatically generated.
671
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
672
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
673
+ */
674
+
675
+
676
+
677
+ /**
678
+ * Payload for updating an existing transition.
679
+ */
680
+ interface StateMachineTransitionUpdate {
681
+ /**
682
+ * New action list.
683
+ */
684
+ actions?: TransitionAction[] | null;
685
+ /**
686
+ * New "activate" states.
687
+ */
688
+ activate_states?: string[] | null;
689
+ /**
690
+ * New "exit" states.
691
+ */
692
+ exit_states?: string[] | null;
693
+ /**
694
+ * New metadata bag.
695
+ */
696
+ extra_metadata?: {
697
+ [k: string]: unknown;
698
+ } | null;
699
+ /**
700
+ * New "from" states.
701
+ */
702
+ from_states?: string[] | null;
703
+ /**
704
+ * New display name.
705
+ */
706
+ name?: string | null;
707
+ /**
708
+ * New path cost.
709
+ */
710
+ path_cost?: number | null;
711
+ /**
712
+ * New stays-visible flag.
713
+ */
714
+ stays_visible?: boolean | null;
715
715
  }
716
716
 
717
- /* eslint-disable */
718
- /**
719
- * This file was automatically generated.
720
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
721
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
722
- */
723
-
724
- /**
725
- * Request to compute a path between state sets.
726
- *
727
- * The pathfinding types are for the graph editor's path-preview feature.
728
- * Runtime navigation uses the qontinui Python library (`multistate`)
729
- * directly.
730
- */
731
- interface PathfindingRequest {
732
- /**
733
- * States assumed to be active at the start of the search.
734
- */
735
- from_states: string[];
736
- /**
737
- * States that must all be active at the end.
738
- */
739
- target_states: string[];
717
+ /* eslint-disable */
718
+ /**
719
+ * This file was automatically generated.
720
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
721
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
722
+ */
723
+
724
+ /**
725
+ * Request to compute a path between state sets.
726
+ *
727
+ * The pathfinding types are for the graph editor's path-preview feature.
728
+ * Runtime navigation uses the qontinui Python library (`multistate`)
729
+ * directly.
730
+ */
731
+ interface PathfindingRequest {
732
+ /**
733
+ * States assumed to be active at the start of the search.
734
+ */
735
+ from_states: string[];
736
+ /**
737
+ * States that must all be active at the end.
738
+ */
739
+ target_states: string[];
740
740
  }
741
741
 
742
- /* eslint-disable */
743
- /**
744
- * This file was automatically generated.
745
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
746
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
747
- */
748
-
749
- /**
750
- * A single step on a computed path.
751
- */
752
- interface PathfindingStep {
753
- /**
754
- * States activated by this step.
755
- */
756
- activate_states: string[];
757
- /**
758
- * States exited by this step.
759
- */
760
- exit_states: string[];
761
- /**
762
- * States required to be active before this step.
763
- */
764
- from_states: string[];
765
- /**
766
- * Cost of this step.
767
- */
768
- path_cost: number;
769
- /**
770
- * Logical transition ID taken in this step.
771
- */
772
- transition_id: string;
773
- /**
774
- * Display name of the transition.
775
- */
776
- transition_name: string;
742
+ /* eslint-disable */
743
+ /**
744
+ * This file was automatically generated.
745
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
746
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
747
+ */
748
+
749
+ /**
750
+ * A single step on a computed path.
751
+ */
752
+ interface PathfindingStep {
753
+ /**
754
+ * States activated by this step.
755
+ */
756
+ activate_states: string[];
757
+ /**
758
+ * States exited by this step.
759
+ */
760
+ exit_states: string[];
761
+ /**
762
+ * States required to be active before this step.
763
+ */
764
+ from_states: string[];
765
+ /**
766
+ * Cost of this step.
767
+ */
768
+ path_cost: number;
769
+ /**
770
+ * Logical transition ID taken in this step.
771
+ */
772
+ transition_id: string;
773
+ /**
774
+ * Display name of the transition.
775
+ */
776
+ transition_name: string;
777
777
  }
778
778
 
779
- /* eslint-disable */
780
- /**
781
- * This file was automatically generated.
782
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
783
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
784
- */
785
-
786
-
787
-
788
- /**
789
- * Result of a pathfinding search.
790
- */
791
- interface PathfindingResult {
792
- /**
793
- * Error message when pathfinding failed.
794
- */
795
- error?: string | null;
796
- /**
797
- * Whether a valid path was found.
798
- */
799
- found: boolean;
800
- /**
801
- * Ordered steps on the computed path (empty when `found` is `false`).
802
- */
803
- steps: PathfindingStep[];
804
- /**
805
- * Sum of `path_cost` across steps.
806
- */
807
- total_cost: number;
779
+ /* eslint-disable */
780
+ /**
781
+ * This file was automatically generated.
782
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
783
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
784
+ */
785
+
786
+
787
+
788
+ /**
789
+ * Result of a pathfinding search.
790
+ */
791
+ interface PathfindingResult {
792
+ /**
793
+ * Error message when pathfinding failed.
794
+ */
795
+ error?: string | null;
796
+ /**
797
+ * Whether a valid path was found.
798
+ */
799
+ found: boolean;
800
+ /**
801
+ * Ordered steps on the computed path (empty when `found` is `false`).
802
+ */
803
+ steps: PathfindingStep[];
804
+ /**
805
+ * Sum of `path_cost` across steps.
806
+ */
807
+ total_cost: number;
808
808
  }
809
809
 
810
- /* eslint-disable */
811
- /**
812
- * This file was automatically generated.
813
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
814
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
815
- */
816
-
817
- /**
818
- * Result of executing a single state transition at runtime.
819
- *
820
- * Returned by the runner's Tauri commands or the qontinui Python subprocess.
821
- */
822
- interface TransitionExecutionResult {
823
- /**
824
- * States that are active after the transition.
825
- */
826
- active_states: string[];
827
- /**
828
- * Error message when execution failed.
829
- */
830
- error?: string | null;
831
- /**
832
- * Whether the transition executed successfully.
833
- */
834
- success: boolean;
835
- /**
836
- * Logical transition ID that was executed.
837
- */
838
- transition_id: string;
810
+ /* eslint-disable */
811
+ /**
812
+ * This file was automatically generated.
813
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
814
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
815
+ */
816
+
817
+ /**
818
+ * Result of executing a single state transition at runtime.
819
+ *
820
+ * Returned by the runner's Tauri commands or the qontinui Python subprocess.
821
+ */
822
+ interface TransitionExecutionResult {
823
+ /**
824
+ * States that are active after the transition.
825
+ */
826
+ active_states: string[];
827
+ /**
828
+ * Error message when execution failed.
829
+ */
830
+ error?: string | null;
831
+ /**
832
+ * Whether the transition executed successfully.
833
+ */
834
+ success: boolean;
835
+ /**
836
+ * Logical transition ID that was executed.
837
+ */
838
+ transition_id: string;
839
839
  }
840
840
 
841
- /* eslint-disable */
842
- /**
843
- * This file was automatically generated.
844
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
845
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
846
- */
847
-
848
- /**
849
- * Result of navigating to one or more target states.
850
- *
851
- * Navigation uses multistate pathfinding to determine the optimal path.
852
- * Nested `results` allow a single top-level navigation to fan out to several
853
- * targets and report per-target outcomes.
854
- */
855
- interface NavigationResult {
856
- /**
857
- * States active after the navigation completed.
858
- */
859
- active_states: string[];
860
- /**
861
- * Error message when navigation failed.
862
- */
863
- error?: string | null;
864
- /**
865
- * Ordered list of state IDs visited.
866
- */
867
- path: string[];
868
- /**
869
- * Per-target sub-results for fan-out navigation.
870
- */
871
- results?: NavigationResult[] | null;
872
- /**
873
- * Whether the overall navigation succeeded.
874
- */
875
- success: boolean;
876
- /**
877
- * Target state for this navigation branch (if applicable).
878
- */
879
- target_state?: string | null;
841
+ /* eslint-disable */
842
+ /**
843
+ * This file was automatically generated.
844
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
845
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
846
+ */
847
+
848
+ /**
849
+ * Result of navigating to one or more target states.
850
+ *
851
+ * Navigation uses multistate pathfinding to determine the optimal path.
852
+ * Nested `results` allow a single top-level navigation to fan out to several
853
+ * targets and report per-target outcomes.
854
+ */
855
+ interface NavigationResult {
856
+ /**
857
+ * States active after the navigation completed.
858
+ */
859
+ active_states: string[];
860
+ /**
861
+ * Error message when navigation failed.
862
+ */
863
+ error?: string | null;
864
+ /**
865
+ * Ordered list of state IDs visited.
866
+ */
867
+ path: string[];
868
+ /**
869
+ * Per-target sub-results for fan-out navigation.
870
+ */
871
+ results?: NavigationResult[] | null;
872
+ /**
873
+ * Whether the overall navigation succeeded.
874
+ */
875
+ success: boolean;
876
+ /**
877
+ * Target state for this navigation branch (if applicable).
878
+ */
879
+ target_state?: string | null;
880
880
  }
881
881
 
882
- /* eslint-disable */
883
- /**
884
- * This file was automatically generated.
885
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
886
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
887
- */
888
-
889
- /**
890
- * Result of querying currently active states in the state machine.
891
- */
892
- interface ActiveStatesResult {
893
- /**
894
- * State IDs currently active.
895
- */
896
- active_states: string[];
897
- /**
898
- * The "primary" current state, when one can be singled out.
899
- */
900
- current_state?: string | null;
901
- /**
902
- * Error message when the query failed.
903
- */
904
- error?: string | null;
905
- /**
906
- * Ordered history of states the machine has passed through.
907
- */
908
- state_history?: string[] | null;
909
- /**
910
- * Whether the query succeeded.
911
- */
912
- success: boolean;
882
+ /* eslint-disable */
883
+ /**
884
+ * This file was automatically generated.
885
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
886
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
887
+ */
888
+
889
+ /**
890
+ * Result of querying currently active states in the state machine.
891
+ */
892
+ interface ActiveStatesResult {
893
+ /**
894
+ * State IDs currently active.
895
+ */
896
+ active_states: string[];
897
+ /**
898
+ * The "primary" current state, when one can be singled out.
899
+ */
900
+ current_state?: string | null;
901
+ /**
902
+ * Error message when the query failed.
903
+ */
904
+ error?: string | null;
905
+ /**
906
+ * Ordered history of states the machine has passed through.
907
+ */
908
+ state_history?: string[] | null;
909
+ /**
910
+ * Whether the query succeeded.
911
+ */
912
+ success: boolean;
913
913
  }
914
914
 
915
- /* eslint-disable */
916
- /**
917
- * This file was automatically generated.
918
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
919
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
920
- */
921
-
922
- /**
923
- * Information about a single available transition from the current state.
924
- */
925
- interface TransitionInfo {
926
- /**
927
- * Source state ID.
928
- */
929
- from_state: string;
930
- /**
931
- * Transition ID.
932
- */
933
- id: string;
934
- /**
935
- * Destination state ID (`null` if the transition stays within the same
936
- * state set — e.g. a self-transition or a guard-only action).
937
- */
938
- to_state: string | null;
939
- /**
940
- * Names of workflows attached to this transition.
941
- */
942
- workflows: string[];
915
+ /* eslint-disable */
916
+ /**
917
+ * This file was automatically generated.
918
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
919
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
920
+ */
921
+
922
+ /**
923
+ * Information about a single available transition from the current state.
924
+ */
925
+ interface TransitionInfo {
926
+ /**
927
+ * Source state ID.
928
+ */
929
+ from_state: string;
930
+ /**
931
+ * Transition ID.
932
+ */
933
+ id: string;
934
+ /**
935
+ * Destination state ID (`null` if the transition stays within the same
936
+ * state set — e.g. a self-transition or a guard-only action).
937
+ */
938
+ to_state: string | null;
939
+ /**
940
+ * Names of workflows attached to this transition.
941
+ */
942
+ workflows: string[];
943
943
  }
944
944
 
945
- /* eslint-disable */
946
- /**
947
- * This file was automatically generated.
948
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
949
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
950
- */
951
-
952
-
953
-
954
- /**
955
- * Result of querying available transitions from the current state.
956
- */
957
- interface AvailableTransitionsResult {
958
- /**
959
- * The state the transitions are taken from.
960
- */
961
- current_state?: string | null;
962
- /**
963
- * Error message when the query failed.
964
- */
965
- error?: string | null;
966
- /**
967
- * Human-readable message (e.g., "no transitions available").
968
- */
969
- message?: string | null;
970
- /**
971
- * Whether the query succeeded.
972
- */
973
- success: boolean;
974
- /**
975
- * Transitions available from the current state.
976
- */
977
- transitions: TransitionInfo[];
945
+ /* eslint-disable */
946
+ /**
947
+ * This file was automatically generated.
948
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
949
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
950
+ */
951
+
952
+
953
+
954
+ /**
955
+ * Result of querying available transitions from the current state.
956
+ */
957
+ interface AvailableTransitionsResult {
958
+ /**
959
+ * The state the transitions are taken from.
960
+ */
961
+ current_state?: string | null;
962
+ /**
963
+ * Error message when the query failed.
964
+ */
965
+ error?: string | null;
966
+ /**
967
+ * Human-readable message (e.g., "no transitions available").
968
+ */
969
+ message?: string | null;
970
+ /**
971
+ * Whether the query succeeded.
972
+ */
973
+ success: boolean;
974
+ /**
975
+ * Transitions available from the current state.
976
+ */
977
+ transitions: TransitionInfo[];
978
978
  }
979
979
 
980
- /* eslint-disable */
981
- /**
982
- * This file was automatically generated.
983
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
984
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
985
- */
986
-
987
- /**
988
- * Source of initial states configuration.
989
- *
990
- * - `Defaults`: states with `is_initial=true` in the state machine definition
991
- * - `Workflow`: initial states defined on the workflow (`initialStateIds`)
992
- * - `Override`: session-only override from the runner UI
993
- *
994
- * Serialized as a bare lowercase string (`"defaults"` / `"workflow"` /
995
- * `"override"`) to match the TS literal union.
996
- */
980
+ /* eslint-disable */
981
+ /**
982
+ * This file was automatically generated.
983
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
984
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
985
+ */
986
+
987
+ /**
988
+ * Source of initial states configuration.
989
+ *
990
+ * - `Defaults`: states with `is_initial=true` in the state machine definition
991
+ * - `Workflow`: initial states defined on the workflow (`initialStateIds`)
992
+ * - `Override`: session-only override from the runner UI
993
+ *
994
+ * Serialized as a bare lowercase string (`"defaults"` / `"workflow"` /
995
+ * `"override"`) to match the TS literal union.
996
+ */
997
997
  type InitialStatesSource = "defaults" | "workflow" | "override";
998
998
 
999
- /* eslint-disable */
1000
- /**
1001
- * This file was automatically generated.
1002
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1003
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1004
- */
1005
-
1006
- /**
1007
- * A lightweight reference to a state by id and display name.
1008
- *
1009
- * Used in [`ResolvedInitialStates`] and [`ResolvedInitialStatesResult`] to
1010
- * let the UI render human-readable lists without a separate lookup.
1011
- */
1012
- interface InitialStateRef {
1013
- /**
1014
- * State ID.
1015
- */
1016
- id: string;
1017
- /**
1018
- * Display name.
1019
- */
1020
- name: string;
999
+ /* eslint-disable */
1000
+ /**
1001
+ * This file was automatically generated.
1002
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1003
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1004
+ */
1005
+
1006
+ /**
1007
+ * A lightweight reference to a state by id and display name.
1008
+ *
1009
+ * Used in [`ResolvedInitialStates`] and [`ResolvedInitialStatesResult`] to
1010
+ * let the UI render human-readable lists without a separate lookup.
1011
+ */
1012
+ interface InitialStateRef {
1013
+ /**
1014
+ * State ID.
1015
+ */
1016
+ id: string;
1017
+ /**
1018
+ * Display name.
1019
+ */
1020
+ name: string;
1021
1021
  }
1022
1022
 
1023
- /* eslint-disable */
1024
- /**
1025
- * This file was automatically generated.
1026
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1027
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1028
- */
1029
-
1030
-
1031
-
1032
- /**
1033
- * The resolved set of initial states for a run, along with the source the
1034
- * resolution came from.
1035
- */
1036
- interface ResolvedInitialStates {
1037
- source: InitialStatesSource;
1038
- /**
1039
- * Resolved initial state IDs.
1040
- */
1041
- stateIds: string[];
1042
- /**
1043
- * Display-ready references for each state (optional).
1044
- */
1045
- states?: InitialStateRef[] | null;
1046
- /**
1047
- * Workflow ID when `source == Workflow`.
1048
- */
1049
- workflowId?: string | null;
1023
+ /* eslint-disable */
1024
+ /**
1025
+ * This file was automatically generated.
1026
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1027
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1028
+ */
1029
+
1030
+
1031
+
1032
+ /**
1033
+ * The resolved set of initial states for a run, along with the source the
1034
+ * resolution came from.
1035
+ */
1036
+ interface ResolvedInitialStates {
1037
+ source: InitialStatesSource;
1038
+ /**
1039
+ * Resolved initial state IDs.
1040
+ */
1041
+ stateIds: string[];
1042
+ /**
1043
+ * Display-ready references for each state (optional).
1044
+ */
1045
+ states?: InitialStateRef[] | null;
1046
+ /**
1047
+ * Workflow ID when `source == Workflow`.
1048
+ */
1049
+ workflowId?: string | null;
1050
1050
  }
1051
1051
 
1052
- /* eslint-disable */
1053
- /**
1054
- * This file was automatically generated.
1055
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1056
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1057
- */
1058
-
1059
-
1060
-
1061
- /**
1062
- * Result envelope for the "resolve initial states" operation.
1063
- *
1064
- * Unlike [`ResolvedInitialStates`], this shape is non-optional: `states` and
1065
- * `workflowId` are always present (possibly empty), and a `success` / `error`
1066
- * pair is provided.
1067
- */
1068
- interface ResolvedInitialStatesResult {
1069
- /**
1070
- * Error message when resolution failed.
1071
- */
1072
- error?: string | null;
1073
- source: InitialStatesSource;
1074
- /**
1075
- * Resolved initial state IDs.
1076
- */
1077
- stateIds: string[];
1078
- /**
1079
- * Display-ready references for each state.
1080
- */
1081
- states: InitialStateRef[];
1082
- /**
1083
- * Whether resolution succeeded.
1084
- */
1085
- success: boolean;
1086
- /**
1087
- * Workflow ID (may be empty).
1088
- */
1089
- workflowId: string;
1052
+ /* eslint-disable */
1053
+ /**
1054
+ * This file was automatically generated.
1055
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1056
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1057
+ */
1058
+
1059
+
1060
+
1061
+ /**
1062
+ * Result envelope for the "resolve initial states" operation.
1063
+ *
1064
+ * Unlike [`ResolvedInitialStates`], this shape is non-optional: `states` and
1065
+ * `workflowId` are always present (possibly empty), and a `success` / `error`
1066
+ * pair is provided.
1067
+ */
1068
+ interface ResolvedInitialStatesResult {
1069
+ /**
1070
+ * Error message when resolution failed.
1071
+ */
1072
+ error?: string | null;
1073
+ source: InitialStatesSource;
1074
+ /**
1075
+ * Resolved initial state IDs.
1076
+ */
1077
+ stateIds: string[];
1078
+ /**
1079
+ * Display-ready references for each state.
1080
+ */
1081
+ states: InitialStateRef[];
1082
+ /**
1083
+ * Whether resolution succeeded.
1084
+ */
1085
+ success: boolean;
1086
+ /**
1087
+ * Workflow ID (may be empty).
1088
+ */
1089
+ workflowId: string;
1090
1090
  }
1091
1091
 
1092
- /* eslint-disable */
1093
- /**
1094
- * This file was automatically generated.
1095
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1096
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1097
- */
1098
-
1099
- /**
1100
- * Strategy used by the state-discovery pass.
1101
- *
1102
- * Serialized as a bare lowercase string.
1103
- */
1092
+ /* eslint-disable */
1093
+ /**
1094
+ * This file was automatically generated.
1095
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1096
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1097
+ */
1098
+
1099
+ /**
1100
+ * Strategy used by the state-discovery pass.
1101
+ *
1102
+ * Serialized as a bare lowercase string.
1103
+ */
1104
1104
  type DiscoveryStrategy = "auto" | "fingerprint";
1105
1105
 
1106
- /* eslint-disable */
1107
- /**
1108
- * This file was automatically generated.
1109
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1110
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1111
- */
1112
-
1113
-
1114
-
1115
- /**
1116
- * Data passed to a transition edge in the ReactFlow graph editor.
1117
- */
1118
- interface TransitionEdgeData {
1119
- /**
1120
- * Number of actions in this transition.
1121
- */
1122
- actionCount: number;
1123
- /**
1124
- * Distinct action types used.
1125
- */
1126
- actionTypes: StandardActionType[];
1127
- /**
1128
- * Target of the first action, for label rendering.
1129
- */
1130
- firstActionTarget?: string | null;
1131
- /**
1132
- * Whether the edge is highlighted (e.g., part of a path preview).
1133
- */
1134
- isHighlighted: boolean;
1135
- /**
1136
- * Display name.
1137
- */
1138
- name: string;
1139
- /**
1140
- * Path cost.
1141
- */
1142
- pathCost: number;
1143
- /**
1144
- * Whether source states stay visible after activation.
1145
- */
1146
- staysVisible: boolean;
1147
- /**
1148
- * Transition ID this edge represents.
1149
- */
1150
- transitionId: string;
1106
+ /* eslint-disable */
1107
+ /**
1108
+ * This file was automatically generated.
1109
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1110
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1111
+ */
1112
+
1113
+
1114
+
1115
+ /**
1116
+ * Data passed to a transition edge in the ReactFlow graph editor.
1117
+ */
1118
+ interface TransitionEdgeData {
1119
+ /**
1120
+ * Number of actions in this transition.
1121
+ */
1122
+ actionCount: number;
1123
+ /**
1124
+ * Distinct action types used.
1125
+ */
1126
+ actionTypes: StandardActionType[];
1127
+ /**
1128
+ * Target of the first action, for label rendering.
1129
+ */
1130
+ firstActionTarget?: string | null;
1131
+ /**
1132
+ * Whether the edge is highlighted (e.g., part of a path preview).
1133
+ */
1134
+ isHighlighted: boolean;
1135
+ /**
1136
+ * Display name.
1137
+ */
1138
+ name: string;
1139
+ /**
1140
+ * Path cost.
1141
+ */
1142
+ pathCost: number;
1143
+ /**
1144
+ * Whether source states stay visible after activation.
1145
+ */
1146
+ staysVisible: boolean;
1147
+ /**
1148
+ * Transition ID this edge represents.
1149
+ */
1150
+ transitionId: string;
1151
1151
  }
1152
1152
 
1153
- /* eslint-disable */
1154
- /**
1155
- * This file was automatically generated.
1156
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1157
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1158
- */
1159
-
1160
- /**
1161
- * Format for exporting a state machine config to JSON.
1162
- *
1163
- * Compatible with `UIBridgeRuntime.from_dict()` in the qontinui library. The
1164
- * nested maps hold opaque per-state / per-transition / per-config dictionaries
1165
- * because the exporter serializes implementation-specific fields not captured
1166
- * by the DTO types.
1167
- */
1168
- interface StateMachineExportFormat {
1169
- /**
1170
- * Config-level payload.
1171
- */
1172
- config: {
1173
- [k: string]: unknown;
1174
- };
1175
- /**
1176
- * State ID → state payload.
1177
- */
1178
- states: {
1179
- [k: string]: {
1180
- [k: string]: unknown;
1181
- };
1182
- };
1183
- /**
1184
- * Transition ID → transition payload.
1185
- */
1186
- transitions: {
1187
- [k: string]: {
1188
- [k: string]: unknown;
1189
- };
1190
- };
1153
+ /* eslint-disable */
1154
+ /**
1155
+ * This file was automatically generated.
1156
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1157
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1158
+ */
1159
+
1160
+ /**
1161
+ * Format for exporting a state machine config to JSON.
1162
+ *
1163
+ * Compatible with `UIBridgeRuntime.from_dict()` in the qontinui library. The
1164
+ * nested maps hold opaque per-state / per-transition / per-config dictionaries
1165
+ * because the exporter serializes implementation-specific fields not captured
1166
+ * by the DTO types.
1167
+ */
1168
+ interface StateMachineExportFormat {
1169
+ /**
1170
+ * Config-level payload.
1171
+ */
1172
+ config: {
1173
+ [k: string]: unknown;
1174
+ };
1175
+ /**
1176
+ * State ID → state payload.
1177
+ */
1178
+ states: {
1179
+ [k: string]: {
1180
+ [k: string]: unknown;
1181
+ };
1182
+ };
1183
+ /**
1184
+ * Transition ID → transition payload.
1185
+ */
1186
+ transitions: {
1187
+ [k: string]: {
1188
+ [k: string]: unknown;
1189
+ };
1190
+ };
1191
1191
  }
1192
1192
 
1193
1193
  /**