@qawolf/api-contracts 0.140.0 → 0.142.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/v1/activity/wait.d.ts +8 -8
- package/dist/v1/activity/wait.d.ts.map +1 -1
- package/dist/v1/agent/get.d.ts +5 -5
- package/dist/v1/agent/get.d.ts.map +1 -1
- package/dist/v1/agent/send.d.ts +4 -4
- package/dist/v1/agent/send.d.ts.map +1 -1
- package/dist/v1/agent/status.d.ts +3 -3
- package/dist/v1/agent/status.d.ts.map +1 -1
- package/dist/v1/agent/wait.d.ts +1 -1
- package/dist/v1/attempt/get.d.ts +40 -38
- package/dist/v1/attempt/get.d.ts.map +1 -1
- package/dist/v1/attempt/get.js +4 -0
- package/dist/v1/attempt/get.js.map +1 -1
- package/dist/v1/build/create.d.ts +1 -1
- package/dist/v1/build/create.d.ts.map +1 -1
- package/dist/v1/build/delete.d.ts +1 -1
- package/dist/v1/build/delete.d.ts.map +1 -1
- package/dist/v1/build/get.d.ts +1 -1
- package/dist/v1/build/get.d.ts.map +1 -1
- package/dist/v1/build/index.d.ts +4 -4
- package/dist/v1/build/index.d.ts.map +1 -1
- package/dist/v1/build/list.d.ts +1 -1
- package/dist/v1/build/list.d.ts.map +1 -1
- package/dist/v1/build/requestDownload.d.ts.map +1 -1
- package/dist/v1/build/requestUpload.d.ts.map +1 -1
- package/dist/v1/build/resource.d.ts +1 -1
- package/dist/v1/build/resource.d.ts.map +1 -1
- package/dist/v1/codeHostIntegration/find.d.ts +1 -1
- package/dist/v1/codeHostIntegration/find.d.ts.map +1 -1
- package/dist/v1/codeHostIntegration/findForRepository.d.ts +1 -1
- package/dist/v1/codeHostIntegration/findForRepository.d.ts.map +1 -1
- package/dist/v1/codeHostIntegration/index.d.ts +3 -3
- package/dist/v1/codeHostIntegration/index.d.ts.map +1 -1
- package/dist/v1/codeHostIntegration/listRepositories.d.ts +1 -1
- package/dist/v1/codeHostIntegration/listRepositories.d.ts.map +1 -1
- package/dist/v1/codeHostIntegration/resource.d.ts +2 -2
- package/dist/v1/deployment/find.d.ts +4 -4
- package/dist/v1/deployment/find.d.ts.map +1 -1
- package/dist/v1/deployment/index.d.ts +21 -21
- package/dist/v1/deployment/index.d.ts.map +1 -1
- package/dist/v1/deployment/listTriggerEvaluations.d.ts +7 -7
- package/dist/v1/deployment/listTriggerEvaluations.d.ts.map +1 -1
- package/dist/v1/deployment/reportStatus.d.ts +10 -10
- package/dist/v1/deployment/reportStatus.d.ts.map +1 -1
- package/dist/v1/deployment/reportStatusChanges.d.ts +5 -5
- package/dist/v1/deployment/resource.d.ts +4 -4
- package/dist/v1/deployment/resource.d.ts.map +1 -1
- package/dist/v1/deployment/verdict.d.ts +15 -15
- package/dist/v1/deployment/verdictParts.d.ts +5 -5
- package/dist/v1/email/find.d.ts +1 -1
- package/dist/v1/email/find.d.ts.map +1 -1
- package/dist/v1/email/get.d.ts +16 -16
- package/dist/v1/email/get.d.ts.map +1 -1
- package/dist/v1/email/getAttachment.d.ts +1 -1
- package/dist/v1/email/getAttachment.d.ts.map +1 -1
- package/dist/v1/email/listAddresses.d.ts +1 -1
- package/dist/v1/email/listAddresses.d.ts.map +1 -1
- package/dist/v1/email/registerAddress.d.ts +1 -1
- package/dist/v1/email/registerAddress.d.ts.map +1 -1
- package/dist/v1/email/resource.d.ts +17 -17
- package/dist/v1/email/resource.d.ts.map +1 -1
- package/dist/v1/email/send.d.ts +1 -1
- package/dist/v1/email/send.d.ts.map +1 -1
- package/dist/v1/environment/create.d.ts +3 -3
- package/dist/v1/environment/create.d.ts.map +1 -1
- package/dist/v1/environment/deleteVariable.d.ts.map +1 -1
- package/dist/v1/environment/find.d.ts +4 -4
- package/dist/v1/environment/find.d.ts.map +1 -1
- package/dist/v1/environment/getVariable.d.ts.map +1 -1
- package/dist/v1/environment/index.d.ts +4 -4
- package/dist/v1/environment/index.d.ts.map +1 -1
- package/dist/v1/environment/promote.d.ts +14 -14
- package/dist/v1/environment/promote.d.ts.map +1 -1
- package/dist/v1/environment/resource.d.ts +3 -3
- package/dist/v1/environment/resource.d.ts.map +1 -1
- package/dist/v1/environment/terminate.d.ts +3 -3
- package/dist/v1/environment/terminate.d.ts.map +1 -1
- package/dist/v1/environment/update.d.ts +3 -3
- package/dist/v1/environment/update.d.ts.map +1 -1
- package/dist/v1/extensibleValue.d.ts.map +1 -1
- package/dist/v1/file/index.d.ts.map +1 -1
- package/dist/v1/file/path.d.ts.map +1 -1
- package/dist/v1/file/requestDownload.d.ts.map +1 -1
- package/dist/v1/file/requestUpload.d.ts.map +1 -1
- package/dist/v1/flow/addTag.d.ts +1 -1
- package/dist/v1/flow/addTag.d.ts.map +1 -1
- package/dist/v1/flow/getHistory.d.ts +6 -6
- package/dist/v1/flow/getHistory.d.ts.map +1 -1
- package/dist/v1/flow/index.d.ts +2 -2
- package/dist/v1/flow/index.d.ts.map +1 -1
- package/dist/v1/flow/readiness.d.ts +1 -1
- package/dist/v1/flow/removeTag.d.ts +1 -1
- package/dist/v1/flow/removeTag.d.ts.map +1 -1
- package/dist/v1/flow/skippedFlows.d.ts.map +1 -1
- package/dist/v1/flow/update.d.ts +3 -3
- package/dist/v1/flow/update.d.ts.map +1 -1
- package/dist/v1/ids.d.ts.map +1 -1
- package/dist/v1/index.d.ts +3839 -2657
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/investigation/finding.d.ts +3 -3
- package/dist/v1/investigation/finding.d.ts.map +1 -1
- package/dist/v1/investigation/get.d.ts +18 -8
- package/dist/v1/investigation/get.d.ts.map +1 -1
- package/dist/v1/investigation/get.js +12 -0
- package/dist/v1/investigation/get.js.map +1 -1
- package/dist/v1/investigation/index.d.ts +22 -12
- package/dist/v1/investigation/index.d.ts.map +1 -1
- package/dist/v1/investigation/question/answer.d.ts +1 -1
- package/dist/v1/investigation/question/answer.d.ts.map +1 -1
- package/dist/v1/investigation/question/find.d.ts +3 -3
- package/dist/v1/investigation/question/find.d.ts.map +1 -1
- package/dist/v1/investigation/question/index.d.ts +4 -4
- package/dist/v1/investigation/question/index.d.ts.map +1 -1
- package/dist/v1/issue/addFlows.d.ts +7 -7
- package/dist/v1/issue/addFlows.d.ts.map +1 -1
- package/dist/v1/issue/attachFiles.d.ts +7 -7
- package/dist/v1/issue/attachFiles.d.ts.map +1 -1
- package/dist/v1/issue/comment.d.ts +1 -1
- package/dist/v1/issue/comment.d.ts.map +1 -1
- package/dist/v1/issue/commentResource.d.ts +1 -1
- package/dist/v1/issue/commentResource.d.ts.map +1 -1
- package/dist/v1/issue/contracts.d.ts +199 -100
- package/dist/v1/issue/contracts.d.ts.map +1 -1
- package/dist/v1/issue/contracts.js +6 -0
- package/dist/v1/issue/contracts.js.map +1 -1
- package/dist/v1/issue/create.d.ts +28 -28
- package/dist/v1/issue/create.d.ts.map +1 -1
- package/dist/v1/issue/index.d.ts +32 -32
- package/dist/v1/issue/index.d.ts.map +1 -1
- package/dist/v1/issue/listActivity.d.ts +17 -17
- package/dist/v1/issue/listActivity.d.ts.map +1 -1
- package/dist/v1/issue/listComments.d.ts +1 -1
- package/dist/v1/issue/listComments.d.ts.map +1 -1
- package/dist/v1/issue/markFixReadyForReview.d.ts +33 -0
- package/dist/v1/issue/markFixReadyForReview.d.ts.map +1 -0
- package/dist/v1/issue/markFixReadyForReview.js +36 -0
- package/dist/v1/issue/markFixReadyForReview.js.map +1 -0
- package/dist/v1/issue/recentFailures.d.ts.map +1 -1
- package/dist/v1/issue/removeFlows.d.ts +7 -7
- package/dist/v1/issue/removeFlows.d.ts.map +1 -1
- package/dist/v1/issue/requestFix.d.ts +42 -0
- package/dist/v1/issue/requestFix.d.ts.map +1 -0
- package/dist/v1/issue/requestFix.js +52 -0
- package/dist/v1/issue/requestFix.js.map +1 -0
- package/dist/v1/issue/retryFix.d.ts +40 -0
- package/dist/v1/issue/retryFix.d.ts.map +1 -0
- package/dist/v1/issue/retryFix.js +41 -0
- package/dist/v1/issue/retryFix.js.map +1 -0
- package/dist/v1/issue/update.d.ts +12 -12
- package/dist/v1/issue/update.d.ts.map +1 -1
- package/dist/v1/legacyTrigger/find.d.ts +22 -22
- package/dist/v1/legacyTrigger/find.d.ts.map +1 -1
- package/dist/v1/legacyTrigger/index.d.ts +22 -22
- package/dist/v1/legacyTrigger/index.d.ts.map +1 -1
- package/dist/v1/legacyTrigger/lifecycle.d.ts.map +1 -1
- package/dist/v1/legacyTrigger/resource.d.ts +21 -21
- package/dist/v1/legacyTrigger/resource.d.ts.map +1 -1
- package/dist/v1/mcpServer/connect.d.ts.map +1 -1
- package/dist/v1/narratedRecording/get.d.ts +1 -1
- package/dist/v1/narratedRecording/get.d.ts.map +1 -1
- package/dist/v1/pagination.d.ts.map +1 -1
- package/dist/v1/promotion/answerQuestions.d.ts +14 -14
- package/dist/v1/promotion/answerQuestions.d.ts.map +1 -1
- package/dist/v1/promotion/askQuestion.d.ts +4 -4
- package/dist/v1/promotion/askQuestion.d.ts.map +1 -1
- package/dist/v1/promotion/decision.d.ts +7 -7
- package/dist/v1/promotion/decision.d.ts.map +1 -1
- package/dist/v1/promotion/find.d.ts +18 -18
- package/dist/v1/promotion/find.d.ts.map +1 -1
- package/dist/v1/promotion/get.d.ts +16 -16
- package/dist/v1/promotion/get.d.ts.map +1 -1
- package/dist/v1/promotion/index.d.ts +85 -85
- package/dist/v1/promotion/index.d.ts.map +1 -1
- package/dist/v1/promotion/needsPerson.d.ts +8 -8
- package/dist/v1/promotion/question.d.ts +4 -4
- package/dist/v1/promotion/question.d.ts.map +1 -1
- package/dist/v1/promotion/reportDecision.d.ts +19 -19
- package/dist/v1/promotion/reportDecision.d.ts.map +1 -1
- package/dist/v1/promotion/resolve.d.ts +14 -14
- package/dist/v1/promotion/resolve.d.ts.map +1 -1
- package/dist/v1/promotion/resource.d.ts +18 -18
- package/dist/v1/promotion/resource.d.ts.map +1 -1
- package/dist/v1/promotion/validationRun.d.ts +2 -2
- package/dist/v1/promotion/validationRun.d.ts.map +1 -1
- package/dist/v1/resource.js.map +1 -1
- package/dist/v1/run/acceptScreenshotBaseline.d.ts.map +1 -1
- package/dist/v1/run/diagnose.d.ts +7 -7
- package/dist/v1/run/diagnose.d.ts.map +1 -1
- package/dist/v1/run/find.d.ts +7 -7
- package/dist/v1/run/find.d.ts.map +1 -1
- package/dist/v1/run/flowAttempts.d.ts +10 -7
- package/dist/v1/run/flowAttempts.d.ts.map +1 -1
- package/dist/v1/run/flowAttempts.js +4 -0
- package/dist/v1/run/flowAttempts.js.map +1 -1
- package/dist/v1/run/flowFailure.d.ts +1 -1
- package/dist/v1/run/flowFailure.d.ts.map +1 -1
- package/dist/v1/run/flowSelection.d.ts.map +1 -1
- package/dist/v1/run/get.d.ts +47 -41
- package/dist/v1/run/get.d.ts.map +1 -1
- package/dist/v1/run/index.d.ts +2 -2
- package/dist/v1/run/index.d.ts.map +1 -1
- package/dist/v1/run/listScreenshotComparisons.d.ts +3 -3
- package/dist/v1/run/listScreenshotComparisons.d.ts.map +1 -1
- package/dist/v1/run/optOutOfInvestigation.d.ts +1 -1
- package/dist/v1/run/optOutOfInvestigation.d.ts.map +1 -1
- package/dist/v1/run/reattempt.d.ts +1 -1
- package/dist/v1/run/reattempt.d.ts.map +1 -1
- package/dist/v1/run/restoreScreenshotBaseline.d.ts.map +1 -1
- package/dist/v1/run/stop.d.ts +1 -1
- package/dist/v1/run/stop.d.ts.map +1 -1
- package/dist/v1/run/summary.d.ts +2 -2
- package/dist/v1/run/summary.d.ts.map +1 -1
- package/dist/v1/runEventsWebhook/index.d.ts +20 -20
- package/dist/v1/runner/actionSequence.d.ts.map +1 -1
- package/dist/v1/runner/browserAction.d.ts +1 -1
- package/dist/v1/runner/catalog.d.ts +233 -233
- package/dist/v1/runner/catalog.d.ts.map +1 -1
- package/dist/v1/runner/evaluateSnippet.d.ts +2 -2
- package/dist/v1/runner/evaluateSnippet.d.ts.map +1 -1
- package/dist/v1/runner/files.d.ts.map +1 -1
- package/dist/v1/runner/get.d.ts.map +1 -1
- package/dist/v1/runner/highlightSelector.d.ts +3 -3
- package/dist/v1/runner/highlightSelector.d.ts.map +1 -1
- package/dist/v1/runner/identity.d.ts +6 -6
- package/dist/v1/runner/importPackage.d.ts +1 -1
- package/dist/v1/runner/importPackage.d.ts.map +1 -1
- package/dist/v1/runner/index.d.ts +6 -6
- package/dist/v1/runner/index.d.ts.map +1 -1
- package/dist/v1/runner/inspect.d.ts +1 -1
- package/dist/v1/runner/inspect.d.ts.map +1 -1
- package/dist/v1/runner/inspectMobile.d.ts +45 -45
- package/dist/v1/runner/inspectMobile.d.ts.map +1 -1
- package/dist/v1/runner/inspectMobileShapes.d.ts +5 -5
- package/dist/v1/runner/journal.d.ts.map +1 -1
- package/dist/v1/runner/list.d.ts +3 -3
- package/dist/v1/runner/list.d.ts.map +1 -1
- package/dist/v1/runner/outcome.d.ts +1 -1
- package/dist/v1/runner/performAction.d.ts +4 -4
- package/dist/v1/runner/performAction.d.ts.map +1 -1
- package/dist/v1/runner/performActions.d.ts +14 -14
- package/dist/v1/runner/performActions.d.ts.map +1 -1
- package/dist/v1/runner/performActionsSteps.d.ts +8 -8
- package/dist/v1/runner/promoteSnapshot.d.ts +1 -1
- package/dist/v1/runner/promoteSnapshot.d.ts.map +1 -1
- package/dist/v1/runner/readJournal.d.ts.map +1 -1
- package/dist/v1/runner/recording.d.ts +26 -26
- package/dist/v1/runner/recording.d.ts.map +1 -1
- package/dist/v1/runner/runFlow.d.ts +7 -7
- package/dist/v1/runner/runFlow.d.ts.map +1 -1
- package/dist/v1/runner/runnerAction.d.ts +1 -1
- package/dist/v1/runner/screen.d.ts.map +1 -1
- package/dist/v1/runner/stopRun.d.ts.map +1 -1
- package/dist/v1/runner/takeScreenshot.d.ts +1 -1
- package/dist/v1/runner/takeScreenshot.d.ts.map +1 -1
- package/dist/v1/skill/index.d.ts.map +1 -1
- package/dist/v1/suggestion/decide.d.ts +9 -9
- package/dist/v1/suggestion/decide.d.ts.map +1 -1
- package/dist/v1/suggestion/find.d.ts +8 -8
- package/dist/v1/suggestion/find.d.ts.map +1 -1
- package/dist/v1/suggestion/get.d.ts +7 -7
- package/dist/v1/suggestion/get.d.ts.map +1 -1
- package/dist/v1/suggestion/index.d.ts +24 -24
- package/dist/v1/suggestion/index.d.ts.map +1 -1
- package/dist/v1/suggestion/resource.d.ts +9 -9
- package/dist/v1/suggestion/resource.d.ts.map +1 -1
- package/dist/v1/tag/contracts.d.ts +2 -2
- package/dist/v1/tag/contracts.d.ts.map +1 -1
- package/dist/v1/tag/index.d.ts +2 -2
- package/dist/v1/tag/index.d.ts.map +1 -1
- package/dist/v1/tag/list.d.ts +1 -1
- package/dist/v1/tag/list.d.ts.map +1 -1
- package/dist/v1/trigger/configuration.d.ts +44 -35
- package/dist/v1/trigger/configuration.d.ts.map +1 -1
- package/dist/v1/trigger/configuration.js +12 -6
- package/dist/v1/trigger/configuration.js.map +1 -1
- package/dist/v1/trigger/configurationRules.d.ts +4 -1
- package/dist/v1/trigger/configurationRules.d.ts.map +1 -1
- package/dist/v1/trigger/configurationRules.js +44 -3
- package/dist/v1/trigger/configurationRules.js.map +1 -1
- package/dist/v1/trigger/create.d.ts +121 -38
- package/dist/v1/trigger/create.d.ts.map +1 -1
- package/dist/v1/trigger/create.js +16 -8
- package/dist/v1/trigger/create.js.map +1 -1
- package/dist/v1/trigger/deploymentFields.d.ts +4 -6
- package/dist/v1/trigger/deploymentFields.d.ts.map +1 -1
- package/dist/v1/trigger/deploymentFields.js +3 -3
- package/dist/v1/trigger/deploymentFields.js.map +1 -1
- package/dist/v1/trigger/describedFields.d.ts +8 -0
- package/dist/v1/trigger/describedFields.d.ts.map +1 -0
- package/dist/v1/trigger/describedFields.js +11 -0
- package/dist/v1/trigger/describedFields.js.map +1 -0
- package/dist/v1/trigger/find.d.ts +96 -19
- package/dist/v1/trigger/find.d.ts.map +1 -1
- package/dist/v1/trigger/get.d.ts +96 -19
- package/dist/v1/trigger/get.d.ts.map +1 -1
- package/dist/v1/trigger/hourlyWindowRules.d.ts.map +1 -1
- package/dist/v1/trigger/index.d.ts +690 -216
- package/dist/v1/trigger/index.d.ts.map +1 -1
- package/dist/v1/trigger/lifecycle.d.ts +192 -38
- package/dist/v1/trigger/lifecycle.d.ts.map +1 -1
- package/dist/v1/trigger/resource.d.ts +96 -19
- package/dist/v1/trigger/resource.d.ts.map +1 -1
- package/dist/v1/trigger/resource.js +30 -16
- package/dist/v1/trigger/resource.js.map +1 -1
- package/dist/v1/trigger/scheduleFieldRules.d.ts.map +1 -1
- package/dist/v1/trigger/scheduleRepeatFields.d.ts.map +1 -1
- package/dist/v1/trigger/scheduleRepeatRules.d.ts.map +1 -1
- package/dist/v1/trigger/update.d.ts +121 -38
- package/dist/v1/trigger/update.d.ts.map +1 -1
- package/dist/v1/trigger/update.js +15 -9
- package/dist/v1/trigger/update.js.map +1 -1
- package/dist/v1/usage/breakdown.d.ts +5 -5
- package/dist/v1/usage/breakdown.d.ts.map +1 -1
- package/dist/v1/usage/index.d.ts +5 -5
- package/dist/v1/usage/index.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -4,151 +4,6 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
4
4
|
flow: FlowId;
|
|
5
5
|
workspace: WorkspaceId;
|
|
6
6
|
}) => {
|
|
7
|
-
runFlow: {
|
|
8
|
-
readonly annotationJustifications: {
|
|
9
|
-
readonly destructiveHint: "Test code can overwrite or delete application data, and uncertain acceptance must be checked before resubmission.";
|
|
10
|
-
readonly openWorldHint: "Executed tests can submit forms and change the application under test or its connected services.";
|
|
11
|
-
readonly readOnlyHint: "Submits test files for full-flow or selected-line execution on an interactive runner.";
|
|
12
|
-
};
|
|
13
|
-
readonly annotations: {
|
|
14
|
-
readonly destructiveHint: true;
|
|
15
|
-
readonly openWorldHint: true;
|
|
16
|
-
readonly readOnlyHint: false;
|
|
17
|
-
};
|
|
18
|
-
readonly description: "Run a flow on an interactive runner. When `selection` is given the lines run against the browser as it stands, so nothing is re-navigated and nothing is signed in again; without it the whole entry point runs from a fresh browser. A runner with no live browser starts one before a selection and says so with `bootstrappedRunner`, which means those lines ran against a fresh page rather than the one an earlier run left. A selection produces no `runStarted` event, so follow it by its run id on `run-status` like any other run. Send `unchangedFiles` to ship only what changed since an earlier run on this runner; a `needs-full-sync` failure names the paths it does not hold, and the way to recover is the same run again with every file in `files`. Answers as soon as the run is accepted, with the id to follow it by — nothing waits for the run to finish. Which browser or device the run needs is read from the flow file's own execution target, so it is not supplied here; when it does not match what the runner is, the call fails with `runner-target-mismatch` rather than failing partway through the run. `runner-unreachable` means the answer did not arrive, which is NOT the same as the run not having started: the runner may have accepted it and been too slow to say so, and resubmitting would start a second run that is billed and journalled alongside the first. Read the runner's `run-status` journal stream before resubmitting, and use the newest run id there if one appeared.";
|
|
19
|
-
readonly input: import("zod").ZodObject<{
|
|
20
|
-
builds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
21
|
-
entryPointPath: import("zod").ZodString;
|
|
22
|
-
env: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
23
|
-
environmentId: import("zod").ZodOptional<PublicIdSchema>;
|
|
24
|
-
files: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
25
|
-
flowId: import("zod").ZodOptional<FlowId>;
|
|
26
|
-
id: import("zod").ZodString;
|
|
27
|
-
selection: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
28
|
-
endLine: import("zod").ZodInt;
|
|
29
|
-
path: import("zod").ZodString;
|
|
30
|
-
startLine: import("zod").ZodInt;
|
|
31
|
-
}, import("zod/v4/core").$strip>>;
|
|
32
|
-
unchangedFiles: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
33
|
-
workspaceId: import("zod").ZodOptional<WorkspaceId>;
|
|
34
|
-
}, import("zod/v4/core").$strip>;
|
|
35
|
-
readonly kind: "write";
|
|
36
|
-
readonly name: "runner.runFlow";
|
|
37
|
-
readonly output: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
38
|
-
bootstrappedRunner: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
39
|
-
outcome: import("zod").ZodLiteral<"success">;
|
|
40
|
-
runId: import("zod").ZodString;
|
|
41
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
42
|
-
failureReason: import("zod").ZodLiteral<"runner-target-mismatch">;
|
|
43
|
-
outcome: import("zod").ZodLiteral<"failure">;
|
|
44
|
-
requiredRunnerName: import("zod").ZodEnum<{
|
|
45
|
-
basic: "basic";
|
|
46
|
-
playwright: "playwright";
|
|
47
|
-
android: "android";
|
|
48
|
-
ios: "ios";
|
|
49
|
-
windows: "windows";
|
|
50
|
-
mac: "mac";
|
|
51
|
-
}>;
|
|
52
|
-
runnerName: import("zod").ZodEnum<{
|
|
53
|
-
basic: "basic";
|
|
54
|
-
playwright: "playwright";
|
|
55
|
-
android: "android";
|
|
56
|
-
ios: "ios";
|
|
57
|
-
windows: "windows";
|
|
58
|
-
mac: "mac";
|
|
59
|
-
}>;
|
|
60
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
61
|
-
failureReason: import("zod").ZodLiteral<"needs-full-sync">;
|
|
62
|
-
missingPaths: import("zod").ZodArray<import("zod").ZodString>;
|
|
63
|
-
outcome: import("zod").ZodLiteral<"failure">;
|
|
64
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
65
|
-
failureReason: import("zod").ZodLiteral<"runner-unreachable">;
|
|
66
|
-
outcome: import("zod").ZodLiteral<"failure">;
|
|
67
|
-
}, import("zod/v4/core").$strip>], "failureReason">], "outcome">;
|
|
68
|
-
};
|
|
69
|
-
stopRun: {
|
|
70
|
-
readonly annotationJustifications: {
|
|
71
|
-
readonly destructiveHint: "Stops unfinished work where it is, while an already-idle runner is left idle.";
|
|
72
|
-
readonly openWorldHint: "Changes private execution state without itself posting external messages.";
|
|
73
|
-
readonly readOnlyHint: "Interrupts current execution while leaving the runner available.";
|
|
74
|
-
};
|
|
75
|
-
readonly annotations: {
|
|
76
|
-
readonly destructiveHint: true;
|
|
77
|
-
readonly openWorldHint: false;
|
|
78
|
-
readonly readOnlyHint: false;
|
|
79
|
-
};
|
|
80
|
-
readonly description: "Stop what a runner is currently executing, leaving the runner up and its browser on whatever page the run reached. Succeeds whether or not anything was running, and `wasRunning` says which. This is the counterpart of `runner.terminate`, which ends the runner itself. The run stops where it is, so the journal's `run-status` settles it as stopped rather than passed or failed. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. The stop may still have landed, but stopping a runner that is already idle does nothing, so retrying is safe.";
|
|
81
|
-
readonly input: import("zod").ZodObject<{
|
|
82
|
-
id: import("zod").ZodString;
|
|
83
|
-
workspaceId: import("zod").ZodOptional<WorkspaceId>;
|
|
84
|
-
}, import("zod/v4/core").$strip>;
|
|
85
|
-
readonly kind: "write";
|
|
86
|
-
readonly name: "runner.stopRun";
|
|
87
|
-
readonly output: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
88
|
-
outcome: import("zod").ZodLiteral<"success">;
|
|
89
|
-
wasRunning: import("zod").ZodBoolean;
|
|
90
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
91
|
-
failureReason: import("zod").ZodEnum<{
|
|
92
|
-
"runner-unreachable": "runner-unreachable";
|
|
93
|
-
}>;
|
|
94
|
-
outcome: import("zod").ZodLiteral<"failure">;
|
|
95
|
-
}, import("zod/v4/core").$strip>], "outcome">;
|
|
96
|
-
};
|
|
97
|
-
takeScreenshot: {
|
|
98
|
-
readonly annotationJustifications: {
|
|
99
|
-
readonly destructiveHint: "Does not change application data or stop execution, although the activity refresh can extend billed runtime.";
|
|
100
|
-
readonly openWorldHint: "Reads the private runner display without submitting an external application action.";
|
|
101
|
-
readonly readOnlyHint: "Captures the runner screen and refreshes activity, which can cancel an inactivity shutdown.";
|
|
102
|
-
};
|
|
103
|
-
readonly annotations: {
|
|
104
|
-
readonly destructiveHint: false;
|
|
105
|
-
readonly openWorldHint: false;
|
|
106
|
-
readonly readOnlyHint: false;
|
|
107
|
-
};
|
|
108
|
-
readonly description: "Take one screenshot of an interactive runner's screen. This refreshes the inactivity timer and can extend the runner's billed lifetime. On a runner with a browser the image is the whole virtual desktop, browser window and all. On a mobile runner it is the device's own screen, and on Windows the VM's whole desktop, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. `screen-needs-a-run` if the runner's virtual desktop has never started. Waiting will not change this and retrying is pointless — call `runner.runFlow` with a flow that opens a browser, then ask for the screen again. On a Windows runner any flow run claims the VM and brings up its screen. On a runner image with a browser that has never run anything, any `runner.performAction` also starts the browser itself. Evaluating a snippet does not start the desktop. `screen-not-ready` if the runner has a screen that cannot serve this instant. Retry in a second or two: the desktop restarts when a run changes the display size, and it serves one see-or-act request at a time, so a screenshot or action already in flight is the usual reason. Do not submit a run to clear this — a run may restart the display and discard what is on it. On a mobile or Windows runner, `screen-not-ready` can also mean its Appium session did not answer in time; if it persists after 3 tries, terminate the runner and launch it again with the same id and runnerName. `runner-has-no-screen` if this runner has no browser desktop to see or drive, and retrying will never help. Launch a `playwright` runner. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
|
|
109
|
-
readonly input: import("zod").ZodObject<{
|
|
110
|
-
id: import("zod").ZodString;
|
|
111
|
-
workspaceId: import("zod").ZodOptional<WorkspaceId>;
|
|
112
|
-
}, import("zod/v4/core").$strip>;
|
|
113
|
-
readonly kind: "read";
|
|
114
|
-
readonly name: "runner.takeScreenshot";
|
|
115
|
-
readonly output: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
116
|
-
imageJpegBase64: import("zod").ZodString;
|
|
117
|
-
outcome: import("zod").ZodLiteral<"success">;
|
|
118
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
119
|
-
failureReason: import("zod").ZodEnum<{
|
|
120
|
-
"runner-unreachable": "runner-unreachable";
|
|
121
|
-
"screen-needs-a-run": "screen-needs-a-run";
|
|
122
|
-
"screen-not-ready": "screen-not-ready";
|
|
123
|
-
"runner-has-no-screen": "runner-has-no-screen";
|
|
124
|
-
}>;
|
|
125
|
-
outcome: import("zod").ZodLiteral<"failure">;
|
|
126
|
-
}, import("zod/v4/core").$strip>], "outcome">;
|
|
127
|
-
};
|
|
128
|
-
terminate: {
|
|
129
|
-
readonly annotationJustifications: {
|
|
130
|
-
readonly destructiveHint: "Terminates running work and discards the live session, while an absent runner is left absent.";
|
|
131
|
-
readonly openWorldHint: "Stops a private QA Wolf runner without itself publishing to third-party services.";
|
|
132
|
-
readonly readOnlyHint: "Ends a selected interactive runner and the resources hosting it.";
|
|
133
|
-
};
|
|
134
|
-
readonly annotations: {
|
|
135
|
-
readonly destructiveHint: true;
|
|
136
|
-
readonly openWorldHint: false;
|
|
137
|
-
readonly readOnlyHint: false;
|
|
138
|
-
};
|
|
139
|
-
readonly description: "End an interactive runner on the caller's team, and the pod it runs on with it. Terminating a runner that is not running succeeds and reports `wasRunning: false`. This ends the runner: use `runner.stopRun` to stop what a runner is currently executing while leaving the runner up.";
|
|
140
|
-
readonly input: import("zod").ZodObject<{
|
|
141
|
-
id: import("zod").ZodString;
|
|
142
|
-
workspaceId: import("zod").ZodOptional<WorkspaceId>;
|
|
143
|
-
}, import("zod/v4/core").$strip>;
|
|
144
|
-
readonly kind: "write";
|
|
145
|
-
readonly name: "runner.terminate";
|
|
146
|
-
readonly output: import("zod").ZodObject<{
|
|
147
|
-
id: import("zod").ZodString;
|
|
148
|
-
outcome: import("zod").ZodLiteral<"success">;
|
|
149
|
-
wasRunning: import("zod").ZodBoolean;
|
|
150
|
-
}, import("zod/v4/core").$strip>;
|
|
151
|
-
};
|
|
152
7
|
record: {
|
|
153
8
|
readonly annotationJustifications: {
|
|
154
9
|
readonly destructiveHint: "Starts or stops a video recording without changing the application under test.";
|
|
@@ -186,8 +41,8 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
186
41
|
endedAt: import("zod").ZodISODateTime;
|
|
187
42
|
id: import("zod").ZodUUID;
|
|
188
43
|
mode: import("zod").ZodEnum<{
|
|
189
|
-
manual: "manual";
|
|
190
44
|
automatic: "automatic";
|
|
45
|
+
manual: "manual";
|
|
191
46
|
}>;
|
|
192
47
|
runIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
193
48
|
runnerId: import("zod").ZodString;
|
|
@@ -203,26 +58,26 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
203
58
|
active: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
204
59
|
id: import("zod").ZodUUID;
|
|
205
60
|
mode: import("zod").ZodEnum<{
|
|
206
|
-
manual: "manual";
|
|
207
61
|
automatic: "automatic";
|
|
62
|
+
manual: "manual";
|
|
208
63
|
}>;
|
|
209
64
|
startedAt: import("zod").ZodISODateTime;
|
|
210
65
|
}, import("zod/v4/core").$strip>>;
|
|
211
66
|
auto: import("zod").ZodEnum<{
|
|
212
67
|
default: "default";
|
|
213
|
-
on: "on";
|
|
214
68
|
off: "off";
|
|
69
|
+
on: "on";
|
|
215
70
|
}>;
|
|
216
71
|
}, import("zod/v4/core").$strip>;
|
|
217
72
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
218
73
|
failureReason: import("zod").ZodEnum<{
|
|
74
|
+
"recording-failed": "recording-failed";
|
|
75
|
+
"recording-id-used": "recording-id-used";
|
|
76
|
+
"recording-in-progress": "recording-in-progress";
|
|
77
|
+
"recording-not-found": "recording-not-found";
|
|
219
78
|
"runner-unreachable": "runner-unreachable";
|
|
220
79
|
"screen-not-ready": "screen-not-ready";
|
|
221
80
|
unsupported: "unsupported";
|
|
222
|
-
"recording-in-progress": "recording-in-progress";
|
|
223
|
-
"recording-not-found": "recording-not-found";
|
|
224
|
-
"recording-id-used": "recording-id-used";
|
|
225
|
-
"recording-failed": "recording-failed";
|
|
226
81
|
}>;
|
|
227
82
|
outcome: import("zod").ZodLiteral<"failure">;
|
|
228
83
|
}, import("zod/v4/core").$strip>], "outcome">;
|
|
@@ -255,8 +110,8 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
255
110
|
endedAt: import("zod").ZodISODateTime;
|
|
256
111
|
id: import("zod").ZodUUID;
|
|
257
112
|
mode: import("zod").ZodEnum<{
|
|
258
|
-
manual: "manual";
|
|
259
113
|
automatic: "automatic";
|
|
114
|
+
manual: "manual";
|
|
260
115
|
}>;
|
|
261
116
|
runIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
262
117
|
runnerId: import("zod").ZodString;
|
|
@@ -283,7 +138,7 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
283
138
|
readonly openWorldHint: true;
|
|
284
139
|
readonly readOnlyHint: false;
|
|
285
140
|
};
|
|
286
|
-
readonly description: "Evaluate a snippet against whatever the runner's browser is showing right now. Answers whether the snippet ran, and its error if it threw
|
|
141
|
+
readonly description: "Evaluate a snippet against whatever the runner's browser is showing right now. Answers whether the snippet ran, and its error if it threw \u2014 not the value it evaluated to, so read anything you want back out of the runner's journal (a snippet's `console.log` lands in the `console` stream). A snippet starts no run and leaves no run-scoped journal entries of its own. `runner-cannot-evaluate-snippets` on a runner with nothing attached to serve one \u2014 which will never clear, so check that the runner you launched is one that runs a browser or app before retrying. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Neither is proof the snippet did not run: a snippet that outlives the answer window is still executing when you read this, so do not blindly resubmit one that mutates what the page is looking at.";
|
|
287
142
|
readonly input: import("zod").ZodObject<{
|
|
288
143
|
code: import("zod").ZodString;
|
|
289
144
|
filePath: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -298,8 +153,8 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
298
153
|
outcome: import("zod").ZodLiteral<"success">;
|
|
299
154
|
result: import("zod").ZodEnum<{
|
|
300
155
|
error: "error";
|
|
301
|
-
success: "success";
|
|
302
156
|
stopped: "stopped";
|
|
157
|
+
success: "success";
|
|
303
158
|
}>;
|
|
304
159
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
305
160
|
failureReason: import("zod").ZodEnum<{
|
|
@@ -349,7 +204,7 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
349
204
|
readonly openWorldHint: false;
|
|
350
205
|
readonly readOnlyHint: false;
|
|
351
206
|
};
|
|
352
|
-
readonly description: "Highlight the elements a selector matches on an interactive runner's live page, and answer how many it matched. The highlight stays until it is replaced or cleared, so it is visible in the next `runner.takeScreenshot`
|
|
207
|
+
readonly description: "Highlight the elements a selector matches on an interactive runner's live page, and answer how many it matched. The highlight stays until it is replaced or cleared, so it is visible in the next `runner.takeScreenshot` \u2014 which is the point, since a caller cannot see the runner's screen otherwise. Send an empty selector to clear, which answers `cleared`. `status` tells a selector that matched nothing (`empty`) from one the page could not parse (`invalid`), so a caller can tell a bad locator from a locator pointing at nothing. `no-answer` if the page did not answer in time: the highlight runs inside the page, so a page that is gone or mid-navigation does not answer slowly, it does not answer at all. `runner-cannot-highlight-selectors` on a runner with no browser to draw on. `runner-unreachable` if the runner could not be reached: it may still be starting, or it may have terminated after inactivity.";
|
|
353
208
|
readonly input: import("zod").ZodObject<{
|
|
354
209
|
id: import("zod").ZodString;
|
|
355
210
|
selector: import("zod").ZodString;
|
|
@@ -361,16 +216,16 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
361
216
|
matchCount: import("zod").ZodNumber;
|
|
362
217
|
outcome: import("zod").ZodLiteral<"success">;
|
|
363
218
|
selector: import("zod").ZodString;
|
|
364
|
-
status: import("zod").ZodLiteral<"
|
|
219
|
+
status: import("zod").ZodLiteral<"empty" | "invalid" | "valid">;
|
|
365
220
|
targetPage: import("zod").ZodOptional<import("zod").ZodString>;
|
|
366
221
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
367
222
|
outcome: import("zod").ZodLiteral<"cleared">;
|
|
368
223
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
369
224
|
errorMessage: import("zod").ZodOptional<import("zod").ZodString>;
|
|
370
225
|
failureReason: import("zod").ZodEnum<{
|
|
371
|
-
"runner-unreachable": "runner-unreachable";
|
|
372
226
|
"no-answer": "no-answer";
|
|
373
227
|
"runner-cannot-highlight-selectors": "runner-cannot-highlight-selectors";
|
|
228
|
+
"runner-unreachable": "runner-unreachable";
|
|
374
229
|
}>;
|
|
375
230
|
outcome: import("zod").ZodLiteral<"failure">;
|
|
376
231
|
}, import("zod/v4/core").$strip>], "outcome">;
|
|
@@ -401,8 +256,8 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
401
256
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
402
257
|
errorMessage: import("zod").ZodOptional<import("zod").ZodString>;
|
|
403
258
|
failureReason: import("zod").ZodEnum<{
|
|
404
|
-
"runner-unreachable": "runner-unreachable";
|
|
405
259
|
"install-failed": "install-failed";
|
|
260
|
+
"runner-unreachable": "runner-unreachable";
|
|
406
261
|
}>;
|
|
407
262
|
outcome: import("zod").ZodLiteral<"failure">;
|
|
408
263
|
}, import("zod/v4/core").$strip>], "outcome">;
|
|
@@ -441,9 +296,9 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
441
296
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
442
297
|
errorMessage: import("zod").ZodOptional<import("zod").ZodString>;
|
|
443
298
|
failureReason: import("zod").ZodEnum<{
|
|
444
|
-
"runner-unreachable": "runner-unreachable";
|
|
445
299
|
"nothing-to-inspect": "nothing-to-inspect";
|
|
446
300
|
"runner-is-not-a-browser": "runner-is-not-a-browser";
|
|
301
|
+
"runner-unreachable": "runner-unreachable";
|
|
447
302
|
}>;
|
|
448
303
|
outcome: import("zod").ZodLiteral<"failure">;
|
|
449
304
|
}, import("zod/v4/core").$strip>], "outcome">;
|
|
@@ -521,15 +376,24 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
521
376
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
522
377
|
context: import("zod").ZodString;
|
|
523
378
|
orientation: import("zod").ZodEnum<{
|
|
524
|
-
PORTRAIT: "PORTRAIT";
|
|
525
379
|
LANDSCAPE: "LANDSCAPE";
|
|
380
|
+
PORTRAIT: "PORTRAIT";
|
|
526
381
|
}>;
|
|
527
382
|
outcome: import("zod").ZodLiteral<"success">;
|
|
528
383
|
pageSource: import("zod").ZodType<{
|
|
384
|
+
attributes?: {
|
|
385
|
+
bounds?: {
|
|
386
|
+
bottom: number;
|
|
387
|
+
left: number;
|
|
388
|
+
right: number;
|
|
389
|
+
top: number;
|
|
390
|
+
} | undefined;
|
|
391
|
+
rest?: Record<string, string> | undefined;
|
|
392
|
+
} | undefined;
|
|
529
393
|
selectors: {
|
|
530
394
|
strategy: {
|
|
531
395
|
name: "xpath";
|
|
532
|
-
type: "
|
|
396
|
+
type: "full-path" | "parent-of" | "sibling-of" | "unique";
|
|
533
397
|
} | {
|
|
534
398
|
name: "ios-predicate";
|
|
535
399
|
} | {
|
|
@@ -540,21 +404,21 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
540
404
|
value: string;
|
|
541
405
|
}[];
|
|
542
406
|
tag: string;
|
|
543
|
-
attributes?: {
|
|
544
|
-
bounds?: {
|
|
545
|
-
bottom: number;
|
|
546
|
-
left: number;
|
|
547
|
-
right: number;
|
|
548
|
-
top: number;
|
|
549
|
-
} | undefined;
|
|
550
|
-
rest?: Record<string, string> | undefined;
|
|
551
|
-
} | undefined;
|
|
552
407
|
} & {
|
|
553
408
|
children?: (({
|
|
409
|
+
attributes?: {
|
|
410
|
+
bounds?: {
|
|
411
|
+
bottom: number;
|
|
412
|
+
left: number;
|
|
413
|
+
right: number;
|
|
414
|
+
top: number;
|
|
415
|
+
} | undefined;
|
|
416
|
+
rest?: Record<string, string> | undefined;
|
|
417
|
+
} | undefined;
|
|
554
418
|
selectors: {
|
|
555
419
|
strategy: {
|
|
556
420
|
name: "xpath";
|
|
557
|
-
type: "
|
|
421
|
+
type: "full-path" | "parent-of" | "sibling-of" | "unique";
|
|
558
422
|
} | {
|
|
559
423
|
name: "ios-predicate";
|
|
560
424
|
} | {
|
|
@@ -565,21 +429,21 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
565
429
|
value: string;
|
|
566
430
|
}[];
|
|
567
431
|
tag: string;
|
|
568
|
-
attributes?: {
|
|
569
|
-
bounds?: {
|
|
570
|
-
bottom: number;
|
|
571
|
-
left: number;
|
|
572
|
-
right: number;
|
|
573
|
-
top: number;
|
|
574
|
-
} | undefined;
|
|
575
|
-
rest?: Record<string, string> | undefined;
|
|
576
|
-
} | undefined;
|
|
577
432
|
} & /*elided*/ any) | string)[];
|
|
578
433
|
}, unknown, import("zod/v4/core").$ZodTypeInternals<{
|
|
434
|
+
attributes?: {
|
|
435
|
+
bounds?: {
|
|
436
|
+
bottom: number;
|
|
437
|
+
left: number;
|
|
438
|
+
right: number;
|
|
439
|
+
top: number;
|
|
440
|
+
} | undefined;
|
|
441
|
+
rest?: Record<string, string> | undefined;
|
|
442
|
+
} | undefined;
|
|
579
443
|
selectors: {
|
|
580
444
|
strategy: {
|
|
581
445
|
name: "xpath";
|
|
582
|
-
type: "
|
|
446
|
+
type: "full-path" | "parent-of" | "sibling-of" | "unique";
|
|
583
447
|
} | {
|
|
584
448
|
name: "ios-predicate";
|
|
585
449
|
} | {
|
|
@@ -590,21 +454,21 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
590
454
|
value: string;
|
|
591
455
|
}[];
|
|
592
456
|
tag: string;
|
|
593
|
-
attributes?: {
|
|
594
|
-
bounds?: {
|
|
595
|
-
bottom: number;
|
|
596
|
-
left: number;
|
|
597
|
-
right: number;
|
|
598
|
-
top: number;
|
|
599
|
-
} | undefined;
|
|
600
|
-
rest?: Record<string, string> | undefined;
|
|
601
|
-
} | undefined;
|
|
602
457
|
} & {
|
|
603
458
|
children?: (({
|
|
459
|
+
attributes?: {
|
|
460
|
+
bounds?: {
|
|
461
|
+
bottom: number;
|
|
462
|
+
left: number;
|
|
463
|
+
right: number;
|
|
464
|
+
top: number;
|
|
465
|
+
} | undefined;
|
|
466
|
+
rest?: Record<string, string> | undefined;
|
|
467
|
+
} | undefined;
|
|
604
468
|
selectors: {
|
|
605
469
|
strategy: {
|
|
606
470
|
name: "xpath";
|
|
607
|
-
type: "
|
|
471
|
+
type: "full-path" | "parent-of" | "sibling-of" | "unique";
|
|
608
472
|
} | {
|
|
609
473
|
name: "ios-predicate";
|
|
610
474
|
} | {
|
|
@@ -615,16 +479,7 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
615
479
|
value: string;
|
|
616
480
|
}[];
|
|
617
481
|
tag: string;
|
|
618
|
-
|
|
619
|
-
bounds?: {
|
|
620
|
-
bottom: number;
|
|
621
|
-
left: number;
|
|
622
|
-
right: number;
|
|
623
|
-
top: number;
|
|
624
|
-
} | undefined;
|
|
625
|
-
rest?: Record<string, string> | undefined;
|
|
626
|
-
} | undefined;
|
|
627
|
-
} & /*elided*/ any) | string)[];
|
|
482
|
+
} & any) | string)[];
|
|
628
483
|
}, unknown>>;
|
|
629
484
|
what: import("zod").ZodLiteral<"page">;
|
|
630
485
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -644,10 +499,10 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
644
499
|
strategy: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
645
500
|
name: import("zod").ZodLiteral<"xpath">;
|
|
646
501
|
type: import("zod").ZodEnum<{
|
|
647
|
-
unique: "unique";
|
|
648
502
|
"full-path": "full-path";
|
|
649
|
-
"sibling-of": "sibling-of";
|
|
650
503
|
"parent-of": "parent-of";
|
|
504
|
+
"sibling-of": "sibling-of";
|
|
505
|
+
unique: "unique";
|
|
651
506
|
}>;
|
|
652
507
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
653
508
|
name: import("zod").ZodLiteral<"ios-predicate">;
|
|
@@ -664,9 +519,9 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
664
519
|
what: import("zod").ZodLiteral<"elements">;
|
|
665
520
|
}, import("zod/v4/core").$strip>], "what">, import("zod").ZodObject<{
|
|
666
521
|
failureReason: import("zod").ZodEnum<{
|
|
667
|
-
"runner-unreachable": "runner-unreachable";
|
|
668
522
|
"invalid-selector": "invalid-selector";
|
|
669
523
|
"runner-is-not-mobile": "runner-is-not-mobile";
|
|
524
|
+
"runner-unreachable": "runner-unreachable";
|
|
670
525
|
"screen-needs-a-run": "screen-needs-a-run";
|
|
671
526
|
"screen-not-ready": "screen-not-ready";
|
|
672
527
|
}>;
|
|
@@ -689,12 +544,12 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
689
544
|
id: import("zod").ZodString;
|
|
690
545
|
initialUrl: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
691
546
|
runnerName: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
692
|
-
basic: "basic";
|
|
693
|
-
playwright: "playwright";
|
|
694
547
|
android: "android";
|
|
548
|
+
basic: "basic";
|
|
695
549
|
ios: "ios";
|
|
696
|
-
windows: "windows";
|
|
697
550
|
mac: "mac";
|
|
551
|
+
playwright: "playwright";
|
|
552
|
+
windows: "windows";
|
|
698
553
|
}>>;
|
|
699
554
|
workspaceId: import("zod").ZodOptional<WorkspaceId>;
|
|
700
555
|
}, import("zod/v4/core").$strip>;
|
|
@@ -704,12 +559,12 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
704
559
|
gpuAccelerated: import("zod").ZodBoolean;
|
|
705
560
|
id: import("zod").ZodString;
|
|
706
561
|
runnerName: import("zod").ZodEnum<{
|
|
707
|
-
basic: "basic";
|
|
708
|
-
playwright: "playwright";
|
|
709
562
|
android: "android";
|
|
563
|
+
basic: "basic";
|
|
710
564
|
ios: "ios";
|
|
711
|
-
windows: "windows";
|
|
712
565
|
mac: "mac";
|
|
566
|
+
playwright: "playwright";
|
|
567
|
+
windows: "windows";
|
|
713
568
|
}>;
|
|
714
569
|
url: import("zod").ZodURL;
|
|
715
570
|
alreadyRunning: import("zod").ZodBoolean;
|
|
@@ -739,12 +594,12 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
739
594
|
gpuAccelerated: import("zod").ZodBoolean;
|
|
740
595
|
id: import("zod").ZodString;
|
|
741
596
|
runnerName: import("zod").ZodEnum<{
|
|
742
|
-
basic: "basic";
|
|
743
|
-
playwright: "playwright";
|
|
744
597
|
android: "android";
|
|
598
|
+
basic: "basic";
|
|
745
599
|
ios: "ios";
|
|
746
|
-
windows: "windows";
|
|
747
600
|
mac: "mac";
|
|
601
|
+
playwright: "playwright";
|
|
602
|
+
windows: "windows";
|
|
748
603
|
}>;
|
|
749
604
|
url: import("zod").ZodURL;
|
|
750
605
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -764,7 +619,7 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
764
619
|
readonly description: "Perform one raw action on an interactive runner: click, double_click, move, drag, scroll, keypress, type, or navigate; on mobile or Windows, also tap, swipe, or fill. One action per request, and the runner serves one at a time. A success means the action took effect. `action-failed`, with a reason, if it reached the runner and did not take effect. On a runner image with a browser, the first action on a runner that has never run anything starts its browser and waits for it, so it can take up to a minute to answer — no `runner.runFlow` is needed before acting; if the browser is still starting when the wait runs out, the answer is `screen-not-ready` and retrying converges. On a mobile or Windows runner, the same `screen-needs-a-run` and `screen-not-ready` outcomes mean no Appium session has started yet, or it did not answer this instant; `runner.runFlow` is what starts one, same as a browser. `screen-needs-a-run` if the browser could not be started that way — usually a runner whose runs all finished without starting its desktop; call `runner.runFlow` with a flow that opens a browser. `screen-not-ready` if the runner has a screen that cannot serve this instant. Retry in a second or two: the desktop restarts when a run changes the display size, and it serves one see-or-act request at a time, so a screenshot or action already in flight is the usual reason. Do not submit a run to clear this — a run may restart the display and discard what is on it. `runner-has-no-screen` if this runner has no browser desktop to see or drive, and retrying will never help. Launch a `playwright` runner. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may have stopped answering mid-action. This does not mean the action was not performed — take a screenshot before repeating it.";
|
|
765
620
|
readonly input: import("zod").ZodObject<{
|
|
766
621
|
action: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
767
|
-
button: import("zod").ZodLiteral<"
|
|
622
|
+
button: import("zod").ZodLiteral<"back" | "forward" | "left" | "right" | "wheel">;
|
|
768
623
|
type: import("zod").ZodLiteral<"click">;
|
|
769
624
|
x: import("zod").ZodInt;
|
|
770
625
|
y: import("zod").ZodInt;
|
|
@@ -844,12 +699,12 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
844
699
|
outcome: import("zod").ZodLiteral<"failure">;
|
|
845
700
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
846
701
|
failureReason: import("zod").ZodEnum<{
|
|
702
|
+
"action-not-supported-on-browser": "action-not-supported-on-browser";
|
|
703
|
+
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
704
|
+
"runner-has-no-screen": "runner-has-no-screen";
|
|
847
705
|
"runner-unreachable": "runner-unreachable";
|
|
848
706
|
"screen-needs-a-run": "screen-needs-a-run";
|
|
849
707
|
"screen-not-ready": "screen-not-ready";
|
|
850
|
-
"runner-has-no-screen": "runner-has-no-screen";
|
|
851
|
-
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
852
|
-
"action-not-supported-on-browser": "action-not-supported-on-browser";
|
|
853
708
|
}>;
|
|
854
709
|
outcome: import("zod").ZodLiteral<"failure">;
|
|
855
710
|
}, import("zod/v4/core").$strip>], "failureReason">], "outcome">;
|
|
@@ -865,10 +720,10 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
865
720
|
readonly openWorldHint: true;
|
|
866
721
|
readonly readOnlyHint: false;
|
|
867
722
|
};
|
|
868
|
-
readonly description: "Perform a sequence of raw actions on an interactive runner in one request, one after another, and answer with what happened to each. A `success` means every action took effect. A `failure` names the first action that did not (`failedIndex`, `failureReason`), the last one that did (`lastCompletedIndex`), and whether actions were left unperformed (`stoppedEarly`); `results` has one entry per action reached, in order. Read `effect` on an entry before sending its action again: `performed` means the runner did it; `not-performed` means the runner answered that it did not take effect, though a `navigate` that timed out may still be loading; `unknown` means the runner stopped answering with the action in flight (`runner-unreachable`), or its screen went quiet mid-action (`action-unconfirmed`), and it may have taken effect
|
|
723
|
+
readonly description: "Perform a sequence of raw actions on an interactive runner in one request, one after another, and answer with what happened to each. A `success` means every action took effect. A `failure` names the first action that did not (`failedIndex`, `failureReason`), the last one that did (`lastCompletedIndex`), and whether actions were left unperformed (`stoppedEarly`); `results` has one entry per action reached, in order. Read `effect` on an entry before sending its action again: `performed` means the runner did it; `not-performed` means the runner answered that it did not take effect, though a `navigate` that timed out may still be loading; `unknown` means the runner stopped answering with the action in flight (`runner-unreachable`), or its screen went quiet mid-action (`action-unconfirmed`), and it may have taken effect \u2014 a click that submitted a form, say \u2014 so take a screenshot instead of repeating it. A sequence gets about a minute to start its actions; an action it did not reach in time is `out-of-time`, nothing after it was attempted, and the rest can go in a new request. Everything `runner.performAction` says about a runner that has never run anything, a mobile or Windows runner, and the `screen-needs-a-run`, `screen-not-ready`, `runner-has-no-screen`, `action-not-supported-on-mobile` and `action-not-supported-on-browser` reasons holds for each action here.";
|
|
869
724
|
readonly input: import("zod").ZodObject<{
|
|
870
725
|
actions: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
871
|
-
button: import("zod").ZodLiteral<"
|
|
726
|
+
button: import("zod").ZodLiteral<"back" | "forward" | "left" | "right" | "wheel">;
|
|
872
727
|
type: import("zod").ZodLiteral<"click">;
|
|
873
728
|
x: import("zod").ZodInt;
|
|
874
729
|
y: import("zod").ZodInt;
|
|
@@ -934,9 +789,9 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
934
789
|
}, import("zod/v4/core").$strict>], "type">>;
|
|
935
790
|
id: import("zod").ZodString;
|
|
936
791
|
screenshotMode: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
937
|
-
none: "none";
|
|
938
|
-
final: "final";
|
|
939
792
|
each: "each";
|
|
793
|
+
final: "final";
|
|
794
|
+
none: "none";
|
|
940
795
|
}>>;
|
|
941
796
|
stopOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
942
797
|
workspaceId: import("zod").ZodOptional<WorkspaceId>;
|
|
@@ -957,15 +812,15 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
957
812
|
errorMessage: import("zod").ZodOptional<import("zod").ZodString>;
|
|
958
813
|
failedIndex: import("zod").ZodInt;
|
|
959
814
|
failureReason: import("zod").ZodEnum<{
|
|
960
|
-
"runner-unreachable": "runner-unreachable";
|
|
961
|
-
"screen-needs-a-run": "screen-needs-a-run";
|
|
962
|
-
"screen-not-ready": "screen-not-ready";
|
|
963
815
|
"action-failed": "action-failed";
|
|
964
|
-
"runner-has-no-screen": "runner-has-no-screen";
|
|
965
|
-
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
966
816
|
"action-not-supported-on-browser": "action-not-supported-on-browser";
|
|
967
|
-
"
|
|
817
|
+
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
968
818
|
"action-unconfirmed": "action-unconfirmed";
|
|
819
|
+
"out-of-time": "out-of-time";
|
|
820
|
+
"runner-has-no-screen": "runner-has-no-screen";
|
|
821
|
+
"runner-unreachable": "runner-unreachable";
|
|
822
|
+
"screen-needs-a-run": "screen-needs-a-run";
|
|
823
|
+
"screen-not-ready": "screen-not-ready";
|
|
969
824
|
}>;
|
|
970
825
|
imageJpegBase64: import("zod").ZodOptional<import("zod").ZodString>;
|
|
971
826
|
lastCompletedIndex: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
@@ -996,12 +851,12 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
996
851
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
997
852
|
effect: import("zod").ZodLiteral<"not-performed">;
|
|
998
853
|
failureReason: import("zod").ZodEnum<{
|
|
999
|
-
"screen-needs-a-run": "screen-needs-a-run";
|
|
1000
|
-
"screen-not-ready": "screen-not-ready";
|
|
1001
|
-
"runner-has-no-screen": "runner-has-no-screen";
|
|
1002
|
-
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
1003
854
|
"action-not-supported-on-browser": "action-not-supported-on-browser";
|
|
855
|
+
"action-not-supported-on-mobile": "action-not-supported-on-mobile";
|
|
1004
856
|
"out-of-time": "out-of-time";
|
|
857
|
+
"runner-has-no-screen": "runner-has-no-screen";
|
|
858
|
+
"screen-needs-a-run": "screen-needs-a-run";
|
|
859
|
+
"screen-not-ready": "screen-not-ready";
|
|
1005
860
|
}>;
|
|
1006
861
|
index: import("zod").ZodInt;
|
|
1007
862
|
outcome: import("zod").ZodLiteral<"failure">;
|
|
@@ -1033,8 +888,8 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
1033
888
|
outcome: import("zod").ZodLiteral<"success">;
|
|
1034
889
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1035
890
|
failureReason: import("zod").ZodEnum<{
|
|
1036
|
-
"runner-unreachable": "runner-unreachable";
|
|
1037
891
|
"runner-cannot-promote-snapshots": "runner-cannot-promote-snapshots";
|
|
892
|
+
"runner-unreachable": "runner-unreachable";
|
|
1038
893
|
"snapshot-not-found": "snapshot-not-found";
|
|
1039
894
|
}>;
|
|
1040
895
|
outcome: import("zod").ZodLiteral<"failure">;
|
|
@@ -1083,5 +938,150 @@ export declare const makeRunnerContracts: <FlowId extends PublicIdSchema, Worksp
|
|
|
1083
938
|
outcome: import("zod").ZodLiteral<"failure">;
|
|
1084
939
|
}, import("zod/v4/core").$strip>], "outcome">;
|
|
1085
940
|
};
|
|
941
|
+
runFlow: {
|
|
942
|
+
readonly annotationJustifications: {
|
|
943
|
+
readonly destructiveHint: "Test code can overwrite or delete application data, and uncertain acceptance must be checked before resubmission.";
|
|
944
|
+
readonly openWorldHint: "Executed tests can submit forms and change the application under test or its connected services.";
|
|
945
|
+
readonly readOnlyHint: "Submits test files for full-flow or selected-line execution on an interactive runner.";
|
|
946
|
+
};
|
|
947
|
+
readonly annotations: {
|
|
948
|
+
readonly destructiveHint: true;
|
|
949
|
+
readonly openWorldHint: true;
|
|
950
|
+
readonly readOnlyHint: false;
|
|
951
|
+
};
|
|
952
|
+
readonly description: "Run a flow on an interactive runner. When `selection` is given the lines run against the browser as it stands, so nothing is re-navigated and nothing is signed in again; without it the whole entry point runs from a fresh browser. A runner with no live browser starts one before a selection and says so with `bootstrappedRunner`, which means those lines ran against a fresh page rather than the one an earlier run left. A selection produces no `runStarted` event, so follow it by its run id on `run-status` like any other run. Send `unchangedFiles` to ship only what changed since an earlier run on this runner; a `needs-full-sync` failure names the paths it does not hold, and the way to recover is the same run again with every file in `files`. Answers as soon as the run is accepted, with the id to follow it by \u2014 nothing waits for the run to finish. Which browser or device the run needs is read from the flow file's own execution target, so it is not supplied here; when it does not match what the runner is, the call fails with `runner-target-mismatch` rather than failing partway through the run. `runner-unreachable` means the answer did not arrive, which is NOT the same as the run not having started: the runner may have accepted it and been too slow to say so, and resubmitting would start a second run that is billed and journalled alongside the first. Read the runner's `run-status` journal stream before resubmitting, and use the newest run id there if one appeared.";
|
|
953
|
+
readonly input: import("zod").ZodObject<{
|
|
954
|
+
builds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
955
|
+
entryPointPath: import("zod").ZodString;
|
|
956
|
+
env: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
957
|
+
environmentId: import("zod").ZodOptional<PublicIdSchema>;
|
|
958
|
+
files: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
959
|
+
flowId: import("zod").ZodOptional<FlowId>;
|
|
960
|
+
id: import("zod").ZodString;
|
|
961
|
+
selection: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
962
|
+
endLine: import("zod").ZodInt;
|
|
963
|
+
path: import("zod").ZodString;
|
|
964
|
+
startLine: import("zod").ZodInt;
|
|
965
|
+
}, import("zod/v4/core").$strip>>;
|
|
966
|
+
unchangedFiles: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
967
|
+
workspaceId: import("zod").ZodOptional<WorkspaceId>;
|
|
968
|
+
}, import("zod/v4/core").$strip>;
|
|
969
|
+
readonly kind: "write";
|
|
970
|
+
readonly name: "runner.runFlow";
|
|
971
|
+
readonly output: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
972
|
+
bootstrappedRunner: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
973
|
+
outcome: import("zod").ZodLiteral<"success">;
|
|
974
|
+
runId: import("zod").ZodString;
|
|
975
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
976
|
+
failureReason: import("zod").ZodLiteral<"runner-target-mismatch">;
|
|
977
|
+
outcome: import("zod").ZodLiteral<"failure">;
|
|
978
|
+
requiredRunnerName: import("zod").ZodEnum<{
|
|
979
|
+
android: "android";
|
|
980
|
+
basic: "basic";
|
|
981
|
+
ios: "ios";
|
|
982
|
+
mac: "mac";
|
|
983
|
+
playwright: "playwright";
|
|
984
|
+
windows: "windows";
|
|
985
|
+
}>;
|
|
986
|
+
runnerName: import("zod").ZodEnum<{
|
|
987
|
+
android: "android";
|
|
988
|
+
basic: "basic";
|
|
989
|
+
ios: "ios";
|
|
990
|
+
mac: "mac";
|
|
991
|
+
playwright: "playwright";
|
|
992
|
+
windows: "windows";
|
|
993
|
+
}>;
|
|
994
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
995
|
+
failureReason: import("zod").ZodLiteral<"needs-full-sync">;
|
|
996
|
+
missingPaths: import("zod").ZodArray<import("zod").ZodString>;
|
|
997
|
+
outcome: import("zod").ZodLiteral<"failure">;
|
|
998
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
999
|
+
failureReason: import("zod").ZodLiteral<"runner-unreachable">;
|
|
1000
|
+
outcome: import("zod").ZodLiteral<"failure">;
|
|
1001
|
+
}, import("zod/v4/core").$strip>], "failureReason">], "outcome">;
|
|
1002
|
+
};
|
|
1003
|
+
stopRun: {
|
|
1004
|
+
readonly annotationJustifications: {
|
|
1005
|
+
readonly destructiveHint: "Stops unfinished work where it is, while an already-idle runner is left idle.";
|
|
1006
|
+
readonly openWorldHint: "Changes private execution state without itself posting external messages.";
|
|
1007
|
+
readonly readOnlyHint: "Interrupts current execution while leaving the runner available.";
|
|
1008
|
+
};
|
|
1009
|
+
readonly annotations: {
|
|
1010
|
+
readonly destructiveHint: true;
|
|
1011
|
+
readonly openWorldHint: false;
|
|
1012
|
+
readonly readOnlyHint: false;
|
|
1013
|
+
};
|
|
1014
|
+
readonly description: "Stop what a runner is currently executing, leaving the runner up and its browser on whatever page the run reached. Succeeds whether or not anything was running, and `wasRunning` says which. This is the counterpart of `runner.terminate`, which ends the runner itself. The run stops where it is, so the journal's `run-status` settles it as stopped rather than passed or failed. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. The stop may still have landed, but stopping a runner that is already idle does nothing, so retrying is safe.";
|
|
1015
|
+
readonly input: import("zod").ZodObject<{
|
|
1016
|
+
id: import("zod").ZodString;
|
|
1017
|
+
workspaceId: import("zod").ZodOptional<WorkspaceId>;
|
|
1018
|
+
}, import("zod/v4/core").$strip>;
|
|
1019
|
+
readonly kind: "write";
|
|
1020
|
+
readonly name: "runner.stopRun";
|
|
1021
|
+
readonly output: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1022
|
+
outcome: import("zod").ZodLiteral<"success">;
|
|
1023
|
+
wasRunning: import("zod").ZodBoolean;
|
|
1024
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1025
|
+
failureReason: import("zod").ZodEnum<{
|
|
1026
|
+
"runner-unreachable": "runner-unreachable";
|
|
1027
|
+
}>;
|
|
1028
|
+
outcome: import("zod").ZodLiteral<"failure">;
|
|
1029
|
+
}, import("zod/v4/core").$strip>], "outcome">;
|
|
1030
|
+
};
|
|
1031
|
+
takeScreenshot: {
|
|
1032
|
+
readonly annotationJustifications: {
|
|
1033
|
+
readonly destructiveHint: "Does not change application data or stop execution, although the activity refresh can extend billed runtime.";
|
|
1034
|
+
readonly openWorldHint: "Reads the private runner display without submitting an external application action.";
|
|
1035
|
+
readonly readOnlyHint: "Captures the runner screen and refreshes activity, which can cancel an inactivity shutdown.";
|
|
1036
|
+
};
|
|
1037
|
+
readonly annotations: {
|
|
1038
|
+
readonly destructiveHint: false;
|
|
1039
|
+
readonly openWorldHint: false;
|
|
1040
|
+
readonly readOnlyHint: false;
|
|
1041
|
+
};
|
|
1042
|
+
readonly description: "Take one screenshot of an interactive runner's screen. This refreshes the inactivity timer and can extend the runner's billed lifetime. On a runner with a browser the image is the whole virtual desktop, browser window and all. On a mobile runner it is the device's own screen, and on Windows the VM's whole desktop, re-encoded to JPEG on the pod so this contract reads one image format regardless of runner family. `screen-needs-a-run` if the runner's virtual desktop has never started. Waiting will not change this and retrying is pointless — call `runner.runFlow` with a flow that opens a browser, then ask for the screen again. On a Windows runner any flow run claims the VM and brings up its screen. On a runner image with a browser that has never run anything, any `runner.performAction` also starts the browser itself. Evaluating a snippet does not start the desktop. `screen-not-ready` if the runner has a screen that cannot serve this instant. Retry in a second or two: the desktop restarts when a run changes the display size, and it serves one see-or-act request at a time, so a screenshot or action already in flight is the usual reason. Do not submit a run to clear this — a run may restart the display and discard what is on it. On a mobile or Windows runner, `screen-not-ready` can also mean its Appium session did not answer in time; if it persists after 3 tries, terminate the runner and launch it again with the same id and runnerName. `runner-has-no-screen` if this runner has no browser desktop to see or drive, and retrying will never help. Launch a `playwright` runner. `runner-unreachable` if the runner could not be reached: it may still be starting, it may have terminated after inactivity, or it may be too busy to answer. Nothing was changed, so retrying is safe; if it persists, launch the runner again.";
|
|
1043
|
+
readonly input: import("zod").ZodObject<{
|
|
1044
|
+
id: import("zod").ZodString;
|
|
1045
|
+
workspaceId: import("zod").ZodOptional<WorkspaceId>;
|
|
1046
|
+
}, import("zod/v4/core").$strip>;
|
|
1047
|
+
readonly kind: "read";
|
|
1048
|
+
readonly name: "runner.takeScreenshot";
|
|
1049
|
+
readonly output: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1050
|
+
imageJpegBase64: import("zod").ZodString;
|
|
1051
|
+
outcome: import("zod").ZodLiteral<"success">;
|
|
1052
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1053
|
+
failureReason: import("zod").ZodEnum<{
|
|
1054
|
+
"runner-has-no-screen": "runner-has-no-screen";
|
|
1055
|
+
"runner-unreachable": "runner-unreachable";
|
|
1056
|
+
"screen-needs-a-run": "screen-needs-a-run";
|
|
1057
|
+
"screen-not-ready": "screen-not-ready";
|
|
1058
|
+
}>;
|
|
1059
|
+
outcome: import("zod").ZodLiteral<"failure">;
|
|
1060
|
+
}, import("zod/v4/core").$strip>], "outcome">;
|
|
1061
|
+
};
|
|
1062
|
+
terminate: {
|
|
1063
|
+
readonly annotationJustifications: {
|
|
1064
|
+
readonly destructiveHint: "Terminates running work and discards the live session, while an absent runner is left absent.";
|
|
1065
|
+
readonly openWorldHint: "Stops a private QA Wolf runner without itself publishing to third-party services.";
|
|
1066
|
+
readonly readOnlyHint: "Ends a selected interactive runner and the resources hosting it.";
|
|
1067
|
+
};
|
|
1068
|
+
readonly annotations: {
|
|
1069
|
+
readonly destructiveHint: true;
|
|
1070
|
+
readonly openWorldHint: false;
|
|
1071
|
+
readonly readOnlyHint: false;
|
|
1072
|
+
};
|
|
1073
|
+
readonly description: "End an interactive runner on the caller's team, and the pod it runs on with it. Terminating a runner that is not running succeeds and reports `wasRunning: false`. This ends the runner: use `runner.stopRun` to stop what a runner is currently executing while leaving the runner up.";
|
|
1074
|
+
readonly input: import("zod").ZodObject<{
|
|
1075
|
+
id: import("zod").ZodString;
|
|
1076
|
+
workspaceId: import("zod").ZodOptional<WorkspaceId>;
|
|
1077
|
+
}, import("zod/v4/core").$strip>;
|
|
1078
|
+
readonly kind: "write";
|
|
1079
|
+
readonly name: "runner.terminate";
|
|
1080
|
+
readonly output: import("zod").ZodObject<{
|
|
1081
|
+
id: import("zod").ZodString;
|
|
1082
|
+
outcome: import("zod").ZodLiteral<"success">;
|
|
1083
|
+
wasRunning: import("zod").ZodBoolean;
|
|
1084
|
+
}, import("zod/v4/core").$strip>;
|
|
1085
|
+
};
|
|
1086
1086
|
};
|
|
1087
1087
|
//# sourceMappingURL=catalog.d.ts.map
|