@qontinui/shared-types 0.2.3 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (543) hide show
  1. package/README.md +128 -128
  2. package/dist/{Region.d-BbpFAWF4.d.cts → Region.d-DtT3UphX.d.cts} +81 -81
  3. package/dist/{Region.d-BbpFAWF4.d.ts → Region.d-DtT3UphX.d.ts} +81 -81
  4. package/dist/{TaskRunFindingActionType.d-B4VmmbB6.d.cts → TaskRunFindingActionType.d-CNIWogcU.d.cts} +53 -53
  5. package/dist/{TaskRunFindingActionType.d-B4VmmbB6.d.ts → TaskRunFindingActionType.d-CNIWogcU.d.ts} +53 -53
  6. package/dist/accessibility.cjs.map +1 -1
  7. package/dist/accessibility.d.cts +379 -379
  8. package/dist/accessibility.d.ts +379 -379
  9. package/dist/chat.cjs.map +1 -1
  10. package/dist/{chunk-ZK5MJEGT.js → chunk-CTBDIP7K.js} +1 -1
  11. package/dist/chunk-CTBDIP7K.js.map +1 -0
  12. package/dist/{chunk-YXD4WCYQ.js → chunk-ZUZ3OLOH.js} +1 -1
  13. package/dist/chunk-ZUZ3OLOH.js.map +1 -0
  14. package/dist/config.cjs.map +1 -1
  15. package/dist/config.d.cts +105 -105
  16. package/dist/config.d.ts +105 -105
  17. package/dist/constraints.cjs.map +1 -1
  18. package/dist/constraints.d.cts +372 -372
  19. package/dist/constraints.d.ts +372 -372
  20. package/dist/execution.cjs.map +1 -1
  21. package/dist/execution.d.cts +869 -869
  22. package/dist/execution.d.ts +869 -869
  23. package/dist/execution.js +1 -1
  24. package/dist/geometry.cjs.map +1 -1
  25. package/dist/geometry.d.cts +81 -81
  26. package/dist/geometry.d.ts +81 -81
  27. package/dist/index.cjs.map +1 -1
  28. package/dist/index.d.cts +589 -589
  29. package/dist/index.d.ts +589 -589
  30. package/dist/index.js +2 -2
  31. package/dist/index.js.map +1 -1
  32. package/dist/library.cjs.map +1 -1
  33. package/dist/rag.cjs.map +1 -1
  34. package/dist/rag.d.cts +579 -579
  35. package/dist/rag.d.ts +579 -579
  36. package/dist/runner.cjs.map +1 -1
  37. package/dist/runner.d.cts +147 -147
  38. package/dist/runner.d.ts +147 -147
  39. package/dist/scheduler.cjs.map +1 -1
  40. package/dist/scheduler.d.cts +692 -692
  41. package/dist/scheduler.d.ts +692 -692
  42. package/dist/state-machine.cjs.map +1 -1
  43. package/dist/state-machine.d.cts +1128 -1128
  44. package/dist/state-machine.d.ts +1128 -1128
  45. package/dist/targets.cjs.map +1 -1
  46. package/dist/targets.d.cts +270 -270
  47. package/dist/targets.d.ts +270 -270
  48. package/dist/task-run.cjs.map +1 -1
  49. package/dist/task-run.d.cts +1431 -1431
  50. package/dist/task-run.d.ts +1431 -1431
  51. package/dist/tauri-events.cjs.map +1 -1
  52. package/dist/tauri-events.d.cts +315 -202
  53. package/dist/tauri-events.d.ts +315 -202
  54. package/dist/tree-events.cjs.map +1 -1
  55. package/dist/tree-events.d.cts +483 -483
  56. package/dist/tree-events.d.ts +483 -483
  57. package/dist/ui-bridge-ir.cjs +37 -0
  58. package/dist/ui-bridge-ir.cjs.map +1 -1
  59. package/dist/ui-bridge-ir.d.cts +90 -1
  60. package/dist/ui-bridge-ir.d.ts +90 -1
  61. package/dist/ui-bridge-ir.js +37 -0
  62. package/dist/ui-bridge-ir.js.map +1 -1
  63. package/dist/workflow.cjs.map +1 -1
  64. package/dist/workflow.d.cts +1634 -1634
  65. package/dist/workflow.d.ts +1634 -1634
  66. package/dist/workflow.js +1 -1
  67. package/package.json +141 -141
  68. package/src/accessibility/_api.ts +17 -17
  69. package/src/accessibility/index.ts +1 -1
  70. package/src/canvas/index.ts +319 -319
  71. package/src/chat/_api.ts +23 -23
  72. package/src/chat/index.ts +1 -1
  73. package/src/config/_api.ts +13 -13
  74. package/src/config/index.ts +1 -1
  75. package/src/constraints/_api.ts +17 -17
  76. package/src/constraints/index.ts +1 -1
  77. package/src/discovery.ts +188 -188
  78. package/src/execution/_api.ts +483 -483
  79. package/src/execution/index.ts +1 -1
  80. package/src/generated/A11yAction.d.ts +11 -11
  81. package/src/generated/AccessibilityBackend.d.ts +12 -12
  82. package/src/generated/AccessibilityBounds.d.ts +17 -17
  83. package/src/generated/AccessibilityNode.d.ts +73 -73
  84. package/src/generated/AccessibilityRole.d.ts +93 -93
  85. package/src/generated/AccessibilityRoleCriterion.d.ts +13 -13
  86. package/src/generated/AccessibilitySelector.d.ts +76 -76
  87. package/src/generated/AccessibilitySnapshot.d.ts +43 -43
  88. package/src/generated/AccessibilityState.d.ts +67 -67
  89. package/src/generated/ActionExecutionBatch.d.ts +23 -23
  90. package/src/generated/ActionExecutionBatchResponse.d.ts +24 -24
  91. package/src/generated/ActionExecutionCreate.d.ts +124 -124
  92. package/src/generated/ActionExecutionListResponse.d.ts +20 -20
  93. package/src/generated/ActionExecutionResponse.d.ts +24 -24
  94. package/src/generated/ActionReliabilityStats.d.ts +54 -54
  95. package/src/generated/ActionResponse.d.ts +45 -45
  96. package/src/generated/ActionStatus.d.ts +11 -11
  97. package/src/generated/ActionType.d.ts +41 -41
  98. package/src/generated/ActiveStatesResult.d.ts +32 -32
  99. package/src/generated/AgenticPhaseOutput.d.ts +50 -50
  100. package/src/generated/AgenticStatus.d.ts +11 -11
  101. package/src/generated/AiWorkflow.d.ts +76 -76
  102. package/src/generated/ApiAssertion.d.ts +35 -35
  103. package/src/generated/ApiAssertionOperator.d.ts +11 -11
  104. package/src/generated/ApiAssertionType.d.ts +11 -11
  105. package/src/generated/ApiContentType.d.ts +11 -11
  106. package/src/generated/ApiVariableExtraction.d.ts +24 -24
  107. package/src/generated/AvailableTransitionsResult.d.ts +34 -34
  108. package/src/generated/BaseStepFields.d.ts +72 -72
  109. package/src/generated/BatchComputeEmbeddingRequest.d.ts +27 -27
  110. package/src/generated/BatchComputeEmbeddingResponse.d.ts +23 -23
  111. package/src/generated/BatchEmbeddingResult.d.ts +23 -23
  112. package/src/generated/BetweenIterations.d.ts +35 -35
  113. package/src/generated/BoundingBox.d.ts +18 -18
  114. package/src/generated/BuildPhaseConfig.d.ts +24 -24
  115. package/src/generated/BuiltinOverrideProposal.d.ts +27 -27
  116. package/src/generated/CanonicalStep.d.ts +60 -60
  117. package/src/generated/CatchUpPolicy.d.ts +12 -12
  118. package/src/generated/Category.d.ts +24 -24
  119. package/src/generated/CheckIssueDetail.d.ts +40 -40
  120. package/src/generated/CheckType.d.ts +21 -21
  121. package/src/generated/CodeExecutionStep.d.ts +88 -88
  122. package/src/generated/CommandMode.d.ts +11 -11
  123. package/src/generated/CommandStep.d.ts +183 -183
  124. package/src/generated/CommandStepPhase.d.ts +11 -11
  125. package/src/generated/ComponentActionInfo.d.ts +24 -24
  126. package/src/generated/ComponentActionRequest.d.ts +22 -22
  127. package/src/generated/ComputeEmbeddingRequest.d.ts +24 -24
  128. package/src/generated/ComputeEmbeddingResponse.d.ts +38 -38
  129. package/src/generated/ComputeTextEmbeddingRequest.d.ts +20 -20
  130. package/src/generated/ComputeTextEmbeddingResponse.d.ts +32 -32
  131. package/src/generated/ConditionScheduleConfig.d.ts +17 -17
  132. package/src/generated/ConditionStatus.d.ts +29 -29
  133. package/src/generated/Confidence.d.ts +11 -11
  134. package/src/generated/ConfidenceLevel.d.ts +11 -11
  135. package/src/generated/Constraint.d.ts +33 -33
  136. package/src/generated/ConstraintCheck.d.ts +64 -64
  137. package/src/generated/ConstraintProposal.d.ts +37 -37
  138. package/src/generated/ConstraintResult.d.ts +32 -32
  139. package/src/generated/ConstraintSeverity.d.ts +16 -16
  140. package/src/generated/ConstraintViolation.d.ts +24 -24
  141. package/src/generated/Context.d.ts +50 -50
  142. package/src/generated/ContextAutoInclude.d.ts +34 -34
  143. package/src/generated/CoordinateSystem.d.ts +12 -12
  144. package/src/generated/Coordinates.d.ts +33 -33
  145. package/src/generated/CostTrendDataPoint.d.ts +36 -36
  146. package/src/generated/CostTrendResponse.d.ts +41 -41
  147. package/src/generated/CoverageData.d.ts +52 -52
  148. package/src/generated/CreateMcpCallInput.d.ts +59 -59
  149. package/src/generated/CreateMcpServerInput.d.ts +48 -48
  150. package/src/generated/CreateOlConfigRequest.d.ts +27 -27
  151. package/src/generated/CreateScheduledTaskRequest.d.ts +63 -63
  152. package/src/generated/CreateTaskRunRequest.d.ts +51 -51
  153. package/src/generated/CriterionOverride.d.ts +39 -39
  154. package/src/generated/CriterionType.d.ts +11 -11
  155. package/src/generated/DagApprovalStep.d.ts +80 -80
  156. package/src/generated/DagCancelStep.d.ts +76 -76
  157. package/src/generated/DagLoopStep.d.ts +80 -80
  158. package/src/generated/DecomposerConfig.d.ts +31 -31
  159. package/src/generated/DiagnosePhaseConfig.d.ts +34 -34
  160. package/src/generated/DiagnosticResult.d.ts +40 -40
  161. package/src/generated/DiscoveredElement.d.ts +48 -48
  162. package/src/generated/DiscoveredState.d.ts +49 -49
  163. package/src/generated/DiscoveredStateImage.d.ts +56 -56
  164. package/src/generated/DiscoveredTransition.d.ts +44 -44
  165. package/src/generated/DiscoveryBoundingBox.d.ts +32 -32
  166. package/src/generated/DiscoveryRequest.d.ts +40 -40
  167. package/src/generated/DiscoveryResponse.d.ts +32 -32
  168. package/src/generated/DiscoverySourceType.d.ts +14 -14
  169. package/src/generated/DiscoveryStrategy.d.ts +13 -13
  170. package/src/generated/DiscoveryTransitionTrigger.d.ts +38 -38
  171. package/src/generated/DisplayNode.d.ts +45 -45
  172. package/src/generated/DomainAssignment.d.ts +50 -50
  173. package/src/generated/DomainKnowledge.d.ts +29 -29
  174. package/src/generated/DomainVerificationResult.d.ts +36 -36
  175. package/src/generated/ElementActionRequest.d.ts +28 -28
  176. package/src/generated/ElementBbox.d.ts +36 -36
  177. package/src/generated/ElementIdentifier.d.ts +40 -40
  178. package/src/generated/ElementRect.d.ts +48 -48
  179. package/src/generated/ElementState.d.ts +47 -47
  180. package/src/generated/ElementType.d.ts +45 -45
  181. package/src/generated/EmbeddedElement.d.ts +36 -36
  182. package/src/generated/EmbeddingItem.d.ts +49 -49
  183. package/src/generated/EmbeddingListResponse.d.ts +22 -22
  184. package/src/generated/EmbeddingResultItem.d.ts +29 -29
  185. package/src/generated/EmbeddingResultsRequest.d.ts +19 -19
  186. package/src/generated/EmbeddingResultsResponse.d.ts +17 -17
  187. package/src/generated/ErrorType.d.ts +18 -18
  188. package/src/generated/ExecutePlaybookStep.d.ts +84 -84
  189. package/src/generated/ExecutionActionType.d.ts +40 -40
  190. package/src/generated/ExecutionIssueBatch.d.ts +19 -19
  191. package/src/generated/ExecutionIssueBatchResponse.d.ts +24 -24
  192. package/src/generated/ExecutionIssueCreate.d.ts +57 -57
  193. package/src/generated/ExecutionIssueDetail.d.ts +89 -89
  194. package/src/generated/ExecutionIssueListResponse.d.ts +26 -26
  195. package/src/generated/ExecutionIssueResponse.d.ts +24 -24
  196. package/src/generated/ExecutionIssueUpdate.d.ts +31 -31
  197. package/src/generated/ExecutionMatchLocation.d.ts +31 -31
  198. package/src/generated/ExecutionRunComplete.d.ts +34 -34
  199. package/src/generated/ExecutionRunCompleteResponse.d.ts +38 -38
  200. package/src/generated/ExecutionRunCreate.d.ts +40 -40
  201. package/src/generated/ExecutionRunDetail.d.ts +76 -76
  202. package/src/generated/ExecutionRunListResponse.d.ts +22 -22
  203. package/src/generated/ExecutionRunResponse.d.ts +41 -41
  204. package/src/generated/ExecutionScreenshotCreate.d.ts +59 -59
  205. package/src/generated/ExecutionScreenshotResponse.d.ts +36 -36
  206. package/src/generated/ExecutionStats.d.ts +56 -56
  207. package/src/generated/ExecutionStep.d.ts +78 -78
  208. package/src/generated/ExecutionTreeResponse.d.ts +42 -42
  209. package/src/generated/ExecutionTrendDataPoint.d.ts +36 -36
  210. package/src/generated/ExecutionTrendResponse.d.ts +46 -46
  211. package/src/generated/ExitCheckResult.d.ts +20 -20
  212. package/src/generated/ExitStrategy.d.ts +27 -27
  213. package/src/generated/ExportResult.d.ts +30 -30
  214. package/src/generated/ExtendIterationsRequest.d.ts +20 -20
  215. package/src/generated/FileChange.d.ts +20 -20
  216. package/src/generated/Finding.d.ts +40 -40
  217. package/src/generated/FindingActionType.d.ts +13 -13
  218. package/src/generated/FindingBatchCreate.d.ts +27 -27
  219. package/src/generated/FindingCategory.d.ts +25 -25
  220. package/src/generated/FindingCodeContext.d.ts +31 -31
  221. package/src/generated/FindingCreate.d.ts +52 -52
  222. package/src/generated/FindingDetail.d.ts +78 -78
  223. package/src/generated/FindingListResponse.d.ts +40 -40
  224. package/src/generated/FindingOutput.d.ts +36 -36
  225. package/src/generated/FindingSeverity.d.ts +14 -14
  226. package/src/generated/FindingStatus.d.ts +15 -15
  227. package/src/generated/FindingSummary.d.ts +53 -53
  228. package/src/generated/FindingUpdate.d.ts +33 -33
  229. package/src/generated/FindingUserInput.d.ts +27 -27
  230. package/src/generated/FindingsSummary.d.ts +47 -47
  231. package/src/generated/FullRunnerStep.d.ts +144 -144
  232. package/src/generated/GUIElementChunk.d.ts +151 -151
  233. package/src/generated/GateEvaluationResult.d.ts +36 -36
  234. package/src/generated/HealthCheckUrl.d.ts +35 -35
  235. package/src/generated/HistoricalActionQuery.d.ts +42 -42
  236. package/src/generated/HistoricalActionResult.d.ts +57 -57
  237. package/src/generated/HttpConfig.d.ts +27 -27
  238. package/src/generated/HttpMethod.d.ts +13 -13
  239. package/src/generated/IdleCondition.d.ts +17 -17
  240. package/src/generated/ImplementFixesConfig.d.ts +25 -25
  241. package/src/generated/IndividualCheckResult.d.ts +50 -50
  242. package/src/generated/InitialStateRef.d.ts +23 -23
  243. package/src/generated/InitialStatesSource.d.ts +18 -18
  244. package/src/generated/IssueSeverity.d.ts +11 -11
  245. package/src/generated/IssueSource.d.ts +11 -11
  246. package/src/generated/IssueStatus.d.ts +11 -11
  247. package/src/generated/IssueType.d.ts +21 -21
  248. package/src/generated/IterationResult.d.ts +65 -65
  249. package/src/generated/IterationVerificationResults.d.ts +53 -53
  250. package/src/generated/JobItem.d.ts +31 -31
  251. package/src/generated/JobListResponse.d.ts +20 -20
  252. package/src/generated/JobStatus.d.ts +11 -11
  253. package/src/generated/JobSummary.d.ts +30 -30
  254. package/src/generated/LLMCostSummary.d.ts +38 -38
  255. package/src/generated/LLMMetrics.d.ts +42 -42
  256. package/src/generated/LogSourceSelection.d.ts +25 -25
  257. package/src/generated/LoopInstanceStatus.d.ts +28 -28
  258. package/src/generated/LoopPhase.d.ts +26 -26
  259. package/src/generated/MatchAdjustment.d.ts +23 -23
  260. package/src/generated/MatchLocation.d.ts +22 -22
  261. package/src/generated/MatchMethod.d.ts +11 -11
  262. package/src/generated/McpCallRecord.d.ts +35 -35
  263. package/src/generated/McpCallsResult.d.ts +44 -44
  264. package/src/generated/McpConnectionRef.d.ts +25 -25
  265. package/src/generated/McpServerConfig.d.ts +77 -77
  266. package/src/generated/McpServerStatus.d.ts +42 -42
  267. package/src/generated/McpToolCallResult.d.ts +38 -38
  268. package/src/generated/McpToolInfo.d.ts +23 -23
  269. package/src/generated/McpToolInputSchema.d.ts +34 -34
  270. package/src/generated/McpTransport.d.ts +15 -15
  271. package/src/generated/ModelCostBreakdown.d.ts +36 -36
  272. package/src/generated/ModelOverrideConfig.d.ts +47 -47
  273. package/src/generated/Monitor.d.ts +48 -48
  274. package/src/generated/MonitorPosition.d.ts +13 -13
  275. package/src/generated/MouseButton.d.ts +13 -13
  276. package/src/generated/MultiLoopConfig.d.ts +32 -32
  277. package/src/generated/MultiLoopEntry.d.ts +32 -32
  278. package/src/generated/MultiLoopStatus.d.ts +37 -37
  279. package/src/generated/NativeAccessibilityStep.d.ts +121 -121
  280. package/src/generated/NavigationResult.d.ts +40 -40
  281. package/src/generated/NewConstraintProposal.d.ts +20 -20
  282. package/src/generated/NextTaskInfo.d.ts +24 -24
  283. package/src/generated/NodeMetadata.d.ts +47 -47
  284. package/src/generated/NodeStatus.d.ts +11 -11
  285. package/src/generated/NodeType.d.ts +11 -11
  286. package/src/generated/OcrEngine.d.ts +11 -11
  287. package/src/generated/OlConfig.d.ts +48 -48
  288. package/src/generated/OrchestrationLoopConfig.d.ts +87 -87
  289. package/src/generated/OrchestrationLoopStatus.d.ts +59 -59
  290. package/src/generated/Outcome.d.ts +15 -15
  291. package/src/generated/OutputLine.d.ts +23 -23
  292. package/src/generated/OutputStream.d.ts +11 -11
  293. package/src/generated/OverrideCollection.d.ts +18 -18
  294. package/src/generated/Pagination.d.ts +28 -28
  295. package/src/generated/ParserType.d.ts +17 -17
  296. package/src/generated/PathElement.d.ts +17 -17
  297. package/src/generated/PathfindingRequest.d.ts +24 -24
  298. package/src/generated/PathfindingResult.d.ts +30 -30
  299. package/src/generated/PathfindingStep.d.ts +36 -36
  300. package/src/generated/PatternOptions.d.ts +32 -32
  301. package/src/generated/PipelineConfig.d.ts +31 -31
  302. package/src/generated/PlaybackFrameRequest.d.ts +21 -21
  303. package/src/generated/PlaywrightExecutionMode.d.ts +11 -11
  304. package/src/generated/Point.d.ts +20 -20
  305. package/src/generated/PollingConfig.d.ts +14 -14
  306. package/src/generated/ProcessConfig.d.ts +96 -96
  307. package/src/generated/ProcessState.d.ts +15 -15
  308. package/src/generated/ProcessStatus.d.ts +41 -41
  309. package/src/generated/PromptStep.d.ts +92 -92
  310. package/src/generated/PromptStepPhase.d.ts +13 -13
  311. package/src/generated/RAGDashboardStats.d.ts +26 -26
  312. package/src/generated/RagCompletionEvent.d.ts +25 -25
  313. package/src/generated/RagProcessingStatus.d.ts +11 -11
  314. package/src/generated/RagProgressEvent.d.ts +27 -27
  315. package/src/generated/ReadConfigResponse.d.ts +20 -20
  316. package/src/generated/ReflectionFixOutput.d.ts +20 -20
  317. package/src/generated/Region.d.ts +39 -39
  318. package/src/generated/RepositoryInactiveCondition.d.ts +24 -24
  319. package/src/generated/RepositoryWatch.d.ts +20 -20
  320. package/src/generated/ResolvedInitialStates.d.ts +29 -29
  321. package/src/generated/ResolvedInitialStatesResult.d.ts +40 -40
  322. package/src/generated/ResourceLimits.d.ts +33 -33
  323. package/src/generated/RestartProcessStep.d.ts +88 -88
  324. package/src/generated/RetryPolicy.d.ts +24 -24
  325. package/src/generated/RetrySpec.d.ts +24 -24
  326. package/src/generated/RoleCriterion.d.ts +14 -14
  327. package/src/generated/RootCauseCategory.d.ts +18 -18
  328. package/src/generated/RoutingRule.d.ts +38 -38
  329. package/src/generated/RunPromptRequest.d.ts +56 -56
  330. package/src/generated/RunPromptResponse.d.ts +50 -50
  331. package/src/generated/RunPromptResponseData.d.ts +20 -20
  332. package/src/generated/RunStatus.d.ts +11 -11
  333. package/src/generated/RunType.d.ts +11 -11
  334. package/src/generated/Runner.d.ts +81 -81
  335. package/src/generated/RunnerCrash.d.ts +32 -32
  336. package/src/generated/RunnerFinding.d.ts +48 -48
  337. package/src/generated/RunnerFindingCodeContext.d.ts +20 -20
  338. package/src/generated/RunnerFindingUserInput.d.ts +19 -19
  339. package/src/generated/RunnerMetadata.d.ts +42 -42
  340. package/src/generated/RunnerStatus.d.ts +12 -12
  341. package/src/generated/RunnerUiError.d.ts +28 -28
  342. package/src/generated/RuntimeData.d.ts +40 -40
  343. package/src/generated/SaveWorkflowArtifactStep.d.ts +80 -80
  344. package/src/generated/ScheduleConditions.d.ts +29 -29
  345. package/src/generated/ScheduleExpression.d.ts +39 -39
  346. package/src/generated/ScheduledTask.d.ts +104 -104
  347. package/src/generated/ScheduledTaskStatus.d.ts +19 -19
  348. package/src/generated/ScheduledTaskType.d.ts +126 -126
  349. package/src/generated/SchedulerSettings.d.ts +28 -28
  350. package/src/generated/SchedulerStatus.d.ts +31 -31
  351. package/src/generated/ScreenshotAnnotation.d.ts +39 -39
  352. package/src/generated/ScreenshotAnnotationShape.d.ts +11 -11
  353. package/src/generated/ScreenshotType.d.ts +11 -11
  354. package/src/generated/ScrollDirection.d.ts +13 -13
  355. package/src/generated/SearchOptions.d.ts +33 -33
  356. package/src/generated/SearchResultItem.d.ts +19 -19
  357. package/src/generated/SearchStrategy.d.ts +14 -14
  358. package/src/generated/SemanticSearchRequest.d.ts +26 -26
  359. package/src/generated/SemanticSearchResponse.d.ts +21 -21
  360. package/src/generated/StageCondition.d.ts +37 -37
  361. package/src/generated/StageInput.d.ts +27 -27
  362. package/src/generated/StageOutput.d.ts +20 -20
  363. package/src/generated/StageTransition.d.ts +30 -30
  364. package/src/generated/StallDetectorConfig.d.ts +31 -31
  365. package/src/generated/StandardActionType.d.ts +40 -40
  366. package/src/generated/StateContext.d.ts +17 -17
  367. package/src/generated/StateDiscoveryResult.d.ts +104 -104
  368. package/src/generated/StateDiscoveryResultCreate.d.ts +65 -65
  369. package/src/generated/StateDiscoveryResultListResponse.d.ts +23 -23
  370. package/src/generated/StateDiscoveryResultSummary.d.ts +57 -57
  371. package/src/generated/StateDiscoveryResultUpdate.d.ts +47 -47
  372. package/src/generated/StateFilterItem.d.ts +18 -18
  373. package/src/generated/StateMachineConfig.d.ts +45 -45
  374. package/src/generated/StateMachineConfigCreate.d.ts +20 -20
  375. package/src/generated/StateMachineConfigFull.d.ts +67 -67
  376. package/src/generated/StateMachineConfigUpdate.d.ts +20 -20
  377. package/src/generated/StateMachineExport.d.ts +64 -64
  378. package/src/generated/StateMachineExportFormat.d.ts +39 -39
  379. package/src/generated/StateMachineImport.d.ts +25 -25
  380. package/src/generated/StateMachineState.d.ts +71 -71
  381. package/src/generated/StateMachineStateCreate.d.ts +52 -52
  382. package/src/generated/StateMachineStateUpdate.d.ts +48 -48
  383. package/src/generated/StateMachineTransition.d.ts +75 -75
  384. package/src/generated/StateMachineTransitionCreate.d.ts +53 -53
  385. package/src/generated/StateMachineTransitionUpdate.d.ts +53 -53
  386. package/src/generated/StateNodeData.d.ts +71 -71
  387. package/src/generated/StatesResponse.d.ts +19 -19
  388. package/src/generated/StdioConfig.d.ts +34 -34
  389. package/src/generated/StepExecutionConfig.d.ts +37 -37
  390. package/src/generated/StructuredFinding.d.ts +32 -32
  391. package/src/generated/StructuredOverride.d.ts +24 -24
  392. package/src/generated/StructuredSignal.d.ts +20 -20
  393. package/src/generated/SuccessCriterion.d.ts +57 -57
  394. package/src/generated/SummarizationConfig.d.ts +35 -35
  395. package/src/generated/TargetConfig.d.ts +108 -108
  396. package/src/generated/TaskCompletionResult.d.ts +90 -90
  397. package/src/generated/TaskExecutionRecord.d.ts +61 -61
  398. package/src/generated/TaskRun.d.ts +88 -88
  399. package/src/generated/TaskRunBackend.d.ts +86 -86
  400. package/src/generated/TaskRunBackendDetail.d.ts +99 -99
  401. package/src/generated/TaskRunCreate.d.ts +62 -62
  402. package/src/generated/TaskRunFilters.d.ts +38 -38
  403. package/src/generated/TaskRunFinding.d.ts +100 -100
  404. package/src/generated/TaskRunFindingActionType.d.ts +11 -11
  405. package/src/generated/TaskRunFindingCategory.d.ts +24 -24
  406. package/src/generated/TaskRunFindingCreate.d.ts +79 -79
  407. package/src/generated/TaskRunFindingFilters.d.ts +28 -28
  408. package/src/generated/TaskRunFindingSeverity.d.ts +11 -11
  409. package/src/generated/TaskRunFindingStatus.d.ts +11 -11
  410. package/src/generated/TaskRunFindingSummary.d.ts +34 -34
  411. package/src/generated/TaskRunFindingUpdate.d.ts +34 -34
  412. package/src/generated/TaskRunFindingsListResponse.d.ts +24 -24
  413. package/src/generated/TaskRunListResponse.d.ts +21 -21
  414. package/src/generated/TaskRunSession.d.ts +40 -40
  415. package/src/generated/TaskRunStatus.d.ts +11 -11
  416. package/src/generated/TaskRunUpdate.d.ts +47 -47
  417. package/src/generated/TaskType.d.ts +11 -11
  418. package/src/generated/TerminalExitEvent.d.ts +26 -26
  419. package/src/generated/TerminalInfo.d.ts +69 -69
  420. package/src/generated/TerminalOutputEvent.d.ts +29 -29
  421. package/src/generated/TestType.d.ts +11 -11
  422. package/src/generated/TextMatchType.d.ts +11 -11
  423. package/src/generated/TextSearchOptions.d.ts +30 -30
  424. package/src/generated/Ticket.d.ts +53 -53
  425. package/src/generated/TicketComment.d.ts +28 -28
  426. package/src/generated/TicketProviderConfig.d.ts +55 -55
  427. package/src/generated/TicketSource.d.ts +17 -17
  428. package/src/generated/TicketState.d.ts +15 -15
  429. package/src/generated/TimingInfo.d.ts +23 -23
  430. package/src/generated/TopMatch.d.ts +17 -17
  431. package/src/generated/TransitionAction.d.ts +93 -93
  432. package/src/generated/TransitionActionValue.d.ts +14 -14
  433. package/src/generated/TransitionEdgeData.d.ts +46 -46
  434. package/src/generated/TransitionExecutionResult.d.ts +30 -30
  435. package/src/generated/TransitionInfo.d.ts +29 -29
  436. package/src/generated/TransitionTriggerType.d.ts +13 -13
  437. package/src/generated/TreeEvent.d.ts +47 -47
  438. package/src/generated/TreeEventCreate.d.ts +30 -30
  439. package/src/generated/TreeEventListResponse.d.ts +30 -30
  440. package/src/generated/TreeEventResponse.d.ts +47 -47
  441. package/src/generated/TreeEventType.d.ts +20 -20
  442. package/src/generated/TreeNode.d.ts +54 -54
  443. package/src/generated/UIBridgeCapturedToast.d.ts +22 -22
  444. package/src/generated/UIBridgeComponent.d.ts +45 -45
  445. package/src/generated/UIBridgeElement.d.ts +62 -62
  446. package/src/generated/UIBridgeModalInfo.d.ts +40 -40
  447. package/src/generated/UIBridgeModalStack.d.ts +19 -19
  448. package/src/generated/UIBridgeSnapshot.d.ts +67 -67
  449. package/src/generated/UIBridgeToastContext.d.ts +17 -17
  450. package/src/generated/UIBridgeUndoContext.d.ts +19 -19
  451. package/src/generated/UiBridgeAction.d.ts +18 -18
  452. package/src/generated/UiBridgeAssertType.d.ts +11 -11
  453. package/src/generated/UiBridgeComparisonMode.d.ts +11 -11
  454. package/src/generated/UiBridgeDesignAuditStep.d.ts +76 -76
  455. package/src/generated/UiBridgeRequestEnvelope.d.ts +45 -0
  456. package/src/generated/UiBridgeResponseEnvelope.d.ts +66 -0
  457. package/src/generated/UiBridgeSeverity.d.ts +11 -11
  458. package/src/generated/UiBridgeStep.d.ts +127 -127
  459. package/src/generated/UiBridgeStepPhase.d.ts +14 -14
  460. package/src/generated/UiBridgeVisualAssertionStep.d.ts +97 -97
  461. package/src/generated/UnifiedStep.d.ts +57 -57
  462. package/src/generated/UnifiedWorkflow.d.ts +411 -411
  463. package/src/generated/UpdateMcpServerInput.d.ts +28 -28
  464. package/src/generated/UpdateOlConfigRequest.d.ts +32 -32
  465. package/src/generated/UpdateScheduledTaskRequest.d.ts +71 -71
  466. package/src/generated/ValidateConfigRequest.d.ts +16 -16
  467. package/src/generated/ValidateConfigResponse.d.ts +28 -28
  468. package/src/generated/VectorSearchResult.d.ts +48 -48
  469. package/src/generated/VerificationAgentContext.d.ts +25 -25
  470. package/src/generated/VerificationCategoryKind.d.ts +19 -19
  471. package/src/generated/VerificationMethod.d.ts +20 -20
  472. package/src/generated/VerificationPhaseResult.d.ts +63 -63
  473. package/src/generated/VerificationPlan.d.ts +43 -43
  474. package/src/generated/VerificationResult.d.ts +44 -44
  475. package/src/generated/VerificationResultResponse.d.ts +65 -65
  476. package/src/generated/VerificationResultsListResponse.d.ts +41 -41
  477. package/src/generated/VerificationStepDetails.d.ts +55 -55
  478. package/src/generated/VerificationStepResult.d.ts +68 -68
  479. package/src/generated/VgaAction.d.ts +61 -61
  480. package/src/generated/VgaActionKind.d.ts +14 -14
  481. package/src/generated/VgaAutomateStep.d.ts +110 -110
  482. package/src/generated/VirtualDesktop.d.ts +23 -23
  483. package/src/generated/VisualAssertionType.d.ts +11 -11
  484. package/src/generated/VisualComparisonResult.d.ts +40 -40
  485. package/src/generated/WaitOptions.d.ts +35 -35
  486. package/src/generated/WorkerCoordinationMessage.d.ts +93 -93
  487. package/src/generated/WorkerDomain.d.ts +29 -29
  488. package/src/generated/WorkerInstance.d.ts +62 -62
  489. package/src/generated/WorkerOutput.d.ts +53 -53
  490. package/src/generated/WorkerSignal.d.ts +48 -48
  491. package/src/generated/WorkerStatus.d.ts +11 -11
  492. package/src/generated/WorkflowArchitecture.d.ts +16 -16
  493. package/src/generated/WorkflowFixupMode.d.ts +11 -11
  494. package/src/generated/WorkflowFixupStep.d.ts +85 -85
  495. package/src/generated/WorkflowInfo.d.ts +28 -28
  496. package/src/generated/WorkflowMetadata.d.ts +44 -44
  497. package/src/generated/WorkflowRefStep.d.ts +94 -94
  498. package/src/generated/WorkflowStage.d.ts +126 -126
  499. package/src/generated/WorkflowStep.d.ts +80 -80
  500. package/src/generated/WorkflowStepPhase.d.ts +11 -11
  501. package/src/generated/WriteConfigRequest.d.ts +20 -20
  502. package/src/generated/WriteConfigResponse.d.ts +24 -24
  503. package/src/generated/index.ts +2 -0
  504. package/src/geometry/_api.ts +16 -16
  505. package/src/geometry/index.ts +1 -1
  506. package/src/index.ts +73 -73
  507. package/src/known-issues/index.ts +179 -179
  508. package/src/library/_api.ts +326 -326
  509. package/src/library/index.ts +1 -1
  510. package/src/rag/_api.ts +47 -47
  511. package/src/rag/index.ts +1 -1
  512. package/src/render-log.ts +371 -371
  513. package/src/runner/_api.ts +14 -14
  514. package/src/runner/index.ts +1 -1
  515. package/src/scheduler/_api.ts +21 -21
  516. package/src/scheduler/index.ts +1 -1
  517. package/src/state-machine/_api.ts +145 -145
  518. package/src/state-machine/index.ts +1 -1
  519. package/src/targets/_api.ts +47 -47
  520. package/src/targets/index.ts +1 -1
  521. package/src/task-run/_api.ts +108 -108
  522. package/src/task-run/index.ts +1 -1
  523. package/src/tauri-events/_api.ts +90 -76
  524. package/src/tauri-events/index.ts +1 -1
  525. package/src/tree-events/_api.ts +42 -42
  526. package/src/tree-events/index.ts +1 -1
  527. package/src/ui-bridge-ir/__tests__/projection.test.ts +1029 -1029
  528. package/src/ui-bridge-ir/adapter.ts +220 -220
  529. package/src/ui-bridge-ir/document.ts +114 -105
  530. package/src/ui-bridge-ir/element-criteria.ts +48 -48
  531. package/src/ui-bridge-ir/group.ts +84 -0
  532. package/src/ui-bridge-ir/index.ts +24 -23
  533. package/src/ui-bridge-ir/ir.schema.json +293 -235
  534. package/src/ui-bridge-ir/primitives.ts +102 -102
  535. package/src/ui-bridge-ir/projection.ts +921 -863
  536. package/src/ui-bridge-ir/state.ts +90 -90
  537. package/src/ui-bridge-ir/transition.ts +92 -92
  538. package/src/workflow/_api.ts +474 -474
  539. package/src/workflow/action-plan.ts +208 -208
  540. package/src/workflow/index.ts +1 -1
  541. package/src/workflow/skill.ts +152 -152
  542. package/dist/chunk-YXD4WCYQ.js.map +0 -1
  543. package/dist/chunk-ZK5MJEGT.js.map +0 -1
@@ -1,61 +1,61 @@
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
- import type { ScheduledTaskStatus } from './ScheduledTaskStatus';
9
-
10
- /**
11
- * Record of a single task execution.
12
- */
13
- export interface TaskExecutionRecord {
14
- /**
15
- * Session ID of the auto-fix session, if one was triggered.
16
- */
17
- autoFixSessionId?: string | null;
18
- /**
19
- * Whether this execution record was created by the catch-up reconciler
20
- * (rather than the normal scheduling tick).
21
- */
22
- catchUpRun: boolean;
23
- /**
24
- * ISO 8601 timestamp when execution ended.
25
- */
26
- endedAt?: string | null;
27
- /**
28
- * Error message if the execution failed.
29
- */
30
- errorMessage?: string | null;
31
- /**
32
- * Unique ID for this execution (UUID v4 string).
33
- */
34
- executionId: string;
35
- /**
36
- * ISO 8601 timestamp of the *scheduled* slot this execution covers,
37
- * distinct from `started_at` (which is the actual launch time). Allows
38
- * detecting "ran X minutes late" and is consumed by the missed-run
39
- * reconciler. Optional for backward compatibility with execution rows
40
- * written before this field existed.
41
- */
42
- scheduledFor?: string | null;
43
- /**
44
- * Session ID if this execution triggered an AI session, used for
45
- * downstream success tracking.
46
- */
47
- sessionId?: string | null;
48
- /**
49
- * ISO 8601 timestamp when execution started.
50
- */
51
- startedAt: string;
52
- status: ScheduledTaskStatus;
53
- /**
54
- * Whether the task succeeded, read from the session checkpoint.
55
- */
56
- success: boolean;
57
- /**
58
- * Whether auto-fix was triggered after this execution.
59
- */
60
- triggeredAutoFix: boolean;
61
- }
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
+ import type { ScheduledTaskStatus } from './ScheduledTaskStatus';
9
+
10
+ /**
11
+ * Record of a single task execution.
12
+ */
13
+ export interface TaskExecutionRecord {
14
+ /**
15
+ * Session ID of the auto-fix session, if one was triggered.
16
+ */
17
+ autoFixSessionId?: string | null;
18
+ /**
19
+ * Whether this execution record was created by the catch-up reconciler
20
+ * (rather than the normal scheduling tick).
21
+ */
22
+ catchUpRun: boolean;
23
+ /**
24
+ * ISO 8601 timestamp when execution ended.
25
+ */
26
+ endedAt?: string | null;
27
+ /**
28
+ * Error message if the execution failed.
29
+ */
30
+ errorMessage?: string | null;
31
+ /**
32
+ * Unique ID for this execution (UUID v4 string).
33
+ */
34
+ executionId: string;
35
+ /**
36
+ * ISO 8601 timestamp of the *scheduled* slot this execution covers,
37
+ * distinct from `started_at` (which is the actual launch time). Allows
38
+ * detecting "ran X minutes late" and is consumed by the missed-run
39
+ * reconciler. Optional for backward compatibility with execution rows
40
+ * written before this field existed.
41
+ */
42
+ scheduledFor?: string | null;
43
+ /**
44
+ * Session ID if this execution triggered an AI session, used for
45
+ * downstream success tracking.
46
+ */
47
+ sessionId?: string | null;
48
+ /**
49
+ * ISO 8601 timestamp when execution started.
50
+ */
51
+ startedAt: string;
52
+ status: ScheduledTaskStatus;
53
+ /**
54
+ * Whether the task succeeded, read from the session checkpoint.
55
+ */
56
+ success: boolean;
57
+ /**
58
+ * Whether auto-fix was triggered after this execution.
59
+ */
60
+ triggeredAutoFix: boolean;
61
+ }
@@ -1,88 +1,88 @@
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
- import type { TaskRunStatus } from './TaskRunStatus';
9
- import type { TaskType } from './TaskType';
10
-
11
- /**
12
- * A task run as tracked by the local runner during execution.
13
- *
14
- * Mirrors `TaskRun` in the runner's `taskRun.ts`. Optional fields here use
15
- * `?` in TypeScript, so they are omitted on the wire when missing.
16
- */
17
- export interface TaskRun {
18
- /**
19
- * Whether the task will auto-continue into another session on exit.
20
- */
21
- autoContinue: boolean;
22
- /**
23
- * ISO 8601 timestamp when the task completed.
24
- */
25
- completedAt?: string | null;
26
- /**
27
- * ID of the workflow config used to run this task, if any.
28
- */
29
- configId?: string | null;
30
- /**
31
- * ISO 8601 timestamp when the task was created.
32
- */
33
- createdAt: string;
34
- /**
35
- * Error message if the task failed.
36
- */
37
- errorMessage?: string | null;
38
- /**
39
- * Whether the task's goal was achieved (AI assessment).
40
- */
41
- goalAchieved?: boolean | null;
42
- /**
43
- * Unique identifier (UUID v4 string).
44
- */
45
- id: string;
46
- /**
47
- * Optional cap on AI sessions.
48
- */
49
- maxSessions?: number | null;
50
- /**
51
- * Accumulated output log for the task run.
52
- */
53
- outputLog: string;
54
- /**
55
- * Original prompt text, if applicable.
56
- */
57
- prompt?: string | null;
58
- /**
59
- * Description of any remaining work (AI assessment).
60
- */
61
- remainingWork?: string | null;
62
- /**
63
- * Number of AI sessions that have been run.
64
- */
65
- sessionsCount: number;
66
- status: TaskRunStatus;
67
- /**
68
- * AI-generated summary of the task run.
69
- */
70
- summary?: string | null;
71
- /**
72
- * ISO 8601 timestamp when the summary was generated.
73
- */
74
- summaryGeneratedAt?: string | null;
75
- /**
76
- * Display name of the task.
77
- */
78
- taskName: string;
79
- taskType: TaskType;
80
- /**
81
- * ISO 8601 timestamp when the task record was last updated.
82
- */
83
- updatedAt: string;
84
- /**
85
- * Name of the workflow used to run this task, if any.
86
- */
87
- workflowName?: string | null;
88
- }
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
+ import type { TaskRunStatus } from './TaskRunStatus';
9
+ import type { TaskType } from './TaskType';
10
+
11
+ /**
12
+ * A task run as tracked by the local runner during execution.
13
+ *
14
+ * Mirrors `TaskRun` in the runner's `taskRun.ts`. Optional fields here use
15
+ * `?` in TypeScript, so they are omitted on the wire when missing.
16
+ */
17
+ export interface TaskRun {
18
+ /**
19
+ * Whether the task will auto-continue into another session on exit.
20
+ */
21
+ autoContinue: boolean;
22
+ /**
23
+ * ISO 8601 timestamp when the task completed.
24
+ */
25
+ completedAt?: string | null;
26
+ /**
27
+ * ID of the workflow config used to run this task, if any.
28
+ */
29
+ configId?: string | null;
30
+ /**
31
+ * ISO 8601 timestamp when the task was created.
32
+ */
33
+ createdAt: string;
34
+ /**
35
+ * Error message if the task failed.
36
+ */
37
+ errorMessage?: string | null;
38
+ /**
39
+ * Whether the task's goal was achieved (AI assessment).
40
+ */
41
+ goalAchieved?: boolean | null;
42
+ /**
43
+ * Unique identifier (UUID v4 string).
44
+ */
45
+ id: string;
46
+ /**
47
+ * Optional cap on AI sessions.
48
+ */
49
+ maxSessions?: number | null;
50
+ /**
51
+ * Accumulated output log for the task run.
52
+ */
53
+ outputLog: string;
54
+ /**
55
+ * Original prompt text, if applicable.
56
+ */
57
+ prompt?: string | null;
58
+ /**
59
+ * Description of any remaining work (AI assessment).
60
+ */
61
+ remainingWork?: string | null;
62
+ /**
63
+ * Number of AI sessions that have been run.
64
+ */
65
+ sessionsCount: number;
66
+ status: TaskRunStatus;
67
+ /**
68
+ * AI-generated summary of the task run.
69
+ */
70
+ summary?: string | null;
71
+ /**
72
+ * ISO 8601 timestamp when the summary was generated.
73
+ */
74
+ summaryGeneratedAt?: string | null;
75
+ /**
76
+ * Display name of the task.
77
+ */
78
+ taskName: string;
79
+ taskType: TaskType;
80
+ /**
81
+ * ISO 8601 timestamp when the task record was last updated.
82
+ */
83
+ updatedAt: string;
84
+ /**
85
+ * Name of the workflow used to run this task, if any.
86
+ */
87
+ workflowName?: string | null;
88
+ }
@@ -1,86 +1,86 @@
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
- import type { TaskRunStatus } from './TaskRunStatus';
9
-
10
- /**
11
- * A task run as returned by the backend API.
12
- *
13
- * Mirrors `TaskRunBackend` in the web app's `task-runs.ts`. Nullable
14
- * ownership fields (`project_id`, `created_by_user_id`, `runner_id`,
15
- * `max_sessions`, `output_summary`, `error_message`, `duration_seconds`,
16
- * `completed_at`) are required on the wire but may be `null`; they are
17
- * `Option<T>` with `serde(default)` so deserialize tolerates missing, but
18
- * are always serialized (including as `null`) to preserve the wire shape.
19
- */
20
- export interface TaskRunBackend {
21
- /**
22
- * Whether the task will auto-continue into another session on exit.
23
- */
24
- autoContinue: boolean;
25
- /**
26
- * ISO 8601 timestamp when the task completed.
27
- */
28
- completedAt: string | null;
29
- /**
30
- * ISO 8601 timestamp when the task was created.
31
- */
32
- createdAt: string;
33
- /**
34
- * User who created the task run, if known.
35
- */
36
- createdByUserId: string | null;
37
- /**
38
- * Total duration in seconds.
39
- */
40
- durationSeconds: number | null;
41
- /**
42
- * Error message if the task failed.
43
- */
44
- errorMessage: string | null;
45
- /**
46
- * Whether the full output log was persisted.
47
- */
48
- fullOutputStored: boolean;
49
- /**
50
- * Unique identifier (UUID v4 string).
51
- */
52
- id: string;
53
- /**
54
- * Optional cap on AI sessions.
55
- */
56
- maxSessions: number | null;
57
- /**
58
- * Short summary of the run output, if stored.
59
- */
60
- outputSummary: string | null;
61
- /**
62
- * Owning project ID, if scoped to a project.
63
- */
64
- projectId: string | null;
65
- /**
66
- * Original prompt text.
67
- */
68
- prompt: string;
69
- /**
70
- * Runner instance that executed the task, if known.
71
- */
72
- runnerId: string | null;
73
- /**
74
- * Number of AI sessions that have been run.
75
- */
76
- sessionsCount: number;
77
- status: TaskRunStatus;
78
- /**
79
- * Display name.
80
- */
81
- taskName: string;
82
- /**
83
- * ISO 8601 timestamp when the record was last updated.
84
- */
85
- updatedAt: string;
86
- }
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
+ import type { TaskRunStatus } from './TaskRunStatus';
9
+
10
+ /**
11
+ * A task run as returned by the backend API.
12
+ *
13
+ * Mirrors `TaskRunBackend` in the web app's `task-runs.ts`. Nullable
14
+ * ownership fields (`project_id`, `created_by_user_id`, `runner_id`,
15
+ * `max_sessions`, `output_summary`, `error_message`, `duration_seconds`,
16
+ * `completed_at`) are required on the wire but may be `null`; they are
17
+ * `Option<T>` with `serde(default)` so deserialize tolerates missing, but
18
+ * are always serialized (including as `null`) to preserve the wire shape.
19
+ */
20
+ export interface TaskRunBackend {
21
+ /**
22
+ * Whether the task will auto-continue into another session on exit.
23
+ */
24
+ autoContinue: boolean;
25
+ /**
26
+ * ISO 8601 timestamp when the task completed.
27
+ */
28
+ completedAt: string | null;
29
+ /**
30
+ * ISO 8601 timestamp when the task was created.
31
+ */
32
+ createdAt: string;
33
+ /**
34
+ * User who created the task run, if known.
35
+ */
36
+ createdByUserId: string | null;
37
+ /**
38
+ * Total duration in seconds.
39
+ */
40
+ durationSeconds: number | null;
41
+ /**
42
+ * Error message if the task failed.
43
+ */
44
+ errorMessage: string | null;
45
+ /**
46
+ * Whether the full output log was persisted.
47
+ */
48
+ fullOutputStored: boolean;
49
+ /**
50
+ * Unique identifier (UUID v4 string).
51
+ */
52
+ id: string;
53
+ /**
54
+ * Optional cap on AI sessions.
55
+ */
56
+ maxSessions: number | null;
57
+ /**
58
+ * Short summary of the run output, if stored.
59
+ */
60
+ outputSummary: string | null;
61
+ /**
62
+ * Owning project ID, if scoped to a project.
63
+ */
64
+ projectId: string | null;
65
+ /**
66
+ * Original prompt text.
67
+ */
68
+ prompt: string;
69
+ /**
70
+ * Runner instance that executed the task, if known.
71
+ */
72
+ runnerId: string | null;
73
+ /**
74
+ * Number of AI sessions that have been run.
75
+ */
76
+ sessionsCount: number;
77
+ status: TaskRunStatus;
78
+ /**
79
+ * Display name.
80
+ */
81
+ taskName: string;
82
+ /**
83
+ * ISO 8601 timestamp when the record was last updated.
84
+ */
85
+ updatedAt: string;
86
+ }
@@ -1,99 +1,99 @@
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
- import type { TaskRunFinding } from './TaskRunFinding';
9
- import type { TaskRunFindingActionType } from './TaskRunFindingActionType';
10
- import type { TaskRunFindingCategory } from './TaskRunFindingCategory';
11
- import type { TaskRunFindingSeverity } from './TaskRunFindingSeverity';
12
- import type { TaskRunFindingStatus } from './TaskRunFindingStatus';
13
- import type { TaskRunFindingSummary } from './TaskRunFindingSummary';
14
- import type { TaskRunSession } from './TaskRunSession';
15
- import type { TaskRunStatus } from './TaskRunStatus';
16
-
17
- /**
18
- * Detailed view of a backend task run, including its sessions and findings.
19
- *
20
- * The TypeScript `TaskRunBackendDetail extends TaskRunBackend` is modeled in
21
- * Rust by flattening a [`TaskRunBackend`] base so the wire shape stays flat.
22
- */
23
- export interface TaskRunBackendDetail {
24
- /**
25
- * Whether the task will auto-continue into another session on exit.
26
- */
27
- autoContinue: boolean;
28
- /**
29
- * ISO 8601 timestamp when the task completed.
30
- */
31
- completedAt: string | null;
32
- /**
33
- * ISO 8601 timestamp when the task was created.
34
- */
35
- createdAt: string;
36
- /**
37
- * User who created the task run, if known.
38
- */
39
- createdByUserId: string | null;
40
- /**
41
- * Total duration in seconds.
42
- */
43
- durationSeconds: number | null;
44
- /**
45
- * Error message if the task failed.
46
- */
47
- errorMessage: string | null;
48
- findingSummary: TaskRunFindingSummary;
49
- /**
50
- * Findings surfaced during this task run.
51
- */
52
- findings: TaskRunFinding[];
53
- /**
54
- * Whether the full output log was persisted.
55
- */
56
- fullOutputStored: boolean;
57
- /**
58
- * Unique identifier (UUID v4 string).
59
- */
60
- id: string;
61
- /**
62
- * Optional cap on AI sessions.
63
- */
64
- maxSessions: number | null;
65
- /**
66
- * Short summary of the run output, if stored.
67
- */
68
- outputSummary: string | null;
69
- /**
70
- * Owning project ID, if scoped to a project.
71
- */
72
- projectId: string | null;
73
- /**
74
- * Original prompt text.
75
- */
76
- prompt: string;
77
- /**
78
- * Runner instance that executed the task, if known.
79
- */
80
- runnerId: string | null;
81
- /**
82
- * AI sessions associated with this task run.
83
- */
84
- sessions: TaskRunSession[];
85
- /**
86
- * Number of AI sessions that have been run.
87
- */
88
- sessionsCount: number;
89
- status: TaskRunStatus;
90
- /**
91
- * Display name.
92
- */
93
- taskName: string;
94
- /**
95
- * ISO 8601 timestamp when the record was last updated.
96
- */
97
- updatedAt: string;
98
- [k: string]: unknown;
99
- }
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
+ import type { TaskRunFinding } from './TaskRunFinding';
9
+ import type { TaskRunFindingActionType } from './TaskRunFindingActionType';
10
+ import type { TaskRunFindingCategory } from './TaskRunFindingCategory';
11
+ import type { TaskRunFindingSeverity } from './TaskRunFindingSeverity';
12
+ import type { TaskRunFindingStatus } from './TaskRunFindingStatus';
13
+ import type { TaskRunFindingSummary } from './TaskRunFindingSummary';
14
+ import type { TaskRunSession } from './TaskRunSession';
15
+ import type { TaskRunStatus } from './TaskRunStatus';
16
+
17
+ /**
18
+ * Detailed view of a backend task run, including its sessions and findings.
19
+ *
20
+ * The TypeScript `TaskRunBackendDetail extends TaskRunBackend` is modeled in
21
+ * Rust by flattening a [`TaskRunBackend`] base so the wire shape stays flat.
22
+ */
23
+ export interface TaskRunBackendDetail {
24
+ /**
25
+ * Whether the task will auto-continue into another session on exit.
26
+ */
27
+ autoContinue: boolean;
28
+ /**
29
+ * ISO 8601 timestamp when the task completed.
30
+ */
31
+ completedAt: string | null;
32
+ /**
33
+ * ISO 8601 timestamp when the task was created.
34
+ */
35
+ createdAt: string;
36
+ /**
37
+ * User who created the task run, if known.
38
+ */
39
+ createdByUserId: string | null;
40
+ /**
41
+ * Total duration in seconds.
42
+ */
43
+ durationSeconds: number | null;
44
+ /**
45
+ * Error message if the task failed.
46
+ */
47
+ errorMessage: string | null;
48
+ findingSummary: TaskRunFindingSummary;
49
+ /**
50
+ * Findings surfaced during this task run.
51
+ */
52
+ findings: TaskRunFinding[];
53
+ /**
54
+ * Whether the full output log was persisted.
55
+ */
56
+ fullOutputStored: boolean;
57
+ /**
58
+ * Unique identifier (UUID v4 string).
59
+ */
60
+ id: string;
61
+ /**
62
+ * Optional cap on AI sessions.
63
+ */
64
+ maxSessions: number | null;
65
+ /**
66
+ * Short summary of the run output, if stored.
67
+ */
68
+ outputSummary: string | null;
69
+ /**
70
+ * Owning project ID, if scoped to a project.
71
+ */
72
+ projectId: string | null;
73
+ /**
74
+ * Original prompt text.
75
+ */
76
+ prompt: string;
77
+ /**
78
+ * Runner instance that executed the task, if known.
79
+ */
80
+ runnerId: string | null;
81
+ /**
82
+ * AI sessions associated with this task run.
83
+ */
84
+ sessions: TaskRunSession[];
85
+ /**
86
+ * Number of AI sessions that have been run.
87
+ */
88
+ sessionsCount: number;
89
+ status: TaskRunStatus;
90
+ /**
91
+ * Display name.
92
+ */
93
+ taskName: string;
94
+ /**
95
+ * ISO 8601 timestamp when the record was last updated.
96
+ */
97
+ updatedAt: string;
98
+ [k: string]: unknown;
99
+ }