@qontinui/shared-types 0.2.4 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +128 -128
- package/dist/{Region.d-BbpFAWF4.d.cts → Region.d-DtT3UphX.d.cts} +81 -81
- package/dist/{Region.d-BbpFAWF4.d.ts → Region.d-DtT3UphX.d.ts} +81 -81
- package/dist/{TaskRunFindingActionType.d-B4VmmbB6.d.cts → TaskRunFindingActionType.d-CNIWogcU.d.cts} +53 -53
- package/dist/{TaskRunFindingActionType.d-B4VmmbB6.d.ts → TaskRunFindingActionType.d-CNIWogcU.d.ts} +53 -53
- package/dist/accessibility.cjs.map +1 -1
- package/dist/accessibility.d.cts +379 -379
- package/dist/accessibility.d.ts +379 -379
- package/dist/chat.cjs.map +1 -1
- package/dist/{chunk-ZK5MJEGT.js → chunk-CTBDIP7K.js} +1 -1
- package/dist/chunk-CTBDIP7K.js.map +1 -0
- package/dist/{chunk-YXD4WCYQ.js → chunk-ZUZ3OLOH.js} +1 -1
- package/dist/chunk-ZUZ3OLOH.js.map +1 -0
- package/dist/config.cjs.map +1 -1
- package/dist/config.d.cts +105 -105
- package/dist/config.d.ts +105 -105
- package/dist/constraints.cjs.map +1 -1
- package/dist/constraints.d.cts +372 -372
- package/dist/constraints.d.ts +372 -372
- package/dist/execution.cjs.map +1 -1
- package/dist/execution.d.cts +869 -869
- package/dist/execution.d.ts +869 -869
- package/dist/execution.js +1 -1
- package/dist/geometry.cjs.map +1 -1
- package/dist/geometry.d.cts +81 -81
- package/dist/geometry.d.ts +81 -81
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +632 -590
- package/dist/index.d.ts +632 -590
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/library.cjs.map +1 -1
- package/dist/rag.cjs.map +1 -1
- package/dist/rag.d.cts +579 -579
- package/dist/rag.d.ts +579 -579
- package/dist/runner.cjs.map +1 -1
- package/dist/runner.d.cts +147 -147
- package/dist/runner.d.ts +147 -147
- package/dist/scheduler.cjs.map +1 -1
- package/dist/scheduler.d.cts +692 -692
- package/dist/scheduler.d.ts +692 -692
- package/dist/state-machine.cjs.map +1 -1
- package/dist/state-machine.d.cts +1128 -1128
- package/dist/state-machine.d.ts +1128 -1128
- package/dist/targets.cjs.map +1 -1
- package/dist/targets.d.cts +270 -270
- package/dist/targets.d.ts +270 -270
- package/dist/task-run.cjs.map +1 -1
- package/dist/task-run.d.cts +1431 -1431
- package/dist/task-run.d.ts +1431 -1431
- package/dist/tauri-events.cjs.map +1 -1
- package/dist/tauri-events.d.cts +310 -310
- package/dist/tauri-events.d.ts +310 -310
- package/dist/tree-events.cjs.map +1 -1
- package/dist/tree-events.d.cts +483 -483
- package/dist/tree-events.d.ts +483 -483
- package/dist/ui-bridge-ir.cjs +30 -33
- package/dist/ui-bridge-ir.cjs.map +1 -1
- package/dist/ui-bridge-ir.d.cts +98 -84
- package/dist/ui-bridge-ir.d.ts +98 -84
- package/dist/ui-bridge-ir.js +30 -33
- package/dist/ui-bridge-ir.js.map +1 -1
- package/dist/workflow.cjs.map +1 -1
- package/dist/workflow.d.cts +1634 -1634
- package/dist/workflow.d.ts +1634 -1634
- package/dist/workflow.js +1 -1
- package/package.json +141 -141
- package/src/accessibility/_api.ts +17 -17
- package/src/accessibility/index.ts +1 -1
- package/src/canvas/index.ts +319 -319
- package/src/chat/_api.ts +23 -23
- package/src/chat/index.ts +1 -1
- package/src/config/_api.ts +13 -13
- package/src/config/index.ts +1 -1
- package/src/constraints/_api.ts +17 -17
- package/src/constraints/index.ts +1 -1
- package/src/discovery.ts +188 -188
- package/src/execution/_api.ts +483 -483
- package/src/execution/index.ts +1 -1
- package/src/generated/A11yAction.d.ts +11 -11
- package/src/generated/AccessibilityBackend.d.ts +12 -12
- package/src/generated/AccessibilityBounds.d.ts +17 -17
- package/src/generated/AccessibilityNode.d.ts +73 -73
- package/src/generated/AccessibilityRole.d.ts +93 -93
- package/src/generated/AccessibilityRoleCriterion.d.ts +13 -13
- package/src/generated/AccessibilitySelector.d.ts +76 -76
- package/src/generated/AccessibilitySnapshot.d.ts +43 -43
- package/src/generated/AccessibilityState.d.ts +67 -67
- package/src/generated/ActionExecutionBatch.d.ts +23 -23
- package/src/generated/ActionExecutionBatchResponse.d.ts +24 -24
- package/src/generated/ActionExecutionCreate.d.ts +124 -124
- package/src/generated/ActionExecutionListResponse.d.ts +20 -20
- package/src/generated/ActionExecutionResponse.d.ts +24 -24
- package/src/generated/ActionReliabilityStats.d.ts +54 -54
- package/src/generated/ActionResponse.d.ts +45 -45
- package/src/generated/ActionStatus.d.ts +11 -11
- package/src/generated/ActionType.d.ts +41 -41
- package/src/generated/ActiveStatesResult.d.ts +32 -32
- package/src/generated/AgenticPhaseOutput.d.ts +50 -50
- package/src/generated/AgenticStatus.d.ts +11 -11
- package/src/generated/AiWorkflow.d.ts +76 -76
- package/src/generated/ApiAssertion.d.ts +35 -35
- package/src/generated/ApiAssertionOperator.d.ts +11 -11
- package/src/generated/ApiAssertionType.d.ts +11 -11
- package/src/generated/ApiContentType.d.ts +11 -11
- package/src/generated/ApiVariableExtraction.d.ts +24 -24
- package/src/generated/AssertionMiss.d.ts +22 -0
- package/src/generated/AssertionOutcome.d.ts +30 -0
- package/src/generated/AssertionResult.d.ts +38 -0
- package/src/generated/AssertionScope.d.ts +37 -0
- package/src/generated/AssertionSeverityCounts.d.ts +28 -0
- package/src/generated/AvailableTransitionsResult.d.ts +34 -34
- package/src/generated/BaseStepFields.d.ts +72 -72
- package/src/generated/BatchComputeEmbeddingRequest.d.ts +27 -27
- package/src/generated/BatchComputeEmbeddingResponse.d.ts +23 -23
- package/src/generated/BatchEmbeddingResult.d.ts +23 -23
- package/src/generated/BetweenIterations.d.ts +35 -35
- package/src/generated/BoundingBox.d.ts +18 -18
- package/src/generated/BridgeFingerprint.d.ts +40 -0
- package/src/generated/BuildPhaseConfig.d.ts +24 -24
- package/src/generated/BuiltinOverrideProposal.d.ts +27 -27
- package/src/generated/CandidateMiss.d.ts +39 -0
- package/src/generated/CanonicalStep.d.ts +60 -60
- package/src/generated/CatchUpPolicy.d.ts +12 -12
- package/src/generated/Category.d.ts +24 -24
- package/src/generated/CheckIssueDetail.d.ts +40 -40
- package/src/generated/CheckType.d.ts +21 -21
- package/src/generated/CodeExecutionStep.d.ts +88 -88
- package/src/generated/CommandMode.d.ts +11 -11
- package/src/generated/CommandStep.d.ts +183 -183
- package/src/generated/CommandStepPhase.d.ts +11 -11
- package/src/generated/ComponentActionInfo.d.ts +24 -24
- package/src/generated/ComponentActionRequest.d.ts +22 -22
- package/src/generated/ComputeEmbeddingRequest.d.ts +24 -24
- package/src/generated/ComputeEmbeddingResponse.d.ts +38 -38
- package/src/generated/ComputeTextEmbeddingRequest.d.ts +20 -20
- package/src/generated/ComputeTextEmbeddingResponse.d.ts +32 -32
- package/src/generated/ConditionScheduleConfig.d.ts +17 -17
- package/src/generated/ConditionStatus.d.ts +29 -29
- package/src/generated/Confidence.d.ts +11 -11
- package/src/generated/ConfidenceLevel.d.ts +11 -11
- package/src/generated/ConjunctEvaluation.d.ts +24 -0
- package/src/generated/ConjunctRule.d.ts +55 -0
- package/src/generated/Constraint.d.ts +33 -33
- package/src/generated/ConstraintCheck.d.ts +64 -64
- package/src/generated/ConstraintProposal.d.ts +37 -37
- package/src/generated/ConstraintResult.d.ts +32 -32
- package/src/generated/ConstraintSeverity.d.ts +16 -16
- package/src/generated/ConstraintViolation.d.ts +24 -24
- package/src/generated/Context.d.ts +50 -50
- package/src/generated/ContextAutoInclude.d.ts +34 -34
- package/src/generated/CoordinateSystem.d.ts +12 -12
- package/src/generated/Coordinates.d.ts +33 -33
- package/src/generated/CostTrendDataPoint.d.ts +36 -36
- package/src/generated/CostTrendResponse.d.ts +41 -41
- package/src/generated/CoverageData.d.ts +52 -52
- package/src/generated/CreateMcpCallInput.d.ts +59 -59
- package/src/generated/CreateMcpServerInput.d.ts +48 -48
- package/src/generated/CreateOlConfigRequest.d.ts +27 -27
- package/src/generated/CreateScheduledTaskRequest.d.ts +63 -63
- package/src/generated/CreateTaskRunRequest.d.ts +51 -51
- package/src/generated/CriterionOverride.d.ts +39 -39
- package/src/generated/CriterionType.d.ts +11 -11
- package/src/generated/DagApprovalStep.d.ts +80 -80
- package/src/generated/DagCancelStep.d.ts +76 -76
- package/src/generated/DagLoopStep.d.ts +80 -80
- package/src/generated/DecomposerConfig.d.ts +31 -31
- package/src/generated/DiagnosePhaseConfig.d.ts +34 -34
- package/src/generated/DiagnosticResult.d.ts +40 -40
- package/src/generated/DiscoveredElement.d.ts +48 -48
- package/src/generated/DiscoveredState.d.ts +49 -49
- package/src/generated/DiscoveredStateImage.d.ts +56 -56
- package/src/generated/DiscoveredTransition.d.ts +44 -44
- package/src/generated/DiscoveryBoundingBox.d.ts +32 -32
- package/src/generated/DiscoveryRequest.d.ts +40 -40
- package/src/generated/DiscoveryResponse.d.ts +32 -32
- package/src/generated/DiscoverySourceType.d.ts +14 -14
- package/src/generated/DiscoveryStrategy.d.ts +13 -13
- package/src/generated/DiscoveryTransitionTrigger.d.ts +38 -38
- package/src/generated/DisplayNode.d.ts +45 -45
- package/src/generated/DomainAssignment.d.ts +50 -50
- package/src/generated/DomainKnowledge.d.ts +29 -29
- package/src/generated/DomainVerificationResult.d.ts +36 -36
- package/src/generated/ElementActionRequest.d.ts +28 -28
- package/src/generated/ElementBbox.d.ts +36 -36
- package/src/generated/ElementIdentifier.d.ts +40 -40
- package/src/generated/ElementRect.d.ts +48 -48
- package/src/generated/ElementState.d.ts +47 -47
- package/src/generated/ElementType.d.ts +45 -45
- package/src/generated/EmbeddedElement.d.ts +36 -36
- package/src/generated/EmbeddingItem.d.ts +49 -49
- package/src/generated/EmbeddingListResponse.d.ts +22 -22
- package/src/generated/EmbeddingResultItem.d.ts +29 -29
- package/src/generated/EmbeddingResultsRequest.d.ts +19 -19
- package/src/generated/EmbeddingResultsResponse.d.ts +17 -17
- package/src/generated/ErrorType.d.ts +18 -18
- package/src/generated/ExecutePlaybookStep.d.ts +84 -84
- package/src/generated/ExecutionActionType.d.ts +40 -40
- package/src/generated/ExecutionIssueBatch.d.ts +19 -19
- package/src/generated/ExecutionIssueBatchResponse.d.ts +24 -24
- package/src/generated/ExecutionIssueCreate.d.ts +57 -57
- package/src/generated/ExecutionIssueDetail.d.ts +89 -89
- package/src/generated/ExecutionIssueListResponse.d.ts +26 -26
- package/src/generated/ExecutionIssueResponse.d.ts +24 -24
- package/src/generated/ExecutionIssueUpdate.d.ts +31 -31
- package/src/generated/ExecutionMatchLocation.d.ts +31 -31
- package/src/generated/ExecutionRunComplete.d.ts +34 -34
- package/src/generated/ExecutionRunCompleteResponse.d.ts +38 -38
- package/src/generated/ExecutionRunCreate.d.ts +40 -40
- package/src/generated/ExecutionRunDetail.d.ts +76 -76
- package/src/generated/ExecutionRunListResponse.d.ts +22 -22
- package/src/generated/ExecutionRunResponse.d.ts +41 -41
- package/src/generated/ExecutionScreenshotCreate.d.ts +59 -59
- package/src/generated/ExecutionScreenshotResponse.d.ts +36 -36
- package/src/generated/ExecutionStats.d.ts +56 -56
- package/src/generated/ExecutionStep.d.ts +78 -78
- package/src/generated/ExecutionTreeResponse.d.ts +42 -42
- package/src/generated/ExecutionTrendDataPoint.d.ts +36 -36
- package/src/generated/ExecutionTrendResponse.d.ts +46 -46
- package/src/generated/ExitCheckResult.d.ts +20 -20
- package/src/generated/ExitStrategy.d.ts +27 -27
- package/src/generated/ExportResult.d.ts +30 -30
- package/src/generated/ExtendIterationsRequest.d.ts +20 -20
- package/src/generated/FieldDiff.d.ts +33 -0
- package/src/generated/FileChange.d.ts +20 -20
- package/src/generated/Finding.d.ts +40 -40
- package/src/generated/FindingActionType.d.ts +13 -13
- package/src/generated/FindingBatchCreate.d.ts +27 -27
- package/src/generated/FindingCategory.d.ts +25 -25
- package/src/generated/FindingCodeContext.d.ts +31 -31
- package/src/generated/FindingCreate.d.ts +52 -52
- package/src/generated/FindingDetail.d.ts +78 -78
- package/src/generated/FindingListResponse.d.ts +40 -40
- package/src/generated/FindingOutput.d.ts +36 -36
- package/src/generated/FindingSeverity.d.ts +14 -14
- package/src/generated/FindingStatus.d.ts +15 -15
- package/src/generated/FindingSummary.d.ts +53 -53
- package/src/generated/FindingUpdate.d.ts +33 -33
- package/src/generated/FindingUserInput.d.ts +27 -27
- package/src/generated/FindingsSummary.d.ts +47 -47
- package/src/generated/FullRunnerStep.d.ts +144 -144
- package/src/generated/GUIElementChunk.d.ts +151 -151
- package/src/generated/GateEvaluationResult.d.ts +36 -36
- package/src/generated/HealthCheckUrl.d.ts +35 -35
- package/src/generated/HistoricalActionQuery.d.ts +42 -42
- package/src/generated/HistoricalActionResult.d.ts +57 -57
- package/src/generated/HttpConfig.d.ts +27 -27
- package/src/generated/HttpMethod.d.ts +13 -13
- package/src/generated/IdleCondition.d.ts +17 -17
- package/src/generated/ImplementFixesConfig.d.ts +25 -25
- package/src/generated/IndividualCheckResult.d.ts +50 -50
- package/src/generated/InitialStateRef.d.ts +23 -23
- package/src/generated/InitialStatesSource.d.ts +18 -18
- package/src/generated/IrAssertion.d.ts +26 -0
- package/src/generated/IrAssertionTarget.d.ts +28 -0
- package/src/generated/IrCrossRef.d.ts +16 -0
- package/src/generated/IrElementCriteria.d.ts +29 -0
- package/src/generated/IrGroup.d.ts +33 -0
- package/src/generated/IrMetadata.d.ts +15 -0
- package/src/generated/IrPageSpec.d.ts +51 -0
- package/src/generated/IrProvenance.d.ts +28 -0
- package/src/generated/IrState.d.ts +36 -0
- package/src/generated/IrStateCondition.d.ts +19 -0
- package/src/generated/IrTransition.d.ts +34 -0
- package/src/generated/IrTransitionAction.d.ts +17 -0
- package/src/generated/IrWaitSpec.d.ts +22 -0
- package/src/generated/IssueSeverity.d.ts +11 -11
- package/src/generated/IssueSource.d.ts +11 -11
- package/src/generated/IssueStatus.d.ts +11 -11
- package/src/generated/IssueType.d.ts +21 -21
- package/src/generated/IterationResult.d.ts +65 -65
- package/src/generated/IterationVerificationResults.d.ts +53 -53
- package/src/generated/JobItem.d.ts +31 -31
- package/src/generated/JobListResponse.d.ts +20 -20
- package/src/generated/JobStatus.d.ts +11 -11
- package/src/generated/JobSummary.d.ts +30 -30
- package/src/generated/LLMCostSummary.d.ts +38 -38
- package/src/generated/LLMMetrics.d.ts +42 -42
- package/src/generated/LegacyAssertion.d.ts +22 -0
- package/src/generated/LegacyAssertionTarget.d.ts +23 -0
- package/src/generated/LegacyGroup.d.ts +19 -0
- package/src/generated/LegacyProcessStep.d.ts +16 -0
- package/src/generated/LegacySpec.d.ts +30 -0
- package/src/generated/LegacyStateMachine.d.ts +17 -0
- package/src/generated/LegacyStateMachineState.d.ts +21 -0
- package/src/generated/LegacyTransition.d.ts +20 -0
- package/src/generated/LogSourceSelection.d.ts +25 -25
- package/src/generated/LoopInstanceStatus.d.ts +28 -28
- package/src/generated/LoopPhase.d.ts +26 -26
- package/src/generated/MatchAdjustment.d.ts +23 -23
- package/src/generated/MatchLocation.d.ts +22 -22
- package/src/generated/MatchMethod.d.ts +11 -11
- package/src/generated/MatchOutcome.d.ts +11 -0
- package/src/generated/MatchedElement.d.ts +28 -0
- package/src/generated/McpCallRecord.d.ts +35 -35
- package/src/generated/McpCallsResult.d.ts +44 -44
- package/src/generated/McpConnectionRef.d.ts +25 -25
- package/src/generated/McpServerConfig.d.ts +77 -77
- package/src/generated/McpServerStatus.d.ts +42 -42
- package/src/generated/McpToolCallResult.d.ts +38 -38
- package/src/generated/McpToolInfo.d.ts +23 -23
- package/src/generated/McpToolInputSchema.d.ts +34 -34
- package/src/generated/McpTransport.d.ts +15 -15
- package/src/generated/MissReason.d.ts +20 -0
- package/src/generated/ModelCostBreakdown.d.ts +36 -36
- package/src/generated/ModelOverrideConfig.d.ts +47 -47
- package/src/generated/Monitor.d.ts +48 -48
- package/src/generated/MonitorPosition.d.ts +13 -13
- package/src/generated/MouseButton.d.ts +13 -13
- package/src/generated/MultiLoopConfig.d.ts +32 -32
- package/src/generated/MultiLoopEntry.d.ts +32 -32
- package/src/generated/MultiLoopStatus.d.ts +37 -37
- package/src/generated/NativeAccessibilityStep.d.ts +121 -121
- package/src/generated/NavigationResult.d.ts +40 -40
- package/src/generated/NewConstraintProposal.d.ts +20 -20
- package/src/generated/NextTaskInfo.d.ts +24 -24
- package/src/generated/NodeMetadata.d.ts +47 -47
- package/src/generated/NodeStatus.d.ts +11 -11
- package/src/generated/NodeType.d.ts +11 -11
- package/src/generated/OcrEngine.d.ts +11 -11
- package/src/generated/OlConfig.d.ts +48 -48
- package/src/generated/OrchestrationLoopConfig.d.ts +87 -87
- package/src/generated/OrchestrationLoopStatus.d.ts +59 -59
- package/src/generated/Outcome.d.ts +15 -15
- package/src/generated/OutputLine.d.ts +23 -23
- package/src/generated/OutputStream.d.ts +11 -11
- package/src/generated/OverrideCollection.d.ts +18 -18
- package/src/generated/Pagination.d.ts +28 -28
- package/src/generated/ParserType.d.ts +17 -17
- package/src/generated/PathElement.d.ts +17 -17
- package/src/generated/PathfindingRequest.d.ts +24 -24
- package/src/generated/PathfindingResult.d.ts +30 -30
- package/src/generated/PathfindingStep.d.ts +36 -36
- package/src/generated/PatternOptions.d.ts +32 -32
- package/src/generated/PipelineConfig.d.ts +31 -31
- package/src/generated/PlaybackFrameRequest.d.ts +21 -21
- package/src/generated/PlaywrightExecutionMode.d.ts +11 -11
- package/src/generated/Point.d.ts +20 -20
- package/src/generated/PolicyConjunct.d.ts +22 -0
- package/src/generated/PolicyEvaluation.d.ts +22 -0
- package/src/generated/PolicyStatus.d.ts +11 -0
- package/src/generated/PollingConfig.d.ts +14 -14
- package/src/generated/ProcessConfig.d.ts +96 -96
- package/src/generated/ProcessState.d.ts +15 -15
- package/src/generated/ProcessStatus.d.ts +41 -41
- package/src/generated/PromptStep.d.ts +92 -92
- package/src/generated/PromptStepPhase.d.ts +13 -13
- package/src/generated/ProposalStatus.d.ts +13 -0
- package/src/generated/RAGDashboardStats.d.ts +26 -26
- package/src/generated/RagCompletionEvent.d.ts +25 -25
- package/src/generated/RagProcessingStatus.d.ts +11 -11
- package/src/generated/RagProgressEvent.d.ts +27 -27
- package/src/generated/ReadConfigResponse.d.ts +20 -20
- package/src/generated/RecommendedState.d.ts +23 -0
- package/src/generated/ReflectionFixOutput.d.ts +20 -20
- package/src/generated/Region.d.ts +39 -39
- package/src/generated/RepositoryInactiveCondition.d.ts +24 -24
- package/src/generated/RepositoryWatch.d.ts +20 -20
- package/src/generated/ResolvedInitialStates.d.ts +29 -29
- package/src/generated/ResolvedInitialStatesResult.d.ts +40 -40
- package/src/generated/ResourceLimits.d.ts +33 -33
- package/src/generated/RestartProcessStep.d.ts +88 -88
- package/src/generated/RetryPolicy.d.ts +24 -24
- package/src/generated/RetrySpec.d.ts +24 -24
- package/src/generated/RoleCriterion.d.ts +14 -14
- package/src/generated/RootCauseCategory.d.ts +18 -18
- package/src/generated/RoutingRule.d.ts +38 -38
- package/src/generated/RunPromptRequest.d.ts +56 -56
- package/src/generated/RunPromptResponse.d.ts +50 -50
- package/src/generated/RunPromptResponseData.d.ts +20 -20
- package/src/generated/RunStatus.d.ts +11 -11
- package/src/generated/RunType.d.ts +11 -11
- package/src/generated/Runner.d.ts +81 -81
- package/src/generated/RunnerCrash.d.ts +32 -32
- package/src/generated/RunnerFinding.d.ts +48 -48
- package/src/generated/RunnerFindingCodeContext.d.ts +20 -20
- package/src/generated/RunnerFindingUserInput.d.ts +19 -19
- package/src/generated/RunnerMetadata.d.ts +42 -42
- package/src/generated/RunnerStatus.d.ts +12 -12
- package/src/generated/RunnerUiError.d.ts +28 -28
- package/src/generated/RuntimeData.d.ts +40 -40
- package/src/generated/SaveWorkflowArtifactStep.d.ts +80 -80
- package/src/generated/ScheduleConditions.d.ts +29 -29
- package/src/generated/ScheduleExpression.d.ts +39 -39
- package/src/generated/ScheduledTask.d.ts +104 -104
- package/src/generated/ScheduledTaskStatus.d.ts +19 -19
- package/src/generated/ScheduledTaskType.d.ts +126 -126
- package/src/generated/SchedulerSettings.d.ts +28 -28
- package/src/generated/SchedulerStatus.d.ts +31 -31
- package/src/generated/ScreenshotAnnotation.d.ts +39 -39
- package/src/generated/ScreenshotAnnotationShape.d.ts +11 -11
- package/src/generated/ScreenshotType.d.ts +11 -11
- package/src/generated/ScrollDirection.d.ts +13 -13
- package/src/generated/SearchOptions.d.ts +33 -33
- package/src/generated/SearchResultItem.d.ts +19 -19
- package/src/generated/SearchStrategy.d.ts +14 -14
- package/src/generated/SemanticSearchRequest.d.ts +26 -26
- package/src/generated/SemanticSearchResponse.d.ts +21 -21
- package/src/generated/SpecCheckConfidence.d.ts +15 -0
- package/src/generated/SpecCheckPolicy.d.ts +23 -0
- package/src/generated/SpecCheckResult.d.ts +66 -0
- package/src/generated/SpecCheckStepConfig.d.ts +38 -0
- package/src/generated/SpecCheckSummary.d.ts +28 -0
- package/src/generated/SpecValidation.d.ts +27 -0
- package/src/generated/StageCondition.d.ts +37 -37
- package/src/generated/StageInput.d.ts +27 -27
- package/src/generated/StageOutput.d.ts +20 -20
- package/src/generated/StageTransition.d.ts +30 -30
- package/src/generated/StallDetectorConfig.d.ts +31 -31
- package/src/generated/StandardActionType.d.ts +40 -40
- package/src/generated/StateContext.d.ts +17 -17
- package/src/generated/StateDiscoveryResult.d.ts +104 -104
- package/src/generated/StateDiscoveryResultCreate.d.ts +65 -65
- package/src/generated/StateDiscoveryResultListResponse.d.ts +23 -23
- package/src/generated/StateDiscoveryResultSummary.d.ts +57 -57
- package/src/generated/StateDiscoveryResultUpdate.d.ts +47 -47
- package/src/generated/StateFilterItem.d.ts +18 -18
- package/src/generated/StateMachineConfig.d.ts +45 -45
- package/src/generated/StateMachineConfigCreate.d.ts +20 -20
- package/src/generated/StateMachineConfigFull.d.ts +67 -67
- package/src/generated/StateMachineConfigUpdate.d.ts +20 -20
- package/src/generated/StateMachineExport.d.ts +64 -64
- package/src/generated/StateMachineExportFormat.d.ts +39 -39
- package/src/generated/StateMachineImport.d.ts +25 -25
- package/src/generated/StateMachineState.d.ts +71 -71
- package/src/generated/StateMachineStateCreate.d.ts +52 -52
- package/src/generated/StateMachineStateUpdate.d.ts +48 -48
- package/src/generated/StateMachineTransition.d.ts +75 -75
- package/src/generated/StateMachineTransitionCreate.d.ts +53 -53
- package/src/generated/StateMachineTransitionUpdate.d.ts +53 -53
- package/src/generated/StateMatchResult.d.ts +36 -0
- package/src/generated/StateNodeData.d.ts +71 -71
- package/src/generated/StatesResponse.d.ts +19 -19
- package/src/generated/StdioConfig.d.ts +34 -34
- package/src/generated/StepExecutionConfig.d.ts +37 -37
- package/src/generated/StructuredFinding.d.ts +32 -32
- package/src/generated/StructuredOverride.d.ts +24 -24
- package/src/generated/StructuredSignal.d.ts +20 -20
- package/src/generated/SuccessCriterion.d.ts +57 -57
- package/src/generated/SummarizationConfig.d.ts +35 -35
- package/src/generated/TargetConfig.d.ts +108 -108
- package/src/generated/TaskCompletionResult.d.ts +90 -90
- package/src/generated/TaskExecutionRecord.d.ts +61 -61
- package/src/generated/TaskRun.d.ts +88 -88
- package/src/generated/TaskRunBackend.d.ts +86 -86
- package/src/generated/TaskRunBackendDetail.d.ts +99 -99
- package/src/generated/TaskRunCreate.d.ts +62 -62
- package/src/generated/TaskRunFilters.d.ts +38 -38
- package/src/generated/TaskRunFinding.d.ts +100 -100
- package/src/generated/TaskRunFindingActionType.d.ts +11 -11
- package/src/generated/TaskRunFindingCategory.d.ts +24 -24
- package/src/generated/TaskRunFindingCreate.d.ts +79 -79
- package/src/generated/TaskRunFindingFilters.d.ts +28 -28
- package/src/generated/TaskRunFindingSeverity.d.ts +11 -11
- package/src/generated/TaskRunFindingStatus.d.ts +11 -11
- package/src/generated/TaskRunFindingSummary.d.ts +34 -34
- package/src/generated/TaskRunFindingUpdate.d.ts +34 -34
- package/src/generated/TaskRunFindingsListResponse.d.ts +24 -24
- package/src/generated/TaskRunListResponse.d.ts +21 -21
- package/src/generated/TaskRunSession.d.ts +40 -40
- package/src/generated/TaskRunStatus.d.ts +11 -11
- package/src/generated/TaskRunUpdate.d.ts +47 -47
- package/src/generated/TaskType.d.ts +11 -11
- package/src/generated/TerminalExitEvent.d.ts +26 -26
- package/src/generated/TerminalInfo.d.ts +69 -69
- package/src/generated/TerminalOutputEvent.d.ts +29 -29
- package/src/generated/TestType.d.ts +11 -11
- package/src/generated/TextMatchType.d.ts +11 -11
- package/src/generated/TextSearchOptions.d.ts +30 -30
- package/src/generated/Ticket.d.ts +53 -53
- package/src/generated/TicketComment.d.ts +28 -28
- package/src/generated/TicketProviderConfig.d.ts +55 -55
- package/src/generated/TicketSource.d.ts +17 -17
- package/src/generated/TicketState.d.ts +15 -15
- package/src/generated/TimingInfo.d.ts +23 -23
- package/src/generated/TopMatch.d.ts +17 -17
- package/src/generated/TransitionAction.d.ts +93 -93
- package/src/generated/TransitionActionValue.d.ts +14 -14
- package/src/generated/TransitionEdgeData.d.ts +46 -46
- package/src/generated/TransitionExecutionResult.d.ts +30 -30
- package/src/generated/TransitionInfo.d.ts +29 -29
- package/src/generated/TransitionTriggerType.d.ts +13 -13
- package/src/generated/TreeEvent.d.ts +47 -47
- package/src/generated/TreeEventCreate.d.ts +30 -30
- package/src/generated/TreeEventListResponse.d.ts +30 -30
- package/src/generated/TreeEventResponse.d.ts +47 -47
- package/src/generated/TreeEventType.d.ts +20 -20
- package/src/generated/TreeNode.d.ts +54 -54
- package/src/generated/UIBridgeCapturedToast.d.ts +22 -22
- package/src/generated/UIBridgeComponent.d.ts +45 -45
- package/src/generated/UIBridgeElement.d.ts +90 -62
- package/src/generated/UIBridgeModalInfo.d.ts +40 -40
- package/src/generated/UIBridgeModalStack.d.ts +19 -19
- package/src/generated/UIBridgeSnapshot.d.ts +67 -67
- package/src/generated/UIBridgeToastContext.d.ts +17 -17
- package/src/generated/UIBridgeUndoContext.d.ts +19 -19
- package/src/generated/UiBridgeAction.d.ts +18 -18
- package/src/generated/UiBridgeAssertType.d.ts +11 -11
- package/src/generated/UiBridgeComparisonMode.d.ts +11 -11
- package/src/generated/UiBridgeDesignAuditStep.d.ts +76 -76
- package/src/generated/UiBridgeRequestEnvelope.d.ts +45 -45
- package/src/generated/UiBridgeResponseEnvelope.d.ts +66 -66
- package/src/generated/UiBridgeSeverity.d.ts +11 -11
- package/src/generated/UiBridgeStep.d.ts +127 -127
- package/src/generated/UiBridgeStepPhase.d.ts +14 -14
- package/src/generated/UiBridgeVisualAssertionStep.d.ts +97 -97
- package/src/generated/UnifiedStep.d.ts +57 -57
- package/src/generated/UnifiedWorkflow.d.ts +411 -411
- package/src/generated/UpdateMcpServerInput.d.ts +28 -28
- package/src/generated/UpdateOlConfigRequest.d.ts +32 -32
- package/src/generated/UpdateScheduledTaskRequest.d.ts +71 -71
- package/src/generated/ValidateConfigRequest.d.ts +16 -16
- package/src/generated/ValidateConfigResponse.d.ts +28 -28
- package/src/generated/VectorSearchResult.d.ts +48 -48
- package/src/generated/VerificationAgentContext.d.ts +25 -25
- package/src/generated/VerificationCategoryKind.d.ts +19 -19
- package/src/generated/VerificationMethod.d.ts +20 -20
- package/src/generated/VerificationPhaseResult.d.ts +63 -63
- package/src/generated/VerificationPlan.d.ts +43 -43
- package/src/generated/VerificationResult.d.ts +44 -44
- package/src/generated/VerificationResultResponse.d.ts +65 -65
- package/src/generated/VerificationResultsListResponse.d.ts +41 -41
- package/src/generated/VerificationStepDetails.d.ts +55 -55
- package/src/generated/VerificationStepResult.d.ts +68 -68
- package/src/generated/VgaAction.d.ts +61 -61
- package/src/generated/VgaActionKind.d.ts +14 -14
- package/src/generated/VgaAutomateStep.d.ts +110 -110
- package/src/generated/VirtualDesktop.d.ts +23 -23
- package/src/generated/VisualAssertionType.d.ts +11 -11
- package/src/generated/VisualComparisonResult.d.ts +40 -40
- package/src/generated/WaitOptions.d.ts +35 -35
- package/src/generated/WorkerCoordinationMessage.d.ts +93 -93
- package/src/generated/WorkerDomain.d.ts +29 -29
- package/src/generated/WorkerInstance.d.ts +62 -62
- package/src/generated/WorkerOutput.d.ts +53 -53
- package/src/generated/WorkerSignal.d.ts +48 -48
- package/src/generated/WorkerStatus.d.ts +11 -11
- package/src/generated/WorkflowArchitecture.d.ts +16 -16
- package/src/generated/WorkflowFixupMode.d.ts +11 -11
- package/src/generated/WorkflowFixupStep.d.ts +85 -85
- package/src/generated/WorkflowInfo.d.ts +28 -28
- package/src/generated/WorkflowMetadata.d.ts +44 -44
- package/src/generated/WorkflowRefStep.d.ts +94 -94
- package/src/generated/WorkflowStage.d.ts +126 -126
- package/src/generated/WorkflowStep.d.ts +80 -80
- package/src/generated/WorkflowStepPhase.d.ts +11 -11
- package/src/generated/WriteConfigRequest.d.ts +20 -20
- package/src/generated/WriteConfigResponse.d.ts +24 -24
- package/src/generated/index.ts +478 -432
- package/src/geometry/_api.ts +16 -16
- package/src/geometry/index.ts +1 -1
- package/src/index.ts +78 -73
- package/src/known-issues/index.ts +179 -179
- package/src/library/_api.ts +326 -326
- package/src/library/index.ts +1 -1
- package/src/rag/_api.ts +47 -47
- package/src/rag/index.ts +1 -1
- package/src/render-log.ts +371 -371
- package/src/runner/_api.ts +14 -14
- package/src/runner/index.ts +1 -1
- package/src/scheduler/_api.ts +21 -21
- package/src/scheduler/index.ts +1 -1
- package/src/state-machine/_api.ts +145 -145
- package/src/state-machine/index.ts +1 -1
- package/src/targets/_api.ts +47 -47
- package/src/targets/index.ts +1 -1
- package/src/task-run/_api.ts +108 -108
- package/src/task-run/index.ts +1 -1
- package/src/tauri-events/_api.ts +90 -90
- package/src/tauri-events/index.ts +1 -1
- package/src/tree-events/_api.ts +42 -42
- package/src/tree-events/index.ts +1 -1
- package/src/ui-bridge-ir/__tests__/projection.test.ts +1121 -1029
- package/src/ui-bridge-ir/adapter.ts +226 -220
- package/src/ui-bridge-ir/document.ts +114 -114
- package/src/ui-bridge-ir/element-criteria.ts +48 -48
- package/src/ui-bridge-ir/group.ts +84 -84
- package/src/ui-bridge-ir/index.ts +24 -24
- package/src/ui-bridge-ir/ir.schema.json +297 -293
- package/src/ui-bridge-ir/primitives.ts +110 -102
- package/src/ui-bridge-ir/projection.ts +898 -921
- package/src/ui-bridge-ir/state.ts +97 -90
- package/src/ui-bridge-ir/transition.ts +92 -92
- package/src/workflow/_api.ts +474 -474
- package/src/workflow/action-plan.ts +208 -208
- package/src/workflow/index.ts +1 -1
- package/src/workflow/skill.ts +152 -152
- package/dist/chunk-YXD4WCYQ.js.map +0 -1
- package/dist/chunk-ZK5MJEGT.js.map +0 -1
package/dist/state-machine.d.ts
CHANGED
|
@@ -1,1193 +1,1193 @@
|
|
|
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
|
-
* All UI Bridge SDK standard actions plus workflow-level actions
|
|
10
|
-
* (`wait`, `navigate`).
|
|
11
|
-
*
|
|
12
|
-
* Parameterized actions: `click`, `doubleClick`, `rightClick`, `type`,
|
|
13
|
-
* `select`, `scroll`, `drag`.
|
|
14
|
-
* No-param actions: `clear`, `focus`, `blur`, `hover`, `check`, `uncheck`,
|
|
15
|
-
* `toggle`, `setValue`, `submit`, `reset`.
|
|
16
|
-
* Workflow-level actions: `wait`, `navigate`.
|
|
17
|
-
*
|
|
18
|
-
* Serialized as a bare camelCase string matching the TypeScript literal
|
|
19
|
-
* union (e.g., `"doubleClick"`, `"setValue"`).
|
|
20
|
-
*/
|
|
21
|
-
type StandardActionType =
|
|
22
|
-
| "click"
|
|
23
|
-
| "doubleClick"
|
|
24
|
-
| "rightClick"
|
|
25
|
-
| "type"
|
|
26
|
-
| "clear"
|
|
27
|
-
| "select"
|
|
28
|
-
| "focus"
|
|
29
|
-
| "blur"
|
|
30
|
-
| "hover"
|
|
31
|
-
| "scroll"
|
|
32
|
-
| "check"
|
|
33
|
-
| "uncheck"
|
|
34
|
-
| "toggle"
|
|
35
|
-
| "setValue"
|
|
36
|
-
| "drag"
|
|
37
|
-
| "submit"
|
|
38
|
-
| "reset"
|
|
39
|
-
| "wait"
|
|
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
|
+
* All UI Bridge SDK standard actions plus workflow-level actions
|
|
10
|
+
* (`wait`, `navigate`).
|
|
11
|
+
*
|
|
12
|
+
* Parameterized actions: `click`, `doubleClick`, `rightClick`, `type`,
|
|
13
|
+
* `select`, `scroll`, `drag`.
|
|
14
|
+
* No-param actions: `clear`, `focus`, `blur`, `hover`, `check`, `uncheck`,
|
|
15
|
+
* `toggle`, `setValue`, `submit`, `reset`.
|
|
16
|
+
* Workflow-level actions: `wait`, `navigate`.
|
|
17
|
+
*
|
|
18
|
+
* Serialized as a bare camelCase string matching the TypeScript literal
|
|
19
|
+
* union (e.g., `"doubleClick"`, `"setValue"`).
|
|
20
|
+
*/
|
|
21
|
+
type StandardActionType =
|
|
22
|
+
| "click"
|
|
23
|
+
| "doubleClick"
|
|
24
|
+
| "rightClick"
|
|
25
|
+
| "type"
|
|
26
|
+
| "clear"
|
|
27
|
+
| "select"
|
|
28
|
+
| "focus"
|
|
29
|
+
| "blur"
|
|
30
|
+
| "hover"
|
|
31
|
+
| "scroll"
|
|
32
|
+
| "check"
|
|
33
|
+
| "uncheck"
|
|
34
|
+
| "toggle"
|
|
35
|
+
| "setValue"
|
|
36
|
+
| "drag"
|
|
37
|
+
| "submit"
|
|
38
|
+
| "reset"
|
|
39
|
+
| "wait"
|
|
40
40
|
| "navigate";
|
|
41
41
|
|
|
42
|
-
/* eslint-disable */
|
|
43
|
-
/**
|
|
44
|
-
* This file was automatically generated.
|
|
45
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
46
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
47
|
-
*/
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* An (x, y) pixel offset used by the click-position and related parameters.
|
|
51
|
-
*/
|
|
52
|
-
interface Point {
|
|
53
|
-
/**
|
|
54
|
-
* Horizontal offset in pixels.
|
|
55
|
-
*/
|
|
56
|
-
x: number;
|
|
57
|
-
/**
|
|
58
|
-
* Vertical offset in pixels.
|
|
59
|
-
*/
|
|
60
|
-
y: number;
|
|
42
|
+
/* eslint-disable */
|
|
43
|
+
/**
|
|
44
|
+
* This file was automatically generated.
|
|
45
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
46
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
47
|
+
*/
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* An (x, y) pixel offset used by the click-position and related parameters.
|
|
51
|
+
*/
|
|
52
|
+
interface Point {
|
|
53
|
+
/**
|
|
54
|
+
* Horizontal offset in pixels.
|
|
55
|
+
*/
|
|
56
|
+
x: number;
|
|
57
|
+
/**
|
|
58
|
+
* Vertical offset in pixels.
|
|
59
|
+
*/
|
|
60
|
+
y: number;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
/* eslint-disable */
|
|
64
|
-
/**
|
|
65
|
-
* This file was automatically generated.
|
|
66
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
67
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
68
|
-
*/
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Scroll direction for the `scroll` action.
|
|
72
|
-
*
|
|
73
|
-
* Serialized as a bare lowercase string.
|
|
74
|
-
*/
|
|
63
|
+
/* eslint-disable */
|
|
64
|
+
/**
|
|
65
|
+
* This file was automatically generated.
|
|
66
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
67
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
68
|
+
*/
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Scroll direction for the `scroll` action.
|
|
72
|
+
*
|
|
73
|
+
* Serialized as a bare lowercase string.
|
|
74
|
+
*/
|
|
75
75
|
type ScrollDirection = "up" | "down" | "left" | "right";
|
|
76
76
|
|
|
77
|
-
/* eslint-disable */
|
|
78
|
-
/**
|
|
79
|
-
* This file was automatically generated.
|
|
80
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
81
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
82
|
-
*/
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Mouse button for click actions.
|
|
86
|
-
*
|
|
87
|
-
* Serialized as a bare lowercase string.
|
|
88
|
-
*/
|
|
77
|
+
/* eslint-disable */
|
|
78
|
+
/**
|
|
79
|
+
* This file was automatically generated.
|
|
80
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
81
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
82
|
+
*/
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Mouse button for click actions.
|
|
86
|
+
*
|
|
87
|
+
* Serialized as a bare lowercase string.
|
|
88
|
+
*/
|
|
89
89
|
type MouseButton = "left" | "right" | "middle";
|
|
90
90
|
|
|
91
|
-
/* eslint-disable */
|
|
92
|
-
/**
|
|
93
|
-
* This file was automatically generated.
|
|
94
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
95
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
96
|
-
*/
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* A value for `select` / `setValue` actions: either a single string or a list
|
|
100
|
-
* of strings (for multi-select).
|
|
101
|
-
*
|
|
102
|
-
* Serialized as an untagged union matching the TS `string | string[]`.
|
|
103
|
-
*/
|
|
91
|
+
/* eslint-disable */
|
|
92
|
+
/**
|
|
93
|
+
* This file was automatically generated.
|
|
94
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
95
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
96
|
+
*/
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* A value for `select` / `setValue` actions: either a single string or a list
|
|
100
|
+
* of strings (for multi-select).
|
|
101
|
+
*
|
|
102
|
+
* Serialized as an untagged union matching the TS `string | string[]`.
|
|
103
|
+
*/
|
|
104
104
|
type TransitionActionValue = string | string[];
|
|
105
105
|
|
|
106
|
-
/* eslint-disable */
|
|
107
|
-
/**
|
|
108
|
-
* This file was automatically generated.
|
|
109
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
110
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
111
|
-
*/
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* A single action within a transition.
|
|
117
|
-
*
|
|
118
|
-
* Each action targets an element and performs an interaction. Most fields are
|
|
119
|
-
* only meaningful for specific action types — see the per-field docs.
|
|
120
|
-
*/
|
|
121
|
-
interface TransitionAction {
|
|
122
|
-
/**
|
|
123
|
-
* Mouse button: `left`, `right`, `middle`
|
|
124
|
-
* (`click` / `doubleClick` / `rightClick`).
|
|
125
|
-
*/
|
|
126
|
-
button?: MouseButton | null;
|
|
127
|
-
/**
|
|
128
|
-
* Clear before typing (`type` action).
|
|
129
|
-
*/
|
|
130
|
-
clear_first?: boolean | null;
|
|
131
|
-
/**
|
|
132
|
-
* Delay in milliseconds (`wait` action).
|
|
133
|
-
*/
|
|
134
|
-
delay_ms?: number | null;
|
|
135
|
-
/**
|
|
136
|
-
* Hold delay before the first move in milliseconds (`drag` action).
|
|
137
|
-
*/
|
|
138
|
-
drag_hold_delay?: number | null;
|
|
139
|
-
/**
|
|
140
|
-
* Dispatch HTML5 drag events alongside mouse events (`drag` action).
|
|
141
|
-
*/
|
|
142
|
-
drag_html5?: boolean | null;
|
|
143
|
-
/**
|
|
144
|
-
* Number of intermediate mousemove steps (`drag` action).
|
|
145
|
-
*/
|
|
146
|
-
drag_steps?: number | null;
|
|
147
|
-
/**
|
|
148
|
-
* Drag target element ID or selector (`drag` action).
|
|
149
|
-
*/
|
|
150
|
-
drag_target?: string | null;
|
|
151
|
-
/**
|
|
152
|
-
* Drag target position (e.g., `{ x, y }` stringified, or a named
|
|
153
|
-
* position) (`drag` action).
|
|
154
|
-
*/
|
|
155
|
-
drag_target_position?: string | null;
|
|
156
|
-
/**
|
|
157
|
-
* Click position relative to the element
|
|
158
|
-
* (`click` / `doubleClick` / `rightClick`).
|
|
159
|
-
*/
|
|
160
|
-
position?: Point | null;
|
|
161
|
-
/**
|
|
162
|
-
* Scroll amount in pixels (`scroll` action).
|
|
163
|
-
*/
|
|
164
|
-
scroll_amount?: number | null;
|
|
165
|
-
/**
|
|
166
|
-
* Scroll direction (`scroll` action).
|
|
167
|
-
*/
|
|
168
|
-
scroll_direction?: ScrollDirection | null;
|
|
169
|
-
/**
|
|
170
|
-
* Select by label instead of value (`select` action).
|
|
171
|
-
*/
|
|
172
|
-
select_by_label?: boolean | null;
|
|
173
|
-
/**
|
|
174
|
-
* Target element ID (used by most element actions).
|
|
175
|
-
*/
|
|
176
|
-
target?: string | null;
|
|
177
|
-
/**
|
|
178
|
-
* Text to type (`type` action).
|
|
179
|
-
*/
|
|
180
|
-
text?: string | null;
|
|
181
|
-
type: StandardActionType;
|
|
182
|
-
/**
|
|
183
|
-
* Keystroke delay in milliseconds (`type` action).
|
|
184
|
-
*/
|
|
185
|
-
type_delay?: number | null;
|
|
186
|
-
/**
|
|
187
|
-
* URL to navigate to (`navigate` action).
|
|
188
|
-
*/
|
|
189
|
-
url?: string | null;
|
|
190
|
-
/**
|
|
191
|
-
* Value to select or set (`select` / `setValue` actions).
|
|
192
|
-
*/
|
|
193
|
-
value?: TransitionActionValue | null;
|
|
106
|
+
/* eslint-disable */
|
|
107
|
+
/**
|
|
108
|
+
* This file was automatically generated.
|
|
109
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
110
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
111
|
+
*/
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* A single action within a transition.
|
|
117
|
+
*
|
|
118
|
+
* Each action targets an element and performs an interaction. Most fields are
|
|
119
|
+
* only meaningful for specific action types — see the per-field docs.
|
|
120
|
+
*/
|
|
121
|
+
interface TransitionAction {
|
|
122
|
+
/**
|
|
123
|
+
* Mouse button: `left`, `right`, `middle`
|
|
124
|
+
* (`click` / `doubleClick` / `rightClick`).
|
|
125
|
+
*/
|
|
126
|
+
button?: MouseButton | null;
|
|
127
|
+
/**
|
|
128
|
+
* Clear before typing (`type` action).
|
|
129
|
+
*/
|
|
130
|
+
clear_first?: boolean | null;
|
|
131
|
+
/**
|
|
132
|
+
* Delay in milliseconds (`wait` action).
|
|
133
|
+
*/
|
|
134
|
+
delay_ms?: number | null;
|
|
135
|
+
/**
|
|
136
|
+
* Hold delay before the first move in milliseconds (`drag` action).
|
|
137
|
+
*/
|
|
138
|
+
drag_hold_delay?: number | null;
|
|
139
|
+
/**
|
|
140
|
+
* Dispatch HTML5 drag events alongside mouse events (`drag` action).
|
|
141
|
+
*/
|
|
142
|
+
drag_html5?: boolean | null;
|
|
143
|
+
/**
|
|
144
|
+
* Number of intermediate mousemove steps (`drag` action).
|
|
145
|
+
*/
|
|
146
|
+
drag_steps?: number | null;
|
|
147
|
+
/**
|
|
148
|
+
* Drag target element ID or selector (`drag` action).
|
|
149
|
+
*/
|
|
150
|
+
drag_target?: string | null;
|
|
151
|
+
/**
|
|
152
|
+
* Drag target position (e.g., `{ x, y }` stringified, or a named
|
|
153
|
+
* position) (`drag` action).
|
|
154
|
+
*/
|
|
155
|
+
drag_target_position?: string | null;
|
|
156
|
+
/**
|
|
157
|
+
* Click position relative to the element
|
|
158
|
+
* (`click` / `doubleClick` / `rightClick`).
|
|
159
|
+
*/
|
|
160
|
+
position?: Point | null;
|
|
161
|
+
/**
|
|
162
|
+
* Scroll amount in pixels (`scroll` action).
|
|
163
|
+
*/
|
|
164
|
+
scroll_amount?: number | null;
|
|
165
|
+
/**
|
|
166
|
+
* Scroll direction (`scroll` action).
|
|
167
|
+
*/
|
|
168
|
+
scroll_direction?: ScrollDirection | null;
|
|
169
|
+
/**
|
|
170
|
+
* Select by label instead of value (`select` action).
|
|
171
|
+
*/
|
|
172
|
+
select_by_label?: boolean | null;
|
|
173
|
+
/**
|
|
174
|
+
* Target element ID (used by most element actions).
|
|
175
|
+
*/
|
|
176
|
+
target?: string | null;
|
|
177
|
+
/**
|
|
178
|
+
* Text to type (`type` action).
|
|
179
|
+
*/
|
|
180
|
+
text?: string | null;
|
|
181
|
+
type: StandardActionType;
|
|
182
|
+
/**
|
|
183
|
+
* Keystroke delay in milliseconds (`type` action).
|
|
184
|
+
*/
|
|
185
|
+
type_delay?: number | null;
|
|
186
|
+
/**
|
|
187
|
+
* URL to navigate to (`navigate` action).
|
|
188
|
+
*/
|
|
189
|
+
url?: string | null;
|
|
190
|
+
/**
|
|
191
|
+
* Value to select or set (`select` / `setValue` actions).
|
|
192
|
+
*/
|
|
193
|
+
value?: TransitionActionValue | null;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
/* eslint-disable */
|
|
197
|
-
/**
|
|
198
|
-
* This file was automatically generated.
|
|
199
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
200
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
201
|
-
*/
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* A piece of domain knowledge attached to a state — free-form notes that
|
|
205
|
-
* help the AI reason about what a state represents.
|
|
206
|
-
*/
|
|
207
|
-
interface DomainKnowledge {
|
|
208
|
-
/**
|
|
209
|
-
* Full knowledge content (markdown or plain text).
|
|
210
|
-
*/
|
|
211
|
-
content: string;
|
|
212
|
-
/**
|
|
213
|
-
* Unique identifier for this knowledge entry.
|
|
214
|
-
*/
|
|
215
|
-
id: string;
|
|
216
|
-
/**
|
|
217
|
-
* Tags for filtering and grouping.
|
|
218
|
-
*/
|
|
219
|
-
tags: string[];
|
|
220
|
-
/**
|
|
221
|
-
* Short title / headline.
|
|
222
|
-
*/
|
|
223
|
-
title: string;
|
|
196
|
+
/* eslint-disable */
|
|
197
|
+
/**
|
|
198
|
+
* This file was automatically generated.
|
|
199
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
200
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
201
|
+
*/
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* A piece of domain knowledge attached to a state — free-form notes that
|
|
205
|
+
* help the AI reason about what a state represents.
|
|
206
|
+
*/
|
|
207
|
+
interface DomainKnowledge {
|
|
208
|
+
/**
|
|
209
|
+
* Full knowledge content (markdown or plain text).
|
|
210
|
+
*/
|
|
211
|
+
content: string;
|
|
212
|
+
/**
|
|
213
|
+
* Unique identifier for this knowledge entry.
|
|
214
|
+
*/
|
|
215
|
+
id: string;
|
|
216
|
+
/**
|
|
217
|
+
* Tags for filtering and grouping.
|
|
218
|
+
*/
|
|
219
|
+
tags: string[];
|
|
220
|
+
/**
|
|
221
|
+
* Short title / headline.
|
|
222
|
+
*/
|
|
223
|
+
title: string;
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
-
/* eslint-disable */
|
|
227
|
-
/**
|
|
228
|
-
* This file was automatically generated.
|
|
229
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
230
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
231
|
-
*/
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* A state machine configuration — a named collection of states and
|
|
235
|
-
* transitions that describe the navigable structure of an application's UI.
|
|
236
|
-
*/
|
|
237
|
-
interface StateMachineConfig {
|
|
238
|
-
/**
|
|
239
|
-
* ISO 8601 timestamp of creation.
|
|
240
|
-
*/
|
|
241
|
-
created_at: string;
|
|
242
|
-
/**
|
|
243
|
-
* Optional description.
|
|
244
|
-
*/
|
|
245
|
-
description?: string | null;
|
|
246
|
-
/**
|
|
247
|
-
* Number of unique elements discovered in this config.
|
|
248
|
-
*/
|
|
249
|
-
element_count: number;
|
|
250
|
-
/**
|
|
251
|
-
* Unique identifier (UUID).
|
|
252
|
-
*/
|
|
253
|
-
id: string;
|
|
254
|
-
/**
|
|
255
|
-
* Whether to include HTML IDs when generating selectors.
|
|
256
|
-
*/
|
|
257
|
-
include_html_ids: boolean;
|
|
258
|
-
/**
|
|
259
|
-
* Display name.
|
|
260
|
-
*/
|
|
261
|
-
name: string;
|
|
262
|
-
/**
|
|
263
|
-
* Number of DOM renders collected for this config.
|
|
264
|
-
*/
|
|
265
|
-
render_count: number;
|
|
266
|
-
/**
|
|
267
|
-
* ISO 8601 timestamp of last modification.
|
|
268
|
-
*/
|
|
269
|
-
updated_at: string;
|
|
226
|
+
/* eslint-disable */
|
|
227
|
+
/**
|
|
228
|
+
* This file was automatically generated.
|
|
229
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
230
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
231
|
+
*/
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* A state machine configuration — a named collection of states and
|
|
235
|
+
* transitions that describe the navigable structure of an application's UI.
|
|
236
|
+
*/
|
|
237
|
+
interface StateMachineConfig {
|
|
238
|
+
/**
|
|
239
|
+
* ISO 8601 timestamp of creation.
|
|
240
|
+
*/
|
|
241
|
+
created_at: string;
|
|
242
|
+
/**
|
|
243
|
+
* Optional description.
|
|
244
|
+
*/
|
|
245
|
+
description?: string | null;
|
|
246
|
+
/**
|
|
247
|
+
* Number of unique elements discovered in this config.
|
|
248
|
+
*/
|
|
249
|
+
element_count: number;
|
|
250
|
+
/**
|
|
251
|
+
* Unique identifier (UUID).
|
|
252
|
+
*/
|
|
253
|
+
id: string;
|
|
254
|
+
/**
|
|
255
|
+
* Whether to include HTML IDs when generating selectors.
|
|
256
|
+
*/
|
|
257
|
+
include_html_ids: boolean;
|
|
258
|
+
/**
|
|
259
|
+
* Display name.
|
|
260
|
+
*/
|
|
261
|
+
name: string;
|
|
262
|
+
/**
|
|
263
|
+
* Number of DOM renders collected for this config.
|
|
264
|
+
*/
|
|
265
|
+
render_count: number;
|
|
266
|
+
/**
|
|
267
|
+
* ISO 8601 timestamp of last modification.
|
|
268
|
+
*/
|
|
269
|
+
updated_at: string;
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
/* eslint-disable */
|
|
273
|
-
/**
|
|
274
|
-
* This file was automatically generated.
|
|
275
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
276
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
277
|
-
*/
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* Payload for creating a new state machine configuration.
|
|
281
|
-
*/
|
|
282
|
-
interface StateMachineConfigCreate {
|
|
283
|
-
/**
|
|
284
|
-
* Optional description.
|
|
285
|
-
*/
|
|
286
|
-
description?: string | null;
|
|
287
|
-
/**
|
|
288
|
-
* Display name.
|
|
289
|
-
*/
|
|
290
|
-
name: string;
|
|
272
|
+
/* eslint-disable */
|
|
273
|
+
/**
|
|
274
|
+
* This file was automatically generated.
|
|
275
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
276
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
277
|
+
*/
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Payload for creating a new state machine configuration.
|
|
281
|
+
*/
|
|
282
|
+
interface StateMachineConfigCreate {
|
|
283
|
+
/**
|
|
284
|
+
* Optional description.
|
|
285
|
+
*/
|
|
286
|
+
description?: string | null;
|
|
287
|
+
/**
|
|
288
|
+
* Display name.
|
|
289
|
+
*/
|
|
290
|
+
name: string;
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
/* eslint-disable */
|
|
294
|
-
/**
|
|
295
|
-
* This file was automatically generated.
|
|
296
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
297
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
298
|
-
*/
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* Payload for updating an existing state machine configuration.
|
|
302
|
-
*/
|
|
303
|
-
interface StateMachineConfigUpdate {
|
|
304
|
-
/**
|
|
305
|
-
* New description.
|
|
306
|
-
*/
|
|
307
|
-
description?: string | null;
|
|
308
|
-
/**
|
|
309
|
-
* New display name.
|
|
310
|
-
*/
|
|
311
|
-
name?: string | null;
|
|
293
|
+
/* eslint-disable */
|
|
294
|
+
/**
|
|
295
|
+
* This file was automatically generated.
|
|
296
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
297
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
298
|
+
*/
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Payload for updating an existing state machine configuration.
|
|
302
|
+
*/
|
|
303
|
+
interface StateMachineConfigUpdate {
|
|
304
|
+
/**
|
|
305
|
+
* New description.
|
|
306
|
+
*/
|
|
307
|
+
description?: string | null;
|
|
308
|
+
/**
|
|
309
|
+
* New display name.
|
|
310
|
+
*/
|
|
311
|
+
name?: string | null;
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
-
/* eslint-disable */
|
|
315
|
-
/**
|
|
316
|
-
* This file was automatically generated.
|
|
317
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
318
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
319
|
-
*/
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* A UI state, defined by which elements are present on screen.
|
|
325
|
-
*
|
|
326
|
-
* States are discovered via co-occurrence analysis of DOM snapshots.
|
|
327
|
-
*/
|
|
328
|
-
interface StateMachineState {
|
|
329
|
-
/**
|
|
330
|
-
* Acceptance criteria for verifying the state is reached.
|
|
331
|
-
*/
|
|
332
|
-
acceptance_criteria: string[];
|
|
333
|
-
/**
|
|
334
|
-
* Confidence score (0.0–1.0) from the discovery pass.
|
|
335
|
-
*/
|
|
336
|
-
confidence: number;
|
|
337
|
-
/**
|
|
338
|
-
* Parent config ID.
|
|
339
|
-
*/
|
|
340
|
-
config_id: string;
|
|
341
|
-
/**
|
|
342
|
-
* ISO 8601 timestamp of creation.
|
|
343
|
-
*/
|
|
344
|
-
created_at: string;
|
|
345
|
-
/**
|
|
346
|
-
* Optional description.
|
|
347
|
-
*/
|
|
348
|
-
description?: string | null;
|
|
349
|
-
/**
|
|
350
|
-
* Domain knowledge entries attached to this state.
|
|
351
|
-
*/
|
|
352
|
-
domain_knowledge: DomainKnowledge[];
|
|
353
|
-
/**
|
|
354
|
-
* Element IDs that must be present for this state to be active.
|
|
355
|
-
*/
|
|
356
|
-
element_ids: string[];
|
|
357
|
-
/**
|
|
358
|
-
* Free-form metadata bag.
|
|
359
|
-
*/
|
|
360
|
-
extra_metadata: {
|
|
361
|
-
[k: string]: unknown;
|
|
362
|
-
};
|
|
363
|
-
/**
|
|
364
|
-
* Unique database identifier (UUID).
|
|
365
|
-
*/
|
|
366
|
-
id: string;
|
|
367
|
-
/**
|
|
368
|
-
* Display name.
|
|
369
|
-
*/
|
|
370
|
-
name: string;
|
|
371
|
-
/**
|
|
372
|
-
* Render IDs that contributed to discovering this state.
|
|
373
|
-
*/
|
|
374
|
-
render_ids: string[];
|
|
375
|
-
/**
|
|
376
|
-
* Stable logical state ID (distinct from `id`; set by the user or
|
|
377
|
-
* generator).
|
|
378
|
-
*/
|
|
379
|
-
state_id: string;
|
|
380
|
-
/**
|
|
381
|
-
* ISO 8601 timestamp of last modification.
|
|
382
|
-
*/
|
|
383
|
-
updated_at: string;
|
|
314
|
+
/* eslint-disable */
|
|
315
|
+
/**
|
|
316
|
+
* This file was automatically generated.
|
|
317
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
318
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
319
|
+
*/
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* A UI state, defined by which elements are present on screen.
|
|
325
|
+
*
|
|
326
|
+
* States are discovered via co-occurrence analysis of DOM snapshots.
|
|
327
|
+
*/
|
|
328
|
+
interface StateMachineState {
|
|
329
|
+
/**
|
|
330
|
+
* Acceptance criteria for verifying the state is reached.
|
|
331
|
+
*/
|
|
332
|
+
acceptance_criteria: string[];
|
|
333
|
+
/**
|
|
334
|
+
* Confidence score (0.0–1.0) from the discovery pass.
|
|
335
|
+
*/
|
|
336
|
+
confidence: number;
|
|
337
|
+
/**
|
|
338
|
+
* Parent config ID.
|
|
339
|
+
*/
|
|
340
|
+
config_id: string;
|
|
341
|
+
/**
|
|
342
|
+
* ISO 8601 timestamp of creation.
|
|
343
|
+
*/
|
|
344
|
+
created_at: string;
|
|
345
|
+
/**
|
|
346
|
+
* Optional description.
|
|
347
|
+
*/
|
|
348
|
+
description?: string | null;
|
|
349
|
+
/**
|
|
350
|
+
* Domain knowledge entries attached to this state.
|
|
351
|
+
*/
|
|
352
|
+
domain_knowledge: DomainKnowledge[];
|
|
353
|
+
/**
|
|
354
|
+
* Element IDs that must be present for this state to be active.
|
|
355
|
+
*/
|
|
356
|
+
element_ids: string[];
|
|
357
|
+
/**
|
|
358
|
+
* Free-form metadata bag.
|
|
359
|
+
*/
|
|
360
|
+
extra_metadata: {
|
|
361
|
+
[k: string]: unknown;
|
|
362
|
+
};
|
|
363
|
+
/**
|
|
364
|
+
* Unique database identifier (UUID).
|
|
365
|
+
*/
|
|
366
|
+
id: string;
|
|
367
|
+
/**
|
|
368
|
+
* Display name.
|
|
369
|
+
*/
|
|
370
|
+
name: string;
|
|
371
|
+
/**
|
|
372
|
+
* Render IDs that contributed to discovering this state.
|
|
373
|
+
*/
|
|
374
|
+
render_ids: string[];
|
|
375
|
+
/**
|
|
376
|
+
* Stable logical state ID (distinct from `id`; set by the user or
|
|
377
|
+
* generator).
|
|
378
|
+
*/
|
|
379
|
+
state_id: string;
|
|
380
|
+
/**
|
|
381
|
+
* ISO 8601 timestamp of last modification.
|
|
382
|
+
*/
|
|
383
|
+
updated_at: string;
|
|
384
384
|
}
|
|
385
385
|
|
|
386
|
-
/* eslint-disable */
|
|
387
|
-
/**
|
|
388
|
-
* This file was automatically generated.
|
|
389
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
390
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
391
|
-
*/
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* A transition between states, consisting of one or more actions.
|
|
397
|
-
*
|
|
398
|
-
* Transitions define the edges of the state machine graph.
|
|
399
|
-
*/
|
|
400
|
-
interface StateMachineTransition {
|
|
401
|
-
/**
|
|
402
|
-
* Ordered list of actions executed as part of this transition.
|
|
403
|
-
*/
|
|
404
|
-
actions: TransitionAction[];
|
|
405
|
-
/**
|
|
406
|
-
* States activated when this transition fires.
|
|
407
|
-
*/
|
|
408
|
-
activate_states: string[];
|
|
409
|
-
/**
|
|
410
|
-
* Parent config ID.
|
|
411
|
-
*/
|
|
412
|
-
config_id: string;
|
|
413
|
-
/**
|
|
414
|
-
* ISO 8601 timestamp of creation.
|
|
415
|
-
*/
|
|
416
|
-
created_at: string;
|
|
417
|
-
/**
|
|
418
|
-
* States exited when this transition fires.
|
|
419
|
-
*/
|
|
420
|
-
exit_states: string[];
|
|
421
|
-
/**
|
|
422
|
-
* Free-form metadata bag.
|
|
423
|
-
*/
|
|
424
|
-
extra_metadata: {
|
|
425
|
-
[k: string]: unknown;
|
|
426
|
-
};
|
|
427
|
-
/**
|
|
428
|
-
* States this transition may be taken from.
|
|
429
|
-
*/
|
|
430
|
-
from_states: string[];
|
|
431
|
-
/**
|
|
432
|
-
* Unique database identifier (UUID).
|
|
433
|
-
*/
|
|
434
|
-
id: string;
|
|
435
|
-
/**
|
|
436
|
-
* Display name.
|
|
437
|
-
*/
|
|
438
|
-
name: string;
|
|
439
|
-
/**
|
|
440
|
-
* Cost used by pathfinding to prefer cheaper transitions.
|
|
441
|
-
*/
|
|
442
|
-
path_cost: number;
|
|
443
|
-
/**
|
|
444
|
-
* Whether source states stay visible after activation.
|
|
445
|
-
*/
|
|
446
|
-
stays_visible: boolean;
|
|
447
|
-
/**
|
|
448
|
-
* Stable logical transition ID (distinct from `id`).
|
|
449
|
-
*/
|
|
450
|
-
transition_id: string;
|
|
451
|
-
/**
|
|
452
|
-
* ISO 8601 timestamp of last modification.
|
|
453
|
-
*/
|
|
454
|
-
updated_at: string;
|
|
386
|
+
/* eslint-disable */
|
|
387
|
+
/**
|
|
388
|
+
* This file was automatically generated.
|
|
389
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
390
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
391
|
+
*/
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* A transition between states, consisting of one or more actions.
|
|
397
|
+
*
|
|
398
|
+
* Transitions define the edges of the state machine graph.
|
|
399
|
+
*/
|
|
400
|
+
interface StateMachineTransition {
|
|
401
|
+
/**
|
|
402
|
+
* Ordered list of actions executed as part of this transition.
|
|
403
|
+
*/
|
|
404
|
+
actions: TransitionAction[];
|
|
405
|
+
/**
|
|
406
|
+
* States activated when this transition fires.
|
|
407
|
+
*/
|
|
408
|
+
activate_states: string[];
|
|
409
|
+
/**
|
|
410
|
+
* Parent config ID.
|
|
411
|
+
*/
|
|
412
|
+
config_id: string;
|
|
413
|
+
/**
|
|
414
|
+
* ISO 8601 timestamp of creation.
|
|
415
|
+
*/
|
|
416
|
+
created_at: string;
|
|
417
|
+
/**
|
|
418
|
+
* States exited when this transition fires.
|
|
419
|
+
*/
|
|
420
|
+
exit_states: string[];
|
|
421
|
+
/**
|
|
422
|
+
* Free-form metadata bag.
|
|
423
|
+
*/
|
|
424
|
+
extra_metadata: {
|
|
425
|
+
[k: string]: unknown;
|
|
426
|
+
};
|
|
427
|
+
/**
|
|
428
|
+
* States this transition may be taken from.
|
|
429
|
+
*/
|
|
430
|
+
from_states: string[];
|
|
431
|
+
/**
|
|
432
|
+
* Unique database identifier (UUID).
|
|
433
|
+
*/
|
|
434
|
+
id: string;
|
|
435
|
+
/**
|
|
436
|
+
* Display name.
|
|
437
|
+
*/
|
|
438
|
+
name: string;
|
|
439
|
+
/**
|
|
440
|
+
* Cost used by pathfinding to prefer cheaper transitions.
|
|
441
|
+
*/
|
|
442
|
+
path_cost: number;
|
|
443
|
+
/**
|
|
444
|
+
* Whether source states stay visible after activation.
|
|
445
|
+
*/
|
|
446
|
+
stays_visible: boolean;
|
|
447
|
+
/**
|
|
448
|
+
* Stable logical transition ID (distinct from `id`).
|
|
449
|
+
*/
|
|
450
|
+
transition_id: string;
|
|
451
|
+
/**
|
|
452
|
+
* ISO 8601 timestamp of last modification.
|
|
453
|
+
*/
|
|
454
|
+
updated_at: string;
|
|
455
455
|
}
|
|
456
456
|
|
|
457
|
-
/* eslint-disable */
|
|
458
|
-
/**
|
|
459
|
-
* This file was automatically generated.
|
|
460
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
461
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
462
|
-
*/
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
/**
|
|
467
|
-
* A config with all its states and transitions loaded.
|
|
468
|
-
*
|
|
469
|
-
* Used when the full state machine needs to be displayed or exported. This
|
|
470
|
-
* mirrors the TypeScript `StateMachineConfigFull extends StateMachineConfig`
|
|
471
|
-
* by flattening the base config's fields via `#[serde(flatten)]`.
|
|
472
|
-
*/
|
|
473
|
-
interface StateMachineConfigFull {
|
|
474
|
-
/**
|
|
475
|
-
* ISO 8601 timestamp of creation.
|
|
476
|
-
*/
|
|
477
|
-
created_at: string;
|
|
478
|
-
/**
|
|
479
|
-
* Optional description.
|
|
480
|
-
*/
|
|
481
|
-
description?: string | null;
|
|
482
|
-
/**
|
|
483
|
-
* Number of unique elements discovered in this config.
|
|
484
|
-
*/
|
|
485
|
-
element_count: number;
|
|
486
|
-
/**
|
|
487
|
-
* Unique identifier (UUID).
|
|
488
|
-
*/
|
|
489
|
-
id: string;
|
|
490
|
-
/**
|
|
491
|
-
* Whether to include HTML IDs when generating selectors.
|
|
492
|
-
*/
|
|
493
|
-
include_html_ids: boolean;
|
|
494
|
-
/**
|
|
495
|
-
* Display name.
|
|
496
|
-
*/
|
|
497
|
-
name: string;
|
|
498
|
-
/**
|
|
499
|
-
* Number of DOM renders collected for this config.
|
|
500
|
-
*/
|
|
501
|
-
render_count: number;
|
|
502
|
-
/**
|
|
503
|
-
* All states belonging to this config.
|
|
504
|
-
*/
|
|
505
|
-
states: StateMachineState[];
|
|
506
|
-
/**
|
|
507
|
-
* All transitions belonging to this config.
|
|
508
|
-
*/
|
|
509
|
-
transitions: StateMachineTransition[];
|
|
510
|
-
/**
|
|
511
|
-
* ISO 8601 timestamp of last modification.
|
|
512
|
-
*/
|
|
513
|
-
updated_at: string;
|
|
514
|
-
[k: string]: unknown;
|
|
457
|
+
/* eslint-disable */
|
|
458
|
+
/**
|
|
459
|
+
* This file was automatically generated.
|
|
460
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
461
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
462
|
+
*/
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* A config with all its states and transitions loaded.
|
|
468
|
+
*
|
|
469
|
+
* Used when the full state machine needs to be displayed or exported. This
|
|
470
|
+
* mirrors the TypeScript `StateMachineConfigFull extends StateMachineConfig`
|
|
471
|
+
* by flattening the base config's fields via `#[serde(flatten)]`.
|
|
472
|
+
*/
|
|
473
|
+
interface StateMachineConfigFull {
|
|
474
|
+
/**
|
|
475
|
+
* ISO 8601 timestamp of creation.
|
|
476
|
+
*/
|
|
477
|
+
created_at: string;
|
|
478
|
+
/**
|
|
479
|
+
* Optional description.
|
|
480
|
+
*/
|
|
481
|
+
description?: string | null;
|
|
482
|
+
/**
|
|
483
|
+
* Number of unique elements discovered in this config.
|
|
484
|
+
*/
|
|
485
|
+
element_count: number;
|
|
486
|
+
/**
|
|
487
|
+
* Unique identifier (UUID).
|
|
488
|
+
*/
|
|
489
|
+
id: string;
|
|
490
|
+
/**
|
|
491
|
+
* Whether to include HTML IDs when generating selectors.
|
|
492
|
+
*/
|
|
493
|
+
include_html_ids: boolean;
|
|
494
|
+
/**
|
|
495
|
+
* Display name.
|
|
496
|
+
*/
|
|
497
|
+
name: string;
|
|
498
|
+
/**
|
|
499
|
+
* Number of DOM renders collected for this config.
|
|
500
|
+
*/
|
|
501
|
+
render_count: number;
|
|
502
|
+
/**
|
|
503
|
+
* All states belonging to this config.
|
|
504
|
+
*/
|
|
505
|
+
states: StateMachineState[];
|
|
506
|
+
/**
|
|
507
|
+
* All transitions belonging to this config.
|
|
508
|
+
*/
|
|
509
|
+
transitions: StateMachineTransition[];
|
|
510
|
+
/**
|
|
511
|
+
* ISO 8601 timestamp of last modification.
|
|
512
|
+
*/
|
|
513
|
+
updated_at: string;
|
|
514
|
+
[k: string]: unknown;
|
|
515
515
|
}
|
|
516
516
|
|
|
517
|
-
/* eslint-disable */
|
|
518
|
-
/**
|
|
519
|
-
* This file was automatically generated.
|
|
520
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
521
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
522
|
-
*/
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
/**
|
|
527
|
-
* Payload for creating a new state within a config.
|
|
528
|
-
*/
|
|
529
|
-
interface StateMachineStateCreate {
|
|
530
|
-
/**
|
|
531
|
-
* Acceptance criteria.
|
|
532
|
-
*/
|
|
533
|
-
acceptance_criteria?: string[] | null;
|
|
534
|
-
/**
|
|
535
|
-
* Initial confidence score.
|
|
536
|
-
*/
|
|
537
|
-
confidence?: number | null;
|
|
538
|
-
/**
|
|
539
|
-
* Optional description.
|
|
540
|
-
*/
|
|
541
|
-
description?: string | null;
|
|
542
|
-
/**
|
|
543
|
-
* Domain knowledge entries.
|
|
544
|
-
*/
|
|
545
|
-
domain_knowledge?: DomainKnowledge[] | null;
|
|
546
|
-
/**
|
|
547
|
-
* Element IDs that define this state.
|
|
548
|
-
*/
|
|
549
|
-
element_ids?: string[] | null;
|
|
550
|
-
/**
|
|
551
|
-
* Free-form metadata bag.
|
|
552
|
-
*/
|
|
553
|
-
extra_metadata?: {
|
|
554
|
-
[k: string]: unknown;
|
|
555
|
-
} | null;
|
|
556
|
-
/**
|
|
557
|
-
* Display name.
|
|
558
|
-
*/
|
|
559
|
-
name: string;
|
|
560
|
-
/**
|
|
561
|
-
* Render IDs associated with this state.
|
|
562
|
-
*/
|
|
563
|
-
render_ids?: string[] | null;
|
|
564
|
-
/**
|
|
565
|
-
* Optional stable logical state ID (generated if omitted).
|
|
566
|
-
*/
|
|
567
|
-
state_id?: string | null;
|
|
517
|
+
/* eslint-disable */
|
|
518
|
+
/**
|
|
519
|
+
* This file was automatically generated.
|
|
520
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
521
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
522
|
+
*/
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* Payload for creating a new state within a config.
|
|
528
|
+
*/
|
|
529
|
+
interface StateMachineStateCreate {
|
|
530
|
+
/**
|
|
531
|
+
* Acceptance criteria.
|
|
532
|
+
*/
|
|
533
|
+
acceptance_criteria?: string[] | null;
|
|
534
|
+
/**
|
|
535
|
+
* Initial confidence score.
|
|
536
|
+
*/
|
|
537
|
+
confidence?: number | null;
|
|
538
|
+
/**
|
|
539
|
+
* Optional description.
|
|
540
|
+
*/
|
|
541
|
+
description?: string | null;
|
|
542
|
+
/**
|
|
543
|
+
* Domain knowledge entries.
|
|
544
|
+
*/
|
|
545
|
+
domain_knowledge?: DomainKnowledge[] | null;
|
|
546
|
+
/**
|
|
547
|
+
* Element IDs that define this state.
|
|
548
|
+
*/
|
|
549
|
+
element_ids?: string[] | null;
|
|
550
|
+
/**
|
|
551
|
+
* Free-form metadata bag.
|
|
552
|
+
*/
|
|
553
|
+
extra_metadata?: {
|
|
554
|
+
[k: string]: unknown;
|
|
555
|
+
} | null;
|
|
556
|
+
/**
|
|
557
|
+
* Display name.
|
|
558
|
+
*/
|
|
559
|
+
name: string;
|
|
560
|
+
/**
|
|
561
|
+
* Render IDs associated with this state.
|
|
562
|
+
*/
|
|
563
|
+
render_ids?: string[] | null;
|
|
564
|
+
/**
|
|
565
|
+
* Optional stable logical state ID (generated if omitted).
|
|
566
|
+
*/
|
|
567
|
+
state_id?: string | null;
|
|
568
568
|
}
|
|
569
569
|
|
|
570
|
-
/* eslint-disable */
|
|
571
|
-
/**
|
|
572
|
-
* This file was automatically generated.
|
|
573
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
574
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
575
|
-
*/
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
/**
|
|
580
|
-
* Payload for updating an existing state.
|
|
581
|
-
*/
|
|
582
|
-
interface StateMachineStateUpdate {
|
|
583
|
-
/**
|
|
584
|
-
* New acceptance criteria.
|
|
585
|
-
*/
|
|
586
|
-
acceptance_criteria?: string[] | null;
|
|
587
|
-
/**
|
|
588
|
-
* New confidence score.
|
|
589
|
-
*/
|
|
590
|
-
confidence?: number | null;
|
|
591
|
-
/**
|
|
592
|
-
* New description.
|
|
593
|
-
*/
|
|
594
|
-
description?: string | null;
|
|
595
|
-
/**
|
|
596
|
-
* New domain knowledge entries.
|
|
597
|
-
*/
|
|
598
|
-
domain_knowledge?: DomainKnowledge[] | null;
|
|
599
|
-
/**
|
|
600
|
-
* New element ID set.
|
|
601
|
-
*/
|
|
602
|
-
element_ids?: string[] | null;
|
|
603
|
-
/**
|
|
604
|
-
* New metadata bag.
|
|
605
|
-
*/
|
|
606
|
-
extra_metadata?: {
|
|
607
|
-
[k: string]: unknown;
|
|
608
|
-
} | null;
|
|
609
|
-
/**
|
|
610
|
-
* New display name.
|
|
611
|
-
*/
|
|
612
|
-
name?: string | null;
|
|
613
|
-
/**
|
|
614
|
-
* New render ID set.
|
|
615
|
-
*/
|
|
616
|
-
render_ids?: string[] | null;
|
|
570
|
+
/* eslint-disable */
|
|
571
|
+
/**
|
|
572
|
+
* This file was automatically generated.
|
|
573
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
574
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
575
|
+
*/
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* Payload for updating an existing state.
|
|
581
|
+
*/
|
|
582
|
+
interface StateMachineStateUpdate {
|
|
583
|
+
/**
|
|
584
|
+
* New acceptance criteria.
|
|
585
|
+
*/
|
|
586
|
+
acceptance_criteria?: string[] | null;
|
|
587
|
+
/**
|
|
588
|
+
* New confidence score.
|
|
589
|
+
*/
|
|
590
|
+
confidence?: number | null;
|
|
591
|
+
/**
|
|
592
|
+
* New description.
|
|
593
|
+
*/
|
|
594
|
+
description?: string | null;
|
|
595
|
+
/**
|
|
596
|
+
* New domain knowledge entries.
|
|
597
|
+
*/
|
|
598
|
+
domain_knowledge?: DomainKnowledge[] | null;
|
|
599
|
+
/**
|
|
600
|
+
* New element ID set.
|
|
601
|
+
*/
|
|
602
|
+
element_ids?: string[] | null;
|
|
603
|
+
/**
|
|
604
|
+
* New metadata bag.
|
|
605
|
+
*/
|
|
606
|
+
extra_metadata?: {
|
|
607
|
+
[k: string]: unknown;
|
|
608
|
+
} | null;
|
|
609
|
+
/**
|
|
610
|
+
* New display name.
|
|
611
|
+
*/
|
|
612
|
+
name?: string | null;
|
|
613
|
+
/**
|
|
614
|
+
* New render ID set.
|
|
615
|
+
*/
|
|
616
|
+
render_ids?: string[] | null;
|
|
617
617
|
}
|
|
618
618
|
|
|
619
|
-
/* eslint-disable */
|
|
620
|
-
/**
|
|
621
|
-
* This file was automatically generated.
|
|
622
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
623
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
624
|
-
*/
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
/**
|
|
629
|
-
* Payload for creating a new transition.
|
|
630
|
-
*/
|
|
631
|
-
interface StateMachineTransitionCreate {
|
|
632
|
-
/**
|
|
633
|
-
* Ordered list of actions executed as part of this transition.
|
|
634
|
-
*/
|
|
635
|
-
actions: TransitionAction[];
|
|
636
|
-
/**
|
|
637
|
-
* States activated when this transition fires.
|
|
638
|
-
*/
|
|
639
|
-
activate_states: string[];
|
|
640
|
-
/**
|
|
641
|
-
* States exited when this transition fires.
|
|
642
|
-
*/
|
|
643
|
-
exit_states: string[];
|
|
644
|
-
/**
|
|
645
|
-
* Free-form metadata bag.
|
|
646
|
-
*/
|
|
647
|
-
extra_metadata?: {
|
|
648
|
-
[k: string]: unknown;
|
|
649
|
-
} | null;
|
|
650
|
-
/**
|
|
651
|
-
* States this transition may be taken from.
|
|
652
|
-
*/
|
|
653
|
-
from_states: string[];
|
|
654
|
-
/**
|
|
655
|
-
* Display name.
|
|
656
|
-
*/
|
|
657
|
-
name: string;
|
|
658
|
-
/**
|
|
659
|
-
* Cost used by pathfinding.
|
|
660
|
-
*/
|
|
661
|
-
path_cost?: number | null;
|
|
662
|
-
/**
|
|
663
|
-
* Whether source states stay visible after activation.
|
|
664
|
-
*/
|
|
665
|
-
stays_visible?: boolean | null;
|
|
619
|
+
/* eslint-disable */
|
|
620
|
+
/**
|
|
621
|
+
* This file was automatically generated.
|
|
622
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
623
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
624
|
+
*/
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* Payload for creating a new transition.
|
|
630
|
+
*/
|
|
631
|
+
interface StateMachineTransitionCreate {
|
|
632
|
+
/**
|
|
633
|
+
* Ordered list of actions executed as part of this transition.
|
|
634
|
+
*/
|
|
635
|
+
actions: TransitionAction[];
|
|
636
|
+
/**
|
|
637
|
+
* States activated when this transition fires.
|
|
638
|
+
*/
|
|
639
|
+
activate_states: string[];
|
|
640
|
+
/**
|
|
641
|
+
* States exited when this transition fires.
|
|
642
|
+
*/
|
|
643
|
+
exit_states: string[];
|
|
644
|
+
/**
|
|
645
|
+
* Free-form metadata bag.
|
|
646
|
+
*/
|
|
647
|
+
extra_metadata?: {
|
|
648
|
+
[k: string]: unknown;
|
|
649
|
+
} | null;
|
|
650
|
+
/**
|
|
651
|
+
* States this transition may be taken from.
|
|
652
|
+
*/
|
|
653
|
+
from_states: string[];
|
|
654
|
+
/**
|
|
655
|
+
* Display name.
|
|
656
|
+
*/
|
|
657
|
+
name: string;
|
|
658
|
+
/**
|
|
659
|
+
* Cost used by pathfinding.
|
|
660
|
+
*/
|
|
661
|
+
path_cost?: number | null;
|
|
662
|
+
/**
|
|
663
|
+
* Whether source states stay visible after activation.
|
|
664
|
+
*/
|
|
665
|
+
stays_visible?: boolean | null;
|
|
666
666
|
}
|
|
667
667
|
|
|
668
|
-
/* eslint-disable */
|
|
669
|
-
/**
|
|
670
|
-
* This file was automatically generated.
|
|
671
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
672
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
673
|
-
*/
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
/**
|
|
678
|
-
* Payload for updating an existing transition.
|
|
679
|
-
*/
|
|
680
|
-
interface StateMachineTransitionUpdate {
|
|
681
|
-
/**
|
|
682
|
-
* New action list.
|
|
683
|
-
*/
|
|
684
|
-
actions?: TransitionAction[] | null;
|
|
685
|
-
/**
|
|
686
|
-
* New "activate" states.
|
|
687
|
-
*/
|
|
688
|
-
activate_states?: string[] | null;
|
|
689
|
-
/**
|
|
690
|
-
* New "exit" states.
|
|
691
|
-
*/
|
|
692
|
-
exit_states?: string[] | null;
|
|
693
|
-
/**
|
|
694
|
-
* New metadata bag.
|
|
695
|
-
*/
|
|
696
|
-
extra_metadata?: {
|
|
697
|
-
[k: string]: unknown;
|
|
698
|
-
} | null;
|
|
699
|
-
/**
|
|
700
|
-
* New "from" states.
|
|
701
|
-
*/
|
|
702
|
-
from_states?: string[] | null;
|
|
703
|
-
/**
|
|
704
|
-
* New display name.
|
|
705
|
-
*/
|
|
706
|
-
name?: string | null;
|
|
707
|
-
/**
|
|
708
|
-
* New path cost.
|
|
709
|
-
*/
|
|
710
|
-
path_cost?: number | null;
|
|
711
|
-
/**
|
|
712
|
-
* New stays-visible flag.
|
|
713
|
-
*/
|
|
714
|
-
stays_visible?: boolean | null;
|
|
668
|
+
/* eslint-disable */
|
|
669
|
+
/**
|
|
670
|
+
* This file was automatically generated.
|
|
671
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
672
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
673
|
+
*/
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* Payload for updating an existing transition.
|
|
679
|
+
*/
|
|
680
|
+
interface StateMachineTransitionUpdate {
|
|
681
|
+
/**
|
|
682
|
+
* New action list.
|
|
683
|
+
*/
|
|
684
|
+
actions?: TransitionAction[] | null;
|
|
685
|
+
/**
|
|
686
|
+
* New "activate" states.
|
|
687
|
+
*/
|
|
688
|
+
activate_states?: string[] | null;
|
|
689
|
+
/**
|
|
690
|
+
* New "exit" states.
|
|
691
|
+
*/
|
|
692
|
+
exit_states?: string[] | null;
|
|
693
|
+
/**
|
|
694
|
+
* New metadata bag.
|
|
695
|
+
*/
|
|
696
|
+
extra_metadata?: {
|
|
697
|
+
[k: string]: unknown;
|
|
698
|
+
} | null;
|
|
699
|
+
/**
|
|
700
|
+
* New "from" states.
|
|
701
|
+
*/
|
|
702
|
+
from_states?: string[] | null;
|
|
703
|
+
/**
|
|
704
|
+
* New display name.
|
|
705
|
+
*/
|
|
706
|
+
name?: string | null;
|
|
707
|
+
/**
|
|
708
|
+
* New path cost.
|
|
709
|
+
*/
|
|
710
|
+
path_cost?: number | null;
|
|
711
|
+
/**
|
|
712
|
+
* New stays-visible flag.
|
|
713
|
+
*/
|
|
714
|
+
stays_visible?: boolean | null;
|
|
715
715
|
}
|
|
716
716
|
|
|
717
|
-
/* eslint-disable */
|
|
718
|
-
/**
|
|
719
|
-
* This file was automatically generated.
|
|
720
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
721
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
722
|
-
*/
|
|
723
|
-
|
|
724
|
-
/**
|
|
725
|
-
* Request to compute a path between state sets.
|
|
726
|
-
*
|
|
727
|
-
* The pathfinding types are for the graph editor's path-preview feature.
|
|
728
|
-
* Runtime navigation uses the qontinui Python library (`multistate`)
|
|
729
|
-
* directly.
|
|
730
|
-
*/
|
|
731
|
-
interface PathfindingRequest {
|
|
732
|
-
/**
|
|
733
|
-
* States assumed to be active at the start of the search.
|
|
734
|
-
*/
|
|
735
|
-
from_states: string[];
|
|
736
|
-
/**
|
|
737
|
-
* States that must all be active at the end.
|
|
738
|
-
*/
|
|
739
|
-
target_states: string[];
|
|
717
|
+
/* eslint-disable */
|
|
718
|
+
/**
|
|
719
|
+
* This file was automatically generated.
|
|
720
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
721
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
722
|
+
*/
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* Request to compute a path between state sets.
|
|
726
|
+
*
|
|
727
|
+
* The pathfinding types are for the graph editor's path-preview feature.
|
|
728
|
+
* Runtime navigation uses the qontinui Python library (`multistate`)
|
|
729
|
+
* directly.
|
|
730
|
+
*/
|
|
731
|
+
interface PathfindingRequest {
|
|
732
|
+
/**
|
|
733
|
+
* States assumed to be active at the start of the search.
|
|
734
|
+
*/
|
|
735
|
+
from_states: string[];
|
|
736
|
+
/**
|
|
737
|
+
* States that must all be active at the end.
|
|
738
|
+
*/
|
|
739
|
+
target_states: string[];
|
|
740
740
|
}
|
|
741
741
|
|
|
742
|
-
/* eslint-disable */
|
|
743
|
-
/**
|
|
744
|
-
* This file was automatically generated.
|
|
745
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
746
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
747
|
-
*/
|
|
748
|
-
|
|
749
|
-
/**
|
|
750
|
-
* A single step on a computed path.
|
|
751
|
-
*/
|
|
752
|
-
interface PathfindingStep {
|
|
753
|
-
/**
|
|
754
|
-
* States activated by this step.
|
|
755
|
-
*/
|
|
756
|
-
activate_states: string[];
|
|
757
|
-
/**
|
|
758
|
-
* States exited by this step.
|
|
759
|
-
*/
|
|
760
|
-
exit_states: string[];
|
|
761
|
-
/**
|
|
762
|
-
* States required to be active before this step.
|
|
763
|
-
*/
|
|
764
|
-
from_states: string[];
|
|
765
|
-
/**
|
|
766
|
-
* Cost of this step.
|
|
767
|
-
*/
|
|
768
|
-
path_cost: number;
|
|
769
|
-
/**
|
|
770
|
-
* Logical transition ID taken in this step.
|
|
771
|
-
*/
|
|
772
|
-
transition_id: string;
|
|
773
|
-
/**
|
|
774
|
-
* Display name of the transition.
|
|
775
|
-
*/
|
|
776
|
-
transition_name: string;
|
|
742
|
+
/* eslint-disable */
|
|
743
|
+
/**
|
|
744
|
+
* This file was automatically generated.
|
|
745
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
746
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
747
|
+
*/
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* A single step on a computed path.
|
|
751
|
+
*/
|
|
752
|
+
interface PathfindingStep {
|
|
753
|
+
/**
|
|
754
|
+
* States activated by this step.
|
|
755
|
+
*/
|
|
756
|
+
activate_states: string[];
|
|
757
|
+
/**
|
|
758
|
+
* States exited by this step.
|
|
759
|
+
*/
|
|
760
|
+
exit_states: string[];
|
|
761
|
+
/**
|
|
762
|
+
* States required to be active before this step.
|
|
763
|
+
*/
|
|
764
|
+
from_states: string[];
|
|
765
|
+
/**
|
|
766
|
+
* Cost of this step.
|
|
767
|
+
*/
|
|
768
|
+
path_cost: number;
|
|
769
|
+
/**
|
|
770
|
+
* Logical transition ID taken in this step.
|
|
771
|
+
*/
|
|
772
|
+
transition_id: string;
|
|
773
|
+
/**
|
|
774
|
+
* Display name of the transition.
|
|
775
|
+
*/
|
|
776
|
+
transition_name: string;
|
|
777
777
|
}
|
|
778
778
|
|
|
779
|
-
/* eslint-disable */
|
|
780
|
-
/**
|
|
781
|
-
* This file was automatically generated.
|
|
782
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
783
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
784
|
-
*/
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
/**
|
|
789
|
-
* Result of a pathfinding search.
|
|
790
|
-
*/
|
|
791
|
-
interface PathfindingResult {
|
|
792
|
-
/**
|
|
793
|
-
* Error message when pathfinding failed.
|
|
794
|
-
*/
|
|
795
|
-
error?: string | null;
|
|
796
|
-
/**
|
|
797
|
-
* Whether a valid path was found.
|
|
798
|
-
*/
|
|
799
|
-
found: boolean;
|
|
800
|
-
/**
|
|
801
|
-
* Ordered steps on the computed path (empty when `found` is `false`).
|
|
802
|
-
*/
|
|
803
|
-
steps: PathfindingStep[];
|
|
804
|
-
/**
|
|
805
|
-
* Sum of `path_cost` across steps.
|
|
806
|
-
*/
|
|
807
|
-
total_cost: number;
|
|
779
|
+
/* eslint-disable */
|
|
780
|
+
/**
|
|
781
|
+
* This file was automatically generated.
|
|
782
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
783
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
784
|
+
*/
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* Result of a pathfinding search.
|
|
790
|
+
*/
|
|
791
|
+
interface PathfindingResult {
|
|
792
|
+
/**
|
|
793
|
+
* Error message when pathfinding failed.
|
|
794
|
+
*/
|
|
795
|
+
error?: string | null;
|
|
796
|
+
/**
|
|
797
|
+
* Whether a valid path was found.
|
|
798
|
+
*/
|
|
799
|
+
found: boolean;
|
|
800
|
+
/**
|
|
801
|
+
* Ordered steps on the computed path (empty when `found` is `false`).
|
|
802
|
+
*/
|
|
803
|
+
steps: PathfindingStep[];
|
|
804
|
+
/**
|
|
805
|
+
* Sum of `path_cost` across steps.
|
|
806
|
+
*/
|
|
807
|
+
total_cost: number;
|
|
808
808
|
}
|
|
809
809
|
|
|
810
|
-
/* eslint-disable */
|
|
811
|
-
/**
|
|
812
|
-
* This file was automatically generated.
|
|
813
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
814
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
815
|
-
*/
|
|
816
|
-
|
|
817
|
-
/**
|
|
818
|
-
* Result of executing a single state transition at runtime.
|
|
819
|
-
*
|
|
820
|
-
* Returned by the runner's Tauri commands or the qontinui Python subprocess.
|
|
821
|
-
*/
|
|
822
|
-
interface TransitionExecutionResult {
|
|
823
|
-
/**
|
|
824
|
-
* States that are active after the transition.
|
|
825
|
-
*/
|
|
826
|
-
active_states: string[];
|
|
827
|
-
/**
|
|
828
|
-
* Error message when execution failed.
|
|
829
|
-
*/
|
|
830
|
-
error?: string | null;
|
|
831
|
-
/**
|
|
832
|
-
* Whether the transition executed successfully.
|
|
833
|
-
*/
|
|
834
|
-
success: boolean;
|
|
835
|
-
/**
|
|
836
|
-
* Logical transition ID that was executed.
|
|
837
|
-
*/
|
|
838
|
-
transition_id: string;
|
|
810
|
+
/* eslint-disable */
|
|
811
|
+
/**
|
|
812
|
+
* This file was automatically generated.
|
|
813
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
814
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
815
|
+
*/
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* Result of executing a single state transition at runtime.
|
|
819
|
+
*
|
|
820
|
+
* Returned by the runner's Tauri commands or the qontinui Python subprocess.
|
|
821
|
+
*/
|
|
822
|
+
interface TransitionExecutionResult {
|
|
823
|
+
/**
|
|
824
|
+
* States that are active after the transition.
|
|
825
|
+
*/
|
|
826
|
+
active_states: string[];
|
|
827
|
+
/**
|
|
828
|
+
* Error message when execution failed.
|
|
829
|
+
*/
|
|
830
|
+
error?: string | null;
|
|
831
|
+
/**
|
|
832
|
+
* Whether the transition executed successfully.
|
|
833
|
+
*/
|
|
834
|
+
success: boolean;
|
|
835
|
+
/**
|
|
836
|
+
* Logical transition ID that was executed.
|
|
837
|
+
*/
|
|
838
|
+
transition_id: string;
|
|
839
839
|
}
|
|
840
840
|
|
|
841
|
-
/* eslint-disable */
|
|
842
|
-
/**
|
|
843
|
-
* This file was automatically generated.
|
|
844
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
845
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
846
|
-
*/
|
|
847
|
-
|
|
848
|
-
/**
|
|
849
|
-
* Result of navigating to one or more target states.
|
|
850
|
-
*
|
|
851
|
-
* Navigation uses multistate pathfinding to determine the optimal path.
|
|
852
|
-
* Nested `results` allow a single top-level navigation to fan out to several
|
|
853
|
-
* targets and report per-target outcomes.
|
|
854
|
-
*/
|
|
855
|
-
interface NavigationResult {
|
|
856
|
-
/**
|
|
857
|
-
* States active after the navigation completed.
|
|
858
|
-
*/
|
|
859
|
-
active_states: string[];
|
|
860
|
-
/**
|
|
861
|
-
* Error message when navigation failed.
|
|
862
|
-
*/
|
|
863
|
-
error?: string | null;
|
|
864
|
-
/**
|
|
865
|
-
* Ordered list of state IDs visited.
|
|
866
|
-
*/
|
|
867
|
-
path: string[];
|
|
868
|
-
/**
|
|
869
|
-
* Per-target sub-results for fan-out navigation.
|
|
870
|
-
*/
|
|
871
|
-
results?: NavigationResult[] | null;
|
|
872
|
-
/**
|
|
873
|
-
* Whether the overall navigation succeeded.
|
|
874
|
-
*/
|
|
875
|
-
success: boolean;
|
|
876
|
-
/**
|
|
877
|
-
* Target state for this navigation branch (if applicable).
|
|
878
|
-
*/
|
|
879
|
-
target_state?: string | null;
|
|
841
|
+
/* eslint-disable */
|
|
842
|
+
/**
|
|
843
|
+
* This file was automatically generated.
|
|
844
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
845
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
846
|
+
*/
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* Result of navigating to one or more target states.
|
|
850
|
+
*
|
|
851
|
+
* Navigation uses multistate pathfinding to determine the optimal path.
|
|
852
|
+
* Nested `results` allow a single top-level navigation to fan out to several
|
|
853
|
+
* targets and report per-target outcomes.
|
|
854
|
+
*/
|
|
855
|
+
interface NavigationResult {
|
|
856
|
+
/**
|
|
857
|
+
* States active after the navigation completed.
|
|
858
|
+
*/
|
|
859
|
+
active_states: string[];
|
|
860
|
+
/**
|
|
861
|
+
* Error message when navigation failed.
|
|
862
|
+
*/
|
|
863
|
+
error?: string | null;
|
|
864
|
+
/**
|
|
865
|
+
* Ordered list of state IDs visited.
|
|
866
|
+
*/
|
|
867
|
+
path: string[];
|
|
868
|
+
/**
|
|
869
|
+
* Per-target sub-results for fan-out navigation.
|
|
870
|
+
*/
|
|
871
|
+
results?: NavigationResult[] | null;
|
|
872
|
+
/**
|
|
873
|
+
* Whether the overall navigation succeeded.
|
|
874
|
+
*/
|
|
875
|
+
success: boolean;
|
|
876
|
+
/**
|
|
877
|
+
* Target state for this navigation branch (if applicable).
|
|
878
|
+
*/
|
|
879
|
+
target_state?: string | null;
|
|
880
880
|
}
|
|
881
881
|
|
|
882
|
-
/* eslint-disable */
|
|
883
|
-
/**
|
|
884
|
-
* This file was automatically generated.
|
|
885
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
886
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
887
|
-
*/
|
|
888
|
-
|
|
889
|
-
/**
|
|
890
|
-
* Result of querying currently active states in the state machine.
|
|
891
|
-
*/
|
|
892
|
-
interface ActiveStatesResult {
|
|
893
|
-
/**
|
|
894
|
-
* State IDs currently active.
|
|
895
|
-
*/
|
|
896
|
-
active_states: string[];
|
|
897
|
-
/**
|
|
898
|
-
* The "primary" current state, when one can be singled out.
|
|
899
|
-
*/
|
|
900
|
-
current_state?: string | null;
|
|
901
|
-
/**
|
|
902
|
-
* Error message when the query failed.
|
|
903
|
-
*/
|
|
904
|
-
error?: string | null;
|
|
905
|
-
/**
|
|
906
|
-
* Ordered history of states the machine has passed through.
|
|
907
|
-
*/
|
|
908
|
-
state_history?: string[] | null;
|
|
909
|
-
/**
|
|
910
|
-
* Whether the query succeeded.
|
|
911
|
-
*/
|
|
912
|
-
success: boolean;
|
|
882
|
+
/* eslint-disable */
|
|
883
|
+
/**
|
|
884
|
+
* This file was automatically generated.
|
|
885
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
886
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
887
|
+
*/
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
* Result of querying currently active states in the state machine.
|
|
891
|
+
*/
|
|
892
|
+
interface ActiveStatesResult {
|
|
893
|
+
/**
|
|
894
|
+
* State IDs currently active.
|
|
895
|
+
*/
|
|
896
|
+
active_states: string[];
|
|
897
|
+
/**
|
|
898
|
+
* The "primary" current state, when one can be singled out.
|
|
899
|
+
*/
|
|
900
|
+
current_state?: string | null;
|
|
901
|
+
/**
|
|
902
|
+
* Error message when the query failed.
|
|
903
|
+
*/
|
|
904
|
+
error?: string | null;
|
|
905
|
+
/**
|
|
906
|
+
* Ordered history of states the machine has passed through.
|
|
907
|
+
*/
|
|
908
|
+
state_history?: string[] | null;
|
|
909
|
+
/**
|
|
910
|
+
* Whether the query succeeded.
|
|
911
|
+
*/
|
|
912
|
+
success: boolean;
|
|
913
913
|
}
|
|
914
914
|
|
|
915
|
-
/* eslint-disable */
|
|
916
|
-
/**
|
|
917
|
-
* This file was automatically generated.
|
|
918
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
919
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
920
|
-
*/
|
|
921
|
-
|
|
922
|
-
/**
|
|
923
|
-
* Information about a single available transition from the current state.
|
|
924
|
-
*/
|
|
925
|
-
interface TransitionInfo {
|
|
926
|
-
/**
|
|
927
|
-
* Source state ID.
|
|
928
|
-
*/
|
|
929
|
-
from_state: string;
|
|
930
|
-
/**
|
|
931
|
-
* Transition ID.
|
|
932
|
-
*/
|
|
933
|
-
id: string;
|
|
934
|
-
/**
|
|
935
|
-
* Destination state ID (`null` if the transition stays within the same
|
|
936
|
-
* state set — e.g. a self-transition or a guard-only action).
|
|
937
|
-
*/
|
|
938
|
-
to_state: string | null;
|
|
939
|
-
/**
|
|
940
|
-
* Names of workflows attached to this transition.
|
|
941
|
-
*/
|
|
942
|
-
workflows: string[];
|
|
915
|
+
/* eslint-disable */
|
|
916
|
+
/**
|
|
917
|
+
* This file was automatically generated.
|
|
918
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
919
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
920
|
+
*/
|
|
921
|
+
|
|
922
|
+
/**
|
|
923
|
+
* Information about a single available transition from the current state.
|
|
924
|
+
*/
|
|
925
|
+
interface TransitionInfo {
|
|
926
|
+
/**
|
|
927
|
+
* Source state ID.
|
|
928
|
+
*/
|
|
929
|
+
from_state: string;
|
|
930
|
+
/**
|
|
931
|
+
* Transition ID.
|
|
932
|
+
*/
|
|
933
|
+
id: string;
|
|
934
|
+
/**
|
|
935
|
+
* Destination state ID (`null` if the transition stays within the same
|
|
936
|
+
* state set — e.g. a self-transition or a guard-only action).
|
|
937
|
+
*/
|
|
938
|
+
to_state: string | null;
|
|
939
|
+
/**
|
|
940
|
+
* Names of workflows attached to this transition.
|
|
941
|
+
*/
|
|
942
|
+
workflows: string[];
|
|
943
943
|
}
|
|
944
944
|
|
|
945
|
-
/* eslint-disable */
|
|
946
|
-
/**
|
|
947
|
-
* This file was automatically generated.
|
|
948
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
949
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
950
|
-
*/
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
/**
|
|
955
|
-
* Result of querying available transitions from the current state.
|
|
956
|
-
*/
|
|
957
|
-
interface AvailableTransitionsResult {
|
|
958
|
-
/**
|
|
959
|
-
* The state the transitions are taken from.
|
|
960
|
-
*/
|
|
961
|
-
current_state?: string | null;
|
|
962
|
-
/**
|
|
963
|
-
* Error message when the query failed.
|
|
964
|
-
*/
|
|
965
|
-
error?: string | null;
|
|
966
|
-
/**
|
|
967
|
-
* Human-readable message (e.g., "no transitions available").
|
|
968
|
-
*/
|
|
969
|
-
message?: string | null;
|
|
970
|
-
/**
|
|
971
|
-
* Whether the query succeeded.
|
|
972
|
-
*/
|
|
973
|
-
success: boolean;
|
|
974
|
-
/**
|
|
975
|
-
* Transitions available from the current state.
|
|
976
|
-
*/
|
|
977
|
-
transitions: TransitionInfo[];
|
|
945
|
+
/* eslint-disable */
|
|
946
|
+
/**
|
|
947
|
+
* This file was automatically generated.
|
|
948
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
949
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
950
|
+
*/
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* Result of querying available transitions from the current state.
|
|
956
|
+
*/
|
|
957
|
+
interface AvailableTransitionsResult {
|
|
958
|
+
/**
|
|
959
|
+
* The state the transitions are taken from.
|
|
960
|
+
*/
|
|
961
|
+
current_state?: string | null;
|
|
962
|
+
/**
|
|
963
|
+
* Error message when the query failed.
|
|
964
|
+
*/
|
|
965
|
+
error?: string | null;
|
|
966
|
+
/**
|
|
967
|
+
* Human-readable message (e.g., "no transitions available").
|
|
968
|
+
*/
|
|
969
|
+
message?: string | null;
|
|
970
|
+
/**
|
|
971
|
+
* Whether the query succeeded.
|
|
972
|
+
*/
|
|
973
|
+
success: boolean;
|
|
974
|
+
/**
|
|
975
|
+
* Transitions available from the current state.
|
|
976
|
+
*/
|
|
977
|
+
transitions: TransitionInfo[];
|
|
978
978
|
}
|
|
979
979
|
|
|
980
|
-
/* eslint-disable */
|
|
981
|
-
/**
|
|
982
|
-
* This file was automatically generated.
|
|
983
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
984
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
985
|
-
*/
|
|
986
|
-
|
|
987
|
-
/**
|
|
988
|
-
* Source of initial states configuration.
|
|
989
|
-
*
|
|
990
|
-
* - `Defaults`: states with `is_initial=true` in the state machine definition
|
|
991
|
-
* - `Workflow`: initial states defined on the workflow (`initialStateIds`)
|
|
992
|
-
* - `Override`: session-only override from the runner UI
|
|
993
|
-
*
|
|
994
|
-
* Serialized as a bare lowercase string (`"defaults"` / `"workflow"` /
|
|
995
|
-
* `"override"`) to match the TS literal union.
|
|
996
|
-
*/
|
|
980
|
+
/* eslint-disable */
|
|
981
|
+
/**
|
|
982
|
+
* This file was automatically generated.
|
|
983
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
984
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
985
|
+
*/
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* Source of initial states configuration.
|
|
989
|
+
*
|
|
990
|
+
* - `Defaults`: states with `is_initial=true` in the state machine definition
|
|
991
|
+
* - `Workflow`: initial states defined on the workflow (`initialStateIds`)
|
|
992
|
+
* - `Override`: session-only override from the runner UI
|
|
993
|
+
*
|
|
994
|
+
* Serialized as a bare lowercase string (`"defaults"` / `"workflow"` /
|
|
995
|
+
* `"override"`) to match the TS literal union.
|
|
996
|
+
*/
|
|
997
997
|
type InitialStatesSource = "defaults" | "workflow" | "override";
|
|
998
998
|
|
|
999
|
-
/* eslint-disable */
|
|
1000
|
-
/**
|
|
1001
|
-
* This file was automatically generated.
|
|
1002
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
1003
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
1004
|
-
*/
|
|
1005
|
-
|
|
1006
|
-
/**
|
|
1007
|
-
* A lightweight reference to a state by id and display name.
|
|
1008
|
-
*
|
|
1009
|
-
* Used in [`ResolvedInitialStates`] and [`ResolvedInitialStatesResult`] to
|
|
1010
|
-
* let the UI render human-readable lists without a separate lookup.
|
|
1011
|
-
*/
|
|
1012
|
-
interface InitialStateRef {
|
|
1013
|
-
/**
|
|
1014
|
-
* State ID.
|
|
1015
|
-
*/
|
|
1016
|
-
id: string;
|
|
1017
|
-
/**
|
|
1018
|
-
* Display name.
|
|
1019
|
-
*/
|
|
1020
|
-
name: string;
|
|
999
|
+
/* eslint-disable */
|
|
1000
|
+
/**
|
|
1001
|
+
* This file was automatically generated.
|
|
1002
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
1003
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
1004
|
+
*/
|
|
1005
|
+
|
|
1006
|
+
/**
|
|
1007
|
+
* A lightweight reference to a state by id and display name.
|
|
1008
|
+
*
|
|
1009
|
+
* Used in [`ResolvedInitialStates`] and [`ResolvedInitialStatesResult`] to
|
|
1010
|
+
* let the UI render human-readable lists without a separate lookup.
|
|
1011
|
+
*/
|
|
1012
|
+
interface InitialStateRef {
|
|
1013
|
+
/**
|
|
1014
|
+
* State ID.
|
|
1015
|
+
*/
|
|
1016
|
+
id: string;
|
|
1017
|
+
/**
|
|
1018
|
+
* Display name.
|
|
1019
|
+
*/
|
|
1020
|
+
name: string;
|
|
1021
1021
|
}
|
|
1022
1022
|
|
|
1023
|
-
/* eslint-disable */
|
|
1024
|
-
/**
|
|
1025
|
-
* This file was automatically generated.
|
|
1026
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
1027
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
1028
|
-
*/
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
/**
|
|
1033
|
-
* The resolved set of initial states for a run, along with the source the
|
|
1034
|
-
* resolution came from.
|
|
1035
|
-
*/
|
|
1036
|
-
interface ResolvedInitialStates {
|
|
1037
|
-
source: InitialStatesSource;
|
|
1038
|
-
/**
|
|
1039
|
-
* Resolved initial state IDs.
|
|
1040
|
-
*/
|
|
1041
|
-
stateIds: string[];
|
|
1042
|
-
/**
|
|
1043
|
-
* Display-ready references for each state (optional).
|
|
1044
|
-
*/
|
|
1045
|
-
states?: InitialStateRef[] | null;
|
|
1046
|
-
/**
|
|
1047
|
-
* Workflow ID when `source == Workflow`.
|
|
1048
|
-
*/
|
|
1049
|
-
workflowId?: string | null;
|
|
1023
|
+
/* eslint-disable */
|
|
1024
|
+
/**
|
|
1025
|
+
* This file was automatically generated.
|
|
1026
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
1027
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
1028
|
+
*/
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
/**
|
|
1033
|
+
* The resolved set of initial states for a run, along with the source the
|
|
1034
|
+
* resolution came from.
|
|
1035
|
+
*/
|
|
1036
|
+
interface ResolvedInitialStates {
|
|
1037
|
+
source: InitialStatesSource;
|
|
1038
|
+
/**
|
|
1039
|
+
* Resolved initial state IDs.
|
|
1040
|
+
*/
|
|
1041
|
+
stateIds: string[];
|
|
1042
|
+
/**
|
|
1043
|
+
* Display-ready references for each state (optional).
|
|
1044
|
+
*/
|
|
1045
|
+
states?: InitialStateRef[] | null;
|
|
1046
|
+
/**
|
|
1047
|
+
* Workflow ID when `source == Workflow`.
|
|
1048
|
+
*/
|
|
1049
|
+
workflowId?: string | null;
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
1052
|
-
/* eslint-disable */
|
|
1053
|
-
/**
|
|
1054
|
-
* This file was automatically generated.
|
|
1055
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
1056
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
1057
|
-
*/
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
/**
|
|
1062
|
-
* Result envelope for the "resolve initial states" operation.
|
|
1063
|
-
*
|
|
1064
|
-
* Unlike [`ResolvedInitialStates`], this shape is non-optional: `states` and
|
|
1065
|
-
* `workflowId` are always present (possibly empty), and a `success` / `error`
|
|
1066
|
-
* pair is provided.
|
|
1067
|
-
*/
|
|
1068
|
-
interface ResolvedInitialStatesResult {
|
|
1069
|
-
/**
|
|
1070
|
-
* Error message when resolution failed.
|
|
1071
|
-
*/
|
|
1072
|
-
error?: string | null;
|
|
1073
|
-
source: InitialStatesSource;
|
|
1074
|
-
/**
|
|
1075
|
-
* Resolved initial state IDs.
|
|
1076
|
-
*/
|
|
1077
|
-
stateIds: string[];
|
|
1078
|
-
/**
|
|
1079
|
-
* Display-ready references for each state.
|
|
1080
|
-
*/
|
|
1081
|
-
states: InitialStateRef[];
|
|
1082
|
-
/**
|
|
1083
|
-
* Whether resolution succeeded.
|
|
1084
|
-
*/
|
|
1085
|
-
success: boolean;
|
|
1086
|
-
/**
|
|
1087
|
-
* Workflow ID (may be empty).
|
|
1088
|
-
*/
|
|
1089
|
-
workflowId: string;
|
|
1052
|
+
/* eslint-disable */
|
|
1053
|
+
/**
|
|
1054
|
+
* This file was automatically generated.
|
|
1055
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
1056
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
1057
|
+
*/
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
/**
|
|
1062
|
+
* Result envelope for the "resolve initial states" operation.
|
|
1063
|
+
*
|
|
1064
|
+
* Unlike [`ResolvedInitialStates`], this shape is non-optional: `states` and
|
|
1065
|
+
* `workflowId` are always present (possibly empty), and a `success` / `error`
|
|
1066
|
+
* pair is provided.
|
|
1067
|
+
*/
|
|
1068
|
+
interface ResolvedInitialStatesResult {
|
|
1069
|
+
/**
|
|
1070
|
+
* Error message when resolution failed.
|
|
1071
|
+
*/
|
|
1072
|
+
error?: string | null;
|
|
1073
|
+
source: InitialStatesSource;
|
|
1074
|
+
/**
|
|
1075
|
+
* Resolved initial state IDs.
|
|
1076
|
+
*/
|
|
1077
|
+
stateIds: string[];
|
|
1078
|
+
/**
|
|
1079
|
+
* Display-ready references for each state.
|
|
1080
|
+
*/
|
|
1081
|
+
states: InitialStateRef[];
|
|
1082
|
+
/**
|
|
1083
|
+
* Whether resolution succeeded.
|
|
1084
|
+
*/
|
|
1085
|
+
success: boolean;
|
|
1086
|
+
/**
|
|
1087
|
+
* Workflow ID (may be empty).
|
|
1088
|
+
*/
|
|
1089
|
+
workflowId: string;
|
|
1090
1090
|
}
|
|
1091
1091
|
|
|
1092
|
-
/* eslint-disable */
|
|
1093
|
-
/**
|
|
1094
|
-
* This file was automatically generated.
|
|
1095
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
1096
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
1097
|
-
*/
|
|
1098
|
-
|
|
1099
|
-
/**
|
|
1100
|
-
* Strategy used by the state-discovery pass.
|
|
1101
|
-
*
|
|
1102
|
-
* Serialized as a bare lowercase string.
|
|
1103
|
-
*/
|
|
1092
|
+
/* eslint-disable */
|
|
1093
|
+
/**
|
|
1094
|
+
* This file was automatically generated.
|
|
1095
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
1096
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
1097
|
+
*/
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* Strategy used by the state-discovery pass.
|
|
1101
|
+
*
|
|
1102
|
+
* Serialized as a bare lowercase string.
|
|
1103
|
+
*/
|
|
1104
1104
|
type DiscoveryStrategy = "auto" | "fingerprint";
|
|
1105
1105
|
|
|
1106
|
-
/* eslint-disable */
|
|
1107
|
-
/**
|
|
1108
|
-
* This file was automatically generated.
|
|
1109
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
1110
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
1111
|
-
*/
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
/**
|
|
1116
|
-
* Data passed to a transition edge in the ReactFlow graph editor.
|
|
1117
|
-
*/
|
|
1118
|
-
interface TransitionEdgeData {
|
|
1119
|
-
/**
|
|
1120
|
-
* Number of actions in this transition.
|
|
1121
|
-
*/
|
|
1122
|
-
actionCount: number;
|
|
1123
|
-
/**
|
|
1124
|
-
* Distinct action types used.
|
|
1125
|
-
*/
|
|
1126
|
-
actionTypes: StandardActionType[];
|
|
1127
|
-
/**
|
|
1128
|
-
* Target of the first action, for label rendering.
|
|
1129
|
-
*/
|
|
1130
|
-
firstActionTarget?: string | null;
|
|
1131
|
-
/**
|
|
1132
|
-
* Whether the edge is highlighted (e.g., part of a path preview).
|
|
1133
|
-
*/
|
|
1134
|
-
isHighlighted: boolean;
|
|
1135
|
-
/**
|
|
1136
|
-
* Display name.
|
|
1137
|
-
*/
|
|
1138
|
-
name: string;
|
|
1139
|
-
/**
|
|
1140
|
-
* Path cost.
|
|
1141
|
-
*/
|
|
1142
|
-
pathCost: number;
|
|
1143
|
-
/**
|
|
1144
|
-
* Whether source states stay visible after activation.
|
|
1145
|
-
*/
|
|
1146
|
-
staysVisible: boolean;
|
|
1147
|
-
/**
|
|
1148
|
-
* Transition ID this edge represents.
|
|
1149
|
-
*/
|
|
1150
|
-
transitionId: string;
|
|
1106
|
+
/* eslint-disable */
|
|
1107
|
+
/**
|
|
1108
|
+
* This file was automatically generated.
|
|
1109
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
1110
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
1111
|
+
*/
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* Data passed to a transition edge in the ReactFlow graph editor.
|
|
1117
|
+
*/
|
|
1118
|
+
interface TransitionEdgeData {
|
|
1119
|
+
/**
|
|
1120
|
+
* Number of actions in this transition.
|
|
1121
|
+
*/
|
|
1122
|
+
actionCount: number;
|
|
1123
|
+
/**
|
|
1124
|
+
* Distinct action types used.
|
|
1125
|
+
*/
|
|
1126
|
+
actionTypes: StandardActionType[];
|
|
1127
|
+
/**
|
|
1128
|
+
* Target of the first action, for label rendering.
|
|
1129
|
+
*/
|
|
1130
|
+
firstActionTarget?: string | null;
|
|
1131
|
+
/**
|
|
1132
|
+
* Whether the edge is highlighted (e.g., part of a path preview).
|
|
1133
|
+
*/
|
|
1134
|
+
isHighlighted: boolean;
|
|
1135
|
+
/**
|
|
1136
|
+
* Display name.
|
|
1137
|
+
*/
|
|
1138
|
+
name: string;
|
|
1139
|
+
/**
|
|
1140
|
+
* Path cost.
|
|
1141
|
+
*/
|
|
1142
|
+
pathCost: number;
|
|
1143
|
+
/**
|
|
1144
|
+
* Whether source states stay visible after activation.
|
|
1145
|
+
*/
|
|
1146
|
+
staysVisible: boolean;
|
|
1147
|
+
/**
|
|
1148
|
+
* Transition ID this edge represents.
|
|
1149
|
+
*/
|
|
1150
|
+
transitionId: string;
|
|
1151
1151
|
}
|
|
1152
1152
|
|
|
1153
|
-
/* eslint-disable */
|
|
1154
|
-
/**
|
|
1155
|
-
* This file was automatically generated.
|
|
1156
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
1157
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
1158
|
-
*/
|
|
1159
|
-
|
|
1160
|
-
/**
|
|
1161
|
-
* Format for exporting a state machine config to JSON.
|
|
1162
|
-
*
|
|
1163
|
-
* Compatible with `UIBridgeRuntime.from_dict()` in the qontinui library. The
|
|
1164
|
-
* nested maps hold opaque per-state / per-transition / per-config dictionaries
|
|
1165
|
-
* because the exporter serializes implementation-specific fields not captured
|
|
1166
|
-
* by the DTO types.
|
|
1167
|
-
*/
|
|
1168
|
-
interface StateMachineExportFormat {
|
|
1169
|
-
/**
|
|
1170
|
-
* Config-level payload.
|
|
1171
|
-
*/
|
|
1172
|
-
config: {
|
|
1173
|
-
[k: string]: unknown;
|
|
1174
|
-
};
|
|
1175
|
-
/**
|
|
1176
|
-
* State ID → state payload.
|
|
1177
|
-
*/
|
|
1178
|
-
states: {
|
|
1179
|
-
[k: string]: {
|
|
1180
|
-
[k: string]: unknown;
|
|
1181
|
-
};
|
|
1182
|
-
};
|
|
1183
|
-
/**
|
|
1184
|
-
* Transition ID → transition payload.
|
|
1185
|
-
*/
|
|
1186
|
-
transitions: {
|
|
1187
|
-
[k: string]: {
|
|
1188
|
-
[k: string]: unknown;
|
|
1189
|
-
};
|
|
1190
|
-
};
|
|
1153
|
+
/* eslint-disable */
|
|
1154
|
+
/**
|
|
1155
|
+
* This file was automatically generated.
|
|
1156
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
1157
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
1158
|
+
*/
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* Format for exporting a state machine config to JSON.
|
|
1162
|
+
*
|
|
1163
|
+
* Compatible with `UIBridgeRuntime.from_dict()` in the qontinui library. The
|
|
1164
|
+
* nested maps hold opaque per-state / per-transition / per-config dictionaries
|
|
1165
|
+
* because the exporter serializes implementation-specific fields not captured
|
|
1166
|
+
* by the DTO types.
|
|
1167
|
+
*/
|
|
1168
|
+
interface StateMachineExportFormat {
|
|
1169
|
+
/**
|
|
1170
|
+
* Config-level payload.
|
|
1171
|
+
*/
|
|
1172
|
+
config: {
|
|
1173
|
+
[k: string]: unknown;
|
|
1174
|
+
};
|
|
1175
|
+
/**
|
|
1176
|
+
* State ID → state payload.
|
|
1177
|
+
*/
|
|
1178
|
+
states: {
|
|
1179
|
+
[k: string]: {
|
|
1180
|
+
[k: string]: unknown;
|
|
1181
|
+
};
|
|
1182
|
+
};
|
|
1183
|
+
/**
|
|
1184
|
+
* Transition ID → transition payload.
|
|
1185
|
+
*/
|
|
1186
|
+
transitions: {
|
|
1187
|
+
[k: string]: {
|
|
1188
|
+
[k: string]: unknown;
|
|
1189
|
+
};
|
|
1190
|
+
};
|
|
1191
1191
|
}
|
|
1192
1192
|
|
|
1193
1193
|
/**
|