@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,57 @@
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 { CanonicalStep } from './CanonicalStep';
9
+ import type { CheckType } from './CheckType';
10
+ import type { CommandMode } from './CommandMode';
11
+ import type { CommandStep } from './CommandStep';
12
+ import type { CommandStepPhase } from './CommandStepPhase';
13
+ import type { PlaywrightExecutionMode } from './PlaywrightExecutionMode';
14
+ import type { PromptStep } from './PromptStep';
15
+ import type { PromptStepPhase } from './PromptStepPhase';
16
+ import type { RetrySpec } from './RetrySpec';
17
+ import type { TestType } from './TestType';
18
+ import type { UiBridgeAction } from './UiBridgeAction';
19
+ import type { UiBridgeAssertType } from './UiBridgeAssertType';
20
+ import type { UiBridgeComparisonMode } from './UiBridgeComparisonMode';
21
+ import type { UiBridgeSeverity } from './UiBridgeSeverity';
22
+ import type { UiBridgeStep } from './UiBridgeStep';
23
+ import type { UiBridgeStepPhase } from './UiBridgeStepPhase';
24
+ import type { VerificationCategoryKind } from './VerificationCategoryKind';
25
+ import type { WorkflowStep } from './WorkflowStep';
26
+ import type { WorkflowStepPhase } from './WorkflowStepPhase';
27
+
28
+ /**
29
+ * A workflow step, preferring typed canonical variants and falling back to an
30
+ * opaque [`serde_json::Value`] for runner-specific types not yet part of the
31
+ * wire contract.
32
+ *
33
+ * Serialization is transparent: a [`CanonicalStep`] serializes with its flat
34
+ * `"type"`-tagged shape; [`UnifiedStep::Other`] serializes the wrapped value
35
+ * as-is. Deserialization tries the canonical shape first; any payload that
36
+ * does not match (unknown `"type"`, missing fields, or missing discriminator)
37
+ * is preserved as [`UnifiedStep::Other`].
38
+ *
39
+ * This catch-all is what makes the type *robust* on the wire: a runner can
40
+ * emit a `{"type":"gate", ...}` step and a consumer using [`UnifiedStep`]
41
+ * will round-trip it losslessly even though `gate` is not in the canonical
42
+ * set.
43
+ *
44
+ * ## Layout note (`#[allow(large_enum_variant)]`)
45
+ *
46
+ * `Canonical` carries a [`CanonicalStep`] (~672 bytes) while `Other` carries
47
+ * a [`serde_json::Value`] (~32 bytes). The size asymmetry is intentional and
48
+ * the enum is not held in bulk by any hot path today — `UnifiedWorkflow.*_steps`
49
+ * remains `Vec<serde_json::Value>`. Boxing `Canonical` would save stack space
50
+ * in hypothetical dense `Vec<UnifiedStep>` consumers at the cost of an extra
51
+ * heap allocation per step everywhere else and noisier pattern-matching.
52
+ */
53
+ export type UnifiedStep =
54
+ | CanonicalStep
55
+ | {
56
+ [k: string]: unknown;
57
+ };
@@ -0,0 +1,411 @@
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 { CanonicalStep } from './CanonicalStep';
9
+ import type { CheckType } from './CheckType';
10
+ import type { CommandMode } from './CommandMode';
11
+ import type { CommandStep } from './CommandStep';
12
+ import type { CommandStepPhase } from './CommandStepPhase';
13
+ import type { HealthCheckUrl } from './HealthCheckUrl';
14
+ import type { LogSourceSelection } from './LogSourceSelection';
15
+ import type { ModelOverrideConfig } from './ModelOverrideConfig';
16
+ import type { PlaywrightExecutionMode } from './PlaywrightExecutionMode';
17
+ import type { PromptStep } from './PromptStep';
18
+ import type { PromptStepPhase } from './PromptStepPhase';
19
+ import type { RetryPolicy } from './RetryPolicy';
20
+ import type { RetrySpec } from './RetrySpec';
21
+ import type { RoutingRule } from './RoutingRule';
22
+ import type { StageCondition } from './StageCondition';
23
+ import type { StageInput } from './StageInput';
24
+ import type { StageOutput } from './StageOutput';
25
+ import type { TestType } from './TestType';
26
+ import type { UiBridgeAction } from './UiBridgeAction';
27
+ import type { UiBridgeAssertType } from './UiBridgeAssertType';
28
+ import type { UiBridgeComparisonMode } from './UiBridgeComparisonMode';
29
+ import type { UiBridgeSeverity } from './UiBridgeSeverity';
30
+ import type { UiBridgeStep } from './UiBridgeStep';
31
+ import type { UiBridgeStepPhase } from './UiBridgeStepPhase';
32
+ import type { UnifiedStep } from './UnifiedStep';
33
+ import type { VerificationCategoryKind } from './VerificationCategoryKind';
34
+ import type { WorkflowArchitecture } from './WorkflowArchitecture';
35
+ import type { WorkflowStage } from './WorkflowStage';
36
+ import type { WorkflowStep } from './WorkflowStep';
37
+ import type { WorkflowStepPhase } from './WorkflowStepPhase';
38
+
39
+ /**
40
+ * A unified workflow with steps organized by phase.
41
+ *
42
+ * The "frame" carries all non-step metadata — iteration caps, provider/model
43
+ * selection, log-source routing, health checks, stage list, generator
44
+ * outputs (dependency graph, cost annotations, quality report, acceptance
45
+ * criteria), and timestamps. Step arrays remain opaque until the Wave 4
46
+ * typed-step migration lands.
47
+ */
48
+ export interface UnifiedWorkflow {
49
+ /**
50
+ * Acceptance criteria from the specification agent (opaque JSON blob).
51
+ *
52
+ * Used by the canvas panel manager to show a live requirements tracker.
53
+ */
54
+ acceptanceCriteria?: {
55
+ [k: string]: unknown;
56
+ };
57
+ /**
58
+ * Agentic phase steps (polymorphic JSON array).
59
+ */
60
+ agenticSteps: UnifiedStep[];
61
+ /**
62
+ * Whether the AI semantic review actually ran successfully during
63
+ * generation.
64
+ *
65
+ * When `false`, the workflow passed through the pipeline without AI
66
+ * verification (e.g., all verification iterations failed at
67
+ * infrastructure level).
68
+ */
69
+ aiReviewed: boolean;
70
+ /**
71
+ * Whether to pause for human approval after each agentic phase.
72
+ */
73
+ approvalGate: boolean;
74
+ /**
75
+ * Auto-commit files touched by sub-agents on successful terminal state.
76
+ *
77
+ * Phase C of the Commit Progress feature. Commits the file-set recorded
78
+ * in `session_touched_files` to the workflow's worktree branch when the
79
+ * sub-agent reaches a successful terminal state, so the parent workflow
80
+ * sees an atomic delta instead of a half-edited working tree.
81
+ *
82
+ * - `Some(true)` — commit after success regardless of worktree state.
83
+ * - `Some(false)` — never commit, even with worktree.
84
+ * - `None` (default) — commit if and only if the workflow uses a worktree.
85
+ *
86
+ * Failure to commit never fails the workflow — best-effort durability.
87
+ */
88
+ autoCommitSubagents?: boolean | null;
89
+ /**
90
+ * Whether to auto-include contexts based on task mentions (default:
91
+ * `true`).
92
+ */
93
+ autoIncludeContexts: boolean;
94
+ /**
95
+ * Category for organization.
96
+ */
97
+ category: string;
98
+ /**
99
+ * When `true`, run completion prompt steps BEFORE automation steps.
100
+ *
101
+ * Used by meta-workflows so the AI hardener runs before
102
+ * `save_workflow_artifact`. Default (`false`) runs automation first,
103
+ * then prompts.
104
+ */
105
+ completionPromptsFirst: boolean;
106
+ /**
107
+ * Completion phase steps (polymorphic JSON array) — runs once after the
108
+ * verification loop exits.
109
+ */
110
+ completionSteps: UnifiedStep[];
111
+ /**
112
+ * Per-constraint overrides: map of `constraint_id` to enabled (`true`) /
113
+ * disabled (`false`).
114
+ *
115
+ * Applied to the constraint engine at execution time, after loading
116
+ * builtins and config.
117
+ */
118
+ constraintOverrides?: {
119
+ [k: string]: boolean;
120
+ };
121
+ /**
122
+ * Manually added context IDs.
123
+ */
124
+ contextIds?: string[];
125
+ /**
126
+ * Cost annotations computed during generation (opaque JSON blob).
127
+ */
128
+ costAnnotations?: {
129
+ [k: string]: unknown;
130
+ };
131
+ /**
132
+ * ISO 8601 timestamp of creation.
133
+ */
134
+ createdAt: string;
135
+ /**
136
+ * Dependency graph computed during generation (opaque JSON blob).
137
+ */
138
+ dependencyGraph?: {
139
+ [k: string]: unknown;
140
+ };
141
+ /**
142
+ * Description of what this workflow does.
143
+ */
144
+ description: string;
145
+ /**
146
+ * Disabled context IDs (excluded from auto-include).
147
+ */
148
+ disabledContextIds?: string[];
149
+ /**
150
+ * Whether to run a completion sweep after verification passes.
151
+ *
152
+ * The sweep reviews all completed work for gaps before proceeding to
153
+ * completion.
154
+ */
155
+ enableSweep: boolean;
156
+ /**
157
+ * When `true`, the pipeline will stop execution if accumulated token
158
+ * usage exceeds the token budget. Disabled by default — only logs
159
+ * warnings.
160
+ */
161
+ enforceTokenBudget: boolean;
162
+ /**
163
+ * Flow control configuration as a JSON string (e.g., concurrency limits,
164
+ * queue behavior).
165
+ */
166
+ flowControlJson?: string | null;
167
+ /**
168
+ * Task run ID that generated this workflow (for meta-workflow tracking).
169
+ */
170
+ generatedByTaskRunId?: string | null;
171
+ /**
172
+ * Whether to automatically include health check steps before
173
+ * verification.
174
+ *
175
+ * When enabled and `health_check_urls` is non-empty, health check steps
176
+ * are prepended to verification steps to verify configured servers are
177
+ * running.
178
+ */
179
+ healthCheckEnabled: boolean;
180
+ /**
181
+ * URLs to health check before verification (user-configurable).
182
+ *
183
+ * Each entry specifies a URL to check, expected status, and timeout.
184
+ * If empty, no health checks are performed even if `health_check_enabled`
185
+ * is true.
186
+ */
187
+ healthCheckUrls?: HealthCheckUrl[];
188
+ /**
189
+ * Whether HTN (Hierarchical Task Network) planning is enabled for this
190
+ * workflow.
191
+ *
192
+ * When `true`, the loop attempts structured plan-based fixes before
193
+ * falling back to AI agentic sessions.
194
+ */
195
+ htnEnabled: boolean;
196
+ /**
197
+ * Path to a serialized state machine JSON file for HTN planning.
198
+ *
199
+ * When `None` and HTN is enabled, defaults to the bundled
200
+ * `data/runner_state_machine.json`.
201
+ */
202
+ htnStateMachinePath?: string | null;
203
+ /**
204
+ * UI Bridge URL for HTN planning (e.g., `"http://localhost:1420"`).
205
+ *
206
+ * When set, the HTN planner connects to UI Bridge for querying element
207
+ * state. If `None`, HTN runs in plan-only mode without GUI execution.
208
+ */
209
+ htnUiBridgeUrl?: string | null;
210
+ /**
211
+ * Unique identifier (UUID v4).
212
+ */
213
+ id: string;
214
+ /**
215
+ * Whether this workflow is marked as a favorite for quick access.
216
+ */
217
+ isFavorite: boolean;
218
+ logSourceSelection?: LogSourceSelection;
219
+ /**
220
+ * Whether to automatically include a `log_watch` step before verification.
221
+ *
222
+ * When enabled (default), a `log_watch` step is prepended to
223
+ * verification steps to detect runtime errors in backend/frontend logs.
224
+ */
225
+ logWatchEnabled: boolean;
226
+ /**
227
+ * Maximum number of CI-triggered auto-resumes before requiring human
228
+ * intervention. Used by the PR watcher integration. `0` = disabled.
229
+ * Default: `10`.
230
+ */
231
+ maxCiAutoResumes: number;
232
+ /**
233
+ * Maximum consecutive non-improving fix attempts before escalating.
234
+ *
235
+ * When the verification check count does not improve across this many
236
+ * iterations, the loop exits with `fix_attempts_exhausted`. `0` =
237
+ * disabled. Default: `3`.
238
+ */
239
+ maxFixAttempts: number;
240
+ /**
241
+ * Maximum iterations for the agentic phase.
242
+ *
243
+ * `None` means no iteration cap — the loop terminates on success,
244
+ * explicit stop, or fix-attempt exhaustion.
245
+ */
246
+ maxIterations?: number | null;
247
+ /**
248
+ * Maximum number of sweep iterations (default: `5`).
249
+ */
250
+ maxSweepIterations: number;
251
+ /**
252
+ * Model override.
253
+ */
254
+ model?: string | null;
255
+ /**
256
+ * Per-phase model overrides.
257
+ */
258
+ modelOverrides?: {
259
+ [k: string]: ModelOverrideConfig;
260
+ };
261
+ /**
262
+ * ISO 8601 timestamp of last modification (serialized as `"modified_at"`
263
+ * to match the frontend).
264
+ */
265
+ modified_at: string;
266
+ /**
267
+ * Enable multi-agent fixer mode for the agentic phase.
268
+ *
269
+ * When `true`, verification failures are triaged and fixed by
270
+ * specialized agents (quick-fix for lint/compilation, feature-fix for
271
+ * missing functionality). Default: `true`.
272
+ */
273
+ multiAgentMode: boolean;
274
+ /**
275
+ * Display name.
276
+ */
277
+ name: string;
278
+ /**
279
+ * Per-phase timeout configuration as a JSON string.
280
+ */
281
+ phaseTimeoutsJson?: string | null;
282
+ /**
283
+ * Whether to automatically include a pre-flight environment check at the
284
+ * start of setup.
285
+ *
286
+ * When enabled (default), a shell command step runs to verify disk
287
+ * space, Node.js/npm, Python/Poetry, Rust/Cargo, and Git availability.
288
+ * Uses the global setting from Settings if not explicitly set per
289
+ * workflow.
290
+ */
291
+ preflightCheckEnabled: boolean;
292
+ /**
293
+ * Custom developer prompt template for this workflow.
294
+ *
295
+ * When set, this template is used instead of the global default when
296
+ * running the workflow. Supports variables: `{{SESSION_ID}}`,
297
+ * `{{ITERATION}}`, `{{MAX_ITERATIONS}}`, `{{GOAL}}`,
298
+ * `{{EXECUTION_STEPS}}`, `{{WORKSPACE_ESCAPED}}`.
299
+ */
300
+ promptTemplate?: string | null;
301
+ /**
302
+ * AI provider override.
303
+ */
304
+ provider?: string | null;
305
+ /**
306
+ * Quality report from the revision phase (opaque JSON blob).
307
+ */
308
+ qualityReport?: {
309
+ [k: string]: unknown;
310
+ };
311
+ /**
312
+ * Whether to enable reflection mode during agentic iterations.
313
+ *
314
+ * When `true`, the AI investigates root causes before fixing failures.
315
+ * Default: `true` for user-created workflows.
316
+ */
317
+ reflectionMode: boolean;
318
+ /**
319
+ * Policy for automatic git rollback when the workflow fails.
320
+ *
321
+ * Values: `"none"` (default), `"last_good"`, `"clean"`.
322
+ */
323
+ rollbackPolicy?: string | null;
324
+ /**
325
+ * Per-workflow security profile override.
326
+ *
327
+ * When set, overrides the default security profile from settings for
328
+ * this workflow. Values: `"permissive"`, `"standard"`, `"strict"`,
329
+ * or `"custom"`. If `None`, uses the default from Settings > Security.
330
+ */
331
+ securityProfile?: string | null;
332
+ /**
333
+ * Setup phase steps (polymorphic JSON array; see module docs).
334
+ */
335
+ setupSteps: UnifiedStep[];
336
+ /**
337
+ * Skip AI summary generation at the end (default: `false`, meaning the
338
+ * AI summary is generated).
339
+ */
340
+ skipAiSummary: boolean;
341
+ /**
342
+ * Optional stages for multi-stage workflows.
343
+ *
344
+ * When non-empty, the workflow executes stages sequentially instead of
345
+ * using top-level steps. Each stage has its own
346
+ * setup / verification / agentic / completion steps and loop.
347
+ */
348
+ stages?: WorkflowStage[];
349
+ /**
350
+ * Whether to stop execution if a stage fails verification.
351
+ *
352
+ * Default: `false` (autonomous mode — continue to the next stage even
353
+ * if the previous failed).
354
+ */
355
+ stopOnFailure: boolean;
356
+ /**
357
+ * Restrict working directory resolution to the workspace boundary.
358
+ *
359
+ * When `true`, steps cannot resolve paths outside the workspace root.
360
+ * Default: `false` (permissive, current behavior).
361
+ */
362
+ strictCwd: boolean;
363
+ /**
364
+ * Tags for filtering.
365
+ */
366
+ tags: string[];
367
+ /**
368
+ * Error IDs targeted by this workflow (for auto-resolution on success).
369
+ *
370
+ * When the workflow completes successfully, these errors will be marked
371
+ * as resolved. Used by error-fix workflows generated from the Error
372
+ * Monitor.
373
+ */
374
+ targetedErrorIds?: number[];
375
+ /**
376
+ * Optional inactivity timeout in seconds for AI sessions.
377
+ *
378
+ * - `None` (default): no timeout, runs until completion or manual stop.
379
+ * - `Some(N)`: kill AI session after `N` seconds of no output.
380
+ *
381
+ * Takes precedence over the global AI settings timeout.
382
+ */
383
+ timeoutSeconds?: number | null;
384
+ /**
385
+ * Tags for per-execution tool whitelisting.
386
+ *
387
+ * When non-empty, only skills matching at least one tag are included in
388
+ * the AI prompt context, reducing prompt bloat.
389
+ */
390
+ toolTags?: string[];
391
+ /**
392
+ * Run the workflow in an isolated git worktree.
393
+ *
394
+ * When `true`, a new branch and worktree are created before execution.
395
+ * Changes stay on the worktree branch and can be merged back after
396
+ * review. Default: `false`.
397
+ */
398
+ useWorktree: boolean;
399
+ /**
400
+ * Verification phase steps (polymorphic JSON array).
401
+ */
402
+ verificationSteps: UnifiedStep[];
403
+ /**
404
+ * Workflow execution architecture override.
405
+ *
406
+ * When set, forces the workflow to use a specific execution architecture
407
+ * instead of the default Traditional loop. When `None`, the system
408
+ * infers the best architecture based on workflow complexity.
409
+ */
410
+ workflowArchitecture?: WorkflowArchitecture | null;
411
+ }
@@ -0,0 +1,28 @@
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 { HttpConfig } from './HttpConfig';
9
+ import type { McpTransport } from './McpTransport';
10
+ import type { StdioConfig } from './StdioConfig';
11
+
12
+ /**
13
+ * Request body for updating an MCP server configuration. Every field is
14
+ * optional — fields left as `None` are preserved from the existing row.
15
+ *
16
+ * **Secret surface**: as with [`McpServerConfig`], the nested transport
17
+ * configs carry secrets.
18
+ */
19
+ export interface UpdateMcpServerInput {
20
+ autoStart?: boolean | null;
21
+ description?: string | null;
22
+ enabled?: boolean | null;
23
+ httpConfig?: HttpConfig | null;
24
+ name?: string | null;
25
+ stdioConfig?: StdioConfig | null;
26
+ timeoutSeconds?: number | null;
27
+ transport?: McpTransport | null;
28
+ }
@@ -0,0 +1,32 @@
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
+ * Request payload for partially updating an existing saved preset.
10
+ *
11
+ * All fields are optional — only those set are applied.
12
+ */
13
+ export interface UpdateOlConfigRequest {
14
+ /**
15
+ * Replace the stored config JSON blob.
16
+ */
17
+ configJson?: {
18
+ [k: string]: unknown;
19
+ };
20
+ /**
21
+ * Replace the description.
22
+ */
23
+ description?: string | null;
24
+ /**
25
+ * Toggle favorite status.
26
+ */
27
+ isFavorite?: boolean | null;
28
+ /**
29
+ * Rename the preset.
30
+ */
31
+ name?: string | null;
32
+ }
@@ -0,0 +1,71 @@
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 { CatchUpPolicy } from './CatchUpPolicy';
9
+ import type { ConditionScheduleConfig } from './ConditionScheduleConfig';
10
+ import type { IdleCondition } from './IdleCondition';
11
+ import type { McpConnectionRef } from './McpConnectionRef';
12
+ import type { RepositoryInactiveCondition } from './RepositoryInactiveCondition';
13
+ import type { RepositoryWatch } from './RepositoryWatch';
14
+ import type { ScheduleConditions } from './ScheduleConditions';
15
+ import type { ScheduleExpression } from './ScheduleExpression';
16
+ import type { ScheduledTaskType } from './ScheduledTaskType';
17
+
18
+ /**
19
+ * Request body for updating an existing scheduled task. All fields are
20
+ * optional; only those supplied are applied.
21
+ */
22
+ export interface UpdateScheduledTaskRequest {
23
+ /**
24
+ * Update `auto_fix_on_failure`.
25
+ */
26
+ autoFixOnFailure?: boolean | null;
27
+ /**
28
+ * Update the catch-up grace window (seconds).
29
+ */
30
+ catchUpGraceSeconds?: number | null;
31
+ /**
32
+ * Update the catch-up policy.
33
+ */
34
+ catchUpPolicy?: CatchUpPolicy | null;
35
+ /**
36
+ * Replace the conditions block (pass `null` to clear).
37
+ */
38
+ conditions?: ScheduleConditions | null;
39
+ /**
40
+ * New description (pass `null` to clear).
41
+ */
42
+ description?: string | null;
43
+ /**
44
+ * Enable/disable the task.
45
+ */
46
+ enabled?: boolean | null;
47
+ /**
48
+ * Update the launch-failure backoff base (seconds).
49
+ */
50
+ launchFailureBackoffSeconds?: number | null;
51
+ /**
52
+ * New display name.
53
+ */
54
+ name?: string | null;
55
+ /**
56
+ * Replace the schedule expression.
57
+ */
58
+ schedule?: ScheduleExpression | null;
59
+ /**
60
+ * Update `skip_if_completed`.
61
+ */
62
+ skipIfCompleted?: boolean | null;
63
+ /**
64
+ * Update the success criteria (pass `null` to clear).
65
+ */
66
+ successCriteria?: string | null;
67
+ /**
68
+ * Replace the task definition.
69
+ */
70
+ task?: ScheduledTaskType | null;
71
+ }
@@ -0,0 +1,16 @@
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
+ * Request body for `POST /constraints/validate`.
10
+ */
11
+ export interface ValidateConfigRequest {
12
+ /**
13
+ * Raw TOML content to validate.
14
+ */
15
+ toml: string;
16
+ }
@@ -0,0 +1,28 @@
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 { Constraint } from './Constraint';
9
+ import type { ConstraintCheck } from './ConstraintCheck';
10
+ import type { ConstraintSeverity } from './ConstraintSeverity';
11
+
12
+ /**
13
+ * Response for `POST /constraints/validate`.
14
+ */
15
+ export interface ValidateConfigResponse {
16
+ /**
17
+ * Successfully parsed constraints (may be partial if some were skipped).
18
+ */
19
+ constraints: Constraint[];
20
+ /**
21
+ * Parse errors or non-fatal warnings (e.g., constraints skipped due to bad regex).
22
+ */
23
+ errors: string[];
24
+ /**
25
+ * Whether the config is fully valid (parseable with no errors or warnings).
26
+ */
27
+ valid: boolean;
28
+ }
@@ -0,0 +1,48 @@
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 { BoundingBox } from './BoundingBox';
9
+ import type { ElementType } from './ElementType';
10
+ import type { GUIElementChunk } from './GUIElementChunk';
11
+
12
+ /**
13
+ * Result from a vector database search query.
14
+ *
15
+ * Contains the matched element and relevance scores.
16
+ * Mirrors `rag.models.SearchResult`.
17
+ */
18
+ export interface VectorSearchResult {
19
+ /**
20
+ * Distance metric from query.
21
+ */
22
+ distance: number;
23
+ element: GUIElementChunk;
24
+ /**
25
+ * Which embedding was matched: `"text"`, `"image"`, or `"hybrid"`.
26
+ */
27
+ matched_on: string;
28
+ /**
29
+ * The original query text.
30
+ */
31
+ query_text: string;
32
+ /**
33
+ * ISO 8601 UTC timestamp (`Z` suffix).
34
+ */
35
+ query_timestamp?: string | null;
36
+ /**
37
+ * Position in result list.
38
+ */
39
+ rank: number;
40
+ /**
41
+ * Similarity score (0-1).
42
+ */
43
+ score: number;
44
+ /**
45
+ * Type of search performed.
46
+ */
47
+ search_type: string;
48
+ }