@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/scheduler.d.cts
CHANGED
|
@@ -1,729 +1,729 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
/**
|
|
3
|
-
* This file was automatically generated.
|
|
4
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
5
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Configuration for condition-only schedules.
|
|
10
|
-
*/
|
|
11
|
-
interface ConditionScheduleConfig {
|
|
12
|
-
/**
|
|
13
|
-
* Minutes to wait after an execution completes before re-evaluating
|
|
14
|
-
* conditions for another run.
|
|
15
|
-
*/
|
|
16
|
-
rearmDelayMinutes: number;
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
5
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Configuration for condition-only schedules.
|
|
10
|
+
*/
|
|
11
|
+
interface ConditionScheduleConfig {
|
|
12
|
+
/**
|
|
13
|
+
* Minutes to wait after an execution completes before re-evaluating
|
|
14
|
+
* conditions for another run.
|
|
15
|
+
*/
|
|
16
|
+
rearmDelayMinutes: number;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
/* eslint-disable */
|
|
20
|
-
/**
|
|
21
|
-
* This file was automatically generated.
|
|
22
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
23
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* How a task should be scheduled.
|
|
30
|
-
*
|
|
31
|
-
* Serialized with the external tag `type` and payload under `value` so that
|
|
32
|
-
* `Once("...")`, `Cron("...")`, and `Interval(60)` round-trip as
|
|
33
|
-
* `{ "type": "Once", "value": "..." }` etc. The `Condition` variant wraps a
|
|
34
|
-
* [`ConditionScheduleConfig`] rather than a scalar, but uses the same
|
|
35
|
-
* `{ type, value }` envelope.
|
|
36
|
-
*/
|
|
37
|
-
type ScheduleExpression =
|
|
38
|
-
| {
|
|
39
|
-
type: "Once";
|
|
40
|
-
value: string;
|
|
41
|
-
[k: string]: unknown;
|
|
42
|
-
}
|
|
43
|
-
| {
|
|
44
|
-
type: "Cron";
|
|
45
|
-
value: string;
|
|
46
|
-
[k: string]: unknown;
|
|
47
|
-
}
|
|
48
|
-
| {
|
|
49
|
-
type: "Interval";
|
|
50
|
-
value: number;
|
|
51
|
-
[k: string]: unknown;
|
|
52
|
-
}
|
|
53
|
-
| {
|
|
54
|
-
type: "Condition";
|
|
55
|
-
value: ConditionScheduleConfig;
|
|
56
|
-
[k: string]: unknown;
|
|
19
|
+
/* eslint-disable */
|
|
20
|
+
/**
|
|
21
|
+
* This file was automatically generated.
|
|
22
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
23
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* How a task should be scheduled.
|
|
30
|
+
*
|
|
31
|
+
* Serialized with the external tag `type` and payload under `value` so that
|
|
32
|
+
* `Once("...")`, `Cron("...")`, and `Interval(60)` round-trip as
|
|
33
|
+
* `{ "type": "Once", "value": "..." }` etc. The `Condition` variant wraps a
|
|
34
|
+
* [`ConditionScheduleConfig`] rather than a scalar, but uses the same
|
|
35
|
+
* `{ type, value }` envelope.
|
|
36
|
+
*/
|
|
37
|
+
type ScheduleExpression =
|
|
38
|
+
| {
|
|
39
|
+
type: "Once";
|
|
40
|
+
value: string;
|
|
41
|
+
[k: string]: unknown;
|
|
42
|
+
}
|
|
43
|
+
| {
|
|
44
|
+
type: "Cron";
|
|
45
|
+
value: string;
|
|
46
|
+
[k: string]: unknown;
|
|
47
|
+
}
|
|
48
|
+
| {
|
|
49
|
+
type: "Interval";
|
|
50
|
+
value: number;
|
|
51
|
+
[k: string]: unknown;
|
|
52
|
+
}
|
|
53
|
+
| {
|
|
54
|
+
type: "Condition";
|
|
55
|
+
value: ConditionScheduleConfig;
|
|
56
|
+
[k: string]: unknown;
|
|
57
57
|
};
|
|
58
58
|
|
|
59
|
-
/* eslint-disable */
|
|
60
|
-
/**
|
|
61
|
-
* This file was automatically generated.
|
|
62
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
63
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
64
|
-
*/
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Condition that requires the runner to be idle (not executing workflows or
|
|
68
|
-
* AI tasks) before the task may run.
|
|
69
|
-
*/
|
|
70
|
-
interface IdleCondition {
|
|
71
|
-
/**
|
|
72
|
-
* Whether this condition is active.
|
|
73
|
-
*/
|
|
74
|
-
enabled: boolean;
|
|
59
|
+
/* eslint-disable */
|
|
60
|
+
/**
|
|
61
|
+
* This file was automatically generated.
|
|
62
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
63
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
64
|
+
*/
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Condition that requires the runner to be idle (not executing workflows or
|
|
68
|
+
* AI tasks) before the task may run.
|
|
69
|
+
*/
|
|
70
|
+
interface IdleCondition {
|
|
71
|
+
/**
|
|
72
|
+
* Whether this condition is active.
|
|
73
|
+
*/
|
|
74
|
+
enabled: boolean;
|
|
75
75
|
}
|
|
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
|
-
* A single repository to monitor for inactivity.
|
|
86
|
-
*/
|
|
87
|
-
interface RepositoryWatch {
|
|
88
|
-
/**
|
|
89
|
-
* Minutes of inactivity required before the watch is considered met.
|
|
90
|
-
*/
|
|
91
|
-
inactiveMinutes: number;
|
|
92
|
-
/**
|
|
93
|
-
* Path to the repository directory.
|
|
94
|
-
*/
|
|
95
|
-
path: string;
|
|
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
|
+
* A single repository to monitor for inactivity.
|
|
86
|
+
*/
|
|
87
|
+
interface RepositoryWatch {
|
|
88
|
+
/**
|
|
89
|
+
* Minutes of inactivity required before the watch is considered met.
|
|
90
|
+
*/
|
|
91
|
+
inactiveMinutes: number;
|
|
92
|
+
/**
|
|
93
|
+
* Path to the repository directory.
|
|
94
|
+
*/
|
|
95
|
+
path: string;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
/* eslint-disable */
|
|
99
|
-
/**
|
|
100
|
-
* This file was automatically generated.
|
|
101
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
102
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
103
|
-
*/
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* Condition that requires repositories to have no file modifications for a
|
|
109
|
-
* period. ALL configured repositories must be inactive for the overall
|
|
110
|
-
* condition to be met.
|
|
111
|
-
*/
|
|
112
|
-
interface RepositoryInactiveCondition {
|
|
113
|
-
/**
|
|
114
|
-
* Whether this condition is active.
|
|
115
|
-
*/
|
|
116
|
-
enabled: boolean;
|
|
117
|
-
/**
|
|
118
|
-
* List of repositories to watch. ALL must be inactive simultaneously.
|
|
119
|
-
*/
|
|
120
|
-
repositories: RepositoryWatch[];
|
|
98
|
+
/* eslint-disable */
|
|
99
|
+
/**
|
|
100
|
+
* This file was automatically generated.
|
|
101
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
102
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
103
|
+
*/
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Condition that requires repositories to have no file modifications for a
|
|
109
|
+
* period. ALL configured repositories must be inactive for the overall
|
|
110
|
+
* condition to be met.
|
|
111
|
+
*/
|
|
112
|
+
interface RepositoryInactiveCondition {
|
|
113
|
+
/**
|
|
114
|
+
* Whether this condition is active.
|
|
115
|
+
*/
|
|
116
|
+
enabled: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* List of repositories to watch. ALL must be inactive simultaneously.
|
|
119
|
+
*/
|
|
120
|
+
repositories: RepositoryWatch[];
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
/* eslint-disable */
|
|
124
|
-
/**
|
|
125
|
-
* This file was automatically generated.
|
|
126
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
127
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
128
|
-
*/
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* Conditions that must ALL be met before task execution.
|
|
134
|
-
*/
|
|
135
|
-
interface ScheduleConditions {
|
|
136
|
-
/**
|
|
137
|
-
* Require the runner to be idle.
|
|
138
|
-
*/
|
|
139
|
-
requireIdle?: IdleCondition | null;
|
|
140
|
-
/**
|
|
141
|
-
* Require repository file inactivity across one or more paths.
|
|
142
|
-
*/
|
|
143
|
-
requireRepoInactive?: RepositoryInactiveCondition | null;
|
|
144
|
-
/**
|
|
145
|
-
* Maximum time to wait for conditions (minutes). `None` = wait
|
|
146
|
-
* indefinitely.
|
|
147
|
-
*/
|
|
148
|
-
timeoutMinutes?: number | null;
|
|
123
|
+
/* eslint-disable */
|
|
124
|
+
/**
|
|
125
|
+
* This file was automatically generated.
|
|
126
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
127
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
128
|
+
*/
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Conditions that must ALL be met before task execution.
|
|
134
|
+
*/
|
|
135
|
+
interface ScheduleConditions {
|
|
136
|
+
/**
|
|
137
|
+
* Require the runner to be idle.
|
|
138
|
+
*/
|
|
139
|
+
requireIdle?: IdleCondition | null;
|
|
140
|
+
/**
|
|
141
|
+
* Require repository file inactivity across one or more paths.
|
|
142
|
+
*/
|
|
143
|
+
requireRepoInactive?: RepositoryInactiveCondition | null;
|
|
144
|
+
/**
|
|
145
|
+
* Maximum time to wait for conditions (minutes). `None` = wait
|
|
146
|
+
* indefinitely.
|
|
147
|
+
*/
|
|
148
|
+
timeoutMinutes?: number | null;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
/* eslint-disable */
|
|
152
|
-
/**
|
|
153
|
-
* This file was automatically generated.
|
|
154
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
155
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
156
|
-
*/
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* Status of condition checking for a deferred task.
|
|
160
|
-
*/
|
|
161
|
-
interface ConditionStatus {
|
|
162
|
-
/**
|
|
163
|
-
* Current idle-condition result. `None` if not yet checked,
|
|
164
|
-
* `Some(true)` if idle, `Some(false)` if busy.
|
|
165
|
-
*/
|
|
166
|
-
idleMet?: boolean | null;
|
|
167
|
-
/**
|
|
168
|
-
* Current repository-inactive status per repository: `(path, is_inactive)`.
|
|
169
|
-
*/
|
|
170
|
-
repoInactiveMet?: [unknown, unknown][] | null;
|
|
171
|
-
/**
|
|
172
|
-
* Whether the overall condition-wait timeout has been exceeded.
|
|
173
|
-
*/
|
|
174
|
-
timedOut: boolean;
|
|
175
|
-
/**
|
|
176
|
-
* ISO 8601 timestamp when conditions began being evaluated.
|
|
177
|
-
*/
|
|
178
|
-
waitingSince: string;
|
|
151
|
+
/* eslint-disable */
|
|
152
|
+
/**
|
|
153
|
+
* This file was automatically generated.
|
|
154
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
155
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
156
|
+
*/
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Status of condition checking for a deferred task.
|
|
160
|
+
*/
|
|
161
|
+
interface ConditionStatus {
|
|
162
|
+
/**
|
|
163
|
+
* Current idle-condition result. `None` if not yet checked,
|
|
164
|
+
* `Some(true)` if idle, `Some(false)` if busy.
|
|
165
|
+
*/
|
|
166
|
+
idleMet?: boolean | null;
|
|
167
|
+
/**
|
|
168
|
+
* Current repository-inactive status per repository: `(path, is_inactive)`.
|
|
169
|
+
*/
|
|
170
|
+
repoInactiveMet?: [unknown, unknown][] | null;
|
|
171
|
+
/**
|
|
172
|
+
* Whether the overall condition-wait timeout has been exceeded.
|
|
173
|
+
*/
|
|
174
|
+
timedOut: boolean;
|
|
175
|
+
/**
|
|
176
|
+
* ISO 8601 timestamp when conditions began being evaluated.
|
|
177
|
+
*/
|
|
178
|
+
waitingSince: string;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
/* eslint-disable */
|
|
182
|
-
/**
|
|
183
|
-
* This file was automatically generated.
|
|
184
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
185
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
186
|
-
*/
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* Catch-up policy applied when the runner restarts after missing one or
|
|
190
|
-
* more scheduled slots.
|
|
191
|
-
*/
|
|
181
|
+
/* eslint-disable */
|
|
182
|
+
/**
|
|
183
|
+
* This file was automatically generated.
|
|
184
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
185
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
186
|
+
*/
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Catch-up policy applied when the runner restarts after missing one or
|
|
190
|
+
* more scheduled slots.
|
|
191
|
+
*/
|
|
192
192
|
type CatchUpPolicy = "run" | "skip" | "run_once";
|
|
193
193
|
|
|
194
|
-
/* eslint-disable */
|
|
195
|
-
/**
|
|
196
|
-
* This file was automatically generated.
|
|
197
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
198
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
199
|
-
*/
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Lightweight reference to an MCP connection for [`ScheduledTaskType::RemoteAgent`].
|
|
203
|
-
*
|
|
204
|
-
* `name` is the MCP server name as registered in the runner's MCP config.
|
|
205
|
-
* `url` is an optional override; when omitted the runner resolves the URL
|
|
206
|
-
* from its existing MCP config at dispatch time.
|
|
207
|
-
*/
|
|
208
|
-
interface McpConnectionRef {
|
|
209
|
-
/**
|
|
210
|
-
* MCP server name as registered in the runner's MCP config.
|
|
211
|
-
*/
|
|
212
|
-
name: string;
|
|
213
|
-
/**
|
|
214
|
-
* Optional URL override; falls back to the runner's MCP config when
|
|
215
|
-
* `None`.
|
|
216
|
-
*/
|
|
217
|
-
url?: string | null;
|
|
194
|
+
/* eslint-disable */
|
|
195
|
+
/**
|
|
196
|
+
* This file was automatically generated.
|
|
197
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
198
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
199
|
+
*/
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Lightweight reference to an MCP connection for [`ScheduledTaskType::RemoteAgent`].
|
|
203
|
+
*
|
|
204
|
+
* `name` is the MCP server name as registered in the runner's MCP config.
|
|
205
|
+
* `url` is an optional override; when omitted the runner resolves the URL
|
|
206
|
+
* from its existing MCP config at dispatch time.
|
|
207
|
+
*/
|
|
208
|
+
interface McpConnectionRef {
|
|
209
|
+
/**
|
|
210
|
+
* MCP server name as registered in the runner's MCP config.
|
|
211
|
+
*/
|
|
212
|
+
name: string;
|
|
213
|
+
/**
|
|
214
|
+
* Optional URL override; falls back to the runner's MCP config when
|
|
215
|
+
* `None`.
|
|
216
|
+
*/
|
|
217
|
+
url?: string | null;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
/* eslint-disable */
|
|
221
|
-
/**
|
|
222
|
-
* This file was automatically generated.
|
|
223
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
224
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
225
|
-
*/
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* Status of a scheduled task execution.
|
|
229
|
-
*/
|
|
230
|
-
type ScheduledTaskStatus =
|
|
231
|
-
| "pending"
|
|
232
|
-
| "running"
|
|
233
|
-
| "completed"
|
|
234
|
-
| "failed"
|
|
235
|
-
| "launch_failed"
|
|
236
|
-
| "skipped"
|
|
237
|
-
| "cancelled"
|
|
220
|
+
/* eslint-disable */
|
|
221
|
+
/**
|
|
222
|
+
* This file was automatically generated.
|
|
223
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
224
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
225
|
+
*/
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Status of a scheduled task execution.
|
|
229
|
+
*/
|
|
230
|
+
type ScheduledTaskStatus =
|
|
231
|
+
| "pending"
|
|
232
|
+
| "running"
|
|
233
|
+
| "completed"
|
|
234
|
+
| "failed"
|
|
235
|
+
| "launch_failed"
|
|
236
|
+
| "skipped"
|
|
237
|
+
| "cancelled"
|
|
238
238
|
| "missed_runner_down";
|
|
239
239
|
|
|
240
|
-
/* eslint-disable */
|
|
241
|
-
/**
|
|
242
|
-
* This file was automatically generated.
|
|
243
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
244
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
245
|
-
*/
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* Type of task to schedule.
|
|
251
|
-
*
|
|
252
|
-
* Internally tagged by `task_type`: the variant fields are inlined alongside
|
|
253
|
-
* the discriminator rather than nested under a `value` key.
|
|
254
|
-
*/
|
|
255
|
-
type ScheduledTaskType =
|
|
256
|
-
| {
|
|
257
|
-
/**
|
|
258
|
-
* Optional path to a workflow config file.
|
|
259
|
-
*/
|
|
260
|
-
config_path?: string | null;
|
|
261
|
-
/**
|
|
262
|
-
* Optional monitor index to target.
|
|
263
|
-
*/
|
|
264
|
-
monitor_index?: number | null;
|
|
265
|
-
task_type: "Workflow";
|
|
266
|
-
/**
|
|
267
|
-
* If set, run a unified workflow by ID instead of a legacy workflow
|
|
268
|
-
* by name.
|
|
269
|
-
*/
|
|
270
|
-
workflow_id?: string | null;
|
|
271
|
-
/**
|
|
272
|
-
* Display name (also used to look up legacy workflows).
|
|
273
|
-
*/
|
|
274
|
-
workflow_name: string;
|
|
275
|
-
[k: string]: unknown;
|
|
276
|
-
}
|
|
277
|
-
| {
|
|
278
|
-
/**
|
|
279
|
-
* Optional override for `max_sessions`. `None` uses the prompt's own
|
|
280
|
-
* setting.
|
|
281
|
-
*/
|
|
282
|
-
max_sessions?: number | null;
|
|
283
|
-
/**
|
|
284
|
-
* ID of the prompt to run.
|
|
285
|
-
*/
|
|
286
|
-
prompt_id: string;
|
|
287
|
-
task_type: "Prompt";
|
|
288
|
-
[k: string]: unknown;
|
|
289
|
-
}
|
|
290
|
-
| {
|
|
291
|
-
/**
|
|
292
|
-
* Whether to check the findings queue before running.
|
|
293
|
-
*/
|
|
294
|
-
check_findings: boolean;
|
|
295
|
-
/**
|
|
296
|
-
* Force a run even if no findings are present.
|
|
297
|
-
*/
|
|
298
|
-
force_run: boolean;
|
|
299
|
-
task_type: "AutoFix";
|
|
300
|
-
[k: string]: unknown;
|
|
301
|
-
}
|
|
302
|
-
| {
|
|
303
|
-
task_type: "Watcher";
|
|
304
|
-
/**
|
|
305
|
-
* ID of the watcher definition in PostgreSQL.
|
|
306
|
-
*/
|
|
307
|
-
watcher_id: string;
|
|
308
|
-
[k: string]: unknown;
|
|
309
|
-
}
|
|
310
|
-
| {
|
|
311
|
-
/**
|
|
312
|
-
* Seconds between successive captures.
|
|
313
|
-
*/
|
|
314
|
-
capture_interval_secs: number;
|
|
315
|
-
/**
|
|
316
|
-
* Whether to also trigger a capture on window focus change.
|
|
317
|
-
*/
|
|
318
|
-
capture_on_focus_change: boolean;
|
|
319
|
-
/**
|
|
320
|
-
* Optional monitor index to capture.
|
|
321
|
-
*/
|
|
322
|
-
monitor_index?: number | null;
|
|
323
|
-
task_type: "BackgroundCapture";
|
|
324
|
-
[k: string]: unknown;
|
|
325
|
-
}
|
|
326
|
-
| {
|
|
327
|
-
/**
|
|
328
|
-
* Allowed tool names (e.g. `["Bash", "Read", "Write", "Edit"]`).
|
|
329
|
-
* Empty = use the runner's default tool allow-list.
|
|
330
|
-
*/
|
|
331
|
-
allowed_tools?: string[];
|
|
332
|
-
/**
|
|
333
|
-
* Hard cap on Claude turns per run (safety bound). `None` =
|
|
334
|
-
* runner's default cap (typically 50).
|
|
335
|
-
*/
|
|
336
|
-
max_turns?: number | null;
|
|
337
|
-
/**
|
|
338
|
-
* Optional MCP connection references resolved at dispatch time
|
|
339
|
-
* against the runner's existing MCP config. Empty = inherit
|
|
340
|
-
* whatever the runner currently has configured.
|
|
341
|
-
*/
|
|
342
|
-
mcp_connections?: McpConnectionRef[];
|
|
343
|
-
/**
|
|
344
|
-
* Optional model override. `None` = runner default
|
|
345
|
-
* (typically `claude-sonnet-4-6`).
|
|
346
|
-
*/
|
|
347
|
-
model?: string | null;
|
|
348
|
-
/**
|
|
349
|
-
* The prompt content to send to the Claude session.
|
|
350
|
-
*/
|
|
351
|
-
prompt: string;
|
|
352
|
-
task_type: "RemoteAgent";
|
|
353
|
-
/**
|
|
354
|
-
* Wall-clock timeout in seconds. `None` = runner default
|
|
355
|
-
* (typically 600s = 10 min).
|
|
356
|
-
*/
|
|
357
|
-
timeout_seconds?: number | null;
|
|
358
|
-
/**
|
|
359
|
-
* Working directory for the spawned session. `None` means the
|
|
360
|
-
* runner's project root. Stored as a string (not `PathBuf`) to keep
|
|
361
|
-
* this crate JSON-Schema-friendly.
|
|
362
|
-
*/
|
|
363
|
-
working_directory?: string | null;
|
|
364
|
-
[k: string]: unknown;
|
|
240
|
+
/* eslint-disable */
|
|
241
|
+
/**
|
|
242
|
+
* This file was automatically generated.
|
|
243
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
244
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
245
|
+
*/
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Type of task to schedule.
|
|
251
|
+
*
|
|
252
|
+
* Internally tagged by `task_type`: the variant fields are inlined alongside
|
|
253
|
+
* the discriminator rather than nested under a `value` key.
|
|
254
|
+
*/
|
|
255
|
+
type ScheduledTaskType =
|
|
256
|
+
| {
|
|
257
|
+
/**
|
|
258
|
+
* Optional path to a workflow config file.
|
|
259
|
+
*/
|
|
260
|
+
config_path?: string | null;
|
|
261
|
+
/**
|
|
262
|
+
* Optional monitor index to target.
|
|
263
|
+
*/
|
|
264
|
+
monitor_index?: number | null;
|
|
265
|
+
task_type: "Workflow";
|
|
266
|
+
/**
|
|
267
|
+
* If set, run a unified workflow by ID instead of a legacy workflow
|
|
268
|
+
* by name.
|
|
269
|
+
*/
|
|
270
|
+
workflow_id?: string | null;
|
|
271
|
+
/**
|
|
272
|
+
* Display name (also used to look up legacy workflows).
|
|
273
|
+
*/
|
|
274
|
+
workflow_name: string;
|
|
275
|
+
[k: string]: unknown;
|
|
276
|
+
}
|
|
277
|
+
| {
|
|
278
|
+
/**
|
|
279
|
+
* Optional override for `max_sessions`. `None` uses the prompt's own
|
|
280
|
+
* setting.
|
|
281
|
+
*/
|
|
282
|
+
max_sessions?: number | null;
|
|
283
|
+
/**
|
|
284
|
+
* ID of the prompt to run.
|
|
285
|
+
*/
|
|
286
|
+
prompt_id: string;
|
|
287
|
+
task_type: "Prompt";
|
|
288
|
+
[k: string]: unknown;
|
|
289
|
+
}
|
|
290
|
+
| {
|
|
291
|
+
/**
|
|
292
|
+
* Whether to check the findings queue before running.
|
|
293
|
+
*/
|
|
294
|
+
check_findings: boolean;
|
|
295
|
+
/**
|
|
296
|
+
* Force a run even if no findings are present.
|
|
297
|
+
*/
|
|
298
|
+
force_run: boolean;
|
|
299
|
+
task_type: "AutoFix";
|
|
300
|
+
[k: string]: unknown;
|
|
301
|
+
}
|
|
302
|
+
| {
|
|
303
|
+
task_type: "Watcher";
|
|
304
|
+
/**
|
|
305
|
+
* ID of the watcher definition in PostgreSQL.
|
|
306
|
+
*/
|
|
307
|
+
watcher_id: string;
|
|
308
|
+
[k: string]: unknown;
|
|
309
|
+
}
|
|
310
|
+
| {
|
|
311
|
+
/**
|
|
312
|
+
* Seconds between successive captures.
|
|
313
|
+
*/
|
|
314
|
+
capture_interval_secs: number;
|
|
315
|
+
/**
|
|
316
|
+
* Whether to also trigger a capture on window focus change.
|
|
317
|
+
*/
|
|
318
|
+
capture_on_focus_change: boolean;
|
|
319
|
+
/**
|
|
320
|
+
* Optional monitor index to capture.
|
|
321
|
+
*/
|
|
322
|
+
monitor_index?: number | null;
|
|
323
|
+
task_type: "BackgroundCapture";
|
|
324
|
+
[k: string]: unknown;
|
|
325
|
+
}
|
|
326
|
+
| {
|
|
327
|
+
/**
|
|
328
|
+
* Allowed tool names (e.g. `["Bash", "Read", "Write", "Edit"]`).
|
|
329
|
+
* Empty = use the runner's default tool allow-list.
|
|
330
|
+
*/
|
|
331
|
+
allowed_tools?: string[];
|
|
332
|
+
/**
|
|
333
|
+
* Hard cap on Claude turns per run (safety bound). `None` =
|
|
334
|
+
* runner's default cap (typically 50).
|
|
335
|
+
*/
|
|
336
|
+
max_turns?: number | null;
|
|
337
|
+
/**
|
|
338
|
+
* Optional MCP connection references resolved at dispatch time
|
|
339
|
+
* against the runner's existing MCP config. Empty = inherit
|
|
340
|
+
* whatever the runner currently has configured.
|
|
341
|
+
*/
|
|
342
|
+
mcp_connections?: McpConnectionRef[];
|
|
343
|
+
/**
|
|
344
|
+
* Optional model override. `None` = runner default
|
|
345
|
+
* (typically `claude-sonnet-4-6`).
|
|
346
|
+
*/
|
|
347
|
+
model?: string | null;
|
|
348
|
+
/**
|
|
349
|
+
* The prompt content to send to the Claude session.
|
|
350
|
+
*/
|
|
351
|
+
prompt: string;
|
|
352
|
+
task_type: "RemoteAgent";
|
|
353
|
+
/**
|
|
354
|
+
* Wall-clock timeout in seconds. `None` = runner default
|
|
355
|
+
* (typically 600s = 10 min).
|
|
356
|
+
*/
|
|
357
|
+
timeout_seconds?: number | null;
|
|
358
|
+
/**
|
|
359
|
+
* Working directory for the spawned session. `None` means the
|
|
360
|
+
* runner's project root. Stored as a string (not `PathBuf`) to keep
|
|
361
|
+
* this crate JSON-Schema-friendly.
|
|
362
|
+
*/
|
|
363
|
+
working_directory?: string | null;
|
|
364
|
+
[k: string]: unknown;
|
|
365
365
|
};
|
|
366
366
|
|
|
367
|
-
/* eslint-disable */
|
|
368
|
-
/**
|
|
369
|
-
* This file was automatically generated.
|
|
370
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
371
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
372
|
-
*/
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
/**
|
|
377
|
-
* Record of a single task execution.
|
|
378
|
-
*/
|
|
379
|
-
interface TaskExecutionRecord {
|
|
380
|
-
/**
|
|
381
|
-
* Session ID of the auto-fix session, if one was triggered.
|
|
382
|
-
*/
|
|
383
|
-
autoFixSessionId?: string | null;
|
|
384
|
-
/**
|
|
385
|
-
* Whether this execution record was created by the catch-up reconciler
|
|
386
|
-
* (rather than the normal scheduling tick).
|
|
387
|
-
*/
|
|
388
|
-
catchUpRun: boolean;
|
|
389
|
-
/**
|
|
390
|
-
* ISO 8601 timestamp when execution ended.
|
|
391
|
-
*/
|
|
392
|
-
endedAt?: string | null;
|
|
393
|
-
/**
|
|
394
|
-
* Error message if the execution failed.
|
|
395
|
-
*/
|
|
396
|
-
errorMessage?: string | null;
|
|
397
|
-
/**
|
|
398
|
-
* Unique ID for this execution (UUID v4 string).
|
|
399
|
-
*/
|
|
400
|
-
executionId: string;
|
|
401
|
-
/**
|
|
402
|
-
* ISO 8601 timestamp of the *scheduled* slot this execution covers,
|
|
403
|
-
* distinct from `started_at` (which is the actual launch time). Allows
|
|
404
|
-
* detecting "ran X minutes late" and is consumed by the missed-run
|
|
405
|
-
* reconciler. Optional for backward compatibility with execution rows
|
|
406
|
-
* written before this field existed.
|
|
407
|
-
*/
|
|
408
|
-
scheduledFor?: string | null;
|
|
409
|
-
/**
|
|
410
|
-
* Session ID if this execution triggered an AI session, used for
|
|
411
|
-
* downstream success tracking.
|
|
412
|
-
*/
|
|
413
|
-
sessionId?: string | null;
|
|
414
|
-
/**
|
|
415
|
-
* ISO 8601 timestamp when execution started.
|
|
416
|
-
*/
|
|
417
|
-
startedAt: string;
|
|
418
|
-
status: ScheduledTaskStatus;
|
|
419
|
-
/**
|
|
420
|
-
* Whether the task succeeded, read from the session checkpoint.
|
|
421
|
-
*/
|
|
422
|
-
success: boolean;
|
|
423
|
-
/**
|
|
424
|
-
* Whether auto-fix was triggered after this execution.
|
|
425
|
-
*/
|
|
426
|
-
triggeredAutoFix: boolean;
|
|
367
|
+
/* eslint-disable */
|
|
368
|
+
/**
|
|
369
|
+
* This file was automatically generated.
|
|
370
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
371
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
372
|
+
*/
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Record of a single task execution.
|
|
378
|
+
*/
|
|
379
|
+
interface TaskExecutionRecord {
|
|
380
|
+
/**
|
|
381
|
+
* Session ID of the auto-fix session, if one was triggered.
|
|
382
|
+
*/
|
|
383
|
+
autoFixSessionId?: string | null;
|
|
384
|
+
/**
|
|
385
|
+
* Whether this execution record was created by the catch-up reconciler
|
|
386
|
+
* (rather than the normal scheduling tick).
|
|
387
|
+
*/
|
|
388
|
+
catchUpRun: boolean;
|
|
389
|
+
/**
|
|
390
|
+
* ISO 8601 timestamp when execution ended.
|
|
391
|
+
*/
|
|
392
|
+
endedAt?: string | null;
|
|
393
|
+
/**
|
|
394
|
+
* Error message if the execution failed.
|
|
395
|
+
*/
|
|
396
|
+
errorMessage?: string | null;
|
|
397
|
+
/**
|
|
398
|
+
* Unique ID for this execution (UUID v4 string).
|
|
399
|
+
*/
|
|
400
|
+
executionId: string;
|
|
401
|
+
/**
|
|
402
|
+
* ISO 8601 timestamp of the *scheduled* slot this execution covers,
|
|
403
|
+
* distinct from `started_at` (which is the actual launch time). Allows
|
|
404
|
+
* detecting "ran X minutes late" and is consumed by the missed-run
|
|
405
|
+
* reconciler. Optional for backward compatibility with execution rows
|
|
406
|
+
* written before this field existed.
|
|
407
|
+
*/
|
|
408
|
+
scheduledFor?: string | null;
|
|
409
|
+
/**
|
|
410
|
+
* Session ID if this execution triggered an AI session, used for
|
|
411
|
+
* downstream success tracking.
|
|
412
|
+
*/
|
|
413
|
+
sessionId?: string | null;
|
|
414
|
+
/**
|
|
415
|
+
* ISO 8601 timestamp when execution started.
|
|
416
|
+
*/
|
|
417
|
+
startedAt: string;
|
|
418
|
+
status: ScheduledTaskStatus;
|
|
419
|
+
/**
|
|
420
|
+
* Whether the task succeeded, read from the session checkpoint.
|
|
421
|
+
*/
|
|
422
|
+
success: boolean;
|
|
423
|
+
/**
|
|
424
|
+
* Whether auto-fix was triggered after this execution.
|
|
425
|
+
*/
|
|
426
|
+
triggeredAutoFix: boolean;
|
|
427
427
|
}
|
|
428
428
|
|
|
429
|
-
/* eslint-disable */
|
|
430
|
-
/**
|
|
431
|
-
* This file was automatically generated.
|
|
432
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
433
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
434
|
-
*/
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
/**
|
|
439
|
-
* A scheduled task definition — the full persisted frame, including computed
|
|
440
|
-
* fields (`last_run`, `next_run`) and condition-evaluation state
|
|
441
|
-
* (`conditions`, `condition_status`).
|
|
442
|
-
*/
|
|
443
|
-
interface ScheduledTask {
|
|
444
|
-
/**
|
|
445
|
-
* Automatically trigger auto-fix when this task fails.
|
|
446
|
-
*/
|
|
447
|
-
autoFixOnFailure: boolean;
|
|
448
|
-
/**
|
|
449
|
-
* Slots within this number of seconds of "now" are not treated as
|
|
450
|
-
* missed (the normal scheduler will pick them up). Default 300s.
|
|
451
|
-
*/
|
|
452
|
-
catchUpGraceSeconds: number;
|
|
453
|
-
/**
|
|
454
|
-
* Catch-up policy applied when the runner restarts after missing one
|
|
455
|
-
* or more scheduled slots.
|
|
456
|
-
*/
|
|
457
|
-
catchUpPolicy?: CatchUpPolicy & string;
|
|
458
|
-
/**
|
|
459
|
-
* Present while the task is waiting for its conditions to be met.
|
|
460
|
-
*/
|
|
461
|
-
conditionStatus?: ConditionStatus | null;
|
|
462
|
-
/**
|
|
463
|
-
* Optional conditions that must be met before execution.
|
|
464
|
-
*/
|
|
465
|
-
conditions?: ScheduleConditions | null;
|
|
466
|
-
/**
|
|
467
|
-
* Number of consecutive launch failures since the task last started
|
|
468
|
-
* successfully. Drives exponential backoff. Reset to 0 on the next
|
|
469
|
-
* successful launch.
|
|
470
|
-
*/
|
|
471
|
-
consecutiveLaunchFailures: number;
|
|
472
|
-
/**
|
|
473
|
-
* ISO 8601 timestamp of creation.
|
|
474
|
-
*/
|
|
475
|
-
createdAt: string;
|
|
476
|
-
/**
|
|
477
|
-
* Optional human-readable description.
|
|
478
|
-
*/
|
|
479
|
-
description?: string | null;
|
|
480
|
-
/**
|
|
481
|
-
* Whether the task is enabled and eligible to run.
|
|
482
|
-
*/
|
|
483
|
-
enabled: boolean;
|
|
484
|
-
/**
|
|
485
|
-
* Unique identifier (UUID v4 string).
|
|
486
|
-
*/
|
|
487
|
-
id: string;
|
|
488
|
-
/**
|
|
489
|
-
* Record of the most recent execution.
|
|
490
|
-
*/
|
|
491
|
-
lastRun?: TaskExecutionRecord | null;
|
|
492
|
-
/**
|
|
493
|
-
* **Base** backoff in seconds for launch failures (not the current
|
|
494
|
-
* accumulated backoff). The runner computes the effective delay as
|
|
495
|
-
* `min(base * 2^(consecutive_launch_failures - 1), 86400)`.
|
|
496
|
-
* Default 60s.
|
|
497
|
-
*/
|
|
498
|
-
launchFailureBackoffSeconds: number;
|
|
499
|
-
/**
|
|
500
|
-
* ISO 8601 timestamp of last modification.
|
|
501
|
-
*/
|
|
502
|
-
modifiedAt: string;
|
|
503
|
-
/**
|
|
504
|
-
* Display name for the task.
|
|
505
|
-
*/
|
|
506
|
-
name: string;
|
|
507
|
-
/**
|
|
508
|
-
* Next scheduled run time (ISO 8601), computed by the runner.
|
|
509
|
-
*/
|
|
510
|
-
nextRun?: string | null;
|
|
511
|
-
schedule: ScheduleExpression;
|
|
512
|
-
/**
|
|
513
|
-
* Skip future runs once the task has succeeded at least once.
|
|
514
|
-
*/
|
|
515
|
-
skipIfCompleted: boolean;
|
|
516
|
-
/**
|
|
517
|
-
* Free-form description of success criteria, for human reference.
|
|
518
|
-
*/
|
|
519
|
-
successCriteria?: string | null;
|
|
520
|
-
task: ScheduledTaskType;
|
|
429
|
+
/* eslint-disable */
|
|
430
|
+
/**
|
|
431
|
+
* This file was automatically generated.
|
|
432
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
433
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
434
|
+
*/
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* A scheduled task definition — the full persisted frame, including computed
|
|
440
|
+
* fields (`last_run`, `next_run`) and condition-evaluation state
|
|
441
|
+
* (`conditions`, `condition_status`).
|
|
442
|
+
*/
|
|
443
|
+
interface ScheduledTask {
|
|
444
|
+
/**
|
|
445
|
+
* Automatically trigger auto-fix when this task fails.
|
|
446
|
+
*/
|
|
447
|
+
autoFixOnFailure: boolean;
|
|
448
|
+
/**
|
|
449
|
+
* Slots within this number of seconds of "now" are not treated as
|
|
450
|
+
* missed (the normal scheduler will pick them up). Default 300s.
|
|
451
|
+
*/
|
|
452
|
+
catchUpGraceSeconds: number;
|
|
453
|
+
/**
|
|
454
|
+
* Catch-up policy applied when the runner restarts after missing one
|
|
455
|
+
* or more scheduled slots.
|
|
456
|
+
*/
|
|
457
|
+
catchUpPolicy?: CatchUpPolicy & string;
|
|
458
|
+
/**
|
|
459
|
+
* Present while the task is waiting for its conditions to be met.
|
|
460
|
+
*/
|
|
461
|
+
conditionStatus?: ConditionStatus | null;
|
|
462
|
+
/**
|
|
463
|
+
* Optional conditions that must be met before execution.
|
|
464
|
+
*/
|
|
465
|
+
conditions?: ScheduleConditions | null;
|
|
466
|
+
/**
|
|
467
|
+
* Number of consecutive launch failures since the task last started
|
|
468
|
+
* successfully. Drives exponential backoff. Reset to 0 on the next
|
|
469
|
+
* successful launch.
|
|
470
|
+
*/
|
|
471
|
+
consecutiveLaunchFailures: number;
|
|
472
|
+
/**
|
|
473
|
+
* ISO 8601 timestamp of creation.
|
|
474
|
+
*/
|
|
475
|
+
createdAt: string;
|
|
476
|
+
/**
|
|
477
|
+
* Optional human-readable description.
|
|
478
|
+
*/
|
|
479
|
+
description?: string | null;
|
|
480
|
+
/**
|
|
481
|
+
* Whether the task is enabled and eligible to run.
|
|
482
|
+
*/
|
|
483
|
+
enabled: boolean;
|
|
484
|
+
/**
|
|
485
|
+
* Unique identifier (UUID v4 string).
|
|
486
|
+
*/
|
|
487
|
+
id: string;
|
|
488
|
+
/**
|
|
489
|
+
* Record of the most recent execution.
|
|
490
|
+
*/
|
|
491
|
+
lastRun?: TaskExecutionRecord | null;
|
|
492
|
+
/**
|
|
493
|
+
* **Base** backoff in seconds for launch failures (not the current
|
|
494
|
+
* accumulated backoff). The runner computes the effective delay as
|
|
495
|
+
* `min(base * 2^(consecutive_launch_failures - 1), 86400)`.
|
|
496
|
+
* Default 60s.
|
|
497
|
+
*/
|
|
498
|
+
launchFailureBackoffSeconds: number;
|
|
499
|
+
/**
|
|
500
|
+
* ISO 8601 timestamp of last modification.
|
|
501
|
+
*/
|
|
502
|
+
modifiedAt: string;
|
|
503
|
+
/**
|
|
504
|
+
* Display name for the task.
|
|
505
|
+
*/
|
|
506
|
+
name: string;
|
|
507
|
+
/**
|
|
508
|
+
* Next scheduled run time (ISO 8601), computed by the runner.
|
|
509
|
+
*/
|
|
510
|
+
nextRun?: string | null;
|
|
511
|
+
schedule: ScheduleExpression;
|
|
512
|
+
/**
|
|
513
|
+
* Skip future runs once the task has succeeded at least once.
|
|
514
|
+
*/
|
|
515
|
+
skipIfCompleted: boolean;
|
|
516
|
+
/**
|
|
517
|
+
* Free-form description of success criteria, for human reference.
|
|
518
|
+
*/
|
|
519
|
+
successCriteria?: string | null;
|
|
520
|
+
task: ScheduledTaskType;
|
|
521
521
|
}
|
|
522
522
|
|
|
523
|
-
/* eslint-disable */
|
|
524
|
-
/**
|
|
525
|
-
* This file was automatically generated.
|
|
526
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
527
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
528
|
-
*/
|
|
529
|
-
|
|
530
|
-
/**
|
|
531
|
-
* Global scheduler settings.
|
|
532
|
-
*/
|
|
533
|
-
interface SchedulerSettings {
|
|
534
|
-
/**
|
|
535
|
-
* Default `auto_fix_on_failure` value for newly created tasks.
|
|
536
|
-
*/
|
|
537
|
-
defaultAutoFixOnFailure: boolean;
|
|
538
|
-
/**
|
|
539
|
-
* Whether the scheduler is enabled globally.
|
|
540
|
-
*/
|
|
541
|
-
enabled: boolean;
|
|
542
|
-
/**
|
|
543
|
-
* Maximum number of scheduled tasks allowed to run concurrently.
|
|
544
|
-
*/
|
|
545
|
-
maxConcurrent: number;
|
|
546
|
-
/**
|
|
547
|
-
* Timezone for schedule interpretation (IANA name). `None` = local time.
|
|
548
|
-
*/
|
|
549
|
-
timezone?: string | null;
|
|
523
|
+
/* eslint-disable */
|
|
524
|
+
/**
|
|
525
|
+
* This file was automatically generated.
|
|
526
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
527
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
528
|
+
*/
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* Global scheduler settings.
|
|
532
|
+
*/
|
|
533
|
+
interface SchedulerSettings {
|
|
534
|
+
/**
|
|
535
|
+
* Default `auto_fix_on_failure` value for newly created tasks.
|
|
536
|
+
*/
|
|
537
|
+
defaultAutoFixOnFailure: boolean;
|
|
538
|
+
/**
|
|
539
|
+
* Whether the scheduler is enabled globally.
|
|
540
|
+
*/
|
|
541
|
+
enabled: boolean;
|
|
542
|
+
/**
|
|
543
|
+
* Maximum number of scheduled tasks allowed to run concurrently.
|
|
544
|
+
*/
|
|
545
|
+
maxConcurrent: number;
|
|
546
|
+
/**
|
|
547
|
+
* Timezone for schedule interpretation (IANA name). `None` = local time.
|
|
548
|
+
*/
|
|
549
|
+
timezone?: string | null;
|
|
550
550
|
}
|
|
551
551
|
|
|
552
|
-
/* eslint-disable */
|
|
553
|
-
/**
|
|
554
|
-
* This file was automatically generated.
|
|
555
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
556
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
557
|
-
*/
|
|
558
|
-
|
|
559
|
-
/**
|
|
560
|
-
* Minimal description of the next task due to run.
|
|
561
|
-
*/
|
|
562
|
-
interface NextTaskInfo {
|
|
563
|
-
/**
|
|
564
|
-
* Task ID.
|
|
565
|
-
*/
|
|
566
|
-
id: string;
|
|
567
|
-
/**
|
|
568
|
-
* Task display name.
|
|
569
|
-
*/
|
|
570
|
-
name: string;
|
|
571
|
-
/**
|
|
572
|
-
* ISO 8601 timestamp of the next scheduled run.
|
|
573
|
-
*/
|
|
574
|
-
nextRun: string;
|
|
552
|
+
/* eslint-disable */
|
|
553
|
+
/**
|
|
554
|
+
* This file was automatically generated.
|
|
555
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
556
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
557
|
+
*/
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* Minimal description of the next task due to run.
|
|
561
|
+
*/
|
|
562
|
+
interface NextTaskInfo {
|
|
563
|
+
/**
|
|
564
|
+
* Task ID.
|
|
565
|
+
*/
|
|
566
|
+
id: string;
|
|
567
|
+
/**
|
|
568
|
+
* Task display name.
|
|
569
|
+
*/
|
|
570
|
+
name: string;
|
|
571
|
+
/**
|
|
572
|
+
* ISO 8601 timestamp of the next scheduled run.
|
|
573
|
+
*/
|
|
574
|
+
nextRun: string;
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
/* eslint-disable */
|
|
578
|
-
/**
|
|
579
|
-
* This file was automatically generated.
|
|
580
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
581
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
582
|
-
*/
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
/**
|
|
587
|
-
* Summary of the scheduler's current runtime state, returned from the status
|
|
588
|
-
* API.
|
|
589
|
-
*/
|
|
590
|
-
interface SchedulerStatus {
|
|
591
|
-
/**
|
|
592
|
-
* Whether the scheduler is enabled.
|
|
593
|
-
*/
|
|
594
|
-
enabled: boolean;
|
|
595
|
-
/**
|
|
596
|
-
* The next task scheduled to run, if any.
|
|
597
|
-
*/
|
|
598
|
-
nextTask?: NextTaskInfo | null;
|
|
599
|
-
/**
|
|
600
|
-
* Number of tasks scheduled but not yet running.
|
|
601
|
-
*/
|
|
602
|
-
pendingTasks: number;
|
|
603
|
-
/**
|
|
604
|
-
* Number of tasks currently running.
|
|
605
|
-
*/
|
|
606
|
-
runningTasks: number;
|
|
577
|
+
/* eslint-disable */
|
|
578
|
+
/**
|
|
579
|
+
* This file was automatically generated.
|
|
580
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
581
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
582
|
+
*/
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* Summary of the scheduler's current runtime state, returned from the status
|
|
588
|
+
* API.
|
|
589
|
+
*/
|
|
590
|
+
interface SchedulerStatus {
|
|
591
|
+
/**
|
|
592
|
+
* Whether the scheduler is enabled.
|
|
593
|
+
*/
|
|
594
|
+
enabled: boolean;
|
|
595
|
+
/**
|
|
596
|
+
* The next task scheduled to run, if any.
|
|
597
|
+
*/
|
|
598
|
+
nextTask?: NextTaskInfo | null;
|
|
599
|
+
/**
|
|
600
|
+
* Number of tasks scheduled but not yet running.
|
|
601
|
+
*/
|
|
602
|
+
pendingTasks: number;
|
|
603
|
+
/**
|
|
604
|
+
* Number of tasks currently running.
|
|
605
|
+
*/
|
|
606
|
+
runningTasks: number;
|
|
607
607
|
}
|
|
608
608
|
|
|
609
|
-
/* eslint-disable */
|
|
610
|
-
/**
|
|
611
|
-
* This file was automatically generated.
|
|
612
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
613
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
614
|
-
*/
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
/**
|
|
619
|
-
* Request body for creating a new scheduled task.
|
|
620
|
-
*/
|
|
621
|
-
interface CreateScheduledTaskRequest {
|
|
622
|
-
/**
|
|
623
|
-
* Trigger auto-fix on failure.
|
|
624
|
-
*/
|
|
625
|
-
autoFixOnFailure?: boolean | null;
|
|
626
|
-
/**
|
|
627
|
-
* Optional catch-up grace window override (seconds). `None` =
|
|
628
|
-
* runner default (300s).
|
|
629
|
-
*/
|
|
630
|
-
catchUpGraceSeconds?: number | null;
|
|
631
|
-
/**
|
|
632
|
-
* Optional catch-up policy override. `None` = runner default
|
|
633
|
-
* ([`CatchUpPolicy::RunOnce`]).
|
|
634
|
-
*/
|
|
635
|
-
catchUpPolicy?: CatchUpPolicy | null;
|
|
636
|
-
/**
|
|
637
|
-
* Optional conditions that must be met before execution.
|
|
638
|
-
*/
|
|
639
|
-
conditions?: ScheduleConditions | null;
|
|
640
|
-
/**
|
|
641
|
-
* Optional description.
|
|
642
|
-
*/
|
|
643
|
-
description?: string | null;
|
|
644
|
-
/**
|
|
645
|
-
* Optional override for the launch-failure backoff base (seconds).
|
|
646
|
-
* `None` = runner default (60s).
|
|
647
|
-
*/
|
|
648
|
-
launchFailureBackoffSeconds?: number | null;
|
|
649
|
-
/**
|
|
650
|
-
* Display name.
|
|
651
|
-
*/
|
|
652
|
-
name: string;
|
|
653
|
-
schedule: ScheduleExpression;
|
|
654
|
-
/**
|
|
655
|
-
* Skip future runs once the task has succeeded.
|
|
656
|
-
*/
|
|
657
|
-
skipIfCompleted?: boolean | null;
|
|
658
|
-
/**
|
|
659
|
-
* Free-form success criteria description.
|
|
660
|
-
*/
|
|
661
|
-
successCriteria?: string | null;
|
|
662
|
-
task: ScheduledTaskType;
|
|
609
|
+
/* eslint-disable */
|
|
610
|
+
/**
|
|
611
|
+
* This file was automatically generated.
|
|
612
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
613
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
614
|
+
*/
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* Request body for creating a new scheduled task.
|
|
620
|
+
*/
|
|
621
|
+
interface CreateScheduledTaskRequest {
|
|
622
|
+
/**
|
|
623
|
+
* Trigger auto-fix on failure.
|
|
624
|
+
*/
|
|
625
|
+
autoFixOnFailure?: boolean | null;
|
|
626
|
+
/**
|
|
627
|
+
* Optional catch-up grace window override (seconds). `None` =
|
|
628
|
+
* runner default (300s).
|
|
629
|
+
*/
|
|
630
|
+
catchUpGraceSeconds?: number | null;
|
|
631
|
+
/**
|
|
632
|
+
* Optional catch-up policy override. `None` = runner default
|
|
633
|
+
* ([`CatchUpPolicy::RunOnce`]).
|
|
634
|
+
*/
|
|
635
|
+
catchUpPolicy?: CatchUpPolicy | null;
|
|
636
|
+
/**
|
|
637
|
+
* Optional conditions that must be met before execution.
|
|
638
|
+
*/
|
|
639
|
+
conditions?: ScheduleConditions | null;
|
|
640
|
+
/**
|
|
641
|
+
* Optional description.
|
|
642
|
+
*/
|
|
643
|
+
description?: string | null;
|
|
644
|
+
/**
|
|
645
|
+
* Optional override for the launch-failure backoff base (seconds).
|
|
646
|
+
* `None` = runner default (60s).
|
|
647
|
+
*/
|
|
648
|
+
launchFailureBackoffSeconds?: number | null;
|
|
649
|
+
/**
|
|
650
|
+
* Display name.
|
|
651
|
+
*/
|
|
652
|
+
name: string;
|
|
653
|
+
schedule: ScheduleExpression;
|
|
654
|
+
/**
|
|
655
|
+
* Skip future runs once the task has succeeded.
|
|
656
|
+
*/
|
|
657
|
+
skipIfCompleted?: boolean | null;
|
|
658
|
+
/**
|
|
659
|
+
* Free-form success criteria description.
|
|
660
|
+
*/
|
|
661
|
+
successCriteria?: string | null;
|
|
662
|
+
task: ScheduledTaskType;
|
|
663
663
|
}
|
|
664
664
|
|
|
665
|
-
/* eslint-disable */
|
|
666
|
-
/**
|
|
667
|
-
* This file was automatically generated.
|
|
668
|
-
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
669
|
-
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
670
|
-
*/
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
/**
|
|
675
|
-
* Request body for updating an existing scheduled task. All fields are
|
|
676
|
-
* optional; only those supplied are applied.
|
|
677
|
-
*/
|
|
678
|
-
interface UpdateScheduledTaskRequest {
|
|
679
|
-
/**
|
|
680
|
-
* Update `auto_fix_on_failure`.
|
|
681
|
-
*/
|
|
682
|
-
autoFixOnFailure?: boolean | null;
|
|
683
|
-
/**
|
|
684
|
-
* Update the catch-up grace window (seconds).
|
|
685
|
-
*/
|
|
686
|
-
catchUpGraceSeconds?: number | null;
|
|
687
|
-
/**
|
|
688
|
-
* Update the catch-up policy.
|
|
689
|
-
*/
|
|
690
|
-
catchUpPolicy?: CatchUpPolicy | null;
|
|
691
|
-
/**
|
|
692
|
-
* Replace the conditions block (pass `null` to clear).
|
|
693
|
-
*/
|
|
694
|
-
conditions?: ScheduleConditions | null;
|
|
695
|
-
/**
|
|
696
|
-
* New description (pass `null` to clear).
|
|
697
|
-
*/
|
|
698
|
-
description?: string | null;
|
|
699
|
-
/**
|
|
700
|
-
* Enable/disable the task.
|
|
701
|
-
*/
|
|
702
|
-
enabled?: boolean | null;
|
|
703
|
-
/**
|
|
704
|
-
* Update the launch-failure backoff base (seconds).
|
|
705
|
-
*/
|
|
706
|
-
launchFailureBackoffSeconds?: number | null;
|
|
707
|
-
/**
|
|
708
|
-
* New display name.
|
|
709
|
-
*/
|
|
710
|
-
name?: string | null;
|
|
711
|
-
/**
|
|
712
|
-
* Replace the schedule expression.
|
|
713
|
-
*/
|
|
714
|
-
schedule?: ScheduleExpression | null;
|
|
715
|
-
/**
|
|
716
|
-
* Update `skip_if_completed`.
|
|
717
|
-
*/
|
|
718
|
-
skipIfCompleted?: boolean | null;
|
|
719
|
-
/**
|
|
720
|
-
* Update the success criteria (pass `null` to clear).
|
|
721
|
-
*/
|
|
722
|
-
successCriteria?: string | null;
|
|
723
|
-
/**
|
|
724
|
-
* Replace the task definition.
|
|
725
|
-
*/
|
|
726
|
-
task?: ScheduledTaskType | null;
|
|
665
|
+
/* eslint-disable */
|
|
666
|
+
/**
|
|
667
|
+
* This file was automatically generated.
|
|
668
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
669
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
670
|
+
*/
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* Request body for updating an existing scheduled task. All fields are
|
|
676
|
+
* optional; only those supplied are applied.
|
|
677
|
+
*/
|
|
678
|
+
interface UpdateScheduledTaskRequest {
|
|
679
|
+
/**
|
|
680
|
+
* Update `auto_fix_on_failure`.
|
|
681
|
+
*/
|
|
682
|
+
autoFixOnFailure?: boolean | null;
|
|
683
|
+
/**
|
|
684
|
+
* Update the catch-up grace window (seconds).
|
|
685
|
+
*/
|
|
686
|
+
catchUpGraceSeconds?: number | null;
|
|
687
|
+
/**
|
|
688
|
+
* Update the catch-up policy.
|
|
689
|
+
*/
|
|
690
|
+
catchUpPolicy?: CatchUpPolicy | null;
|
|
691
|
+
/**
|
|
692
|
+
* Replace the conditions block (pass `null` to clear).
|
|
693
|
+
*/
|
|
694
|
+
conditions?: ScheduleConditions | null;
|
|
695
|
+
/**
|
|
696
|
+
* New description (pass `null` to clear).
|
|
697
|
+
*/
|
|
698
|
+
description?: string | null;
|
|
699
|
+
/**
|
|
700
|
+
* Enable/disable the task.
|
|
701
|
+
*/
|
|
702
|
+
enabled?: boolean | null;
|
|
703
|
+
/**
|
|
704
|
+
* Update the launch-failure backoff base (seconds).
|
|
705
|
+
*/
|
|
706
|
+
launchFailureBackoffSeconds?: number | null;
|
|
707
|
+
/**
|
|
708
|
+
* New display name.
|
|
709
|
+
*/
|
|
710
|
+
name?: string | null;
|
|
711
|
+
/**
|
|
712
|
+
* Replace the schedule expression.
|
|
713
|
+
*/
|
|
714
|
+
schedule?: ScheduleExpression | null;
|
|
715
|
+
/**
|
|
716
|
+
* Update `skip_if_completed`.
|
|
717
|
+
*/
|
|
718
|
+
skipIfCompleted?: boolean | null;
|
|
719
|
+
/**
|
|
720
|
+
* Update the success criteria (pass `null` to clear).
|
|
721
|
+
*/
|
|
722
|
+
successCriteria?: string | null;
|
|
723
|
+
/**
|
|
724
|
+
* Replace the task definition.
|
|
725
|
+
*/
|
|
726
|
+
task?: ScheduledTaskType | null;
|
|
727
727
|
}
|
|
728
728
|
|
|
729
729
|
export type { CatchUpPolicy, ConditionScheduleConfig, ConditionStatus, CreateScheduledTaskRequest, IdleCondition, McpConnectionRef, NextTaskInfo, RepositoryInactiveCondition, RepositoryWatch, ScheduleConditions, ScheduleExpression, ScheduledTask, ScheduledTaskStatus, ScheduledTaskType, SchedulerSettings, SchedulerStatus, TaskExecutionRecord, UpdateScheduledTaskRequest };
|