@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.
Files changed (50) hide show
  1. package/dist/agent-presentation.d.ts +2 -2
  2. package/dist/entities.d.ts +82 -0
  3. package/dist/entities.d.ts.map +1 -1
  4. package/dist/entities.js +17 -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 +180 -0
  15. package/dist/prReview.d.ts.map +1 -0
  16. package/dist/prReview.js +172 -0
  17. package/dist/prReview.js.map +1 -0
  18. package/dist/primitives.d.ts +1 -1
  19. package/dist/primitives.js +1 -1
  20. package/dist/result-views.d.ts +1 -1
  21. package/dist/result-views.d.ts.map +1 -1
  22. package/dist/result-views.js +1 -0
  23. package/dist/result-views.js.map +1 -1
  24. package/dist/routes/agent-runs.d.ts +54 -0
  25. package/dist/routes/agent-runs.d.ts.map +1 -1
  26. package/dist/routes/execution.d.ts +216 -0
  27. package/dist/routes/execution.d.ts.map +1 -1
  28. package/dist/routes/human-review.d.ts +27 -0
  29. package/dist/routes/human-review.d.ts.map +1 -1
  30. package/dist/routes/human-test.d.ts +135 -0
  31. package/dist/routes/human-test.d.ts.map +1 -1
  32. package/dist/routes/index.d.ts +1 -0
  33. package/dist/routes/index.d.ts.map +1 -1
  34. package/dist/routes/index.js +1 -0
  35. package/dist/routes/index.js.map +1 -1
  36. package/dist/routes/notifications.d.ts +6 -3
  37. package/dist/routes/notifications.d.ts.map +1 -1
  38. package/dist/routes/prReview.d.ts +124 -0
  39. package/dist/routes/prReview.d.ts.map +1 -0
  40. package/dist/routes/prReview.js +26 -0
  41. package/dist/routes/prReview.js.map +1 -0
  42. package/dist/routes/slack.d.ts +3 -3
  43. package/dist/routes/visual-confirm.d.ts +81 -0
  44. package/dist/routes/visual-confirm.d.ts.map +1 -1
  45. package/dist/routes/workspaces.d.ts +60 -4
  46. package/dist/routes/workspaces.d.ts.map +1 -1
  47. package/dist/slack.d.ts +2 -2
  48. package/dist/snapshot.d.ts +30 -2
  49. package/dist/snapshot.d.ts.map +1 -1
  50. package/package.json +1 -1
@@ -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>;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;;;;;IAEH;;;;;;OAMG;;;;;;;;;;;;;IAEH;;;;;;;;;OASG;;;;QAxKH;;;;;WAKG;;;;;;QALH;;;;;WAKG;;;IAsKH;;;;;;;OAOG;;IAEH;;;;;;;OAOG;;IAEH;;;;;;;OAOG;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/contracts",
3
- "version": "0.130.0",
3
+ "version": "0.132.0",
4
4
  "description": "Valibot wire contract shared between the Agent Architecture Board frontend and backend.",
5
5
  "repository": {
6
6
  "type": "git",