@treeseed/sdk 0.13.0-rc.122 → 0.13.0-rc.124
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.
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +1392 -974
- package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +72 -27
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +34 -34
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.d.ts +2 -0
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.js +13 -0
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +1 -0
- package/dist/agent-capacity/contracts/capacity/providers/supply-policy.d.ts +126 -1
- package/dist/agent-capacity/contracts/capacity/providers/supply-policy.js +35 -1
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +1 -3
- package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +21 -15
- package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.d.ts +3 -42
- package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.js +8 -8
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +227 -66
- package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +54 -19
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +214 -5
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.js +19 -0
- package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +47 -47
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +119 -0
- package/dist/agent-capacity/contracts/projects/agents/project-agent-class.js +16 -0
- package/dist/agent-capacity/contracts/support/execution-graph.d.ts +434 -230
- package/dist/agent-capacity/contracts/support/execution-graph.js +20 -18
- package/dist/agent-capacity/contracts/support/financial-records.d.ts +2 -0
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +286 -254
- package/dist/agent-capacity/validation/agent-definition-schema.js +22 -28
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +1 -1
- package/dist/agent-capacity/validation/assignment-records.js +45 -0
- package/dist/capacity/agents/agent-capacity.d.ts +1 -0
- package/dist/capacity/agents/agent-capacity.js +1 -0
- package/dist/capacity-provider/capability-ontology.d.ts +102 -102
- package/dist/capacity-provider/client.d.ts +14 -7
- package/dist/capacity-provider/client.js +1 -4
- package/dist/capacity-provider/contracts/capacity-facts.d.ts +0 -1
- package/dist/capacity-provider/contracts/environment-profiles.d.ts +40 -40
- package/dist/capacity-provider/contracts/governance.d.ts +2 -17
- package/dist/capacity-provider/contracts/index.d.ts +2 -0
- package/dist/capacity-provider/contracts/index.js +2 -0
- package/dist/capacity-provider/core-capability-catalog.d.ts +7 -7
- package/dist/capacity-provider/environment-catalog.d.ts +22 -22
- package/dist/capacity-provider/environment-catalog.js +1 -1
- package/dist/capacity-provider/install-configuration.d.ts +4 -4
- package/dist/capacity-provider/sandbox-contracts.d.ts +54 -54
- package/dist/capacity-provider/source-workspace.d.ts +76 -76
- package/dist/capacity-provider/validation.d.ts +10 -2
- package/dist/capacity-provider/validation.js +52 -22
- package/dist/content/validation/agent-operational-content-schemas.d.ts +120 -118
- package/dist/content/validation/agent-operational-content-schemas.js +2 -0
- package/dist/content/validation/auxiliary-content-schemas.d.ts +92 -92
- package/dist/content/validation/content-model-schemas.d.ts +3155 -2512
- package/dist/content/validation/content-model-schemas.js +97 -87
- package/dist/content/validation/portable-content-data.d.ts +173 -168
- package/dist/content/validation/schema-constraints.d.ts +78 -0
- package/dist/content/validation/schema-constraints.js +149 -0
- package/dist/deployment/ai/storage.d.ts +20 -20
- package/dist/deployment/ai-hosting.d.ts +12 -12
- package/dist/deployment/ai-instance.d.ts +12 -12
- package/dist/deployment/ai-mode.d.ts +34 -34
- package/dist/deployment/hosted-topology-template.d.ts +25 -25
- package/dist/deployment/hosted-topology.d.ts +146 -146
- package/dist/deployment/postgres/transfer.d.ts +2 -2
- package/dist/deployment/schemas.d.ts +504 -504
- package/dist/development/schemas.d.ts +325 -325
- package/dist/graph/context-query-contracts.js +1 -1
- package/dist/guarantees/index.d.ts +26 -2
- package/dist/identity/contracts.js +6 -1
- package/dist/operator-contracts/canonical-command-tree.js +22 -8
- package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +27 -27
- package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +25 -25
- package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +11 -9
- package/dist/operator-contracts/catalog/communication-operations.d.ts +108 -90
- package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +33 -33
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +27 -27
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +4 -4
- package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +2 -1
- package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +5 -5
- package/dist/operator-contracts/catalog/provider-environment-operations.d.ts +3 -3
- package/dist/operator-contracts/catalog/services/secret-operations.d.ts +16 -8
- package/dist/operator-contracts/catalog/services/secret-operations.js +2 -1
- package/dist/operator-contracts/catalog/workdays/profile-operations.d.ts +11 -11
- package/dist/operator-contracts/catalog/workdays/selection-commands.js +7 -6
- package/dist/operator-contracts/communication/contracts.d.ts +340 -198
- package/dist/operator-contracts/communication/contracts.js +6 -1
- package/dist/operator-contracts/control-plane-operation.d.ts +7 -0
- package/dist/operator-contracts/control-plane-operation.js +6 -0
- package/dist/operator-contracts/control-plane-operations.d.ts +469 -442
- package/dist/operator-contracts/control-plane-operations.js +26 -10
- package/dist/operator-contracts/inbox/contracts.d.ts +100 -100
- package/dist/operator-contracts/knowledge/contracts.d.ts +6 -6
- package/dist/operator-contracts/mcp.js +4 -3
- package/dist/operator-contracts/workday-lifecycle.d.ts +192 -2
- package/dist/operator-contracts/workday-lifecycle.js +108 -45
- package/dist/platform/agent-schema-verification.js +316 -33
- package/dist/platform/contracts.d.ts +72 -72
- package/dist/platform/schemas.d.ts +144 -36
- package/dist/platform/schemas.js +26 -0
- package/dist/platform/verification.js +4 -0
- package/dist/sdk-types/support/sdk-search-request.d.ts +2 -2
- package/dist/secrets-capability/secret-contracts.d.ts +2 -2
- package/dist/secrets-capability/shared-access.d.ts +1 -1
- package/dist/secrets-capability/shared-resources.d.ts +30 -30
- package/dist/security/encrypted-envelope.d.ts +6 -6
- package/dist/treedx/client.d.ts +4 -4
- package/dist/treedx/index.d.ts +1 -1
- package/dist/treedx/index.js +1 -0
- package/dist/treedx/types.d.ts +286 -0
- package/dist/treedx/types.js +44 -0
- package/dist/types/agents/agent-activity-profile.d.ts +1 -0
- package/guarantees/agent/golden/component-boundaries.guarantee.yaml +12 -0
- package/guarantees/agent/golden/product-custody.guarantee.yaml +12 -0
- package/guarantees/agent/golden/product.guarantee.yaml +12 -0
- package/guarantees/agent/golden/scenes/component-boundaries.scene.yaml +837 -0
- package/guarantees/agent/golden/scenes/product-custody.scene.yaml +53 -0
- package/guarantees/agent/golden/scenes/product.scene.yaml +8 -0
- package/guarantees/verifiers/golden.verifiers.yaml +1429 -0
- package/package.json +10 -5
- package/tests/acceptance/golden-product.test.ts +205 -0
- package/tests/acceptance/golden-product.ts +404 -0
- package/tests/acceptance/product/base-red.ts +73 -0
- package/tests/acceptance/product/documentation-examples.ts +68 -0
- package/tests/acceptance/product/intent-runtime.ts +145 -0
- package/tests/acceptance/product/release-output.ts +160 -0
- package/tests/acceptance/product/research-artifact.ts +87 -0
- package/tests/acceptance/product/research-revision.ts +82 -0
- package/tests/acceptance/product/research-source.ts +91 -0
- package/tests/acceptance/product/test-chain.ts +192 -0
- package/treeseed.package.yaml +147 -0
- package/dist/.treeseed-build-complete.json +0 -1
|
@@ -11,11 +11,45 @@ export declare function communicationOperations(): {
|
|
|
11
11
|
}, {
|
|
12
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";
|
|
16
|
-
projectId: string;
|
|
17
50
|
updatedAt: string;
|
|
18
51
|
agentSlug: string;
|
|
52
|
+
projectId: string;
|
|
19
53
|
requirement: "required" | "optional";
|
|
20
54
|
depth: number;
|
|
21
55
|
diagnostics: {
|
|
@@ -24,15 +58,15 @@ export declare function communicationOperations(): {
|
|
|
24
58
|
executionProviderId: string | null;
|
|
25
59
|
runtimeVersion: string | null;
|
|
26
60
|
};
|
|
61
|
+
usage: Record<string, unknown>[];
|
|
27
62
|
resources: Record<string, unknown>;
|
|
28
63
|
selection: {
|
|
29
64
|
capabilities: string[];
|
|
30
65
|
model: string | null;
|
|
31
66
|
parameters: Record<string, unknown>;
|
|
32
67
|
};
|
|
33
|
-
usage: Record<string, unknown>[];
|
|
34
68
|
reason: string | null;
|
|
35
|
-
availability: "
|
|
69
|
+
availability: "partial" | "unavailable" | "available";
|
|
36
70
|
identityManifest: Record<string, unknown>;
|
|
37
71
|
contextManifest: Record<string, unknown>[];
|
|
38
72
|
timing: Record<string, unknown>;
|
|
@@ -43,9 +77,9 @@ export declare function communicationOperations(): {
|
|
|
43
77
|
invocationId: string | null;
|
|
44
78
|
capacity: {
|
|
45
79
|
status: string | null;
|
|
46
|
-
providerId: string | null;
|
|
47
|
-
assignmentId: string | null;
|
|
48
80
|
claimedAt: string | null;
|
|
81
|
+
assignmentId: string | null;
|
|
82
|
+
providerId: string | null;
|
|
49
83
|
executionProviderId: string | null;
|
|
50
84
|
completedAt: string | null;
|
|
51
85
|
laneId: string | null;
|
|
@@ -71,15 +105,38 @@ 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;
|
|
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";
|
|
75
131
|
createdAt: string;
|
|
76
132
|
updatedAt: string;
|
|
133
|
+
teamId: string;
|
|
77
134
|
responses: {
|
|
78
135
|
status: "failed" | "cancelled" | "responded" | "abstained";
|
|
79
|
-
projectId: string;
|
|
80
136
|
createdAt: string;
|
|
81
|
-
assignmentId: string | null;
|
|
82
137
|
agentSlug: string;
|
|
138
|
+
assignmentId: string | null;
|
|
139
|
+
projectId: string;
|
|
83
140
|
requirement: "required" | "optional";
|
|
84
141
|
invocationId: string;
|
|
85
142
|
projectSlug: string;
|
|
@@ -94,9 +151,9 @@ export declare function communicationOperations(): {
|
|
|
94
151
|
handle: string | null;
|
|
95
152
|
};
|
|
96
153
|
id: string;
|
|
97
|
-
teamId: string;
|
|
98
|
-
assignmentId: string | null;
|
|
99
154
|
summary: string;
|
|
155
|
+
assignmentId: string | null;
|
|
156
|
+
teamId: string;
|
|
100
157
|
sequence: number;
|
|
101
158
|
topicId: string;
|
|
102
159
|
sendId: string | null;
|
|
@@ -105,34 +162,11 @@ export declare function communicationOperations(): {
|
|
|
105
162
|
channel: string;
|
|
106
163
|
occurredAt: string;
|
|
107
164
|
}[];
|
|
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<{
|
|
124
|
-
teamId: string;
|
|
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
165
|
targets: {
|
|
132
166
|
status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
|
|
133
|
-
projectId: string;
|
|
134
167
|
updatedAt: string;
|
|
135
168
|
agentSlug: string;
|
|
169
|
+
projectId: string;
|
|
136
170
|
requirement: "required" | "optional";
|
|
137
171
|
depth: number;
|
|
138
172
|
diagnostics: {
|
|
@@ -141,15 +175,15 @@ export declare function communicationOperations(): {
|
|
|
141
175
|
executionProviderId: string | null;
|
|
142
176
|
runtimeVersion: string | null;
|
|
143
177
|
};
|
|
178
|
+
usage: Record<string, unknown>[];
|
|
144
179
|
resources: Record<string, unknown>;
|
|
145
180
|
selection: {
|
|
146
181
|
capabilities: string[];
|
|
147
182
|
model: string | null;
|
|
148
183
|
parameters: Record<string, unknown>;
|
|
149
184
|
};
|
|
150
|
-
usage: Record<string, unknown>[];
|
|
151
185
|
reason: string | null;
|
|
152
|
-
availability: "
|
|
186
|
+
availability: "partial" | "unavailable" | "available";
|
|
153
187
|
identityManifest: Record<string, unknown>;
|
|
154
188
|
contextManifest: Record<string, unknown>[];
|
|
155
189
|
timing: Record<string, unknown>;
|
|
@@ -160,9 +194,9 @@ export declare function communicationOperations(): {
|
|
|
160
194
|
invocationId: string | null;
|
|
161
195
|
capacity: {
|
|
162
196
|
status: string | null;
|
|
163
|
-
providerId: string | null;
|
|
164
|
-
assignmentId: string | null;
|
|
165
197
|
claimedAt: string | null;
|
|
198
|
+
assignmentId: string | null;
|
|
199
|
+
providerId: string | null;
|
|
166
200
|
executionProviderId: string | null;
|
|
167
201
|
completedAt: string | null;
|
|
168
202
|
laneId: string | null;
|
|
@@ -188,40 +222,6 @@ export declare function communicationOperations(): {
|
|
|
188
222
|
acknowledgedAt: string | null;
|
|
189
223
|
leaseAcceptedAt: string | null;
|
|
190
224
|
}[];
|
|
191
|
-
teamId: string;
|
|
192
|
-
createdAt: string;
|
|
193
|
-
updatedAt: string;
|
|
194
|
-
responses: {
|
|
195
|
-
status: "failed" | "cancelled" | "responded" | "abstained";
|
|
196
|
-
projectId: string;
|
|
197
|
-
createdAt: string;
|
|
198
|
-
assignmentId: string | null;
|
|
199
|
-
agentSlug: string;
|
|
200
|
-
requirement: "required" | "optional";
|
|
201
|
-
invocationId: string;
|
|
202
|
-
projectSlug: string;
|
|
203
|
-
messageRef: string;
|
|
204
|
-
markdown: string;
|
|
205
|
-
}[];
|
|
206
|
-
events: {
|
|
207
|
-
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
208
|
-
actor: {
|
|
209
|
-
kind: "provider" | "agent" | "user" | "control-plane";
|
|
210
|
-
id: string;
|
|
211
|
-
handle: string | null;
|
|
212
|
-
};
|
|
213
|
-
id: string;
|
|
214
|
-
teamId: string;
|
|
215
|
-
assignmentId: string | null;
|
|
216
|
-
summary: string;
|
|
217
|
-
sequence: number;
|
|
218
|
-
topicId: string;
|
|
219
|
-
sendId: string | null;
|
|
220
|
-
invocationId: string | null;
|
|
221
|
-
payload: Record<string, unknown>;
|
|
222
|
-
channel: string;
|
|
223
|
-
occurredAt: string;
|
|
224
|
-
}[];
|
|
225
225
|
topic: {
|
|
226
226
|
id: string;
|
|
227
227
|
slug: string;
|
|
@@ -247,10 +247,10 @@ 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;
|
|
@@ -259,10 +259,10 @@ export declare function communicationOperations(): {
|
|
|
259
259
|
}[];
|
|
260
260
|
listeners: {
|
|
261
261
|
status: "active" | "removed";
|
|
262
|
-
projectId: string;
|
|
263
|
-
source: "seed" | "operator" | "mention";
|
|
264
262
|
updatedAt: string;
|
|
265
263
|
agentSlug: string;
|
|
264
|
+
source: "seed" | "operator" | "mention";
|
|
265
|
+
projectId: string;
|
|
266
266
|
projectSlug: string;
|
|
267
267
|
agentHandle: string;
|
|
268
268
|
subscribedAt: string;
|
|
@@ -276,10 +276,10 @@ 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;
|
|
@@ -288,10 +288,10 @@ export declare function communicationOperations(): {
|
|
|
288
288
|
}[];
|
|
289
289
|
listeners: {
|
|
290
290
|
status: "active" | "removed";
|
|
291
|
-
projectId: string;
|
|
292
|
-
source: "seed" | "operator" | "mention";
|
|
293
291
|
updatedAt: string;
|
|
294
292
|
agentSlug: string;
|
|
293
|
+
source: "seed" | "operator" | "mention";
|
|
294
|
+
projectId: string;
|
|
295
295
|
projectSlug: string;
|
|
296
296
|
agentHandle: string;
|
|
297
297
|
subscribedAt: string;
|
|
@@ -314,9 +314,9 @@ export declare function communicationOperations(): {
|
|
|
314
314
|
handle: string | null;
|
|
315
315
|
};
|
|
316
316
|
id: string;
|
|
317
|
-
teamId: string;
|
|
318
|
-
assignmentId: string | null;
|
|
319
317
|
summary: string;
|
|
318
|
+
assignmentId: string | null;
|
|
319
|
+
teamId: string;
|
|
320
320
|
sequence: number;
|
|
321
321
|
topicId: string;
|
|
322
322
|
sendId: string | null;
|
|
@@ -328,10 +328,10 @@ export declare function communicationOperations(): {
|
|
|
328
328
|
topic: {
|
|
329
329
|
status: "active" | "archived";
|
|
330
330
|
id: string;
|
|
331
|
-
slug: string;
|
|
332
|
-
teamId: string;
|
|
333
331
|
createdAt: string;
|
|
334
332
|
updatedAt: string;
|
|
333
|
+
slug: string;
|
|
334
|
+
teamId: string;
|
|
335
335
|
streams: {
|
|
336
336
|
id: string;
|
|
337
337
|
projectId: string;
|
|
@@ -340,10 +340,10 @@ export declare function communicationOperations(): {
|
|
|
340
340
|
}[];
|
|
341
341
|
listeners: {
|
|
342
342
|
status: "active" | "removed";
|
|
343
|
-
projectId: string;
|
|
344
|
-
source: "seed" | "operator" | "mention";
|
|
345
343
|
updatedAt: string;
|
|
346
344
|
agentSlug: string;
|
|
345
|
+
source: "seed" | "operator" | "mention";
|
|
346
|
+
projectId: string;
|
|
347
347
|
projectSlug: string;
|
|
348
348
|
agentHandle: string;
|
|
349
349
|
subscribedAt: string;
|
|
@@ -361,10 +361,10 @@ export declare function communicationOperations(): {
|
|
|
361
361
|
replayed: boolean;
|
|
362
362
|
listener: {
|
|
363
363
|
status: "active" | "removed";
|
|
364
|
-
projectId: string;
|
|
365
|
-
source: "seed" | "operator" | "mention";
|
|
366
364
|
updatedAt: string;
|
|
367
365
|
agentSlug: string;
|
|
366
|
+
source: "seed" | "operator" | "mention";
|
|
367
|
+
projectId: string;
|
|
368
368
|
projectSlug: string;
|
|
369
369
|
agentHandle: string;
|
|
370
370
|
subscribedAt: string;
|
|
@@ -380,10 +380,10 @@ export declare function communicationOperations(): {
|
|
|
380
380
|
replayed: boolean;
|
|
381
381
|
listener: {
|
|
382
382
|
status: "active" | "removed";
|
|
383
|
-
projectId: string;
|
|
384
|
-
source: "seed" | "operator" | "mention";
|
|
385
383
|
updatedAt: string;
|
|
386
384
|
agentSlug: string;
|
|
385
|
+
source: "seed" | "operator" | "mention";
|
|
386
|
+
projectId: string;
|
|
387
387
|
projectSlug: string;
|
|
388
388
|
agentHandle: string;
|
|
389
389
|
subscribedAt: string;
|
|
@@ -403,9 +403,27 @@ export declare function providerDiscussionResponseOperation(): import("../contro
|
|
|
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<{
|
|
@@ -5,6 +5,12 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
5
5
|
declaration: {
|
|
6
6
|
id: string;
|
|
7
7
|
schemaVersion: "treeseed.hosted-topology/v1";
|
|
8
|
+
teamId: string;
|
|
9
|
+
platform: {
|
|
10
|
+
commit: string;
|
|
11
|
+
repository: "treeseed-ai/platform";
|
|
12
|
+
};
|
|
13
|
+
environment: "staging" | "production";
|
|
8
14
|
resources: {
|
|
9
15
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
10
16
|
provider: "railway" | "cloudflare";
|
|
@@ -28,22 +34,16 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
28
34
|
literal: string | number | boolean;
|
|
29
35
|
}> | undefined;
|
|
30
36
|
}[];
|
|
31
|
-
teamId: string;
|
|
32
|
-
platform: {
|
|
33
|
-
repository: "treeseed-ai/platform";
|
|
34
|
-
commit: string;
|
|
35
|
-
};
|
|
36
|
-
environment: "staging" | "production";
|
|
37
37
|
mutation: "agent-authorized";
|
|
38
38
|
artifacts: Record<string, {
|
|
39
39
|
kind: "archive";
|
|
40
|
-
digest: string;
|
|
41
|
-
source: string;
|
|
42
40
|
format: "tar+gzip";
|
|
41
|
+
source: string;
|
|
42
|
+
digest: string;
|
|
43
43
|
} | {
|
|
44
44
|
kind: "file";
|
|
45
|
-
digest: string;
|
|
46
45
|
source: string;
|
|
46
|
+
digest: string;
|
|
47
47
|
mediaType: string;
|
|
48
48
|
} | {
|
|
49
49
|
identity: string;
|
|
@@ -65,6 +65,8 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
65
65
|
}, {}, {
|
|
66
66
|
plan: {
|
|
67
67
|
schemaVersion: "treeseed.hosted-topology-plan/v1";
|
|
68
|
+
teamId: string;
|
|
69
|
+
environment: "staging" | "production";
|
|
68
70
|
blockers: {
|
|
69
71
|
code: "connection-unavailable" | "state-backend-unavailable" | "dependency-cycle" | "observation-unhealthy" | "adoption-drift";
|
|
70
72
|
message: string;
|
|
@@ -74,7 +76,7 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
74
76
|
actions: {
|
|
75
77
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
76
78
|
provider: "railway" | "cloudflare";
|
|
77
|
-
action: "
|
|
79
|
+
action: "create" | "update" | "noop" | "adopt";
|
|
78
80
|
resourceId: string;
|
|
79
81
|
providerResourceId: string | null;
|
|
80
82
|
desiredResource: {
|
|
@@ -103,18 +105,16 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
103
105
|
desiredDigest: string;
|
|
104
106
|
previousDigest: string | null;
|
|
105
107
|
}[];
|
|
106
|
-
teamId: string;
|
|
107
|
-
environment: "staging" | "production";
|
|
108
108
|
executable: false;
|
|
109
109
|
artifacts: Record<string, {
|
|
110
110
|
kind: "archive";
|
|
111
|
-
digest: string;
|
|
112
|
-
source: string;
|
|
113
111
|
format: "tar+gzip";
|
|
112
|
+
source: string;
|
|
113
|
+
digest: string;
|
|
114
114
|
} | {
|
|
115
115
|
kind: "file";
|
|
116
|
-
digest: string;
|
|
117
116
|
source: string;
|
|
117
|
+
digest: string;
|
|
118
118
|
mediaType: string;
|
|
119
119
|
} | {
|
|
120
120
|
identity: string;
|
|
@@ -157,10 +157,13 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
157
157
|
receipt: {
|
|
158
158
|
state: "known-good";
|
|
159
159
|
schemaVersion: "treeseed.hosted-topology-receipt/v1";
|
|
160
|
+
teamId: string;
|
|
161
|
+
environment: "staging" | "production";
|
|
162
|
+
completedAt: string;
|
|
160
163
|
resources: {
|
|
161
164
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
162
165
|
provider: "railway" | "cloudflare";
|
|
163
|
-
state: "
|
|
166
|
+
state: "degraded" | "missing" | "healthy";
|
|
164
167
|
observedAt: string;
|
|
165
168
|
resourceId: string;
|
|
166
169
|
providerResourceId: string | null;
|
|
@@ -168,9 +171,6 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
168
171
|
observedDigest: string | null;
|
|
169
172
|
}[];
|
|
170
173
|
planDigest: string;
|
|
171
|
-
teamId: string;
|
|
172
|
-
environment: "staging" | "production";
|
|
173
|
-
completedAt: string;
|
|
174
174
|
receiptId: string;
|
|
175
175
|
deploymentId: string;
|
|
176
176
|
stackId: string;
|
|
@@ -181,7 +181,7 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
181
181
|
previousResources: {
|
|
182
182
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
183
183
|
provider: "railway" | "cloudflare";
|
|
184
|
-
state: "
|
|
184
|
+
state: "degraded" | "missing" | "healthy";
|
|
185
185
|
observedAt: string;
|
|
186
186
|
resourceId: string;
|
|
187
187
|
providerResourceId: string | null;
|
|
@@ -200,13 +200,13 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
200
200
|
rollback: {
|
|
201
201
|
schemaVersion: "treeseed.hosted-topology-rollback/v1";
|
|
202
202
|
teamId: string;
|
|
203
|
-
environment: "staging" | "production";
|
|
204
203
|
operations: {
|
|
205
204
|
action: "noop" | "restore" | "delete-created";
|
|
206
205
|
resourceId: string;
|
|
207
206
|
providerResourceId: string;
|
|
208
207
|
targetDigest: string | null;
|
|
209
208
|
}[];
|
|
209
|
+
environment: "staging" | "production";
|
|
210
210
|
deploymentId: string;
|
|
211
211
|
stackId: string;
|
|
212
212
|
backendBindingDigest: string;
|
|
@@ -225,6 +225,8 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
225
225
|
};
|
|
226
226
|
sourcePlan: {
|
|
227
227
|
schemaVersion: "treeseed.hosted-topology-plan/v1";
|
|
228
|
+
teamId: string;
|
|
229
|
+
environment: "staging" | "production";
|
|
228
230
|
blockers: {
|
|
229
231
|
code: "connection-unavailable" | "state-backend-unavailable" | "dependency-cycle" | "observation-unhealthy" | "adoption-drift";
|
|
230
232
|
message: string;
|
|
@@ -234,7 +236,7 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
234
236
|
actions: {
|
|
235
237
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
236
238
|
provider: "railway" | "cloudflare";
|
|
237
|
-
action: "
|
|
239
|
+
action: "create" | "update" | "noop" | "adopt";
|
|
238
240
|
resourceId: string;
|
|
239
241
|
providerResourceId: string | null;
|
|
240
242
|
desiredResource: {
|
|
@@ -263,18 +265,16 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
263
265
|
desiredDigest: string;
|
|
264
266
|
previousDigest: string | null;
|
|
265
267
|
}[];
|
|
266
|
-
teamId: string;
|
|
267
|
-
environment: "staging" | "production";
|
|
268
268
|
executable: false;
|
|
269
269
|
artifacts: Record<string, {
|
|
270
270
|
kind: "archive";
|
|
271
|
-
digest: string;
|
|
272
|
-
source: string;
|
|
273
271
|
format: "tar+gzip";
|
|
272
|
+
source: string;
|
|
273
|
+
digest: string;
|
|
274
274
|
} | {
|
|
275
275
|
kind: "file";
|
|
276
|
-
digest: string;
|
|
277
276
|
source: string;
|
|
277
|
+
digest: string;
|
|
278
278
|
mediaType: string;
|
|
279
279
|
} | {
|
|
280
280
|
identity: string;
|
|
@@ -311,6 +311,8 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
311
311
|
};
|
|
312
312
|
targetPlan: {
|
|
313
313
|
schemaVersion: "treeseed.hosted-topology-plan/v1";
|
|
314
|
+
teamId: string;
|
|
315
|
+
environment: "staging" | "production";
|
|
314
316
|
blockers: {
|
|
315
317
|
code: "connection-unavailable" | "state-backend-unavailable" | "dependency-cycle" | "observation-unhealthy" | "adoption-drift";
|
|
316
318
|
message: string;
|
|
@@ -320,7 +322,7 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
320
322
|
actions: {
|
|
321
323
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
322
324
|
provider: "railway" | "cloudflare";
|
|
323
|
-
action: "
|
|
325
|
+
action: "create" | "update" | "noop" | "adopt";
|
|
324
326
|
resourceId: string;
|
|
325
327
|
providerResourceId: string | null;
|
|
326
328
|
desiredResource: {
|
|
@@ -349,18 +351,16 @@ export declare const HOSTED_TOPOLOGY_OPERATIONS: {
|
|
|
349
351
|
desiredDigest: string;
|
|
350
352
|
previousDigest: string | null;
|
|
351
353
|
}[];
|
|
352
|
-
teamId: string;
|
|
353
|
-
environment: "staging" | "production";
|
|
354
354
|
executable: false;
|
|
355
355
|
artifacts: Record<string, {
|
|
356
356
|
kind: "archive";
|
|
357
|
-
digest: string;
|
|
358
|
-
source: string;
|
|
359
357
|
format: "tar+gzip";
|
|
358
|
+
source: string;
|
|
359
|
+
digest: string;
|
|
360
360
|
} | {
|
|
361
361
|
kind: "file";
|
|
362
|
-
digest: string;
|
|
363
362
|
source: string;
|
|
363
|
+
digest: string;
|
|
364
364
|
mediaType: string;
|
|
365
365
|
} | {
|
|
366
366
|
identity: string;
|