@qawolf/api-contracts 0.74.1 → 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.
- package/dist/v1/index.d.ts +248 -8
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +6 -0
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/investigation/finding.d.ts +9 -0
- package/dist/v1/investigation/finding.d.ts.map +1 -1
- package/dist/v1/investigation/finding.js +30 -2
- package/dist/v1/investigation/finding.js.map +1 -1
- package/dist/v1/investigation/get.d.ts +13 -0
- package/dist/v1/investigation/get.d.ts.map +1 -1
- package/dist/v1/investigation/get.js +4 -0
- package/dist/v1/investigation/get.js.map +1 -1
- package/dist/v1/investigation/index.d.ts +13 -0
- package/dist/v1/investigation/index.d.ts.map +1 -1
- package/dist/v1/issue/removeFlows.d.ts +2 -1
- package/dist/v1/issue/removeFlows.d.ts.map +1 -1
- package/dist/v1/issue/removeFlows.js +8 -5
- package/dist/v1/issue/removeFlows.js.map +1 -1
- package/dist/v1/run/acceptScreenshotBaseline.d.ts +34 -0
- package/dist/v1/run/acceptScreenshotBaseline.d.ts.map +1 -0
- package/dist/v1/run/acceptScreenshotBaseline.js +61 -0
- package/dist/v1/run/acceptScreenshotBaseline.js.map +1 -0
- package/dist/v1/run/diagnose.js +1 -1
- package/dist/v1/run/diagnose.js.map +1 -1
- package/dist/v1/run/investigationSessionId.d.ts +3 -0
- package/dist/v1/run/investigationSessionId.d.ts.map +1 -0
- package/dist/v1/run/investigationSessionId.js +12 -0
- package/dist/v1/run/investigationSessionId.js.map +1 -0
- package/dist/v1/run/listScreenshotComparisons.d.ts +60 -0
- package/dist/v1/run/listScreenshotComparisons.d.ts.map +1 -0
- package/dist/v1/run/listScreenshotComparisons.js +124 -0
- package/dist/v1/run/listScreenshotComparisons.js.map +1 -0
- package/dist/v1/run/restoreScreenshotBaseline.d.ts +33 -0
- package/dist/v1/run/restoreScreenshotBaseline.d.ts.map +1 -0
- package/dist/v1/run/restoreScreenshotBaseline.js +57 -0
- package/dist/v1/run/restoreScreenshotBaseline.js.map +1 -0
- package/dist/v1/runner/catalog.d.ts +3 -3
- package/dist/v1/runner/recording.d.ts +10 -10
- package/dist/v1/runner/runFlow.js +1 -1
- package/dist/v1/runner/runFlow.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/package.json +1 -1
package/dist/v1/index.d.ts
CHANGED
|
@@ -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:
|
|
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;
|
|
@@ -2022,6 +2064,57 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2022
2064
|
}, z.core.$strip>;
|
|
2023
2065
|
}, z.core.$strip>], "artifactStatus">;
|
|
2024
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
|
+
};
|
|
2025
2118
|
optOutOfInvestigation: {
|
|
2026
2119
|
readonly annotations: {
|
|
2027
2120
|
readonly destructiveHint: true;
|
|
@@ -2060,6 +2153,33 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2060
2153
|
url: z.ZodURL;
|
|
2061
2154
|
}, z.core.$strip>;
|
|
2062
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
|
+
};
|
|
2063
2183
|
stop: {
|
|
2064
2184
|
readonly annotations: {
|
|
2065
2185
|
readonly destructiveHint: true;
|
|
@@ -2238,8 +2358,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2238
2358
|
endedAt: z.ZodISODateTime;
|
|
2239
2359
|
id: z.ZodUUID;
|
|
2240
2360
|
mode: z.ZodEnum<{
|
|
2241
|
-
manual: "manual";
|
|
2242
2361
|
automatic: "automatic";
|
|
2362
|
+
manual: "manual";
|
|
2243
2363
|
}>;
|
|
2244
2364
|
runIds: z.ZodArray<z.ZodString>;
|
|
2245
2365
|
runnerId: z.ZodString;
|
|
@@ -2255,8 +2375,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2255
2375
|
active: z.ZodOptional<z.ZodObject<{
|
|
2256
2376
|
id: z.ZodUUID;
|
|
2257
2377
|
mode: z.ZodEnum<{
|
|
2258
|
-
manual: "manual";
|
|
2259
2378
|
automatic: "automatic";
|
|
2379
|
+
manual: "manual";
|
|
2260
2380
|
}>;
|
|
2261
2381
|
startedAt: z.ZodISODateTime;
|
|
2262
2382
|
}, z.core.$strip>>;
|
|
@@ -2302,8 +2422,8 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2302
2422
|
endedAt: z.ZodISODateTime;
|
|
2303
2423
|
id: z.ZodUUID;
|
|
2304
2424
|
mode: z.ZodEnum<{
|
|
2305
|
-
manual: "manual";
|
|
2306
2425
|
automatic: "automatic";
|
|
2426
|
+
manual: "manual";
|
|
2307
2427
|
}>;
|
|
2308
2428
|
runIds: z.ZodArray<z.ZodString>;
|
|
2309
2429
|
runnerId: z.ZodString;
|
|
@@ -4768,6 +4888,10 @@ export declare const publicContractsV1: {
|
|
|
4768
4888
|
readonly kind: "read";
|
|
4769
4889
|
readonly name: "investigation.get";
|
|
4770
4890
|
readonly output: z.ZodObject<{
|
|
4891
|
+
baselineChanges: z.ZodEnum<{
|
|
4892
|
+
automatic: "automatic";
|
|
4893
|
+
"needs-approval": "needs-approval";
|
|
4894
|
+
}>;
|
|
4771
4895
|
findings: z.ZodArray<z.ZodObject<{
|
|
4772
4896
|
actual: z.ZodOptional<z.ZodString>;
|
|
4773
4897
|
commitHash: z.ZodOptional<z.ZodString>;
|
|
@@ -4778,6 +4902,14 @@ export declare const publicContractsV1: {
|
|
|
4778
4902
|
disputeReason: z.ZodOptional<z.ZodString>;
|
|
4779
4903
|
expected: z.ZodOptional<z.ZodString>;
|
|
4780
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">>;
|
|
4781
4913
|
flowIds: z.ZodArray<PublicIdSchema>;
|
|
4782
4914
|
headline: z.ZodOptional<z.ZodString>;
|
|
4783
4915
|
issueId: z.ZodOptional<PublicIdSchema>;
|
|
@@ -4796,6 +4928,7 @@ export declare const publicContractsV1: {
|
|
|
4796
4928
|
title: z.ZodString;
|
|
4797
4929
|
value: z.ZodString;
|
|
4798
4930
|
}, z.core.$strip>>;
|
|
4931
|
+
comparisonId: z.ZodOptional<z.ZodString>;
|
|
4799
4932
|
text: z.ZodString;
|
|
4800
4933
|
}, z.core.$strip>>;
|
|
4801
4934
|
response: z.ZodOptional<z.ZodObject<{
|
|
@@ -5093,11 +5226,12 @@ export declare const publicContractsV1: {
|
|
|
5093
5226
|
removeFlows: {
|
|
5094
5227
|
readonly annotations: {
|
|
5095
5228
|
readonly destructiveHint: true;
|
|
5096
|
-
readonly openWorldHint:
|
|
5229
|
+
readonly openWorldHint: true;
|
|
5097
5230
|
readonly readOnlyHint: false;
|
|
5098
5231
|
};
|
|
5099
5232
|
readonly description: string;
|
|
5100
5233
|
readonly input: z.ZodObject<{
|
|
5234
|
+
environmentId: z.ZodOptional<PublicIdSchema>;
|
|
5101
5235
|
flowIds: z.ZodArray<PublicIdSchema>;
|
|
5102
5236
|
issueId: PublicIdSchema;
|
|
5103
5237
|
}, z.core.$strip>;
|
|
@@ -5334,6 +5468,34 @@ export declare const publicContractsV1: {
|
|
|
5334
5468
|
};
|
|
5335
5469
|
};
|
|
5336
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
|
+
};
|
|
5337
5499
|
create: {
|
|
5338
5500
|
readonly annotations: {
|
|
5339
5501
|
readonly destructiveHint: true;
|
|
@@ -5801,6 +5963,57 @@ export declare const publicContractsV1: {
|
|
|
5801
5963
|
}, z.core.$strip>;
|
|
5802
5964
|
}, z.core.$strip>], "artifactStatus">;
|
|
5803
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
|
+
};
|
|
5804
6017
|
optOutOfInvestigation: {
|
|
5805
6018
|
readonly annotations: {
|
|
5806
6019
|
readonly destructiveHint: true;
|
|
@@ -5839,6 +6052,33 @@ export declare const publicContractsV1: {
|
|
|
5839
6052
|
url: z.ZodURL;
|
|
5840
6053
|
}, z.core.$strip>;
|
|
5841
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
|
+
};
|
|
5842
6082
|
stop: {
|
|
5843
6083
|
readonly annotations: {
|
|
5844
6084
|
readonly destructiveHint: true;
|
|
@@ -6017,8 +6257,8 @@ export declare const publicContractsV1: {
|
|
|
6017
6257
|
endedAt: z.ZodISODateTime;
|
|
6018
6258
|
id: z.ZodUUID;
|
|
6019
6259
|
mode: z.ZodEnum<{
|
|
6020
|
-
manual: "manual";
|
|
6021
6260
|
automatic: "automatic";
|
|
6261
|
+
manual: "manual";
|
|
6022
6262
|
}>;
|
|
6023
6263
|
runIds: z.ZodArray<z.ZodString>;
|
|
6024
6264
|
runnerId: z.ZodString;
|
|
@@ -6034,8 +6274,8 @@ export declare const publicContractsV1: {
|
|
|
6034
6274
|
active: z.ZodOptional<z.ZodObject<{
|
|
6035
6275
|
id: z.ZodUUID;
|
|
6036
6276
|
mode: z.ZodEnum<{
|
|
6037
|
-
manual: "manual";
|
|
6038
6277
|
automatic: "automatic";
|
|
6278
|
+
manual: "manual";
|
|
6039
6279
|
}>;
|
|
6040
6280
|
startedAt: z.ZodISODateTime;
|
|
6041
6281
|
}, z.core.$strip>>;
|
|
@@ -6081,8 +6321,8 @@ export declare const publicContractsV1: {
|
|
|
6081
6321
|
endedAt: z.ZodISODateTime;
|
|
6082
6322
|
id: z.ZodUUID;
|
|
6083
6323
|
mode: z.ZodEnum<{
|
|
6084
|
-
manual: "manual";
|
|
6085
6324
|
automatic: "automatic";
|
|
6325
|
+
manual: "manual";
|
|
6086
6326
|
}>;
|
|
6087
6327
|
runIds: z.ZodArray<z.ZodString>;
|
|
6088
6328
|
runnerId: z.ZodString;
|
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;
|
|
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;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,c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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC"}
|
package/dist/v1/index.js
CHANGED
|
@@ -29,13 +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";
|
|
37
39
|
import { makeOptOutOfInvestigationRunContract } from "./run/optOutOfInvestigation.js";
|
|
38
40
|
import { makeReattemptRunContract } from "./run/reattempt.js";
|
|
41
|
+
import { makeRestoreScreenshotBaselineContract } from "./run/restoreScreenshotBaseline.js";
|
|
39
42
|
import { makeStopRunContract } from "./run/stop.js";
|
|
40
43
|
import { makeRunnerContracts } from "./runner/catalog.js";
|
|
41
44
|
import { makeSkillContracts } from "./skill/index.js";
|
|
@@ -101,13 +104,16 @@ export const makeContractsV1 = (ids) => {
|
|
|
101
104
|
},
|
|
102
105
|
legacyTrigger: makeLegacyTriggerContracts(resolvedIds),
|
|
103
106
|
run: {
|
|
107
|
+
acceptScreenshotBaseline: makeAcceptScreenshotBaselineContract(resolvedIds),
|
|
104
108
|
create: makeCreateRunContract(resolvedIds),
|
|
105
109
|
diagnose: makeDiagnoseRunContract(resolvedIds),
|
|
106
110
|
find: makeFindRunsContract(resolvedIds),
|
|
107
111
|
get: makeGetRunContract(resolvedIds),
|
|
108
112
|
getAttemptArtifacts: makeGetRunAttemptArtifactsContract(resolvedIds),
|
|
113
|
+
listScreenshotComparisons: makeListScreenshotComparisonsContract(resolvedIds),
|
|
109
114
|
optOutOfInvestigation: makeOptOutOfInvestigationRunContract(resolvedIds),
|
|
110
115
|
reattempt: makeReattemptRunContract(resolvedIds),
|
|
116
|
+
restoreScreenshotBaseline: makeRestoreScreenshotBaselineContract(resolvedIds),
|
|
111
117
|
stop: makeStopRunContract(resolvedIds),
|
|
112
118
|
},
|
|
113
119
|
runner: makeRunnerContracts(resolvedIds),
|
package/dist/v1/index.js.map
CHANGED
|
@@ -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,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,6BAA6B,EAAE,MAA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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
|
|
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
|
|
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 "
|
|
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()
|
|
@@ -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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AQ,EAAE;QACpB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC7B,IAAI,EAAE,CAAC;aACJ,MAAM,EAAE;aACR,QAAQ,CACP,8DAA8D,CAC/D;KACJ,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CACP,0EAA0E,CAC3E;IACH,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IAChE,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACrC,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC;IACvC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC"}
|
|
@@ -19,6 +19,10 @@ export declare const makeGetInvestigationContract: <ChatSessionId extends Public
|
|
|
19
19
|
readonly kind: "read";
|
|
20
20
|
readonly name: "investigation.get";
|
|
21
21
|
readonly output: z.ZodObject<{
|
|
22
|
+
baselineChanges: z.ZodEnum<{
|
|
23
|
+
automatic: "automatic";
|
|
24
|
+
"needs-approval": "needs-approval";
|
|
25
|
+
}>;
|
|
22
26
|
findings: z.ZodArray<z.ZodObject<{
|
|
23
27
|
actual: z.ZodOptional<z.ZodString>;
|
|
24
28
|
commitHash: z.ZodOptional<z.ZodString>;
|
|
@@ -29,6 +33,14 @@ export declare const makeGetInvestigationContract: <ChatSessionId extends Public
|
|
|
29
33
|
disputeReason: z.ZodOptional<z.ZodString>;
|
|
30
34
|
expected: z.ZodOptional<z.ZodString>;
|
|
31
35
|
findingId: z.ZodString;
|
|
36
|
+
fix: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
37
|
+
commitHash: z.ZodString;
|
|
38
|
+
type: z.ZodLiteral<"commit">;
|
|
39
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
+
baselineChangeId: z.ZodOptional<z.ZodString>;
|
|
41
|
+
comparisonId: z.ZodString;
|
|
42
|
+
type: z.ZodLiteral<"baseline">;
|
|
43
|
+
}, z.core.$strip>], "type">>;
|
|
32
44
|
flowIds: z.ZodArray<FlowId>;
|
|
33
45
|
headline: z.ZodOptional<z.ZodString>;
|
|
34
46
|
issueId: z.ZodOptional<IssueId>;
|
|
@@ -47,6 +59,7 @@ export declare const makeGetInvestigationContract: <ChatSessionId extends Public
|
|
|
47
59
|
title: z.ZodString;
|
|
48
60
|
value: z.ZodString;
|
|
49
61
|
}, z.core.$strip>>;
|
|
62
|
+
comparisonId: z.ZodOptional<z.ZodString>;
|
|
50
63
|
text: z.ZodString;
|
|
51
64
|
}, z.core.$strip>>;
|
|
52
65
|
response: z.ZodOptional<z.ZodObject<{
|
|
@@ -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;AAGxB,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
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/investigation/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CA,CAAC"}
|