@cat-factory/contracts 0.52.0 → 0.54.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/entities.d.ts +398 -20
- package/dist/entities.d.ts.map +1 -1
- package/dist/entities.js +78 -9
- package/dist/entities.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +162 -4
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +648 -16
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +81 -2
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +405 -10
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/visual-confirm.d.ts +243 -6
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +162 -4
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +81 -2
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/testing.d.ts +101 -7
- package/dist/testing.d.ts.map +1 -1
- package/dist/testing.js +51 -1
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution.d.ts","sourceRoot":"","sources":["../../src/routes/execution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAwC5B,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"execution.d.ts","sourceRoot":"","sources":["../../src/routes/execution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAwC5B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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empts: import("valibot").NumberSchema<undefined>;
|
|
99
99
|
readonly maxAttempts: import("valibot").NumberSchema<undefined>;
|
|
100
|
-
readonly lastReport: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
100
|
+
readonly lastReport: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ObjectSchema<{
|
|
101
101
|
readonly greenlight: import("valibot").BooleanSchema<undefined>;
|
|
102
102
|
readonly summary: import("valibot").StringSchema<undefined>;
|
|
103
103
|
readonly tested: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -120,6 +120,80 @@ export declare const requestHumanReviewFixContract: {
|
|
|
120
120
|
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
121
121
|
readonly referenceArtifactId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
122
122
|
}, undefined>, undefined>, undefined>;
|
|
123
|
+
readonly abort: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
124
|
+
readonly reason: import("valibot").StringSchema<undefined>;
|
|
125
|
+
}, undefined>, undefined>, undefined>;
|
|
126
|
+
}, undefined>, import("valibot").TransformAction<{
|
|
127
|
+
greenlight: boolean;
|
|
128
|
+
summary: string;
|
|
129
|
+
tested: string[];
|
|
130
|
+
outcomes: {
|
|
131
|
+
name: string;
|
|
132
|
+
status: "failed" | "passed" | "skipped";
|
|
133
|
+
detail?: string | undefined;
|
|
134
|
+
}[];
|
|
135
|
+
concerns: {
|
|
136
|
+
title: string;
|
|
137
|
+
detail: string;
|
|
138
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
139
|
+
}[];
|
|
140
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
141
|
+
screenshots?: {
|
|
142
|
+
view: string;
|
|
143
|
+
artifactId: string;
|
|
144
|
+
hash?: string | undefined;
|
|
145
|
+
width?: number | undefined;
|
|
146
|
+
height?: number | undefined;
|
|
147
|
+
referenceArtifactId?: string | undefined;
|
|
148
|
+
}[] | undefined;
|
|
149
|
+
abort?: {
|
|
150
|
+
reason: string;
|
|
151
|
+
} | null | undefined;
|
|
152
|
+
}, {
|
|
153
|
+
greenlight: boolean;
|
|
154
|
+
summary: string;
|
|
155
|
+
tested: string[];
|
|
156
|
+
outcomes: {
|
|
157
|
+
name: string;
|
|
158
|
+
status: "failed" | "passed" | "skipped";
|
|
159
|
+
detail?: string | undefined;
|
|
160
|
+
}[];
|
|
161
|
+
concerns: {
|
|
162
|
+
title: string;
|
|
163
|
+
detail: string;
|
|
164
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
165
|
+
}[];
|
|
166
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
167
|
+
screenshots?: {
|
|
168
|
+
view: string;
|
|
169
|
+
artifactId: string;
|
|
170
|
+
hash?: string | undefined;
|
|
171
|
+
width?: number | undefined;
|
|
172
|
+
height?: number | undefined;
|
|
173
|
+
referenceArtifactId?: string | undefined;
|
|
174
|
+
}[] | undefined;
|
|
175
|
+
abort?: {
|
|
176
|
+
reason: string;
|
|
177
|
+
} | null | undefined;
|
|
178
|
+
}>]>, undefined>, undefined>;
|
|
179
|
+
readonly attemptLog: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
180
|
+
readonly attempt: import("valibot").NumberSchema<undefined>;
|
|
181
|
+
readonly at: import("valibot").NumberSchema<undefined>;
|
|
182
|
+
readonly outcome: import("valibot").PicklistSchema<["completed", "failed"], undefined>;
|
|
183
|
+
readonly summary: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
184
|
+
readonly concerns: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
185
|
+
readonly title: import("valibot").StringSchema<undefined>;
|
|
186
|
+
readonly detail: import("valibot").StringSchema<undefined>;
|
|
187
|
+
readonly severity: import("valibot").PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
188
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
189
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
190
|
+
readonly infraSetup: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
191
|
+
readonly started: import("valibot").BooleanSchema<undefined>;
|
|
192
|
+
readonly composePath: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
193
|
+
readonly at: import("valibot").NumberSchema<undefined>;
|
|
194
|
+
readonly durationMs: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>, undefined>;
|
|
195
|
+
readonly logs: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
196
|
+
readonly error: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
123
197
|
}, undefined>, undefined>, undefined>;
|
|
124
198
|
}, undefined>, undefined>, undefined>;
|
|
125
199
|
readonly humanTest: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
@@ -185,7 +259,12 @@ export declare const requestHumanReviewFixContract: {
|
|
|
185
259
|
readonly status: import("valibot").PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
186
260
|
}, undefined>, undefined>, undefined>;
|
|
187
261
|
}, undefined>, undefined>;
|
|
188
|
-
readonly
|
|
262
|
+
readonly container: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
263
|
+
readonly status: import("valibot").PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
|
|
264
|
+
readonly phase: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
265
|
+
readonly id: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
266
|
+
readonly url: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
267
|
+
}, undefined>, undefined>, undefined>;
|
|
189
268
|
readonly decision: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
190
269
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
191
270
|
readonly question: import("valibot").StringSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"human-review.d.ts","sourceRoot":"","sources":["../../src/routes/human-review.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,6BAA6B
|
|
1
|
+
{"version":3,"file":"human-review.d.ts","sourceRoot":"","sources":["../../src/routes/human-review.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMxC,CAAA"}
|