@qawolf/api-contracts 0.120.1 → 0.126.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/attempt/get.d.ts +45 -2
- package/dist/v1/attempt/get.d.ts.map +1 -1
- package/dist/v1/attempt/get.js +35 -1
- package/dist/v1/attempt/get.js.map +1 -1
- package/dist/v1/index.d.ts +104 -2
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/investigation/get.d.ts +8 -0
- package/dist/v1/investigation/get.d.ts.map +1 -1
- package/dist/v1/investigation/get.js +14 -0
- package/dist/v1/investigation/get.js.map +1 -1
- package/dist/v1/investigation/index.d.ts +8 -0
- package/dist/v1/investigation/index.d.ts.map +1 -1
- package/dist/v1/promotion/get.d.ts +3 -1
- package/dist/v1/promotion/get.d.ts.map +1 -1
- package/dist/v1/promotion/get.js +5 -1
- package/dist/v1/promotion/get.js.map +1 -1
- package/dist/v1/promotion/index.d.ts +3 -1
- package/dist/v1/promotion/index.d.ts.map +1 -1
- package/dist/v1/promotion/index.js.map +1 -1
- package/dist/v1/trigger/deploymentFields.d.ts.map +1 -1
- package/dist/v1/trigger/deploymentFields.js +7 -5
- package/dist/v1/trigger/deploymentFields.js.map +1 -1
- package/package.json +1 -1
package/dist/v1/attempt/get.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import type { PublicIdSchema } from "../ids.js";
|
|
3
|
-
export declare const makeGetAttemptContract: <FlowId extends PublicIdSchema, RunId extends PublicIdSchema, RunAttemptId extends PublicIdSchema>(ids: {
|
|
3
|
+
export declare const makeGetAttemptContract: <FlowId extends PublicIdSchema, IssueId extends PublicIdSchema, RunId extends PublicIdSchema, RunAttemptId extends PublicIdSchema>(ids: {
|
|
4
4
|
flow: FlowId;
|
|
5
|
+
issue: IssueId;
|
|
5
6
|
run: RunId;
|
|
6
7
|
runAttempt: RunAttemptId;
|
|
7
8
|
}) => {
|
|
@@ -15,7 +16,7 @@ export declare const makeGetAttemptContract: <FlowId extends PublicIdSchema, Run
|
|
|
15
16
|
readonly openWorldHint: false;
|
|
16
17
|
readonly readOnlyHint: true;
|
|
17
18
|
};
|
|
18
|
-
readonly description: "Get a finished run attempt: its run and flow status, its place among that flow's attempts in the run, and signed links to its logs, trace, and video when they were captured.";
|
|
19
|
+
readonly description: "Get a finished run attempt: its run and flow status, its place among that flow's attempts in the run, the checks that failed in it, and signed links to its logs, trace, and video when they were captured.";
|
|
19
20
|
readonly input: z.ZodObject<{
|
|
20
21
|
attemptId: RunAttemptId;
|
|
21
22
|
}, z.core.$strip>;
|
|
@@ -84,6 +85,27 @@ export declare const makeGetAttemptContract: <FlowId extends PublicIdSchema, Run
|
|
|
84
85
|
aborted: "aborted";
|
|
85
86
|
}>;
|
|
86
87
|
}, z.core.$strip>;
|
|
88
|
+
failures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
89
|
+
diagnosis: z.ZodOptional<z.ZodObject<{
|
|
90
|
+
diagnosedAt: z.ZodISODateTime;
|
|
91
|
+
issueId: IssueId;
|
|
92
|
+
type: z.ZodEnum<{
|
|
93
|
+
bug: "bug";
|
|
94
|
+
maintenance: "maintenance";
|
|
95
|
+
}>;
|
|
96
|
+
}, z.core.$strip>>;
|
|
97
|
+
failedAt: z.ZodISODateTime;
|
|
98
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
99
|
+
kind: z.ZodEnum<{
|
|
100
|
+
soft: "soft";
|
|
101
|
+
hard: "hard";
|
|
102
|
+
}>;
|
|
103
|
+
lineNumber: z.ZodOptional<z.ZodNumber>;
|
|
104
|
+
message: z.ZodString;
|
|
105
|
+
name: z.ZodOptional<z.ZodString>;
|
|
106
|
+
position: z.ZodNumber;
|
|
107
|
+
}, z.core.$strip>>>;
|
|
108
|
+
failuresTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
87
109
|
}, z.core.$strip>, z.ZodObject<{
|
|
88
110
|
flowId: FlowId;
|
|
89
111
|
flowStatus: z.ZodEnum<{
|
|
@@ -143,6 +165,27 @@ export declare const makeGetAttemptContract: <FlowId extends PublicIdSchema, Run
|
|
|
143
165
|
aborted: "aborted";
|
|
144
166
|
}>;
|
|
145
167
|
}, z.core.$strip>;
|
|
168
|
+
failures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
169
|
+
diagnosis: z.ZodOptional<z.ZodObject<{
|
|
170
|
+
diagnosedAt: z.ZodISODateTime;
|
|
171
|
+
issueId: IssueId;
|
|
172
|
+
type: z.ZodEnum<{
|
|
173
|
+
bug: "bug";
|
|
174
|
+
maintenance: "maintenance";
|
|
175
|
+
}>;
|
|
176
|
+
}, z.core.$strip>>;
|
|
177
|
+
failedAt: z.ZodISODateTime;
|
|
178
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
179
|
+
kind: z.ZodEnum<{
|
|
180
|
+
soft: "soft";
|
|
181
|
+
hard: "hard";
|
|
182
|
+
}>;
|
|
183
|
+
lineNumber: z.ZodOptional<z.ZodNumber>;
|
|
184
|
+
message: z.ZodString;
|
|
185
|
+
name: z.ZodOptional<z.ZodString>;
|
|
186
|
+
position: z.ZodNumber;
|
|
187
|
+
}, z.core.$strip>>>;
|
|
188
|
+
failuresTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
146
189
|
}, z.core.$strip>, z.ZodObject<{
|
|
147
190
|
flowId: FlowId;
|
|
148
191
|
flowStatus: z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/attempt/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAMhD,eAAO,MAAM,sBAAsB,GACjC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,YAAY,SAAS,cAAc,EACnC,KAAK;IACL,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,KAAK,CAAC;IACX,UAAU,EAAE,YAAY,CAAC;CAC1B
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/attempt/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAMhD,eAAO,MAAM,sBAAsB,GACjC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,YAAY,SAAS,cAAc,EACnC,KAAK;IACL,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;IACX,UAAU,EAAE,YAAY,CAAC;CAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6IA,CAAC"}
|
package/dist/v1/attempt/get.js
CHANGED
|
@@ -32,6 +32,36 @@ export const makeGetAttemptContract = (ids) => {
|
|
|
32
32
|
error: z.string().optional(),
|
|
33
33
|
startedAt: z.iso.datetime().optional(),
|
|
34
34
|
});
|
|
35
|
+
const failures = z
|
|
36
|
+
.array(z.object({
|
|
37
|
+
diagnosis: z
|
|
38
|
+
.object({
|
|
39
|
+
diagnosedAt: z.iso.datetime(),
|
|
40
|
+
issueId: ids.issue,
|
|
41
|
+
type: z.enum(["bug", "maintenance"]),
|
|
42
|
+
})
|
|
43
|
+
.optional()
|
|
44
|
+
.describe("The bug or maintenance item the failure was diagnosed to. Absent while the failure is undiagnosed."),
|
|
45
|
+
failedAt: z.iso.datetime(),
|
|
46
|
+
filePath: z.string().optional(),
|
|
47
|
+
kind: z
|
|
48
|
+
.enum(["soft", "hard"])
|
|
49
|
+
.describe("soft: an expect.soft() check that failed while the flow kept going. hard: the failure that stopped the flow."),
|
|
50
|
+
lineNumber: z.number().int().optional(),
|
|
51
|
+
message: z.string(),
|
|
52
|
+
name: z.string().optional(),
|
|
53
|
+
position: z
|
|
54
|
+
.number()
|
|
55
|
+
.int()
|
|
56
|
+
.min(0)
|
|
57
|
+
.describe("The failure's position in the attempt, counting from 0: soft failures in the order they happened, then the hard failure."),
|
|
58
|
+
}))
|
|
59
|
+
.optional()
|
|
60
|
+
.describe("Each failure of this attempt in run order, the hard failure last, with at most 100 failures. Empty when the attempt had none. Absent when the attempt's events can't be read. That can be for a short time, while the events are still being saved, or for good, when an aborted or skipped attempt never saved any.");
|
|
61
|
+
const failuresTruncated = z
|
|
62
|
+
.boolean()
|
|
63
|
+
.optional()
|
|
64
|
+
.describe("True when the attempt reached the 100-failure limit, so failures may leave some out. Present whenever failures is.");
|
|
35
65
|
const artifactUrls = {
|
|
36
66
|
logsUrl: z.url().optional(),
|
|
37
67
|
traceUrl: z.url().optional(),
|
|
@@ -45,6 +75,8 @@ export const makeGetAttemptContract = (ids) => {
|
|
|
45
75
|
kind: z.literal("automated"),
|
|
46
76
|
status: attemptStatus,
|
|
47
77
|
}),
|
|
78
|
+
failures,
|
|
79
|
+
failuresTruncated,
|
|
48
80
|
}),
|
|
49
81
|
response.extend({
|
|
50
82
|
artifacts: z.object({}).strict(),
|
|
@@ -53,6 +85,8 @@ export const makeGetAttemptContract = (ids) => {
|
|
|
53
85
|
kind: z.literal("automated"),
|
|
54
86
|
status: attemptStatus,
|
|
55
87
|
}),
|
|
88
|
+
failures,
|
|
89
|
+
failuresTruncated,
|
|
56
90
|
}),
|
|
57
91
|
response.extend({
|
|
58
92
|
artifacts: z.object({}).strict(),
|
|
@@ -78,7 +112,7 @@ export const makeGetAttemptContract = (ids) => {
|
|
|
78
112
|
openWorldHint: false,
|
|
79
113
|
readOnlyHint: true,
|
|
80
114
|
},
|
|
81
|
-
description: "Get a finished run attempt: its run and flow status, its place among that flow's attempts in the run, and signed links to its logs, trace, and video when they were captured.",
|
|
115
|
+
description: "Get a finished run attempt: its run and flow status, its place among that flow's attempts in the run, the checks that failed in it, and signed links to its logs, trace, and video when they were captured.",
|
|
82
116
|
input,
|
|
83
117
|
kind: "read",
|
|
84
118
|
name: "attempt.get",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/v1/attempt/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EACL,qBAAqB,EACrB,4BAA4B,GAC7B,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,sBAAsB,GAAG,
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/v1/attempt/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EACL,qBAAqB,EACrB,4BAA4B,GAC7B,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAKpC,GAKD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;IACtD,MAAM,aAAa,GAAG,CAAC,CAAC,IAAI,CAAC;QAC3B,QAAQ;QACR,QAAQ;QACR,UAAU;QACV,SAAS;QACT,SAAS;KACV,CAAC,CAAC;IACH,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;QAC/B,SAAS,EAAE,GAAG,CAAC,UAAU;QACzB,MAAM,EAAE,aAAa;KACtB,CAAC,CAAC;IACH,MAAM,QAAQ,GAAG,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,CAAC"}
|
package/dist/v1/index.d.ts
CHANGED
|
@@ -177,7 +177,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
177
177
|
readonly openWorldHint: false;
|
|
178
178
|
readonly readOnlyHint: true;
|
|
179
179
|
};
|
|
180
|
-
readonly description: "Get a finished run attempt: its run and flow status, its place among that flow's attempts in the run, and signed links to its logs, trace, and video when they were captured.";
|
|
180
|
+
readonly description: "Get a finished run attempt: its run and flow status, its place among that flow's attempts in the run, the checks that failed in it, and signed links to its logs, trace, and video when they were captured.";
|
|
181
181
|
readonly input: z.ZodObject<{
|
|
182
182
|
attemptId: PublicIdSchema;
|
|
183
183
|
}, z.core.$strip>;
|
|
@@ -246,6 +246,27 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
246
246
|
aborted: "aborted";
|
|
247
247
|
}>;
|
|
248
248
|
}, z.core.$strip>;
|
|
249
|
+
failures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
250
|
+
diagnosis: z.ZodOptional<z.ZodObject<{
|
|
251
|
+
diagnosedAt: z.ZodISODateTime;
|
|
252
|
+
issueId: IssueId;
|
|
253
|
+
type: z.ZodEnum<{
|
|
254
|
+
bug: "bug";
|
|
255
|
+
maintenance: "maintenance";
|
|
256
|
+
}>;
|
|
257
|
+
}, z.core.$strip>>;
|
|
258
|
+
failedAt: z.ZodISODateTime;
|
|
259
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
260
|
+
kind: z.ZodEnum<{
|
|
261
|
+
soft: "soft";
|
|
262
|
+
hard: "hard";
|
|
263
|
+
}>;
|
|
264
|
+
lineNumber: z.ZodOptional<z.ZodNumber>;
|
|
265
|
+
message: z.ZodString;
|
|
266
|
+
name: z.ZodOptional<z.ZodString>;
|
|
267
|
+
position: z.ZodNumber;
|
|
268
|
+
}, z.core.$strip>>>;
|
|
269
|
+
failuresTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
249
270
|
}, z.core.$strip>, z.ZodObject<{
|
|
250
271
|
flowId: FlowId;
|
|
251
272
|
flowStatus: z.ZodEnum<{
|
|
@@ -305,6 +326,27 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
305
326
|
aborted: "aborted";
|
|
306
327
|
}>;
|
|
307
328
|
}, z.core.$strip>;
|
|
329
|
+
failures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
330
|
+
diagnosis: z.ZodOptional<z.ZodObject<{
|
|
331
|
+
diagnosedAt: z.ZodISODateTime;
|
|
332
|
+
issueId: IssueId;
|
|
333
|
+
type: z.ZodEnum<{
|
|
334
|
+
bug: "bug";
|
|
335
|
+
maintenance: "maintenance";
|
|
336
|
+
}>;
|
|
337
|
+
}, z.core.$strip>>;
|
|
338
|
+
failedAt: z.ZodISODateTime;
|
|
339
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
340
|
+
kind: z.ZodEnum<{
|
|
341
|
+
soft: "soft";
|
|
342
|
+
hard: "hard";
|
|
343
|
+
}>;
|
|
344
|
+
lineNumber: z.ZodOptional<z.ZodNumber>;
|
|
345
|
+
message: z.ZodString;
|
|
346
|
+
name: z.ZodOptional<z.ZodString>;
|
|
347
|
+
position: z.ZodNumber;
|
|
348
|
+
}, z.core.$strip>>>;
|
|
349
|
+
failuresTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
308
350
|
}, z.core.$strip>, z.ZodObject<{
|
|
309
351
|
flowId: FlowId;
|
|
310
352
|
flowStatus: z.ZodEnum<{
|
|
@@ -1790,6 +1832,13 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1790
1832
|
automatic: "automatic";
|
|
1791
1833
|
"needs-approval": "needs-approval";
|
|
1792
1834
|
}>;
|
|
1835
|
+
completion: z.ZodOptional<z.ZodObject<{
|
|
1836
|
+
remainingFlows: z.ZodArray<z.ZodObject<{
|
|
1837
|
+
flowId: FlowId;
|
|
1838
|
+
reason: z.ZodString;
|
|
1839
|
+
}, z.core.$strip>>;
|
|
1840
|
+
waitingFlowIds: z.ZodArray<FlowId>;
|
|
1841
|
+
}, z.core.$strip>>;
|
|
1793
1842
|
findings: z.ZodArray<z.ZodObject<{
|
|
1794
1843
|
actual: z.ZodOptional<z.ZodString>;
|
|
1795
1844
|
commitHash: z.ZodOptional<z.ZodString>;
|
|
@@ -1858,6 +1907,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
1858
1907
|
supersededByRunId: z.ZodOptional<RunId>;
|
|
1859
1908
|
updatedAt: z.ZodISODateTime;
|
|
1860
1909
|
}, z.core.$strip>>;
|
|
1910
|
+
isStopped: z.ZodOptional<z.ZodBoolean>;
|
|
1861
1911
|
questionsFromOtherRuns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1862
1912
|
answer: z.ZodOptional<z.ZodString>;
|
|
1863
1913
|
answeredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -2989,6 +3039,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
|
|
|
2989
3039
|
abandoned: "abandoned";
|
|
2990
3040
|
}>;
|
|
2991
3041
|
url: z.ZodURL;
|
|
3042
|
+
aiTaskSessionId: z.ZodOptional<ChatSessionId>;
|
|
2992
3043
|
}, z.core.$strip>;
|
|
2993
3044
|
};
|
|
2994
3045
|
resolve: {
|
|
@@ -5736,7 +5787,7 @@ export declare const publicContractsV1: {
|
|
|
5736
5787
|
readonly openWorldHint: false;
|
|
5737
5788
|
readonly readOnlyHint: true;
|
|
5738
5789
|
};
|
|
5739
|
-
readonly description: "Get a finished run attempt: its run and flow status, its place among that flow's attempts in the run, and signed links to its logs, trace, and video when they were captured.";
|
|
5790
|
+
readonly description: "Get a finished run attempt: its run and flow status, its place among that flow's attempts in the run, the checks that failed in it, and signed links to its logs, trace, and video when they were captured.";
|
|
5740
5791
|
readonly input: z.ZodObject<{
|
|
5741
5792
|
attemptId: PublicIdSchema;
|
|
5742
5793
|
}, z.core.$strip>;
|
|
@@ -5805,6 +5856,27 @@ export declare const publicContractsV1: {
|
|
|
5805
5856
|
aborted: "aborted";
|
|
5806
5857
|
}>;
|
|
5807
5858
|
}, z.core.$strip>;
|
|
5859
|
+
failures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5860
|
+
diagnosis: z.ZodOptional<z.ZodObject<{
|
|
5861
|
+
diagnosedAt: z.ZodISODateTime;
|
|
5862
|
+
issueId: PublicIdSchema;
|
|
5863
|
+
type: z.ZodEnum<{
|
|
5864
|
+
bug: "bug";
|
|
5865
|
+
maintenance: "maintenance";
|
|
5866
|
+
}>;
|
|
5867
|
+
}, z.core.$strip>>;
|
|
5868
|
+
failedAt: z.ZodISODateTime;
|
|
5869
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
5870
|
+
kind: z.ZodEnum<{
|
|
5871
|
+
soft: "soft";
|
|
5872
|
+
hard: "hard";
|
|
5873
|
+
}>;
|
|
5874
|
+
lineNumber: z.ZodOptional<z.ZodNumber>;
|
|
5875
|
+
message: z.ZodString;
|
|
5876
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5877
|
+
position: z.ZodNumber;
|
|
5878
|
+
}, z.core.$strip>>>;
|
|
5879
|
+
failuresTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
5808
5880
|
}, z.core.$strip>, z.ZodObject<{
|
|
5809
5881
|
flowId: PublicIdSchema;
|
|
5810
5882
|
flowStatus: z.ZodEnum<{
|
|
@@ -5864,6 +5936,27 @@ export declare const publicContractsV1: {
|
|
|
5864
5936
|
aborted: "aborted";
|
|
5865
5937
|
}>;
|
|
5866
5938
|
}, z.core.$strip>;
|
|
5939
|
+
failures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5940
|
+
diagnosis: z.ZodOptional<z.ZodObject<{
|
|
5941
|
+
diagnosedAt: z.ZodISODateTime;
|
|
5942
|
+
issueId: PublicIdSchema;
|
|
5943
|
+
type: z.ZodEnum<{
|
|
5944
|
+
bug: "bug";
|
|
5945
|
+
maintenance: "maintenance";
|
|
5946
|
+
}>;
|
|
5947
|
+
}, z.core.$strip>>;
|
|
5948
|
+
failedAt: z.ZodISODateTime;
|
|
5949
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
5950
|
+
kind: z.ZodEnum<{
|
|
5951
|
+
soft: "soft";
|
|
5952
|
+
hard: "hard";
|
|
5953
|
+
}>;
|
|
5954
|
+
lineNumber: z.ZodOptional<z.ZodNumber>;
|
|
5955
|
+
message: z.ZodString;
|
|
5956
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5957
|
+
position: z.ZodNumber;
|
|
5958
|
+
}, z.core.$strip>>>;
|
|
5959
|
+
failuresTruncated: z.ZodOptional<z.ZodBoolean>;
|
|
5867
5960
|
}, z.core.$strip>, z.ZodObject<{
|
|
5868
5961
|
flowId: PublicIdSchema;
|
|
5869
5962
|
flowStatus: z.ZodEnum<{
|
|
@@ -7349,6 +7442,13 @@ export declare const publicContractsV1: {
|
|
|
7349
7442
|
automatic: "automatic";
|
|
7350
7443
|
"needs-approval": "needs-approval";
|
|
7351
7444
|
}>;
|
|
7445
|
+
completion: z.ZodOptional<z.ZodObject<{
|
|
7446
|
+
remainingFlows: z.ZodArray<z.ZodObject<{
|
|
7447
|
+
flowId: PublicIdSchema;
|
|
7448
|
+
reason: z.ZodString;
|
|
7449
|
+
}, z.core.$strip>>;
|
|
7450
|
+
waitingFlowIds: z.ZodArray<PublicIdSchema>;
|
|
7451
|
+
}, z.core.$strip>>;
|
|
7352
7452
|
findings: z.ZodArray<z.ZodObject<{
|
|
7353
7453
|
actual: z.ZodOptional<z.ZodString>;
|
|
7354
7454
|
commitHash: z.ZodOptional<z.ZodString>;
|
|
@@ -7417,6 +7517,7 @@ export declare const publicContractsV1: {
|
|
|
7417
7517
|
supersededByRunId: z.ZodOptional<PublicIdSchema>;
|
|
7418
7518
|
updatedAt: z.ZodISODateTime;
|
|
7419
7519
|
}, z.core.$strip>>;
|
|
7520
|
+
isStopped: z.ZodOptional<z.ZodBoolean>;
|
|
7420
7521
|
questionsFromOtherRuns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7421
7522
|
answer: z.ZodOptional<z.ZodString>;
|
|
7422
7523
|
answeredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -8548,6 +8649,7 @@ export declare const publicContractsV1: {
|
|
|
8548
8649
|
abandoned: "abandoned";
|
|
8549
8650
|
}>;
|
|
8550
8651
|
url: z.ZodURL;
|
|
8652
|
+
aiTaskSessionId: z.ZodOptional<PublicIdSchema>;
|
|
8551
8653
|
}, z.core.$strip>;
|
|
8552
8654
|
};
|
|
8553
8655
|
resolve: {
|
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,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,cAAc,oBAAoB,CAAC;AASnC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AA0B5D,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,iBAAiB,EAEvB,MAAM,UAAU,CAAC;AAsBlB,MAAM,MAAM,cAAc,CAAC,GAAG,SAAS,oBAAoB,IAAI,CAAC,CAAC,KAAK,CACpE,GAAG,CAAC,OAAO,CAAC,CACb,CAAC;AAEF,MAAM,MAAM,eAAe,CAAC,GAAG,SAAS,oBAAoB,IAAI,CAAC,CAAC,KAAK,CACrE,GAAG,CAAC,QAAQ,CAAC,CACd,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,GAC1B,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK,SAAS,cAAc,EAC5B,OAAO,SAAS,cAAc,GAAG,cAAc,EAC/C,WAAW,SAAS,cAAc,GAAG,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC"}
|
|
@@ -28,6 +28,13 @@ export declare const makeGetInvestigationContract: <ChatSessionId extends Public
|
|
|
28
28
|
automatic: "automatic";
|
|
29
29
|
"needs-approval": "needs-approval";
|
|
30
30
|
}>;
|
|
31
|
+
completion: z.ZodOptional<z.ZodObject<{
|
|
32
|
+
remainingFlows: z.ZodArray<z.ZodObject<{
|
|
33
|
+
flowId: FlowId;
|
|
34
|
+
reason: z.ZodString;
|
|
35
|
+
}, z.core.$strip>>;
|
|
36
|
+
waitingFlowIds: z.ZodArray<FlowId>;
|
|
37
|
+
}, z.core.$strip>>;
|
|
31
38
|
findings: z.ZodArray<z.ZodObject<{
|
|
32
39
|
actual: z.ZodOptional<z.ZodString>;
|
|
33
40
|
commitHash: z.ZodOptional<z.ZodString>;
|
|
@@ -96,6 +103,7 @@ export declare const makeGetInvestigationContract: <ChatSessionId extends Public
|
|
|
96
103
|
supersededByRunId: z.ZodOptional<RunId>;
|
|
97
104
|
updatedAt: z.ZodISODateTime;
|
|
98
105
|
}, z.core.$strip>>;
|
|
106
|
+
isStopped: z.ZodOptional<z.ZodBoolean>;
|
|
99
107
|
questionsFromOtherRuns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
100
108
|
answer: z.ZodOptional<z.ZodString>;
|
|
101
109
|
answeredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgHA,CAAC"}
|
|
@@ -9,7 +9,21 @@ export const makeGetInvestigationContract = (ids) => {
|
|
|
9
9
|
.enum(["automatic", "needs-approval"])
|
|
10
10
|
.describe('How the investigation can make a new screenshot the baseline. "automatic": it can accept a baseline on its own. ' +
|
|
11
11
|
'"needs-approval": it proposes the baseline on a fix-proposed finding, and accepts it only after a person applies the proposal.'),
|
|
12
|
+
completion: z
|
|
13
|
+
.object({
|
|
14
|
+
remainingFlows: z.array(z.object({
|
|
15
|
+
flowId: ids.flow,
|
|
16
|
+
reason: z.string(),
|
|
17
|
+
})),
|
|
18
|
+
waitingFlowIds: z.array(ids.flow),
|
|
19
|
+
})
|
|
20
|
+
.optional()
|
|
21
|
+
.describe("Current per-flow completion check. Continue every remaining flow before ending. Questions cover only waitingFlowIds. Missing completion means coverage cannot be verified."),
|
|
12
22
|
findings: z.array(makeInvestigationFindingSchema(ids)),
|
|
23
|
+
isStopped: z
|
|
24
|
+
.boolean()
|
|
25
|
+
.optional()
|
|
26
|
+
.describe("Whether a person stopped the investigation or took it over. When true, end work on this run despite remaining children or answers."),
|
|
13
27
|
questionsFromOtherRuns: z
|
|
14
28
|
.array(z.object({
|
|
15
29
|
answer: z
|
|
@@ -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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AQ,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,qPAAqP,CACxP;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"}
|
|
@@ -30,6 +30,13 @@ export declare const makeInvestigationContracts: <ChatSessionId extends PublicId
|
|
|
30
30
|
automatic: "automatic";
|
|
31
31
|
"needs-approval": "needs-approval";
|
|
32
32
|
}>;
|
|
33
|
+
completion: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
34
|
+
remainingFlows: import("zod").ZodArray<import("zod").ZodObject<{
|
|
35
|
+
flowId: FlowId;
|
|
36
|
+
reason: import("zod").ZodString;
|
|
37
|
+
}, import("zod/v4/core").$strip>>;
|
|
38
|
+
waitingFlowIds: import("zod").ZodArray<FlowId>;
|
|
39
|
+
}, import("zod/v4/core").$strip>>;
|
|
33
40
|
findings: import("zod").ZodArray<import("zod").ZodObject<{
|
|
34
41
|
actual: import("zod").ZodOptional<import("zod").ZodString>;
|
|
35
42
|
commitHash: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -98,6 +105,7 @@ export declare const makeInvestigationContracts: <ChatSessionId extends PublicId
|
|
|
98
105
|
supersededByRunId: import("zod").ZodOptional<RunId>;
|
|
99
106
|
updatedAt: import("zod").ZodISODateTime;
|
|
100
107
|
}, import("zod/v4/core").$strip>>;
|
|
108
|
+
isStopped: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
101
109
|
questionsFromOtherRuns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
102
110
|
answer: import("zod").ZodOptional<import("zod").ZodString>;
|
|
103
111
|
answeredAt: import("zod").ZodOptional<import("zod").ZodISODateTime>;
|
|
@@ -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;AAKhD,eAAO,MAAM,0BAA0B,GACrC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;IACX,SAAS,EAAE,WAAW,CAAC;CACxB
|
|
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;AAKhD,eAAO,MAAM,0BAA0B,GACrC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,OAAO,SAAS,cAAc,EAC9B,KAAK,SAAS,cAAc,EAC5B,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,KAAK,CAAC;IACX,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGC,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import type { PublicIdSchema } from "../ids.js";
|
|
3
|
-
export declare const makeGetPromotionContract: <AiTaskId extends PublicIdSchema, EnvironmentId extends PublicIdSchema, PromotionId extends PublicIdSchema>(ids: {
|
|
3
|
+
export declare const makeGetPromotionContract: <AiTaskId extends PublicIdSchema, ChatSessionId extends PublicIdSchema, EnvironmentId extends PublicIdSchema, PromotionId extends PublicIdSchema>(ids: {
|
|
4
4
|
aiTask: AiTaskId;
|
|
5
|
+
chatSession: ChatSessionId;
|
|
5
6
|
environment: EnvironmentId;
|
|
6
7
|
promotion: PromotionId;
|
|
7
8
|
}) => {
|
|
@@ -43,6 +44,7 @@ export declare const makeGetPromotionContract: <AiTaskId extends PublicIdSchema,
|
|
|
43
44
|
abandoned: "abandoned";
|
|
44
45
|
}>;
|
|
45
46
|
url: z.ZodURL;
|
|
47
|
+
aiTaskSessionId: z.ZodOptional<ChatSessionId>;
|
|
46
48
|
}, z.core.$strip>;
|
|
47
49
|
};
|
|
48
50
|
//# sourceMappingURL=get.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/promotion/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,wBAAwB,GACnC,QAAQ,SAAS,cAAc,EAC/B,aAAa,SAAS,cAAc,EACpC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,MAAM,EAAE,QAAQ,CAAC;IACjB,WAAW,EAAE,aAAa,CAAC;IAC3B,SAAS,EAAE,WAAW,CAAC;CACxB
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/v1/promotion/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,wBAAwB,GACnC,QAAQ,SAAS,cAAc,EAC/B,aAAa,SAAS,cAAc,EACpC,aAAa,SAAS,cAAc,EACpC,WAAW,SAAS,cAAc,EAClC,KAAK;IACL,MAAM,EAAE,QAAQ,CAAC;IACjB,WAAW,EAAE,aAAa,CAAC;IAC3B,WAAW,EAAE,aAAa,CAAC;IAC3B,SAAS,EAAE,WAAW,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCA,CAAC"}
|
package/dist/v1/promotion/get.js
CHANGED
|
@@ -2,7 +2,11 @@ import { z } from "zod";
|
|
|
2
2
|
import { makePromotionResourceSchema } from "./resource.js";
|
|
3
3
|
export const makeGetPromotionContract = (ids) => {
|
|
4
4
|
const input = z.object({ promotionId: ids.promotion });
|
|
5
|
-
const output = makePromotionResourceSchema(ids)
|
|
5
|
+
const output = makePromotionResourceSchema(ids).extend({
|
|
6
|
+
aiTaskSessionId: ids.chatSession
|
|
7
|
+
.optional()
|
|
8
|
+
.describe("The session of the AI resolving this promotion's conflicts. Absent until it starts."),
|
|
9
|
+
});
|
|
6
10
|
return {
|
|
7
11
|
annotationJustifications: {
|
|
8
12
|
destructiveHint: "Does not change the promotion, its environments or flow code branches.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/v1/promotion/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAE5D,MAAM,CAAC,MAAM,wBAAwB,GAAG,
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/v1/promotion/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAE5D,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAKtC,GAKD,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;IACvD,MAAM,MAAM,GAAG,2BAA2B,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC;QACrD,eAAe,EAAE,GAAG,CAAC,WAAW;aAC7B,QAAQ,EAAE;aACV,QAAQ,CACP,qFAAqF,CACtF;KACJ,CAAC,CAAC;IAEH,OAAO;QACL,wBAAwB,EAAE;YACxB,eAAe,EACb,wEAAwE;YAC1E,aAAa,EACX,6EAA6E;YAC/E,YAAY,EACV,+EAA+E;SAClF;QACD,WAAW,EAAE;YACX,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,IAAI;SACnB;QACD,WAAW,EACT,iWAAiW;QACnW,KAAK;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,eAAe;QACrB,MAAM;KAMP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -3,8 +3,9 @@ export { makeFindPromotionsContract } from "./find.js";
|
|
|
3
3
|
export { makeGetPromotionContract } from "./get.js";
|
|
4
4
|
export { makeResolvePromotionContract, maxResolvedFileBytes, } from "./resolve.js";
|
|
5
5
|
export { type PromotionStatus, makePromotionResourceSchema, promotionStatusSchema, } from "./resource.js";
|
|
6
|
-
export declare const makePromotionContracts: <AiTaskId extends PublicIdSchema, EnvironmentId extends PublicIdSchema, PromotionId extends PublicIdSchema, WorkspaceId extends PublicIdSchema>(ids: {
|
|
6
|
+
export declare const makePromotionContracts: <AiTaskId extends PublicIdSchema, ChatSessionId extends PublicIdSchema, EnvironmentId extends PublicIdSchema, PromotionId extends PublicIdSchema, WorkspaceId extends PublicIdSchema>(ids: {
|
|
7
7
|
aiTask: AiTaskId;
|
|
8
|
+
chatSession: ChatSessionId;
|
|
8
9
|
environment: EnvironmentId;
|
|
9
10
|
environmentRef: PublicIdSchema;
|
|
10
11
|
promotion: PromotionId;
|
|
@@ -104,6 +105,7 @@ export declare const makePromotionContracts: <AiTaskId extends PublicIdSchema, E
|
|
|
104
105
|
abandoned: "abandoned";
|
|
105
106
|
}>;
|
|
106
107
|
url: import("zod").ZodURL;
|
|
108
|
+
aiTaskSessionId: import("zod").ZodOptional<ChatSessionId>;
|
|
107
109
|
}, import("zod/v4/core").$strip>;
|
|
108
110
|
};
|
|
109
111
|
resolve: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/promotion/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAMhD,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/promotion/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC;AAE5D,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EACL,4BAA4B,EAC5B,oBAAoB,GACrB,MAAM,cAAc,CAAC;AACtB,OAAO,EAEL,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,sBAAsB,GAAG,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/promotion/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC;AAE5D,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EACL,4BAA4B,EAC5B,oBAAoB,GACrB,MAAM,cAAc,CAAC;AACtB,OAAO,EAEL,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAMpC,GAOD,EAAE,EAAE,CAAC,CAAC;IACL,IAAI,EAAE,0BAA0B,CAAC,GAAG,CAAC;IACrC,GAAG,EAAE,wBAAwB,CAAC,GAAG,CAAC;IAClC,OAAO,EAAE,4BAA4B,CAAC,GAAG,CAAC;CAC3C,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploymentFields.d.ts","sourceRoot":"","sources":["../../../src/v1/trigger/deploymentFields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"deploymentFields.d.ts","sourceRoot":"","sources":["../../../src/v1/trigger/deploymentFields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAShD;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,GACtC,aAAa,SAAS,cAAc,EACpC,MAAM,SAAS,cAAc,EAC7B,KAAK;IACL,WAAW,EAAE,aAAa,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;CACd;;;;;;;;;;;;;;;;;;;CAqDC,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { makeTriggerActionSchema } from "./configuration.js";
|
|
3
|
+
const patternSyntax = "The pattern ignores case: * matches any text, / included; {main,hotfix} matches any one of its comma-separated options; a leading ! matches every value the rest does not; every other character, ? and [ included, matches only itself.";
|
|
4
|
+
const describePattern = (meaning) => `${meaning} ${patternSyntax}`;
|
|
3
5
|
/**
|
|
4
6
|
* Fields that say which deployments a deployment trigger fires for. Every
|
|
5
7
|
* pattern supplied must match, and supplying none fires on every deployment
|
|
@@ -11,12 +13,12 @@ export const makeTriggerDeploymentFields = (ids) => ({
|
|
|
11
13
|
.string()
|
|
12
14
|
.min(1)
|
|
13
15
|
.optional()
|
|
14
|
-
.describe("Only fire for deployments of a branch matching this pattern."),
|
|
16
|
+
.describe(describePattern("Only fire for deployments of a branch matching this pattern.")),
|
|
15
17
|
deployTargetPattern: z
|
|
16
18
|
.string()
|
|
17
19
|
.min(1)
|
|
18
20
|
.optional()
|
|
19
|
-
.describe("Only fire for deployments whose deploy target matches this pattern. A deploy target is the URL the deploy reported, which many deployments do not carry."),
|
|
21
|
+
.describe(describePattern("Only fire for deployments whose deploy target matches this pattern. A deploy target is the URL the deploy reported, which many deployments do not carry.")),
|
|
20
22
|
environmentIds: z
|
|
21
23
|
.array(ids.environment)
|
|
22
24
|
.default([])
|
|
@@ -25,16 +27,16 @@ export const makeTriggerDeploymentFields = (ids) => ({
|
|
|
25
27
|
.string()
|
|
26
28
|
.min(1)
|
|
27
29
|
.optional()
|
|
28
|
-
.describe("Only fire for deployments to environments matching this pattern. Mutually exclusive with environmentIds."),
|
|
30
|
+
.describe(describePattern("Only fire for deployments to environments matching this pattern. Mutually exclusive with environmentIds.")),
|
|
29
31
|
repositoryPattern: z
|
|
30
32
|
.string()
|
|
31
33
|
.min(1)
|
|
32
34
|
.optional()
|
|
33
|
-
.describe('Only fire for deployments from a repository whose "owner/name" matches this pattern, such as acme/web or acme/*. A deployment that names no repository never matches it.'),
|
|
35
|
+
.describe(describePattern('Only fire for deployments from a repository whose "owner/name" matches this pattern, such as acme/web or acme/*. A deployment that names no repository never matches it.')),
|
|
34
36
|
servicePattern: z
|
|
35
37
|
.string()
|
|
36
38
|
.min(1)
|
|
37
39
|
.optional()
|
|
38
|
-
.describe("Only fire for deployments whose service matches this pattern. A deployment that names no service never matches it."),
|
|
40
|
+
.describe(describePattern("Only fire for deployments whose service matches this pattern. A deployment that names no service never matches it.")),
|
|
39
41
|
});
|
|
40
42
|
//# sourceMappingURL=deploymentFields.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploymentFields.js","sourceRoot":"","sources":["../../../src/v1/trigger/deploymentFields.ts"],"names":[],"mappings":"AAAA,OAAO,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