@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.
- package/dist/{TaskRunFindingActionType.d-CNIWogcU.d.cts → TaskRunFindingActionType.d-DE0io71X.d.cts} +11 -3
- package/dist/{TaskRunFindingActionType.d-CNIWogcU.d.ts → TaskRunFindingActionType.d-DE0io71X.d.ts} +11 -3
- package/dist/accessibility.d.cts +2 -1
- package/dist/accessibility.d.ts +2 -1
- package/dist/execution.d.cts +21 -5
- package/dist/execution.d.ts +21 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +417 -4
- package/dist/index.d.ts +417 -4
- package/dist/rag.d.cts +4 -2
- package/dist/rag.d.ts +4 -2
- package/dist/runner.d.cts +2 -1
- package/dist/runner.d.ts +2 -1
- package/dist/targets.d.cts +7 -2
- package/dist/targets.d.ts +7 -2
- package/dist/task-run.d.cts +1 -1
- package/dist/task-run.d.ts +1 -1
- package/dist/tauri-events.d.cts +1 -1
- package/dist/tauri-events.d.ts +1 -1
- package/dist/workflow.d.cts +17 -7
- package/dist/workflow.d.ts +17 -7
- package/package.json +1 -1
- package/src/generated/A11yAction.d.ts +2 -1
- package/src/generated/AccessibilityBackend.d.ts +2 -1
- package/src/generated/AccessibilityNode.d.ts +3 -3
- package/src/generated/AccessibilitySelector.d.ts +3 -3
- package/src/generated/AccessibilitySnapshot.d.ts +5 -5
- package/src/generated/ActionExecutionBatch.d.ts +6 -6
- package/src/generated/ActionExecutionCreate.d.ts +5 -5
- package/src/generated/ActionExecutionListResponse.d.ts +2 -2
- package/src/generated/ActionReliabilityStats.d.ts +1 -1
- package/src/generated/ActionResponse.d.ts +2 -2
- package/src/generated/ActionStatus.d.ts +2 -1
- package/src/generated/AgenticPhaseOutput.d.ts +4 -4
- package/src/generated/AgenticStatus.d.ts +2 -1
- package/src/generated/AiWorkflow.d.ts +1 -1
- package/src/generated/ApiAssertion.d.ts +2 -2
- package/src/generated/ApiAssertionOperator.d.ts +2 -1
- package/src/generated/ApiAssertionType.d.ts +2 -1
- package/src/generated/ApiContentType.d.ts +5 -1
- package/src/generated/App.d.ts +34 -0
- package/src/generated/AppError.d.ts +5 -0
- package/src/generated/AppEvent.d.ts +2 -2
- package/src/generated/AppListResponse.d.ts +1 -1
- package/src/generated/AssertionMiss.d.ts +3 -3
- package/src/generated/AssertionOutcome.d.ts +5 -5
- package/src/generated/AssertionResult.d.ts +6 -6
- package/src/generated/AuthModel.d.ts +2 -2
- package/src/generated/AuthRole.d.ts +1 -1
- package/src/generated/AvailableTransitionsResult.d.ts +1 -1
- package/src/generated/BackendProfile.d.ts +1 -1
- package/src/generated/BaseStepFields.d.ts +2 -2
- package/src/generated/BatchComputeEmbeddingResponse.d.ts +1 -1
- package/src/generated/CandidateMiss.d.ts +1 -1
- package/src/generated/CanonicalStep.d.ts +18 -18
- package/src/generated/CodeExecutionStep.d.ts +2 -2
- package/src/generated/CommandStep.d.ts +7 -7
- package/src/generated/CompletenessVerdict.d.ts +21 -21
- package/src/generated/ConjunctEvaluation.d.ts +1 -1
- package/src/generated/ConjunctRule.d.ts +1 -1
- package/src/generated/Constraint.d.ts +2 -2
- package/src/generated/ConstraintProposal.d.ts +3 -3
- package/src/generated/ConstraintResult.d.ts +2 -2
- package/src/generated/Context.d.ts +1 -1
- package/src/generated/Coordinates.d.ts +1 -1
- package/src/generated/CostTrendResponse.d.ts +1 -1
- package/src/generated/CoverageGap.d.ts +3 -3
- package/src/generated/CreateMcpServerInput.d.ts +3 -3
- package/src/generated/CreateScheduledTaskRequest.d.ts +9 -9
- package/src/generated/CreateTaskRunRequest.d.ts +1 -1
- package/src/generated/DagApprovalStep.d.ts +2 -2
- package/src/generated/DagCancelStep.d.ts +2 -2
- package/src/generated/DagLoopStep.d.ts +2 -2
- package/src/generated/DiagnosticResult.d.ts +1 -1
- package/src/generated/DiscoveredElement.d.ts +2 -2
- package/src/generated/DiscoveredStateImage.d.ts +1 -1
- package/src/generated/DiscoveredTransition.d.ts +2 -2
- package/src/generated/DiscoveryResponse.d.ts +3 -3
- package/src/generated/DiscoverySourceType.d.ts +2 -1
- package/src/generated/DiscoveryTransitionTrigger.d.ts +1 -1
- package/src/generated/DisplayNode.d.ts +9 -9
- package/src/generated/DomainVerificationResult.d.ts +3 -3
- package/src/generated/ElementActionRequest.d.ts +1 -1
- package/src/generated/ElementState.d.ts +28 -2
- package/src/generated/EmbeddedElement.d.ts +3 -3
- package/src/generated/EmbeddingListResponse.d.ts +1 -1
- package/src/generated/EmbeddingResultsRequest.d.ts +1 -1
- package/src/generated/Entity.d.ts +3 -3
- package/src/generated/EntityField.d.ts +1 -1
- package/src/generated/ExecutePlaybookStep.d.ts +2 -2
- package/src/generated/ExecutionIssueBatch.d.ts +2 -2
- package/src/generated/ExecutionIssueCreate.d.ts +1 -1
- package/src/generated/ExecutionIssueDetail.d.ts +5 -5
- package/src/generated/ExecutionIssueListResponse.d.ts +2 -2
- package/src/generated/ExecutionIssueUpdate.d.ts +2 -2
- package/src/generated/ExecutionRunComplete.d.ts +3 -3
- package/src/generated/ExecutionRunCompleteResponse.d.ts +3 -3
- package/src/generated/ExecutionRunCreate.d.ts +3 -3
- package/src/generated/ExecutionRunDetail.d.ts +6 -6
- package/src/generated/ExecutionRunListResponse.d.ts +4 -4
- package/src/generated/ExecutionRunResponse.d.ts +2 -2
- package/src/generated/ExecutionScreenshotCreate.d.ts +3 -3
- package/src/generated/ExecutionTreeResponse.d.ts +10 -10
- package/src/generated/ExecutionTrendResponse.d.ts +2 -2
- package/src/generated/Finding.d.ts +1 -1
- package/src/generated/FindingActionType.d.ts +2 -1
- package/src/generated/FindingBatchCreate.d.ts +6 -6
- package/src/generated/FindingCreate.d.ts +5 -5
- package/src/generated/FindingDetail.d.ts +6 -6
- package/src/generated/FindingListResponse.d.ts +7 -7
- package/src/generated/FindingStatus.d.ts +7 -1
- package/src/generated/FindingUpdate.d.ts +1 -1
- package/src/generated/FindingsSummary.d.ts +5 -5
- package/src/generated/FullRunnerStep.d.ts +35 -35
- package/src/generated/FunctionalSpec.d.ts +24 -24
- package/src/generated/GUIElementChunk.d.ts +2 -2
- package/src/generated/GitCommitLite.d.ts +24 -0
- package/src/generated/GitLite.d.ts +27 -0
- package/src/generated/GitOpListResponse.d.ts +1 -1
- package/src/generated/HealthLevel.d.ts +11 -0
- package/src/generated/HealthLite.d.ts +28 -0
- package/src/generated/HelperAnswer.d.ts +47 -0
- package/src/generated/HelperAnswerSchema.d.ts +40 -0
- package/src/generated/HelperTask.d.ts +59 -0
- package/src/generated/HelperTaskKind.d.ts +16 -0
- package/src/generated/HelperTaskPayload.d.ts +37 -0
- package/src/generated/HelperTaskSource.d.ts +31 -0
- package/src/generated/HelperTaskStatus.d.ts +14 -0
- package/src/generated/HelperVerdict.d.ts +21 -0
- package/src/generated/HistoricalActionQuery.d.ts +1 -1
- package/src/generated/HistoricalActionResult.d.ts +2 -2
- package/src/generated/IndividualCheckResult.d.ts +1 -1
- package/src/generated/IrAssertion.d.ts +1 -1
- package/src/generated/IrGroup.d.ts +2 -2
- package/src/generated/IrPageSpec.d.ts +13 -13
- package/src/generated/IrProvenance.d.ts +1 -1
- package/src/generated/IrState.d.ts +8 -8
- package/src/generated/IrStateCondition.d.ts +1 -1
- package/src/generated/IrTransition.d.ts +7 -7
- package/src/generated/IrTransitionAction.d.ts +2 -2
- package/src/generated/IrWaitSpec.d.ts +1 -1
- package/src/generated/IssueSeverity.d.ts +2 -1
- package/src/generated/IssueSource.d.ts +2 -1
- package/src/generated/IssueStatus.d.ts +2 -1
- package/src/generated/IterationResult.d.ts +3 -3
- package/src/generated/IterationVerificationResults.d.ts +4 -4
- package/src/generated/JobItem.d.ts +1 -1
- package/src/generated/JobListResponse.d.ts +2 -2
- package/src/generated/JobStatus.d.ts +2 -1
- package/src/generated/JobSummary.d.ts +1 -1
- package/src/generated/LLMCostSummary.d.ts +1 -1
- package/src/generated/LegacyAssertion.d.ts +1 -1
- package/src/generated/LegacyGroup.d.ts +2 -2
- package/src/generated/LegacyProcessStep.d.ts +2 -2
- package/src/generated/LegacySpec.d.ts +9 -9
- package/src/generated/LegacyStateMachine.d.ts +5 -5
- package/src/generated/LegacyStateMachineState.d.ts +4 -4
- package/src/generated/LegacyTransition.d.ts +3 -3
- package/src/generated/LoopInstanceStatus.d.ts +6 -6
- package/src/generated/MatchAdjustment.d.ts +2 -2
- package/src/generated/MatchMethod.d.ts +5 -1
- package/src/generated/McpCallsResult.d.ts +1 -1
- package/src/generated/McpServerConfig.d.ts +3 -3
- package/src/generated/McpServerStatus.d.ts +2 -2
- package/src/generated/McpToolInfo.d.ts +1 -1
- package/src/generated/MemoryListResponse.d.ts +1 -1
- package/src/generated/MemoryWithHistory.d.ts +1 -1
- package/src/generated/ModelOverrideConfig.d.ts +1 -1
- package/src/generated/Monitor.d.ts +1 -1
- package/src/generated/MultiLoopConfig.d.ts +11 -11
- package/src/generated/MultiLoopEntry.d.ts +10 -10
- package/src/generated/MultiLoopStatus.d.ts +7 -7
- package/src/generated/NativeAccessibilityStep.d.ts +3 -3
- package/src/generated/NewConstraintProposal.d.ts +3 -3
- package/src/generated/NodeMetadata.d.ts +6 -6
- package/src/generated/Operation.d.ts +4 -4
- package/src/generated/OperationEffect.d.ts +1 -1
- package/src/generated/OperationInput.d.ts +2 -2
- package/src/generated/OrchestrationLoopConfig.d.ts +9 -9
- package/src/generated/OrchestrationLoopStatus.d.ts +5 -5
- package/src/generated/OutputLine.d.ts +1 -1
- package/src/generated/OverrideCollection.d.ts +1 -1
- package/src/generated/PathElement.d.ts +1 -1
- package/src/generated/PathfindingResult.d.ts +1 -1
- package/src/generated/PatternOptions.d.ts +1 -1
- package/src/generated/PendingQuestion.d.ts +32 -0
- package/src/generated/PipelineConfig.d.ts +3 -3
- package/src/generated/PolicyConjunct.d.ts +3 -3
- package/src/generated/PolicyEvaluation.d.ts +2 -2
- package/src/generated/ProcessConfig.d.ts +1 -1
- package/src/generated/ProcessState.d.ts +9 -1
- package/src/generated/ProcessStatus.d.ts +1 -1
- package/src/generated/ProcessStatusLite.d.ts +38 -0
- package/src/generated/Profile.d.ts +4 -4
- package/src/generated/ProjectSnapshot.d.ts +63 -0
- package/src/generated/PromptStep.d.ts +3 -3
- package/src/generated/PromptStepPhase.d.ts +2 -1
- package/src/generated/RAGDashboardStats.d.ts +2 -2
- package/src/generated/RagCompletionEvent.d.ts +1 -1
- package/src/generated/RagProcessingStatus.d.ts +2 -1
- package/src/generated/RagProgressEvent.d.ts +1 -1
- package/src/generated/RecommendedState.d.ts +1 -1
- package/src/generated/Region.d.ts +1 -1
- package/src/generated/RegisterAppRequest.d.ts +24 -0
- package/src/generated/Relationship.d.ts +1 -1
- package/src/generated/RepositoryInactiveCondition.d.ts +1 -1
- package/src/generated/ResolvedInitialStates.d.ts +2 -2
- package/src/generated/ResolvedInitialStatesResult.d.ts +2 -2
- package/src/generated/RestartProcessStep.d.ts +2 -2
- package/src/generated/RoleCriterion.d.ts +1 -1
- package/src/generated/RunPromptResponse.d.ts +1 -1
- package/src/generated/RunStatus.d.ts +8 -1
- package/src/generated/RunType.d.ts +2 -1
- package/src/generated/Runner.d.ts +3 -3
- package/src/generated/RunnerFinding.d.ts +6 -6
- package/src/generated/RunnerStatus.d.ts +2 -1
- package/src/generated/RunnerStatusEvent.d.ts +1 -1
- package/src/generated/RuntimeData.d.ts +2 -2
- package/src/generated/SaveWorkflowArtifactStep.d.ts +2 -2
- package/src/generated/SavedProject.d.ts +102 -0
- package/src/generated/ScheduleConditions.d.ts +3 -3
- package/src/generated/ScheduleExpression.d.ts +1 -1
- package/src/generated/ScheduledTask.d.ts +12 -12
- package/src/generated/ScheduledTaskType.d.ts +1 -1
- package/src/generated/SchedulerStatus.d.ts +1 -1
- package/src/generated/ScreenshotAnnotation.d.ts +1 -1
- package/src/generated/ScreenshotType.d.ts +7 -1
- package/src/generated/SearchOptions.d.ts +8 -8
- package/src/generated/SearchResultItem.d.ts +1 -1
- package/src/generated/SectionVerdict.d.ts +2 -2
- package/src/generated/SemanticSearchResponse.d.ts +2 -2
- package/src/generated/SessionLite.d.ts +44 -0
- package/src/generated/SessionSource.d.ts +11 -0
- package/src/generated/SpecCheckPolicy.d.ts +4 -4
- package/src/generated/SpecCheckResult.d.ts +21 -14
- package/src/generated/SpecCheckStepConfig.d.ts +5 -5
- package/src/generated/SpecCheckSummary.d.ts +4 -4
- package/src/generated/SpecSection.d.ts +2 -1
- package/src/generated/StateDiscoveryResult.d.ts +7 -7
- package/src/generated/StateDiscoveryResultCreate.d.ts +7 -7
- package/src/generated/StateDiscoveryResultListResponse.d.ts +2 -2
- package/src/generated/StateDiscoveryResultSummary.d.ts +1 -1
- package/src/generated/StateDiscoveryResultUpdate.d.ts +6 -6
- package/src/generated/StateMachineConfigFull.d.ts +9 -9
- package/src/generated/StateMachineExport.d.ts +6 -6
- package/src/generated/StateMachineImport.d.ts +7 -7
- package/src/generated/StateMachineState.d.ts +1 -1
- package/src/generated/StateMachineStateCreate.d.ts +1 -1
- package/src/generated/StateMachineStateUpdate.d.ts +1 -1
- package/src/generated/StateMachineTransition.d.ts +6 -6
- package/src/generated/StateMachineTransitionCreate.d.ts +6 -6
- package/src/generated/StateMachineTransitionUpdate.d.ts +6 -6
- package/src/generated/StateMatchResult.d.ts +12 -7
- package/src/generated/StatesResponse.d.ts +1 -1
- package/src/generated/SuccessCriterion.d.ts +2 -2
- package/src/generated/TargetConfig.d.ts +13 -13
- package/src/generated/TaskCompletionResult.d.ts +6 -6
- package/src/generated/TaskExecutionRecord.d.ts +1 -1
- package/src/generated/TaskRun.d.ts +2 -2
- package/src/generated/TaskRunBackend.d.ts +1 -1
- package/src/generated/TaskRunBackendDetail.d.ts +8 -8
- package/src/generated/TaskRunCreate.d.ts +1 -1
- package/src/generated/TaskRunFilters.d.ts +1 -1
- package/src/generated/TaskRunFinding.d.ts +4 -4
- package/src/generated/TaskRunFindingActionType.d.ts +2 -1
- package/src/generated/TaskRunFindingCreate.d.ts +4 -4
- package/src/generated/TaskRunFindingFilters.d.ts +3 -3
- package/src/generated/TaskRunFindingSeverity.d.ts +2 -1
- package/src/generated/TaskRunFindingStatus.d.ts +7 -1
- package/src/generated/TaskRunFindingUpdate.d.ts +1 -1
- package/src/generated/TaskRunFindingsListResponse.d.ts +6 -6
- package/src/generated/TaskRunListResponse.d.ts +3 -3
- package/src/generated/TaskRunUpdate.d.ts +1 -1
- package/src/generated/TestType.d.ts +2 -1
- package/src/generated/TextMatchType.d.ts +2 -1
- package/src/generated/TextSearchOptions.d.ts +2 -2
- package/src/generated/Ticket.d.ts +2 -2
- package/src/generated/TicketProviderConfig.d.ts +1 -1
- package/src/generated/TopMatch.d.ts +1 -1
- package/src/generated/TransitionAction.d.ts +5 -5
- package/src/generated/TransitionEdgeData.d.ts +1 -1
- package/src/generated/TransitionTriggerType.d.ts +2 -1
- package/src/generated/TreeEvent.d.ts +12 -12
- package/src/generated/TreeEventCreate.d.ts +12 -12
- package/src/generated/TreeEventListResponse.d.ts +12 -12
- package/src/generated/TreeEventResponse.d.ts +11 -11
- package/src/generated/TreeNode.d.ts +9 -9
- package/src/generated/UIBridgeComponent.d.ts +1 -1
- package/src/generated/UIBridgeElement.d.ts +4 -4
- package/src/generated/UIBridgeModalStack.d.ts +1 -1
- package/src/generated/UIBridgeSnapshot.d.ts +13 -13
- package/src/generated/UIBridgeToastContext.d.ts +1 -1
- package/src/generated/UiBridgeAssertType.d.ts +2 -1
- package/src/generated/UiBridgeDesignAuditStep.d.ts +2 -2
- package/src/generated/UiBridgeHttpHealthEnvelope.d.ts +2 -2
- package/src/generated/UiBridgeStep.d.ts +7 -7
- package/src/generated/UiBridgeVisualAssertionStep.d.ts +3 -3
- package/src/generated/UnifiedStep.d.ts +19 -19
- package/src/generated/UnifiedWorkflow.d.ts +30 -30
- package/src/generated/UpdateAppRequest.d.ts +24 -0
- package/src/generated/UpdateMcpServerInput.d.ts +3 -3
- package/src/generated/UpdateScheduledTaskRequest.d.ts +9 -9
- package/src/generated/ValidateConfigResponse.d.ts +3 -3
- package/src/generated/ValidationRule.d.ts +1 -1
- package/src/generated/VectorSearchResult.d.ts +3 -3
- package/src/generated/VerificationPhaseResult.d.ts +6 -6
- package/src/generated/VerificationPlan.d.ts +4 -4
- package/src/generated/VerificationResult.d.ts +2 -2
- package/src/generated/VerificationResultResponse.d.ts +7 -7
- package/src/generated/VerificationResultsListResponse.d.ts +8 -8
- package/src/generated/VerificationStepDetails.d.ts +2 -2
- package/src/generated/VerificationStepResult.d.ts +4 -4
- package/src/generated/VgaAutomateStep.d.ts +3 -3
- package/src/generated/VirtualDesktop.d.ts +2 -2
- package/src/generated/WorkerCoordinationMessage.d.ts +2 -2
- package/src/generated/WorkerInstance.d.ts +4 -4
- package/src/generated/WorkerOutput.d.ts +4 -4
- package/src/generated/WorkerSignal.d.ts +2 -2
- package/src/generated/WorkerStatus.d.ts +7 -1
- package/src/generated/WorkflowArchitecture.d.ts +2 -1
- package/src/generated/WorkflowFixupStep.d.ts +3 -3
- package/src/generated/WorkflowRefStep.d.ts +2 -2
- package/src/generated/WorkflowStage.d.ts +26 -26
- package/src/generated/WorkflowStep.d.ts +3 -3
- package/src/generated/index.ts +18 -0
- 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
|
|
9
|
-
import type { Pagination } from
|
|
10
|
-
import type { RunStatus } from
|
|
11
|
-
import type { RunType } from
|
|
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
|
|
9
|
-
import type { RunType } from
|
|
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
|
|
9
|
-
import type { ScreenshotAnnotationShape } from
|
|
10
|
-
import type { ScreenshotType } from
|
|
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
|
|
9
|
-
import type { MatchLocation } from
|
|
10
|
-
import type { NodeMetadata } from
|
|
11
|
-
import type { NodeStatus } from
|
|
12
|
-
import type { NodeType } from
|
|
13
|
-
import type { Outcome } from
|
|
14
|
-
import type { RuntimeData } from
|
|
15
|
-
import type { StateContext } from
|
|
16
|
-
import type { TimingInfo } from
|
|
17
|
-
import type { TopMatch } from
|
|
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
|
|
9
|
-
import type { RunType } from
|
|
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,12 +5,12 @@
|
|
|
5
5
|
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import type { FindingActionType } from
|
|
9
|
-
import type { FindingCategory } from
|
|
10
|
-
import type { FindingCodeContext } from
|
|
11
|
-
import type { FindingCreate } from
|
|
12
|
-
import type { FindingSeverity } from
|
|
13
|
-
import type { FindingUserInput } from
|
|
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
|
|
9
|
-
import type { FindingCategory } from
|
|
10
|
-
import type { FindingCodeContext } from
|
|
11
|
-
import type { FindingSeverity } from
|
|
12
|
-
import type { FindingUserInput } from
|
|
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
|
|
9
|
-
import type { FindingCategory } from
|
|
10
|
-
import type { FindingCodeContext } from
|
|
11
|
-
import type { FindingSeverity } from
|
|
12
|
-
import type { FindingStatus } from
|
|
13
|
-
import type { FindingUserInput } from
|
|
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
|
|
9
|
-
import type { FindingCategory } from
|
|
10
|
-
import type { FindingCodeContext } from
|
|
11
|
-
import type { FindingDetail } from
|
|
12
|
-
import type { FindingSeverity } from
|
|
13
|
-
import type { FindingStatus } from
|
|
14
|
-
import type { FindingUserInput } from
|
|
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 =
|
|
15
|
+
export type FindingStatus =
|
|
16
|
+
| "detected"
|
|
17
|
+
| "in_progress"
|
|
18
|
+
| "needs_input"
|
|
19
|
+
| "resolved"
|
|
20
|
+
| "wont_fix"
|
|
21
|
+
| "deferred";
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import type { TaskRunFinding } from
|
|
9
|
-
import type { TaskRunFindingActionType } from
|
|
10
|
-
import type { TaskRunFindingCategory } from
|
|
11
|
-
import type { TaskRunFindingSeverity } from
|
|
12
|
-
import type { TaskRunFindingStatus } from
|
|
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
|
|
9
|
-
import type { CheckType } from
|
|
10
|
-
import type { CodeExecutionStep } from
|
|
11
|
-
import type { CommandMode } from
|
|
12
|
-
import type { CommandStep } from
|
|
13
|
-
import type { CommandStepPhase } from
|
|
14
|
-
import type { DagApprovalStep } from
|
|
15
|
-
import type { DagCancelStep } from
|
|
16
|
-
import type { DagLoopStep } from
|
|
17
|
-
import type { ExecutePlaybookStep } from
|
|
18
|
-
import type { NativeAccessibilityStep } from
|
|
19
|
-
import type { PlaywrightExecutionMode } from
|
|
20
|
-
import type { PromptStep } from
|
|
21
|
-
import type { PromptStepPhase } from
|
|
22
|
-
import type { RestartProcessStep } from
|
|
23
|
-
import type { RetrySpec } from
|
|
24
|
-
import type { SaveWorkflowArtifactStep } from
|
|
25
|
-
import type { TestType } from
|
|
26
|
-
import type { UiBridgeAction } from
|
|
27
|
-
import type { UiBridgeAssertType } from
|
|
28
|
-
import type { UiBridgeComparisonMode } from
|
|
29
|
-
import type { UiBridgeDesignAuditStep } from
|
|
30
|
-
import type { UiBridgeSeverity } from
|
|
31
|
-
import type { UiBridgeStep } from
|
|
32
|
-
import type { UiBridgeStepPhase } from
|
|
33
|
-
import type { UiBridgeVisualAssertionStep } from
|
|
34
|
-
import type { VerificationCategoryKind } from
|
|
35
|
-
import type { VgaAction } from
|
|
36
|
-
import type { VgaAutomateStep } from
|
|
37
|
-
import type { VisualAssertionType } from
|
|
38
|
-
import type { WorkflowFixupMode } from
|
|
39
|
-
import type { WorkflowFixupStep } from
|
|
40
|
-
import type { WorkflowRefStep } from
|
|
41
|
-
import type { WorkflowStep } from
|
|
42
|
-
import type { WorkflowStepPhase } from
|
|
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
|
|
9
|
-
import type { AuthModel } from
|
|
10
|
-
import type { AuthRole } from
|
|
11
|
-
import type { Entity } from
|
|
12
|
-
import type { EntityField } from
|
|
13
|
-
import type { IrAssertion } from
|
|
14
|
-
import type { IrAssertionTarget } from
|
|
15
|
-
import type { IrCrossRef } from
|
|
16
|
-
import type { IrElementCriteria } from
|
|
17
|
-
import type { IrMetadata } from
|
|
18
|
-
import type { IrProvenance } from
|
|
19
|
-
import type { IrState } from
|
|
20
|
-
import type { IrStateCondition } from
|
|
21
|
-
import type { IrTransition } from
|
|
22
|
-
import type { IrTransitionAction } from
|
|
23
|
-
import type { IrWaitSpec } from
|
|
24
|
-
import type { Operation } from
|
|
25
|
-
import type { OperationEffect } from
|
|
26
|
-
import type { OperationInput } from
|
|
27
|
-
import type { ProposalStatus } from
|
|
28
|
-
import type { Relationship } from
|
|
29
|
-
import type { SpecProvenance } from
|
|
30
|
-
import type { SpecTarget } from
|
|
31
|
-
import type { ValidationRule } from
|
|
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
|
|
9
|
-
import type { ElementType } from
|
|
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
|
+
}
|
|
@@ -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
|
+
}
|