@qontinui/shared-types 0.2.1

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