@qawolf/api-contracts 0.85.0 → 0.89.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.
@@ -17,7 +17,7 @@ export declare const makePromoteEnvironmentContract: <AiTaskId extends PublicIdS
17
17
  readonly openWorldHint: false;
18
18
  readonly readOnlyHint: false;
19
19
  };
20
- readonly description: "Declare a preview environment's work accepted, typically when its pull request merges: its flow changes are promoted into its base environment and the environment is terminated once they land. Returns the promotion in pending; poll promotion.get to learn how it settled. Calling again while a promotion is open returns that promotion. A conflict settles the promotion conflicted and cancels the environment's in-progress runs; promotion.get names the conflicting paths. Use environment.discard instead when the work is abandoned.";
20
+ readonly description: "Declare a preview environment's work accepted, typically when its pull request merges: its flow changes are promoted into its base environment and the environment is terminated once they land. Returns the promotion in pending; poll promotion.get to learn how it settled. Calling again while a promotion is open returns that promotion. A conflict settles the promotion conflicted and cancels the environment's in-progress runs; promotion.get names the conflicting paths. Use environment.terminate instead when the work is abandoned.";
21
21
  readonly input: z.ZodObject<{
22
22
  environmentId: PublicIdSchema;
23
23
  workspaceId: z.ZodOptional<WorkspaceId>;
@@ -18,7 +18,7 @@ export const makePromoteEnvironmentContract = (ids) => {
18
18
  openWorldHint: false,
19
19
  readOnlyHint: false,
20
20
  },
21
- description: "Declare a preview environment's work accepted, typically when its pull request merges: its flow changes are promoted into its base environment and the environment is terminated once they land. Returns the promotion in pending; poll promotion.get to learn how it settled. Calling again while a promotion is open returns that promotion. A conflict settles the promotion conflicted and cancels the environment's in-progress runs; promotion.get names the conflicting paths. Use environment.discard instead when the work is abandoned.",
21
+ description: "Declare a preview environment's work accepted, typically when its pull request merges: its flow changes are promoted into its base environment and the environment is terminated once they land. Returns the promotion in pending; poll promotion.get to learn how it settled. Calling again while a promotion is open returns that promotion. A conflict settles the promotion conflicted and cancels the environment's in-progress runs; promotion.get names the conflicting paths. Use environment.terminate instead when the work is abandoned.",
22
22
  input,
23
23
  kind: "write",
24
24
  name: "environment.promote",
@@ -1 +1 @@
1
- {"version":3,"file":"promote.js","sourceRoot":"","sources":["../../../src/v1/environment/promote.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAuB,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAC5E,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAEvE,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAK5C,GAMD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,GAAG,CAAC,cAAc;QACjC,WAAW,EAAE,0BAA0B,CAAC,GAAG,CAAC,SAAS,CAAC;KACvD,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,2BAA2B,CAAC,GAAG,CAAC,CAAC;IAEhD,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,oGAAoG;YACtG,aAAa,EACX,4FAA4F;YAC9F,YAAY,EACV,qEAAqE;SACxE;QACD,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,mhBAAmhB;QACrhB,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,qBAAqB;QAC3B,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"promote.js","sourceRoot":"","sources":["../../../src/v1/environment/promote.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAuB,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAC5E,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAEvE,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAK5C,GAMD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,GAAG,CAAC,cAAc;QACjC,WAAW,EAAE,0BAA0B,CAAC,GAAG,CAAC,SAAS,CAAC;KACvD,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,2BAA2B,CAAC,GAAG,CAAC,CAAC;IAEhD,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,oGAAoG;YACtG,aAAa,EACX,4FAA4F;YAC9F,YAAY,EACV,qEAAqE;SACxE;QACD,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,qhBAAqhB;QACvhB,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,qBAAqB;QAC3B,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  import { type PublicIdSchema } from "../ids.js";
3
- export declare const makeDiscardEnvironmentContract: <EnvironmentId extends PublicIdSchema, WorkspaceId extends PublicIdSchema>(ids: {
3
+ export declare const makeTerminateEnvironmentContract: <EnvironmentId extends PublicIdSchema, WorkspaceId extends PublicIdSchema>(ids: {
4
4
  environment: EnvironmentId;
5
5
  environmentRef: PublicIdSchema;
6
6
  workspace: WorkspaceId;
@@ -15,13 +15,13 @@ export declare const makeDiscardEnvironmentContract: <EnvironmentId extends Publ
15
15
  readonly openWorldHint: false;
16
16
  readonly readOnlyHint: false;
17
17
  };
18
- readonly description: "Declare a preview environment's work discarded, typically when its pull request closes without merging: the environment is terminated and its flow changes are not promoted into its base. Returns the environment, now terminated. A terminated environment cannot be discarded again. Use environment.promote instead when the work is accepted.";
18
+ readonly description: "Terminate a preview environment, typically when its pull request closes without merging: its flow changes are not promoted into its base. Returns the environment, now terminated. A terminated environment cannot be terminated again. Use environment.promote instead when the work is accepted.";
19
19
  readonly input: z.ZodObject<{
20
20
  environmentId: PublicIdSchema;
21
21
  workspaceId: z.ZodOptional<WorkspaceId>;
22
22
  }, z.core.$strip>;
23
23
  readonly kind: "write";
24
- readonly name: "environment.discard";
24
+ readonly name: "environment.terminate";
25
25
  readonly output: z.ZodObject<{
26
26
  alias: z.ZodOptional<z.ZodString>;
27
27
  flowCodeBranch: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -51,4 +51,4 @@ export declare const makeDiscardEnvironmentContract: <EnvironmentId extends Publ
51
51
  url: z.ZodURL;
52
52
  }, z.core.$strip>;
53
53
  };
54
- //# sourceMappingURL=discard.d.ts.map
54
+ //# sourceMappingURL=terminate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"terminate.d.ts","sourceRoot":"","sources":["../../../src/v1/environment/terminate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,KAAK,cAAc,EAA8B,MAAM,WAAW,CAAC;AAI5E,eAAO,MAAM,gCAAgC,GAC3C,aAAa,SAAS,cAAc,EACpC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;IAC/B,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCA,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
2
  import { workspaceForEnvironmentRef } from "../ids.js";
3
3
  import { makeEnvironmentResourceSchema } from "./resource.js";
4
- export const makeDiscardEnvironmentContract = (ids) => {
4
+ export const makeTerminateEnvironmentContract = (ids) => {
5
5
  const input = z.object({
6
6
  environmentId: ids.environmentRef,
7
7
  workspaceId: workspaceForEnvironmentRef(ids.workspace),
@@ -18,11 +18,11 @@ export const makeDiscardEnvironmentContract = (ids) => {
18
18
  openWorldHint: false,
19
19
  readOnlyHint: false,
20
20
  },
21
- description: "Declare a preview environment's work discarded, typically when its pull request closes without merging: the environment is terminated and its flow changes are not promoted into its base. Returns the environment, now terminated. A terminated environment cannot be discarded again. Use environment.promote instead when the work is accepted.",
21
+ description: "Terminate a preview environment, typically when its pull request closes without merging: its flow changes are not promoted into its base. Returns the environment, now terminated. A terminated environment cannot be terminated again. Use environment.promote instead when the work is accepted.",
22
22
  input,
23
23
  kind: "write",
24
- name: "environment.discard",
24
+ name: "environment.terminate",
25
25
  output,
26
26
  };
27
27
  };
28
- //# sourceMappingURL=discard.js.map
28
+ //# sourceMappingURL=terminate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"terminate.js","sourceRoot":"","sources":["../../../src/v1/environment/terminate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAuB,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAE5E,OAAO,EAAE,6BAA6B,EAAE,MAAM,eAAe,CAAC;AAE9D,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAG9C,GAID,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,GAAG,CAAC,cAAc;QACjC,WAAW,EAAE,0BAA0B,CAAC,GAAG,CAAC,SAAS,CAAC;KACvD,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,6BAA6B,CAAC,GAAG,CAAC,CAAC;IAElD,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,qGAAqG;YACvG,aAAa,EACX,sFAAsF;YACxF,YAAY,EAAE,sDAAsD;SACrE;QACD,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,oSAAoS;QACtS,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,uBAAuB;QAC7B,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
@@ -887,53 +887,6 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
887
887
  name: z.ZodString;
888
888
  }, z.core.$strip>;
889
889
  };
890
- discard: {
891
- readonly annotationJustifications: {
892
- readonly destructiveHint: "Terminates the environment for good: its runs are canceled and its flow changes are never promoted.";
893
- readonly openWorldHint: "Changes QA Wolf environments only, not the customer's own repository or deployments.";
894
- readonly readOnlyHint: "Terminates an environment and returns it terminated.";
895
- };
896
- readonly annotations: {
897
- readonly destructiveHint: true;
898
- readonly openWorldHint: false;
899
- readonly readOnlyHint: false;
900
- };
901
- readonly description: "Declare a preview environment's work discarded, typically when its pull request closes without merging: the environment is terminated and its flow changes are not promoted into its base. Returns the environment, now terminated. A terminated environment cannot be discarded again. Use environment.promote instead when the work is accepted.";
902
- readonly input: z.ZodObject<{
903
- environmentId: PublicIdSchema;
904
- workspaceId: z.ZodOptional<WorkspaceId>;
905
- }, z.core.$strip>;
906
- readonly kind: "write";
907
- readonly name: "environment.discard";
908
- readonly output: z.ZodObject<{
909
- alias: z.ZodOptional<z.ZodString>;
910
- flowCodeBranch: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
911
- lastSyncedCommitHash: z.ZodString;
912
- name: z.ZodString;
913
- syncStatus: z.ZodLiteral<"reconciled">;
914
- }, z.core.$strip>, z.ZodObject<{
915
- name: z.ZodString;
916
- syncStatus: z.ZodLiteral<"not-reconciled">;
917
- }, z.core.$strip>], "syncStatus">>;
918
- id: EnvironmentId;
919
- isDefault: z.ZodBoolean;
920
- kind: z.ZodEnum<{
921
- static: "static";
922
- preview: "preview";
923
- }>;
924
- name: z.ZodString;
925
- runConcurrencyLimit: z.ZodString;
926
- status: z.ZodEnum<{
927
- running: "running";
928
- blocked: "blocked";
929
- "needs-investigation": "needs-investigation";
930
- ready: "ready";
931
- }>;
932
- terminatedAt: z.ZodOptional<z.ZodISODateTime>;
933
- variablesUrl: z.ZodOptional<z.ZodURL>;
934
- url: z.ZodURL;
935
- }, z.core.$strip>;
936
- };
937
890
  find: {
938
891
  readonly annotationJustifications: {
939
892
  readonly destructiveHint: "Does not edit environments, variables or branches.";
@@ -1098,7 +1051,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1098
1051
  readonly openWorldHint: false;
1099
1052
  readonly readOnlyHint: false;
1100
1053
  };
1101
- readonly description: "Declare a preview environment's work accepted, typically when its pull request merges: its flow changes are promoted into its base environment and the environment is terminated once they land. Returns the promotion in pending; poll promotion.get to learn how it settled. Calling again while a promotion is open returns that promotion. A conflict settles the promotion conflicted and cancels the environment's in-progress runs; promotion.get names the conflicting paths. Use environment.discard instead when the work is abandoned.";
1054
+ readonly description: "Declare a preview environment's work accepted, typically when its pull request merges: its flow changes are promoted into its base environment and the environment is terminated once they land. Returns the promotion in pending; poll promotion.get to learn how it settled. Calling again while a promotion is open returns that promotion. A conflict settles the promotion conflicted and cancels the environment's in-progress runs; promotion.get names the conflicting paths. Use environment.terminate instead when the work is abandoned.";
1102
1055
  readonly input: z.ZodObject<{
1103
1056
  environmentId: PublicIdSchema;
1104
1057
  workspaceId: z.ZodOptional<WorkspaceId>;
@@ -1153,6 +1106,53 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1153
1106
  name: z.ZodString;
1154
1107
  }, z.core.$strip>;
1155
1108
  };
1109
+ terminate: {
1110
+ readonly annotationJustifications: {
1111
+ readonly destructiveHint: "Terminates the environment for good: its runs are canceled and its flow changes are never promoted.";
1112
+ readonly openWorldHint: "Changes QA Wolf environments only, not the customer's own repository or deployments.";
1113
+ readonly readOnlyHint: "Terminates an environment and returns it terminated.";
1114
+ };
1115
+ readonly annotations: {
1116
+ readonly destructiveHint: true;
1117
+ readonly openWorldHint: false;
1118
+ readonly readOnlyHint: false;
1119
+ };
1120
+ readonly description: "Terminate a preview environment, typically when its pull request closes without merging: its flow changes are not promoted into its base. Returns the environment, now terminated. A terminated environment cannot be terminated again. Use environment.promote instead when the work is accepted.";
1121
+ readonly input: z.ZodObject<{
1122
+ environmentId: PublicIdSchema;
1123
+ workspaceId: z.ZodOptional<WorkspaceId>;
1124
+ }, z.core.$strip>;
1125
+ readonly kind: "write";
1126
+ readonly name: "environment.terminate";
1127
+ readonly output: z.ZodObject<{
1128
+ alias: z.ZodOptional<z.ZodString>;
1129
+ flowCodeBranch: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1130
+ lastSyncedCommitHash: z.ZodString;
1131
+ name: z.ZodString;
1132
+ syncStatus: z.ZodLiteral<"reconciled">;
1133
+ }, z.core.$strip>, z.ZodObject<{
1134
+ name: z.ZodString;
1135
+ syncStatus: z.ZodLiteral<"not-reconciled">;
1136
+ }, z.core.$strip>], "syncStatus">>;
1137
+ id: EnvironmentId;
1138
+ isDefault: z.ZodBoolean;
1139
+ kind: z.ZodEnum<{
1140
+ static: "static";
1141
+ preview: "preview";
1142
+ }>;
1143
+ name: z.ZodString;
1144
+ runConcurrencyLimit: z.ZodString;
1145
+ status: z.ZodEnum<{
1146
+ running: "running";
1147
+ blocked: "blocked";
1148
+ "needs-investigation": "needs-investigation";
1149
+ ready: "ready";
1150
+ }>;
1151
+ terminatedAt: z.ZodOptional<z.ZodISODateTime>;
1152
+ variablesUrl: z.ZodOptional<z.ZodURL>;
1153
+ url: z.ZodURL;
1154
+ }, z.core.$strip>;
1155
+ };
1156
1156
  update: {
1157
1157
  readonly annotationJustifications: {
1158
1158
  readonly destructiveHint: "Can overwrite existing environment settings and affect future run capacity.";
@@ -1433,6 +1433,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1433
1433
  commitHash: z.ZodString;
1434
1434
  type: z.ZodLiteral<"commit">;
1435
1435
  }, z.core.$strip>, z.ZodObject<{
1436
+ applyOn: z.ZodOptional<z.ZodString>;
1436
1437
  baselineChangeId: z.ZodOptional<z.ZodString>;
1437
1438
  comparisonId: z.ZodString;
1438
1439
  type: z.ZodLiteral<"baseline">;
@@ -1449,6 +1450,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1449
1450
  high: "high";
1450
1451
  urgent: "urgent";
1451
1452
  }>>;
1453
+ pullRequest: z.ZodOptional<z.ZodObject<{
1454
+ file: z.ZodOptional<z.ZodString>;
1455
+ line: z.ZodOptional<z.ZodNumber>;
1456
+ reason: z.ZodString;
1457
+ verdict: z.ZodString;
1458
+ }, z.core.$strip>>;
1452
1459
  question: z.ZodOptional<z.ZodObject<{
1453
1460
  answers: z.ZodArray<z.ZodObject<{
1454
1461
  description: z.ZodOptional<z.ZodString>;
@@ -1477,6 +1484,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1477
1484
  investigating: "investigating";
1478
1485
  finished: "finished";
1479
1486
  "not-investigated": "not-investigated";
1487
+ "not-enabled": "not-enabled";
1480
1488
  }>;
1481
1489
  subSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1482
1490
  sessionId: ChatSessionId;
@@ -2231,6 +2239,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2231
2239
  outcome: z.ZodLiteral<"needs-approval">;
2232
2240
  }, z.core.$strip>, z.ZodObject<{
2233
2241
  outcome: z.ZodLiteral<"not-investigation-session">;
2242
+ }, z.core.$strip>, z.ZodObject<{
2243
+ outcome: z.ZodLiteral<"waits-for-merge">;
2234
2244
  }, z.core.$strip>, z.ZodObject<{
2235
2245
  outcome: z.ZodLiteral<"nothing-to-accept">;
2236
2246
  }, z.core.$strip>], "outcome">;
@@ -5460,53 +5470,6 @@ export declare const publicContractsV1: {
5460
5470
  name: z.ZodString;
5461
5471
  }, z.core.$strip>;
5462
5472
  };
5463
- discard: {
5464
- readonly annotationJustifications: {
5465
- readonly destructiveHint: "Terminates the environment for good: its runs are canceled and its flow changes are never promoted.";
5466
- readonly openWorldHint: "Changes QA Wolf environments only, not the customer's own repository or deployments.";
5467
- readonly readOnlyHint: "Terminates an environment and returns it terminated.";
5468
- };
5469
- readonly annotations: {
5470
- readonly destructiveHint: true;
5471
- readonly openWorldHint: false;
5472
- readonly readOnlyHint: false;
5473
- };
5474
- readonly description: "Declare a preview environment's work discarded, typically when its pull request closes without merging: the environment is terminated and its flow changes are not promoted into its base. Returns the environment, now terminated. A terminated environment cannot be discarded again. Use environment.promote instead when the work is accepted.";
5475
- readonly input: z.ZodObject<{
5476
- environmentId: PublicIdSchema;
5477
- workspaceId: z.ZodOptional<PublicIdSchema>;
5478
- }, z.core.$strip>;
5479
- readonly kind: "write";
5480
- readonly name: "environment.discard";
5481
- readonly output: z.ZodObject<{
5482
- alias: z.ZodOptional<z.ZodString>;
5483
- flowCodeBranch: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
5484
- lastSyncedCommitHash: z.ZodString;
5485
- name: z.ZodString;
5486
- syncStatus: z.ZodLiteral<"reconciled">;
5487
- }, z.core.$strip>, z.ZodObject<{
5488
- name: z.ZodString;
5489
- syncStatus: z.ZodLiteral<"not-reconciled">;
5490
- }, z.core.$strip>], "syncStatus">>;
5491
- id: PublicIdSchema;
5492
- isDefault: z.ZodBoolean;
5493
- kind: z.ZodEnum<{
5494
- static: "static";
5495
- preview: "preview";
5496
- }>;
5497
- name: z.ZodString;
5498
- runConcurrencyLimit: z.ZodString;
5499
- status: z.ZodEnum<{
5500
- running: "running";
5501
- blocked: "blocked";
5502
- "needs-investigation": "needs-investigation";
5503
- ready: "ready";
5504
- }>;
5505
- terminatedAt: z.ZodOptional<z.ZodISODateTime>;
5506
- variablesUrl: z.ZodOptional<z.ZodURL>;
5507
- url: z.ZodURL;
5508
- }, z.core.$strip>;
5509
- };
5510
5473
  find: {
5511
5474
  readonly annotationJustifications: {
5512
5475
  readonly destructiveHint: "Does not edit environments, variables or branches.";
@@ -5671,7 +5634,7 @@ export declare const publicContractsV1: {
5671
5634
  readonly openWorldHint: false;
5672
5635
  readonly readOnlyHint: false;
5673
5636
  };
5674
- readonly description: "Declare a preview environment's work accepted, typically when its pull request merges: its flow changes are promoted into its base environment and the environment is terminated once they land. Returns the promotion in pending; poll promotion.get to learn how it settled. Calling again while a promotion is open returns that promotion. A conflict settles the promotion conflicted and cancels the environment's in-progress runs; promotion.get names the conflicting paths. Use environment.discard instead when the work is abandoned.";
5637
+ readonly description: "Declare a preview environment's work accepted, typically when its pull request merges: its flow changes are promoted into its base environment and the environment is terminated once they land. Returns the promotion in pending; poll promotion.get to learn how it settled. Calling again while a promotion is open returns that promotion. A conflict settles the promotion conflicted and cancels the environment's in-progress runs; promotion.get names the conflicting paths. Use environment.terminate instead when the work is abandoned.";
5675
5638
  readonly input: z.ZodObject<{
5676
5639
  environmentId: PublicIdSchema;
5677
5640
  workspaceId: z.ZodOptional<PublicIdSchema>;
@@ -5726,6 +5689,53 @@ export declare const publicContractsV1: {
5726
5689
  name: z.ZodString;
5727
5690
  }, z.core.$strip>;
5728
5691
  };
5692
+ terminate: {
5693
+ readonly annotationJustifications: {
5694
+ readonly destructiveHint: "Terminates the environment for good: its runs are canceled and its flow changes are never promoted.";
5695
+ readonly openWorldHint: "Changes QA Wolf environments only, not the customer's own repository or deployments.";
5696
+ readonly readOnlyHint: "Terminates an environment and returns it terminated.";
5697
+ };
5698
+ readonly annotations: {
5699
+ readonly destructiveHint: true;
5700
+ readonly openWorldHint: false;
5701
+ readonly readOnlyHint: false;
5702
+ };
5703
+ readonly description: "Terminate a preview environment, typically when its pull request closes without merging: its flow changes are not promoted into its base. Returns the environment, now terminated. A terminated environment cannot be terminated again. Use environment.promote instead when the work is accepted.";
5704
+ readonly input: z.ZodObject<{
5705
+ environmentId: PublicIdSchema;
5706
+ workspaceId: z.ZodOptional<PublicIdSchema>;
5707
+ }, z.core.$strip>;
5708
+ readonly kind: "write";
5709
+ readonly name: "environment.terminate";
5710
+ readonly output: z.ZodObject<{
5711
+ alias: z.ZodOptional<z.ZodString>;
5712
+ flowCodeBranch: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
5713
+ lastSyncedCommitHash: z.ZodString;
5714
+ name: z.ZodString;
5715
+ syncStatus: z.ZodLiteral<"reconciled">;
5716
+ }, z.core.$strip>, z.ZodObject<{
5717
+ name: z.ZodString;
5718
+ syncStatus: z.ZodLiteral<"not-reconciled">;
5719
+ }, z.core.$strip>], "syncStatus">>;
5720
+ id: PublicIdSchema;
5721
+ isDefault: z.ZodBoolean;
5722
+ kind: z.ZodEnum<{
5723
+ static: "static";
5724
+ preview: "preview";
5725
+ }>;
5726
+ name: z.ZodString;
5727
+ runConcurrencyLimit: z.ZodString;
5728
+ status: z.ZodEnum<{
5729
+ running: "running";
5730
+ blocked: "blocked";
5731
+ "needs-investigation": "needs-investigation";
5732
+ ready: "ready";
5733
+ }>;
5734
+ terminatedAt: z.ZodOptional<z.ZodISODateTime>;
5735
+ variablesUrl: z.ZodOptional<z.ZodURL>;
5736
+ url: z.ZodURL;
5737
+ }, z.core.$strip>;
5738
+ };
5729
5739
  update: {
5730
5740
  readonly annotationJustifications: {
5731
5741
  readonly destructiveHint: "Can overwrite existing environment settings and affect future run capacity.";
@@ -6006,6 +6016,7 @@ export declare const publicContractsV1: {
6006
6016
  commitHash: z.ZodString;
6007
6017
  type: z.ZodLiteral<"commit">;
6008
6018
  }, z.core.$strip>, z.ZodObject<{
6019
+ applyOn: z.ZodOptional<z.ZodString>;
6009
6020
  baselineChangeId: z.ZodOptional<z.ZodString>;
6010
6021
  comparisonId: z.ZodString;
6011
6022
  type: z.ZodLiteral<"baseline">;
@@ -6022,6 +6033,12 @@ export declare const publicContractsV1: {
6022
6033
  high: "high";
6023
6034
  urgent: "urgent";
6024
6035
  }>>;
6036
+ pullRequest: z.ZodOptional<z.ZodObject<{
6037
+ file: z.ZodOptional<z.ZodString>;
6038
+ line: z.ZodOptional<z.ZodNumber>;
6039
+ reason: z.ZodString;
6040
+ verdict: z.ZodString;
6041
+ }, z.core.$strip>>;
6025
6042
  question: z.ZodOptional<z.ZodObject<{
6026
6043
  answers: z.ZodArray<z.ZodObject<{
6027
6044
  description: z.ZodOptional<z.ZodString>;
@@ -6050,6 +6067,7 @@ export declare const publicContractsV1: {
6050
6067
  investigating: "investigating";
6051
6068
  finished: "finished";
6052
6069
  "not-investigated": "not-investigated";
6070
+ "not-enabled": "not-enabled";
6053
6071
  }>;
6054
6072
  subSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
6055
6073
  sessionId: PublicIdSchema;
@@ -6804,6 +6822,8 @@ export declare const publicContractsV1: {
6804
6822
  outcome: z.ZodLiteral<"needs-approval">;
6805
6823
  }, z.core.$strip>, z.ZodObject<{
6806
6824
  outcome: z.ZodLiteral<"not-investigation-session">;
6825
+ }, z.core.$strip>, z.ZodObject<{
6826
+ outcome: z.ZodLiteral<"waits-for-merge">;
6807
6827
  }, z.core.$strip>, z.ZodObject<{
6808
6828
  outcome: z.ZodLiteral<"nothing-to-accept">;
6809
6829
  }, z.core.$strip>], "outcome">;
@@ -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,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,cAAc,oBAAoB,CAAC;AAOnC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAyB5D,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,iBAAiB,EAEvB,MAAM,UAAU,CAAC;AAyBlB,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,G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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC"}
package/dist/v1/index.js CHANGED
@@ -14,11 +14,11 @@ import { makeRegisterEmailAddressContract } from "./email/registerAddress.js";
14
14
  import { makeSendEmailContract } from "./email/send.js";
15
15
  import { makeCreateEnvironmentContract } from "./environment/create.js";
16
16
  import { makeDeleteEnvironmentVariableContract } from "./environment/deleteVariable.js";
17
- import { makeDiscardEnvironmentContract } from "./environment/discard.js";
18
17
  import { makeFindEnvironmentsContract } from "./environment/find.js";
19
18
  import { makeGetEnvironmentVariableContract } from "./environment/getVariable.js";
20
19
  import { makeGetEnvironmentContract, makeListEnvironmentVariableNamesContract, makeSetEnvironmentVariableContract, } from "./environment/index.js";
21
20
  import { makePromoteEnvironmentContract } from "./environment/promote.js";
21
+ import { makeTerminateEnvironmentContract } from "./environment/terminate.js";
22
22
  import { makeUpdateEnvironmentContract } from "./environment/update.js";
23
23
  import { makeFileContracts } from "./file/index.js";
24
24
  import { makeAddTagToFlowsContract } from "./flow/addTag.js";
@@ -86,13 +86,13 @@ export const makeContractsV1 = (ids) => {
86
86
  environment: {
87
87
  create: makeCreateEnvironmentContract(resolvedIds),
88
88
  deleteVariable: makeDeleteEnvironmentVariableContract(resolvedIds),
89
- discard: makeDiscardEnvironmentContract(resolvedIds),
90
89
  find: makeFindEnvironmentsContract(resolvedIds),
91
90
  get: makeGetEnvironmentContract(resolvedIds),
92
91
  getVariable: makeGetEnvironmentVariableContract(resolvedIds),
93
92
  listVariableNames: makeListEnvironmentVariableNamesContract(resolvedIds),
94
93
  promote: makePromoteEnvironmentContract(resolvedIds),
95
94
  setVariable: makeSetEnvironmentVariableContract(resolvedIds),
95
+ terminate: makeTerminateEnvironmentContract(resolvedIds),
96
96
  update: makeUpdateEnvironmentContract(resolvedIds),
97
97
  },
98
98
  file: makeFileContracts(resolvedIds),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/v1/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,cAAc,oBAAoB,CAAC;AAEnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,oCAAoC,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AAEjG,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,gCAAgC,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,qCAAq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AAW,CAAC;YACpD,qBAAqB,EAAE,oCAAoC,CAAC,WAAW,CAAC;YACxE,SAAS,EAAE,wBAAwB,CAAC,WAAW,CAAC;YAChD,yBAAyB,EACvB,qCAAqC,CAAC,WAAW,CAAC;YACpD,IAAI,EAAE,mBAAmB,CAAC,WAAW,CAAC;SACvC;QACD,MAAM,EAAE,mBAAmB,CAAC,WAAW,CAAC;QACxC,6EAA6E;QAC7E,KAAK,EAAE,kBAAkB,EAAE;QAC3B,GAAG,EAAE;YACH,MAAM,EAAE,qBAAqB,CAAC,WAAW,CAAC;YAC1C,IAAI,EAAE,oBAAoB,CAAC,WAAW,CAAC;SACxC;QACD,OAAO,EAAE,oBAAoB,CAAC,WAAW,CAAC;KAC3C,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,eAAe,CAAC,gBAAgB,CAAC,CAAC"}
@@ -20,6 +20,7 @@ export declare const makeInvestigationFindingSchema: <ChatSessionId extends Publ
20
20
  commitHash: z.ZodString;
21
21
  type: z.ZodLiteral<"commit">;
22
22
  }, z.core.$strip>, z.ZodObject<{
23
+ applyOn: z.ZodOptional<z.ZodString>;
23
24
  baselineChangeId: z.ZodOptional<z.ZodString>;
24
25
  comparisonId: z.ZodString;
25
26
  type: z.ZodLiteral<"baseline">;
@@ -36,6 +37,12 @@ export declare const makeInvestigationFindingSchema: <ChatSessionId extends Publ
36
37
  high: "high";
37
38
  urgent: "urgent";
38
39
  }>>;
40
+ pullRequest: z.ZodOptional<z.ZodObject<{
41
+ file: z.ZodOptional<z.ZodString>;
42
+ line: z.ZodOptional<z.ZodNumber>;
43
+ reason: z.ZodString;
44
+ verdict: z.ZodString;
45
+ }, z.core.$strip>>;
39
46
  question: z.ZodOptional<z.ZodObject<{
40
47
  answers: z.ZodArray<z.ZodObject<{
41
48
  description: z.ZodOptional<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"finding.d.ts","sourceRoot":"","sources":["../../../src/v1/investigation/finding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,oCAAoC,yNACuJ,CAAC;AAEzM,eAAO,MAAM,8BAA8B,GACzC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;CAChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2GG,CAAC"}
1
+ {"version":3,"file":"finding.d.ts","sourceRoot":"","sources":["../../../src/v1/investigation/finding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,oCAAoC,yNACuJ,CAAC;AAEzM,eAAO,MAAM,8BAA8B,GACzC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;CAChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAyIG,CAAC"}
@@ -26,6 +26,10 @@ export const makeInvestigationFindingSchema = (ids) => z.object({
26
26
  type: z.literal("commit"),
27
27
  }),
28
28
  z.object({
29
+ applyOn: z
30
+ .string()
31
+ .optional()
32
+ .describe('When the new baseline applies. Known values: "now" (once a person applies the proposal) and "merge" (when the run\'s pull request merges, because every environment of the workspace shares baselines). Absent means "now". New values can appear.'),
29
33
  baselineChangeId: z
30
34
  .string()
31
35
  .optional()
@@ -46,6 +50,26 @@ export const makeInvestigationFindingSchema = (ids) => z.object({
46
50
  .describe('What the failure is. Known values: "maintenance", "bug", "flake" and "unknown". New values can appear.'),
47
51
  matchReason: z.string().optional(),
48
52
  priority: issuePrioritySchema.optional(),
53
+ pullRequest: z
54
+ .object({
55
+ file: z
56
+ .string()
57
+ .optional()
58
+ .describe("The changed file that explains the verdict."),
59
+ line: z
60
+ .number()
61
+ .int()
62
+ .optional()
63
+ .describe("The line in `file` that explains the verdict."),
64
+ reason: z
65
+ .string()
66
+ .describe("Why the investigation reached the verdict."),
67
+ verdict: z
68
+ .string()
69
+ .describe('Whether the pull request caused the failure. Known values: "caused", "not-caused" and "unclear". New values can appear.'),
70
+ })
71
+ .optional()
72
+ .describe("Whether the pull request the run tested caused this finding. Absent on a run that didn't test a pull request, and when the investigation didn't say."),
49
73
  question: z
50
74
  .object({
51
75
  answers: z.array(z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"finding.js","sourceRoot":"","sources":["../../../src/v1/investigation/finding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,CAAC,MAAM,oCAAoC,GAC/C,sMAAsM,CAAC;AAEzM,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAI5C,GAKD,EAAE,EAAE,CACH,CAAC,CAAC,MAAM,CAAC;IACP,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,SAAS,EAAE,CAAC;SACT,IAAI,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;S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ZodLiteral<"commit">;
44
44
  }, z.core.$strip>, z.ZodObject<{
45
+ applyOn: z.ZodOptional<z.ZodString>;
45
46
  baselineChangeId: z.ZodOptional<z.ZodString>;
46
47
  comparisonId: z.ZodString;
47
48
  type: z.ZodLiteral<"baseline">;
@@ -58,6 +59,12 @@ export declare const makeGetInvestigationContract: <ChatSessionId extends Public
58
59
  high: "high";
59
60
  urgent: "urgent";
60
61
  }>>;
62
+ pullRequest: z.ZodOptional<z.ZodObject<{
63
+ file: z.ZodOptional<z.ZodString>;
64
+ line: z.ZodOptional<z.ZodNumber>;
65
+ reason: z.ZodString;
66
+ verdict: z.ZodString;
67
+ }, z.core.$strip>>;
61
68
  question: z.ZodOptional<z.ZodObject<{
62
69
  answers: z.ZodArray<z.ZodObject<{
63
70
  description: z.ZodOptional<z.ZodString>;
@@ -86,6 +93,7 @@ export declare const makeGetInvestigationContract: <ChatSessionId extends Public
86
93
  investigating: "investigating";
87
94
  finished: "finished";
88
95
  "not-investigated": "not-investigated";
96
+ "not-enabled": "not-enabled";
89
97
  }>;
90
98
  subSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
91
99
  sessionId: ChatSessionId;
@@ -1 +1 @@
1
- {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/investigation/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAKhD,eAAO,MAAM,4BAA4B,GACvC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8DA,CAAC"}
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/investigation/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAKhD,eAAO,MAAM,4BAA4B,GACvC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgEA,CAAC"}
@@ -15,8 +15,9 @@ export const makeGetInvestigationContract = (ids) => {
15
15
  .optional()
16
16
  .describe("The investigation session. Absent when the run has none."),
17
17
  status: z
18
- .enum(["investigating", "finished", "not-investigated"])
19
- .describe('Whether the lead or any child investigator is still working. "not-investigated" when the run has no investigation.'),
18
+ .enum(["investigating", "finished", "not-investigated", "not-enabled"])
19
+ .describe('Whether the lead or any child investigator is still working. "not-investigated" when the run has no investigation. ' +
20
+ '"not-enabled" when automatic investigation does not cover this run, because its workspace has it off or investigates only pull request runs: read its failures with run.get and attempt.get instead.'),
20
21
  subSessions: z
21
22
  .array(z.object({
22
23
  sessionId: ids.chatSession,
@@ -37,7 +38,8 @@ export const makeGetInvestigationContract = (ids) => {
37
38
  readOnlyHint: true,
38
39
  },
39
40
  description: "Read what the QA Wolf AI investigating a run has concluded: one finding per cause of its failures, " +
40
- "with the question waiting for a person and any answer or dispute the investigation hasn't acted on yet.",
41
+ "with the question waiting for a person and any answer or dispute the investigation hasn't acted on yet. " +
42
+ 'A run that automatic investigation does not cover answers status "not-enabled".',
41
43
  input,
42
44
  kind: "read",
43
45
  name: "investigation.get",
@@ -1 +1 @@
1
- {"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/v1/investigation/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAG9D,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,8BAA8B,EAAE,MAAM,cAAc,CAAC;AAE9D,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAK1C,GAMD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC;IAE3C,MAAM,MAAM,GAAG,QAAQ,CACrB;QACE,eAAe,EAAE,CAAC;aACf,IAAI,CAAC,CAAC,WAAW,EAAE,gBAAgB,CAAC,CAAC;aACrC,QAAQ,CACP,kHAAkH;YAChH,gIAAgI,CACnI;QACH,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC,GAAG,CAAC,CAAC;QACtD,KAAK,EAAE,GAAG,CAAC,GAAG;QACd,SAAS,EAAE,GAAG,CAAC,WAAW;aACvB,QAAQ,EAAE;aACV,QAAQ,CAAC,0DAA0D,CAAC;QACvE,MAAM,EAAE,CAAC;aACN,IAAI,CAAC,CAAC,eAAe,EAAE,UAAU,EAAE,kBAAkB,CAAC,CAAC;aACvD,QAAQ,CACP,oHAAoH,CACrH;QACH,WAAW,EAAE,CAAC;aACX,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;YACP,SAA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,GAAG,CAAC,GAAG;QACd,SAAS,EAAE,GAAG,CAAC,WAAW;aACvB,QAAQ,EAAE;aACV,QAAQ,CAAC,0DAA0D,CAAC;QACvE,MAAM,EAAE,CAAC;aACN,IAAI,CAAC,CAAC,eAAe,EAAE,UAAU,EAAE,kBAAkB,EAAE,aAAa,CAAC,CAAC;aACtE,QAAQ,CACP,qHAAqH;YACnH,sMAAsM,CACzM;QACH,WAAW,EAAE,CAAC;aACX,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;YACP,SAAS,EAAE,GAAG,CAAC,WAAW;YAC1B,MAAM,EAAE,wBAAwB;SACjC,CAAC,CACH;aACA,QAAQ,EAAE;aACV,QAAQ,CACP,gIAAgI,CACjI;KACJ,EACD,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,CACvD,CAAC;IAEF,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EAAE,uDAAuD;YACxE,aAAa,EACX,8EAA8E;YAChF,YAAY,EACV,4EAA4E;SAC/E;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,IAAI;SACnB;QACD,WAAW,EACT,qGAAqG;YACrG,0GAA0G;YAC1G,iFAAiF;QACnF,KAAK;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,mBAAmB;QACzB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
@@ -42,6 +42,7 @@ export declare const makeInvestigationContracts: <ChatSessionId extends PublicId
42
42
  commitHash: import("zod").ZodString;
43
43
  type: import("zod").ZodLiteral<"commit">;
44
44
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
45
+ applyOn: import("zod").ZodOptional<import("zod").ZodString>;
45
46
  baselineChangeId: import("zod").ZodOptional<import("zod").ZodString>;
46
47
  comparisonId: import("zod").ZodString;
47
48
  type: import("zod").ZodLiteral<"baseline">;
@@ -58,6 +59,12 @@ export declare const makeInvestigationContracts: <ChatSessionId extends PublicId
58
59
  high: "high";
59
60
  urgent: "urgent";
60
61
  }>>;
62
+ pullRequest: import("zod").ZodOptional<import("zod").ZodObject<{
63
+ file: import("zod").ZodOptional<import("zod").ZodString>;
64
+ line: import("zod").ZodOptional<import("zod").ZodNumber>;
65
+ reason: import("zod").ZodString;
66
+ verdict: import("zod").ZodString;
67
+ }, import("zod/v4/core").$strip>>;
61
68
  question: import("zod").ZodOptional<import("zod").ZodObject<{
62
69
  answers: import("zod").ZodArray<import("zod").ZodObject<{
63
70
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -86,6 +93,7 @@ export declare const makeInvestigationContracts: <ChatSessionId extends PublicId
86
93
  investigating: "investigating";
87
94
  finished: "finished";
88
95
  "not-investigated": "not-investigated";
96
+ "not-enabled": "not-enabled";
89
97
  }>;
90
98
  subSessions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
91
99
  sessionId: ChatSessionId;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/investigation/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,0BAA0B,GACrC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/investigation/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,0BAA0B,GACrC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEC,CAAC"}
@@ -9,7 +9,7 @@ export const promotionStatusSchema = z
9
9
  "no-changes",
10
10
  "abandoned",
11
11
  ])
12
- .describe("pending (requested, the merge has not run yet), conflicted (the head's flow changes clash with the base and await a resolution), resolving (a submitted resolution is being applied), promoted (merged into the base and the head environment terminated), no-changes (the head had nothing to promote and was terminated), abandoned (the head environment was discarded or terminated before the promotion settled).");
12
+ .describe("pending (requested, the merge has not run yet), conflicted (the head's flow changes clash with the base and await a resolution), resolving (a submitted resolution is being applied), promoted (merged into the base and the head environment terminated), no-changes (the head had nothing to promote and was terminated), abandoned (the head environment was terminated before the promotion settled).");
13
13
  const conflictSchema = z.object({
14
14
  paths: z
15
15
  .array(z.string())
@@ -1 +1 @@
1
- {"version":3,"file":"resource.js","sourceRoot":"","sources":["../../../src/v1/promotion/resource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC;KACnC,IAAI,CAAC;IACJ,SAAS;IACT,YAAY;IACZ,WAAW;IACX,UAAU;IACV,YAAY;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IACH,SAAS,EAAE,CAAC,CAAC,GAAG;SACb,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,wFAAwF,CACzF;IACH,MAAM,EAAE,qBAAqB;CAC9B,EACD,EAAE,mBAAmB,EAAE,8CAA8C,EAAE,CACxE,CAAC"}
@@ -32,6 +32,8 @@ export declare const makeAcceptScreenshotBaselineContract: <RunId extends Public
32
32
  outcome: z.ZodLiteral<"needs-approval">;
33
33
  }, z.core.$strip>, z.ZodObject<{
34
34
  outcome: z.ZodLiteral<"not-investigation-session">;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ outcome: z.ZodLiteral<"waits-for-merge">;
35
37
  }, z.core.$strip>, z.ZodObject<{
36
38
  outcome: z.ZodLiteral<"nothing-to-accept">;
37
39
  }, z.core.$strip>], "outcome">;
@@ -1 +1 @@
1
- {"version":3,"file":"acceptScreenshotBaseline.d.ts","sourceRoot":"","sources":["../../../src/v1/run/acceptScreenshotBaseline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,oCAAoC,GAC/C,KAAK,SAAS,cAAc,EAC5B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyFA,CAAC"}
1
+ {"version":3,"file":"acceptScreenshotBaseline.d.ts","sourceRoot":"","sources":["../../../src/v1/run/acceptScreenshotBaseline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,oCAAoC,GAC/C,KAAK,SAAS,cAAc,EAC5B,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,GAAG,EAAE,KAAK,CAAC;CACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgGA,CAAC"}
@@ -36,6 +36,11 @@ export const makeAcceptScreenshotBaselineContract = (ids) => {
36
36
  .literal("not-investigation-session")
37
37
  .describe("An API key that is not a person's can change a baseline only as the investigation of the run, and chatSessionId is missing or is not the session that investigates the run. Nothing changed."),
38
38
  }),
39
+ z.object({
40
+ outcome: z
41
+ .literal("waits-for-merge")
42
+ .describe("The investigation proposed this baseline to apply when the run's pull request merges, and it hasn't merged. Nothing changed. QA Wolf applies the approved baseline on merge."),
43
+ }),
39
44
  z.object({
40
45
  outcome: z
41
46
  .literal("nothing-to-accept")
@@ -1 +1 @@
1
- {"version":3,"file":"acceptScreenshotBaseline.js","sourceRoot":"","sources":["../../../src/v1/run/acceptScreenshotBaseline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAElD,GAGD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,sBAAsB,CAAC,QAAQ,CAC5C,gNAAgN,CACjN;QACD,YAAY,EAAE,CAAC;aACZ,MAAM,EAAE;aACR,IAAI,EAAE;aACN,GAAG,CAAC,CAAC,CAAC;aACN,GAAG,CAAC,GAAG,CAAC;aACR,QAAQ,CACP,0HAA0H,CAC3H;QACH,KAAK,EAAE,GAAG,CAAC,GAAG;KACf,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,CAAC,CAAC,kBAAkB,CAAC,SAAS,EAAE;QAC7C,CAAC,CAAC,MAAM,CAAC;YACP,gBAAgB,EAAE,CAAC;iBAChB,MAAM,EAAE;iBACR,QAAQ,CACP,mJAAmJ,CACpJ;YACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6CAA6C,CAAC;YACxE,OAAO,EAAE,CAAC;iBACP,OAAO,CAAC,UAAU,CAAC;iBACnB,QAAQ,CACP,kGAAkG,CACnG;SACJ,CAAC;QACF,CAAC,CAAC,MAAM,CAAC;YACP,OAAO,EAAE,CAAC;iBACP,OAAO,CAAC,kBAAkB,CAAC;iBAC3B,QAAQ,CACP,wKAAwK,CACzK;SACJ,CAAC;QACF,CAAC,CAAC,MAAM,CAAC;YACP,OAAO,EAAE,CAAC;iBACP,OAAO,CAAC,gBAAgB,CAAC;iBACzB,QAAQ,CACP,+IAA+I,CAChJ;SACJ,CAAC;QACF,CAAC,CAAC,MAAM,CAAC;YACP,OAAO,EAAE,CAAC;iBACP,OAAO,CAAC,2BAA2B,CAAC;iBACpC,QAAQ,CACP,8LAA8L,CAC/L;SACJ,CAAC;QACF,CAAC,CAAC,MAAM,CAAC;YACP,OAAO,EAAE,CAAC;iBACP,OAAO,CAAC,mBAAmB,CAAC;iBAC5B,QAAQ,CACP,mFAAmF,CACpF;SACJ,CAAC;KACH,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,iGAAiG;YACnG,aAAa,EACX,0EAA0E;YAC5E,YAAY,EACV,+DAA+D;SAClE;QACD,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,yGAAyG;YACzG,oHAAoH;YACpH,wFAAwF;YACxF,4EAA4E;QAC9E,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,8BAA8B;QACpC,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"acceptScreenshotBaseline.js","sourceRoot":"","sources":["../../../src/v1/run/acceptScreenshotBaseline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,sB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C1B,QAAQ,CACP,8KAA8K,CAC/K;SACJ,CAAC;QACF,CAAC,CAAC,MAAM,CAAC;YACP,OAAO,EAAE,CAAC;iBACP,OAAO,CAAC,mBAAmB,CAAC;iBAC5B,QAAQ,CACP,mFAAmF,CACpF;SACJ,CAAC;KACH,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,iGAAiG;YACnG,aAAa,EACX,0EAA0E;YAC5E,YAAY,EACV,+DAA+D;SAClE;QACD,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,yGAAyG;YACzG,oHAAoH;YACpH,wFAAwF;YACxF,4EAA4E;QAC9E,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,8BAA8B;QACpC,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qawolf/api-contracts",
3
- "version": "0.85.0",
3
+ "version": "0.89.0",
4
4
  "private": false,
5
5
  "description": "Versioned contracts for the QA Wolf public API",
6
6
  "repository": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"discard.d.ts","sourceRoot":"","sources":["../../../src/v1/environment/discard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,KAAK,cAAc,EAA8B,MAAM,WAAW,CAAC;AAI5E,eAAO,MAAM,8BAA8B,GACzC,aAAa,SAAS,cAAc,EACpC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;IAC/B,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCA,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"discard.js","sourceRoot":"","sources":["../../../src/v1/environment/discard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAuB,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAE5E,OAAO,EAAE,6BAA6B,EAAE,MAAM,eAAe,CAAC;AAE9D,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAG5C,GAID,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,GAAG,CAAC,cAAc;QACjC,WAAW,EAAE,0BAA0B,CAAC,GAAG,CAAC,SAAS,CAAC;KACvD,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,6BAA6B,CAAC,GAAG,CAAC,CAAC;IAElD,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,qGAAqG;YACvG,aAAa,EACX,sFAAsF;YACxF,YAAY,EAAE,sDAAsD;SACrE;QACD,WAAW,EAAE;YACX,eAAe,EAAE,IAAI;YACrB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,KAAK;SACpB;QACD,WAAW,EACT,oVAAoV;QACtV,KAAK;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,qBAAqB;QAC3B,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}