@qontinui/shared-types 0.2.3 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +128 -128
- package/dist/{Region.d-BbpFAWF4.d.cts → Region.d-DtT3UphX.d.cts} +81 -81
- package/dist/{Region.d-BbpFAWF4.d.ts → Region.d-DtT3UphX.d.ts} +81 -81
- package/dist/{TaskRunFindingActionType.d-B4VmmbB6.d.cts → TaskRunFindingActionType.d-CNIWogcU.d.cts} +53 -53
- package/dist/{TaskRunFindingActionType.d-B4VmmbB6.d.ts → TaskRunFindingActionType.d-CNIWogcU.d.ts} +53 -53
- package/dist/accessibility.cjs.map +1 -1
- package/dist/accessibility.d.cts +379 -379
- package/dist/accessibility.d.ts +379 -379
- package/dist/chat.cjs.map +1 -1
- package/dist/{chunk-ZK5MJEGT.js → chunk-CTBDIP7K.js} +1 -1
- package/dist/chunk-CTBDIP7K.js.map +1 -0
- package/dist/{chunk-YXD4WCYQ.js → chunk-ZUZ3OLOH.js} +1 -1
- package/dist/chunk-ZUZ3OLOH.js.map +1 -0
- package/dist/config.cjs.map +1 -1
- package/dist/config.d.cts +105 -105
- package/dist/config.d.ts +105 -105
- package/dist/constraints.cjs.map +1 -1
- package/dist/constraints.d.cts +372 -372
- package/dist/constraints.d.ts +372 -372
- package/dist/execution.cjs.map +1 -1
- package/dist/execution.d.cts +869 -869
- package/dist/execution.d.ts +869 -869
- package/dist/execution.js +1 -1
- package/dist/geometry.cjs.map +1 -1
- package/dist/geometry.d.cts +81 -81
- package/dist/geometry.d.ts +81 -81
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +589 -589
- package/dist/index.d.ts +589 -589
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/library.cjs.map +1 -1
- package/dist/rag.cjs.map +1 -1
- package/dist/rag.d.cts +579 -579
- package/dist/rag.d.ts +579 -579
- package/dist/runner.cjs.map +1 -1
- package/dist/runner.d.cts +147 -147
- package/dist/runner.d.ts +147 -147
- package/dist/scheduler.cjs.map +1 -1
- package/dist/scheduler.d.cts +692 -692
- package/dist/scheduler.d.ts +692 -692
- package/dist/state-machine.cjs.map +1 -1
- package/dist/state-machine.d.cts +1128 -1128
- package/dist/state-machine.d.ts +1128 -1128
- package/dist/targets.cjs.map +1 -1
- package/dist/targets.d.cts +270 -270
- package/dist/targets.d.ts +270 -270
- package/dist/task-run.cjs.map +1 -1
- package/dist/task-run.d.cts +1431 -1431
- package/dist/task-run.d.ts +1431 -1431
- package/dist/tauri-events.cjs.map +1 -1
- package/dist/tauri-events.d.cts +315 -202
- package/dist/tauri-events.d.ts +315 -202
- package/dist/tree-events.cjs.map +1 -1
- package/dist/tree-events.d.cts +483 -483
- package/dist/tree-events.d.ts +483 -483
- package/dist/ui-bridge-ir.cjs +37 -0
- package/dist/ui-bridge-ir.cjs.map +1 -1
- package/dist/ui-bridge-ir.d.cts +90 -1
- package/dist/ui-bridge-ir.d.ts +90 -1
- package/dist/ui-bridge-ir.js +37 -0
- package/dist/ui-bridge-ir.js.map +1 -1
- package/dist/workflow.cjs.map +1 -1
- package/dist/workflow.d.cts +1634 -1634
- package/dist/workflow.d.ts +1634 -1634
- package/dist/workflow.js +1 -1
- package/package.json +141 -141
- package/src/accessibility/_api.ts +17 -17
- package/src/accessibility/index.ts +1 -1
- package/src/canvas/index.ts +319 -319
- package/src/chat/_api.ts +23 -23
- package/src/chat/index.ts +1 -1
- package/src/config/_api.ts +13 -13
- package/src/config/index.ts +1 -1
- package/src/constraints/_api.ts +17 -17
- package/src/constraints/index.ts +1 -1
- package/src/discovery.ts +188 -188
- package/src/execution/_api.ts +483 -483
- package/src/execution/index.ts +1 -1
- package/src/generated/A11yAction.d.ts +11 -11
- package/src/generated/AccessibilityBackend.d.ts +12 -12
- package/src/generated/AccessibilityBounds.d.ts +17 -17
- package/src/generated/AccessibilityNode.d.ts +73 -73
- package/src/generated/AccessibilityRole.d.ts +93 -93
- package/src/generated/AccessibilityRoleCriterion.d.ts +13 -13
- package/src/generated/AccessibilitySelector.d.ts +76 -76
- package/src/generated/AccessibilitySnapshot.d.ts +43 -43
- package/src/generated/AccessibilityState.d.ts +67 -67
- package/src/generated/ActionExecutionBatch.d.ts +23 -23
- package/src/generated/ActionExecutionBatchResponse.d.ts +24 -24
- package/src/generated/ActionExecutionCreate.d.ts +124 -124
- package/src/generated/ActionExecutionListResponse.d.ts +20 -20
- package/src/generated/ActionExecutionResponse.d.ts +24 -24
- package/src/generated/ActionReliabilityStats.d.ts +54 -54
- package/src/generated/ActionResponse.d.ts +45 -45
- package/src/generated/ActionStatus.d.ts +11 -11
- package/src/generated/ActionType.d.ts +41 -41
- package/src/generated/ActiveStatesResult.d.ts +32 -32
- package/src/generated/AgenticPhaseOutput.d.ts +50 -50
- package/src/generated/AgenticStatus.d.ts +11 -11
- package/src/generated/AiWorkflow.d.ts +76 -76
- package/src/generated/ApiAssertion.d.ts +35 -35
- package/src/generated/ApiAssertionOperator.d.ts +11 -11
- package/src/generated/ApiAssertionType.d.ts +11 -11
- package/src/generated/ApiContentType.d.ts +11 -11
- package/src/generated/ApiVariableExtraction.d.ts +24 -24
- package/src/generated/AvailableTransitionsResult.d.ts +34 -34
- package/src/generated/BaseStepFields.d.ts +72 -72
- package/src/generated/BatchComputeEmbeddingRequest.d.ts +27 -27
- package/src/generated/BatchComputeEmbeddingResponse.d.ts +23 -23
- package/src/generated/BatchEmbeddingResult.d.ts +23 -23
- package/src/generated/BetweenIterations.d.ts +35 -35
- package/src/generated/BoundingBox.d.ts +18 -18
- package/src/generated/BuildPhaseConfig.d.ts +24 -24
- package/src/generated/BuiltinOverrideProposal.d.ts +27 -27
- package/src/generated/CanonicalStep.d.ts +60 -60
- package/src/generated/CatchUpPolicy.d.ts +12 -12
- package/src/generated/Category.d.ts +24 -24
- package/src/generated/CheckIssueDetail.d.ts +40 -40
- package/src/generated/CheckType.d.ts +21 -21
- package/src/generated/CodeExecutionStep.d.ts +88 -88
- package/src/generated/CommandMode.d.ts +11 -11
- package/src/generated/CommandStep.d.ts +183 -183
- package/src/generated/CommandStepPhase.d.ts +11 -11
- package/src/generated/ComponentActionInfo.d.ts +24 -24
- package/src/generated/ComponentActionRequest.d.ts +22 -22
- package/src/generated/ComputeEmbeddingRequest.d.ts +24 -24
- package/src/generated/ComputeEmbeddingResponse.d.ts +38 -38
- package/src/generated/ComputeTextEmbeddingRequest.d.ts +20 -20
- package/src/generated/ComputeTextEmbeddingResponse.d.ts +32 -32
- package/src/generated/ConditionScheduleConfig.d.ts +17 -17
- package/src/generated/ConditionStatus.d.ts +29 -29
- package/src/generated/Confidence.d.ts +11 -11
- package/src/generated/ConfidenceLevel.d.ts +11 -11
- package/src/generated/Constraint.d.ts +33 -33
- package/src/generated/ConstraintCheck.d.ts +64 -64
- package/src/generated/ConstraintProposal.d.ts +37 -37
- package/src/generated/ConstraintResult.d.ts +32 -32
- package/src/generated/ConstraintSeverity.d.ts +16 -16
- package/src/generated/ConstraintViolation.d.ts +24 -24
- package/src/generated/Context.d.ts +50 -50
- package/src/generated/ContextAutoInclude.d.ts +34 -34
- package/src/generated/CoordinateSystem.d.ts +12 -12
- package/src/generated/Coordinates.d.ts +33 -33
- package/src/generated/CostTrendDataPoint.d.ts +36 -36
- package/src/generated/CostTrendResponse.d.ts +41 -41
- package/src/generated/CoverageData.d.ts +52 -52
- package/src/generated/CreateMcpCallInput.d.ts +59 -59
- package/src/generated/CreateMcpServerInput.d.ts +48 -48
- package/src/generated/CreateOlConfigRequest.d.ts +27 -27
- package/src/generated/CreateScheduledTaskRequest.d.ts +63 -63
- package/src/generated/CreateTaskRunRequest.d.ts +51 -51
- package/src/generated/CriterionOverride.d.ts +39 -39
- package/src/generated/CriterionType.d.ts +11 -11
- package/src/generated/DagApprovalStep.d.ts +80 -80
- package/src/generated/DagCancelStep.d.ts +76 -76
- package/src/generated/DagLoopStep.d.ts +80 -80
- package/src/generated/DecomposerConfig.d.ts +31 -31
- package/src/generated/DiagnosePhaseConfig.d.ts +34 -34
- package/src/generated/DiagnosticResult.d.ts +40 -40
- package/src/generated/DiscoveredElement.d.ts +48 -48
- package/src/generated/DiscoveredState.d.ts +49 -49
- package/src/generated/DiscoveredStateImage.d.ts +56 -56
- package/src/generated/DiscoveredTransition.d.ts +44 -44
- package/src/generated/DiscoveryBoundingBox.d.ts +32 -32
- package/src/generated/DiscoveryRequest.d.ts +40 -40
- package/src/generated/DiscoveryResponse.d.ts +32 -32
- package/src/generated/DiscoverySourceType.d.ts +14 -14
- package/src/generated/DiscoveryStrategy.d.ts +13 -13
- package/src/generated/DiscoveryTransitionTrigger.d.ts +38 -38
- package/src/generated/DisplayNode.d.ts +45 -45
- package/src/generated/DomainAssignment.d.ts +50 -50
- package/src/generated/DomainKnowledge.d.ts +29 -29
- package/src/generated/DomainVerificationResult.d.ts +36 -36
- package/src/generated/ElementActionRequest.d.ts +28 -28
- package/src/generated/ElementBbox.d.ts +36 -36
- package/src/generated/ElementIdentifier.d.ts +40 -40
- package/src/generated/ElementRect.d.ts +48 -48
- package/src/generated/ElementState.d.ts +47 -47
- package/src/generated/ElementType.d.ts +45 -45
- package/src/generated/EmbeddedElement.d.ts +36 -36
- package/src/generated/EmbeddingItem.d.ts +49 -49
- package/src/generated/EmbeddingListResponse.d.ts +22 -22
- package/src/generated/EmbeddingResultItem.d.ts +29 -29
- package/src/generated/EmbeddingResultsRequest.d.ts +19 -19
- package/src/generated/EmbeddingResultsResponse.d.ts +17 -17
- package/src/generated/ErrorType.d.ts +18 -18
- package/src/generated/ExecutePlaybookStep.d.ts +84 -84
- package/src/generated/ExecutionActionType.d.ts +40 -40
- package/src/generated/ExecutionIssueBatch.d.ts +19 -19
- package/src/generated/ExecutionIssueBatchResponse.d.ts +24 -24
- package/src/generated/ExecutionIssueCreate.d.ts +57 -57
- package/src/generated/ExecutionIssueDetail.d.ts +89 -89
- package/src/generated/ExecutionIssueListResponse.d.ts +26 -26
- package/src/generated/ExecutionIssueResponse.d.ts +24 -24
- package/src/generated/ExecutionIssueUpdate.d.ts +31 -31
- package/src/generated/ExecutionMatchLocation.d.ts +31 -31
- package/src/generated/ExecutionRunComplete.d.ts +34 -34
- package/src/generated/ExecutionRunCompleteResponse.d.ts +38 -38
- package/src/generated/ExecutionRunCreate.d.ts +40 -40
- package/src/generated/ExecutionRunDetail.d.ts +76 -76
- package/src/generated/ExecutionRunListResponse.d.ts +22 -22
- package/src/generated/ExecutionRunResponse.d.ts +41 -41
- package/src/generated/ExecutionScreenshotCreate.d.ts +59 -59
- package/src/generated/ExecutionScreenshotResponse.d.ts +36 -36
- package/src/generated/ExecutionStats.d.ts +56 -56
- package/src/generated/ExecutionStep.d.ts +78 -78
- package/src/generated/ExecutionTreeResponse.d.ts +42 -42
- package/src/generated/ExecutionTrendDataPoint.d.ts +36 -36
- package/src/generated/ExecutionTrendResponse.d.ts +46 -46
- package/src/generated/ExitCheckResult.d.ts +20 -20
- package/src/generated/ExitStrategy.d.ts +27 -27
- package/src/generated/ExportResult.d.ts +30 -30
- package/src/generated/ExtendIterationsRequest.d.ts +20 -20
- package/src/generated/FileChange.d.ts +20 -20
- package/src/generated/Finding.d.ts +40 -40
- package/src/generated/FindingActionType.d.ts +13 -13
- package/src/generated/FindingBatchCreate.d.ts +27 -27
- package/src/generated/FindingCategory.d.ts +25 -25
- package/src/generated/FindingCodeContext.d.ts +31 -31
- package/src/generated/FindingCreate.d.ts +52 -52
- package/src/generated/FindingDetail.d.ts +78 -78
- package/src/generated/FindingListResponse.d.ts +40 -40
- package/src/generated/FindingOutput.d.ts +36 -36
- package/src/generated/FindingSeverity.d.ts +14 -14
- package/src/generated/FindingStatus.d.ts +15 -15
- package/src/generated/FindingSummary.d.ts +53 -53
- package/src/generated/FindingUpdate.d.ts +33 -33
- package/src/generated/FindingUserInput.d.ts +27 -27
- package/src/generated/FindingsSummary.d.ts +47 -47
- package/src/generated/FullRunnerStep.d.ts +144 -144
- package/src/generated/GUIElementChunk.d.ts +151 -151
- package/src/generated/GateEvaluationResult.d.ts +36 -36
- package/src/generated/HealthCheckUrl.d.ts +35 -35
- package/src/generated/HistoricalActionQuery.d.ts +42 -42
- package/src/generated/HistoricalActionResult.d.ts +57 -57
- package/src/generated/HttpConfig.d.ts +27 -27
- package/src/generated/HttpMethod.d.ts +13 -13
- package/src/generated/IdleCondition.d.ts +17 -17
- package/src/generated/ImplementFixesConfig.d.ts +25 -25
- package/src/generated/IndividualCheckResult.d.ts +50 -50
- package/src/generated/InitialStateRef.d.ts +23 -23
- package/src/generated/InitialStatesSource.d.ts +18 -18
- package/src/generated/IssueSeverity.d.ts +11 -11
- package/src/generated/IssueSource.d.ts +11 -11
- package/src/generated/IssueStatus.d.ts +11 -11
- package/src/generated/IssueType.d.ts +21 -21
- package/src/generated/IterationResult.d.ts +65 -65
- package/src/generated/IterationVerificationResults.d.ts +53 -53
- package/src/generated/JobItem.d.ts +31 -31
- package/src/generated/JobListResponse.d.ts +20 -20
- package/src/generated/JobStatus.d.ts +11 -11
- package/src/generated/JobSummary.d.ts +30 -30
- package/src/generated/LLMCostSummary.d.ts +38 -38
- package/src/generated/LLMMetrics.d.ts +42 -42
- package/src/generated/LogSourceSelection.d.ts +25 -25
- package/src/generated/LoopInstanceStatus.d.ts +28 -28
- package/src/generated/LoopPhase.d.ts +26 -26
- package/src/generated/MatchAdjustment.d.ts +23 -23
- package/src/generated/MatchLocation.d.ts +22 -22
- package/src/generated/MatchMethod.d.ts +11 -11
- package/src/generated/McpCallRecord.d.ts +35 -35
- package/src/generated/McpCallsResult.d.ts +44 -44
- package/src/generated/McpConnectionRef.d.ts +25 -25
- package/src/generated/McpServerConfig.d.ts +77 -77
- package/src/generated/McpServerStatus.d.ts +42 -42
- package/src/generated/McpToolCallResult.d.ts +38 -38
- package/src/generated/McpToolInfo.d.ts +23 -23
- package/src/generated/McpToolInputSchema.d.ts +34 -34
- package/src/generated/McpTransport.d.ts +15 -15
- package/src/generated/ModelCostBreakdown.d.ts +36 -36
- package/src/generated/ModelOverrideConfig.d.ts +47 -47
- package/src/generated/Monitor.d.ts +48 -48
- package/src/generated/MonitorPosition.d.ts +13 -13
- package/src/generated/MouseButton.d.ts +13 -13
- package/src/generated/MultiLoopConfig.d.ts +32 -32
- package/src/generated/MultiLoopEntry.d.ts +32 -32
- package/src/generated/MultiLoopStatus.d.ts +37 -37
- package/src/generated/NativeAccessibilityStep.d.ts +121 -121
- package/src/generated/NavigationResult.d.ts +40 -40
- package/src/generated/NewConstraintProposal.d.ts +20 -20
- package/src/generated/NextTaskInfo.d.ts +24 -24
- package/src/generated/NodeMetadata.d.ts +47 -47
- package/src/generated/NodeStatus.d.ts +11 -11
- package/src/generated/NodeType.d.ts +11 -11
- package/src/generated/OcrEngine.d.ts +11 -11
- package/src/generated/OlConfig.d.ts +48 -48
- package/src/generated/OrchestrationLoopConfig.d.ts +87 -87
- package/src/generated/OrchestrationLoopStatus.d.ts +59 -59
- package/src/generated/Outcome.d.ts +15 -15
- package/src/generated/OutputLine.d.ts +23 -23
- package/src/generated/OutputStream.d.ts +11 -11
- package/src/generated/OverrideCollection.d.ts +18 -18
- package/src/generated/Pagination.d.ts +28 -28
- package/src/generated/ParserType.d.ts +17 -17
- package/src/generated/PathElement.d.ts +17 -17
- package/src/generated/PathfindingRequest.d.ts +24 -24
- package/src/generated/PathfindingResult.d.ts +30 -30
- package/src/generated/PathfindingStep.d.ts +36 -36
- package/src/generated/PatternOptions.d.ts +32 -32
- package/src/generated/PipelineConfig.d.ts +31 -31
- package/src/generated/PlaybackFrameRequest.d.ts +21 -21
- package/src/generated/PlaywrightExecutionMode.d.ts +11 -11
- package/src/generated/Point.d.ts +20 -20
- package/src/generated/PollingConfig.d.ts +14 -14
- package/src/generated/ProcessConfig.d.ts +96 -96
- package/src/generated/ProcessState.d.ts +15 -15
- package/src/generated/ProcessStatus.d.ts +41 -41
- package/src/generated/PromptStep.d.ts +92 -92
- package/src/generated/PromptStepPhase.d.ts +13 -13
- package/src/generated/RAGDashboardStats.d.ts +26 -26
- package/src/generated/RagCompletionEvent.d.ts +25 -25
- package/src/generated/RagProcessingStatus.d.ts +11 -11
- package/src/generated/RagProgressEvent.d.ts +27 -27
- package/src/generated/ReadConfigResponse.d.ts +20 -20
- package/src/generated/ReflectionFixOutput.d.ts +20 -20
- package/src/generated/Region.d.ts +39 -39
- package/src/generated/RepositoryInactiveCondition.d.ts +24 -24
- package/src/generated/RepositoryWatch.d.ts +20 -20
- package/src/generated/ResolvedInitialStates.d.ts +29 -29
- package/src/generated/ResolvedInitialStatesResult.d.ts +40 -40
- package/src/generated/ResourceLimits.d.ts +33 -33
- package/src/generated/RestartProcessStep.d.ts +88 -88
- package/src/generated/RetryPolicy.d.ts +24 -24
- package/src/generated/RetrySpec.d.ts +24 -24
- package/src/generated/RoleCriterion.d.ts +14 -14
- package/src/generated/RootCauseCategory.d.ts +18 -18
- package/src/generated/RoutingRule.d.ts +38 -38
- package/src/generated/RunPromptRequest.d.ts +56 -56
- package/src/generated/RunPromptResponse.d.ts +50 -50
- package/src/generated/RunPromptResponseData.d.ts +20 -20
- package/src/generated/RunStatus.d.ts +11 -11
- package/src/generated/RunType.d.ts +11 -11
- package/src/generated/Runner.d.ts +81 -81
- package/src/generated/RunnerCrash.d.ts +32 -32
- package/src/generated/RunnerFinding.d.ts +48 -48
- package/src/generated/RunnerFindingCodeContext.d.ts +20 -20
- package/src/generated/RunnerFindingUserInput.d.ts +19 -19
- package/src/generated/RunnerMetadata.d.ts +42 -42
- package/src/generated/RunnerStatus.d.ts +12 -12
- package/src/generated/RunnerUiError.d.ts +28 -28
- package/src/generated/RuntimeData.d.ts +40 -40
- package/src/generated/SaveWorkflowArtifactStep.d.ts +80 -80
- package/src/generated/ScheduleConditions.d.ts +29 -29
- package/src/generated/ScheduleExpression.d.ts +39 -39
- package/src/generated/ScheduledTask.d.ts +104 -104
- package/src/generated/ScheduledTaskStatus.d.ts +19 -19
- package/src/generated/ScheduledTaskType.d.ts +126 -126
- package/src/generated/SchedulerSettings.d.ts +28 -28
- package/src/generated/SchedulerStatus.d.ts +31 -31
- package/src/generated/ScreenshotAnnotation.d.ts +39 -39
- package/src/generated/ScreenshotAnnotationShape.d.ts +11 -11
- package/src/generated/ScreenshotType.d.ts +11 -11
- package/src/generated/ScrollDirection.d.ts +13 -13
- package/src/generated/SearchOptions.d.ts +33 -33
- package/src/generated/SearchResultItem.d.ts +19 -19
- package/src/generated/SearchStrategy.d.ts +14 -14
- package/src/generated/SemanticSearchRequest.d.ts +26 -26
- package/src/generated/SemanticSearchResponse.d.ts +21 -21
- package/src/generated/StageCondition.d.ts +37 -37
- package/src/generated/StageInput.d.ts +27 -27
- package/src/generated/StageOutput.d.ts +20 -20
- package/src/generated/StageTransition.d.ts +30 -30
- package/src/generated/StallDetectorConfig.d.ts +31 -31
- package/src/generated/StandardActionType.d.ts +40 -40
- package/src/generated/StateContext.d.ts +17 -17
- package/src/generated/StateDiscoveryResult.d.ts +104 -104
- package/src/generated/StateDiscoveryResultCreate.d.ts +65 -65
- package/src/generated/StateDiscoveryResultListResponse.d.ts +23 -23
- package/src/generated/StateDiscoveryResultSummary.d.ts +57 -57
- package/src/generated/StateDiscoveryResultUpdate.d.ts +47 -47
- package/src/generated/StateFilterItem.d.ts +18 -18
- package/src/generated/StateMachineConfig.d.ts +45 -45
- package/src/generated/StateMachineConfigCreate.d.ts +20 -20
- package/src/generated/StateMachineConfigFull.d.ts +67 -67
- package/src/generated/StateMachineConfigUpdate.d.ts +20 -20
- package/src/generated/StateMachineExport.d.ts +64 -64
- package/src/generated/StateMachineExportFormat.d.ts +39 -39
- package/src/generated/StateMachineImport.d.ts +25 -25
- package/src/generated/StateMachineState.d.ts +71 -71
- package/src/generated/StateMachineStateCreate.d.ts +52 -52
- package/src/generated/StateMachineStateUpdate.d.ts +48 -48
- package/src/generated/StateMachineTransition.d.ts +75 -75
- package/src/generated/StateMachineTransitionCreate.d.ts +53 -53
- package/src/generated/StateMachineTransitionUpdate.d.ts +53 -53
- package/src/generated/StateNodeData.d.ts +71 -71
- package/src/generated/StatesResponse.d.ts +19 -19
- package/src/generated/StdioConfig.d.ts +34 -34
- package/src/generated/StepExecutionConfig.d.ts +37 -37
- package/src/generated/StructuredFinding.d.ts +32 -32
- package/src/generated/StructuredOverride.d.ts +24 -24
- package/src/generated/StructuredSignal.d.ts +20 -20
- package/src/generated/SuccessCriterion.d.ts +57 -57
- package/src/generated/SummarizationConfig.d.ts +35 -35
- package/src/generated/TargetConfig.d.ts +108 -108
- package/src/generated/TaskCompletionResult.d.ts +90 -90
- package/src/generated/TaskExecutionRecord.d.ts +61 -61
- package/src/generated/TaskRun.d.ts +88 -88
- package/src/generated/TaskRunBackend.d.ts +86 -86
- package/src/generated/TaskRunBackendDetail.d.ts +99 -99
- package/src/generated/TaskRunCreate.d.ts +62 -62
- package/src/generated/TaskRunFilters.d.ts +38 -38
- package/src/generated/TaskRunFinding.d.ts +100 -100
- package/src/generated/TaskRunFindingActionType.d.ts +11 -11
- package/src/generated/TaskRunFindingCategory.d.ts +24 -24
- package/src/generated/TaskRunFindingCreate.d.ts +79 -79
- package/src/generated/TaskRunFindingFilters.d.ts +28 -28
- package/src/generated/TaskRunFindingSeverity.d.ts +11 -11
- package/src/generated/TaskRunFindingStatus.d.ts +11 -11
- package/src/generated/TaskRunFindingSummary.d.ts +34 -34
- package/src/generated/TaskRunFindingUpdate.d.ts +34 -34
- package/src/generated/TaskRunFindingsListResponse.d.ts +24 -24
- package/src/generated/TaskRunListResponse.d.ts +21 -21
- package/src/generated/TaskRunSession.d.ts +40 -40
- package/src/generated/TaskRunStatus.d.ts +11 -11
- package/src/generated/TaskRunUpdate.d.ts +47 -47
- package/src/generated/TaskType.d.ts +11 -11
- package/src/generated/TerminalExitEvent.d.ts +26 -26
- package/src/generated/TerminalInfo.d.ts +69 -69
- package/src/generated/TerminalOutputEvent.d.ts +29 -29
- package/src/generated/TestType.d.ts +11 -11
- package/src/generated/TextMatchType.d.ts +11 -11
- package/src/generated/TextSearchOptions.d.ts +30 -30
- package/src/generated/Ticket.d.ts +53 -53
- package/src/generated/TicketComment.d.ts +28 -28
- package/src/generated/TicketProviderConfig.d.ts +55 -55
- package/src/generated/TicketSource.d.ts +17 -17
- package/src/generated/TicketState.d.ts +15 -15
- package/src/generated/TimingInfo.d.ts +23 -23
- package/src/generated/TopMatch.d.ts +17 -17
- package/src/generated/TransitionAction.d.ts +93 -93
- package/src/generated/TransitionActionValue.d.ts +14 -14
- package/src/generated/TransitionEdgeData.d.ts +46 -46
- package/src/generated/TransitionExecutionResult.d.ts +30 -30
- package/src/generated/TransitionInfo.d.ts +29 -29
- package/src/generated/TransitionTriggerType.d.ts +13 -13
- package/src/generated/TreeEvent.d.ts +47 -47
- package/src/generated/TreeEventCreate.d.ts +30 -30
- package/src/generated/TreeEventListResponse.d.ts +30 -30
- package/src/generated/TreeEventResponse.d.ts +47 -47
- package/src/generated/TreeEventType.d.ts +20 -20
- package/src/generated/TreeNode.d.ts +54 -54
- package/src/generated/UIBridgeCapturedToast.d.ts +22 -22
- package/src/generated/UIBridgeComponent.d.ts +45 -45
- package/src/generated/UIBridgeElement.d.ts +62 -62
- package/src/generated/UIBridgeModalInfo.d.ts +40 -40
- package/src/generated/UIBridgeModalStack.d.ts +19 -19
- package/src/generated/UIBridgeSnapshot.d.ts +67 -67
- package/src/generated/UIBridgeToastContext.d.ts +17 -17
- package/src/generated/UIBridgeUndoContext.d.ts +19 -19
- package/src/generated/UiBridgeAction.d.ts +18 -18
- package/src/generated/UiBridgeAssertType.d.ts +11 -11
- package/src/generated/UiBridgeComparisonMode.d.ts +11 -11
- package/src/generated/UiBridgeDesignAuditStep.d.ts +76 -76
- package/src/generated/UiBridgeRequestEnvelope.d.ts +45 -0
- package/src/generated/UiBridgeResponseEnvelope.d.ts +66 -0
- package/src/generated/UiBridgeSeverity.d.ts +11 -11
- package/src/generated/UiBridgeStep.d.ts +127 -127
- package/src/generated/UiBridgeStepPhase.d.ts +14 -14
- package/src/generated/UiBridgeVisualAssertionStep.d.ts +97 -97
- package/src/generated/UnifiedStep.d.ts +57 -57
- package/src/generated/UnifiedWorkflow.d.ts +411 -411
- package/src/generated/UpdateMcpServerInput.d.ts +28 -28
- package/src/generated/UpdateOlConfigRequest.d.ts +32 -32
- package/src/generated/UpdateScheduledTaskRequest.d.ts +71 -71
- package/src/generated/ValidateConfigRequest.d.ts +16 -16
- package/src/generated/ValidateConfigResponse.d.ts +28 -28
- package/src/generated/VectorSearchResult.d.ts +48 -48
- package/src/generated/VerificationAgentContext.d.ts +25 -25
- package/src/generated/VerificationCategoryKind.d.ts +19 -19
- package/src/generated/VerificationMethod.d.ts +20 -20
- package/src/generated/VerificationPhaseResult.d.ts +63 -63
- package/src/generated/VerificationPlan.d.ts +43 -43
- package/src/generated/VerificationResult.d.ts +44 -44
- package/src/generated/VerificationResultResponse.d.ts +65 -65
- package/src/generated/VerificationResultsListResponse.d.ts +41 -41
- package/src/generated/VerificationStepDetails.d.ts +55 -55
- package/src/generated/VerificationStepResult.d.ts +68 -68
- package/src/generated/VgaAction.d.ts +61 -61
- package/src/generated/VgaActionKind.d.ts +14 -14
- package/src/generated/VgaAutomateStep.d.ts +110 -110
- package/src/generated/VirtualDesktop.d.ts +23 -23
- package/src/generated/VisualAssertionType.d.ts +11 -11
- package/src/generated/VisualComparisonResult.d.ts +40 -40
- package/src/generated/WaitOptions.d.ts +35 -35
- package/src/generated/WorkerCoordinationMessage.d.ts +93 -93
- package/src/generated/WorkerDomain.d.ts +29 -29
- package/src/generated/WorkerInstance.d.ts +62 -62
- package/src/generated/WorkerOutput.d.ts +53 -53
- package/src/generated/WorkerSignal.d.ts +48 -48
- package/src/generated/WorkerStatus.d.ts +11 -11
- package/src/generated/WorkflowArchitecture.d.ts +16 -16
- package/src/generated/WorkflowFixupMode.d.ts +11 -11
- package/src/generated/WorkflowFixupStep.d.ts +85 -85
- package/src/generated/WorkflowInfo.d.ts +28 -28
- package/src/generated/WorkflowMetadata.d.ts +44 -44
- package/src/generated/WorkflowRefStep.d.ts +94 -94
- package/src/generated/WorkflowStage.d.ts +126 -126
- package/src/generated/WorkflowStep.d.ts +80 -80
- package/src/generated/WorkflowStepPhase.d.ts +11 -11
- package/src/generated/WriteConfigRequest.d.ts +20 -20
- package/src/generated/WriteConfigResponse.d.ts +24 -24
- package/src/generated/index.ts +2 -0
- package/src/geometry/_api.ts +16 -16
- package/src/geometry/index.ts +1 -1
- package/src/index.ts +73 -73
- package/src/known-issues/index.ts +179 -179
- package/src/library/_api.ts +326 -326
- package/src/library/index.ts +1 -1
- package/src/rag/_api.ts +47 -47
- package/src/rag/index.ts +1 -1
- package/src/render-log.ts +371 -371
- package/src/runner/_api.ts +14 -14
- package/src/runner/index.ts +1 -1
- package/src/scheduler/_api.ts +21 -21
- package/src/scheduler/index.ts +1 -1
- package/src/state-machine/_api.ts +145 -145
- package/src/state-machine/index.ts +1 -1
- package/src/targets/_api.ts +47 -47
- package/src/targets/index.ts +1 -1
- package/src/task-run/_api.ts +108 -108
- package/src/task-run/index.ts +1 -1
- package/src/tauri-events/_api.ts +90 -76
- package/src/tauri-events/index.ts +1 -1
- package/src/tree-events/_api.ts +42 -42
- package/src/tree-events/index.ts +1 -1
- package/src/ui-bridge-ir/__tests__/projection.test.ts +1029 -1029
- package/src/ui-bridge-ir/adapter.ts +220 -220
- package/src/ui-bridge-ir/document.ts +114 -105
- package/src/ui-bridge-ir/element-criteria.ts +48 -48
- package/src/ui-bridge-ir/group.ts +84 -0
- package/src/ui-bridge-ir/index.ts +24 -23
- package/src/ui-bridge-ir/ir.schema.json +293 -235
- package/src/ui-bridge-ir/primitives.ts +102 -102
- package/src/ui-bridge-ir/projection.ts +921 -863
- package/src/ui-bridge-ir/state.ts +90 -90
- package/src/ui-bridge-ir/transition.ts +92 -92
- package/src/workflow/_api.ts +474 -474
- package/src/workflow/action-plan.ts +208 -208
- package/src/workflow/index.ts +1 -1
- package/src/workflow/skill.ts +152 -152
- package/dist/chunk-YXD4WCYQ.js.map +0 -1
- package/dist/chunk-ZK5MJEGT.js.map +0 -1
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
/**
|
|
3
|
-
* This file was automatically generated.
|
|
4
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
5
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import type { CriterionType } from './CriterionType';
|
|
9
|
-
import type { VerificationMethod } from './VerificationMethod';
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* A success criterion that must be met for task completion.
|
|
13
|
-
*/
|
|
14
|
-
export interface SuccessCriterion {
|
|
15
|
-
/**
|
|
16
|
-
* Human-readable description.
|
|
17
|
-
*/
|
|
18
|
-
description: string;
|
|
19
|
-
/**
|
|
20
|
-
* Domain this criterion belongs to (for multi-worker verification).
|
|
21
|
-
*/
|
|
22
|
-
domain?: string | null;
|
|
23
|
-
/**
|
|
24
|
-
* For AI-evaluated criteria: the evaluation prompt.
|
|
25
|
-
*/
|
|
26
|
-
evaluationPrompt?: string | null;
|
|
27
|
-
/**
|
|
28
|
-
* Unique identifier for this criterion.
|
|
29
|
-
*/
|
|
30
|
-
id: string;
|
|
31
|
-
/**
|
|
32
|
-
* Whether failure of this criterion blocks task completion.
|
|
33
|
-
* - `true` (default): failure blocks completion, worker must fix.
|
|
34
|
-
* - `false`: failure is informational, doesn't block completion.
|
|
35
|
-
*/
|
|
36
|
-
isCritical: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Whether this criterion must pass for task completion.
|
|
39
|
-
*/
|
|
40
|
-
required: boolean;
|
|
41
|
-
type: CriterionType;
|
|
42
|
-
/**
|
|
43
|
-
* Configuration blob for the verification method (command args, log
|
|
44
|
-
* patterns, Playwright script path, etc.).
|
|
45
|
-
*/
|
|
46
|
-
verificationConfig?: {
|
|
47
|
-
[k: string]: unknown;
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* For deterministic criteria: the verification method to use.
|
|
51
|
-
*/
|
|
52
|
-
verificationMethod?: VerificationMethod | null;
|
|
53
|
-
/**
|
|
54
|
-
* Optional weight for partial success scoring.
|
|
55
|
-
*/
|
|
56
|
-
weight?: number | null;
|
|
57
|
-
}
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
5
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import type { CriterionType } from './CriterionType';
|
|
9
|
+
import type { VerificationMethod } from './VerificationMethod';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* A success criterion that must be met for task completion.
|
|
13
|
+
*/
|
|
14
|
+
export interface SuccessCriterion {
|
|
15
|
+
/**
|
|
16
|
+
* Human-readable description.
|
|
17
|
+
*/
|
|
18
|
+
description: string;
|
|
19
|
+
/**
|
|
20
|
+
* Domain this criterion belongs to (for multi-worker verification).
|
|
21
|
+
*/
|
|
22
|
+
domain?: string | null;
|
|
23
|
+
/**
|
|
24
|
+
* For AI-evaluated criteria: the evaluation prompt.
|
|
25
|
+
*/
|
|
26
|
+
evaluationPrompt?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
* Unique identifier for this criterion.
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
/**
|
|
32
|
+
* Whether failure of this criterion blocks task completion.
|
|
33
|
+
* - `true` (default): failure blocks completion, worker must fix.
|
|
34
|
+
* - `false`: failure is informational, doesn't block completion.
|
|
35
|
+
*/
|
|
36
|
+
isCritical: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Whether this criterion must pass for task completion.
|
|
39
|
+
*/
|
|
40
|
+
required: boolean;
|
|
41
|
+
type: CriterionType;
|
|
42
|
+
/**
|
|
43
|
+
* Configuration blob for the verification method (command args, log
|
|
44
|
+
* patterns, Playwright script path, etc.).
|
|
45
|
+
*/
|
|
46
|
+
verificationConfig?: {
|
|
47
|
+
[k: string]: unknown;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* For deterministic criteria: the verification method to use.
|
|
51
|
+
*/
|
|
52
|
+
verificationMethod?: VerificationMethod | null;
|
|
53
|
+
/**
|
|
54
|
+
* Optional weight for partial success scoring.
|
|
55
|
+
*/
|
|
56
|
+
weight?: number | null;
|
|
57
|
+
}
|
|
@@ -1,35 +1,35 @@
|
|
|
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
|
-
* Configuration for the context-summarization subsystem.
|
|
10
|
-
*
|
|
11
|
-
* When the loop's rolling context approaches the token budget, older
|
|
12
|
-
* iterations are compressed into a summary to keep the prompt small.
|
|
13
|
-
*/
|
|
14
|
-
export interface SummarizationConfig {
|
|
15
|
-
/**
|
|
16
|
-
* Whether summarization is active.
|
|
17
|
-
*/
|
|
18
|
-
enabled: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Target maximum tokens for the full loop context.
|
|
21
|
-
*/
|
|
22
|
-
maxTokensBudget: number;
|
|
23
|
-
/**
|
|
24
|
-
* Number of most-recent iterations to keep verbatim (never summarized).
|
|
25
|
-
*/
|
|
26
|
-
preserveLastNIterations: number;
|
|
27
|
-
/**
|
|
28
|
-
* Cap on tokens emitted by a single summarization pass.
|
|
29
|
-
*/
|
|
30
|
-
summaryMaxTokens: number;
|
|
31
|
-
/**
|
|
32
|
-
* Fraction of the token budget (0.0–1.0) at which summarization triggers.
|
|
33
|
-
*/
|
|
34
|
-
tokenThresholdPct: number;
|
|
35
|
-
}
|
|
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
|
+
* Configuration for the context-summarization subsystem.
|
|
10
|
+
*
|
|
11
|
+
* When the loop's rolling context approaches the token budget, older
|
|
12
|
+
* iterations are compressed into a summary to keep the prompt small.
|
|
13
|
+
*/
|
|
14
|
+
export interface SummarizationConfig {
|
|
15
|
+
/**
|
|
16
|
+
* Whether summarization is active.
|
|
17
|
+
*/
|
|
18
|
+
enabled: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Target maximum tokens for the full loop context.
|
|
21
|
+
*/
|
|
22
|
+
maxTokensBudget: number;
|
|
23
|
+
/**
|
|
24
|
+
* Number of most-recent iterations to keep verbatim (never summarized).
|
|
25
|
+
*/
|
|
26
|
+
preserveLastNIterations: number;
|
|
27
|
+
/**
|
|
28
|
+
* Cap on tokens emitted by a single summarization pass.
|
|
29
|
+
*/
|
|
30
|
+
summaryMaxTokens: number;
|
|
31
|
+
/**
|
|
32
|
+
* Fraction of the token budget (0.0–1.0) at which summarization triggers.
|
|
33
|
+
*/
|
|
34
|
+
tokenThresholdPct: number;
|
|
35
|
+
}
|
|
@@ -1,108 +1,108 @@
|
|
|
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 { AccessibilityRoleCriterion } from './AccessibilityRoleCriterion';
|
|
9
|
-
import type { CoordinateSystem } from './CoordinateSystem';
|
|
10
|
-
import type { Coordinates } from './Coordinates';
|
|
11
|
-
import type { MatchAdjustment } from './MatchAdjustment';
|
|
12
|
-
import type { MatchMethod } from './MatchMethod';
|
|
13
|
-
import type { OcrEngine } from './OcrEngine';
|
|
14
|
-
import type { PatternOptions } from './PatternOptions';
|
|
15
|
-
import type { PollingConfig } from './PollingConfig';
|
|
16
|
-
import type { Region } from './Region';
|
|
17
|
-
import type { SearchOptions } from './SearchOptions';
|
|
18
|
-
import type { SearchStrategy } from './SearchStrategy';
|
|
19
|
-
import type { TextMatchType } from './TextMatchType';
|
|
20
|
-
import type { TextSearchOptions } from './TextSearchOptions';
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* The discriminated union over all 14 target configurations. Wire format is
|
|
24
|
-
* a flat object tagged by the `type` field (`"image"`, `"stateImage"`, …).
|
|
25
|
-
*/
|
|
26
|
-
export type TargetConfig =
|
|
27
|
-
| {
|
|
28
|
-
imageIds: string[];
|
|
29
|
-
searchOptions?: SearchOptions | null;
|
|
30
|
-
type: "image";
|
|
31
|
-
[k: string]: unknown;
|
|
32
|
-
}
|
|
33
|
-
| {
|
|
34
|
-
region: Region;
|
|
35
|
-
type: "region";
|
|
36
|
-
[k: string]: unknown;
|
|
37
|
-
}
|
|
38
|
-
| {
|
|
39
|
-
searchOptions?: SearchOptions | null;
|
|
40
|
-
text: string;
|
|
41
|
-
textOptions?: TextSearchOptions | null;
|
|
42
|
-
type: "text";
|
|
43
|
-
[k: string]: unknown;
|
|
44
|
-
}
|
|
45
|
-
| {
|
|
46
|
-
coordinates: Coordinates;
|
|
47
|
-
type: "coordinates";
|
|
48
|
-
[k: string]: unknown;
|
|
49
|
-
}
|
|
50
|
-
| {
|
|
51
|
-
stateId: string;
|
|
52
|
-
stringIds: string[];
|
|
53
|
-
type: "stateString";
|
|
54
|
-
useAll?: boolean | null;
|
|
55
|
-
[k: string]: unknown;
|
|
56
|
-
}
|
|
57
|
-
| {
|
|
58
|
-
regionId: string;
|
|
59
|
-
type: "stateRegion";
|
|
60
|
-
[k: string]: unknown;
|
|
61
|
-
}
|
|
62
|
-
| {
|
|
63
|
-
locationId: string;
|
|
64
|
-
type: "stateLocation";
|
|
65
|
-
[k: string]: unknown;
|
|
66
|
-
}
|
|
67
|
-
| {
|
|
68
|
-
imageIds: string[];
|
|
69
|
-
imageNames?: string[] | null;
|
|
70
|
-
stateId: string;
|
|
71
|
-
stateName?: string | null;
|
|
72
|
-
type: "stateImage";
|
|
73
|
-
[k: string]: unknown;
|
|
74
|
-
}
|
|
75
|
-
| {
|
|
76
|
-
type: "currentPosition";
|
|
77
|
-
[k: string]: unknown;
|
|
78
|
-
}
|
|
79
|
-
| {
|
|
80
|
-
type: "lastFindResult";
|
|
81
|
-
[k: string]: unknown;
|
|
82
|
-
}
|
|
83
|
-
| {
|
|
84
|
-
index: number;
|
|
85
|
-
type: "resultIndex";
|
|
86
|
-
[k: string]: unknown;
|
|
87
|
-
}
|
|
88
|
-
| {
|
|
89
|
-
type: "allResults";
|
|
90
|
-
[k: string]: unknown;
|
|
91
|
-
}
|
|
92
|
-
| {
|
|
93
|
-
imageId: string;
|
|
94
|
-
type: "resultByImage";
|
|
95
|
-
[k: string]: unknown;
|
|
96
|
-
}
|
|
97
|
-
| {
|
|
98
|
-
captureFirst: boolean;
|
|
99
|
-
cdpHost: string;
|
|
100
|
-
cdpPort: number;
|
|
101
|
-
isInteractive?: boolean | null;
|
|
102
|
-
name?: string | null;
|
|
103
|
-
nameContains?: string | null;
|
|
104
|
-
ref?: string | null;
|
|
105
|
-
role?: AccessibilityRoleCriterion | null;
|
|
106
|
-
type: "accessibility";
|
|
107
|
-
[k: string]: unknown;
|
|
108
|
-
};
|
|
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 { AccessibilityRoleCriterion } from './AccessibilityRoleCriterion';
|
|
9
|
+
import type { CoordinateSystem } from './CoordinateSystem';
|
|
10
|
+
import type { Coordinates } from './Coordinates';
|
|
11
|
+
import type { MatchAdjustment } from './MatchAdjustment';
|
|
12
|
+
import type { MatchMethod } from './MatchMethod';
|
|
13
|
+
import type { OcrEngine } from './OcrEngine';
|
|
14
|
+
import type { PatternOptions } from './PatternOptions';
|
|
15
|
+
import type { PollingConfig } from './PollingConfig';
|
|
16
|
+
import type { Region } from './Region';
|
|
17
|
+
import type { SearchOptions } from './SearchOptions';
|
|
18
|
+
import type { SearchStrategy } from './SearchStrategy';
|
|
19
|
+
import type { TextMatchType } from './TextMatchType';
|
|
20
|
+
import type { TextSearchOptions } from './TextSearchOptions';
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* The discriminated union over all 14 target configurations. Wire format is
|
|
24
|
+
* a flat object tagged by the `type` field (`"image"`, `"stateImage"`, …).
|
|
25
|
+
*/
|
|
26
|
+
export type TargetConfig =
|
|
27
|
+
| {
|
|
28
|
+
imageIds: string[];
|
|
29
|
+
searchOptions?: SearchOptions | null;
|
|
30
|
+
type: "image";
|
|
31
|
+
[k: string]: unknown;
|
|
32
|
+
}
|
|
33
|
+
| {
|
|
34
|
+
region: Region;
|
|
35
|
+
type: "region";
|
|
36
|
+
[k: string]: unknown;
|
|
37
|
+
}
|
|
38
|
+
| {
|
|
39
|
+
searchOptions?: SearchOptions | null;
|
|
40
|
+
text: string;
|
|
41
|
+
textOptions?: TextSearchOptions | null;
|
|
42
|
+
type: "text";
|
|
43
|
+
[k: string]: unknown;
|
|
44
|
+
}
|
|
45
|
+
| {
|
|
46
|
+
coordinates: Coordinates;
|
|
47
|
+
type: "coordinates";
|
|
48
|
+
[k: string]: unknown;
|
|
49
|
+
}
|
|
50
|
+
| {
|
|
51
|
+
stateId: string;
|
|
52
|
+
stringIds: string[];
|
|
53
|
+
type: "stateString";
|
|
54
|
+
useAll?: boolean | null;
|
|
55
|
+
[k: string]: unknown;
|
|
56
|
+
}
|
|
57
|
+
| {
|
|
58
|
+
regionId: string;
|
|
59
|
+
type: "stateRegion";
|
|
60
|
+
[k: string]: unknown;
|
|
61
|
+
}
|
|
62
|
+
| {
|
|
63
|
+
locationId: string;
|
|
64
|
+
type: "stateLocation";
|
|
65
|
+
[k: string]: unknown;
|
|
66
|
+
}
|
|
67
|
+
| {
|
|
68
|
+
imageIds: string[];
|
|
69
|
+
imageNames?: string[] | null;
|
|
70
|
+
stateId: string;
|
|
71
|
+
stateName?: string | null;
|
|
72
|
+
type: "stateImage";
|
|
73
|
+
[k: string]: unknown;
|
|
74
|
+
}
|
|
75
|
+
| {
|
|
76
|
+
type: "currentPosition";
|
|
77
|
+
[k: string]: unknown;
|
|
78
|
+
}
|
|
79
|
+
| {
|
|
80
|
+
type: "lastFindResult";
|
|
81
|
+
[k: string]: unknown;
|
|
82
|
+
}
|
|
83
|
+
| {
|
|
84
|
+
index: number;
|
|
85
|
+
type: "resultIndex";
|
|
86
|
+
[k: string]: unknown;
|
|
87
|
+
}
|
|
88
|
+
| {
|
|
89
|
+
type: "allResults";
|
|
90
|
+
[k: string]: unknown;
|
|
91
|
+
}
|
|
92
|
+
| {
|
|
93
|
+
imageId: string;
|
|
94
|
+
type: "resultByImage";
|
|
95
|
+
[k: string]: unknown;
|
|
96
|
+
}
|
|
97
|
+
| {
|
|
98
|
+
captureFirst: boolean;
|
|
99
|
+
cdpHost: string;
|
|
100
|
+
cdpPort: number;
|
|
101
|
+
isInteractive?: boolean | null;
|
|
102
|
+
name?: string | null;
|
|
103
|
+
nameContains?: string | null;
|
|
104
|
+
ref?: string | null;
|
|
105
|
+
role?: AccessibilityRoleCriterion | null;
|
|
106
|
+
type: "accessibility";
|
|
107
|
+
[k: string]: unknown;
|
|
108
|
+
};
|
|
@@ -1,90 +1,90 @@
|
|
|
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 { Confidence } from './Confidence';
|
|
9
|
-
import type { CriterionOverride } from './CriterionOverride';
|
|
10
|
-
import type { CriterionType } from './CriterionType';
|
|
11
|
-
import type { Finding } from './Finding';
|
|
12
|
-
import type { IterationVerificationResults } from './IterationVerificationResults';
|
|
13
|
-
import type { VerificationResult } from './VerificationResult';
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Task-completion result.
|
|
17
|
-
*
|
|
18
|
-
* Internally tagged by `status`: the variant fields are inlined alongside the
|
|
19
|
-
* discriminator rather than nested under a `data` key.
|
|
20
|
-
*/
|
|
21
|
-
export type TaskCompletionResult =
|
|
22
|
-
| {
|
|
23
|
-
/**
|
|
24
|
-
* Findings accumulated during the run.
|
|
25
|
-
*/
|
|
26
|
-
findings: Finding[];
|
|
27
|
-
/**
|
|
28
|
-
* Number of iterations used.
|
|
29
|
-
*/
|
|
30
|
-
iterations: number;
|
|
31
|
-
status: "success";
|
|
32
|
-
verification_results: IterationVerificationResults;
|
|
33
|
-
[k: string]: unknown;
|
|
34
|
-
}
|
|
35
|
-
| {
|
|
36
|
-
/**
|
|
37
|
-
* Findings accumulated during the run.
|
|
38
|
-
*/
|
|
39
|
-
findings: Finding[];
|
|
40
|
-
/**
|
|
41
|
-
* Number of iterations attempted.
|
|
42
|
-
*/
|
|
43
|
-
iterations: number;
|
|
44
|
-
/**
|
|
45
|
-
* Last verification results (if any).
|
|
46
|
-
*/
|
|
47
|
-
last_results?: IterationVerificationResults1 | null;
|
|
48
|
-
/**
|
|
49
|
-
* Human-readable reason for the failure.
|
|
50
|
-
*/
|
|
51
|
-
reason: string;
|
|
52
|
-
status: "failed";
|
|
53
|
-
[k: string]: unknown;
|
|
54
|
-
}
|
|
55
|
-
| {
|
|
56
|
-
/**
|
|
57
|
-
* Iteration at which the task was stopped.
|
|
58
|
-
*/
|
|
59
|
-
at_iteration: number;
|
|
60
|
-
/**
|
|
61
|
-
* Whether the task can be resumed from this point.
|
|
62
|
-
*/
|
|
63
|
-
can_resume: boolean;
|
|
64
|
-
/**
|
|
65
|
-
* Findings accumulated up to the stop.
|
|
66
|
-
*/
|
|
67
|
-
findings: Finding[];
|
|
68
|
-
status: "stopped";
|
|
69
|
-
[k: string]: unknown;
|
|
70
|
-
}
|
|
71
|
-
| {
|
|
72
|
-
/**
|
|
73
|
-
* Iteration at which the task paused.
|
|
74
|
-
*/
|
|
75
|
-
at_iteration: number;
|
|
76
|
-
/**
|
|
77
|
-
* Findings accumulated up to the pause.
|
|
78
|
-
*/
|
|
79
|
-
findings: Finding[];
|
|
80
|
-
/**
|
|
81
|
-
* Last verification results (if any).
|
|
82
|
-
*/
|
|
83
|
-
last_results?: IterationVerificationResults1 | null;
|
|
84
|
-
/**
|
|
85
|
-
* The max-iteration limit that triggered the pause.
|
|
86
|
-
*/
|
|
87
|
-
max_iterations: number;
|
|
88
|
-
status: "paused";
|
|
89
|
-
[k: string]: unknown;
|
|
90
|
-
};
|
|
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 { Confidence } from './Confidence';
|
|
9
|
+
import type { CriterionOverride } from './CriterionOverride';
|
|
10
|
+
import type { CriterionType } from './CriterionType';
|
|
11
|
+
import type { Finding } from './Finding';
|
|
12
|
+
import type { IterationVerificationResults } from './IterationVerificationResults';
|
|
13
|
+
import type { VerificationResult } from './VerificationResult';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Task-completion result.
|
|
17
|
+
*
|
|
18
|
+
* Internally tagged by `status`: the variant fields are inlined alongside the
|
|
19
|
+
* discriminator rather than nested under a `data` key.
|
|
20
|
+
*/
|
|
21
|
+
export type TaskCompletionResult =
|
|
22
|
+
| {
|
|
23
|
+
/**
|
|
24
|
+
* Findings accumulated during the run.
|
|
25
|
+
*/
|
|
26
|
+
findings: Finding[];
|
|
27
|
+
/**
|
|
28
|
+
* Number of iterations used.
|
|
29
|
+
*/
|
|
30
|
+
iterations: number;
|
|
31
|
+
status: "success";
|
|
32
|
+
verification_results: IterationVerificationResults;
|
|
33
|
+
[k: string]: unknown;
|
|
34
|
+
}
|
|
35
|
+
| {
|
|
36
|
+
/**
|
|
37
|
+
* Findings accumulated during the run.
|
|
38
|
+
*/
|
|
39
|
+
findings: Finding[];
|
|
40
|
+
/**
|
|
41
|
+
* Number of iterations attempted.
|
|
42
|
+
*/
|
|
43
|
+
iterations: number;
|
|
44
|
+
/**
|
|
45
|
+
* Last verification results (if any).
|
|
46
|
+
*/
|
|
47
|
+
last_results?: IterationVerificationResults1 | null;
|
|
48
|
+
/**
|
|
49
|
+
* Human-readable reason for the failure.
|
|
50
|
+
*/
|
|
51
|
+
reason: string;
|
|
52
|
+
status: "failed";
|
|
53
|
+
[k: string]: unknown;
|
|
54
|
+
}
|
|
55
|
+
| {
|
|
56
|
+
/**
|
|
57
|
+
* Iteration at which the task was stopped.
|
|
58
|
+
*/
|
|
59
|
+
at_iteration: number;
|
|
60
|
+
/**
|
|
61
|
+
* Whether the task can be resumed from this point.
|
|
62
|
+
*/
|
|
63
|
+
can_resume: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Findings accumulated up to the stop.
|
|
66
|
+
*/
|
|
67
|
+
findings: Finding[];
|
|
68
|
+
status: "stopped";
|
|
69
|
+
[k: string]: unknown;
|
|
70
|
+
}
|
|
71
|
+
| {
|
|
72
|
+
/**
|
|
73
|
+
* Iteration at which the task paused.
|
|
74
|
+
*/
|
|
75
|
+
at_iteration: number;
|
|
76
|
+
/**
|
|
77
|
+
* Findings accumulated up to the pause.
|
|
78
|
+
*/
|
|
79
|
+
findings: Finding[];
|
|
80
|
+
/**
|
|
81
|
+
* Last verification results (if any).
|
|
82
|
+
*/
|
|
83
|
+
last_results?: IterationVerificationResults1 | null;
|
|
84
|
+
/**
|
|
85
|
+
* The max-iteration limit that triggered the pause.
|
|
86
|
+
*/
|
|
87
|
+
max_iterations: number;
|
|
88
|
+
status: "paused";
|
|
89
|
+
[k: string]: unknown;
|
|
90
|
+
};
|