@qontinui/shared-types 0.2.3 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +128 -128
- package/dist/{Region.d-BbpFAWF4.d.cts → Region.d-DtT3UphX.d.cts} +81 -81
- package/dist/{Region.d-BbpFAWF4.d.ts → Region.d-DtT3UphX.d.ts} +81 -81
- package/dist/{TaskRunFindingActionType.d-B4VmmbB6.d.cts → TaskRunFindingActionType.d-CNIWogcU.d.cts} +53 -53
- package/dist/{TaskRunFindingActionType.d-B4VmmbB6.d.ts → TaskRunFindingActionType.d-CNIWogcU.d.ts} +53 -53
- package/dist/accessibility.cjs.map +1 -1
- package/dist/accessibility.d.cts +379 -379
- package/dist/accessibility.d.ts +379 -379
- package/dist/chat.cjs.map +1 -1
- package/dist/{chunk-ZK5MJEGT.js → chunk-CTBDIP7K.js} +1 -1
- package/dist/chunk-CTBDIP7K.js.map +1 -0
- package/dist/{chunk-YXD4WCYQ.js → chunk-ZUZ3OLOH.js} +1 -1
- package/dist/chunk-ZUZ3OLOH.js.map +1 -0
- package/dist/config.cjs.map +1 -1
- package/dist/config.d.cts +105 -105
- package/dist/config.d.ts +105 -105
- package/dist/constraints.cjs.map +1 -1
- package/dist/constraints.d.cts +372 -372
- package/dist/constraints.d.ts +372 -372
- package/dist/execution.cjs.map +1 -1
- package/dist/execution.d.cts +869 -869
- package/dist/execution.d.ts +869 -869
- package/dist/execution.js +1 -1
- package/dist/geometry.cjs.map +1 -1
- package/dist/geometry.d.cts +81 -81
- package/dist/geometry.d.ts +81 -81
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +589 -589
- package/dist/index.d.ts +589 -589
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/library.cjs.map +1 -1
- package/dist/rag.cjs.map +1 -1
- package/dist/rag.d.cts +579 -579
- package/dist/rag.d.ts +579 -579
- package/dist/runner.cjs.map +1 -1
- package/dist/runner.d.cts +147 -147
- package/dist/runner.d.ts +147 -147
- package/dist/scheduler.cjs.map +1 -1
- package/dist/scheduler.d.cts +692 -692
- package/dist/scheduler.d.ts +692 -692
- package/dist/state-machine.cjs.map +1 -1
- package/dist/state-machine.d.cts +1128 -1128
- package/dist/state-machine.d.ts +1128 -1128
- package/dist/targets.cjs.map +1 -1
- package/dist/targets.d.cts +270 -270
- package/dist/targets.d.ts +270 -270
- package/dist/task-run.cjs.map +1 -1
- package/dist/task-run.d.cts +1431 -1431
- package/dist/task-run.d.ts +1431 -1431
- package/dist/tauri-events.cjs.map +1 -1
- package/dist/tauri-events.d.cts +315 -202
- package/dist/tauri-events.d.ts +315 -202
- package/dist/tree-events.cjs.map +1 -1
- package/dist/tree-events.d.cts +483 -483
- package/dist/tree-events.d.ts +483 -483
- package/dist/ui-bridge-ir.cjs +37 -0
- package/dist/ui-bridge-ir.cjs.map +1 -1
- package/dist/ui-bridge-ir.d.cts +90 -1
- package/dist/ui-bridge-ir.d.ts +90 -1
- package/dist/ui-bridge-ir.js +37 -0
- package/dist/ui-bridge-ir.js.map +1 -1
- package/dist/workflow.cjs.map +1 -1
- package/dist/workflow.d.cts +1634 -1634
- package/dist/workflow.d.ts +1634 -1634
- package/dist/workflow.js +1 -1
- package/package.json +141 -141
- package/src/accessibility/_api.ts +17 -17
- package/src/accessibility/index.ts +1 -1
- package/src/canvas/index.ts +319 -319
- package/src/chat/_api.ts +23 -23
- package/src/chat/index.ts +1 -1
- package/src/config/_api.ts +13 -13
- package/src/config/index.ts +1 -1
- package/src/constraints/_api.ts +17 -17
- package/src/constraints/index.ts +1 -1
- package/src/discovery.ts +188 -188
- package/src/execution/_api.ts +483 -483
- package/src/execution/index.ts +1 -1
- package/src/generated/A11yAction.d.ts +11 -11
- package/src/generated/AccessibilityBackend.d.ts +12 -12
- package/src/generated/AccessibilityBounds.d.ts +17 -17
- package/src/generated/AccessibilityNode.d.ts +73 -73
- package/src/generated/AccessibilityRole.d.ts +93 -93
- package/src/generated/AccessibilityRoleCriterion.d.ts +13 -13
- package/src/generated/AccessibilitySelector.d.ts +76 -76
- package/src/generated/AccessibilitySnapshot.d.ts +43 -43
- package/src/generated/AccessibilityState.d.ts +67 -67
- package/src/generated/ActionExecutionBatch.d.ts +23 -23
- package/src/generated/ActionExecutionBatchResponse.d.ts +24 -24
- package/src/generated/ActionExecutionCreate.d.ts +124 -124
- package/src/generated/ActionExecutionListResponse.d.ts +20 -20
- package/src/generated/ActionExecutionResponse.d.ts +24 -24
- package/src/generated/ActionReliabilityStats.d.ts +54 -54
- package/src/generated/ActionResponse.d.ts +45 -45
- package/src/generated/ActionStatus.d.ts +11 -11
- package/src/generated/ActionType.d.ts +41 -41
- package/src/generated/ActiveStatesResult.d.ts +32 -32
- package/src/generated/AgenticPhaseOutput.d.ts +50 -50
- package/src/generated/AgenticStatus.d.ts +11 -11
- package/src/generated/AiWorkflow.d.ts +76 -76
- package/src/generated/ApiAssertion.d.ts +35 -35
- package/src/generated/ApiAssertionOperator.d.ts +11 -11
- package/src/generated/ApiAssertionType.d.ts +11 -11
- package/src/generated/ApiContentType.d.ts +11 -11
- package/src/generated/ApiVariableExtraction.d.ts +24 -24
- package/src/generated/AvailableTransitionsResult.d.ts +34 -34
- package/src/generated/BaseStepFields.d.ts +72 -72
- package/src/generated/BatchComputeEmbeddingRequest.d.ts +27 -27
- package/src/generated/BatchComputeEmbeddingResponse.d.ts +23 -23
- package/src/generated/BatchEmbeddingResult.d.ts +23 -23
- package/src/generated/BetweenIterations.d.ts +35 -35
- package/src/generated/BoundingBox.d.ts +18 -18
- package/src/generated/BuildPhaseConfig.d.ts +24 -24
- package/src/generated/BuiltinOverrideProposal.d.ts +27 -27
- package/src/generated/CanonicalStep.d.ts +60 -60
- package/src/generated/CatchUpPolicy.d.ts +12 -12
- package/src/generated/Category.d.ts +24 -24
- package/src/generated/CheckIssueDetail.d.ts +40 -40
- package/src/generated/CheckType.d.ts +21 -21
- package/src/generated/CodeExecutionStep.d.ts +88 -88
- package/src/generated/CommandMode.d.ts +11 -11
- package/src/generated/CommandStep.d.ts +183 -183
- package/src/generated/CommandStepPhase.d.ts +11 -11
- package/src/generated/ComponentActionInfo.d.ts +24 -24
- package/src/generated/ComponentActionRequest.d.ts +22 -22
- package/src/generated/ComputeEmbeddingRequest.d.ts +24 -24
- package/src/generated/ComputeEmbeddingResponse.d.ts +38 -38
- package/src/generated/ComputeTextEmbeddingRequest.d.ts +20 -20
- package/src/generated/ComputeTextEmbeddingResponse.d.ts +32 -32
- package/src/generated/ConditionScheduleConfig.d.ts +17 -17
- package/src/generated/ConditionStatus.d.ts +29 -29
- package/src/generated/Confidence.d.ts +11 -11
- package/src/generated/ConfidenceLevel.d.ts +11 -11
- package/src/generated/Constraint.d.ts +33 -33
- package/src/generated/ConstraintCheck.d.ts +64 -64
- package/src/generated/ConstraintProposal.d.ts +37 -37
- package/src/generated/ConstraintResult.d.ts +32 -32
- package/src/generated/ConstraintSeverity.d.ts +16 -16
- package/src/generated/ConstraintViolation.d.ts +24 -24
- package/src/generated/Context.d.ts +50 -50
- package/src/generated/ContextAutoInclude.d.ts +34 -34
- package/src/generated/CoordinateSystem.d.ts +12 -12
- package/src/generated/Coordinates.d.ts +33 -33
- package/src/generated/CostTrendDataPoint.d.ts +36 -36
- package/src/generated/CostTrendResponse.d.ts +41 -41
- package/src/generated/CoverageData.d.ts +52 -52
- package/src/generated/CreateMcpCallInput.d.ts +59 -59
- package/src/generated/CreateMcpServerInput.d.ts +48 -48
- package/src/generated/CreateOlConfigRequest.d.ts +27 -27
- package/src/generated/CreateScheduledTaskRequest.d.ts +63 -63
- package/src/generated/CreateTaskRunRequest.d.ts +51 -51
- package/src/generated/CriterionOverride.d.ts +39 -39
- package/src/generated/CriterionType.d.ts +11 -11
- package/src/generated/DagApprovalStep.d.ts +80 -80
- package/src/generated/DagCancelStep.d.ts +76 -76
- package/src/generated/DagLoopStep.d.ts +80 -80
- package/src/generated/DecomposerConfig.d.ts +31 -31
- package/src/generated/DiagnosePhaseConfig.d.ts +34 -34
- package/src/generated/DiagnosticResult.d.ts +40 -40
- package/src/generated/DiscoveredElement.d.ts +48 -48
- package/src/generated/DiscoveredState.d.ts +49 -49
- package/src/generated/DiscoveredStateImage.d.ts +56 -56
- package/src/generated/DiscoveredTransition.d.ts +44 -44
- package/src/generated/DiscoveryBoundingBox.d.ts +32 -32
- package/src/generated/DiscoveryRequest.d.ts +40 -40
- package/src/generated/DiscoveryResponse.d.ts +32 -32
- package/src/generated/DiscoverySourceType.d.ts +14 -14
- package/src/generated/DiscoveryStrategy.d.ts +13 -13
- package/src/generated/DiscoveryTransitionTrigger.d.ts +38 -38
- package/src/generated/DisplayNode.d.ts +45 -45
- package/src/generated/DomainAssignment.d.ts +50 -50
- package/src/generated/DomainKnowledge.d.ts +29 -29
- package/src/generated/DomainVerificationResult.d.ts +36 -36
- package/src/generated/ElementActionRequest.d.ts +28 -28
- package/src/generated/ElementBbox.d.ts +36 -36
- package/src/generated/ElementIdentifier.d.ts +40 -40
- package/src/generated/ElementRect.d.ts +48 -48
- package/src/generated/ElementState.d.ts +47 -47
- package/src/generated/ElementType.d.ts +45 -45
- package/src/generated/EmbeddedElement.d.ts +36 -36
- package/src/generated/EmbeddingItem.d.ts +49 -49
- package/src/generated/EmbeddingListResponse.d.ts +22 -22
- package/src/generated/EmbeddingResultItem.d.ts +29 -29
- package/src/generated/EmbeddingResultsRequest.d.ts +19 -19
- package/src/generated/EmbeddingResultsResponse.d.ts +17 -17
- package/src/generated/ErrorType.d.ts +18 -18
- package/src/generated/ExecutePlaybookStep.d.ts +84 -84
- package/src/generated/ExecutionActionType.d.ts +40 -40
- package/src/generated/ExecutionIssueBatch.d.ts +19 -19
- package/src/generated/ExecutionIssueBatchResponse.d.ts +24 -24
- package/src/generated/ExecutionIssueCreate.d.ts +57 -57
- package/src/generated/ExecutionIssueDetail.d.ts +89 -89
- package/src/generated/ExecutionIssueListResponse.d.ts +26 -26
- package/src/generated/ExecutionIssueResponse.d.ts +24 -24
- package/src/generated/ExecutionIssueUpdate.d.ts +31 -31
- package/src/generated/ExecutionMatchLocation.d.ts +31 -31
- package/src/generated/ExecutionRunComplete.d.ts +34 -34
- package/src/generated/ExecutionRunCompleteResponse.d.ts +38 -38
- package/src/generated/ExecutionRunCreate.d.ts +40 -40
- package/src/generated/ExecutionRunDetail.d.ts +76 -76
- package/src/generated/ExecutionRunListResponse.d.ts +22 -22
- package/src/generated/ExecutionRunResponse.d.ts +41 -41
- package/src/generated/ExecutionScreenshotCreate.d.ts +59 -59
- package/src/generated/ExecutionScreenshotResponse.d.ts +36 -36
- package/src/generated/ExecutionStats.d.ts +56 -56
- package/src/generated/ExecutionStep.d.ts +78 -78
- package/src/generated/ExecutionTreeResponse.d.ts +42 -42
- package/src/generated/ExecutionTrendDataPoint.d.ts +36 -36
- package/src/generated/ExecutionTrendResponse.d.ts +46 -46
- package/src/generated/ExitCheckResult.d.ts +20 -20
- package/src/generated/ExitStrategy.d.ts +27 -27
- package/src/generated/ExportResult.d.ts +30 -30
- package/src/generated/ExtendIterationsRequest.d.ts +20 -20
- package/src/generated/FileChange.d.ts +20 -20
- package/src/generated/Finding.d.ts +40 -40
- package/src/generated/FindingActionType.d.ts +13 -13
- package/src/generated/FindingBatchCreate.d.ts +27 -27
- package/src/generated/FindingCategory.d.ts +25 -25
- package/src/generated/FindingCodeContext.d.ts +31 -31
- package/src/generated/FindingCreate.d.ts +52 -52
- package/src/generated/FindingDetail.d.ts +78 -78
- package/src/generated/FindingListResponse.d.ts +40 -40
- package/src/generated/FindingOutput.d.ts +36 -36
- package/src/generated/FindingSeverity.d.ts +14 -14
- package/src/generated/FindingStatus.d.ts +15 -15
- package/src/generated/FindingSummary.d.ts +53 -53
- package/src/generated/FindingUpdate.d.ts +33 -33
- package/src/generated/FindingUserInput.d.ts +27 -27
- package/src/generated/FindingsSummary.d.ts +47 -47
- package/src/generated/FullRunnerStep.d.ts +144 -144
- package/src/generated/GUIElementChunk.d.ts +151 -151
- package/src/generated/GateEvaluationResult.d.ts +36 -36
- package/src/generated/HealthCheckUrl.d.ts +35 -35
- package/src/generated/HistoricalActionQuery.d.ts +42 -42
- package/src/generated/HistoricalActionResult.d.ts +57 -57
- package/src/generated/HttpConfig.d.ts +27 -27
- package/src/generated/HttpMethod.d.ts +13 -13
- package/src/generated/IdleCondition.d.ts +17 -17
- package/src/generated/ImplementFixesConfig.d.ts +25 -25
- package/src/generated/IndividualCheckResult.d.ts +50 -50
- package/src/generated/InitialStateRef.d.ts +23 -23
- package/src/generated/InitialStatesSource.d.ts +18 -18
- package/src/generated/IssueSeverity.d.ts +11 -11
- package/src/generated/IssueSource.d.ts +11 -11
- package/src/generated/IssueStatus.d.ts +11 -11
- package/src/generated/IssueType.d.ts +21 -21
- package/src/generated/IterationResult.d.ts +65 -65
- package/src/generated/IterationVerificationResults.d.ts +53 -53
- package/src/generated/JobItem.d.ts +31 -31
- package/src/generated/JobListResponse.d.ts +20 -20
- package/src/generated/JobStatus.d.ts +11 -11
- package/src/generated/JobSummary.d.ts +30 -30
- package/src/generated/LLMCostSummary.d.ts +38 -38
- package/src/generated/LLMMetrics.d.ts +42 -42
- package/src/generated/LogSourceSelection.d.ts +25 -25
- package/src/generated/LoopInstanceStatus.d.ts +28 -28
- package/src/generated/LoopPhase.d.ts +26 -26
- package/src/generated/MatchAdjustment.d.ts +23 -23
- package/src/generated/MatchLocation.d.ts +22 -22
- package/src/generated/MatchMethod.d.ts +11 -11
- package/src/generated/McpCallRecord.d.ts +35 -35
- package/src/generated/McpCallsResult.d.ts +44 -44
- package/src/generated/McpConnectionRef.d.ts +25 -25
- package/src/generated/McpServerConfig.d.ts +77 -77
- package/src/generated/McpServerStatus.d.ts +42 -42
- package/src/generated/McpToolCallResult.d.ts +38 -38
- package/src/generated/McpToolInfo.d.ts +23 -23
- package/src/generated/McpToolInputSchema.d.ts +34 -34
- package/src/generated/McpTransport.d.ts +15 -15
- package/src/generated/ModelCostBreakdown.d.ts +36 -36
- package/src/generated/ModelOverrideConfig.d.ts +47 -47
- package/src/generated/Monitor.d.ts +48 -48
- package/src/generated/MonitorPosition.d.ts +13 -13
- package/src/generated/MouseButton.d.ts +13 -13
- package/src/generated/MultiLoopConfig.d.ts +32 -32
- package/src/generated/MultiLoopEntry.d.ts +32 -32
- package/src/generated/MultiLoopStatus.d.ts +37 -37
- package/src/generated/NativeAccessibilityStep.d.ts +121 -121
- package/src/generated/NavigationResult.d.ts +40 -40
- package/src/generated/NewConstraintProposal.d.ts +20 -20
- package/src/generated/NextTaskInfo.d.ts +24 -24
- package/src/generated/NodeMetadata.d.ts +47 -47
- package/src/generated/NodeStatus.d.ts +11 -11
- package/src/generated/NodeType.d.ts +11 -11
- package/src/generated/OcrEngine.d.ts +11 -11
- package/src/generated/OlConfig.d.ts +48 -48
- package/src/generated/OrchestrationLoopConfig.d.ts +87 -87
- package/src/generated/OrchestrationLoopStatus.d.ts +59 -59
- package/src/generated/Outcome.d.ts +15 -15
- package/src/generated/OutputLine.d.ts +23 -23
- package/src/generated/OutputStream.d.ts +11 -11
- package/src/generated/OverrideCollection.d.ts +18 -18
- package/src/generated/Pagination.d.ts +28 -28
- package/src/generated/ParserType.d.ts +17 -17
- package/src/generated/PathElement.d.ts +17 -17
- package/src/generated/PathfindingRequest.d.ts +24 -24
- package/src/generated/PathfindingResult.d.ts +30 -30
- package/src/generated/PathfindingStep.d.ts +36 -36
- package/src/generated/PatternOptions.d.ts +32 -32
- package/src/generated/PipelineConfig.d.ts +31 -31
- package/src/generated/PlaybackFrameRequest.d.ts +21 -21
- package/src/generated/PlaywrightExecutionMode.d.ts +11 -11
- package/src/generated/Point.d.ts +20 -20
- package/src/generated/PollingConfig.d.ts +14 -14
- package/src/generated/ProcessConfig.d.ts +96 -96
- package/src/generated/ProcessState.d.ts +15 -15
- package/src/generated/ProcessStatus.d.ts +41 -41
- package/src/generated/PromptStep.d.ts +92 -92
- package/src/generated/PromptStepPhase.d.ts +13 -13
- package/src/generated/RAGDashboardStats.d.ts +26 -26
- package/src/generated/RagCompletionEvent.d.ts +25 -25
- package/src/generated/RagProcessingStatus.d.ts +11 -11
- package/src/generated/RagProgressEvent.d.ts +27 -27
- package/src/generated/ReadConfigResponse.d.ts +20 -20
- package/src/generated/ReflectionFixOutput.d.ts +20 -20
- package/src/generated/Region.d.ts +39 -39
- package/src/generated/RepositoryInactiveCondition.d.ts +24 -24
- package/src/generated/RepositoryWatch.d.ts +20 -20
- package/src/generated/ResolvedInitialStates.d.ts +29 -29
- package/src/generated/ResolvedInitialStatesResult.d.ts +40 -40
- package/src/generated/ResourceLimits.d.ts +33 -33
- package/src/generated/RestartProcessStep.d.ts +88 -88
- package/src/generated/RetryPolicy.d.ts +24 -24
- package/src/generated/RetrySpec.d.ts +24 -24
- package/src/generated/RoleCriterion.d.ts +14 -14
- package/src/generated/RootCauseCategory.d.ts +18 -18
- package/src/generated/RoutingRule.d.ts +38 -38
- package/src/generated/RunPromptRequest.d.ts +56 -56
- package/src/generated/RunPromptResponse.d.ts +50 -50
- package/src/generated/RunPromptResponseData.d.ts +20 -20
- package/src/generated/RunStatus.d.ts +11 -11
- package/src/generated/RunType.d.ts +11 -11
- package/src/generated/Runner.d.ts +81 -81
- package/src/generated/RunnerCrash.d.ts +32 -32
- package/src/generated/RunnerFinding.d.ts +48 -48
- package/src/generated/RunnerFindingCodeContext.d.ts +20 -20
- package/src/generated/RunnerFindingUserInput.d.ts +19 -19
- package/src/generated/RunnerMetadata.d.ts +42 -42
- package/src/generated/RunnerStatus.d.ts +12 -12
- package/src/generated/RunnerUiError.d.ts +28 -28
- package/src/generated/RuntimeData.d.ts +40 -40
- package/src/generated/SaveWorkflowArtifactStep.d.ts +80 -80
- package/src/generated/ScheduleConditions.d.ts +29 -29
- package/src/generated/ScheduleExpression.d.ts +39 -39
- package/src/generated/ScheduledTask.d.ts +104 -104
- package/src/generated/ScheduledTaskStatus.d.ts +19 -19
- package/src/generated/ScheduledTaskType.d.ts +126 -126
- package/src/generated/SchedulerSettings.d.ts +28 -28
- package/src/generated/SchedulerStatus.d.ts +31 -31
- package/src/generated/ScreenshotAnnotation.d.ts +39 -39
- package/src/generated/ScreenshotAnnotationShape.d.ts +11 -11
- package/src/generated/ScreenshotType.d.ts +11 -11
- package/src/generated/ScrollDirection.d.ts +13 -13
- package/src/generated/SearchOptions.d.ts +33 -33
- package/src/generated/SearchResultItem.d.ts +19 -19
- package/src/generated/SearchStrategy.d.ts +14 -14
- package/src/generated/SemanticSearchRequest.d.ts +26 -26
- package/src/generated/SemanticSearchResponse.d.ts +21 -21
- package/src/generated/StageCondition.d.ts +37 -37
- package/src/generated/StageInput.d.ts +27 -27
- package/src/generated/StageOutput.d.ts +20 -20
- package/src/generated/StageTransition.d.ts +30 -30
- package/src/generated/StallDetectorConfig.d.ts +31 -31
- package/src/generated/StandardActionType.d.ts +40 -40
- package/src/generated/StateContext.d.ts +17 -17
- package/src/generated/StateDiscoveryResult.d.ts +104 -104
- package/src/generated/StateDiscoveryResultCreate.d.ts +65 -65
- package/src/generated/StateDiscoveryResultListResponse.d.ts +23 -23
- package/src/generated/StateDiscoveryResultSummary.d.ts +57 -57
- package/src/generated/StateDiscoveryResultUpdate.d.ts +47 -47
- package/src/generated/StateFilterItem.d.ts +18 -18
- package/src/generated/StateMachineConfig.d.ts +45 -45
- package/src/generated/StateMachineConfigCreate.d.ts +20 -20
- package/src/generated/StateMachineConfigFull.d.ts +67 -67
- package/src/generated/StateMachineConfigUpdate.d.ts +20 -20
- package/src/generated/StateMachineExport.d.ts +64 -64
- package/src/generated/StateMachineExportFormat.d.ts +39 -39
- package/src/generated/StateMachineImport.d.ts +25 -25
- package/src/generated/StateMachineState.d.ts +71 -71
- package/src/generated/StateMachineStateCreate.d.ts +52 -52
- package/src/generated/StateMachineStateUpdate.d.ts +48 -48
- package/src/generated/StateMachineTransition.d.ts +75 -75
- package/src/generated/StateMachineTransitionCreate.d.ts +53 -53
- package/src/generated/StateMachineTransitionUpdate.d.ts +53 -53
- package/src/generated/StateNodeData.d.ts +71 -71
- package/src/generated/StatesResponse.d.ts +19 -19
- package/src/generated/StdioConfig.d.ts +34 -34
- package/src/generated/StepExecutionConfig.d.ts +37 -37
- package/src/generated/StructuredFinding.d.ts +32 -32
- package/src/generated/StructuredOverride.d.ts +24 -24
- package/src/generated/StructuredSignal.d.ts +20 -20
- package/src/generated/SuccessCriterion.d.ts +57 -57
- package/src/generated/SummarizationConfig.d.ts +35 -35
- package/src/generated/TargetConfig.d.ts +108 -108
- package/src/generated/TaskCompletionResult.d.ts +90 -90
- package/src/generated/TaskExecutionRecord.d.ts +61 -61
- package/src/generated/TaskRun.d.ts +88 -88
- package/src/generated/TaskRunBackend.d.ts +86 -86
- package/src/generated/TaskRunBackendDetail.d.ts +99 -99
- package/src/generated/TaskRunCreate.d.ts +62 -62
- package/src/generated/TaskRunFilters.d.ts +38 -38
- package/src/generated/TaskRunFinding.d.ts +100 -100
- package/src/generated/TaskRunFindingActionType.d.ts +11 -11
- package/src/generated/TaskRunFindingCategory.d.ts +24 -24
- package/src/generated/TaskRunFindingCreate.d.ts +79 -79
- package/src/generated/TaskRunFindingFilters.d.ts +28 -28
- package/src/generated/TaskRunFindingSeverity.d.ts +11 -11
- package/src/generated/TaskRunFindingStatus.d.ts +11 -11
- package/src/generated/TaskRunFindingSummary.d.ts +34 -34
- package/src/generated/TaskRunFindingUpdate.d.ts +34 -34
- package/src/generated/TaskRunFindingsListResponse.d.ts +24 -24
- package/src/generated/TaskRunListResponse.d.ts +21 -21
- package/src/generated/TaskRunSession.d.ts +40 -40
- package/src/generated/TaskRunStatus.d.ts +11 -11
- package/src/generated/TaskRunUpdate.d.ts +47 -47
- package/src/generated/TaskType.d.ts +11 -11
- package/src/generated/TerminalExitEvent.d.ts +26 -26
- package/src/generated/TerminalInfo.d.ts +69 -69
- package/src/generated/TerminalOutputEvent.d.ts +29 -29
- package/src/generated/TestType.d.ts +11 -11
- package/src/generated/TextMatchType.d.ts +11 -11
- package/src/generated/TextSearchOptions.d.ts +30 -30
- package/src/generated/Ticket.d.ts +53 -53
- package/src/generated/TicketComment.d.ts +28 -28
- package/src/generated/TicketProviderConfig.d.ts +55 -55
- package/src/generated/TicketSource.d.ts +17 -17
- package/src/generated/TicketState.d.ts +15 -15
- package/src/generated/TimingInfo.d.ts +23 -23
- package/src/generated/TopMatch.d.ts +17 -17
- package/src/generated/TransitionAction.d.ts +93 -93
- package/src/generated/TransitionActionValue.d.ts +14 -14
- package/src/generated/TransitionEdgeData.d.ts +46 -46
- package/src/generated/TransitionExecutionResult.d.ts +30 -30
- package/src/generated/TransitionInfo.d.ts +29 -29
- package/src/generated/TransitionTriggerType.d.ts +13 -13
- package/src/generated/TreeEvent.d.ts +47 -47
- package/src/generated/TreeEventCreate.d.ts +30 -30
- package/src/generated/TreeEventListResponse.d.ts +30 -30
- package/src/generated/TreeEventResponse.d.ts +47 -47
- package/src/generated/TreeEventType.d.ts +20 -20
- package/src/generated/TreeNode.d.ts +54 -54
- package/src/generated/UIBridgeCapturedToast.d.ts +22 -22
- package/src/generated/UIBridgeComponent.d.ts +45 -45
- package/src/generated/UIBridgeElement.d.ts +62 -62
- package/src/generated/UIBridgeModalInfo.d.ts +40 -40
- package/src/generated/UIBridgeModalStack.d.ts +19 -19
- package/src/generated/UIBridgeSnapshot.d.ts +67 -67
- package/src/generated/UIBridgeToastContext.d.ts +17 -17
- package/src/generated/UIBridgeUndoContext.d.ts +19 -19
- package/src/generated/UiBridgeAction.d.ts +18 -18
- package/src/generated/UiBridgeAssertType.d.ts +11 -11
- package/src/generated/UiBridgeComparisonMode.d.ts +11 -11
- package/src/generated/UiBridgeDesignAuditStep.d.ts +76 -76
- package/src/generated/UiBridgeRequestEnvelope.d.ts +45 -0
- package/src/generated/UiBridgeResponseEnvelope.d.ts +66 -0
- package/src/generated/UiBridgeSeverity.d.ts +11 -11
- package/src/generated/UiBridgeStep.d.ts +127 -127
- package/src/generated/UiBridgeStepPhase.d.ts +14 -14
- package/src/generated/UiBridgeVisualAssertionStep.d.ts +97 -97
- package/src/generated/UnifiedStep.d.ts +57 -57
- package/src/generated/UnifiedWorkflow.d.ts +411 -411
- package/src/generated/UpdateMcpServerInput.d.ts +28 -28
- package/src/generated/UpdateOlConfigRequest.d.ts +32 -32
- package/src/generated/UpdateScheduledTaskRequest.d.ts +71 -71
- package/src/generated/ValidateConfigRequest.d.ts +16 -16
- package/src/generated/ValidateConfigResponse.d.ts +28 -28
- package/src/generated/VectorSearchResult.d.ts +48 -48
- package/src/generated/VerificationAgentContext.d.ts +25 -25
- package/src/generated/VerificationCategoryKind.d.ts +19 -19
- package/src/generated/VerificationMethod.d.ts +20 -20
- package/src/generated/VerificationPhaseResult.d.ts +63 -63
- package/src/generated/VerificationPlan.d.ts +43 -43
- package/src/generated/VerificationResult.d.ts +44 -44
- package/src/generated/VerificationResultResponse.d.ts +65 -65
- package/src/generated/VerificationResultsListResponse.d.ts +41 -41
- package/src/generated/VerificationStepDetails.d.ts +55 -55
- package/src/generated/VerificationStepResult.d.ts +68 -68
- package/src/generated/VgaAction.d.ts +61 -61
- package/src/generated/VgaActionKind.d.ts +14 -14
- package/src/generated/VgaAutomateStep.d.ts +110 -110
- package/src/generated/VirtualDesktop.d.ts +23 -23
- package/src/generated/VisualAssertionType.d.ts +11 -11
- package/src/generated/VisualComparisonResult.d.ts +40 -40
- package/src/generated/WaitOptions.d.ts +35 -35
- package/src/generated/WorkerCoordinationMessage.d.ts +93 -93
- package/src/generated/WorkerDomain.d.ts +29 -29
- package/src/generated/WorkerInstance.d.ts +62 -62
- package/src/generated/WorkerOutput.d.ts +53 -53
- package/src/generated/WorkerSignal.d.ts +48 -48
- package/src/generated/WorkerStatus.d.ts +11 -11
- package/src/generated/WorkflowArchitecture.d.ts +16 -16
- package/src/generated/WorkflowFixupMode.d.ts +11 -11
- package/src/generated/WorkflowFixupStep.d.ts +85 -85
- package/src/generated/WorkflowInfo.d.ts +28 -28
- package/src/generated/WorkflowMetadata.d.ts +44 -44
- package/src/generated/WorkflowRefStep.d.ts +94 -94
- package/src/generated/WorkflowStage.d.ts +126 -126
- package/src/generated/WorkflowStep.d.ts +80 -80
- package/src/generated/WorkflowStepPhase.d.ts +11 -11
- package/src/generated/WriteConfigRequest.d.ts +20 -20
- package/src/generated/WriteConfigResponse.d.ts +24 -24
- package/src/generated/index.ts +2 -0
- package/src/geometry/_api.ts +16 -16
- package/src/geometry/index.ts +1 -1
- package/src/index.ts +73 -73
- package/src/known-issues/index.ts +179 -179
- package/src/library/_api.ts +326 -326
- package/src/library/index.ts +1 -1
- package/src/rag/_api.ts +47 -47
- package/src/rag/index.ts +1 -1
- package/src/render-log.ts +371 -371
- package/src/runner/_api.ts +14 -14
- package/src/runner/index.ts +1 -1
- package/src/scheduler/_api.ts +21 -21
- package/src/scheduler/index.ts +1 -1
- package/src/state-machine/_api.ts +145 -145
- package/src/state-machine/index.ts +1 -1
- package/src/targets/_api.ts +47 -47
- package/src/targets/index.ts +1 -1
- package/src/task-run/_api.ts +108 -108
- package/src/task-run/index.ts +1 -1
- package/src/tauri-events/_api.ts +90 -76
- package/src/tauri-events/index.ts +1 -1
- package/src/tree-events/_api.ts +42 -42
- package/src/tree-events/index.ts +1 -1
- package/src/ui-bridge-ir/__tests__/projection.test.ts +1029 -1029
- package/src/ui-bridge-ir/adapter.ts +220 -220
- package/src/ui-bridge-ir/document.ts +114 -105
- package/src/ui-bridge-ir/element-criteria.ts +48 -48
- package/src/ui-bridge-ir/group.ts +84 -0
- package/src/ui-bridge-ir/index.ts +24 -23
- package/src/ui-bridge-ir/ir.schema.json +293 -235
- package/src/ui-bridge-ir/primitives.ts +102 -102
- package/src/ui-bridge-ir/projection.ts +921 -863
- package/src/ui-bridge-ir/state.ts +90 -90
- package/src/ui-bridge-ir/transition.ts +92 -92
- package/src/workflow/_api.ts +474 -474
- package/src/workflow/action-plan.ts +208 -208
- package/src/workflow/index.ts +1 -1
- package/src/workflow/skill.ts +152 -152
- package/dist/chunk-YXD4WCYQ.js.map +0 -1
- package/dist/chunk-ZK5MJEGT.js.map +0 -1
package/dist/chat.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/chat/index.ts"],"sourcesContent":["export * from \"./_api\";\
|
|
1
|
+
{"version":3,"sources":["../src/chat/index.ts"],"sourcesContent":["export * from \"./_api\";\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/workflow/_api.ts"],"sourcesContent":["/**\n * Workflow Types\n *\n * Canonical type definitions for the unified Workflow Builder system.\n * Shared across qontinui-runner and qontinui-web.\n *\n * All automation is organized into four phases: Setup, Verification, Agentic, Completion.\n *\n * Execution Order:\n * Setup (once) -> [Verification <-> Agentic]* -> Completion (once)\n *\n * Step Types (4 core types):\n * command - Shell commands, checks, check groups, tests\n * ui_bridge - UI Bridge SDK interactions (navigate, execute, assert, snapshot)\n * prompt - AI task instructions\n * workflow - Run a saved workflow inline (composition)\n */\n\n// =============================================================================\n// Generated frame types — source of truth is qontinui-schemas/rust/src/workflow.rs\n// These are produced by the schemars -> JSON Schema -> json-schema-to-typescript\n// pipeline. Do NOT redeclare them here; re-export from ../generated/*.\n//\n// Step arrays on UnifiedWorkflow / WorkflowStage are typed as `unknown[]` by\n// the generator. Typed step arrays are part of the Wave 4 step migration and\n// remain hand-authored below (BaseStep, CommandStep, PromptStep, UiBridgeStep,\n// WorkflowStep, and the per-phase aliases).\n// =============================================================================\n\nexport type { LogSourceSelection } from \"../generated/LogSourceSelection\";\nexport type { HealthCheckUrl } from \"../generated/HealthCheckUrl\";\nexport type { RoutingRule } from \"../generated/RoutingRule\";\nexport type { ModelOverrideConfig } from \"../generated/ModelOverrideConfig\";\nexport type { StageCondition } from \"../generated/StageCondition\";\nexport type { RetryPolicy } from \"../generated/RetryPolicy\";\nexport type { StageOutput } from \"../generated/StageOutput\";\nexport type { StageInput } from \"../generated/StageInput\";\nexport type { WorkflowStage } from \"../generated/WorkflowStage\";\nexport type { UnifiedWorkflow } from \"../generated/UnifiedWorkflow\";\nexport type { WorkflowArchitecture } from \"../generated/WorkflowArchitecture\";\n\nexport type { BaseStepFields } from \"../generated/BaseStepFields\";\nexport type { RetrySpec } from \"../generated/RetrySpec\";\n\n// Step DTOs (generated from qontinui-types::workflow_step)\nexport type { CommandStep } from \"../generated/CommandStep\";\nexport type { PromptStep } from \"../generated/PromptStep\";\nexport type { UiBridgeStep } from \"../generated/UiBridgeStep\";\nexport type { WorkflowStep } from \"../generated/WorkflowStep\";\nexport type { UnifiedStep } from \"../generated/UnifiedStep\";\nexport type { CanonicalStep } from \"../generated/CanonicalStep\";\nexport type { HttpMethod } from \"../generated/HttpMethod\";\nexport type { ApiContentType } from \"../generated/ApiContentType\";\nexport type { ApiAssertion } from \"../generated/ApiAssertion\";\nexport type { ApiVariableExtraction } from \"../generated/ApiVariableExtraction\";\nexport type { TestType } from \"../generated/TestType\";\nexport type { PlaywrightExecutionMode } from \"../generated/PlaywrightExecutionMode\";\nexport type { CheckType } from \"../generated/CheckType\";\nexport type { CommandMode } from \"../generated/CommandMode\";\nexport type { UiBridgeAction } from \"../generated/UiBridgeAction\";\nexport type { VerificationCategoryKind } from \"../generated/VerificationCategoryKind\";\n\n// ModelOverrides is a hand-authored convenience alias: the generated\n// UnifiedWorkflow / WorkflowStage type `model_overrides` as an open\n// `{ [k: string]: ModelOverrideConfig }`, but downstream code prefers a\n// named type with known phase keys. Keep as a local alias over the generated\n// per-phase config.\nimport type { ModelOverrideConfig as _ModelOverrideConfig } from \"../generated/ModelOverrideConfig\";\n\nexport type ModelOverrides = {\n setup?: _ModelOverrideConfig;\n agentic?: _ModelOverrideConfig;\n completion?: _ModelOverrideConfig;\n verification?: _ModelOverrideConfig;\n investigation?: _ModelOverrideConfig;\n summary?: _ModelOverrideConfig;\n generation?: _ModelOverrideConfig;\n};\n\n// =============================================================================\n// Phases\n// =============================================================================\n\nexport type WorkflowPhase = \"setup\" | \"verification\" | \"agentic\" | \"completion\";\n\n// =============================================================================\n// Skill Types (re-exported from ./skill)\n// =============================================================================\n\nexport type {\n SkillCategory,\n SkillAuthor,\n SkillParameterOption,\n SkillParameter,\n SingleStepTemplate,\n MultiStepTemplate,\n CompositionTemplate,\n SkillRef,\n SkillTemplate,\n SkillDefinition,\n SkillOrigin,\n SkillExportManifest,\n SkillExport,\n SkillImportResult,\n} from \"./skill\";\n\nexport type {\n PlannedActionType,\n ElementTarget,\n PlannedAction,\n ActionPlan,\n PlannedActionResult,\n ActionPlanResult,\n ActionPlanExecuteRequest,\n} from \"./action-plan\";\n\n// =============================================================================\n// Step Types — generated from qontinui-types::workflow_step\n//\n// The four canonical step variants (CommandStep, PromptStep, UiBridgeStep,\n// WorkflowStep) and their helper unions (HttpMethod, ApiContentType, …) are\n// re-exported at the top of this file from ../generated/*. The remaining\n// hand-authored types in this section are TS-only sugar: a `BaseStep` alias\n// for consumers that still want a name for the shared-fields subset, a\n// `StepTypeName` literal that includes non-canonical runner-side variants\n// (e.g. native_accessibility) for UI listings, and the phase-alias types.\n//\n// Phase narrowing is TS-only sugar — not a wire concern. The generator emits\n// a narrow `phase` field on each variant; these aliases just group the four\n// variants by the phase that can carry them.\n// =============================================================================\n\nimport type { CommandStep as _CommandStep } from \"../generated/CommandStep\";\nimport type { PromptStep as _PromptStep } from \"../generated/PromptStep\";\nimport type { UiBridgeStep as _UiBridgeStep } from \"../generated/UiBridgeStep\";\nimport type { WorkflowStep as _WorkflowStep } from \"../generated/WorkflowStep\";\n\n/**\n * Shared-fields subset carried by every canonical step variant.\n *\n * Alias for the generated `BaseStepFields` so downstream code can still\n * reference `BaseStep` by name. Source of truth:\n * `qontinui-types::workflow_step::BaseStepFields`.\n */\nimport type { BaseStepFields as _BaseStepFields } from \"../generated/BaseStepFields\";\nexport type BaseStep = _BaseStepFields;\n\n// =============================================================================\n// Step Type Names\n// =============================================================================\n\n// Includes runner-side non-canonical variants (e.g. `native_accessibility`)\n// that appear in the UI listing but are not part of the `UnifiedStep` DTO.\nexport type StepTypeName = \"command\" | \"ui_bridge\" | \"prompt\" | \"workflow\" | \"native_accessibility\";\n\n// =============================================================================\n// Phase-alias types (TS-only sugar over the generated UnifiedStep)\n// =============================================================================\n\nexport type SetupStep = _CommandStep | _PromptStep | _UiBridgeStep | _WorkflowStep;\nexport type VerificationStep = _CommandStep | _PromptStep | _UiBridgeStep | _WorkflowStep;\nexport type AgenticStep = _PromptStep;\nexport type CompletionStep = _CommandStep | _PromptStep | _UiBridgeStep | _WorkflowStep;\n\n// =============================================================================\n// Verification Categories\n// =============================================================================\n\n// Alias for the generated `VerificationCategoryKind` union. Source of truth:\n// `qontinui-types::workflow_step::VerificationCategoryKind`. `VerificationCategoryKind`\n// itself is re-exported earlier in this file.\nimport type { VerificationCategoryKind as _VerificationCategoryKind } from \"../generated/VerificationCategoryKind\";\nexport type VerificationCategory = _VerificationCategoryKind;\n\n// =============================================================================\n// Dependency Graph\n// =============================================================================\n\nexport interface DependencyNode {\n id: string;\n label: string;\n type: string;\n phase: WorkflowPhase;\n is_referenced: boolean;\n cost_category?: string;\n}\n\nexport interface DependencyEdge {\n source: string;\n target: string;\n label?: string;\n edge_type: \"explicit_depends_on\" | \"implicit_reference\" | \"setup_provides\";\n}\n\nexport interface DependencyGraph {\n nodes: DependencyNode[];\n edges: DependencyEdge[];\n}\n\n// =============================================================================\n// Cost Annotations\n// =============================================================================\n\nexport type CostCategory =\n | \"network\"\n | \"ai_call\"\n | \"setup\"\n | \"ui_interaction\";\n\nexport interface StepCost {\n step_id: string;\n name: string;\n estimated_ms: number;\n category: CostCategory;\n has_side_effects: boolean;\n}\n\nexport interface CostAnnotations {\n steps: StepCost[];\n total_estimated_ms: number;\n}\n\n// =============================================================================\n// Quality Report\n// =============================================================================\n\nexport type QualityFindingSeverity = \"critical\" | \"warning\" | \"info\";\n\nexport type QualityFindingCategory =\n | \"verification_gap\"\n | \"missing_criterion\"\n | \"unnecessary_step\"\n | \"weak_retry\"\n | \"required_flag_violation\"\n | \"retry_inconsistency\"\n | \"data_contract_violation\"\n | \"false_positive_risk\";\n\nexport interface QualityFinding {\n finding_id: string;\n step_id?: string;\n severity: QualityFindingSeverity;\n category: QualityFindingCategory;\n description: string;\n suggested_fix?: string;\n}\n\nexport interface CoverageMatrix {\n criteria_to_steps: Record<string, string[]>;\n steps_to_criteria: Record<string, string[]>;\n uncovered_criteria: string[];\n unlinked_steps: string[];\n}\n\nexport interface QualityReport {\n findings: QualityFinding[];\n score: number;\n pass: boolean;\n coverage_matrix?: CoverageMatrix;\n}\n\n// =============================================================================\n// Export/Import Types\n// =============================================================================\n\nimport type { UnifiedWorkflow as _UnifiedWorkflow } from \"../generated/UnifiedWorkflow\";\n\nexport interface WorkflowExportManifest {\n version: string;\n exported_at: string;\n app_version: string;\n content_type: \"unified_workflow\";\n}\n\nexport interface WorkflowExport {\n manifest: WorkflowExportManifest;\n workflow: _UnifiedWorkflow;\n}\n\nexport interface WorkflowImportResult {\n workflow: _UnifiedWorkflow;\n overwritten: boolean;\n original_id: string | null;\n}\n\n// =============================================================================\n// Feature Detection\n// =============================================================================\n\nexport interface WorkflowFeatures {\n hasSetup: boolean;\n hasVerification: boolean;\n hasAgentic: boolean;\n hasCompletion: boolean;\n hasUiBridge: boolean;\n showIterationSettings: boolean;\n hasAiPrompts: boolean;\n}\n\n// =============================================================================\n// Step Type Display Info\n// =============================================================================\n\nexport interface StepTypeInfo {\n type: string;\n label: string;\n description: string;\n icon: string;\n color: string;\n phase: WorkflowPhase;\n}\n\n// =============================================================================\n// Step Type Constants\n// =============================================================================\n\nexport const STEP_TYPES: Record<WorkflowPhase, StepTypeInfo[]> = {\n setup: [\n {\n type: \"command\",\n label: \"Command\",\n description: \"Run shell commands, checks, or tests\",\n icon: \"Terminal\",\n color: \"gray\",\n phase: \"setup\",\n },\n {\n type: \"ui_bridge\",\n label: \"UI Bridge\",\n description: \"Interact with UI via UI Bridge SDK\",\n icon: \"Monitor\",\n color: \"emerald\",\n phase: \"setup\",\n },\n {\n type: \"prompt\",\n label: \"AI Task\",\n description: \"AI-driven task\",\n icon: \"Bot\",\n color: \"violet\",\n phase: \"setup\",\n },\n {\n type: \"workflow\",\n label: \"Workflow\",\n description: \"Run a saved workflow\",\n icon: \"Workflow\",\n color: \"blue\",\n phase: \"setup\",\n },\n ],\n verification: [\n {\n type: \"command\",\n label: \"Command\",\n description: \"Run commands, checks, or tests for verification\",\n icon: \"Terminal\",\n color: \"gray\",\n phase: \"verification\",\n },\n {\n type: \"ui_bridge\",\n label: \"UI Bridge\",\n description: \"Verify UI state via UI Bridge\",\n icon: \"Monitor\",\n color: \"emerald\",\n phase: \"verification\",\n },\n {\n type: \"prompt\",\n label: \"AI Verification\",\n description: \"AI-evaluated criteria\",\n icon: \"Bot\",\n color: \"violet\",\n phase: \"verification\",\n },\n {\n type: \"workflow\",\n label: \"Workflow\",\n description: \"Run a saved workflow for verification\",\n icon: \"Workflow\",\n color: \"blue\",\n phase: \"verification\",\n },\n {\n type: \"native_accessibility\",\n label: \"Native Accessibility\",\n description: \"Run a native accessibility audit using OS-level APIs\",\n icon: \"Accessibility\",\n color: \"teal\",\n phase: \"verification\",\n },\n ],\n agentic: [\n {\n type: \"prompt\",\n label: \"Prompt\",\n description: \"AI task instructions\",\n icon: \"MessageSquare\",\n color: \"amber\",\n phase: \"agentic\",\n },\n ],\n completion: [\n {\n type: \"command\",\n label: \"Command\",\n description: \"Run cleanup commands or final tests\",\n icon: \"Terminal\",\n color: \"gray\",\n phase: \"completion\",\n },\n {\n type: \"ui_bridge\",\n label: \"UI Bridge\",\n description: \"Final UI interactions\",\n icon: \"Monitor\",\n color: \"emerald\",\n phase: \"completion\",\n },\n {\n type: \"prompt\",\n label: \"AI Completion\",\n description: \"Final AI actions\",\n icon: \"Bot\",\n color: \"violet\",\n phase: \"completion\",\n },\n {\n type: \"workflow\",\n label: \"Workflow\",\n description: \"Run a saved workflow as a completion step\",\n icon: \"Workflow\",\n color: \"blue\",\n phase: \"completion\",\n },\n ],\n};\n\n// =============================================================================\n// Phase Display Info\n// =============================================================================\n\nexport const PHASE_INFO: Record<\n WorkflowPhase,\n { label: string; description: string; color: string }\n> = {\n setup: {\n label: \"Setup\",\n description: \"Runs once at the beginning\",\n color: \"blue\",\n },\n verification: {\n label: \"Verification\",\n description: \"Checks success criteria, loops with agentic\",\n color: \"green\",\n },\n agentic: {\n label: \"Agentic\",\n description: \"AI work, iterates until verification passes\",\n color: \"amber\",\n },\n completion: {\n label: \"Completion\",\n description: \"Runs once after the loop exits\",\n color: \"purple\",\n },\n};\n\n// =============================================================================\n// Summary Step Constants\n// =============================================================================\n\nexport const DEFAULT_SUMMARY_PROMPT = `Write a one-paragraph summary of all the tasks completed in this workflow. Include what was accomplished, whether the stated goal was achieved, any issues encountered and how they were resolved, and remaining work if the goal was not fully achieved. Be concise but comprehensive.`;\n"],"mappings":";AA4TO,IAAM,aAAoD;AAAA,EAC/D,OAAO;AAAA,IACL;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,aAAa;AAAA,MACb,MAAM;AAAA,MACN,OAAO;AAAA,MACP,OAAO;AAAA,IACT;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,aAAa;AAAA,MACb,MAAM;AAAA,MACN,OAAO;AAAA,MACP,OAAO;AAAA,IACT;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,aAAa;AAAA,MACb,MAAM;AAAA,MACN,OAAO;AAAA,MACP,OAAO;AAAA,IACT;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,aAAa;AAAA,MACb,MAAM;AAAA,MACN,OAAO;AAAA,MACP,OAAO;AAAA,IACT;AAAA,EACF;AAAA,EACA,cAAc;AAAA,IACZ;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,aAAa;AAAA,MACb,MAAM;AAAA,MACN,OAAO;AAAA,MACP,OAAO;AAAA,IACT;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,aAAa;AAAA,MACb,MAAM;AAAA,MACN,OAAO;AAAA,MACP,OAAO;AAAA,IACT;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,aAAa;AAAA,MACb,MAAM;AAAA,MACN,OAAO;AAAA,MACP,OAAO;AAAA,IACT;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,aAAa;AAAA,MACb,MAAM;AAAA,MACN,OAAO;AAAA,MACP,OAAO;AAAA,IACT;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,aAAa;AAAA,MACb,MAAM;AAAA,MACN,OAAO;AAAA,MACP,OAAO;AAAA,IACT;AAAA,EACF;AAAA,EACA,SAAS;AAAA,IACP;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,aAAa;AAAA,MACb,MAAM;AAAA,MACN,OAAO;AAAA,MACP,OAAO;AAAA,IACT;AAAA,EACF;AAAA,EACA,YAAY;AAAA,IACV;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,aAAa;AAAA,MACb,MAAM;AAAA,MACN,OAAO;AAAA,MACP,OAAO;AAAA,IACT;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,aAAa;AAAA,MACb,MAAM;AAAA,MACN,OAAO;AAAA,MACP,OAAO;AAAA,IACT;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,aAAa;AAAA,MACb,MAAM;AAAA,MACN,OAAO;AAAA,MACP,OAAO;AAAA,IACT;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,aAAa;AAAA,MACb,MAAM;AAAA,MACN,OAAO;AAAA,MACP,OAAO;AAAA,IACT;AAAA,EACF;AACF;AAMO,IAAM,aAGT;AAAA,EACF,OAAO;AAAA,IACL,OAAO;AAAA,IACP,aAAa;AAAA,IACb,OAAO;AAAA,EACT;AAAA,EACA,cAAc;AAAA,IACZ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,OAAO;AAAA,EACT;AAAA,EACA,SAAS;AAAA,IACP,OAAO;AAAA,IACP,aAAa;AAAA,IACb,OAAO;AAAA,EACT;AAAA,EACA,YAAY;AAAA,IACV,OAAO;AAAA,IACP,aAAa;AAAA,IACb,OAAO;AAAA,EACT;AACF;AAMO,IAAM,yBAAyB;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/execution/_api.ts"],"sourcesContent":["/**\n * Execution Types\n *\n * Type definitions for the unified execution reporting API that supports\n * multiple run types: QA testing, integration testing, live automation,\n * recording sessions, and debug runs.\n *\n * Tier 1 (enums) and Tier 2 (request/response DTOs) are generated from Rust\n * (source of truth: qontinui-schemas/rust/src/execution.rs). Do not edit\n * those sections by hand — regenerate via `just generate-types` (or\n * `qontinui-runner/src-tauri/scripts/generate_types.sh`).\n *\n * Tier 3 (UI display / live-status-stream types) remains hand-authored below.\n */\n\n// ============================================================================\n// Enums (Tier 1, generated)\n// ============================================================================\n//\n// For enums that had named-constant call-site syntax in the old hand-authored\n// TS (e.g. `RunType.QA_TEST`), we import the generated literal union under an\n// alias, re-export it as the type name, and declare a companion `const` object\n// with the same name so `RunType.QA_TEST` still resolves as a value. TS merges\n// the type alias and const value into one declaration usable in both\n// positions.\n\nimport type { RunType as _RunType } from \"../generated/RunType\";\nexport type RunType = _RunType;\nexport const RunType = {\n QA_TEST: \"qa_test\",\n INTEGRATION_TEST: \"integration_test\",\n LIVE_AUTOMATION: \"live_automation\",\n RECORDING: \"recording\",\n DEBUG: \"debug\",\n} as const;\n\nimport type { RunStatus as _RunStatus } from \"../generated/RunStatus\";\nexport type RunStatus = _RunStatus;\nexport const RunStatus = {\n PENDING: \"pending\",\n RUNNING: \"running\",\n COMPLETED: \"completed\",\n FAILED: \"failed\",\n TIMEOUT: \"timeout\",\n CANCELLED: \"cancelled\",\n PAUSED: \"paused\",\n} as const;\n\nimport type { ActionStatus as _ActionStatus } from \"../generated/ActionStatus\";\nexport type ActionStatus = _ActionStatus;\nexport const ActionStatus = {\n SUCCESS: \"success\",\n FAILED: \"failed\",\n TIMEOUT: \"timeout\",\n SKIPPED: \"skipped\",\n ERROR: \"error\",\n PENDING: \"pending\",\n} as const;\n\n// `ActionType` collides with `tree_events::ActionType` on the Rust side, so\n// the generated symbol is `ExecutionActionType`. We preserve the local name\n// `ActionType` for backward compatibility.\nimport type { ExecutionActionType as _ActionType } from \"../generated/ExecutionActionType\";\nexport type ActionType = _ActionType;\nexport const ActionType = {\n // Vision actions\n FIND: \"find\",\n FIND_ALL: \"find_all\",\n WAIT_FOR: \"wait_for\",\n WAIT_UNTIL_GONE: \"wait_until_gone\",\n\n // Input actions\n CLICK: \"click\",\n DOUBLE_CLICK: \"double_click\",\n RIGHT_CLICK: \"right_click\",\n TYPE: \"type\",\n PRESS_KEY: \"press_key\",\n HOTKEY: \"hotkey\",\n SCROLL: \"scroll\",\n DRAG: \"drag\",\n\n // State machine actions\n GO_TO_STATE: \"go_to_state\",\n TRANSITION: \"transition\",\n VERIFY_STATE: \"verify_state\",\n\n // Control flow\n CONDITIONAL: \"conditional\",\n LOOP: \"loop\",\n PARALLEL: \"parallel\",\n SEQUENCE: \"sequence\",\n\n // Utility\n WAIT: \"wait\",\n SCREENSHOT: \"screenshot\",\n LOG: \"log\",\n ASSERT: \"assert\",\n\n // AI actions\n AI_PROMPT: \"ai_prompt\",\n RUN_PROMPT_SEQUENCE: \"run_prompt_sequence\",\n\n // Custom/plugin\n CUSTOM: \"custom\",\n} as const;\n\nimport type { ErrorType as _ErrorType } from \"../generated/ErrorType\";\nexport type ErrorType = _ErrorType;\nexport const ErrorType = {\n ELEMENT_NOT_FOUND: \"element_not_found\",\n TIMEOUT: \"timeout\",\n ASSERTION_FAILED: \"assertion_failed\",\n CRASH: \"crash\",\n NETWORK_ERROR: \"network_error\",\n VALIDATION_ERROR: \"validation_error\",\n OTHER: \"other\",\n} as const;\n\nimport type { IssueSeverity as _IssueSeverity } from \"../generated/IssueSeverity\";\nexport type IssueSeverity = _IssueSeverity;\nexport const IssueSeverity = {\n CRITICAL: \"critical\",\n HIGH: \"high\",\n MEDIUM: \"medium\",\n LOW: \"low\",\n INFORMATIONAL: \"informational\",\n} as const;\n\nimport type { ScreenshotType as _ScreenshotType } from \"../generated/ScreenshotType\";\nexport type ScreenshotType = _ScreenshotType;\nexport const ScreenshotType = {\n ERROR: \"error\",\n SUCCESS: \"success\",\n MANUAL: \"manual\",\n PERIODIC: \"periodic\",\n ACTION_RESULT: \"action_result\",\n STATE_VERIFICATION: \"state_verification\",\n} as const;\n\n// Shape of annotation overlay on a screenshot. Was inline on\n// `ExecutionScreenshotCreate.annotations[].type` previously. No call sites\n// used a named-constant syntax, so a plain re-export suffices.\nexport type { ScreenshotAnnotationShape } from \"../generated/ScreenshotAnnotationShape\";\n\n// ============================================================================\n// Metadata & DTO Types (Tier 2, generated)\n// ============================================================================\n\nexport type { RunnerMetadata } from \"../generated/RunnerMetadata\";\nexport type { WorkflowMetadata } from \"../generated/WorkflowMetadata\";\nexport type { ExecutionStats } from \"../generated/ExecutionStats\";\nexport type { CoverageData } from \"../generated/CoverageData\";\nexport type { LLMMetrics } from \"../generated/LLMMetrics\";\n\n// ============================================================================\n// Request/Create + Response Types (Tier 2, generated)\n// ============================================================================\n\nexport type { ExecutionRunCreate } from \"../generated/ExecutionRunCreate\";\nexport type { ExecutionRunResponse } from \"../generated/ExecutionRunResponse\";\n\n// `MatchLocation` collides with `tree_events::MatchLocation` on the Rust\n// side, so the generated symbol is `ExecutionMatchLocation`. Preserve the\n// local name via a re-export alias.\nexport type { ExecutionMatchLocation as MatchLocation } from \"../generated/ExecutionMatchLocation\";\n\nexport type { ActionExecutionCreate } from \"../generated/ActionExecutionCreate\";\nexport type { ActionExecutionResponse } from \"../generated/ActionExecutionResponse\";\n\nexport type { ScreenshotAnnotation } from \"../generated/ScreenshotAnnotation\";\nexport type { ExecutionScreenshotCreate } from \"../generated/ExecutionScreenshotCreate\";\nexport type { ExecutionScreenshotResponse } from \"../generated/ExecutionScreenshotResponse\";\n\nexport type { ExecutionIssueCreate } from \"../generated/ExecutionIssueCreate\";\nexport type { ExecutionIssueResponse } from \"../generated/ExecutionIssueResponse\";\n\nexport type { ExecutionRunComplete } from \"../generated/ExecutionRunComplete\";\nexport type { ExecutionRunCompleteResponse } from \"../generated/ExecutionRunCompleteResponse\";\n\n// ============================================================================\n// Execution Status Types (real-time display) — Tier 3, hand-authored\n// ============================================================================\n\nexport type TaskComplexity = \"simple\" | \"medium\" | \"complex\";\n\nexport interface RoutingFactor {\n description: string;\n complexity: TaskComplexity;\n weight: number;\n}\n\nexport interface RoutingDecision {\n complexity: TaskComplexity;\n confidence: number;\n factors: string[];\n selectedModel: string;\n timestamp: number;\n promptPreview?: string;\n fileCount?: number;\n criteriaCount?: number;\n}\n\nexport interface RoutingStatus {\n enabled: boolean;\n decision: RoutingDecision | null;\n config: {\n simpleModel: string;\n mediumModel: string;\n complexModel: string;\n };\n}\n\nexport interface RetryAttempt {\n attemptNumber: number;\n error: string;\n timestamp: string;\n delayMs: number;\n feedbackInjected: boolean;\n}\n\nexport interface RetryState {\n attempt: number;\n lastError: string | null;\n lastAttemptAt: string | null;\n totalDelayMs: number;\n errorHistory: RetryAttempt[];\n}\n\nexport interface RetryStatus {\n enabled: boolean;\n maxRetries: number;\n feedbackInjection: boolean;\n state: RetryState;\n nextRetryDelayMs: number | null;\n exhausted: boolean;\n}\n\nexport interface TokenCount {\n total: number;\n findings: number;\n observations: number;\n feedback: number;\n solutions: number;\n other: number;\n entryCount: number;\n}\n\nexport interface CompressionResult {\n originalTokens: number;\n compressedTokens: number;\n itemsSummarized: number;\n summaryEntriesCreated: number;\n compressedCategories: string[];\n timestamp: string;\n}\n\nexport interface CompressionStatus {\n enabled: boolean;\n thresholdTokens: number;\n targetTokens: number;\n currentTokenCount: TokenCount | null;\n lastCompression: CompressionResult | null;\n thresholdPercentage: number;\n compressionImminent: boolean;\n}\n\nexport type HookTrigger =\n | \"pre_execution\"\n | \"post_execution\"\n | \"on_error\"\n | \"on_verification_fail\"\n | \"on_complete\"\n | \"pre_iteration\"\n | \"post_iteration\";\n\nexport interface HookExecutionResult {\n hookId: string;\n hookName: string;\n trigger: HookTrigger;\n success: boolean;\n output: string | null;\n error: string | null;\n durationMs: number;\n timestamp: string;\n}\n\nexport interface HookDefinition {\n id: string;\n name: string;\n trigger: HookTrigger;\n enabled: boolean;\n actionType: string;\n}\n\nexport interface HookStatus {\n hooks: HookDefinition[];\n executionHistory: HookExecutionResult[];\n currentlyExecuting: string | null;\n}\n\nexport type SubStepStatus =\n | \"pending\"\n | \"running\"\n | \"completed\"\n | \"failed\"\n | \"skipped\";\n\nexport interface SubStepInfo {\n id: string;\n parentId: string;\n name: string;\n status: SubStepStatus;\n index: number;\n totalCount: number;\n startedAt: number | null;\n completedAt: number | null;\n durationMs: number | null;\n phase?: string;\n}\n\nexport interface SubStepStatusDisplay {\n current: SubStepInfo | null;\n steps: SubStepInfo[];\n progressPercent: number;\n completedCount: number;\n totalCount: number;\n isActive: boolean;\n currentPhase: string | null;\n}\n\nexport interface ExecutionStatus {\n taskRunId: string | null;\n taskName: string | null;\n iteration: number;\n status: \"idle\" | \"running\" | \"completed\" | \"failed\" | \"paused\";\n routing: RoutingStatus;\n retry: RetryStatus;\n compression: CompressionStatus;\n hooks: HookStatus;\n subSteps: SubStepStatusDisplay;\n lastUpdated: number;\n}\n\n// ============================================================================\n// Raw Event Types (snake_case from backend) — Tier 3, hand-authored\n// ============================================================================\n\nexport interface RawExecutionStatusEventBase {\n type: string;\n task_run_id: string;\n timestamp: number;\n}\n\nexport interface RawRoutingDecisionPayload {\n complexity: string;\n confidence: number;\n factors: string[];\n selected_model: string;\n prompt_preview?: string;\n file_count?: number;\n criteria_count?: number;\n}\n\nexport interface RawRetryAttemptPayload {\n attempt_number: number;\n error: string;\n attempt_timestamp: string;\n delay_ms: number;\n feedback_injected: boolean;\n}\n\nexport interface RawRetryStatePayload {\n attempt: number;\n last_error: string | null;\n last_attempt_at: string | null;\n total_delay_ms: number;\n error_history: RawRetryAttemptPayload[];\n}\n\nexport interface RawTokenCountPayload {\n total: number;\n findings: number;\n observations: number;\n feedback: number;\n solutions: number;\n other: number;\n entry_count: number;\n}\n\nexport interface RawCompressionResultPayload {\n original_tokens: number;\n compressed_tokens: number;\n items_summarized: number;\n summary_entries_created: number;\n compressed_categories: string[];\n timestamp: string;\n}\n\nexport interface RawHookExecutionPayload {\n hook_id: string;\n hook_name: string;\n trigger: string;\n success: boolean;\n output: string | null;\n error: string | null;\n duration_ms: number;\n timestamp: string;\n}\n\nexport interface RawRoutingDecisionEvent extends RawExecutionStatusEventBase {\n type: \"routing_decision\";\n decision: RawRoutingDecisionPayload;\n}\n\nexport interface RawRetryAttemptEvent extends RawExecutionStatusEventBase {\n type: \"retry_attempt\";\n attempt: RawRetryAttemptPayload;\n state: RawRetryStatePayload;\n exhausted: boolean;\n next_retry_delay_ms: number | null;\n}\n\nexport interface RawCompressionEvent extends RawExecutionStatusEventBase {\n type: \"compression\";\n result: RawCompressionResultPayload;\n current_token_count: RawTokenCountPayload;\n}\n\nexport interface RawTokenCountUpdateEvent extends RawExecutionStatusEventBase {\n type: \"token_count_update\";\n token_count: RawTokenCountPayload;\n threshold_percentage: number;\n compression_imminent: boolean;\n}\n\nexport interface RawHookExecutionEvent extends RawExecutionStatusEventBase {\n type: \"hook_execution\";\n result: RawHookExecutionPayload;\n}\n\nexport interface RawHookStartedEvent extends RawExecutionStatusEventBase {\n type: \"hook_started\";\n hook_id: string;\n hook_name: string;\n trigger: string;\n}\n\nexport interface RawStatusChangeEvent extends RawExecutionStatusEventBase {\n type: \"status_change\";\n status: string;\n iteration: number;\n task_name: string | null;\n}\n\nexport interface RawSubStepCompleteEvent {\n type: \"sub_step_complete\";\n checkpoint_id: string;\n task_run_id: string;\n sub_step_id: string;\n description: string | null;\n timestamp: number;\n}\n\nexport interface RawSubStepStartedEvent {\n type: \"sub_step_started\";\n checkpoint_id: string;\n task_run_id: string;\n sub_step_id: string;\n sub_step_index: number;\n total_sub_steps: number;\n description: string | null;\n phase: string | null;\n timestamp: number;\n}\n\nexport type RawExecutionStatusEvent =\n | RawRoutingDecisionEvent\n | RawRetryAttemptEvent\n | RawCompressionEvent\n | RawTokenCountUpdateEvent\n | RawHookExecutionEvent\n | RawHookStartedEvent\n | RawStatusChangeEvent;\n"],"mappings":";AA4BO,IAAM,UAAU;AAAA,EACrB,SAAS;AAAA,EACT,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,WAAW;AAAA,EACX,OAAO;AACT;AAIO,IAAM,YAAY;AAAA,EACvB,SAAS;AAAA,EACT,SAAS;AAAA,EACT,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,WAAW;AAAA,EACX,QAAQ;AACV;AAIO,IAAM,eAAe;AAAA,EAC1B,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,SAAS;AAAA,EACT,OAAO;AAAA,EACP,SAAS;AACX;AAOO,IAAM,aAAa;AAAA;AAAA,EAExB,MAAM;AAAA,EACN,UAAU;AAAA,EACV,UAAU;AAAA,EACV,iBAAiB;AAAA;AAAA,EAGjB,OAAO;AAAA,EACP,cAAc;AAAA,EACd,aAAa;AAAA,EACb,MAAM;AAAA,EACN,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,MAAM;AAAA;AAAA,EAGN,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,cAAc;AAAA;AAAA,EAGd,aAAa;AAAA,EACb,MAAM;AAAA,EACN,UAAU;AAAA,EACV,UAAU;AAAA;AAAA,EAGV,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,KAAK;AAAA,EACL,QAAQ;AAAA;AAAA,EAGR,WAAW;AAAA,EACX,qBAAqB;AAAA;AAAA,EAGrB,QAAQ;AACV;AAIO,IAAM,YAAY;AAAA,EACvB,mBAAmB;AAAA,EACnB,SAAS;AAAA,EACT,kBAAkB;AAAA,EAClB,OAAO;AAAA,EACP,eAAe;AAAA,EACf,kBAAkB;AAAA,EAClB,OAAO;AACT;AAIO,IAAM,gBAAgB;AAAA,EAC3B,UAAU;AAAA,EACV,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,KAAK;AAAA,EACL,eAAe;AACjB;AAIO,IAAM,iBAAiB;AAAA,EAC5B,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,eAAe;AAAA,EACf,oBAAoB;AACtB;","names":[]}
|
package/dist/config.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/config/index.ts"],"sourcesContent":["export * from \"./_api\";\
|
|
1
|
+
{"version":3,"sources":["../src/config/index.ts"],"sourcesContent":["export * from \"./_api\";\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
package/dist/config.d.cts
CHANGED
|
@@ -1,112 +1,112 @@
|
|
|
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
|
-
* Rules for automatically including a context in AI tasks.
|
|
10
|
-
*
|
|
11
|
-
* When an AI task is created, the runner evaluates these rules to decide
|
|
12
|
-
* which contexts should be auto-included. Multiple rules are OR'd together
|
|
13
|
-
* (any match triggers inclusion).
|
|
14
|
-
*/
|
|
15
|
-
interface ContextAutoInclude {
|
|
16
|
-
/**
|
|
17
|
-
* Action types in the loaded config that trigger inclusion
|
|
18
|
-
* (e.g., `CLICK`, `FIND`).
|
|
19
|
-
*/
|
|
20
|
-
actionTypes?: string[] | null;
|
|
21
|
-
/**
|
|
22
|
-
* Regex patterns in recent logs that trigger inclusion.
|
|
23
|
-
*/
|
|
24
|
-
errorPatterns?: string[] | null;
|
|
25
|
-
/**
|
|
26
|
-
* Glob patterns for files being worked on (e.g., `*.rs`, `src/api/**`).
|
|
27
|
-
*/
|
|
28
|
-
filePatterns?: string[] | null;
|
|
29
|
-
/**
|
|
30
|
-
* Keywords in the task prompt that trigger inclusion
|
|
31
|
-
* (case-insensitive).
|
|
32
|
-
*/
|
|
33
|
-
taskMentions?: string[] | null;
|
|
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
|
+
* Rules for automatically including a context in AI tasks.
|
|
10
|
+
*
|
|
11
|
+
* When an AI task is created, the runner evaluates these rules to decide
|
|
12
|
+
* which contexts should be auto-included. Multiple rules are OR'd together
|
|
13
|
+
* (any match triggers inclusion).
|
|
14
|
+
*/
|
|
15
|
+
interface ContextAutoInclude {
|
|
16
|
+
/**
|
|
17
|
+
* Action types in the loaded config that trigger inclusion
|
|
18
|
+
* (e.g., `CLICK`, `FIND`).
|
|
19
|
+
*/
|
|
20
|
+
actionTypes?: string[] | null;
|
|
21
|
+
/**
|
|
22
|
+
* Regex patterns in recent logs that trigger inclusion.
|
|
23
|
+
*/
|
|
24
|
+
errorPatterns?: string[] | null;
|
|
25
|
+
/**
|
|
26
|
+
* Glob patterns for files being worked on (e.g., `*.rs`, `src/api/**`).
|
|
27
|
+
*/
|
|
28
|
+
filePatterns?: string[] | null;
|
|
29
|
+
/**
|
|
30
|
+
* Keywords in the task prompt that trigger inclusion
|
|
31
|
+
* (case-insensitive).
|
|
32
|
+
*/
|
|
33
|
+
taskMentions?: string[] | null;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
/* eslint-disable */
|
|
37
|
-
/**
|
|
38
|
-
* This file was automatically generated.
|
|
39
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
40
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* AI context — a markdown document injected into AI task prompts to
|
|
47
|
-
* provide background knowledge, coding standards, architectural guidance,
|
|
48
|
-
* or debugging tips.
|
|
49
|
-
*/
|
|
50
|
-
interface Context {
|
|
51
|
-
/**
|
|
52
|
-
* Rules for automatic inclusion in AI tasks.
|
|
53
|
-
*/
|
|
54
|
-
autoInclude?: ContextAutoInclude | null;
|
|
55
|
-
/**
|
|
56
|
-
* Category for organization (e.g., `"architecture"`, `"debugging"`,
|
|
57
|
-
* `"philosophy"`).
|
|
58
|
-
*/
|
|
59
|
-
category?: string | null;
|
|
60
|
-
/**
|
|
61
|
-
* Markdown content injected into AI prompts.
|
|
62
|
-
*/
|
|
63
|
-
content: string;
|
|
64
|
-
/**
|
|
65
|
-
* ISO 8601 creation timestamp.
|
|
66
|
-
*/
|
|
67
|
-
createdAt: string;
|
|
68
|
-
/**
|
|
69
|
-
* Unique identifier (UUID v4 or a prefixed string like
|
|
70
|
-
* `"ctx-schema-flow"`).
|
|
71
|
-
*/
|
|
72
|
-
id: string;
|
|
73
|
-
/**
|
|
74
|
-
* ISO 8601 last-modification timestamp.
|
|
75
|
-
*/
|
|
76
|
-
modifiedAt: string;
|
|
77
|
-
/**
|
|
78
|
-
* Human-readable name for display.
|
|
79
|
-
*/
|
|
80
|
-
name: string;
|
|
81
|
-
/**
|
|
82
|
-
* Tags for flexible grouping and search.
|
|
83
|
-
*/
|
|
84
|
-
tags: string[];
|
|
36
|
+
/* eslint-disable */
|
|
37
|
+
/**
|
|
38
|
+
* This file was automatically generated.
|
|
39
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
40
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
41
|
+
*/
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* AI context — a markdown document injected into AI task prompts to
|
|
47
|
+
* provide background knowledge, coding standards, architectural guidance,
|
|
48
|
+
* or debugging tips.
|
|
49
|
+
*/
|
|
50
|
+
interface Context {
|
|
51
|
+
/**
|
|
52
|
+
* Rules for automatic inclusion in AI tasks.
|
|
53
|
+
*/
|
|
54
|
+
autoInclude?: ContextAutoInclude | null;
|
|
55
|
+
/**
|
|
56
|
+
* Category for organization (e.g., `"architecture"`, `"debugging"`,
|
|
57
|
+
* `"philosophy"`).
|
|
58
|
+
*/
|
|
59
|
+
category?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* Markdown content injected into AI prompts.
|
|
62
|
+
*/
|
|
63
|
+
content: string;
|
|
64
|
+
/**
|
|
65
|
+
* ISO 8601 creation timestamp.
|
|
66
|
+
*/
|
|
67
|
+
createdAt: string;
|
|
68
|
+
/**
|
|
69
|
+
* Unique identifier (UUID v4 or a prefixed string like
|
|
70
|
+
* `"ctx-schema-flow"`).
|
|
71
|
+
*/
|
|
72
|
+
id: string;
|
|
73
|
+
/**
|
|
74
|
+
* ISO 8601 last-modification timestamp.
|
|
75
|
+
*/
|
|
76
|
+
modifiedAt: string;
|
|
77
|
+
/**
|
|
78
|
+
* Human-readable name for display.
|
|
79
|
+
*/
|
|
80
|
+
name: string;
|
|
81
|
+
/**
|
|
82
|
+
* Tags for flexible grouping and search.
|
|
83
|
+
*/
|
|
84
|
+
tags: string[];
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
/* eslint-disable */
|
|
88
|
-
/**
|
|
89
|
-
* This file was automatically generated.
|
|
90
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
91
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
92
|
-
*/
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Workflow category for organization and automation control.
|
|
96
|
-
*
|
|
97
|
-
* Categories organize workflows and control which are available for
|
|
98
|
-
* automation in the runner. Only workflows in categories with
|
|
99
|
-
* `automationEnabled = true` appear in the runner's workflow list.
|
|
100
|
-
*/
|
|
101
|
-
interface Category {
|
|
102
|
-
/**
|
|
103
|
-
* Whether workflows in this category are available for automation.
|
|
104
|
-
*/
|
|
105
|
-
automationEnabled: boolean;
|
|
106
|
-
/**
|
|
107
|
-
* Category name (e.g., `"Main"`, `"Testing"`).
|
|
108
|
-
*/
|
|
109
|
-
name: string;
|
|
87
|
+
/* eslint-disable */
|
|
88
|
+
/**
|
|
89
|
+
* This file was automatically generated.
|
|
90
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
91
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
92
|
+
*/
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Workflow category for organization and automation control.
|
|
96
|
+
*
|
|
97
|
+
* Categories organize workflows and control which are available for
|
|
98
|
+
* automation in the runner. Only workflows in categories with
|
|
99
|
+
* `automationEnabled = true` appear in the runner's workflow list.
|
|
100
|
+
*/
|
|
101
|
+
interface Category {
|
|
102
|
+
/**
|
|
103
|
+
* Whether workflows in this category are available for automation.
|
|
104
|
+
*/
|
|
105
|
+
automationEnabled: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Category name (e.g., `"Main"`, `"Testing"`).
|
|
108
|
+
*/
|
|
109
|
+
name: string;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
export type { Category, Context, ContextAutoInclude };
|
package/dist/config.d.ts
CHANGED
|
@@ -1,112 +1,112 @@
|
|
|
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
|
-
* Rules for automatically including a context in AI tasks.
|
|
10
|
-
*
|
|
11
|
-
* When an AI task is created, the runner evaluates these rules to decide
|
|
12
|
-
* which contexts should be auto-included. Multiple rules are OR'd together
|
|
13
|
-
* (any match triggers inclusion).
|
|
14
|
-
*/
|
|
15
|
-
interface ContextAutoInclude {
|
|
16
|
-
/**
|
|
17
|
-
* Action types in the loaded config that trigger inclusion
|
|
18
|
-
* (e.g., `CLICK`, `FIND`).
|
|
19
|
-
*/
|
|
20
|
-
actionTypes?: string[] | null;
|
|
21
|
-
/**
|
|
22
|
-
* Regex patterns in recent logs that trigger inclusion.
|
|
23
|
-
*/
|
|
24
|
-
errorPatterns?: string[] | null;
|
|
25
|
-
/**
|
|
26
|
-
* Glob patterns for files being worked on (e.g., `*.rs`, `src/api/**`).
|
|
27
|
-
*/
|
|
28
|
-
filePatterns?: string[] | null;
|
|
29
|
-
/**
|
|
30
|
-
* Keywords in the task prompt that trigger inclusion
|
|
31
|
-
* (case-insensitive).
|
|
32
|
-
*/
|
|
33
|
-
taskMentions?: string[] | null;
|
|
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
|
+
* Rules for automatically including a context in AI tasks.
|
|
10
|
+
*
|
|
11
|
+
* When an AI task is created, the runner evaluates these rules to decide
|
|
12
|
+
* which contexts should be auto-included. Multiple rules are OR'd together
|
|
13
|
+
* (any match triggers inclusion).
|
|
14
|
+
*/
|
|
15
|
+
interface ContextAutoInclude {
|
|
16
|
+
/**
|
|
17
|
+
* Action types in the loaded config that trigger inclusion
|
|
18
|
+
* (e.g., `CLICK`, `FIND`).
|
|
19
|
+
*/
|
|
20
|
+
actionTypes?: string[] | null;
|
|
21
|
+
/**
|
|
22
|
+
* Regex patterns in recent logs that trigger inclusion.
|
|
23
|
+
*/
|
|
24
|
+
errorPatterns?: string[] | null;
|
|
25
|
+
/**
|
|
26
|
+
* Glob patterns for files being worked on (e.g., `*.rs`, `src/api/**`).
|
|
27
|
+
*/
|
|
28
|
+
filePatterns?: string[] | null;
|
|
29
|
+
/**
|
|
30
|
+
* Keywords in the task prompt that trigger inclusion
|
|
31
|
+
* (case-insensitive).
|
|
32
|
+
*/
|
|
33
|
+
taskMentions?: string[] | null;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
/* eslint-disable */
|
|
37
|
-
/**
|
|
38
|
-
* This file was automatically generated.
|
|
39
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
40
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* AI context — a markdown document injected into AI task prompts to
|
|
47
|
-
* provide background knowledge, coding standards, architectural guidance,
|
|
48
|
-
* or debugging tips.
|
|
49
|
-
*/
|
|
50
|
-
interface Context {
|
|
51
|
-
/**
|
|
52
|
-
* Rules for automatic inclusion in AI tasks.
|
|
53
|
-
*/
|
|
54
|
-
autoInclude?: ContextAutoInclude | null;
|
|
55
|
-
/**
|
|
56
|
-
* Category for organization (e.g., `"architecture"`, `"debugging"`,
|
|
57
|
-
* `"philosophy"`).
|
|
58
|
-
*/
|
|
59
|
-
category?: string | null;
|
|
60
|
-
/**
|
|
61
|
-
* Markdown content injected into AI prompts.
|
|
62
|
-
*/
|
|
63
|
-
content: string;
|
|
64
|
-
/**
|
|
65
|
-
* ISO 8601 creation timestamp.
|
|
66
|
-
*/
|
|
67
|
-
createdAt: string;
|
|
68
|
-
/**
|
|
69
|
-
* Unique identifier (UUID v4 or a prefixed string like
|
|
70
|
-
* `"ctx-schema-flow"`).
|
|
71
|
-
*/
|
|
72
|
-
id: string;
|
|
73
|
-
/**
|
|
74
|
-
* ISO 8601 last-modification timestamp.
|
|
75
|
-
*/
|
|
76
|
-
modifiedAt: string;
|
|
77
|
-
/**
|
|
78
|
-
* Human-readable name for display.
|
|
79
|
-
*/
|
|
80
|
-
name: string;
|
|
81
|
-
/**
|
|
82
|
-
* Tags for flexible grouping and search.
|
|
83
|
-
*/
|
|
84
|
-
tags: string[];
|
|
36
|
+
/* eslint-disable */
|
|
37
|
+
/**
|
|
38
|
+
* This file was automatically generated.
|
|
39
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
40
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
41
|
+
*/
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* AI context — a markdown document injected into AI task prompts to
|
|
47
|
+
* provide background knowledge, coding standards, architectural guidance,
|
|
48
|
+
* or debugging tips.
|
|
49
|
+
*/
|
|
50
|
+
interface Context {
|
|
51
|
+
/**
|
|
52
|
+
* Rules for automatic inclusion in AI tasks.
|
|
53
|
+
*/
|
|
54
|
+
autoInclude?: ContextAutoInclude | null;
|
|
55
|
+
/**
|
|
56
|
+
* Category for organization (e.g., `"architecture"`, `"debugging"`,
|
|
57
|
+
* `"philosophy"`).
|
|
58
|
+
*/
|
|
59
|
+
category?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* Markdown content injected into AI prompts.
|
|
62
|
+
*/
|
|
63
|
+
content: string;
|
|
64
|
+
/**
|
|
65
|
+
* ISO 8601 creation timestamp.
|
|
66
|
+
*/
|
|
67
|
+
createdAt: string;
|
|
68
|
+
/**
|
|
69
|
+
* Unique identifier (UUID v4 or a prefixed string like
|
|
70
|
+
* `"ctx-schema-flow"`).
|
|
71
|
+
*/
|
|
72
|
+
id: string;
|
|
73
|
+
/**
|
|
74
|
+
* ISO 8601 last-modification timestamp.
|
|
75
|
+
*/
|
|
76
|
+
modifiedAt: string;
|
|
77
|
+
/**
|
|
78
|
+
* Human-readable name for display.
|
|
79
|
+
*/
|
|
80
|
+
name: string;
|
|
81
|
+
/**
|
|
82
|
+
* Tags for flexible grouping and search.
|
|
83
|
+
*/
|
|
84
|
+
tags: string[];
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
/* eslint-disable */
|
|
88
|
-
/**
|
|
89
|
-
* This file was automatically generated.
|
|
90
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
91
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
92
|
-
*/
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Workflow category for organization and automation control.
|
|
96
|
-
*
|
|
97
|
-
* Categories organize workflows and control which are available for
|
|
98
|
-
* automation in the runner. Only workflows in categories with
|
|
99
|
-
* `automationEnabled = true` appear in the runner's workflow list.
|
|
100
|
-
*/
|
|
101
|
-
interface Category {
|
|
102
|
-
/**
|
|
103
|
-
* Whether workflows in this category are available for automation.
|
|
104
|
-
*/
|
|
105
|
-
automationEnabled: boolean;
|
|
106
|
-
/**
|
|
107
|
-
* Category name (e.g., `"Main"`, `"Testing"`).
|
|
108
|
-
*/
|
|
109
|
-
name: string;
|
|
87
|
+
/* eslint-disable */
|
|
88
|
+
/**
|
|
89
|
+
* This file was automatically generated.
|
|
90
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
91
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
92
|
+
*/
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Workflow category for organization and automation control.
|
|
96
|
+
*
|
|
97
|
+
* Categories organize workflows and control which are available for
|
|
98
|
+
* automation in the runner. Only workflows in categories with
|
|
99
|
+
* `automationEnabled = true` appear in the runner's workflow list.
|
|
100
|
+
*/
|
|
101
|
+
interface Category {
|
|
102
|
+
/**
|
|
103
|
+
* Whether workflows in this category are available for automation.
|
|
104
|
+
*/
|
|
105
|
+
automationEnabled: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Category name (e.g., `"Main"`, `"Testing"`).
|
|
108
|
+
*/
|
|
109
|
+
name: string;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
export type { Category, Context, ContextAutoInclude };
|
package/dist/constraints.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/constraints/index.ts"],"sourcesContent":["export * from \"./_api\";\
|
|
1
|
+
{"version":3,"sources":["../src/constraints/index.ts"],"sourcesContent":["export * from \"./_api\";\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|