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

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 +631 -631
  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 +36 -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
@@ -2,7 +2,7 @@ import type { ControlPlaneOperationDescriptor } from './control-plane-operation.
2
2
  export declare const CONTROL_PLANE_OPERATIONS: {
3
3
  readonly capabilities: {
4
4
  list: import("./control-plane-operation.js").ControlPlaneOperationBinding<{}, {
5
- status?: "active" | "deprecated" | "revoked" | undefined;
5
+ status?: "revoked" | "active" | "deprecated" | undefined;
6
6
  family?: string | undefined;
7
7
  cursor?: string | undefined;
8
8
  limit?: number | undefined;
@@ -10,18 +10,24 @@ export declare const CONTROL_PLANE_OPERATIONS: {
10
10
  }, undefined, {
11
11
  generation: number;
12
12
  items: {
13
+ status: "revoked" | "active" | "deprecated";
13
14
  schemaVersion: "treeseed.capability-definition/v1";
14
- status: "active" | "deprecated" | "revoked";
15
- createdAt: string;
16
15
  id: string;
17
- outputs: {
16
+ version: string;
17
+ digest: string;
18
+ inputs: {
18
19
  id: string;
20
+ version: string;
19
21
  digest: string;
22
+ mediaTypes?: string[] | undefined;
23
+ }[];
24
+ createdAt: string;
25
+ outputs: {
26
+ id: string;
20
27
  version: string;
28
+ digest: string;
21
29
  mediaTypes?: string[] | undefined;
22
30
  }[];
23
- digest: string;
24
- version: string;
25
31
  description: string;
26
32
  configuration: {
27
33
  key: string;
@@ -33,24 +39,18 @@ export declare const CONTROL_PLANE_OPERATIONS: {
33
39
  family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
34
40
  title: string;
35
41
  features: string[];
36
- inputs: {
37
- id: string;
38
- digest: string;
39
- version: string;
40
- mediaTypes?: string[] | undefined;
41
- }[];
42
42
  permissionClasses: string[];
43
43
  contextModes: string[];
44
44
  interactionModes: string[];
45
45
  implies: {
46
46
  id: string;
47
- digest: string;
48
47
  version: string;
48
+ digest: string;
49
49
  }[];
50
50
  conflicts: {
51
51
  id: string;
52
- digest: string;
53
52
  version: string;
53
+ digest: string;
54
54
  }[];
55
55
  qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
56
56
  }[];
@@ -62,18 +62,24 @@ export declare const CONTROL_PLANE_OPERATIONS: {
62
62
  }, {
63
63
  version?: string | undefined;
64
64
  }, undefined, {
65
+ status: "revoked" | "active" | "deprecated";
65
66
  schemaVersion: "treeseed.capability-definition/v1";
66
- status: "active" | "deprecated" | "revoked";
67
- createdAt: string;
68
67
  id: string;
69
- outputs: {
68
+ version: string;
69
+ digest: string;
70
+ inputs: {
70
71
  id: string;
72
+ version: string;
71
73
  digest: string;
74
+ mediaTypes?: string[] | undefined;
75
+ }[];
76
+ createdAt: string;
77
+ outputs: {
78
+ id: string;
72
79
  version: string;
80
+ digest: string;
73
81
  mediaTypes?: string[] | undefined;
74
82
  }[];
75
- digest: string;
76
- version: string;
77
83
  description: string;
78
84
  configuration: {
79
85
  key: string;
@@ -85,45 +91,45 @@ export declare const CONTROL_PLANE_OPERATIONS: {
85
91
  family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
86
92
  title: string;
87
93
  features: string[];
88
- inputs: {
89
- id: string;
90
- digest: string;
91
- version: string;
92
- mediaTypes?: string[] | undefined;
93
- }[];
94
94
  permissionClasses: string[];
95
95
  contextModes: string[];
96
96
  interactionModes: string[];
97
97
  implies: {
98
98
  id: string;
99
- digest: string;
100
99
  version: string;
100
+ digest: string;
101
101
  }[];
102
102
  conflicts: {
103
103
  id: string;
104
- digest: string;
105
104
  version: string;
105
+ digest: string;
106
106
  }[];
107
107
  qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
108
108
  }>;
109
109
  generation: import("./control-plane-operation.js").ControlPlaneOperationBinding<{}, {}, undefined, {
110
110
  schemaVersion: "treeseed.capability-ontology/v1";
111
+ digest: string;
111
112
  createdAt: string;
112
113
  generation: number;
113
- digest: string;
114
114
  definitions: {
115
+ status: "revoked" | "active" | "deprecated";
115
116
  schemaVersion: "treeseed.capability-definition/v1";
116
- status: "active" | "deprecated" | "revoked";
117
- createdAt: string;
118
117
  id: string;
119
- outputs: {
118
+ version: string;
119
+ digest: string;
120
+ inputs: {
120
121
  id: string;
122
+ version: string;
121
123
  digest: string;
124
+ mediaTypes?: string[] | undefined;
125
+ }[];
126
+ createdAt: string;
127
+ outputs: {
128
+ id: string;
122
129
  version: string;
130
+ digest: string;
123
131
  mediaTypes?: string[] | undefined;
124
132
  }[];
125
- digest: string;
126
- version: string;
127
133
  description: string;
128
134
  configuration: {
129
135
  key: string;
@@ -135,24 +141,18 @@ export declare const CONTROL_PLANE_OPERATIONS: {
135
141
  family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
136
142
  title: string;
137
143
  features: string[];
138
- inputs: {
139
- id: string;
140
- digest: string;
141
- version: string;
142
- mediaTypes?: string[] | undefined;
143
- }[];
144
144
  permissionClasses: string[];
145
145
  contextModes: string[];
146
146
  interactionModes: string[];
147
147
  implies: {
148
148
  id: string;
149
- digest: string;
150
149
  version: string;
150
+ digest: string;
151
151
  }[];
152
152
  conflicts: {
153
153
  id: string;
154
- digest: string;
155
154
  version: string;
155
+ digest: string;
156
156
  }[];
157
157
  qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
158
158
  }[];
@@ -167,21 +167,21 @@ export declare const CONTROL_PLANE_OPERATIONS: {
167
167
  list: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
168
168
  teamId: string;
169
169
  }, {
170
- kind?: "all" | "proposal" | "question" | undefined;
171
170
  projectId?: string | undefined;
172
171
  state?: "all" | "outstanding" | undefined;
172
+ kind?: "all" | "proposal" | "question" | undefined;
173
173
  cursor?: string | undefined;
174
174
  limit?: number | undefined;
175
175
  }, undefined, {
176
176
  schemaVersion: "treeseed.inbox-page/v1";
177
177
  items: {
178
- teamId: string;
179
178
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
180
- createdAt: string;
181
- kind: "proposal" | "question";
182
179
  id: string;
183
- projectId: string;
184
180
  version: number;
181
+ projectId: string;
182
+ teamId: string;
183
+ createdAt: string;
184
+ kind: "proposal" | "question";
185
185
  projectSlug: string;
186
186
  updatedAt: string;
187
187
  authorId: string;
@@ -195,20 +195,20 @@ export declare const CONTROL_PLANE_OPERATIONS: {
195
195
  teamId: string;
196
196
  itemId: string;
197
197
  }, {}, undefined, {
198
- teamId: string;
199
- schemaVersion: "treeseed.inbox-item/v1";
200
198
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
201
- createdAt: string;
202
- kind: "proposal" | "question";
199
+ schemaVersion: "treeseed.inbox-item/v1";
203
200
  id: string;
201
+ version: number;
204
202
  projectId: string;
203
+ teamId: string;
204
+ createdAt: string;
205
+ kind: "proposal" | "question";
205
206
  provenance: {
206
207
  digest: string | null;
207
208
  repositoryId: string | null;
208
209
  contentPath: string | null;
209
210
  commitSha: string | null;
210
211
  };
211
- version: number;
212
212
  projectSlug: string;
213
213
  updatedAt: string;
214
214
  markdown: string;
@@ -217,17 +217,17 @@ export declare const CONTROL_PLANE_OPERATIONS: {
217
217
  authorLabel: string;
218
218
  title: string;
219
219
  availableActions: {
220
+ action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
220
221
  reason: string | null;
221
222
  label: string;
222
223
  enabled: boolean;
223
- action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
224
224
  confirmation: "never" | "input_required";
225
225
  requiresFeedback: boolean;
226
226
  }[];
227
227
  comments: {
228
+ id: string;
228
229
  createdAt: string;
229
230
  kind: "comment" | "answer" | "reply";
230
- id: string;
231
231
  provenance: {
232
232
  digest: string | null;
233
233
  repositoryId: string | null;
@@ -250,12 +250,12 @@ export declare const CONTROL_PLANE_OPERATIONS: {
250
250
  }, undefined, {
251
251
  cursor: string;
252
252
  events: {
253
+ type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
254
+ schemaVersion: "treeseed.inbox-event/v1";
255
+ id: string;
253
256
  teamId: string;
254
257
  sequence: string;
255
- schemaVersion: "treeseed.inbox-event/v1";
256
- type: "item.created" | "item.updated" | "item.deleted" | "draft.updated" | "comment.created" | "question.answered" | "question.reopened" | "proposal.revised" | "proposal.decided";
257
258
  payload: Record<string, unknown>;
258
- id: string;
259
259
  summary: string;
260
260
  occurredAt: string;
261
261
  itemId: string | null;
@@ -273,20 +273,20 @@ export declare const CONTROL_PLANE_OPERATIONS: {
273
273
  }, {
274
274
  schemaVersion: "treeseed.inbox-mutation-receipt/v1";
275
275
  item: {
276
- teamId: string;
277
- schemaVersion: "treeseed.inbox-item/v1";
278
276
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
279
- createdAt: string;
280
- kind: "proposal" | "question";
277
+ schemaVersion: "treeseed.inbox-item/v1";
281
278
  id: string;
279
+ version: number;
282
280
  projectId: string;
281
+ teamId: string;
282
+ createdAt: string;
283
+ kind: "proposal" | "question";
283
284
  provenance: {
284
285
  digest: string | null;
285
286
  repositoryId: string | null;
286
287
  contentPath: string | null;
287
288
  commitSha: string | null;
288
289
  };
289
- version: number;
290
290
  projectSlug: string;
291
291
  updatedAt: string;
292
292
  markdown: string;
@@ -295,17 +295,17 @@ export declare const CONTROL_PLANE_OPERATIONS: {
295
295
  authorLabel: string;
296
296
  title: string;
297
297
  availableActions: {
298
+ action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
298
299
  reason: string | null;
299
300
  label: string;
300
301
  enabled: boolean;
301
- action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
302
302
  confirmation: "never" | "input_required";
303
303
  requiresFeedback: boolean;
304
304
  }[];
305
305
  comments: {
306
+ id: string;
306
307
  createdAt: string;
307
308
  kind: "comment" | "answer" | "reply";
308
- id: string;
309
309
  provenance: {
310
310
  digest: string | null;
311
311
  repositoryId: string | null;
@@ -324,12 +324,12 @@ export declare const CONTROL_PLANE_OPERATIONS: {
324
324
  receipts?: Record<string, unknown>[] | undefined;
325
325
  }>;
326
326
  getDraft: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
327
- purpose: "feedback" | "proposal_revision";
328
327
  teamId: string;
328
+ purpose: "feedback" | "proposal_revision";
329
329
  itemId: string;
330
330
  }, {}, undefined, {
331
- purpose: "feedback" | "proposal_revision";
332
331
  schemaVersion: "treeseed.inbox-draft/v1";
332
+ purpose: "feedback" | "proposal_revision";
333
333
  revision: number;
334
334
  updatedAt: string;
335
335
  markdown: string;
@@ -338,15 +338,15 @@ export declare const CONTROL_PLANE_OPERATIONS: {
338
338
  baseVersion: number;
339
339
  } | null>;
340
340
  putDraft: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
341
- purpose: "feedback" | "proposal_revision";
342
341
  teamId: string;
342
+ purpose: "feedback" | "proposal_revision";
343
343
  itemId: string;
344
344
  }, {}, {
345
345
  markdown: string;
346
346
  baseVersion: number;
347
347
  }, {
348
- purpose: "feedback" | "proposal_revision";
349
348
  schemaVersion: "treeseed.inbox-draft/v1";
349
+ purpose: "feedback" | "proposal_revision";
350
350
  revision: number;
351
351
  updatedAt: string;
352
352
  markdown: string;
@@ -355,8 +355,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
355
355
  baseVersion: number;
356
356
  }>;
357
357
  deleteDraft: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
358
- purpose: "feedback" | "proposal_revision";
359
358
  teamId: string;
359
+ purpose: "feedback" | "proposal_revision";
360
360
  itemId: string;
361
361
  }, {}, {}, {
362
362
  deleted: boolean;
@@ -373,20 +373,20 @@ export declare const CONTROL_PLANE_OPERATIONS: {
373
373
  }, {
374
374
  schemaVersion: "treeseed.inbox-mutation-receipt/v1";
375
375
  item: {
376
- teamId: string;
377
- schemaVersion: "treeseed.inbox-item/v1";
378
376
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
379
- createdAt: string;
380
- kind: "proposal" | "question";
377
+ schemaVersion: "treeseed.inbox-item/v1";
381
378
  id: string;
379
+ version: number;
382
380
  projectId: string;
381
+ teamId: string;
382
+ createdAt: string;
383
+ kind: "proposal" | "question";
383
384
  provenance: {
384
385
  digest: string | null;
385
386
  repositoryId: string | null;
386
387
  contentPath: string | null;
387
388
  commitSha: string | null;
388
389
  };
389
- version: number;
390
390
  projectSlug: string;
391
391
  updatedAt: string;
392
392
  markdown: string;
@@ -395,17 +395,17 @@ export declare const CONTROL_PLANE_OPERATIONS: {
395
395
  authorLabel: string;
396
396
  title: string;
397
397
  availableActions: {
398
+ action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
398
399
  reason: string | null;
399
400
  label: string;
400
401
  enabled: boolean;
401
- action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
402
402
  confirmation: "never" | "input_required";
403
403
  requiresFeedback: boolean;
404
404
  }[];
405
405
  comments: {
406
+ id: string;
406
407
  createdAt: string;
407
408
  kind: "comment" | "answer" | "reply";
408
- id: string;
409
409
  provenance: {
410
410
  digest: string | null;
411
411
  repositoryId: string | null;
@@ -825,23 +825,23 @@ export declare const CONTROL_PLANE_OPERATIONS: {
825
825
  projectId: string;
826
826
  }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
827
827
  readonly putWorkflowSecret: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
828
- projectId: string;
829
828
  name: string;
829
+ projectId: string;
830
830
  }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
831
831
  readonly deleteWorkflowSecret: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
832
- projectId: string;
833
832
  name: string;
833
+ projectId: string;
834
834
  }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
835
835
  readonly workflowVariables: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
836
836
  projectId: string;
837
837
  }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
838
838
  readonly putWorkflowVariable: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
839
- projectId: string;
840
839
  name: string;
840
+ projectId: string;
841
841
  }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
842
842
  readonly deleteWorkflowVariable: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
843
- projectId: string;
844
843
  name: string;
844
+ projectId: string;
845
845
  }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
846
846
  };
847
847
  readonly services: {
@@ -870,8 +870,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
870
870
  }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
871
871
  readonly putAuthority: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
872
872
  teamId: string;
873
- connectionId: string;
874
873
  profileId: string;
874
+ connectionId: string;
875
875
  }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
876
876
  };
877
877
  readonly agents: {
@@ -926,22 +926,19 @@ export declare const CONTROL_PLANE_OPERATIONS: {
926
926
  timeoutSeconds?: number | undefined;
927
927
  recipients?: string[] | undefined;
928
928
  }, {
929
- teamId: string;
930
- sendId: string;
931
- schemaVersion: "treeseed.communication-send-receipt/v4";
932
929
  status: "failed" | "running" | "partial" | "complete" | "queued";
933
- createdAt: string;
930
+ schemaVersion: "treeseed.communication-send-receipt/v4";
934
931
  targets: {
935
- invocationId: string | null;
936
932
  status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
937
933
  projectId: string;
934
+ invocationId: string | null;
938
935
  completedAt: string | null;
939
936
  agentSlug: string;
940
937
  capacity: {
941
- assignmentId: string | null;
942
938
  status: string | null;
943
- completedAt: string | null;
944
939
  providerId: string | null;
940
+ assignmentId: string | null;
941
+ completedAt: string | null;
945
942
  executionProviderId: string | null;
946
943
  laneId: string | null;
947
944
  lanePurpose: string | null;
@@ -952,17 +949,17 @@ export declare const CONTROL_PLANE_OPERATIONS: {
952
949
  };
953
950
  diagnostics: {
954
951
  resources: Record<string, unknown>;
952
+ selection: {
953
+ capabilities: string[];
954
+ parameters: Record<string, unknown>;
955
+ model: string | null;
956
+ };
955
957
  reason: string | null;
956
958
  provider: {
957
959
  providerId: string | null;
958
960
  executionProviderId: string | null;
959
961
  runtimeVersion: string | null;
960
962
  };
961
- selection: {
962
- parameters: Record<string, unknown>;
963
- capabilities: string[];
964
- model: string | null;
965
- };
966
963
  usage: Record<string, unknown>[];
967
964
  availability: "available" | "unavailable" | "partial";
968
965
  identityManifest: Record<string, unknown>;
@@ -991,12 +988,15 @@ export declare const CONTROL_PLANE_OPERATIONS: {
991
988
  acknowledgedAt: string | null;
992
989
  leaseAcceptedAt: string | null;
993
990
  }[];
991
+ teamId: string;
992
+ createdAt: string;
993
+ sendId: string;
994
994
  responses: {
995
- invocationId: string;
996
- assignmentId: string | null;
997
995
  status: "failed" | "cancelled" | "responded" | "abstained";
998
- createdAt: string;
999
996
  projectId: string;
997
+ createdAt: string;
998
+ assignmentId: string | null;
999
+ invocationId: string;
1000
1000
  agentSlug: string;
1001
1001
  projectSlug: string;
1002
1002
  requirement: "required" | "optional";
@@ -1005,22 +1005,22 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1005
1005
  }[];
1006
1006
  channel: string;
1007
1007
  topic: {
1008
- id: string;
1009
1008
  slug: string;
1009
+ id: string;
1010
1010
  };
1011
1011
  events: {
1012
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1013
+ id: string;
1012
1014
  teamId: string;
1015
+ assignmentId: string | null;
1013
1016
  topicId: string;
1014
1017
  sendId: string | null;
1015
1018
  invocationId: string | null;
1016
- assignmentId: string | null;
1017
1019
  sequence: number;
1018
- type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1019
1020
  payload: Record<string, unknown>;
1020
- id: string;
1021
1021
  actor: {
1022
- kind: "control-plane" | "provider" | "agent" | "user";
1023
1022
  id: string;
1023
+ kind: "control-plane" | "provider" | "agent" | "user";
1024
1024
  handle: string | null;
1025
1025
  };
1026
1026
  summary: string;
@@ -1043,22 +1043,19 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1043
1043
  }, {
1044
1044
  diagnostics?: "metadata" | "full" | undefined;
1045
1045
  }, undefined, {
1046
- teamId: string;
1047
- sendId: string;
1048
- schemaVersion: "treeseed.communication-send-receipt/v4";
1049
1046
  status: "failed" | "running" | "partial" | "complete" | "queued";
1050
- createdAt: string;
1047
+ schemaVersion: "treeseed.communication-send-receipt/v4";
1051
1048
  targets: {
1052
- invocationId: string | null;
1053
1049
  status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
1054
1050
  projectId: string;
1051
+ invocationId: string | null;
1055
1052
  completedAt: string | null;
1056
1053
  agentSlug: string;
1057
1054
  capacity: {
1058
- assignmentId: string | null;
1059
1055
  status: string | null;
1060
- completedAt: string | null;
1061
1056
  providerId: string | null;
1057
+ assignmentId: string | null;
1058
+ completedAt: string | null;
1062
1059
  executionProviderId: string | null;
1063
1060
  laneId: string | null;
1064
1061
  lanePurpose: string | null;
@@ -1069,17 +1066,17 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1069
1066
  };
1070
1067
  diagnostics: {
1071
1068
  resources: Record<string, unknown>;
1069
+ selection: {
1070
+ capabilities: string[];
1071
+ parameters: Record<string, unknown>;
1072
+ model: string | null;
1073
+ };
1072
1074
  reason: string | null;
1073
1075
  provider: {
1074
1076
  providerId: string | null;
1075
1077
  executionProviderId: string | null;
1076
1078
  runtimeVersion: string | null;
1077
1079
  };
1078
- selection: {
1079
- parameters: Record<string, unknown>;
1080
- capabilities: string[];
1081
- model: string | null;
1082
- };
1083
1080
  usage: Record<string, unknown>[];
1084
1081
  availability: "available" | "unavailable" | "partial";
1085
1082
  identityManifest: Record<string, unknown>;
@@ -1108,12 +1105,15 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1108
1105
  acknowledgedAt: string | null;
1109
1106
  leaseAcceptedAt: string | null;
1110
1107
  }[];
1108
+ teamId: string;
1109
+ createdAt: string;
1110
+ sendId: string;
1111
1111
  responses: {
1112
- invocationId: string;
1113
- assignmentId: string | null;
1114
1112
  status: "failed" | "cancelled" | "responded" | "abstained";
1115
- createdAt: string;
1116
1113
  projectId: string;
1114
+ createdAt: string;
1115
+ assignmentId: string | null;
1116
+ invocationId: string;
1117
1117
  agentSlug: string;
1118
1118
  projectSlug: string;
1119
1119
  requirement: "required" | "optional";
@@ -1122,22 +1122,22 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1122
1122
  }[];
1123
1123
  channel: string;
1124
1124
  topic: {
1125
- id: string;
1126
1125
  slug: string;
1126
+ id: string;
1127
1127
  };
1128
1128
  events: {
1129
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1130
+ id: string;
1129
1131
  teamId: string;
1132
+ assignmentId: string | null;
1130
1133
  topicId: string;
1131
1134
  sendId: string | null;
1132
1135
  invocationId: string | null;
1133
- assignmentId: string | null;
1134
1136
  sequence: number;
1135
- type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1136
1137
  payload: Record<string, unknown>;
1137
- id: string;
1138
1138
  actor: {
1139
- kind: "control-plane" | "provider" | "agent" | "user";
1140
1139
  id: string;
1140
+ kind: "control-plane" | "provider" | "agent" | "user";
1141
1141
  handle: string | null;
1142
1142
  };
1143
1143
  summary: string;
@@ -1162,12 +1162,12 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1162
1162
  limit?: number | undefined;
1163
1163
  }, undefined, {
1164
1164
  items: {
1165
- teamId: string;
1166
1165
  status: "active" | "archived";
1167
- createdAt: string;
1166
+ slug: string;
1168
1167
  id: string;
1168
+ teamId: string;
1169
+ createdAt: string;
1169
1170
  updatedAt: string;
1170
- slug: string;
1171
1171
  streams: {
1172
1172
  id: string;
1173
1173
  projectId: string;
@@ -1177,7 +1177,7 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1177
1177
  listeners: {
1178
1178
  status: "active" | "removed";
1179
1179
  projectId: string;
1180
- source: "operator" | "seed" | "mention";
1180
+ source: "seed" | "operator" | "mention";
1181
1181
  agentSlug: string;
1182
1182
  projectSlug: string;
1183
1183
  updatedAt: string;
@@ -1191,12 +1191,12 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1191
1191
  teamId: string;
1192
1192
  channel: string;
1193
1193
  }, {}, undefined, {
1194
- teamId: string;
1195
1194
  status: "active" | "archived";
1196
- createdAt: string;
1195
+ slug: string;
1197
1196
  id: string;
1197
+ teamId: string;
1198
+ createdAt: string;
1198
1199
  updatedAt: string;
1199
- slug: string;
1200
1200
  streams: {
1201
1201
  id: string;
1202
1202
  projectId: string;
@@ -1206,7 +1206,7 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1206
1206
  listeners: {
1207
1207
  status: "active" | "removed";
1208
1208
  projectId: string;
1209
- source: "operator" | "seed" | "mention";
1209
+ source: "seed" | "operator" | "mention";
1210
1210
  agentSlug: string;
1211
1211
  projectSlug: string;
1212
1212
  updatedAt: string;
@@ -1225,12 +1225,12 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1225
1225
  }, undefined, {
1226
1226
  cursor: string | null;
1227
1227
  topic: {
1228
- teamId: string;
1229
1228
  status: "active" | "archived";
1230
- createdAt: string;
1229
+ slug: string;
1231
1230
  id: string;
1231
+ teamId: string;
1232
+ createdAt: string;
1232
1233
  updatedAt: string;
1233
- slug: string;
1234
1234
  streams: {
1235
1235
  id: string;
1236
1236
  projectId: string;
@@ -1240,7 +1240,7 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1240
1240
  listeners: {
1241
1241
  status: "active" | "removed";
1242
1242
  projectId: string;
1243
- source: "operator" | "seed" | "mention";
1243
+ source: "seed" | "operator" | "mention";
1244
1244
  agentSlug: string;
1245
1245
  projectSlug: string;
1246
1246
  updatedAt: string;
@@ -1249,18 +1249,18 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1249
1249
  }[];
1250
1250
  };
1251
1251
  events: {
1252
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1253
+ id: string;
1252
1254
  teamId: string;
1255
+ assignmentId: string | null;
1253
1256
  topicId: string;
1254
1257
  sendId: string | null;
1255
1258
  invocationId: string | null;
1256
- assignmentId: string | null;
1257
1259
  sequence: number;
1258
- type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
1259
1260
  payload: Record<string, unknown>;
1260
- id: string;
1261
1261
  actor: {
1262
- kind: "control-plane" | "provider" | "agent" | "user";
1263
1262
  id: string;
1263
+ kind: "control-plane" | "provider" | "agent" | "user";
1264
1264
  handle: string | null;
1265
1265
  };
1266
1266
  summary: string;
@@ -1279,7 +1279,7 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1279
1279
  listener: {
1280
1280
  status: "active" | "removed";
1281
1281
  projectId: string;
1282
- source: "operator" | "seed" | "mention";
1282
+ source: "seed" | "operator" | "mention";
1283
1283
  agentSlug: string;
1284
1284
  projectSlug: string;
1285
1285
  updatedAt: string;
@@ -1298,7 +1298,7 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1298
1298
  listener: {
1299
1299
  status: "active" | "removed";
1300
1300
  projectId: string;
1301
- source: "operator" | "seed" | "mention";
1301
+ source: "seed" | "operator" | "mention";
1302
1302
  agentSlug: string;
1303
1303
  projectSlug: string;
1304
1304
  updatedAt: string;
@@ -1794,8 +1794,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1794
1794
  readonly traceEvent: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
1795
1795
  assignmentId: string;
1796
1796
  }, {}, {
1797
- sequence: number;
1798
1797
  type: string;
1798
+ sequence: number;
1799
1799
  payload: Record<string, unknown>;
1800
1800
  summary: string;
1801
1801
  occurredAt: string;
@@ -1839,16 +1839,16 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1839
1839
  teamId: string;
1840
1840
  }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1841
1841
  readonly show: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
1842
- teamId: string;
1843
1842
  requestId: string;
1843
+ teamId: string;
1844
1844
  }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1845
1845
  readonly approve: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
1846
- teamId: string;
1847
1846
  requestId: string;
1847
+ teamId: string;
1848
1848
  }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1849
1849
  readonly reject: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
1850
- teamId: string;
1851
1850
  requestId: string;
1851
+ teamId: string;
1852
1852
  }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
1853
1853
  };
1854
1854
  readonly credentials: {
@@ -1912,10 +1912,10 @@ export declare const CONTROL_PLANE_OPERATIONS: {
1912
1912
  markdown?: string | undefined;
1913
1913
  outcome?: "responded" | "abstained" | undefined;
1914
1914
  }, {
1915
- invocationId: string;
1916
- assignmentId: string;
1917
- schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
1918
1915
  status: "responded" | "abstained";
1916
+ schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
1917
+ assignmentId: string;
1918
+ invocationId: string;
1919
1919
  messageRef: string;
1920
1920
  settledAt: string;
1921
1921
  }>;