@qawolf/api-contracts 0.65.0 → 0.66.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/deployment/find.d.ts +2 -0
- package/dist/v1/deployment/find.d.ts.map +1 -1
- package/dist/v1/deployment/index.d.ts +8 -0
- package/dist/v1/deployment/index.d.ts.map +1 -1
- package/dist/v1/deployment/listTriggerEvaluations.d.ts +4 -0
- package/dist/v1/deployment/listTriggerEvaluations.d.ts.map +1 -1
- package/dist/v1/deployment/listTriggerEvaluations.js +2 -2
- package/dist/v1/deployment/listTriggerEvaluations.js.map +1 -1
- package/dist/v1/deployment/reportStatus.d.ts +2 -0
- package/dist/v1/deployment/reportStatus.d.ts.map +1 -1
- package/dist/v1/deployment/reportStatus.js +7 -0
- package/dist/v1/deployment/reportStatus.js.map +1 -1
- package/dist/v1/deployment/reportStatusMetadata.d.ts +1 -0
- package/dist/v1/deployment/reportStatusMetadata.d.ts.map +1 -1
- package/dist/v1/deployment/reportStatusMetadata.js +6 -0
- package/dist/v1/deployment/reportStatusMetadata.js.map +1 -1
- package/dist/v1/deployment/resource.d.ts +2 -0
- package/dist/v1/deployment/resource.d.ts.map +1 -1
- package/dist/v1/deployment/resource.js +8 -0
- package/dist/v1/deployment/resource.js.map +1 -1
- package/dist/v1/ids.js +1 -1
- package/dist/v1/ids.js.map +1 -1
- package/dist/v1/index.d.ts +42 -6
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/mcpInputSchema.d.ts +9 -0
- package/dist/v1/mcpInputSchema.d.ts.map +1 -0
- package/dist/v1/mcpInputSchema.js +31 -0
- package/dist/v1/mcpInputSchema.js.map +1 -0
- package/dist/v1/mcpToolDescription.d.ts.map +1 -1
- package/dist/v1/mcpToolDescription.js +0 -2
- package/dist/v1/mcpToolDescription.js.map +1 -1
- package/dist/v1/run/get.d.ts +2 -1
- package/dist/v1/run/get.d.ts.map +1 -1
- package/dist/v1/run/get.js +6 -1
- package/dist/v1/run/get.js.map +1 -1
- package/dist/v1/run/summary.js +1 -1
- package/dist/v1/run/summary.js.map +1 -1
- package/dist/v1/runner/browserAction.d.ts +2 -0
- package/dist/v1/runner/browserAction.d.ts.map +1 -1
- package/dist/v1/runner/browserAction.js +1 -1
- package/dist/v1/runner/browserAction.js.map +1 -1
- package/dist/v1/runner/catalog.d.ts +3 -2
- package/dist/v1/runner/catalog.d.ts.map +1 -1
- package/dist/v1/runner/identity.d.ts +2 -2
- package/dist/v1/runner/identity.d.ts.map +1 -1
- package/dist/v1/runner/identity.js +1 -1
- package/dist/v1/runner/identity.js.map +1 -1
- package/dist/v1/runner/index.d.ts +2 -1
- package/dist/v1/runner/index.d.ts.map +1 -1
- package/dist/v1/runner/index.js +12 -2
- package/dist/v1/runner/index.js.map +1 -1
- package/dist/v1/runner/list.d.ts +1 -1
- package/dist/v1/runner/list.js +1 -1
- package/dist/v1/runner/list.js.map +1 -1
- package/dist/v1/runnerReexports.d.ts +1 -1
- package/dist/v1/runnerReexports.d.ts.map +1 -1
- package/dist/v1/runnerReexports.js +1 -1
- package/dist/v1/runnerReexports.js.map +1 -1
- package/dist/v1/sharedSchemas.d.ts +1 -0
- package/dist/v1/sharedSchemas.d.ts.map +1 -1
- package/dist/v1/sharedSchemas.js +1 -0
- package/dist/v1/sharedSchemas.js.map +1 -1
- package/dist/v1/trigger/configuration.d.ts +1 -0
- package/dist/v1/trigger/configuration.d.ts.map +1 -1
- package/dist/v1/trigger/configuration.js +6 -1
- package/dist/v1/trigger/configuration.js.map +1 -1
- package/dist/v1/trigger/create.d.ts +2 -0
- package/dist/v1/trigger/create.d.ts.map +1 -1
- package/dist/v1/trigger/find.d.ts +1 -0
- package/dist/v1/trigger/find.d.ts.map +1 -1
- package/dist/v1/trigger/get.d.ts +1 -0
- package/dist/v1/trigger/get.d.ts.map +1 -1
- package/dist/v1/trigger/index.d.ts +8 -0
- package/dist/v1/trigger/index.d.ts.map +1 -1
- package/dist/v1/trigger/lifecycle.d.ts +2 -0
- package/dist/v1/trigger/lifecycle.d.ts.map +1 -1
- package/dist/v1/trigger/resource.d.ts +1 -0
- package/dist/v1/trigger/resource.d.ts.map +1 -1
- package/dist/v1/trigger/update.d.ts +2 -0
- package/dist/v1/trigger/update.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/v1/index.d.ts
CHANGED
|
@@ -160,6 +160,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
160
160
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
161
161
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
162
162
|
commitSha: z.ZodOptional<z.ZodString>;
|
|
163
|
+
commitUrl: z.ZodOptional<z.ZodString>;
|
|
163
164
|
deployedAt: z.ZodISODateTime;
|
|
164
165
|
deployTarget: z.ZodOptional<z.ZodString>;
|
|
165
166
|
environmentId: EnvironmentId;
|
|
@@ -170,6 +171,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
170
171
|
gitlab: "gitlab";
|
|
171
172
|
api: "api";
|
|
172
173
|
}>>;
|
|
174
|
+
service: z.ZodOptional<z.ZodString>;
|
|
173
175
|
status: z.ZodOptional<z.ZodEnum<{
|
|
174
176
|
success: "success";
|
|
175
177
|
pending: "pending";
|
|
@@ -203,6 +205,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
203
205
|
kind: z.ZodEnum<{
|
|
204
206
|
branch: "branch";
|
|
205
207
|
deployTarget: "deployTarget";
|
|
208
|
+
service: "service";
|
|
206
209
|
environment: "environment";
|
|
207
210
|
}>;
|
|
208
211
|
outcome: z.ZodLiteral<"matched">;
|
|
@@ -210,6 +213,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
210
213
|
kind: z.ZodEnum<{
|
|
211
214
|
branch: "branch";
|
|
212
215
|
deployTarget: "deployTarget";
|
|
216
|
+
service: "service";
|
|
213
217
|
environment: "environment";
|
|
214
218
|
}>;
|
|
215
219
|
outcome: z.ZodLiteral<"did-not-match">;
|
|
@@ -261,6 +265,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
261
265
|
kind: z.ZodEnum<{
|
|
262
266
|
branch: "branch";
|
|
263
267
|
deployTarget: "deployTarget";
|
|
268
|
+
service: "service";
|
|
264
269
|
environment: "environment";
|
|
265
270
|
}>;
|
|
266
271
|
outcome: z.ZodLiteral<"matched">;
|
|
@@ -268,6 +273,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
268
273
|
kind: z.ZodEnum<{
|
|
269
274
|
branch: "branch";
|
|
270
275
|
deployTarget: "deployTarget";
|
|
276
|
+
service: "service";
|
|
271
277
|
environment: "environment";
|
|
272
278
|
}>;
|
|
273
279
|
outcome: z.ZodLiteral<"did-not-match">;
|
|
@@ -313,11 +319,13 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
313
319
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
314
320
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
315
321
|
commitSha: z.ZodOptional<z.ZodString>;
|
|
322
|
+
commitUrl: z.ZodOptional<z.ZodURL>;
|
|
316
323
|
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
317
324
|
ref: z.ZodOptional<z.ZodString>;
|
|
318
325
|
repository: z.ZodOptional<z.ZodString>;
|
|
319
326
|
}, z.core.$strict>>;
|
|
320
327
|
providerDeploymentId: z.ZodString;
|
|
328
|
+
service: z.ZodOptional<z.ZodString>;
|
|
321
329
|
status: z.ZodEnum<{
|
|
322
330
|
success: "success";
|
|
323
331
|
pending: "pending";
|
|
@@ -1588,13 +1596,14 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1588
1596
|
readonly openWorldHint: false;
|
|
1589
1597
|
readonly readOnlyHint: true;
|
|
1590
1598
|
};
|
|
1591
|
-
readonly description: "Get a run's status, per-flow results, and
|
|
1599
|
+
readonly description: "Get a run's status, per-flow results, links, and how many of its bugs are blocking.";
|
|
1592
1600
|
readonly input: z.ZodObject<{
|
|
1593
1601
|
runId: RunId;
|
|
1594
1602
|
}, z.core.$strip>;
|
|
1595
1603
|
readonly kind: "read";
|
|
1596
1604
|
readonly name: "run.get";
|
|
1597
1605
|
readonly output: z.ZodObject<{
|
|
1606
|
+
blockingBugCount: z.ZodNumber;
|
|
1598
1607
|
flows: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1599
1608
|
attempts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1600
1609
|
completedAt: z.ZodISODateTime;
|
|
@@ -2388,9 +2397,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2388
2397
|
readonly openWorldHint: false;
|
|
2389
2398
|
readonly readOnlyHint: false;
|
|
2390
2399
|
};
|
|
2391
|
-
readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Launching the same id again returns the runner already running rather than starting a second one, and the same id with a different runnerName is refused. A runner is not permanent: it terminates on its own after a period of inactivity, and launching the same id after that starts and bills a new runner
|
|
2400
|
+
readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Send `initialUrl` so its browser comes up on the page the work starts from, which saves a separate navigation and the browser's cold start. Launching the same id again returns the runner already running rather than starting a second one, and the same id with a different runnerName is refused. A runner is not permanent: it terminates on its own after a period of inactivity, and launching the same id after that starts and bills a new runner, so read `alreadyRunning` to tell which happened. A success means the runner is answering: the call waits for the pod it started to come up, so the very next call to the runner reaches it. If the pod does not come up in time the call fails instead, leaving the runner running, and launching the same id again attaches to it.";
|
|
2392
2401
|
readonly input: z.ZodObject<{
|
|
2393
2402
|
id: z.ZodString;
|
|
2403
|
+
initialUrl: z.ZodOptional<z.ZodURL>;
|
|
2394
2404
|
runnerName: z.ZodOptional<z.ZodEnum<{
|
|
2395
2405
|
basic: "basic";
|
|
2396
2406
|
playwright: "playwright";
|
|
@@ -2421,7 +2431,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2421
2431
|
readonly openWorldHint: false;
|
|
2422
2432
|
readonly readOnlyHint: true;
|
|
2423
2433
|
};
|
|
2424
|
-
readonly description: "List the runners running on the caller's team right now. A
|
|
2434
|
+
readonly description: "List the runners running on the caller's team right now. A listed runner may be driven by another machine or session, so sending it work can collide with theirs. A runner that was terminated, or that terminated on its own after inactivity, is not listed, because the run system keeps no record of a runner once it is gone. This is a lookup: it never starts a runner, and it does not reset a runner's inactivity clock the way reading its journal does. It is how to find a runner launched from another machine or in an earlier session, when the id it was launched under is no longer at hand.";
|
|
2425
2435
|
readonly input: z.ZodObject<{
|
|
2426
2436
|
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
2427
2437
|
}, z.core.$strip>;
|
|
@@ -2848,6 +2858,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2848
2858
|
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
2849
2859
|
environmentIds: z.ZodDefault<z.ZodArray<EnvironmentId>>;
|
|
2850
2860
|
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
2861
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
2851
2862
|
name: z.ZodString;
|
|
2852
2863
|
workspaceId: z.ZodOptional<WorkspaceId>;
|
|
2853
2864
|
}, z.core.$strip>], "kind">;
|
|
@@ -2912,6 +2923,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2912
2923
|
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
2913
2924
|
environmentIds: z.ZodDefault<z.ZodArray<EnvironmentId>>;
|
|
2914
2925
|
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
2926
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
2915
2927
|
}, z.core.$strip>, z.ZodObject<{
|
|
2916
2928
|
actionCount: z.ZodNumber;
|
|
2917
2929
|
kind: z.ZodLiteral<"advanced">;
|
|
@@ -3016,6 +3028,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3016
3028
|
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
3017
3029
|
environmentIds: z.ZodDefault<z.ZodArray<EnvironmentId>>;
|
|
3018
3030
|
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
3031
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
3019
3032
|
}, z.core.$strip>, z.ZodObject<{
|
|
3020
3033
|
actionCount: z.ZodNumber;
|
|
3021
3034
|
kind: z.ZodLiteral<"advanced">;
|
|
@@ -3103,6 +3116,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3103
3116
|
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
3104
3117
|
environmentIds: z.ZodDefault<z.ZodArray<EnvironmentId>>;
|
|
3105
3118
|
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
3119
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
3106
3120
|
}, z.core.$strip>, z.ZodObject<{
|
|
3107
3121
|
actionCount: z.ZodNumber;
|
|
3108
3122
|
kind: z.ZodLiteral<"advanced">;
|
|
@@ -3190,6 +3204,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3190
3204
|
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
3191
3205
|
environmentIds: z.ZodDefault<z.ZodArray<EnvironmentId>>;
|
|
3192
3206
|
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
3207
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
3193
3208
|
}, z.core.$strip>, z.ZodObject<{
|
|
3194
3209
|
actionCount: z.ZodNumber;
|
|
3195
3210
|
kind: z.ZodLiteral<"advanced">;
|
|
@@ -3277,6 +3292,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3277
3292
|
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
3278
3293
|
environmentIds: z.ZodDefault<z.ZodArray<EnvironmentId>>;
|
|
3279
3294
|
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
3295
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
3280
3296
|
}, z.core.$strip>, z.ZodObject<{
|
|
3281
3297
|
actionCount: z.ZodNumber;
|
|
3282
3298
|
kind: z.ZodLiteral<"advanced">;
|
|
@@ -3359,6 +3375,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3359
3375
|
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
3360
3376
|
environmentIds: z.ZodDefault<z.ZodArray<EnvironmentId>>;
|
|
3361
3377
|
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
3378
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
3362
3379
|
name: z.ZodString;
|
|
3363
3380
|
triggerId: TriggerId;
|
|
3364
3381
|
}, z.core.$strip>], "kind">;
|
|
@@ -3423,6 +3440,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
3423
3440
|
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
3424
3441
|
environmentIds: z.ZodDefault<z.ZodArray<EnvironmentId>>;
|
|
3425
3442
|
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
3443
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
3426
3444
|
}, z.core.$strip>, z.ZodObject<{
|
|
3427
3445
|
actionCount: z.ZodNumber;
|
|
3428
3446
|
kind: z.ZodLiteral<"advanced">;
|
|
@@ -3590,6 +3608,7 @@ export declare const publicContractsV1: {
|
|
|
3590
3608
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
3591
3609
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
3592
3610
|
commitSha: z.ZodOptional<z.ZodString>;
|
|
3611
|
+
commitUrl: z.ZodOptional<z.ZodString>;
|
|
3593
3612
|
deployedAt: z.ZodISODateTime;
|
|
3594
3613
|
deployTarget: z.ZodOptional<z.ZodString>;
|
|
3595
3614
|
environmentId: PublicIdSchema;
|
|
@@ -3600,6 +3619,7 @@ export declare const publicContractsV1: {
|
|
|
3600
3619
|
gitlab: "gitlab";
|
|
3601
3620
|
api: "api";
|
|
3602
3621
|
}>>;
|
|
3622
|
+
service: z.ZodOptional<z.ZodString>;
|
|
3603
3623
|
status: z.ZodOptional<z.ZodEnum<{
|
|
3604
3624
|
success: "success";
|
|
3605
3625
|
pending: "pending";
|
|
@@ -3633,6 +3653,7 @@ export declare const publicContractsV1: {
|
|
|
3633
3653
|
kind: z.ZodEnum<{
|
|
3634
3654
|
branch: "branch";
|
|
3635
3655
|
deployTarget: "deployTarget";
|
|
3656
|
+
service: "service";
|
|
3636
3657
|
environment: "environment";
|
|
3637
3658
|
}>;
|
|
3638
3659
|
outcome: z.ZodLiteral<"matched">;
|
|
@@ -3640,6 +3661,7 @@ export declare const publicContractsV1: {
|
|
|
3640
3661
|
kind: z.ZodEnum<{
|
|
3641
3662
|
branch: "branch";
|
|
3642
3663
|
deployTarget: "deployTarget";
|
|
3664
|
+
service: "service";
|
|
3643
3665
|
environment: "environment";
|
|
3644
3666
|
}>;
|
|
3645
3667
|
outcome: z.ZodLiteral<"did-not-match">;
|
|
@@ -3691,6 +3713,7 @@ export declare const publicContractsV1: {
|
|
|
3691
3713
|
kind: z.ZodEnum<{
|
|
3692
3714
|
branch: "branch";
|
|
3693
3715
|
deployTarget: "deployTarget";
|
|
3716
|
+
service: "service";
|
|
3694
3717
|
environment: "environment";
|
|
3695
3718
|
}>;
|
|
3696
3719
|
outcome: z.ZodLiteral<"matched">;
|
|
@@ -3698,6 +3721,7 @@ export declare const publicContractsV1: {
|
|
|
3698
3721
|
kind: z.ZodEnum<{
|
|
3699
3722
|
branch: "branch";
|
|
3700
3723
|
deployTarget: "deployTarget";
|
|
3724
|
+
service: "service";
|
|
3701
3725
|
environment: "environment";
|
|
3702
3726
|
}>;
|
|
3703
3727
|
outcome: z.ZodLiteral<"did-not-match">;
|
|
@@ -3743,11 +3767,13 @@ export declare const publicContractsV1: {
|
|
|
3743
3767
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
3744
3768
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
3745
3769
|
commitSha: z.ZodOptional<z.ZodString>;
|
|
3770
|
+
commitUrl: z.ZodOptional<z.ZodURL>;
|
|
3746
3771
|
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
3747
3772
|
ref: z.ZodOptional<z.ZodString>;
|
|
3748
3773
|
repository: z.ZodOptional<z.ZodString>;
|
|
3749
3774
|
}, z.core.$strict>>;
|
|
3750
3775
|
providerDeploymentId: z.ZodString;
|
|
3776
|
+
service: z.ZodOptional<z.ZodString>;
|
|
3751
3777
|
status: z.ZodEnum<{
|
|
3752
3778
|
success: "success";
|
|
3753
3779
|
pending: "pending";
|
|
@@ -5018,13 +5044,14 @@ export declare const publicContractsV1: {
|
|
|
5018
5044
|
readonly openWorldHint: false;
|
|
5019
5045
|
readonly readOnlyHint: true;
|
|
5020
5046
|
};
|
|
5021
|
-
readonly description: "Get a run's status, per-flow results, and
|
|
5047
|
+
readonly description: "Get a run's status, per-flow results, links, and how many of its bugs are blocking.";
|
|
5022
5048
|
readonly input: z.ZodObject<{
|
|
5023
5049
|
runId: PublicIdSchema;
|
|
5024
5050
|
}, z.core.$strip>;
|
|
5025
5051
|
readonly kind: "read";
|
|
5026
5052
|
readonly name: "run.get";
|
|
5027
5053
|
readonly output: z.ZodObject<{
|
|
5054
|
+
blockingBugCount: z.ZodNumber;
|
|
5028
5055
|
flows: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5029
5056
|
attempts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5030
5057
|
completedAt: z.ZodISODateTime;
|
|
@@ -5818,9 +5845,10 @@ export declare const publicContractsV1: {
|
|
|
5818
5845
|
readonly openWorldHint: false;
|
|
5819
5846
|
readonly readOnlyHint: false;
|
|
5820
5847
|
};
|
|
5821
|
-
readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Launching the same id again returns the runner already running rather than starting a second one, and the same id with a different runnerName is refused. A runner is not permanent: it terminates on its own after a period of inactivity, and launching the same id after that starts and bills a new runner
|
|
5848
|
+
readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Send `initialUrl` so its browser comes up on the page the work starts from, which saves a separate navigation and the browser's cold start. Launching the same id again returns the runner already running rather than starting a second one, and the same id with a different runnerName is refused. A runner is not permanent: it terminates on its own after a period of inactivity, and launching the same id after that starts and bills a new runner, so read `alreadyRunning` to tell which happened. A success means the runner is answering: the call waits for the pod it started to come up, so the very next call to the runner reaches it. If the pod does not come up in time the call fails instead, leaving the runner running, and launching the same id again attaches to it.";
|
|
5822
5849
|
readonly input: z.ZodObject<{
|
|
5823
5850
|
id: z.ZodString;
|
|
5851
|
+
initialUrl: z.ZodOptional<z.ZodURL>;
|
|
5824
5852
|
runnerName: z.ZodOptional<z.ZodEnum<{
|
|
5825
5853
|
basic: "basic";
|
|
5826
5854
|
playwright: "playwright";
|
|
@@ -5851,7 +5879,7 @@ export declare const publicContractsV1: {
|
|
|
5851
5879
|
readonly openWorldHint: false;
|
|
5852
5880
|
readonly readOnlyHint: true;
|
|
5853
5881
|
};
|
|
5854
|
-
readonly description: "List the runners running on the caller's team right now. A
|
|
5882
|
+
readonly description: "List the runners running on the caller's team right now. A listed runner may be driven by another machine or session, so sending it work can collide with theirs. A runner that was terminated, or that terminated on its own after inactivity, is not listed, because the run system keeps no record of a runner once it is gone. This is a lookup: it never starts a runner, and it does not reset a runner's inactivity clock the way reading its journal does. It is how to find a runner launched from another machine or in an earlier session, when the id it was launched under is no longer at hand.";
|
|
5855
5883
|
readonly input: z.ZodObject<{
|
|
5856
5884
|
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
5857
5885
|
}, z.core.$strip>;
|
|
@@ -6278,6 +6306,7 @@ export declare const publicContractsV1: {
|
|
|
6278
6306
|
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
6279
6307
|
environmentIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
6280
6308
|
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
6309
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
6281
6310
|
name: z.ZodString;
|
|
6282
6311
|
workspaceId: z.ZodOptional<PublicIdSchema>;
|
|
6283
6312
|
}, z.core.$strip>], "kind">;
|
|
@@ -6342,6 +6371,7 @@ export declare const publicContractsV1: {
|
|
|
6342
6371
|
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
6343
6372
|
environmentIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
6344
6373
|
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
6374
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
6345
6375
|
}, z.core.$strip>, z.ZodObject<{
|
|
6346
6376
|
actionCount: z.ZodNumber;
|
|
6347
6377
|
kind: z.ZodLiteral<"advanced">;
|
|
@@ -6446,6 +6476,7 @@ export declare const publicContractsV1: {
|
|
|
6446
6476
|
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
6447
6477
|
environmentIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
6448
6478
|
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
6479
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
6449
6480
|
}, z.core.$strip>, z.ZodObject<{
|
|
6450
6481
|
actionCount: z.ZodNumber;
|
|
6451
6482
|
kind: z.ZodLiteral<"advanced">;
|
|
@@ -6533,6 +6564,7 @@ export declare const publicContractsV1: {
|
|
|
6533
6564
|
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
6534
6565
|
environmentIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
6535
6566
|
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
6567
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
6536
6568
|
}, z.core.$strip>, z.ZodObject<{
|
|
6537
6569
|
actionCount: z.ZodNumber;
|
|
6538
6570
|
kind: z.ZodLiteral<"advanced">;
|
|
@@ -6620,6 +6652,7 @@ export declare const publicContractsV1: {
|
|
|
6620
6652
|
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
6621
6653
|
environmentIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
6622
6654
|
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
6655
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
6623
6656
|
}, z.core.$strip>, z.ZodObject<{
|
|
6624
6657
|
actionCount: z.ZodNumber;
|
|
6625
6658
|
kind: z.ZodLiteral<"advanced">;
|
|
@@ -6707,6 +6740,7 @@ export declare const publicContractsV1: {
|
|
|
6707
6740
|
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
6708
6741
|
environmentIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
6709
6742
|
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
6743
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
6710
6744
|
}, z.core.$strip>, z.ZodObject<{
|
|
6711
6745
|
actionCount: z.ZodNumber;
|
|
6712
6746
|
kind: z.ZodLiteral<"advanced">;
|
|
@@ -6789,6 +6823,7 @@ export declare const publicContractsV1: {
|
|
|
6789
6823
|
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
6790
6824
|
environmentIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
6791
6825
|
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
6826
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
6792
6827
|
name: z.ZodString;
|
|
6793
6828
|
triggerId: PublicIdSchema;
|
|
6794
6829
|
}, z.core.$strip>], "kind">;
|
|
@@ -6853,6 +6888,7 @@ export declare const publicContractsV1: {
|
|
|
6853
6888
|
deployTargetPattern: z.ZodOptional<z.ZodString>;
|
|
6854
6889
|
environmentIds: z.ZodDefault<z.ZodArray<PublicIdSchema>>;
|
|
6855
6890
|
environmentPattern: z.ZodOptional<z.ZodString>;
|
|
6891
|
+
servicePattern: z.ZodOptional<z.ZodString>;
|
|
6856
6892
|
}, z.core.$strip>, z.ZodObject<{
|
|
6857
6893
|
actionCount: z.ZodNumber;
|
|
6858
6894
|
kind: z.ZodLiteral<"advanced">;
|
package/dist/v1/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/v1/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,cAAc,oBAAoB,CAAC;AAMnC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAuB5D,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,iBAAiB,EAEvB,MAAM,UAAU,CAAC;AAoBlB,MAAM,MAAM,cAAc,CAAC,GAAG,SAAS,oBAAoB,IAAI,CAAC,CAAC,KAAK,CACpE,GAAG,CAAC,OAAO,CAAC,CACb,CAAC;AAEF,MAAM,MAAM,eAAe,CAAC,GAAG,SAAS,oBAAoB,IAAI,CAAC,CAAC,KAAK,CACrE,GAAG,CAAC,QAAQ,CAAC,CACd,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,GAC1B,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,OAAO,SAAS,cAAc,GAAG,cAAc,EAC/C,WAAW,SAAS,cAAc,GAAG,cAAc,EACnD,QAAQ,SAAS,cAAc,GAAG,cAAc,EAChD,aAAa,SAAS,cAAc,GAAG,cAAc,EACrD,SAAS,SAAS,cAAc,GAAG,cAAc,EACjD,YAAY,SA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export type McpInputSchema = {
|
|
3
|
+
[key: string]: unknown;
|
|
4
|
+
properties?: Record<string, object>;
|
|
5
|
+
required?: string[];
|
|
6
|
+
type: "object";
|
|
7
|
+
};
|
|
8
|
+
export declare function toMcpInputSchema(input: z.ZodType): McpInputSchema;
|
|
9
|
+
//# sourceMappingURL=mcpInputSchema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcpInputSchema.d.ts","sourceRoot":"","sources":["../../src/v1/mcpInputSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,MAAM,MAAM,cAAc,GAAG;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AA2BF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,CAAC,CAAC,OAAO,GAAG,cAAc,CAYjE"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
function toObjectProperties(properties) {
|
|
3
|
+
return Object.fromEntries(Object.entries(properties).map(([key, schema]) => {
|
|
4
|
+
if (typeof schema !== "boolean")
|
|
5
|
+
return [key, schema];
|
|
6
|
+
return [key, schema ? {} : { not: {} }];
|
|
7
|
+
}));
|
|
8
|
+
}
|
|
9
|
+
function requiringWorkspaceId(schema) {
|
|
10
|
+
const { allOf, properties, required = [] } = schema;
|
|
11
|
+
const declaresWorkspaceId = properties !== undefined && "workspaceId" in properties;
|
|
12
|
+
return {
|
|
13
|
+
...schema,
|
|
14
|
+
...(allOf ? { allOf: allOf.map(requiringWorkspaceId) } : {}),
|
|
15
|
+
...(declaresWorkspaceId && !required.includes("workspaceId")
|
|
16
|
+
? { required: [...required, "workspaceId"] }
|
|
17
|
+
: {}),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export function toMcpInputSchema(input) {
|
|
21
|
+
const generated = requiringWorkspaceId(z.toJSONSchema(input, { io: "input" }));
|
|
22
|
+
delete generated.$schema;
|
|
23
|
+
const { properties, required, ...rest } = generated;
|
|
24
|
+
return {
|
|
25
|
+
...rest,
|
|
26
|
+
...(properties ? { properties: toObjectProperties(properties) } : {}),
|
|
27
|
+
...(required ? { required } : {}),
|
|
28
|
+
type: "object",
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=mcpInputSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcpInputSchema.js","sourceRoot":"","sources":["../../src/v1/mcpInputSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,SAAS,kBAAkB,CACzB,UAA4C;IAE5C,OAAO,MAAM,CAAC,WAAW,CACvB,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,MAAM,CAAC,EAAE,EAAE;QAC/C,IAAI,OAAO,MAAM,KAAK,SAAS;YAAE,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;QACtD,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1C,CAAC,CAAC,CACH,CAAC;AACJ,CAAC;AAED,SAAS,oBAAoB,CAAC,MAAkB;IAC9C,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IACpD,MAAM,mBAAmB,GACvB,UAAU,KAAK,SAAS,IAAI,aAAa,IAAI,UAAU,CAAC;IAE1D,OAAO;QACL,GAAG,MAAM;QACT,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,oBAAoB,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC5D,GAAG,CAAC,mBAAmB,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC;YAC1D,CAAC,CAAC,EAAE,QAAQ,EAAE,C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CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"mcpToolDescription.d.ts","sourceRoot":"","sources":["../../src/v1/mcpToolDescription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD,KAAK,YAAY,CAAC,IAAI,IAAI,IAAI,SAAS;IAAE,IAAI,EAAE,MAAM,IAAI,SAAS,MAAM,CAAA;CAAE,GACtE,IAAI,GACJ,IAAI,SAAS,MAAM,GACjB;KAAG,GAAG,IAAI,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;CAAE,CAAC,MAAM,IAAI,CAAC,GAC5D,KAAK,CAAC;AAEZ,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAyBxE,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,oBAAoB,GAC7B,MAAM,CAKR"}
|
|
@@ -3,8 +3,6 @@ const descriptionAddenda = {
|
|
|
3
3
|
"flow.list": "An empty flows array is not on its own evidence that QA Wolf lost a flow. Read emptyReason, report what it says, and claim no more than it establishes.",
|
|
4
4
|
"issue.update": "At least one of description, name, priority or status is required.",
|
|
5
5
|
"run.create": "At least one flow or tag is required, so send flowIds, tagNames, or both. Send at most one of aiTaskId and chatSessionId. This call has no idempotency key, so a lost response cannot be safely resubmitted: read run.find before sending it again.",
|
|
6
|
-
"runner.launch": "A runner bills for as long as it exists, so call runner_terminate as soon as the work is done. The answer carries a url: give it to the person who asked, so they can see the runner. The screen on that page plays only for whoever launched the runner, so a person opening it for one this connection launched with a team key sees the page without the screen.",
|
|
7
|
-
"runner.list": "Call this before runner_launch to reuse a runner that is already running instead of paying for a second one. A listed runner may be driven by another machine or session right now, so sending it work can collide with theirs.",
|
|
8
6
|
"runner.performAction": "Send withScreenshot: true for the screen the action led to in the same answer, rather than a second round trip through runner_takeScreenshot.",
|
|
9
7
|
"runner.runFlow": "files must include the entry point and the run's package.json. Send env or environmentId, not both. A path may be sent in files or referenced in unchangedFiles, not both. This call has no idempotency key, so a lost response cannot be safely resubmitted: read the runner's run-status journal stream before sending it again.",
|
|
10
8
|
"runner.takeScreenshot": "To see the screen an action led to, send withScreenshot: true on runner_performAction instead, which answers with the frame; call this on its own to look at the screen without acting on it.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcpToolDescription.js","sourceRoot":"","sources":["../../src/v1/mcpToolDescription.ts"],"names":[],"mappings":"AAWA,MAAM,kBAAkB,GAAgD;IACtE,oBAAoB,EAClB,0DAA0D;IAC5D,WAAW,EACT,yJAAyJ;IAC3J,cAAc,EACZ,oEAAoE;IACtE,YAAY,EACV,qPAAqP;IACvP,
|
|
1
|
+
{"version":3,"file":"mcpToolDescription.js","sourceRoot":"","sources":["../../src/v1/mcpToolDescription.ts"],"names":[],"mappings":"AAWA,MAAM,kBAAkB,GAAgD;IACtE,oBAAoB,EAClB,0DAA0D;IAC5D,WAAW,EACT,yJAAyJ;IAC3J,cAAc,EACZ,oEAAoE;IACtE,YAAY,EACV,qPAAqP;IACvP,sBAAsB,EACpB,+IAA+I;IACjJ,gBAAgB,EACd,oUAAoU;IACtU,uBAAuB,EACrB,+LAA+L;CAClM,CAAC;AAEF,SAAS,YAAY,CAAC,YAAoB;IACxC,OAAO,MAAM,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,IAAI,CAC5C,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,IAAI,KAAK,YAAY,CAClC,EAAE,CAAC,CAAC,CAAC,CAAC;AACT,CAAC;AAED,MAAM,UAAU,uBAAuB,CACrC,QAA8B;IAE9B,MAAM,QAAQ,GAAG,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC7C,OAAO,QAAQ;QACb,CAAC,CAAC,GAAG,QAAQ,CAAC,WAAW,IAAI,QAAQ,EAAE;QACvC,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC;AAC3B,CAAC"}
|
package/dist/v1/run/get.d.ts
CHANGED
|
@@ -11,13 +11,14 @@ export declare const makeGetRunContract: <FlowId extends PublicIdSchema, IssueId
|
|
|
11
11
|
readonly openWorldHint: false;
|
|
12
12
|
readonly readOnlyHint: true;
|
|
13
13
|
};
|
|
14
|
-
readonly description: "Get a run's status, per-flow results, and
|
|
14
|
+
readonly description: "Get a run's status, per-flow results, links, and how many of its bugs are blocking.";
|
|
15
15
|
readonly input: z.ZodObject<{
|
|
16
16
|
runId: RunId;
|
|
17
17
|
}, z.core.$strip>;
|
|
18
18
|
readonly kind: "read";
|
|
19
19
|
readonly name: "run.get";
|
|
20
20
|
readonly output: z.ZodObject<{
|
|
21
|
+
blockingBugCount: z.ZodNumber;
|
|
21
22
|
flows: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
22
23
|
attempts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
23
24
|
completedAt: z.ZodISODateTime;
|
package/dist/v1/run/get.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/run/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAKhD,eAAO,MAAM,kBAAkB,GAC7B,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;CACZ
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/run/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAKhD,eAAO,MAAM,kBAAkB,GAC7B,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6KA,CAAC"}
|
package/dist/v1/run/get.js
CHANGED
|
@@ -128,6 +128,11 @@ export const makeGetRunContract = (ids) => {
|
|
|
128
128
|
.describe("The run's flows, ordered alphabetically by name.");
|
|
129
129
|
const output = resource({
|
|
130
130
|
...makeRunSummaryFields(ids),
|
|
131
|
+
blockingBugCount: z
|
|
132
|
+
.number()
|
|
133
|
+
.int()
|
|
134
|
+
.nonnegative()
|
|
135
|
+
.describe("How many bugs this run found are blocking: still open, and priority urgent, high, or unprioritized — unprioritized counts because nobody has ruled it out yet. This is what `failed` is derived from, so it explains a failure rather than adding a second verdict: gate on `status`, then read this to say how many bugs are holding the build. It counts a bug filed against a later run by an investigation that carried over from this one, and it drops a bug once that bug is resolved."),
|
|
131
136
|
flows,
|
|
132
137
|
// Overrides the shared field: only this endpoint takes a run id, so only
|
|
133
138
|
// here can the answer describe a different run than the one requested.
|
|
@@ -139,7 +144,7 @@ export const makeGetRunContract = (ids) => {
|
|
|
139
144
|
openWorldHint: false,
|
|
140
145
|
readOnlyHint: true,
|
|
141
146
|
},
|
|
142
|
-
description: "Get a run's status, per-flow results, and
|
|
147
|
+
description: "Get a run's status, per-flow results, links, and how many of its bugs are blocking.",
|
|
143
148
|
input,
|
|
144
149
|
kind: "read",
|
|
145
150
|
name: "run.get",
|
package/dist/v1/run/get.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/v1/run/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEpD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAIhC,GAKD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,KAAK,EAAE,GAAG,CAAC,GAAG;KACf,CAAC,CAAC;IAEH,2EAA2E;IAC3E,uEAAuE;IACvE,0EAA0E;IAC1E,uBAAuB;IACvB,MAAM,YAAY,GAAG;QACnB,OAAO,EAAE,CAAC;aACP,GAAG,EAAE;aACL,QAAQ,EAAE;aACV,QAAQ,CAAC,8CAA8C,CAAC;QAC3D,QAAQ,EAAE,CAAC;aACR,GAAG,EAAE;aACL,QAAQ,EAAE;aACV,QAAQ,CACP,wGAAwG,CACzG;QACH,QAAQ,EAAE,CAAC;aACR,GAAG,EAAE;aACL,QAAQ,EAAE;aACV,QAAQ,CAAC,gDAAgD,CAAC;KAC9D,CAAC;IACF,MAAM,aAAa,GAAG,CAAC;SACpB,OAAO,CAAC,WAAW,CAAC;SACpB,QAAQ,CAAC,sCAAsC,CAAC,CAAC;IACpD,sEAAsE;IACtE,yEAAyE;IACzE,uEAAuE;IACvE,0EAA0E;IAC1E,2CAA2C;IAC3C,MAAM,gBAAgB,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;QACtD,CAAC,CAAC,MAAM,CAAC;YACP,GAAG,YAAY;YACf,WAAW,EAAE,CAAC,CAAC,GAAG,CAA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WAAW,EACT,qFAAqF;QACvF,KAAK;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,SAAS;QACf,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
package/dist/v1/run/summary.js
CHANGED
|
@@ -29,6 +29,6 @@ export const makeRunSummaryFields = (ids) => ({
|
|
|
29
29
|
runId: ids.run,
|
|
30
30
|
status: z
|
|
31
31
|
.enum(["queued", "running", "passed", "failed", "canceled"])
|
|
32
|
-
.describe("Whole-run status. Terminal statuses are passed, failed, and canceled; poll until one is reached."),
|
|
32
|
+
.describe("Whole-run status, and the value to gate a pipeline on. Terminal statuses are passed, failed, and canceled; poll until one is reached. `failed` means the run found a bug that is still open and serious enough to block — a lower-priority bug, or one since resolved, reads `passed`, and the per-flow diagnoses are still in `flows`. The run stays `running` while any investigation is unresolved, including one that carried over to a later run, so a terminal status always means a settled answer."),
|
|
33
33
|
});
|
|
34
34
|
//# sourceMappingURL=summary.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"summary.js","sourceRoot":"","sources":["../../../src/v1/run/summary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,6EAA6E;AAC7E,2EAA2E;AAC3E,sCAAsC;AACtC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAA+B,GAElE,EAAE,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,CAAC,CAAC,GAAG;SACf,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,+KAA+K,CAChL;IACH,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;IAC3B,GAAG,EAAE,CAAC;SACH,MAAM,CAAC;QACN,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC7B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACpC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,C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,CACP,wLAAwL,CACzL;IACH,8EAA8E;IAC9E,8EAA8E;IAC9E,gCAAgC;IAChC,KAAK,EAAE,GAAG,CAAC,GAAG;IACd,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC;SAC3D,QAAQ,CACP,4eAA4e,CAC7e;CACJ,CAAC,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
/** The keyboard is held for 50 ms per character, so 200 of them is ten seconds. */
|
|
3
3
|
export declare const maxTypedTextLength = 200;
|
|
4
|
+
/** Only the two schemes a browser navigation means, matched on the parsed scheme. */
|
|
5
|
+
export declare const navigableUrlSchema: z.ZodURL;
|
|
4
6
|
/** The action shapes, bounded. Strict: a bound rejects rather than truncates. */
|
|
5
7
|
export declare const browserActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6
8
|
button: z.ZodLiteral<"left" | "right" | "wheel" | "back" | "forward">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browserAction.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/browserAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyBxB,mFAAmF;AACnF,eAAO,MAAM,kBAAkB,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"browserAction.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/browserAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyBxB,mFAAmF;AACnF,eAAO,MAAM,kBAAkB,MAAM,CAAC;AAatC,qFAAqF;AACrF,eAAO,MAAM,kBAAkB,UAEH,CAAC;AAE7B,iFAAiF;AACjF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BA+C9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -27,7 +27,7 @@ const maxDragPathPoints = 100;
|
|
|
27
27
|
/** The de-facto ceiling browsers honour. */
|
|
28
28
|
const maxNavigateUrlLength = 2048;
|
|
29
29
|
/** Only the two schemes a browser navigation means, matched on the parsed scheme. */
|
|
30
|
-
const navigableUrlSchema = z
|
|
30
|
+
export const navigableUrlSchema = z
|
|
31
31
|
.url({ protocol: /^https?$/ })
|
|
32
32
|
.max(maxNavigateUrlLength);
|
|
33
33
|
/** The action shapes, bounded. Strict: a bound rejects rather than truncates. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browserAction.js","sourceRoot":"","sources":["../../../src/v1/runner/browserAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;GAMG;AAEH,qDAAqD;AACrD,MAAM,mBAAmB,GAAG,MAAM,CAAC;AAEnC,MAAM,sBAAsB,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;AAEvE,MAAM,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IACvC,CAAC,EAAE,sBAAsB;IACzB,CAAC,EAAE,sBAAsB;CAC1B,CAAC,CAAC;AAEH,0EAA0E;AAC1E,MAAM,cAAc,GAAG,KAAK,CAAC;AAE7B,MAAM,iBAAiB,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,cAAc,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;AAE3E,mFAAmF;AACnF,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAC;AAEtC,8EAA8E;AAC9E,MAAM,eAAe,GAAG,EAAE,CAAC;AAC3B,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAE5B,gFAAgF;AAChF,MAAM,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AAG,CAAC,gBAAgB,CAAC,CAAC;aAC9C,GAAG,CAAC,CAAC,CAAC;aACN,GAAG,CAAC,eAAe,CAAC;QACvB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;KAC5B,CAAC;IACF,mFAAmF;IACnF,CAAC,CAAC,YAAY,CAAC;QACb,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;QAC3B,GAAG,EAAE,kBAAkB;KACxB,CAAC;IACF,CAAC,CAAC,YAAY,CAAC;QACb,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC;QAC/C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC;KACxB,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -612,9 +612,10 @@ export declare const makeRunnerContracts: <WorkspaceId extends PublicIdSchema>(i
|
|
|
612
612
|
readonly openWorldHint: false;
|
|
613
613
|
readonly readOnlyHint: false;
|
|
614
614
|
};
|
|
615
|
-
readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Launching the same id again returns the runner already running rather than starting a second one, and the same id with a different runnerName is refused. A runner is not permanent: it terminates on its own after a period of inactivity, and launching the same id after that starts and bills a new runner
|
|
615
|
+
readonly description: "Launch an interactive runner on the caller's team under an id the caller chooses. Send `initialUrl` so its browser comes up on the page the work starts from, which saves a separate navigation and the browser's cold start. Launching the same id again returns the runner already running rather than starting a second one, and the same id with a different runnerName is refused. A runner is not permanent: it terminates on its own after a period of inactivity, and launching the same id after that starts and bills a new runner, so read `alreadyRunning` to tell which happened. A success means the runner is answering: the call waits for the pod it started to come up, so the very next call to the runner reaches it. If the pod does not come up in time the call fails instead, leaving the runner running, and launching the same id again attaches to it.";
|
|
616
616
|
readonly input: import("zod").ZodObject<{
|
|
617
617
|
id: import("zod").ZodString;
|
|
618
|
+
initialUrl: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
618
619
|
runnerName: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
619
620
|
basic: "basic";
|
|
620
621
|
playwright: "playwright";
|
|
@@ -645,7 +646,7 @@ export declare const makeRunnerContracts: <WorkspaceId extends PublicIdSchema>(i
|
|
|
645
646
|
readonly openWorldHint: false;
|
|
646
647
|
readonly readOnlyHint: true;
|
|
647
648
|
};
|
|
648
|
-
readonly description: "List the runners running on the caller's team right now. A
|
|
649
|
+
readonly description: "List the runners running on the caller's team right now. A listed runner may be driven by another machine or session, so sending it work can collide with theirs. A runner that was terminated, or that terminated on its own after inactivity, is not listed, because the run system keeps no record of a runner once it is gone. This is a lookup: it never starts a runner, and it does not reset a runner's inactivity clock the way reading its journal does. It is how to find a runner launched from another machine or in an earlier session, when the id it was launched under is no longer at hand.";
|
|
649
650
|
readonly input: import("zod").ZodObject<{
|
|
650
651
|
workspaceId: import("zod").ZodOptional<WorkspaceId>;
|
|
651
652
|
}, import("zod/v4/core").$strip>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAsBhD,eAAO,MAAM,mBAAmB,GAAI,WAAW,SAAS,cAAc,EAAE,KAAK;IAC3E,cAAc,EAAE,cAAc,CAAC;IAC/B,SAAS,EAAE,WAAW,CAAC;CACxB
|
|
1
|
+
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../src/v1/runner/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAsBhD,eAAO,MAAM,mBAAmB,GAAI,WAAW,SAAS,cAAc,EAAE,KAAK;IAC3E,cAAc,EAAE,cAAc,CAAC;IAC/B,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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