@cat-factory/contracts 0.124.1 → 0.125.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 (54) hide show
  1. package/dist/agent-presentation.d.ts +2 -2
  2. package/dist/entities.d.ts +106 -0
  3. package/dist/entities.d.ts.map +1 -1
  4. package/dist/entities.js +20 -0
  5. package/dist/entities.js.map +1 -1
  6. package/dist/forkDecision.d.ts +169 -0
  7. package/dist/forkDecision.d.ts.map +1 -0
  8. package/dist/forkDecision.js +145 -0
  9. package/dist/forkDecision.js.map +1 -0
  10. package/dist/index.d.ts +1 -0
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +1 -0
  13. package/dist/index.js.map +1 -1
  14. package/dist/merge.d.ts +32 -0
  15. package/dist/merge.d.ts.map +1 -1
  16. package/dist/merge.js +15 -0
  17. package/dist/merge.js.map +1 -1
  18. package/dist/notifications.d.ts +6 -2
  19. package/dist/notifications.d.ts.map +1 -1
  20. package/dist/notifications.js +8 -0
  21. package/dist/notifications.js.map +1 -1
  22. package/dist/result-views.d.ts +1 -1
  23. package/dist/result-views.d.ts.map +1 -1
  24. package/dist/result-views.js +1 -0
  25. package/dist/result-views.js.map +1 -1
  26. package/dist/routes/agent-runs.d.ts +72 -0
  27. package/dist/routes/agent-runs.d.ts.map +1 -1
  28. package/dist/routes/execution.d.ts +288 -0
  29. package/dist/routes/execution.d.ts.map +1 -1
  30. package/dist/routes/forkDecision.d.ts +143 -0
  31. package/dist/routes/forkDecision.d.ts.map +1 -0
  32. package/dist/routes/forkDecision.js +27 -0
  33. package/dist/routes/forkDecision.js.map +1 -0
  34. package/dist/routes/human-review.d.ts +36 -0
  35. package/dist/routes/human-review.d.ts.map +1 -1
  36. package/dist/routes/human-test.d.ts +180 -0
  37. package/dist/routes/human-test.d.ts.map +1 -1
  38. package/dist/routes/index.d.ts +1 -0
  39. package/dist/routes/index.d.ts.map +1 -1
  40. package/dist/routes/index.js +1 -0
  41. package/dist/routes/index.js.map +1 -1
  42. package/dist/routes/merge.d.ts +42 -0
  43. package/dist/routes/merge.d.ts.map +1 -1
  44. package/dist/routes/notifications.d.ts +6 -3
  45. package/dist/routes/notifications.d.ts.map +1 -1
  46. package/dist/routes/slack.d.ts +3 -3
  47. package/dist/routes/visual-confirm.d.ts +108 -0
  48. package/dist/routes/visual-confirm.d.ts.map +1 -1
  49. package/dist/routes/workspaces.d.ts +92 -4
  50. package/dist/routes/workspaces.d.ts.map +1 -1
  51. package/dist/slack.d.ts +2 -2
  52. package/dist/snapshot.d.ts +46 -2
  53. package/dist/snapshot.d.ts.map +1 -1
  54. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"human-review.d.ts","sourceRoot":"","sources":["../../src/routes/human-review.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMxC,CAAA"}
1
+ {"version":3,"file":"human-review.d.ts","sourceRoot":"","sources":["../../src/routes/human-review.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMxC,CAAA"}
@@ -356,6 +356,42 @@ export declare const confirmHumanTestContract: {
356
356
  readonly loops: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, 0>;
357
357
  readonly maxLoops: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, 3>;
358
358
  }, undefined>, undefined>, undefined>;
359
+ readonly forkDecision: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
360
+ readonly status: import("valibot").PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
361
+ readonly seamSummary: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
362
+ readonly forks: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
363
+ readonly id: import("valibot").StringSchema<undefined>;
364
+ readonly title: import("valibot").StringSchema<undefined>;
365
+ readonly summary: import("valibot").StringSchema<undefined>;
366
+ readonly approach: import("valibot").StringSchema<undefined>;
367
+ readonly tradeoffs: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
368
+ readonly riskNotes: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
369
+ readonly recommended: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
370
+ }, undefined>, undefined>, readonly []>;
371
+ readonly singlePathReason: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
372
+ readonly chat: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
373
+ readonly id: import("valibot").StringSchema<undefined>;
374
+ readonly role: import("valibot").PicklistSchema<["human", "assistant"], undefined>;
375
+ readonly text: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 4000, undefined>]>;
376
+ readonly createdAt: import("valibot").NumberSchema<undefined>;
377
+ }, undefined>, undefined>, readonly []>;
378
+ readonly maxChatTurns: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, 15>;
379
+ readonly chosen: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ObjectSchema<{
380
+ readonly forkId: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
381
+ readonly custom: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
382
+ readonly note: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
383
+ readonly at: import("valibot").NumberSchema<undefined>;
384
+ }, undefined>, import("valibot").CheckAction<{
385
+ forkId?: string | null | undefined;
386
+ custom?: string | null | undefined;
387
+ note?: string | null | undefined;
388
+ at: number;
389
+ }, "Provide exactly one of forkId or custom.">]>, undefined>, undefined>;
390
+ readonly model: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
391
+ }, undefined>, undefined>, undefined>;
392
+ readonly pendingForkChat: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
393
+ readonly messageId: import("valibot").StringSchema<undefined>;
394
+ }, undefined>, undefined>, undefined>;
359
395
  readonly rework: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
360
396
  readonly previousProposal: import("valibot").StringSchema<undefined>;
361
397
  readonly feedback: import("valibot").StringSchema<undefined>;
@@ -1065,6 +1101,42 @@ export declare const requestHumanTestFixContract: {
1065
1101
  readonly loops: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, 0>;
1066
1102
  readonly maxLoops: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, 3>;
1067
1103
  }, undefined>, undefined>, undefined>;
1104
+ readonly forkDecision: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
1105
+ readonly status: import("valibot").PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
1106
+ readonly seamSummary: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
1107
+ readonly forks: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
1108
+ readonly id: import("valibot").StringSchema<undefined>;
1109
+ readonly title: import("valibot").StringSchema<undefined>;
1110
+ readonly summary: import("valibot").StringSchema<undefined>;
1111
+ readonly approach: import("valibot").StringSchema<undefined>;
1112
+ readonly tradeoffs: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
1113
+ readonly riskNotes: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
1114
+ readonly recommended: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
1115
+ }, undefined>, undefined>, readonly []>;
1116
+ readonly singlePathReason: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
1117
+ readonly chat: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
1118
+ readonly id: import("valibot").StringSchema<undefined>;
1119
+ readonly role: import("valibot").PicklistSchema<["human", "assistant"], undefined>;
1120
+ readonly text: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 4000, undefined>]>;
1121
+ readonly createdAt: import("valibot").NumberSchema<undefined>;
1122
+ }, undefined>, undefined>, readonly []>;
1123
+ readonly maxChatTurns: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, 15>;
1124
+ readonly chosen: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ObjectSchema<{
1125
+ readonly forkId: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
1126
+ readonly custom: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
1127
+ readonly note: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
1128
+ readonly at: import("valibot").NumberSchema<undefined>;
1129
+ }, undefined>, import("valibot").CheckAction<{
1130
+ forkId?: string | null | undefined;
1131
+ custom?: string | null | undefined;
1132
+ note?: string | null | undefined;
1133
+ at: number;
1134
+ }, "Provide exactly one of forkId or custom.">]>, undefined>, undefined>;
1135
+ readonly model: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
1136
+ }, undefined>, undefined>, undefined>;
1137
+ readonly pendingForkChat: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
1138
+ readonly messageId: import("valibot").StringSchema<undefined>;
1139
+ }, undefined>, undefined>, undefined>;
1068
1140
  readonly rework: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
1069
1141
  readonly previousProposal: import("valibot").StringSchema<undefined>;
1070
1142
  readonly feedback: import("valibot").StringSchema<undefined>;
@@ -1772,6 +1844,42 @@ export declare const pullMainHumanTestContract: {
1772
1844
  readonly loops: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, 0>;
1773
1845
  readonly maxLoops: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, 3>;
1774
1846
  }, undefined>, undefined>, undefined>;
1847
+ readonly forkDecision: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
1848
+ readonly status: import("valibot").PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
1849
+ readonly seamSummary: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
1850
+ readonly forks: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
1851
+ readonly id: import("valibot").StringSchema<undefined>;
1852
+ readonly title: import("valibot").StringSchema<undefined>;
1853
+ readonly summary: import("valibot").StringSchema<undefined>;
1854
+ readonly approach: import("valibot").StringSchema<undefined>;
1855
+ readonly tradeoffs: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
1856
+ readonly riskNotes: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
1857
+ readonly recommended: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
1858
+ }, undefined>, undefined>, readonly []>;
1859
+ readonly singlePathReason: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
1860
+ readonly chat: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
1861
+ readonly id: import("valibot").StringSchema<undefined>;
1862
+ readonly role: import("valibot").PicklistSchema<["human", "assistant"], undefined>;
1863
+ readonly text: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 4000, undefined>]>;
1864
+ readonly createdAt: import("valibot").NumberSchema<undefined>;
1865
+ }, undefined>, undefined>, readonly []>;
1866
+ readonly maxChatTurns: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, 15>;
1867
+ readonly chosen: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ObjectSchema<{
1868
+ readonly forkId: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
1869
+ readonly custom: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
1870
+ readonly note: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
1871
+ readonly at: import("valibot").NumberSchema<undefined>;
1872
+ }, undefined>, import("valibot").CheckAction<{
1873
+ forkId?: string | null | undefined;
1874
+ custom?: string | null | undefined;
1875
+ note?: string | null | undefined;
1876
+ at: number;
1877
+ }, "Provide exactly one of forkId or custom.">]>, undefined>, undefined>;
1878
+ readonly model: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
1879
+ }, undefined>, undefined>, undefined>;
1880
+ readonly pendingForkChat: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
1881
+ readonly messageId: import("valibot").StringSchema<undefined>;
1882
+ }, undefined>, undefined>, undefined>;
1775
1883
  readonly rework: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
1776
1884
  readonly previousProposal: import("valibot").StringSchema<undefined>;
1777
1885
  readonly feedback: import("valibot").StringSchema<undefined>;
@@ -2479,6 +2587,42 @@ export declare const recreateHumanTestEnvContract: {
2479
2587
  readonly loops: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, 0>;
2480
2588
  readonly maxLoops: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, 3>;
2481
2589
  }, undefined>, undefined>, undefined>;
2590
+ readonly forkDecision: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
2591
+ readonly status: import("valibot").PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
2592
+ readonly seamSummary: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
2593
+ readonly forks: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
2594
+ readonly id: import("valibot").StringSchema<undefined>;
2595
+ readonly title: import("valibot").StringSchema<undefined>;
2596
+ readonly summary: import("valibot").StringSchema<undefined>;
2597
+ readonly approach: import("valibot").StringSchema<undefined>;
2598
+ readonly tradeoffs: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
2599
+ readonly riskNotes: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
2600
+ readonly recommended: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
2601
+ }, undefined>, undefined>, readonly []>;
2602
+ readonly singlePathReason: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
2603
+ readonly chat: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
2604
+ readonly id: import("valibot").StringSchema<undefined>;
2605
+ readonly role: import("valibot").PicklistSchema<["human", "assistant"], undefined>;
2606
+ readonly text: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 4000, undefined>]>;
2607
+ readonly createdAt: import("valibot").NumberSchema<undefined>;
2608
+ }, undefined>, undefined>, readonly []>;
2609
+ readonly maxChatTurns: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, 15>;
2610
+ readonly chosen: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ObjectSchema<{
2611
+ readonly forkId: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
2612
+ readonly custom: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
2613
+ readonly note: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
2614
+ readonly at: import("valibot").NumberSchema<undefined>;
2615
+ }, undefined>, import("valibot").CheckAction<{
2616
+ forkId?: string | null | undefined;
2617
+ custom?: string | null | undefined;
2618
+ note?: string | null | undefined;
2619
+ at: number;
2620
+ }, "Provide exactly one of forkId or custom.">]>, undefined>, undefined>;
2621
+ readonly model: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
2622
+ }, undefined>, undefined>, undefined>;
2623
+ readonly pendingForkChat: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
2624
+ readonly messageId: import("valibot").StringSchema<undefined>;
2625
+ }, undefined>, undefined>, undefined>;
2482
2626
  readonly rework: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
2483
2627
  readonly previousProposal: import("valibot").StringSchema<undefined>;
2484
2628
  readonly feedback: import("valibot").StringSchema<undefined>;
@@ -3186,6 +3330,42 @@ export declare const destroyHumanTestEnvContract: {
3186
3330
  readonly loops: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, 0>;
3187
3331
  readonly maxLoops: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, 3>;
3188
3332
  }, undefined>, undefined>, undefined>;
3333
+ readonly forkDecision: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
3334
+ readonly status: import("valibot").PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
3335
+ readonly seamSummary: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
3336
+ readonly forks: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
3337
+ readonly id: import("valibot").StringSchema<undefined>;
3338
+ readonly title: import("valibot").StringSchema<undefined>;
3339
+ readonly summary: import("valibot").StringSchema<undefined>;
3340
+ readonly approach: import("valibot").StringSchema<undefined>;
3341
+ readonly tradeoffs: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
3342
+ readonly riskNotes: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
3343
+ readonly recommended: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
3344
+ }, undefined>, undefined>, readonly []>;
3345
+ readonly singlePathReason: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
3346
+ readonly chat: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
3347
+ readonly id: import("valibot").StringSchema<undefined>;
3348
+ readonly role: import("valibot").PicklistSchema<["human", "assistant"], undefined>;
3349
+ readonly text: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 4000, undefined>]>;
3350
+ readonly createdAt: import("valibot").NumberSchema<undefined>;
3351
+ }, undefined>, undefined>, readonly []>;
3352
+ readonly maxChatTurns: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, 15>;
3353
+ readonly chosen: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ObjectSchema<{
3354
+ readonly forkId: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
3355
+ readonly custom: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
3356
+ readonly note: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
3357
+ readonly at: import("valibot").NumberSchema<undefined>;
3358
+ }, undefined>, import("valibot").CheckAction<{
3359
+ forkId?: string | null | undefined;
3360
+ custom?: string | null | undefined;
3361
+ note?: string | null | undefined;
3362
+ at: number;
3363
+ }, "Provide exactly one of forkId or custom.">]>, undefined>, undefined>;
3364
+ readonly model: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
3365
+ }, undefined>, undefined>, undefined>;
3366
+ readonly pendingForkChat: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
3367
+ readonly messageId: import("valibot").StringSchema<undefined>;
3368
+ }, undefined>, undefined>, undefined>;
3189
3369
  readonly rework: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
3190
3370
  readonly previousProposal: import("valibot").StringSchema<undefined>;
3191
3371
  readonly feedback: import("valibot").StringSchema<undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"human-test.d.ts","sourceRoot":"","sources":["../../src/routes/human-test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA"}
@@ -14,6 +14,7 @@ export * from './environmentUserHandlers.js';
14
14
  export * from './execution.js';
15
15
  export * from './doc-interview.js';
16
16
  export * from './followUp.js';
17
+ export * from './forkDecision.js';
17
18
  export * from './fragment-library.js';
18
19
  export * from './github.js';
19
20
  export * from './human-review.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":"AAGA,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,8BA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,cAAc,gCAAgC,CAAA;AAC9C,cAAc,eAAe,CAAA;AAC7B,cAAc,mBAAmB,CAAA;AACjC,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,iBAAiB,CAAA"}
@@ -17,6 +17,7 @@ export * from './environmentUserHandlers.js';
17
17
  export * from './execution.js';
18
18
  export * from './doc-interview.js';
19
19
  export * from './followUp.js';
20
+ export * from './forkDecision.js';
20
21
  export * from './fragment-library.js';
21
22
  export * from './github.js';
22
23
  export * from './human-review.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,+EAA+E;AAC/E,oDAAoD;AACpD,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA;AACrC,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,qBAAqB,CAAA;AACnC,cAAc,0BAA0B,CAAA;AACxC,cAAc,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CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,iBAAiB,CAAA"}
@@ -40,6 +40,13 @@ export declare const listRiskPoliciesContract: {
40
40
  readonly releaseMaxAttempts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
41
41
  readonly humanReviewGraceMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
42
42
  readonly autoMergeEnabled: v.BooleanSchema<undefined>;
43
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
44
+ readonly enabled: v.BooleanSchema<undefined>;
45
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
46
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
47
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
48
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
49
+ }, undefined>, undefined>, undefined>;
43
50
  readonly isDefault: v.BooleanSchema<undefined>;
44
51
  readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
45
52
  readonly createdAt: v.NumberSchema<undefined>;
@@ -62,6 +69,13 @@ export declare const createRiskPolicyContract: {
62
69
  readonly releaseMaxAttempts: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 10, undefined>]>, 1>;
63
70
  readonly humanReviewGraceMinutes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1440, undefined>]>, 10>;
64
71
  readonly autoMergeEnabled: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
72
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
73
+ readonly enabled: v.BooleanSchema<undefined>;
74
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
75
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
76
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
77
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
78
+ }, undefined>, undefined>, undefined>;
65
79
  readonly isDefault: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
66
80
  }, undefined>;
67
81
  readonly responsesByStatusCode: {
@@ -101,6 +115,13 @@ export declare const createRiskPolicyContract: {
101
115
  readonly releaseMaxAttempts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
102
116
  readonly humanReviewGraceMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
103
117
  readonly autoMergeEnabled: v.BooleanSchema<undefined>;
118
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
119
+ readonly enabled: v.BooleanSchema<undefined>;
120
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
121
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
122
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
123
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
124
+ }, undefined>, undefined>, undefined>;
104
125
  readonly isDefault: v.BooleanSchema<undefined>;
105
126
  readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
106
127
  readonly createdAt: v.NumberSchema<undefined>;
@@ -128,6 +149,13 @@ export declare const updateRiskPolicyContract: {
128
149
  readonly releaseMaxAttempts: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
129
150
  readonly humanReviewGraceMinutes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1440, undefined>]>, undefined>;
130
151
  readonly autoMergeEnabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
152
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
153
+ readonly enabled: v.BooleanSchema<undefined>;
154
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
155
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
156
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
157
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
158
+ }, undefined>, undefined>, undefined>;
131
159
  readonly isDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
132
160
  }, undefined>;
133
161
  readonly responsesByStatusCode: {
@@ -167,6 +195,13 @@ export declare const updateRiskPolicyContract: {
167
195
  readonly releaseMaxAttempts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
168
196
  readonly humanReviewGraceMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
169
197
  readonly autoMergeEnabled: v.BooleanSchema<undefined>;
198
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
199
+ readonly enabled: v.BooleanSchema<undefined>;
200
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
201
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
202
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
203
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
204
+ }, undefined>, undefined>, undefined>;
170
205
  readonly isDefault: v.BooleanSchema<undefined>;
171
206
  readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
172
207
  readonly createdAt: v.NumberSchema<undefined>;
@@ -259,6 +294,13 @@ export declare const reseedRiskPolicyContract: {
259
294
  readonly releaseMaxAttempts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
260
295
  readonly humanReviewGraceMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
261
296
  readonly autoMergeEnabled: v.BooleanSchema<undefined>;
297
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
298
+ readonly enabled: v.BooleanSchema<undefined>;
299
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
300
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
301
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
302
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
303
+ }, undefined>, undefined>, undefined>;
262
304
  readonly isDefault: v.BooleanSchema<undefined>;
263
305
  readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
264
306
  readonly createdAt: v.NumberSchema<undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../src/routes/merge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAInC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnC,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA"}
1
+ {"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../src/routes/merge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAInC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnC,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA"}
@@ -28,7 +28,7 @@ export declare const listNotificationsContract: {
28
28
  }, undefined>;
29
29
  readonly 200: v.ArraySchema<v.ObjectSchema<{
30
30
  readonly id: v.StringSchema<undefined>;
31
- readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>;
31
+ readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "initiative"], undefined>;
32
32
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
33
33
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
34
34
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -45,6 +45,7 @@ export declare const listNotificationsContract: {
45
45
  readonly prUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
46
46
  readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
47
47
  readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
48
+ readonly forkCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
48
49
  readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
49
50
  readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
50
51
  readonly recommendation: v.PicklistSchema<["revert", "hold", "monitor"], undefined>;
@@ -103,7 +104,7 @@ export declare const actNotificationContract: {
103
104
  }, undefined>;
104
105
  readonly 200: v.ObjectSchema<{
105
106
  readonly id: v.StringSchema<undefined>;
106
- readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>;
107
+ readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "initiative"], undefined>;
107
108
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
108
109
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
109
110
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -120,6 +121,7 @@ export declare const actNotificationContract: {
120
121
  readonly prUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
121
122
  readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
122
123
  readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
124
+ readonly forkCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
123
125
  readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
124
126
  readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
125
127
  readonly recommendation: v.PicklistSchema<["revert", "hold", "monitor"], undefined>;
@@ -178,7 +180,7 @@ export declare const dismissNotificationContract: {
178
180
  }, undefined>;
179
181
  readonly 200: v.ObjectSchema<{
180
182
  readonly id: v.StringSchema<undefined>;
181
- readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>;
183
+ readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "initiative"], undefined>;
182
184
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
183
185
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
184
186
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -195,6 +197,7 @@ export declare const dismissNotificationContract: {
195
197
  readonly prUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
196
198
  readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
197
199
  readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
200
+ readonly forkCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
198
201
  readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
199
202
  readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
200
203
  readonly recommendation: v.PicklistSchema<["revert", "hold", "monitor"], undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/routes/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA"}
1
+ {"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/routes/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA"}
@@ -200,7 +200,7 @@ export declare const getSlackSettingsContract: {
200
200
  }, undefined>;
201
201
  }, undefined>;
202
202
  readonly 200: v.ObjectSchema<{
203
- readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>, v.ObjectSchema<{
203
+ readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "initiative"], undefined>, v.ObjectSchema<{
204
204
  readonly enabled: v.BooleanSchema<undefined>;
205
205
  readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
206
206
  }, undefined>, undefined>;
@@ -213,7 +213,7 @@ export declare const updateSlackSettingsContract: {
213
213
  readonly method: "put";
214
214
  readonly pathResolver: () => string;
215
215
  readonly requestBodySchema: v.ObjectSchema<{
216
- readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>, v.ObjectSchema<{
216
+ readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "initiative"], undefined>, v.ObjectSchema<{
217
217
  readonly enabled: v.BooleanSchema<undefined>;
218
218
  readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
219
219
  }, undefined>, undefined>;
@@ -243,7 +243,7 @@ export declare const updateSlackSettingsContract: {
243
243
  }, undefined>;
244
244
  }, undefined>;
245
245
  readonly 200: v.ObjectSchema<{
246
- readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>, v.ObjectSchema<{
246
+ readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "initiative"], undefined>, v.ObjectSchema<{
247
247
  readonly enabled: v.BooleanSchema<undefined>;
248
248
  readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
249
249
  }, undefined>, undefined>;