@qontinui/shared-types 0.2.4 → 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 (539) 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 +310 -310
  53. package/dist/tauri-events.d.ts +310 -310
  54. package/dist/tree-events.cjs.map +1 -1
  55. package/dist/tree-events.d.cts +483 -483
  56. package/dist/tree-events.d.ts +483 -483
  57. package/dist/ui-bridge-ir.cjs.map +1 -1
  58. package/dist/ui-bridge-ir.js.map +1 -1
  59. package/dist/workflow.cjs.map +1 -1
  60. package/dist/workflow.d.cts +1634 -1634
  61. package/dist/workflow.d.ts +1634 -1634
  62. package/dist/workflow.js +1 -1
  63. package/package.json +141 -141
  64. package/src/accessibility/_api.ts +17 -17
  65. package/src/accessibility/index.ts +1 -1
  66. package/src/canvas/index.ts +319 -319
  67. package/src/chat/_api.ts +23 -23
  68. package/src/chat/index.ts +1 -1
  69. package/src/config/_api.ts +13 -13
  70. package/src/config/index.ts +1 -1
  71. package/src/constraints/_api.ts +17 -17
  72. package/src/constraints/index.ts +1 -1
  73. package/src/discovery.ts +188 -188
  74. package/src/execution/_api.ts +483 -483
  75. package/src/execution/index.ts +1 -1
  76. package/src/generated/A11yAction.d.ts +11 -11
  77. package/src/generated/AccessibilityBackend.d.ts +12 -12
  78. package/src/generated/AccessibilityBounds.d.ts +17 -17
  79. package/src/generated/AccessibilityNode.d.ts +73 -73
  80. package/src/generated/AccessibilityRole.d.ts +93 -93
  81. package/src/generated/AccessibilityRoleCriterion.d.ts +13 -13
  82. package/src/generated/AccessibilitySelector.d.ts +76 -76
  83. package/src/generated/AccessibilitySnapshot.d.ts +43 -43
  84. package/src/generated/AccessibilityState.d.ts +67 -67
  85. package/src/generated/ActionExecutionBatch.d.ts +23 -23
  86. package/src/generated/ActionExecutionBatchResponse.d.ts +24 -24
  87. package/src/generated/ActionExecutionCreate.d.ts +124 -124
  88. package/src/generated/ActionExecutionListResponse.d.ts +20 -20
  89. package/src/generated/ActionExecutionResponse.d.ts +24 -24
  90. package/src/generated/ActionReliabilityStats.d.ts +54 -54
  91. package/src/generated/ActionResponse.d.ts +45 -45
  92. package/src/generated/ActionStatus.d.ts +11 -11
  93. package/src/generated/ActionType.d.ts +41 -41
  94. package/src/generated/ActiveStatesResult.d.ts +32 -32
  95. package/src/generated/AgenticPhaseOutput.d.ts +50 -50
  96. package/src/generated/AgenticStatus.d.ts +11 -11
  97. package/src/generated/AiWorkflow.d.ts +76 -76
  98. package/src/generated/ApiAssertion.d.ts +35 -35
  99. package/src/generated/ApiAssertionOperator.d.ts +11 -11
  100. package/src/generated/ApiAssertionType.d.ts +11 -11
  101. package/src/generated/ApiContentType.d.ts +11 -11
  102. package/src/generated/ApiVariableExtraction.d.ts +24 -24
  103. package/src/generated/AvailableTransitionsResult.d.ts +34 -34
  104. package/src/generated/BaseStepFields.d.ts +72 -72
  105. package/src/generated/BatchComputeEmbeddingRequest.d.ts +27 -27
  106. package/src/generated/BatchComputeEmbeddingResponse.d.ts +23 -23
  107. package/src/generated/BatchEmbeddingResult.d.ts +23 -23
  108. package/src/generated/BetweenIterations.d.ts +35 -35
  109. package/src/generated/BoundingBox.d.ts +18 -18
  110. package/src/generated/BuildPhaseConfig.d.ts +24 -24
  111. package/src/generated/BuiltinOverrideProposal.d.ts +27 -27
  112. package/src/generated/CanonicalStep.d.ts +60 -60
  113. package/src/generated/CatchUpPolicy.d.ts +12 -12
  114. package/src/generated/Category.d.ts +24 -24
  115. package/src/generated/CheckIssueDetail.d.ts +40 -40
  116. package/src/generated/CheckType.d.ts +21 -21
  117. package/src/generated/CodeExecutionStep.d.ts +88 -88
  118. package/src/generated/CommandMode.d.ts +11 -11
  119. package/src/generated/CommandStep.d.ts +183 -183
  120. package/src/generated/CommandStepPhase.d.ts +11 -11
  121. package/src/generated/ComponentActionInfo.d.ts +24 -24
  122. package/src/generated/ComponentActionRequest.d.ts +22 -22
  123. package/src/generated/ComputeEmbeddingRequest.d.ts +24 -24
  124. package/src/generated/ComputeEmbeddingResponse.d.ts +38 -38
  125. package/src/generated/ComputeTextEmbeddingRequest.d.ts +20 -20
  126. package/src/generated/ComputeTextEmbeddingResponse.d.ts +32 -32
  127. package/src/generated/ConditionScheduleConfig.d.ts +17 -17
  128. package/src/generated/ConditionStatus.d.ts +29 -29
  129. package/src/generated/Confidence.d.ts +11 -11
  130. package/src/generated/ConfidenceLevel.d.ts +11 -11
  131. package/src/generated/Constraint.d.ts +33 -33
  132. package/src/generated/ConstraintCheck.d.ts +64 -64
  133. package/src/generated/ConstraintProposal.d.ts +37 -37
  134. package/src/generated/ConstraintResult.d.ts +32 -32
  135. package/src/generated/ConstraintSeverity.d.ts +16 -16
  136. package/src/generated/ConstraintViolation.d.ts +24 -24
  137. package/src/generated/Context.d.ts +50 -50
  138. package/src/generated/ContextAutoInclude.d.ts +34 -34
  139. package/src/generated/CoordinateSystem.d.ts +12 -12
  140. package/src/generated/Coordinates.d.ts +33 -33
  141. package/src/generated/CostTrendDataPoint.d.ts +36 -36
  142. package/src/generated/CostTrendResponse.d.ts +41 -41
  143. package/src/generated/CoverageData.d.ts +52 -52
  144. package/src/generated/CreateMcpCallInput.d.ts +59 -59
  145. package/src/generated/CreateMcpServerInput.d.ts +48 -48
  146. package/src/generated/CreateOlConfigRequest.d.ts +27 -27
  147. package/src/generated/CreateScheduledTaskRequest.d.ts +63 -63
  148. package/src/generated/CreateTaskRunRequest.d.ts +51 -51
  149. package/src/generated/CriterionOverride.d.ts +39 -39
  150. package/src/generated/CriterionType.d.ts +11 -11
  151. package/src/generated/DagApprovalStep.d.ts +80 -80
  152. package/src/generated/DagCancelStep.d.ts +76 -76
  153. package/src/generated/DagLoopStep.d.ts +80 -80
  154. package/src/generated/DecomposerConfig.d.ts +31 -31
  155. package/src/generated/DiagnosePhaseConfig.d.ts +34 -34
  156. package/src/generated/DiagnosticResult.d.ts +40 -40
  157. package/src/generated/DiscoveredElement.d.ts +48 -48
  158. package/src/generated/DiscoveredState.d.ts +49 -49
  159. package/src/generated/DiscoveredStateImage.d.ts +56 -56
  160. package/src/generated/DiscoveredTransition.d.ts +44 -44
  161. package/src/generated/DiscoveryBoundingBox.d.ts +32 -32
  162. package/src/generated/DiscoveryRequest.d.ts +40 -40
  163. package/src/generated/DiscoveryResponse.d.ts +32 -32
  164. package/src/generated/DiscoverySourceType.d.ts +14 -14
  165. package/src/generated/DiscoveryStrategy.d.ts +13 -13
  166. package/src/generated/DiscoveryTransitionTrigger.d.ts +38 -38
  167. package/src/generated/DisplayNode.d.ts +45 -45
  168. package/src/generated/DomainAssignment.d.ts +50 -50
  169. package/src/generated/DomainKnowledge.d.ts +29 -29
  170. package/src/generated/DomainVerificationResult.d.ts +36 -36
  171. package/src/generated/ElementActionRequest.d.ts +28 -28
  172. package/src/generated/ElementBbox.d.ts +36 -36
  173. package/src/generated/ElementIdentifier.d.ts +40 -40
  174. package/src/generated/ElementRect.d.ts +48 -48
  175. package/src/generated/ElementState.d.ts +47 -47
  176. package/src/generated/ElementType.d.ts +45 -45
  177. package/src/generated/EmbeddedElement.d.ts +36 -36
  178. package/src/generated/EmbeddingItem.d.ts +49 -49
  179. package/src/generated/EmbeddingListResponse.d.ts +22 -22
  180. package/src/generated/EmbeddingResultItem.d.ts +29 -29
  181. package/src/generated/EmbeddingResultsRequest.d.ts +19 -19
  182. package/src/generated/EmbeddingResultsResponse.d.ts +17 -17
  183. package/src/generated/ErrorType.d.ts +18 -18
  184. package/src/generated/ExecutePlaybookStep.d.ts +84 -84
  185. package/src/generated/ExecutionActionType.d.ts +40 -40
  186. package/src/generated/ExecutionIssueBatch.d.ts +19 -19
  187. package/src/generated/ExecutionIssueBatchResponse.d.ts +24 -24
  188. package/src/generated/ExecutionIssueCreate.d.ts +57 -57
  189. package/src/generated/ExecutionIssueDetail.d.ts +89 -89
  190. package/src/generated/ExecutionIssueListResponse.d.ts +26 -26
  191. package/src/generated/ExecutionIssueResponse.d.ts +24 -24
  192. package/src/generated/ExecutionIssueUpdate.d.ts +31 -31
  193. package/src/generated/ExecutionMatchLocation.d.ts +31 -31
  194. package/src/generated/ExecutionRunComplete.d.ts +34 -34
  195. package/src/generated/ExecutionRunCompleteResponse.d.ts +38 -38
  196. package/src/generated/ExecutionRunCreate.d.ts +40 -40
  197. package/src/generated/ExecutionRunDetail.d.ts +76 -76
  198. package/src/generated/ExecutionRunListResponse.d.ts +22 -22
  199. package/src/generated/ExecutionRunResponse.d.ts +41 -41
  200. package/src/generated/ExecutionScreenshotCreate.d.ts +59 -59
  201. package/src/generated/ExecutionScreenshotResponse.d.ts +36 -36
  202. package/src/generated/ExecutionStats.d.ts +56 -56
  203. package/src/generated/ExecutionStep.d.ts +78 -78
  204. package/src/generated/ExecutionTreeResponse.d.ts +42 -42
  205. package/src/generated/ExecutionTrendDataPoint.d.ts +36 -36
  206. package/src/generated/ExecutionTrendResponse.d.ts +46 -46
  207. package/src/generated/ExitCheckResult.d.ts +20 -20
  208. package/src/generated/ExitStrategy.d.ts +27 -27
  209. package/src/generated/ExportResult.d.ts +30 -30
  210. package/src/generated/ExtendIterationsRequest.d.ts +20 -20
  211. package/src/generated/FileChange.d.ts +20 -20
  212. package/src/generated/Finding.d.ts +40 -40
  213. package/src/generated/FindingActionType.d.ts +13 -13
  214. package/src/generated/FindingBatchCreate.d.ts +27 -27
  215. package/src/generated/FindingCategory.d.ts +25 -25
  216. package/src/generated/FindingCodeContext.d.ts +31 -31
  217. package/src/generated/FindingCreate.d.ts +52 -52
  218. package/src/generated/FindingDetail.d.ts +78 -78
  219. package/src/generated/FindingListResponse.d.ts +40 -40
  220. package/src/generated/FindingOutput.d.ts +36 -36
  221. package/src/generated/FindingSeverity.d.ts +14 -14
  222. package/src/generated/FindingStatus.d.ts +15 -15
  223. package/src/generated/FindingSummary.d.ts +53 -53
  224. package/src/generated/FindingUpdate.d.ts +33 -33
  225. package/src/generated/FindingUserInput.d.ts +27 -27
  226. package/src/generated/FindingsSummary.d.ts +47 -47
  227. package/src/generated/FullRunnerStep.d.ts +144 -144
  228. package/src/generated/GUIElementChunk.d.ts +151 -151
  229. package/src/generated/GateEvaluationResult.d.ts +36 -36
  230. package/src/generated/HealthCheckUrl.d.ts +35 -35
  231. package/src/generated/HistoricalActionQuery.d.ts +42 -42
  232. package/src/generated/HistoricalActionResult.d.ts +57 -57
  233. package/src/generated/HttpConfig.d.ts +27 -27
  234. package/src/generated/HttpMethod.d.ts +13 -13
  235. package/src/generated/IdleCondition.d.ts +17 -17
  236. package/src/generated/ImplementFixesConfig.d.ts +25 -25
  237. package/src/generated/IndividualCheckResult.d.ts +50 -50
  238. package/src/generated/InitialStateRef.d.ts +23 -23
  239. package/src/generated/InitialStatesSource.d.ts +18 -18
  240. package/src/generated/IssueSeverity.d.ts +11 -11
  241. package/src/generated/IssueSource.d.ts +11 -11
  242. package/src/generated/IssueStatus.d.ts +11 -11
  243. package/src/generated/IssueType.d.ts +21 -21
  244. package/src/generated/IterationResult.d.ts +65 -65
  245. package/src/generated/IterationVerificationResults.d.ts +53 -53
  246. package/src/generated/JobItem.d.ts +31 -31
  247. package/src/generated/JobListResponse.d.ts +20 -20
  248. package/src/generated/JobStatus.d.ts +11 -11
  249. package/src/generated/JobSummary.d.ts +30 -30
  250. package/src/generated/LLMCostSummary.d.ts +38 -38
  251. package/src/generated/LLMMetrics.d.ts +42 -42
  252. package/src/generated/LogSourceSelection.d.ts +25 -25
  253. package/src/generated/LoopInstanceStatus.d.ts +28 -28
  254. package/src/generated/LoopPhase.d.ts +26 -26
  255. package/src/generated/MatchAdjustment.d.ts +23 -23
  256. package/src/generated/MatchLocation.d.ts +22 -22
  257. package/src/generated/MatchMethod.d.ts +11 -11
  258. package/src/generated/McpCallRecord.d.ts +35 -35
  259. package/src/generated/McpCallsResult.d.ts +44 -44
  260. package/src/generated/McpConnectionRef.d.ts +25 -25
  261. package/src/generated/McpServerConfig.d.ts +77 -77
  262. package/src/generated/McpServerStatus.d.ts +42 -42
  263. package/src/generated/McpToolCallResult.d.ts +38 -38
  264. package/src/generated/McpToolInfo.d.ts +23 -23
  265. package/src/generated/McpToolInputSchema.d.ts +34 -34
  266. package/src/generated/McpTransport.d.ts +15 -15
  267. package/src/generated/ModelCostBreakdown.d.ts +36 -36
  268. package/src/generated/ModelOverrideConfig.d.ts +47 -47
  269. package/src/generated/Monitor.d.ts +48 -48
  270. package/src/generated/MonitorPosition.d.ts +13 -13
  271. package/src/generated/MouseButton.d.ts +13 -13
  272. package/src/generated/MultiLoopConfig.d.ts +32 -32
  273. package/src/generated/MultiLoopEntry.d.ts +32 -32
  274. package/src/generated/MultiLoopStatus.d.ts +37 -37
  275. package/src/generated/NativeAccessibilityStep.d.ts +121 -121
  276. package/src/generated/NavigationResult.d.ts +40 -40
  277. package/src/generated/NewConstraintProposal.d.ts +20 -20
  278. package/src/generated/NextTaskInfo.d.ts +24 -24
  279. package/src/generated/NodeMetadata.d.ts +47 -47
  280. package/src/generated/NodeStatus.d.ts +11 -11
  281. package/src/generated/NodeType.d.ts +11 -11
  282. package/src/generated/OcrEngine.d.ts +11 -11
  283. package/src/generated/OlConfig.d.ts +48 -48
  284. package/src/generated/OrchestrationLoopConfig.d.ts +87 -87
  285. package/src/generated/OrchestrationLoopStatus.d.ts +59 -59
  286. package/src/generated/Outcome.d.ts +15 -15
  287. package/src/generated/OutputLine.d.ts +23 -23
  288. package/src/generated/OutputStream.d.ts +11 -11
  289. package/src/generated/OverrideCollection.d.ts +18 -18
  290. package/src/generated/Pagination.d.ts +28 -28
  291. package/src/generated/ParserType.d.ts +17 -17
  292. package/src/generated/PathElement.d.ts +17 -17
  293. package/src/generated/PathfindingRequest.d.ts +24 -24
  294. package/src/generated/PathfindingResult.d.ts +30 -30
  295. package/src/generated/PathfindingStep.d.ts +36 -36
  296. package/src/generated/PatternOptions.d.ts +32 -32
  297. package/src/generated/PipelineConfig.d.ts +31 -31
  298. package/src/generated/PlaybackFrameRequest.d.ts +21 -21
  299. package/src/generated/PlaywrightExecutionMode.d.ts +11 -11
  300. package/src/generated/Point.d.ts +20 -20
  301. package/src/generated/PollingConfig.d.ts +14 -14
  302. package/src/generated/ProcessConfig.d.ts +96 -96
  303. package/src/generated/ProcessState.d.ts +15 -15
  304. package/src/generated/ProcessStatus.d.ts +41 -41
  305. package/src/generated/PromptStep.d.ts +92 -92
  306. package/src/generated/PromptStepPhase.d.ts +13 -13
  307. package/src/generated/RAGDashboardStats.d.ts +26 -26
  308. package/src/generated/RagCompletionEvent.d.ts +25 -25
  309. package/src/generated/RagProcessingStatus.d.ts +11 -11
  310. package/src/generated/RagProgressEvent.d.ts +27 -27
  311. package/src/generated/ReadConfigResponse.d.ts +20 -20
  312. package/src/generated/ReflectionFixOutput.d.ts +20 -20
  313. package/src/generated/Region.d.ts +39 -39
  314. package/src/generated/RepositoryInactiveCondition.d.ts +24 -24
  315. package/src/generated/RepositoryWatch.d.ts +20 -20
  316. package/src/generated/ResolvedInitialStates.d.ts +29 -29
  317. package/src/generated/ResolvedInitialStatesResult.d.ts +40 -40
  318. package/src/generated/ResourceLimits.d.ts +33 -33
  319. package/src/generated/RestartProcessStep.d.ts +88 -88
  320. package/src/generated/RetryPolicy.d.ts +24 -24
  321. package/src/generated/RetrySpec.d.ts +24 -24
  322. package/src/generated/RoleCriterion.d.ts +14 -14
  323. package/src/generated/RootCauseCategory.d.ts +18 -18
  324. package/src/generated/RoutingRule.d.ts +38 -38
  325. package/src/generated/RunPromptRequest.d.ts +56 -56
  326. package/src/generated/RunPromptResponse.d.ts +50 -50
  327. package/src/generated/RunPromptResponseData.d.ts +20 -20
  328. package/src/generated/RunStatus.d.ts +11 -11
  329. package/src/generated/RunType.d.ts +11 -11
  330. package/src/generated/Runner.d.ts +81 -81
  331. package/src/generated/RunnerCrash.d.ts +32 -32
  332. package/src/generated/RunnerFinding.d.ts +48 -48
  333. package/src/generated/RunnerFindingCodeContext.d.ts +20 -20
  334. package/src/generated/RunnerFindingUserInput.d.ts +19 -19
  335. package/src/generated/RunnerMetadata.d.ts +42 -42
  336. package/src/generated/RunnerStatus.d.ts +12 -12
  337. package/src/generated/RunnerUiError.d.ts +28 -28
  338. package/src/generated/RuntimeData.d.ts +40 -40
  339. package/src/generated/SaveWorkflowArtifactStep.d.ts +80 -80
  340. package/src/generated/ScheduleConditions.d.ts +29 -29
  341. package/src/generated/ScheduleExpression.d.ts +39 -39
  342. package/src/generated/ScheduledTask.d.ts +104 -104
  343. package/src/generated/ScheduledTaskStatus.d.ts +19 -19
  344. package/src/generated/ScheduledTaskType.d.ts +126 -126
  345. package/src/generated/SchedulerSettings.d.ts +28 -28
  346. package/src/generated/SchedulerStatus.d.ts +31 -31
  347. package/src/generated/ScreenshotAnnotation.d.ts +39 -39
  348. package/src/generated/ScreenshotAnnotationShape.d.ts +11 -11
  349. package/src/generated/ScreenshotType.d.ts +11 -11
  350. package/src/generated/ScrollDirection.d.ts +13 -13
  351. package/src/generated/SearchOptions.d.ts +33 -33
  352. package/src/generated/SearchResultItem.d.ts +19 -19
  353. package/src/generated/SearchStrategy.d.ts +14 -14
  354. package/src/generated/SemanticSearchRequest.d.ts +26 -26
  355. package/src/generated/SemanticSearchResponse.d.ts +21 -21
  356. package/src/generated/StageCondition.d.ts +37 -37
  357. package/src/generated/StageInput.d.ts +27 -27
  358. package/src/generated/StageOutput.d.ts +20 -20
  359. package/src/generated/StageTransition.d.ts +30 -30
  360. package/src/generated/StallDetectorConfig.d.ts +31 -31
  361. package/src/generated/StandardActionType.d.ts +40 -40
  362. package/src/generated/StateContext.d.ts +17 -17
  363. package/src/generated/StateDiscoveryResult.d.ts +104 -104
  364. package/src/generated/StateDiscoveryResultCreate.d.ts +65 -65
  365. package/src/generated/StateDiscoveryResultListResponse.d.ts +23 -23
  366. package/src/generated/StateDiscoveryResultSummary.d.ts +57 -57
  367. package/src/generated/StateDiscoveryResultUpdate.d.ts +47 -47
  368. package/src/generated/StateFilterItem.d.ts +18 -18
  369. package/src/generated/StateMachineConfig.d.ts +45 -45
  370. package/src/generated/StateMachineConfigCreate.d.ts +20 -20
  371. package/src/generated/StateMachineConfigFull.d.ts +67 -67
  372. package/src/generated/StateMachineConfigUpdate.d.ts +20 -20
  373. package/src/generated/StateMachineExport.d.ts +64 -64
  374. package/src/generated/StateMachineExportFormat.d.ts +39 -39
  375. package/src/generated/StateMachineImport.d.ts +25 -25
  376. package/src/generated/StateMachineState.d.ts +71 -71
  377. package/src/generated/StateMachineStateCreate.d.ts +52 -52
  378. package/src/generated/StateMachineStateUpdate.d.ts +48 -48
  379. package/src/generated/StateMachineTransition.d.ts +75 -75
  380. package/src/generated/StateMachineTransitionCreate.d.ts +53 -53
  381. package/src/generated/StateMachineTransitionUpdate.d.ts +53 -53
  382. package/src/generated/StateNodeData.d.ts +71 -71
  383. package/src/generated/StatesResponse.d.ts +19 -19
  384. package/src/generated/StdioConfig.d.ts +34 -34
  385. package/src/generated/StepExecutionConfig.d.ts +37 -37
  386. package/src/generated/StructuredFinding.d.ts +32 -32
  387. package/src/generated/StructuredOverride.d.ts +24 -24
  388. package/src/generated/StructuredSignal.d.ts +20 -20
  389. package/src/generated/SuccessCriterion.d.ts +57 -57
  390. package/src/generated/SummarizationConfig.d.ts +35 -35
  391. package/src/generated/TargetConfig.d.ts +108 -108
  392. package/src/generated/TaskCompletionResult.d.ts +90 -90
  393. package/src/generated/TaskExecutionRecord.d.ts +61 -61
  394. package/src/generated/TaskRun.d.ts +88 -88
  395. package/src/generated/TaskRunBackend.d.ts +86 -86
  396. package/src/generated/TaskRunBackendDetail.d.ts +99 -99
  397. package/src/generated/TaskRunCreate.d.ts +62 -62
  398. package/src/generated/TaskRunFilters.d.ts +38 -38
  399. package/src/generated/TaskRunFinding.d.ts +100 -100
  400. package/src/generated/TaskRunFindingActionType.d.ts +11 -11
  401. package/src/generated/TaskRunFindingCategory.d.ts +24 -24
  402. package/src/generated/TaskRunFindingCreate.d.ts +79 -79
  403. package/src/generated/TaskRunFindingFilters.d.ts +28 -28
  404. package/src/generated/TaskRunFindingSeverity.d.ts +11 -11
  405. package/src/generated/TaskRunFindingStatus.d.ts +11 -11
  406. package/src/generated/TaskRunFindingSummary.d.ts +34 -34
  407. package/src/generated/TaskRunFindingUpdate.d.ts +34 -34
  408. package/src/generated/TaskRunFindingsListResponse.d.ts +24 -24
  409. package/src/generated/TaskRunListResponse.d.ts +21 -21
  410. package/src/generated/TaskRunSession.d.ts +40 -40
  411. package/src/generated/TaskRunStatus.d.ts +11 -11
  412. package/src/generated/TaskRunUpdate.d.ts +47 -47
  413. package/src/generated/TaskType.d.ts +11 -11
  414. package/src/generated/TerminalExitEvent.d.ts +26 -26
  415. package/src/generated/TerminalInfo.d.ts +69 -69
  416. package/src/generated/TerminalOutputEvent.d.ts +29 -29
  417. package/src/generated/TestType.d.ts +11 -11
  418. package/src/generated/TextMatchType.d.ts +11 -11
  419. package/src/generated/TextSearchOptions.d.ts +30 -30
  420. package/src/generated/Ticket.d.ts +53 -53
  421. package/src/generated/TicketComment.d.ts +28 -28
  422. package/src/generated/TicketProviderConfig.d.ts +55 -55
  423. package/src/generated/TicketSource.d.ts +17 -17
  424. package/src/generated/TicketState.d.ts +15 -15
  425. package/src/generated/TimingInfo.d.ts +23 -23
  426. package/src/generated/TopMatch.d.ts +17 -17
  427. package/src/generated/TransitionAction.d.ts +93 -93
  428. package/src/generated/TransitionActionValue.d.ts +14 -14
  429. package/src/generated/TransitionEdgeData.d.ts +46 -46
  430. package/src/generated/TransitionExecutionResult.d.ts +30 -30
  431. package/src/generated/TransitionInfo.d.ts +29 -29
  432. package/src/generated/TransitionTriggerType.d.ts +13 -13
  433. package/src/generated/TreeEvent.d.ts +47 -47
  434. package/src/generated/TreeEventCreate.d.ts +30 -30
  435. package/src/generated/TreeEventListResponse.d.ts +30 -30
  436. package/src/generated/TreeEventResponse.d.ts +47 -47
  437. package/src/generated/TreeEventType.d.ts +20 -20
  438. package/src/generated/TreeNode.d.ts +54 -54
  439. package/src/generated/UIBridgeCapturedToast.d.ts +22 -22
  440. package/src/generated/UIBridgeComponent.d.ts +45 -45
  441. package/src/generated/UIBridgeElement.d.ts +62 -62
  442. package/src/generated/UIBridgeModalInfo.d.ts +40 -40
  443. package/src/generated/UIBridgeModalStack.d.ts +19 -19
  444. package/src/generated/UIBridgeSnapshot.d.ts +67 -67
  445. package/src/generated/UIBridgeToastContext.d.ts +17 -17
  446. package/src/generated/UIBridgeUndoContext.d.ts +19 -19
  447. package/src/generated/UiBridgeAction.d.ts +18 -18
  448. package/src/generated/UiBridgeAssertType.d.ts +11 -11
  449. package/src/generated/UiBridgeComparisonMode.d.ts +11 -11
  450. package/src/generated/UiBridgeDesignAuditStep.d.ts +76 -76
  451. package/src/generated/UiBridgeRequestEnvelope.d.ts +45 -45
  452. package/src/generated/UiBridgeResponseEnvelope.d.ts +66 -66
  453. package/src/generated/UiBridgeSeverity.d.ts +11 -11
  454. package/src/generated/UiBridgeStep.d.ts +127 -127
  455. package/src/generated/UiBridgeStepPhase.d.ts +14 -14
  456. package/src/generated/UiBridgeVisualAssertionStep.d.ts +97 -97
  457. package/src/generated/UnifiedStep.d.ts +57 -57
  458. package/src/generated/UnifiedWorkflow.d.ts +411 -411
  459. package/src/generated/UpdateMcpServerInput.d.ts +28 -28
  460. package/src/generated/UpdateOlConfigRequest.d.ts +32 -32
  461. package/src/generated/UpdateScheduledTaskRequest.d.ts +71 -71
  462. package/src/generated/ValidateConfigRequest.d.ts +16 -16
  463. package/src/generated/ValidateConfigResponse.d.ts +28 -28
  464. package/src/generated/VectorSearchResult.d.ts +48 -48
  465. package/src/generated/VerificationAgentContext.d.ts +25 -25
  466. package/src/generated/VerificationCategoryKind.d.ts +19 -19
  467. package/src/generated/VerificationMethod.d.ts +20 -20
  468. package/src/generated/VerificationPhaseResult.d.ts +63 -63
  469. package/src/generated/VerificationPlan.d.ts +43 -43
  470. package/src/generated/VerificationResult.d.ts +44 -44
  471. package/src/generated/VerificationResultResponse.d.ts +65 -65
  472. package/src/generated/VerificationResultsListResponse.d.ts +41 -41
  473. package/src/generated/VerificationStepDetails.d.ts +55 -55
  474. package/src/generated/VerificationStepResult.d.ts +68 -68
  475. package/src/generated/VgaAction.d.ts +61 -61
  476. package/src/generated/VgaActionKind.d.ts +14 -14
  477. package/src/generated/VgaAutomateStep.d.ts +110 -110
  478. package/src/generated/VirtualDesktop.d.ts +23 -23
  479. package/src/generated/VisualAssertionType.d.ts +11 -11
  480. package/src/generated/VisualComparisonResult.d.ts +40 -40
  481. package/src/generated/WaitOptions.d.ts +35 -35
  482. package/src/generated/WorkerCoordinationMessage.d.ts +93 -93
  483. package/src/generated/WorkerDomain.d.ts +29 -29
  484. package/src/generated/WorkerInstance.d.ts +62 -62
  485. package/src/generated/WorkerOutput.d.ts +53 -53
  486. package/src/generated/WorkerSignal.d.ts +48 -48
  487. package/src/generated/WorkerStatus.d.ts +11 -11
  488. package/src/generated/WorkflowArchitecture.d.ts +16 -16
  489. package/src/generated/WorkflowFixupMode.d.ts +11 -11
  490. package/src/generated/WorkflowFixupStep.d.ts +85 -85
  491. package/src/generated/WorkflowInfo.d.ts +28 -28
  492. package/src/generated/WorkflowMetadata.d.ts +44 -44
  493. package/src/generated/WorkflowRefStep.d.ts +94 -94
  494. package/src/generated/WorkflowStage.d.ts +126 -126
  495. package/src/generated/WorkflowStep.d.ts +80 -80
  496. package/src/generated/WorkflowStepPhase.d.ts +11 -11
  497. package/src/generated/WriteConfigRequest.d.ts +20 -20
  498. package/src/generated/WriteConfigResponse.d.ts +24 -24
  499. package/src/generated/index.ts +432 -432
  500. package/src/geometry/_api.ts +16 -16
  501. package/src/geometry/index.ts +1 -1
  502. package/src/index.ts +73 -73
  503. package/src/known-issues/index.ts +179 -179
  504. package/src/library/_api.ts +326 -326
  505. package/src/library/index.ts +1 -1
  506. package/src/rag/_api.ts +47 -47
  507. package/src/rag/index.ts +1 -1
  508. package/src/render-log.ts +371 -371
  509. package/src/runner/_api.ts +14 -14
  510. package/src/runner/index.ts +1 -1
  511. package/src/scheduler/_api.ts +21 -21
  512. package/src/scheduler/index.ts +1 -1
  513. package/src/state-machine/_api.ts +145 -145
  514. package/src/state-machine/index.ts +1 -1
  515. package/src/targets/_api.ts +47 -47
  516. package/src/targets/index.ts +1 -1
  517. package/src/task-run/_api.ts +108 -108
  518. package/src/task-run/index.ts +1 -1
  519. package/src/tauri-events/_api.ts +90 -90
  520. package/src/tauri-events/index.ts +1 -1
  521. package/src/tree-events/_api.ts +42 -42
  522. package/src/tree-events/index.ts +1 -1
  523. package/src/ui-bridge-ir/__tests__/projection.test.ts +1029 -1029
  524. package/src/ui-bridge-ir/adapter.ts +220 -220
  525. package/src/ui-bridge-ir/document.ts +114 -114
  526. package/src/ui-bridge-ir/element-criteria.ts +48 -48
  527. package/src/ui-bridge-ir/group.ts +84 -84
  528. package/src/ui-bridge-ir/index.ts +24 -24
  529. package/src/ui-bridge-ir/ir.schema.json +293 -293
  530. package/src/ui-bridge-ir/primitives.ts +102 -102
  531. package/src/ui-bridge-ir/projection.ts +921 -921
  532. package/src/ui-bridge-ir/state.ts +90 -90
  533. package/src/ui-bridge-ir/transition.ts +92 -92
  534. package/src/workflow/_api.ts +474 -474
  535. package/src/workflow/action-plan.ts +208 -208
  536. package/src/workflow/index.ts +1 -1
  537. package/src/workflow/skill.ts +152 -152
  538. package/dist/chunk-YXD4WCYQ.js.map +0 -1
  539. package/dist/chunk-ZK5MJEGT.js.map +0 -1
@@ -1,1494 +1,1494 @@
1
- import { T as TaskRunFindingActionType, a as TaskRunFindingCategory, b as TaskRunFindingSeverity, c as TaskRunFindingStatus } from './TaskRunFindingActionType.d-B4VmmbB6.cjs';
2
-
3
- /* eslint-disable */
4
- /**
5
- * This file was automatically generated.
6
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
7
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
8
- */
9
-
10
- /**
11
- * Lifecycle status of a task run.
12
- */
1
+ import { T as TaskRunFindingActionType, a as TaskRunFindingCategory, b as TaskRunFindingSeverity, c as TaskRunFindingStatus } from './TaskRunFindingActionType.d-CNIWogcU.cjs';
2
+
3
+ /* eslint-disable */
4
+ /**
5
+ * This file was automatically generated.
6
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
7
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
8
+ */
9
+
10
+ /**
11
+ * Lifecycle status of a task run.
12
+ */
13
13
  type TaskRunStatus = "running" | "complete" | "failed" | "stopped";
14
14
 
15
- /* eslint-disable */
16
- /**
17
- * This file was automatically generated.
18
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
19
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
20
- */
21
-
22
- /**
23
- * Kind of task being tracked.
24
- */
15
+ /* eslint-disable */
16
+ /**
17
+ * This file was automatically generated.
18
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
19
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
20
+ */
21
+
22
+ /**
23
+ * Kind of task being tracked.
24
+ */
25
25
  type TaskType = "task" | "automation" | "scheduled";
26
26
 
27
- /* eslint-disable */
28
- /**
29
- * This file was automatically generated.
30
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
31
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
32
- */
33
-
34
-
35
-
36
- /**
37
- * A task run as tracked by the local runner during execution.
38
- *
39
- * Mirrors `TaskRun` in the runner's `taskRun.ts`. Optional fields here use
40
- * `?` in TypeScript, so they are omitted on the wire when missing.
41
- */
42
- interface TaskRun {
43
- /**
44
- * Whether the task will auto-continue into another session on exit.
45
- */
46
- autoContinue: boolean;
47
- /**
48
- * ISO 8601 timestamp when the task completed.
49
- */
50
- completedAt?: string | null;
51
- /**
52
- * ID of the workflow config used to run this task, if any.
53
- */
54
- configId?: string | null;
55
- /**
56
- * ISO 8601 timestamp when the task was created.
57
- */
58
- createdAt: string;
59
- /**
60
- * Error message if the task failed.
61
- */
62
- errorMessage?: string | null;
63
- /**
64
- * Whether the task's goal was achieved (AI assessment).
65
- */
66
- goalAchieved?: boolean | null;
67
- /**
68
- * Unique identifier (UUID v4 string).
69
- */
70
- id: string;
71
- /**
72
- * Optional cap on AI sessions.
73
- */
74
- maxSessions?: number | null;
75
- /**
76
- * Accumulated output log for the task run.
77
- */
78
- outputLog: string;
79
- /**
80
- * Original prompt text, if applicable.
81
- */
82
- prompt?: string | null;
83
- /**
84
- * Description of any remaining work (AI assessment).
85
- */
86
- remainingWork?: string | null;
87
- /**
88
- * Number of AI sessions that have been run.
89
- */
90
- sessionsCount: number;
91
- status: TaskRunStatus;
92
- /**
93
- * AI-generated summary of the task run.
94
- */
95
- summary?: string | null;
96
- /**
97
- * ISO 8601 timestamp when the summary was generated.
98
- */
99
- summaryGeneratedAt?: string | null;
100
- /**
101
- * Display name of the task.
102
- */
103
- taskName: string;
104
- taskType: TaskType;
105
- /**
106
- * ISO 8601 timestamp when the task record was last updated.
107
- */
108
- updatedAt: string;
109
- /**
110
- * Name of the workflow used to run this task, if any.
111
- */
112
- workflowName?: string | null;
27
+ /* eslint-disable */
28
+ /**
29
+ * This file was automatically generated.
30
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
31
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
32
+ */
33
+
34
+
35
+
36
+ /**
37
+ * A task run as tracked by the local runner during execution.
38
+ *
39
+ * Mirrors `TaskRun` in the runner's `taskRun.ts`. Optional fields here use
40
+ * `?` in TypeScript, so they are omitted on the wire when missing.
41
+ */
42
+ interface TaskRun {
43
+ /**
44
+ * Whether the task will auto-continue into another session on exit.
45
+ */
46
+ autoContinue: boolean;
47
+ /**
48
+ * ISO 8601 timestamp when the task completed.
49
+ */
50
+ completedAt?: string | null;
51
+ /**
52
+ * ID of the workflow config used to run this task, if any.
53
+ */
54
+ configId?: string | null;
55
+ /**
56
+ * ISO 8601 timestamp when the task was created.
57
+ */
58
+ createdAt: string;
59
+ /**
60
+ * Error message if the task failed.
61
+ */
62
+ errorMessage?: string | null;
63
+ /**
64
+ * Whether the task's goal was achieved (AI assessment).
65
+ */
66
+ goalAchieved?: boolean | null;
67
+ /**
68
+ * Unique identifier (UUID v4 string).
69
+ */
70
+ id: string;
71
+ /**
72
+ * Optional cap on AI sessions.
73
+ */
74
+ maxSessions?: number | null;
75
+ /**
76
+ * Accumulated output log for the task run.
77
+ */
78
+ outputLog: string;
79
+ /**
80
+ * Original prompt text, if applicable.
81
+ */
82
+ prompt?: string | null;
83
+ /**
84
+ * Description of any remaining work (AI assessment).
85
+ */
86
+ remainingWork?: string | null;
87
+ /**
88
+ * Number of AI sessions that have been run.
89
+ */
90
+ sessionsCount: number;
91
+ status: TaskRunStatus;
92
+ /**
93
+ * AI-generated summary of the task run.
94
+ */
95
+ summary?: string | null;
96
+ /**
97
+ * ISO 8601 timestamp when the summary was generated.
98
+ */
99
+ summaryGeneratedAt?: string | null;
100
+ /**
101
+ * Display name of the task.
102
+ */
103
+ taskName: string;
104
+ taskType: TaskType;
105
+ /**
106
+ * ISO 8601 timestamp when the task record was last updated.
107
+ */
108
+ updatedAt: string;
109
+ /**
110
+ * Name of the workflow used to run this task, if any.
111
+ */
112
+ workflowName?: string | null;
113
113
  }
114
114
 
115
- /* eslint-disable */
116
- /**
117
- * This file was automatically generated.
118
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
119
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
120
- */
121
-
122
-
123
-
124
- /**
125
- * A task run as returned by the backend API.
126
- *
127
- * Mirrors `TaskRunBackend` in the web app's `task-runs.ts`. Nullable
128
- * ownership fields (`project_id`, `created_by_user_id`, `runner_id`,
129
- * `max_sessions`, `output_summary`, `error_message`, `duration_seconds`,
130
- * `completed_at`) are required on the wire but may be `null`; they are
131
- * `Option<T>` with `serde(default)` so deserialize tolerates missing, but
132
- * are always serialized (including as `null`) to preserve the wire shape.
133
- */
134
- interface TaskRunBackend {
135
- /**
136
- * Whether the task will auto-continue into another session on exit.
137
- */
138
- autoContinue: boolean;
139
- /**
140
- * ISO 8601 timestamp when the task completed.
141
- */
142
- completedAt: string | null;
143
- /**
144
- * ISO 8601 timestamp when the task was created.
145
- */
146
- createdAt: string;
147
- /**
148
- * User who created the task run, if known.
149
- */
150
- createdByUserId: string | null;
151
- /**
152
- * Total duration in seconds.
153
- */
154
- durationSeconds: number | null;
155
- /**
156
- * Error message if the task failed.
157
- */
158
- errorMessage: string | null;
159
- /**
160
- * Whether the full output log was persisted.
161
- */
162
- fullOutputStored: boolean;
163
- /**
164
- * Unique identifier (UUID v4 string).
165
- */
166
- id: string;
167
- /**
168
- * Optional cap on AI sessions.
169
- */
170
- maxSessions: number | null;
171
- /**
172
- * Short summary of the run output, if stored.
173
- */
174
- outputSummary: string | null;
175
- /**
176
- * Owning project ID, if scoped to a project.
177
- */
178
- projectId: string | null;
179
- /**
180
- * Original prompt text.
181
- */
182
- prompt: string;
183
- /**
184
- * Runner instance that executed the task, if known.
185
- */
186
- runnerId: string | null;
187
- /**
188
- * Number of AI sessions that have been run.
189
- */
190
- sessionsCount: number;
191
- status: TaskRunStatus;
192
- /**
193
- * Display name.
194
- */
195
- taskName: string;
196
- /**
197
- * ISO 8601 timestamp when the record was last updated.
198
- */
199
- updatedAt: string;
115
+ /* eslint-disable */
116
+ /**
117
+ * This file was automatically generated.
118
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
119
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
120
+ */
121
+
122
+
123
+
124
+ /**
125
+ * A task run as returned by the backend API.
126
+ *
127
+ * Mirrors `TaskRunBackend` in the web app's `task-runs.ts`. Nullable
128
+ * ownership fields (`project_id`, `created_by_user_id`, `runner_id`,
129
+ * `max_sessions`, `output_summary`, `error_message`, `duration_seconds`,
130
+ * `completed_at`) are required on the wire but may be `null`; they are
131
+ * `Option<T>` with `serde(default)` so deserialize tolerates missing, but
132
+ * are always serialized (including as `null`) to preserve the wire shape.
133
+ */
134
+ interface TaskRunBackend {
135
+ /**
136
+ * Whether the task will auto-continue into another session on exit.
137
+ */
138
+ autoContinue: boolean;
139
+ /**
140
+ * ISO 8601 timestamp when the task completed.
141
+ */
142
+ completedAt: string | null;
143
+ /**
144
+ * ISO 8601 timestamp when the task was created.
145
+ */
146
+ createdAt: string;
147
+ /**
148
+ * User who created the task run, if known.
149
+ */
150
+ createdByUserId: string | null;
151
+ /**
152
+ * Total duration in seconds.
153
+ */
154
+ durationSeconds: number | null;
155
+ /**
156
+ * Error message if the task failed.
157
+ */
158
+ errorMessage: string | null;
159
+ /**
160
+ * Whether the full output log was persisted.
161
+ */
162
+ fullOutputStored: boolean;
163
+ /**
164
+ * Unique identifier (UUID v4 string).
165
+ */
166
+ id: string;
167
+ /**
168
+ * Optional cap on AI sessions.
169
+ */
170
+ maxSessions: number | null;
171
+ /**
172
+ * Short summary of the run output, if stored.
173
+ */
174
+ outputSummary: string | null;
175
+ /**
176
+ * Owning project ID, if scoped to a project.
177
+ */
178
+ projectId: string | null;
179
+ /**
180
+ * Original prompt text.
181
+ */
182
+ prompt: string;
183
+ /**
184
+ * Runner instance that executed the task, if known.
185
+ */
186
+ runnerId: string | null;
187
+ /**
188
+ * Number of AI sessions that have been run.
189
+ */
190
+ sessionsCount: number;
191
+ status: TaskRunStatus;
192
+ /**
193
+ * Display name.
194
+ */
195
+ taskName: string;
196
+ /**
197
+ * ISO 8601 timestamp when the record was last updated.
198
+ */
199
+ updatedAt: string;
200
200
  }
201
201
 
202
- /* eslint-disable */
203
- /**
204
- * This file was automatically generated.
205
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
206
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
207
- */
208
-
209
- /**
210
- * A single AI session within a task run.
211
- */
212
- interface TaskRunSession {
213
- /**
214
- * Duration of the session in seconds.
215
- */
216
- durationSeconds: number | null;
217
- /**
218
- * ISO 8601 timestamp when the session ended.
219
- */
220
- endedAt: string | null;
221
- /**
222
- * Unique identifier (UUID v4 string).
223
- */
224
- id: string;
225
- /**
226
- * Short summary of the session output, if stored.
227
- */
228
- outputSummary: string | null;
229
- /**
230
- * 1-based session index within the parent task run.
231
- */
232
- sessionNumber: number;
233
- /**
234
- * ISO 8601 timestamp when the session started.
235
- */
236
- startedAt: string;
237
- /**
238
- * Parent task run ID.
239
- */
240
- taskRunId: string;
202
+ /* eslint-disable */
203
+ /**
204
+ * This file was automatically generated.
205
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
206
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
207
+ */
208
+
209
+ /**
210
+ * A single AI session within a task run.
211
+ */
212
+ interface TaskRunSession {
213
+ /**
214
+ * Duration of the session in seconds.
215
+ */
216
+ durationSeconds: number | null;
217
+ /**
218
+ * ISO 8601 timestamp when the session ended.
219
+ */
220
+ endedAt: string | null;
221
+ /**
222
+ * Unique identifier (UUID v4 string).
223
+ */
224
+ id: string;
225
+ /**
226
+ * Short summary of the session output, if stored.
227
+ */
228
+ outputSummary: string | null;
229
+ /**
230
+ * 1-based session index within the parent task run.
231
+ */
232
+ sessionNumber: number;
233
+ /**
234
+ * ISO 8601 timestamp when the session started.
235
+ */
236
+ startedAt: string;
237
+ /**
238
+ * Parent task run ID.
239
+ */
240
+ taskRunId: string;
241
241
  }
242
242
 
243
- /* eslint-disable */
244
- /**
245
- * This file was automatically generated.
246
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
247
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
248
- */
249
-
250
-
251
-
252
- /**
253
- * A finding surfaced during a task run (bug, enhancement, TODO, etc.).
254
- *
255
- * All nullable fields here are required-nullable on the wire (always present,
256
- * possibly `null`), so they use `serde(default)` without `skip_serializing_if`.
257
- */
258
- interface TaskRunFinding {
259
- actionType: TaskRunFindingActionType;
260
- category: TaskRunFindingCategory;
261
- /**
262
- * Snippet of code illustrating the issue.
263
- */
264
- codeSnippet: string | null;
265
- /**
266
- * Column number where the issue was found.
267
- */
268
- columnNumber: number | null;
269
- /**
270
- * Full description.
271
- */
272
- description: string;
273
- /**
274
- * ISO 8601 timestamp when the finding was detected.
275
- */
276
- detectedAt: string;
277
- /**
278
- * Session number in which the finding was detected.
279
- */
280
- detectedInSession: number;
281
- /**
282
- * File path where the issue was found.
283
- */
284
- filePath: string | null;
285
- /**
286
- * Unique identifier (UUID v4 string).
287
- */
288
- id: string;
289
- /**
290
- * Suggested response options for the user, if input is needed.
291
- */
292
- inputOptions: string[] | null;
293
- /**
294
- * Line number where the issue was found.
295
- */
296
- lineNumber: number | null;
297
- /**
298
- * Whether this finding requires user input.
299
- */
300
- needsInput: boolean;
301
- /**
302
- * Question posed to the user, if input is needed.
303
- */
304
- question: string | null;
305
- /**
306
- * How the finding was resolved, if applicable.
307
- */
308
- resolution: string | null;
309
- /**
310
- * ISO 8601 timestamp when the finding was resolved.
311
- */
312
- resolvedAt: string | null;
313
- /**
314
- * Session number in which the finding was resolved.
315
- */
316
- resolvedInSession: number | null;
317
- severity: TaskRunFindingSeverity;
318
- /**
319
- * Hash used to deduplicate findings across runs.
320
- */
321
- signatureHash: string | null;
322
- status: TaskRunFindingStatus;
323
- /**
324
- * Parent task run ID.
325
- */
326
- taskRunId: string;
327
- /**
328
- * Short human-readable title.
329
- */
330
- title: string;
331
- /**
332
- * ISO 8601 timestamp when the record was last updated.
333
- */
334
- updatedAt: string;
335
- /**
336
- * The user's response, if any.
337
- */
338
- userResponse: string | null;
243
+ /* eslint-disable */
244
+ /**
245
+ * This file was automatically generated.
246
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
247
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
248
+ */
249
+
250
+
251
+
252
+ /**
253
+ * A finding surfaced during a task run (bug, enhancement, TODO, etc.).
254
+ *
255
+ * All nullable fields here are required-nullable on the wire (always present,
256
+ * possibly `null`), so they use `serde(default)` without `skip_serializing_if`.
257
+ */
258
+ interface TaskRunFinding {
259
+ actionType: TaskRunFindingActionType;
260
+ category: TaskRunFindingCategory;
261
+ /**
262
+ * Snippet of code illustrating the issue.
263
+ */
264
+ codeSnippet: string | null;
265
+ /**
266
+ * Column number where the issue was found.
267
+ */
268
+ columnNumber: number | null;
269
+ /**
270
+ * Full description.
271
+ */
272
+ description: string;
273
+ /**
274
+ * ISO 8601 timestamp when the finding was detected.
275
+ */
276
+ detectedAt: string;
277
+ /**
278
+ * Session number in which the finding was detected.
279
+ */
280
+ detectedInSession: number;
281
+ /**
282
+ * File path where the issue was found.
283
+ */
284
+ filePath: string | null;
285
+ /**
286
+ * Unique identifier (UUID v4 string).
287
+ */
288
+ id: string;
289
+ /**
290
+ * Suggested response options for the user, if input is needed.
291
+ */
292
+ inputOptions: string[] | null;
293
+ /**
294
+ * Line number where the issue was found.
295
+ */
296
+ lineNumber: number | null;
297
+ /**
298
+ * Whether this finding requires user input.
299
+ */
300
+ needsInput: boolean;
301
+ /**
302
+ * Question posed to the user, if input is needed.
303
+ */
304
+ question: string | null;
305
+ /**
306
+ * How the finding was resolved, if applicable.
307
+ */
308
+ resolution: string | null;
309
+ /**
310
+ * ISO 8601 timestamp when the finding was resolved.
311
+ */
312
+ resolvedAt: string | null;
313
+ /**
314
+ * Session number in which the finding was resolved.
315
+ */
316
+ resolvedInSession: number | null;
317
+ severity: TaskRunFindingSeverity;
318
+ /**
319
+ * Hash used to deduplicate findings across runs.
320
+ */
321
+ signatureHash: string | null;
322
+ status: TaskRunFindingStatus;
323
+ /**
324
+ * Parent task run ID.
325
+ */
326
+ taskRunId: string;
327
+ /**
328
+ * Short human-readable title.
329
+ */
330
+ title: string;
331
+ /**
332
+ * ISO 8601 timestamp when the record was last updated.
333
+ */
334
+ updatedAt: string;
335
+ /**
336
+ * The user's response, if any.
337
+ */
338
+ userResponse: string | null;
339
339
  }
340
340
 
341
- /* eslint-disable */
342
- /**
343
- * This file was automatically generated.
344
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
345
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
346
- */
347
-
348
- /**
349
- * Aggregated finding counts grouped along each axis.
350
- */
351
- interface TaskRunFindingSummary {
352
- /**
353
- * Count of findings by category.
354
- */
355
- byCategory: {
356
- [k: string]: number;
357
- };
358
- /**
359
- * Count of findings by severity.
360
- */
361
- bySeverity: {
362
- [k: string]: number;
363
- };
364
- /**
365
- * Count of findings by status.
366
- */
367
- byStatus: {
368
- [k: string]: number;
369
- };
370
- /**
371
- * Total number of findings.
372
- */
373
- total: number;
341
+ /* eslint-disable */
342
+ /**
343
+ * This file was automatically generated.
344
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
345
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
346
+ */
347
+
348
+ /**
349
+ * Aggregated finding counts grouped along each axis.
350
+ */
351
+ interface TaskRunFindingSummary {
352
+ /**
353
+ * Count of findings by category.
354
+ */
355
+ byCategory: {
356
+ [k: string]: number;
357
+ };
358
+ /**
359
+ * Count of findings by severity.
360
+ */
361
+ bySeverity: {
362
+ [k: string]: number;
363
+ };
364
+ /**
365
+ * Count of findings by status.
366
+ */
367
+ byStatus: {
368
+ [k: string]: number;
369
+ };
370
+ /**
371
+ * Total number of findings.
372
+ */
373
+ total: number;
374
374
  }
375
375
 
376
- /* eslint-disable */
377
- /**
378
- * This file was automatically generated.
379
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
380
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
381
- */
382
-
383
-
384
-
385
- /**
386
- * Detailed view of a backend task run, including its sessions and findings.
387
- *
388
- * The TypeScript `TaskRunBackendDetail extends TaskRunBackend` is modeled in
389
- * Rust by flattening a [`TaskRunBackend`] base so the wire shape stays flat.
390
- */
391
- interface TaskRunBackendDetail {
392
- /**
393
- * Whether the task will auto-continue into another session on exit.
394
- */
395
- autoContinue: boolean;
396
- /**
397
- * ISO 8601 timestamp when the task completed.
398
- */
399
- completedAt: string | null;
400
- /**
401
- * ISO 8601 timestamp when the task was created.
402
- */
403
- createdAt: string;
404
- /**
405
- * User who created the task run, if known.
406
- */
407
- createdByUserId: string | null;
408
- /**
409
- * Total duration in seconds.
410
- */
411
- durationSeconds: number | null;
412
- /**
413
- * Error message if the task failed.
414
- */
415
- errorMessage: string | null;
416
- findingSummary: TaskRunFindingSummary;
417
- /**
418
- * Findings surfaced during this task run.
419
- */
420
- findings: TaskRunFinding[];
421
- /**
422
- * Whether the full output log was persisted.
423
- */
424
- fullOutputStored: boolean;
425
- /**
426
- * Unique identifier (UUID v4 string).
427
- */
428
- id: string;
429
- /**
430
- * Optional cap on AI sessions.
431
- */
432
- maxSessions: number | null;
433
- /**
434
- * Short summary of the run output, if stored.
435
- */
436
- outputSummary: string | null;
437
- /**
438
- * Owning project ID, if scoped to a project.
439
- */
440
- projectId: string | null;
441
- /**
442
- * Original prompt text.
443
- */
444
- prompt: string;
445
- /**
446
- * Runner instance that executed the task, if known.
447
- */
448
- runnerId: string | null;
449
- /**
450
- * AI sessions associated with this task run.
451
- */
452
- sessions: TaskRunSession[];
453
- /**
454
- * Number of AI sessions that have been run.
455
- */
456
- sessionsCount: number;
457
- status: TaskRunStatus;
458
- /**
459
- * Display name.
460
- */
461
- taskName: string;
462
- /**
463
- * ISO 8601 timestamp when the record was last updated.
464
- */
465
- updatedAt: string;
466
- [k: string]: unknown;
376
+ /* eslint-disable */
377
+ /**
378
+ * This file was automatically generated.
379
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
380
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
381
+ */
382
+
383
+
384
+
385
+ /**
386
+ * Detailed view of a backend task run, including its sessions and findings.
387
+ *
388
+ * The TypeScript `TaskRunBackendDetail extends TaskRunBackend` is modeled in
389
+ * Rust by flattening a [`TaskRunBackend`] base so the wire shape stays flat.
390
+ */
391
+ interface TaskRunBackendDetail {
392
+ /**
393
+ * Whether the task will auto-continue into another session on exit.
394
+ */
395
+ autoContinue: boolean;
396
+ /**
397
+ * ISO 8601 timestamp when the task completed.
398
+ */
399
+ completedAt: string | null;
400
+ /**
401
+ * ISO 8601 timestamp when the task was created.
402
+ */
403
+ createdAt: string;
404
+ /**
405
+ * User who created the task run, if known.
406
+ */
407
+ createdByUserId: string | null;
408
+ /**
409
+ * Total duration in seconds.
410
+ */
411
+ durationSeconds: number | null;
412
+ /**
413
+ * Error message if the task failed.
414
+ */
415
+ errorMessage: string | null;
416
+ findingSummary: TaskRunFindingSummary;
417
+ /**
418
+ * Findings surfaced during this task run.
419
+ */
420
+ findings: TaskRunFinding[];
421
+ /**
422
+ * Whether the full output log was persisted.
423
+ */
424
+ fullOutputStored: boolean;
425
+ /**
426
+ * Unique identifier (UUID v4 string).
427
+ */
428
+ id: string;
429
+ /**
430
+ * Optional cap on AI sessions.
431
+ */
432
+ maxSessions: number | null;
433
+ /**
434
+ * Short summary of the run output, if stored.
435
+ */
436
+ outputSummary: string | null;
437
+ /**
438
+ * Owning project ID, if scoped to a project.
439
+ */
440
+ projectId: string | null;
441
+ /**
442
+ * Original prompt text.
443
+ */
444
+ prompt: string;
445
+ /**
446
+ * Runner instance that executed the task, if known.
447
+ */
448
+ runnerId: string | null;
449
+ /**
450
+ * AI sessions associated with this task run.
451
+ */
452
+ sessions: TaskRunSession[];
453
+ /**
454
+ * Number of AI sessions that have been run.
455
+ */
456
+ sessionsCount: number;
457
+ status: TaskRunStatus;
458
+ /**
459
+ * Display name.
460
+ */
461
+ taskName: string;
462
+ /**
463
+ * ISO 8601 timestamp when the record was last updated.
464
+ */
465
+ updatedAt: string;
466
+ [k: string]: unknown;
467
467
  }
468
468
 
469
- /* eslint-disable */
470
- /**
471
- * This file was automatically generated.
472
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
473
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
474
- */
475
-
476
-
477
-
478
- /**
479
- * Request payload for creating a task run.
480
- */
481
- interface TaskRunCreate {
482
- /**
483
- * Whether the task should auto-continue.
484
- */
485
- autoContinue?: boolean | null;
486
- /**
487
- * Workflow config ID to use.
488
- */
489
- configId?: string | null;
490
- /**
491
- * Serialized execution steps, if provided ad-hoc.
492
- */
493
- executionStepsJson?: string | null;
494
- /**
495
- * Optional client-generated ID.
496
- */
497
- id?: string | null;
498
- /**
499
- * Serialized log-sources configuration.
500
- */
501
- logSourcesJson?: string | null;
502
- /**
503
- * Optional cap on AI sessions.
504
- */
505
- maxSessions?: number | null;
506
- /**
507
- * Optional owning project.
508
- */
509
- projectId?: string | null;
510
- /**
511
- * Prompt text, if applicable.
512
- */
513
- prompt?: string | null;
514
- /**
515
- * Optional runner that will execute the task.
516
- */
517
- runnerId?: string | null;
518
- /**
519
- * Display name.
520
- */
521
- taskName: string;
522
- /**
523
- * Task type.
524
- */
525
- taskType?: TaskType | null;
526
- /**
527
- * Workflow name to use.
528
- */
529
- workflowName?: string | null;
469
+ /* eslint-disable */
470
+ /**
471
+ * This file was automatically generated.
472
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
473
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
474
+ */
475
+
476
+
477
+
478
+ /**
479
+ * Request payload for creating a task run.
480
+ */
481
+ interface TaskRunCreate {
482
+ /**
483
+ * Whether the task should auto-continue.
484
+ */
485
+ autoContinue?: boolean | null;
486
+ /**
487
+ * Workflow config ID to use.
488
+ */
489
+ configId?: string | null;
490
+ /**
491
+ * Serialized execution steps, if provided ad-hoc.
492
+ */
493
+ executionStepsJson?: string | null;
494
+ /**
495
+ * Optional client-generated ID.
496
+ */
497
+ id?: string | null;
498
+ /**
499
+ * Serialized log-sources configuration.
500
+ */
501
+ logSourcesJson?: string | null;
502
+ /**
503
+ * Optional cap on AI sessions.
504
+ */
505
+ maxSessions?: number | null;
506
+ /**
507
+ * Optional owning project.
508
+ */
509
+ projectId?: string | null;
510
+ /**
511
+ * Prompt text, if applicable.
512
+ */
513
+ prompt?: string | null;
514
+ /**
515
+ * Optional runner that will execute the task.
516
+ */
517
+ runnerId?: string | null;
518
+ /**
519
+ * Display name.
520
+ */
521
+ taskName: string;
522
+ /**
523
+ * Task type.
524
+ */
525
+ taskType?: TaskType | null;
526
+ /**
527
+ * Workflow name to use.
528
+ */
529
+ workflowName?: string | null;
530
530
  }
531
531
 
532
- /* eslint-disable */
533
- /**
534
- * This file was automatically generated.
535
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
536
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
537
- */
538
-
539
-
540
-
541
- /**
542
- * Request payload for updating an existing task run. All fields are optional;
543
- * only those supplied are applied.
544
- */
545
- interface TaskRunUpdate {
546
- /**
547
- * ISO 8601 timestamp when the task completed.
548
- */
549
- completedAt?: string | null;
550
- /**
551
- * Total duration in seconds.
552
- */
553
- durationSeconds?: number | null;
554
- /**
555
- * Error message to attach.
556
- */
557
- errorMessage?: string | null;
558
- /**
559
- * Full output log to persist.
560
- */
561
- fullOutput?: string | null;
562
- /**
563
- * Whether the full output log has been stored.
564
- */
565
- fullOutputStored?: boolean | null;
566
- /**
567
- * Updated output summary.
568
- */
569
- outputSummary?: string | null;
570
- /**
571
- * Updated session count.
572
- */
573
- sessionsCount?: number | null;
574
- /**
575
- * New lifecycle status.
576
- */
577
- status?: TaskRunStatus | null;
532
+ /* eslint-disable */
533
+ /**
534
+ * This file was automatically generated.
535
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
536
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
537
+ */
538
+
539
+
540
+
541
+ /**
542
+ * Request payload for updating an existing task run. All fields are optional;
543
+ * only those supplied are applied.
544
+ */
545
+ interface TaskRunUpdate {
546
+ /**
547
+ * ISO 8601 timestamp when the task completed.
548
+ */
549
+ completedAt?: string | null;
550
+ /**
551
+ * Total duration in seconds.
552
+ */
553
+ durationSeconds?: number | null;
554
+ /**
555
+ * Error message to attach.
556
+ */
557
+ errorMessage?: string | null;
558
+ /**
559
+ * Full output log to persist.
560
+ */
561
+ fullOutput?: string | null;
562
+ /**
563
+ * Whether the full output log has been stored.
564
+ */
565
+ fullOutputStored?: boolean | null;
566
+ /**
567
+ * Updated output summary.
568
+ */
569
+ outputSummary?: string | null;
570
+ /**
571
+ * Updated session count.
572
+ */
573
+ sessionsCount?: number | null;
574
+ /**
575
+ * New lifecycle status.
576
+ */
577
+ status?: TaskRunStatus | null;
578
578
  }
579
579
 
580
- /* eslint-disable */
581
- /**
582
- * This file was automatically generated.
583
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
584
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
585
- */
586
-
587
-
588
-
589
- /**
590
- * Request payload for creating a finding.
591
- */
592
- interface TaskRunFindingCreate {
593
- /**
594
- * Action type (defaults server-side if omitted).
595
- */
596
- actionType?: TaskRunFindingActionType | null;
597
- category: TaskRunFindingCategory;
598
- /**
599
- * Snippet of code illustrating the issue.
600
- */
601
- codeSnippet?: string | null;
602
- /**
603
- * Column number where the issue was found.
604
- */
605
- columnNumber?: number | null;
606
- /**
607
- * Full description.
608
- */
609
- description: string;
610
- /**
611
- * Session number in which the finding was detected.
612
- */
613
- detectedInSession: number;
614
- /**
615
- * File path where the issue was found.
616
- */
617
- filePath?: string | null;
618
- /**
619
- * Optional client-generated ID.
620
- */
621
- id?: string | null;
622
- /**
623
- * Suggested response options for the user.
624
- */
625
- inputOptions?: string[] | null;
626
- /**
627
- * Line number where the issue was found.
628
- */
629
- lineNumber?: number | null;
630
- /**
631
- * Whether this finding requires user input.
632
- */
633
- needsInput?: boolean | null;
634
- /**
635
- * Question to pose to the user, if input is needed.
636
- */
637
- question?: string | null;
638
- /**
639
- * Resolution text, if already resolved.
640
- */
641
- resolution?: string | null;
642
- severity: TaskRunFindingSeverity;
643
- /**
644
- * Deduplication hash.
645
- */
646
- signatureHash?: string | null;
647
- /**
648
- * Initial status (defaults server-side if omitted).
649
- */
650
- status?: TaskRunFindingStatus | null;
651
- /**
652
- * Short title.
653
- */
654
- title: string;
580
+ /* eslint-disable */
581
+ /**
582
+ * This file was automatically generated.
583
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
584
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
585
+ */
586
+
587
+
588
+
589
+ /**
590
+ * Request payload for creating a finding.
591
+ */
592
+ interface TaskRunFindingCreate {
593
+ /**
594
+ * Action type (defaults server-side if omitted).
595
+ */
596
+ actionType?: TaskRunFindingActionType | null;
597
+ category: TaskRunFindingCategory;
598
+ /**
599
+ * Snippet of code illustrating the issue.
600
+ */
601
+ codeSnippet?: string | null;
602
+ /**
603
+ * Column number where the issue was found.
604
+ */
605
+ columnNumber?: number | null;
606
+ /**
607
+ * Full description.
608
+ */
609
+ description: string;
610
+ /**
611
+ * Session number in which the finding was detected.
612
+ */
613
+ detectedInSession: number;
614
+ /**
615
+ * File path where the issue was found.
616
+ */
617
+ filePath?: string | null;
618
+ /**
619
+ * Optional client-generated ID.
620
+ */
621
+ id?: string | null;
622
+ /**
623
+ * Suggested response options for the user.
624
+ */
625
+ inputOptions?: string[] | null;
626
+ /**
627
+ * Line number where the issue was found.
628
+ */
629
+ lineNumber?: number | null;
630
+ /**
631
+ * Whether this finding requires user input.
632
+ */
633
+ needsInput?: boolean | null;
634
+ /**
635
+ * Question to pose to the user, if input is needed.
636
+ */
637
+ question?: string | null;
638
+ /**
639
+ * Resolution text, if already resolved.
640
+ */
641
+ resolution?: string | null;
642
+ severity: TaskRunFindingSeverity;
643
+ /**
644
+ * Deduplication hash.
645
+ */
646
+ signatureHash?: string | null;
647
+ /**
648
+ * Initial status (defaults server-side if omitted).
649
+ */
650
+ status?: TaskRunFindingStatus | null;
651
+ /**
652
+ * Short title.
653
+ */
654
+ title: string;
655
655
  }
656
656
 
657
- /* eslint-disable */
658
- /**
659
- * This file was automatically generated.
660
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
661
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
662
- */
663
-
664
-
665
-
666
- /**
667
- * Request payload for updating a finding. All fields are optional.
668
- */
669
- interface TaskRunFindingUpdate {
670
- /**
671
- * Resolution text.
672
- */
673
- resolution?: string | null;
674
- /**
675
- * ISO 8601 timestamp of resolution.
676
- */
677
- resolvedAt?: string | null;
678
- /**
679
- * Session number in which the finding was resolved.
680
- */
681
- resolvedInSession?: number | null;
682
- /**
683
- * New lifecycle status.
684
- */
685
- status?: TaskRunFindingStatus | null;
686
- /**
687
- * User response, if the finding needed input.
688
- */
689
- userResponse?: string | null;
657
+ /* eslint-disable */
658
+ /**
659
+ * This file was automatically generated.
660
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
661
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
662
+ */
663
+
664
+
665
+
666
+ /**
667
+ * Request payload for updating a finding. All fields are optional.
668
+ */
669
+ interface TaskRunFindingUpdate {
670
+ /**
671
+ * Resolution text.
672
+ */
673
+ resolution?: string | null;
674
+ /**
675
+ * ISO 8601 timestamp of resolution.
676
+ */
677
+ resolvedAt?: string | null;
678
+ /**
679
+ * Session number in which the finding was resolved.
680
+ */
681
+ resolvedInSession?: number | null;
682
+ /**
683
+ * New lifecycle status.
684
+ */
685
+ status?: TaskRunFindingStatus | null;
686
+ /**
687
+ * User response, if the finding needed input.
688
+ */
689
+ userResponse?: string | null;
690
690
  }
691
691
 
692
- /* eslint-disable */
693
- /**
694
- * This file was automatically generated.
695
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
696
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
697
- */
698
-
699
- /**
700
- * Inline `data` payload on a [`RunPromptResponse`].
701
- */
702
- interface RunPromptResponseData {
703
- /**
704
- * AI output text.
705
- */
706
- output?: string | null;
707
- /**
708
- * Final response text.
709
- */
710
- response?: string | null;
692
+ /* eslint-disable */
693
+ /**
694
+ * This file was automatically generated.
695
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
696
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
697
+ */
698
+
699
+ /**
700
+ * Inline `data` payload on a [`RunPromptResponse`].
701
+ */
702
+ interface RunPromptResponseData {
703
+ /**
704
+ * AI output text.
705
+ */
706
+ output?: string | null;
707
+ /**
708
+ * Final response text.
709
+ */
710
+ response?: string | null;
711
711
  }
712
712
 
713
- /* eslint-disable */
714
- /**
715
- * This file was automatically generated.
716
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
717
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
718
- */
719
-
720
-
721
-
722
- /**
723
- * Response from the runner's `run_prompt` endpoint.
724
- */
725
- interface RunPromptResponse {
726
- /**
727
- * Structured data payload from a synchronous prompt run.
728
- */
729
- data?: RunPromptResponseData | null;
730
- /**
731
- * Error message if the call failed.
732
- */
733
- error?: string | null;
734
- /**
735
- * Path to the log file for the session.
736
- */
737
- logFile?: string | null;
738
- /**
739
- * Immediate output if the call ran synchronously.
740
- */
741
- output?: string | null;
742
- /**
743
- * OS process ID of the spawned AI session, if any.
744
- */
745
- pid?: number | null;
746
- /**
747
- * ID of the created AI session, if any.
748
- */
749
- sessionId?: string | null;
750
- /**
751
- * Path to the state file tracking the session.
752
- */
753
- stateFile?: string | null;
754
- /**
755
- * Whether the prompt was accepted and started successfully.
756
- */
757
- success: boolean;
758
- /**
759
- * ID of the created task run, if any.
760
- */
761
- taskRunId?: string | null;
713
+ /* eslint-disable */
714
+ /**
715
+ * This file was automatically generated.
716
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
717
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
718
+ */
719
+
720
+
721
+
722
+ /**
723
+ * Response from the runner's `run_prompt` endpoint.
724
+ */
725
+ interface RunPromptResponse {
726
+ /**
727
+ * Structured data payload from a synchronous prompt run.
728
+ */
729
+ data?: RunPromptResponseData | null;
730
+ /**
731
+ * Error message if the call failed.
732
+ */
733
+ error?: string | null;
734
+ /**
735
+ * Path to the log file for the session.
736
+ */
737
+ logFile?: string | null;
738
+ /**
739
+ * Immediate output if the call ran synchronously.
740
+ */
741
+ output?: string | null;
742
+ /**
743
+ * OS process ID of the spawned AI session, if any.
744
+ */
745
+ pid?: number | null;
746
+ /**
747
+ * ID of the created AI session, if any.
748
+ */
749
+ sessionId?: string | null;
750
+ /**
751
+ * Path to the state file tracking the session.
752
+ */
753
+ stateFile?: string | null;
754
+ /**
755
+ * Whether the prompt was accepted and started successfully.
756
+ */
757
+ success: boolean;
758
+ /**
759
+ * ID of the created task run, if any.
760
+ */
761
+ taskRunId?: string | null;
762
762
  }
763
763
 
764
- /* eslint-disable */
765
- /**
766
- * This file was automatically generated.
767
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
768
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
769
- */
770
-
771
- /**
772
- * Request body for the runner's `run_prompt` endpoint.
773
- */
774
- interface RunPromptRequest {
775
- /**
776
- * Prompt content (the actual text sent to the AI).
777
- */
778
- content: string;
779
- /**
780
- * Optional free-form context string appended to the prompt.
781
- */
782
- context?: string | null;
783
- /**
784
- * Display-only version of the prompt (shown in the UI).
785
- */
786
- displayPrompt?: string | null;
787
- /**
788
- * Attached image paths.
789
- */
790
- imagePaths?: string[] | null;
791
- /**
792
- * Optional cap on AI sessions.
793
- */
794
- maxSessions?: number | null;
795
- /**
796
- * Cap on trace screenshots to include.
797
- */
798
- maxTraceScreenshots?: number | null;
799
- /**
800
- * Cap on video frames to extract for the prompt.
801
- */
802
- maxVideoFrames?: number | null;
803
- /**
804
- * Display name for the task.
805
- */
806
- name: string;
807
- /**
808
- * Hard timeout in seconds.
809
- */
810
- timeoutSeconds?: number | null;
811
- /**
812
- * Optional path to a trace file.
813
- */
814
- tracePath?: string | null;
815
- /**
816
- * Attached video paths.
817
- */
818
- videoPaths?: string[] | null;
764
+ /* eslint-disable */
765
+ /**
766
+ * This file was automatically generated.
767
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
768
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
769
+ */
770
+
771
+ /**
772
+ * Request body for the runner's `run_prompt` endpoint.
773
+ */
774
+ interface RunPromptRequest {
775
+ /**
776
+ * Prompt content (the actual text sent to the AI).
777
+ */
778
+ content: string;
779
+ /**
780
+ * Optional free-form context string appended to the prompt.
781
+ */
782
+ context?: string | null;
783
+ /**
784
+ * Display-only version of the prompt (shown in the UI).
785
+ */
786
+ displayPrompt?: string | null;
787
+ /**
788
+ * Attached image paths.
789
+ */
790
+ imagePaths?: string[] | null;
791
+ /**
792
+ * Optional cap on AI sessions.
793
+ */
794
+ maxSessions?: number | null;
795
+ /**
796
+ * Cap on trace screenshots to include.
797
+ */
798
+ maxTraceScreenshots?: number | null;
799
+ /**
800
+ * Cap on video frames to extract for the prompt.
801
+ */
802
+ maxVideoFrames?: number | null;
803
+ /**
804
+ * Display name for the task.
805
+ */
806
+ name: string;
807
+ /**
808
+ * Hard timeout in seconds.
809
+ */
810
+ timeoutSeconds?: number | null;
811
+ /**
812
+ * Optional path to a trace file.
813
+ */
814
+ tracePath?: string | null;
815
+ /**
816
+ * Attached video paths.
817
+ */
818
+ videoPaths?: string[] | null;
819
819
  }
820
820
 
821
- /* eslint-disable */
822
- /**
823
- * This file was automatically generated.
824
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
825
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
826
- */
827
-
828
-
829
-
830
- /**
831
- * Request body for creating a task run (simplified shape used by the runner's
832
- * create-task endpoint).
833
- */
834
- interface CreateTaskRunRequest {
835
- /**
836
- * Whether the task should auto-continue.
837
- */
838
- autoContinue?: boolean | null;
839
- /**
840
- * Workflow config ID to use.
841
- */
842
- configId?: string | null;
843
- /**
844
- * Serialized execution steps, if provided ad-hoc.
845
- */
846
- executionStepsJson?: string | null;
847
- /**
848
- * Serialized log-sources configuration.
849
- */
850
- logSourcesJson?: string | null;
851
- /**
852
- * Optional cap on AI sessions.
853
- */
854
- maxSessions?: number | null;
855
- /**
856
- * Prompt text, if applicable.
857
- */
858
- prompt?: string | null;
859
- /**
860
- * Display name.
861
- */
862
- taskName: string;
863
- /**
864
- * Task type.
865
- */
866
- taskType?: TaskType | null;
867
- /**
868
- * Workflow name to use.
869
- */
870
- workflowName?: string | null;
821
+ /* eslint-disable */
822
+ /**
823
+ * This file was automatically generated.
824
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
825
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
826
+ */
827
+
828
+
829
+
830
+ /**
831
+ * Request body for creating a task run (simplified shape used by the runner's
832
+ * create-task endpoint).
833
+ */
834
+ interface CreateTaskRunRequest {
835
+ /**
836
+ * Whether the task should auto-continue.
837
+ */
838
+ autoContinue?: boolean | null;
839
+ /**
840
+ * Workflow config ID to use.
841
+ */
842
+ configId?: string | null;
843
+ /**
844
+ * Serialized execution steps, if provided ad-hoc.
845
+ */
846
+ executionStepsJson?: string | null;
847
+ /**
848
+ * Serialized log-sources configuration.
849
+ */
850
+ logSourcesJson?: string | null;
851
+ /**
852
+ * Optional cap on AI sessions.
853
+ */
854
+ maxSessions?: number | null;
855
+ /**
856
+ * Prompt text, if applicable.
857
+ */
858
+ prompt?: string | null;
859
+ /**
860
+ * Display name.
861
+ */
862
+ taskName: string;
863
+ /**
864
+ * Task type.
865
+ */
866
+ taskType?: TaskType | null;
867
+ /**
868
+ * Workflow name to use.
869
+ */
870
+ workflowName?: string | null;
871
871
  }
872
872
 
873
- /* eslint-disable */
874
- /**
875
- * This file was automatically generated.
876
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
877
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
878
- */
879
-
880
-
881
-
882
- /**
883
- * Filter parameters for listing task runs.
884
- */
885
- interface TaskRunFilters {
886
- /**
887
- * Include only runs before this ISO 8601 timestamp.
888
- */
889
- endDate?: string | null;
890
- /**
891
- * Pagination limit.
892
- */
893
- limit?: number | null;
894
- /**
895
- * Pagination offset.
896
- */
897
- offset?: number | null;
898
- /**
899
- * Restrict to a given project.
900
- */
901
- projectId?: string | null;
902
- /**
903
- * Include only runs after this ISO 8601 timestamp.
904
- */
905
- startDate?: string | null;
906
- /**
907
- * Restrict to a given status.
908
- */
909
- status?: TaskRunStatus | null;
873
+ /* eslint-disable */
874
+ /**
875
+ * This file was automatically generated.
876
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
877
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
878
+ */
879
+
880
+
881
+
882
+ /**
883
+ * Filter parameters for listing task runs.
884
+ */
885
+ interface TaskRunFilters {
886
+ /**
887
+ * Include only runs before this ISO 8601 timestamp.
888
+ */
889
+ endDate?: string | null;
890
+ /**
891
+ * Pagination limit.
892
+ */
893
+ limit?: number | null;
894
+ /**
895
+ * Pagination offset.
896
+ */
897
+ offset?: number | null;
898
+ /**
899
+ * Restrict to a given project.
900
+ */
901
+ projectId?: string | null;
902
+ /**
903
+ * Include only runs after this ISO 8601 timestamp.
904
+ */
905
+ startDate?: string | null;
906
+ /**
907
+ * Restrict to a given status.
908
+ */
909
+ status?: TaskRunStatus | null;
910
910
  }
911
911
 
912
- /* eslint-disable */
913
- /**
914
- * This file was automatically generated.
915
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
916
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
917
- */
918
-
919
-
920
-
921
- /**
922
- * Filter parameters for listing findings.
923
- */
924
- interface TaskRunFindingFilters {
925
- /**
926
- * Restrict to a given category.
927
- */
928
- category?: TaskRunFindingCategory | null;
929
- /**
930
- * Restrict to a given severity.
931
- */
932
- severity?: TaskRunFindingSeverity | null;
933
- /**
934
- * Restrict to a given status.
935
- */
936
- status?: TaskRunFindingStatus | null;
912
+ /* eslint-disable */
913
+ /**
914
+ * This file was automatically generated.
915
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
916
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
917
+ */
918
+
919
+
920
+
921
+ /**
922
+ * Filter parameters for listing findings.
923
+ */
924
+ interface TaskRunFindingFilters {
925
+ /**
926
+ * Restrict to a given category.
927
+ */
928
+ category?: TaskRunFindingCategory | null;
929
+ /**
930
+ * Restrict to a given severity.
931
+ */
932
+ severity?: TaskRunFindingSeverity | null;
933
+ /**
934
+ * Restrict to a given status.
935
+ */
936
+ status?: TaskRunFindingStatus | null;
937
937
  }
938
938
 
939
- /* eslint-disable */
940
- /**
941
- * This file was automatically generated.
942
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
943
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
944
- */
945
-
946
- /**
947
- * Pagination envelope attached to list responses.
948
- */
949
- interface Pagination {
950
- /**
951
- * Whether additional records are available after this page.
952
- */
953
- hasMore: boolean;
954
- /**
955
- * Maximum number of records returned per page.
956
- */
957
- limit: number;
958
- /**
959
- * Offset into the full result set.
960
- */
961
- offset: number;
962
- /**
963
- * Total number of matching records.
964
- */
965
- total: number;
939
+ /* eslint-disable */
940
+ /**
941
+ * This file was automatically generated.
942
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
943
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
944
+ */
945
+
946
+ /**
947
+ * Pagination envelope attached to list responses.
948
+ */
949
+ interface Pagination {
950
+ /**
951
+ * Whether additional records are available after this page.
952
+ */
953
+ hasMore: boolean;
954
+ /**
955
+ * Maximum number of records returned per page.
956
+ */
957
+ limit: number;
958
+ /**
959
+ * Offset into the full result set.
960
+ */
961
+ offset: number;
962
+ /**
963
+ * Total number of matching records.
964
+ */
965
+ total: number;
966
966
  }
967
967
 
968
- /* eslint-disable */
969
- /**
970
- * This file was automatically generated.
971
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
972
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
973
- */
974
-
975
-
976
-
977
- /**
978
- * Response for `GET /task-runs`.
979
- */
980
- interface TaskRunListResponse {
981
- pagination: Pagination;
982
- /**
983
- * Page of matching task runs.
984
- */
985
- tasks: TaskRunBackend[];
968
+ /* eslint-disable */
969
+ /**
970
+ * This file was automatically generated.
971
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
972
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
973
+ */
974
+
975
+
976
+
977
+ /**
978
+ * Response for `GET /task-runs`.
979
+ */
980
+ interface TaskRunListResponse {
981
+ pagination: Pagination;
982
+ /**
983
+ * Page of matching task runs.
984
+ */
985
+ tasks: TaskRunBackend[];
986
986
  }
987
987
 
988
- /* eslint-disable */
989
- /**
990
- * This file was automatically generated.
991
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
992
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
993
- */
994
-
995
-
996
-
997
- /**
998
- * Response for `GET /task-runs/{id}/findings`.
999
- */
1000
- interface TaskRunFindingsListResponse {
1001
- /**
1002
- * Findings for the task run.
1003
- */
1004
- findings: TaskRunFinding[];
1005
- summary: TaskRunFindingSummary;
988
+ /* eslint-disable */
989
+ /**
990
+ * This file was automatically generated.
991
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
992
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
993
+ */
994
+
995
+
996
+
997
+ /**
998
+ * Response for `GET /task-runs/{id}/findings`.
999
+ */
1000
+ interface TaskRunFindingsListResponse {
1001
+ /**
1002
+ * Findings for the task run.
1003
+ */
1004
+ findings: TaskRunFinding[];
1005
+ summary: TaskRunFindingSummary;
1006
1006
  }
1007
1007
 
1008
- /* eslint-disable */
1009
- /**
1010
- * This file was automatically generated.
1011
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1012
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1013
- */
1014
-
1015
-
1016
-
1017
- /**
1018
- * Compact findings summary including the most recent findings.
1019
- *
1020
- * The TS type `TaskRunFindingResponse` is a type alias for `TaskRunFinding`;
1021
- * in Rust we use `TaskRunFinding` directly.
1022
- */
1023
- interface FindingsSummary {
1024
- /**
1025
- * Count by category.
1026
- */
1027
- byCategory: {
1028
- [k: string]: number;
1029
- };
1030
- /**
1031
- * Count by severity.
1032
- */
1033
- bySeverity: {
1034
- [k: string]: number;
1035
- };
1036
- /**
1037
- * Count by status.
1038
- */
1039
- byStatus: {
1040
- [k: string]: number;
1041
- };
1042
- /**
1043
- * Most recent findings.
1044
- */
1045
- recent: TaskRunFinding[];
1046
- /**
1047
- * Total number of findings.
1048
- */
1049
- total: number;
1008
+ /* eslint-disable */
1009
+ /**
1010
+ * This file was automatically generated.
1011
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1012
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1013
+ */
1014
+
1015
+
1016
+
1017
+ /**
1018
+ * Compact findings summary including the most recent findings.
1019
+ *
1020
+ * The TS type `TaskRunFindingResponse` is a type alias for `TaskRunFinding`;
1021
+ * in Rust we use `TaskRunFinding` directly.
1022
+ */
1023
+ interface FindingsSummary {
1024
+ /**
1025
+ * Count by category.
1026
+ */
1027
+ byCategory: {
1028
+ [k: string]: number;
1029
+ };
1030
+ /**
1031
+ * Count by severity.
1032
+ */
1033
+ bySeverity: {
1034
+ [k: string]: number;
1035
+ };
1036
+ /**
1037
+ * Count by status.
1038
+ */
1039
+ byStatus: {
1040
+ [k: string]: number;
1041
+ };
1042
+ /**
1043
+ * Most recent findings.
1044
+ */
1045
+ recent: TaskRunFinding[];
1046
+ /**
1047
+ * Total number of findings.
1048
+ */
1049
+ total: number;
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
- * A specific issue detail from an individual verification check.
1061
- */
1062
- interface CheckIssueDetail {
1063
- /**
1064
- * Error code or lint rule, if applicable.
1065
- */
1066
- code: string | null;
1067
- /**
1068
- * Column number, if applicable.
1069
- */
1070
- column: number | null;
1071
- /**
1072
- * File path where the issue was detected.
1073
- */
1074
- file: string;
1075
- /**
1076
- * Whether the check can auto-fix this issue.
1077
- */
1078
- fixable: boolean;
1079
- /**
1080
- * Line number, if applicable.
1081
- */
1082
- line: number | null;
1083
- /**
1084
- * Human-readable message.
1085
- */
1086
- message: string;
1087
- /**
1088
- * Severity label (free-form string from the upstream check).
1089
- */
1090
- severity: 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
+ * A specific issue detail from an individual verification check.
1061
+ */
1062
+ interface CheckIssueDetail {
1063
+ /**
1064
+ * Error code or lint rule, if applicable.
1065
+ */
1066
+ code: string | null;
1067
+ /**
1068
+ * Column number, if applicable.
1069
+ */
1070
+ column: number | null;
1071
+ /**
1072
+ * File path where the issue was detected.
1073
+ */
1074
+ file: string;
1075
+ /**
1076
+ * Whether the check can auto-fix this issue.
1077
+ */
1078
+ fixable: boolean;
1079
+ /**
1080
+ * Line number, if applicable.
1081
+ */
1082
+ line: number | null;
1083
+ /**
1084
+ * Human-readable message.
1085
+ */
1086
+ message: string;
1087
+ /**
1088
+ * Severity label (free-form string from the upstream check).
1089
+ */
1090
+ severity: string;
1091
1091
  }
1092
1092
 
1093
- /* eslint-disable */
1094
- /**
1095
- * This file was automatically generated.
1096
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1097
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1098
- */
1099
-
1100
-
1101
-
1102
- /**
1103
- * Result of a single named verification check (e.g., `"eslint"`, `"mypy"`).
1104
- */
1105
- interface IndividualCheckResult {
1106
- /**
1107
- * How long the check took, in milliseconds.
1108
- */
1109
- durationMs: number;
1110
- /**
1111
- * Error message, if the check itself failed to run.
1112
- */
1113
- errorMessage: string | null;
1114
- /**
1115
- * Number of files the check inspected.
1116
- */
1117
- filesChecked: number;
1118
- /**
1119
- * Specific issue details.
1120
- */
1121
- issues: CheckIssueDetail[];
1122
- /**
1123
- * Number of issues auto-fixed by this check.
1124
- */
1125
- issuesFixed: number;
1126
- /**
1127
- * Number of issues surfaced by this check.
1128
- */
1129
- issuesFound: number;
1130
- /**
1131
- * Name of the check.
1132
- */
1133
- name: string;
1134
- /**
1135
- * Raw check output, if captured.
1136
- */
1137
- output: string | null;
1138
- /**
1139
- * Free-form status string (e.g., `"passed"`, `"failed"`, `"skipped"`).
1140
- */
1141
- status: string;
1093
+ /* eslint-disable */
1094
+ /**
1095
+ * This file was automatically generated.
1096
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1097
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1098
+ */
1099
+
1100
+
1101
+
1102
+ /**
1103
+ * Result of a single named verification check (e.g., `"eslint"`, `"mypy"`).
1104
+ */
1105
+ interface IndividualCheckResult {
1106
+ /**
1107
+ * How long the check took, in milliseconds.
1108
+ */
1109
+ durationMs: number;
1110
+ /**
1111
+ * Error message, if the check itself failed to run.
1112
+ */
1113
+ errorMessage: string | null;
1114
+ /**
1115
+ * Number of files the check inspected.
1116
+ */
1117
+ filesChecked: number;
1118
+ /**
1119
+ * Specific issue details.
1120
+ */
1121
+ issues: CheckIssueDetail[];
1122
+ /**
1123
+ * Number of issues auto-fixed by this check.
1124
+ */
1125
+ issuesFixed: number;
1126
+ /**
1127
+ * Number of issues surfaced by this check.
1128
+ */
1129
+ issuesFound: number;
1130
+ /**
1131
+ * Name of the check.
1132
+ */
1133
+ name: string;
1134
+ /**
1135
+ * Raw check output, if captured.
1136
+ */
1137
+ output: string | null;
1138
+ /**
1139
+ * Free-form status string (e.g., `"passed"`, `"failed"`, `"skipped"`).
1140
+ */
1141
+ status: string;
1142
1142
  }
1143
1143
 
1144
- /* eslint-disable */
1145
- /**
1146
- * This file was automatically generated.
1147
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1148
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1149
- */
1150
-
1151
-
1152
-
1153
- /**
1154
- * Detailed output captured for a single verification step.
1155
- */
1156
- interface VerificationStepDetails {
1157
- /**
1158
- * Number of assertions that passed.
1159
- */
1160
- assertionsPassed: number | null;
1161
- /**
1162
- * Total number of assertions.
1163
- */
1164
- assertionsTotal: number | null;
1165
- /**
1166
- * Results of individual named checks (e.g., lint, type, test).
1167
- */
1168
- checkResults: IndividualCheckResult[] | null;
1169
- /**
1170
- * Captured browser/console output.
1171
- */
1172
- consoleOutput: string | null;
1173
- /**
1174
- * Exit code of the spawned process.
1175
- */
1176
- exitCode: number | null;
1177
- /**
1178
- * Captured page snapshot (HTML or serialized representation).
1179
- */
1180
- pageSnapshot: string | null;
1181
- /**
1182
- * Phase the step belongs to (e.g., `"setup"`, `"verification"`).
1183
- */
1184
- phase: string;
1185
- /**
1186
- * Captured stderr, if any.
1187
- */
1188
- stderr: string | null;
1189
- /**
1190
- * Captured stdout, if any.
1191
- */
1192
- stdout: string | null;
1193
- /**
1194
- * ID of the step this detail belongs to.
1195
- */
1196
- stepId: string;
1144
+ /* eslint-disable */
1145
+ /**
1146
+ * This file was automatically generated.
1147
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1148
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1149
+ */
1150
+
1151
+
1152
+
1153
+ /**
1154
+ * Detailed output captured for a single verification step.
1155
+ */
1156
+ interface VerificationStepDetails {
1157
+ /**
1158
+ * Number of assertions that passed.
1159
+ */
1160
+ assertionsPassed: number | null;
1161
+ /**
1162
+ * Total number of assertions.
1163
+ */
1164
+ assertionsTotal: number | null;
1165
+ /**
1166
+ * Results of individual named checks (e.g., lint, type, test).
1167
+ */
1168
+ checkResults: IndividualCheckResult[] | null;
1169
+ /**
1170
+ * Captured browser/console output.
1171
+ */
1172
+ consoleOutput: string | null;
1173
+ /**
1174
+ * Exit code of the spawned process.
1175
+ */
1176
+ exitCode: number | null;
1177
+ /**
1178
+ * Captured page snapshot (HTML or serialized representation).
1179
+ */
1180
+ pageSnapshot: string | null;
1181
+ /**
1182
+ * Phase the step belongs to (e.g., `"setup"`, `"verification"`).
1183
+ */
1184
+ phase: string;
1185
+ /**
1186
+ * Captured stderr, if any.
1187
+ */
1188
+ stderr: string | null;
1189
+ /**
1190
+ * Captured stdout, if any.
1191
+ */
1192
+ stdout: string | null;
1193
+ /**
1194
+ * ID of the step this detail belongs to.
1195
+ */
1196
+ stepId: string;
1197
1197
  }
1198
1198
 
1199
- /* eslint-disable */
1200
- /**
1201
- * This file was automatically generated.
1202
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1203
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1204
- */
1205
-
1206
- /**
1207
- * Execution config captured for a verification step.
1208
- *
1209
- * The TypeScript type includes an index signature `[key: string]: unknown`,
1210
- * so extra arbitrary fields are captured in `extra` via `serde(flatten)` and
1211
- * passed through opaquely.
1212
- */
1213
- interface StepExecutionConfig {
1214
- /**
1215
- * Action type (e.g., click, type, wait).
1216
- */
1217
- actionType?: string | null;
1218
- /**
1219
- * Check type for verification steps.
1220
- */
1221
- checkType?: string | null;
1222
- /**
1223
- * Target image ID, if the action references an image.
1224
- */
1225
- targetImageId?: string | null;
1226
- /**
1227
- * Target image name, if the action references an image.
1228
- */
1229
- targetImageName?: string | null;
1230
- /**
1231
- * Timeout in seconds.
1232
- */
1233
- timeoutSeconds?: number | null;
1234
- [k: string]: unknown;
1199
+ /* eslint-disable */
1200
+ /**
1201
+ * This file was automatically generated.
1202
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1203
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1204
+ */
1205
+
1206
+ /**
1207
+ * Execution config captured for a verification step.
1208
+ *
1209
+ * The TypeScript type includes an index signature `[key: string]: unknown`,
1210
+ * so extra arbitrary fields are captured in `extra` via `serde(flatten)` and
1211
+ * passed through opaquely.
1212
+ */
1213
+ interface StepExecutionConfig {
1214
+ /**
1215
+ * Action type (e.g., click, type, wait).
1216
+ */
1217
+ actionType?: string | null;
1218
+ /**
1219
+ * Check type for verification steps.
1220
+ */
1221
+ checkType?: string | null;
1222
+ /**
1223
+ * Target image ID, if the action references an image.
1224
+ */
1225
+ targetImageId?: string | null;
1226
+ /**
1227
+ * Target image name, if the action references an image.
1228
+ */
1229
+ targetImageName?: string | null;
1230
+ /**
1231
+ * Timeout in seconds.
1232
+ */
1233
+ timeoutSeconds?: number | null;
1234
+ [k: string]: unknown;
1235
1235
  }
1236
1236
 
1237
- /* eslint-disable */
1238
- /**
1239
- * This file was automatically generated.
1240
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1241
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1242
- */
1243
-
1244
-
1245
-
1246
- /**
1247
- * Result of a single step within a verification phase.
1248
- */
1249
- interface VerificationStepResult {
1250
- config: StepExecutionConfig;
1251
- /**
1252
- * Step duration in milliseconds.
1253
- */
1254
- durationMs: number;
1255
- /**
1256
- * ISO 8601 timestamp when the step ended.
1257
- */
1258
- endedAt: string | null;
1259
- /**
1260
- * Error message if the step failed.
1261
- */
1262
- error: string | null;
1263
- /**
1264
- * Arbitrary structured output produced by the step.
1265
- */
1266
- outputData: {
1267
- [k: string]: unknown;
1268
- } | null;
1269
- /**
1270
- * Path to a screenshot captured for the step.
1271
- */
1272
- screenshotPath: string | null;
1273
- /**
1274
- * ISO 8601 timestamp when the step started.
1275
- */
1276
- startedAt: string | null;
1277
- /**
1278
- * ID of the step, if assigned.
1279
- */
1280
- stepId: string | null;
1281
- /**
1282
- * Zero-based index of the step within the phase.
1283
- */
1284
- stepIndex: number;
1285
- /**
1286
- * Display name of the step.
1287
- */
1288
- stepName: string;
1289
- /**
1290
- * Free-form step type label.
1291
- */
1292
- stepType: string;
1293
- /**
1294
- * Whether the step succeeded.
1295
- */
1296
- success: boolean;
1297
- /**
1298
- * Detailed captured output, if any.
1299
- */
1300
- verificationDetails: VerificationStepDetails | null;
1237
+ /* eslint-disable */
1238
+ /**
1239
+ * This file was automatically generated.
1240
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1241
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1242
+ */
1243
+
1244
+
1245
+
1246
+ /**
1247
+ * Result of a single step within a verification phase.
1248
+ */
1249
+ interface VerificationStepResult {
1250
+ config: StepExecutionConfig;
1251
+ /**
1252
+ * Step duration in milliseconds.
1253
+ */
1254
+ durationMs: number;
1255
+ /**
1256
+ * ISO 8601 timestamp when the step ended.
1257
+ */
1258
+ endedAt: string | null;
1259
+ /**
1260
+ * Error message if the step failed.
1261
+ */
1262
+ error: string | null;
1263
+ /**
1264
+ * Arbitrary structured output produced by the step.
1265
+ */
1266
+ outputData: {
1267
+ [k: string]: unknown;
1268
+ } | null;
1269
+ /**
1270
+ * Path to a screenshot captured for the step.
1271
+ */
1272
+ screenshotPath: string | null;
1273
+ /**
1274
+ * ISO 8601 timestamp when the step started.
1275
+ */
1276
+ startedAt: string | null;
1277
+ /**
1278
+ * ID of the step, if assigned.
1279
+ */
1280
+ stepId: string | null;
1281
+ /**
1282
+ * Zero-based index of the step within the phase.
1283
+ */
1284
+ stepIndex: number;
1285
+ /**
1286
+ * Display name of the step.
1287
+ */
1288
+ stepName: string;
1289
+ /**
1290
+ * Free-form step type label.
1291
+ */
1292
+ stepType: string;
1293
+ /**
1294
+ * Whether the step succeeded.
1295
+ */
1296
+ success: boolean;
1297
+ /**
1298
+ * Detailed captured output, if any.
1299
+ */
1300
+ verificationDetails: VerificationStepDetails | null;
1301
1301
  }
1302
1302
 
1303
- /* eslint-disable */
1304
- /**
1305
- * This file was automatically generated.
1306
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1307
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1308
- */
1309
-
1310
- /**
1311
- * Result of evaluating a named gate across a set of steps.
1312
- */
1313
- interface GateEvaluationResult {
1314
- /**
1315
- * IDs of required steps that failed.
1316
- */
1317
- failedStepIds: string[];
1318
- /**
1319
- * Name of the gate.
1320
- */
1321
- gateName: string;
1322
- /**
1323
- * IDs of required steps that were missing.
1324
- */
1325
- missingStepIds: string[];
1326
- /**
1327
- * Whether the gate passed overall.
1328
- */
1329
- passed: boolean;
1330
- /**
1331
- * IDs of required steps that passed.
1332
- */
1333
- passedStepIds: string[];
1334
- /**
1335
- * IDs of steps the gate required.
1336
- */
1337
- requiredStepIds: string[];
1303
+ /* eslint-disable */
1304
+ /**
1305
+ * This file was automatically generated.
1306
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1307
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1308
+ */
1309
+
1310
+ /**
1311
+ * Result of evaluating a named gate across a set of steps.
1312
+ */
1313
+ interface GateEvaluationResult {
1314
+ /**
1315
+ * IDs of required steps that failed.
1316
+ */
1317
+ failedStepIds: string[];
1318
+ /**
1319
+ * Name of the gate.
1320
+ */
1321
+ gateName: string;
1322
+ /**
1323
+ * IDs of required steps that were missing.
1324
+ */
1325
+ missingStepIds: string[];
1326
+ /**
1327
+ * Whether the gate passed overall.
1328
+ */
1329
+ passed: boolean;
1330
+ /**
1331
+ * IDs of required steps that passed.
1332
+ */
1333
+ passedStepIds: string[];
1334
+ /**
1335
+ * IDs of steps the gate required.
1336
+ */
1337
+ requiredStepIds: string[];
1338
1338
  }
1339
1339
 
1340
- /* eslint-disable */
1341
- /**
1342
- * This file was automatically generated.
1343
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1344
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1345
- */
1346
-
1347
-
1348
-
1349
- /**
1350
- * Result of a single iteration of the verification phase.
1351
- */
1352
- interface VerificationPhaseResult {
1353
- /**
1354
- * Whether all steps passed.
1355
- */
1356
- allPassed: boolean;
1357
- /**
1358
- * Whether a critical step failure short-circuited the phase.
1359
- */
1360
- criticalFailure: boolean;
1361
- /**
1362
- * Number of steps that failed.
1363
- */
1364
- failedSteps: number;
1365
- /**
1366
- * Whether pass/fail is determined by gates rather than overall step counts.
1367
- */
1368
- gateBasedEvaluation: boolean;
1369
- /**
1370
- * Per-gate evaluation results.
1371
- */
1372
- gateResults: GateEvaluationResult[];
1373
- /**
1374
- * 1-based iteration index within the workflow run.
1375
- */
1376
- iteration: number;
1377
- /**
1378
- * Number of steps that passed.
1379
- */
1380
- passedSteps: number;
1381
- /**
1382
- * Number of steps that were skipped.
1383
- */
1384
- skippedSteps: number;
1385
- /**
1386
- * Per-step results.
1387
- */
1388
- stepResults: VerificationStepResult[];
1389
- /**
1390
- * Total duration of the phase in milliseconds.
1391
- */
1392
- totalDurationMs: number;
1393
- /**
1394
- * Total number of steps executed.
1395
- */
1396
- totalSteps: number;
1340
+ /* eslint-disable */
1341
+ /**
1342
+ * This file was automatically generated.
1343
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1344
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1345
+ */
1346
+
1347
+
1348
+
1349
+ /**
1350
+ * Result of a single iteration of the verification phase.
1351
+ */
1352
+ interface VerificationPhaseResult {
1353
+ /**
1354
+ * Whether all steps passed.
1355
+ */
1356
+ allPassed: boolean;
1357
+ /**
1358
+ * Whether a critical step failure short-circuited the phase.
1359
+ */
1360
+ criticalFailure: boolean;
1361
+ /**
1362
+ * Number of steps that failed.
1363
+ */
1364
+ failedSteps: number;
1365
+ /**
1366
+ * Whether pass/fail is determined by gates rather than overall step counts.
1367
+ */
1368
+ gateBasedEvaluation: boolean;
1369
+ /**
1370
+ * Per-gate evaluation results.
1371
+ */
1372
+ gateResults: GateEvaluationResult[];
1373
+ /**
1374
+ * 1-based iteration index within the workflow run.
1375
+ */
1376
+ iteration: number;
1377
+ /**
1378
+ * Number of steps that passed.
1379
+ */
1380
+ passedSteps: number;
1381
+ /**
1382
+ * Number of steps that were skipped.
1383
+ */
1384
+ skippedSteps: number;
1385
+ /**
1386
+ * Per-step results.
1387
+ */
1388
+ stepResults: VerificationStepResult[];
1389
+ /**
1390
+ * Total duration of the phase in milliseconds.
1391
+ */
1392
+ totalDurationMs: number;
1393
+ /**
1394
+ * Total number of steps executed.
1395
+ */
1396
+ totalSteps: number;
1397
1397
  }
1398
1398
 
1399
- /* eslint-disable */
1400
- /**
1401
- * This file was automatically generated.
1402
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1403
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1404
- */
1405
-
1406
-
1407
-
1408
- /**
1409
- * Response record for a single stored verification result.
1410
- */
1411
- interface VerificationResultResponse {
1412
- /**
1413
- * Whether all steps passed.
1414
- */
1415
- allPassed: boolean;
1416
- /**
1417
- * ISO 8601 timestamp when the record was created.
1418
- */
1419
- createdAt: string;
1420
- /**
1421
- * Whether a critical step failure short-circuited the phase.
1422
- */
1423
- criticalFailure: boolean;
1424
- /**
1425
- * Number of steps that failed.
1426
- */
1427
- failedSteps: number;
1428
- /**
1429
- * Unique identifier (UUID v4 string).
1430
- */
1431
- id: string;
1432
- /**
1433
- * 1-based iteration index within the workflow run.
1434
- */
1435
- iteration: number;
1436
- /**
1437
- * Number of steps that passed.
1438
- */
1439
- passedSteps: number;
1440
- resultJson: VerificationPhaseResult;
1441
- /**
1442
- * Number of steps that were skipped.
1443
- */
1444
- skippedSteps: number;
1445
- /**
1446
- * ID of the owning task run.
1447
- */
1448
- taskRunId: string;
1449
- /**
1450
- * Total duration of the phase in milliseconds.
1451
- */
1452
- totalDurationMs: number;
1453
- /**
1454
- * Total number of steps executed.
1455
- */
1456
- totalSteps: number;
1399
+ /* eslint-disable */
1400
+ /**
1401
+ * This file was automatically generated.
1402
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1403
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1404
+ */
1405
+
1406
+
1407
+
1408
+ /**
1409
+ * Response record for a single stored verification result.
1410
+ */
1411
+ interface VerificationResultResponse {
1412
+ /**
1413
+ * Whether all steps passed.
1414
+ */
1415
+ allPassed: boolean;
1416
+ /**
1417
+ * ISO 8601 timestamp when the record was created.
1418
+ */
1419
+ createdAt: string;
1420
+ /**
1421
+ * Whether a critical step failure short-circuited the phase.
1422
+ */
1423
+ criticalFailure: boolean;
1424
+ /**
1425
+ * Number of steps that failed.
1426
+ */
1427
+ failedSteps: number;
1428
+ /**
1429
+ * Unique identifier (UUID v4 string).
1430
+ */
1431
+ id: string;
1432
+ /**
1433
+ * 1-based iteration index within the workflow run.
1434
+ */
1435
+ iteration: number;
1436
+ /**
1437
+ * Number of steps that passed.
1438
+ */
1439
+ passedSteps: number;
1440
+ resultJson: VerificationPhaseResult;
1441
+ /**
1442
+ * Number of steps that were skipped.
1443
+ */
1444
+ skippedSteps: number;
1445
+ /**
1446
+ * ID of the owning task run.
1447
+ */
1448
+ taskRunId: string;
1449
+ /**
1450
+ * Total duration of the phase in milliseconds.
1451
+ */
1452
+ totalDurationMs: number;
1453
+ /**
1454
+ * Total number of steps executed.
1455
+ */
1456
+ totalSteps: number;
1457
1457
  }
1458
1458
 
1459
- /* eslint-disable */
1460
- /**
1461
- * This file was automatically generated.
1462
- * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1463
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1464
- */
1465
-
1466
-
1467
-
1468
- /**
1469
- * Response for listing verification results for a task run.
1470
- */
1471
- interface VerificationResultsListResponse {
1472
- /**
1473
- * Total number of verification results.
1474
- */
1475
- count: number;
1476
- /**
1477
- * Number of iterations that failed.
1478
- */
1479
- failedIterations: number;
1480
- /**
1481
- * Number of iterations that passed.
1482
- */
1483
- passedIterations: number;
1484
- /**
1485
- * All verification results for the task run.
1486
- */
1487
- results: VerificationResultResponse[];
1488
- /**
1489
- * ID of the owning task run.
1490
- */
1491
- taskRunId: string;
1459
+ /* eslint-disable */
1460
+ /**
1461
+ * This file was automatically generated.
1462
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
1463
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
1464
+ */
1465
+
1466
+
1467
+
1468
+ /**
1469
+ * Response for listing verification results for a task run.
1470
+ */
1471
+ interface VerificationResultsListResponse {
1472
+ /**
1473
+ * Total number of verification results.
1474
+ */
1475
+ count: number;
1476
+ /**
1477
+ * Number of iterations that failed.
1478
+ */
1479
+ failedIterations: number;
1480
+ /**
1481
+ * Number of iterations that passed.
1482
+ */
1483
+ passedIterations: number;
1484
+ /**
1485
+ * All verification results for the task run.
1486
+ */
1487
+ results: VerificationResultResponse[];
1488
+ /**
1489
+ * ID of the owning task run.
1490
+ */
1491
+ taskRunId: string;
1492
1492
  }
1493
1493
 
1494
1494
  /**