@treeseed/sdk 0.13.0-rc.60 → 0.13.0-rc.62

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 (35) hide show
  1. package/dist/.treeseed-build-complete.json +1 -1
  2. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +120 -120
  3. package/dist/capacity-provider/capability-ontology.d.ts +190 -190
  4. package/dist/capacity-provider/client.d.ts +3 -3
  5. package/dist/capacity-provider/core-capability-catalog.d.ts +13 -13
  6. package/dist/capacity-provider/environment-catalog.d.ts +62 -62
  7. package/dist/capacity-provider/sandbox-contracts.d.ts +66 -66
  8. package/dist/content/validation/agent-operational-content-schemas.d.ts +72 -72
  9. package/dist/content/validation/auxiliary-content-schemas.d.ts +74 -74
  10. package/dist/content/validation/content-model-schemas.d.ts +435 -435
  11. package/dist/content/validation/portable-content-data.d.ts +53 -53
  12. package/dist/deployment/ai-mode.d.ts +46 -46
  13. package/dist/deployment/schemas.d.ts +648 -648
  14. package/dist/development/schemas.d.ts +290 -290
  15. package/dist/operator-contracts/canonical-command-tree.js +10 -0
  16. package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +41 -41
  17. package/dist/operator-contracts/catalog/communication-operations.d.ts +62 -62
  18. package/dist/operator-contracts/catalog/inbox-operations.d.ts +34 -34
  19. package/dist/operator-contracts/communication/contracts.d.ts +228 -228
  20. package/dist/operator-contracts/control-plane-operations.d.ts +145 -145
  21. package/dist/operator-contracts/inbox/contracts.d.ts +108 -108
  22. package/dist/platform/contracts.d.ts +383 -0
  23. package/dist/platform/contracts.js +79 -0
  24. package/dist/platform/index.d.ts +5 -0
  25. package/dist/platform/index.js +5 -0
  26. package/dist/platform/inventory.d.ts +11 -0
  27. package/dist/platform/inventory.js +53 -0
  28. package/dist/platform/schemas.d.ts +806 -0
  29. package/dist/platform/schemas.js +68 -0
  30. package/dist/platform/verification.d.ts +9 -0
  31. package/dist/platform/verification.js +104 -0
  32. package/dist/platform/workset.d.ts +21 -0
  33. package/dist/platform/workset.js +102 -0
  34. package/dist/security/encrypted-envelope.d.ts +14 -14
  35. package/package.json +5 -1
@@ -39,47 +39,47 @@ export declare const communicationTopicEventSchema: z.ZodObject<{
39
39
  id: z.ZodString;
40
40
  handle: z.ZodNullable<z.ZodString>;
41
41
  }, "strict", z.ZodTypeAny, {
42
- kind: "control-plane" | "provider" | "agent" | "user";
43
42
  id: string;
43
+ kind: "control-plane" | "provider" | "agent" | "user";
44
44
  handle: string | null;
45
45
  }, {
46
- kind: "control-plane" | "provider" | "agent" | "user";
47
46
  id: string;
47
+ kind: "control-plane" | "provider" | "agent" | "user";
48
48
  handle: string | null;
49
49
  }>;
50
50
  summary: z.ZodString;
51
51
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
52
52
  }, "strict", z.ZodTypeAny, {
53
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
54
+ id: string;
53
55
  teamId: string;
56
+ assignmentId: string | null;
54
57
  topicId: string;
55
58
  sendId: string | null;
56
59
  invocationId: string | null;
57
- assignmentId: string | null;
58
60
  sequence: number;
59
- type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
60
61
  payload: Record<string, unknown>;
61
- id: string;
62
62
  actor: {
63
- kind: "control-plane" | "provider" | "agent" | "user";
64
63
  id: string;
64
+ kind: "control-plane" | "provider" | "agent" | "user";
65
65
  handle: string | null;
66
66
  };
67
67
  summary: string;
68
68
  channel: string;
69
69
  occurredAt: string;
70
70
  }, {
71
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
72
+ id: string;
71
73
  teamId: string;
74
+ assignmentId: string | null;
72
75
  topicId: string;
73
76
  sendId: string | null;
74
77
  invocationId: string | null;
75
- assignmentId: string | null;
76
78
  sequence: number;
77
- type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
78
79
  payload: Record<string, unknown>;
79
- id: string;
80
80
  actor: {
81
- kind: "control-plane" | "provider" | "agent" | "user";
82
81
  id: string;
82
+ kind: "control-plane" | "provider" | "agent" | "user";
83
83
  handle: string | null;
84
84
  };
85
85
  summary: string;
@@ -107,12 +107,12 @@ export declare const communicationDiagnosticSchema: z.ZodObject<{
107
107
  capabilities: z.ZodArray<z.ZodString, "many">;
108
108
  parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
109
109
  }, "strict", z.ZodTypeAny, {
110
- parameters: Record<string, unknown>;
111
110
  capabilities: string[];
111
+ parameters: Record<string, unknown>;
112
112
  model: string | null;
113
113
  }, {
114
- parameters: Record<string, unknown>;
115
114
  capabilities: string[];
115
+ parameters: Record<string, unknown>;
116
116
  model: string | null;
117
117
  }>;
118
118
  identityManifest: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -124,17 +124,17 @@ export declare const communicationDiagnosticSchema: z.ZodObject<{
124
124
  fullPayload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
125
125
  }, "strict", z.ZodTypeAny, {
126
126
  resources: Record<string, unknown>;
127
+ selection: {
128
+ capabilities: string[];
129
+ parameters: Record<string, unknown>;
130
+ model: string | null;
131
+ };
127
132
  reason: string | null;
128
133
  provider: {
129
134
  providerId: string | null;
130
135
  executionProviderId: string | null;
131
136
  runtimeVersion: string | null;
132
137
  };
133
- selection: {
134
- parameters: Record<string, unknown>;
135
- capabilities: string[];
136
- model: string | null;
137
- };
138
138
  usage: Record<string, unknown>[];
139
139
  availability: "available" | "unavailable" | "partial";
140
140
  identityManifest: Record<string, unknown>;
@@ -144,17 +144,17 @@ export declare const communicationDiagnosticSchema: z.ZodObject<{
144
144
  fullPayload?: Record<string, unknown> | undefined;
145
145
  }, {
146
146
  resources: Record<string, unknown>;
147
+ selection: {
148
+ capabilities: string[];
149
+ parameters: Record<string, unknown>;
150
+ model: string | null;
151
+ };
147
152
  reason: string | null;
148
153
  provider: {
149
154
  providerId: string | null;
150
155
  executionProviderId: string | null;
151
156
  runtimeVersion: string | null;
152
157
  };
153
- selection: {
154
- parameters: Record<string, unknown>;
155
- capabilities: string[];
156
- model: string | null;
157
- };
158
158
  usage: Record<string, unknown>[];
159
159
  availability: "available" | "unavailable" | "partial";
160
160
  identityManifest: Record<string, unknown>;
@@ -216,10 +216,10 @@ export declare const communicationTargetSchema: z.ZodObject<{
216
216
  returnedAt: z.ZodNullable<z.ZodString>;
217
217
  failedAt: z.ZodNullable<z.ZodString>;
218
218
  }, "strict", z.ZodTypeAny, {
219
- assignmentId: string | null;
220
219
  status: string | null;
221
- completedAt: string | null;
222
220
  providerId: string | null;
221
+ assignmentId: string | null;
222
+ completedAt: string | null;
223
223
  executionProviderId: string | null;
224
224
  laneId: string | null;
225
225
  lanePurpose: string | null;
@@ -228,10 +228,10 @@ export declare const communicationTargetSchema: z.ZodObject<{
228
228
  returnedAt: string | null;
229
229
  failedAt: string | null;
230
230
  }, {
231
- assignmentId: string | null;
232
231
  status: string | null;
233
- completedAt: string | null;
234
232
  providerId: string | null;
233
+ assignmentId: string | null;
234
+ completedAt: string | null;
235
235
  executionProviderId: string | null;
236
236
  laneId: string | null;
237
237
  lanePurpose: string | null;
@@ -263,12 +263,12 @@ export declare const communicationTargetSchema: z.ZodObject<{
263
263
  capabilities: z.ZodArray<z.ZodString, "many">;
264
264
  parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
265
265
  }, "strict", z.ZodTypeAny, {
266
- parameters: Record<string, unknown>;
267
266
  capabilities: string[];
267
+ parameters: Record<string, unknown>;
268
268
  model: string | null;
269
269
  }, {
270
- parameters: Record<string, unknown>;
271
270
  capabilities: string[];
271
+ parameters: Record<string, unknown>;
272
272
  model: string | null;
273
273
  }>;
274
274
  identityManifest: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -280,17 +280,17 @@ export declare const communicationTargetSchema: z.ZodObject<{
280
280
  fullPayload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
281
281
  }, "strict", z.ZodTypeAny, {
282
282
  resources: Record<string, unknown>;
283
+ selection: {
284
+ capabilities: string[];
285
+ parameters: Record<string, unknown>;
286
+ model: string | null;
287
+ };
283
288
  reason: string | null;
284
289
  provider: {
285
290
  providerId: string | null;
286
291
  executionProviderId: string | null;
287
292
  runtimeVersion: string | null;
288
293
  };
289
- selection: {
290
- parameters: Record<string, unknown>;
291
- capabilities: string[];
292
- model: string | null;
293
- };
294
294
  usage: Record<string, unknown>[];
295
295
  availability: "available" | "unavailable" | "partial";
296
296
  identityManifest: Record<string, unknown>;
@@ -300,17 +300,17 @@ export declare const communicationTargetSchema: z.ZodObject<{
300
300
  fullPayload?: Record<string, unknown> | undefined;
301
301
  }, {
302
302
  resources: Record<string, unknown>;
303
+ selection: {
304
+ capabilities: string[];
305
+ parameters: Record<string, unknown>;
306
+ model: string | null;
307
+ };
303
308
  reason: string | null;
304
309
  provider: {
305
310
  providerId: string | null;
306
311
  executionProviderId: string | null;
307
312
  runtimeVersion: string | null;
308
313
  };
309
- selection: {
310
- parameters: Record<string, unknown>;
311
- capabilities: string[];
312
- model: string | null;
313
- };
314
314
  usage: Record<string, unknown>[];
315
315
  availability: "available" | "unavailable" | "partial";
316
316
  identityManifest: Record<string, unknown>;
@@ -320,16 +320,16 @@ export declare const communicationTargetSchema: z.ZodObject<{
320
320
  fullPayload?: Record<string, unknown> | undefined;
321
321
  }>;
322
322
  }, "strict", z.ZodTypeAny, {
323
- invocationId: string | null;
324
323
  status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
325
324
  projectId: string;
325
+ invocationId: string | null;
326
326
  completedAt: string | null;
327
327
  agentSlug: string;
328
328
  capacity: {
329
- assignmentId: string | null;
330
329
  status: string | null;
331
- completedAt: string | null;
332
330
  providerId: string | null;
331
+ assignmentId: string | null;
332
+ completedAt: string | null;
333
333
  executionProviderId: string | null;
334
334
  laneId: string | null;
335
335
  lanePurpose: string | null;
@@ -340,17 +340,17 @@ export declare const communicationTargetSchema: z.ZodObject<{
340
340
  };
341
341
  diagnostics: {
342
342
  resources: Record<string, unknown>;
343
+ selection: {
344
+ capabilities: string[];
345
+ parameters: Record<string, unknown>;
346
+ model: string | null;
347
+ };
343
348
  reason: string | null;
344
349
  provider: {
345
350
  providerId: string | null;
346
351
  executionProviderId: string | null;
347
352
  runtimeVersion: string | null;
348
353
  };
349
- selection: {
350
- parameters: Record<string, unknown>;
351
- capabilities: string[];
352
- model: string | null;
353
- };
354
354
  usage: Record<string, unknown>[];
355
355
  availability: "available" | "unavailable" | "partial";
356
356
  identityManifest: Record<string, unknown>;
@@ -379,16 +379,16 @@ export declare const communicationTargetSchema: z.ZodObject<{
379
379
  acknowledgedAt: string | null;
380
380
  leaseAcceptedAt: string | null;
381
381
  }, {
382
- invocationId: string | null;
383
382
  status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
384
383
  projectId: string;
384
+ invocationId: string | null;
385
385
  completedAt: string | null;
386
386
  agentSlug: string;
387
387
  capacity: {
388
- assignmentId: string | null;
389
388
  status: string | null;
390
- completedAt: string | null;
391
389
  providerId: string | null;
390
+ assignmentId: string | null;
391
+ completedAt: string | null;
392
392
  executionProviderId: string | null;
393
393
  laneId: string | null;
394
394
  lanePurpose: string | null;
@@ -399,17 +399,17 @@ export declare const communicationTargetSchema: z.ZodObject<{
399
399
  };
400
400
  diagnostics: {
401
401
  resources: Record<string, unknown>;
402
+ selection: {
403
+ capabilities: string[];
404
+ parameters: Record<string, unknown>;
405
+ model: string | null;
406
+ };
402
407
  reason: string | null;
403
408
  provider: {
404
409
  providerId: string | null;
405
410
  executionProviderId: string | null;
406
411
  runtimeVersion: string | null;
407
412
  };
408
- selection: {
409
- parameters: Record<string, unknown>;
410
- capabilities: string[];
411
- model: string | null;
412
- };
413
413
  usage: Record<string, unknown>[];
414
414
  availability: "available" | "unavailable" | "partial";
415
415
  identityManifest: Record<string, unknown>;
@@ -451,22 +451,22 @@ export declare const communicationResponseSchema: z.ZodObject<{
451
451
  status: z.ZodEnum<["responded", "abstained", "failed", "cancelled"]>;
452
452
  createdAt: z.ZodString;
453
453
  }, "strict", z.ZodTypeAny, {
454
- invocationId: string;
455
- assignmentId: string | null;
456
454
  status: "failed" | "cancelled" | "responded" | "abstained";
457
- createdAt: string;
458
455
  projectId: string;
456
+ createdAt: string;
457
+ assignmentId: string | null;
458
+ invocationId: string;
459
459
  agentSlug: string;
460
460
  projectSlug: string;
461
461
  requirement: "required" | "optional";
462
462
  messageRef: string;
463
463
  markdown: string;
464
464
  }, {
465
- invocationId: string;
466
- assignmentId: string | null;
467
465
  status: "failed" | "cancelled" | "responded" | "abstained";
468
- createdAt: string;
469
466
  projectId: string;
467
+ createdAt: string;
468
+ assignmentId: string | null;
469
+ invocationId: string;
470
470
  agentSlug: string;
471
471
  projectSlug: string;
472
472
  requirement: "required" | "optional";
@@ -482,11 +482,11 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
482
482
  id: z.ZodString;
483
483
  slug: z.ZodString;
484
484
  }, "strict", z.ZodTypeAny, {
485
- id: string;
486
485
  slug: string;
487
- }, {
488
486
  id: string;
487
+ }, {
489
488
  slug: string;
489
+ id: string;
490
490
  }>;
491
491
  projectStreams: z.ZodArray<z.ZodObject<{
492
492
  id: z.ZodString;
@@ -561,10 +561,10 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
561
561
  returnedAt: z.ZodNullable<z.ZodString>;
562
562
  failedAt: z.ZodNullable<z.ZodString>;
563
563
  }, "strict", z.ZodTypeAny, {
564
- assignmentId: string | null;
565
564
  status: string | null;
566
- completedAt: string | null;
567
565
  providerId: string | null;
566
+ assignmentId: string | null;
567
+ completedAt: string | null;
568
568
  executionProviderId: string | null;
569
569
  laneId: string | null;
570
570
  lanePurpose: string | null;
@@ -573,10 +573,10 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
573
573
  returnedAt: string | null;
574
574
  failedAt: string | null;
575
575
  }, {
576
- assignmentId: string | null;
577
576
  status: string | null;
578
- completedAt: string | null;
579
577
  providerId: string | null;
578
+ assignmentId: string | null;
579
+ completedAt: string | null;
580
580
  executionProviderId: string | null;
581
581
  laneId: string | null;
582
582
  lanePurpose: string | null;
@@ -608,12 +608,12 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
608
608
  capabilities: z.ZodArray<z.ZodString, "many">;
609
609
  parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
610
610
  }, "strict", z.ZodTypeAny, {
611
- parameters: Record<string, unknown>;
612
611
  capabilities: string[];
612
+ parameters: Record<string, unknown>;
613
613
  model: string | null;
614
614
  }, {
615
- parameters: Record<string, unknown>;
616
615
  capabilities: string[];
616
+ parameters: Record<string, unknown>;
617
617
  model: string | null;
618
618
  }>;
619
619
  identityManifest: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -625,17 +625,17 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
625
625
  fullPayload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
626
626
  }, "strict", z.ZodTypeAny, {
627
627
  resources: Record<string, unknown>;
628
+ selection: {
629
+ capabilities: string[];
630
+ parameters: Record<string, unknown>;
631
+ model: string | null;
632
+ };
628
633
  reason: string | null;
629
634
  provider: {
630
635
  providerId: string | null;
631
636
  executionProviderId: string | null;
632
637
  runtimeVersion: string | null;
633
638
  };
634
- selection: {
635
- parameters: Record<string, unknown>;
636
- capabilities: string[];
637
- model: string | null;
638
- };
639
639
  usage: Record<string, unknown>[];
640
640
  availability: "available" | "unavailable" | "partial";
641
641
  identityManifest: Record<string, unknown>;
@@ -645,17 +645,17 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
645
645
  fullPayload?: Record<string, unknown> | undefined;
646
646
  }, {
647
647
  resources: Record<string, unknown>;
648
+ selection: {
649
+ capabilities: string[];
650
+ parameters: Record<string, unknown>;
651
+ model: string | null;
652
+ };
648
653
  reason: string | null;
649
654
  provider: {
650
655
  providerId: string | null;
651
656
  executionProviderId: string | null;
652
657
  runtimeVersion: string | null;
653
658
  };
654
- selection: {
655
- parameters: Record<string, unknown>;
656
- capabilities: string[];
657
- model: string | null;
658
- };
659
659
  usage: Record<string, unknown>[];
660
660
  availability: "available" | "unavailable" | "partial";
661
661
  identityManifest: Record<string, unknown>;
@@ -665,16 +665,16 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
665
665
  fullPayload?: Record<string, unknown> | undefined;
666
666
  }>;
667
667
  }, "strict", z.ZodTypeAny, {
668
- invocationId: string | null;
669
668
  status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
670
669
  projectId: string;
670
+ invocationId: string | null;
671
671
  completedAt: string | null;
672
672
  agentSlug: string;
673
673
  capacity: {
674
- assignmentId: string | null;
675
674
  status: string | null;
676
- completedAt: string | null;
677
675
  providerId: string | null;
676
+ assignmentId: string | null;
677
+ completedAt: string | null;
678
678
  executionProviderId: string | null;
679
679
  laneId: string | null;
680
680
  lanePurpose: string | null;
@@ -685,17 +685,17 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
685
685
  };
686
686
  diagnostics: {
687
687
  resources: Record<string, unknown>;
688
+ selection: {
689
+ capabilities: string[];
690
+ parameters: Record<string, unknown>;
691
+ model: string | null;
692
+ };
688
693
  reason: string | null;
689
694
  provider: {
690
695
  providerId: string | null;
691
696
  executionProviderId: string | null;
692
697
  runtimeVersion: string | null;
693
698
  };
694
- selection: {
695
- parameters: Record<string, unknown>;
696
- capabilities: string[];
697
- model: string | null;
698
- };
699
699
  usage: Record<string, unknown>[];
700
700
  availability: "available" | "unavailable" | "partial";
701
701
  identityManifest: Record<string, unknown>;
@@ -724,16 +724,16 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
724
724
  acknowledgedAt: string | null;
725
725
  leaseAcceptedAt: string | null;
726
726
  }, {
727
- invocationId: string | null;
728
727
  status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
729
728
  projectId: string;
729
+ invocationId: string | null;
730
730
  completedAt: string | null;
731
731
  agentSlug: string;
732
732
  capacity: {
733
- assignmentId: string | null;
734
733
  status: string | null;
735
- completedAt: string | null;
736
734
  providerId: string | null;
735
+ assignmentId: string | null;
736
+ completedAt: string | null;
737
737
  executionProviderId: string | null;
738
738
  laneId: string | null;
739
739
  lanePurpose: string | null;
@@ -744,17 +744,17 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
744
744
  };
745
745
  diagnostics: {
746
746
  resources: Record<string, unknown>;
747
+ selection: {
748
+ capabilities: string[];
749
+ parameters: Record<string, unknown>;
750
+ model: string | null;
751
+ };
747
752
  reason: string | null;
748
753
  provider: {
749
754
  providerId: string | null;
750
755
  executionProviderId: string | null;
751
756
  runtimeVersion: string | null;
752
757
  };
753
- selection: {
754
- parameters: Record<string, unknown>;
755
- capabilities: string[];
756
- model: string | null;
757
- };
758
758
  usage: Record<string, unknown>[];
759
759
  availability: "available" | "unavailable" | "partial";
760
760
  identityManifest: Record<string, unknown>;
@@ -796,22 +796,22 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
796
796
  status: z.ZodEnum<["responded", "abstained", "failed", "cancelled"]>;
797
797
  createdAt: z.ZodString;
798
798
  }, "strict", z.ZodTypeAny, {
799
- invocationId: string;
800
- assignmentId: string | null;
801
799
  status: "failed" | "cancelled" | "responded" | "abstained";
802
- createdAt: string;
803
800
  projectId: string;
801
+ createdAt: string;
802
+ assignmentId: string | null;
803
+ invocationId: string;
804
804
  agentSlug: string;
805
805
  projectSlug: string;
806
806
  requirement: "required" | "optional";
807
807
  messageRef: string;
808
808
  markdown: string;
809
809
  }, {
810
- invocationId: string;
811
- assignmentId: string | null;
812
810
  status: "failed" | "cancelled" | "responded" | "abstained";
813
- createdAt: string;
814
811
  projectId: string;
812
+ createdAt: string;
813
+ assignmentId: string | null;
814
+ invocationId: string;
815
815
  agentSlug: string;
816
816
  projectSlug: string;
817
817
  requirement: "required" | "optional";
@@ -834,47 +834,47 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
834
834
  id: z.ZodString;
835
835
  handle: z.ZodNullable<z.ZodString>;
836
836
  }, "strict", z.ZodTypeAny, {
837
- kind: "control-plane" | "provider" | "agent" | "user";
838
837
  id: string;
838
+ kind: "control-plane" | "provider" | "agent" | "user";
839
839
  handle: string | null;
840
840
  }, {
841
- kind: "control-plane" | "provider" | "agent" | "user";
842
841
  id: string;
842
+ kind: "control-plane" | "provider" | "agent" | "user";
843
843
  handle: string | null;
844
844
  }>;
845
845
  summary: z.ZodString;
846
846
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
847
847
  }, "strict", z.ZodTypeAny, {
848
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
849
+ id: string;
848
850
  teamId: string;
851
+ assignmentId: string | null;
849
852
  topicId: string;
850
853
  sendId: string | null;
851
854
  invocationId: string | null;
852
- assignmentId: string | null;
853
855
  sequence: number;
854
- type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
855
856
  payload: Record<string, unknown>;
856
- id: string;
857
857
  actor: {
858
- kind: "control-plane" | "provider" | "agent" | "user";
859
858
  id: string;
859
+ kind: "control-plane" | "provider" | "agent" | "user";
860
860
  handle: string | null;
861
861
  };
862
862
  summary: string;
863
863
  channel: string;
864
864
  occurredAt: string;
865
865
  }, {
866
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
867
+ id: string;
866
868
  teamId: string;
869
+ assignmentId: string | null;
867
870
  topicId: string;
868
871
  sendId: string | null;
869
872
  invocationId: string | null;
870
- assignmentId: string | null;
871
873
  sequence: number;
872
- type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
873
874
  payload: Record<string, unknown>;
874
- id: string;
875
875
  actor: {
876
- kind: "control-plane" | "provider" | "agent" | "user";
877
876
  id: string;
877
+ kind: "control-plane" | "provider" | "agent" | "user";
878
878
  handle: string | null;
879
879
  };
880
880
  summary: string;
@@ -885,22 +885,19 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
885
885
  updatedAt: z.ZodString;
886
886
  replayed: z.ZodBoolean;
887
887
  }, "strict", z.ZodTypeAny, {
888
- teamId: string;
889
- sendId: string;
890
- schemaVersion: "treeseed.communication-send-receipt/v4";
891
888
  status: "failed" | "running" | "partial" | "complete" | "queued";
892
- createdAt: string;
889
+ schemaVersion: "treeseed.communication-send-receipt/v4";
893
890
  targets: {
894
- invocationId: string | null;
895
891
  status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
896
892
  projectId: string;
893
+ invocationId: string | null;
897
894
  completedAt: string | null;
898
895
  agentSlug: string;
899
896
  capacity: {
900
- assignmentId: string | null;
901
897
  status: string | null;
902
- completedAt: string | null;
903
898
  providerId: string | null;
899
+ assignmentId: string | null;
900
+ completedAt: string | null;
904
901
  executionProviderId: string | null;
905
902
  laneId: string | null;
906
903
  lanePurpose: string | null;
@@ -911,17 +908,17 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
911
908
  };
912
909
  diagnostics: {
913
910
  resources: Record<string, unknown>;
911
+ selection: {
912
+ capabilities: string[];
913
+ parameters: Record<string, unknown>;
914
+ model: string | null;
915
+ };
914
916
  reason: string | null;
915
917
  provider: {
916
918
  providerId: string | null;
917
919
  executionProviderId: string | null;
918
920
  runtimeVersion: string | null;
919
921
  };
920
- selection: {
921
- parameters: Record<string, unknown>;
922
- capabilities: string[];
923
- model: string | null;
924
- };
925
922
  usage: Record<string, unknown>[];
926
923
  availability: "available" | "unavailable" | "partial";
927
924
  identityManifest: Record<string, unknown>;
@@ -950,12 +947,15 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
950
947
  acknowledgedAt: string | null;
951
948
  leaseAcceptedAt: string | null;
952
949
  }[];
950
+ teamId: string;
951
+ createdAt: string;
952
+ sendId: string;
953
953
  responses: {
954
- invocationId: string;
955
- assignmentId: string | null;
956
954
  status: "failed" | "cancelled" | "responded" | "abstained";
957
- createdAt: string;
958
955
  projectId: string;
956
+ createdAt: string;
957
+ assignmentId: string | null;
958
+ invocationId: string;
959
959
  agentSlug: string;
960
960
  projectSlug: string;
961
961
  requirement: "required" | "optional";
@@ -964,22 +964,22 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
964
964
  }[];
965
965
  channel: string;
966
966
  topic: {
967
- id: string;
968
967
  slug: string;
968
+ id: string;
969
969
  };
970
970
  events: {
971
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
972
+ id: string;
971
973
  teamId: string;
974
+ assignmentId: string | null;
972
975
  topicId: string;
973
976
  sendId: string | null;
974
977
  invocationId: string | null;
975
- assignmentId: string | null;
976
978
  sequence: number;
977
- type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
978
979
  payload: Record<string, unknown>;
979
- id: string;
980
980
  actor: {
981
- kind: "control-plane" | "provider" | "agent" | "user";
982
981
  id: string;
982
+ kind: "control-plane" | "provider" | "agent" | "user";
983
983
  handle: string | null;
984
984
  };
985
985
  summary: string;
@@ -996,22 +996,19 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
996
996
  }[];
997
997
  replayed: boolean;
998
998
  }, {
999
- teamId: string;
1000
- sendId: string;
1001
- schemaVersion: "treeseed.communication-send-receipt/v4";
1002
999
  status: "failed" | "running" | "partial" | "complete" | "queued";
1003
- createdAt: string;
1000
+ schemaVersion: "treeseed.communication-send-receipt/v4";
1004
1001
  targets: {
1005
- invocationId: string | null;
1006
1002
  status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
1007
1003
  projectId: string;
1004
+ invocationId: string | null;
1008
1005
  completedAt: string | null;
1009
1006
  agentSlug: string;
1010
1007
  capacity: {
1011
- assignmentId: string | null;
1012
1008
  status: string | null;
1013
- completedAt: string | null;
1014
1009
  providerId: string | null;
1010
+ assignmentId: string | null;
1011
+ completedAt: string | null;
1015
1012
  executionProviderId: string | null;
1016
1013
  laneId: string | null;
1017
1014
  lanePurpose: string | null;
@@ -1022,17 +1019,17 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
1022
1019
  };
1023
1020
  diagnostics: {
1024
1021
  resources: Record<string, unknown>;
1022
+ selection: {
1023
+ capabilities: string[];
1024
+ parameters: Record<string, unknown>;
1025
+ model: string | null;
1026
+ };
1025
1027
  reason: string | null;
1026
1028
  provider: {
1027
1029
  providerId: string | null;
1028
1030
  executionProviderId: string | null;
1029
1031
  runtimeVersion: string | null;
1030
1032
  };
1031
- selection: {
1032
- parameters: Record<string, unknown>;
1033
- capabilities: string[];
1034
- model: string | null;
1035
- };
1036
1033
  usage: Record<string, unknown>[];
1037
1034
  availability: "available" | "unavailable" | "partial";
1038
1035
  identityManifest: Record<string, unknown>;
@@ -1061,12 +1058,15 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
1061
1058
  acknowledgedAt: string | null;
1062
1059
  leaseAcceptedAt: string | null;
1063
1060
  }[];
1061
+ teamId: string;
1062
+ createdAt: string;
1063
+ sendId: string;
1064
1064
  responses: {
1065
- invocationId: string;
1066
- assignmentId: string | null;
1067
1065
  status: "failed" | "cancelled" | "responded" | "abstained";
1068
- createdAt: string;
1069
1066
  projectId: string;
1067
+ createdAt: string;
1068
+ assignmentId: string | null;
1069
+ invocationId: string;
1070
1070
  agentSlug: string;
1071
1071
  projectSlug: string;
1072
1072
  requirement: "required" | "optional";
@@ -1075,22 +1075,22 @@ export declare const communicationSendReceiptSchema: z.ZodObject<{
1075
1075
  }[];
1076
1076
  channel: string;
1077
1077
  topic: {
1078
- id: string;
1079
1078
  slug: string;
1079
+ id: string;
1080
1080
  };
1081
1081
  events: {
1082
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1083
+ id: string;
1082
1084
  teamId: string;
1085
+ assignmentId: string | null;
1083
1086
  topicId: string;
1084
1087
  sendId: string | null;
1085
1088
  invocationId: string | null;
1086
- assignmentId: string | null;
1087
1089
  sequence: number;
1088
- type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1089
1090
  payload: Record<string, unknown>;
1090
- id: string;
1091
1091
  actor: {
1092
- kind: "control-plane" | "provider" | "agent" | "user";
1093
1092
  id: string;
1093
+ kind: "control-plane" | "provider" | "agent" | "user";
1094
1094
  handle: string | null;
1095
1095
  };
1096
1096
  summary: string;
@@ -1120,7 +1120,7 @@ export declare const communicationTopicListenerSchema: z.ZodObject<{
1120
1120
  }, "strict", z.ZodTypeAny, {
1121
1121
  status: "active" | "removed";
1122
1122
  projectId: string;
1123
- source: "operator" | "seed" | "mention";
1123
+ source: "seed" | "operator" | "mention";
1124
1124
  agentSlug: string;
1125
1125
  projectSlug: string;
1126
1126
  updatedAt: string;
@@ -1129,7 +1129,7 @@ export declare const communicationTopicListenerSchema: z.ZodObject<{
1129
1129
  }, {
1130
1130
  status: "active" | "removed";
1131
1131
  projectId: string;
1132
- source: "operator" | "seed" | "mention";
1132
+ source: "seed" | "operator" | "mention";
1133
1133
  agentSlug: string;
1134
1134
  projectSlug: string;
1135
1135
  updatedAt: string;
@@ -1172,7 +1172,7 @@ export declare const communicationTopicSchema: z.ZodObject<{
1172
1172
  }, "strict", z.ZodTypeAny, {
1173
1173
  status: "active" | "removed";
1174
1174
  projectId: string;
1175
- source: "operator" | "seed" | "mention";
1175
+ source: "seed" | "operator" | "mention";
1176
1176
  agentSlug: string;
1177
1177
  projectSlug: string;
1178
1178
  updatedAt: string;
@@ -1181,7 +1181,7 @@ export declare const communicationTopicSchema: z.ZodObject<{
1181
1181
  }, {
1182
1182
  status: "active" | "removed";
1183
1183
  projectId: string;
1184
- source: "operator" | "seed" | "mention";
1184
+ source: "seed" | "operator" | "mention";
1185
1185
  agentSlug: string;
1186
1186
  projectSlug: string;
1187
1187
  updatedAt: string;
@@ -1189,12 +1189,12 @@ export declare const communicationTopicSchema: z.ZodObject<{
1189
1189
  subscribedAt: string;
1190
1190
  }>, "many">;
1191
1191
  }, "strict", z.ZodTypeAny, {
1192
- teamId: string;
1193
1192
  status: "active" | "archived";
1194
- createdAt: string;
1193
+ slug: string;
1195
1194
  id: string;
1195
+ teamId: string;
1196
+ createdAt: string;
1196
1197
  updatedAt: string;
1197
- slug: string;
1198
1198
  streams: {
1199
1199
  id: string;
1200
1200
  projectId: string;
@@ -1204,7 +1204,7 @@ export declare const communicationTopicSchema: z.ZodObject<{
1204
1204
  listeners: {
1205
1205
  status: "active" | "removed";
1206
1206
  projectId: string;
1207
- source: "operator" | "seed" | "mention";
1207
+ source: "seed" | "operator" | "mention";
1208
1208
  agentSlug: string;
1209
1209
  projectSlug: string;
1210
1210
  updatedAt: string;
@@ -1212,12 +1212,12 @@ export declare const communicationTopicSchema: z.ZodObject<{
1212
1212
  subscribedAt: string;
1213
1213
  }[];
1214
1214
  }, {
1215
- teamId: string;
1216
1215
  status: "active" | "archived";
1217
- createdAt: string;
1216
+ slug: string;
1218
1217
  id: string;
1218
+ teamId: string;
1219
+ createdAt: string;
1219
1220
  updatedAt: string;
1220
- slug: string;
1221
1221
  streams: {
1222
1222
  id: string;
1223
1223
  projectId: string;
@@ -1227,7 +1227,7 @@ export declare const communicationTopicSchema: z.ZodObject<{
1227
1227
  listeners: {
1228
1228
  status: "active" | "removed";
1229
1229
  projectId: string;
1230
- source: "operator" | "seed" | "mention";
1230
+ source: "seed" | "operator" | "mention";
1231
1231
  agentSlug: string;
1232
1232
  projectSlug: string;
1233
1233
  updatedAt: string;
@@ -1272,7 +1272,7 @@ export declare const communicationTopicPageSchema: z.ZodObject<{
1272
1272
  }, "strict", z.ZodTypeAny, {
1273
1273
  status: "active" | "removed";
1274
1274
  projectId: string;
1275
- source: "operator" | "seed" | "mention";
1275
+ source: "seed" | "operator" | "mention";
1276
1276
  agentSlug: string;
1277
1277
  projectSlug: string;
1278
1278
  updatedAt: string;
@@ -1281,7 +1281,7 @@ export declare const communicationTopicPageSchema: z.ZodObject<{
1281
1281
  }, {
1282
1282
  status: "active" | "removed";
1283
1283
  projectId: string;
1284
- source: "operator" | "seed" | "mention";
1284
+ source: "seed" | "operator" | "mention";
1285
1285
  agentSlug: string;
1286
1286
  projectSlug: string;
1287
1287
  updatedAt: string;
@@ -1289,12 +1289,12 @@ export declare const communicationTopicPageSchema: z.ZodObject<{
1289
1289
  subscribedAt: string;
1290
1290
  }>, "many">;
1291
1291
  }, "strict", z.ZodTypeAny, {
1292
- teamId: string;
1293
1292
  status: "active" | "archived";
1294
- createdAt: string;
1293
+ slug: string;
1295
1294
  id: string;
1295
+ teamId: string;
1296
+ createdAt: string;
1296
1297
  updatedAt: string;
1297
- slug: string;
1298
1298
  streams: {
1299
1299
  id: string;
1300
1300
  projectId: string;
@@ -1304,7 +1304,7 @@ export declare const communicationTopicPageSchema: z.ZodObject<{
1304
1304
  listeners: {
1305
1305
  status: "active" | "removed";
1306
1306
  projectId: string;
1307
- source: "operator" | "seed" | "mention";
1307
+ source: "seed" | "operator" | "mention";
1308
1308
  agentSlug: string;
1309
1309
  projectSlug: string;
1310
1310
  updatedAt: string;
@@ -1312,12 +1312,12 @@ export declare const communicationTopicPageSchema: z.ZodObject<{
1312
1312
  subscribedAt: string;
1313
1313
  }[];
1314
1314
  }, {
1315
- teamId: string;
1316
1315
  status: "active" | "archived";
1317
- createdAt: string;
1316
+ slug: string;
1318
1317
  id: string;
1318
+ teamId: string;
1319
+ createdAt: string;
1319
1320
  updatedAt: string;
1320
- slug: string;
1321
1321
  streams: {
1322
1322
  id: string;
1323
1323
  projectId: string;
@@ -1327,7 +1327,7 @@ export declare const communicationTopicPageSchema: z.ZodObject<{
1327
1327
  listeners: {
1328
1328
  status: "active" | "removed";
1329
1329
  projectId: string;
1330
- source: "operator" | "seed" | "mention";
1330
+ source: "seed" | "operator" | "mention";
1331
1331
  agentSlug: string;
1332
1332
  projectSlug: string;
1333
1333
  updatedAt: string;
@@ -1338,12 +1338,12 @@ export declare const communicationTopicPageSchema: z.ZodObject<{
1338
1338
  cursor: z.ZodNullable<z.ZodString>;
1339
1339
  }, "strict", z.ZodTypeAny, {
1340
1340
  items: {
1341
- teamId: string;
1342
1341
  status: "active" | "archived";
1343
- createdAt: string;
1342
+ slug: string;
1344
1343
  id: string;
1344
+ teamId: string;
1345
+ createdAt: string;
1345
1346
  updatedAt: string;
1346
- slug: string;
1347
1347
  streams: {
1348
1348
  id: string;
1349
1349
  projectId: string;
@@ -1353,7 +1353,7 @@ export declare const communicationTopicPageSchema: z.ZodObject<{
1353
1353
  listeners: {
1354
1354
  status: "active" | "removed";
1355
1355
  projectId: string;
1356
- source: "operator" | "seed" | "mention";
1356
+ source: "seed" | "operator" | "mention";
1357
1357
  agentSlug: string;
1358
1358
  projectSlug: string;
1359
1359
  updatedAt: string;
@@ -1364,12 +1364,12 @@ export declare const communicationTopicPageSchema: z.ZodObject<{
1364
1364
  cursor: string | null;
1365
1365
  }, {
1366
1366
  items: {
1367
- teamId: string;
1368
1367
  status: "active" | "archived";
1369
- createdAt: string;
1368
+ slug: string;
1370
1369
  id: string;
1370
+ teamId: string;
1371
+ createdAt: string;
1371
1372
  updatedAt: string;
1372
- slug: string;
1373
1373
  streams: {
1374
1374
  id: string;
1375
1375
  projectId: string;
@@ -1379,7 +1379,7 @@ export declare const communicationTopicPageSchema: z.ZodObject<{
1379
1379
  listeners: {
1380
1380
  status: "active" | "removed";
1381
1381
  projectId: string;
1382
- source: "operator" | "seed" | "mention";
1382
+ source: "seed" | "operator" | "mention";
1383
1383
  agentSlug: string;
1384
1384
  projectSlug: string;
1385
1385
  updatedAt: string;
@@ -1426,7 +1426,7 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
1426
1426
  }, "strict", z.ZodTypeAny, {
1427
1427
  status: "active" | "removed";
1428
1428
  projectId: string;
1429
- source: "operator" | "seed" | "mention";
1429
+ source: "seed" | "operator" | "mention";
1430
1430
  agentSlug: string;
1431
1431
  projectSlug: string;
1432
1432
  updatedAt: string;
@@ -1435,7 +1435,7 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
1435
1435
  }, {
1436
1436
  status: "active" | "removed";
1437
1437
  projectId: string;
1438
- source: "operator" | "seed" | "mention";
1438
+ source: "seed" | "operator" | "mention";
1439
1439
  agentSlug: string;
1440
1440
  projectSlug: string;
1441
1441
  updatedAt: string;
@@ -1443,12 +1443,12 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
1443
1443
  subscribedAt: string;
1444
1444
  }>, "many">;
1445
1445
  }, "strict", z.ZodTypeAny, {
1446
- teamId: string;
1447
1446
  status: "active" | "archived";
1448
- createdAt: string;
1447
+ slug: string;
1449
1448
  id: string;
1449
+ teamId: string;
1450
+ createdAt: string;
1450
1451
  updatedAt: string;
1451
- slug: string;
1452
1452
  streams: {
1453
1453
  id: string;
1454
1454
  projectId: string;
@@ -1458,7 +1458,7 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
1458
1458
  listeners: {
1459
1459
  status: "active" | "removed";
1460
1460
  projectId: string;
1461
- source: "operator" | "seed" | "mention";
1461
+ source: "seed" | "operator" | "mention";
1462
1462
  agentSlug: string;
1463
1463
  projectSlug: string;
1464
1464
  updatedAt: string;
@@ -1466,12 +1466,12 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
1466
1466
  subscribedAt: string;
1467
1467
  }[];
1468
1468
  }, {
1469
- teamId: string;
1470
1469
  status: "active" | "archived";
1471
- createdAt: string;
1470
+ slug: string;
1472
1471
  id: string;
1472
+ teamId: string;
1473
+ createdAt: string;
1473
1474
  updatedAt: string;
1474
- slug: string;
1475
1475
  streams: {
1476
1476
  id: string;
1477
1477
  projectId: string;
@@ -1481,7 +1481,7 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
1481
1481
  listeners: {
1482
1482
  status: "active" | "removed";
1483
1483
  projectId: string;
1484
- source: "operator" | "seed" | "mention";
1484
+ source: "seed" | "operator" | "mention";
1485
1485
  agentSlug: string;
1486
1486
  projectSlug: string;
1487
1487
  updatedAt: string;
@@ -1505,47 +1505,47 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
1505
1505
  id: z.ZodString;
1506
1506
  handle: z.ZodNullable<z.ZodString>;
1507
1507
  }, "strict", z.ZodTypeAny, {
1508
- kind: "control-plane" | "provider" | "agent" | "user";
1509
1508
  id: string;
1509
+ kind: "control-plane" | "provider" | "agent" | "user";
1510
1510
  handle: string | null;
1511
1511
  }, {
1512
- kind: "control-plane" | "provider" | "agent" | "user";
1513
1512
  id: string;
1513
+ kind: "control-plane" | "provider" | "agent" | "user";
1514
1514
  handle: string | null;
1515
1515
  }>;
1516
1516
  summary: z.ZodString;
1517
1517
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1518
1518
  }, "strict", z.ZodTypeAny, {
1519
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1520
+ id: string;
1519
1521
  teamId: string;
1522
+ assignmentId: string | null;
1520
1523
  topicId: string;
1521
1524
  sendId: string | null;
1522
1525
  invocationId: string | null;
1523
- assignmentId: string | null;
1524
1526
  sequence: number;
1525
- type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1526
1527
  payload: Record<string, unknown>;
1527
- id: string;
1528
1528
  actor: {
1529
- kind: "control-plane" | "provider" | "agent" | "user";
1530
1529
  id: string;
1530
+ kind: "control-plane" | "provider" | "agent" | "user";
1531
1531
  handle: string | null;
1532
1532
  };
1533
1533
  summary: string;
1534
1534
  channel: string;
1535
1535
  occurredAt: string;
1536
1536
  }, {
1537
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1538
+ id: string;
1537
1539
  teamId: string;
1540
+ assignmentId: string | null;
1538
1541
  topicId: string;
1539
1542
  sendId: string | null;
1540
1543
  invocationId: string | null;
1541
- assignmentId: string | null;
1542
1544
  sequence: number;
1543
- type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1544
1545
  payload: Record<string, unknown>;
1545
- id: string;
1546
1546
  actor: {
1547
- kind: "control-plane" | "provider" | "agent" | "user";
1548
1547
  id: string;
1548
+ kind: "control-plane" | "provider" | "agent" | "user";
1549
1549
  handle: string | null;
1550
1550
  };
1551
1551
  summary: string;
@@ -1556,12 +1556,12 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
1556
1556
  }, "strict", z.ZodTypeAny, {
1557
1557
  cursor: string | null;
1558
1558
  topic: {
1559
- teamId: string;
1560
1559
  status: "active" | "archived";
1561
- createdAt: string;
1560
+ slug: string;
1562
1561
  id: string;
1562
+ teamId: string;
1563
+ createdAt: string;
1563
1564
  updatedAt: string;
1564
- slug: string;
1565
1565
  streams: {
1566
1566
  id: string;
1567
1567
  projectId: string;
@@ -1571,7 +1571,7 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
1571
1571
  listeners: {
1572
1572
  status: "active" | "removed";
1573
1573
  projectId: string;
1574
- source: "operator" | "seed" | "mention";
1574
+ source: "seed" | "operator" | "mention";
1575
1575
  agentSlug: string;
1576
1576
  projectSlug: string;
1577
1577
  updatedAt: string;
@@ -1580,18 +1580,18 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
1580
1580
  }[];
1581
1581
  };
1582
1582
  events: {
1583
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1584
+ id: string;
1583
1585
  teamId: string;
1586
+ assignmentId: string | null;
1584
1587
  topicId: string;
1585
1588
  sendId: string | null;
1586
1589
  invocationId: string | null;
1587
- assignmentId: string | null;
1588
1590
  sequence: number;
1589
- type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1590
1591
  payload: Record<string, unknown>;
1591
- id: string;
1592
1592
  actor: {
1593
- kind: "control-plane" | "provider" | "agent" | "user";
1594
1593
  id: string;
1594
+ kind: "control-plane" | "provider" | "agent" | "user";
1595
1595
  handle: string | null;
1596
1596
  };
1597
1597
  summary: string;
@@ -1601,12 +1601,12 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
1601
1601
  }, {
1602
1602
  cursor: string | null;
1603
1603
  topic: {
1604
- teamId: string;
1605
1604
  status: "active" | "archived";
1606
- createdAt: string;
1605
+ slug: string;
1607
1606
  id: string;
1607
+ teamId: string;
1608
+ createdAt: string;
1608
1609
  updatedAt: string;
1609
- slug: string;
1610
1610
  streams: {
1611
1611
  id: string;
1612
1612
  projectId: string;
@@ -1616,7 +1616,7 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
1616
1616
  listeners: {
1617
1617
  status: "active" | "removed";
1618
1618
  projectId: string;
1619
- source: "operator" | "seed" | "mention";
1619
+ source: "seed" | "operator" | "mention";
1620
1620
  agentSlug: string;
1621
1621
  projectSlug: string;
1622
1622
  updatedAt: string;
@@ -1625,18 +1625,18 @@ export declare const communicationTopicTimelineSchema: z.ZodObject<{
1625
1625
  }[];
1626
1626
  };
1627
1627
  events: {
1628
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1629
+ id: string;
1628
1630
  teamId: string;
1631
+ assignmentId: string | null;
1629
1632
  topicId: string;
1630
1633
  sendId: string | null;
1631
1634
  invocationId: string | null;
1632
- assignmentId: string | null;
1633
1635
  sequence: number;
1634
- type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1635
1636
  payload: Record<string, unknown>;
1636
- id: string;
1637
1637
  actor: {
1638
- kind: "control-plane" | "provider" | "agent" | "user";
1639
1638
  id: string;
1639
+ kind: "control-plane" | "provider" | "agent" | "user";
1640
1640
  handle: string | null;
1641
1641
  };
1642
1642
  summary: string;
@@ -1666,7 +1666,7 @@ export declare const communicationTopicSubscriptionReceiptSchema: z.ZodObject<{
1666
1666
  }, "strict", z.ZodTypeAny, {
1667
1667
  status: "active" | "removed";
1668
1668
  projectId: string;
1669
- source: "operator" | "seed" | "mention";
1669
+ source: "seed" | "operator" | "mention";
1670
1670
  agentSlug: string;
1671
1671
  projectSlug: string;
1672
1672
  updatedAt: string;
@@ -1675,7 +1675,7 @@ export declare const communicationTopicSubscriptionReceiptSchema: z.ZodObject<{
1675
1675
  }, {
1676
1676
  status: "active" | "removed";
1677
1677
  projectId: string;
1678
- source: "operator" | "seed" | "mention";
1678
+ source: "seed" | "operator" | "mention";
1679
1679
  agentSlug: string;
1680
1680
  projectSlug: string;
1681
1681
  updatedAt: string;
@@ -1689,7 +1689,7 @@ export declare const communicationTopicSubscriptionReceiptSchema: z.ZodObject<{
1689
1689
  listener: {
1690
1690
  status: "active" | "removed";
1691
1691
  projectId: string;
1692
- source: "operator" | "seed" | "mention";
1692
+ source: "seed" | "operator" | "mention";
1693
1693
  agentSlug: string;
1694
1694
  projectSlug: string;
1695
1695
  updatedAt: string;
@@ -1702,7 +1702,7 @@ export declare const communicationTopicSubscriptionReceiptSchema: z.ZodObject<{
1702
1702
  listener: {
1703
1703
  status: "active" | "removed";
1704
1704
  projectId: string;
1705
- source: "operator" | "seed" | "mention";
1705
+ source: "seed" | "operator" | "mention";
1706
1706
  agentSlug: string;
1707
1707
  projectSlug: string;
1708
1708
  updatedAt: string;
@@ -1733,8 +1733,8 @@ export declare const providerCommunicationTraceEventRequestSchema: z.ZodObject<{
1733
1733
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1734
1734
  protectedPayload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1735
1735
  }, "strict", z.ZodTypeAny, {
1736
- sequence: number;
1737
1736
  type: string;
1737
+ sequence: number;
1738
1738
  payload: Record<string, unknown>;
1739
1739
  summary: string;
1740
1740
  occurredAt: string;
@@ -1742,8 +1742,8 @@ export declare const providerCommunicationTraceEventRequestSchema: z.ZodObject<{
1742
1742
  leaseToken: string;
1743
1743
  protectedPayload?: Record<string, unknown> | undefined;
1744
1744
  }, {
1745
- sequence: number;
1746
1745
  type: string;
1746
+ sequence: number;
1747
1747
  payload: Record<string, unknown>;
1748
1748
  summary: string;
1749
1749
  occurredAt: string;
@@ -1795,17 +1795,17 @@ export declare const providerDiscussionResponseReceiptSchema: z.ZodObject<{
1795
1795
  status: z.ZodEnum<["responded", "abstained"]>;
1796
1796
  settledAt: z.ZodString;
1797
1797
  }, "strict", z.ZodTypeAny, {
1798
- invocationId: string;
1799
- assignmentId: string;
1800
- schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
1801
1798
  status: "responded" | "abstained";
1799
+ schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
1800
+ assignmentId: string;
1801
+ invocationId: string;
1802
1802
  messageRef: string;
1803
1803
  settledAt: string;
1804
1804
  }, {
1805
- invocationId: string;
1806
- assignmentId: string;
1807
- schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
1808
1805
  status: "responded" | "abstained";
1806
+ schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
1807
+ assignmentId: string;
1808
+ invocationId: string;
1809
1809
  messageRef: string;
1810
1810
  settledAt: string;
1811
1811
  }>;