@cat-factory/contracts 0.163.0 → 0.164.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/execution.d.ts +48 -0
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +11 -0
- package/dist/execution.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +30 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +120 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +15 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +75 -0
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/index.d.ts +1 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +1 -0
- package/dist/routes/index.js.map +1 -1
- package/dist/routes/runners.d.ts +10 -0
- package/dist/routes/runners.d.ts.map +1 -1
- package/dist/routes/validation-checks.d.ts +175 -0
- package/dist/routes/validation-checks.d.ts.map +1 -0
- package/dist/routes/validation-checks.js +40 -0
- package/dist/routes/validation-checks.js.map +1 -0
- package/dist/routes/visual-confirm.d.ts +45 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +30 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/runners.d.ts +90 -0
- package/dist/runners.d.ts.map +1 -1
- package/dist/runners.js +9 -0
- package/dist/runners.js.map +1 -1
- package/dist/snapshot.d.ts +15 -0
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/validation-checks.d.ts +123 -0
- package/dist/validation-checks.d.ts.map +1 -0
- package/dist/validation-checks.js +118 -0
- package/dist/validation-checks.js.map +1 -0
- package/package.json +1 -1
|
@@ -407,6 +407,21 @@ export declare const requestHumanReviewFixContract: {
|
|
|
407
407
|
readonly summary: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
408
408
|
}, undefined>, undefined>, undefined>, undefined>;
|
|
409
409
|
}, undefined>, undefined>, undefined>;
|
|
410
|
+
readonly validation: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
411
|
+
readonly passed: import("valibot").SchemaWithFallback<import("valibot").BooleanSchema<undefined>, false>;
|
|
412
|
+
readonly attempts: import("valibot").SchemaWithFallback<import("valibot").NumberSchema<undefined>, 1>;
|
|
413
|
+
readonly maxAttempts: import("valibot").SchemaWithFallback<import("valibot").NumberSchema<undefined>, 3>;
|
|
414
|
+
readonly outcomes: import("valibot").SchemaWithFallback<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
415
|
+
readonly label: import("valibot").SchemaWithFallback<import("valibot").StringSchema<undefined>, "check">;
|
|
416
|
+
readonly command: import("valibot").SchemaWithFallback<import("valibot").StringSchema<undefined>, "">;
|
|
417
|
+
readonly exitCode: import("valibot").SchemaWithFallback<import("valibot").NumberSchema<undefined>, 1>;
|
|
418
|
+
readonly passed: import("valibot").SchemaWithFallback<import("valibot").BooleanSchema<undefined>, false>;
|
|
419
|
+
readonly outputTail: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
420
|
+
readonly durationMs: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>, undefined>;
|
|
421
|
+
readonly timedOut: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>, undefined>;
|
|
422
|
+
}, undefined>, undefined>, readonly []>;
|
|
423
|
+
readonly at: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>, undefined>;
|
|
424
|
+
}, undefined>, undefined>, undefined>;
|
|
410
425
|
readonly pendingForkChat: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
411
426
|
readonly messageId: import("valibot").StringSchema<undefined>;
|
|
412
427
|
}, undefined>, undefined>, 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"}
|
|
@@ -406,6 +406,21 @@ export declare const confirmHumanTestContract: {
|
|
|
406
406
|
readonly summary: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
407
407
|
}, undefined>, undefined>, undefined>, undefined>;
|
|
408
408
|
}, undefined>, undefined>, undefined>;
|
|
409
|
+
readonly validation: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
410
|
+
readonly passed: import("valibot").SchemaWithFallback<import("valibot").BooleanSchema<undefined>, false>;
|
|
411
|
+
readonly attempts: import("valibot").SchemaWithFallback<import("valibot").NumberSchema<undefined>, 1>;
|
|
412
|
+
readonly maxAttempts: import("valibot").SchemaWithFallback<import("valibot").NumberSchema<undefined>, 3>;
|
|
413
|
+
readonly outcomes: import("valibot").SchemaWithFallback<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
414
|
+
readonly label: import("valibot").SchemaWithFallback<import("valibot").StringSchema<undefined>, "check">;
|
|
415
|
+
readonly command: import("valibot").SchemaWithFallback<import("valibot").StringSchema<undefined>, "">;
|
|
416
|
+
readonly exitCode: import("valibot").SchemaWithFallback<import("valibot").NumberSchema<undefined>, 1>;
|
|
417
|
+
readonly passed: import("valibot").SchemaWithFallback<import("valibot").BooleanSchema<undefined>, false>;
|
|
418
|
+
readonly outputTail: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
419
|
+
readonly durationMs: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>, undefined>;
|
|
420
|
+
readonly timedOut: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>, undefined>;
|
|
421
|
+
}, undefined>, undefined>, readonly []>;
|
|
422
|
+
readonly at: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>, undefined>;
|
|
423
|
+
}, undefined>, undefined>, undefined>;
|
|
409
424
|
readonly pendingForkChat: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
410
425
|
readonly messageId: import("valibot").StringSchema<undefined>;
|
|
411
426
|
}, undefined>, undefined>, undefined>;
|
|
@@ -1242,6 +1257,21 @@ export declare const requestHumanTestFixContract: {
|
|
|
1242
1257
|
readonly summary: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
1243
1258
|
}, undefined>, undefined>, undefined>, undefined>;
|
|
1244
1259
|
}, undefined>, undefined>, undefined>;
|
|
1260
|
+
readonly validation: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
1261
|
+
readonly passed: import("valibot").SchemaWithFallback<import("valibot").BooleanSchema<undefined>, false>;
|
|
1262
|
+
readonly attempts: import("valibot").SchemaWithFallback<import("valibot").NumberSchema<undefined>, 1>;
|
|
1263
|
+
readonly maxAttempts: import("valibot").SchemaWithFallback<import("valibot").NumberSchema<undefined>, 3>;
|
|
1264
|
+
readonly outcomes: import("valibot").SchemaWithFallback<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
1265
|
+
readonly label: import("valibot").SchemaWithFallback<import("valibot").StringSchema<undefined>, "check">;
|
|
1266
|
+
readonly command: import("valibot").SchemaWithFallback<import("valibot").StringSchema<undefined>, "">;
|
|
1267
|
+
readonly exitCode: import("valibot").SchemaWithFallback<import("valibot").NumberSchema<undefined>, 1>;
|
|
1268
|
+
readonly passed: import("valibot").SchemaWithFallback<import("valibot").BooleanSchema<undefined>, false>;
|
|
1269
|
+
readonly outputTail: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
1270
|
+
readonly durationMs: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>, undefined>;
|
|
1271
|
+
readonly timedOut: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>, undefined>;
|
|
1272
|
+
}, undefined>, undefined>, readonly []>;
|
|
1273
|
+
readonly at: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>, undefined>;
|
|
1274
|
+
}, undefined>, undefined>, undefined>;
|
|
1245
1275
|
readonly pendingForkChat: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
1246
1276
|
readonly messageId: import("valibot").StringSchema<undefined>;
|
|
1247
1277
|
}, undefined>, undefined>, undefined>;
|
|
@@ -2076,6 +2106,21 @@ export declare const pullMainHumanTestContract: {
|
|
|
2076
2106
|
readonly summary: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
2077
2107
|
}, undefined>, undefined>, undefined>, undefined>;
|
|
2078
2108
|
}, undefined>, undefined>, undefined>;
|
|
2109
|
+
readonly validation: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
2110
|
+
readonly passed: import("valibot").SchemaWithFallback<import("valibot").BooleanSchema<undefined>, false>;
|
|
2111
|
+
readonly attempts: import("valibot").SchemaWithFallback<import("valibot").NumberSchema<undefined>, 1>;
|
|
2112
|
+
readonly maxAttempts: import("valibot").SchemaWithFallback<import("valibot").NumberSchema<undefined>, 3>;
|
|
2113
|
+
readonly outcomes: import("valibot").SchemaWithFallback<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
2114
|
+
readonly label: import("valibot").SchemaWithFallback<import("valibot").StringSchema<undefined>, "check">;
|
|
2115
|
+
readonly command: import("valibot").SchemaWithFallback<import("valibot").StringSchema<undefined>, "">;
|
|
2116
|
+
readonly exitCode: import("valibot").SchemaWithFallback<import("valibot").NumberSchema<undefined>, 1>;
|
|
2117
|
+
readonly passed: import("valibot").SchemaWithFallback<import("valibot").BooleanSchema<undefined>, false>;
|
|
2118
|
+
readonly outputTail: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
2119
|
+
readonly durationMs: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>, undefined>;
|
|
2120
|
+
readonly timedOut: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>, undefined>;
|
|
2121
|
+
}, undefined>, undefined>, readonly []>;
|
|
2122
|
+
readonly at: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>, undefined>;
|
|
2123
|
+
}, undefined>, undefined>, undefined>;
|
|
2079
2124
|
readonly pendingForkChat: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
2080
2125
|
readonly messageId: import("valibot").StringSchema<undefined>;
|
|
2081
2126
|
}, undefined>, undefined>, undefined>;
|
|
@@ -2910,6 +2955,21 @@ export declare const recreateHumanTestEnvContract: {
|
|
|
2910
2955
|
readonly summary: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
2911
2956
|
}, undefined>, undefined>, undefined>, undefined>;
|
|
2912
2957
|
}, undefined>, undefined>, undefined>;
|
|
2958
|
+
readonly validation: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
2959
|
+
readonly passed: import("valibot").SchemaWithFallback<import("valibot").BooleanSchema<undefined>, false>;
|
|
2960
|
+
readonly attempts: import("valibot").SchemaWithFallback<import("valibot").NumberSchema<undefined>, 1>;
|
|
2961
|
+
readonly maxAttempts: import("valibot").SchemaWithFallback<import("valibot").NumberSchema<undefined>, 3>;
|
|
2962
|
+
readonly outcomes: import("valibot").SchemaWithFallback<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
2963
|
+
readonly label: import("valibot").SchemaWithFallback<import("valibot").StringSchema<undefined>, "check">;
|
|
2964
|
+
readonly command: import("valibot").SchemaWithFallback<import("valibot").StringSchema<undefined>, "">;
|
|
2965
|
+
readonly exitCode: import("valibot").SchemaWithFallback<import("valibot").NumberSchema<undefined>, 1>;
|
|
2966
|
+
readonly passed: import("valibot").SchemaWithFallback<import("valibot").BooleanSchema<undefined>, false>;
|
|
2967
|
+
readonly outputTail: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
2968
|
+
readonly durationMs: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>, undefined>;
|
|
2969
|
+
readonly timedOut: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>, undefined>;
|
|
2970
|
+
}, undefined>, undefined>, readonly []>;
|
|
2971
|
+
readonly at: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>, undefined>;
|
|
2972
|
+
}, undefined>, undefined>, undefined>;
|
|
2913
2973
|
readonly pendingForkChat: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
2914
2974
|
readonly messageId: import("valibot").StringSchema<undefined>;
|
|
2915
2975
|
}, undefined>, undefined>, undefined>;
|
|
@@ -3744,6 +3804,21 @@ export declare const destroyHumanTestEnvContract: {
|
|
|
3744
3804
|
readonly summary: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
3745
3805
|
}, undefined>, undefined>, undefined>, undefined>;
|
|
3746
3806
|
}, undefined>, undefined>, undefined>;
|
|
3807
|
+
readonly validation: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
3808
|
+
readonly passed: import("valibot").SchemaWithFallback<import("valibot").BooleanSchema<undefined>, false>;
|
|
3809
|
+
readonly attempts: import("valibot").SchemaWithFallback<import("valibot").NumberSchema<undefined>, 1>;
|
|
3810
|
+
readonly maxAttempts: import("valibot").SchemaWithFallback<import("valibot").NumberSchema<undefined>, 3>;
|
|
3811
|
+
readonly outcomes: import("valibot").SchemaWithFallback<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
3812
|
+
readonly label: import("valibot").SchemaWithFallback<import("valibot").StringSchema<undefined>, "check">;
|
|
3813
|
+
readonly command: import("valibot").SchemaWithFallback<import("valibot").StringSchema<undefined>, "">;
|
|
3814
|
+
readonly exitCode: import("valibot").SchemaWithFallback<import("valibot").NumberSchema<undefined>, 1>;
|
|
3815
|
+
readonly passed: import("valibot").SchemaWithFallback<import("valibot").BooleanSchema<undefined>, false>;
|
|
3816
|
+
readonly outputTail: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
3817
|
+
readonly durationMs: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>, undefined>;
|
|
3818
|
+
readonly timedOut: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>, undefined>;
|
|
3819
|
+
}, undefined>, undefined>, readonly []>;
|
|
3820
|
+
readonly at: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>, undefined>;
|
|
3821
|
+
}, undefined>, undefined>, undefined>;
|
|
3747
3822
|
readonly pendingForkChat: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
3748
3823
|
readonly messageId: import("valibot").StringSchema<undefined>;
|
|
3749
3824
|
}, undefined>, undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"human-test.d.ts","sourceRoot":"","sources":["../../src/routes/human-test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAc3E,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"human-test.d.ts","sourceRoot":"","sources":["../../src/routes/human-test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAc3E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA"}
|
package/dist/routes/index.d.ts
CHANGED
|
@@ -52,6 +52,7 @@ export * from './sandbox.js';
|
|
|
52
52
|
export * from './service-fragment-defaults.js';
|
|
53
53
|
export * from './services.js';
|
|
54
54
|
export * from './test-secrets.js';
|
|
55
|
+
export * from './validation-checks.js';
|
|
55
56
|
export * from './slack.js';
|
|
56
57
|
export * from './spec.js';
|
|
57
58
|
export * from './tasks.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":"AAGA,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAA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AAA;AAC/B,cAAc,yBAAyB,CAAA;AACvC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,uBAAuB,CAAA;AACrC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,gCAAgC,CAAA;AAC9C,cAAc,eAAe,CAAA;AAC7B,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA;AACtC,cAAc,yBAAyB,CAAA;AACvC,cAAc,iBAAiB,CAAA"}
|
package/dist/routes/index.js
CHANGED
|
@@ -55,6 +55,7 @@ export * from './sandbox.js';
|
|
|
55
55
|
export * from './service-fragment-defaults.js';
|
|
56
56
|
export * from './services.js';
|
|
57
57
|
export * from './test-secrets.js';
|
|
58
|
+
export * from './validation-checks.js';
|
|
58
59
|
export * from './slack.js';
|
|
59
60
|
export * from './spec.js';
|
|
60
61
|
export * from './tasks.js';
|
package/dist/routes/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,+EAA+E;AAC/E,oDAAoD;AACpD,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA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,CAAA;AACxC,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,oBAAoB,CAAA;AAClC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,yBAAyB,CAAA;AACvC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,uBAAuB,CAAA;AACrC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,gCAAgC,CAAA;AAC9C,cAAc,eAAe,CAAA;AAC7B,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA;AACtC,cAAc,yBAAyB,CAAA;AACvC,cAAc,iBAAiB,CAAA"}
|
package/dist/routes/runners.d.ts
CHANGED
|
@@ -140,6 +140,7 @@ export declare const getRunnerPoolConnectionContract: {
|
|
|
140
140
|
readonly resultPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
141
141
|
readonly followUpsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
142
142
|
readonly callMetricsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
143
|
+
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
143
144
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
144
145
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
145
146
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -320,6 +321,7 @@ export declare const getRunnerPoolConnectionContract: {
|
|
|
320
321
|
readonly resultPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
321
322
|
readonly followUpsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
322
323
|
readonly callMetricsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
324
|
+
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
323
325
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
324
326
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
325
327
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -440,6 +442,7 @@ export declare const registerRunnerPoolContract: {
|
|
|
440
442
|
readonly resultPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
441
443
|
readonly followUpsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
442
444
|
readonly callMetricsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
445
|
+
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
443
446
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
444
447
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
445
448
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -620,6 +623,7 @@ export declare const registerRunnerPoolContract: {
|
|
|
620
623
|
readonly resultPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
621
624
|
readonly followUpsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
622
625
|
readonly callMetricsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
626
|
+
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
623
627
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
624
628
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
625
629
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -764,6 +768,7 @@ export declare const registerRunnerPoolContract: {
|
|
|
764
768
|
readonly resultPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
765
769
|
readonly followUpsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
766
770
|
readonly callMetricsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
771
|
+
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
767
772
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
768
773
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
769
774
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -944,6 +949,7 @@ export declare const registerRunnerPoolContract: {
|
|
|
944
949
|
readonly resultPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
945
950
|
readonly followUpsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
946
951
|
readonly callMetricsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
952
|
+
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
947
953
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
948
954
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
949
955
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1095,6 +1101,7 @@ export declare const updateRunnerPoolSecretsContract: {
|
|
|
1095
1101
|
readonly resultPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1096
1102
|
readonly followUpsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1097
1103
|
readonly callMetricsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1104
|
+
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1098
1105
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1099
1106
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1100
1107
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1275,6 +1282,7 @@ export declare const updateRunnerPoolSecretsContract: {
|
|
|
1275
1282
|
readonly resultPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1276
1283
|
readonly followUpsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1277
1284
|
readonly callMetricsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1285
|
+
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1278
1286
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1279
1287
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1280
1288
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1495,6 +1503,7 @@ export declare const testRunnerPoolConnectionContract: {
|
|
|
1495
1503
|
readonly resultPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1496
1504
|
readonly followUpsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1497
1505
|
readonly callMetricsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1506
|
+
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1498
1507
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1499
1508
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1500
1509
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1675,6 +1684,7 @@ export declare const testRunnerPoolConnectionContract: {
|
|
|
1675
1684
|
readonly resultPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1676
1685
|
readonly followUpsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1677
1686
|
readonly callMetricsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1687
|
+
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1678
1688
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1679
1689
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1680
1690
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runners.d.ts","sourceRoot":"","sources":["../../src/routes/runners.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAoB5B,eAAO,MAAM,+BAA+B
|
|
1
|
+
{"version":3,"file":"runners.d.ts","sourceRoot":"","sources":["../../src/routes/runners.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAoB5B,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK1C,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvC,CAAA;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO7C,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK3C,CAAA"}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { ContractNoBody } from '@toad-contracts/valibot';
|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
export declare const getServiceValidationConfigContract: {
|
|
4
|
+
readonly method: "get";
|
|
5
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
6
|
+
blockId: v.StringSchema<undefined>;
|
|
7
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
8
|
+
readonly pathResolver: ({ blockId }: {
|
|
9
|
+
blockId: string;
|
|
10
|
+
}) => string;
|
|
11
|
+
readonly responsesByStatusCode: {
|
|
12
|
+
readonly '4xx': v.ObjectSchema<{
|
|
13
|
+
readonly error: v.ObjectSchema<{
|
|
14
|
+
readonly code: v.StringSchema<undefined>;
|
|
15
|
+
readonly message: v.StringSchema<undefined>;
|
|
16
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
17
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
18
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
19
|
+
readonly message: v.StringSchema<undefined>;
|
|
20
|
+
}, undefined>, undefined>, undefined>;
|
|
21
|
+
}, undefined>;
|
|
22
|
+
}, undefined>;
|
|
23
|
+
readonly '5xx': v.ObjectSchema<{
|
|
24
|
+
readonly error: v.ObjectSchema<{
|
|
25
|
+
readonly code: v.StringSchema<undefined>;
|
|
26
|
+
readonly message: v.StringSchema<undefined>;
|
|
27
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
28
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
29
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
30
|
+
readonly message: v.StringSchema<undefined>;
|
|
31
|
+
}, undefined>, undefined>, undefined>;
|
|
32
|
+
}, undefined>;
|
|
33
|
+
}, undefined>;
|
|
34
|
+
readonly 200: v.ObjectSchema<{
|
|
35
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
36
|
+
readonly checks: v.ArraySchema<v.ObjectSchema<{
|
|
37
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
38
|
+
readonly command: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
39
|
+
}, undefined>, undefined>;
|
|
40
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
41
|
+
}, undefined>;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export declare const setServiceValidationConfigContract: {
|
|
45
|
+
readonly method: "put";
|
|
46
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
47
|
+
blockId: v.StringSchema<undefined>;
|
|
48
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
49
|
+
readonly pathResolver: ({ blockId }: {
|
|
50
|
+
blockId: string;
|
|
51
|
+
}) => string;
|
|
52
|
+
readonly requestBodySchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
53
|
+
readonly checks: v.ArraySchema<v.ObjectSchema<{
|
|
54
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
55
|
+
readonly command: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
56
|
+
}, undefined>, undefined>;
|
|
57
|
+
readonly maxAttempts: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
|
|
58
|
+
}, undefined>, v.CheckAction<{
|
|
59
|
+
checks: {
|
|
60
|
+
label: string;
|
|
61
|
+
command: string;
|
|
62
|
+
}[];
|
|
63
|
+
maxAttempts?: number | undefined;
|
|
64
|
+
}, "validation check labels must be unique within a service">, v.CheckAction<{
|
|
65
|
+
checks: {
|
|
66
|
+
label: string;
|
|
67
|
+
command: string;
|
|
68
|
+
}[];
|
|
69
|
+
maxAttempts?: number | undefined;
|
|
70
|
+
}, "at most 10 validation checks per service">]>;
|
|
71
|
+
readonly responsesByStatusCode: {
|
|
72
|
+
readonly '4xx': v.ObjectSchema<{
|
|
73
|
+
readonly error: v.ObjectSchema<{
|
|
74
|
+
readonly code: v.StringSchema<undefined>;
|
|
75
|
+
readonly message: v.StringSchema<undefined>;
|
|
76
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
77
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
78
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
79
|
+
readonly message: v.StringSchema<undefined>;
|
|
80
|
+
}, undefined>, undefined>, undefined>;
|
|
81
|
+
}, undefined>;
|
|
82
|
+
}, undefined>;
|
|
83
|
+
readonly '5xx': v.ObjectSchema<{
|
|
84
|
+
readonly error: v.ObjectSchema<{
|
|
85
|
+
readonly code: v.StringSchema<undefined>;
|
|
86
|
+
readonly message: v.StringSchema<undefined>;
|
|
87
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
88
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
89
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
90
|
+
readonly message: v.StringSchema<undefined>;
|
|
91
|
+
}, undefined>, undefined>, undefined>;
|
|
92
|
+
}, undefined>;
|
|
93
|
+
}, undefined>;
|
|
94
|
+
readonly 200: v.ObjectSchema<{
|
|
95
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
96
|
+
readonly checks: v.ArraySchema<v.ObjectSchema<{
|
|
97
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
98
|
+
readonly command: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
99
|
+
}, undefined>, undefined>;
|
|
100
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
101
|
+
}, undefined>;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
export declare const deleteServiceValidationConfigContract: {
|
|
105
|
+
readonly method: "delete";
|
|
106
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
107
|
+
blockId: v.StringSchema<undefined>;
|
|
108
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
109
|
+
readonly pathResolver: ({ blockId }: {
|
|
110
|
+
blockId: string;
|
|
111
|
+
}) => string;
|
|
112
|
+
readonly responsesByStatusCode: {
|
|
113
|
+
readonly '4xx': v.ObjectSchema<{
|
|
114
|
+
readonly error: v.ObjectSchema<{
|
|
115
|
+
readonly code: v.StringSchema<undefined>;
|
|
116
|
+
readonly message: v.StringSchema<undefined>;
|
|
117
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
118
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
119
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
120
|
+
readonly message: v.StringSchema<undefined>;
|
|
121
|
+
}, undefined>, undefined>, undefined>;
|
|
122
|
+
}, undefined>;
|
|
123
|
+
}, undefined>;
|
|
124
|
+
readonly '5xx': v.ObjectSchema<{
|
|
125
|
+
readonly error: v.ObjectSchema<{
|
|
126
|
+
readonly code: v.StringSchema<undefined>;
|
|
127
|
+
readonly message: v.StringSchema<undefined>;
|
|
128
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
129
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
130
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
131
|
+
readonly message: v.StringSchema<undefined>;
|
|
132
|
+
}, undefined>, undefined>, undefined>;
|
|
133
|
+
}, undefined>;
|
|
134
|
+
}, undefined>;
|
|
135
|
+
readonly 204: typeof ContractNoBody;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
/** Every configured service's validation checks in the workspace (the store's hydrate read). */
|
|
139
|
+
export declare const listServiceValidationConfigsContract: {
|
|
140
|
+
readonly method: "get";
|
|
141
|
+
readonly pathResolver: () => string;
|
|
142
|
+
readonly responsesByStatusCode: {
|
|
143
|
+
readonly '4xx': v.ObjectSchema<{
|
|
144
|
+
readonly error: v.ObjectSchema<{
|
|
145
|
+
readonly code: v.StringSchema<undefined>;
|
|
146
|
+
readonly message: v.StringSchema<undefined>;
|
|
147
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
148
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
149
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
150
|
+
readonly message: v.StringSchema<undefined>;
|
|
151
|
+
}, undefined>, undefined>, undefined>;
|
|
152
|
+
}, undefined>;
|
|
153
|
+
}, undefined>;
|
|
154
|
+
readonly '5xx': v.ObjectSchema<{
|
|
155
|
+
readonly error: v.ObjectSchema<{
|
|
156
|
+
readonly code: v.StringSchema<undefined>;
|
|
157
|
+
readonly message: v.StringSchema<undefined>;
|
|
158
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
159
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
160
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
161
|
+
readonly message: v.StringSchema<undefined>;
|
|
162
|
+
}, undefined>, undefined>, undefined>;
|
|
163
|
+
}, undefined>;
|
|
164
|
+
}, undefined>;
|
|
165
|
+
readonly 200: v.ArraySchema<v.ObjectSchema<{
|
|
166
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
167
|
+
readonly checks: v.ArraySchema<v.ObjectSchema<{
|
|
168
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
169
|
+
readonly command: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
170
|
+
}, undefined>, undefined>;
|
|
171
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
172
|
+
}, undefined>, undefined>;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
//# sourceMappingURL=validation-checks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validation-checks.d.ts","sourceRoot":"","sources":["../../src/routes/validation-checks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAgB5B,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK7C,CAAA;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM7C,CAAA;AAEF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKhD,CAAA;AAEF,gGAAgG;AAChG,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO/C,CAAA"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ContractNoBody, defineApiContract } from '@toad-contracts/valibot';
|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
import { serviceValidationConfigSchema, upsertServiceValidationConfigSchema, } from '../validation-checks.js';
|
|
4
|
+
import { errorResponses, singleStringParam } from './_shared.js';
|
|
5
|
+
// ---------------------------------------------------------------------------
|
|
6
|
+
// Pre-PR validation-check route contracts. Mounted under `/workspaces/:workspaceId`,
|
|
7
|
+
// so the paths here are relative to that prefix. The blockId is a SERVICE FRAME
|
|
8
|
+
// block (the checks are resolved up the frame chain at dispatch). See
|
|
9
|
+
// ValidationConfigController.
|
|
10
|
+
// ---------------------------------------------------------------------------
|
|
11
|
+
const blockIdParams = singleStringParam('blockId');
|
|
12
|
+
export const getServiceValidationConfigContract = defineApiContract({
|
|
13
|
+
method: 'get',
|
|
14
|
+
requestPathParamsSchema: blockIdParams,
|
|
15
|
+
pathResolver: ({ blockId }) => `/services/${blockId}/validation-checks`,
|
|
16
|
+
responsesByStatusCode: { 200: serviceValidationConfigSchema, ...errorResponses },
|
|
17
|
+
});
|
|
18
|
+
export const setServiceValidationConfigContract = defineApiContract({
|
|
19
|
+
method: 'put',
|
|
20
|
+
requestPathParamsSchema: blockIdParams,
|
|
21
|
+
pathResolver: ({ blockId }) => `/services/${blockId}/validation-checks`,
|
|
22
|
+
requestBodySchema: upsertServiceValidationConfigSchema,
|
|
23
|
+
responsesByStatusCode: { 200: serviceValidationConfigSchema, ...errorResponses },
|
|
24
|
+
});
|
|
25
|
+
export const deleteServiceValidationConfigContract = defineApiContract({
|
|
26
|
+
method: 'delete',
|
|
27
|
+
requestPathParamsSchema: blockIdParams,
|
|
28
|
+
pathResolver: ({ blockId }) => `/services/${blockId}/validation-checks`,
|
|
29
|
+
responsesByStatusCode: { 204: ContractNoBody, ...errorResponses },
|
|
30
|
+
});
|
|
31
|
+
/** Every configured service's validation checks in the workspace (the store's hydrate read). */
|
|
32
|
+
export const listServiceValidationConfigsContract = defineApiContract({
|
|
33
|
+
method: 'get',
|
|
34
|
+
pathResolver: () => '/validation-checks',
|
|
35
|
+
responsesByStatusCode: {
|
|
36
|
+
200: v.array(serviceValidationConfigSchema),
|
|
37
|
+
...errorResponses,
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=validation-checks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version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,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,cAAc,EAAE;CAClE,CAAC,CAAA;AAEF,gGAAgG;AAChG,MAAM,CAAC,MAAM,oCAAoC,GAAG,iBAAiB,CAAC;IACpE,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,GAAG,EAAE,CAAC,oBAAoB;IACxC,qBAAqB,EAAE;QACrB,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC;QAC3C,GAAG,cAAc;KAClB;CACF,CAAC,CAAA"}
|
|
@@ -407,6 +407,21 @@ export declare const approveVisualConfirmContract: {
|
|
|
407
407
|
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
408
408
|
}, undefined>, undefined>, undefined>, undefined>;
|
|
409
409
|
}, undefined>, undefined>, undefined>;
|
|
410
|
+
readonly validation: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
411
|
+
readonly passed: v.SchemaWithFallback<v.BooleanSchema<undefined>, false>;
|
|
412
|
+
readonly attempts: v.SchemaWithFallback<v.NumberSchema<undefined>, 1>;
|
|
413
|
+
readonly maxAttempts: v.SchemaWithFallback<v.NumberSchema<undefined>, 3>;
|
|
414
|
+
readonly outcomes: v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
415
|
+
readonly label: v.SchemaWithFallback<v.StringSchema<undefined>, "check">;
|
|
416
|
+
readonly command: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
417
|
+
readonly exitCode: v.SchemaWithFallback<v.NumberSchema<undefined>, 1>;
|
|
418
|
+
readonly passed: v.SchemaWithFallback<v.BooleanSchema<undefined>, false>;
|
|
419
|
+
readonly outputTail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
420
|
+
readonly durationMs: v.SchemaWithFallback<v.OptionalSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
421
|
+
readonly timedOut: v.SchemaWithFallback<v.OptionalSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
422
|
+
}, undefined>, undefined>, readonly []>;
|
|
423
|
+
readonly at: v.SchemaWithFallback<v.OptionalSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
424
|
+
}, undefined>, undefined>, undefined>;
|
|
410
425
|
readonly pendingForkChat: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
411
426
|
readonly messageId: v.StringSchema<undefined>;
|
|
412
427
|
}, undefined>, undefined>, undefined>;
|
|
@@ -1243,6 +1258,21 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
1243
1258
|
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1244
1259
|
}, undefined>, undefined>, undefined>, undefined>;
|
|
1245
1260
|
}, undefined>, undefined>, undefined>;
|
|
1261
|
+
readonly validation: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1262
|
+
readonly passed: v.SchemaWithFallback<v.BooleanSchema<undefined>, false>;
|
|
1263
|
+
readonly attempts: v.SchemaWithFallback<v.NumberSchema<undefined>, 1>;
|
|
1264
|
+
readonly maxAttempts: v.SchemaWithFallback<v.NumberSchema<undefined>, 3>;
|
|
1265
|
+
readonly outcomes: v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
1266
|
+
readonly label: v.SchemaWithFallback<v.StringSchema<undefined>, "check">;
|
|
1267
|
+
readonly command: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
1268
|
+
readonly exitCode: v.SchemaWithFallback<v.NumberSchema<undefined>, 1>;
|
|
1269
|
+
readonly passed: v.SchemaWithFallback<v.BooleanSchema<undefined>, false>;
|
|
1270
|
+
readonly outputTail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1271
|
+
readonly durationMs: v.SchemaWithFallback<v.OptionalSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1272
|
+
readonly timedOut: v.SchemaWithFallback<v.OptionalSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1273
|
+
}, undefined>, undefined>, readonly []>;
|
|
1274
|
+
readonly at: v.SchemaWithFallback<v.OptionalSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1275
|
+
}, undefined>, undefined>, undefined>;
|
|
1246
1276
|
readonly pendingForkChat: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1247
1277
|
readonly messageId: v.StringSchema<undefined>;
|
|
1248
1278
|
}, undefined>, undefined>, undefined>;
|
|
@@ -2077,6 +2107,21 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
2077
2107
|
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2078
2108
|
}, undefined>, undefined>, undefined>, undefined>;
|
|
2079
2109
|
}, undefined>, undefined>, undefined>;
|
|
2110
|
+
readonly validation: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2111
|
+
readonly passed: v.SchemaWithFallback<v.BooleanSchema<undefined>, false>;
|
|
2112
|
+
readonly attempts: v.SchemaWithFallback<v.NumberSchema<undefined>, 1>;
|
|
2113
|
+
readonly maxAttempts: v.SchemaWithFallback<v.NumberSchema<undefined>, 3>;
|
|
2114
|
+
readonly outcomes: v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
2115
|
+
readonly label: v.SchemaWithFallback<v.StringSchema<undefined>, "check">;
|
|
2116
|
+
readonly command: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
2117
|
+
readonly exitCode: v.SchemaWithFallback<v.NumberSchema<undefined>, 1>;
|
|
2118
|
+
readonly passed: v.SchemaWithFallback<v.BooleanSchema<undefined>, false>;
|
|
2119
|
+
readonly outputTail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2120
|
+
readonly durationMs: v.SchemaWithFallback<v.OptionalSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2121
|
+
readonly timedOut: v.SchemaWithFallback<v.OptionalSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
2122
|
+
}, undefined>, undefined>, readonly []>;
|
|
2123
|
+
readonly at: v.SchemaWithFallback<v.OptionalSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2124
|
+
}, undefined>, undefined>, undefined>;
|
|
2080
2125
|
readonly pendingForkChat: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2081
2126
|
readonly messageId: v.StringSchema<undefined>;
|
|
2082
2127
|
}, undefined>, undefined>, undefined>;
|