@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.
Files changed (67) hide show
  1. package/dist/agent-effort.d.ts +21 -0
  2. package/dist/agent-effort.d.ts.map +1 -0
  3. package/dist/agent-effort.js +33 -0
  4. package/dist/agent-effort.js.map +1 -0
  5. package/dist/api-keys.d.ts +32 -0
  6. package/dist/api-keys.d.ts.map +1 -1
  7. package/dist/api-keys.js +17 -0
  8. package/dist/api-keys.js.map +1 -1
  9. package/dist/companion.d.ts +14 -0
  10. package/dist/companion.d.ts.map +1 -1
  11. package/dist/companion.js +9 -0
  12. package/dist/companion.js.map +1 -1
  13. package/dist/execution.d.ts +52 -0
  14. package/dist/execution.d.ts.map +1 -1
  15. package/dist/execution.js +17 -0
  16. package/dist/execution.js.map +1 -1
  17. package/dist/fragment-adherence.d.ts +38 -0
  18. package/dist/fragment-adherence.d.ts.map +1 -0
  19. package/dist/fragment-adherence.js +38 -0
  20. package/dist/fragment-adherence.js.map +1 -0
  21. package/dist/fragment-library.d.ts +16 -0
  22. package/dist/fragment-library.d.ts.map +1 -1
  23. package/dist/fragment-library.js +14 -0
  24. package/dist/fragment-library.js.map +1 -1
  25. package/dist/index.d.ts +2 -0
  26. package/dist/index.d.ts.map +1 -1
  27. package/dist/index.js +2 -0
  28. package/dist/index.js.map +1 -1
  29. package/dist/prReview.d.ts +12 -0
  30. package/dist/prReview.d.ts.map +1 -1
  31. package/dist/prReview.js +7 -0
  32. package/dist/prReview.js.map +1 -1
  33. package/dist/routes/accounts.d.ts +57 -0
  34. package/dist/routes/accounts.d.ts.map +1 -1
  35. package/dist/routes/accounts.js +8 -1
  36. package/dist/routes/accounts.js.map +1 -1
  37. package/dist/routes/agent-runs.d.ts +26 -0
  38. package/dist/routes/agent-runs.d.ts.map +1 -1
  39. package/dist/routes/api-keys.d.ts +110 -0
  40. package/dist/routes/api-keys.d.ts.map +1 -1
  41. package/dist/routes/api-keys.js +15 -1
  42. package/dist/routes/api-keys.js.map +1 -1
  43. package/dist/routes/execution.d.ts +104 -0
  44. package/dist/routes/execution.d.ts.map +1 -1
  45. package/dist/routes/fragment-library.d.ts +39 -0
  46. package/dist/routes/fragment-library.d.ts.map +1 -1
  47. package/dist/routes/fragment-library.js +11 -1
  48. package/dist/routes/fragment-library.js.map +1 -1
  49. package/dist/routes/human-review.d.ts +13 -0
  50. package/dist/routes/human-review.d.ts.map +1 -1
  51. package/dist/routes/human-test.d.ts +65 -0
  52. package/dist/routes/human-test.d.ts.map +1 -1
  53. package/dist/routes/vendor-credentials.d.ts +53 -0
  54. package/dist/routes/vendor-credentials.d.ts.map +1 -1
  55. package/dist/routes/vendor-credentials.js +8 -1
  56. package/dist/routes/vendor-credentials.js.map +1 -1
  57. package/dist/routes/visual-confirm.d.ts +39 -0
  58. package/dist/routes/visual-confirm.d.ts.map +1 -1
  59. package/dist/routes/workspaces.d.ts +26 -0
  60. package/dist/routes/workspaces.d.ts.map +1 -1
  61. package/dist/snapshot.d.ts +13 -0
  62. package/dist/snapshot.d.ts.map +1 -1
  63. package/dist/vendor-credentials.d.ts +25 -0
  64. package/dist/vendor-credentials.d.ts.map +1 -1
  65. package/dist/vendor-credentials.js +17 -0
  66. package/dist/vendor-credentials.js.map +1 -1
  67. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"vendor-credentials.js","sourceRoot":"","sources":["../../src/routes/vendor-credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EACL,yBAAyB,EACzB,0BAA0B,EAC1B,sBAAsB,GACvB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,0EAA0E;AAC1E,8EAA8E;A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,EAAE,EAAE,EAAE,EAAE,CAAC,uBAAuB,EAAE,EAAE;IACrD,qBAAqB,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,cAAc,EAAE;CAClE,CAAC,CAAA"}
@@ -520,6 +520,19 @@ export declare const approveVisualConfirmContract: {
520
520
  readonly custom: v.OptionalSchema<v.UnknownSchema, undefined>;
521
521
  readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
522
522
  readonly selectedFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
523
+ readonly fragmentAdherence: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
524
+ readonly fragmentId: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
525
+ readonly title: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
526
+ readonly rating: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
527
+ readonly assessment: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
528
+ readonly relatedFindings: v.SchemaWithFallback<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
529
+ }, undefined>, undefined>, undefined>;
530
+ readonly effortReport: v.OptionalSchema<v.ObjectSchema<{
531
+ readonly difficulty: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
532
+ readonly summary: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
533
+ readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
534
+ readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
535
+ }, undefined>, undefined>;
523
536
  readonly skillVersion: v.OptionalSchema<v.ObjectSchema<{
524
537
  readonly skillId: v.StringSchema<undefined>;
525
538
  readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1341,6 +1354,19 @@ export declare const requestVisualConfirmFixContract: {
1341
1354
  readonly custom: v.OptionalSchema<v.UnknownSchema, undefined>;
1342
1355
  readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1343
1356
  readonly selectedFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1357
+ readonly fragmentAdherence: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1358
+ readonly fragmentId: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
1359
+ readonly title: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
1360
+ readonly rating: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
1361
+ readonly assessment: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
1362
+ readonly relatedFindings: v.SchemaWithFallback<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
1363
+ }, undefined>, undefined>, undefined>;
1364
+ readonly effortReport: v.OptionalSchema<v.ObjectSchema<{
1365
+ readonly difficulty: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
1366
+ readonly summary: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
1367
+ readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
1368
+ readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
1369
+ }, undefined>, undefined>;
1344
1370
  readonly skillVersion: v.OptionalSchema<v.ObjectSchema<{
1345
1371
  readonly skillId: v.StringSchema<undefined>;
1346
1372
  readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -2160,6 +2186,19 @@ export declare const recaptureVisualConfirmContract: {
2160
2186
  readonly custom: v.OptionalSchema<v.UnknownSchema, undefined>;
2161
2187
  readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2162
2188
  readonly selectedFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
2189
+ readonly fragmentAdherence: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2190
+ readonly fragmentId: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
2191
+ readonly title: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
2192
+ readonly rating: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
2193
+ readonly assessment: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
2194
+ readonly relatedFindings: v.SchemaWithFallback<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
2195
+ }, undefined>, undefined>, undefined>;
2196
+ readonly effortReport: v.OptionalSchema<v.ObjectSchema<{
2197
+ readonly difficulty: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
2198
+ readonly summary: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
2199
+ readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
2200
+ readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
2201
+ }, undefined>, undefined>;
2163
2202
  readonly skillVersion: v.OptionalSchema<v.ObjectSchema<{
2164
2203
  readonly skillId: v.StringSchema<undefined>;
2165
2204
  readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMzC,CAAA"}
@@ -982,6 +982,19 @@ export declare const createWorkspaceContract: {
982
982
  readonly custom: v.OptionalSchema<v.UnknownSchema, undefined>;
983
983
  readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
984
984
  readonly selectedFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
985
+ readonly fragmentAdherence: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
986
+ readonly fragmentId: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
987
+ readonly title: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
988
+ readonly rating: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
989
+ readonly assessment: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
990
+ readonly relatedFindings: v.SchemaWithFallback<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
991
+ }, undefined>, undefined>, undefined>;
992
+ readonly effortReport: v.OptionalSchema<v.ObjectSchema<{
993
+ readonly difficulty: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
994
+ readonly summary: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
995
+ readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
996
+ readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
997
+ }, undefined>, undefined>;
985
998
  readonly skillVersion: v.OptionalSchema<v.ObjectSchema<{
986
999
  readonly skillId: v.StringSchema<undefined>;
987
1000
  readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -3287,6 +3300,19 @@ export declare const getWorkspaceContract: {
3287
3300
  readonly custom: v.OptionalSchema<v.UnknownSchema, undefined>;
3288
3301
  readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3289
3302
  readonly selectedFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
3303
+ readonly fragmentAdherence: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3304
+ readonly fragmentId: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
3305
+ readonly title: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
3306
+ readonly rating: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
3307
+ readonly assessment: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
3308
+ readonly relatedFindings: v.SchemaWithFallback<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
3309
+ }, undefined>, undefined>, undefined>;
3310
+ readonly effortReport: v.OptionalSchema<v.ObjectSchema<{
3311
+ readonly difficulty: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
3312
+ readonly summary: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
3313
+ readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
3314
+ readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
3315
+ }, undefined>, undefined>;
3290
3316
  readonly skillVersion: v.OptionalSchema<v.ObjectSchema<{
3291
3317
  readonly skillId: v.StringSchema<undefined>;
3292
3318
  readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;aAGlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAI7E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
@@ -909,6 +909,19 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
909
909
  readonly custom: v.OptionalSchema<v.UnknownSchema, undefined>;
910
910
  readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
911
911
  readonly selectedFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
912
+ readonly fragmentAdherence: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
913
+ readonly fragmentId: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
914
+ readonly title: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
915
+ readonly rating: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
916
+ readonly assessment: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
917
+ readonly relatedFindings: v.SchemaWithFallback<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
918
+ }, undefined>, undefined>, undefined>;
919
+ readonly effortReport: v.OptionalSchema<v.ObjectSchema<{
920
+ readonly difficulty: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
921
+ readonly summary: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
922
+ readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
923
+ readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
924
+ }, undefined>, undefined>;
912
925
  readonly skillVersion: v.OptionalSchema<v.ObjectSchema<{
913
926
  readonly skillId: v.StringSchema<undefined>;
914
927
  readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAqC5B,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;WAKG;;;IA+KH;;;;;;;OAOG;;IAEH;;;;;;;OAOG;;IAEH;;;;;;;OAOG;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;OAKG;;;;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
@@ -13,6 +13,13 @@ export declare const vendorCredentialSchema: v.ObjectSchema<{
13
13
  readonly inputTokens: v.NumberSchema<undefined>;
14
14
  readonly outputTokens: v.NumberSchema<undefined>;
15
15
  readonly requestCount: v.NumberSchema<undefined>;
16
+ /** Whether this token is eligible for leasing. A disabled token stays in the pool
17
+ * (visible + re-enablable) but is never leased and doesn't make its vendor "configured". */
18
+ readonly enabled: v.BooleanSchema<undefined>;
19
+ /** Whether this token is the pinned default for its vendor: preferred at lease time over
20
+ * usage-aware rotation. At most one default per (workspace, vendor); a disabled default
21
+ * is ignored (leasing falls back to rotation among the remaining enabled tokens). */
22
+ readonly isDefault: v.BooleanSchema<undefined>;
16
23
  }, undefined>;
17
24
  export type VendorCredential = v.InferOutput<typeof vendorCredentialSchema>;
18
25
  export declare const vendorCredentialListSchema: v.ArraySchema<v.ObjectSchema<{
@@ -25,6 +32,13 @@ export declare const vendorCredentialListSchema: v.ArraySchema<v.ObjectSchema<{
25
32
  readonly inputTokens: v.NumberSchema<undefined>;
26
33
  readonly outputTokens: v.NumberSchema<undefined>;
27
34
  readonly requestCount: v.NumberSchema<undefined>;
35
+ /** Whether this token is eligible for leasing. A disabled token stays in the pool
36
+ * (visible + re-enablable) but is never leased and doesn't make its vendor "configured". */
37
+ readonly enabled: v.BooleanSchema<undefined>;
38
+ /** Whether this token is the pinned default for its vendor: preferred at lease time over
39
+ * usage-aware rotation. At most one default per (workspace, vendor); a disabled default
40
+ * is ignored (leasing falls back to rotation among the remaining enabled tokens). */
41
+ readonly isDefault: v.BooleanSchema<undefined>;
28
42
  }, undefined>, undefined>;
29
43
  export type VendorCredentialList = v.InferOutput<typeof vendorCredentialListSchema>;
30
44
  /** Add a token to the pool. `token` is write-only (the raw secret blob). */
@@ -34,4 +48,15 @@ export declare const addVendorCredentialSchema: v.ObjectSchema<{
34
48
  readonly token: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
35
49
  }, undefined>;
36
50
  export type AddVendorCredentialInput = v.InferOutput<typeof addVendorCredentialSchema>;
51
+ /**
52
+ * Update a pool token's lifecycle flags. Both fields are optional — only the supplied
53
+ * ones change. `enabled: false` takes the token out of rotation without deleting it;
54
+ * `isDefault: true` pins it as the vendor's default (clearing any prior default), and
55
+ * `isDefault: false` un-pins it (the vendor reverts to usage-aware rotation).
56
+ */
57
+ export declare const updateVendorCredentialSchema: v.ObjectSchema<{
58
+ readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
59
+ readonly isDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
60
+ }, undefined>;
61
+ export type UpdateVendorCredentialInput = v.InferOutput<typeof updateVendorCredentialSchema>;
37
62
  //# sourceMappingURL=vendor-credentials.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vendor-credentials.d.ts","sourceRoot":"","sources":["../src/vendor-credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAoB5B,uDAAuD;A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A4E;AAC5E,eAAO,MAAM,yBAAyB;;;;aAIpC,CAAA;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAEtF;;;;;GAKG;AACH,eAAO,MAAM,4BAA4B;;;aAGvC,CAAA;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,4BAA4B,CAAC,CAAA"}
@@ -29,6 +29,13 @@ export const vendorCredentialSchema = v.object({
29
29
  inputTokens: v.number(),
30
30
  outputTokens: v.number(),
31
31
  requestCount: v.number(),
32
+ /** Whether this token is eligible for leasing. A disabled token stays in the pool
33
+ * (visible + re-enablable) but is never leased and doesn't make its vendor "configured". */
34
+ enabled: v.boolean(),
35
+ /** Whether this token is the pinned default for its vendor: preferred at lease time over
36
+ * usage-aware rotation. At most one default per (workspace, vendor); a disabled default
37
+ * is ignored (leasing falls back to rotation among the remaining enabled tokens). */
38
+ isDefault: v.boolean(),
32
39
  });
33
40
  export const vendorCredentialListSchema = v.array(vendorCredentialSchema);
34
41
  /** Add a token to the pool. `token` is write-only (the raw secret blob). */
@@ -37,4 +44,14 @@ export const addVendorCredentialSchema = v.object({
37
44
  label: v.pipe(v.string(), v.trim(), v.minLength(1), v.maxLength(120)),
38
45
  token: v.pipe(v.string(), v.trim(), v.minLength(1)),
39
46
  });
47
+ /**
48
+ * Update a pool token's lifecycle flags. Both fields are optional — only the supplied
49
+ * ones change. `enabled: false` takes the token out of rotation without deleting it;
50
+ * `isDefault: true` pins it as the vendor's default (clearing any prior default), and
51
+ * `isDefault: false` un-pins it (the vendor reverts to usage-aware rotation).
52
+ */
53
+ export const updateVendorCredentialSchema = v.object({
54
+ enabled: v.optional(v.boolean()),
55
+ isDefault: v.optional(v.boolean()),
56
+ });
40
57
  //# sourceMappingURL=vendor-credentials.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"vendor-credentials.js","sourceRoot":"","sources":["../src/vendor-credentials.ts"],"names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AO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB;;yFAEqF;IACrF,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;CACvB,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAA;AAGzE,4EAA4E;AAC5E,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,MAAM,EAAE,wBAAwB;IAChC,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IACrE,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;CACpD,CAAC,CAAA;AAGF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IAChC,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;CACnC,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/contracts",
3
- "version": "0.156.0",
3
+ "version": "0.158.0",
4
4
  "description": "Valibot wire contract shared between the Agent Architecture Board frontend and backend.",
5
5
  "repository": {
6
6
  "type": "git",