@qontinui/shared-types 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +128 -0
- package/dist/Region.d-BbpFAWF4.d.cts +88 -0
- package/dist/Region.d-BbpFAWF4.d.ts +88 -0
- package/dist/accessibility.cjs +19 -0
- package/dist/accessibility.cjs.map +1 -0
- package/dist/accessibility.d.cts +396 -0
- package/dist/accessibility.d.ts +396 -0
- package/dist/accessibility.js +1 -0
- package/dist/accessibility.js.map +1 -0
- package/dist/chat.cjs +19 -0
- package/dist/chat.cjs.map +1 -0
- package/dist/chat.d.cts +13 -0
- package/dist/chat.d.ts +13 -0
- package/dist/chat.js +1 -0
- package/dist/chat.js.map +1 -0
- package/dist/chunk-YXD4WCYQ.js +95 -0
- package/dist/chunk-YXD4WCYQ.js.map +1 -0
- package/dist/chunk-ZK5MJEGT.js +153 -0
- package/dist/chunk-ZK5MJEGT.js.map +1 -0
- package/dist/config.cjs +19 -0
- package/dist/config.cjs.map +1 -0
- package/dist/config.d.cts +112 -0
- package/dist/config.d.ts +112 -0
- package/dist/config.js +1 -0
- package/dist/config.js.map +1 -0
- package/dist/constraints.cjs +19 -0
- package/dist/constraints.cjs.map +1 -0
- package/dist/constraints.d.cts +401 -0
- package/dist/constraints.d.ts +401 -0
- package/dist/constraints.js +1 -0
- package/dist/constraints.js.map +1 -0
- package/dist/execution.cjs +127 -0
- package/dist/execution.cjs.map +1 -0
- package/dist/execution.d.cts +1269 -0
- package/dist/execution.d.ts +1269 -0
- package/dist/execution.js +19 -0
- package/dist/execution.js.map +1 -0
- package/dist/geometry.cjs +19 -0
- package/dist/geometry.cjs.map +1 -0
- package/dist/geometry.d.cts +89 -0
- package/dist/geometry.d.ts +89 -0
- package/dist/geometry.js +1 -0
- package/dist/geometry.js.map +1 -0
- package/dist/index.cjs +443 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1325 -0
- package/dist/index.d.ts +1325 -0
- package/dist/index.js +178 -0
- package/dist/index.js.map +1 -0
- package/dist/library.cjs +19 -0
- package/dist/library.cjs.map +1 -0
- package/dist/library.d.cts +205 -0
- package/dist/library.d.ts +205 -0
- package/dist/library.js +1 -0
- package/dist/library.js.map +1 -0
- package/dist/rag.cjs +19 -0
- package/dist/rag.cjs.map +1 -0
- package/dist/rag.d.cts +630 -0
- package/dist/rag.d.ts +630 -0
- package/dist/rag.js +1 -0
- package/dist/rag.js.map +1 -0
- package/dist/runner.cjs +19 -0
- package/dist/runner.cjs.map +1 -0
- package/dist/runner.d.cts +156 -0
- package/dist/runner.d.ts +156 -0
- package/dist/runner.js +1 -0
- package/dist/runner.js.map +1 -0
- package/dist/scheduler.cjs +19 -0
- package/dist/scheduler.cjs.map +1 -0
- package/dist/scheduler.d.cts +729 -0
- package/dist/scheduler.d.ts +729 -0
- package/dist/scheduler.js +1 -0
- package/dist/scheduler.js.map +1 -0
- package/dist/state-machine.cjs +19 -0
- package/dist/state-machine.cjs.map +1 -0
- package/dist/state-machine.d.cts +1240 -0
- package/dist/state-machine.d.ts +1240 -0
- package/dist/state-machine.js +1 -0
- package/dist/state-machine.js.map +1 -0
- package/dist/targets.cjs +19 -0
- package/dist/targets.cjs.map +1 -0
- package/dist/targets.d.cts +352 -0
- package/dist/targets.d.ts +352 -0
- package/dist/targets.js +1 -0
- package/dist/targets.js.map +1 -0
- package/dist/task-run.cjs +19 -0
- package/dist/task-run.cjs.map +1 -0
- package/dist/task-run.d.cts +1566 -0
- package/dist/task-run.d.ts +1566 -0
- package/dist/task-run.js +1 -0
- package/dist/task-run.js.map +1 -0
- package/dist/tree-events.cjs +19 -0
- package/dist/tree-events.cjs.map +1 -0
- package/dist/tree-events.d.cts +522 -0
- package/dist/tree-events.d.ts +522 -0
- package/dist/tree-events.js +1 -0
- package/dist/tree-events.js.map +1 -0
- package/dist/ui-bridge-ir.cjs +376 -0
- package/dist/ui-bridge-ir.cjs.map +1 -0
- package/dist/ui-bridge-ir.d.cts +820 -0
- package/dist/ui-bridge-ir.d.ts +820 -0
- package/dist/ui-bridge-ir.js +343 -0
- package/dist/ui-bridge-ir.js.map +1 -0
- package/dist/workflow.cjs +181 -0
- package/dist/workflow.cjs.map +1 -0
- package/dist/workflow.d.cts +2092 -0
- package/dist/workflow.d.ts +2092 -0
- package/dist/workflow.js +11 -0
- package/dist/workflow.js.map +1 -0
- package/package.json +136 -0
- package/src/accessibility/_api.ts +17 -0
- package/src/accessibility/index.ts +1 -0
- package/src/canvas/index.ts +319 -0
- package/src/chat/_api.ts +23 -0
- package/src/chat/index.ts +1 -0
- package/src/config/_api.ts +13 -0
- package/src/config/index.ts +1 -0
- package/src/constraints/_api.ts +17 -0
- package/src/constraints/index.ts +1 -0
- package/src/discovery.ts +188 -0
- package/src/execution/_api.ts +483 -0
- package/src/execution/index.ts +1 -0
- package/src/generated/A11yAction.d.ts +11 -0
- package/src/generated/AccessibilityBackend.d.ts +12 -0
- package/src/generated/AccessibilityBounds.d.ts +17 -0
- package/src/generated/AccessibilityNode.d.ts +73 -0
- package/src/generated/AccessibilityRole.d.ts +93 -0
- package/src/generated/AccessibilityRoleCriterion.d.ts +13 -0
- package/src/generated/AccessibilitySelector.d.ts +76 -0
- package/src/generated/AccessibilitySnapshot.d.ts +43 -0
- package/src/generated/AccessibilityState.d.ts +67 -0
- package/src/generated/ActionExecutionBatch.d.ts +23 -0
- package/src/generated/ActionExecutionBatchResponse.d.ts +24 -0
- package/src/generated/ActionExecutionCreate.d.ts +124 -0
- package/src/generated/ActionExecutionListResponse.d.ts +20 -0
- package/src/generated/ActionExecutionResponse.d.ts +24 -0
- package/src/generated/ActionReliabilityStats.d.ts +54 -0
- package/src/generated/ActionResponse.d.ts +45 -0
- package/src/generated/ActionStatus.d.ts +11 -0
- package/src/generated/ActionType.d.ts +41 -0
- package/src/generated/ActiveStatesResult.d.ts +32 -0
- package/src/generated/AgenticPhaseOutput.d.ts +50 -0
- package/src/generated/AgenticStatus.d.ts +11 -0
- package/src/generated/AiWorkflow.d.ts +76 -0
- package/src/generated/ApiAssertion.d.ts +35 -0
- package/src/generated/ApiAssertionOperator.d.ts +11 -0
- package/src/generated/ApiAssertionType.d.ts +11 -0
- package/src/generated/ApiContentType.d.ts +11 -0
- package/src/generated/ApiVariableExtraction.d.ts +24 -0
- package/src/generated/AppEvent.d.ts +586 -0
- package/src/generated/AvailableTransitionsResult.d.ts +34 -0
- package/src/generated/BaseStepFields.d.ts +72 -0
- package/src/generated/BatchComputeEmbeddingRequest.d.ts +27 -0
- package/src/generated/BatchComputeEmbeddingResponse.d.ts +23 -0
- package/src/generated/BatchEmbeddingResult.d.ts +23 -0
- package/src/generated/BetweenIterations.d.ts +35 -0
- package/src/generated/BoundingBox.d.ts +18 -0
- package/src/generated/BuildPhaseConfig.d.ts +24 -0
- package/src/generated/BuiltinOverrideProposal.d.ts +27 -0
- package/src/generated/CanonicalStep.d.ts +60 -0
- package/src/generated/CatchUpPolicy.d.ts +12 -0
- package/src/generated/Category.d.ts +24 -0
- package/src/generated/CheckIssueDetail.d.ts +40 -0
- package/src/generated/CheckType.d.ts +21 -0
- package/src/generated/CodeExecutionStep.d.ts +88 -0
- package/src/generated/CommandMode.d.ts +11 -0
- package/src/generated/CommandStep.d.ts +183 -0
- package/src/generated/CommandStepPhase.d.ts +11 -0
- package/src/generated/ComponentActionInfo.d.ts +24 -0
- package/src/generated/ComponentActionRequest.d.ts +22 -0
- package/src/generated/ComputeEmbeddingRequest.d.ts +24 -0
- package/src/generated/ComputeEmbeddingResponse.d.ts +38 -0
- package/src/generated/ComputeTextEmbeddingRequest.d.ts +20 -0
- package/src/generated/ComputeTextEmbeddingResponse.d.ts +32 -0
- package/src/generated/ConditionScheduleConfig.d.ts +17 -0
- package/src/generated/ConditionStatus.d.ts +29 -0
- package/src/generated/Confidence.d.ts +11 -0
- package/src/generated/ConfidenceLevel.d.ts +11 -0
- package/src/generated/Constraint.d.ts +33 -0
- package/src/generated/ConstraintCheck.d.ts +64 -0
- package/src/generated/ConstraintProposal.d.ts +37 -0
- package/src/generated/ConstraintResult.d.ts +32 -0
- package/src/generated/ConstraintSeverity.d.ts +16 -0
- package/src/generated/ConstraintViolation.d.ts +24 -0
- package/src/generated/Context.d.ts +50 -0
- package/src/generated/ContextAutoInclude.d.ts +34 -0
- package/src/generated/CoordinateSystem.d.ts +12 -0
- package/src/generated/Coordinates.d.ts +33 -0
- package/src/generated/CostTrendDataPoint.d.ts +36 -0
- package/src/generated/CostTrendResponse.d.ts +41 -0
- package/src/generated/CoverageData.d.ts +52 -0
- package/src/generated/CreateMcpCallInput.d.ts +59 -0
- package/src/generated/CreateMcpServerInput.d.ts +48 -0
- package/src/generated/CreateOlConfigRequest.d.ts +27 -0
- package/src/generated/CreateScheduledTaskRequest.d.ts +63 -0
- package/src/generated/CreateTaskRunRequest.d.ts +51 -0
- package/src/generated/CriterionOverride.d.ts +39 -0
- package/src/generated/CriterionType.d.ts +11 -0
- package/src/generated/DagApprovalStep.d.ts +80 -0
- package/src/generated/DagCancelStep.d.ts +76 -0
- package/src/generated/DagLoopStep.d.ts +80 -0
- package/src/generated/DecomposerConfig.d.ts +31 -0
- package/src/generated/DiagnosePhaseConfig.d.ts +34 -0
- package/src/generated/DiagnosticResult.d.ts +40 -0
- package/src/generated/DiscoveredElement.d.ts +48 -0
- package/src/generated/DiscoveredState.d.ts +49 -0
- package/src/generated/DiscoveredStateImage.d.ts +56 -0
- package/src/generated/DiscoveredTransition.d.ts +44 -0
- package/src/generated/DiscoveryBoundingBox.d.ts +32 -0
- package/src/generated/DiscoveryRequest.d.ts +40 -0
- package/src/generated/DiscoveryResponse.d.ts +32 -0
- package/src/generated/DiscoverySourceType.d.ts +14 -0
- package/src/generated/DiscoveryStrategy.d.ts +13 -0
- package/src/generated/DiscoveryTransitionTrigger.d.ts +38 -0
- package/src/generated/DisplayNode.d.ts +45 -0
- package/src/generated/DomainAssignment.d.ts +50 -0
- package/src/generated/DomainKnowledge.d.ts +29 -0
- package/src/generated/DomainVerificationResult.d.ts +36 -0
- package/src/generated/ElementActionRequest.d.ts +28 -0
- package/src/generated/ElementBbox.d.ts +36 -0
- package/src/generated/ElementIdentifier.d.ts +40 -0
- package/src/generated/ElementRect.d.ts +48 -0
- package/src/generated/ElementState.d.ts +47 -0
- package/src/generated/ElementType.d.ts +45 -0
- package/src/generated/EmbeddedElement.d.ts +36 -0
- package/src/generated/EmbeddingItem.d.ts +49 -0
- package/src/generated/EmbeddingListResponse.d.ts +22 -0
- package/src/generated/EmbeddingResultItem.d.ts +29 -0
- package/src/generated/EmbeddingResultsRequest.d.ts +19 -0
- package/src/generated/EmbeddingResultsResponse.d.ts +17 -0
- package/src/generated/ErrorType.d.ts +18 -0
- package/src/generated/ExecutePlaybookStep.d.ts +84 -0
- package/src/generated/ExecutionActionType.d.ts +40 -0
- package/src/generated/ExecutionIssueBatch.d.ts +19 -0
- package/src/generated/ExecutionIssueBatchResponse.d.ts +24 -0
- package/src/generated/ExecutionIssueCreate.d.ts +57 -0
- package/src/generated/ExecutionIssueDetail.d.ts +89 -0
- package/src/generated/ExecutionIssueListResponse.d.ts +26 -0
- package/src/generated/ExecutionIssueResponse.d.ts +24 -0
- package/src/generated/ExecutionIssueUpdate.d.ts +31 -0
- package/src/generated/ExecutionMatchLocation.d.ts +31 -0
- package/src/generated/ExecutionRunComplete.d.ts +34 -0
- package/src/generated/ExecutionRunCompleteResponse.d.ts +38 -0
- package/src/generated/ExecutionRunCreate.d.ts +40 -0
- package/src/generated/ExecutionRunDetail.d.ts +76 -0
- package/src/generated/ExecutionRunListResponse.d.ts +22 -0
- package/src/generated/ExecutionRunResponse.d.ts +41 -0
- package/src/generated/ExecutionScreenshotCreate.d.ts +59 -0
- package/src/generated/ExecutionScreenshotResponse.d.ts +36 -0
- package/src/generated/ExecutionStats.d.ts +56 -0
- package/src/generated/ExecutionStep.d.ts +78 -0
- package/src/generated/ExecutionTreeResponse.d.ts +42 -0
- package/src/generated/ExecutionTrendDataPoint.d.ts +36 -0
- package/src/generated/ExecutionTrendResponse.d.ts +46 -0
- package/src/generated/ExitCheckResult.d.ts +20 -0
- package/src/generated/ExitStrategy.d.ts +27 -0
- package/src/generated/ExportResult.d.ts +30 -0
- package/src/generated/ExtendIterationsRequest.d.ts +20 -0
- package/src/generated/FileChange.d.ts +20 -0
- package/src/generated/Finding.d.ts +40 -0
- package/src/generated/FindingActionType.d.ts +13 -0
- package/src/generated/FindingBatchCreate.d.ts +27 -0
- package/src/generated/FindingCategory.d.ts +25 -0
- package/src/generated/FindingCodeContext.d.ts +31 -0
- package/src/generated/FindingCreate.d.ts +52 -0
- package/src/generated/FindingDetail.d.ts +78 -0
- package/src/generated/FindingListResponse.d.ts +40 -0
- package/src/generated/FindingOutput.d.ts +36 -0
- package/src/generated/FindingSeverity.d.ts +14 -0
- package/src/generated/FindingStatus.d.ts +15 -0
- package/src/generated/FindingSummary.d.ts +53 -0
- package/src/generated/FindingUpdate.d.ts +33 -0
- package/src/generated/FindingUserInput.d.ts +27 -0
- package/src/generated/FindingsSummary.d.ts +47 -0
- package/src/generated/FlowEvent.d.ts +66 -0
- package/src/generated/FullRunnerStep.d.ts +144 -0
- package/src/generated/GUIElementChunk.d.ts +151 -0
- package/src/generated/GateEvaluationResult.d.ts +36 -0
- package/src/generated/HealthCheckUrl.d.ts +35 -0
- package/src/generated/HistoricalActionQuery.d.ts +42 -0
- package/src/generated/HistoricalActionResult.d.ts +57 -0
- package/src/generated/HttpConfig.d.ts +27 -0
- package/src/generated/HttpMethod.d.ts +13 -0
- package/src/generated/IdleCondition.d.ts +17 -0
- package/src/generated/ImplementFixesConfig.d.ts +25 -0
- package/src/generated/IndividualCheckResult.d.ts +50 -0
- package/src/generated/InitialStateRef.d.ts +23 -0
- package/src/generated/InitialStatesSource.d.ts +18 -0
- package/src/generated/IssueSeverity.d.ts +11 -0
- package/src/generated/IssueSource.d.ts +11 -0
- package/src/generated/IssueStatus.d.ts +11 -0
- package/src/generated/IssueType.d.ts +21 -0
- package/src/generated/IterationResult.d.ts +65 -0
- package/src/generated/IterationVerificationResults.d.ts +53 -0
- package/src/generated/JobItem.d.ts +31 -0
- package/src/generated/JobListResponse.d.ts +20 -0
- package/src/generated/JobStatus.d.ts +11 -0
- package/src/generated/JobSummary.d.ts +30 -0
- package/src/generated/LLMCostSummary.d.ts +38 -0
- package/src/generated/LLMMetrics.d.ts +42 -0
- package/src/generated/LogSourceSelection.d.ts +25 -0
- package/src/generated/LoopInstanceStatus.d.ts +28 -0
- package/src/generated/LoopPhase.d.ts +26 -0
- package/src/generated/MatchAdjustment.d.ts +23 -0
- package/src/generated/MatchLocation.d.ts +22 -0
- package/src/generated/MatchMethod.d.ts +11 -0
- package/src/generated/McpCallRecord.d.ts +35 -0
- package/src/generated/McpCallsResult.d.ts +44 -0
- package/src/generated/McpConnectionRef.d.ts +25 -0
- package/src/generated/McpServerConfig.d.ts +77 -0
- package/src/generated/McpServerStatus.d.ts +42 -0
- package/src/generated/McpToolCallResult.d.ts +38 -0
- package/src/generated/McpToolInfo.d.ts +23 -0
- package/src/generated/McpToolInputSchema.d.ts +34 -0
- package/src/generated/McpTransport.d.ts +15 -0
- package/src/generated/ModelCostBreakdown.d.ts +36 -0
- package/src/generated/ModelOverrideConfig.d.ts +47 -0
- package/src/generated/Monitor.d.ts +48 -0
- package/src/generated/MonitorPosition.d.ts +13 -0
- package/src/generated/MouseButton.d.ts +13 -0
- package/src/generated/MultiLoopConfig.d.ts +32 -0
- package/src/generated/MultiLoopEntry.d.ts +32 -0
- package/src/generated/MultiLoopStatus.d.ts +37 -0
- package/src/generated/NativeAccessibilityStep.d.ts +121 -0
- package/src/generated/NavigationResult.d.ts +40 -0
- package/src/generated/NewConstraintProposal.d.ts +20 -0
- package/src/generated/NextTaskInfo.d.ts +24 -0
- package/src/generated/NodeMetadata.d.ts +47 -0
- package/src/generated/NodeStatus.d.ts +11 -0
- package/src/generated/NodeType.d.ts +11 -0
- package/src/generated/OcrEngine.d.ts +11 -0
- package/src/generated/OlConfig.d.ts +48 -0
- package/src/generated/OrchestrationLoopConfig.d.ts +87 -0
- package/src/generated/OrchestrationLoopStatus.d.ts +59 -0
- package/src/generated/Outcome.d.ts +15 -0
- package/src/generated/OutputLine.d.ts +23 -0
- package/src/generated/OutputStream.d.ts +11 -0
- package/src/generated/OverrideCollection.d.ts +18 -0
- package/src/generated/Pagination.d.ts +28 -0
- package/src/generated/ParserType.d.ts +17 -0
- package/src/generated/PathElement.d.ts +17 -0
- package/src/generated/PathfindingRequest.d.ts +24 -0
- package/src/generated/PathfindingResult.d.ts +30 -0
- package/src/generated/PathfindingStep.d.ts +36 -0
- package/src/generated/PatternOptions.d.ts +32 -0
- package/src/generated/PipelineConfig.d.ts +31 -0
- package/src/generated/PlaybackFrameRequest.d.ts +21 -0
- package/src/generated/PlaywrightExecutionMode.d.ts +11 -0
- package/src/generated/Point.d.ts +20 -0
- package/src/generated/PollingConfig.d.ts +14 -0
- package/src/generated/ProcessConfig.d.ts +96 -0
- package/src/generated/ProcessState.d.ts +15 -0
- package/src/generated/ProcessStatus.d.ts +41 -0
- package/src/generated/PromptStep.d.ts +92 -0
- package/src/generated/PromptStepPhase.d.ts +13 -0
- package/src/generated/RAGDashboardStats.d.ts +26 -0
- package/src/generated/RagCompletionEvent.d.ts +25 -0
- package/src/generated/RagProcessingStatus.d.ts +11 -0
- package/src/generated/RagProgressEvent.d.ts +27 -0
- package/src/generated/ReadConfigResponse.d.ts +20 -0
- package/src/generated/ReflectionFixOutput.d.ts +20 -0
- package/src/generated/Region.d.ts +39 -0
- package/src/generated/RepositoryInactiveCondition.d.ts +24 -0
- package/src/generated/RepositoryWatch.d.ts +20 -0
- package/src/generated/ResolvedInitialStates.d.ts +29 -0
- package/src/generated/ResolvedInitialStatesResult.d.ts +40 -0
- package/src/generated/ResourceLimits.d.ts +33 -0
- package/src/generated/RestartProcessStep.d.ts +88 -0
- package/src/generated/RetryPolicy.d.ts +24 -0
- package/src/generated/RetrySpec.d.ts +24 -0
- package/src/generated/RoleCriterion.d.ts +14 -0
- package/src/generated/RootCauseCategory.d.ts +18 -0
- package/src/generated/RoutingRule.d.ts +38 -0
- package/src/generated/RunPromptRequest.d.ts +56 -0
- package/src/generated/RunPromptResponse.d.ts +50 -0
- package/src/generated/RunPromptResponseData.d.ts +20 -0
- package/src/generated/RunStatus.d.ts +11 -0
- package/src/generated/RunType.d.ts +11 -0
- package/src/generated/Runner.d.ts +81 -0
- package/src/generated/RunnerCrash.d.ts +32 -0
- package/src/generated/RunnerMetadata.d.ts +42 -0
- package/src/generated/RunnerStatus.d.ts +12 -0
- package/src/generated/RunnerUiError.d.ts +28 -0
- package/src/generated/RuntimeData.d.ts +40 -0
- package/src/generated/SaveWorkflowArtifactStep.d.ts +80 -0
- package/src/generated/ScheduleConditions.d.ts +29 -0
- package/src/generated/ScheduleExpression.d.ts +39 -0
- package/src/generated/ScheduledTask.d.ts +104 -0
- package/src/generated/ScheduledTaskStatus.d.ts +19 -0
- package/src/generated/ScheduledTaskType.d.ts +126 -0
- package/src/generated/SchedulerSettings.d.ts +28 -0
- package/src/generated/SchedulerStatus.d.ts +31 -0
- package/src/generated/ScreenshotAnnotation.d.ts +39 -0
- package/src/generated/ScreenshotAnnotationShape.d.ts +11 -0
- package/src/generated/ScreenshotType.d.ts +11 -0
- package/src/generated/ScrollDirection.d.ts +13 -0
- package/src/generated/SearchOptions.d.ts +33 -0
- package/src/generated/SearchResultItem.d.ts +19 -0
- package/src/generated/SearchStrategy.d.ts +14 -0
- package/src/generated/SemanticSearchRequest.d.ts +26 -0
- package/src/generated/SemanticSearchResponse.d.ts +21 -0
- package/src/generated/StageCondition.d.ts +37 -0
- package/src/generated/StageInput.d.ts +27 -0
- package/src/generated/StageOutput.d.ts +20 -0
- package/src/generated/StageTransition.d.ts +30 -0
- package/src/generated/StallDetectorConfig.d.ts +31 -0
- package/src/generated/StandardActionType.d.ts +40 -0
- package/src/generated/StateContext.d.ts +17 -0
- package/src/generated/StateDiscoveryResult.d.ts +104 -0
- package/src/generated/StateDiscoveryResultCreate.d.ts +65 -0
- package/src/generated/StateDiscoveryResultListResponse.d.ts +23 -0
- package/src/generated/StateDiscoveryResultSummary.d.ts +57 -0
- package/src/generated/StateDiscoveryResultUpdate.d.ts +47 -0
- package/src/generated/StateFilterItem.d.ts +18 -0
- package/src/generated/StateMachineConfig.d.ts +45 -0
- package/src/generated/StateMachineConfigCreate.d.ts +20 -0
- package/src/generated/StateMachineConfigFull.d.ts +67 -0
- package/src/generated/StateMachineConfigUpdate.d.ts +20 -0
- package/src/generated/StateMachineExport.d.ts +64 -0
- package/src/generated/StateMachineExportFormat.d.ts +39 -0
- package/src/generated/StateMachineImport.d.ts +25 -0
- package/src/generated/StateMachineState.d.ts +71 -0
- package/src/generated/StateMachineStateCreate.d.ts +52 -0
- package/src/generated/StateMachineStateUpdate.d.ts +48 -0
- package/src/generated/StateMachineTransition.d.ts +75 -0
- package/src/generated/StateMachineTransitionCreate.d.ts +53 -0
- package/src/generated/StateMachineTransitionUpdate.d.ts +53 -0
- package/src/generated/StateNodeData.d.ts +71 -0
- package/src/generated/StatesResponse.d.ts +19 -0
- package/src/generated/StdioConfig.d.ts +34 -0
- package/src/generated/StepExecutionConfig.d.ts +37 -0
- package/src/generated/StructuredFinding.d.ts +32 -0
- package/src/generated/StructuredOverride.d.ts +24 -0
- package/src/generated/StructuredSignal.d.ts +20 -0
- package/src/generated/SuccessCriterion.d.ts +57 -0
- package/src/generated/SummarizationConfig.d.ts +35 -0
- package/src/generated/TargetConfig.d.ts +108 -0
- package/src/generated/TaskCompletionResult.d.ts +90 -0
- package/src/generated/TaskExecutionRecord.d.ts +61 -0
- package/src/generated/TaskRun.d.ts +88 -0
- package/src/generated/TaskRunBackend.d.ts +86 -0
- package/src/generated/TaskRunBackendDetail.d.ts +99 -0
- package/src/generated/TaskRunCreate.d.ts +62 -0
- package/src/generated/TaskRunFilters.d.ts +38 -0
- package/src/generated/TaskRunFinding.d.ts +100 -0
- package/src/generated/TaskRunFindingActionType.d.ts +11 -0
- package/src/generated/TaskRunFindingCategory.d.ts +24 -0
- package/src/generated/TaskRunFindingCreate.d.ts +79 -0
- package/src/generated/TaskRunFindingFilters.d.ts +28 -0
- package/src/generated/TaskRunFindingSeverity.d.ts +11 -0
- package/src/generated/TaskRunFindingStatus.d.ts +11 -0
- package/src/generated/TaskRunFindingSummary.d.ts +34 -0
- package/src/generated/TaskRunFindingUpdate.d.ts +34 -0
- package/src/generated/TaskRunFindingsListResponse.d.ts +24 -0
- package/src/generated/TaskRunListResponse.d.ts +21 -0
- package/src/generated/TaskRunSession.d.ts +40 -0
- package/src/generated/TaskRunStatus.d.ts +11 -0
- package/src/generated/TaskRunUpdate.d.ts +47 -0
- package/src/generated/TaskType.d.ts +11 -0
- package/src/generated/TerminalExitEvent.d.ts +26 -0
- package/src/generated/TerminalInfo.d.ts +69 -0
- package/src/generated/TerminalOutputEvent.d.ts +29 -0
- package/src/generated/TestType.d.ts +11 -0
- package/src/generated/TextMatchType.d.ts +11 -0
- package/src/generated/TextSearchOptions.d.ts +30 -0
- package/src/generated/Ticket.d.ts +53 -0
- package/src/generated/TicketComment.d.ts +28 -0
- package/src/generated/TicketProviderConfig.d.ts +55 -0
- package/src/generated/TicketSource.d.ts +17 -0
- package/src/generated/TicketState.d.ts +15 -0
- package/src/generated/TimingInfo.d.ts +23 -0
- package/src/generated/TopMatch.d.ts +17 -0
- package/src/generated/TransitionAction.d.ts +93 -0
- package/src/generated/TransitionActionValue.d.ts +14 -0
- package/src/generated/TransitionEdgeData.d.ts +46 -0
- package/src/generated/TransitionExecutionResult.d.ts +30 -0
- package/src/generated/TransitionInfo.d.ts +29 -0
- package/src/generated/TransitionTriggerType.d.ts +13 -0
- package/src/generated/TreeEvent.d.ts +47 -0
- package/src/generated/TreeEventCreate.d.ts +30 -0
- package/src/generated/TreeEventListResponse.d.ts +30 -0
- package/src/generated/TreeEventResponse.d.ts +47 -0
- package/src/generated/TreeEventType.d.ts +20 -0
- package/src/generated/TreeNode.d.ts +54 -0
- package/src/generated/UIBridgeCapturedToast.d.ts +22 -0
- package/src/generated/UIBridgeComponent.d.ts +45 -0
- package/src/generated/UIBridgeElement.d.ts +62 -0
- package/src/generated/UIBridgeModalInfo.d.ts +40 -0
- package/src/generated/UIBridgeModalStack.d.ts +19 -0
- package/src/generated/UIBridgeSnapshot.d.ts +67 -0
- package/src/generated/UIBridgeToastContext.d.ts +17 -0
- package/src/generated/UIBridgeUndoContext.d.ts +19 -0
- package/src/generated/UiBridgeAction.d.ts +18 -0
- package/src/generated/UiBridgeAssertType.d.ts +11 -0
- package/src/generated/UiBridgeComparisonMode.d.ts +11 -0
- package/src/generated/UiBridgeDesignAuditStep.d.ts +76 -0
- package/src/generated/UiBridgeSeverity.d.ts +11 -0
- package/src/generated/UiBridgeStep.d.ts +127 -0
- package/src/generated/UiBridgeStepPhase.d.ts +14 -0
- package/src/generated/UiBridgeVisualAssertionStep.d.ts +97 -0
- package/src/generated/UnifiedStep.d.ts +57 -0
- package/src/generated/UnifiedWorkflow.d.ts +411 -0
- package/src/generated/UpdateMcpServerInput.d.ts +28 -0
- package/src/generated/UpdateOlConfigRequest.d.ts +32 -0
- package/src/generated/UpdateScheduledTaskRequest.d.ts +71 -0
- package/src/generated/ValidateConfigRequest.d.ts +16 -0
- package/src/generated/ValidateConfigResponse.d.ts +28 -0
- package/src/generated/VectorSearchResult.d.ts +48 -0
- package/src/generated/VerificationAgentContext.d.ts +25 -0
- package/src/generated/VerificationCategoryKind.d.ts +19 -0
- package/src/generated/VerificationMethod.d.ts +20 -0
- package/src/generated/VerificationPhaseResult.d.ts +63 -0
- package/src/generated/VerificationPlan.d.ts +43 -0
- package/src/generated/VerificationResult.d.ts +44 -0
- package/src/generated/VerificationResultResponse.d.ts +65 -0
- package/src/generated/VerificationResultsListResponse.d.ts +41 -0
- package/src/generated/VerificationStepDetails.d.ts +55 -0
- package/src/generated/VerificationStepResult.d.ts +68 -0
- package/src/generated/VgaAction.d.ts +61 -0
- package/src/generated/VgaActionKind.d.ts +14 -0
- package/src/generated/VgaAutomateStep.d.ts +110 -0
- package/src/generated/VirtualDesktop.d.ts +23 -0
- package/src/generated/VisualAssertionType.d.ts +11 -0
- package/src/generated/VisualComparisonResult.d.ts +40 -0
- package/src/generated/WaitOptions.d.ts +35 -0
- package/src/generated/WorkerCoordinationMessage.d.ts +93 -0
- package/src/generated/WorkerDomain.d.ts +29 -0
- package/src/generated/WorkerInstance.d.ts +62 -0
- package/src/generated/WorkerOutput.d.ts +53 -0
- package/src/generated/WorkerSignal.d.ts +48 -0
- package/src/generated/WorkerStatus.d.ts +11 -0
- package/src/generated/WorkflowArchitecture.d.ts +16 -0
- package/src/generated/WorkflowFixupMode.d.ts +11 -0
- package/src/generated/WorkflowFixupStep.d.ts +85 -0
- package/src/generated/WorkflowInfo.d.ts +28 -0
- package/src/generated/WorkflowMetadata.d.ts +44 -0
- package/src/generated/WorkflowRefStep.d.ts +94 -0
- package/src/generated/WorkflowStage.d.ts +126 -0
- package/src/generated/WorkflowStep.d.ts +80 -0
- package/src/generated/WorkflowStepPhase.d.ts +11 -0
- package/src/generated/WriteConfigRequest.d.ts +20 -0
- package/src/generated/WriteConfigResponse.d.ts +24 -0
- package/src/generated/index.ts +421 -0
- package/src/geometry/_api.ts +16 -0
- package/src/geometry/index.ts +1 -0
- package/src/index.ts +73 -0
- package/src/known-issues/index.ts +179 -0
- package/src/library/_api.ts +326 -0
- package/src/library/index.ts +1 -0
- package/src/rag/_api.ts +47 -0
- package/src/rag/index.ts +1 -0
- package/src/render-log.ts +371 -0
- package/src/runner/_api.ts +14 -0
- package/src/runner/index.ts +1 -0
- package/src/scheduler/_api.ts +21 -0
- package/src/scheduler/index.ts +1 -0
- package/src/state-machine/_api.ts +145 -0
- package/src/state-machine/index.ts +1 -0
- package/src/targets/_api.ts +47 -0
- package/src/targets/index.ts +1 -0
- package/src/task-run/_api.ts +108 -0
- package/src/task-run/index.ts +1 -0
- package/src/tree-events/_api.ts +42 -0
- package/src/tree-events/index.ts +1 -0
- package/src/ui-bridge-ir/__tests__/legacy-roster.test.ts +182 -0
- package/src/ui-bridge-ir/__tests__/projection.test.ts +1029 -0
- package/src/ui-bridge-ir/adapter.ts +220 -0
- package/src/ui-bridge-ir/document.ts +43 -0
- package/src/ui-bridge-ir/element-criteria.ts +48 -0
- package/src/ui-bridge-ir/index.ts +23 -0
- package/src/ui-bridge-ir/ir.schema.json +210 -0
- package/src/ui-bridge-ir/primitives.ts +102 -0
- package/src/ui-bridge-ir/projection.ts +863 -0
- package/src/ui-bridge-ir/state.ts +90 -0
- package/src/ui-bridge-ir/transition.ts +92 -0
- package/src/workflow/_api.ts +474 -0
- package/src/workflow/action-plan.ts +208 -0
- package/src/workflow/index.ts +1 -0
- package/src/workflow/skill.ts +152 -0
|
@@ -0,0 +1,1269 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
5
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Kind of execution run being reported.
|
|
10
|
+
*/
|
|
11
|
+
type RunType$1 = "qa_test" | "integration_test" | "live_automation" | "recording" | "debug";
|
|
12
|
+
|
|
13
|
+
/* eslint-disable */
|
|
14
|
+
/**
|
|
15
|
+
* This file was automatically generated.
|
|
16
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
17
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Lifecycle status of an execution run.
|
|
22
|
+
*/
|
|
23
|
+
type RunStatus$1 = "pending" | "running" | "completed" | "failed" | "timeout" | "cancelled" | "paused";
|
|
24
|
+
|
|
25
|
+
/* eslint-disable */
|
|
26
|
+
/**
|
|
27
|
+
* This file was automatically generated.
|
|
28
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
29
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
30
|
+
*/
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Outcome of a single action within a run.
|
|
34
|
+
*/
|
|
35
|
+
type ActionStatus$1 = "success" | "failed" | "timeout" | "skipped" | "error" | "pending";
|
|
36
|
+
|
|
37
|
+
/* eslint-disable */
|
|
38
|
+
/**
|
|
39
|
+
* This file was automatically generated.
|
|
40
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
41
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
42
|
+
*/
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Type of action executed.
|
|
46
|
+
*
|
|
47
|
+
* Covers vision, input, state-machine, control-flow, utility, AI, and custom
|
|
48
|
+
* action kinds. Variants are serialized as snake_case strings.
|
|
49
|
+
*/
|
|
50
|
+
type ExecutionActionType =
|
|
51
|
+
| "find"
|
|
52
|
+
| "find_all"
|
|
53
|
+
| "wait_for"
|
|
54
|
+
| "wait_until_gone"
|
|
55
|
+
| "click"
|
|
56
|
+
| "double_click"
|
|
57
|
+
| "right_click"
|
|
58
|
+
| "type"
|
|
59
|
+
| "press_key"
|
|
60
|
+
| "hotkey"
|
|
61
|
+
| "scroll"
|
|
62
|
+
| "drag"
|
|
63
|
+
| "go_to_state"
|
|
64
|
+
| "transition"
|
|
65
|
+
| "verify_state"
|
|
66
|
+
| "conditional"
|
|
67
|
+
| "loop"
|
|
68
|
+
| "parallel"
|
|
69
|
+
| "sequence"
|
|
70
|
+
| "wait"
|
|
71
|
+
| "screenshot"
|
|
72
|
+
| "log"
|
|
73
|
+
| "assert"
|
|
74
|
+
| "ai_prompt"
|
|
75
|
+
| "run_prompt_sequence"
|
|
76
|
+
| "custom";
|
|
77
|
+
|
|
78
|
+
/* eslint-disable */
|
|
79
|
+
/**
|
|
80
|
+
* This file was automatically generated.
|
|
81
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
82
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
83
|
+
*/
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Category of error that caused an action to fail.
|
|
87
|
+
*/
|
|
88
|
+
type ErrorType$1 =
|
|
89
|
+
| "element_not_found"
|
|
90
|
+
| "timeout"
|
|
91
|
+
| "assertion_failed"
|
|
92
|
+
| "crash"
|
|
93
|
+
| "network_error"
|
|
94
|
+
| "validation_error"
|
|
95
|
+
| "other";
|
|
96
|
+
|
|
97
|
+
/* eslint-disable */
|
|
98
|
+
/**
|
|
99
|
+
* This file was automatically generated.
|
|
100
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
101
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
102
|
+
*/
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Severity of an issue reported against a run.
|
|
106
|
+
*/
|
|
107
|
+
type IssueSeverity$1 = "critical" | "high" | "medium" | "low" | "informational";
|
|
108
|
+
|
|
109
|
+
/* eslint-disable */
|
|
110
|
+
/**
|
|
111
|
+
* This file was automatically generated.
|
|
112
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
113
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
114
|
+
*/
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Kind of screenshot captured.
|
|
118
|
+
*/
|
|
119
|
+
type ScreenshotType$1 = "error" | "success" | "manual" | "periodic" | "action_result" | "state_verification";
|
|
120
|
+
|
|
121
|
+
/* eslint-disable */
|
|
122
|
+
/**
|
|
123
|
+
* This file was automatically generated.
|
|
124
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
125
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
126
|
+
*/
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Kind of shape overlaid on a screenshot annotation.
|
|
130
|
+
*/
|
|
131
|
+
type ScreenshotAnnotationShape = "box" | "circle" | "arrow" | "text";
|
|
132
|
+
|
|
133
|
+
/* eslint-disable */
|
|
134
|
+
/**
|
|
135
|
+
* This file was automatically generated.
|
|
136
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
137
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
138
|
+
*/
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Information about the runner environment that produced the run.
|
|
142
|
+
*/
|
|
143
|
+
interface RunnerMetadata {
|
|
144
|
+
/**
|
|
145
|
+
* CPU description.
|
|
146
|
+
*/
|
|
147
|
+
cpuInfo?: string | null;
|
|
148
|
+
/**
|
|
149
|
+
* Arbitrary additional runner context.
|
|
150
|
+
*/
|
|
151
|
+
extra?: {
|
|
152
|
+
[k: string]: unknown;
|
|
153
|
+
} | null;
|
|
154
|
+
/**
|
|
155
|
+
* Host machine name.
|
|
156
|
+
*/
|
|
157
|
+
hostname: string;
|
|
158
|
+
/**
|
|
159
|
+
* Installed system memory in megabytes.
|
|
160
|
+
*/
|
|
161
|
+
memoryMb?: number | null;
|
|
162
|
+
/**
|
|
163
|
+
* Operating system identifier (e.g., `"windows"`, `"macos"`, `"linux"`).
|
|
164
|
+
*/
|
|
165
|
+
os: string;
|
|
166
|
+
/**
|
|
167
|
+
* Semantic version of the runner binary.
|
|
168
|
+
*/
|
|
169
|
+
runnerVersion: string;
|
|
170
|
+
/**
|
|
171
|
+
* Screen resolution as a free-form string (e.g., `"1920x1080"`).
|
|
172
|
+
*/
|
|
173
|
+
screenResolution?: string | null;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/* eslint-disable */
|
|
177
|
+
/**
|
|
178
|
+
* This file was automatically generated.
|
|
179
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
180
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
181
|
+
*/
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Information about the workflow being executed in the run.
|
|
185
|
+
*/
|
|
186
|
+
interface WorkflowMetadata {
|
|
187
|
+
/**
|
|
188
|
+
* Workflow description.
|
|
189
|
+
*/
|
|
190
|
+
description?: string | null;
|
|
191
|
+
/**
|
|
192
|
+
* IDs of the states that are active when the workflow starts.
|
|
193
|
+
*/
|
|
194
|
+
initialStateIds?: string[] | null;
|
|
195
|
+
/**
|
|
196
|
+
* Free-form tags attached to the workflow.
|
|
197
|
+
*/
|
|
198
|
+
tags?: string[] | null;
|
|
199
|
+
/**
|
|
200
|
+
* Number of states declared by the workflow.
|
|
201
|
+
*/
|
|
202
|
+
totalStates?: number | null;
|
|
203
|
+
/**
|
|
204
|
+
* Number of transitions declared by the workflow.
|
|
205
|
+
*/
|
|
206
|
+
totalTransitions?: number | null;
|
|
207
|
+
/**
|
|
208
|
+
* Workflow identifier.
|
|
209
|
+
*/
|
|
210
|
+
workflowId: string;
|
|
211
|
+
/**
|
|
212
|
+
* Human-readable workflow name.
|
|
213
|
+
*/
|
|
214
|
+
workflowName: string;
|
|
215
|
+
/**
|
|
216
|
+
* Workflow version, if tracked.
|
|
217
|
+
*/
|
|
218
|
+
workflowVersion?: string | null;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/* eslint-disable */
|
|
222
|
+
/**
|
|
223
|
+
* This file was automatically generated.
|
|
224
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
225
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
226
|
+
*/
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Aggregate execution statistics for a completed run.
|
|
230
|
+
*/
|
|
231
|
+
interface ExecutionStats {
|
|
232
|
+
/**
|
|
233
|
+
* Mean per-action duration, in milliseconds.
|
|
234
|
+
*/
|
|
235
|
+
avgActionDurationMs?: number | null;
|
|
236
|
+
/**
|
|
237
|
+
* Number of actions with [`ActionStatus::Failed`].
|
|
238
|
+
*/
|
|
239
|
+
failedActions: number;
|
|
240
|
+
/**
|
|
241
|
+
* Number of actions that used an LLM.
|
|
242
|
+
*/
|
|
243
|
+
llmActionCount?: number | null;
|
|
244
|
+
/**
|
|
245
|
+
* Number of actions with [`ActionStatus::Skipped`].
|
|
246
|
+
*/
|
|
247
|
+
skippedActions: number;
|
|
248
|
+
/**
|
|
249
|
+
* Number of actions with [`ActionStatus::Success`].
|
|
250
|
+
*/
|
|
251
|
+
successfulActions: number;
|
|
252
|
+
/**
|
|
253
|
+
* Number of actions with [`ActionStatus::Timeout`].
|
|
254
|
+
*/
|
|
255
|
+
timeoutActions: number;
|
|
256
|
+
/**
|
|
257
|
+
* Total number of actions executed.
|
|
258
|
+
*/
|
|
259
|
+
totalActions: number;
|
|
260
|
+
/**
|
|
261
|
+
* Aggregate estimated cost in USD across all LLM actions.
|
|
262
|
+
*/
|
|
263
|
+
totalCostUsd?: number | null;
|
|
264
|
+
/**
|
|
265
|
+
* Sum of all action durations, in milliseconds.
|
|
266
|
+
*/
|
|
267
|
+
totalDurationMs: number;
|
|
268
|
+
/**
|
|
269
|
+
* Aggregate input tokens across all LLM actions.
|
|
270
|
+
*/
|
|
271
|
+
totalTokensInput?: number | null;
|
|
272
|
+
/**
|
|
273
|
+
* Aggregate output tokens across all LLM actions.
|
|
274
|
+
*/
|
|
275
|
+
totalTokensOutput?: number | null;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/* eslint-disable */
|
|
279
|
+
/**
|
|
280
|
+
* This file was automatically generated.
|
|
281
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
282
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
283
|
+
*/
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Coverage data computed for a workflow run.
|
|
287
|
+
*/
|
|
288
|
+
interface CoverageData {
|
|
289
|
+
/**
|
|
290
|
+
* Overall coverage as a percentage in the range `[0.0, 100.0]`.
|
|
291
|
+
*/
|
|
292
|
+
coveragePercentage: number;
|
|
293
|
+
/**
|
|
294
|
+
* Per-state visit counts, keyed by state ID.
|
|
295
|
+
*/
|
|
296
|
+
stateVisitCounts?: {
|
|
297
|
+
[k: string]: number;
|
|
298
|
+
} | null;
|
|
299
|
+
/**
|
|
300
|
+
* Number of states visited at least once.
|
|
301
|
+
*/
|
|
302
|
+
statesCovered: number;
|
|
303
|
+
/**
|
|
304
|
+
* Total number of states in the workflow.
|
|
305
|
+
*/
|
|
306
|
+
totalStates: number;
|
|
307
|
+
/**
|
|
308
|
+
* Total number of transitions in the workflow.
|
|
309
|
+
*/
|
|
310
|
+
totalTransitions: number;
|
|
311
|
+
/**
|
|
312
|
+
* Per-transition execution counts, keyed by transition ID.
|
|
313
|
+
*/
|
|
314
|
+
transitionExecutionCounts?: {
|
|
315
|
+
[k: string]: number;
|
|
316
|
+
} | null;
|
|
317
|
+
/**
|
|
318
|
+
* Number of transitions executed at least once.
|
|
319
|
+
*/
|
|
320
|
+
transitionsCovered: number;
|
|
321
|
+
/**
|
|
322
|
+
* IDs of states that were not visited.
|
|
323
|
+
*/
|
|
324
|
+
uncoveredStates?: string[] | null;
|
|
325
|
+
/**
|
|
326
|
+
* IDs of transitions that were not executed.
|
|
327
|
+
*/
|
|
328
|
+
uncoveredTransitions?: string[] | null;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/* eslint-disable */
|
|
332
|
+
/**
|
|
333
|
+
* This file was automatically generated.
|
|
334
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
335
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
336
|
+
*/
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Token usage and cost metrics for an LLM-powered action.
|
|
340
|
+
*/
|
|
341
|
+
interface LLMMetrics {
|
|
342
|
+
/**
|
|
343
|
+
* Estimated cost in USD.
|
|
344
|
+
*/
|
|
345
|
+
costUsd?: number | null;
|
|
346
|
+
/**
|
|
347
|
+
* Generation parameters (temperature, max_tokens, etc.).
|
|
348
|
+
*/
|
|
349
|
+
generationParams?: {
|
|
350
|
+
[k: string]: unknown;
|
|
351
|
+
} | null;
|
|
352
|
+
/**
|
|
353
|
+
* LLM model identifier.
|
|
354
|
+
*/
|
|
355
|
+
model?: string | null;
|
|
356
|
+
/**
|
|
357
|
+
* Provider name (e.g., `"anthropic"`, `"openai"`).
|
|
358
|
+
*/
|
|
359
|
+
provider?: string | null;
|
|
360
|
+
/**
|
|
361
|
+
* Input/prompt token count.
|
|
362
|
+
*/
|
|
363
|
+
tokensInput?: number | null;
|
|
364
|
+
/**
|
|
365
|
+
* Completion token count.
|
|
366
|
+
*/
|
|
367
|
+
tokensOutput?: number | null;
|
|
368
|
+
/**
|
|
369
|
+
* Computed total token count.
|
|
370
|
+
*/
|
|
371
|
+
tokensTotal?: number | null;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
/* eslint-disable */
|
|
375
|
+
/**
|
|
376
|
+
* This file was automatically generated.
|
|
377
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
378
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
379
|
+
*/
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* Request payload for creating a new execution run.
|
|
385
|
+
*/
|
|
386
|
+
interface ExecutionRunCreate {
|
|
387
|
+
/**
|
|
388
|
+
* Run configuration bag (opaque to this layer).
|
|
389
|
+
*/
|
|
390
|
+
configuration?: {
|
|
391
|
+
[k: string]: unknown;
|
|
392
|
+
} | null;
|
|
393
|
+
/**
|
|
394
|
+
* Optional free-form description.
|
|
395
|
+
*/
|
|
396
|
+
description?: string | null;
|
|
397
|
+
/**
|
|
398
|
+
* Owning project ID.
|
|
399
|
+
*/
|
|
400
|
+
projectId: string;
|
|
401
|
+
/**
|
|
402
|
+
* Human-readable run name.
|
|
403
|
+
*/
|
|
404
|
+
runName: string;
|
|
405
|
+
runType: RunType$1;
|
|
406
|
+
runnerMetadata: RunnerMetadata;
|
|
407
|
+
/**
|
|
408
|
+
* Workflow metadata, if the run executes a workflow.
|
|
409
|
+
*/
|
|
410
|
+
workflowMetadata?: WorkflowMetadata | null;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/* eslint-disable */
|
|
414
|
+
/**
|
|
415
|
+
* This file was automatically generated.
|
|
416
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
417
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
418
|
+
*/
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
* Response envelope returned when a run is created or fetched.
|
|
424
|
+
*/
|
|
425
|
+
interface ExecutionRunResponse {
|
|
426
|
+
/**
|
|
427
|
+
* Total duration in seconds, if the run has ended.
|
|
428
|
+
*/
|
|
429
|
+
durationSeconds?: number | null;
|
|
430
|
+
/**
|
|
431
|
+
* ISO 8601 timestamp when the run ended, if it has ended.
|
|
432
|
+
*/
|
|
433
|
+
endedAt?: string | null;
|
|
434
|
+
/**
|
|
435
|
+
* Owning project ID.
|
|
436
|
+
*/
|
|
437
|
+
projectId: string;
|
|
438
|
+
/**
|
|
439
|
+
* Assigned run identifier.
|
|
440
|
+
*/
|
|
441
|
+
runId: string;
|
|
442
|
+
/**
|
|
443
|
+
* Human-readable run name.
|
|
444
|
+
*/
|
|
445
|
+
runName: string;
|
|
446
|
+
runType: RunType$1;
|
|
447
|
+
/**
|
|
448
|
+
* ISO 8601 timestamp when the run started.
|
|
449
|
+
*/
|
|
450
|
+
startedAt: string;
|
|
451
|
+
status: RunStatus$1;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
/* eslint-disable */
|
|
455
|
+
/**
|
|
456
|
+
* This file was automatically generated.
|
|
457
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
458
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
459
|
+
*/
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* Pixel coordinates and optional size of a matched pattern.
|
|
463
|
+
*
|
|
464
|
+
* Inline object on [`ActionExecutionCreate::match_location`]. Lifted to a
|
|
465
|
+
* named struct so it round-trips through JSON Schema.
|
|
466
|
+
*/
|
|
467
|
+
interface ExecutionMatchLocation {
|
|
468
|
+
/**
|
|
469
|
+
* Match height in pixels.
|
|
470
|
+
*/
|
|
471
|
+
height?: number | null;
|
|
472
|
+
/**
|
|
473
|
+
* Match width in pixels.
|
|
474
|
+
*/
|
|
475
|
+
width?: number | null;
|
|
476
|
+
/**
|
|
477
|
+
* X coordinate in pixels.
|
|
478
|
+
*/
|
|
479
|
+
x: number;
|
|
480
|
+
/**
|
|
481
|
+
* Y coordinate in pixels.
|
|
482
|
+
*/
|
|
483
|
+
y: number;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
/* eslint-disable */
|
|
487
|
+
/**
|
|
488
|
+
* This file was automatically generated.
|
|
489
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
490
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
491
|
+
*/
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* Request payload for reporting a single action execution.
|
|
497
|
+
*
|
|
498
|
+
* Usually submitted as part of a batch; see [`ActionExecutionResponse`].
|
|
499
|
+
*/
|
|
500
|
+
interface ActionExecutionCreate {
|
|
501
|
+
/**
|
|
502
|
+
* Human-readable action name.
|
|
503
|
+
*/
|
|
504
|
+
actionName: string;
|
|
505
|
+
actionType: ExecutionActionType;
|
|
506
|
+
/**
|
|
507
|
+
* IDs of states active when the action ran.
|
|
508
|
+
*/
|
|
509
|
+
activeStates?: string[] | null;
|
|
510
|
+
/**
|
|
511
|
+
* ISO 8601 timestamp when the action completed.
|
|
512
|
+
*/
|
|
513
|
+
completedAt: string;
|
|
514
|
+
/**
|
|
515
|
+
* Confidence score of the match in the range `[0.0, 1.0]`.
|
|
516
|
+
*/
|
|
517
|
+
confidenceScore?: number | null;
|
|
518
|
+
/**
|
|
519
|
+
* Action duration in milliseconds.
|
|
520
|
+
*/
|
|
521
|
+
durationMs: number;
|
|
522
|
+
/**
|
|
523
|
+
* Error message if the action failed.
|
|
524
|
+
*/
|
|
525
|
+
errorMessage?: string | null;
|
|
526
|
+
/**
|
|
527
|
+
* Captured stack trace, if any.
|
|
528
|
+
*/
|
|
529
|
+
errorStack?: string | null;
|
|
530
|
+
/**
|
|
531
|
+
* Category of error, if any.
|
|
532
|
+
*/
|
|
533
|
+
errorType?: ErrorType$1 | null;
|
|
534
|
+
/**
|
|
535
|
+
* Source state ID for state-machine actions.
|
|
536
|
+
*/
|
|
537
|
+
fromState?: string | null;
|
|
538
|
+
/**
|
|
539
|
+
* Opaque input data captured for the action.
|
|
540
|
+
*/
|
|
541
|
+
inputData?: {
|
|
542
|
+
[k: string]: unknown;
|
|
543
|
+
} | null;
|
|
544
|
+
/**
|
|
545
|
+
* LLM token and cost metrics, if the action used an LLM.
|
|
546
|
+
*/
|
|
547
|
+
llmMetrics?: LLMMetrics | null;
|
|
548
|
+
/**
|
|
549
|
+
* Pixel location of the match.
|
|
550
|
+
*/
|
|
551
|
+
matchLocation?: ExecutionMatchLocation | null;
|
|
552
|
+
/**
|
|
553
|
+
* Opaque additional metadata.
|
|
554
|
+
*/
|
|
555
|
+
metadata?: {
|
|
556
|
+
[k: string]: unknown;
|
|
557
|
+
} | null;
|
|
558
|
+
/**
|
|
559
|
+
* Opaque output data produced by the action.
|
|
560
|
+
*/
|
|
561
|
+
outputData?: {
|
|
562
|
+
[k: string]: unknown;
|
|
563
|
+
} | null;
|
|
564
|
+
/**
|
|
565
|
+
* ID of a parent action, if this is a sub-action.
|
|
566
|
+
*/
|
|
567
|
+
parentActionId?: string | null;
|
|
568
|
+
/**
|
|
569
|
+
* Parent action ID for child actions within a sequence.
|
|
570
|
+
*/
|
|
571
|
+
parentId?: string | null;
|
|
572
|
+
/**
|
|
573
|
+
* ID of the pattern the action targeted.
|
|
574
|
+
*/
|
|
575
|
+
patternId?: string | null;
|
|
576
|
+
/**
|
|
577
|
+
* Human-readable pattern name.
|
|
578
|
+
*/
|
|
579
|
+
patternName?: string | null;
|
|
580
|
+
/**
|
|
581
|
+
* ID of a screenshot associated with the action.
|
|
582
|
+
*/
|
|
583
|
+
screenshotId?: string | null;
|
|
584
|
+
/**
|
|
585
|
+
* Zero-based sequence number of the action within the run.
|
|
586
|
+
*/
|
|
587
|
+
sequenceNumber: number;
|
|
588
|
+
/**
|
|
589
|
+
* Span type for tracing (e.g., `"llm"`, `"tool"`, `"agent"`).
|
|
590
|
+
*/
|
|
591
|
+
spanType?: string | null;
|
|
592
|
+
/**
|
|
593
|
+
* ISO 8601 timestamp when the action started.
|
|
594
|
+
*/
|
|
595
|
+
startedAt: string;
|
|
596
|
+
status: ActionStatus$1;
|
|
597
|
+
/**
|
|
598
|
+
* Destination state ID for state-machine actions.
|
|
599
|
+
*/
|
|
600
|
+
toState?: string | null;
|
|
601
|
+
/**
|
|
602
|
+
* Trace ID correlating related actions.
|
|
603
|
+
*/
|
|
604
|
+
traceId?: string | null;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
/* eslint-disable */
|
|
608
|
+
/**
|
|
609
|
+
* This file was automatically generated.
|
|
610
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
611
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
612
|
+
*/
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Response envelope returned after reporting action executions.
|
|
616
|
+
*/
|
|
617
|
+
interface ActionExecutionResponse {
|
|
618
|
+
/**
|
|
619
|
+
* Assigned action IDs, in the same order as the submitted batch.
|
|
620
|
+
*/
|
|
621
|
+
actionIds?: string[] | null;
|
|
622
|
+
/**
|
|
623
|
+
* Number of actions recorded.
|
|
624
|
+
*/
|
|
625
|
+
recorded: number;
|
|
626
|
+
/**
|
|
627
|
+
* Associated run ID.
|
|
628
|
+
*/
|
|
629
|
+
runId: string;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
/* eslint-disable */
|
|
633
|
+
/**
|
|
634
|
+
* This file was automatically generated.
|
|
635
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
636
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
637
|
+
*/
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* Annotation overlaid on a screenshot (box, circle, arrow, or text).
|
|
643
|
+
*/
|
|
644
|
+
interface ScreenshotAnnotation {
|
|
645
|
+
/**
|
|
646
|
+
* CSS-style color string (e.g., `"#FF0000"`).
|
|
647
|
+
*/
|
|
648
|
+
color?: string | null;
|
|
649
|
+
/**
|
|
650
|
+
* Annotation height in pixels.
|
|
651
|
+
*/
|
|
652
|
+
height?: number | null;
|
|
653
|
+
/**
|
|
654
|
+
* Free-form label for the annotation.
|
|
655
|
+
*/
|
|
656
|
+
label?: string | null;
|
|
657
|
+
type: ScreenshotAnnotationShape;
|
|
658
|
+
/**
|
|
659
|
+
* Annotation width in pixels.
|
|
660
|
+
*/
|
|
661
|
+
width?: number | null;
|
|
662
|
+
/**
|
|
663
|
+
* X coordinate in pixels.
|
|
664
|
+
*/
|
|
665
|
+
x: number;
|
|
666
|
+
/**
|
|
667
|
+
* Y coordinate in pixels.
|
|
668
|
+
*/
|
|
669
|
+
y: number;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
/* eslint-disable */
|
|
673
|
+
/**
|
|
674
|
+
* This file was automatically generated.
|
|
675
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
676
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
677
|
+
*/
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* Request payload describing a screenshot being uploaded.
|
|
683
|
+
*/
|
|
684
|
+
interface ExecutionScreenshotCreate {
|
|
685
|
+
/**
|
|
686
|
+
* Sequence number of the associated action, if any.
|
|
687
|
+
*/
|
|
688
|
+
actionSequenceNumber?: number | null;
|
|
689
|
+
/**
|
|
690
|
+
* IDs of states active when the screenshot was taken.
|
|
691
|
+
*/
|
|
692
|
+
activeStates?: string[] | null;
|
|
693
|
+
/**
|
|
694
|
+
* Overlaid annotations.
|
|
695
|
+
*/
|
|
696
|
+
annotations?: ScreenshotAnnotation[] | null;
|
|
697
|
+
/**
|
|
698
|
+
* Image height in pixels.
|
|
699
|
+
*/
|
|
700
|
+
height: number;
|
|
701
|
+
/**
|
|
702
|
+
* Opaque additional metadata.
|
|
703
|
+
*/
|
|
704
|
+
metadata?: {
|
|
705
|
+
[k: string]: unknown;
|
|
706
|
+
} | null;
|
|
707
|
+
/**
|
|
708
|
+
* Client-generated screenshot identifier.
|
|
709
|
+
*/
|
|
710
|
+
screenshotId: string;
|
|
711
|
+
screenshotType: ScreenshotType$1;
|
|
712
|
+
/**
|
|
713
|
+
* Sequence number of the screenshot within the run.
|
|
714
|
+
*/
|
|
715
|
+
sequenceNumber: number;
|
|
716
|
+
/**
|
|
717
|
+
* State ID active when the screenshot was taken.
|
|
718
|
+
*/
|
|
719
|
+
state?: string | null;
|
|
720
|
+
/**
|
|
721
|
+
* ISO 8601 timestamp when the screenshot was taken.
|
|
722
|
+
*/
|
|
723
|
+
timestamp: string;
|
|
724
|
+
/**
|
|
725
|
+
* Image width in pixels.
|
|
726
|
+
*/
|
|
727
|
+
width: number;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
/* eslint-disable */
|
|
731
|
+
/**
|
|
732
|
+
* This file was automatically generated.
|
|
733
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
734
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
735
|
+
*/
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* Response envelope returned after uploading a screenshot.
|
|
739
|
+
*/
|
|
740
|
+
interface ExecutionScreenshotResponse {
|
|
741
|
+
/**
|
|
742
|
+
* File size in bytes.
|
|
743
|
+
*/
|
|
744
|
+
fileSizeBytes: number;
|
|
745
|
+
/**
|
|
746
|
+
* URL to the full-size image.
|
|
747
|
+
*/
|
|
748
|
+
imageUrl: string;
|
|
749
|
+
/**
|
|
750
|
+
* Associated run ID.
|
|
751
|
+
*/
|
|
752
|
+
runId: string;
|
|
753
|
+
/**
|
|
754
|
+
* Assigned screenshot identifier.
|
|
755
|
+
*/
|
|
756
|
+
screenshotId: string;
|
|
757
|
+
/**
|
|
758
|
+
* URL to a thumbnail image, if generated.
|
|
759
|
+
*/
|
|
760
|
+
thumbnailUrl?: string | null;
|
|
761
|
+
/**
|
|
762
|
+
* ISO 8601 timestamp when the image was uploaded.
|
|
763
|
+
*/
|
|
764
|
+
uploadedAt: string;
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
/* eslint-disable */
|
|
768
|
+
/**
|
|
769
|
+
* This file was automatically generated.
|
|
770
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
771
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
772
|
+
*/
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* Request payload for reporting an issue observed during a run.
|
|
778
|
+
*/
|
|
779
|
+
interface ExecutionIssueCreate {
|
|
780
|
+
/**
|
|
781
|
+
* Sequence number of the associated action, if any.
|
|
782
|
+
*/
|
|
783
|
+
actionSequenceNumber?: number | null;
|
|
784
|
+
/**
|
|
785
|
+
* Actual observed behavior.
|
|
786
|
+
*/
|
|
787
|
+
actualBehavior?: string | null;
|
|
788
|
+
/**
|
|
789
|
+
* Full issue description.
|
|
790
|
+
*/
|
|
791
|
+
description: string;
|
|
792
|
+
/**
|
|
793
|
+
* Expected behavior.
|
|
794
|
+
*/
|
|
795
|
+
expectedBehavior?: string | null;
|
|
796
|
+
/**
|
|
797
|
+
* Free-form issue type label (e.g., `"visual_regression"`, `"flaky"`).
|
|
798
|
+
*/
|
|
799
|
+
issueType: string;
|
|
800
|
+
/**
|
|
801
|
+
* Opaque additional metadata.
|
|
802
|
+
*/
|
|
803
|
+
metadata?: {
|
|
804
|
+
[k: string]: unknown;
|
|
805
|
+
} | null;
|
|
806
|
+
/**
|
|
807
|
+
* Steps to reproduce the issue.
|
|
808
|
+
*/
|
|
809
|
+
reproductionSteps?: string[] | null;
|
|
810
|
+
/**
|
|
811
|
+
* IDs of screenshots illustrating the issue.
|
|
812
|
+
*/
|
|
813
|
+
screenshotIds?: string[] | null;
|
|
814
|
+
severity: IssueSeverity$1;
|
|
815
|
+
/**
|
|
816
|
+
* State ID active when the issue was observed.
|
|
817
|
+
*/
|
|
818
|
+
state?: string | null;
|
|
819
|
+
/**
|
|
820
|
+
* Short human-readable title.
|
|
821
|
+
*/
|
|
822
|
+
title: string;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
/* eslint-disable */
|
|
826
|
+
/**
|
|
827
|
+
* This file was automatically generated.
|
|
828
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
829
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
830
|
+
*/
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* Response envelope returned after reporting issues.
|
|
834
|
+
*/
|
|
835
|
+
interface ExecutionIssueResponse {
|
|
836
|
+
/**
|
|
837
|
+
* Assigned issue IDs, in the same order as the submitted batch.
|
|
838
|
+
*/
|
|
839
|
+
issueIds?: string[] | null;
|
|
840
|
+
/**
|
|
841
|
+
* Number of issues recorded.
|
|
842
|
+
*/
|
|
843
|
+
recorded: number;
|
|
844
|
+
/**
|
|
845
|
+
* Associated run ID.
|
|
846
|
+
*/
|
|
847
|
+
runId: string;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
/* eslint-disable */
|
|
851
|
+
/**
|
|
852
|
+
* This file was automatically generated.
|
|
853
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
854
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
855
|
+
*/
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* Request payload for marking a run complete.
|
|
861
|
+
*/
|
|
862
|
+
interface ExecutionRunComplete {
|
|
863
|
+
/**
|
|
864
|
+
* Coverage data, if the run executed a workflow.
|
|
865
|
+
*/
|
|
866
|
+
coverage?: CoverageData | null;
|
|
867
|
+
/**
|
|
868
|
+
* ISO 8601 timestamp when the run ended.
|
|
869
|
+
*/
|
|
870
|
+
endedAt: string;
|
|
871
|
+
/**
|
|
872
|
+
* Error message if the run failed.
|
|
873
|
+
*/
|
|
874
|
+
errorMessage?: string | null;
|
|
875
|
+
stats: ExecutionStats;
|
|
876
|
+
status: RunStatus$1;
|
|
877
|
+
/**
|
|
878
|
+
* Free-form run summary.
|
|
879
|
+
*/
|
|
880
|
+
summary?: string | null;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
/* eslint-disable */
|
|
884
|
+
/**
|
|
885
|
+
* This file was automatically generated.
|
|
886
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
887
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
888
|
+
*/
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* Response envelope returned after completing a run.
|
|
894
|
+
*/
|
|
895
|
+
interface ExecutionRunCompleteResponse {
|
|
896
|
+
/**
|
|
897
|
+
* Coverage data, if the run executed a workflow.
|
|
898
|
+
*/
|
|
899
|
+
coverage?: CoverageData | null;
|
|
900
|
+
/**
|
|
901
|
+
* Total duration in seconds.
|
|
902
|
+
*/
|
|
903
|
+
durationSeconds: number;
|
|
904
|
+
/**
|
|
905
|
+
* ISO 8601 timestamp when the run ended.
|
|
906
|
+
*/
|
|
907
|
+
endedAt: string;
|
|
908
|
+
/**
|
|
909
|
+
* Associated run ID.
|
|
910
|
+
*/
|
|
911
|
+
runId: string;
|
|
912
|
+
/**
|
|
913
|
+
* ISO 8601 timestamp when the run started.
|
|
914
|
+
*/
|
|
915
|
+
startedAt: string;
|
|
916
|
+
stats: ExecutionStats;
|
|
917
|
+
status: RunStatus$1;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* Execution Types
|
|
922
|
+
*
|
|
923
|
+
* Type definitions for the unified execution reporting API that supports
|
|
924
|
+
* multiple run types: QA testing, integration testing, live automation,
|
|
925
|
+
* recording sessions, and debug runs.
|
|
926
|
+
*
|
|
927
|
+
* Tier 1 (enums) and Tier 2 (request/response DTOs) are generated from Rust
|
|
928
|
+
* (source of truth: qontinui-schemas/rust/src/execution.rs). Do not edit
|
|
929
|
+
* those sections by hand — regenerate via `just generate-types` (or
|
|
930
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`).
|
|
931
|
+
*
|
|
932
|
+
* Tier 3 (UI display / live-status-stream types) remains hand-authored below.
|
|
933
|
+
*/
|
|
934
|
+
|
|
935
|
+
type RunType = RunType$1;
|
|
936
|
+
declare const RunType: {
|
|
937
|
+
readonly QA_TEST: "qa_test";
|
|
938
|
+
readonly INTEGRATION_TEST: "integration_test";
|
|
939
|
+
readonly LIVE_AUTOMATION: "live_automation";
|
|
940
|
+
readonly RECORDING: "recording";
|
|
941
|
+
readonly DEBUG: "debug";
|
|
942
|
+
};
|
|
943
|
+
|
|
944
|
+
type RunStatus = RunStatus$1;
|
|
945
|
+
declare const RunStatus: {
|
|
946
|
+
readonly PENDING: "pending";
|
|
947
|
+
readonly RUNNING: "running";
|
|
948
|
+
readonly COMPLETED: "completed";
|
|
949
|
+
readonly FAILED: "failed";
|
|
950
|
+
readonly TIMEOUT: "timeout";
|
|
951
|
+
readonly CANCELLED: "cancelled";
|
|
952
|
+
readonly PAUSED: "paused";
|
|
953
|
+
};
|
|
954
|
+
|
|
955
|
+
type ActionStatus = ActionStatus$1;
|
|
956
|
+
declare const ActionStatus: {
|
|
957
|
+
readonly SUCCESS: "success";
|
|
958
|
+
readonly FAILED: "failed";
|
|
959
|
+
readonly TIMEOUT: "timeout";
|
|
960
|
+
readonly SKIPPED: "skipped";
|
|
961
|
+
readonly ERROR: "error";
|
|
962
|
+
readonly PENDING: "pending";
|
|
963
|
+
};
|
|
964
|
+
|
|
965
|
+
type ActionType = ExecutionActionType;
|
|
966
|
+
declare const ActionType: {
|
|
967
|
+
readonly FIND: "find";
|
|
968
|
+
readonly FIND_ALL: "find_all";
|
|
969
|
+
readonly WAIT_FOR: "wait_for";
|
|
970
|
+
readonly WAIT_UNTIL_GONE: "wait_until_gone";
|
|
971
|
+
readonly CLICK: "click";
|
|
972
|
+
readonly DOUBLE_CLICK: "double_click";
|
|
973
|
+
readonly RIGHT_CLICK: "right_click";
|
|
974
|
+
readonly TYPE: "type";
|
|
975
|
+
readonly PRESS_KEY: "press_key";
|
|
976
|
+
readonly HOTKEY: "hotkey";
|
|
977
|
+
readonly SCROLL: "scroll";
|
|
978
|
+
readonly DRAG: "drag";
|
|
979
|
+
readonly GO_TO_STATE: "go_to_state";
|
|
980
|
+
readonly TRANSITION: "transition";
|
|
981
|
+
readonly VERIFY_STATE: "verify_state";
|
|
982
|
+
readonly CONDITIONAL: "conditional";
|
|
983
|
+
readonly LOOP: "loop";
|
|
984
|
+
readonly PARALLEL: "parallel";
|
|
985
|
+
readonly SEQUENCE: "sequence";
|
|
986
|
+
readonly WAIT: "wait";
|
|
987
|
+
readonly SCREENSHOT: "screenshot";
|
|
988
|
+
readonly LOG: "log";
|
|
989
|
+
readonly ASSERT: "assert";
|
|
990
|
+
readonly AI_PROMPT: "ai_prompt";
|
|
991
|
+
readonly RUN_PROMPT_SEQUENCE: "run_prompt_sequence";
|
|
992
|
+
readonly CUSTOM: "custom";
|
|
993
|
+
};
|
|
994
|
+
|
|
995
|
+
type ErrorType = ErrorType$1;
|
|
996
|
+
declare const ErrorType: {
|
|
997
|
+
readonly ELEMENT_NOT_FOUND: "element_not_found";
|
|
998
|
+
readonly TIMEOUT: "timeout";
|
|
999
|
+
readonly ASSERTION_FAILED: "assertion_failed";
|
|
1000
|
+
readonly CRASH: "crash";
|
|
1001
|
+
readonly NETWORK_ERROR: "network_error";
|
|
1002
|
+
readonly VALIDATION_ERROR: "validation_error";
|
|
1003
|
+
readonly OTHER: "other";
|
|
1004
|
+
};
|
|
1005
|
+
|
|
1006
|
+
type IssueSeverity = IssueSeverity$1;
|
|
1007
|
+
declare const IssueSeverity: {
|
|
1008
|
+
readonly CRITICAL: "critical";
|
|
1009
|
+
readonly HIGH: "high";
|
|
1010
|
+
readonly MEDIUM: "medium";
|
|
1011
|
+
readonly LOW: "low";
|
|
1012
|
+
readonly INFORMATIONAL: "informational";
|
|
1013
|
+
};
|
|
1014
|
+
|
|
1015
|
+
type ScreenshotType = ScreenshotType$1;
|
|
1016
|
+
declare const ScreenshotType: {
|
|
1017
|
+
readonly ERROR: "error";
|
|
1018
|
+
readonly SUCCESS: "success";
|
|
1019
|
+
readonly MANUAL: "manual";
|
|
1020
|
+
readonly PERIODIC: "periodic";
|
|
1021
|
+
readonly ACTION_RESULT: "action_result";
|
|
1022
|
+
readonly STATE_VERIFICATION: "state_verification";
|
|
1023
|
+
};
|
|
1024
|
+
|
|
1025
|
+
type TaskComplexity = "simple" | "medium" | "complex";
|
|
1026
|
+
interface RoutingFactor {
|
|
1027
|
+
description: string;
|
|
1028
|
+
complexity: TaskComplexity;
|
|
1029
|
+
weight: number;
|
|
1030
|
+
}
|
|
1031
|
+
interface RoutingDecision {
|
|
1032
|
+
complexity: TaskComplexity;
|
|
1033
|
+
confidence: number;
|
|
1034
|
+
factors: string[];
|
|
1035
|
+
selectedModel: string;
|
|
1036
|
+
timestamp: number;
|
|
1037
|
+
promptPreview?: string;
|
|
1038
|
+
fileCount?: number;
|
|
1039
|
+
criteriaCount?: number;
|
|
1040
|
+
}
|
|
1041
|
+
interface RoutingStatus {
|
|
1042
|
+
enabled: boolean;
|
|
1043
|
+
decision: RoutingDecision | null;
|
|
1044
|
+
config: {
|
|
1045
|
+
simpleModel: string;
|
|
1046
|
+
mediumModel: string;
|
|
1047
|
+
complexModel: string;
|
|
1048
|
+
};
|
|
1049
|
+
}
|
|
1050
|
+
interface RetryAttempt {
|
|
1051
|
+
attemptNumber: number;
|
|
1052
|
+
error: string;
|
|
1053
|
+
timestamp: string;
|
|
1054
|
+
delayMs: number;
|
|
1055
|
+
feedbackInjected: boolean;
|
|
1056
|
+
}
|
|
1057
|
+
interface RetryState {
|
|
1058
|
+
attempt: number;
|
|
1059
|
+
lastError: string | null;
|
|
1060
|
+
lastAttemptAt: string | null;
|
|
1061
|
+
totalDelayMs: number;
|
|
1062
|
+
errorHistory: RetryAttempt[];
|
|
1063
|
+
}
|
|
1064
|
+
interface RetryStatus {
|
|
1065
|
+
enabled: boolean;
|
|
1066
|
+
maxRetries: number;
|
|
1067
|
+
feedbackInjection: boolean;
|
|
1068
|
+
state: RetryState;
|
|
1069
|
+
nextRetryDelayMs: number | null;
|
|
1070
|
+
exhausted: boolean;
|
|
1071
|
+
}
|
|
1072
|
+
interface TokenCount {
|
|
1073
|
+
total: number;
|
|
1074
|
+
findings: number;
|
|
1075
|
+
observations: number;
|
|
1076
|
+
feedback: number;
|
|
1077
|
+
solutions: number;
|
|
1078
|
+
other: number;
|
|
1079
|
+
entryCount: number;
|
|
1080
|
+
}
|
|
1081
|
+
interface CompressionResult {
|
|
1082
|
+
originalTokens: number;
|
|
1083
|
+
compressedTokens: number;
|
|
1084
|
+
itemsSummarized: number;
|
|
1085
|
+
summaryEntriesCreated: number;
|
|
1086
|
+
compressedCategories: string[];
|
|
1087
|
+
timestamp: string;
|
|
1088
|
+
}
|
|
1089
|
+
interface CompressionStatus {
|
|
1090
|
+
enabled: boolean;
|
|
1091
|
+
thresholdTokens: number;
|
|
1092
|
+
targetTokens: number;
|
|
1093
|
+
currentTokenCount: TokenCount | null;
|
|
1094
|
+
lastCompression: CompressionResult | null;
|
|
1095
|
+
thresholdPercentage: number;
|
|
1096
|
+
compressionImminent: boolean;
|
|
1097
|
+
}
|
|
1098
|
+
type HookTrigger = "pre_execution" | "post_execution" | "on_error" | "on_verification_fail" | "on_complete" | "pre_iteration" | "post_iteration";
|
|
1099
|
+
interface HookExecutionResult {
|
|
1100
|
+
hookId: string;
|
|
1101
|
+
hookName: string;
|
|
1102
|
+
trigger: HookTrigger;
|
|
1103
|
+
success: boolean;
|
|
1104
|
+
output: string | null;
|
|
1105
|
+
error: string | null;
|
|
1106
|
+
durationMs: number;
|
|
1107
|
+
timestamp: string;
|
|
1108
|
+
}
|
|
1109
|
+
interface HookDefinition {
|
|
1110
|
+
id: string;
|
|
1111
|
+
name: string;
|
|
1112
|
+
trigger: HookTrigger;
|
|
1113
|
+
enabled: boolean;
|
|
1114
|
+
actionType: string;
|
|
1115
|
+
}
|
|
1116
|
+
interface HookStatus {
|
|
1117
|
+
hooks: HookDefinition[];
|
|
1118
|
+
executionHistory: HookExecutionResult[];
|
|
1119
|
+
currentlyExecuting: string | null;
|
|
1120
|
+
}
|
|
1121
|
+
type SubStepStatus = "pending" | "running" | "completed" | "failed" | "skipped";
|
|
1122
|
+
interface SubStepInfo {
|
|
1123
|
+
id: string;
|
|
1124
|
+
parentId: string;
|
|
1125
|
+
name: string;
|
|
1126
|
+
status: SubStepStatus;
|
|
1127
|
+
index: number;
|
|
1128
|
+
totalCount: number;
|
|
1129
|
+
startedAt: number | null;
|
|
1130
|
+
completedAt: number | null;
|
|
1131
|
+
durationMs: number | null;
|
|
1132
|
+
phase?: string;
|
|
1133
|
+
}
|
|
1134
|
+
interface SubStepStatusDisplay {
|
|
1135
|
+
current: SubStepInfo | null;
|
|
1136
|
+
steps: SubStepInfo[];
|
|
1137
|
+
progressPercent: number;
|
|
1138
|
+
completedCount: number;
|
|
1139
|
+
totalCount: number;
|
|
1140
|
+
isActive: boolean;
|
|
1141
|
+
currentPhase: string | null;
|
|
1142
|
+
}
|
|
1143
|
+
interface ExecutionStatus {
|
|
1144
|
+
taskRunId: string | null;
|
|
1145
|
+
taskName: string | null;
|
|
1146
|
+
iteration: number;
|
|
1147
|
+
status: "idle" | "running" | "completed" | "failed" | "paused";
|
|
1148
|
+
routing: RoutingStatus;
|
|
1149
|
+
retry: RetryStatus;
|
|
1150
|
+
compression: CompressionStatus;
|
|
1151
|
+
hooks: HookStatus;
|
|
1152
|
+
subSteps: SubStepStatusDisplay;
|
|
1153
|
+
lastUpdated: number;
|
|
1154
|
+
}
|
|
1155
|
+
interface RawExecutionStatusEventBase {
|
|
1156
|
+
type: string;
|
|
1157
|
+
task_run_id: string;
|
|
1158
|
+
timestamp: number;
|
|
1159
|
+
}
|
|
1160
|
+
interface RawRoutingDecisionPayload {
|
|
1161
|
+
complexity: string;
|
|
1162
|
+
confidence: number;
|
|
1163
|
+
factors: string[];
|
|
1164
|
+
selected_model: string;
|
|
1165
|
+
prompt_preview?: string;
|
|
1166
|
+
file_count?: number;
|
|
1167
|
+
criteria_count?: number;
|
|
1168
|
+
}
|
|
1169
|
+
interface RawRetryAttemptPayload {
|
|
1170
|
+
attempt_number: number;
|
|
1171
|
+
error: string;
|
|
1172
|
+
attempt_timestamp: string;
|
|
1173
|
+
delay_ms: number;
|
|
1174
|
+
feedback_injected: boolean;
|
|
1175
|
+
}
|
|
1176
|
+
interface RawRetryStatePayload {
|
|
1177
|
+
attempt: number;
|
|
1178
|
+
last_error: string | null;
|
|
1179
|
+
last_attempt_at: string | null;
|
|
1180
|
+
total_delay_ms: number;
|
|
1181
|
+
error_history: RawRetryAttemptPayload[];
|
|
1182
|
+
}
|
|
1183
|
+
interface RawTokenCountPayload {
|
|
1184
|
+
total: number;
|
|
1185
|
+
findings: number;
|
|
1186
|
+
observations: number;
|
|
1187
|
+
feedback: number;
|
|
1188
|
+
solutions: number;
|
|
1189
|
+
other: number;
|
|
1190
|
+
entry_count: number;
|
|
1191
|
+
}
|
|
1192
|
+
interface RawCompressionResultPayload {
|
|
1193
|
+
original_tokens: number;
|
|
1194
|
+
compressed_tokens: number;
|
|
1195
|
+
items_summarized: number;
|
|
1196
|
+
summary_entries_created: number;
|
|
1197
|
+
compressed_categories: string[];
|
|
1198
|
+
timestamp: string;
|
|
1199
|
+
}
|
|
1200
|
+
interface RawHookExecutionPayload {
|
|
1201
|
+
hook_id: string;
|
|
1202
|
+
hook_name: string;
|
|
1203
|
+
trigger: string;
|
|
1204
|
+
success: boolean;
|
|
1205
|
+
output: string | null;
|
|
1206
|
+
error: string | null;
|
|
1207
|
+
duration_ms: number;
|
|
1208
|
+
timestamp: string;
|
|
1209
|
+
}
|
|
1210
|
+
interface RawRoutingDecisionEvent extends RawExecutionStatusEventBase {
|
|
1211
|
+
type: "routing_decision";
|
|
1212
|
+
decision: RawRoutingDecisionPayload;
|
|
1213
|
+
}
|
|
1214
|
+
interface RawRetryAttemptEvent extends RawExecutionStatusEventBase {
|
|
1215
|
+
type: "retry_attempt";
|
|
1216
|
+
attempt: RawRetryAttemptPayload;
|
|
1217
|
+
state: RawRetryStatePayload;
|
|
1218
|
+
exhausted: boolean;
|
|
1219
|
+
next_retry_delay_ms: number | null;
|
|
1220
|
+
}
|
|
1221
|
+
interface RawCompressionEvent extends RawExecutionStatusEventBase {
|
|
1222
|
+
type: "compression";
|
|
1223
|
+
result: RawCompressionResultPayload;
|
|
1224
|
+
current_token_count: RawTokenCountPayload;
|
|
1225
|
+
}
|
|
1226
|
+
interface RawTokenCountUpdateEvent extends RawExecutionStatusEventBase {
|
|
1227
|
+
type: "token_count_update";
|
|
1228
|
+
token_count: RawTokenCountPayload;
|
|
1229
|
+
threshold_percentage: number;
|
|
1230
|
+
compression_imminent: boolean;
|
|
1231
|
+
}
|
|
1232
|
+
interface RawHookExecutionEvent extends RawExecutionStatusEventBase {
|
|
1233
|
+
type: "hook_execution";
|
|
1234
|
+
result: RawHookExecutionPayload;
|
|
1235
|
+
}
|
|
1236
|
+
interface RawHookStartedEvent extends RawExecutionStatusEventBase {
|
|
1237
|
+
type: "hook_started";
|
|
1238
|
+
hook_id: string;
|
|
1239
|
+
hook_name: string;
|
|
1240
|
+
trigger: string;
|
|
1241
|
+
}
|
|
1242
|
+
interface RawStatusChangeEvent extends RawExecutionStatusEventBase {
|
|
1243
|
+
type: "status_change";
|
|
1244
|
+
status: string;
|
|
1245
|
+
iteration: number;
|
|
1246
|
+
task_name: string | null;
|
|
1247
|
+
}
|
|
1248
|
+
interface RawSubStepCompleteEvent {
|
|
1249
|
+
type: "sub_step_complete";
|
|
1250
|
+
checkpoint_id: string;
|
|
1251
|
+
task_run_id: string;
|
|
1252
|
+
sub_step_id: string;
|
|
1253
|
+
description: string | null;
|
|
1254
|
+
timestamp: number;
|
|
1255
|
+
}
|
|
1256
|
+
interface RawSubStepStartedEvent {
|
|
1257
|
+
type: "sub_step_started";
|
|
1258
|
+
checkpoint_id: string;
|
|
1259
|
+
task_run_id: string;
|
|
1260
|
+
sub_step_id: string;
|
|
1261
|
+
sub_step_index: number;
|
|
1262
|
+
total_sub_steps: number;
|
|
1263
|
+
description: string | null;
|
|
1264
|
+
phase: string | null;
|
|
1265
|
+
timestamp: number;
|
|
1266
|
+
}
|
|
1267
|
+
type RawExecutionStatusEvent = RawRoutingDecisionEvent | RawRetryAttemptEvent | RawCompressionEvent | RawTokenCountUpdateEvent | RawHookExecutionEvent | RawHookStartedEvent | RawStatusChangeEvent;
|
|
1268
|
+
|
|
1269
|
+
export { type ActionExecutionCreate, type ActionExecutionResponse, ActionStatus, ActionType, type CompressionResult, type CompressionStatus, type CoverageData, ErrorType, type ExecutionIssueCreate, type ExecutionIssueResponse, type ExecutionRunComplete, type ExecutionRunCompleteResponse, type ExecutionRunCreate, type ExecutionRunResponse, type ExecutionScreenshotCreate, type ExecutionScreenshotResponse, type ExecutionStats, type ExecutionStatus, type HookDefinition, type HookExecutionResult, type HookStatus, type HookTrigger, IssueSeverity, type LLMMetrics, type ExecutionMatchLocation as MatchLocation, type RawCompressionEvent, type RawCompressionResultPayload, type RawExecutionStatusEvent, type RawExecutionStatusEventBase, type RawHookExecutionEvent, type RawHookExecutionPayload, type RawHookStartedEvent, type RawRetryAttemptEvent, type RawRetryAttemptPayload, type RawRetryStatePayload, type RawRoutingDecisionEvent, type RawRoutingDecisionPayload, type RawStatusChangeEvent, type RawSubStepCompleteEvent, type RawSubStepStartedEvent, type RawTokenCountPayload, type RawTokenCountUpdateEvent, type RetryAttempt, type RetryState, type RetryStatus, type RoutingDecision, type RoutingFactor, type RoutingStatus, RunStatus, RunType, type RunnerMetadata, type ScreenshotAnnotation, type ScreenshotAnnotationShape, ScreenshotType, type SubStepInfo, type SubStepStatus, type SubStepStatusDisplay, type TaskComplexity, type TokenCount, type WorkflowMetadata };
|