@cat-factory/contracts 0.130.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 (48) hide show
  1. package/dist/agent-presentation.d.ts +2 -2
  2. package/dist/entities.d.ts +66 -0
  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/notifications.d.ts +6 -2
  11. package/dist/notifications.d.ts.map +1 -1
  12. package/dist/notifications.js +7 -0
  13. package/dist/notifications.js.map +1 -1
  14. package/dist/prReview.d.ts +175 -0
  15. package/dist/prReview.d.ts.map +1 -0
  16. package/dist/prReview.js +167 -0
  17. package/dist/prReview.js.map +1 -0
  18. package/dist/result-views.d.ts +1 -1
  19. package/dist/result-views.d.ts.map +1 -1
  20. package/dist/result-views.js +1 -0
  21. package/dist/result-views.js.map +1 -1
  22. package/dist/routes/agent-runs.d.ts +52 -0
  23. package/dist/routes/agent-runs.d.ts.map +1 -1
  24. package/dist/routes/execution.d.ts +208 -0
  25. package/dist/routes/execution.d.ts.map +1 -1
  26. package/dist/routes/human-review.d.ts +26 -0
  27. package/dist/routes/human-review.d.ts.map +1 -1
  28. package/dist/routes/human-test.d.ts +130 -0
  29. package/dist/routes/human-test.d.ts.map +1 -1
  30. package/dist/routes/index.d.ts +1 -0
  31. package/dist/routes/index.d.ts.map +1 -1
  32. package/dist/routes/index.js +1 -0
  33. package/dist/routes/index.js.map +1 -1
  34. package/dist/routes/notifications.d.ts +6 -3
  35. package/dist/routes/notifications.d.ts.map +1 -1
  36. package/dist/routes/prReview.d.ts +124 -0
  37. package/dist/routes/prReview.d.ts.map +1 -0
  38. package/dist/routes/prReview.js +26 -0
  39. package/dist/routes/prReview.js.map +1 -0
  40. package/dist/routes/slack.d.ts +3 -3
  41. package/dist/routes/visual-confirm.d.ts +78 -0
  42. package/dist/routes/visual-confirm.d.ts.map +1 -1
  43. package/dist/routes/workspaces.d.ts +58 -4
  44. package/dist/routes/workspaces.d.ts.map +1 -1
  45. package/dist/slack.d.ts +2 -2
  46. package/dist/snapshot.d.ts +29 -2
  47. package/dist/snapshot.d.ts.map +1 -1
  48. package/package.json +1 -1
@@ -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,mBAAmB,CAAA;AACjC,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,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,oBAAoB,CAAA;AAClC,cAAc,iBAAiB,CAAA;AAC/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e,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,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,oBAAoB,CAAA;AAClC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,yBAAyB,CAAA;AACvC,cAAc,6BAA6B,CAAA;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"}
@@ -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", "fork_decision_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", "pr_review_ready", "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>;
@@ -46,6 +46,7 @@ export declare const listNotificationsContract: {
46
46
  readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
47
47
  readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
48
48
  readonly forkCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
49
+ readonly sliceCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
49
50
  readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
50
51
  readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
51
52
  readonly recommendation: v.PicklistSchema<["revert", "hold", "monitor"], undefined>;
@@ -104,7 +105,7 @@ export declare const actNotificationContract: {
104
105
  }, undefined>;
105
106
  readonly 200: v.ObjectSchema<{
106
107
  readonly id: v.StringSchema<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>;
108
+ 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", "pr_review_ready", "initiative"], undefined>;
108
109
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
109
110
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
110
111
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -122,6 +123,7 @@ export declare const actNotificationContract: {
122
123
  readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
123
124
  readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
124
125
  readonly forkCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
126
+ readonly sliceCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
125
127
  readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
126
128
  readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
127
129
  readonly recommendation: v.PicklistSchema<["revert", "hold", "monitor"], undefined>;
@@ -180,7 +182,7 @@ export declare const dismissNotificationContract: {
180
182
  }, undefined>;
181
183
  readonly 200: v.ObjectSchema<{
182
184
  readonly id: v.StringSchema<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>;
185
+ 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", "pr_review_ready", "initiative"], undefined>;
184
186
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
185
187
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
186
188
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -198,6 +200,7 @@ export declare const dismissNotificationContract: {
198
200
  readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
199
201
  readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
200
202
  readonly forkCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
203
+ readonly sliceCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
201
204
  readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
202
205
  readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
203
206
  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"}
@@ -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>;
@@ -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"}
@@ -831,6 +831,32 @@ export declare const createWorkspaceContract: {
831
831
  readonly pendingForkChat: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
832
832
  readonly messageId: v.StringSchema<undefined>;
833
833
  }, undefined>, undefined>, undefined>;
834
+ readonly prReview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
835
+ readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
836
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
837
+ readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
838
+ readonly id: v.StringSchema<undefined>;
839
+ readonly title: v.StringSchema<undefined>;
840
+ readonly rationale: v.StringSchema<undefined>;
841
+ readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
842
+ }, undefined>, undefined>, readonly []>;
843
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
844
+ readonly id: v.StringSchema<undefined>;
845
+ readonly sliceId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
846
+ readonly path: v.StringSchema<undefined>;
847
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
848
+ readonly side: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>, undefined>;
849
+ readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
850
+ readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
851
+ readonly title: v.StringSchema<undefined>;
852
+ readonly detail: v.StringSchema<undefined>;
853
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
854
+ }, undefined>, undefined>, readonly []>;
855
+ readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
856
+ readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish"], undefined>, undefined>, undefined>;
857
+ readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
858
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
859
+ }, undefined>, undefined>, undefined>;
834
860
  readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
835
861
  readonly previousProposal: v.StringSchema<undefined>;
836
862
  readonly feedback: v.StringSchema<undefined>;
@@ -1315,7 +1341,7 @@ export declare const createWorkspaceContract: {
1315
1341
  }, undefined>, undefined>;
1316
1342
  readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1317
1343
  readonly id: v.StringSchema<undefined>;
1318
- 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>;
1344
+ 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", "pr_review_ready", "initiative"], undefined>;
1319
1345
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
1320
1346
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
1321
1347
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1333,6 +1359,7 @@ export declare const createWorkspaceContract: {
1333
1359
  readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1334
1360
  readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1335
1361
  readonly forkCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1362
+ readonly sliceCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1336
1363
  readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
1337
1364
  readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1338
1365
  readonly recommendation: v.PicklistSchema<["revert", "hold", "monitor"], undefined>;
@@ -1925,7 +1952,7 @@ export declare const createWorkspaceContract: {
1925
1952
  readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
1926
1953
  readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
1927
1954
  readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
1928
- readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker", "initiative-planning", "doc-interview", "fork-decision"], undefined>, undefined>;
1955
+ readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker", "initiative-planning", "doc-interview", "fork-decision", "pr-review"], undefined>, undefined>;
1929
1956
  }, undefined>;
1930
1957
  readonly container: v.BooleanSchema<undefined>;
1931
1958
  }, undefined>, undefined>, undefined>;
@@ -3006,6 +3033,32 @@ export declare const getWorkspaceContract: {
3006
3033
  readonly pendingForkChat: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3007
3034
  readonly messageId: v.StringSchema<undefined>;
3008
3035
  }, undefined>, undefined>, undefined>;
3036
+ readonly prReview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3037
+ readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
3038
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3039
+ readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3040
+ readonly id: v.StringSchema<undefined>;
3041
+ readonly title: v.StringSchema<undefined>;
3042
+ readonly rationale: v.StringSchema<undefined>;
3043
+ readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
3044
+ }, undefined>, undefined>, readonly []>;
3045
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3046
+ readonly id: v.StringSchema<undefined>;
3047
+ readonly sliceId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3048
+ readonly path: v.StringSchema<undefined>;
3049
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
3050
+ readonly side: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>, undefined>;
3051
+ readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
3052
+ readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
3053
+ readonly title: v.StringSchema<undefined>;
3054
+ readonly detail: v.StringSchema<undefined>;
3055
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3056
+ }, undefined>, undefined>, readonly []>;
3057
+ readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
3058
+ readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish"], undefined>, undefined>, undefined>;
3059
+ readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3060
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3061
+ }, undefined>, undefined>, undefined>;
3009
3062
  readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3010
3063
  readonly previousProposal: v.StringSchema<undefined>;
3011
3064
  readonly feedback: v.StringSchema<undefined>;
@@ -3490,7 +3543,7 @@ export declare const getWorkspaceContract: {
3490
3543
  }, undefined>, undefined>;
3491
3544
  readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3492
3545
  readonly id: v.StringSchema<undefined>;
3493
- 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>;
3546
+ 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", "pr_review_ready", "initiative"], undefined>;
3494
3547
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
3495
3548
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
3496
3549
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -3508,6 +3561,7 @@ export declare const getWorkspaceContract: {
3508
3561
  readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3509
3562
  readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3510
3563
  readonly forkCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3564
+ readonly sliceCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3511
3565
  readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
3512
3566
  readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
3513
3567
  readonly recommendation: v.PicklistSchema<["revert", "hold", "monitor"], undefined>;
@@ -4100,7 +4154,7 @@ export declare const getWorkspaceContract: {
4100
4154
  readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
4101
4155
  readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
4102
4156
  readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
4103
- readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker", "initiative-planning", "doc-interview", "fork-decision"], undefined>, undefined>;
4157
+ readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker", "initiative-planning", "doc-interview", "fork-decision", "pr-review"], undefined>, undefined>;
4104
4158
  }, undefined>;
4105
4159
  readonly container: v.BooleanSchema<undefined>;
4106
4160
  }, undefined>, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAgB5B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;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uB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
package/dist/slack.d.ts CHANGED
@@ -30,7 +30,7 @@ export type SlackRoute = v.InferOutput<typeof slackRouteSchema>;
30
30
  * type absent from `routes`, disabled, or with an empty channel does not post.
31
31
  */
32
32
  export declare const slackNotificationSettingsSchema: v.ObjectSchema<{
33
- 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<{
33
+ 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<{
34
34
  readonly enabled: v.BooleanSchema<undefined>;
35
35
  /** A channel id (`C0123…`) or name (`#general`); empty = unrouted. */
36
36
  readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
@@ -83,7 +83,7 @@ export declare const connectSlackByTokenSchema: v.ObjectSchema<{
83
83
  export type ConnectSlackByTokenInput = v.InferOutput<typeof connectSlackByTokenSchema>;
84
84
  /** Replace a workspace's Slack notification routing. */
85
85
  export declare const updateSlackSettingsSchema: v.ObjectSchema<{
86
- 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<{
86
+ 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<{
87
87
  readonly enabled: v.BooleanSchema<undefined>;
88
88
  /** A channel id (`C0123…`) or name (`#general`); empty = unrouted. */
89
89
  readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;