@treeseed/sdk 0.13.0-rc.89 → 0.13.0-rc.91
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/.treeseed-build-complete.json +1 -1
- package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +6 -6
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +144 -144
- package/dist/capacity-provider/environment-catalog.d.ts +12 -12
- package/dist/content/validation/agent-operational-content-schemas.d.ts +4 -4
- package/dist/content/validation/auxiliary-content-schemas.d.ts +20 -20
- package/dist/content/validation/content-model-schemas.d.ts +291 -291
- package/dist/content/validation/portable-content-data.d.ts +27 -27
- package/dist/deployment/hosted-topology-template.d.ts +24 -24
- package/dist/deployment/hosted-topology.d.ts +114 -114
- package/dist/deployment/schemas.d.ts +43 -43
- package/dist/deployment/schemas.js +1 -1
- package/dist/development/schemas.d.ts +76 -76
- package/dist/operator-contracts/catalog/communication-operations.d.ts +3 -3
- package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +21 -21
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +8 -8
- package/dist/operator-contracts/communication/contracts.d.ts +16 -16
- package/dist/operator-contracts/control-plane-operations.d.ts +32 -32
- package/dist/operator-contracts/inbox/contracts.d.ts +30 -30
- package/dist/platform/schemas.d.ts +220 -40
- package/dist/platform/schemas.js +7 -2
- package/dist/platform/workset.js +5 -1
- package/package.json +1 -1
|
@@ -297,14 +297,14 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
297
297
|
commit?: {
|
|
298
298
|
allowed: boolean;
|
|
299
299
|
} | undefined;
|
|
300
|
-
network?: {
|
|
301
|
-
allowWeb?: boolean | undefined;
|
|
302
|
-
allowedDomains?: string[] | undefined;
|
|
303
|
-
} | undefined;
|
|
304
300
|
content?: Record<string, {
|
|
305
301
|
operations: string[];
|
|
306
302
|
filters?: Record<string, unknown> | undefined;
|
|
307
303
|
}> | undefined;
|
|
304
|
+
network?: {
|
|
305
|
+
allowWeb?: boolean | undefined;
|
|
306
|
+
allowedDomains?: string[] | undefined;
|
|
307
|
+
} | undefined;
|
|
308
308
|
shell?: {
|
|
309
309
|
allowCommands?: boolean | undefined;
|
|
310
310
|
allowedCommands?: string[] | undefined;
|
|
@@ -319,14 +319,14 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
319
319
|
commit?: {
|
|
320
320
|
allowed: boolean;
|
|
321
321
|
} | undefined;
|
|
322
|
-
network?: {
|
|
323
|
-
allowWeb?: boolean | undefined;
|
|
324
|
-
allowedDomains?: string[] | undefined;
|
|
325
|
-
} | undefined;
|
|
326
322
|
content?: Record<string, {
|
|
327
323
|
operations: string[];
|
|
328
324
|
filters?: Record<string, unknown> | undefined;
|
|
329
325
|
}> | undefined;
|
|
326
|
+
network?: {
|
|
327
|
+
allowWeb?: boolean | undefined;
|
|
328
|
+
allowedDomains?: string[] | undefined;
|
|
329
|
+
} | undefined;
|
|
330
330
|
shell?: {
|
|
331
331
|
allowCommands?: boolean | undefined;
|
|
332
332
|
allowedCommands?: string[] | undefined;
|
|
@@ -921,14 +921,14 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
921
921
|
commit?: {
|
|
922
922
|
allowed: boolean;
|
|
923
923
|
} | undefined;
|
|
924
|
-
network?: {
|
|
925
|
-
allowWeb?: boolean | undefined;
|
|
926
|
-
allowedDomains?: string[] | undefined;
|
|
927
|
-
} | undefined;
|
|
928
924
|
content?: Record<string, {
|
|
929
925
|
operations: string[];
|
|
930
926
|
filters?: Record<string, unknown> | undefined;
|
|
931
927
|
}> | undefined;
|
|
928
|
+
network?: {
|
|
929
|
+
allowWeb?: boolean | undefined;
|
|
930
|
+
allowedDomains?: string[] | undefined;
|
|
931
|
+
} | undefined;
|
|
932
932
|
shell?: {
|
|
933
933
|
allowCommands?: boolean | undefined;
|
|
934
934
|
allowedCommands?: string[] | undefined;
|
|
@@ -1093,14 +1093,14 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1093
1093
|
commit?: {
|
|
1094
1094
|
allowed: boolean;
|
|
1095
1095
|
} | undefined;
|
|
1096
|
-
network?: {
|
|
1097
|
-
allowWeb?: boolean | undefined;
|
|
1098
|
-
allowedDomains?: string[] | undefined;
|
|
1099
|
-
} | undefined;
|
|
1100
1096
|
content?: Record<string, {
|
|
1101
1097
|
operations: string[];
|
|
1102
1098
|
filters?: Record<string, unknown> | undefined;
|
|
1103
1099
|
}> | undefined;
|
|
1100
|
+
network?: {
|
|
1101
|
+
allowWeb?: boolean | undefined;
|
|
1102
|
+
allowedDomains?: string[] | undefined;
|
|
1103
|
+
} | undefined;
|
|
1104
1104
|
shell?: {
|
|
1105
1105
|
allowCommands?: boolean | undefined;
|
|
1106
1106
|
allowedCommands?: string[] | undefined;
|
|
@@ -1265,14 +1265,14 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1265
1265
|
commit?: {
|
|
1266
1266
|
allowed: boolean;
|
|
1267
1267
|
} | undefined;
|
|
1268
|
-
network?: {
|
|
1269
|
-
allowWeb?: boolean | undefined;
|
|
1270
|
-
allowedDomains?: string[] | undefined;
|
|
1271
|
-
} | undefined;
|
|
1272
1268
|
content?: Record<string, {
|
|
1273
1269
|
operations: string[];
|
|
1274
1270
|
filters?: Record<string, unknown> | undefined;
|
|
1275
1271
|
}> | undefined;
|
|
1272
|
+
network?: {
|
|
1273
|
+
allowWeb?: boolean | undefined;
|
|
1274
|
+
allowedDomains?: string[] | undefined;
|
|
1275
|
+
} | undefined;
|
|
1276
1276
|
shell?: {
|
|
1277
1277
|
allowCommands?: boolean | undefined;
|
|
1278
1278
|
allowedCommands?: string[] | undefined;
|
|
@@ -1437,14 +1437,14 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1437
1437
|
commit?: {
|
|
1438
1438
|
allowed: boolean;
|
|
1439
1439
|
} | undefined;
|
|
1440
|
-
network?: {
|
|
1441
|
-
allowWeb?: boolean | undefined;
|
|
1442
|
-
allowedDomains?: string[] | undefined;
|
|
1443
|
-
} | undefined;
|
|
1444
1440
|
content?: Record<string, {
|
|
1445
1441
|
operations: string[];
|
|
1446
1442
|
filters?: Record<string, unknown> | undefined;
|
|
1447
1443
|
}> | undefined;
|
|
1444
|
+
network?: {
|
|
1445
|
+
allowWeb?: boolean | undefined;
|
|
1446
|
+
allowedDomains?: string[] | undefined;
|
|
1447
|
+
} | undefined;
|
|
1448
1448
|
shell?: {
|
|
1449
1449
|
allowCommands?: boolean | undefined;
|
|
1450
1450
|
allowedCommands?: string[] | undefined;
|
|
@@ -1628,8 +1628,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1628
1628
|
directory: string;
|
|
1629
1629
|
integrity?: string | undefined;
|
|
1630
1630
|
} | {
|
|
1631
|
-
version: string;
|
|
1632
1631
|
kind: "r2";
|
|
1632
|
+
version: string;
|
|
1633
1633
|
objectKey: string;
|
|
1634
1634
|
integrity?: string | undefined;
|
|
1635
1635
|
bucket?: string | undefined;
|
|
@@ -1649,8 +1649,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1649
1649
|
teamId?: string | undefined;
|
|
1650
1650
|
sourceRef?: string | undefined;
|
|
1651
1651
|
} | {
|
|
1652
|
-
id: string;
|
|
1653
1652
|
kind: "workday" | "api" | "handler" | "spec" | "message_chain" | "manager_worker" | "ui" | "context-query" | "context-query-set";
|
|
1653
|
+
id: string;
|
|
1654
1654
|
trigger: Record<string, unknown>;
|
|
1655
1655
|
agent: string;
|
|
1656
1656
|
contextQueryRefs: string[];
|
|
@@ -1746,9 +1746,9 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1746
1746
|
}[];
|
|
1747
1747
|
mergePolicy: "replace" | "append";
|
|
1748
1748
|
} | {
|
|
1749
|
+
kind: "status" | "message" | "summary" | "plan";
|
|
1749
1750
|
id: string;
|
|
1750
1751
|
variables: string[];
|
|
1751
|
-
kind: "status" | "message" | "summary" | "plan";
|
|
1752
1752
|
description: string;
|
|
1753
1753
|
revision: number;
|
|
1754
1754
|
title: string;
|
|
@@ -90,8 +90,8 @@ export declare const hostedTopologyTemplateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
90
90
|
externalIdInput?: string | undefined;
|
|
91
91
|
}>;
|
|
92
92
|
}, "strict", z.ZodTypeAny, {
|
|
93
|
-
id: string;
|
|
94
93
|
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
94
|
+
id: string;
|
|
95
95
|
provider: "cloudflare" | "railway";
|
|
96
96
|
dependsOn: string[];
|
|
97
97
|
parameters: Record<string, {
|
|
@@ -112,8 +112,8 @@ export declare const hostedTopologyTemplateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
112
112
|
externalIdInput?: string | undefined;
|
|
113
113
|
};
|
|
114
114
|
}, {
|
|
115
|
-
id: string;
|
|
116
115
|
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
116
|
+
id: string;
|
|
117
117
|
provider: "cloudflare" | "railway";
|
|
118
118
|
adoption: {
|
|
119
119
|
mode: "adopt-or-create";
|
|
@@ -137,8 +137,8 @@ export declare const hostedTopologyTemplateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
137
137
|
}, "strict", z.ZodTypeAny, {
|
|
138
138
|
schemaVersion: "treeseed.hosted-topology-template/v1";
|
|
139
139
|
resources: {
|
|
140
|
-
id: string;
|
|
141
140
|
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
141
|
+
id: string;
|
|
142
142
|
provider: "cloudflare" | "railway";
|
|
143
143
|
dependsOn: string[];
|
|
144
144
|
parameters: Record<string, {
|
|
@@ -177,8 +177,8 @@ export declare const hostedTopologyTemplateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
177
177
|
}, {
|
|
178
178
|
schemaVersion: "treeseed.hosted-topology-template/v1";
|
|
179
179
|
resources: {
|
|
180
|
-
id: string;
|
|
181
180
|
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
181
|
+
id: string;
|
|
182
182
|
provider: "cloudflare" | "railway";
|
|
183
183
|
adoption: {
|
|
184
184
|
mode: "adopt-or-create";
|
|
@@ -217,8 +217,8 @@ export declare const hostedTopologyTemplateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
217
217
|
}>, {
|
|
218
218
|
schemaVersion: "treeseed.hosted-topology-template/v1";
|
|
219
219
|
resources: {
|
|
220
|
-
id: string;
|
|
221
220
|
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
221
|
+
id: string;
|
|
222
222
|
provider: "cloudflare" | "railway";
|
|
223
223
|
dependsOn: string[];
|
|
224
224
|
parameters: Record<string, {
|
|
@@ -257,8 +257,8 @@ export declare const hostedTopologyTemplateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
257
257
|
}, {
|
|
258
258
|
schemaVersion: "treeseed.hosted-topology-template/v1";
|
|
259
259
|
resources: {
|
|
260
|
-
id: string;
|
|
261
260
|
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
261
|
+
id: string;
|
|
262
262
|
provider: "cloudflare" | "railway";
|
|
263
263
|
adoption: {
|
|
264
264
|
mode: "adopt-or-create";
|
|
@@ -304,14 +304,14 @@ export declare const hostedTopologyArtifactInputsSchema: z.ZodObject<{
|
|
|
304
304
|
digest: z.ZodString;
|
|
305
305
|
source: z.ZodString;
|
|
306
306
|
}, "strict", z.ZodTypeAny, {
|
|
307
|
+
kind: "archive";
|
|
307
308
|
digest: string;
|
|
308
309
|
source: string;
|
|
309
|
-
kind: "archive";
|
|
310
310
|
format: "tar+gzip";
|
|
311
311
|
}, {
|
|
312
|
+
kind: "archive";
|
|
312
313
|
digest: string;
|
|
313
314
|
source: string;
|
|
314
|
-
kind: "archive";
|
|
315
315
|
format: "tar+gzip";
|
|
316
316
|
}>, z.ZodObject<{
|
|
317
317
|
kind: z.ZodLiteral<"file">;
|
|
@@ -319,68 +319,68 @@ export declare const hostedTopologyArtifactInputsSchema: z.ZodObject<{
|
|
|
319
319
|
digest: z.ZodString;
|
|
320
320
|
source: z.ZodString;
|
|
321
321
|
}, "strict", z.ZodTypeAny, {
|
|
322
|
+
kind: "file";
|
|
322
323
|
digest: string;
|
|
323
324
|
source: string;
|
|
324
|
-
kind: "file";
|
|
325
325
|
mediaType: string;
|
|
326
326
|
}, {
|
|
327
|
+
kind: "file";
|
|
327
328
|
digest: string;
|
|
328
329
|
source: string;
|
|
329
|
-
kind: "file";
|
|
330
330
|
mediaType: string;
|
|
331
331
|
}>, z.ZodEffects<z.ZodObject<{
|
|
332
332
|
kind: z.ZodLiteral<"oci-image">;
|
|
333
333
|
digest: z.ZodString;
|
|
334
334
|
identity: z.ZodString;
|
|
335
335
|
}, "strict", z.ZodTypeAny, {
|
|
336
|
-
digest: string;
|
|
337
336
|
kind: "oci-image";
|
|
337
|
+
digest: string;
|
|
338
338
|
identity: string;
|
|
339
339
|
}, {
|
|
340
|
-
digest: string;
|
|
341
340
|
kind: "oci-image";
|
|
341
|
+
digest: string;
|
|
342
342
|
identity: string;
|
|
343
343
|
}>, {
|
|
344
|
-
digest: string;
|
|
345
344
|
kind: "oci-image";
|
|
345
|
+
digest: string;
|
|
346
346
|
identity: string;
|
|
347
347
|
}, {
|
|
348
|
-
digest: string;
|
|
349
348
|
kind: "oci-image";
|
|
349
|
+
digest: string;
|
|
350
350
|
identity: string;
|
|
351
351
|
}>]>>;
|
|
352
352
|
}, "strict", z.ZodTypeAny, {
|
|
353
353
|
schemaVersion: "treeseed.hosted-topology-artifacts/v1";
|
|
354
354
|
artifacts: Record<string, {
|
|
355
|
+
kind: "archive";
|
|
355
356
|
digest: string;
|
|
356
357
|
source: string;
|
|
357
|
-
kind: "archive";
|
|
358
358
|
format: "tar+gzip";
|
|
359
359
|
} | {
|
|
360
|
+
kind: "file";
|
|
360
361
|
digest: string;
|
|
361
362
|
source: string;
|
|
362
|
-
kind: "file";
|
|
363
363
|
mediaType: string;
|
|
364
364
|
} | {
|
|
365
|
-
digest: string;
|
|
366
365
|
kind: "oci-image";
|
|
366
|
+
digest: string;
|
|
367
367
|
identity: string;
|
|
368
368
|
}>;
|
|
369
369
|
}, {
|
|
370
370
|
schemaVersion: "treeseed.hosted-topology-artifacts/v1";
|
|
371
371
|
artifacts: Record<string, {
|
|
372
|
+
kind: "archive";
|
|
372
373
|
digest: string;
|
|
373
374
|
source: string;
|
|
374
|
-
kind: "archive";
|
|
375
375
|
format: "tar+gzip";
|
|
376
376
|
} | {
|
|
377
|
+
kind: "file";
|
|
377
378
|
digest: string;
|
|
378
379
|
source: string;
|
|
379
|
-
kind: "file";
|
|
380
380
|
mediaType: string;
|
|
381
381
|
} | {
|
|
382
|
-
digest: string;
|
|
383
382
|
kind: "oci-image";
|
|
383
|
+
digest: string;
|
|
384
384
|
identity: string;
|
|
385
385
|
}>;
|
|
386
386
|
}>;
|
|
@@ -393,8 +393,8 @@ export declare function compileHostedTopologyTemplate(input: {
|
|
|
393
393
|
}): {
|
|
394
394
|
schemaVersion: "treeseed.hosted-topology/v1";
|
|
395
395
|
resources: {
|
|
396
|
-
id: string;
|
|
397
396
|
kind: "admin-application" | "pages-application" | "dns-record" | "tls-policy" | "api-proxy" | "control-plane-api" | "postgresql" | "operations-runner" | "treedx-service";
|
|
397
|
+
id: string;
|
|
398
398
|
provider: "cloudflare" | "railway";
|
|
399
399
|
dependsOn: string[];
|
|
400
400
|
parameters: Record<string, {
|
|
@@ -424,18 +424,18 @@ export declare function compileHostedTopologyTemplate(input: {
|
|
|
424
424
|
mutation: "agent-authorized";
|
|
425
425
|
environment: "production" | "staging";
|
|
426
426
|
artifacts: Record<string, {
|
|
427
|
+
kind: "archive";
|
|
427
428
|
digest: string;
|
|
428
429
|
source: string;
|
|
429
|
-
kind: "archive";
|
|
430
430
|
format: "tar+gzip";
|
|
431
431
|
} | {
|
|
432
|
+
kind: "file";
|
|
432
433
|
digest: string;
|
|
433
434
|
source: string;
|
|
434
|
-
kind: "file";
|
|
435
435
|
mediaType: string;
|
|
436
436
|
} | {
|
|
437
|
-
digest: string;
|
|
438
437
|
kind: "oci-image";
|
|
438
|
+
digest: string;
|
|
439
439
|
identity: string;
|
|
440
440
|
}>;
|
|
441
441
|
deploymentId: string;
|