@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,53 @@
|
|
|
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 { TicketSource } from './TicketSource';
|
|
9
|
+
import type { TicketState } from './TicketState';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* A ticket fetched from an external provider.
|
|
13
|
+
*
|
|
14
|
+
* Identity is carried by `(source, external_id)` — `external_id` is the
|
|
15
|
+
* provider-specific identifier (GitHub issue number, Linear identifier, Jira
|
|
16
|
+
* key) rather than a runner-assigned UUID.
|
|
17
|
+
*/
|
|
18
|
+
export interface Ticket {
|
|
19
|
+
/**
|
|
20
|
+
* Assignee username / handle, if any.
|
|
21
|
+
*/
|
|
22
|
+
assignee?: string | null;
|
|
23
|
+
/**
|
|
24
|
+
* Ticket body / description (Markdown for GitHub/Linear, wiki-markup on Jira).
|
|
25
|
+
*/
|
|
26
|
+
body: string;
|
|
27
|
+
/**
|
|
28
|
+
* ISO 8601 timestamp when the ticket was created.
|
|
29
|
+
*/
|
|
30
|
+
createdAt: string;
|
|
31
|
+
/**
|
|
32
|
+
* Provider-assigned external ID (issue number, ticket key, etc.).
|
|
33
|
+
*/
|
|
34
|
+
externalId: string;
|
|
35
|
+
/**
|
|
36
|
+
* Labels applied to the ticket by the provider.
|
|
37
|
+
*/
|
|
38
|
+
labels?: string[];
|
|
39
|
+
source: TicketSource;
|
|
40
|
+
state: TicketState;
|
|
41
|
+
/**
|
|
42
|
+
* Ticket title / summary.
|
|
43
|
+
*/
|
|
44
|
+
title: string;
|
|
45
|
+
/**
|
|
46
|
+
* ISO 8601 timestamp when the ticket was last updated.
|
|
47
|
+
*/
|
|
48
|
+
updatedAt: string;
|
|
49
|
+
/**
|
|
50
|
+
* Canonical URL to the ticket in the provider's UI.
|
|
51
|
+
*/
|
|
52
|
+
url: string;
|
|
53
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
5
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* A comment on a ticket.
|
|
10
|
+
*/
|
|
11
|
+
export interface TicketComment {
|
|
12
|
+
/**
|
|
13
|
+
* Comment author's username / handle.
|
|
14
|
+
*/
|
|
15
|
+
author: string;
|
|
16
|
+
/**
|
|
17
|
+
* Comment body (Markdown for GitHub/Linear, wiki-markup on Jira).
|
|
18
|
+
*/
|
|
19
|
+
body: string;
|
|
20
|
+
/**
|
|
21
|
+
* ISO 8601 timestamp when the comment was created.
|
|
22
|
+
*/
|
|
23
|
+
createdAt: string;
|
|
24
|
+
/**
|
|
25
|
+
* Provider-assigned comment ID.
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { TicketSource } from './TicketSource';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Configuration for a ticket provider watcher.
|
|
12
|
+
*
|
|
13
|
+
* Persisted in `workflow_triggers.trigger_config` and
|
|
14
|
+
* `ticket_provider_configs.config_json` so that watcher processes can be
|
|
15
|
+
* reconstructed across runner restarts.
|
|
16
|
+
*
|
|
17
|
+
* **Security**: `api_token` is a secret. This struct serializes it so that
|
|
18
|
+
* the same shape works for at-rest persistence, but MCP / HTTP API
|
|
19
|
+
* responses exposing this config to end-user UIs MUST redact the token
|
|
20
|
+
* before returning. See the module-level doc for the full policy.
|
|
21
|
+
*/
|
|
22
|
+
export interface TicketProviderConfig {
|
|
23
|
+
/**
|
|
24
|
+
* Labels / filters that mark a ticket as "actionable" (i.e. eligible to
|
|
25
|
+
* spawn a workflow task). All listed labels must be present for a match.
|
|
26
|
+
*/
|
|
27
|
+
actionableLabels?: string[];
|
|
28
|
+
/**
|
|
29
|
+
* API token for the provider. **Secret** — see security note above.
|
|
30
|
+
* Persisted in the DB so the watcher can reconstruct a provider across
|
|
31
|
+
* restarts; redact before exposing over UI-facing APIs.
|
|
32
|
+
*/
|
|
33
|
+
apiToken: string;
|
|
34
|
+
/**
|
|
35
|
+
* Poll interval in seconds. Default: 60.
|
|
36
|
+
*/
|
|
37
|
+
pollIntervalSeconds: number;
|
|
38
|
+
source: TicketSource;
|
|
39
|
+
/**
|
|
40
|
+
* Provider-specific target:
|
|
41
|
+
* - GitHub: `"owner/repo"`
|
|
42
|
+
* - Linear: team key (e.g. `"ENG"`)
|
|
43
|
+
* - Jira: project key
|
|
44
|
+
*/
|
|
45
|
+
target: string;
|
|
46
|
+
/**
|
|
47
|
+
* Whether to update the remote ticket's state when the spawned task
|
|
48
|
+
* completes. Default: true.
|
|
49
|
+
*/
|
|
50
|
+
updateOnCompletion: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* ID of the workflow to spawn for matched tickets.
|
|
53
|
+
*/
|
|
54
|
+
workflowId: string;
|
|
55
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
* Which ticket provider a config / ticket refers to.
|
|
10
|
+
*
|
|
11
|
+
* Serialized as the lowercase provider tag (`"github"`, `"linear"`, `"jira"`)
|
|
12
|
+
* to match the on-the-wire tags used by the watcher config, the MCP API
|
|
13
|
+
* layer, and the runner's DB storage keys. Variants are explicitly renamed
|
|
14
|
+
* because `rename_all = "snake_case"` would emit `"git_hub"` for the
|
|
15
|
+
* `GitHub` variant, which would drift from the existing persisted rows.
|
|
16
|
+
*/
|
|
17
|
+
export type TicketSource = "github" | "linear" | "jira";
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
* Abstract, provider-neutral ticket lifecycle state.
|
|
10
|
+
*
|
|
11
|
+
* Maps onto provider-specific states (`open` / `closed` on GitHub, workflow
|
|
12
|
+
* state types on Linear, etc.) inside the runner's provider implementations.
|
|
13
|
+
* Serialized as `snake_case`.
|
|
14
|
+
*/
|
|
15
|
+
export type TicketState = "open" | "in_progress" | "done" | "closed";
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
* Precise timing information for an event. Times are ISO 8601 strings (see
|
|
10
|
+
* crate-level docs for the rationale — the types crate is wire-only and
|
|
11
|
+
* doesn't depend on a chrono version).
|
|
12
|
+
*/
|
|
13
|
+
export interface TimingInfo {
|
|
14
|
+
durationMs?: number | null;
|
|
15
|
+
/**
|
|
16
|
+
* ISO 8601 timestamp. `None` while the event is still in flight.
|
|
17
|
+
*/
|
|
18
|
+
endTime?: string | null;
|
|
19
|
+
/**
|
|
20
|
+
* ISO 8601 timestamp.
|
|
21
|
+
*/
|
|
22
|
+
startTime: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
5
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import type { MatchLocation } from './MatchLocation';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* A single match result with confidence and location.
|
|
12
|
+
*/
|
|
13
|
+
export interface TopMatch {
|
|
14
|
+
confidence: number;
|
|
15
|
+
dimensions?: MatchLocation | null;
|
|
16
|
+
location: MatchLocation;
|
|
17
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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 { MouseButton } from './MouseButton';
|
|
9
|
+
import type { Point } from './Point';
|
|
10
|
+
import type { ScrollDirection } from './ScrollDirection';
|
|
11
|
+
import type { StandardActionType } from './StandardActionType';
|
|
12
|
+
import type { TransitionActionValue } from './TransitionActionValue';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* A single action within a transition.
|
|
16
|
+
*
|
|
17
|
+
* Each action targets an element and performs an interaction. Most fields are
|
|
18
|
+
* only meaningful for specific action types — see the per-field docs.
|
|
19
|
+
*/
|
|
20
|
+
export interface TransitionAction {
|
|
21
|
+
/**
|
|
22
|
+
* Mouse button: `left`, `right`, `middle`
|
|
23
|
+
* (`click` / `doubleClick` / `rightClick`).
|
|
24
|
+
*/
|
|
25
|
+
button?: MouseButton | null;
|
|
26
|
+
/**
|
|
27
|
+
* Clear before typing (`type` action).
|
|
28
|
+
*/
|
|
29
|
+
clear_first?: boolean | null;
|
|
30
|
+
/**
|
|
31
|
+
* Delay in milliseconds (`wait` action).
|
|
32
|
+
*/
|
|
33
|
+
delay_ms?: number | null;
|
|
34
|
+
/**
|
|
35
|
+
* Hold delay before the first move in milliseconds (`drag` action).
|
|
36
|
+
*/
|
|
37
|
+
drag_hold_delay?: number | null;
|
|
38
|
+
/**
|
|
39
|
+
* Dispatch HTML5 drag events alongside mouse events (`drag` action).
|
|
40
|
+
*/
|
|
41
|
+
drag_html5?: boolean | null;
|
|
42
|
+
/**
|
|
43
|
+
* Number of intermediate mousemove steps (`drag` action).
|
|
44
|
+
*/
|
|
45
|
+
drag_steps?: number | null;
|
|
46
|
+
/**
|
|
47
|
+
* Drag target element ID or selector (`drag` action).
|
|
48
|
+
*/
|
|
49
|
+
drag_target?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* Drag target position (e.g., `{ x, y }` stringified, or a named
|
|
52
|
+
* position) (`drag` action).
|
|
53
|
+
*/
|
|
54
|
+
drag_target_position?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* Click position relative to the element
|
|
57
|
+
* (`click` / `doubleClick` / `rightClick`).
|
|
58
|
+
*/
|
|
59
|
+
position?: Point | null;
|
|
60
|
+
/**
|
|
61
|
+
* Scroll amount in pixels (`scroll` action).
|
|
62
|
+
*/
|
|
63
|
+
scroll_amount?: number | null;
|
|
64
|
+
/**
|
|
65
|
+
* Scroll direction (`scroll` action).
|
|
66
|
+
*/
|
|
67
|
+
scroll_direction?: ScrollDirection | null;
|
|
68
|
+
/**
|
|
69
|
+
* Select by label instead of value (`select` action).
|
|
70
|
+
*/
|
|
71
|
+
select_by_label?: boolean | null;
|
|
72
|
+
/**
|
|
73
|
+
* Target element ID (used by most element actions).
|
|
74
|
+
*/
|
|
75
|
+
target?: string | null;
|
|
76
|
+
/**
|
|
77
|
+
* Text to type (`type` action).
|
|
78
|
+
*/
|
|
79
|
+
text?: string | null;
|
|
80
|
+
type: StandardActionType;
|
|
81
|
+
/**
|
|
82
|
+
* Keystroke delay in milliseconds (`type` action).
|
|
83
|
+
*/
|
|
84
|
+
type_delay?: number | null;
|
|
85
|
+
/**
|
|
86
|
+
* URL to navigate to (`navigate` action).
|
|
87
|
+
*/
|
|
88
|
+
url?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
* Value to select or set (`select` / `setValue` actions).
|
|
91
|
+
*/
|
|
92
|
+
value?: TransitionActionValue | null;
|
|
93
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
* A value for `select` / `setValue` actions: either a single string or a list
|
|
10
|
+
* of strings (for multi-select).
|
|
11
|
+
*
|
|
12
|
+
* Serialized as an untagged union matching the TS `string | string[]`.
|
|
13
|
+
*/
|
|
14
|
+
export type TransitionActionValue = string | string[];
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { StandardActionType } from './StandardActionType';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Data passed to a transition edge in the ReactFlow graph editor.
|
|
12
|
+
*/
|
|
13
|
+
export interface TransitionEdgeData {
|
|
14
|
+
/**
|
|
15
|
+
* Number of actions in this transition.
|
|
16
|
+
*/
|
|
17
|
+
actionCount: number;
|
|
18
|
+
/**
|
|
19
|
+
* Distinct action types used.
|
|
20
|
+
*/
|
|
21
|
+
actionTypes: StandardActionType[];
|
|
22
|
+
/**
|
|
23
|
+
* Target of the first action, for label rendering.
|
|
24
|
+
*/
|
|
25
|
+
firstActionTarget?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* Whether the edge is highlighted (e.g., part of a path preview).
|
|
28
|
+
*/
|
|
29
|
+
isHighlighted: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Display name.
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
* Path cost.
|
|
36
|
+
*/
|
|
37
|
+
pathCost: number;
|
|
38
|
+
/**
|
|
39
|
+
* Whether source states stay visible after activation.
|
|
40
|
+
*/
|
|
41
|
+
staysVisible: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Transition ID this edge represents.
|
|
44
|
+
*/
|
|
45
|
+
transitionId: string;
|
|
46
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
* Result of executing a single state transition at runtime.
|
|
10
|
+
*
|
|
11
|
+
* Returned by the runner's Tauri commands or the qontinui Python subprocess.
|
|
12
|
+
*/
|
|
13
|
+
export interface TransitionExecutionResult {
|
|
14
|
+
/**
|
|
15
|
+
* States that are active after the transition.
|
|
16
|
+
*/
|
|
17
|
+
active_states: string[];
|
|
18
|
+
/**
|
|
19
|
+
* Error message when execution failed.
|
|
20
|
+
*/
|
|
21
|
+
error?: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the transition executed successfully.
|
|
24
|
+
*/
|
|
25
|
+
success: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Logical transition ID that was executed.
|
|
28
|
+
*/
|
|
29
|
+
transition_id: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
5
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Information about a single available transition from the current state.
|
|
10
|
+
*/
|
|
11
|
+
export interface TransitionInfo {
|
|
12
|
+
/**
|
|
13
|
+
* Source state ID.
|
|
14
|
+
*/
|
|
15
|
+
from_state: string;
|
|
16
|
+
/**
|
|
17
|
+
* Transition ID.
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
20
|
+
/**
|
|
21
|
+
* Destination state ID (`null` if the transition stays within the same
|
|
22
|
+
* state set — e.g. a self-transition or a guard-only action).
|
|
23
|
+
*/
|
|
24
|
+
to_state: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* Names of workflows attached to this transition.
|
|
27
|
+
*/
|
|
28
|
+
workflows: string[];
|
|
29
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
* Type of action that triggers a state transition.
|
|
10
|
+
*
|
|
11
|
+
* Mirrors Python `TransitionTriggerType(str, Enum)`.
|
|
12
|
+
*/
|
|
13
|
+
export type TransitionTriggerType = "click" | "type" | "scroll" | "hover" | "custom";
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
5
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import type { MatchLocation } from './MatchLocation';
|
|
9
|
+
import type { NodeMetadata } from './NodeMetadata';
|
|
10
|
+
import type { NodeStatus } from './NodeStatus';
|
|
11
|
+
import type { NodeType } from './NodeType';
|
|
12
|
+
import type { Outcome } from './Outcome';
|
|
13
|
+
import type { PathElement } from './PathElement';
|
|
14
|
+
import type { RuntimeData } from './RuntimeData';
|
|
15
|
+
import type { StateContext } from './StateContext';
|
|
16
|
+
import type { TimingInfo } from './TimingInfo';
|
|
17
|
+
import type { TopMatch } from './TopMatch';
|
|
18
|
+
import type { TreeEventType } from './TreeEventType';
|
|
19
|
+
import type { TreeNode } from './TreeNode';
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* A tree event emitted during execution.
|
|
23
|
+
*
|
|
24
|
+
* Primary event type for execution logging. Carries the event type, the
|
|
25
|
+
* affected node with full metadata, the path from root to this node, and
|
|
26
|
+
* a sequence number for ordering.
|
|
27
|
+
*/
|
|
28
|
+
export interface TreeEvent {
|
|
29
|
+
eventType: TreeEventType;
|
|
30
|
+
node: TreeNode;
|
|
31
|
+
/**
|
|
32
|
+
* Path from root to this node (breadcrumb).
|
|
33
|
+
*/
|
|
34
|
+
path: PathElement[];
|
|
35
|
+
/**
|
|
36
|
+
* Sequence number for ordering.
|
|
37
|
+
*/
|
|
38
|
+
sequence: number;
|
|
39
|
+
/**
|
|
40
|
+
* When this event was emitted (Unix epoch seconds).
|
|
41
|
+
*/
|
|
42
|
+
timestamp: number;
|
|
43
|
+
/**
|
|
44
|
+
* Event type identifier — always `"tree_event"` on the wire.
|
|
45
|
+
*/
|
|
46
|
+
type: string;
|
|
47
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
5
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import type { MatchLocation } from './MatchLocation';
|
|
9
|
+
import type { NodeMetadata } from './NodeMetadata';
|
|
10
|
+
import type { NodeStatus } from './NodeStatus';
|
|
11
|
+
import type { NodeType } from './NodeType';
|
|
12
|
+
import type { Outcome } from './Outcome';
|
|
13
|
+
import type { PathElement } from './PathElement';
|
|
14
|
+
import type { RuntimeData } from './RuntimeData';
|
|
15
|
+
import type { StateContext } from './StateContext';
|
|
16
|
+
import type { TimingInfo } from './TimingInfo';
|
|
17
|
+
import type { TopMatch } from './TopMatch';
|
|
18
|
+
import type { TreeEventType } from './TreeEventType';
|
|
19
|
+
import type { TreeNode } from './TreeNode';
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Request to store a tree event.
|
|
23
|
+
*/
|
|
24
|
+
export interface TreeEventCreate {
|
|
25
|
+
eventType: TreeEventType;
|
|
26
|
+
node: TreeNode;
|
|
27
|
+
path: PathElement[];
|
|
28
|
+
sequence: number;
|
|
29
|
+
timestamp: number;
|
|
30
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
5
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import type { MatchLocation } from './MatchLocation';
|
|
9
|
+
import type { NodeMetadata } from './NodeMetadata';
|
|
10
|
+
import type { NodeStatus } from './NodeStatus';
|
|
11
|
+
import type { NodeType } from './NodeType';
|
|
12
|
+
import type { Outcome } from './Outcome';
|
|
13
|
+
import type { PathElement } from './PathElement';
|
|
14
|
+
import type { RuntimeData } from './RuntimeData';
|
|
15
|
+
import type { StateContext } from './StateContext';
|
|
16
|
+
import type { TimingInfo } from './TimingInfo';
|
|
17
|
+
import type { TopMatch } from './TopMatch';
|
|
18
|
+
import type { TreeEventResponse } from './TreeEventResponse';
|
|
19
|
+
import type { TreeEventType } from './TreeEventType';
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Paginated list of tree events.
|
|
23
|
+
*/
|
|
24
|
+
export interface TreeEventListResponse {
|
|
25
|
+
events: TreeEventResponse[];
|
|
26
|
+
hasMore: boolean;
|
|
27
|
+
limit: number;
|
|
28
|
+
offset: number;
|
|
29
|
+
total: number;
|
|
30
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
5
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import type { MatchLocation } from './MatchLocation';
|
|
9
|
+
import type { NodeMetadata } from './NodeMetadata';
|
|
10
|
+
import type { NodeStatus } from './NodeStatus';
|
|
11
|
+
import type { NodeType } from './NodeType';
|
|
12
|
+
import type { Outcome } from './Outcome';
|
|
13
|
+
import type { PathElement } from './PathElement';
|
|
14
|
+
import type { RuntimeData } from './RuntimeData';
|
|
15
|
+
import type { StateContext } from './StateContext';
|
|
16
|
+
import type { TimingInfo } from './TimingInfo';
|
|
17
|
+
import type { TopMatch } from './TopMatch';
|
|
18
|
+
import type { TreeEventType } from './TreeEventType';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Response for a stored tree event.
|
|
22
|
+
*/
|
|
23
|
+
export interface TreeEventResponse {
|
|
24
|
+
/**
|
|
25
|
+
* ISO 8601 timestamp.
|
|
26
|
+
*/
|
|
27
|
+
createdAt: string;
|
|
28
|
+
errorMessage?: string | null;
|
|
29
|
+
eventTimestamp: number;
|
|
30
|
+
eventType: TreeEventType;
|
|
31
|
+
/**
|
|
32
|
+
* UUID as string (wire-format — see crate-level docs).
|
|
33
|
+
*/
|
|
34
|
+
id: string;
|
|
35
|
+
metadata?: NodeMetadata | null;
|
|
36
|
+
nodeId: string;
|
|
37
|
+
nodeName: string;
|
|
38
|
+
nodeType: NodeType;
|
|
39
|
+
parentNodeId?: string | null;
|
|
40
|
+
path: PathElement[];
|
|
41
|
+
/**
|
|
42
|
+
* Run UUID as string.
|
|
43
|
+
*/
|
|
44
|
+
runId: string;
|
|
45
|
+
sequence: number;
|
|
46
|
+
status: NodeStatus;
|
|
47
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
5
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Types of tree events emitted during execution.
|
|
10
|
+
*/
|
|
11
|
+
export type TreeEventType =
|
|
12
|
+
| "workflow_started"
|
|
13
|
+
| "workflow_completed"
|
|
14
|
+
| "workflow_failed"
|
|
15
|
+
| "action_started"
|
|
16
|
+
| "action_completed"
|
|
17
|
+
| "action_failed"
|
|
18
|
+
| "transition_started"
|
|
19
|
+
| "transition_completed"
|
|
20
|
+
| "transition_failed";
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
5
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import type { MatchLocation } from './MatchLocation';
|
|
9
|
+
import type { NodeMetadata } from './NodeMetadata';
|
|
10
|
+
import type { NodeStatus } from './NodeStatus';
|
|
11
|
+
import type { NodeType } from './NodeType';
|
|
12
|
+
import type { Outcome } from './Outcome';
|
|
13
|
+
import type { RuntimeData } from './RuntimeData';
|
|
14
|
+
import type { StateContext } from './StateContext';
|
|
15
|
+
import type { TimingInfo } from './TimingInfo';
|
|
16
|
+
import type { TopMatch } from './TopMatch';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* A node in the execution tree — a single workflow, action, or transition
|
|
20
|
+
* in the execution hierarchy.
|
|
21
|
+
*/
|
|
22
|
+
export interface TreeNode {
|
|
23
|
+
/**
|
|
24
|
+
* Duration in seconds.
|
|
25
|
+
*/
|
|
26
|
+
duration?: number | null;
|
|
27
|
+
/**
|
|
28
|
+
* When this node completed (Unix epoch seconds).
|
|
29
|
+
*/
|
|
30
|
+
endTimestamp?: number | null;
|
|
31
|
+
/**
|
|
32
|
+
* Error message if `status == Failed`.
|
|
33
|
+
*/
|
|
34
|
+
error?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier for this node.
|
|
37
|
+
*/
|
|
38
|
+
id: string;
|
|
39
|
+
metadata?: NodeMetadata & {};
|
|
40
|
+
/**
|
|
41
|
+
* Display name for this node.
|
|
42
|
+
*/
|
|
43
|
+
name: string;
|
|
44
|
+
nodeType: NodeType;
|
|
45
|
+
/**
|
|
46
|
+
* ID of parent node, `None` for root.
|
|
47
|
+
*/
|
|
48
|
+
parentId?: string | null;
|
|
49
|
+
status: NodeStatus;
|
|
50
|
+
/**
|
|
51
|
+
* When this node was created (Unix epoch seconds).
|
|
52
|
+
*/
|
|
53
|
+
timestamp: number;
|
|
54
|
+
}
|