@qontinui/shared-types 0.11.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accessibility.d.cts +9 -0
- package/dist/accessibility.d.ts +9 -0
- package/dist/constraints.d.cts +15 -0
- package/dist/constraints.d.ts +15 -0
- package/dist/execution.d.cts +39 -0
- package/dist/execution.d.ts +39 -0
- package/dist/geometry.d.cts +3 -0
- package/dist/geometry.d.ts +3 -0
- package/dist/index.d.cts +24 -0
- package/dist/index.d.ts +24 -0
- package/dist/runner.d.cts +4 -0
- package/dist/runner.d.ts +4 -0
- package/dist/scheduler.d.cts +15 -0
- package/dist/scheduler.d.ts +15 -0
- package/dist/state-machine.d.cts +9 -0
- package/dist/state-machine.d.ts +9 -0
- package/dist/task-run.d.cts +45 -0
- package/dist/task-run.d.ts +45 -0
- package/dist/tree-events.d.cts +12 -0
- package/dist/tree-events.d.ts +12 -0
- package/dist/workflow.d.cts +26 -0
- package/dist/workflow.d.ts +26 -0
- package/package.json +3 -3
- package/src/generated/AccessibilityNode.d.ts +3 -0
- package/src/generated/AccessibilitySnapshot.d.ts +6 -0
- package/src/generated/ActionExecutionCreate.d.ts +6 -0
- package/src/generated/ActionExecutionListResponse.d.ts +3 -0
- package/src/generated/ActionReliabilityStats.d.ts +3 -0
- package/src/generated/AgentCommand.d.ts +81 -0
- package/src/generated/AgentCommandError.d.ts +23 -0
- package/src/generated/AgentCommandVersion.d.ts +67 -0
- package/src/generated/AgenticPhaseOutput.d.ts +3 -0
- package/src/generated/ApiAssertion.d.ts +3 -0
- package/src/generated/AssertionMiss.d.ts +3 -0
- package/src/generated/AssertionOutcome.d.ts +6 -0
- package/src/generated/AssertionResult.d.ts +3 -0
- package/src/generated/BackendProfile.d.ts +3 -0
- package/src/generated/CommandStep.d.ts +3 -0
- package/src/generated/CompletenessVerdict.d.ts +3 -0
- package/src/generated/ComponentActionInfo.d.ts +33 -0
- package/src/generated/ConjunctEvaluation.d.ts +3 -0
- package/src/generated/ConjunctRule.d.ts +3 -0
- package/src/generated/Constraint.d.ts +6 -0
- package/src/generated/ConstraintProposal.d.ts +3 -0
- package/src/generated/ConstraintResult.d.ts +3 -0
- package/src/generated/CoverageGap.d.ts +9 -0
- package/src/generated/CreateMcpServerInput.d.ts +3 -0
- package/src/generated/CreateScheduledTaskRequest.d.ts +6 -0
- package/src/generated/DiscoveredElement.d.ts +3 -0
- package/src/generated/DiscoveredStateImage.d.ts +3 -0
- package/src/generated/ElementState.d.ts +3 -0
- package/src/generated/EmbeddedElement.d.ts +3 -0
- package/src/generated/Entity.d.ts +3 -0
- package/src/generated/ExecutionIssueCreate.d.ts +3 -0
- package/src/generated/ExecutionIssueDetail.d.ts +12 -0
- package/src/generated/ExecutionIssueListResponse.d.ts +3 -0
- package/src/generated/ExecutionRunComplete.d.ts +6 -0
- package/src/generated/ExecutionRunCompleteResponse.d.ts +6 -0
- package/src/generated/ExecutionRunCreate.d.ts +6 -0
- package/src/generated/ExecutionRunDetail.d.ts +12 -0
- package/src/generated/ExecutionRunListResponse.d.ts +3 -0
- package/src/generated/ExecutionRunResponse.d.ts +6 -0
- package/src/generated/ExecutionScreenshotCreate.d.ts +3 -0
- package/src/generated/Finding.d.ts +3 -0
- package/src/generated/FindingCreate.d.ts +9 -0
- package/src/generated/FindingDetail.d.ts +12 -0
- package/src/generated/FunctionalSpec.d.ts +3 -0
- package/src/generated/HelperAnswer.d.ts +3 -0
- package/src/generated/HelperTask.d.ts +16 -0
- package/src/generated/HistoricalActionResult.d.ts +6 -0
- package/src/generated/IrPageSpec.d.ts +62 -0
- package/src/generated/IterationResult.d.ts +3 -0
- package/src/generated/LoopInstanceStatus.d.ts +3 -0
- package/src/generated/McpServerConfig.d.ts +3 -0
- package/src/generated/McpToolInfo.d.ts +3 -0
- package/src/generated/Monitor.d.ts +3 -0
- package/src/generated/MultiLoopEntry.d.ts +3 -0
- package/src/generated/NewConstraintProposal.d.ts +3 -0
- package/src/generated/OrchestrationLoopStatus.d.ts +3 -0
- package/src/generated/OutputLine.d.ts +3 -0
- package/src/generated/PolicyConjunct.d.ts +7 -0
- package/src/generated/PolicyEvaluation.d.ts +5 -1
- package/src/generated/ProcessStatusLite.d.ts +3 -0
- package/src/generated/Profile.d.ts +6 -0
- package/src/generated/ProjectSnapshot.d.ts +3 -0
- package/src/generated/PromptStep.d.ts +3 -0
- package/src/generated/RecommendedState.d.ts +3 -0
- package/src/generated/ResolvedInitialStates.d.ts +3 -0
- package/src/generated/ResolvedInitialStatesResult.d.ts +3 -0
- package/src/generated/Runner.d.ts +4 -0
- package/src/generated/ScheduledTask.d.ts +6 -0
- package/src/generated/ScreenshotAnnotation.d.ts +3 -0
- package/src/generated/SessionLite.d.ts +3 -0
- package/src/generated/SpecApiEvent.d.ts +26 -0
- package/src/generated/SpecCheckResult.d.ts +22 -0
- package/src/generated/SpecCheckStepConfig.d.ts +3 -0
- package/src/generated/SpecCheckSummary.d.ts +6 -0
- package/src/generated/StateDiscoveryResult.d.ts +3 -0
- package/src/generated/StateDiscoveryResultCreate.d.ts +3 -0
- package/src/generated/StateDiscoveryResultSummary.d.ts +3 -0
- package/src/generated/StateMachineImport.d.ts +3 -0
- package/src/generated/SuccessCriterion.d.ts +3 -0
- package/src/generated/TaskCompletionResult.d.ts +5 -2
- package/src/generated/TaskExecutionRecord.d.ts +3 -0
- package/src/generated/TaskRun.d.ts +6 -0
- package/src/generated/TaskRunBackend.d.ts +3 -0
- package/src/generated/TaskRunBackendDetail.d.ts +6 -0
- package/src/generated/TaskRunFinding.d.ts +12 -0
- package/src/generated/TaskRunFindingCreate.d.ts +6 -0
- package/src/generated/TaskRunFindingsListResponse.d.ts +3 -0
- package/src/generated/TaskRunListResponse.d.ts +3 -0
- package/src/generated/Ticket.d.ts +6 -0
- package/src/generated/TicketProviderConfig.d.ts +3 -0
- package/src/generated/TransitionAction.d.ts +3 -0
- package/src/generated/TreeEvent.d.ts +6 -0
- package/src/generated/TreeNode.d.ts +6 -0
- package/src/generated/UIBridgeComponent.d.ts +10 -0
- package/src/generated/UIBridgeElement.d.ts +6 -0
- package/src/generated/UiBridgeHttpHealthEnvelope.d.ts +3 -0
- package/src/generated/UiBridgeStep.d.ts +6 -0
- package/src/generated/UnifiedWorkflow.d.ts +8 -0
- package/src/generated/VectorSearchResult.d.ts +3 -0
- package/src/generated/VerificationResult.d.ts +3 -0
- package/src/generated/VerificationResultResponse.d.ts +3 -0
- package/src/generated/VerificationStepResult.d.ts +3 -0
- package/src/generated/WorkerCoordinationMessage.d.ts +3 -0
- package/src/generated/WorkerInstance.d.ts +3 -0
- package/src/generated/WorkflowStep.d.ts +3 -0
- package/src/generated/index.ts +3 -0
package/dist/accessibility.d.cts
CHANGED
|
@@ -249,6 +249,9 @@ interface AccessibilityNode {
|
|
|
249
249
|
* Reference ID like `@e1`, `@e2` for AI interaction.
|
|
250
250
|
*/
|
|
251
251
|
ref: string;
|
|
252
|
+
/**
|
|
253
|
+
* Accessibility role (button, textbox, etc.).
|
|
254
|
+
*/
|
|
252
255
|
role: AccessibilityRole;
|
|
253
256
|
/**
|
|
254
257
|
* Current state flags.
|
|
@@ -280,11 +283,17 @@ interface AccessibilityNode {
|
|
|
280
283
|
* capture source and summary statistics.
|
|
281
284
|
*/
|
|
282
285
|
interface AccessibilitySnapshot {
|
|
286
|
+
/**
|
|
287
|
+
* Backend used for capture.
|
|
288
|
+
*/
|
|
283
289
|
backend: AccessibilityBackend;
|
|
284
290
|
/**
|
|
285
291
|
* Number of interactive nodes.
|
|
286
292
|
*/
|
|
287
293
|
interactiveNodes: number;
|
|
294
|
+
/**
|
|
295
|
+
* Root node of the accessibility tree.
|
|
296
|
+
*/
|
|
288
297
|
root: AccessibilityNode;
|
|
289
298
|
/**
|
|
290
299
|
* Unix timestamp of capture.
|
package/dist/accessibility.d.ts
CHANGED
|
@@ -249,6 +249,9 @@ interface AccessibilityNode {
|
|
|
249
249
|
* Reference ID like `@e1`, `@e2` for AI interaction.
|
|
250
250
|
*/
|
|
251
251
|
ref: string;
|
|
252
|
+
/**
|
|
253
|
+
* Accessibility role (button, textbox, etc.).
|
|
254
|
+
*/
|
|
252
255
|
role: AccessibilityRole;
|
|
253
256
|
/**
|
|
254
257
|
* Current state flags.
|
|
@@ -280,11 +283,17 @@ interface AccessibilityNode {
|
|
|
280
283
|
* capture source and summary statistics.
|
|
281
284
|
*/
|
|
282
285
|
interface AccessibilitySnapshot {
|
|
286
|
+
/**
|
|
287
|
+
* Backend used for capture.
|
|
288
|
+
*/
|
|
283
289
|
backend: AccessibilityBackend;
|
|
284
290
|
/**
|
|
285
291
|
* Number of interactive nodes.
|
|
286
292
|
*/
|
|
287
293
|
interactiveNodes: number;
|
|
294
|
+
/**
|
|
295
|
+
* Root node of the accessibility tree.
|
|
296
|
+
*/
|
|
288
297
|
root: AccessibilityNode;
|
|
289
298
|
/**
|
|
290
299
|
* Unix timestamp of capture.
|
package/dist/constraints.d.cts
CHANGED
|
@@ -93,6 +93,9 @@ type ConstraintSeverity = "block" | "warn" | "log";
|
|
|
93
93
|
* A constraint definition.
|
|
94
94
|
*/
|
|
95
95
|
interface Constraint {
|
|
96
|
+
/**
|
|
97
|
+
* What to check.
|
|
98
|
+
*/
|
|
96
99
|
check: ConstraintCheck;
|
|
97
100
|
/**
|
|
98
101
|
* Why this constraint exists (shown to the AI on violation).
|
|
@@ -110,6 +113,9 @@ interface Constraint {
|
|
|
110
113
|
* Human-readable name.
|
|
111
114
|
*/
|
|
112
115
|
name: string;
|
|
116
|
+
/**
|
|
117
|
+
* How severe a violation is.
|
|
118
|
+
*/
|
|
113
119
|
severity: ConstraintSeverity;
|
|
114
120
|
}
|
|
115
121
|
|
|
@@ -163,6 +169,9 @@ interface ConstraintResult {
|
|
|
163
169
|
* Whether the constraint passed.
|
|
164
170
|
*/
|
|
165
171
|
passed: boolean;
|
|
172
|
+
/**
|
|
173
|
+
* Severity of the constraint (for quick filtering).
|
|
174
|
+
*/
|
|
166
175
|
severity: ConstraintSeverity;
|
|
167
176
|
/**
|
|
168
177
|
* Details about the violation (empty if passed).
|
|
@@ -221,6 +230,9 @@ interface ResourceLimits {
|
|
|
221
230
|
*/
|
|
222
231
|
type ConstraintProposal =
|
|
223
232
|
| {
|
|
233
|
+
/**
|
|
234
|
+
* The proposed constraint definition.
|
|
235
|
+
*/
|
|
224
236
|
constraint: Constraint;
|
|
225
237
|
type: "new_constraint";
|
|
226
238
|
}
|
|
@@ -256,6 +268,9 @@ type ConstraintProposal =
|
|
|
256
268
|
* enum's internal tag.
|
|
257
269
|
*/
|
|
258
270
|
interface NewConstraintProposal {
|
|
271
|
+
/**
|
|
272
|
+
* The proposed constraint definition.
|
|
273
|
+
*/
|
|
259
274
|
constraint: Constraint;
|
|
260
275
|
}
|
|
261
276
|
|
package/dist/constraints.d.ts
CHANGED
|
@@ -93,6 +93,9 @@ type ConstraintSeverity = "block" | "warn" | "log";
|
|
|
93
93
|
* A constraint definition.
|
|
94
94
|
*/
|
|
95
95
|
interface Constraint {
|
|
96
|
+
/**
|
|
97
|
+
* What to check.
|
|
98
|
+
*/
|
|
96
99
|
check: ConstraintCheck;
|
|
97
100
|
/**
|
|
98
101
|
* Why this constraint exists (shown to the AI on violation).
|
|
@@ -110,6 +113,9 @@ interface Constraint {
|
|
|
110
113
|
* Human-readable name.
|
|
111
114
|
*/
|
|
112
115
|
name: string;
|
|
116
|
+
/**
|
|
117
|
+
* How severe a violation is.
|
|
118
|
+
*/
|
|
113
119
|
severity: ConstraintSeverity;
|
|
114
120
|
}
|
|
115
121
|
|
|
@@ -163,6 +169,9 @@ interface ConstraintResult {
|
|
|
163
169
|
* Whether the constraint passed.
|
|
164
170
|
*/
|
|
165
171
|
passed: boolean;
|
|
172
|
+
/**
|
|
173
|
+
* Severity of the constraint (for quick filtering).
|
|
174
|
+
*/
|
|
166
175
|
severity: ConstraintSeverity;
|
|
167
176
|
/**
|
|
168
177
|
* Details about the violation (empty if passed).
|
|
@@ -221,6 +230,9 @@ interface ResourceLimits {
|
|
|
221
230
|
*/
|
|
222
231
|
type ConstraintProposal =
|
|
223
232
|
| {
|
|
233
|
+
/**
|
|
234
|
+
* The proposed constraint definition.
|
|
235
|
+
*/
|
|
224
236
|
constraint: Constraint;
|
|
225
237
|
type: "new_constraint";
|
|
226
238
|
}
|
|
@@ -256,6 +268,9 @@ type ConstraintProposal =
|
|
|
256
268
|
* enum's internal tag.
|
|
257
269
|
*/
|
|
258
270
|
interface NewConstraintProposal {
|
|
271
|
+
/**
|
|
272
|
+
* The proposed constraint definition.
|
|
273
|
+
*/
|
|
259
274
|
constraint: Constraint;
|
|
260
275
|
}
|
|
261
276
|
|
package/dist/execution.d.cts
CHANGED
|
@@ -418,7 +418,13 @@ interface ExecutionRunCreate {
|
|
|
418
418
|
* Human-readable run name.
|
|
419
419
|
*/
|
|
420
420
|
runName: string;
|
|
421
|
+
/**
|
|
422
|
+
* Kind of run being created.
|
|
423
|
+
*/
|
|
421
424
|
runType: RunType$1;
|
|
425
|
+
/**
|
|
426
|
+
* Runner environment metadata.
|
|
427
|
+
*/
|
|
422
428
|
runnerMetadata: RunnerMetadata;
|
|
423
429
|
/**
|
|
424
430
|
* Workflow metadata, if the run executes a workflow.
|
|
@@ -459,11 +465,17 @@ interface ExecutionRunResponse {
|
|
|
459
465
|
* Human-readable run name.
|
|
460
466
|
*/
|
|
461
467
|
runName: string;
|
|
468
|
+
/**
|
|
469
|
+
* Kind of run.
|
|
470
|
+
*/
|
|
462
471
|
runType: RunType$1;
|
|
463
472
|
/**
|
|
464
473
|
* ISO 8601 timestamp when the run started.
|
|
465
474
|
*/
|
|
466
475
|
startedAt: string;
|
|
476
|
+
/**
|
|
477
|
+
* Current lifecycle status.
|
|
478
|
+
*/
|
|
467
479
|
status: RunStatus$1;
|
|
468
480
|
}
|
|
469
481
|
|
|
@@ -518,6 +530,9 @@ interface ActionExecutionCreate {
|
|
|
518
530
|
* Human-readable action name.
|
|
519
531
|
*/
|
|
520
532
|
actionName: string;
|
|
533
|
+
/**
|
|
534
|
+
* Kind of action.
|
|
535
|
+
*/
|
|
521
536
|
actionType: ExecutionActionType;
|
|
522
537
|
/**
|
|
523
538
|
* IDs of states active when the action ran.
|
|
@@ -609,6 +624,9 @@ interface ActionExecutionCreate {
|
|
|
609
624
|
* ISO 8601 timestamp when the action started.
|
|
610
625
|
*/
|
|
611
626
|
startedAt: string;
|
|
627
|
+
/**
|
|
628
|
+
* Outcome of the action.
|
|
629
|
+
*/
|
|
612
630
|
status: ActionStatus$1;
|
|
613
631
|
/**
|
|
614
632
|
* Destination state ID for state-machine actions.
|
|
@@ -670,6 +688,9 @@ interface ScreenshotAnnotation {
|
|
|
670
688
|
* Free-form label for the annotation.
|
|
671
689
|
*/
|
|
672
690
|
label?: string | null;
|
|
691
|
+
/**
|
|
692
|
+
* Shape of the annotation.
|
|
693
|
+
*/
|
|
673
694
|
type: ScreenshotAnnotationShape;
|
|
674
695
|
/**
|
|
675
696
|
* Annotation width in pixels.
|
|
@@ -724,6 +745,9 @@ interface ExecutionScreenshotCreate {
|
|
|
724
745
|
* Client-generated screenshot identifier.
|
|
725
746
|
*/
|
|
726
747
|
screenshotId: string;
|
|
748
|
+
/**
|
|
749
|
+
* Kind of screenshot.
|
|
750
|
+
*/
|
|
727
751
|
screenshotType: ScreenshotType$1;
|
|
728
752
|
/**
|
|
729
753
|
* Sequence number of the screenshot within the run.
|
|
@@ -827,6 +851,9 @@ interface ExecutionIssueCreate {
|
|
|
827
851
|
* IDs of screenshots illustrating the issue.
|
|
828
852
|
*/
|
|
829
853
|
screenshotIds?: string[] | null;
|
|
854
|
+
/**
|
|
855
|
+
* Severity.
|
|
856
|
+
*/
|
|
830
857
|
severity: IssueSeverity$1;
|
|
831
858
|
/**
|
|
832
859
|
* State ID active when the issue was observed.
|
|
@@ -888,7 +915,13 @@ interface ExecutionRunComplete {
|
|
|
888
915
|
* Error message if the run failed.
|
|
889
916
|
*/
|
|
890
917
|
errorMessage?: string | null;
|
|
918
|
+
/**
|
|
919
|
+
* Aggregate execution statistics.
|
|
920
|
+
*/
|
|
891
921
|
stats: ExecutionStats;
|
|
922
|
+
/**
|
|
923
|
+
* Final lifecycle status.
|
|
924
|
+
*/
|
|
892
925
|
status: RunStatus$1;
|
|
893
926
|
/**
|
|
894
927
|
* Free-form run summary.
|
|
@@ -929,7 +962,13 @@ interface ExecutionRunCompleteResponse {
|
|
|
929
962
|
* ISO 8601 timestamp when the run started.
|
|
930
963
|
*/
|
|
931
964
|
startedAt: string;
|
|
965
|
+
/**
|
|
966
|
+
* Aggregate execution statistics.
|
|
967
|
+
*/
|
|
932
968
|
stats: ExecutionStats;
|
|
969
|
+
/**
|
|
970
|
+
* Final lifecycle status.
|
|
971
|
+
*/
|
|
933
972
|
status: RunStatus$1;
|
|
934
973
|
}
|
|
935
974
|
|
package/dist/execution.d.ts
CHANGED
|
@@ -418,7 +418,13 @@ interface ExecutionRunCreate {
|
|
|
418
418
|
* Human-readable run name.
|
|
419
419
|
*/
|
|
420
420
|
runName: string;
|
|
421
|
+
/**
|
|
422
|
+
* Kind of run being created.
|
|
423
|
+
*/
|
|
421
424
|
runType: RunType$1;
|
|
425
|
+
/**
|
|
426
|
+
* Runner environment metadata.
|
|
427
|
+
*/
|
|
422
428
|
runnerMetadata: RunnerMetadata;
|
|
423
429
|
/**
|
|
424
430
|
* Workflow metadata, if the run executes a workflow.
|
|
@@ -459,11 +465,17 @@ interface ExecutionRunResponse {
|
|
|
459
465
|
* Human-readable run name.
|
|
460
466
|
*/
|
|
461
467
|
runName: string;
|
|
468
|
+
/**
|
|
469
|
+
* Kind of run.
|
|
470
|
+
*/
|
|
462
471
|
runType: RunType$1;
|
|
463
472
|
/**
|
|
464
473
|
* ISO 8601 timestamp when the run started.
|
|
465
474
|
*/
|
|
466
475
|
startedAt: string;
|
|
476
|
+
/**
|
|
477
|
+
* Current lifecycle status.
|
|
478
|
+
*/
|
|
467
479
|
status: RunStatus$1;
|
|
468
480
|
}
|
|
469
481
|
|
|
@@ -518,6 +530,9 @@ interface ActionExecutionCreate {
|
|
|
518
530
|
* Human-readable action name.
|
|
519
531
|
*/
|
|
520
532
|
actionName: string;
|
|
533
|
+
/**
|
|
534
|
+
* Kind of action.
|
|
535
|
+
*/
|
|
521
536
|
actionType: ExecutionActionType;
|
|
522
537
|
/**
|
|
523
538
|
* IDs of states active when the action ran.
|
|
@@ -609,6 +624,9 @@ interface ActionExecutionCreate {
|
|
|
609
624
|
* ISO 8601 timestamp when the action started.
|
|
610
625
|
*/
|
|
611
626
|
startedAt: string;
|
|
627
|
+
/**
|
|
628
|
+
* Outcome of the action.
|
|
629
|
+
*/
|
|
612
630
|
status: ActionStatus$1;
|
|
613
631
|
/**
|
|
614
632
|
* Destination state ID for state-machine actions.
|
|
@@ -670,6 +688,9 @@ interface ScreenshotAnnotation {
|
|
|
670
688
|
* Free-form label for the annotation.
|
|
671
689
|
*/
|
|
672
690
|
label?: string | null;
|
|
691
|
+
/**
|
|
692
|
+
* Shape of the annotation.
|
|
693
|
+
*/
|
|
673
694
|
type: ScreenshotAnnotationShape;
|
|
674
695
|
/**
|
|
675
696
|
* Annotation width in pixels.
|
|
@@ -724,6 +745,9 @@ interface ExecutionScreenshotCreate {
|
|
|
724
745
|
* Client-generated screenshot identifier.
|
|
725
746
|
*/
|
|
726
747
|
screenshotId: string;
|
|
748
|
+
/**
|
|
749
|
+
* Kind of screenshot.
|
|
750
|
+
*/
|
|
727
751
|
screenshotType: ScreenshotType$1;
|
|
728
752
|
/**
|
|
729
753
|
* Sequence number of the screenshot within the run.
|
|
@@ -827,6 +851,9 @@ interface ExecutionIssueCreate {
|
|
|
827
851
|
* IDs of screenshots illustrating the issue.
|
|
828
852
|
*/
|
|
829
853
|
screenshotIds?: string[] | null;
|
|
854
|
+
/**
|
|
855
|
+
* Severity.
|
|
856
|
+
*/
|
|
830
857
|
severity: IssueSeverity$1;
|
|
831
858
|
/**
|
|
832
859
|
* State ID active when the issue was observed.
|
|
@@ -888,7 +915,13 @@ interface ExecutionRunComplete {
|
|
|
888
915
|
* Error message if the run failed.
|
|
889
916
|
*/
|
|
890
917
|
errorMessage?: string | null;
|
|
918
|
+
/**
|
|
919
|
+
* Aggregate execution statistics.
|
|
920
|
+
*/
|
|
891
921
|
stats: ExecutionStats;
|
|
922
|
+
/**
|
|
923
|
+
* Final lifecycle status.
|
|
924
|
+
*/
|
|
892
925
|
status: RunStatus$1;
|
|
893
926
|
/**
|
|
894
927
|
* Free-form run summary.
|
|
@@ -929,7 +962,13 @@ interface ExecutionRunCompleteResponse {
|
|
|
929
962
|
* ISO 8601 timestamp when the run started.
|
|
930
963
|
*/
|
|
931
964
|
startedAt: string;
|
|
965
|
+
/**
|
|
966
|
+
* Aggregate execution statistics.
|
|
967
|
+
*/
|
|
932
968
|
stats: ExecutionStats;
|
|
969
|
+
/**
|
|
970
|
+
* Final lifecycle status.
|
|
971
|
+
*/
|
|
933
972
|
status: RunStatus$1;
|
|
934
973
|
}
|
|
935
974
|
|
package/dist/geometry.d.cts
CHANGED
|
@@ -44,6 +44,9 @@ interface Monitor {
|
|
|
44
44
|
* Display name (e.g., "DELL U2720Q").
|
|
45
45
|
*/
|
|
46
46
|
name?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* Spatial position based on X coordinate (for UI display).
|
|
49
|
+
*/
|
|
47
50
|
position: MonitorPosition;
|
|
48
51
|
/**
|
|
49
52
|
* DPI scale factor (1.0 = 100%, 1.5 = 150%, 2.0 = 200%).
|
package/dist/geometry.d.ts
CHANGED
|
@@ -44,6 +44,9 @@ interface Monitor {
|
|
|
44
44
|
* Display name (e.g., "DELL U2720Q").
|
|
45
45
|
*/
|
|
46
46
|
name?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* Spatial position based on X coordinate (for UI display).
|
|
49
|
+
*/
|
|
47
50
|
position: MonitorPosition;
|
|
48
51
|
/**
|
|
49
52
|
* DPI scale factor (1.0 = 100%, 1.5 = 150%, 2.0 = 200%).
|
package/dist/index.d.cts
CHANGED
|
@@ -623,6 +623,9 @@ interface ProcessStatusLite {
|
|
|
623
623
|
* process declares no health port.
|
|
624
624
|
*/
|
|
625
625
|
portHealthy?: boolean | null;
|
|
626
|
+
/**
|
|
627
|
+
* Lifecycle state as reported by the process manager.
|
|
628
|
+
*/
|
|
626
629
|
state: ProcessState;
|
|
627
630
|
}
|
|
628
631
|
|
|
@@ -671,6 +674,9 @@ interface SessionLite {
|
|
|
671
674
|
* Session name — `task_runs.task_name` or the terminal's title.
|
|
672
675
|
*/
|
|
673
676
|
name?: string | null;
|
|
677
|
+
/**
|
|
678
|
+
* Where this row came from.
|
|
679
|
+
*/
|
|
674
680
|
source: SessionSource;
|
|
675
681
|
/**
|
|
676
682
|
* `task_runs.status` ("running", "completed", …) for AI sessions;
|
|
@@ -720,6 +726,9 @@ interface ProjectSnapshot {
|
|
|
720
726
|
* Managed processes whose `cwd` is under the project root.
|
|
721
727
|
*/
|
|
722
728
|
processes: ProcessStatusLite[];
|
|
729
|
+
/**
|
|
730
|
+
* The registry entry this snapshot describes.
|
|
731
|
+
*/
|
|
723
732
|
project: SavedProject;
|
|
724
733
|
/**
|
|
725
734
|
* Questions waiting on the user, from `deferred_questions`.
|
|
@@ -857,6 +866,9 @@ interface DiscoveryTransitionTrigger {
|
|
|
857
866
|
* optional pixel-level identification.
|
|
858
867
|
*/
|
|
859
868
|
interface DiscoveredStateImage {
|
|
869
|
+
/**
|
|
870
|
+
* Bounding box within the screenshot.
|
|
871
|
+
*/
|
|
860
872
|
bbox: DiscoveryBoundingBox;
|
|
861
873
|
/**
|
|
862
874
|
* Confidence score for this image (0.0–1.0). Defaults to `1.0`.
|
|
@@ -1064,6 +1076,9 @@ interface StateDiscoveryResult {
|
|
|
1064
1076
|
* ID of the source session (extraction, recording, …).
|
|
1065
1077
|
*/
|
|
1066
1078
|
sourceSessionId?: string | null;
|
|
1079
|
+
/**
|
|
1080
|
+
* How this state machine was discovered.
|
|
1081
|
+
*/
|
|
1067
1082
|
sourceType: DiscoverySourceType;
|
|
1068
1083
|
/**
|
|
1069
1084
|
* Number of states (statistic).
|
|
@@ -1138,6 +1153,9 @@ interface StateDiscoveryResultSummary {
|
|
|
1138
1153
|
* ID of the project.
|
|
1139
1154
|
*/
|
|
1140
1155
|
projectId: string;
|
|
1156
|
+
/**
|
|
1157
|
+
* Discovery source.
|
|
1158
|
+
*/
|
|
1141
1159
|
sourceType: DiscoverySourceType;
|
|
1142
1160
|
/**
|
|
1143
1161
|
* Number of states.
|
|
@@ -1221,6 +1239,9 @@ interface StateDiscoveryResultCreate {
|
|
|
1221
1239
|
* ID of the source session.
|
|
1222
1240
|
*/
|
|
1223
1241
|
sourceSessionId?: string | null;
|
|
1242
|
+
/**
|
|
1243
|
+
* Discovery source.
|
|
1244
|
+
*/
|
|
1224
1245
|
sourceType: DiscoverySourceType;
|
|
1225
1246
|
/**
|
|
1226
1247
|
* Discovered states.
|
|
@@ -1352,6 +1373,9 @@ interface StateMachineImport {
|
|
|
1352
1373
|
* Override name (uses export name when omitted).
|
|
1353
1374
|
*/
|
|
1354
1375
|
name?: string | null;
|
|
1376
|
+
/**
|
|
1377
|
+
* The state machine to import.
|
|
1378
|
+
*/
|
|
1355
1379
|
stateMachine: StateMachineExport;
|
|
1356
1380
|
}
|
|
1357
1381
|
|
package/dist/index.d.ts
CHANGED
|
@@ -623,6 +623,9 @@ interface ProcessStatusLite {
|
|
|
623
623
|
* process declares no health port.
|
|
624
624
|
*/
|
|
625
625
|
portHealthy?: boolean | null;
|
|
626
|
+
/**
|
|
627
|
+
* Lifecycle state as reported by the process manager.
|
|
628
|
+
*/
|
|
626
629
|
state: ProcessState;
|
|
627
630
|
}
|
|
628
631
|
|
|
@@ -671,6 +674,9 @@ interface SessionLite {
|
|
|
671
674
|
* Session name — `task_runs.task_name` or the terminal's title.
|
|
672
675
|
*/
|
|
673
676
|
name?: string | null;
|
|
677
|
+
/**
|
|
678
|
+
* Where this row came from.
|
|
679
|
+
*/
|
|
674
680
|
source: SessionSource;
|
|
675
681
|
/**
|
|
676
682
|
* `task_runs.status` ("running", "completed", …) for AI sessions;
|
|
@@ -720,6 +726,9 @@ interface ProjectSnapshot {
|
|
|
720
726
|
* Managed processes whose `cwd` is under the project root.
|
|
721
727
|
*/
|
|
722
728
|
processes: ProcessStatusLite[];
|
|
729
|
+
/**
|
|
730
|
+
* The registry entry this snapshot describes.
|
|
731
|
+
*/
|
|
723
732
|
project: SavedProject;
|
|
724
733
|
/**
|
|
725
734
|
* Questions waiting on the user, from `deferred_questions`.
|
|
@@ -857,6 +866,9 @@ interface DiscoveryTransitionTrigger {
|
|
|
857
866
|
* optional pixel-level identification.
|
|
858
867
|
*/
|
|
859
868
|
interface DiscoveredStateImage {
|
|
869
|
+
/**
|
|
870
|
+
* Bounding box within the screenshot.
|
|
871
|
+
*/
|
|
860
872
|
bbox: DiscoveryBoundingBox;
|
|
861
873
|
/**
|
|
862
874
|
* Confidence score for this image (0.0–1.0). Defaults to `1.0`.
|
|
@@ -1064,6 +1076,9 @@ interface StateDiscoveryResult {
|
|
|
1064
1076
|
* ID of the source session (extraction, recording, …).
|
|
1065
1077
|
*/
|
|
1066
1078
|
sourceSessionId?: string | null;
|
|
1079
|
+
/**
|
|
1080
|
+
* How this state machine was discovered.
|
|
1081
|
+
*/
|
|
1067
1082
|
sourceType: DiscoverySourceType;
|
|
1068
1083
|
/**
|
|
1069
1084
|
* Number of states (statistic).
|
|
@@ -1138,6 +1153,9 @@ interface StateDiscoveryResultSummary {
|
|
|
1138
1153
|
* ID of the project.
|
|
1139
1154
|
*/
|
|
1140
1155
|
projectId: string;
|
|
1156
|
+
/**
|
|
1157
|
+
* Discovery source.
|
|
1158
|
+
*/
|
|
1141
1159
|
sourceType: DiscoverySourceType;
|
|
1142
1160
|
/**
|
|
1143
1161
|
* Number of states.
|
|
@@ -1221,6 +1239,9 @@ interface StateDiscoveryResultCreate {
|
|
|
1221
1239
|
* ID of the source session.
|
|
1222
1240
|
*/
|
|
1223
1241
|
sourceSessionId?: string | null;
|
|
1242
|
+
/**
|
|
1243
|
+
* Discovery source.
|
|
1244
|
+
*/
|
|
1224
1245
|
sourceType: DiscoverySourceType;
|
|
1225
1246
|
/**
|
|
1226
1247
|
* Discovered states.
|
|
@@ -1352,6 +1373,9 @@ interface StateMachineImport {
|
|
|
1352
1373
|
* Override name (uses export name when omitted).
|
|
1353
1374
|
*/
|
|
1354
1375
|
name?: string | null;
|
|
1376
|
+
/**
|
|
1377
|
+
* The state machine to import.
|
|
1378
|
+
*/
|
|
1355
1379
|
stateMachine: StateMachineExport;
|
|
1356
1380
|
}
|
|
1357
1381
|
|
package/dist/runner.d.cts
CHANGED
|
@@ -102,6 +102,10 @@ interface Runner {
|
|
|
102
102
|
* ISO 8601 timestamp when the runner was first registered.
|
|
103
103
|
*/
|
|
104
104
|
createdAt: string;
|
|
105
|
+
/**
|
|
106
|
+
* Computed health state derived from `ws_connected` and
|
|
107
|
+
* `last_heartbeat`. Authoritative for UI display.
|
|
108
|
+
*/
|
|
105
109
|
derivedStatus: RunnerStatus;
|
|
106
110
|
/**
|
|
107
111
|
* Reported hostname of the machine the runner is running on.
|
package/dist/runner.d.ts
CHANGED
|
@@ -102,6 +102,10 @@ interface Runner {
|
|
|
102
102
|
* ISO 8601 timestamp when the runner was first registered.
|
|
103
103
|
*/
|
|
104
104
|
createdAt: string;
|
|
105
|
+
/**
|
|
106
|
+
* Computed health state derived from `ws_connected` and
|
|
107
|
+
* `last_heartbeat`. Authoritative for UI display.
|
|
108
|
+
*/
|
|
105
109
|
derivedStatus: RunnerStatus;
|
|
106
110
|
/**
|
|
107
111
|
* Reported hostname of the machine the runner is running on.
|
package/dist/scheduler.d.cts
CHANGED
|
@@ -415,6 +415,9 @@ interface TaskExecutionRecord {
|
|
|
415
415
|
* ISO 8601 timestamp when execution started.
|
|
416
416
|
*/
|
|
417
417
|
startedAt: string;
|
|
418
|
+
/**
|
|
419
|
+
* Current status of this execution.
|
|
420
|
+
*/
|
|
418
421
|
status: ScheduledTaskStatus;
|
|
419
422
|
/**
|
|
420
423
|
* Whether the task succeeded, read from the session checkpoint.
|
|
@@ -508,6 +511,9 @@ interface ScheduledTask {
|
|
|
508
511
|
* Next scheduled run time (ISO 8601), computed by the runner.
|
|
509
512
|
*/
|
|
510
513
|
nextRun?: string | null;
|
|
514
|
+
/**
|
|
515
|
+
* Schedule configuration.
|
|
516
|
+
*/
|
|
511
517
|
schedule: ScheduleExpression;
|
|
512
518
|
/**
|
|
513
519
|
* Skip future runs once the task has succeeded at least once.
|
|
@@ -517,6 +523,9 @@ interface ScheduledTask {
|
|
|
517
523
|
* Free-form description of success criteria, for human reference.
|
|
518
524
|
*/
|
|
519
525
|
successCriteria?: string | null;
|
|
526
|
+
/**
|
|
527
|
+
* Task type and its per-type configuration.
|
|
528
|
+
*/
|
|
520
529
|
task: ScheduledTaskType;
|
|
521
530
|
}
|
|
522
531
|
|
|
@@ -650,6 +659,9 @@ interface CreateScheduledTaskRequest {
|
|
|
650
659
|
* Display name.
|
|
651
660
|
*/
|
|
652
661
|
name: string;
|
|
662
|
+
/**
|
|
663
|
+
* Schedule configuration.
|
|
664
|
+
*/
|
|
653
665
|
schedule: ScheduleExpression;
|
|
654
666
|
/**
|
|
655
667
|
* Skip future runs once the task has succeeded.
|
|
@@ -659,6 +671,9 @@ interface CreateScheduledTaskRequest {
|
|
|
659
671
|
* Free-form success criteria description.
|
|
660
672
|
*/
|
|
661
673
|
successCriteria?: string | null;
|
|
674
|
+
/**
|
|
675
|
+
* Task type and its per-type configuration.
|
|
676
|
+
*/
|
|
662
677
|
task: ScheduledTaskType;
|
|
663
678
|
}
|
|
664
679
|
|
package/dist/scheduler.d.ts
CHANGED
|
@@ -415,6 +415,9 @@ interface TaskExecutionRecord {
|
|
|
415
415
|
* ISO 8601 timestamp when execution started.
|
|
416
416
|
*/
|
|
417
417
|
startedAt: string;
|
|
418
|
+
/**
|
|
419
|
+
* Current status of this execution.
|
|
420
|
+
*/
|
|
418
421
|
status: ScheduledTaskStatus;
|
|
419
422
|
/**
|
|
420
423
|
* Whether the task succeeded, read from the session checkpoint.
|
|
@@ -508,6 +511,9 @@ interface ScheduledTask {
|
|
|
508
511
|
* Next scheduled run time (ISO 8601), computed by the runner.
|
|
509
512
|
*/
|
|
510
513
|
nextRun?: string | null;
|
|
514
|
+
/**
|
|
515
|
+
* Schedule configuration.
|
|
516
|
+
*/
|
|
511
517
|
schedule: ScheduleExpression;
|
|
512
518
|
/**
|
|
513
519
|
* Skip future runs once the task has succeeded at least once.
|
|
@@ -517,6 +523,9 @@ interface ScheduledTask {
|
|
|
517
523
|
* Free-form description of success criteria, for human reference.
|
|
518
524
|
*/
|
|
519
525
|
successCriteria?: string | null;
|
|
526
|
+
/**
|
|
527
|
+
* Task type and its per-type configuration.
|
|
528
|
+
*/
|
|
520
529
|
task: ScheduledTaskType;
|
|
521
530
|
}
|
|
522
531
|
|
|
@@ -650,6 +659,9 @@ interface CreateScheduledTaskRequest {
|
|
|
650
659
|
* Display name.
|
|
651
660
|
*/
|
|
652
661
|
name: string;
|
|
662
|
+
/**
|
|
663
|
+
* Schedule configuration.
|
|
664
|
+
*/
|
|
653
665
|
schedule: ScheduleExpression;
|
|
654
666
|
/**
|
|
655
667
|
* Skip future runs once the task has succeeded.
|
|
@@ -659,6 +671,9 @@ interface CreateScheduledTaskRequest {
|
|
|
659
671
|
* Free-form success criteria description.
|
|
660
672
|
*/
|
|
661
673
|
successCriteria?: string | null;
|
|
674
|
+
/**
|
|
675
|
+
* Task type and its per-type configuration.
|
|
676
|
+
*/
|
|
662
677
|
task: ScheduledTaskType;
|
|
663
678
|
}
|
|
664
679
|
|
package/dist/state-machine.d.cts
CHANGED
|
@@ -178,6 +178,9 @@ interface TransitionAction {
|
|
|
178
178
|
* Text to type (`type` action).
|
|
179
179
|
*/
|
|
180
180
|
text?: string | null;
|
|
181
|
+
/**
|
|
182
|
+
* The kind of action to perform.
|
|
183
|
+
*/
|
|
181
184
|
type: StandardActionType;
|
|
182
185
|
/**
|
|
183
186
|
* Keystroke delay in milliseconds (`type` action).
|
|
@@ -1034,6 +1037,9 @@ interface InitialStateRef {
|
|
|
1034
1037
|
* resolution came from.
|
|
1035
1038
|
*/
|
|
1036
1039
|
interface ResolvedInitialStates {
|
|
1040
|
+
/**
|
|
1041
|
+
* Where the resolution came from.
|
|
1042
|
+
*/
|
|
1037
1043
|
source: InitialStatesSource;
|
|
1038
1044
|
/**
|
|
1039
1045
|
* Resolved initial state IDs.
|
|
@@ -1070,6 +1076,9 @@ interface ResolvedInitialStatesResult {
|
|
|
1070
1076
|
* Error message when resolution failed.
|
|
1071
1077
|
*/
|
|
1072
1078
|
error?: string | null;
|
|
1079
|
+
/**
|
|
1080
|
+
* Where the resolution came from.
|
|
1081
|
+
*/
|
|
1073
1082
|
source: InitialStatesSource;
|
|
1074
1083
|
/**
|
|
1075
1084
|
* Resolved initial state IDs.
|