@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,56 @@
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 the runner's `run_prompt` endpoint.
10
+ */
11
+ export interface RunPromptRequest {
12
+ /**
13
+ * Prompt content (the actual text sent to the AI).
14
+ */
15
+ content: string;
16
+ /**
17
+ * Optional free-form context string appended to the prompt.
18
+ */
19
+ context?: string | null;
20
+ /**
21
+ * Display-only version of the prompt (shown in the UI).
22
+ */
23
+ displayPrompt?: string | null;
24
+ /**
25
+ * Attached image paths.
26
+ */
27
+ imagePaths?: string[] | null;
28
+ /**
29
+ * Optional cap on AI sessions.
30
+ */
31
+ maxSessions?: number | null;
32
+ /**
33
+ * Cap on trace screenshots to include.
34
+ */
35
+ maxTraceScreenshots?: number | null;
36
+ /**
37
+ * Cap on video frames to extract for the prompt.
38
+ */
39
+ maxVideoFrames?: number | null;
40
+ /**
41
+ * Display name for the task.
42
+ */
43
+ name: string;
44
+ /**
45
+ * Hard timeout in seconds.
46
+ */
47
+ timeoutSeconds?: number | null;
48
+ /**
49
+ * Optional path to a trace file.
50
+ */
51
+ tracePath?: string | null;
52
+ /**
53
+ * Attached video paths.
54
+ */
55
+ videoPaths?: string[] | null;
56
+ }
@@ -0,0 +1,50 @@
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 { RunPromptResponseData } from './RunPromptResponseData';
9
+
10
+ /**
11
+ * Response from the runner's `run_prompt` endpoint.
12
+ */
13
+ export interface RunPromptResponse {
14
+ /**
15
+ * Structured data payload from a synchronous prompt run.
16
+ */
17
+ data?: RunPromptResponseData | null;
18
+ /**
19
+ * Error message if the call failed.
20
+ */
21
+ error?: string | null;
22
+ /**
23
+ * Path to the log file for the session.
24
+ */
25
+ logFile?: string | null;
26
+ /**
27
+ * Immediate output if the call ran synchronously.
28
+ */
29
+ output?: string | null;
30
+ /**
31
+ * OS process ID of the spawned AI session, if any.
32
+ */
33
+ pid?: number | null;
34
+ /**
35
+ * ID of the created AI session, if any.
36
+ */
37
+ sessionId?: string | null;
38
+ /**
39
+ * Path to the state file tracking the session.
40
+ */
41
+ stateFile?: string | null;
42
+ /**
43
+ * Whether the prompt was accepted and started successfully.
44
+ */
45
+ success: boolean;
46
+ /**
47
+ * ID of the created task run, if any.
48
+ */
49
+ taskRunId?: string | null;
50
+ }
@@ -0,0 +1,20 @@
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
+ * Inline `data` payload on a [`RunPromptResponse`].
10
+ */
11
+ export interface RunPromptResponseData {
12
+ /**
13
+ * AI output text.
14
+ */
15
+ output?: string | null;
16
+ /**
17
+ * Final response text.
18
+ */
19
+ response?: string | null;
20
+ }
@@ -0,0 +1,11 @@
1
+ /* eslint-disable */
2
+ /**
3
+ * This file was automatically generated.
4
+ * DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
5
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
+ */
7
+
8
+ /**
9
+ * Lifecycle status of an execution run.
10
+ */
11
+ export type RunStatus = "pending" | "running" | "completed" | "failed" | "timeout" | "cancelled" | "paused";
@@ -0,0 +1,11 @@
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
+ * Kind of execution run being reported.
10
+ */
11
+ export type RunType = "qa_test" | "integration_test" | "live_automation" | "recording" | "debug";
@@ -0,0 +1,81 @@
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 { RunnerCrash } from './RunnerCrash';
9
+ import type { RunnerStatus } from './RunnerStatus';
10
+ import type { RunnerUiError } from './RunnerUiError';
11
+
12
+ /**
13
+ * Canonical runner entity. One row per registered runner; the same shape is
14
+ * served to every consumer (mobile, web, runner UI).
15
+ *
16
+ * Replaces the prior split between `runners` (fleet/heartbeat),
17
+ * `runner_connections` (transient WS sessions), and per-consumer projection
18
+ * types like `RunnerConnection` / `ServerRunner` / `RegisteredRunner` /
19
+ * `WebIntegrationStatus`.
20
+ */
21
+ export interface Runner {
22
+ /**
23
+ * Free-form capability tags advertised by the runner
24
+ * (e.g., `["python", "playwright", "vision"]`).
25
+ */
26
+ capabilities: string[];
27
+ /**
28
+ * ISO 8601 timestamp when the runner was first registered.
29
+ */
30
+ createdAt: string;
31
+ derivedStatus: RunnerStatus;
32
+ /**
33
+ * Reported hostname of the machine the runner is running on.
34
+ */
35
+ hostname?: string | null;
36
+ /**
37
+ * Runner identifier (UUID as a string).
38
+ */
39
+ id: string;
40
+ /**
41
+ * Reported network address the runner is reachable on.
42
+ */
43
+ ipAddress?: string | null;
44
+ /**
45
+ * ISO 8601 timestamp of the most recent heartbeat received from the
46
+ * runner, if any.
47
+ */
48
+ lastHeartbeat?: string | null;
49
+ /**
50
+ * Human-readable runner name.
51
+ */
52
+ name: string;
53
+ /**
54
+ * Operating system identifier (e.g., `"windows"`, `"macos"`, `"linux"`).
55
+ */
56
+ os?: string | null;
57
+ /**
58
+ * Operating system version string.
59
+ */
60
+ osVersion?: string | null;
61
+ /**
62
+ * Reported port the runner's HTTP API is listening on.
63
+ */
64
+ port?: number | null;
65
+ /**
66
+ * Most recently captured crash dump metadata, if any.
67
+ */
68
+ recentCrash?: RunnerCrash | null;
69
+ /**
70
+ * Most recently reported structured UI error, if any.
71
+ */
72
+ uiError?: RunnerUiError | null;
73
+ /**
74
+ * Owning user identifier (UUID as a string).
75
+ */
76
+ userId: string;
77
+ /**
78
+ * Whether the server currently holds an open WebSocket from the runner.
79
+ */
80
+ wsConnected: boolean;
81
+ }
@@ -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
+ * Most recent crash dump metadata, if any.
10
+ */
11
+ export interface RunnerCrash {
12
+ /**
13
+ * Path to the crash dump file on disk.
14
+ */
15
+ filePath: string;
16
+ /**
17
+ * Source location (file/line) where the panic originated.
18
+ */
19
+ panicLocation: string;
20
+ /**
21
+ * Panic message captured from the runner process.
22
+ */
23
+ panicMessage: string;
24
+ /**
25
+ * ISO 8601 timestamp when the crash was reported.
26
+ */
27
+ reportedAt: string;
28
+ /**
29
+ * Name of the thread that panicked.
30
+ */
31
+ thread: string;
32
+ }
@@ -0,0 +1,42 @@
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
+ * Information about the runner environment that produced the run.
10
+ */
11
+ export interface RunnerMetadata {
12
+ /**
13
+ * CPU description.
14
+ */
15
+ cpuInfo?: string | null;
16
+ /**
17
+ * Arbitrary additional runner context.
18
+ */
19
+ extra?: {
20
+ [k: string]: unknown;
21
+ } | null;
22
+ /**
23
+ * Host machine name.
24
+ */
25
+ hostname: string;
26
+ /**
27
+ * Installed system memory in megabytes.
28
+ */
29
+ memoryMb?: number | null;
30
+ /**
31
+ * Operating system identifier (e.g., `"windows"`, `"macos"`, `"linux"`).
32
+ */
33
+ os: string;
34
+ /**
35
+ * Semantic version of the runner binary.
36
+ */
37
+ runnerVersion: string;
38
+ /**
39
+ * Screen resolution as a free-form string (e.g., `"1920x1080"`).
40
+ */
41
+ screenResolution?: string | null;
42
+ }
@@ -0,0 +1,12 @@
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
+ * Health/availability state of a runner, computed server-side from the
10
+ * WebSocket-presence and heartbeat-freshness signals.
11
+ */
12
+ export type RunnerStatus = "healthy" | "degraded" | "offline" | "starting" | "errored";
@@ -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
+ /**
9
+ * Structured error reported by the runner that the UI surfaces verbatim.
10
+ */
11
+ export interface RunnerUiError {
12
+ /**
13
+ * Optional long-form detail (stack trace, stderr, etc.).
14
+ */
15
+ detail?: string | null;
16
+ /**
17
+ * Error category (e.g., `"build_failed"`, `"port_conflict"`).
18
+ */
19
+ kind: string;
20
+ /**
21
+ * Short, user-facing error message.
22
+ */
23
+ message: string;
24
+ /**
25
+ * ISO 8601 timestamp when the error was reported.
26
+ */
27
+ reportedAt: string;
28
+ }
@@ -0,0 +1,40 @@
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 { MatchLocation } from './MatchLocation';
9
+ import type { TopMatch } from './TopMatch';
10
+
11
+ /**
12
+ * Runtime execution data captured during action execution.
13
+ *
14
+ * Different fields are populated depending on the action type. All fields
15
+ * are optional; the wire schema allows additional runtime fields via a
16
+ * `flatten`-d map.
17
+ */
18
+ export interface RuntimeData {
19
+ alreadyAtTarget?: boolean | null;
20
+ branchTaken?: string | null;
21
+ button?: string | null;
22
+ characterCount?: number | null;
23
+ clickedAt?: MatchLocation | null;
24
+ conditionPassed?: boolean | null;
25
+ confidence?: number | null;
26
+ dimensions?: MatchLocation | null;
27
+ found?: boolean | null;
28
+ imageId?: string | null;
29
+ location?: MatchLocation | null;
30
+ matchMethod?: string | null;
31
+ sourceStates?: string[] | null;
32
+ targetStates?: string[] | null;
33
+ targetType?: string | null;
34
+ targetsReached?: string[] | null;
35
+ topMatches?: TopMatch[] | null;
36
+ transitionsExecuted?: string[] | null;
37
+ typedText?: string | null;
38
+ workflowName?: string | null;
39
+ workflowStatus?: string | null;
40
+ }
@@ -0,0 +1,80 @@
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 { RetrySpec } from './RetrySpec';
9
+ import type { VerificationCategoryKind } from './VerificationCategoryKind';
10
+
11
+ /**
12
+ * Read a generated workflow JSON file and save it to the database.
13
+ *
14
+ * Wire tag: `"save_workflow_artifact"`.
15
+ */
16
+ export interface SaveWorkflowArtifactStep {
17
+ /**
18
+ * When `true`, also creates a `PipelineArtifact` from the artifact directory.
19
+ */
20
+ artifactCapturePrompts?: boolean | null;
21
+ /**
22
+ * Path to the workflow JSON file to save.
23
+ */
24
+ artifactInputPath?: string | null;
25
+ /**
26
+ * Acceptance criterion IDs verified by this step.
27
+ */
28
+ criterionIds?: string[];
29
+ /**
30
+ * IDs of other steps that must complete first.
31
+ */
32
+ dependsOn?: string[];
33
+ /**
34
+ * Extractions published to subsequent steps.
35
+ */
36
+ extract?: {
37
+ [k: string]: string;
38
+ };
39
+ /**
40
+ * If `Some(true)`, a console-error signal from the UI fails this step.
41
+ */
42
+ failOnConsoleErrors?: boolean | null;
43
+ /**
44
+ * Unique identifier for the step.
45
+ */
46
+ id: string;
47
+ /**
48
+ * Named input bindings evaluated at step entry.
49
+ */
50
+ inputs?: {
51
+ [k: string]: string;
52
+ };
53
+ /**
54
+ * Display name for the step.
55
+ */
56
+ name: string;
57
+ /**
58
+ * Whether this step is required (default: `true` on consumer side).
59
+ */
60
+ required?: boolean | null;
61
+ /**
62
+ * Per-step retry configuration.
63
+ */
64
+ retry?: RetrySpec | null;
65
+ /**
66
+ * Provenance of this step when generated from a skill template.
67
+ *
68
+ * Typed as `serde_json::Value` here to avoid pulling the `skill`
69
+ * dependency chain into this module; the TS side re-imports the typed
70
+ * `SkillOrigin` after regeneration.
71
+ */
72
+ skillOrigin?: {
73
+ [k: string]: unknown;
74
+ };
75
+ /**
76
+ * Verification depth category.
77
+ */
78
+ verificationCategory?: VerificationCategoryKind | null;
79
+ [k: string]: unknown;
80
+ }
@@ -0,0 +1,29 @@
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 { IdleCondition } from './IdleCondition';
9
+ import type { RepositoryInactiveCondition } from './RepositoryInactiveCondition';
10
+ import type { RepositoryWatch } from './RepositoryWatch';
11
+
12
+ /**
13
+ * Conditions that must ALL be met before task execution.
14
+ */
15
+ export interface ScheduleConditions {
16
+ /**
17
+ * Require the runner to be idle.
18
+ */
19
+ requireIdle?: IdleCondition | null;
20
+ /**
21
+ * Require repository file inactivity across one or more paths.
22
+ */
23
+ requireRepoInactive?: RepositoryInactiveCondition | null;
24
+ /**
25
+ * Maximum time to wait for conditions (minutes). `None` = wait
26
+ * indefinitely.
27
+ */
28
+ timeoutMinutes?: number | null;
29
+ }
@@ -0,0 +1,39 @@
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 { ConditionScheduleConfig } from './ConditionScheduleConfig';
9
+
10
+ /**
11
+ * How a task should be scheduled.
12
+ *
13
+ * Serialized with the external tag `type` and payload under `value` so that
14
+ * `Once("...")`, `Cron("...")`, and `Interval(60)` round-trip as
15
+ * `{ "type": "Once", "value": "..." }` etc. The `Condition` variant wraps a
16
+ * [`ConditionScheduleConfig`] rather than a scalar, but uses the same
17
+ * `{ type, value }` envelope.
18
+ */
19
+ export type ScheduleExpression =
20
+ | {
21
+ type: "Once";
22
+ value: string;
23
+ [k: string]: unknown;
24
+ }
25
+ | {
26
+ type: "Cron";
27
+ value: string;
28
+ [k: string]: unknown;
29
+ }
30
+ | {
31
+ type: "Interval";
32
+ value: number;
33
+ [k: string]: unknown;
34
+ }
35
+ | {
36
+ type: "Condition";
37
+ value: ConditionScheduleConfig;
38
+ [k: string]: unknown;
39
+ };
@@ -0,0 +1,104 @@
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 { ConditionStatus } from './ConditionStatus';
11
+ import type { IdleCondition } from './IdleCondition';
12
+ import type { McpConnectionRef } from './McpConnectionRef';
13
+ import type { RepositoryInactiveCondition } from './RepositoryInactiveCondition';
14
+ import type { RepositoryWatch } from './RepositoryWatch';
15
+ import type { ScheduleConditions } from './ScheduleConditions';
16
+ import type { ScheduleExpression } from './ScheduleExpression';
17
+ import type { ScheduledTaskStatus } from './ScheduledTaskStatus';
18
+ import type { ScheduledTaskType } from './ScheduledTaskType';
19
+ import type { TaskExecutionRecord } from './TaskExecutionRecord';
20
+
21
+ /**
22
+ * A scheduled task definition — the full persisted frame, including computed
23
+ * fields (`last_run`, `next_run`) and condition-evaluation state
24
+ * (`conditions`, `condition_status`).
25
+ */
26
+ export interface ScheduledTask {
27
+ /**
28
+ * Automatically trigger auto-fix when this task fails.
29
+ */
30
+ autoFixOnFailure: boolean;
31
+ /**
32
+ * Slots within this number of seconds of "now" are not treated as
33
+ * missed (the normal scheduler will pick them up). Default 300s.
34
+ */
35
+ catchUpGraceSeconds: number;
36
+ /**
37
+ * Catch-up policy applied when the runner restarts after missing one
38
+ * or more scheduled slots.
39
+ */
40
+ catchUpPolicy?: CatchUpPolicy & string;
41
+ /**
42
+ * Present while the task is waiting for its conditions to be met.
43
+ */
44
+ conditionStatus?: ConditionStatus | null;
45
+ /**
46
+ * Optional conditions that must be met before execution.
47
+ */
48
+ conditions?: ScheduleConditions | null;
49
+ /**
50
+ * Number of consecutive launch failures since the task last started
51
+ * successfully. Drives exponential backoff. Reset to 0 on the next
52
+ * successful launch.
53
+ */
54
+ consecutiveLaunchFailures: number;
55
+ /**
56
+ * ISO 8601 timestamp of creation.
57
+ */
58
+ createdAt: string;
59
+ /**
60
+ * Optional human-readable description.
61
+ */
62
+ description?: string | null;
63
+ /**
64
+ * Whether the task is enabled and eligible to run.
65
+ */
66
+ enabled: boolean;
67
+ /**
68
+ * Unique identifier (UUID v4 string).
69
+ */
70
+ id: string;
71
+ /**
72
+ * Record of the most recent execution.
73
+ */
74
+ lastRun?: TaskExecutionRecord | null;
75
+ /**
76
+ * **Base** backoff in seconds for launch failures (not the current
77
+ * accumulated backoff). The runner computes the effective delay as
78
+ * `min(base * 2^(consecutive_launch_failures - 1), 86400)`.
79
+ * Default 60s.
80
+ */
81
+ launchFailureBackoffSeconds: number;
82
+ /**
83
+ * ISO 8601 timestamp of last modification.
84
+ */
85
+ modifiedAt: string;
86
+ /**
87
+ * Display name for the task.
88
+ */
89
+ name: string;
90
+ /**
91
+ * Next scheduled run time (ISO 8601), computed by the runner.
92
+ */
93
+ nextRun?: string | null;
94
+ schedule: ScheduleExpression;
95
+ /**
96
+ * Skip future runs once the task has succeeded at least once.
97
+ */
98
+ skipIfCompleted: boolean;
99
+ /**
100
+ * Free-form description of success criteria, for human reference.
101
+ */
102
+ successCriteria?: string | null;
103
+ task: ScheduledTaskType;
104
+ }
@@ -0,0 +1,19 @@
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
+ * Status of a scheduled task execution.
10
+ */
11
+ export type ScheduledTaskStatus =
12
+ | "pending"
13
+ | "running"
14
+ | "completed"
15
+ | "failed"
16
+ | "launch_failed"
17
+ | "skipped"
18
+ | "cancelled"
19
+ | "missed_runner_down";