@qawolf/api-contracts 0.74.0 → 0.77.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.
Files changed (57) hide show
  1. package/dist/v1/index.d.ts +298 -8
  2. package/dist/v1/index.d.ts.map +1 -1
  3. package/dist/v1/index.js +8 -0
  4. package/dist/v1/index.js.map +1 -1
  5. package/dist/v1/investigation/finding.d.ts +9 -0
  6. package/dist/v1/investigation/finding.d.ts.map +1 -1
  7. package/dist/v1/investigation/finding.js +30 -2
  8. package/dist/v1/investigation/finding.js.map +1 -1
  9. package/dist/v1/investigation/get.d.ts +13 -0
  10. package/dist/v1/investigation/get.d.ts.map +1 -1
  11. package/dist/v1/investigation/get.js +4 -0
  12. package/dist/v1/investigation/get.js.map +1 -1
  13. package/dist/v1/investigation/index.d.ts +13 -0
  14. package/dist/v1/investigation/index.d.ts.map +1 -1
  15. package/dist/v1/issue/removeFlows.d.ts +2 -1
  16. package/dist/v1/issue/removeFlows.d.ts.map +1 -1
  17. package/dist/v1/issue/removeFlows.js +8 -5
  18. package/dist/v1/issue/removeFlows.js.map +1 -1
  19. package/dist/v1/run/acceptScreenshotBaseline.d.ts +34 -0
  20. package/dist/v1/run/acceptScreenshotBaseline.d.ts.map +1 -0
  21. package/dist/v1/run/acceptScreenshotBaseline.js +61 -0
  22. package/dist/v1/run/acceptScreenshotBaseline.js.map +1 -0
  23. package/dist/v1/run/diagnose.js +1 -1
  24. package/dist/v1/run/diagnose.js.map +1 -1
  25. package/dist/v1/run/flowFailure.d.ts +23 -0
  26. package/dist/v1/run/flowFailure.d.ts.map +1 -0
  27. package/dist/v1/run/flowFailure.js +41 -0
  28. package/dist/v1/run/flowFailure.js.map +1 -0
  29. package/dist/v1/run/get.d.ts +6 -0
  30. package/dist/v1/run/get.d.ts.map +1 -1
  31. package/dist/v1/run/get.js +2 -21
  32. package/dist/v1/run/get.js.map +1 -1
  33. package/dist/v1/run/investigationSessionId.d.ts +3 -0
  34. package/dist/v1/run/investigationSessionId.d.ts.map +1 -0
  35. package/dist/v1/run/investigationSessionId.js +12 -0
  36. package/dist/v1/run/investigationSessionId.js.map +1 -0
  37. package/dist/v1/run/listScreenshotComparisons.d.ts +60 -0
  38. package/dist/v1/run/listScreenshotComparisons.d.ts.map +1 -0
  39. package/dist/v1/run/listScreenshotComparisons.js +124 -0
  40. package/dist/v1/run/listScreenshotComparisons.js.map +1 -0
  41. package/dist/v1/run/optOutOfInvestigation.d.ts +26 -0
  42. package/dist/v1/run/optOutOfInvestigation.d.ts.map +1 -0
  43. package/dist/v1/run/optOutOfInvestigation.js +38 -0
  44. package/dist/v1/run/optOutOfInvestigation.js.map +1 -0
  45. package/dist/v1/run/restoreScreenshotBaseline.d.ts +33 -0
  46. package/dist/v1/run/restoreScreenshotBaseline.d.ts.map +1 -0
  47. package/dist/v1/run/restoreScreenshotBaseline.js +57 -0
  48. package/dist/v1/run/restoreScreenshotBaseline.js.map +1 -0
  49. package/dist/v1/runner/catalog.d.ts +3 -3
  50. package/dist/v1/runner/recording.d.ts +10 -10
  51. package/dist/v1/runner/runFlow.js +1 -1
  52. package/dist/v1/runner/runFlow.js.map +1 -1
  53. package/dist/v1/sharedSchemas.d.ts +1 -0
  54. package/dist/v1/sharedSchemas.d.ts.map +1 -1
  55. package/dist/v1/sharedSchemas.js +1 -0
  56. package/dist/v1/sharedSchemas.js.map +1 -1
  57. package/package.json +1 -1
@@ -989,6 +989,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
989
989
  readonly kind: "read";
990
990
  readonly name: "investigation.get";
991
991
  readonly output: z.ZodObject<{
992
+ baselineChanges: z.ZodEnum<{
993
+ automatic: "automatic";
994
+ "needs-approval": "needs-approval";
995
+ }>;
992
996
  findings: z.ZodArray<z.ZodObject<{
993
997
  actual: z.ZodOptional<z.ZodString>;
994
998
  commitHash: z.ZodOptional<z.ZodString>;
@@ -999,6 +1003,14 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
999
1003
  disputeReason: z.ZodOptional<z.ZodString>;
1000
1004
  expected: z.ZodOptional<z.ZodString>;
1001
1005
  findingId: z.ZodString;
1006
+ fix: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1007
+ commitHash: z.ZodString;
1008
+ type: z.ZodLiteral<"commit">;
1009
+ }, z.core.$strip>, z.ZodObject<{
1010
+ baselineChangeId: z.ZodOptional<z.ZodString>;
1011
+ comparisonId: z.ZodString;
1012
+ type: z.ZodLiteral<"baseline">;
1013
+ }, z.core.$strip>], "type">>;
1002
1014
  flowIds: z.ZodArray<FlowId>;
1003
1015
  headline: z.ZodOptional<z.ZodString>;
1004
1016
  issueId: z.ZodOptional<IssueId>;
@@ -1017,6 +1029,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1017
1029
  title: z.ZodString;
1018
1030
  value: z.ZodString;
1019
1031
  }, z.core.$strip>>;
1032
+ comparisonId: z.ZodOptional<z.ZodString>;
1020
1033
  text: z.ZodString;
1021
1034
  }, z.core.$strip>>;
1022
1035
  response: z.ZodOptional<z.ZodObject<{
@@ -1314,11 +1327,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1314
1327
  removeFlows: {
1315
1328
  readonly annotations: {
1316
1329
  readonly destructiveHint: true;
1317
- readonly openWorldHint: false;
1330
+ readonly openWorldHint: true;
1318
1331
  readonly readOnlyHint: false;
1319
1332
  };
1320
1333
  readonly description: string;
1321
1334
  readonly input: z.ZodObject<{
1335
+ environmentId: z.ZodOptional<EnvironmentId>;
1322
1336
  flowIds: z.ZodArray<FlowId>;
1323
1337
  issueId: IssueId;
1324
1338
  }, z.core.$strip>;
@@ -1555,6 +1569,34 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1555
1569
  };
1556
1570
  };
1557
1571
  run: {
1572
+ acceptScreenshotBaseline: {
1573
+ readonly annotations: {
1574
+ readonly destructiveHint: true;
1575
+ readonly openWorldHint: false;
1576
+ readonly readOnlyHint: false;
1577
+ };
1578
+ readonly description: string;
1579
+ readonly input: z.ZodObject<{
1580
+ chatSessionId: z.ZodOptional<z.ZodString>;
1581
+ comparisonId: z.ZodString;
1582
+ runId: RunId;
1583
+ }, z.core.$strip>;
1584
+ readonly kind: "write";
1585
+ readonly name: "run.acceptScreenshotBaseline";
1586
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
1587
+ baselineChangeId: z.ZodString;
1588
+ name: z.ZodString;
1589
+ outcome: z.ZodLiteral<"accepted">;
1590
+ }, z.core.$strip>, z.ZodObject<{
1591
+ outcome: z.ZodLiteral<"baseline-changed">;
1592
+ }, z.core.$strip>, z.ZodObject<{
1593
+ outcome: z.ZodLiteral<"needs-approval">;
1594
+ }, z.core.$strip>, z.ZodObject<{
1595
+ outcome: z.ZodLiteral<"not-investigation-session">;
1596
+ }, z.core.$strip>, z.ZodObject<{
1597
+ outcome: z.ZodLiteral<"nothing-to-accept">;
1598
+ }, z.core.$strip>], "outcome">;
1599
+ };
1558
1600
  create: {
1559
1601
  readonly annotations: {
1560
1602
  readonly destructiveHint: true;
@@ -1757,6 +1799,12 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1757
1799
  }>;
1758
1800
  }, z.core.$strip>>;
1759
1801
  error: z.ZodString;
1802
+ optedOutOfInvestigation: z.ZodOptional<z.ZodObject<{
1803
+ by: z.ZodEnum<{
1804
+ user: "user";
1805
+ system: "system";
1806
+ }>;
1807
+ }, z.core.$strip>>;
1760
1808
  }, z.core.$strip>;
1761
1809
  flowId: FlowId;
1762
1810
  name: z.ZodString;
@@ -2016,6 +2064,76 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2016
2064
  }, z.core.$strip>;
2017
2065
  }, z.core.$strip>], "artifactStatus">;
2018
2066
  };
2067
+ listScreenshotComparisons: {
2068
+ readonly annotations: {
2069
+ readonly destructiveHint: false;
2070
+ readonly openWorldHint: false;
2071
+ readonly readOnlyHint: false;
2072
+ };
2073
+ readonly description: string;
2074
+ readonly input: z.ZodObject<{
2075
+ flowIds: z.ZodOptional<z.ZodArray<FlowId>>;
2076
+ runId: RunId;
2077
+ }, z.core.$strip>;
2078
+ readonly kind: "read";
2079
+ readonly name: "run.listScreenshotComparisons";
2080
+ readonly output: z.ZodObject<{
2081
+ comparisons: z.ZodArray<z.ZodObject<{
2082
+ actualPreviewUrl: z.ZodOptional<z.ZodURL>;
2083
+ actualUrl: z.ZodURL;
2084
+ attemptCompletedAt: z.ZodISODateTime;
2085
+ baselineStatus: z.ZodEnum<{
2086
+ unknown: "unknown";
2087
+ accepted: "accepted";
2088
+ deleted: "deleted";
2089
+ unchanged: "unchanged";
2090
+ "changed-since-run": "changed-since-run";
2091
+ }>;
2092
+ comparisonId: z.ZodString;
2093
+ diffPreviewUrl: z.ZodOptional<z.ZodURL>;
2094
+ diffUrl: z.ZodURL;
2095
+ expectedPreviewUrl: z.ZodOptional<z.ZodURL>;
2096
+ expectedUrl: z.ZodURL;
2097
+ filePath: z.ZodOptional<z.ZodString>;
2098
+ flowId: FlowId;
2099
+ lineNumber: z.ZodOptional<z.ZodNumber>;
2100
+ name: z.ZodString;
2101
+ passingElsewhere: z.ZodDiscriminatedUnion<[z.ZodObject<{
2102
+ status: z.ZodLiteral<"not-tracked">;
2103
+ }, z.core.$strip>, z.ZodObject<{
2104
+ environments: z.ZodArray<z.ZodObject<{
2105
+ environmentId: EnvironmentId;
2106
+ lastPassedAt: z.ZodISODateTime;
2107
+ }, z.core.$strip>>;
2108
+ status: z.ZodLiteral<"tracked">;
2109
+ }, z.core.$strip>], "status">;
2110
+ runAttemptId: z.ZodString;
2111
+ similarity: z.ZodNumber;
2112
+ sizeMismatch: z.ZodBoolean;
2113
+ }, z.core.$strip>>;
2114
+ expiresAt: z.ZodISODateTime;
2115
+ truncated: z.ZodBoolean;
2116
+ }, z.core.$strip>;
2117
+ };
2118
+ optOutOfInvestigation: {
2119
+ readonly annotations: {
2120
+ readonly destructiveHint: true;
2121
+ readonly openWorldHint: true;
2122
+ readonly readOnlyHint: false;
2123
+ };
2124
+ readonly description: string;
2125
+ readonly input: z.ZodObject<{
2126
+ flowIds: z.ZodArray<FlowId>;
2127
+ runId: RunId;
2128
+ }, z.core.$strip>;
2129
+ readonly kind: "write";
2130
+ readonly name: "run.optOutOfInvestigation";
2131
+ readonly output: z.ZodObject<{
2132
+ optedOutFlowIds: z.ZodArray<FlowId>;
2133
+ runId: RunId;
2134
+ url: z.ZodURL;
2135
+ }, z.core.$strip>;
2136
+ };
2019
2137
  reattempt: {
2020
2138
  readonly annotations: {
2021
2139
  readonly destructiveHint: true;
@@ -2035,6 +2153,33 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2035
2153
  url: z.ZodURL;
2036
2154
  }, z.core.$strip>;
2037
2155
  };
2156
+ restoreScreenshotBaseline: {
2157
+ readonly annotations: {
2158
+ readonly destructiveHint: true;
2159
+ readonly openWorldHint: false;
2160
+ readonly readOnlyHint: false;
2161
+ };
2162
+ readonly description: string;
2163
+ readonly input: z.ZodObject<{
2164
+ baselineChangeId: z.ZodString;
2165
+ chatSessionId: z.ZodOptional<z.ZodString>;
2166
+ runId: RunId;
2167
+ }, z.core.$strip>;
2168
+ readonly kind: "write";
2169
+ readonly name: "run.restoreScreenshotBaseline";
2170
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
2171
+ name: z.ZodString;
2172
+ outcome: z.ZodLiteral<"restored">;
2173
+ }, z.core.$strip>, z.ZodObject<{
2174
+ outcome: z.ZodLiteral<"baseline-changed">;
2175
+ }, z.core.$strip>, z.ZodObject<{
2176
+ outcome: z.ZodLiteral<"needs-dispute">;
2177
+ }, z.core.$strip>, z.ZodObject<{
2178
+ outcome: z.ZodLiteral<"not-investigation-session">;
2179
+ }, z.core.$strip>, z.ZodObject<{
2180
+ outcome: z.ZodLiteral<"nothing-to-restore">;
2181
+ }, z.core.$strip>], "outcome">;
2182
+ };
2038
2183
  stop: {
2039
2184
  readonly annotations: {
2040
2185
  readonly destructiveHint: true;
@@ -2213,8 +2358,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2213
2358
  endedAt: z.ZodISODateTime;
2214
2359
  id: z.ZodUUID;
2215
2360
  mode: z.ZodEnum<{
2216
- manual: "manual";
2217
2361
  automatic: "automatic";
2362
+ manual: "manual";
2218
2363
  }>;
2219
2364
  runIds: z.ZodArray<z.ZodString>;
2220
2365
  runnerId: z.ZodString;
@@ -2230,8 +2375,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2230
2375
  active: z.ZodOptional<z.ZodObject<{
2231
2376
  id: z.ZodUUID;
2232
2377
  mode: z.ZodEnum<{
2233
- manual: "manual";
2234
2378
  automatic: "automatic";
2379
+ manual: "manual";
2235
2380
  }>;
2236
2381
  startedAt: z.ZodISODateTime;
2237
2382
  }, z.core.$strip>>;
@@ -2277,8 +2422,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2277
2422
  endedAt: z.ZodISODateTime;
2278
2423
  id: z.ZodUUID;
2279
2424
  mode: z.ZodEnum<{
2280
- manual: "manual";
2281
2425
  automatic: "automatic";
2426
+ manual: "manual";
2282
2427
  }>;
2283
2428
  runIds: z.ZodArray<z.ZodString>;
2284
2429
  runnerId: z.ZodString;
@@ -4743,6 +4888,10 @@ export declare const publicContractsV1: {
4743
4888
  readonly kind: "read";
4744
4889
  readonly name: "investigation.get";
4745
4890
  readonly output: z.ZodObject<{
4891
+ baselineChanges: z.ZodEnum<{
4892
+ automatic: "automatic";
4893
+ "needs-approval": "needs-approval";
4894
+ }>;
4746
4895
  findings: z.ZodArray<z.ZodObject<{
4747
4896
  actual: z.ZodOptional<z.ZodString>;
4748
4897
  commitHash: z.ZodOptional<z.ZodString>;
@@ -4753,6 +4902,14 @@ export declare const publicContractsV1: {
4753
4902
  disputeReason: z.ZodOptional<z.ZodString>;
4754
4903
  expected: z.ZodOptional<z.ZodString>;
4755
4904
  findingId: z.ZodString;
4905
+ fix: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4906
+ commitHash: z.ZodString;
4907
+ type: z.ZodLiteral<"commit">;
4908
+ }, z.core.$strip>, z.ZodObject<{
4909
+ baselineChangeId: z.ZodOptional<z.ZodString>;
4910
+ comparisonId: z.ZodString;
4911
+ type: z.ZodLiteral<"baseline">;
4912
+ }, z.core.$strip>], "type">>;
4756
4913
  flowIds: z.ZodArray<PublicIdSchema>;
4757
4914
  headline: z.ZodOptional<z.ZodString>;
4758
4915
  issueId: z.ZodOptional<PublicIdSchema>;
@@ -4771,6 +4928,7 @@ export declare const publicContractsV1: {
4771
4928
  title: z.ZodString;
4772
4929
  value: z.ZodString;
4773
4930
  }, z.core.$strip>>;
4931
+ comparisonId: z.ZodOptional<z.ZodString>;
4774
4932
  text: z.ZodString;
4775
4933
  }, z.core.$strip>>;
4776
4934
  response: z.ZodOptional<z.ZodObject<{
@@ -5068,11 +5226,12 @@ export declare const publicContractsV1: {
5068
5226
  removeFlows: {
5069
5227
  readonly annotations: {
5070
5228
  readonly destructiveHint: true;
5071
- readonly openWorldHint: false;
5229
+ readonly openWorldHint: true;
5072
5230
  readonly readOnlyHint: false;
5073
5231
  };
5074
5232
  readonly description: string;
5075
5233
  readonly input: z.ZodObject<{
5234
+ environmentId: z.ZodOptional<PublicIdSchema>;
5076
5235
  flowIds: z.ZodArray<PublicIdSchema>;
5077
5236
  issueId: PublicIdSchema;
5078
5237
  }, z.core.$strip>;
@@ -5309,6 +5468,34 @@ export declare const publicContractsV1: {
5309
5468
  };
5310
5469
  };
5311
5470
  run: {
5471
+ acceptScreenshotBaseline: {
5472
+ readonly annotations: {
5473
+ readonly destructiveHint: true;
5474
+ readonly openWorldHint: false;
5475
+ readonly readOnlyHint: false;
5476
+ };
5477
+ readonly description: string;
5478
+ readonly input: z.ZodObject<{
5479
+ chatSessionId: z.ZodOptional<z.ZodString>;
5480
+ comparisonId: z.ZodString;
5481
+ runId: PublicIdSchema;
5482
+ }, z.core.$strip>;
5483
+ readonly kind: "write";
5484
+ readonly name: "run.acceptScreenshotBaseline";
5485
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
5486
+ baselineChangeId: z.ZodString;
5487
+ name: z.ZodString;
5488
+ outcome: z.ZodLiteral<"accepted">;
5489
+ }, z.core.$strip>, z.ZodObject<{
5490
+ outcome: z.ZodLiteral<"baseline-changed">;
5491
+ }, z.core.$strip>, z.ZodObject<{
5492
+ outcome: z.ZodLiteral<"needs-approval">;
5493
+ }, z.core.$strip>, z.ZodObject<{
5494
+ outcome: z.ZodLiteral<"not-investigation-session">;
5495
+ }, z.core.$strip>, z.ZodObject<{
5496
+ outcome: z.ZodLiteral<"nothing-to-accept">;
5497
+ }, z.core.$strip>], "outcome">;
5498
+ };
5312
5499
  create: {
5313
5500
  readonly annotations: {
5314
5501
  readonly destructiveHint: true;
@@ -5511,6 +5698,12 @@ export declare const publicContractsV1: {
5511
5698
  }>;
5512
5699
  }, z.core.$strip>>;
5513
5700
  error: z.ZodString;
5701
+ optedOutOfInvestigation: z.ZodOptional<z.ZodObject<{
5702
+ by: z.ZodEnum<{
5703
+ user: "user";
5704
+ system: "system";
5705
+ }>;
5706
+ }, z.core.$strip>>;
5514
5707
  }, z.core.$strip>;
5515
5708
  flowId: PublicIdSchema;
5516
5709
  name: z.ZodString;
@@ -5770,6 +5963,76 @@ export declare const publicContractsV1: {
5770
5963
  }, z.core.$strip>;
5771
5964
  }, z.core.$strip>], "artifactStatus">;
5772
5965
  };
5966
+ listScreenshotComparisons: {
5967
+ readonly annotations: {
5968
+ readonly destructiveHint: false;
5969
+ readonly openWorldHint: false;
5970
+ readonly readOnlyHint: false;
5971
+ };
5972
+ readonly description: string;
5973
+ readonly input: z.ZodObject<{
5974
+ flowIds: z.ZodOptional<z.ZodArray<PublicIdSchema>>;
5975
+ runId: PublicIdSchema;
5976
+ }, z.core.$strip>;
5977
+ readonly kind: "read";
5978
+ readonly name: "run.listScreenshotComparisons";
5979
+ readonly output: z.ZodObject<{
5980
+ comparisons: z.ZodArray<z.ZodObject<{
5981
+ actualPreviewUrl: z.ZodOptional<z.ZodURL>;
5982
+ actualUrl: z.ZodURL;
5983
+ attemptCompletedAt: z.ZodISODateTime;
5984
+ baselineStatus: z.ZodEnum<{
5985
+ unknown: "unknown";
5986
+ accepted: "accepted";
5987
+ deleted: "deleted";
5988
+ unchanged: "unchanged";
5989
+ "changed-since-run": "changed-since-run";
5990
+ }>;
5991
+ comparisonId: z.ZodString;
5992
+ diffPreviewUrl: z.ZodOptional<z.ZodURL>;
5993
+ diffUrl: z.ZodURL;
5994
+ expectedPreviewUrl: z.ZodOptional<z.ZodURL>;
5995
+ expectedUrl: z.ZodURL;
5996
+ filePath: z.ZodOptional<z.ZodString>;
5997
+ flowId: PublicIdSchema;
5998
+ lineNumber: z.ZodOptional<z.ZodNumber>;
5999
+ name: z.ZodString;
6000
+ passingElsewhere: z.ZodDiscriminatedUnion<[z.ZodObject<{
6001
+ status: z.ZodLiteral<"not-tracked">;
6002
+ }, z.core.$strip>, z.ZodObject<{
6003
+ environments: z.ZodArray<z.ZodObject<{
6004
+ environmentId: PublicIdSchema;
6005
+ lastPassedAt: z.ZodISODateTime;
6006
+ }, z.core.$strip>>;
6007
+ status: z.ZodLiteral<"tracked">;
6008
+ }, z.core.$strip>], "status">;
6009
+ runAttemptId: z.ZodString;
6010
+ similarity: z.ZodNumber;
6011
+ sizeMismatch: z.ZodBoolean;
6012
+ }, z.core.$strip>>;
6013
+ expiresAt: z.ZodISODateTime;
6014
+ truncated: z.ZodBoolean;
6015
+ }, z.core.$strip>;
6016
+ };
6017
+ optOutOfInvestigation: {
6018
+ readonly annotations: {
6019
+ readonly destructiveHint: true;
6020
+ readonly openWorldHint: true;
6021
+ readonly readOnlyHint: false;
6022
+ };
6023
+ readonly description: string;
6024
+ readonly input: z.ZodObject<{
6025
+ flowIds: z.ZodArray<PublicIdSchema>;
6026
+ runId: PublicIdSchema;
6027
+ }, z.core.$strip>;
6028
+ readonly kind: "write";
6029
+ readonly name: "run.optOutOfInvestigation";
6030
+ readonly output: z.ZodObject<{
6031
+ optedOutFlowIds: z.ZodArray<PublicIdSchema>;
6032
+ runId: PublicIdSchema;
6033
+ url: z.ZodURL;
6034
+ }, z.core.$strip>;
6035
+ };
5773
6036
  reattempt: {
5774
6037
  readonly annotations: {
5775
6038
  readonly destructiveHint: true;
@@ -5789,6 +6052,33 @@ export declare const publicContractsV1: {
5789
6052
  url: z.ZodURL;
5790
6053
  }, z.core.$strip>;
5791
6054
  };
6055
+ restoreScreenshotBaseline: {
6056
+ readonly annotations: {
6057
+ readonly destructiveHint: true;
6058
+ readonly openWorldHint: false;
6059
+ readonly readOnlyHint: false;
6060
+ };
6061
+ readonly description: string;
6062
+ readonly input: z.ZodObject<{
6063
+ baselineChangeId: z.ZodString;
6064
+ chatSessionId: z.ZodOptional<z.ZodString>;
6065
+ runId: PublicIdSchema;
6066
+ }, z.core.$strip>;
6067
+ readonly kind: "write";
6068
+ readonly name: "run.restoreScreenshotBaseline";
6069
+ readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{
6070
+ name: z.ZodString;
6071
+ outcome: z.ZodLiteral<"restored">;
6072
+ }, z.core.$strip>, z.ZodObject<{
6073
+ outcome: z.ZodLiteral<"baseline-changed">;
6074
+ }, z.core.$strip>, z.ZodObject<{
6075
+ outcome: z.ZodLiteral<"needs-dispute">;
6076
+ }, z.core.$strip>, z.ZodObject<{
6077
+ outcome: z.ZodLiteral<"not-investigation-session">;
6078
+ }, z.core.$strip>, z.ZodObject<{
6079
+ outcome: z.ZodLiteral<"nothing-to-restore">;
6080
+ }, z.core.$strip>], "outcome">;
6081
+ };
5792
6082
  stop: {
5793
6083
  readonly annotations: {
5794
6084
  readonly destructiveHint: true;
@@ -5967,8 +6257,8 @@ export declare const publicContractsV1: {
5967
6257
  endedAt: z.ZodISODateTime;
5968
6258
  id: z.ZodUUID;
5969
6259
  mode: z.ZodEnum<{
5970
- manual: "manual";
5971
6260
  automatic: "automatic";
6261
+ manual: "manual";
5972
6262
  }>;
5973
6263
  runIds: z.ZodArray<z.ZodString>;
5974
6264
  runnerId: z.ZodString;
@@ -5984,8 +6274,8 @@ export declare const publicContractsV1: {
5984
6274
  active: z.ZodOptional<z.ZodObject<{
5985
6275
  id: z.ZodUUID;
5986
6276
  mode: z.ZodEnum<{
5987
- manual: "manual";
5988
6277
  automatic: "automatic";
6278
+ manual: "manual";
5989
6279
  }>;
5990
6280
  startedAt: z.ZodISODateTime;
5991
6281
  }, z.core.$strip>>;
@@ -6031,8 +6321,8 @@ export declare const publicContractsV1: {
6031
6321
  endedAt: z.ZodISODateTime;
6032
6322
  id: z.ZodUUID;
6033
6323
  mode: z.ZodEnum<{
6034
- manual: "manual";
6035
6324
  automatic: "automatic";
6325
+ manual: "manual";
6036
6326
  }>;
6037
6327
  runIds: z.ZodArray<z.ZodString>;
6038
6328
  runnerId: z.ZodString;
@@ -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;AAqBlB,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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC"}
package/dist/v1/index.js CHANGED
@@ -29,12 +29,16 @@ import { makeFindIssuesContract, makeGetIssueContract } from "./issue/index.js";
29
29
  import { makeRemoveFlowsFromIssueContract } from "./issue/removeFlows.js";
30
30
  import { makeUpdateIssueContract } from "./issue/update.js";
31
31
  import { makeLegacyTriggerContracts } from "./legacyTrigger/index.js";
32
+ import { makeAcceptScreenshotBaselineContract } from "./run/acceptScreenshotBaseline.js";
32
33
  import { makeDiagnoseRunContract } from "./run/diagnose.js";
33
34
  import { makeFindRunsContract } from "./run/find.js";
34
35
  import { makeGetRunContract } from "./run/get.js";
35
36
  import { makeGetRunAttemptArtifactsContract } from "./run/getAttemptArtifacts.js";
36
37
  import { makeCreateRunContract } from "./run/index.js";
38
+ import { makeListScreenshotComparisonsContract } from "./run/listScreenshotComparisons.js";
39
+ import { makeOptOutOfInvestigationRunContract } from "./run/optOutOfInvestigation.js";
37
40
  import { makeReattemptRunContract } from "./run/reattempt.js";
41
+ import { makeRestoreScreenshotBaselineContract } from "./run/restoreScreenshotBaseline.js";
38
42
  import { makeStopRunContract } from "./run/stop.js";
39
43
  import { makeRunnerContracts } from "./runner/catalog.js";
40
44
  import { makeSkillContracts } from "./skill/index.js";
@@ -100,12 +104,16 @@ export const makeContractsV1 = (ids) => {
100
104
  },
101
105
  legacyTrigger: makeLegacyTriggerContracts(resolvedIds),
102
106
  run: {
107
+ acceptScreenshotBaseline: makeAcceptScreenshotBaselineContract(resolvedIds),
103
108
  create: makeCreateRunContract(resolvedIds),
104
109
  diagnose: makeDiagnoseRunContract(resolvedIds),
105
110
  find: makeFindRunsContract(resolvedIds),
106
111
  get: makeGetRunContract(resolvedIds),
107
112
  getAttemptArtifacts: makeGetRunAttemptArtifactsContract(resolvedIds),
113
+ listScreenshotComparisons: makeListScreenshotComparisonsContract(resolvedIds),
114
+ optOutOfInvestigation: makeOptOutOfInvestigationRunContract(resolvedIds),
108
115
  reattempt: makeReattemptRunContract(resolvedIds),
116
+ restoreScreenshotBaseline: makeRestoreScreenshotBaselineContract(resolvedIds),
109
117
  stop: makeStopRunContract(resolvedIds),
110
118
  },
111
119
  runner: makeRunnerContracts(resolvedIds),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/v1/index.ts"],"names":[],"mappings":"AAEA,cAAc,oBAAoB,CAAC;AAEnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,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,EA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,CAAC,WAAW,CAAC;QACtD,GAAG,EAAE;YACH,wBAAwB,EACtB,oCAAoC,CAAC,WAAW,CAAC;YACnD,MAAM,EAAE,qBAAqB,CAAC,WAAW,CAAC;YAC1C,QAAQ,EAAE,uBAAuB,CAAC,WAAW,CAAC;YAC9C,IAAI,EAAE,oBAAoB,CAAC,WAAW,CAAC;YACvC,GAAG,EAAE,kBAAkB,CAAC,WAAW,CAAC;YACpC,mBAAmB,EAAE,kCAAkC,CAAC,WAAW,CAAC;YACpE,yBAAyB,EACvB,qCAAqC,CAAC,WAAW,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"}
@@ -16,6 +16,14 @@ export declare const makeInvestigationFindingSchema: <ChatSessionId extends Publ
16
16
  disputeReason: z.ZodOptional<z.ZodString>;
17
17
  expected: z.ZodOptional<z.ZodString>;
18
18
  findingId: z.ZodString;
19
+ fix: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
20
+ commitHash: z.ZodString;
21
+ type: z.ZodLiteral<"commit">;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ baselineChangeId: z.ZodOptional<z.ZodString>;
24
+ comparisonId: z.ZodString;
25
+ type: z.ZodLiteral<"baseline">;
26
+ }, z.core.$strip>], "type">>;
19
27
  flowIds: z.ZodArray<FlowId>;
20
28
  headline: z.ZodOptional<z.ZodString>;
21
29
  issueId: z.ZodOptional<IssueId>;
@@ -34,6 +42,7 @@ export declare const makeInvestigationFindingSchema: <ChatSessionId extends Publ
34
42
  title: z.ZodString;
35
43
  value: z.ZodString;
36
44
  }, z.core.$strip>>;
45
+ comparisonId: z.ZodOptional<z.ZodString>;
37
46
  text: z.ZodString;
38
47
  }, z.core.$strip>>;
39
48
  response: z.ZodOptional<z.ZodObject<{
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiEG,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqGG,CAAC"}
@@ -3,7 +3,10 @@ import { issuePrioritySchema } from "../issue/index.js";
3
3
  export const investigationFindingStateDescription = 'What the investigation concluded about the cause. Known values: "investigating", "fixed", "fix-proposed", "reported", "report-proposed", "flake", "question" and "dismissed". New values can appear.';
4
4
  export const makeInvestigationFindingSchema = (ids) => z.object({
5
5
  actual: z.string().optional(),
6
- commitHash: z.string().optional(),
6
+ commitHash: z
7
+ .string()
8
+ .optional()
9
+ .describe("The commit of a commit fix. Same as `fix.commitHash`."),
7
10
  decidedBy: z
8
11
  .enum(["agent", "user"])
9
12
  .optional()
@@ -14,6 +17,27 @@ export const makeInvestigationFindingSchema = (ids) => z.object({
14
17
  .describe("Why a person disputed what the AI did. Present on a proposal the AI made again after that dispute."),
15
18
  expected: z.string().optional(),
16
19
  findingId: z.string(),
20
+ fix: z
21
+ .discriminatedUnion("type", [
22
+ z.object({
23
+ commitHash: z
24
+ .string()
25
+ .describe("The commit that changes the flow code."),
26
+ type: z.literal("commit"),
27
+ }),
28
+ z.object({
29
+ baselineChangeId: z
30
+ .string()
31
+ .optional()
32
+ .describe('The baseline change that made the new screenshot the baseline, on a "fixed" finding. `run restoreScreenshotBaseline` undoes it.'),
33
+ comparisonId: z
34
+ .string()
35
+ .describe("The failed screenshot comparison whose new screenshot becomes the baseline, as `run listScreenshotComparisons` names it."),
36
+ type: z.literal("baseline"),
37
+ }),
38
+ ])
39
+ .optional()
40
+ .describe('The fix of a "fixed" or "fix-proposed" finding: a commit to the flow code, or a new screenshot baseline.'),
17
41
  flowIds: z.array(ids.flow),
18
42
  headline: z.string().optional(),
19
43
  issueId: ids.issue.optional(),
@@ -29,8 +53,12 @@ export const makeInvestigationFindingSchema = (ids) => z.object({
29
53
  title: z.string(),
30
54
  value: z
31
55
  .string()
32
- .describe('What choosing this answer means. Known values: "apply", "dismiss", "report", "maintenance" and "bug". New values can appear.'),
56
+ .describe('What choosing this answer means. Known values: "apply", "dismiss", "report", "maintenance", "bug" and "baseline". New values can appear.'),
33
57
  })),
58
+ comparisonId: z
59
+ .string()
60
+ .optional()
61
+ .describe('The failed screenshot comparison a screenshot question is about, as `run listScreenshotComparisons` names it. Its answers are "bug" (the old screenshot is right), "maintenance" (both are right) and "baseline" (the new screenshot is right).'),
34
62
  text: z.string(),
35
63
  })
36
64
  .optional()