@cat-factory/contracts 0.95.0 → 0.96.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 (47) hide show
  1. package/dist/entities.d.ts +155 -3
  2. package/dist/entities.d.ts.map +1 -1
  3. package/dist/entities.js +64 -1
  4. package/dist/entities.js.map +1 -1
  5. package/dist/initiative.d.ts +67 -0
  6. package/dist/initiative.d.ts.map +1 -1
  7. package/dist/initiative.js +43 -0
  8. package/dist/initiative.js.map +1 -1
  9. package/dist/merge.d.ts +4 -1
  10. package/dist/merge.d.ts.map +1 -1
  11. package/dist/merge.js +4 -0
  12. package/dist/merge.js.map +1 -1
  13. package/dist/notifications.d.ts +16 -0
  14. package/dist/notifications.d.ts.map +1 -1
  15. package/dist/notifications.js +8 -0
  16. package/dist/notifications.js.map +1 -1
  17. package/dist/recurring.d.ts +119 -0
  18. package/dist/recurring.d.ts.map +1 -1
  19. package/dist/recurring.js +42 -0
  20. package/dist/recurring.js.map +1 -1
  21. package/dist/routes/agent-runs.d.ts +16 -0
  22. package/dist/routes/agent-runs.d.ts.map +1 -1
  23. package/dist/routes/board.d.ts +90 -0
  24. package/dist/routes/board.d.ts.map +1 -1
  25. package/dist/routes/execution.d.ts +82 -0
  26. package/dist/routes/execution.d.ts.map +1 -1
  27. package/dist/routes/human-review.d.ts +8 -0
  28. package/dist/routes/human-review.d.ts.map +1 -1
  29. package/dist/routes/human-test.d.ts +40 -0
  30. package/dist/routes/human-test.d.ts.map +1 -1
  31. package/dist/routes/initiative.d.ts +553 -0
  32. package/dist/routes/initiative.d.ts.map +1 -1
  33. package/dist/routes/initiative.js +40 -2
  34. package/dist/routes/initiative.js.map +1 -1
  35. package/dist/routes/notifications.d.ts +6 -0
  36. package/dist/routes/notifications.d.ts.map +1 -1
  37. package/dist/routes/recurring.d.ts +84 -0
  38. package/dist/routes/recurring.d.ts.map +1 -1
  39. package/dist/routes/tasks.d.ts +27 -0
  40. package/dist/routes/tasks.d.ts.map +1 -1
  41. package/dist/routes/visual-confirm.d.ts +24 -0
  42. package/dist/routes/visual-confirm.d.ts.map +1 -1
  43. package/dist/routes/workspaces.d.ts +66 -0
  44. package/dist/routes/workspaces.d.ts.map +1 -1
  45. package/dist/snapshot.d.ts +33 -0
  46. package/dist/snapshot.d.ts.map +1 -1
  47. package/package.json +1 -1
@@ -198,6 +198,15 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
198
198
  readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
199
199
  readonly branch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
200
200
  }, undefined>, undefined>;
201
+ readonly peerPullRequests: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
202
+ readonly repo: v.StringSchema<undefined>;
203
+ readonly frameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
204
+ readonly ref: v.ObjectSchema<{
205
+ readonly url: v.StringSchema<undefined>;
206
+ readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
207
+ readonly branch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
208
+ }, undefined>;
209
+ }, undefined>, undefined>, undefined>;
201
210
  readonly mergePresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
202
211
  readonly modelPresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
203
212
  readonly pipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -287,12 +296,19 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
287
296
  readonly attempts: v.NumberSchema<undefined>;
288
297
  readonly maxAttempts: v.NumberSchema<undefined>;
289
298
  readonly headSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
299
+ readonly headShas: v.OptionalSchema<v.NullableSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>, undefined>;
300
+ readonly conflictTarget: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
301
+ readonly repo: v.StringSchema<undefined>;
302
+ readonly frameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
303
+ readonly branch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
304
+ }, undefined>, undefined>, undefined>;
290
305
  readonly lastVerdict: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["pass", "pending", "fail"], undefined>, undefined>, undefined>;
291
306
  readonly lastFailureSummary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
292
307
  readonly failingChecks: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
293
308
  readonly name: v.StringSchema<undefined>;
294
309
  readonly conclusion: v.NullableSchema<v.StringSchema<undefined>, undefined>;
295
310
  readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
311
+ readonly repo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
296
312
  }, undefined>, undefined>, undefined>, undefined>;
297
313
  readonly lastDispatchedInstructions: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
298
314
  readonly watchSince: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -314,6 +330,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
314
330
  readonly name: v.StringSchema<undefined>;
315
331
  readonly conclusion: v.NullableSchema<v.StringSchema<undefined>, undefined>;
316
332
  readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
333
+ readonly repo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
317
334
  }, undefined>, undefined>, undefined>, undefined>;
318
335
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
319
336
  }, undefined>, undefined>, undefined>, undefined>;
@@ -919,6 +936,8 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
919
936
  readonly revertUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
920
937
  readonly targetUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
921
938
  readonly initiativeReason: v.OptionalSchema<v.PicklistSchema<["item_blocked", "complete"], undefined>, undefined>;
939
+ readonly mergedRepos: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
940
+ readonly unmergedRepos: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
922
941
  }, undefined>, undefined>, undefined>;
923
942
  readonly createdAt: v.NumberSchema<undefined>;
924
943
  readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
@@ -1019,6 +1038,20 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1019
1038
  readonly timezone: v.StringSchema<undefined>;
1020
1039
  }, undefined>;
1021
1040
  readonly onDemand: v.BooleanSchema<undefined>;
1041
+ readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
1042
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
1043
+ readonly board: v.ObjectSchema<{
1044
+ readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
1045
+ readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
1046
+ readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
1047
+ }, undefined>;
1048
+ readonly predicates: v.ObjectSchema<{
1049
+ readonly titleFragment: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
1050
+ readonly labels: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
1051
+ readonly issueType: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
1052
+ }, undefined>;
1053
+ readonly inProgressLabel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
1054
+ }, undefined>, undefined>;
1022
1055
  readonly enabled: v.BooleanSchema<undefined>;
1023
1056
  readonly lastRunAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
1024
1057
  readonly nextRunAt: v.NumberSchema<undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA6B5B,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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ibot wire contract shared between the Agent Architecture Board frontend and backend.",
5
5
  "repository": {
6
6
  "type": "git",