@treeseed/sdk 0.13.0-rc.121 → 0.13.0-rc.123

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 (157) hide show
  1. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +2365 -1275
  2. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +94 -28
  3. package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +38 -38
  4. package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.d.ts +2 -0
  5. package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.js +13 -0
  6. package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +2 -59
  7. package/dist/agent-capacity/contracts/capacity/providers/supply-policy.d.ts +126 -1
  8. package/dist/agent-capacity/contracts/capacity/providers/supply-policy.js +35 -1
  9. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +2 -4
  10. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +22 -16
  11. package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.d.ts +3 -42
  12. package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.js +8 -8
  13. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +244 -85
  14. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +54 -19
  15. package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +216 -70
  16. package/dist/agent-capacity/contracts/capacity/workdays/workday-records.js +19 -0
  17. package/dist/agent-capacity/contracts/configuration/configuration.d.ts +1 -1
  18. package/dist/agent-capacity/contracts/configuration/configuration.js +0 -2
  19. package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +55 -55
  20. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +119 -23
  21. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.js +16 -0
  22. package/dist/agent-capacity/contracts/runtime/runtime-observability.d.ts +2 -154
  23. package/dist/agent-capacity/contracts/support/agent-atlas.d.ts +0 -13
  24. package/dist/agent-capacity/contracts/support/execution-graph.d.ts +496 -292
  25. package/dist/agent-capacity/contracts/support/execution-graph.js +21 -19
  26. package/dist/agent-capacity/contracts/support/financial-records.d.ts +3 -6
  27. package/dist/agent-capacity/contracts/support/planning-records.d.ts +1 -87
  28. package/dist/agent-capacity/grant.d.ts +34 -0
  29. package/dist/agent-capacity/grant.js +4 -0
  30. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +1178 -1152
  31. package/dist/agent-capacity/validation/agent-definition-schema.js +21 -28
  32. package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +10 -10
  33. package/dist/agent-capacity/validation/agent-lab-forensics-schema.js +0 -1
  34. package/dist/agent-capacity/validation/assignment-records.d.ts +1 -6
  35. package/dist/agent-capacity/validation/assignment-records.js +49 -35
  36. package/dist/agent-capacity/validation/configuration.d.ts +1 -1
  37. package/dist/agent-capacity/validation/configuration.js +2 -6
  38. package/dist/agent-capacity/validation/grant.d.ts +11 -0
  39. package/dist/agent-capacity/validation/grant.js +31 -0
  40. package/dist/capacity/agents/agent-capacity.d.ts +3 -4
  41. package/dist/capacity/agents/agent-capacity.js +2 -3
  42. package/dist/capacity-provider/capability-ontology.d.ts +150 -150
  43. package/dist/capacity-provider/client.d.ts +15 -9
  44. package/dist/capacity-provider/client.js +1 -10
  45. package/dist/capacity-provider/contracts/capacity-facts.d.ts +0 -1
  46. package/dist/capacity-provider/contracts/environment-profiles.d.ts +44 -44
  47. package/dist/capacity-provider/contracts/governance.d.ts +2 -17
  48. package/dist/capacity-provider/contracts/index.d.ts +2 -0
  49. package/dist/capacity-provider/contracts/index.js +2 -0
  50. package/dist/capacity-provider/core-capability-catalog.d.ts +7 -7
  51. package/dist/capacity-provider/environment-catalog.d.ts +188 -188
  52. package/dist/capacity-provider/environment-catalog.js +1 -1
  53. package/dist/capacity-provider/install-configuration.d.ts +2 -2
  54. package/dist/capacity-provider/sandbox-contracts.d.ts +92 -92
  55. package/dist/capacity-provider/source-workspace.d.ts +166 -68
  56. package/dist/capacity-provider/source-workspace.js +5 -1
  57. package/dist/capacity-provider/validation.d.ts +10 -2
  58. package/dist/capacity-provider/validation.js +52 -22
  59. package/dist/content/validation/agent-operational-content-schemas.d.ts +144 -142
  60. package/dist/content/validation/agent-operational-content-schemas.js +2 -0
  61. package/dist/content/validation/auxiliary-content-schemas.d.ts +158 -158
  62. package/dist/content/validation/content-model-schemas.d.ts +9105 -5295
  63. package/dist/content/validation/content-model-schemas.js +192 -115
  64. package/dist/content/validation/portable-content-data.d.ts +411 -238
  65. package/dist/content/validation/portable-content-data.js +6 -1
  66. package/dist/content/validation/schema-constraints.d.ts +78 -0
  67. package/dist/content/validation/schema-constraints.js +149 -0
  68. package/dist/deployment/ai/storage.d.ts +24 -24
  69. package/dist/deployment/ai-hosting.d.ts +18 -18
  70. package/dist/deployment/ai-instance.d.ts +16 -16
  71. package/dist/deployment/ai-mode.d.ts +92 -92
  72. package/dist/deployment/hosted-topology-template.d.ts +44 -44
  73. package/dist/deployment/hosted-topology.d.ts +335 -335
  74. package/dist/deployment/postgres/contracts.d.ts +52 -52
  75. package/dist/deployment/postgres/transfer.d.ts +6 -6
  76. package/dist/deployment/schemas.d.ts +1114 -1114
  77. package/dist/development/schemas.d.ts +633 -633
  78. package/dist/graph/context-query-contracts.js +1 -1
  79. package/dist/guarantees/index.d.ts +26 -2
  80. package/dist/identity/contracts.js +6 -1
  81. package/dist/knowledge/contracts.d.ts +9 -2
  82. package/dist/knowledge/contracts.js +2 -2
  83. package/dist/model-registry/discussion-models.js +0 -1
  84. package/dist/operator-contracts/canonical-command-tree.js +25 -9
  85. package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +29 -29
  86. package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +30 -30
  87. package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +15 -13
  88. package/dist/operator-contracts/catalog/communication-operations.d.ts +176 -158
  89. package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +67 -67
  90. package/dist/operator-contracts/catalog/inbox-operations.d.ts +65 -65
  91. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +6 -6
  92. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +2 -1
  93. package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +10 -10
  94. package/dist/operator-contracts/catalog/provider-environment-operations.d.ts +3 -3
  95. package/dist/operator-contracts/catalog/services/secret-operations.d.ts +16 -8
  96. package/dist/operator-contracts/catalog/services/secret-operations.js +2 -1
  97. package/dist/operator-contracts/catalog/workdays/profile-operations.d.ts +11 -11
  98. package/dist/operator-contracts/catalog/workdays/selection-commands.js +3 -0
  99. package/dist/operator-contracts/communication/contracts.d.ts +537 -395
  100. package/dist/operator-contracts/communication/contracts.js +6 -1
  101. package/dist/operator-contracts/control-plane-operation.d.ts +7 -0
  102. package/dist/operator-contracts/control-plane-operation.js +6 -0
  103. package/dist/operator-contracts/control-plane-operations.d.ts +631 -610
  104. package/dist/operator-contracts/control-plane-operations.js +26 -12
  105. package/dist/operator-contracts/inbox/contracts.d.ts +229 -229
  106. package/dist/operator-contracts/knowledge/contracts.d.ts +16 -16
  107. package/dist/operator-contracts/mcp.js +4 -3
  108. package/dist/operator-contracts/workday-lifecycle.d.ts +192 -0
  109. package/dist/operator-contracts/workday-lifecycle.js +109 -45
  110. package/dist/platform/agent-schema-verification.d.ts +3 -0
  111. package/dist/platform/agent-schema-verification.js +377 -0
  112. package/dist/platform/contracts.d.ts +72 -72
  113. package/dist/platform/schemas.d.ts +144 -36
  114. package/dist/platform/schemas.js +26 -0
  115. package/dist/platform/verification.js +10 -0
  116. package/dist/sdk-types/support/planning-policy.d.ts +1 -1
  117. package/dist/sdk-types/support/sdk-search-request.d.ts +2 -2
  118. package/dist/secrets-capability/secret-contracts.d.ts +2 -2
  119. package/dist/secrets-capability/shared-access.d.ts +3 -3
  120. package/dist/secrets-capability/shared-resources.d.ts +50 -50
  121. package/dist/secrets-capability/vault-contracts.d.ts +2 -2
  122. package/dist/security/encrypted-envelope.d.ts +14 -14
  123. package/dist/treedx/client.d.ts +4 -4
  124. package/dist/treedx/index.d.ts +1 -1
  125. package/dist/treedx/index.js +1 -0
  126. package/dist/treedx/types.d.ts +286 -0
  127. package/dist/treedx/types.js +44 -0
  128. package/guarantees/agent/golden/component-boundaries.guarantee.yaml +12 -0
  129. package/guarantees/agent/golden/product-custody.guarantee.yaml +12 -0
  130. package/guarantees/agent/golden/product.guarantee.yaml +12 -0
  131. package/guarantees/agent/golden/scenes/component-boundaries.scene.yaml +837 -0
  132. package/guarantees/agent/golden/scenes/product-custody.scene.yaml +53 -0
  133. package/guarantees/agent/golden/scenes/product.scene.yaml +8 -0
  134. package/guarantees/verifiers/golden.verifiers.yaml +1429 -0
  135. package/package.json +9 -3
  136. package/tests/acceptance/golden-product.test.ts +205 -0
  137. package/tests/acceptance/golden-product.ts +404 -0
  138. package/tests/acceptance/product/base-red.ts +73 -0
  139. package/tests/acceptance/product/documentation-examples.ts +68 -0
  140. package/tests/acceptance/product/intent-runtime.ts +145 -0
  141. package/tests/acceptance/product/release-output.ts +160 -0
  142. package/tests/acceptance/product/research-artifact.ts +87 -0
  143. package/tests/acceptance/product/research-revision.ts +82 -0
  144. package/tests/acceptance/product/research-source.ts +91 -0
  145. package/tests/acceptance/product/test-chain.ts +192 -0
  146. package/treeseed.package.yaml +147 -0
  147. package/dist/.treeseed-build-complete.json +0 -1
  148. package/dist/agent-capacity/allocation.d.ts +0 -183
  149. package/dist/agent-capacity/allocation.js +0 -5
  150. package/dist/agent-capacity/artifact-mutation-receipt.d.ts +0 -49
  151. package/dist/agent-capacity/artifact-mutation-receipt.js +0 -36
  152. package/dist/agent-capacity/artifacts.d.ts +0 -123
  153. package/dist/agent-capacity/artifacts.js +0 -39
  154. package/dist/agent-capacity/contracts/support/decision-work.d.ts +0 -227
  155. package/dist/agent-capacity/contracts/support/decision-work.js +0 -0
  156. package/dist/agent-capacity/validation/allocation.d.ts +0 -12
  157. package/dist/agent-capacity/validation/allocation.js +0 -115
@@ -4,39 +4,61 @@ export declare function communicationOperations(): {
4
4
  channel: string;
5
5
  }, {}, {
6
6
  message: string;
7
+ parentWorkdayId?: string | undefined;
7
8
  timeoutSeconds?: number | undefined;
8
9
  recipients?: string[] | undefined;
9
10
  proposalId?: string | undefined;
10
- parentWorkdayId?: string | undefined;
11
11
  }, {
12
- status: "failed" | "running" | "partial" | "complete" | "queued";
12
+ status: "failed" | "running" | "partial" | "queued" | "complete";
13
13
  schemaVersion: "treeseed.communication-send-receipt/v4";
14
+ createdAt: string;
15
+ updatedAt: string;
16
+ teamId: string;
17
+ responses: {
18
+ status: "failed" | "cancelled" | "responded" | "abstained";
19
+ createdAt: string;
20
+ agentSlug: string;
21
+ assignmentId: string | null;
22
+ projectId: string;
23
+ requirement: "required" | "optional";
24
+ invocationId: string;
25
+ projectSlug: string;
26
+ messageRef: string;
27
+ markdown: string;
28
+ }[];
29
+ events: {
30
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
31
+ actor: {
32
+ kind: "provider" | "agent" | "user" | "control-plane";
33
+ id: string;
34
+ handle: string | null;
35
+ };
36
+ id: string;
37
+ summary: string;
38
+ assignmentId: string | null;
39
+ teamId: string;
40
+ sequence: number;
41
+ topicId: string;
42
+ sendId: string | null;
43
+ invocationId: string | null;
44
+ payload: Record<string, unknown>;
45
+ channel: string;
46
+ occurredAt: string;
47
+ }[];
14
48
  targets: {
15
49
  status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
50
+ updatedAt: string;
51
+ agentSlug: string;
16
52
  projectId: string;
17
- invocationId: string | null;
18
- completedAt: string | null;
19
53
  requirement: "required" | "optional";
20
- agentSlug: string;
21
- capacity: {
22
- status: string | null;
23
- providerId: string | null;
24
- assignmentId: string | null;
25
- completedAt: string | null;
26
- executionProviderId: string | null;
27
- laneId: string | null;
28
- lanePurpose: string | null;
29
- assignedAt: string | null;
30
- claimedAt: string | null;
31
- returnedAt: string | null;
32
- failedAt: string | null;
33
- };
54
+ depth: number;
34
55
  diagnostics: {
35
56
  provider: {
36
57
  providerId: string | null;
37
58
  executionProviderId: string | null;
38
59
  runtimeVersion: string | null;
39
60
  };
61
+ usage: Record<string, unknown>[];
40
62
  resources: Record<string, unknown>;
41
63
  selection: {
42
64
  capabilities: string[];
@@ -44,14 +66,28 @@ export declare function communicationOperations(): {
44
66
  parameters: Record<string, unknown>;
45
67
  };
46
68
  reason: string | null;
47
- usage: Record<string, unknown>[];
48
- availability: "available" | "unavailable" | "partial";
69
+ availability: "partial" | "unavailable" | "available";
49
70
  identityManifest: Record<string, unknown>;
50
71
  contextManifest: Record<string, unknown>[];
51
72
  timing: Record<string, unknown>;
52
73
  traceEvents: Record<string, unknown>[];
53
74
  fullPayload?: Record<string, unknown> | undefined;
54
75
  };
76
+ completedAt: string | null;
77
+ invocationId: string | null;
78
+ capacity: {
79
+ status: string | null;
80
+ claimedAt: string | null;
81
+ assignmentId: string | null;
82
+ providerId: string | null;
83
+ executionProviderId: string | null;
84
+ completedAt: string | null;
85
+ laneId: string | null;
86
+ lanePurpose: string | null;
87
+ assignedAt: string | null;
88
+ returnedAt: string | null;
89
+ failedAt: string | null;
90
+ };
55
91
  projectSlug: string;
56
92
  definitionRevision: string;
57
93
  revisions: {
@@ -61,9 +97,7 @@ export declare function communicationOperations(): {
61
97
  chatProfile: string;
62
98
  };
63
99
  parentInvocationId: string | null;
64
- depth: number;
65
100
  requestedAt: string;
66
- updatedAt: string;
67
101
  failure: {
68
102
  code: string;
69
103
  message: string | null;
@@ -71,89 +105,77 @@ export declare function communicationOperations(): {
71
105
  acknowledgedAt: string | null;
72
106
  leaseAcceptedAt: string | null;
73
107
  }[];
108
+ topic: {
109
+ id: string;
110
+ slug: string;
111
+ };
112
+ sendId: string;
113
+ channel: string;
114
+ projectStreams: {
115
+ id: string;
116
+ projectId: string;
117
+ discussionId: string;
118
+ projectSlug: string;
119
+ messageRef: string;
120
+ }[];
121
+ replayed: boolean;
122
+ }>;
123
+ sendStatus: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
74
124
  teamId: string;
75
- createdAt: string;
76
125
  sendId: string;
126
+ }, {
127
+ diagnostics?: "metadata" | "full" | undefined;
128
+ }, undefined, {
129
+ status: "failed" | "running" | "partial" | "queued" | "complete";
130
+ schemaVersion: "treeseed.communication-send-receipt/v4";
131
+ createdAt: string;
132
+ updatedAt: string;
133
+ teamId: string;
77
134
  responses: {
78
135
  status: "failed" | "cancelled" | "responded" | "abstained";
79
- projectId: string;
80
136
  createdAt: string;
137
+ agentSlug: string;
81
138
  assignmentId: string | null;
82
- invocationId: string;
139
+ projectId: string;
83
140
  requirement: "required" | "optional";
84
- agentSlug: string;
141
+ invocationId: string;
85
142
  projectSlug: string;
86
143
  messageRef: string;
87
144
  markdown: string;
88
145
  }[];
89
- channel: string;
90
- topic: {
91
- id: string;
92
- slug: string;
93
- };
94
146
  events: {
95
147
  type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
96
148
  actor: {
97
- kind: "provider" | "agent" | "control-plane" | "user";
149
+ kind: "provider" | "agent" | "user" | "control-plane";
98
150
  id: string;
99
151
  handle: string | null;
100
152
  };
101
153
  id: string;
102
- teamId: string;
154
+ summary: string;
103
155
  assignmentId: string | null;
156
+ teamId: string;
157
+ sequence: number;
104
158
  topicId: string;
105
159
  sendId: string | null;
106
160
  invocationId: string | null;
107
- sequence: number;
108
161
  payload: Record<string, unknown>;
109
- summary: string;
110
162
  channel: string;
111
163
  occurredAt: string;
112
164
  }[];
113
- updatedAt: string;
114
- projectStreams: {
115
- id: string;
116
- projectId: string;
117
- projectSlug: string;
118
- messageRef: string;
119
- discussionId: string;
120
- }[];
121
- replayed: boolean;
122
- }>;
123
- sendStatus: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
124
- teamId: string;
125
- sendId: string;
126
- }, {
127
- diagnostics?: "metadata" | "full" | undefined;
128
- }, undefined, {
129
- status: "failed" | "running" | "partial" | "complete" | "queued";
130
- schemaVersion: "treeseed.communication-send-receipt/v4";
131
165
  targets: {
132
166
  status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
167
+ updatedAt: string;
168
+ agentSlug: string;
133
169
  projectId: string;
134
- invocationId: string | null;
135
- completedAt: string | null;
136
170
  requirement: "required" | "optional";
137
- agentSlug: string;
138
- capacity: {
139
- status: string | null;
140
- providerId: string | null;
141
- assignmentId: string | null;
142
- completedAt: string | null;
143
- executionProviderId: string | null;
144
- laneId: string | null;
145
- lanePurpose: string | null;
146
- assignedAt: string | null;
147
- claimedAt: string | null;
148
- returnedAt: string | null;
149
- failedAt: string | null;
150
- };
171
+ depth: number;
151
172
  diagnostics: {
152
173
  provider: {
153
174
  providerId: string | null;
154
175
  executionProviderId: string | null;
155
176
  runtimeVersion: string | null;
156
177
  };
178
+ usage: Record<string, unknown>[];
157
179
  resources: Record<string, unknown>;
158
180
  selection: {
159
181
  capabilities: string[];
@@ -161,14 +183,28 @@ export declare function communicationOperations(): {
161
183
  parameters: Record<string, unknown>;
162
184
  };
163
185
  reason: string | null;
164
- usage: Record<string, unknown>[];
165
- availability: "available" | "unavailable" | "partial";
186
+ availability: "partial" | "unavailable" | "available";
166
187
  identityManifest: Record<string, unknown>;
167
188
  contextManifest: Record<string, unknown>[];
168
189
  timing: Record<string, unknown>;
169
190
  traceEvents: Record<string, unknown>[];
170
191
  fullPayload?: Record<string, unknown> | undefined;
171
192
  };
193
+ completedAt: string | null;
194
+ invocationId: string | null;
195
+ capacity: {
196
+ status: string | null;
197
+ claimedAt: string | null;
198
+ assignmentId: string | null;
199
+ providerId: string | null;
200
+ executionProviderId: string | null;
201
+ completedAt: string | null;
202
+ laneId: string | null;
203
+ lanePurpose: string | null;
204
+ assignedAt: string | null;
205
+ returnedAt: string | null;
206
+ failedAt: string | null;
207
+ };
172
208
  projectSlug: string;
173
209
  definitionRevision: string;
174
210
  revisions: {
@@ -178,9 +214,7 @@ export declare function communicationOperations(): {
178
214
  chatProfile: string;
179
215
  };
180
216
  parentInvocationId: string | null;
181
- depth: number;
182
217
  requestedAt: string;
183
- updatedAt: string;
184
218
  failure: {
185
219
  code: string;
186
220
  message: string | null;
@@ -188,52 +222,18 @@ export declare function communicationOperations(): {
188
222
  acknowledgedAt: string | null;
189
223
  leaseAcceptedAt: string | null;
190
224
  }[];
191
- teamId: string;
192
- createdAt: string;
193
- sendId: string;
194
- responses: {
195
- status: "failed" | "cancelled" | "responded" | "abstained";
196
- projectId: string;
197
- createdAt: string;
198
- assignmentId: string | null;
199
- invocationId: string;
200
- requirement: "required" | "optional";
201
- agentSlug: string;
202
- projectSlug: string;
203
- messageRef: string;
204
- markdown: string;
205
- }[];
206
- channel: string;
207
225
  topic: {
208
226
  id: string;
209
227
  slug: string;
210
228
  };
211
- events: {
212
- type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
213
- actor: {
214
- kind: "provider" | "agent" | "control-plane" | "user";
215
- id: string;
216
- handle: string | null;
217
- };
218
- id: string;
219
- teamId: string;
220
- assignmentId: string | null;
221
- topicId: string;
222
- sendId: string | null;
223
- invocationId: string | null;
224
- sequence: number;
225
- payload: Record<string, unknown>;
226
- summary: string;
227
- channel: string;
228
- occurredAt: string;
229
- }[];
230
- updatedAt: string;
229
+ sendId: string;
230
+ channel: string;
231
231
  projectStreams: {
232
232
  id: string;
233
233
  projectId: string;
234
+ discussionId: string;
234
235
  projectSlug: string;
235
236
  messageRef: string;
236
- discussionId: string;
237
237
  }[];
238
238
  replayed: boolean;
239
239
  }>;
@@ -247,23 +247,23 @@ export declare function communicationOperations(): {
247
247
  items: {
248
248
  status: "active" | "archived";
249
249
  id: string;
250
- slug: string;
251
- teamId: string;
252
250
  createdAt: string;
253
251
  updatedAt: string;
252
+ slug: string;
253
+ teamId: string;
254
254
  streams: {
255
255
  id: string;
256
256
  projectId: string;
257
- projectSlug: string;
258
257
  discussionId: string;
258
+ projectSlug: string;
259
259
  }[];
260
260
  listeners: {
261
261
  status: "active" | "removed";
262
- projectId: string;
263
- source: "seed" | "operator" | "mention";
262
+ updatedAt: string;
264
263
  agentSlug: string;
264
+ source: "seed" | "operator" | "mention";
265
+ projectId: string;
265
266
  projectSlug: string;
266
- updatedAt: string;
267
267
  agentHandle: string;
268
268
  subscribedAt: string;
269
269
  }[];
@@ -276,23 +276,23 @@ export declare function communicationOperations(): {
276
276
  }, {}, undefined, {
277
277
  status: "active" | "archived";
278
278
  id: string;
279
- slug: string;
280
- teamId: string;
281
279
  createdAt: string;
282
280
  updatedAt: string;
281
+ slug: string;
282
+ teamId: string;
283
283
  streams: {
284
284
  id: string;
285
285
  projectId: string;
286
- projectSlug: string;
287
286
  discussionId: string;
287
+ projectSlug: string;
288
288
  }[];
289
289
  listeners: {
290
290
  status: "active" | "removed";
291
- projectId: string;
292
- source: "seed" | "operator" | "mention";
291
+ updatedAt: string;
293
292
  agentSlug: string;
293
+ source: "seed" | "operator" | "mention";
294
+ projectId: string;
294
295
  projectSlug: string;
295
- updatedAt: string;
296
296
  agentHandle: string;
297
297
  subscribedAt: string;
298
298
  }[];
@@ -301,55 +301,55 @@ export declare function communicationOperations(): {
301
301
  teamId: string;
302
302
  channel: string;
303
303
  }, {
304
+ diagnostics?: "metadata" | "full" | undefined;
304
305
  limit?: number | undefined;
305
306
  waitSeconds?: number | undefined;
306
- diagnostics?: "metadata" | "full" | undefined;
307
307
  after?: string | undefined;
308
308
  }, undefined, {
309
- cursor: string | null;
309
+ events: {
310
+ type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
311
+ actor: {
312
+ kind: "provider" | "agent" | "user" | "control-plane";
313
+ id: string;
314
+ handle: string | null;
315
+ };
316
+ id: string;
317
+ summary: string;
318
+ assignmentId: string | null;
319
+ teamId: string;
320
+ sequence: number;
321
+ topicId: string;
322
+ sendId: string | null;
323
+ invocationId: string | null;
324
+ payload: Record<string, unknown>;
325
+ channel: string;
326
+ occurredAt: string;
327
+ }[];
310
328
  topic: {
311
329
  status: "active" | "archived";
312
330
  id: string;
313
- slug: string;
314
- teamId: string;
315
331
  createdAt: string;
316
332
  updatedAt: string;
333
+ slug: string;
334
+ teamId: string;
317
335
  streams: {
318
336
  id: string;
319
337
  projectId: string;
320
- projectSlug: string;
321
338
  discussionId: string;
339
+ projectSlug: string;
322
340
  }[];
323
341
  listeners: {
324
342
  status: "active" | "removed";
325
- projectId: string;
326
- source: "seed" | "operator" | "mention";
343
+ updatedAt: string;
327
344
  agentSlug: string;
345
+ source: "seed" | "operator" | "mention";
346
+ projectId: string;
328
347
  projectSlug: string;
329
- updatedAt: string;
330
348
  agentHandle: string;
331
349
  subscribedAt: string;
332
350
  }[];
333
351
  };
334
- events: {
335
- type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
336
- actor: {
337
- kind: "provider" | "agent" | "control-plane" | "user";
338
- id: string;
339
- handle: string | null;
340
- };
341
- id: string;
342
- teamId: string;
343
- assignmentId: string | null;
344
- topicId: string;
345
- sendId: string | null;
346
- invocationId: string | null;
347
- sequence: number;
348
- payload: Record<string, unknown>;
349
- summary: string;
350
- channel: string;
351
- occurredAt: string;
352
- }[];
352
+ cursor: string | null;
353
353
  }>;
354
354
  topicsSubscribe: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
355
355
  teamId: string;
@@ -361,11 +361,11 @@ export declare function communicationOperations(): {
361
361
  replayed: boolean;
362
362
  listener: {
363
363
  status: "active" | "removed";
364
- projectId: string;
365
- source: "seed" | "operator" | "mention";
364
+ updatedAt: string;
366
365
  agentSlug: string;
366
+ source: "seed" | "operator" | "mention";
367
+ projectId: string;
367
368
  projectSlug: string;
368
- updatedAt: string;
369
369
  agentHandle: string;
370
370
  subscribedAt: string;
371
371
  };
@@ -380,11 +380,11 @@ export declare function communicationOperations(): {
380
380
  replayed: boolean;
381
381
  listener: {
382
382
  status: "active" | "removed";
383
- projectId: string;
384
- source: "seed" | "operator" | "mention";
383
+ updatedAt: string;
385
384
  agentSlug: string;
385
+ source: "seed" | "operator" | "mention";
386
+ projectId: string;
386
387
  projectSlug: string;
387
- updatedAt: string;
388
388
  agentHandle: string;
389
389
  subscribedAt: string;
390
390
  };
@@ -397,15 +397,33 @@ export declare function providerDiscussionResponseOperation(): import("../contro
397
397
  leaseToken: string;
398
398
  summary?: string | undefined;
399
399
  usage?: Record<string, unknown> | undefined;
400
- markdown?: string | undefined;
401
400
  outcome?: "responded" | "abstained" | undefined;
401
+ markdown?: string | undefined;
402
402
  }, {
403
403
  status: "responded" | "abstained";
404
404
  schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
405
405
  assignmentId: string;
406
+ settledAt: string;
406
407
  invocationId: string;
408
+ reference: {
409
+ kind: "git";
410
+ commit: string;
411
+ repository: string;
412
+ path?: string | undefined;
413
+ branch?: string | undefined;
414
+ } | {
415
+ path: string;
416
+ kind: "treedx";
417
+ commit: string;
418
+ repository: string;
419
+ projectId: string;
420
+ workspaceId?: string | undefined;
421
+ } | {
422
+ kind: "url";
423
+ url: string;
424
+ digest?: string | undefined;
425
+ };
407
426
  messageRef: string;
408
- settledAt: string;
409
427
  }>;
410
428
  export declare function providerCommunicationLifecycleOperations(): {
411
429
  notificationAcknowledge: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
@@ -423,9 +441,9 @@ export declare function providerCommunicationLifecycleOperations(): {
423
441
  assignmentId: string;
424
442
  }, {}, {
425
443
  type: string;
444
+ summary: string;
426
445
  sequence: number;
427
446
  payload: Record<string, unknown>;
428
- summary: string;
429
447
  occurredAt: string;
430
448
  runnerId: string;
431
449
  leaseToken: string;