@qontinui/shared-types 0.8.0 → 0.11.0

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 (326) hide show
  1. package/dist/{TaskRunFindingActionType.d-CNIWogcU.d.cts → TaskRunFindingActionType.d-DE0io71X.d.cts} +11 -3
  2. package/dist/{TaskRunFindingActionType.d-CNIWogcU.d.ts → TaskRunFindingActionType.d-DE0io71X.d.ts} +11 -3
  3. package/dist/accessibility.d.cts +2 -1
  4. package/dist/accessibility.d.ts +2 -1
  5. package/dist/execution.d.cts +21 -5
  6. package/dist/execution.d.ts +21 -5
  7. package/dist/index.cjs.map +1 -1
  8. package/dist/index.d.cts +417 -4
  9. package/dist/index.d.ts +417 -4
  10. package/dist/rag.d.cts +4 -2
  11. package/dist/rag.d.ts +4 -2
  12. package/dist/runner.d.cts +2 -1
  13. package/dist/runner.d.ts +2 -1
  14. package/dist/targets.d.cts +7 -2
  15. package/dist/targets.d.ts +7 -2
  16. package/dist/task-run.d.cts +1 -1
  17. package/dist/task-run.d.ts +1 -1
  18. package/dist/tauri-events.d.cts +1 -1
  19. package/dist/tauri-events.d.ts +1 -1
  20. package/dist/workflow.d.cts +17 -7
  21. package/dist/workflow.d.ts +17 -7
  22. package/package.json +1 -1
  23. package/src/generated/A11yAction.d.ts +2 -1
  24. package/src/generated/AccessibilityBackend.d.ts +2 -1
  25. package/src/generated/AccessibilityNode.d.ts +3 -3
  26. package/src/generated/AccessibilitySelector.d.ts +3 -3
  27. package/src/generated/AccessibilitySnapshot.d.ts +5 -5
  28. package/src/generated/ActionExecutionBatch.d.ts +6 -6
  29. package/src/generated/ActionExecutionCreate.d.ts +5 -5
  30. package/src/generated/ActionExecutionListResponse.d.ts +2 -2
  31. package/src/generated/ActionReliabilityStats.d.ts +1 -1
  32. package/src/generated/ActionResponse.d.ts +2 -2
  33. package/src/generated/ActionStatus.d.ts +2 -1
  34. package/src/generated/AgenticPhaseOutput.d.ts +4 -4
  35. package/src/generated/AgenticStatus.d.ts +2 -1
  36. package/src/generated/AiWorkflow.d.ts +1 -1
  37. package/src/generated/ApiAssertion.d.ts +2 -2
  38. package/src/generated/ApiAssertionOperator.d.ts +2 -1
  39. package/src/generated/ApiAssertionType.d.ts +2 -1
  40. package/src/generated/ApiContentType.d.ts +5 -1
  41. package/src/generated/App.d.ts +34 -0
  42. package/src/generated/AppError.d.ts +5 -0
  43. package/src/generated/AppEvent.d.ts +2 -2
  44. package/src/generated/AppListResponse.d.ts +1 -1
  45. package/src/generated/AssertionMiss.d.ts +3 -3
  46. package/src/generated/AssertionOutcome.d.ts +5 -5
  47. package/src/generated/AssertionResult.d.ts +6 -6
  48. package/src/generated/AuthModel.d.ts +2 -2
  49. package/src/generated/AuthRole.d.ts +1 -1
  50. package/src/generated/AvailableTransitionsResult.d.ts +1 -1
  51. package/src/generated/BackendProfile.d.ts +1 -1
  52. package/src/generated/BaseStepFields.d.ts +2 -2
  53. package/src/generated/BatchComputeEmbeddingResponse.d.ts +1 -1
  54. package/src/generated/CandidateMiss.d.ts +1 -1
  55. package/src/generated/CanonicalStep.d.ts +18 -18
  56. package/src/generated/CodeExecutionStep.d.ts +2 -2
  57. package/src/generated/CommandStep.d.ts +7 -7
  58. package/src/generated/CompletenessVerdict.d.ts +21 -21
  59. package/src/generated/ConjunctEvaluation.d.ts +1 -1
  60. package/src/generated/ConjunctRule.d.ts +1 -1
  61. package/src/generated/Constraint.d.ts +2 -2
  62. package/src/generated/ConstraintProposal.d.ts +3 -3
  63. package/src/generated/ConstraintResult.d.ts +2 -2
  64. package/src/generated/Context.d.ts +1 -1
  65. package/src/generated/Coordinates.d.ts +1 -1
  66. package/src/generated/CostTrendResponse.d.ts +1 -1
  67. package/src/generated/CoverageGap.d.ts +3 -3
  68. package/src/generated/CreateMcpServerInput.d.ts +3 -3
  69. package/src/generated/CreateScheduledTaskRequest.d.ts +9 -9
  70. package/src/generated/CreateTaskRunRequest.d.ts +1 -1
  71. package/src/generated/DagApprovalStep.d.ts +2 -2
  72. package/src/generated/DagCancelStep.d.ts +2 -2
  73. package/src/generated/DagLoopStep.d.ts +2 -2
  74. package/src/generated/DiagnosticResult.d.ts +1 -1
  75. package/src/generated/DiscoveredElement.d.ts +2 -2
  76. package/src/generated/DiscoveredStateImage.d.ts +1 -1
  77. package/src/generated/DiscoveredTransition.d.ts +2 -2
  78. package/src/generated/DiscoveryResponse.d.ts +3 -3
  79. package/src/generated/DiscoverySourceType.d.ts +2 -1
  80. package/src/generated/DiscoveryTransitionTrigger.d.ts +1 -1
  81. package/src/generated/DisplayNode.d.ts +9 -9
  82. package/src/generated/DomainVerificationResult.d.ts +3 -3
  83. package/src/generated/ElementActionRequest.d.ts +1 -1
  84. package/src/generated/ElementState.d.ts +28 -2
  85. package/src/generated/EmbeddedElement.d.ts +3 -3
  86. package/src/generated/EmbeddingListResponse.d.ts +1 -1
  87. package/src/generated/EmbeddingResultsRequest.d.ts +1 -1
  88. package/src/generated/Entity.d.ts +3 -3
  89. package/src/generated/EntityField.d.ts +1 -1
  90. package/src/generated/ExecutePlaybookStep.d.ts +2 -2
  91. package/src/generated/ExecutionIssueBatch.d.ts +2 -2
  92. package/src/generated/ExecutionIssueCreate.d.ts +1 -1
  93. package/src/generated/ExecutionIssueDetail.d.ts +5 -5
  94. package/src/generated/ExecutionIssueListResponse.d.ts +2 -2
  95. package/src/generated/ExecutionIssueUpdate.d.ts +2 -2
  96. package/src/generated/ExecutionRunComplete.d.ts +3 -3
  97. package/src/generated/ExecutionRunCompleteResponse.d.ts +3 -3
  98. package/src/generated/ExecutionRunCreate.d.ts +3 -3
  99. package/src/generated/ExecutionRunDetail.d.ts +6 -6
  100. package/src/generated/ExecutionRunListResponse.d.ts +4 -4
  101. package/src/generated/ExecutionRunResponse.d.ts +2 -2
  102. package/src/generated/ExecutionScreenshotCreate.d.ts +3 -3
  103. package/src/generated/ExecutionTreeResponse.d.ts +10 -10
  104. package/src/generated/ExecutionTrendResponse.d.ts +2 -2
  105. package/src/generated/Finding.d.ts +1 -1
  106. package/src/generated/FindingActionType.d.ts +2 -1
  107. package/src/generated/FindingBatchCreate.d.ts +6 -6
  108. package/src/generated/FindingCreate.d.ts +5 -5
  109. package/src/generated/FindingDetail.d.ts +6 -6
  110. package/src/generated/FindingListResponse.d.ts +7 -7
  111. package/src/generated/FindingStatus.d.ts +7 -1
  112. package/src/generated/FindingUpdate.d.ts +1 -1
  113. package/src/generated/FindingsSummary.d.ts +5 -5
  114. package/src/generated/FullRunnerStep.d.ts +35 -35
  115. package/src/generated/FunctionalSpec.d.ts +24 -24
  116. package/src/generated/GUIElementChunk.d.ts +2 -2
  117. package/src/generated/GitCommitLite.d.ts +24 -0
  118. package/src/generated/GitLite.d.ts +27 -0
  119. package/src/generated/GitOpListResponse.d.ts +1 -1
  120. package/src/generated/HealthLevel.d.ts +11 -0
  121. package/src/generated/HealthLite.d.ts +28 -0
  122. package/src/generated/HelperAnswer.d.ts +47 -0
  123. package/src/generated/HelperAnswerSchema.d.ts +40 -0
  124. package/src/generated/HelperTask.d.ts +59 -0
  125. package/src/generated/HelperTaskKind.d.ts +16 -0
  126. package/src/generated/HelperTaskPayload.d.ts +37 -0
  127. package/src/generated/HelperTaskSource.d.ts +31 -0
  128. package/src/generated/HelperTaskStatus.d.ts +14 -0
  129. package/src/generated/HelperVerdict.d.ts +21 -0
  130. package/src/generated/HistoricalActionQuery.d.ts +1 -1
  131. package/src/generated/HistoricalActionResult.d.ts +2 -2
  132. package/src/generated/IndividualCheckResult.d.ts +1 -1
  133. package/src/generated/IrAssertion.d.ts +1 -1
  134. package/src/generated/IrGroup.d.ts +2 -2
  135. package/src/generated/IrPageSpec.d.ts +13 -13
  136. package/src/generated/IrProvenance.d.ts +1 -1
  137. package/src/generated/IrState.d.ts +8 -8
  138. package/src/generated/IrStateCondition.d.ts +1 -1
  139. package/src/generated/IrTransition.d.ts +7 -7
  140. package/src/generated/IrTransitionAction.d.ts +2 -2
  141. package/src/generated/IrWaitSpec.d.ts +1 -1
  142. package/src/generated/IssueSeverity.d.ts +2 -1
  143. package/src/generated/IssueSource.d.ts +2 -1
  144. package/src/generated/IssueStatus.d.ts +2 -1
  145. package/src/generated/IterationResult.d.ts +3 -3
  146. package/src/generated/IterationVerificationResults.d.ts +4 -4
  147. package/src/generated/JobItem.d.ts +1 -1
  148. package/src/generated/JobListResponse.d.ts +2 -2
  149. package/src/generated/JobStatus.d.ts +2 -1
  150. package/src/generated/JobSummary.d.ts +1 -1
  151. package/src/generated/LLMCostSummary.d.ts +1 -1
  152. package/src/generated/LegacyAssertion.d.ts +1 -1
  153. package/src/generated/LegacyGroup.d.ts +2 -2
  154. package/src/generated/LegacyProcessStep.d.ts +2 -2
  155. package/src/generated/LegacySpec.d.ts +9 -9
  156. package/src/generated/LegacyStateMachine.d.ts +5 -5
  157. package/src/generated/LegacyStateMachineState.d.ts +4 -4
  158. package/src/generated/LegacyTransition.d.ts +3 -3
  159. package/src/generated/LoopInstanceStatus.d.ts +6 -6
  160. package/src/generated/MatchAdjustment.d.ts +2 -2
  161. package/src/generated/MatchMethod.d.ts +5 -1
  162. package/src/generated/McpCallsResult.d.ts +1 -1
  163. package/src/generated/McpServerConfig.d.ts +3 -3
  164. package/src/generated/McpServerStatus.d.ts +2 -2
  165. package/src/generated/McpToolInfo.d.ts +1 -1
  166. package/src/generated/MemoryListResponse.d.ts +1 -1
  167. package/src/generated/MemoryWithHistory.d.ts +1 -1
  168. package/src/generated/ModelOverrideConfig.d.ts +1 -1
  169. package/src/generated/Monitor.d.ts +1 -1
  170. package/src/generated/MultiLoopConfig.d.ts +11 -11
  171. package/src/generated/MultiLoopEntry.d.ts +10 -10
  172. package/src/generated/MultiLoopStatus.d.ts +7 -7
  173. package/src/generated/NativeAccessibilityStep.d.ts +3 -3
  174. package/src/generated/NewConstraintProposal.d.ts +3 -3
  175. package/src/generated/NodeMetadata.d.ts +6 -6
  176. package/src/generated/Operation.d.ts +4 -4
  177. package/src/generated/OperationEffect.d.ts +1 -1
  178. package/src/generated/OperationInput.d.ts +2 -2
  179. package/src/generated/OrchestrationLoopConfig.d.ts +9 -9
  180. package/src/generated/OrchestrationLoopStatus.d.ts +5 -5
  181. package/src/generated/OutputLine.d.ts +1 -1
  182. package/src/generated/OverrideCollection.d.ts +1 -1
  183. package/src/generated/PathElement.d.ts +1 -1
  184. package/src/generated/PathfindingResult.d.ts +1 -1
  185. package/src/generated/PatternOptions.d.ts +1 -1
  186. package/src/generated/PendingQuestion.d.ts +32 -0
  187. package/src/generated/PipelineConfig.d.ts +3 -3
  188. package/src/generated/PolicyConjunct.d.ts +3 -3
  189. package/src/generated/PolicyEvaluation.d.ts +2 -2
  190. package/src/generated/ProcessConfig.d.ts +1 -1
  191. package/src/generated/ProcessState.d.ts +9 -1
  192. package/src/generated/ProcessStatus.d.ts +1 -1
  193. package/src/generated/ProcessStatusLite.d.ts +38 -0
  194. package/src/generated/Profile.d.ts +4 -4
  195. package/src/generated/ProjectSnapshot.d.ts +63 -0
  196. package/src/generated/PromptStep.d.ts +3 -3
  197. package/src/generated/PromptStepPhase.d.ts +2 -1
  198. package/src/generated/RAGDashboardStats.d.ts +2 -2
  199. package/src/generated/RagCompletionEvent.d.ts +1 -1
  200. package/src/generated/RagProcessingStatus.d.ts +2 -1
  201. package/src/generated/RagProgressEvent.d.ts +1 -1
  202. package/src/generated/RecommendedState.d.ts +1 -1
  203. package/src/generated/Region.d.ts +1 -1
  204. package/src/generated/RegisterAppRequest.d.ts +24 -0
  205. package/src/generated/Relationship.d.ts +1 -1
  206. package/src/generated/RepositoryInactiveCondition.d.ts +1 -1
  207. package/src/generated/ResolvedInitialStates.d.ts +2 -2
  208. package/src/generated/ResolvedInitialStatesResult.d.ts +2 -2
  209. package/src/generated/RestartProcessStep.d.ts +2 -2
  210. package/src/generated/RoleCriterion.d.ts +1 -1
  211. package/src/generated/RunPromptResponse.d.ts +1 -1
  212. package/src/generated/RunStatus.d.ts +8 -1
  213. package/src/generated/RunType.d.ts +2 -1
  214. package/src/generated/Runner.d.ts +3 -3
  215. package/src/generated/RunnerFinding.d.ts +6 -6
  216. package/src/generated/RunnerStatus.d.ts +2 -1
  217. package/src/generated/RunnerStatusEvent.d.ts +1 -1
  218. package/src/generated/RuntimeData.d.ts +2 -2
  219. package/src/generated/SaveWorkflowArtifactStep.d.ts +2 -2
  220. package/src/generated/SavedProject.d.ts +102 -0
  221. package/src/generated/ScheduleConditions.d.ts +3 -3
  222. package/src/generated/ScheduleExpression.d.ts +1 -1
  223. package/src/generated/ScheduledTask.d.ts +12 -12
  224. package/src/generated/ScheduledTaskType.d.ts +1 -1
  225. package/src/generated/SchedulerStatus.d.ts +1 -1
  226. package/src/generated/ScreenshotAnnotation.d.ts +1 -1
  227. package/src/generated/ScreenshotType.d.ts +7 -1
  228. package/src/generated/SearchOptions.d.ts +8 -8
  229. package/src/generated/SearchResultItem.d.ts +1 -1
  230. package/src/generated/SectionVerdict.d.ts +2 -2
  231. package/src/generated/SemanticSearchResponse.d.ts +2 -2
  232. package/src/generated/SessionLite.d.ts +44 -0
  233. package/src/generated/SessionSource.d.ts +11 -0
  234. package/src/generated/SpecCheckPolicy.d.ts +4 -4
  235. package/src/generated/SpecCheckResult.d.ts +21 -14
  236. package/src/generated/SpecCheckStepConfig.d.ts +5 -5
  237. package/src/generated/SpecCheckSummary.d.ts +4 -4
  238. package/src/generated/SpecSection.d.ts +2 -1
  239. package/src/generated/StateDiscoveryResult.d.ts +7 -7
  240. package/src/generated/StateDiscoveryResultCreate.d.ts +7 -7
  241. package/src/generated/StateDiscoveryResultListResponse.d.ts +2 -2
  242. package/src/generated/StateDiscoveryResultSummary.d.ts +1 -1
  243. package/src/generated/StateDiscoveryResultUpdate.d.ts +6 -6
  244. package/src/generated/StateMachineConfigFull.d.ts +9 -9
  245. package/src/generated/StateMachineExport.d.ts +6 -6
  246. package/src/generated/StateMachineImport.d.ts +7 -7
  247. package/src/generated/StateMachineState.d.ts +1 -1
  248. package/src/generated/StateMachineStateCreate.d.ts +1 -1
  249. package/src/generated/StateMachineStateUpdate.d.ts +1 -1
  250. package/src/generated/StateMachineTransition.d.ts +6 -6
  251. package/src/generated/StateMachineTransitionCreate.d.ts +6 -6
  252. package/src/generated/StateMachineTransitionUpdate.d.ts +6 -6
  253. package/src/generated/StateMatchResult.d.ts +12 -7
  254. package/src/generated/StatesResponse.d.ts +1 -1
  255. package/src/generated/SuccessCriterion.d.ts +2 -2
  256. package/src/generated/TargetConfig.d.ts +13 -13
  257. package/src/generated/TaskCompletionResult.d.ts +6 -6
  258. package/src/generated/TaskExecutionRecord.d.ts +1 -1
  259. package/src/generated/TaskRun.d.ts +2 -2
  260. package/src/generated/TaskRunBackend.d.ts +1 -1
  261. package/src/generated/TaskRunBackendDetail.d.ts +8 -8
  262. package/src/generated/TaskRunCreate.d.ts +1 -1
  263. package/src/generated/TaskRunFilters.d.ts +1 -1
  264. package/src/generated/TaskRunFinding.d.ts +4 -4
  265. package/src/generated/TaskRunFindingActionType.d.ts +2 -1
  266. package/src/generated/TaskRunFindingCreate.d.ts +4 -4
  267. package/src/generated/TaskRunFindingFilters.d.ts +3 -3
  268. package/src/generated/TaskRunFindingSeverity.d.ts +2 -1
  269. package/src/generated/TaskRunFindingStatus.d.ts +7 -1
  270. package/src/generated/TaskRunFindingUpdate.d.ts +1 -1
  271. package/src/generated/TaskRunFindingsListResponse.d.ts +6 -6
  272. package/src/generated/TaskRunListResponse.d.ts +3 -3
  273. package/src/generated/TaskRunUpdate.d.ts +1 -1
  274. package/src/generated/TestType.d.ts +2 -1
  275. package/src/generated/TextMatchType.d.ts +2 -1
  276. package/src/generated/TextSearchOptions.d.ts +2 -2
  277. package/src/generated/Ticket.d.ts +2 -2
  278. package/src/generated/TicketProviderConfig.d.ts +1 -1
  279. package/src/generated/TopMatch.d.ts +1 -1
  280. package/src/generated/TransitionAction.d.ts +5 -5
  281. package/src/generated/TransitionEdgeData.d.ts +1 -1
  282. package/src/generated/TransitionTriggerType.d.ts +2 -1
  283. package/src/generated/TreeEvent.d.ts +12 -12
  284. package/src/generated/TreeEventCreate.d.ts +12 -12
  285. package/src/generated/TreeEventListResponse.d.ts +12 -12
  286. package/src/generated/TreeEventResponse.d.ts +11 -11
  287. package/src/generated/TreeNode.d.ts +9 -9
  288. package/src/generated/UIBridgeComponent.d.ts +1 -1
  289. package/src/generated/UIBridgeElement.d.ts +4 -4
  290. package/src/generated/UIBridgeModalStack.d.ts +1 -1
  291. package/src/generated/UIBridgeSnapshot.d.ts +13 -13
  292. package/src/generated/UIBridgeToastContext.d.ts +1 -1
  293. package/src/generated/UiBridgeAssertType.d.ts +2 -1
  294. package/src/generated/UiBridgeDesignAuditStep.d.ts +2 -2
  295. package/src/generated/UiBridgeHttpHealthEnvelope.d.ts +2 -2
  296. package/src/generated/UiBridgeStep.d.ts +7 -7
  297. package/src/generated/UiBridgeVisualAssertionStep.d.ts +3 -3
  298. package/src/generated/UnifiedStep.d.ts +19 -19
  299. package/src/generated/UnifiedWorkflow.d.ts +30 -30
  300. package/src/generated/UpdateAppRequest.d.ts +24 -0
  301. package/src/generated/UpdateMcpServerInput.d.ts +3 -3
  302. package/src/generated/UpdateScheduledTaskRequest.d.ts +9 -9
  303. package/src/generated/ValidateConfigResponse.d.ts +3 -3
  304. package/src/generated/ValidationRule.d.ts +1 -1
  305. package/src/generated/VectorSearchResult.d.ts +3 -3
  306. package/src/generated/VerificationPhaseResult.d.ts +6 -6
  307. package/src/generated/VerificationPlan.d.ts +4 -4
  308. package/src/generated/VerificationResult.d.ts +2 -2
  309. package/src/generated/VerificationResultResponse.d.ts +7 -7
  310. package/src/generated/VerificationResultsListResponse.d.ts +8 -8
  311. package/src/generated/VerificationStepDetails.d.ts +2 -2
  312. package/src/generated/VerificationStepResult.d.ts +4 -4
  313. package/src/generated/VgaAutomateStep.d.ts +3 -3
  314. package/src/generated/VirtualDesktop.d.ts +2 -2
  315. package/src/generated/WorkerCoordinationMessage.d.ts +2 -2
  316. package/src/generated/WorkerInstance.d.ts +4 -4
  317. package/src/generated/WorkerOutput.d.ts +4 -4
  318. package/src/generated/WorkerSignal.d.ts +2 -2
  319. package/src/generated/WorkerStatus.d.ts +7 -1
  320. package/src/generated/WorkflowArchitecture.d.ts +2 -1
  321. package/src/generated/WorkflowFixupStep.d.ts +3 -3
  322. package/src/generated/WorkflowRefStep.d.ts +2 -2
  323. package/src/generated/WorkflowStage.d.ts +26 -26
  324. package/src/generated/WorkflowStep.d.ts +3 -3
  325. package/src/generated/index.ts +18 -0
  326. package/src/index.ts +14 -0
@@ -5,10 +5,10 @@
5
5
  * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
6
  */
7
7
 
8
- import type { ExecutionRunResponse } from './ExecutionRunResponse';
9
- import type { Pagination } from './Pagination';
10
- import type { RunStatus } from './RunStatus';
11
- import type { RunType } from './RunType';
8
+ import type { ExecutionRunResponse } from "./ExecutionRunResponse";
9
+ import type { Pagination } from "./Pagination";
10
+ import type { RunStatus } from "./RunStatus";
11
+ import type { RunType } from "./RunType";
12
12
 
13
13
  /**
14
14
  * Paginated list of execution runs.
@@ -5,8 +5,8 @@
5
5
  * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
6
  */
7
7
 
8
- import type { RunStatus } from './RunStatus';
9
- import type { RunType } from './RunType';
8
+ import type { RunStatus } from "./RunStatus";
9
+ import type { RunType } from "./RunType";
10
10
 
11
11
  /**
12
12
  * Response envelope returned when a run is created or fetched.
@@ -5,9 +5,9 @@
5
5
  * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
6
  */
7
7
 
8
- import type { ScreenshotAnnotation } from './ScreenshotAnnotation';
9
- import type { ScreenshotAnnotationShape } from './ScreenshotAnnotationShape';
10
- import type { ScreenshotType } from './ScreenshotType';
8
+ import type { ScreenshotAnnotation } from "./ScreenshotAnnotation";
9
+ import type { ScreenshotAnnotationShape } from "./ScreenshotAnnotationShape";
10
+ import type { ScreenshotType } from "./ScreenshotType";
11
11
 
12
12
  /**
13
13
  * Request payload describing a screenshot being uploaded.
@@ -5,16 +5,16 @@
5
5
  * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
6
  */
7
7
 
8
- import type { DisplayNode } from './DisplayNode';
9
- import type { MatchLocation } from './MatchLocation';
10
- import type { NodeMetadata } from './NodeMetadata';
11
- import type { NodeStatus } from './NodeStatus';
12
- import type { NodeType } from './NodeType';
13
- import type { Outcome } from './Outcome';
14
- import type { RuntimeData } from './RuntimeData';
15
- import type { StateContext } from './StateContext';
16
- import type { TimingInfo } from './TimingInfo';
17
- import type { TopMatch } from './TopMatch';
8
+ import type { DisplayNode } from "./DisplayNode";
9
+ import type { MatchLocation } from "./MatchLocation";
10
+ import type { NodeMetadata } from "./NodeMetadata";
11
+ import type { NodeStatus } from "./NodeStatus";
12
+ import type { NodeType } from "./NodeType";
13
+ import type { Outcome } from "./Outcome";
14
+ import type { RuntimeData } from "./RuntimeData";
15
+ import type { StateContext } from "./StateContext";
16
+ import type { TimingInfo } from "./TimingInfo";
17
+ import type { TopMatch } from "./TopMatch";
18
18
 
19
19
  /**
20
20
  * Full execution tree reconstructed from events.
@@ -5,8 +5,8 @@
5
5
  * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
6
  */
7
7
 
8
- import type { ExecutionTrendDataPoint } from './ExecutionTrendDataPoint';
9
- import type { RunType } from './RunType';
8
+ import type { ExecutionTrendDataPoint } from "./ExecutionTrendDataPoint";
9
+ import type { RunType } from "./RunType";
10
10
 
11
11
  /**
12
12
  * Response envelope for the execution-trend analytics endpoint.
@@ -5,7 +5,7 @@
5
5
  * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
6
  */
7
7
 
8
- import type { Confidence } from './Confidence';
8
+ import type { Confidence } from "./Confidence";
9
9
 
10
10
  /**
11
11
  * A finding recorded by a worker agent.
@@ -10,4 +10,5 @@
10
10
  *
11
11
  * Mirrors Python `FindingActionType(str, Enum)`.
12
12
  */
13
- export type FindingActionType = "auto_fix" | "needs_user_input" | "manual" | "informational";
13
+ export type FindingActionType =
14
+ "auto_fix" | "needs_user_input" | "manual" | "informational";
@@ -5,12 +5,12 @@
5
5
  * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
6
  */
7
7
 
8
- import type { FindingActionType } from './FindingActionType';
9
- import type { FindingCategory } from './FindingCategory';
10
- import type { FindingCodeContext } from './FindingCodeContext';
11
- import type { FindingCreate } from './FindingCreate';
12
- import type { FindingSeverity } from './FindingSeverity';
13
- import type { FindingUserInput } from './FindingUserInput';
8
+ import type { FindingActionType } from "./FindingActionType";
9
+ import type { FindingCategory } from "./FindingCategory";
10
+ import type { FindingCodeContext } from "./FindingCodeContext";
11
+ import type { FindingCreate } from "./FindingCreate";
12
+ import type { FindingSeverity } from "./FindingSeverity";
13
+ import type { FindingUserInput } from "./FindingUserInput";
14
14
 
15
15
  /**
16
16
  * Request schema for batch finding creation.
@@ -5,11 +5,11 @@
5
5
  * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
6
  */
7
7
 
8
- import type { FindingActionType } from './FindingActionType';
9
- import type { FindingCategory } from './FindingCategory';
10
- import type { FindingCodeContext } from './FindingCodeContext';
11
- import type { FindingSeverity } from './FindingSeverity';
12
- import type { FindingUserInput } from './FindingUserInput';
8
+ import type { FindingActionType } from "./FindingActionType";
9
+ import type { FindingCategory } from "./FindingCategory";
10
+ import type { FindingCodeContext } from "./FindingCodeContext";
11
+ import type { FindingSeverity } from "./FindingSeverity";
12
+ import type { FindingUserInput } from "./FindingUserInput";
13
13
 
14
14
  /**
15
15
  * Schema for creating a finding (Runner → Backend).
@@ -5,12 +5,12 @@
5
5
  * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
6
  */
7
7
 
8
- import type { FindingActionType } from './FindingActionType';
9
- import type { FindingCategory } from './FindingCategory';
10
- import type { FindingCodeContext } from './FindingCodeContext';
11
- import type { FindingSeverity } from './FindingSeverity';
12
- import type { FindingStatus } from './FindingStatus';
13
- import type { FindingUserInput } from './FindingUserInput';
8
+ import type { FindingActionType } from "./FindingActionType";
9
+ import type { FindingCategory } from "./FindingCategory";
10
+ import type { FindingCodeContext } from "./FindingCodeContext";
11
+ import type { FindingSeverity } from "./FindingSeverity";
12
+ import type { FindingStatus } from "./FindingStatus";
13
+ import type { FindingUserInput } from "./FindingUserInput";
14
14
 
15
15
  /**
16
16
  * Detailed finding information (Backend → Frontend).
@@ -5,13 +5,13 @@
5
5
  * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
6
  */
7
7
 
8
- import type { FindingActionType } from './FindingActionType';
9
- import type { FindingCategory } from './FindingCategory';
10
- import type { FindingCodeContext } from './FindingCodeContext';
11
- import type { FindingDetail } from './FindingDetail';
12
- import type { FindingSeverity } from './FindingSeverity';
13
- import type { FindingStatus } from './FindingStatus';
14
- import type { FindingUserInput } from './FindingUserInput';
8
+ import type { FindingActionType } from "./FindingActionType";
9
+ import type { FindingCategory } from "./FindingCategory";
10
+ import type { FindingCodeContext } from "./FindingCodeContext";
11
+ import type { FindingDetail } from "./FindingDetail";
12
+ import type { FindingSeverity } from "./FindingSeverity";
13
+ import type { FindingStatus } from "./FindingStatus";
14
+ import type { FindingUserInput } from "./FindingUserInput";
15
15
 
16
16
  /**
17
17
  * Response schema for a paginated finding list.
@@ -12,4 +12,10 @@
12
12
  * `DEFERRED`). `NEEDS_INPUT` is a special state requiring user decision.
13
13
  * Mirrors Python `FindingStatus(str, Enum)`.
14
14
  */
15
- export type FindingStatus = "detected" | "in_progress" | "needs_input" | "resolved" | "wont_fix" | "deferred";
15
+ export type FindingStatus =
16
+ | "detected"
17
+ | "in_progress"
18
+ | "needs_input"
19
+ | "resolved"
20
+ | "wont_fix"
21
+ | "deferred";
@@ -5,7 +5,7 @@
5
5
  * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
6
  */
7
7
 
8
- import type { FindingStatus } from './FindingStatus';
8
+ import type { FindingStatus } from "./FindingStatus";
9
9
 
10
10
  /**
11
11
  * Schema for updating a finding.
@@ -5,11 +5,11 @@
5
5
  * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
6
  */
7
7
 
8
- import type { TaskRunFinding } from './TaskRunFinding';
9
- import type { TaskRunFindingActionType } from './TaskRunFindingActionType';
10
- import type { TaskRunFindingCategory } from './TaskRunFindingCategory';
11
- import type { TaskRunFindingSeverity } from './TaskRunFindingSeverity';
12
- import type { TaskRunFindingStatus } from './TaskRunFindingStatus';
8
+ import type { TaskRunFinding } from "./TaskRunFinding";
9
+ import type { TaskRunFindingActionType } from "./TaskRunFindingActionType";
10
+ import type { TaskRunFindingCategory } from "./TaskRunFindingCategory";
11
+ import type { TaskRunFindingSeverity } from "./TaskRunFindingSeverity";
12
+ import type { TaskRunFindingStatus } from "./TaskRunFindingStatus";
13
13
 
14
14
  /**
15
15
  * Compact findings summary including the most recent findings.
@@ -5,41 +5,41 @@
5
5
  * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
6
  */
7
7
 
8
- import type { A11yAction } from './A11yAction';
9
- import type { CheckType } from './CheckType';
10
- import type { CodeExecutionStep } from './CodeExecutionStep';
11
- import type { CommandMode } from './CommandMode';
12
- import type { CommandStep } from './CommandStep';
13
- import type { CommandStepPhase } from './CommandStepPhase';
14
- import type { DagApprovalStep } from './DagApprovalStep';
15
- import type { DagCancelStep } from './DagCancelStep';
16
- import type { DagLoopStep } from './DagLoopStep';
17
- import type { ExecutePlaybookStep } from './ExecutePlaybookStep';
18
- import type { NativeAccessibilityStep } from './NativeAccessibilityStep';
19
- import type { PlaywrightExecutionMode } from './PlaywrightExecutionMode';
20
- import type { PromptStep } from './PromptStep';
21
- import type { PromptStepPhase } from './PromptStepPhase';
22
- import type { RestartProcessStep } from './RestartProcessStep';
23
- import type { RetrySpec } from './RetrySpec';
24
- import type { SaveWorkflowArtifactStep } from './SaveWorkflowArtifactStep';
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 { UiBridgeDesignAuditStep } from './UiBridgeDesignAuditStep';
30
- import type { UiBridgeSeverity } from './UiBridgeSeverity';
31
- import type { UiBridgeStep } from './UiBridgeStep';
32
- import type { UiBridgeStepPhase } from './UiBridgeStepPhase';
33
- import type { UiBridgeVisualAssertionStep } from './UiBridgeVisualAssertionStep';
34
- import type { VerificationCategoryKind } from './VerificationCategoryKind';
35
- import type { VgaAction } from './VgaAction';
36
- import type { VgaAutomateStep } from './VgaAutomateStep';
37
- import type { VisualAssertionType } from './VisualAssertionType';
38
- import type { WorkflowFixupMode } from './WorkflowFixupMode';
39
- import type { WorkflowFixupStep } from './WorkflowFixupStep';
40
- import type { WorkflowRefStep } from './WorkflowRefStep';
41
- import type { WorkflowStep } from './WorkflowStep';
42
- import type { WorkflowStepPhase } from './WorkflowStepPhase';
8
+ import type { A11yAction } from "./A11yAction";
9
+ import type { CheckType } from "./CheckType";
10
+ import type { CodeExecutionStep } from "./CodeExecutionStep";
11
+ import type { CommandMode } from "./CommandMode";
12
+ import type { CommandStep } from "./CommandStep";
13
+ import type { CommandStepPhase } from "./CommandStepPhase";
14
+ import type { DagApprovalStep } from "./DagApprovalStep";
15
+ import type { DagCancelStep } from "./DagCancelStep";
16
+ import type { DagLoopStep } from "./DagLoopStep";
17
+ import type { ExecutePlaybookStep } from "./ExecutePlaybookStep";
18
+ import type { NativeAccessibilityStep } from "./NativeAccessibilityStep";
19
+ import type { PlaywrightExecutionMode } from "./PlaywrightExecutionMode";
20
+ import type { PromptStep } from "./PromptStep";
21
+ import type { PromptStepPhase } from "./PromptStepPhase";
22
+ import type { RestartProcessStep } from "./RestartProcessStep";
23
+ import type { RetrySpec } from "./RetrySpec";
24
+ import type { SaveWorkflowArtifactStep } from "./SaveWorkflowArtifactStep";
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 { UiBridgeDesignAuditStep } from "./UiBridgeDesignAuditStep";
30
+ import type { UiBridgeSeverity } from "./UiBridgeSeverity";
31
+ import type { UiBridgeStep } from "./UiBridgeStep";
32
+ import type { UiBridgeStepPhase } from "./UiBridgeStepPhase";
33
+ import type { UiBridgeVisualAssertionStep } from "./UiBridgeVisualAssertionStep";
34
+ import type { VerificationCategoryKind } from "./VerificationCategoryKind";
35
+ import type { VgaAction } from "./VgaAction";
36
+ import type { VgaAutomateStep } from "./VgaAutomateStep";
37
+ import type { VisualAssertionType } from "./VisualAssertionType";
38
+ import type { WorkflowFixupMode } from "./WorkflowFixupMode";
39
+ import type { WorkflowFixupStep } from "./WorkflowFixupStep";
40
+ import type { WorkflowRefStep } from "./WorkflowRefStep";
41
+ import type { WorkflowStep } from "./WorkflowStep";
42
+ import type { WorkflowStepPhase } from "./WorkflowStepPhase";
43
43
 
44
44
  /**
45
45
  * Fully typed discriminated union over **all** step variants registered in
@@ -5,30 +5,30 @@
5
5
  * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
6
  */
7
7
 
8
- import type { AssumptionEntry } from './AssumptionEntry';
9
- import type { AuthModel } from './AuthModel';
10
- import type { AuthRole } from './AuthRole';
11
- import type { Entity } from './Entity';
12
- import type { EntityField } from './EntityField';
13
- import type { IrAssertion } from './IrAssertion';
14
- import type { IrAssertionTarget } from './IrAssertionTarget';
15
- import type { IrCrossRef } from './IrCrossRef';
16
- import type { IrElementCriteria } from './IrElementCriteria';
17
- import type { IrMetadata } from './IrMetadata';
18
- import type { IrProvenance } from './IrProvenance';
19
- import type { IrState } from './IrState';
20
- import type { IrStateCondition } from './IrStateCondition';
21
- import type { IrTransition } from './IrTransition';
22
- import type { IrTransitionAction } from './IrTransitionAction';
23
- import type { IrWaitSpec } from './IrWaitSpec';
24
- import type { Operation } from './Operation';
25
- import type { OperationEffect } from './OperationEffect';
26
- import type { OperationInput } from './OperationInput';
27
- import type { ProposalStatus } from './ProposalStatus';
28
- import type { Relationship } from './Relationship';
29
- import type { SpecProvenance } from './SpecProvenance';
30
- import type { SpecTarget } from './SpecTarget';
31
- import type { ValidationRule } from './ValidationRule';
8
+ import type { AssumptionEntry } from "./AssumptionEntry";
9
+ import type { AuthModel } from "./AuthModel";
10
+ import type { AuthRole } from "./AuthRole";
11
+ import type { Entity } from "./Entity";
12
+ import type { EntityField } from "./EntityField";
13
+ import type { IrAssertion } from "./IrAssertion";
14
+ import type { IrAssertionTarget } from "./IrAssertionTarget";
15
+ import type { IrCrossRef } from "./IrCrossRef";
16
+ import type { IrElementCriteria } from "./IrElementCriteria";
17
+ import type { IrMetadata } from "./IrMetadata";
18
+ import type { IrProvenance } from "./IrProvenance";
19
+ import type { IrState } from "./IrState";
20
+ import type { IrStateCondition } from "./IrStateCondition";
21
+ import type { IrTransition } from "./IrTransition";
22
+ import type { IrTransitionAction } from "./IrTransitionAction";
23
+ import type { IrWaitSpec } from "./IrWaitSpec";
24
+ import type { Operation } from "./Operation";
25
+ import type { OperationEffect } from "./OperationEffect";
26
+ import type { OperationInput } from "./OperationInput";
27
+ import type { ProposalStatus } from "./ProposalStatus";
28
+ import type { Relationship } from "./Relationship";
29
+ import type { SpecProvenance } from "./SpecProvenance";
30
+ import type { SpecTarget } from "./SpecTarget";
31
+ import type { ValidationRule } from "./ValidationRule";
32
32
 
33
33
  /**
34
34
  * The v0 Functional Spec. Five sections, each node confidence- and
@@ -5,8 +5,8 @@
5
5
  * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
6
  */
7
7
 
8
- import type { BoundingBox } from './BoundingBox';
9
- import type { ElementType } from './ElementType';
8
+ import type { BoundingBox } from "./BoundingBox";
9
+ import type { ElementType } from "./ElementType";
10
10
 
11
11
  /**
12
12
  * Complete representation of a GUI element chunk for RAG retrieval.
@@ -0,0 +1,24 @@
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
+ * One commit in [`GitLite::last_commits`].
10
+ */
11
+ export interface GitCommitLite {
12
+ /**
13
+ * Unix epoch milliseconds of the commit timestamp.
14
+ */
15
+ committedMs: number;
16
+ /**
17
+ * Abbreviated commit sha.
18
+ */
19
+ sha: string;
20
+ /**
21
+ * Commit subject line.
22
+ */
23
+ subject: string;
24
+ }
@@ -0,0 +1,27 @@
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 { GitCommitLite } from "./GitCommitLite";
9
+
10
+ /**
11
+ * Git state of the project root. `None` on the snapshot when the root is
12
+ * not a git working tree (or git is unavailable).
13
+ */
14
+ export interface GitLite {
15
+ /**
16
+ * Current branch. `None` on a detached HEAD.
17
+ */
18
+ branch?: string | null;
19
+ /**
20
+ * Number of `git status --porcelain` entries (uncommitted changes).
21
+ */
22
+ dirtyCount: number;
23
+ /**
24
+ * Newest commits first.
25
+ */
26
+ lastCommits: GitCommitLite[];
27
+ }
@@ -5,7 +5,7 @@
5
5
  * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
6
  */
7
7
 
8
- import type { GitOpRecord } from './GitOpRecord';
8
+ import type { GitOpRecord } from "./GitOpRecord";
9
9
 
10
10
  /**
11
11
  * `GET /coord/git-ops/list` + `GET /coord/git-ops/by-session/:id`
@@ -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
+ * Traffic-light level for [`HealthLite`].
10
+ */
11
+ export type HealthLevel = "green" | "amber" | "red" | "unknown";
@@ -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 { HealthLevel } from "./HealthLevel";
9
+
10
+ /**
11
+ * One green/amber/red answer to "is it broken?", plus the plain-English
12
+ * reason behind it.
13
+ */
14
+ export interface HealthLite {
15
+ /**
16
+ * Names of the processes driving an amber/red verdict.
17
+ */
18
+ failingProcesses: string[];
19
+ /**
20
+ * The traffic light.
21
+ */
22
+ level?: HealthLevel & string;
23
+ /**
24
+ * Why — a sentence a non-developer can read
25
+ * ("The website still starts up fine").
26
+ */
27
+ reason: string;
28
+ }
@@ -0,0 +1,47 @@
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 { HelperVerdict } from "./HelperVerdict";
9
+
10
+ /**
11
+ * One helper's answer to a [`HelperTask`].
12
+ *
13
+ * The broker collects up to [`HelperTask::required_votes`] of these per task.
14
+ * On a 👎 [`HelperVerdict::Reject`], [`reasons`](HelperAnswer::reasons) carries
15
+ * the preset reason codes the helper selected from
16
+ * [`HelperAnswerSchema::preset_reasons`].
17
+ */
18
+ export interface HelperAnswer {
19
+ /**
20
+ * ISO 8601 timestamp (UTC) when the answer was submitted.
21
+ */
22
+ createdAt: string;
23
+ /**
24
+ * Optional free-text note, when [`HelperAnswerSchema::allow_free_text`] is
25
+ * set.
26
+ */
27
+ freeText?: string | null;
28
+ /**
29
+ * The helper (user) who submitted the answer.
30
+ */
31
+ helperUserId: string;
32
+ /**
33
+ * Answer ID (UUID v4 string).
34
+ */
35
+ id: string;
36
+ /**
37
+ * Preset reason codes selected on a reject — drawn from
38
+ * [`HelperAnswerSchema::preset_reasons`]. Empty for non-reject verdicts.
39
+ */
40
+ reasons: string[];
41
+ /**
42
+ * The [`HelperTask`] this answers.
43
+ */
44
+ taskId: string;
45
+ verdict: HelperVerdict;
46
+ [k: string]: unknown;
47
+ }
@@ -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 { HelperVerdict } from "./HelperVerdict";
9
+
10
+ /**
11
+ * The answers a helper is allowed to give, plus the preset reason codes the UI
12
+ * offers them.
13
+ *
14
+ * Defines the choice set for a task: which [`HelperVerdict`]s are offered, the
15
+ * preset reason codes shown when the helper rejects, and whether free text and
16
+ * the 🤔 "not sure" escape hatch are available.
17
+ */
18
+ export interface HelperAnswerSchema {
19
+ /**
20
+ * Whether the helper may add a free-text note alongside the verdict.
21
+ */
22
+ allowFreeText: boolean;
23
+ /**
24
+ * Whether the 🤔 [`HelperVerdict::NotSure`] option is offered. First-class
25
+ * by design; defaults to `true`.
26
+ */
27
+ allowNotSure: boolean;
28
+ /**
29
+ * Preset reason codes the UI surfaces as tap-to-select chips on a reject —
30
+ * e.g. `"text_cut_off"`, `"overlapping"`, `"wrong_color"`,
31
+ * `"button_missing"`. Selected codes land in [`HelperAnswer::reasons`].
32
+ */
33
+ presetReasons: string[];
34
+ /**
35
+ * The verdicts offered for this task (e.g. approve/reject/not_sure for a
36
+ * SpotCheck).
37
+ */
38
+ verdicts: HelperVerdict[];
39
+ [k: string]: unknown;
40
+ }
@@ -0,0 +1,59 @@
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 { HelperAnswerSchema } from "./HelperAnswerSchema";
9
+ import type { HelperTaskKind } from "./HelperTaskKind";
10
+ import type { HelperTaskPayload } from "./HelperTaskPayload";
11
+ import type { HelperTaskSource } from "./HelperTaskSource";
12
+ import type { HelperTaskStatus } from "./HelperTaskStatus";
13
+ import type { HelperVerdict } from "./HelperVerdict";
14
+
15
+ /**
16
+ * A human-judgment micro-task emitted by a runner for a helper to answer.
17
+ *
18
+ * The broker holds the task `Open` until [`required_votes`](HelperTask::required_votes)
19
+ * [`HelperAnswer`]s are collected (or it `expires_at`), then resolves the
20
+ * verdict and routes it back through [`source`](HelperTask::source).
21
+ */
22
+ export interface HelperTask {
23
+ answerSchema: HelperAnswerSchema;
24
+ /**
25
+ * Application the task pertains to.
26
+ */
27
+ appId: string;
28
+ /**
29
+ * ISO 8601 timestamp (UTC) when the task was created.
30
+ */
31
+ createdAt: string;
32
+ /**
33
+ * ISO 8601 timestamp (UTC) after which the task can no longer be answered.
34
+ * Absent means the task does not expire.
35
+ */
36
+ expiresAt?: string | null;
37
+ /**
38
+ * Task ID (UUID v4 string).
39
+ */
40
+ id: string;
41
+ kind: HelperTaskKind;
42
+ payload: HelperTaskPayload;
43
+ /**
44
+ * Human-readable question shown to the helper (e.g. "Does this login
45
+ * screen look right?").
46
+ */
47
+ prompt: string;
48
+ /**
49
+ * Number of helper answers required before the task is `Answered`.
50
+ */
51
+ requiredVotes: number;
52
+ source: HelperTaskSource;
53
+ status: HelperTaskStatus;
54
+ /**
55
+ * Tenant that owns the task (coord tenant id).
56
+ */
57
+ tenantId: string;
58
+ [k: string]: unknown;
59
+ }