@cat-factory/contracts 0.130.0 → 0.132.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.
- package/dist/agent-presentation.d.ts +2 -2
- package/dist/entities.d.ts +82 -0
- package/dist/entities.d.ts.map +1 -1
- package/dist/entities.js +17 -0
- package/dist/entities.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/notifications.d.ts +6 -2
- package/dist/notifications.d.ts.map +1 -1
- package/dist/notifications.js +7 -0
- package/dist/notifications.js.map +1 -1
- package/dist/prReview.d.ts +180 -0
- package/dist/prReview.d.ts.map +1 -0
- package/dist/prReview.js +172 -0
- package/dist/prReview.js.map +1 -0
- package/dist/primitives.d.ts +1 -1
- package/dist/primitives.js +1 -1
- package/dist/result-views.d.ts +1 -1
- package/dist/result-views.d.ts.map +1 -1
- package/dist/result-views.js +1 -0
- package/dist/result-views.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +54 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +216 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +27 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +135 -0
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/index.d.ts +1 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +1 -0
- package/dist/routes/index.js.map +1 -1
- package/dist/routes/notifications.d.ts +6 -3
- package/dist/routes/notifications.d.ts.map +1 -1
- package/dist/routes/prReview.d.ts +124 -0
- package/dist/routes/prReview.d.ts.map +1 -0
- package/dist/routes/prReview.js +26 -0
- package/dist/routes/prReview.js.map +1 -0
- package/dist/routes/slack.d.ts +3 -3
- package/dist/routes/visual-confirm.d.ts +81 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +60 -4
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/slack.d.ts +2 -2
- package/dist/snapshot.d.ts +30 -2
- package/dist/snapshot.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/snapshot.d.ts
CHANGED
|
@@ -776,6 +776,33 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
776
776
|
readonly pendingForkChat: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
777
777
|
readonly messageId: v.StringSchema<undefined>;
|
|
778
778
|
}, undefined>, undefined>, undefined>;
|
|
779
|
+
readonly prReview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
780
|
+
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
|
|
781
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
782
|
+
readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
783
|
+
readonly id: v.StringSchema<undefined>;
|
|
784
|
+
readonly title: v.StringSchema<undefined>;
|
|
785
|
+
readonly rationale: v.StringSchema<undefined>;
|
|
786
|
+
readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
787
|
+
}, undefined>, undefined>, readonly []>;
|
|
788
|
+
readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
789
|
+
readonly id: v.StringSchema<undefined>;
|
|
790
|
+
readonly sliceId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
791
|
+
readonly path: v.StringSchema<undefined>;
|
|
792
|
+
readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
793
|
+
readonly side: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>, undefined>;
|
|
794
|
+
readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
|
|
795
|
+
readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
|
|
796
|
+
readonly title: v.StringSchema<undefined>;
|
|
797
|
+
readonly detail: v.StringSchema<undefined>;
|
|
798
|
+
readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
799
|
+
}, undefined>, undefined>, readonly []>;
|
|
800
|
+
readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
801
|
+
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
|
|
802
|
+
readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
803
|
+
readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
804
|
+
}, undefined>, undefined>, undefined>;
|
|
805
|
+
readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
779
806
|
readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
780
807
|
readonly previousProposal: v.StringSchema<undefined>;
|
|
781
808
|
readonly feedback: v.StringSchema<undefined>;
|
|
@@ -1308,7 +1335,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1308
1335
|
*/
|
|
1309
1336
|
readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1310
1337
|
readonly id: v.StringSchema<undefined>;
|
|
1311
|
-
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>;
|
|
1338
|
+
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>;
|
|
1312
1339
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
1313
1340
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
1314
1341
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1326,6 +1353,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1326
1353
|
readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1327
1354
|
readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1328
1355
|
readonly forkCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1356
|
+
readonly sliceCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1329
1357
|
readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
|
|
1330
1358
|
readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1331
1359
|
readonly recommendation: v.PicklistSchema<["revert", "hold", "monitor"], undefined>;
|
|
@@ -1987,7 +2015,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1987
2015
|
readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
|
|
1988
2016
|
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
1989
2017
|
readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
|
|
1990
|
-
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>;
|
|
2018
|
+
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>;
|
|
1991
2019
|
}, undefined>;
|
|
1992
2020
|
readonly container: v.BooleanSchema<undefined>;
|
|
1993
2021
|
}, undefined>, undefined>, undefined>;
|
package/dist/snapshot.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAkC5B,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAkC5B,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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