@cat-factory/contracts 0.156.0 → 0.158.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/agent-effort.d.ts +21 -0
- package/dist/agent-effort.d.ts.map +1 -0
- package/dist/agent-effort.js +33 -0
- package/dist/agent-effort.js.map +1 -0
- package/dist/api-keys.d.ts +32 -0
- package/dist/api-keys.d.ts.map +1 -1
- package/dist/api-keys.js +17 -0
- package/dist/api-keys.js.map +1 -1
- package/dist/companion.d.ts +14 -0
- package/dist/companion.d.ts.map +1 -1
- package/dist/companion.js +9 -0
- package/dist/companion.js.map +1 -1
- package/dist/execution.d.ts +52 -0
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +17 -0
- package/dist/execution.js.map +1 -1
- package/dist/fragment-adherence.d.ts +38 -0
- package/dist/fragment-adherence.d.ts.map +1 -0
- package/dist/fragment-adherence.js +38 -0
- package/dist/fragment-adherence.js.map +1 -0
- package/dist/fragment-library.d.ts +16 -0
- package/dist/fragment-library.d.ts.map +1 -1
- package/dist/fragment-library.js +14 -0
- package/dist/fragment-library.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/prReview.d.ts +12 -0
- package/dist/prReview.d.ts.map +1 -1
- package/dist/prReview.js +7 -0
- package/dist/prReview.js.map +1 -1
- package/dist/routes/accounts.d.ts +57 -0
- package/dist/routes/accounts.d.ts.map +1 -1
- package/dist/routes/accounts.js +8 -1
- package/dist/routes/accounts.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +26 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/api-keys.d.ts +110 -0
- package/dist/routes/api-keys.d.ts.map +1 -1
- package/dist/routes/api-keys.js +15 -1
- package/dist/routes/api-keys.js.map +1 -1
- package/dist/routes/execution.d.ts +104 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/fragment-library.d.ts +39 -0
- package/dist/routes/fragment-library.d.ts.map +1 -1
- package/dist/routes/fragment-library.js +11 -1
- package/dist/routes/fragment-library.js.map +1 -1
- package/dist/routes/human-review.d.ts +13 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +65 -0
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/vendor-credentials.d.ts +53 -0
- package/dist/routes/vendor-credentials.d.ts.map +1 -1
- package/dist/routes/vendor-credentials.js +8 -1
- package/dist/routes/vendor-credentials.js.map +1 -1
- package/dist/routes/visual-confirm.d.ts +39 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +26 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +13 -0
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/vendor-credentials.d.ts +25 -0
- package/dist/vendor-credentials.d.ts.map +1 -1
- package/dist/vendor-credentials.js +17 -0
- package/dist/vendor-credentials.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-keys.js","sourceRoot":"","sources":["../../src/routes/api-keys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,
|
|
1
|
+
{"version":3,"file":"api-keys.js","sourceRoot":"","sources":["../../src/routes/api-keys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,YAAY,EACZ,kBAAkB,GACnB,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,0EAA0E;AAC1E,gFAAgF;AAChF,+EAA+E;AAC/E,wEAAwE;AACxE,qFAAqF;A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cAAc;IAClC,qBAAqB,EAAE,EAAE,GAAG,EAAE,sBAAsB,EAAE,GAAG,cAAc,EAAE;CAC1E,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;IACrD,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,GAAG,EAAE,CAAC,cAAc;IAClC,iBAAiB,EAAE,eAAe;IAClC,qBAAqB,EAAE,EAAE,GAAG,EAAE,YAAY,EAAE,GAAG,cAAc,EAAE;CAChE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACxD,MAAM,EAAE,OAAO;IACf,uBAAuB,EAAE,QAAQ;IACjC,YAAY,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,gBAAgB,EAAE,EAAE;IAC9C,iBAAiB,EAAE,kBAAkB;IACrC,qBAAqB,EAAE,EAAE,GAAG,EAAE,YAAY,EAAE,GAAG,cAAc,EAAE;CAChE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACxD,MAAM,EAAE,QAAQ;IAChB,uBAAuB,EAAE,QAAQ;IACjC,YAAY,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,gBAAgB,EAAE,EAAE;IAC9C,qBAAqB,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,cAAc,EAAE;CAClE,CAAC,CAAA"}
|
|
@@ -522,6 +522,19 @@ export declare const startExecutionContract: {
|
|
|
522
522
|
readonly custom: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
523
523
|
readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
524
524
|
readonly selectedFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
525
|
+
readonly fragmentAdherence: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
526
|
+
readonly fragmentId: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
527
|
+
readonly title: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
528
|
+
readonly rating: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
|
|
529
|
+
readonly assessment: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
530
|
+
readonly relatedFindings: v.SchemaWithFallback<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
531
|
+
}, undefined>, undefined>, undefined>;
|
|
532
|
+
readonly effortReport: v.OptionalSchema<v.ObjectSchema<{
|
|
533
|
+
readonly difficulty: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
|
|
534
|
+
readonly summary: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
535
|
+
readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
536
|
+
readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
537
|
+
}, undefined>, undefined>;
|
|
525
538
|
readonly skillVersion: v.OptionalSchema<v.ObjectSchema<{
|
|
526
539
|
readonly skillId: v.StringSchema<undefined>;
|
|
527
540
|
readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -2126,6 +2139,19 @@ export declare const resumeSpendContract: {
|
|
|
2126
2139
|
readonly custom: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
2127
2140
|
readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2128
2141
|
readonly selectedFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2142
|
+
readonly fragmentAdherence: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2143
|
+
readonly fragmentId: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2144
|
+
readonly title: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2145
|
+
readonly rating: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
|
|
2146
|
+
readonly assessment: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
2147
|
+
readonly relatedFindings: v.SchemaWithFallback<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
2148
|
+
}, undefined>, undefined>, undefined>;
|
|
2149
|
+
readonly effortReport: v.OptionalSchema<v.ObjectSchema<{
|
|
2150
|
+
readonly difficulty: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
|
|
2151
|
+
readonly summary: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2152
|
+
readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2153
|
+
readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
2154
|
+
}, undefined>, undefined>;
|
|
2129
2155
|
readonly skillVersion: v.OptionalSchema<v.ObjectSchema<{
|
|
2130
2156
|
readonly skillId: v.StringSchema<undefined>;
|
|
2131
2157
|
readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -3259,6 +3285,19 @@ export declare const resolveDecisionContract: {
|
|
|
3259
3285
|
readonly custom: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
3260
3286
|
readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3261
3287
|
readonly selectedFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3288
|
+
readonly fragmentAdherence: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3289
|
+
readonly fragmentId: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3290
|
+
readonly title: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3291
|
+
readonly rating: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
|
|
3292
|
+
readonly assessment: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
3293
|
+
readonly relatedFindings: v.SchemaWithFallback<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
3294
|
+
}, undefined>, undefined>, undefined>;
|
|
3295
|
+
readonly effortReport: v.OptionalSchema<v.ObjectSchema<{
|
|
3296
|
+
readonly difficulty: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
|
|
3297
|
+
readonly summary: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3298
|
+
readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3299
|
+
readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
3300
|
+
}, undefined>, undefined>;
|
|
3262
3301
|
readonly skillVersion: v.OptionalSchema<v.ObjectSchema<{
|
|
3263
3302
|
readonly skillId: v.StringSchema<undefined>;
|
|
3264
3303
|
readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -4082,6 +4121,19 @@ export declare const approveStepContract: {
|
|
|
4082
4121
|
readonly custom: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
4083
4122
|
readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4084
4123
|
readonly selectedFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4124
|
+
readonly fragmentAdherence: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
4125
|
+
readonly fragmentId: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4126
|
+
readonly title: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4127
|
+
readonly rating: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
|
|
4128
|
+
readonly assessment: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
4129
|
+
readonly relatedFindings: v.SchemaWithFallback<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
4130
|
+
}, undefined>, undefined>, undefined>;
|
|
4131
|
+
readonly effortReport: v.OptionalSchema<v.ObjectSchema<{
|
|
4132
|
+
readonly difficulty: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
|
|
4133
|
+
readonly summary: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4134
|
+
readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4135
|
+
readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
4136
|
+
}, undefined>, undefined>;
|
|
4085
4137
|
readonly skillVersion: v.OptionalSchema<v.ObjectSchema<{
|
|
4086
4138
|
readonly skillId: v.StringSchema<undefined>;
|
|
4087
4139
|
readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -4919,6 +4971,19 @@ export declare const requestStepChangesContract: {
|
|
|
4919
4971
|
readonly custom: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
4920
4972
|
readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4921
4973
|
readonly selectedFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4974
|
+
readonly fragmentAdherence: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
4975
|
+
readonly fragmentId: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4976
|
+
readonly title: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4977
|
+
readonly rating: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
|
|
4978
|
+
readonly assessment: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
4979
|
+
readonly relatedFindings: v.SchemaWithFallback<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
4980
|
+
}, undefined>, undefined>, undefined>;
|
|
4981
|
+
readonly effortReport: v.OptionalSchema<v.ObjectSchema<{
|
|
4982
|
+
readonly difficulty: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
|
|
4983
|
+
readonly summary: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4984
|
+
readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4985
|
+
readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
4986
|
+
}, undefined>, undefined>;
|
|
4922
4987
|
readonly skillVersion: v.OptionalSchema<v.ObjectSchema<{
|
|
4923
4988
|
readonly skillId: v.StringSchema<undefined>;
|
|
4924
4989
|
readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -5742,6 +5807,19 @@ export declare const resolveStepExceededContract: {
|
|
|
5742
5807
|
readonly custom: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
5743
5808
|
readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5744
5809
|
readonly selectedFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
5810
|
+
readonly fragmentAdherence: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
5811
|
+
readonly fragmentId: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
5812
|
+
readonly title: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
5813
|
+
readonly rating: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
|
|
5814
|
+
readonly assessment: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
5815
|
+
readonly relatedFindings: v.SchemaWithFallback<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
5816
|
+
}, undefined>, undefined>, undefined>;
|
|
5817
|
+
readonly effortReport: v.OptionalSchema<v.ObjectSchema<{
|
|
5818
|
+
readonly difficulty: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
|
|
5819
|
+
readonly summary: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
5820
|
+
readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
5821
|
+
readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
5822
|
+
}, undefined>, undefined>;
|
|
5745
5823
|
readonly skillVersion: v.OptionalSchema<v.ObjectSchema<{
|
|
5746
5824
|
readonly skillId: v.StringSchema<undefined>;
|
|
5747
5825
|
readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -6563,6 +6641,19 @@ export declare const restartExecutionContract: {
|
|
|
6563
6641
|
readonly custom: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
6564
6642
|
readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6565
6643
|
readonly selectedFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
6644
|
+
readonly fragmentAdherence: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
6645
|
+
readonly fragmentId: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
6646
|
+
readonly title: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
6647
|
+
readonly rating: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
|
|
6648
|
+
readonly assessment: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
6649
|
+
readonly relatedFindings: v.SchemaWithFallback<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
6650
|
+
}, undefined>, undefined>, undefined>;
|
|
6651
|
+
readonly effortReport: v.OptionalSchema<v.ObjectSchema<{
|
|
6652
|
+
readonly difficulty: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
|
|
6653
|
+
readonly summary: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
6654
|
+
readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
6655
|
+
readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
6656
|
+
}, undefined>, undefined>;
|
|
6566
6657
|
readonly skillVersion: v.OptionalSchema<v.ObjectSchema<{
|
|
6567
6658
|
readonly skillId: v.StringSchema<undefined>;
|
|
6568
6659
|
readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -7386,6 +7477,19 @@ export declare const rejectStepContract: {
|
|
|
7386
7477
|
readonly custom: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
7387
7478
|
readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
7388
7479
|
readonly selectedFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
7480
|
+
readonly fragmentAdherence: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
7481
|
+
readonly fragmentId: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
7482
|
+
readonly title: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
7483
|
+
readonly rating: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
|
|
7484
|
+
readonly assessment: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
7485
|
+
readonly relatedFindings: v.SchemaWithFallback<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
7486
|
+
}, undefined>, undefined>, undefined>;
|
|
7487
|
+
readonly effortReport: v.OptionalSchema<v.ObjectSchema<{
|
|
7488
|
+
readonly difficulty: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
|
|
7489
|
+
readonly summary: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
7490
|
+
readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
7491
|
+
readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
7492
|
+
}, undefined>, undefined>;
|
|
7389
7493
|
readonly skillVersion: v.OptionalSchema<v.ObjectSchema<{
|
|
7390
7494
|
readonly skillId: v.StringSchema<undefined>;
|
|
7391
7495
|
readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -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;AAkD5B,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;AAkD5B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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are const deletePromptFragmentContract: {
|
|
|
217
217
|
readonly 204: typeof ContractNoBody;
|
|
218
218
|
};
|
|
219
219
|
};
|
|
220
|
+
/** Suggest a concise title for a fragment from its content (an inline LLM call). */
|
|
221
|
+
export declare const generatePromptFragmentTitleContract: {
|
|
222
|
+
readonly method: "post";
|
|
223
|
+
readonly requestQuerySchema: v.ObjectSchema<{
|
|
224
|
+
readonly viaWorkspaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
225
|
+
}, undefined>;
|
|
226
|
+
readonly pathResolver: () => string;
|
|
227
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
228
|
+
readonly body: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 20000, undefined>]>;
|
|
229
|
+
readonly summary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
230
|
+
}, undefined>;
|
|
231
|
+
readonly responsesByStatusCode: {
|
|
232
|
+
readonly '4xx': v.ObjectSchema<{
|
|
233
|
+
readonly error: v.ObjectSchema<{
|
|
234
|
+
readonly code: v.StringSchema<undefined>;
|
|
235
|
+
readonly message: v.StringSchema<undefined>;
|
|
236
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
237
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
238
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
239
|
+
readonly message: v.StringSchema<undefined>;
|
|
240
|
+
}, undefined>, undefined>, undefined>;
|
|
241
|
+
}, undefined>;
|
|
242
|
+
}, undefined>;
|
|
243
|
+
readonly '5xx': v.ObjectSchema<{
|
|
244
|
+
readonly error: v.ObjectSchema<{
|
|
245
|
+
readonly code: v.StringSchema<undefined>;
|
|
246
|
+
readonly message: v.StringSchema<undefined>;
|
|
247
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
248
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
249
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
250
|
+
readonly message: v.StringSchema<undefined>;
|
|
251
|
+
}, undefined>, undefined>, undefined>;
|
|
252
|
+
}, undefined>;
|
|
253
|
+
}, undefined>;
|
|
254
|
+
readonly 200: v.ObjectSchema<{
|
|
255
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
256
|
+
}, undefined>;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
220
259
|
export declare const createDocumentFragmentContract: {
|
|
221
260
|
readonly method: "post";
|
|
222
261
|
readonly pathResolver: () => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fragment-library.d.ts","sourceRoot":"","sources":["../../src/routes/fragment-library.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"fragment-library.d.ts","sourceRoot":"","sources":["../../src/routes/fragment-library.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAqC5B,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMvC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAA;AAEF,oFAAoF;AACpF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ9C,CAAA;AAIF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKzC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASxC,CAAA;AAIF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMrC,CAAA;AAIF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ContractNoBody, defineApiContract } from '@toad-contracts/valibot';
|
|
2
2
|
import * as v from 'valibot';
|
|
3
3
|
import { promptFragmentSchema } from '../entities.js';
|
|
4
|
-
import { createDocumentFragmentSchema, createPromptFragmentSchema, fragmentSourceSchema, fragmentSourceStatusSchema, fragmentSyncResultSchema, linkFragmentSourceSchema, resolvedFragmentCatalogSchema, updatePromptFragmentSchema, } from '../fragment-library.js';
|
|
4
|
+
import { createDocumentFragmentSchema, createPromptFragmentSchema, fragmentSourceSchema, fragmentSourceStatusSchema, fragmentSyncResultSchema, generateFragmentTitleSchema, generatedFragmentTitleSchema, linkFragmentSourceSchema, resolvedFragmentCatalogSchema, updatePromptFragmentSchema, } from '../fragment-library.js';
|
|
5
5
|
import { errorResponses, singleStringParam } from './_shared.js';
|
|
6
6
|
// ---------------------------------------------------------------------------
|
|
7
7
|
// Prompt-fragment library route contracts. See FragmentLibraryController in
|
|
@@ -45,6 +45,16 @@ export const deletePromptFragmentContract = defineApiContract({
|
|
|
45
45
|
pathResolver: ({ fragmentId }) => `/prompt-fragments/${fragmentId}`,
|
|
46
46
|
responsesByStatusCode: { 204: ContractNoBody, ...errorResponses },
|
|
47
47
|
});
|
|
48
|
+
/** Suggest a concise title for a fragment from its content (an inline LLM call). */
|
|
49
|
+
export const generatePromptFragmentTitleContract = defineApiContract({
|
|
50
|
+
method: 'post',
|
|
51
|
+
// At the account scope the inline model resolves against a workspace's credential scope;
|
|
52
|
+
// `viaWorkspaceId` names it (ignored at the workspace scope, which uses the addressed workspace).
|
|
53
|
+
requestQuerySchema: v.object({ viaWorkspaceId: v.optional(v.string()) }),
|
|
54
|
+
pathResolver: () => '/prompt-fragments/generate-title',
|
|
55
|
+
requestBodySchema: generateFragmentTitleSchema,
|
|
56
|
+
responsesByStatusCode: { 200: generatedFragmentTitleSchema, ...errorResponses },
|
|
57
|
+
});
|
|
48
58
|
// ---- document-backed fragments (living source of truth) -------------------
|
|
49
59
|
export const createDocumentFragmentContract = defineApiContract({
|
|
50
60
|
method: 'post',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fragment-library.js","sourceRoot":"","sources":["../../src/routes/fragment-library.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,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AAqB,EAAE,EAAE,GAAG,EAAE,6BAA6B,EAAE,GAAG,cAAc,EAAE;CACjF,CAAC,CAAA"}
|
|
@@ -520,6 +520,19 @@ export declare const requestHumanReviewFixContract: {
|
|
|
520
520
|
readonly custom: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
521
521
|
readonly model: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
522
522
|
readonly selectedFragmentIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
523
|
+
readonly fragmentAdherence: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
524
|
+
readonly fragmentId: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
525
|
+
readonly title: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
526
|
+
readonly rating: import("valibot").SchemaWithFallback<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 10, undefined>]>, 5>;
|
|
527
|
+
readonly assessment: import("valibot").SchemaWithFallback<import("valibot").StringSchema<undefined>, "">;
|
|
528
|
+
readonly relatedFindings: import("valibot").SchemaWithFallback<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, readonly []>;
|
|
529
|
+
}, undefined>, undefined>, undefined>;
|
|
530
|
+
readonly effortReport: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
531
|
+
readonly difficulty: import("valibot").SchemaWithFallback<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 10, undefined>]>, 5>;
|
|
532
|
+
readonly summary: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
533
|
+
readonly reducedEffectiveness: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
534
|
+
readonly obstacles: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
535
|
+
}, undefined>, undefined>;
|
|
523
536
|
readonly skillVersion: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
524
537
|
readonly skillId: import("valibot").StringSchema<undefined>;
|
|
525
538
|
readonly commit: import("valibot").NullableSchema<import("valibot").StringSchema<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"}
|
|
@@ -519,6 +519,19 @@ export declare const confirmHumanTestContract: {
|
|
|
519
519
|
readonly custom: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
520
520
|
readonly model: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
521
521
|
readonly selectedFragmentIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
522
|
+
readonly fragmentAdherence: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
523
|
+
readonly fragmentId: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
524
|
+
readonly title: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
525
|
+
readonly rating: import("valibot").SchemaWithFallback<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 10, undefined>]>, 5>;
|
|
526
|
+
readonly assessment: import("valibot").SchemaWithFallback<import("valibot").StringSchema<undefined>, "">;
|
|
527
|
+
readonly relatedFindings: import("valibot").SchemaWithFallback<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, readonly []>;
|
|
528
|
+
}, undefined>, undefined>, undefined>;
|
|
529
|
+
readonly effortReport: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
530
|
+
readonly difficulty: import("valibot").SchemaWithFallback<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 10, undefined>]>, 5>;
|
|
531
|
+
readonly summary: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
532
|
+
readonly reducedEffectiveness: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
533
|
+
readonly obstacles: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
534
|
+
}, undefined>, undefined>;
|
|
522
535
|
readonly skillVersion: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
523
536
|
readonly skillId: import("valibot").StringSchema<undefined>;
|
|
524
537
|
readonly commit: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -1340,6 +1353,19 @@ export declare const requestHumanTestFixContract: {
|
|
|
1340
1353
|
readonly custom: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
1341
1354
|
readonly model: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1342
1355
|
readonly selectedFragmentIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
1356
|
+
readonly fragmentAdherence: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
1357
|
+
readonly fragmentId: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
1358
|
+
readonly title: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
1359
|
+
readonly rating: import("valibot").SchemaWithFallback<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 10, undefined>]>, 5>;
|
|
1360
|
+
readonly assessment: import("valibot").SchemaWithFallback<import("valibot").StringSchema<undefined>, "">;
|
|
1361
|
+
readonly relatedFindings: import("valibot").SchemaWithFallback<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, readonly []>;
|
|
1362
|
+
}, undefined>, undefined>, undefined>;
|
|
1363
|
+
readonly effortReport: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
1364
|
+
readonly difficulty: import("valibot").SchemaWithFallback<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 10, undefined>]>, 5>;
|
|
1365
|
+
readonly summary: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
1366
|
+
readonly reducedEffectiveness: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
1367
|
+
readonly obstacles: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
1368
|
+
}, undefined>, undefined>;
|
|
1343
1369
|
readonly skillVersion: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
1344
1370
|
readonly skillId: import("valibot").StringSchema<undefined>;
|
|
1345
1371
|
readonly commit: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -2159,6 +2185,19 @@ export declare const pullMainHumanTestContract: {
|
|
|
2159
2185
|
readonly custom: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
2160
2186
|
readonly model: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
2161
2187
|
readonly selectedFragmentIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
2188
|
+
readonly fragmentAdherence: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
2189
|
+
readonly fragmentId: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
2190
|
+
readonly title: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
2191
|
+
readonly rating: import("valibot").SchemaWithFallback<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 10, undefined>]>, 5>;
|
|
2192
|
+
readonly assessment: import("valibot").SchemaWithFallback<import("valibot").StringSchema<undefined>, "">;
|
|
2193
|
+
readonly relatedFindings: import("valibot").SchemaWithFallback<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, readonly []>;
|
|
2194
|
+
}, undefined>, undefined>, undefined>;
|
|
2195
|
+
readonly effortReport: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
2196
|
+
readonly difficulty: import("valibot").SchemaWithFallback<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 10, undefined>]>, 5>;
|
|
2197
|
+
readonly summary: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
2198
|
+
readonly reducedEffectiveness: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
2199
|
+
readonly obstacles: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
2200
|
+
}, undefined>, undefined>;
|
|
2162
2201
|
readonly skillVersion: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
2163
2202
|
readonly skillId: import("valibot").StringSchema<undefined>;
|
|
2164
2203
|
readonly commit: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -2978,6 +3017,19 @@ export declare const recreateHumanTestEnvContract: {
|
|
|
2978
3017
|
readonly custom: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
2979
3018
|
readonly model: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
2980
3019
|
readonly selectedFragmentIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
3020
|
+
readonly fragmentAdherence: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
3021
|
+
readonly fragmentId: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
3022
|
+
readonly title: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
3023
|
+
readonly rating: import("valibot").SchemaWithFallback<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 10, undefined>]>, 5>;
|
|
3024
|
+
readonly assessment: import("valibot").SchemaWithFallback<import("valibot").StringSchema<undefined>, "">;
|
|
3025
|
+
readonly relatedFindings: import("valibot").SchemaWithFallback<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, readonly []>;
|
|
3026
|
+
}, undefined>, undefined>, undefined>;
|
|
3027
|
+
readonly effortReport: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
3028
|
+
readonly difficulty: import("valibot").SchemaWithFallback<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 10, undefined>]>, 5>;
|
|
3029
|
+
readonly summary: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
3030
|
+
readonly reducedEffectiveness: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
3031
|
+
readonly obstacles: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
3032
|
+
}, undefined>, undefined>;
|
|
2981
3033
|
readonly skillVersion: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
2982
3034
|
readonly skillId: import("valibot").StringSchema<undefined>;
|
|
2983
3035
|
readonly commit: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -3797,6 +3849,19 @@ export declare const destroyHumanTestEnvContract: {
|
|
|
3797
3849
|
readonly custom: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
3798
3850
|
readonly model: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
3799
3851
|
readonly selectedFragmentIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
3852
|
+
readonly fragmentAdherence: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
3853
|
+
readonly fragmentId: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
3854
|
+
readonly title: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
3855
|
+
readonly rating: import("valibot").SchemaWithFallback<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 10, undefined>]>, 5>;
|
|
3856
|
+
readonly assessment: import("valibot").SchemaWithFallback<import("valibot").StringSchema<undefined>, "">;
|
|
3857
|
+
readonly relatedFindings: import("valibot").SchemaWithFallback<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, readonly []>;
|
|
3858
|
+
}, undefined>, undefined>, undefined>;
|
|
3859
|
+
readonly effortReport: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
3860
|
+
readonly difficulty: import("valibot").SchemaWithFallback<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 10, undefined>]>, 5>;
|
|
3861
|
+
readonly summary: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
3862
|
+
readonly reducedEffectiveness: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
3863
|
+
readonly obstacles: import("valibot").SchemaWithFallback<import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
3864
|
+
}, undefined>, undefined>;
|
|
3800
3865
|
readonly skillVersion: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
3801
3866
|
readonly skillId: import("valibot").StringSchema<undefined>;
|
|
3802
3867
|
readonly commit: import("valibot").NullableSchema<import("valibot").StringSchema<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","sourceRo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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA"}
|
|
@@ -36,6 +36,8 @@ export declare const listVendorCredentialsContract: {
|
|
|
36
36
|
readonly inputTokens: v.NumberSchema<undefined>;
|
|
37
37
|
readonly outputTokens: v.NumberSchema<undefined>;
|
|
38
38
|
readonly requestCount: v.NumberSchema<undefined>;
|
|
39
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
40
|
+
readonly isDefault: v.BooleanSchema<undefined>;
|
|
39
41
|
}, undefined>, undefined>;
|
|
40
42
|
}, undefined>;
|
|
41
43
|
};
|
|
@@ -80,6 +82,57 @@ export declare const addVendorCredentialContract: {
|
|
|
80
82
|
readonly inputTokens: v.NumberSchema<undefined>;
|
|
81
83
|
readonly outputTokens: v.NumberSchema<undefined>;
|
|
82
84
|
readonly requestCount: v.NumberSchema<undefined>;
|
|
85
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
86
|
+
readonly isDefault: v.BooleanSchema<undefined>;
|
|
87
|
+
}, undefined>;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
export declare const updateVendorCredentialContract: {
|
|
91
|
+
readonly method: "patch";
|
|
92
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
93
|
+
id: v.StringSchema<undefined>;
|
|
94
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
95
|
+
readonly pathResolver: ({ id }: {
|
|
96
|
+
id: string;
|
|
97
|
+
}) => string;
|
|
98
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
99
|
+
readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
100
|
+
readonly isDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
101
|
+
}, undefined>;
|
|
102
|
+
readonly responsesByStatusCode: {
|
|
103
|
+
readonly '4xx': v.ObjectSchema<{
|
|
104
|
+
readonly error: v.ObjectSchema<{
|
|
105
|
+
readonly code: v.StringSchema<undefined>;
|
|
106
|
+
readonly message: v.StringSchema<undefined>;
|
|
107
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
108
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
109
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
110
|
+
readonly message: v.StringSchema<undefined>;
|
|
111
|
+
}, undefined>, undefined>, undefined>;
|
|
112
|
+
}, undefined>;
|
|
113
|
+
}, undefined>;
|
|
114
|
+
readonly '5xx': v.ObjectSchema<{
|
|
115
|
+
readonly error: v.ObjectSchema<{
|
|
116
|
+
readonly code: v.StringSchema<undefined>;
|
|
117
|
+
readonly message: v.StringSchema<undefined>;
|
|
118
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
119
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
120
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
121
|
+
readonly message: v.StringSchema<undefined>;
|
|
122
|
+
}, undefined>, undefined>, undefined>;
|
|
123
|
+
}, undefined>;
|
|
124
|
+
}, undefined>;
|
|
125
|
+
readonly 200: v.ObjectSchema<{
|
|
126
|
+
readonly id: v.StringSchema<undefined>;
|
|
127
|
+
readonly vendor: v.PicklistSchema<["claude", "codex", "glm", "kimi", "deepseek"], undefined>;
|
|
128
|
+
readonly label: v.StringSchema<undefined>;
|
|
129
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
130
|
+
readonly lastUsedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
131
|
+
readonly inputTokens: v.NumberSchema<undefined>;
|
|
132
|
+
readonly outputTokens: v.NumberSchema<undefined>;
|
|
133
|
+
readonly requestCount: v.NumberSchema<undefined>;
|
|
134
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
135
|
+
readonly isDefault: v.BooleanSchema<undefined>;
|
|
83
136
|
}, undefined>;
|
|
84
137
|
};
|
|
85
138
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vendor-credentials.d.ts","sourceRoot":"","sources":["../../src/routes/vendor-credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"vendor-credentials.d.ts","sourceRoot":"","sources":["../../src/routes/vendor-credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAuB5B,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKtC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMzC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKzC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ContractNoBody, defineApiContract } from '@toad-contracts/valibot';
|
|
2
2
|
import * as v from 'valibot';
|
|
3
|
-
import { addVendorCredentialSchema, vendorCredentialListSchema, vendorCredentialSchema, } from '../vendor-credentials.js';
|
|
3
|
+
import { addVendorCredentialSchema, updateVendorCredentialSchema, vendorCredentialListSchema, vendorCredentialSchema, } from '../vendor-credentials.js';
|
|
4
4
|
import { errorResponses, singleStringParam } from './_shared.js';
|
|
5
5
|
// ---------------------------------------------------------------------------
|
|
6
6
|
// Vendor-credential (subscription token pool) route contracts. Tokens are
|
|
@@ -24,6 +24,13 @@ export const addVendorCredentialContract = defineApiContract({
|
|
|
24
24
|
requestBodySchema: addVendorCredentialSchema,
|
|
25
25
|
responsesByStatusCode: { 201: vendorCredentialSchema, ...errorResponses },
|
|
26
26
|
});
|
|
27
|
+
export const updateVendorCredentialContract = defineApiContract({
|
|
28
|
+
method: 'patch',
|
|
29
|
+
requestPathParamsSchema: credentialIdParams,
|
|
30
|
+
pathResolver: ({ id }) => `/vendor-credentials/${id}`,
|
|
31
|
+
requestBodySchema: updateVendorCredentialSchema,
|
|
32
|
+
responsesByStatusCode: { 200: vendorCredentialSchema, ...errorResponses },
|
|
33
|
+
});
|
|
27
34
|
export const removeVendorCredentialContract = defineApiContract({
|
|
28
35
|
method: 'delete',
|
|
29
36
|
requestPathParamsSchema: credentialIdParams,
|