@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
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with `just generate-types` or
|
|
5
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Failure modes for agent-command overrides. Mirrors the tagged-enum shape of
|
|
10
|
+
* [`crate::apps::AppError`], so the qontinui-web layer can surface a rejected
|
|
11
|
+
* override the same way it surfaces a rejected app registration.
|
|
12
|
+
*/
|
|
13
|
+
export type AgentCommandError =
|
|
14
|
+
| {
|
|
15
|
+
name: string;
|
|
16
|
+
reason: "invalid-name";
|
|
17
|
+
[k: string]: unknown;
|
|
18
|
+
}
|
|
19
|
+
| {
|
|
20
|
+
name: string;
|
|
21
|
+
reason: "reserved-name";
|
|
22
|
+
[k: string]: unknown;
|
|
23
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
* One immutable entry in an [`AgentCommand`]'s append-only version chain.
|
|
10
|
+
*
|
|
11
|
+
* Rows are **only ever inserted**. An edit appends the next `version_number`;
|
|
12
|
+
* a revert appends a new version whose `body` is copied from an older one and
|
|
13
|
+
* whose [`restored_from`](Self::restored_from) names that older version.
|
|
14
|
+
* Nothing in the chain is updated or deleted, so the chain is the complete
|
|
15
|
+
* edit history and "revert" is itself a recorded edit.
|
|
16
|
+
*/
|
|
17
|
+
export interface AgentCommandVersion {
|
|
18
|
+
/**
|
|
19
|
+
* The [`AgentCommand`] this version belongs to. Deleting the override
|
|
20
|
+
* cascades to its versions — resetting to the default discards the
|
|
21
|
+
* account's edit history along with the override.
|
|
22
|
+
*/
|
|
23
|
+
agent_command_id: string;
|
|
24
|
+
/**
|
|
25
|
+
* The full markdown body as of this version.
|
|
26
|
+
*/
|
|
27
|
+
body: string;
|
|
28
|
+
/**
|
|
29
|
+
* Free-text note describing what changed, supplied by the editor. Revert
|
|
30
|
+
* writes a generated one (e.g. `"Restored from version 2"`).
|
|
31
|
+
*/
|
|
32
|
+
change_description?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* Content hash of [`body`](Self::body) at this version, from
|
|
35
|
+
* [`agent_command_checksum`]. Equal checksums on two versions mean the
|
|
36
|
+
* bodies are identical — which is what lets the UI show a revert as
|
|
37
|
+
* "back to v2's content" without refetching either body.
|
|
38
|
+
*/
|
|
39
|
+
checksum?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* ISO 8601 (RFC 3339) creation timestamp. Versions are immutable, so
|
|
42
|
+
* there is deliberately no `updated_at`.
|
|
43
|
+
*/
|
|
44
|
+
created_at: string;
|
|
45
|
+
/**
|
|
46
|
+
* User who authored this version. Attribution only.
|
|
47
|
+
*/
|
|
48
|
+
created_by_user_id?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Version-row id (UUID v4 string).
|
|
51
|
+
*/
|
|
52
|
+
id: string;
|
|
53
|
+
/**
|
|
54
|
+
* Provenance for a revert: the `version_number` this version's body was
|
|
55
|
+
* copied from. `None` for an ordinary edit. Present only on versions
|
|
56
|
+
* produced by a restore, which is how the UI distinguishes "edited" from
|
|
57
|
+
* "reverted to v2" in the history list.
|
|
58
|
+
*/
|
|
59
|
+
restored_from?: number | null;
|
|
60
|
+
/**
|
|
61
|
+
* Monotonic version number within this command, starting at 1. Unique per
|
|
62
|
+
* `(agent_command_id, version_number)`; the DB constraint — not
|
|
63
|
+
* application code — is what rejects a duplicate under concurrent appends.
|
|
64
|
+
*/
|
|
65
|
+
version_number: number;
|
|
66
|
+
[k: string]: unknown;
|
|
67
|
+
}
|
|
@@ -34,6 +34,9 @@ export interface AgenticPhaseOutput {
|
|
|
34
34
|
* Reflection fixes (when reflection_mode is enabled).
|
|
35
35
|
*/
|
|
36
36
|
reflectionFixes: ReflectionFixOutput[];
|
|
37
|
+
/**
|
|
38
|
+
* Overall status of the agentic phase.
|
|
39
|
+
*/
|
|
37
40
|
status: AgenticStatus;
|
|
38
41
|
/**
|
|
39
42
|
* Human-readable summary of what was done.
|
|
@@ -19,11 +19,17 @@ import type { MissReason } from "./MissReason";
|
|
|
19
19
|
*/
|
|
20
20
|
export type AssertionOutcome =
|
|
21
21
|
| {
|
|
22
|
+
/**
|
|
23
|
+
* The element that satisfied the assertion.
|
|
24
|
+
*/
|
|
22
25
|
matched: MatchedElement;
|
|
23
26
|
status: "pass";
|
|
24
27
|
[k: string]: unknown;
|
|
25
28
|
}
|
|
26
29
|
| {
|
|
30
|
+
/**
|
|
31
|
+
* Diagnostic detail.
|
|
32
|
+
*/
|
|
27
33
|
miss: AssertionMiss;
|
|
28
34
|
status: "fail";
|
|
29
35
|
[k: string]: unknown;
|
|
@@ -28,6 +28,9 @@ export interface AssertionResult {
|
|
|
28
28
|
* Snapshot of `IrAssertion.description`.
|
|
29
29
|
*/
|
|
30
30
|
description: string;
|
|
31
|
+
/**
|
|
32
|
+
* Pass / fail discriminator + payload.
|
|
33
|
+
*/
|
|
31
34
|
outcome: AssertionOutcome;
|
|
32
35
|
/**
|
|
33
36
|
* Free-form severity string — `"critical"` / `"error"` / `"warning"`
|
|
@@ -13,6 +13,19 @@ export interface ComponentActionInfo {
|
|
|
13
13
|
* Longer description of what the action does.
|
|
14
14
|
*/
|
|
15
15
|
description?: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* Safety class of this action: `read`, `write` or `destructive`.
|
|
18
|
+
*
|
|
19
|
+
* **A safety annotation, not a hint.** An autonomous walk MUST NOT fire an
|
|
20
|
+
* action annotated `destructive`; that is the same exclusion the IR already
|
|
21
|
+
* applies to `destructive` transitions when generating auto-regressions.
|
|
22
|
+
* Author-declared, because only the app author knows that a particular
|
|
23
|
+
* `click` is a delete button.
|
|
24
|
+
*
|
|
25
|
+
* Absent means **unclassified, not safe** — an action nobody has judged
|
|
26
|
+
* must be treated as unknown rather than as `read`.
|
|
27
|
+
*/
|
|
28
|
+
effect?: ("read" | "write" | "destructive") | null;
|
|
16
29
|
/**
|
|
17
30
|
* Unique action identifier within the component.
|
|
18
31
|
*/
|
|
@@ -21,4 +34,24 @@ export interface ComponentActionInfo {
|
|
|
21
34
|
* Human-readable label.
|
|
22
35
|
*/
|
|
23
36
|
label?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Free-form declaration of the action's parameters, author-supplied on the
|
|
39
|
+
* SDK side as `ComponentAction.paramSchema` and surfaced verbatim on
|
|
40
|
+
* `/control/components`. Conventionally a small JSON Schema subset, but the
|
|
41
|
+
* SDK does not constrain the shape, so it is carried through untyped — the
|
|
42
|
+
* same treatment `ElementActionRequest::params` gets.
|
|
43
|
+
*/
|
|
44
|
+
paramSchema?: {
|
|
45
|
+
[k: string]: unknown;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Fully-resolved invocation path for this action:
|
|
49
|
+
* `/control/component/<componentId>/action/<actionId>`.
|
|
50
|
+
*
|
|
51
|
+
* **Server-annotated, not author-declared**: the SDK's
|
|
52
|
+
* `annotateComponentWithInvocationPaths` computes it when serving the
|
|
53
|
+
* component listing, so it is present on the wire but absent from anything
|
|
54
|
+
* an app author writes.
|
|
55
|
+
*/
|
|
56
|
+
path?: string | null;
|
|
24
57
|
}
|
|
@@ -12,6 +12,9 @@ import type { ConstraintSeverity } from "./ConstraintSeverity";
|
|
|
12
12
|
* A constraint definition.
|
|
13
13
|
*/
|
|
14
14
|
export interface Constraint {
|
|
15
|
+
/**
|
|
16
|
+
* What to check.
|
|
17
|
+
*/
|
|
15
18
|
check: ConstraintCheck;
|
|
16
19
|
/**
|
|
17
20
|
* Why this constraint exists (shown to the AI on violation).
|
|
@@ -29,5 +32,8 @@ export interface Constraint {
|
|
|
29
32
|
* Human-readable name.
|
|
30
33
|
*/
|
|
31
34
|
name: string;
|
|
35
|
+
/**
|
|
36
|
+
* How severe a violation is.
|
|
37
|
+
*/
|
|
32
38
|
severity: ConstraintSeverity;
|
|
33
39
|
}
|
|
@@ -18,13 +18,22 @@ export interface CoverageGap {
|
|
|
18
18
|
* Free-form diagnostic detail (e.g. the verifier's near-miss explanation).
|
|
19
19
|
*/
|
|
20
20
|
detail?: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* Provenance of the gapped node — always `Observed` or `Inferred`.
|
|
23
|
+
*/
|
|
21
24
|
nodeProvenance: SpecProvenance;
|
|
25
|
+
/**
|
|
26
|
+
* Why it is uncovered.
|
|
27
|
+
*/
|
|
22
28
|
reason: GapReason;
|
|
23
29
|
/**
|
|
24
30
|
* Dotted ref into the spec, e.g. `"entities.Invoice.fields.amount"` or
|
|
25
31
|
* `"operations.createInvoice"`.
|
|
26
32
|
*/
|
|
27
33
|
ref: string;
|
|
34
|
+
/**
|
|
35
|
+
* Which section the gapped node belongs to.
|
|
36
|
+
*/
|
|
28
37
|
section: SpecSection;
|
|
29
38
|
[k: string]: unknown;
|
|
30
39
|
}
|
|
@@ -50,6 +50,9 @@ export interface CreateScheduledTaskRequest {
|
|
|
50
50
|
* Display name.
|
|
51
51
|
*/
|
|
52
52
|
name: string;
|
|
53
|
+
/**
|
|
54
|
+
* Schedule configuration.
|
|
55
|
+
*/
|
|
53
56
|
schedule: ScheduleExpression;
|
|
54
57
|
/**
|
|
55
58
|
* Skip future runs once the task has succeeded.
|
|
@@ -59,5 +62,8 @@ export interface CreateScheduledTaskRequest {
|
|
|
59
62
|
* Free-form success criteria description.
|
|
60
63
|
*/
|
|
61
64
|
successCriteria?: string | null;
|
|
65
|
+
/**
|
|
66
|
+
* Task type and its per-type configuration.
|
|
67
|
+
*/
|
|
62
68
|
task: ScheduledTaskType;
|
|
63
69
|
}
|
|
@@ -14,6 +14,9 @@ import type { DiscoveryBoundingBox } from "./DiscoveryBoundingBox";
|
|
|
14
14
|
* optional pixel-level identification.
|
|
15
15
|
*/
|
|
16
16
|
export interface DiscoveredStateImage {
|
|
17
|
+
/**
|
|
18
|
+
* Bounding box within the screenshot.
|
|
19
|
+
*/
|
|
17
20
|
bbox: DiscoveryBoundingBox;
|
|
18
21
|
/**
|
|
19
22
|
* Confidence score for this image (0.0–1.0). Defaults to `1.0`.
|
|
@@ -16,6 +16,9 @@ import type { GUIElementChunk } from "./GUIElementChunk";
|
|
|
16
16
|
* Mirrors `rag.models.EmbeddedElement`.
|
|
17
17
|
*/
|
|
18
18
|
export interface EmbeddedElement {
|
|
19
|
+
/**
|
|
20
|
+
* The GUI element that was embedded.
|
|
21
|
+
*/
|
|
19
22
|
element: GUIElementChunk;
|
|
20
23
|
/**
|
|
21
24
|
* Model used for embedding.
|
|
@@ -13,6 +13,9 @@ import type { SpecProvenance } from "./SpecProvenance";
|
|
|
13
13
|
* A domain entity inferred from rendered data shapes.
|
|
14
14
|
*/
|
|
15
15
|
export interface Entity {
|
|
16
|
+
/**
|
|
17
|
+
* How this entity's existence was established.
|
|
18
|
+
*/
|
|
16
19
|
confidence: SpecProvenance;
|
|
17
20
|
/**
|
|
18
21
|
* Optional deduction strength ∈ [0,1]. Present only on `Inferred` nodes;
|
|
@@ -44,6 +44,9 @@ export interface ExecutionIssueDetail {
|
|
|
44
44
|
* Issue ID.
|
|
45
45
|
*/
|
|
46
46
|
id: string;
|
|
47
|
+
/**
|
|
48
|
+
* Category label for the issue.
|
|
49
|
+
*/
|
|
47
50
|
issueType: IssueType;
|
|
48
51
|
/**
|
|
49
52
|
* Opaque additional metadata.
|
|
@@ -71,12 +74,21 @@ export interface ExecutionIssueDetail {
|
|
|
71
74
|
* Full screenshot records associated with the issue.
|
|
72
75
|
*/
|
|
73
76
|
screenshots?: ExecutionScreenshotResponse[];
|
|
77
|
+
/**
|
|
78
|
+
* Severity.
|
|
79
|
+
*/
|
|
74
80
|
severity: IssueSeverity;
|
|
81
|
+
/**
|
|
82
|
+
* Source that detected the issue.
|
|
83
|
+
*/
|
|
75
84
|
source: IssueSource;
|
|
76
85
|
/**
|
|
77
86
|
* State ID where the issue was observed, if any.
|
|
78
87
|
*/
|
|
79
88
|
stateName?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
* Current lifecycle status.
|
|
91
|
+
*/
|
|
80
92
|
status: IssueStatus;
|
|
81
93
|
/**
|
|
82
94
|
* Short title.
|
|
@@ -16,6 +16,9 @@ export interface ExecutionIssueListResponse {
|
|
|
16
16
|
* Page of matching issues.
|
|
17
17
|
*/
|
|
18
18
|
issues: ExecutionIssueResponse[];
|
|
19
|
+
/**
|
|
20
|
+
* Pagination envelope.
|
|
21
|
+
*/
|
|
19
22
|
pagination: Pagination;
|
|
20
23
|
/**
|
|
21
24
|
* Summary keyed by severity or status. Shape is intentionally opaque.
|
|
@@ -25,7 +25,13 @@ export interface ExecutionRunComplete {
|
|
|
25
25
|
* Error message if the run failed.
|
|
26
26
|
*/
|
|
27
27
|
errorMessage?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* Aggregate execution statistics.
|
|
30
|
+
*/
|
|
28
31
|
stats: ExecutionStats;
|
|
32
|
+
/**
|
|
33
|
+
* Final lifecycle status.
|
|
34
|
+
*/
|
|
29
35
|
status: RunStatus;
|
|
30
36
|
/**
|
|
31
37
|
* Free-form run summary.
|
|
@@ -33,6 +33,12 @@ export interface ExecutionRunCompleteResponse {
|
|
|
33
33
|
* ISO 8601 timestamp when the run started.
|
|
34
34
|
*/
|
|
35
35
|
startedAt: string;
|
|
36
|
+
/**
|
|
37
|
+
* Aggregate execution statistics.
|
|
38
|
+
*/
|
|
36
39
|
stats: ExecutionStats;
|
|
40
|
+
/**
|
|
41
|
+
* Final lifecycle status.
|
|
42
|
+
*/
|
|
37
43
|
status: RunStatus;
|
|
38
44
|
}
|
|
@@ -31,7 +31,13 @@ export interface ExecutionRunCreate {
|
|
|
31
31
|
* Human-readable run name.
|
|
32
32
|
*/
|
|
33
33
|
runName: string;
|
|
34
|
+
/**
|
|
35
|
+
* Kind of run being created.
|
|
36
|
+
*/
|
|
34
37
|
runType: RunType;
|
|
38
|
+
/**
|
|
39
|
+
* Runner environment metadata.
|
|
40
|
+
*/
|
|
35
41
|
runnerMetadata: RunnerMetadata;
|
|
36
42
|
/**
|
|
37
43
|
* Workflow metadata, if the run executes a workflow.
|
|
@@ -57,13 +57,25 @@ export interface ExecutionRunDetail {
|
|
|
57
57
|
* Human-readable run name.
|
|
58
58
|
*/
|
|
59
59
|
runName: string;
|
|
60
|
+
/**
|
|
61
|
+
* Kind of run.
|
|
62
|
+
*/
|
|
60
63
|
runType: RunType;
|
|
64
|
+
/**
|
|
65
|
+
* Runner environment metadata.
|
|
66
|
+
*/
|
|
61
67
|
runnerMetadata: RunnerMetadata;
|
|
62
68
|
/**
|
|
63
69
|
* ISO 8601 timestamp when the run started.
|
|
64
70
|
*/
|
|
65
71
|
startedAt: string;
|
|
72
|
+
/**
|
|
73
|
+
* Aggregate execution statistics.
|
|
74
|
+
*/
|
|
66
75
|
stats: ExecutionStats;
|
|
76
|
+
/**
|
|
77
|
+
* Current lifecycle status.
|
|
78
|
+
*/
|
|
67
79
|
status: RunStatus;
|
|
68
80
|
/**
|
|
69
81
|
* ISO 8601 timestamp when the record was last updated.
|
|
@@ -32,10 +32,16 @@ export interface ExecutionRunResponse {
|
|
|
32
32
|
* Human-readable run name.
|
|
33
33
|
*/
|
|
34
34
|
runName: string;
|
|
35
|
+
/**
|
|
36
|
+
* Kind of run.
|
|
37
|
+
*/
|
|
35
38
|
runType: RunType;
|
|
36
39
|
/**
|
|
37
40
|
* ISO 8601 timestamp when the run started.
|
|
38
41
|
*/
|
|
39
42
|
startedAt: string;
|
|
43
|
+
/**
|
|
44
|
+
* Current lifecycle status.
|
|
45
|
+
*/
|
|
40
46
|
status: RunStatus;
|
|
41
47
|
}
|
|
@@ -18,7 +18,13 @@ import type { FindingUserInput } from "./FindingUserInput";
|
|
|
18
18
|
* observation.
|
|
19
19
|
*/
|
|
20
20
|
export interface FindingCreate {
|
|
21
|
+
/**
|
|
22
|
+
* Type of action for this finding.
|
|
23
|
+
*/
|
|
21
24
|
actionType: FindingActionType;
|
|
25
|
+
/**
|
|
26
|
+
* Category of the finding.
|
|
27
|
+
*/
|
|
22
28
|
category: FindingCategory;
|
|
23
29
|
/**
|
|
24
30
|
* Code context, if the finding relates to specific code.
|
|
@@ -32,6 +38,9 @@ export interface FindingCreate {
|
|
|
32
38
|
* Session number where the finding was detected.
|
|
33
39
|
*/
|
|
34
40
|
sessionNum: number;
|
|
41
|
+
/**
|
|
42
|
+
* Severity level of the finding.
|
|
43
|
+
*/
|
|
35
44
|
severity: FindingSeverity;
|
|
36
45
|
/**
|
|
37
46
|
* Hash used to deduplicate findings across sessions.
|
|
@@ -19,7 +19,13 @@ import type { FindingUserInput } from "./FindingUserInput";
|
|
|
19
19
|
* string (see crate-level wire-format note).
|
|
20
20
|
*/
|
|
21
21
|
export interface FindingDetail {
|
|
22
|
+
/**
|
|
23
|
+
* Type of action for this finding.
|
|
24
|
+
*/
|
|
22
25
|
actionType: FindingActionType;
|
|
26
|
+
/**
|
|
27
|
+
* Category of the finding.
|
|
28
|
+
*/
|
|
23
29
|
category: FindingCategory;
|
|
24
30
|
/**
|
|
25
31
|
* Code context, if the finding relates to specific code.
|
|
@@ -53,11 +59,17 @@ export interface FindingDetail {
|
|
|
53
59
|
* Session number where the finding was detected.
|
|
54
60
|
*/
|
|
55
61
|
sessionNum: number;
|
|
62
|
+
/**
|
|
63
|
+
* Severity level of the finding.
|
|
64
|
+
*/
|
|
56
65
|
severity: FindingSeverity;
|
|
57
66
|
/**
|
|
58
67
|
* Hash used to deduplicate findings across sessions.
|
|
59
68
|
*/
|
|
60
69
|
signatureHash?: string | null;
|
|
70
|
+
/**
|
|
71
|
+
* Current status of the finding.
|
|
72
|
+
*/
|
|
61
73
|
status: FindingStatus;
|
|
62
74
|
/**
|
|
63
75
|
* Parent task run ID.
|
|
@@ -66,6 +66,9 @@ export interface FunctionalSpec {
|
|
|
66
66
|
* Schema version. Currently always `"0"`. Additive-only until `"1"`.
|
|
67
67
|
*/
|
|
68
68
|
specVersion: string;
|
|
69
|
+
/**
|
|
70
|
+
* What was observed and when.
|
|
71
|
+
*/
|
|
69
72
|
target: SpecTarget;
|
|
70
73
|
/**
|
|
71
74
|
* Section (3a) UI STATES — a literal superset of the UI Bridge IR. These are the
|