@cat-factory/contracts 0.129.0 → 0.131.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 (65) hide show
  1. package/dist/agent-presentation.d.ts +2 -2
  2. package/dist/entities.d.ts +70 -1
  3. package/dist/entities.d.ts.map +1 -1
  4. package/dist/entities.js +9 -0
  5. package/dist/entities.js.map +1 -1
  6. package/dist/index.d.ts +1 -0
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +1 -0
  9. package/dist/index.js.map +1 -1
  10. package/dist/initiative.d.ts +20 -5
  11. package/dist/initiative.d.ts.map +1 -1
  12. package/dist/notifications.d.ts +6 -2
  13. package/dist/notifications.d.ts.map +1 -1
  14. package/dist/notifications.js +7 -0
  15. package/dist/notifications.js.map +1 -1
  16. package/dist/prReview.d.ts +175 -0
  17. package/dist/prReview.d.ts.map +1 -0
  18. package/dist/prReview.js +167 -0
  19. package/dist/prReview.js.map +1 -0
  20. package/dist/primitives.d.ts +23 -5
  21. package/dist/primitives.d.ts.map +1 -1
  22. package/dist/primitives.js +31 -5
  23. package/dist/primitives.js.map +1 -1
  24. package/dist/requests.d.ts +4 -1
  25. package/dist/requests.d.ts.map +1 -1
  26. package/dist/result-views.d.ts +1 -1
  27. package/dist/result-views.d.ts.map +1 -1
  28. package/dist/result-views.js +1 -0
  29. package/dist/result-views.js.map +1 -1
  30. package/dist/routes/agent-runs.d.ts +52 -0
  31. package/dist/routes/agent-runs.d.ts.map +1 -1
  32. package/dist/routes/board.d.ts +52 -13
  33. package/dist/routes/board.d.ts.map +1 -1
  34. package/dist/routes/execution.d.ts +216 -2
  35. package/dist/routes/execution.d.ts.map +1 -1
  36. package/dist/routes/human-review.d.ts +26 -0
  37. package/dist/routes/human-review.d.ts.map +1 -1
  38. package/dist/routes/human-test.d.ts +130 -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 +68 -17
  45. package/dist/routes/initiative.d.ts.map +1 -1
  46. package/dist/routes/notifications.d.ts +6 -3
  47. package/dist/routes/notifications.d.ts.map +1 -1
  48. package/dist/routes/prReview.d.ts +124 -0
  49. package/dist/routes/prReview.d.ts.map +1 -0
  50. package/dist/routes/prReview.js +26 -0
  51. package/dist/routes/prReview.js.map +1 -0
  52. package/dist/routes/slack.d.ts +3 -3
  53. package/dist/routes/tasks.d.ts +12 -3
  54. package/dist/routes/tasks.d.ts.map +1 -1
  55. package/dist/routes/visual-confirm.d.ts +78 -0
  56. package/dist/routes/visual-confirm.d.ts.map +1 -1
  57. package/dist/routes/workspace-settings.d.ts +3 -3
  58. package/dist/routes/workspaces.d.ts +84 -12
  59. package/dist/routes/workspaces.d.ts.map +1 -1
  60. package/dist/slack.d.ts +2 -2
  61. package/dist/snapshot.d.ts +42 -6
  62. package/dist/snapshot.d.ts.map +1 -1
  63. package/dist/workspace-settings.d.ts +3 -3
  64. package/dist/workspace-settings.d.ts.map +1 -1
  65. package/package.json +1 -1
@@ -0,0 +1,124 @@
1
+ import * as v from 'valibot';
2
+ export declare const getPrReviewContract: {
3
+ readonly method: "get";
4
+ readonly requestPathParamsSchema: v.ObjectSchema<{
5
+ executionId: v.StringSchema<undefined>;
6
+ }, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
7
+ readonly pathResolver: ({ executionId }: {
8
+ executionId: string;
9
+ }) => string;
10
+ readonly responsesByStatusCode: {
11
+ readonly '4xx': v.ObjectSchema<{
12
+ readonly error: v.ObjectSchema<{
13
+ readonly code: v.StringSchema<undefined>;
14
+ readonly message: v.StringSchema<undefined>;
15
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
16
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
17
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
18
+ readonly message: v.StringSchema<undefined>;
19
+ }, undefined>, undefined>, undefined>;
20
+ }, undefined>;
21
+ }, undefined>;
22
+ readonly '5xx': v.ObjectSchema<{
23
+ readonly error: v.ObjectSchema<{
24
+ readonly code: v.StringSchema<undefined>;
25
+ readonly message: v.StringSchema<undefined>;
26
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
27
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
28
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
29
+ readonly message: v.StringSchema<undefined>;
30
+ }, undefined>, undefined>, undefined>;
31
+ }, undefined>;
32
+ }, undefined>;
33
+ readonly 200: v.NullableSchema<v.ObjectSchema<{
34
+ readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
35
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
36
+ readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
37
+ readonly id: v.StringSchema<undefined>;
38
+ readonly title: v.StringSchema<undefined>;
39
+ readonly rationale: v.StringSchema<undefined>;
40
+ readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
41
+ }, undefined>, undefined>, readonly []>;
42
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
43
+ readonly id: v.StringSchema<undefined>;
44
+ readonly sliceId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
45
+ readonly path: v.StringSchema<undefined>;
46
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
47
+ readonly side: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>, undefined>;
48
+ readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
49
+ readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
50
+ readonly title: v.StringSchema<undefined>;
51
+ readonly detail: v.StringSchema<undefined>;
52
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
53
+ }, undefined>, undefined>, readonly []>;
54
+ readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
55
+ readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish"], undefined>, undefined>, undefined>;
56
+ readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
57
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
58
+ }, undefined>, undefined>;
59
+ };
60
+ };
61
+ export declare const resolvePrReviewContract: {
62
+ readonly method: "post";
63
+ readonly requestPathParamsSchema: v.ObjectSchema<{
64
+ executionId: v.StringSchema<undefined>;
65
+ }, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
66
+ readonly pathResolver: ({ executionId }: {
67
+ executionId: string;
68
+ }) => string;
69
+ readonly requestBodySchema: v.ObjectSchema<{
70
+ readonly action: v.OptionalSchema<v.PicklistSchema<["finish"], undefined>, "finish">;
71
+ readonly findingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
72
+ }, undefined>;
73
+ readonly responsesByStatusCode: {
74
+ readonly '4xx': v.ObjectSchema<{
75
+ readonly error: v.ObjectSchema<{
76
+ readonly code: v.StringSchema<undefined>;
77
+ readonly message: v.StringSchema<undefined>;
78
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
79
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
80
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
81
+ readonly message: v.StringSchema<undefined>;
82
+ }, undefined>, undefined>, undefined>;
83
+ }, undefined>;
84
+ }, undefined>;
85
+ readonly '5xx': v.ObjectSchema<{
86
+ readonly error: v.ObjectSchema<{
87
+ readonly code: v.StringSchema<undefined>;
88
+ readonly message: v.StringSchema<undefined>;
89
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
90
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
91
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
92
+ readonly message: v.StringSchema<undefined>;
93
+ }, undefined>, undefined>, undefined>;
94
+ }, undefined>;
95
+ }, undefined>;
96
+ readonly 200: v.ObjectSchema<{
97
+ readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
98
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
99
+ readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
100
+ readonly id: v.StringSchema<undefined>;
101
+ readonly title: v.StringSchema<undefined>;
102
+ readonly rationale: v.StringSchema<undefined>;
103
+ readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
104
+ }, undefined>, undefined>, readonly []>;
105
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
106
+ readonly id: v.StringSchema<undefined>;
107
+ readonly sliceId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
108
+ readonly path: v.StringSchema<undefined>;
109
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
110
+ readonly side: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>, undefined>;
111
+ readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
112
+ readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
113
+ readonly title: v.StringSchema<undefined>;
114
+ readonly detail: v.StringSchema<undefined>;
115
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
116
+ }, undefined>, undefined>, readonly []>;
117
+ readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
118
+ readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish"], undefined>, undefined>, undefined>;
119
+ readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
120
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
121
+ }, undefined>;
122
+ };
123
+ };
124
+ //# sourceMappingURL=prReview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prReview.d.ts","sourceRoot":"","sources":["../../src/routes/prReview.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK9B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA"}
@@ -0,0 +1,26 @@
1
+ import { defineApiContract } from '@toad-contracts/valibot';
2
+ import * as v from 'valibot';
3
+ import { prReviewStepStateSchema, resolvePrReviewSchema } from '../prReview.js';
4
+ import { errorResponses, singleStringParam } from './_shared.js';
5
+ // ---------------------------------------------------------------------------
6
+ // PR deep-review route contracts. Mounted under `/workspaces/:workspaceId`, so the
7
+ // paths here are relative to that prefix. The read returns the run's active PR-review
8
+ // state (or null when no `pr-reviewer` step carries one); `resolve` records the human's
9
+ // curated finding selection and completes the read-only review. See PrReviewController in
10
+ // @cat-factory/server.
11
+ // ---------------------------------------------------------------------------
12
+ const executionIdParams = singleStringParam('executionId');
13
+ export const getPrReviewContract = defineApiContract({
14
+ method: 'get',
15
+ requestPathParamsSchema: executionIdParams,
16
+ pathResolver: ({ executionId }) => `/executions/${executionId}/pr-review`,
17
+ responsesByStatusCode: { 200: v.nullable(prReviewStepStateSchema), ...errorResponses },
18
+ });
19
+ export const resolvePrReviewContract = defineApiContract({
20
+ method: 'post',
21
+ requestPathParamsSchema: executionIdParams,
22
+ pathResolver: ({ executionId }) => `/executions/${executionId}/pr-review/resolve`,
23
+ requestBodySchema: resolvePrReviewSchema,
24
+ responsesByStatusCode: { 200: prReviewStepStateSchema, ...errorResponses },
25
+ });
26
+ //# sourceMappingURL=prReview.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prReview.js","sourceRoot":"","sources":["../../src/routes/prReview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAA;AAC/E,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,mFAAmF;AACnF,sFAAsF;AACtF,wFAAwF;AACxF,0FAA0F;AAC1F,uBAAuB;AACvB,8EAA8E;AAE9E,MAAM,iBAAiB,GAAG,iBAAiB,CAAC,aAAa,CAAC,CAAA;AAE1D,MAAM,CAAC,MAAM,mBAAmB,GAAG,iBAAiB,CAAC;IACnD,MAAM,EAAE,KAAK;IACb,uBAAuB,EAAE,iBAAiB;IAC1C,YAAY,EAAE,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,eAAe,WAAW,YAAY;IACzE,qBAAqB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,EAAE,GAAG,cAAc,EAAE;CACvF,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACvD,MAAM,EAAE,MAAM;IACd,uBAAuB,EAAE,iBAAiB;IAC1C,YAAY,EAAE,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,eAAe,WAAW,oBAAoB;IACjF,iBAAiB,EAAE,qBAAqB;IACxC,qBAAqB,EAAE,EAAE,GAAG,EAAE,uBAAuB,EAAE,GAAG,cAAc,EAAE;CAC3E,CAAC,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", "fork_decision_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", "pr_review_ready", "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", "fork_decision_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", "pr_review_ready", "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", "fork_decision_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", "pr_review_ready", "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>;
@@ -573,7 +573,7 @@ export declare const createTaskFromIssueContract: {
573
573
  readonly createdAt: v.NumberSchema<undefined>;
574
574
  }, undefined>, undefined>, undefined>;
575
575
  readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
576
- readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "recurring"], undefined>, undefined>;
576
+ readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "review", "recurring"], undefined>, undefined>;
577
577
  readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
578
578
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
579
579
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
@@ -593,6 +593,9 @@ export declare const createTaskFromIssueContract: {
593
593
  readonly researchQuestion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
594
594
  readonly optionsToCompare: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
595
595
  readonly apiSurface: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
596
+ readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
597
+ readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
598
+ readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
596
599
  }, undefined>, undefined>, undefined>;
597
600
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
598
601
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -974,7 +977,7 @@ export declare const spawnEpicContract: {
974
977
  readonly createdAt: v.NumberSchema<undefined>;
975
978
  }, undefined>, undefined>, undefined>;
976
979
  readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
977
- readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "recurring"], undefined>, undefined>;
980
+ readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "review", "recurring"], undefined>, undefined>;
978
981
  readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
979
982
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
980
983
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
@@ -994,6 +997,9 @@ export declare const spawnEpicContract: {
994
997
  readonly researchQuestion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
995
998
  readonly optionsToCompare: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
996
999
  readonly apiSurface: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1000
+ readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
1001
+ readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1002
+ readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
997
1003
  }, undefined>, undefined>, undefined>;
998
1004
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
999
1005
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -1312,7 +1318,7 @@ export declare const spawnEpicContract: {
1312
1318
  readonly createdAt: v.NumberSchema<undefined>;
1313
1319
  }, undefined>, undefined>, undefined>;
1314
1320
  readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1315
- readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "recurring"], undefined>, undefined>;
1321
+ readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "review", "recurring"], undefined>, undefined>;
1316
1322
  readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1317
1323
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
1318
1324
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
@@ -1332,6 +1338,9 @@ export declare const spawnEpicContract: {
1332
1338
  readonly researchQuestion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1333
1339
  readonly optionsToCompare: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1334
1340
  readonly apiSurface: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1341
+ readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
1342
+ readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1343
+ readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
1335
1344
  }, undefined>, undefined>, undefined>;
1336
1345
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
1337
1346
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"tasks.d.ts","s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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM5B,CAAA"}
@@ -393,6 +393,32 @@ export declare const approveVisualConfirmContract: {
393
393
  readonly pendingForkChat: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
394
394
  readonly messageId: v.StringSchema<undefined>;
395
395
  }, undefined>, undefined>, undefined>;
396
+ readonly prReview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
397
+ readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
398
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
399
+ readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
400
+ readonly id: v.StringSchema<undefined>;
401
+ readonly title: v.StringSchema<undefined>;
402
+ readonly rationale: v.StringSchema<undefined>;
403
+ readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
404
+ }, undefined>, undefined>, readonly []>;
405
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
406
+ readonly id: v.StringSchema<undefined>;
407
+ readonly sliceId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
408
+ readonly path: v.StringSchema<undefined>;
409
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
410
+ readonly side: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>, undefined>;
411
+ readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
412
+ readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
413
+ readonly title: v.StringSchema<undefined>;
414
+ readonly detail: v.StringSchema<undefined>;
415
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
416
+ }, undefined>, undefined>, readonly []>;
417
+ readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
418
+ readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish"], undefined>, undefined>, undefined>;
419
+ readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
420
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
421
+ }, undefined>, undefined>, undefined>;
396
422
  readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
397
423
  readonly previousProposal: v.StringSchema<undefined>;
398
424
  readonly feedback: v.StringSchema<undefined>;
@@ -1138,6 +1164,32 @@ export declare const requestVisualConfirmFixContract: {
1138
1164
  readonly pendingForkChat: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1139
1165
  readonly messageId: v.StringSchema<undefined>;
1140
1166
  }, undefined>, undefined>, undefined>;
1167
+ readonly prReview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1168
+ readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
1169
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1170
+ readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1171
+ readonly id: v.StringSchema<undefined>;
1172
+ readonly title: v.StringSchema<undefined>;
1173
+ readonly rationale: v.StringSchema<undefined>;
1174
+ readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1175
+ }, undefined>, undefined>, readonly []>;
1176
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1177
+ readonly id: v.StringSchema<undefined>;
1178
+ readonly sliceId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1179
+ readonly path: v.StringSchema<undefined>;
1180
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1181
+ readonly side: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>, undefined>;
1182
+ readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
1183
+ readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
1184
+ readonly title: v.StringSchema<undefined>;
1185
+ readonly detail: v.StringSchema<undefined>;
1186
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1187
+ }, undefined>, undefined>, readonly []>;
1188
+ readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
1189
+ readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish"], undefined>, undefined>, undefined>;
1190
+ readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1191
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1192
+ }, undefined>, undefined>, undefined>;
1141
1193
  readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1142
1194
  readonly previousProposal: v.StringSchema<undefined>;
1143
1195
  readonly feedback: v.StringSchema<undefined>;
@@ -1881,6 +1933,32 @@ export declare const recaptureVisualConfirmContract: {
1881
1933
  readonly pendingForkChat: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1882
1934
  readonly messageId: v.StringSchema<undefined>;
1883
1935
  }, undefined>, undefined>, undefined>;
1936
+ readonly prReview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1937
+ readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
1938
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1939
+ readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1940
+ readonly id: v.StringSchema<undefined>;
1941
+ readonly title: v.StringSchema<undefined>;
1942
+ readonly rationale: v.StringSchema<undefined>;
1943
+ readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1944
+ }, undefined>, undefined>, readonly []>;
1945
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1946
+ readonly id: v.StringSchema<undefined>;
1947
+ readonly sliceId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1948
+ readonly path: v.StringSchema<undefined>;
1949
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1950
+ readonly side: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>, undefined>;
1951
+ readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
1952
+ readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
1953
+ readonly title: v.StringSchema<undefined>;
1954
+ readonly detail: v.StringSchema<undefined>;
1955
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1956
+ }, undefined>, undefined>, readonly []>;
1957
+ readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
1958
+ readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish"], undefined>, undefined>, undefined>;
1959
+ readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1960
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1961
+ }, undefined>, undefined>, undefined>;
1884
1962
  readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1885
1963
  readonly previousProposal: v.StringSchema<undefined>;
1886
1964
  readonly feedback: v.StringSchema<undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMzC,CAAA"}
@@ -28,7 +28,7 @@ export declare const getWorkspaceSettingsContract: {
28
28
  readonly waitingEscalationMinutes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 100000, undefined>]>;
29
29
  readonly taskLimitMode: import("valibot").PicklistSchema<["off", "shared", "per_type"], undefined>;
30
30
  readonly taskLimitShared: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>;
31
- readonly taskLimitPerType: import("valibot").NullableSchema<import("valibot").RecordSchema<import("valibot").PicklistSchema<["feature", "bug", "document", "spike"], undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
31
+ readonly taskLimitPerType: import("valibot").NullableSchema<import("valibot").RecordSchema<import("valibot").PicklistSchema<["feature", "bug", "document", "spike", "review"], undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
32
32
  readonly storeAgentContext: import("valibot").BooleanSchema<undefined>;
33
33
  readonly artifactRetentionDays: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 3650, undefined>]>;
34
34
  readonly kaizenEnabled: import("valibot").BooleanSchema<undefined>;
@@ -45,7 +45,7 @@ export declare const updateWorkspaceSettingsContract: {
45
45
  readonly waitingEscalationMinutes: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 100000, undefined>]>, undefined>;
46
46
  readonly taskLimitMode: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["off", "shared", "per_type"], undefined>, undefined>;
47
47
  readonly taskLimitShared: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
48
- readonly taskLimitPerType: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").RecordSchema<import("valibot").PicklistSchema<["feature", "bug", "document", "spike"], undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>, undefined>;
48
+ readonly taskLimitPerType: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").RecordSchema<import("valibot").PicklistSchema<["feature", "bug", "document", "spike", "review"], undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>, undefined>;
49
49
  readonly storeAgentContext: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
50
50
  readonly artifactRetentionDays: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 3650, undefined>]>, undefined>;
51
51
  readonly kaizenEnabled: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
@@ -80,7 +80,7 @@ export declare const updateWorkspaceSettingsContract: {
80
80
  readonly waitingEscalationMinutes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 100000, undefined>]>;
81
81
  readonly taskLimitMode: import("valibot").PicklistSchema<["off", "shared", "per_type"], undefined>;
82
82
  readonly taskLimitShared: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>;
83
- readonly taskLimitPerType: import("valibot").NullableSchema<import("valibot").RecordSchema<import("valibot").PicklistSchema<["feature", "bug", "document", "spike"], undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
83
+ readonly taskLimitPerType: import("valibot").NullableSchema<import("valibot").RecordSchema<import("valibot").PicklistSchema<["feature", "bug", "document", "spike", "review"], undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
84
84
  readonly storeAgentContext: import("valibot").BooleanSchema<undefined>;
85
85
  readonly artifactRetentionDays: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 3650, undefined>]>;
86
86
  readonly kaizenEnabled: import("valibot").BooleanSchema<undefined>;