@treeseed/sdk 0.13.0-rc.54 → 0.13.0-rc.55

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 (32) hide show
  1. package/dist/agent-capacity/contracts/configuration/configuration.js +1 -1
  2. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +240 -240
  3. package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +1 -1
  4. package/dist/capacity-provider/client.d.ts +3 -3
  5. package/dist/capacity-provider/contracts/governance.d.ts +28 -1
  6. package/dist/capacity-provider/index.d.ts +1 -0
  7. package/dist/capacity-provider/index.js +1 -0
  8. package/dist/capacity-provider/sandbox-contracts.d.ts +422 -0
  9. package/dist/capacity-provider/sandbox-contracts.js +71 -0
  10. package/dist/capacity-provider/validation.d.ts +2 -1
  11. package/dist/capacity-provider/validation.js +23 -0
  12. package/dist/content/validation/agent-operational-content-schemas.d.ts +76 -76
  13. package/dist/content/validation/auxiliary-content-schemas.d.ts +16 -16
  14. package/dist/content/validation/content-model-schemas.d.ts +559 -559
  15. package/dist/content/validation/portable-content-data.d.ts +59 -59
  16. package/dist/deployment/ai-mode.d.ts +4 -4
  17. package/dist/deployment/schemas.d.ts +418 -100
  18. package/dist/deployment/schemas.js +23 -1
  19. package/dist/development/schemas.d.ts +22 -22
  20. package/dist/operator-contracts/canonical-command-tree.js +39 -0
  21. package/dist/operator-contracts/catalog/communication-operations.d.ts +50 -50
  22. package/dist/operator-contracts/catalog/inbox-operations.d.ts +25 -25
  23. package/dist/operator-contracts/communication/contracts.d.ts +139 -139
  24. package/dist/operator-contracts/control-plane-operations.d.ts +78 -78
  25. package/dist/operator-contracts/inbox/contracts.d.ts +77 -77
  26. package/dist/security/encrypted-envelope.d.ts +177 -0
  27. package/dist/security/encrypted-envelope.js +34 -0
  28. package/dist/security/envelope-codec.d.ts +38 -0
  29. package/dist/security/envelope-codec.js +96 -0
  30. package/dist/security/index.d.ts +2 -0
  31. package/dist/security/index.js +2 -0
  32. package/package.json +5 -1
@@ -65,9 +65,9 @@ export declare const inboxCommentSchema: z.ZodObject<{
65
65
  commitSha: string | null;
66
66
  }>;
67
67
  }, "strict", z.ZodTypeAny, {
68
+ createdAt: string;
68
69
  kind: "comment" | "answer" | "reply";
69
70
  id: string;
70
- createdAt: string;
71
71
  provenance: {
72
72
  digest: string | null;
73
73
  repositoryId: string | null;
@@ -79,9 +79,9 @@ export declare const inboxCommentSchema: z.ZodObject<{
79
79
  authorId: string;
80
80
  authorLabel: string;
81
81
  }, {
82
+ createdAt: string;
82
83
  kind: "comment" | "answer" | "reply";
83
84
  id: string;
84
- createdAt: string;
85
85
  provenance: {
86
86
  digest: string | null;
87
87
  repositoryId: string | null;
@@ -172,9 +172,9 @@ export declare const inboxItemSchema: z.ZodObject<{
172
172
  commitSha: string | null;
173
173
  }>;
174
174
  }, "strict", z.ZodTypeAny, {
175
+ createdAt: string;
175
176
  kind: "comment" | "answer" | "reply";
176
177
  id: string;
177
- createdAt: string;
178
178
  provenance: {
179
179
  digest: string | null;
180
180
  repositoryId: string | null;
@@ -186,9 +186,9 @@ export declare const inboxItemSchema: z.ZodObject<{
186
186
  authorId: string;
187
187
  authorLabel: string;
188
188
  }, {
189
+ createdAt: string;
189
190
  kind: "comment" | "answer" | "reply";
190
191
  id: string;
191
- createdAt: string;
192
192
  provenance: {
193
193
  digest: string | null;
194
194
  repositoryId: string | null;
@@ -202,12 +202,13 @@ export declare const inboxItemSchema: z.ZodObject<{
202
202
  }>, "many">;
203
203
  etag: z.ZodString;
204
204
  }, "strict", z.ZodTypeAny, {
205
+ teamId: string;
206
+ schemaVersion: "treeseed.inbox-item/v1";
205
207
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
208
+ createdAt: string;
206
209
  kind: "proposal" | "question";
207
210
  id: string;
208
- schemaVersion: "treeseed.inbox-item/v1";
209
211
  projectId: string;
210
- createdAt: string;
211
212
  provenance: {
212
213
  digest: string | null;
213
214
  repositoryId: string | null;
@@ -215,7 +216,6 @@ export declare const inboxItemSchema: z.ZodObject<{
215
216
  commitSha: string | null;
216
217
  };
217
218
  version: number;
218
- teamId: string;
219
219
  projectSlug: string;
220
220
  updatedAt: string;
221
221
  markdown: string;
@@ -232,9 +232,9 @@ export declare const inboxItemSchema: z.ZodObject<{
232
232
  requiresFeedback: boolean;
233
233
  }[];
234
234
  comments: {
235
+ createdAt: string;
235
236
  kind: "comment" | "answer" | "reply";
236
237
  id: string;
237
- createdAt: string;
238
238
  provenance: {
239
239
  digest: string | null;
240
240
  repositoryId: string | null;
@@ -248,12 +248,13 @@ export declare const inboxItemSchema: z.ZodObject<{
248
248
  }[];
249
249
  etag: string;
250
250
  }, {
251
+ teamId: string;
252
+ schemaVersion: "treeseed.inbox-item/v1";
251
253
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
254
+ createdAt: string;
252
255
  kind: "proposal" | "question";
253
256
  id: string;
254
- schemaVersion: "treeseed.inbox-item/v1";
255
257
  projectId: string;
256
- createdAt: string;
257
258
  provenance: {
258
259
  digest: string | null;
259
260
  repositoryId: string | null;
@@ -261,7 +262,6 @@ export declare const inboxItemSchema: z.ZodObject<{
261
262
  commitSha: string | null;
262
263
  };
263
264
  version: number;
264
- teamId: string;
265
265
  projectSlug: string;
266
266
  updatedAt: string;
267
267
  markdown: string;
@@ -278,9 +278,9 @@ export declare const inboxItemSchema: z.ZodObject<{
278
278
  requiresFeedback: boolean;
279
279
  }[];
280
280
  comments: {
281
+ createdAt: string;
281
282
  kind: "comment" | "answer" | "reply";
282
283
  id: string;
283
- createdAt: string;
284
284
  provenance: {
285
285
  digest: string | null;
286
286
  repositoryId: string | null;
@@ -373,9 +373,9 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
373
373
  commitSha: string | null;
374
374
  }>;
375
375
  }, "strict", z.ZodTypeAny, {
376
+ createdAt: string;
376
377
  kind: "comment" | "answer" | "reply";
377
378
  id: string;
378
- createdAt: string;
379
379
  provenance: {
380
380
  digest: string | null;
381
381
  repositoryId: string | null;
@@ -387,9 +387,9 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
387
387
  authorId: string;
388
388
  authorLabel: string;
389
389
  }, {
390
+ createdAt: string;
390
391
  kind: "comment" | "answer" | "reply";
391
392
  id: string;
392
- createdAt: string;
393
393
  provenance: {
394
394
  digest: string | null;
395
395
  repositoryId: string | null;
@@ -402,14 +402,14 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
402
402
  authorLabel: string;
403
403
  }>, "many">;
404
404
  etag: z.ZodString;
405
- }, "status" | "kind" | "id" | "projectId" | "createdAt" | "version" | "teamId" | "projectSlug" | "updatedAt" | "authorId" | "authorLabel" | "title" | "etag">, "strict", z.ZodTypeAny, {
405
+ }, "teamId" | "status" | "createdAt" | "kind" | "id" | "projectId" | "version" | "projectSlug" | "updatedAt" | "authorId" | "authorLabel" | "title" | "etag">, "strict", z.ZodTypeAny, {
406
+ teamId: string;
406
407
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
408
+ createdAt: string;
407
409
  kind: "proposal" | "question";
408
410
  id: string;
409
411
  projectId: string;
410
- createdAt: string;
411
412
  version: number;
412
- teamId: string;
413
413
  projectSlug: string;
414
414
  updatedAt: string;
415
415
  authorId: string;
@@ -417,13 +417,13 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
417
417
  title: string;
418
418
  etag: string;
419
419
  }, {
420
+ teamId: string;
420
421
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
422
+ createdAt: string;
421
423
  kind: "proposal" | "question";
422
424
  id: string;
423
425
  projectId: string;
424
- createdAt: string;
425
426
  version: number;
426
- teamId: string;
427
427
  projectSlug: string;
428
428
  updatedAt: string;
429
429
  authorId: string;
@@ -512,9 +512,9 @@ export declare const inboxItemPageSchema: z.ZodObject<{
512
512
  commitSha: string | null;
513
513
  }>;
514
514
  }, "strict", z.ZodTypeAny, {
515
+ createdAt: string;
515
516
  kind: "comment" | "answer" | "reply";
516
517
  id: string;
517
- createdAt: string;
518
518
  provenance: {
519
519
  digest: string | null;
520
520
  repositoryId: string | null;
@@ -526,9 +526,9 @@ export declare const inboxItemPageSchema: z.ZodObject<{
526
526
  authorId: string;
527
527
  authorLabel: string;
528
528
  }, {
529
+ createdAt: string;
529
530
  kind: "comment" | "answer" | "reply";
530
531
  id: string;
531
- createdAt: string;
532
532
  provenance: {
533
533
  digest: string | null;
534
534
  repositoryId: string | null;
@@ -541,14 +541,14 @@ export declare const inboxItemPageSchema: z.ZodObject<{
541
541
  authorLabel: string;
542
542
  }>, "many">;
543
543
  etag: z.ZodString;
544
- }, "status" | "kind" | "id" | "projectId" | "createdAt" | "version" | "teamId" | "projectSlug" | "updatedAt" | "authorId" | "authorLabel" | "title" | "etag">, "strict", z.ZodTypeAny, {
544
+ }, "teamId" | "status" | "createdAt" | "kind" | "id" | "projectId" | "version" | "projectSlug" | "updatedAt" | "authorId" | "authorLabel" | "title" | "etag">, "strict", z.ZodTypeAny, {
545
+ teamId: string;
545
546
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
547
+ createdAt: string;
546
548
  kind: "proposal" | "question";
547
549
  id: string;
548
550
  projectId: string;
549
- createdAt: string;
550
551
  version: number;
551
- teamId: string;
552
552
  projectSlug: string;
553
553
  updatedAt: string;
554
554
  authorId: string;
@@ -556,13 +556,13 @@ export declare const inboxItemPageSchema: z.ZodObject<{
556
556
  title: string;
557
557
  etag: string;
558
558
  }, {
559
+ teamId: string;
559
560
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
561
+ createdAt: string;
560
562
  kind: "proposal" | "question";
561
563
  id: string;
562
564
  projectId: string;
563
- createdAt: string;
564
565
  version: number;
565
- teamId: string;
566
566
  projectSlug: string;
567
567
  updatedAt: string;
568
568
  authorId: string;
@@ -574,13 +574,13 @@ export declare const inboxItemPageSchema: z.ZodObject<{
574
574
  }, "strict", z.ZodTypeAny, {
575
575
  schemaVersion: "treeseed.inbox-page/v1";
576
576
  items: {
577
+ teamId: string;
577
578
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
579
+ createdAt: string;
578
580
  kind: "proposal" | "question";
579
581
  id: string;
580
582
  projectId: string;
581
- createdAt: string;
582
583
  version: number;
583
- teamId: string;
584
584
  projectSlug: string;
585
585
  updatedAt: string;
586
586
  authorId: string;
@@ -592,13 +592,13 @@ export declare const inboxItemPageSchema: z.ZodObject<{
592
592
  }, {
593
593
  schemaVersion: "treeseed.inbox-page/v1";
594
594
  items: {
595
+ teamId: string;
595
596
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
597
+ createdAt: string;
596
598
  kind: "proposal" | "question";
597
599
  id: string;
598
600
  projectId: string;
599
- createdAt: string;
600
601
  version: number;
601
- teamId: string;
602
602
  projectSlug: string;
603
603
  updatedAt: string;
604
604
  authorId: string;
@@ -620,25 +620,25 @@ export declare const inboxEventSchema: z.ZodObject<{
620
620
  summary: z.ZodString;
621
621
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
622
622
  }, "strict", z.ZodTypeAny, {
623
+ teamId: string;
624
+ sequence: string;
625
+ schemaVersion: "treeseed.inbox-event/v1";
623
626
  type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
627
+ payload: Record<string, unknown>;
624
628
  id: string;
625
- schemaVersion: "treeseed.inbox-event/v1";
626
629
  summary: string;
627
- teamId: string;
628
- sequence: string;
629
630
  occurredAt: string;
630
- payload: Record<string, unknown>;
631
631
  itemId: string | null;
632
632
  actorId: string;
633
633
  }, {
634
+ teamId: string;
635
+ sequence: string;
636
+ schemaVersion: "treeseed.inbox-event/v1";
634
637
  type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
638
+ payload: Record<string, unknown>;
635
639
  id: string;
636
- schemaVersion: "treeseed.inbox-event/v1";
637
640
  summary: string;
638
- teamId: string;
639
- sequence: string;
640
641
  occurredAt: string;
641
- payload: Record<string, unknown>;
642
642
  itemId: string | null;
643
643
  actorId: string;
644
644
  }>;
@@ -655,25 +655,25 @@ export declare const inboxTimelineSchema: z.ZodObject<{
655
655
  summary: z.ZodString;
656
656
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
657
657
  }, "strict", z.ZodTypeAny, {
658
+ teamId: string;
659
+ sequence: string;
660
+ schemaVersion: "treeseed.inbox-event/v1";
658
661
  type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
662
+ payload: Record<string, unknown>;
659
663
  id: string;
660
- schemaVersion: "treeseed.inbox-event/v1";
661
664
  summary: string;
662
- teamId: string;
663
- sequence: string;
664
665
  occurredAt: string;
665
- payload: Record<string, unknown>;
666
666
  itemId: string | null;
667
667
  actorId: string;
668
668
  }, {
669
+ teamId: string;
670
+ sequence: string;
671
+ schemaVersion: "treeseed.inbox-event/v1";
669
672
  type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
673
+ payload: Record<string, unknown>;
670
674
  id: string;
671
- schemaVersion: "treeseed.inbox-event/v1";
672
675
  summary: string;
673
- teamId: string;
674
- sequence: string;
675
676
  occurredAt: string;
676
- payload: Record<string, unknown>;
677
677
  itemId: string | null;
678
678
  actorId: string;
679
679
  }>, "many">;
@@ -681,28 +681,28 @@ export declare const inboxTimelineSchema: z.ZodObject<{
681
681
  }, "strict", z.ZodTypeAny, {
682
682
  cursor: string;
683
683
  events: {
684
+ teamId: string;
685
+ sequence: string;
686
+ schemaVersion: "treeseed.inbox-event/v1";
684
687
  type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
688
+ payload: Record<string, unknown>;
685
689
  id: string;
686
- schemaVersion: "treeseed.inbox-event/v1";
687
690
  summary: string;
688
- teamId: string;
689
- sequence: string;
690
691
  occurredAt: string;
691
- payload: Record<string, unknown>;
692
692
  itemId: string | null;
693
693
  actorId: string;
694
694
  }[];
695
695
  }, {
696
696
  cursor: string;
697
697
  events: {
698
+ teamId: string;
699
+ sequence: string;
700
+ schemaVersion: "treeseed.inbox-event/v1";
698
701
  type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
702
+ payload: Record<string, unknown>;
699
703
  id: string;
700
- schemaVersion: "treeseed.inbox-event/v1";
701
704
  summary: string;
702
- teamId: string;
703
- sequence: string;
704
705
  occurredAt: string;
705
- payload: Record<string, unknown>;
706
706
  itemId: string | null;
707
707
  actorId: string;
708
708
  }[];
@@ -718,22 +718,22 @@ export declare const inboxDraftSchema: z.ZodObject<{
718
718
  updatedAt: z.ZodString;
719
719
  etag: z.ZodString;
720
720
  }, "strict", z.ZodTypeAny, {
721
+ purpose: "feedback" | "proposal_revision";
721
722
  schemaVersion: "treeseed.inbox-draft/v1";
722
723
  revision: number;
723
724
  updatedAt: string;
724
725
  markdown: string;
725
726
  etag: string;
726
727
  itemId: string;
727
- purpose: "feedback" | "proposal_revision";
728
728
  baseVersion: number;
729
729
  }, {
730
+ purpose: "feedback" | "proposal_revision";
730
731
  schemaVersion: "treeseed.inbox-draft/v1";
731
732
  revision: number;
732
733
  updatedAt: string;
733
734
  markdown: string;
734
735
  etag: string;
735
736
  itemId: string;
736
- purpose: "feedback" | "proposal_revision";
737
737
  baseVersion: number;
738
738
  }>;
739
739
  export declare const inboxDraftWriteSchema: z.ZodObject<{
@@ -865,9 +865,9 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
865
865
  commitSha: string | null;
866
866
  }>;
867
867
  }, "strict", z.ZodTypeAny, {
868
+ createdAt: string;
868
869
  kind: "comment" | "answer" | "reply";
869
870
  id: string;
870
- createdAt: string;
871
871
  provenance: {
872
872
  digest: string | null;
873
873
  repositoryId: string | null;
@@ -879,9 +879,9 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
879
879
  authorId: string;
880
880
  authorLabel: string;
881
881
  }, {
882
+ createdAt: string;
882
883
  kind: "comment" | "answer" | "reply";
883
884
  id: string;
884
- createdAt: string;
885
885
  provenance: {
886
886
  digest: string | null;
887
887
  repositoryId: string | null;
@@ -895,12 +895,13 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
895
895
  }>, "many">;
896
896
  etag: z.ZodString;
897
897
  }, "strict", z.ZodTypeAny, {
898
+ teamId: string;
899
+ schemaVersion: "treeseed.inbox-item/v1";
898
900
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
901
+ createdAt: string;
899
902
  kind: "proposal" | "question";
900
903
  id: string;
901
- schemaVersion: "treeseed.inbox-item/v1";
902
904
  projectId: string;
903
- createdAt: string;
904
905
  provenance: {
905
906
  digest: string | null;
906
907
  repositoryId: string | null;
@@ -908,7 +909,6 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
908
909
  commitSha: string | null;
909
910
  };
910
911
  version: number;
911
- teamId: string;
912
912
  projectSlug: string;
913
913
  updatedAt: string;
914
914
  markdown: string;
@@ -925,9 +925,9 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
925
925
  requiresFeedback: boolean;
926
926
  }[];
927
927
  comments: {
928
+ createdAt: string;
928
929
  kind: "comment" | "answer" | "reply";
929
930
  id: string;
930
- createdAt: string;
931
931
  provenance: {
932
932
  digest: string | null;
933
933
  repositoryId: string | null;
@@ -941,12 +941,13 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
941
941
  }[];
942
942
  etag: string;
943
943
  }, {
944
+ teamId: string;
945
+ schemaVersion: "treeseed.inbox-item/v1";
944
946
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
947
+ createdAt: string;
945
948
  kind: "proposal" | "question";
946
949
  id: string;
947
- schemaVersion: "treeseed.inbox-item/v1";
948
950
  projectId: string;
949
- createdAt: string;
950
951
  provenance: {
951
952
  digest: string | null;
952
953
  repositoryId: string | null;
@@ -954,7 +955,6 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
954
955
  commitSha: string | null;
955
956
  };
956
957
  version: number;
957
- teamId: string;
958
958
  projectSlug: string;
959
959
  updatedAt: string;
960
960
  markdown: string;
@@ -971,9 +971,9 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
971
971
  requiresFeedback: boolean;
972
972
  }[];
973
973
  comments: {
974
+ createdAt: string;
974
975
  kind: "comment" | "answer" | "reply";
975
976
  id: string;
976
- createdAt: string;
977
977
  provenance: {
978
978
  digest: string | null;
979
979
  repositoryId: string | null;
@@ -992,15 +992,14 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
992
992
  receipts: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
993
993
  }, "strict", z.ZodTypeAny, {
994
994
  schemaVersion: "treeseed.inbox-mutation-receipt/v1";
995
- receipts: Record<string, unknown>[];
996
- replayed: boolean;
997
995
  item: {
996
+ teamId: string;
997
+ schemaVersion: "treeseed.inbox-item/v1";
998
998
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
999
+ createdAt: string;
999
1000
  kind: "proposal" | "question";
1000
1001
  id: string;
1001
- schemaVersion: "treeseed.inbox-item/v1";
1002
1002
  projectId: string;
1003
- createdAt: string;
1004
1003
  provenance: {
1005
1004
  digest: string | null;
1006
1005
  repositoryId: string | null;
@@ -1008,7 +1007,6 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
1008
1007
  commitSha: string | null;
1009
1008
  };
1010
1009
  version: number;
1011
- teamId: string;
1012
1010
  projectSlug: string;
1013
1011
  updatedAt: string;
1014
1012
  markdown: string;
@@ -1025,9 +1023,9 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
1025
1023
  requiresFeedback: boolean;
1026
1024
  }[];
1027
1025
  comments: {
1026
+ createdAt: string;
1028
1027
  kind: "comment" | "answer" | "reply";
1029
1028
  id: string;
1030
- createdAt: string;
1031
1029
  provenance: {
1032
1030
  digest: string | null;
1033
1031
  repositoryId: string | null;
@@ -1041,17 +1039,19 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
1041
1039
  }[];
1042
1040
  etag: string;
1043
1041
  };
1042
+ receipts: Record<string, unknown>[];
1043
+ replayed: boolean;
1044
1044
  action?: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen" | undefined;
1045
1045
  }, {
1046
1046
  schemaVersion: "treeseed.inbox-mutation-receipt/v1";
1047
- replayed: boolean;
1048
1047
  item: {
1048
+ teamId: string;
1049
+ schemaVersion: "treeseed.inbox-item/v1";
1049
1050
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
1051
+ createdAt: string;
1050
1052
  kind: "proposal" | "question";
1051
1053
  id: string;
1052
- schemaVersion: "treeseed.inbox-item/v1";
1053
1054
  projectId: string;
1054
- createdAt: string;
1055
1055
  provenance: {
1056
1056
  digest: string | null;
1057
1057
  repositoryId: string | null;
@@ -1059,7 +1059,6 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
1059
1059
  commitSha: string | null;
1060
1060
  };
1061
1061
  version: number;
1062
- teamId: string;
1063
1062
  projectSlug: string;
1064
1063
  updatedAt: string;
1065
1064
  markdown: string;
@@ -1076,9 +1075,9 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
1076
1075
  requiresFeedback: boolean;
1077
1076
  }[];
1078
1077
  comments: {
1078
+ createdAt: string;
1079
1079
  kind: "comment" | "answer" | "reply";
1080
1080
  id: string;
1081
- createdAt: string;
1082
1081
  provenance: {
1083
1082
  digest: string | null;
1084
1083
  repositoryId: string | null;
@@ -1092,6 +1091,7 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
1092
1091
  }[];
1093
1092
  etag: string;
1094
1093
  };
1094
+ replayed: boolean;
1095
1095
  action?: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen" | undefined;
1096
1096
  receipts?: Record<string, unknown>[] | undefined;
1097
1097
  }>;