@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
|
@@ -20,13 +20,13 @@ export declare const aiModeRequestSchema: z.ZodObject<{
|
|
|
20
20
|
drainTimeoutSeconds: z.ZodDefault<z.ZodNumber>;
|
|
21
21
|
}, "strict", z.ZodTypeAny, {
|
|
22
22
|
schemaVersion: "treeseed.ai-mode-request/v1";
|
|
23
|
-
idempotencyKey: string;
|
|
24
23
|
target: "awake" | "sleep";
|
|
24
|
+
idempotencyKey: string;
|
|
25
25
|
drainTimeoutSeconds: number;
|
|
26
26
|
}, {
|
|
27
27
|
schemaVersion: "treeseed.ai-mode-request/v1";
|
|
28
|
-
idempotencyKey: string;
|
|
29
28
|
target: "awake" | "sleep";
|
|
29
|
+
idempotencyKey: string;
|
|
30
30
|
drainTimeoutSeconds?: number | undefined;
|
|
31
31
|
}>;
|
|
32
32
|
export declare const aiModeTransitionStepSchema: z.ZodObject<{
|
|
@@ -81,14 +81,14 @@ export declare const aiModeTransitionReceiptSchema: z.ZodObject<{
|
|
|
81
81
|
resource: "ai-gpu";
|
|
82
82
|
state: "running" | "degraded" | "planned" | "succeeded" | "postponed" | "rolled-back";
|
|
83
83
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
84
|
+
startedAt: string;
|
|
85
|
+
idempotencyKey: string;
|
|
86
|
+
completedAt: string | null;
|
|
84
87
|
steps: {
|
|
85
88
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
86
89
|
state: "pending" | "failed" | "running" | "skipped" | "succeeded";
|
|
87
90
|
completedAt: string | null;
|
|
88
91
|
}[];
|
|
89
|
-
startedAt: string;
|
|
90
|
-
idempotencyKey: string;
|
|
91
|
-
completedAt: string | null;
|
|
92
92
|
reason: "active-inference" | "active-training" | "transition-failed" | "recovery-failed" | null;
|
|
93
93
|
from: "awake" | "sleep";
|
|
94
94
|
to: "awake" | "sleep";
|
|
@@ -102,14 +102,14 @@ export declare const aiModeTransitionReceiptSchema: z.ZodObject<{
|
|
|
102
102
|
resource: "ai-gpu";
|
|
103
103
|
state: "running" | "degraded" | "planned" | "succeeded" | "postponed" | "rolled-back";
|
|
104
104
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
105
|
+
startedAt: string;
|
|
106
|
+
idempotencyKey: string;
|
|
107
|
+
completedAt: string | null;
|
|
105
108
|
steps: {
|
|
106
109
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
107
110
|
state: "pending" | "failed" | "running" | "skipped" | "succeeded";
|
|
108
111
|
completedAt: string | null;
|
|
109
112
|
}[];
|
|
110
|
-
startedAt: string;
|
|
111
|
-
idempotencyKey: string;
|
|
112
|
-
completedAt: string | null;
|
|
113
113
|
reason: "active-inference" | "active-training" | "transition-failed" | "recovery-failed" | null;
|
|
114
114
|
from: "awake" | "sleep";
|
|
115
115
|
to: "awake" | "sleep";
|
|
@@ -174,14 +174,14 @@ export declare const aiModeStatusSchema: z.ZodObject<{
|
|
|
174
174
|
resource: "ai-gpu";
|
|
175
175
|
state: "running" | "degraded" | "planned" | "succeeded" | "postponed" | "rolled-back";
|
|
176
176
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
177
|
+
startedAt: string;
|
|
178
|
+
idempotencyKey: string;
|
|
179
|
+
completedAt: string | null;
|
|
177
180
|
steps: {
|
|
178
181
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
179
182
|
state: "pending" | "failed" | "running" | "skipped" | "succeeded";
|
|
180
183
|
completedAt: string | null;
|
|
181
184
|
}[];
|
|
182
|
-
startedAt: string;
|
|
183
|
-
idempotencyKey: string;
|
|
184
|
-
completedAt: string | null;
|
|
185
185
|
reason: "active-inference" | "active-training" | "transition-failed" | "recovery-failed" | null;
|
|
186
186
|
from: "awake" | "sleep";
|
|
187
187
|
to: "awake" | "sleep";
|
|
@@ -195,14 +195,14 @@ export declare const aiModeStatusSchema: z.ZodObject<{
|
|
|
195
195
|
resource: "ai-gpu";
|
|
196
196
|
state: "running" | "degraded" | "planned" | "succeeded" | "postponed" | "rolled-back";
|
|
197
197
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
198
|
+
startedAt: string;
|
|
199
|
+
idempotencyKey: string;
|
|
200
|
+
completedAt: string | null;
|
|
198
201
|
steps: {
|
|
199
202
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
200
203
|
state: "pending" | "failed" | "running" | "skipped" | "succeeded";
|
|
201
204
|
completedAt: string | null;
|
|
202
205
|
}[];
|
|
203
|
-
startedAt: string;
|
|
204
|
-
idempotencyKey: string;
|
|
205
|
-
completedAt: string | null;
|
|
206
206
|
reason: "active-inference" | "active-training" | "transition-failed" | "recovery-failed" | null;
|
|
207
207
|
from: "awake" | "sleep";
|
|
208
208
|
to: "awake" | "sleep";
|
|
@@ -252,14 +252,14 @@ export declare const aiModeStatusSchema: z.ZodObject<{
|
|
|
252
252
|
resource: "ai-gpu";
|
|
253
253
|
state: "running" | "degraded" | "planned" | "succeeded" | "postponed" | "rolled-back";
|
|
254
254
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
255
|
+
startedAt: string;
|
|
256
|
+
idempotencyKey: string;
|
|
257
|
+
completedAt: string | null;
|
|
255
258
|
steps: {
|
|
256
259
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
257
260
|
state: "pending" | "failed" | "running" | "skipped" | "succeeded";
|
|
258
261
|
completedAt: string | null;
|
|
259
262
|
}[];
|
|
260
|
-
startedAt: string;
|
|
261
|
-
idempotencyKey: string;
|
|
262
|
-
completedAt: string | null;
|
|
263
263
|
reason: "active-inference" | "active-training" | "transition-failed" | "recovery-failed" | null;
|
|
264
264
|
from: "awake" | "sleep";
|
|
265
265
|
to: "awake" | "sleep";
|
|
@@ -273,14 +273,14 @@ export declare const aiModeStatusSchema: z.ZodObject<{
|
|
|
273
273
|
resource: "ai-gpu";
|
|
274
274
|
state: "running" | "degraded" | "planned" | "succeeded" | "postponed" | "rolled-back";
|
|
275
275
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
276
|
+
startedAt: string;
|
|
277
|
+
idempotencyKey: string;
|
|
278
|
+
completedAt: string | null;
|
|
276
279
|
steps: {
|
|
277
280
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
278
281
|
state: "pending" | "failed" | "running" | "skipped" | "succeeded";
|
|
279
282
|
completedAt: string | null;
|
|
280
283
|
}[];
|
|
281
|
-
startedAt: string;
|
|
282
|
-
idempotencyKey: string;
|
|
283
|
-
completedAt: string | null;
|
|
284
284
|
reason: "active-inference" | "active-training" | "transition-failed" | "recovery-failed" | null;
|
|
285
285
|
from: "awake" | "sleep";
|
|
286
286
|
to: "awake" | "sleep";
|
|
@@ -304,14 +304,14 @@ export declare const aiModeStatusSchema: z.ZodObject<{
|
|
|
304
304
|
resource: "ai-gpu";
|
|
305
305
|
state: "running" | "degraded" | "planned" | "succeeded" | "postponed" | "rolled-back";
|
|
306
306
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
307
|
+
startedAt: string;
|
|
308
|
+
idempotencyKey: string;
|
|
309
|
+
completedAt: string | null;
|
|
307
310
|
steps: {
|
|
308
311
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
309
312
|
state: "pending" | "failed" | "running" | "skipped" | "succeeded";
|
|
310
313
|
completedAt: string | null;
|
|
311
314
|
}[];
|
|
312
|
-
startedAt: string;
|
|
313
|
-
idempotencyKey: string;
|
|
314
|
-
completedAt: string | null;
|
|
315
315
|
reason: "active-inference" | "active-training" | "transition-failed" | "recovery-failed" | null;
|
|
316
316
|
from: "awake" | "sleep";
|
|
317
317
|
to: "awake" | "sleep";
|
|
@@ -326,14 +326,14 @@ export declare const aiModeStatusSchema: z.ZodObject<{
|
|
|
326
326
|
resource: "ai-gpu";
|
|
327
327
|
state: "running" | "degraded" | "planned" | "succeeded" | "postponed" | "rolled-back";
|
|
328
328
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
329
|
+
startedAt: string;
|
|
330
|
+
idempotencyKey: string;
|
|
331
|
+
completedAt: string | null;
|
|
329
332
|
steps: {
|
|
330
333
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
331
334
|
state: "pending" | "failed" | "running" | "skipped" | "succeeded";
|
|
332
335
|
completedAt: string | null;
|
|
333
336
|
}[];
|
|
334
|
-
startedAt: string;
|
|
335
|
-
idempotencyKey: string;
|
|
336
|
-
completedAt: string | null;
|
|
337
337
|
reason: "active-inference" | "active-training" | "transition-failed" | "recovery-failed" | null;
|
|
338
338
|
from: "awake" | "sleep";
|
|
339
339
|
to: "awake" | "sleep";
|
|
@@ -357,14 +357,14 @@ export declare const aiModeStatusSchema: z.ZodObject<{
|
|
|
357
357
|
resource: "ai-gpu";
|
|
358
358
|
state: "running" | "degraded" | "planned" | "succeeded" | "postponed" | "rolled-back";
|
|
359
359
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
360
|
+
startedAt: string;
|
|
361
|
+
idempotencyKey: string;
|
|
362
|
+
completedAt: string | null;
|
|
360
363
|
steps: {
|
|
361
364
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
362
365
|
state: "pending" | "failed" | "running" | "skipped" | "succeeded";
|
|
363
366
|
completedAt: string | null;
|
|
364
367
|
}[];
|
|
365
|
-
startedAt: string;
|
|
366
|
-
idempotencyKey: string;
|
|
367
|
-
completedAt: string | null;
|
|
368
368
|
reason: "active-inference" | "active-training" | "transition-failed" | "recovery-failed" | null;
|
|
369
369
|
from: "awake" | "sleep";
|
|
370
370
|
to: "awake" | "sleep";
|
|
@@ -379,14 +379,14 @@ export declare const aiModeStatusSchema: z.ZodObject<{
|
|
|
379
379
|
resource: "ai-gpu";
|
|
380
380
|
state: "running" | "degraded" | "planned" | "succeeded" | "postponed" | "rolled-back";
|
|
381
381
|
schemaVersion: "treeseed.ai-mode-transition-receipt/v1";
|
|
382
|
+
startedAt: string;
|
|
383
|
+
idempotencyKey: string;
|
|
384
|
+
completedAt: string | null;
|
|
382
385
|
steps: {
|
|
383
386
|
id: "close-inference" | "drain-inference" | "stop-vllm" | "start-training" | "open-training" | "close-training" | "drain-training" | "stop-training" | "start-vllm" | "warm-vllm" | "open-inference" | "rollback";
|
|
384
387
|
state: "pending" | "failed" | "running" | "skipped" | "succeeded";
|
|
385
388
|
completedAt: string | null;
|
|
386
389
|
}[];
|
|
387
|
-
startedAt: string;
|
|
388
|
-
idempotencyKey: string;
|
|
389
|
-
completedAt: string | null;
|
|
390
390
|
reason: "active-inference" | "active-training" | "transition-failed" | "recovery-failed" | null;
|
|
391
391
|
from: "awake" | "sleep";
|
|
392
392
|
to: "awake" | "sleep";
|
|
@@ -423,9 +423,9 @@ export declare const aiModeInternalControlSchema: z.ZodObject<{
|
|
|
423
423
|
}, "strict", z.ZodTypeAny, {
|
|
424
424
|
path: string;
|
|
425
425
|
schemaVersion: "treeseed.ai-mode-internal-control/v1";
|
|
426
|
+
method: "POST";
|
|
426
427
|
transport: "mtls";
|
|
427
428
|
clientCommonName: "client-ai-lab-mode";
|
|
428
|
-
method: "POST";
|
|
429
429
|
urlEnvironment: "TREESEED_AI_MODE_URL";
|
|
430
430
|
credentialFiles: {
|
|
431
431
|
certificateAuthority: "/run/secrets/ai-mode-ca";
|
|
@@ -437,9 +437,9 @@ export declare const aiModeInternalControlSchema: z.ZodObject<{
|
|
|
437
437
|
}, {
|
|
438
438
|
path: string;
|
|
439
439
|
schemaVersion: "treeseed.ai-mode-internal-control/v1";
|
|
440
|
+
method: "POST";
|
|
440
441
|
transport: "mtls";
|
|
441
442
|
clientCommonName: "client-ai-lab-mode";
|
|
442
|
-
method: "POST";
|
|
443
443
|
urlEnvironment: "TREESEED_AI_MODE_URL";
|
|
444
444
|
credentialFiles: {
|
|
445
445
|
certificateAuthority: "/run/secrets/ai-mode-ca";
|
|
@@ -137,6 +137,7 @@ export declare const hostedTopologyTemplateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
137
137
|
}, "strict", z.ZodTypeAny, {
|
|
138
138
|
id: string;
|
|
139
139
|
schemaVersion: "treeseed.hosted-topology-template/v1";
|
|
140
|
+
environment: "staging" | "production";
|
|
140
141
|
resources: {
|
|
141
142
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
142
143
|
provider: "railway" | "cloudflare";
|
|
@@ -160,7 +161,6 @@ export declare const hostedTopologyTemplateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
160
161
|
externalIdInput?: string | undefined;
|
|
161
162
|
};
|
|
162
163
|
}[];
|
|
163
|
-
environment: "staging" | "production";
|
|
164
164
|
mutation: "agent-authorized";
|
|
165
165
|
deploymentId: string;
|
|
166
166
|
stackId: string;
|
|
@@ -177,6 +177,7 @@ export declare const hostedTopologyTemplateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
177
177
|
}, {
|
|
178
178
|
id: string;
|
|
179
179
|
schemaVersion: "treeseed.hosted-topology-template/v1";
|
|
180
|
+
environment: "staging" | "production";
|
|
180
181
|
resources: {
|
|
181
182
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
182
183
|
provider: "railway" | "cloudflare";
|
|
@@ -200,7 +201,6 @@ export declare const hostedTopologyTemplateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
200
201
|
literal: string | number | boolean;
|
|
201
202
|
}> | undefined;
|
|
202
203
|
}[];
|
|
203
|
-
environment: "staging" | "production";
|
|
204
204
|
mutation: "agent-authorized";
|
|
205
205
|
deploymentId: string;
|
|
206
206
|
stackId: string;
|
|
@@ -217,6 +217,7 @@ export declare const hostedTopologyTemplateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
217
217
|
}>, {
|
|
218
218
|
id: string;
|
|
219
219
|
schemaVersion: "treeseed.hosted-topology-template/v1";
|
|
220
|
+
environment: "staging" | "production";
|
|
220
221
|
resources: {
|
|
221
222
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
222
223
|
provider: "railway" | "cloudflare";
|
|
@@ -240,7 +241,6 @@ export declare const hostedTopologyTemplateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
240
241
|
externalIdInput?: string | undefined;
|
|
241
242
|
};
|
|
242
243
|
}[];
|
|
243
|
-
environment: "staging" | "production";
|
|
244
244
|
mutation: "agent-authorized";
|
|
245
245
|
deploymentId: string;
|
|
246
246
|
stackId: string;
|
|
@@ -257,6 +257,7 @@ export declare const hostedTopologyTemplateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
257
257
|
}, {
|
|
258
258
|
id: string;
|
|
259
259
|
schemaVersion: "treeseed.hosted-topology-template/v1";
|
|
260
|
+
environment: "staging" | "production";
|
|
260
261
|
resources: {
|
|
261
262
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
262
263
|
provider: "railway" | "cloudflare";
|
|
@@ -280,7 +281,6 @@ export declare const hostedTopologyTemplateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
280
281
|
literal: string | number | boolean;
|
|
281
282
|
}> | undefined;
|
|
282
283
|
}[];
|
|
283
|
-
environment: "staging" | "production";
|
|
284
284
|
mutation: "agent-authorized";
|
|
285
285
|
deploymentId: string;
|
|
286
286
|
stackId: string;
|
|
@@ -305,14 +305,14 @@ export declare const hostedTopologyArtifactInputsSchema: z.ZodObject<{
|
|
|
305
305
|
source: z.ZodString;
|
|
306
306
|
}, "strict", z.ZodTypeAny, {
|
|
307
307
|
kind: "archive";
|
|
308
|
-
digest: string;
|
|
309
|
-
source: string;
|
|
310
308
|
format: "tar+gzip";
|
|
309
|
+
source: string;
|
|
310
|
+
digest: string;
|
|
311
311
|
}, {
|
|
312
312
|
kind: "archive";
|
|
313
|
-
digest: string;
|
|
314
|
-
source: string;
|
|
315
313
|
format: "tar+gzip";
|
|
314
|
+
source: string;
|
|
315
|
+
digest: string;
|
|
316
316
|
}>, z.ZodObject<{
|
|
317
317
|
kind: z.ZodLiteral<"file">;
|
|
318
318
|
mediaType: z.ZodString;
|
|
@@ -320,13 +320,13 @@ export declare const hostedTopologyArtifactInputsSchema: z.ZodObject<{
|
|
|
320
320
|
source: z.ZodString;
|
|
321
321
|
}, "strict", z.ZodTypeAny, {
|
|
322
322
|
kind: "file";
|
|
323
|
-
digest: string;
|
|
324
323
|
source: string;
|
|
324
|
+
digest: string;
|
|
325
325
|
mediaType: string;
|
|
326
326
|
}, {
|
|
327
327
|
kind: "file";
|
|
328
|
-
digest: string;
|
|
329
328
|
source: string;
|
|
329
|
+
digest: string;
|
|
330
330
|
mediaType: string;
|
|
331
331
|
}>, z.ZodEffects<z.ZodObject<{
|
|
332
332
|
kind: z.ZodLiteral<"oci-image">;
|
|
@@ -353,13 +353,13 @@ export declare const hostedTopologyArtifactInputsSchema: z.ZodObject<{
|
|
|
353
353
|
schemaVersion: "treeseed.hosted-topology-artifacts/v1";
|
|
354
354
|
artifacts: Record<string, {
|
|
355
355
|
kind: "archive";
|
|
356
|
-
digest: string;
|
|
357
|
-
source: string;
|
|
358
356
|
format: "tar+gzip";
|
|
357
|
+
source: string;
|
|
358
|
+
digest: string;
|
|
359
359
|
} | {
|
|
360
360
|
kind: "file";
|
|
361
|
-
digest: string;
|
|
362
361
|
source: string;
|
|
362
|
+
digest: string;
|
|
363
363
|
mediaType: string;
|
|
364
364
|
} | {
|
|
365
365
|
identity: string;
|
|
@@ -370,13 +370,13 @@ export declare const hostedTopologyArtifactInputsSchema: z.ZodObject<{
|
|
|
370
370
|
schemaVersion: "treeseed.hosted-topology-artifacts/v1";
|
|
371
371
|
artifacts: Record<string, {
|
|
372
372
|
kind: "archive";
|
|
373
|
-
digest: string;
|
|
374
|
-
source: string;
|
|
375
373
|
format: "tar+gzip";
|
|
374
|
+
source: string;
|
|
375
|
+
digest: string;
|
|
376
376
|
} | {
|
|
377
377
|
kind: "file";
|
|
378
|
-
digest: string;
|
|
379
378
|
source: string;
|
|
379
|
+
digest: string;
|
|
380
380
|
mediaType: string;
|
|
381
381
|
} | {
|
|
382
382
|
identity: string;
|
|
@@ -393,6 +393,12 @@ export declare function compileHostedTopologyTemplate(input: {
|
|
|
393
393
|
}): {
|
|
394
394
|
id: string;
|
|
395
395
|
schemaVersion: "treeseed.hosted-topology/v1";
|
|
396
|
+
teamId: string;
|
|
397
|
+
platform: {
|
|
398
|
+
commit: string;
|
|
399
|
+
repository: "treeseed-ai/platform";
|
|
400
|
+
};
|
|
401
|
+
environment: "staging" | "production";
|
|
396
402
|
resources: {
|
|
397
403
|
kind: "postgresql" | "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "operations-runner" | "treedx-service";
|
|
398
404
|
provider: "railway" | "cloudflare";
|
|
@@ -416,22 +422,16 @@ export declare function compileHostedTopologyTemplate(input: {
|
|
|
416
422
|
externalIdInput?: string | undefined;
|
|
417
423
|
};
|
|
418
424
|
}[];
|
|
419
|
-
teamId: string;
|
|
420
|
-
platform: {
|
|
421
|
-
repository: "treeseed-ai/platform";
|
|
422
|
-
commit: string;
|
|
423
|
-
};
|
|
424
|
-
environment: "staging" | "production";
|
|
425
425
|
mutation: "agent-authorized";
|
|
426
426
|
artifacts: Record<string, {
|
|
427
427
|
kind: "archive";
|
|
428
|
-
digest: string;
|
|
429
|
-
source: string;
|
|
430
428
|
format: "tar+gzip";
|
|
429
|
+
source: string;
|
|
430
|
+
digest: string;
|
|
431
431
|
} | {
|
|
432
432
|
kind: "file";
|
|
433
|
-
digest: string;
|
|
434
433
|
source: string;
|
|
434
|
+
digest: string;
|
|
435
435
|
mediaType: string;
|
|
436
436
|
} | {
|
|
437
437
|
identity: string;
|