@cat-factory/contracts 0.104.0 → 0.105.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/bootstrap.d.ts +2 -0
- package/dist/bootstrap.d.ts.map +1 -1
- package/dist/entities.d.ts +66 -0
- package/dist/entities.d.ts.map +1 -1
- package/dist/entities.js +38 -0
- package/dist/entities.js.map +1 -1
- package/dist/env-config-repair.d.ts +1 -0
- package/dist/env-config-repair.d.ts.map +1 -1
- package/dist/observability.d.ts +18 -0
- package/dist/observability.d.ts.map +1 -1
- package/dist/observability.js +25 -0
- package/dist/observability.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +16 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/bootstrap.d.ts +3 -0
- package/dist/routes/bootstrap.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +94 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/execution.js +14 -1
- package/dist/routes/execution.js.map +1 -1
- package/dist/routes/human-review.d.ts +6 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +30 -0
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/visual-confirm.d.ts +18 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +16 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +8 -0
- package/dist/snapshot.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -70,6 +70,7 @@ export declare const retryAgentRunContract: {
|
|
|
70
70
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
71
71
|
}, undefined>, undefined>, undefined>;
|
|
72
72
|
}, undefined>, undefined>;
|
|
73
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
73
74
|
}, undefined>, undefined>;
|
|
74
75
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
75
76
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
@@ -343,6 +344,10 @@ export declare const retryAgentRunContract: {
|
|
|
343
344
|
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
344
345
|
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
345
346
|
}, undefined>, undefined>, undefined>;
|
|
347
|
+
readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
348
|
+
readonly available: v.BooleanSchema<undefined>;
|
|
349
|
+
readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
|
|
350
|
+
}, undefined>, undefined>, undefined>;
|
|
346
351
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
347
352
|
readonly id: v.StringSchema<undefined>;
|
|
348
353
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -667,6 +672,7 @@ export declare const retryAgentRunContract: {
|
|
|
667
672
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
668
673
|
}, undefined>, undefined>, undefined>;
|
|
669
674
|
}, undefined>, undefined>;
|
|
675
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
670
676
|
}, undefined>, undefined>, undefined>;
|
|
671
677
|
readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
672
678
|
readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
|
|
@@ -683,6 +689,7 @@ export declare const retryAgentRunContract: {
|
|
|
683
689
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
684
690
|
}, undefined>, undefined>, undefined>;
|
|
685
691
|
}, undefined>, undefined>;
|
|
692
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
686
693
|
}, undefined>, undefined>, undefined>;
|
|
687
694
|
readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
688
695
|
readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -730,6 +737,7 @@ export declare const retryAgentRunContract: {
|
|
|
730
737
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
731
738
|
}, undefined>, undefined>, undefined>;
|
|
732
739
|
}, undefined>, undefined>;
|
|
740
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
733
741
|
}, undefined>, undefined>;
|
|
734
742
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
735
743
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
@@ -807,6 +815,7 @@ export declare const stopAgentRunContract: {
|
|
|
807
815
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
808
816
|
}, undefined>, undefined>, undefined>;
|
|
809
817
|
}, undefined>, undefined>;
|
|
818
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
810
819
|
}, undefined>, undefined>;
|
|
811
820
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
812
821
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
@@ -1080,6 +1089,10 @@ export declare const stopAgentRunContract: {
|
|
|
1080
1089
|
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1081
1090
|
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1082
1091
|
}, undefined>, undefined>, undefined>;
|
|
1092
|
+
readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1093
|
+
readonly available: v.BooleanSchema<undefined>;
|
|
1094
|
+
readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
|
|
1095
|
+
}, undefined>, undefined>, undefined>;
|
|
1083
1096
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
1084
1097
|
readonly id: v.StringSchema<undefined>;
|
|
1085
1098
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -1404,6 +1417,7 @@ export declare const stopAgentRunContract: {
|
|
|
1404
1417
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
1405
1418
|
}, undefined>, undefined>, undefined>;
|
|
1406
1419
|
}, undefined>, undefined>;
|
|
1420
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1407
1421
|
}, undefined>, undefined>, undefined>;
|
|
1408
1422
|
readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1409
1423
|
readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
|
|
@@ -1420,6 +1434,7 @@ export declare const stopAgentRunContract: {
|
|
|
1420
1434
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
1421
1435
|
}, undefined>, undefined>, undefined>;
|
|
1422
1436
|
}, undefined>, undefined>;
|
|
1437
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1423
1438
|
}, undefined>, undefined>, undefined>;
|
|
1424
1439
|
readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1425
1440
|
readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -1467,6 +1482,7 @@ export declare const stopAgentRunContract: {
|
|
|
1467
1482
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
1468
1483
|
}, undefined>, undefined>, undefined>;
|
|
1469
1484
|
}, undefined>, undefined>;
|
|
1485
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1470
1486
|
}, undefined>, undefined>;
|
|
1471
1487
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
1472
1488
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-runs.d.ts","sourceRoot":"","sources":["../../src/routes/agent-runs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsB5B,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"agent-runs.d.ts","sourceRoot":"","sources":["../../src/routes/agent-runs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsB5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ending", "in_progress", "completed"], undefined>;
|
|
233
233
|
}, undefined>, undefined>, undefined>;
|
|
234
234
|
}, undefined>, undefined>;
|
|
235
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
235
236
|
}, undefined>, undefined>;
|
|
236
237
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
237
238
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
@@ -305,6 +306,7 @@ export declare const getBootstrapJobContract: {
|
|
|
305
306
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
306
307
|
}, undefined>, undefined>, undefined>;
|
|
307
308
|
}, undefined>, undefined>;
|
|
309
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
308
310
|
}, undefined>, undefined>;
|
|
309
311
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
310
312
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
@@ -388,6 +390,7 @@ export declare const startBootstrapJobContract: {
|
|
|
388
390
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
389
391
|
}, undefined>, undefined>, undefined>;
|
|
390
392
|
}, undefined>, undefined>;
|
|
393
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
391
394
|
}, undefined>, undefined>;
|
|
392
395
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
393
396
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bootstrap.d.ts","sourceRoot":"","sources":["../../src/routes/bootstrap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsB5B,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI7C,CAAA;AAEF,eAAO,MAAM,mCAAmC;;;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
|
|
|
304
304
|
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
305
305
|
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
306
306
|
}, undefined>, undefined>, undefined>;
|
|
307
|
+
readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
308
|
+
readonly available: v.BooleanSchema<undefined>;
|
|
309
|
+
readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
|
|
310
|
+
}, undefined>, undefined>, undefined>;
|
|
307
311
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
308
312
|
readonly id: v.StringSchema<undefined>;
|
|
309
313
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -628,6 +632,7 @@ export declare const startExecutionContract: {
|
|
|
628
632
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
629
633
|
}, undefined>, undefined>, undefined>;
|
|
630
634
|
}, undefined>, undefined>;
|
|
635
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
631
636
|
}, undefined>, undefined>, undefined>;
|
|
632
637
|
readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
633
638
|
readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
|
|
@@ -644,6 +649,7 @@ export declare const startExecutionContract: {
|
|
|
644
649
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
645
650
|
}, undefined>, undefined>, undefined>;
|
|
646
651
|
}, undefined>, undefined>;
|
|
652
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
647
653
|
}, undefined>, undefined>, undefined>;
|
|
648
654
|
readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
649
655
|
readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -1687,6 +1693,10 @@ export declare const resumeSpendContract: {
|
|
|
1687
1693
|
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1688
1694
|
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1689
1695
|
}, undefined>, undefined>, undefined>;
|
|
1696
|
+
readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1697
|
+
readonly available: v.BooleanSchema<undefined>;
|
|
1698
|
+
readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
|
|
1699
|
+
}, undefined>, undefined>, undefined>;
|
|
1690
1700
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
1691
1701
|
readonly id: v.StringSchema<undefined>;
|
|
1692
1702
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -2011,6 +2021,7 @@ export declare const resumeSpendContract: {
|
|
|
2011
2021
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
2012
2022
|
}, undefined>, undefined>, undefined>;
|
|
2013
2023
|
}, undefined>, undefined>;
|
|
2024
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2014
2025
|
}, undefined>, undefined>, undefined>;
|
|
2015
2026
|
readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2016
2027
|
readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
|
|
@@ -2027,6 +2038,7 @@ export declare const resumeSpendContract: {
|
|
|
2027
2038
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
2028
2039
|
}, undefined>, undefined>, undefined>;
|
|
2029
2040
|
}, undefined>, undefined>;
|
|
2041
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2030
2042
|
}, undefined>, undefined>, undefined>;
|
|
2031
2043
|
readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2032
2044
|
readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -2163,6 +2175,52 @@ export declare const getExecutionAgentContextContract: {
|
|
|
2163
2175
|
}, undefined>;
|
|
2164
2176
|
};
|
|
2165
2177
|
};
|
|
2178
|
+
export declare const getExecutionSearchQueriesContract: {
|
|
2179
|
+
readonly method: "get";
|
|
2180
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
2181
|
+
executionId: v.StringSchema<undefined>;
|
|
2182
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
2183
|
+
readonly pathResolver: ({ executionId }: {
|
|
2184
|
+
executionId: string;
|
|
2185
|
+
}) => string;
|
|
2186
|
+
readonly responsesByStatusCode: {
|
|
2187
|
+
readonly '4xx': v.ObjectSchema<{
|
|
2188
|
+
readonly error: v.ObjectSchema<{
|
|
2189
|
+
readonly code: v.StringSchema<undefined>;
|
|
2190
|
+
readonly message: v.StringSchema<undefined>;
|
|
2191
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
2192
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2193
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2194
|
+
readonly message: v.StringSchema<undefined>;
|
|
2195
|
+
}, undefined>, undefined>, undefined>;
|
|
2196
|
+
}, undefined>;
|
|
2197
|
+
}, undefined>;
|
|
2198
|
+
readonly '5xx': v.ObjectSchema<{
|
|
2199
|
+
readonly error: v.ObjectSchema<{
|
|
2200
|
+
readonly code: v.StringSchema<undefined>;
|
|
2201
|
+
readonly message: v.StringSchema<undefined>;
|
|
2202
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
2203
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2204
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2205
|
+
readonly message: v.StringSchema<undefined>;
|
|
2206
|
+
}, undefined>, undefined>, undefined>;
|
|
2207
|
+
}, undefined>;
|
|
2208
|
+
}, undefined>;
|
|
2209
|
+
readonly 200: v.ObjectSchema<{
|
|
2210
|
+
readonly executionId: v.StringSchema<undefined>;
|
|
2211
|
+
readonly searchQueries: v.ArraySchema<v.ObjectSchema<{
|
|
2212
|
+
readonly id: v.StringSchema<undefined>;
|
|
2213
|
+
readonly workspaceId: v.StringSchema<undefined>;
|
|
2214
|
+
readonly executionId: v.StringSchema<undefined>;
|
|
2215
|
+
readonly agentKind: v.StringSchema<undefined>;
|
|
2216
|
+
readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
|
|
2217
|
+
readonly query: v.StringSchema<undefined>;
|
|
2218
|
+
readonly resultCount: v.NumberSchema<undefined>;
|
|
2219
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
2220
|
+
}, undefined>, undefined>;
|
|
2221
|
+
}, undefined>;
|
|
2222
|
+
};
|
|
2223
|
+
};
|
|
2166
2224
|
export declare const exportExecutionLlmMetricsContract: {
|
|
2167
2225
|
readonly method: "get";
|
|
2168
2226
|
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
@@ -2567,6 +2625,10 @@ export declare const resolveDecisionContract: {
|
|
|
2567
2625
|
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2568
2626
|
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2569
2627
|
}, undefined>, undefined>, undefined>;
|
|
2628
|
+
readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2629
|
+
readonly available: v.BooleanSchema<undefined>;
|
|
2630
|
+
readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
|
|
2631
|
+
}, undefined>, undefined>, undefined>;
|
|
2570
2632
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
2571
2633
|
readonly id: v.StringSchema<undefined>;
|
|
2572
2634
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -2891,6 +2953,7 @@ export declare const resolveDecisionContract: {
|
|
|
2891
2953
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
2892
2954
|
}, undefined>, undefined>, undefined>;
|
|
2893
2955
|
}, undefined>, undefined>;
|
|
2956
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2894
2957
|
}, undefined>, undefined>, undefined>;
|
|
2895
2958
|
readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2896
2959
|
readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
|
|
@@ -2907,6 +2970,7 @@ export declare const resolveDecisionContract: {
|
|
|
2907
2970
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
2908
2971
|
}, undefined>, undefined>, undefined>;
|
|
2909
2972
|
}, undefined>, undefined>;
|
|
2973
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2910
2974
|
}, undefined>, undefined>, undefined>;
|
|
2911
2975
|
readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2912
2976
|
readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -3225,6 +3289,10 @@ export declare const approveStepContract: {
|
|
|
3225
3289
|
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3226
3290
|
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3227
3291
|
}, undefined>, undefined>, undefined>;
|
|
3292
|
+
readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3293
|
+
readonly available: v.BooleanSchema<undefined>;
|
|
3294
|
+
readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
|
|
3295
|
+
}, undefined>, undefined>, undefined>;
|
|
3228
3296
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
3229
3297
|
readonly id: v.StringSchema<undefined>;
|
|
3230
3298
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -3549,6 +3617,7 @@ export declare const approveStepContract: {
|
|
|
3549
3617
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
3550
3618
|
}, undefined>, undefined>, undefined>;
|
|
3551
3619
|
}, undefined>, undefined>;
|
|
3620
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
3552
3621
|
}, undefined>, undefined>, undefined>;
|
|
3553
3622
|
readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3554
3623
|
readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
|
|
@@ -3565,6 +3634,7 @@ export declare const approveStepContract: {
|
|
|
3565
3634
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
3566
3635
|
}, undefined>, undefined>, undefined>;
|
|
3567
3636
|
}, undefined>, undefined>;
|
|
3637
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
3568
3638
|
}, undefined>, undefined>, undefined>;
|
|
3569
3639
|
readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3570
3640
|
readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -3897,6 +3967,10 @@ export declare const requestStepChangesContract: {
|
|
|
3897
3967
|
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3898
3968
|
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3899
3969
|
}, undefined>, undefined>, undefined>;
|
|
3970
|
+
readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3971
|
+
readonly available: v.BooleanSchema<undefined>;
|
|
3972
|
+
readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
|
|
3973
|
+
}, undefined>, undefined>, undefined>;
|
|
3900
3974
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
3901
3975
|
readonly id: v.StringSchema<undefined>;
|
|
3902
3976
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -4221,6 +4295,7 @@ export declare const requestStepChangesContract: {
|
|
|
4221
4295
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
4222
4296
|
}, undefined>, undefined>, undefined>;
|
|
4223
4297
|
}, undefined>, undefined>;
|
|
4298
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
4224
4299
|
}, undefined>, undefined>, undefined>;
|
|
4225
4300
|
readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
4226
4301
|
readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
|
|
@@ -4237,6 +4312,7 @@ export declare const requestStepChangesContract: {
|
|
|
4237
4312
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
4238
4313
|
}, undefined>, undefined>, undefined>;
|
|
4239
4314
|
}, undefined>, undefined>;
|
|
4315
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
4240
4316
|
}, undefined>, undefined>, undefined>;
|
|
4241
4317
|
readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4242
4318
|
readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -4555,6 +4631,10 @@ export declare const resolveStepExceededContract: {
|
|
|
4555
4631
|
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4556
4632
|
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4557
4633
|
}, undefined>, undefined>, undefined>;
|
|
4634
|
+
readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
4635
|
+
readonly available: v.BooleanSchema<undefined>;
|
|
4636
|
+
readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
|
|
4637
|
+
}, undefined>, undefined>, undefined>;
|
|
4558
4638
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
4559
4639
|
readonly id: v.StringSchema<undefined>;
|
|
4560
4640
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -4879,6 +4959,7 @@ export declare const resolveStepExceededContract: {
|
|
|
4879
4959
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
4880
4960
|
}, undefined>, undefined>, undefined>;
|
|
4881
4961
|
}, undefined>, undefined>;
|
|
4962
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
4882
4963
|
}, undefined>, undefined>, undefined>;
|
|
4883
4964
|
readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
4884
4965
|
readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
|
|
@@ -4895,6 +4976,7 @@ export declare const resolveStepExceededContract: {
|
|
|
4895
4976
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
4896
4977
|
}, undefined>, undefined>, undefined>;
|
|
4897
4978
|
}, undefined>, undefined>;
|
|
4979
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
4898
4980
|
}, undefined>, undefined>, undefined>;
|
|
4899
4981
|
readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4900
4982
|
readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -5211,6 +5293,10 @@ export declare const restartExecutionContract: {
|
|
|
5211
5293
|
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
5212
5294
|
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
5213
5295
|
}, undefined>, undefined>, undefined>;
|
|
5296
|
+
readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
5297
|
+
readonly available: v.BooleanSchema<undefined>;
|
|
5298
|
+
readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
|
|
5299
|
+
}, undefined>, undefined>, undefined>;
|
|
5214
5300
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
5215
5301
|
readonly id: v.StringSchema<undefined>;
|
|
5216
5302
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -5535,6 +5621,7 @@ export declare const restartExecutionContract: {
|
|
|
5535
5621
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
5536
5622
|
}, undefined>, undefined>, undefined>;
|
|
5537
5623
|
}, undefined>, undefined>;
|
|
5624
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
5538
5625
|
}, undefined>, undefined>, undefined>;
|
|
5539
5626
|
readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
5540
5627
|
readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
|
|
@@ -5551,6 +5638,7 @@ export declare const restartExecutionContract: {
|
|
|
5551
5638
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
5552
5639
|
}, undefined>, undefined>, undefined>;
|
|
5553
5640
|
}, undefined>, undefined>;
|
|
5641
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
5554
5642
|
}, undefined>, undefined>, undefined>;
|
|
5555
5643
|
readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
5556
5644
|
readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -5869,6 +5957,10 @@ export declare const rejectStepContract: {
|
|
|
5869
5957
|
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
5870
5958
|
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
5871
5959
|
}, undefined>, undefined>, undefined>;
|
|
5960
|
+
readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
5961
|
+
readonly available: v.BooleanSchema<undefined>;
|
|
5962
|
+
readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
|
|
5963
|
+
}, undefined>, undefined>, undefined>;
|
|
5872
5964
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
5873
5965
|
readonly id: v.StringSchema<undefined>;
|
|
5874
5966
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -6193,6 +6285,7 @@ export declare const rejectStepContract: {
|
|
|
6193
6285
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
6194
6286
|
}, undefined>, undefined>, undefined>;
|
|
6195
6287
|
}, undefined>, undefined>;
|
|
6288
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
6196
6289
|
}, undefined>, undefined>, undefined>;
|
|
6197
6290
|
readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
6198
6291
|
readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
|
|
@@ -6209,6 +6302,7 @@ export declare const rejectStepContract: {
|
|
|
6209
6302
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
6210
6303
|
}, undefined>, undefined>, undefined>;
|
|
6211
6304
|
}, undefined>, undefined>;
|
|
6305
|
+
readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
6212
6306
|
}, undefined>, undefined>, undefined>;
|
|
6213
6307
|
readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
6214
6308
|
readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -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;
|
|
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;AAiD5B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO7B,CAAA"}
|
package/dist/routes/execution.js
CHANGED
|
@@ -2,7 +2,7 @@ import { ContractNoBody, defineApiContract, withObjectKeys } from '@toad-contrac
|
|
|
2
2
|
import * as v from 'valibot';
|
|
3
3
|
import { blockSchema, executionInstanceSchema, spendStatusSchema } from '../entities.js';
|
|
4
4
|
import { resolveIterationCapSchema } from '../iteration-cap.js';
|
|
5
|
-
import { agentContextSnapshotSchema, llmMetricsExportSchema, llmMetricsResponseSchema, } from '../observability.js';
|
|
5
|
+
import { agentContextSnapshotSchema, agentSearchQuerySchema, llmMetricsExportSchema, llmMetricsResponseSchema, } from '../observability.js';
|
|
6
6
|
import { approveStepSchema, rejectStepSchema, requestStepChangesSchema, resolveDecisionSchema, restartFromStepSchema, startExecutionSchema, } from '../requests.js';
|
|
7
7
|
import { errorResponses, singleStringParam } from './_shared.js';
|
|
8
8
|
// ---------------------------------------------------------------------------
|
|
@@ -21,6 +21,13 @@ const agentContextResponseSchema = v.object({
|
|
|
21
21
|
executionId: v.string(),
|
|
22
22
|
snapshots: v.array(agentContextSnapshotSchema),
|
|
23
23
|
});
|
|
24
|
+
// The agent-search-query observability response — `{ executionId, searchQueries }`.
|
|
25
|
+
// The query schema (`agentSearchQuerySchema`) is the shared source of truth the kernel
|
|
26
|
+
// `AgentSearchQuery` port also derives from.
|
|
27
|
+
const searchQueriesResponseSchema = v.object({
|
|
28
|
+
executionId: v.string(),
|
|
29
|
+
searchQueries: v.array(agentSearchQuerySchema),
|
|
30
|
+
});
|
|
24
31
|
// ---- run lifecycle --------------------------------------------------------
|
|
25
32
|
export const startExecutionContract = defineApiContract({
|
|
26
33
|
method: 'post',
|
|
@@ -67,6 +74,12 @@ export const getExecutionAgentContextContract = defineApiContract({
|
|
|
67
74
|
pathResolver: ({ executionId }) => `/executions/${executionId}/agent-context`,
|
|
68
75
|
responsesByStatusCode: { 200: agentContextResponseSchema, ...errorResponses },
|
|
69
76
|
});
|
|
77
|
+
export const getExecutionSearchQueriesContract = defineApiContract({
|
|
78
|
+
method: 'get',
|
|
79
|
+
requestPathParamsSchema: executionIdParams,
|
|
80
|
+
pathResolver: ({ executionId }) => `/executions/${executionId}/search-queries`,
|
|
81
|
+
responsesByStatusCode: { 200: searchQueriesResponseSchema, ...errorResponses },
|
|
82
|
+
});
|
|
70
83
|
export const exportExecutionLlmMetricsContract = defineApiContract({
|
|
71
84
|
method: 'get',
|
|
72
85
|
requestPathParamsSchema: executionIdParams,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution.js","sourceRoot":"","sources":["../../src/routes/execution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,WAAW,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AACxF,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAq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AAE,WAAW,EAAE,UAAU,EAAE,EAAE,EAAE,CAC5C,eAAe,WAAW,UAAU,UAAU,SAAS;IACzD,iBAAiB,EAAE,gBAAgB;IACnC,qBAAqB,EAAE,EAAE,GAAG,EAAE,uBAAuB,EAAE,GAAG,cAAc,EAAE;CAC3E,CAAC,CAAA"}
|
|
@@ -302,6 +302,10 @@ export declare const requestHumanReviewFixContract: {
|
|
|
302
302
|
readonly id: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
303
303
|
readonly url: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
304
304
|
}, undefined>, undefined>, undefined>;
|
|
305
|
+
readonly search: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
306
|
+
readonly available: import("valibot").BooleanSchema<undefined>;
|
|
307
|
+
readonly provider: import("valibot").NullableSchema<import("valibot").PicklistSchema<["brave", "searxng"], undefined>, undefined>;
|
|
308
|
+
}, undefined>, undefined>, undefined>;
|
|
305
309
|
readonly decision: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
306
310
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
307
311
|
readonly question: import("valibot").StringSchema<undefined>;
|
|
@@ -626,6 +630,7 @@ export declare const requestHumanReviewFixContract: {
|
|
|
626
630
|
readonly status: import("valibot").PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
627
631
|
}, undefined>, undefined>, undefined>;
|
|
628
632
|
}, undefined>, undefined>;
|
|
633
|
+
readonly stepIndex: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
629
634
|
}, undefined>, undefined>, undefined>;
|
|
630
635
|
readonly failureHistory: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
631
636
|
readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
|
|
@@ -642,6 +647,7 @@ export declare const requestHumanReviewFixContract: {
|
|
|
642
647
|
readonly status: import("valibot").PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
643
648
|
}, undefined>, undefined>, undefined>;
|
|
644
649
|
}, undefined>, undefined>;
|
|
650
|
+
readonly stepIndex: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
645
651
|
}, undefined>, undefined>, undefined>;
|
|
646
652
|
readonly notes: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
647
653
|
readonly frontendBindings: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -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"}
|