@cat-factory/contracts 0.121.2 → 0.123.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 (70) hide show
  1. package/dist/brainstorm.d.ts +2 -0
  2. package/dist/brainstorm.d.ts.map +1 -1
  3. package/dist/clarity.d.ts +2 -0
  4. package/dist/clarity.d.ts.map +1 -1
  5. package/dist/entities.d.ts +126 -2
  6. package/dist/entities.d.ts.map +1 -1
  7. package/dist/entities.js +71 -2
  8. package/dist/entities.js.map +1 -1
  9. package/dist/index.d.ts +1 -0
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +1 -0
  12. package/dist/index.js.map +1 -1
  13. package/dist/merge.d.ts +7 -7
  14. package/dist/merge.d.ts.map +1 -1
  15. package/dist/merge.js +4 -4
  16. package/dist/merge.js.map +1 -1
  17. package/dist/requests.d.ts +19 -8
  18. package/dist/requests.d.ts.map +1 -1
  19. package/dist/requests.js +10 -3
  20. package/dist/requests.js.map +1 -1
  21. package/dist/requirements.d.ts +63 -8
  22. package/dist/requirements.d.ts.map +1 -1
  23. package/dist/requirements.js +37 -8
  24. package/dist/requirements.js.map +1 -1
  25. package/dist/routes/agent-runs.d.ts +6 -0
  26. package/dist/routes/agent-runs.d.ts.map +1 -1
  27. package/dist/routes/board.d.ts +18 -18
  28. package/dist/routes/brainstorm.d.ts +8 -0
  29. package/dist/routes/brainstorm.d.ts.map +1 -1
  30. package/dist/routes/clarity.d.ts +8 -0
  31. package/dist/routes/clarity.d.ts.map +1 -1
  32. package/dist/routes/execution.d.ts +68 -2
  33. package/dist/routes/execution.d.ts.map +1 -1
  34. package/dist/routes/execution.js +8 -1
  35. package/dist/routes/execution.js.map +1 -1
  36. package/dist/routes/human-review.d.ts +3 -0
  37. package/dist/routes/human-review.d.ts.map +1 -1
  38. package/dist/routes/human-test.d.ts +15 -0
  39. package/dist/routes/human-test.d.ts.map +1 -1
  40. package/dist/routes/index.d.ts +1 -0
  41. package/dist/routes/index.d.ts.map +1 -1
  42. package/dist/routes/index.js +1 -0
  43. package/dist/routes/index.js.map +1 -1
  44. package/dist/routes/initiative.d.ts +1 -1
  45. package/dist/routes/merge.d.ts +6 -6
  46. package/dist/routes/merge.d.ts.map +1 -1
  47. package/dist/routes/merge.js +20 -20
  48. package/dist/routes/merge.js.map +1 -1
  49. package/dist/routes/pipelines.d.ts +24 -0
  50. package/dist/routes/pipelines.d.ts.map +1 -1
  51. package/dist/routes/requirements.d.ts +31 -2
  52. package/dist/routes/requirements.d.ts.map +1 -1
  53. package/dist/routes/tasks.d.ts +3 -3
  54. package/dist/routes/test-secrets.d.ts +135 -0
  55. package/dist/routes/test-secrets.d.ts.map +1 -0
  56. package/dist/routes/test-secrets.js +30 -0
  57. package/dist/routes/test-secrets.js.map +1 -0
  58. package/dist/routes/visual-confirm.d.ts +9 -0
  59. package/dist/routes/visual-confirm.d.ts.map +1 -1
  60. package/dist/routes/workspaces.d.ts +18 -6
  61. package/dist/routes/workspaces.d.ts.map +1 -1
  62. package/dist/snapshot.d.ts +10 -4
  63. package/dist/snapshot.d.ts.map +1 -1
  64. package/dist/snapshot.js +4 -4
  65. package/dist/snapshot.js.map +1 -1
  66. package/dist/test-secrets.d.ts +71 -0
  67. package/dist/test-secrets.d.ts.map +1 -0
  68. package/dist/test-secrets.js +100 -0
  69. package/dist/test-secrets.js.map +1 -0
  70. package/package.json +1 -1
@@ -403,6 +403,9 @@ export declare const confirmHumanTestContract: {
403
403
  readonly minImpact: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
404
404
  readonly onMissingEstimate: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["run", "skip"], undefined>, "run">;
405
405
  }, undefined>, undefined>, undefined>;
406
+ readonly stepOptions: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
407
+ readonly autoRecommend: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
408
+ }, undefined>, undefined>, undefined>;
406
409
  readonly skipped: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
407
410
  readonly noBusinessSpecs: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
408
411
  readonly technicalCorroborated: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
@@ -1109,6 +1112,9 @@ export declare const requestHumanTestFixContract: {
1109
1112
  readonly minImpact: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
1110
1113
  readonly onMissingEstimate: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["run", "skip"], undefined>, "run">;
1111
1114
  }, undefined>, undefined>, undefined>;
1115
+ readonly stepOptions: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
1116
+ readonly autoRecommend: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
1117
+ }, undefined>, undefined>, undefined>;
1112
1118
  readonly skipped: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
1113
1119
  readonly noBusinessSpecs: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
1114
1120
  readonly technicalCorroborated: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
@@ -1813,6 +1819,9 @@ export declare const pullMainHumanTestContract: {
1813
1819
  readonly minImpact: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
1814
1820
  readonly onMissingEstimate: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["run", "skip"], undefined>, "run">;
1815
1821
  }, undefined>, undefined>, undefined>;
1822
+ readonly stepOptions: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
1823
+ readonly autoRecommend: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
1824
+ }, undefined>, undefined>, undefined>;
1816
1825
  readonly skipped: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
1817
1826
  readonly noBusinessSpecs: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
1818
1827
  readonly technicalCorroborated: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
@@ -2517,6 +2526,9 @@ export declare const recreateHumanTestEnvContract: {
2517
2526
  readonly minImpact: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
2518
2527
  readonly onMissingEstimate: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["run", "skip"], undefined>, "run">;
2519
2528
  }, undefined>, undefined>, undefined>;
2529
+ readonly stepOptions: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
2530
+ readonly autoRecommend: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
2531
+ }, undefined>, undefined>, undefined>;
2520
2532
  readonly skipped: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
2521
2533
  readonly noBusinessSpecs: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
2522
2534
  readonly technicalCorroborated: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
@@ -3221,6 +3233,9 @@ export declare const destroyHumanTestEnvContract: {
3221
3233
  readonly minImpact: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
3222
3234
  readonly onMissingEstimate: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["run", "skip"], undefined>, "run">;
3223
3235
  }, undefined>, undefined>, undefined>;
3236
+ readonly stepOptions: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
3237
+ readonly autoRecommend: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
3238
+ }, undefined>, undefined>, undefined>;
3224
3239
  readonly skipped: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
3225
3240
  readonly noBusinessSpecs: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
3226
3241
  readonly technicalCorroborated: import("valibot").OptionalSchema<import("valibot").BooleanSchema<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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMvC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA"}
@@ -45,6 +45,7 @@ export * from './runners.js';
45
45
  export * from './sandbox.js';
46
46
  export * from './service-fragment-defaults.js';
47
47
  export * from './services.js';
48
+ export * from './test-secrets.js';
48
49
  export * from './slack.js';
49
50
  export * from './spec.js';
50
51
  export * from './tasks.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/routes/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;AAC3C,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,gCAAgC,CAAA;AAC9C,cAAc,eAAe,CAAA;AAC7B,cAAc,mBAAmB,CAAA;AACjC,cAAc,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"}
@@ -48,6 +48,7 @@ export * from './runners.js';
48
48
  export * from './sandbox.js';
49
49
  export * from './service-fragment-defaults.js';
50
50
  export * from './services.js';
51
+ export * from './test-secrets.js';
51
52
  export * from './slack.js';
52
53
  export * from './spec.js';
53
54
  export * from './tasks.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,8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CAAgC,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"}
@@ -485,7 +485,7 @@ export declare const createInitiativeContract: {
485
485
  readonly defaultBranch: v.StringSchema<undefined>;
486
486
  readonly connectionId: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
487
487
  }, undefined>, undefined>, undefined>;
488
- readonly mergePresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
488
+ readonly riskPolicyId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
489
489
  readonly modelPresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
490
490
  readonly pipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
491
491
  readonly createdBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -1,6 +1,6 @@
1
1
  import { ContractNoBody } from '@toad-contracts/valibot';
2
2
  import * as v from 'valibot';
3
- export declare const listMergePresetsContract: {
3
+ export declare const listRiskPoliciesContract: {
4
4
  readonly method: "get";
5
5
  readonly pathResolver: () => string;
6
6
  readonly responsesByStatusCode: {
@@ -46,7 +46,7 @@ export declare const listMergePresetsContract: {
46
46
  }, undefined>, undefined>;
47
47
  };
48
48
  };
49
- export declare const createMergePresetContract: {
49
+ export declare const createRiskPolicyContract: {
50
50
  readonly method: "post";
51
51
  readonly pathResolver: () => string;
52
52
  readonly requestBodySchema: v.ObjectSchema<{
@@ -107,7 +107,7 @@ export declare const createMergePresetContract: {
107
107
  }, undefined>;
108
108
  };
109
109
  };
110
- export declare const updateMergePresetContract: {
110
+ export declare const updateRiskPolicyContract: {
111
111
  readonly method: "patch";
112
112
  readonly requestPathParamsSchema: v.ObjectSchema<{
113
113
  presetId: v.StringSchema<undefined>;
@@ -173,7 +173,7 @@ export declare const updateMergePresetContract: {
173
173
  }, undefined>;
174
174
  };
175
175
  };
176
- export declare const deleteMergePresetContract: {
176
+ export declare const deleteRiskPolicyContract: {
177
177
  readonly method: "delete";
178
178
  readonly requestPathParamsSchema: v.ObjectSchema<{
179
179
  presetId: v.StringSchema<undefined>;
@@ -208,12 +208,12 @@ export declare const deleteMergePresetContract: {
208
208
  };
209
209
  };
210
210
  /**
211
- * Reseed a built-in merge preset from the current catalog (`seedMergePresets()`): adopt an
211
+ * Reseed a built-in merge preset from the current catalog (`seedRiskPolicies()`): adopt an
212
212
  * updated definition, repair a drifted one, or materialise a NEW built-in that appeared after
213
213
  * the workspace was created. The `presetId` is the catalog id (e.g. `mp_balanced`). Rejects an
214
214
  * id not in the catalog (a custom preset — delete it instead).
215
215
  */
216
- export declare const reseedMergePresetContract: {
216
+ export declare const reseedRiskPolicyContract: {
217
217
  readonly method: "post";
218
218
  readonly requestPathParamsSchema: v.ObjectSchema<{
219
219
  presetId: v.StringSchema<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;AAiB5B,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAInC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKpC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMpC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKpC,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMpC,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"}
@@ -1,49 +1,49 @@
1
1
  import { ContractNoBody, defineApiContract } from '@toad-contracts/valibot';
2
2
  import * as v from 'valibot';
3
- import { createMergePresetSchema, mergeThresholdPresetSchema, updateMergePresetSchema, } from '../merge.js';
3
+ import { createRiskPolicySchema, riskPolicySchema, updateRiskPolicySchema } from '../merge.js';
4
4
  import { errorResponses, singleStringParam } from './_shared.js';
5
5
  // ---------------------------------------------------------------------------
6
6
  // Merge threshold preset route contracts. Mounted under `/workspaces/:workspaceId`,
7
- // so the paths here are relative to that prefix. See MergePresetController in
7
+ // so the paths here are relative to that prefix. See RiskPolicyController in
8
8
  // @cat-factory/server.
9
9
  // ---------------------------------------------------------------------------
10
- const mergePresetListSchema = v.array(mergeThresholdPresetSchema);
10
+ const riskPolicyListSchema = v.array(riskPolicySchema);
11
11
  const presetIdParams = singleStringParam('presetId');
12
- export const listMergePresetsContract = defineApiContract({
12
+ export const listRiskPoliciesContract = defineApiContract({
13
13
  method: 'get',
14
- pathResolver: () => '/merge-presets',
15
- responsesByStatusCode: { 200: mergePresetListSchema, ...errorResponses },
14
+ pathResolver: () => '/risk-policies',
15
+ responsesByStatusCode: { 200: riskPolicyListSchema, ...errorResponses },
16
16
  });
17
- export const createMergePresetContract = defineApiContract({
17
+ export const createRiskPolicyContract = defineApiContract({
18
18
  method: 'post',
19
- pathResolver: () => '/merge-presets',
20
- requestBodySchema: createMergePresetSchema,
21
- responsesByStatusCode: { 201: mergeThresholdPresetSchema, ...errorResponses },
19
+ pathResolver: () => '/risk-policies',
20
+ requestBodySchema: createRiskPolicySchema,
21
+ responsesByStatusCode: { 201: riskPolicySchema, ...errorResponses },
22
22
  });
23
- export const updateMergePresetContract = defineApiContract({
23
+ export const updateRiskPolicyContract = defineApiContract({
24
24
  method: 'patch',
25
25
  requestPathParamsSchema: presetIdParams,
26
- pathResolver: ({ presetId }) => `/merge-presets/${presetId}`,
27
- requestBodySchema: updateMergePresetSchema,
28
- responsesByStatusCode: { 200: mergeThresholdPresetSchema, ...errorResponses },
26
+ pathResolver: ({ presetId }) => `/risk-policies/${presetId}`,
27
+ requestBodySchema: updateRiskPolicySchema,
28
+ responsesByStatusCode: { 200: riskPolicySchema, ...errorResponses },
29
29
  });
30
- export const deleteMergePresetContract = defineApiContract({
30
+ export const deleteRiskPolicyContract = defineApiContract({
31
31
  method: 'delete',
32
32
  requestPathParamsSchema: presetIdParams,
33
- pathResolver: ({ presetId }) => `/merge-presets/${presetId}`,
33
+ pathResolver: ({ presetId }) => `/risk-policies/${presetId}`,
34
34
  responsesByStatusCode: { 204: ContractNoBody, ...errorResponses },
35
35
  });
36
36
  /**
37
- * Reseed a built-in merge preset from the current catalog (`seedMergePresets()`): adopt an
37
+ * Reseed a built-in merge preset from the current catalog (`seedRiskPolicies()`): adopt an
38
38
  * updated definition, repair a drifted one, or materialise a NEW built-in that appeared after
39
39
  * the workspace was created. The `presetId` is the catalog id (e.g. `mp_balanced`). Rejects an
40
40
  * id not in the catalog (a custom preset — delete it instead).
41
41
  */
42
- export const reseedMergePresetContract = defineApiContract({
42
+ export const reseedRiskPolicyContract = defineApiContract({
43
43
  method: 'post',
44
44
  requestPathParamsSchema: presetIdParams,
45
- pathResolver: ({ presetId }) => `/merge-presets/${presetId}/reseed`,
45
+ pathResolver: ({ presetId }) => `/risk-policies/${presetId}/reseed`,
46
46
  requestBodySchema: ContractNoBody,
47
- responsesByStatusCode: { 200: mergeThresholdPresetSchema, ...errorResponses },
47
+ responsesByStatusCode: { 200: riskPolicySchema, ...errorResponses },
48
48
  });
49
49
  //# sourceMappingURL=merge.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"merge.js","sourceRoot":"","sources":["../../src/routes/merge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EACL,uBAAuB,EACvB,0BAA0B,EAC1B,uBAAuB,GACxB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,oFAAoF;AACpF,8EAA8E;AAC9E,uBAAuB;AACvB,8EAA8E;AAE9E,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAA;AACjE,MAAM,cAAc,GAAG,iBAAiB,CAAC,UAAU,CAAC,CAAA;AAEpD,MAAM,CAAC,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACxD,MAAM,EAAE,KAAK;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;IACzC,qBAAqB,EAAE,EAAE,GAAG,EAAE,gBAAgB,EAAE,GAAG,cAAc,EAAE;CACpE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACxD,MAAM,EAAE,QAAQ;IAChB,uBAAuB,EAAE,cAAc;IACvC,YAAY,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,kBAAkB,QAAQ,EAAE;IAC5D,qBAAqB,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,cAAc,EAAE;CAClE,CAAC,CAAA;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACxD,MAAM,EAAE,MAAM;IACd,uBAAuB,EAAE,cAAc;IACvC,YAAY,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,kBAAkB,QAAQ,SAAS;IACnE,iBAAiB,EAAE,cAAc;IACjC,qBAAqB,EAAE,EAAE,GAAG,EAAE,gBAAgB,EAAE,GAAG,cAAc,EAAE;CACpE,CAAC,CAAA"}
@@ -70,6 +70,9 @@ export declare const listPipelinesContract: {
70
70
  readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
71
71
  }, undefined>, undefined>, undefined>;
72
72
  }, undefined>, undefined>, undefined>, undefined>;
73
+ readonly stepOptions: v.OptionalSchema<v.ArraySchema<v.NullableSchema<v.ObjectSchema<{
74
+ readonly autoRecommend: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
75
+ }, undefined>, undefined>, undefined>, undefined>;
73
76
  readonly labels: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
74
77
  readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
75
78
  readonly builtin: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -125,6 +128,9 @@ export declare const createPipelineContract: {
125
128
  readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
126
129
  }, undefined>, undefined>, undefined>;
127
130
  }, undefined>, undefined>, undefined>, undefined>;
131
+ readonly stepOptions: v.OptionalSchema<v.ArraySchema<v.NullableSchema<v.ObjectSchema<{
132
+ readonly autoRecommend: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
133
+ }, undefined>, undefined>, undefined>, undefined>;
128
134
  readonly labels: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>, undefined>, undefined>;
129
135
  readonly availability: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"one-off", undefined>, v.LiteralSchema<"recurring", undefined>, v.LiteralSchema<"both", undefined>], undefined>, undefined>;
130
136
  }, undefined>;
@@ -195,6 +201,9 @@ export declare const createPipelineContract: {
195
201
  readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
196
202
  }, undefined>, undefined>, undefined>;
197
203
  }, undefined>, undefined>, undefined>, undefined>;
204
+ readonly stepOptions: v.OptionalSchema<v.ArraySchema<v.NullableSchema<v.ObjectSchema<{
205
+ readonly autoRecommend: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
206
+ }, undefined>, undefined>, undefined>, undefined>;
198
207
  readonly labels: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
199
208
  readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
200
209
  readonly builtin: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -282,6 +291,9 @@ export declare const clonePipelineContract: {
282
291
  readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
283
292
  }, undefined>, undefined>, undefined>;
284
293
  }, undefined>, undefined>, undefined>, undefined>;
294
+ readonly stepOptions: v.OptionalSchema<v.ArraySchema<v.NullableSchema<v.ObjectSchema<{
295
+ readonly autoRecommend: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
296
+ }, undefined>, undefined>, undefined>, undefined>;
285
297
  readonly labels: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
286
298
  readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
287
299
  readonly builtin: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -367,6 +379,9 @@ export declare const reseedPipelineContract: {
367
379
  readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
368
380
  }, undefined>, undefined>, undefined>;
369
381
  }, undefined>, undefined>, undefined>, undefined>;
382
+ readonly stepOptions: v.OptionalSchema<v.ArraySchema<v.NullableSchema<v.ObjectSchema<{
383
+ readonly autoRecommend: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
384
+ }, undefined>, undefined>, undefined>, undefined>;
370
385
  readonly labels: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
371
386
  readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
372
387
  readonly builtin: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -427,6 +442,9 @@ export declare const updatePipelineContract: {
427
442
  readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
428
443
  }, undefined>, undefined>, undefined>;
429
444
  }, undefined>, undefined>, undefined>, undefined>;
445
+ readonly stepOptions: v.OptionalSchema<v.ArraySchema<v.NullableSchema<v.ObjectSchema<{
446
+ readonly autoRecommend: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
447
+ }, undefined>, undefined>, undefined>, undefined>;
430
448
  readonly labels: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>, undefined>, undefined>;
431
449
  readonly availability: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"one-off", undefined>, v.LiteralSchema<"recurring", undefined>, v.LiteralSchema<"both", undefined>], undefined>, undefined>;
432
450
  }, undefined>;
@@ -497,6 +515,9 @@ export declare const updatePipelineContract: {
497
515
  readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
498
516
  }, undefined>, undefined>, undefined>;
499
517
  }, undefined>, undefined>, undefined>, undefined>;
518
+ readonly stepOptions: v.OptionalSchema<v.ArraySchema<v.NullableSchema<v.ObjectSchema<{
519
+ readonly autoRecommend: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
520
+ }, undefined>, undefined>, undefined>, undefined>;
500
521
  readonly labels: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
501
522
  readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
502
523
  readonly builtin: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -585,6 +606,9 @@ export declare const organizePipelineContract: {
585
606
  readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
586
607
  }, undefined>, undefined>, undefined>;
587
608
  }, undefined>, undefined>, undefined>, undefined>;
609
+ readonly stepOptions: v.OptionalSchema<v.ArraySchema<v.NullableSchema<v.ObjectSchema<{
610
+ readonly autoRecommend: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
611
+ }, undefined>, undefined>, undefined>, undefined>;
588
612
  readonly labels: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
589
613
  readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
590
614
  readonly builtin: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,K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AAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjC,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMjC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMjC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjC,CAAA"}
@@ -43,6 +43,7 @@ export declare const getRequirementReviewContract: {
43
43
  readonly detail: v.StringSchema<undefined>;
44
44
  readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
45
45
  readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
46
+ readonly autoAnswerable: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
46
47
  readonly createdAt: v.NumberSchema<undefined>;
47
48
  readonly updatedAt: v.NumberSchema<undefined>;
48
49
  }, undefined>, undefined>;
@@ -58,6 +59,7 @@ export declare const getRequirementReviewContract: {
58
59
  readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
59
60
  }, undefined>;
60
61
  readonly recommendedText: v.StringSchema<undefined>;
62
+ readonly auto: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
61
63
  readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
62
64
  readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
63
65
  readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
@@ -116,6 +118,7 @@ export declare const reviewRequirementsContract: {
116
118
  readonly detail: v.StringSchema<undefined>;
117
119
  readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
118
120
  readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
121
+ readonly autoAnswerable: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
119
122
  readonly createdAt: v.NumberSchema<undefined>;
120
123
  readonly updatedAt: v.NumberSchema<undefined>;
121
124
  }, undefined>, undefined>;
@@ -131,6 +134,7 @@ export declare const reviewRequirementsContract: {
131
134
  readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
132
135
  }, undefined>;
133
136
  readonly recommendedText: v.StringSchema<undefined>;
137
+ readonly auto: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
134
138
  readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
135
139
  readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
136
140
  readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
@@ -193,6 +197,7 @@ export declare const replyRequirementItemContract: {
193
197
  readonly detail: v.StringSchema<undefined>;
194
198
  readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
195
199
  readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
200
+ readonly autoAnswerable: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
196
201
  readonly createdAt: v.NumberSchema<undefined>;
197
202
  readonly updatedAt: v.NumberSchema<undefined>;
198
203
  }, undefined>, undefined>;
@@ -208,6 +213,7 @@ export declare const replyRequirementItemContract: {
208
213
  readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
209
214
  }, undefined>;
210
215
  readonly recommendedText: v.StringSchema<undefined>;
216
+ readonly auto: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
211
217
  readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
212
218
  readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
213
219
  readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
@@ -270,6 +276,7 @@ export declare const updateRequirementItemStatusContract: {
270
276
  readonly detail: v.StringSchema<undefined>;
271
277
  readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
272
278
  readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
279
+ readonly autoAnswerable: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
273
280
  readonly createdAt: v.NumberSchema<undefined>;
274
281
  readonly updatedAt: v.NumberSchema<undefined>;
275
282
  }, undefined>, undefined>;
@@ -285,6 +292,7 @@ export declare const updateRequirementItemStatusContract: {
285
292
  readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
286
293
  }, undefined>;
287
294
  readonly recommendedText: v.StringSchema<undefined>;
295
+ readonly auto: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
288
296
  readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
289
297
  readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
290
298
  readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
@@ -345,6 +353,7 @@ export declare const incorporateRequirementsContract: {
345
353
  readonly detail: v.StringSchema<undefined>;
346
354
  readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
347
355
  readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
356
+ readonly autoAnswerable: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
348
357
  readonly createdAt: v.NumberSchema<undefined>;
349
358
  readonly updatedAt: v.NumberSchema<undefined>;
350
359
  }, undefined>, undefined>;
@@ -360,6 +369,7 @@ export declare const incorporateRequirementsContract: {
360
369
  readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
361
370
  }, undefined>;
362
371
  readonly recommendedText: v.StringSchema<undefined>;
372
+ readonly auto: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
363
373
  readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
364
374
  readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
365
375
  readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
@@ -418,6 +428,7 @@ export declare const reReviewRequirementsContract: {
418
428
  readonly detail: v.StringSchema<undefined>;
419
429
  readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
420
430
  readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
431
+ readonly autoAnswerable: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
421
432
  readonly createdAt: v.NumberSchema<undefined>;
422
433
  readonly updatedAt: v.NumberSchema<undefined>;
423
434
  }, undefined>, undefined>;
@@ -433,6 +444,7 @@ export declare const reReviewRequirementsContract: {
433
444
  readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
434
445
  }, undefined>;
435
446
  readonly recommendedText: v.StringSchema<undefined>;
447
+ readonly auto: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
436
448
  readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
437
449
  readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
438
450
  readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
@@ -491,6 +503,7 @@ export declare const proceedRequirementsContract: {
491
503
  readonly detail: v.StringSchema<undefined>;
492
504
  readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
493
505
  readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
506
+ readonly autoAnswerable: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
494
507
  readonly createdAt: v.NumberSchema<undefined>;
495
508
  readonly updatedAt: v.NumberSchema<undefined>;
496
509
  }, undefined>, undefined>;
@@ -506,6 +519,7 @@ export declare const proceedRequirementsContract: {
506
519
  readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
507
520
  }, undefined>;
508
521
  readonly recommendedText: v.StringSchema<undefined>;
522
+ readonly auto: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
509
523
  readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
510
524
  readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
511
525
  readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
@@ -529,8 +543,13 @@ export declare const requestRequirementRecommendationsContract: {
529
543
  blockId: string;
530
544
  }) => string;
531
545
  readonly requestBodySchema: v.ObjectSchema<{
532
- readonly itemIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
533
- readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
546
+ readonly items: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
547
+ readonly itemId: v.StringSchema<undefined>;
548
+ readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
549
+ }, undefined>, undefined>, v.MinLengthAction<{
550
+ itemId: string;
551
+ note?: string | undefined;
552
+ }[], 1, undefined>]>;
534
553
  }, undefined>;
535
554
  readonly responsesByStatusCode: {
536
555
  readonly '4xx': v.ObjectSchema<{
@@ -567,6 +586,7 @@ export declare const requestRequirementRecommendationsContract: {
567
586
  readonly detail: v.StringSchema<undefined>;
568
587
  readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
569
588
  readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
589
+ readonly autoAnswerable: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
570
590
  readonly createdAt: v.NumberSchema<undefined>;
571
591
  readonly updatedAt: v.NumberSchema<undefined>;
572
592
  }, undefined>, undefined>;
@@ -582,6 +602,7 @@ export declare const requestRequirementRecommendationsContract: {
582
602
  readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
583
603
  }, undefined>;
584
604
  readonly recommendedText: v.StringSchema<undefined>;
605
+ readonly auto: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
585
606
  readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
586
607
  readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
587
608
  readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
@@ -642,6 +663,7 @@ export declare const acceptRequirementRecommendationContract: {
642
663
  readonly detail: v.StringSchema<undefined>;
643
664
  readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
644
665
  readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
666
+ readonly autoAnswerable: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
645
667
  readonly createdAt: v.NumberSchema<undefined>;
646
668
  readonly updatedAt: v.NumberSchema<undefined>;
647
669
  }, undefined>, undefined>;
@@ -657,6 +679,7 @@ export declare const acceptRequirementRecommendationContract: {
657
679
  readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
658
680
  }, undefined>;
659
681
  readonly recommendedText: v.StringSchema<undefined>;
682
+ readonly auto: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
660
683
  readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
661
684
  readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
662
685
  readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
@@ -717,6 +740,7 @@ export declare const rejectRequirementRecommendationContract: {
717
740
  readonly detail: v.StringSchema<undefined>;
718
741
  readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
719
742
  readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
743
+ readonly autoAnswerable: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
720
744
  readonly createdAt: v.NumberSchema<undefined>;
721
745
  readonly updatedAt: v.NumberSchema<undefined>;
722
746
  }, undefined>, undefined>;
@@ -732,6 +756,7 @@ export declare const rejectRequirementRecommendationContract: {
732
756
  readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
733
757
  }, undefined>;
734
758
  readonly recommendedText: v.StringSchema<undefined>;
759
+ readonly auto: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
735
760
  readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
736
761
  readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
737
762
  readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
@@ -794,6 +819,7 @@ export declare const reRequestRequirementRecommendationContract: {
794
819
  readonly detail: v.StringSchema<undefined>;
795
820
  readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
796
821
  readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
822
+ readonly autoAnswerable: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
797
823
  readonly createdAt: v.NumberSchema<undefined>;
798
824
  readonly updatedAt: v.NumberSchema<undefined>;
799
825
  }, undefined>, undefined>;
@@ -809,6 +835,7 @@ export declare const reRequestRequirementRecommendationContract: {
809
835
  readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
810
836
  }, undefined>;
811
837
  readonly recommendedText: v.StringSchema<undefined>;
838
+ readonly auto: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
812
839
  readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
813
840
  readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
814
841
  readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
@@ -869,6 +896,7 @@ export declare const resolveRequirementsExceededContract: {
869
896
  readonly detail: v.StringSchema<undefined>;
870
897
  readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
871
898
  readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
899
+ readonly autoAnswerable: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
872
900
  readonly createdAt: v.NumberSchema<undefined>;
873
901
  readonly updatedAt: v.NumberSchema<undefined>;
874
902
  }, undefined>, undefined>;
@@ -884,6 +912,7 @@ export declare const resolveRequirementsExceededContract: {
884
912
  readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
885
913
  }, undefined>;
886
914
  readonly recommendedText: v.StringSchema<undefined>;
915
+ readonly auto: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
887
916
  readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
888
917
  readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
889
918
  readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"requirements.d.ts","sourceRoot":"","sources":["../../src/routes/requirements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsB5B,eAAO,MAAM,4BAA4B;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MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA;AAEF,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMpD,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOlD,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOlD,CAAA;AAEF,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOrD,CAAA;AAEF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM9C,CAAA"}
@@ -864,7 +864,7 @@ export declare const createTaskFromIssueContract: {
864
864
  readonly defaultBranch: v.StringSchema<undefined>;
865
865
  readonly connectionId: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
866
866
  }, undefined>, undefined>, undefined>;
867
- readonly mergePresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
867
+ readonly riskPolicyId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
868
868
  readonly modelPresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
869
869
  readonly pipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
870
870
  readonly createdBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -1260,7 +1260,7 @@ export declare const spawnEpicContract: {
1260
1260
  readonly defaultBranch: v.StringSchema<undefined>;
1261
1261
  readonly connectionId: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1262
1262
  }, undefined>, undefined>, undefined>;
1263
- readonly mergePresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1263
+ readonly riskPolicyId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1264
1264
  readonly modelPresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1265
1265
  readonly pipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1266
1266
  readonly createdBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -1593,7 +1593,7 @@ export declare const spawnEpicContract: {
1593
1593
  readonly defaultBranch: v.StringSchema<undefined>;
1594
1594
  readonly connectionId: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1595
1595
  }, undefined>, undefined>, undefined>;
1596
- readonly mergePresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1596
+ readonly riskPolicyId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1597
1597
  readonly modelPresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1598
1598
  readonly pipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1599
1599
  readonly createdBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;