@treeseed/sdk 0.13.0-rc.55 → 0.13.0-rc.56
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/providers/supply-policy.d.ts +0 -2
- package/dist/agent-capacity/validation/activity-profile.js +18 -9
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +540 -618
- package/dist/agent-capacity/validation/agent-definition-schema.js +8 -28
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +11 -11
- package/dist/capacity-provider/capability-ontology.d.ts +1211 -0
- package/dist/capacity-provider/capability-ontology.js +200 -0
- package/dist/capacity-provider/contracts/governance.d.ts +37 -2
- package/dist/capacity-provider/core-capability-catalog.d.ts +47 -0
- package/dist/capacity-provider/core-capability-catalog.js +63 -0
- package/dist/capacity-provider/environment-catalog.d.ts +877 -0
- package/dist/capacity-provider/environment-catalog.js +116 -0
- package/dist/capacity-provider/index.d.ts +3 -0
- package/dist/capacity-provider/index.js +3 -0
- package/dist/capacity-provider/sandbox-contracts.d.ts +147 -26
- package/dist/capacity-provider/sandbox-contracts.js +16 -1
- package/dist/capacity-provider/validation.d.ts +2 -1
- package/dist/capacity-provider/validation.js +34 -1
- package/dist/content/validation/content-model-schemas.d.ts +985 -1128
- package/dist/content/validation/portable-content-data.d.ts +90 -103
- package/dist/deployment/schemas.d.ts +17 -17
- package/dist/deployment/schemas.js +1 -1
- package/dist/operator-contracts/canonical-command-tree.js +6 -0
- package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +164 -0
- package/dist/operator-contracts/catalog/capability-ontology-operations.js +24 -0
- package/dist/operator-contracts/catalog/control-plane-catalog.d.ts +6 -0
- package/dist/operator-contracts/catalog/control-plane-catalog.js +18 -0
- package/dist/operator-contracts/control-plane-operations.d.ts +510 -342
- package/dist/operator-contracts/control-plane-operations.js +7 -10
- package/dist/operator-contracts/index.d.ts +1 -0
- package/dist/operator-contracts/index.js +1 -0
- package/dist/types/agents/agent-activity-profile.d.ts +15 -33
- package/package.json +1 -1
|
@@ -197,6 +197,43 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
197
197
|
id: string;
|
|
198
198
|
revision: number;
|
|
199
199
|
}[]>>;
|
|
200
|
+
capabilityRequirements: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
201
|
+
capabilityId: import("zod").ZodString;
|
|
202
|
+
versionRange: import("zod").ZodString;
|
|
203
|
+
requirement: import("zod").ZodEnum<["required", "preferred"]>;
|
|
204
|
+
alternativeGroup: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
205
|
+
requiredFeatures: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodArray<import("zod").ZodString, "many">, string[], string[]>>;
|
|
206
|
+
configuration: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
207
|
+
value: import("zod").ZodUnknown;
|
|
208
|
+
requirement: import("zod").ZodEnum<["required", "preferred"]>;
|
|
209
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
210
|
+
requirement: "required" | "preferred";
|
|
211
|
+
value?: unknown;
|
|
212
|
+
}, {
|
|
213
|
+
requirement: "required" | "preferred";
|
|
214
|
+
value?: unknown;
|
|
215
|
+
}>>>;
|
|
216
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
217
|
+
capabilityId: string;
|
|
218
|
+
requirement: "required" | "preferred";
|
|
219
|
+
versionRange: string;
|
|
220
|
+
configuration?: Record<string, {
|
|
221
|
+
requirement: "required" | "preferred";
|
|
222
|
+
value?: unknown;
|
|
223
|
+
}> | undefined;
|
|
224
|
+
alternativeGroup?: string | null | undefined;
|
|
225
|
+
requiredFeatures?: string[] | undefined;
|
|
226
|
+
}, {
|
|
227
|
+
capabilityId: string;
|
|
228
|
+
requirement: "required" | "preferred";
|
|
229
|
+
versionRange: string;
|
|
230
|
+
configuration?: Record<string, {
|
|
231
|
+
requirement: "required" | "preferred";
|
|
232
|
+
value?: unknown;
|
|
233
|
+
}> | undefined;
|
|
234
|
+
alternativeGroup?: string | null | undefined;
|
|
235
|
+
requiredFeatures?: string[] | undefined;
|
|
236
|
+
}>, "many">>;
|
|
200
237
|
permissions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
201
238
|
content: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
202
239
|
operations: import("zod").ZodEffects<import("zod").ZodArray<import("zod").ZodString, "many">, string[], string[]>;
|
|
@@ -328,52 +365,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
328
365
|
requiredArtifactKinds?: string[] | undefined;
|
|
329
366
|
blockOnOpenQuestions?: boolean | undefined;
|
|
330
367
|
}>>;
|
|
331
|
-
providerOverrides: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
332
|
-
requiredCapabilities: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodArray<import("zod").ZodString, "many">, string[], string[]>>;
|
|
333
|
-
disallowedProviderIds: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodArray<import("zod").ZodString, "many">, string[], string[]>>;
|
|
334
|
-
promptRef: import("zod").ZodOptional<import("zod").ZodString>;
|
|
335
|
-
instructionTemplateRefs: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodArray<import("zod").ZodObject<{
|
|
336
|
-
id: import("zod").ZodString;
|
|
337
|
-
revision: import("zod").ZodNumber;
|
|
338
|
-
}, "strict", import("zod").ZodTypeAny, {
|
|
339
|
-
id: string;
|
|
340
|
-
revision: number;
|
|
341
|
-
}, {
|
|
342
|
-
id: string;
|
|
343
|
-
revision: number;
|
|
344
|
-
}>, "many">, {
|
|
345
|
-
id: string;
|
|
346
|
-
revision: number;
|
|
347
|
-
}[], {
|
|
348
|
-
id: string;
|
|
349
|
-
revision: number;
|
|
350
|
-
}[]>>;
|
|
351
|
-
maxRuntimeSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
352
|
-
maxTotalTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
353
|
-
maxCostAmount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
354
|
-
}, "strict", import("zod").ZodTypeAny, {
|
|
355
|
-
requiredCapabilities?: string[] | undefined;
|
|
356
|
-
instructionTemplateRefs?: {
|
|
357
|
-
id: string;
|
|
358
|
-
revision: number;
|
|
359
|
-
}[] | undefined;
|
|
360
|
-
maxRuntimeSeconds?: number | undefined;
|
|
361
|
-
maxTotalTokens?: number | undefined;
|
|
362
|
-
maxCostAmount?: number | undefined;
|
|
363
|
-
disallowedProviderIds?: string[] | undefined;
|
|
364
|
-
promptRef?: string | undefined;
|
|
365
|
-
}, {
|
|
366
|
-
requiredCapabilities?: string[] | undefined;
|
|
367
|
-
instructionTemplateRefs?: {
|
|
368
|
-
id: string;
|
|
369
|
-
revision: number;
|
|
370
|
-
}[] | undefined;
|
|
371
|
-
maxRuntimeSeconds?: number | undefined;
|
|
372
|
-
maxTotalTokens?: number | undefined;
|
|
373
|
-
maxCostAmount?: number | undefined;
|
|
374
|
-
disallowedProviderIds?: string[] | undefined;
|
|
375
|
-
promptRef?: string | undefined;
|
|
376
|
-
}>>;
|
|
377
368
|
tools: import("zod").ZodObject<{
|
|
378
369
|
allowed: import("zod").ZodEffects<import("zod").ZodArray<import("zod").ZodString, "many">, string[], string[]>;
|
|
379
370
|
denied: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodArray<import("zod").ZodString, "many">, string[], string[]>>;
|
|
@@ -794,12 +785,12 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
794
785
|
amount: import("zod").ZodNumber;
|
|
795
786
|
enforceable: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
796
787
|
}, "strict", import("zod").ZodTypeAny, {
|
|
797
|
-
unit: string;
|
|
798
788
|
amount: number;
|
|
789
|
+
unit: string;
|
|
799
790
|
enforceable?: boolean | undefined;
|
|
800
791
|
}, {
|
|
801
|
-
unit: string;
|
|
802
792
|
amount: number;
|
|
793
|
+
unit: string;
|
|
803
794
|
enforceable?: boolean | undefined;
|
|
804
795
|
}>, "many">>;
|
|
805
796
|
pricingGeneration: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -813,8 +804,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
813
804
|
closeoutWarningSeconds?: number | undefined;
|
|
814
805
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
815
806
|
nativeLimits?: {
|
|
816
|
-
unit: string;
|
|
817
807
|
amount: number;
|
|
808
|
+
unit: string;
|
|
818
809
|
enforceable?: boolean | undefined;
|
|
819
810
|
}[] | undefined;
|
|
820
811
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -834,8 +825,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
834
825
|
closeoutWarningSeconds?: number | undefined;
|
|
835
826
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
836
827
|
nativeLimits?: {
|
|
837
|
-
unit: string;
|
|
838
828
|
amount: number;
|
|
829
|
+
unit: string;
|
|
839
830
|
enforceable?: boolean | undefined;
|
|
840
831
|
}[] | undefined;
|
|
841
832
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -882,8 +873,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
882
873
|
closeoutWarningSeconds?: number | undefined;
|
|
883
874
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
884
875
|
nativeLimits?: {
|
|
885
|
-
unit: string;
|
|
886
876
|
amount: number;
|
|
877
|
+
unit: string;
|
|
887
878
|
enforceable?: boolean | undefined;
|
|
888
879
|
}[] | undefined;
|
|
889
880
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -910,6 +901,17 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
910
901
|
id: string;
|
|
911
902
|
revision: number;
|
|
912
903
|
}[] | undefined;
|
|
904
|
+
capabilityRequirements?: {
|
|
905
|
+
capabilityId: string;
|
|
906
|
+
requirement: "required" | "preferred";
|
|
907
|
+
versionRange: string;
|
|
908
|
+
configuration?: Record<string, {
|
|
909
|
+
requirement: "required" | "preferred";
|
|
910
|
+
value?: unknown;
|
|
911
|
+
}> | undefined;
|
|
912
|
+
alternativeGroup?: string | null | undefined;
|
|
913
|
+
requiredFeatures?: string[] | undefined;
|
|
914
|
+
}[] | undefined;
|
|
913
915
|
permissions?: {
|
|
914
916
|
repository?: {
|
|
915
917
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -945,18 +947,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
945
947
|
requiredArtifactKinds?: string[] | undefined;
|
|
946
948
|
blockOnOpenQuestions?: boolean | undefined;
|
|
947
949
|
} | undefined;
|
|
948
|
-
providerOverrides?: {
|
|
949
|
-
requiredCapabilities?: string[] | undefined;
|
|
950
|
-
instructionTemplateRefs?: {
|
|
951
|
-
id: string;
|
|
952
|
-
revision: number;
|
|
953
|
-
}[] | undefined;
|
|
954
|
-
maxRuntimeSeconds?: number | undefined;
|
|
955
|
-
maxTotalTokens?: number | undefined;
|
|
956
|
-
maxCostAmount?: number | undefined;
|
|
957
|
-
disallowedProviderIds?: string[] | undefined;
|
|
958
|
-
promptRef?: string | undefined;
|
|
959
|
-
} | undefined;
|
|
960
950
|
signals?: {
|
|
961
951
|
subscribesTo?: {
|
|
962
952
|
contract: string;
|
|
@@ -1055,8 +1045,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1055
1045
|
closeoutWarningSeconds?: number | undefined;
|
|
1056
1046
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
1057
1047
|
nativeLimits?: {
|
|
1058
|
-
unit: string;
|
|
1059
1048
|
amount: number;
|
|
1049
|
+
unit: string;
|
|
1060
1050
|
enforceable?: boolean | undefined;
|
|
1061
1051
|
}[] | undefined;
|
|
1062
1052
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -1083,6 +1073,17 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1083
1073
|
id: string;
|
|
1084
1074
|
revision: number;
|
|
1085
1075
|
}[] | undefined;
|
|
1076
|
+
capabilityRequirements?: {
|
|
1077
|
+
capabilityId: string;
|
|
1078
|
+
requirement: "required" | "preferred";
|
|
1079
|
+
versionRange: string;
|
|
1080
|
+
configuration?: Record<string, {
|
|
1081
|
+
requirement: "required" | "preferred";
|
|
1082
|
+
value?: unknown;
|
|
1083
|
+
}> | undefined;
|
|
1084
|
+
alternativeGroup?: string | null | undefined;
|
|
1085
|
+
requiredFeatures?: string[] | undefined;
|
|
1086
|
+
}[] | undefined;
|
|
1086
1087
|
permissions?: {
|
|
1087
1088
|
repository?: {
|
|
1088
1089
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -1118,18 +1119,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1118
1119
|
requiredArtifactKinds?: string[] | undefined;
|
|
1119
1120
|
blockOnOpenQuestions?: boolean | undefined;
|
|
1120
1121
|
} | undefined;
|
|
1121
|
-
providerOverrides?: {
|
|
1122
|
-
requiredCapabilities?: string[] | undefined;
|
|
1123
|
-
instructionTemplateRefs?: {
|
|
1124
|
-
id: string;
|
|
1125
|
-
revision: number;
|
|
1126
|
-
}[] | undefined;
|
|
1127
|
-
maxRuntimeSeconds?: number | undefined;
|
|
1128
|
-
maxTotalTokens?: number | undefined;
|
|
1129
|
-
maxCostAmount?: number | undefined;
|
|
1130
|
-
disallowedProviderIds?: string[] | undefined;
|
|
1131
|
-
promptRef?: string | undefined;
|
|
1132
|
-
} | undefined;
|
|
1133
1122
|
signals?: {
|
|
1134
1123
|
subscribesTo?: {
|
|
1135
1124
|
contract: string;
|
|
@@ -1228,8 +1217,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1228
1217
|
closeoutWarningSeconds?: number | undefined;
|
|
1229
1218
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
1230
1219
|
nativeLimits?: {
|
|
1231
|
-
unit: string;
|
|
1232
1220
|
amount: number;
|
|
1221
|
+
unit: string;
|
|
1233
1222
|
enforceable?: boolean | undefined;
|
|
1234
1223
|
}[] | undefined;
|
|
1235
1224
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -1256,6 +1245,17 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1256
1245
|
id: string;
|
|
1257
1246
|
revision: number;
|
|
1258
1247
|
}[] | undefined;
|
|
1248
|
+
capabilityRequirements?: {
|
|
1249
|
+
capabilityId: string;
|
|
1250
|
+
requirement: "required" | "preferred";
|
|
1251
|
+
versionRange: string;
|
|
1252
|
+
configuration?: Record<string, {
|
|
1253
|
+
requirement: "required" | "preferred";
|
|
1254
|
+
value?: unknown;
|
|
1255
|
+
}> | undefined;
|
|
1256
|
+
alternativeGroup?: string | null | undefined;
|
|
1257
|
+
requiredFeatures?: string[] | undefined;
|
|
1258
|
+
}[] | undefined;
|
|
1259
1259
|
permissions?: {
|
|
1260
1260
|
repository?: {
|
|
1261
1261
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -1291,18 +1291,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1291
1291
|
requiredArtifactKinds?: string[] | undefined;
|
|
1292
1292
|
blockOnOpenQuestions?: boolean | undefined;
|
|
1293
1293
|
} | undefined;
|
|
1294
|
-
providerOverrides?: {
|
|
1295
|
-
requiredCapabilities?: string[] | undefined;
|
|
1296
|
-
instructionTemplateRefs?: {
|
|
1297
|
-
id: string;
|
|
1298
|
-
revision: number;
|
|
1299
|
-
}[] | undefined;
|
|
1300
|
-
maxRuntimeSeconds?: number | undefined;
|
|
1301
|
-
maxTotalTokens?: number | undefined;
|
|
1302
|
-
maxCostAmount?: number | undefined;
|
|
1303
|
-
disallowedProviderIds?: string[] | undefined;
|
|
1304
|
-
promptRef?: string | undefined;
|
|
1305
|
-
} | undefined;
|
|
1306
1294
|
signals?: {
|
|
1307
1295
|
subscribesTo?: {
|
|
1308
1296
|
contract: string;
|
|
@@ -1401,8 +1389,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1401
1389
|
closeoutWarningSeconds?: number | undefined;
|
|
1402
1390
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
1403
1391
|
nativeLimits?: {
|
|
1404
|
-
unit: string;
|
|
1405
1392
|
amount: number;
|
|
1393
|
+
unit: string;
|
|
1406
1394
|
enforceable?: boolean | undefined;
|
|
1407
1395
|
}[] | undefined;
|
|
1408
1396
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -1429,6 +1417,17 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1429
1417
|
id: string;
|
|
1430
1418
|
revision: number;
|
|
1431
1419
|
}[] | undefined;
|
|
1420
|
+
capabilityRequirements?: {
|
|
1421
|
+
capabilityId: string;
|
|
1422
|
+
requirement: "required" | "preferred";
|
|
1423
|
+
versionRange: string;
|
|
1424
|
+
configuration?: Record<string, {
|
|
1425
|
+
requirement: "required" | "preferred";
|
|
1426
|
+
value?: unknown;
|
|
1427
|
+
}> | undefined;
|
|
1428
|
+
alternativeGroup?: string | null | undefined;
|
|
1429
|
+
requiredFeatures?: string[] | undefined;
|
|
1430
|
+
}[] | undefined;
|
|
1432
1431
|
permissions?: {
|
|
1433
1432
|
repository?: {
|
|
1434
1433
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -1464,18 +1463,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1464
1463
|
requiredArtifactKinds?: string[] | undefined;
|
|
1465
1464
|
blockOnOpenQuestions?: boolean | undefined;
|
|
1466
1465
|
} | undefined;
|
|
1467
|
-
providerOverrides?: {
|
|
1468
|
-
requiredCapabilities?: string[] | undefined;
|
|
1469
|
-
instructionTemplateRefs?: {
|
|
1470
|
-
id: string;
|
|
1471
|
-
revision: number;
|
|
1472
|
-
}[] | undefined;
|
|
1473
|
-
maxRuntimeSeconds?: number | undefined;
|
|
1474
|
-
maxTotalTokens?: number | undefined;
|
|
1475
|
-
maxCostAmount?: number | undefined;
|
|
1476
|
-
disallowedProviderIds?: string[] | undefined;
|
|
1477
|
-
promptRef?: string | undefined;
|
|
1478
|
-
} | undefined;
|
|
1479
1466
|
signals?: {
|
|
1480
1467
|
subscribesTo?: {
|
|
1481
1468
|
contract: string;
|
|
@@ -2046,7 +2033,7 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
2046
2033
|
participant_ids?: string[] | undefined;
|
|
2047
2034
|
agent_ids?: string[] | undefined;
|
|
2048
2035
|
parent_workday_id?: string | undefined;
|
|
2049
|
-
legacy_status?: "
|
|
2036
|
+
legacy_status?: "resolved" | "open" | undefined;
|
|
2050
2037
|
} | {
|
|
2051
2038
|
title: string;
|
|
2052
2039
|
created_at?: Date | undefined;
|
|
@@ -1167,15 +1167,15 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
1167
1167
|
allowedModels: string[];
|
|
1168
1168
|
}>;
|
|
1169
1169
|
profiles: z.ZodArray<z.ZodObject<{
|
|
1170
|
-
id: z.
|
|
1170
|
+
id: z.ZodString;
|
|
1171
1171
|
guestImage: z.ZodString;
|
|
1172
1172
|
guestImageDigest: z.ZodString;
|
|
1173
1173
|
}, "strict", z.ZodTypeAny, {
|
|
1174
|
-
id:
|
|
1174
|
+
id: string;
|
|
1175
1175
|
guestImage: string;
|
|
1176
1176
|
guestImageDigest: string;
|
|
1177
1177
|
}, {
|
|
1178
|
-
id:
|
|
1178
|
+
id: string;
|
|
1179
1179
|
guestImage: string;
|
|
1180
1180
|
guestImageDigest: string;
|
|
1181
1181
|
}>, "many">;
|
|
@@ -1189,7 +1189,7 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
1189
1189
|
allowedModels: string[];
|
|
1190
1190
|
};
|
|
1191
1191
|
profiles: {
|
|
1192
|
-
id:
|
|
1192
|
+
id: string;
|
|
1193
1193
|
guestImage: string;
|
|
1194
1194
|
guestImageDigest: string;
|
|
1195
1195
|
}[];
|
|
@@ -1203,7 +1203,7 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
1203
1203
|
allowedModels: string[];
|
|
1204
1204
|
};
|
|
1205
1205
|
profiles: {
|
|
1206
|
-
id:
|
|
1206
|
+
id: string;
|
|
1207
1207
|
guestImage: string;
|
|
1208
1208
|
guestImageDigest: string;
|
|
1209
1209
|
}[];
|
|
@@ -1254,7 +1254,7 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
1254
1254
|
allowedModels: string[];
|
|
1255
1255
|
};
|
|
1256
1256
|
profiles: {
|
|
1257
|
-
id:
|
|
1257
|
+
id: string;
|
|
1258
1258
|
guestImage: string;
|
|
1259
1259
|
guestImageDigest: string;
|
|
1260
1260
|
}[];
|
|
@@ -1283,7 +1283,7 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
1283
1283
|
allowedModels: string[];
|
|
1284
1284
|
};
|
|
1285
1285
|
profiles: {
|
|
1286
|
-
id:
|
|
1286
|
+
id: string;
|
|
1287
1287
|
guestImage: string;
|
|
1288
1288
|
guestImageDigest: string;
|
|
1289
1289
|
}[];
|
|
@@ -1423,7 +1423,7 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
1423
1423
|
allowedModels: string[];
|
|
1424
1424
|
};
|
|
1425
1425
|
profiles: {
|
|
1426
|
-
id:
|
|
1426
|
+
id: string;
|
|
1427
1427
|
guestImage: string;
|
|
1428
1428
|
guestImageDigest: string;
|
|
1429
1429
|
}[];
|
|
@@ -1563,7 +1563,7 @@ export declare const hostConfigurationSchema: z.ZodObject<{
|
|
|
1563
1563
|
allowedModels: string[];
|
|
1564
1564
|
};
|
|
1565
1565
|
profiles: {
|
|
1566
|
-
id:
|
|
1566
|
+
id: string;
|
|
1567
1567
|
guestImage: string;
|
|
1568
1568
|
guestImageDigest: string;
|
|
1569
1569
|
}[];
|
|
@@ -3965,12 +3965,12 @@ export declare const integrationReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3965
3965
|
url: string;
|
|
3966
3966
|
};
|
|
3967
3967
|
}[];
|
|
3968
|
+
release: string;
|
|
3969
|
+
compatibilityId: string;
|
|
3968
3970
|
platform: {
|
|
3969
3971
|
repository: "treeseed-ai/platform";
|
|
3970
3972
|
commit: string;
|
|
3971
3973
|
};
|
|
3972
|
-
release: string;
|
|
3973
|
-
compatibilityId: string;
|
|
3974
3974
|
deployment: {
|
|
3975
3975
|
repository: "treeseed-ai/deployment";
|
|
3976
3976
|
commit: string;
|
|
@@ -4005,12 +4005,12 @@ export declare const integrationReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4005
4005
|
url: string;
|
|
4006
4006
|
};
|
|
4007
4007
|
}[];
|
|
4008
|
+
release: string;
|
|
4009
|
+
compatibilityId: string;
|
|
4008
4010
|
platform: {
|
|
4009
4011
|
repository: "treeseed-ai/platform";
|
|
4010
4012
|
commit: string;
|
|
4011
4013
|
};
|
|
4012
|
-
release: string;
|
|
4013
|
-
compatibilityId: string;
|
|
4014
4014
|
deployment: {
|
|
4015
4015
|
repository: "treeseed-ai/deployment";
|
|
4016
4016
|
commit: string;
|
|
@@ -4045,12 +4045,12 @@ export declare const integrationReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4045
4045
|
url: string;
|
|
4046
4046
|
};
|
|
4047
4047
|
}[];
|
|
4048
|
+
release: string;
|
|
4049
|
+
compatibilityId: string;
|
|
4048
4050
|
platform: {
|
|
4049
4051
|
repository: "treeseed-ai/platform";
|
|
4050
4052
|
commit: string;
|
|
4051
4053
|
};
|
|
4052
|
-
release: string;
|
|
4053
|
-
compatibilityId: string;
|
|
4054
4054
|
deployment: {
|
|
4055
4055
|
repository: "treeseed-ai/deployment";
|
|
4056
4056
|
commit: string;
|
|
@@ -4085,12 +4085,12 @@ export declare const integrationReleaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4085
4085
|
url: string;
|
|
4086
4086
|
};
|
|
4087
4087
|
}[];
|
|
4088
|
+
release: string;
|
|
4089
|
+
compatibilityId: string;
|
|
4088
4090
|
platform: {
|
|
4089
4091
|
repository: "treeseed-ai/platform";
|
|
4090
4092
|
commit: string;
|
|
4091
4093
|
};
|
|
4092
|
-
release: string;
|
|
4093
|
-
compatibilityId: string;
|
|
4094
4094
|
deployment: {
|
|
4095
4095
|
repository: "treeseed-ai/deployment";
|
|
4096
4096
|
commit: string;
|
|
@@ -118,7 +118,7 @@ const hostConfigurationSchema = z.object({
|
|
|
118
118
|
runtime: z.literal("kata-runtime-rs-qemu"),
|
|
119
119
|
brokerSocket: z.string().startsWith("/run/treeseed/"),
|
|
120
120
|
modelGateway: z.object({ provider: z.literal("openai"), upstreamBaseUrl: z.literal("https://api.openai.com"), allowedModels: z.array(z.string().min(1)).min(1) }).strict(),
|
|
121
|
-
profiles: z.array(z.object({ id:
|
|
121
|
+
profiles: z.array(z.object({ id: identifier, guestImage: z.string().min(1), guestImageDigest: digest }).strict()).min(1)
|
|
122
122
|
}).strict(),
|
|
123
123
|
providerVolume: z.object({ encryption: z.literal("luks2"), backingPath: z.string().startsWith("/"), mountPath: z.string().startsWith("/"), sizeBytes: z.number().int().min(1073741824), unlock: z.enum(["tpm2", "systemd-credential"]), recoveryRequired: z.literal(true) }).strict(),
|
|
124
124
|
applicationEncryption: z.object({ provider: z.literal("systemd-credential"), activeKeyVersion: z.number().int().positive(), diagnosticsKeyVersion: z.number().int().positive() }).strict()
|
|
@@ -19,6 +19,8 @@ const operationBindings = {
|
|
|
19
19
|
"topics show": operation("communications.topics.show", [field("path", "teamId", "context", "team", true), field("path", "channel", "argument", "topic", true)]),
|
|
20
20
|
"topics subscribe": operation("communications.topics.subscriptions.put", [field("path", "teamId", "context", "team", true), field("path", "channel", "argument", "topic", true), field("body", "agent", "argument", "agent", true)]),
|
|
21
21
|
"topics unsubscribe": operation("communications.topics.subscriptions.delete", [field("path", "teamId", "context", "team", true), field("path", "channel", "argument", "topic", true), field("body", "agent", "argument", "agent", true)]),
|
|
22
|
+
"capabilities list": operation("capabilities.list", [field("query", "status", "option"), field("query", "family", "option"), field("query", "namespace", "option"), field("query", "limit", "option", "limit", false, "integer"), field("query", "cursor", "option")]),
|
|
23
|
+
"capabilities show": operation("capabilities.show", [field("path", "capabilityId", "argument", "capability", true), field("query", "version", "option")]),
|
|
22
24
|
"teams list": operation("teams.list", page()),
|
|
23
25
|
"teams current": local("local.teams.current"),
|
|
24
26
|
"teams use": local("local.teams.use"),
|
|
@@ -299,6 +301,10 @@ const commandTree = {
|
|
|
299
301
|
{ nodeType: "leaf", segment: "subscribe", description: "Subscribe an agent to a discussion topic.", kind: "mutation", arguments: [{ name: "topic", description: "Discussion topic.", required: true }, { name: "agent", description: "@project/agent handle.", required: true }], options: [planOption], authorization: { capability: "agents.execute", confirmation: "never" }, resultSchemaId: "treeseed.communication-topic-subscription-receipt/v1", execution: unavailable() },
|
|
300
302
|
{ nodeType: "leaf", segment: "unsubscribe", description: "Remove an agent subscription from a discussion topic.", kind: "mutation", arguments: [{ name: "topic", description: "Discussion topic.", required: true }, { name: "agent", description: "@project/agent handle.", required: true }], options: [planOption], authorization: { capability: "agents.execute", confirmation: "never" }, resultSchemaId: "treeseed.communication-topic-subscription-receipt/v1", execution: unavailable() }
|
|
301
303
|
]),
|
|
304
|
+
branch("capabilities", [
|
|
305
|
+
{ nodeType: "leaf", segment: "list", description: "List standardized services in the active capability ontology.", kind: "read", options: [{ name: "--family", description: "Capability family filter.", type: "string" }, { name: "--namespace", description: "Namespace filter.", type: "string" }, { name: "--status", description: "Definition status.", type: "string" }, { name: "--limit", description: "Maximum definitions.", type: "number" }, { name: "--cursor", description: "Pagination cursor.", type: "string" }], resultSchemaId: "treeseed.capability-page/v1", execution: unavailable() },
|
|
306
|
+
{ nodeType: "leaf", segment: "show", description: "Show one standardized capability definition.", kind: "read", arguments: [{ name: "capability", description: "Namespaced capability ID.", required: true }], options: [{ name: "--version", description: "Exact semantic version.", type: "string" }], resultSchemaId: "treeseed.capability-definition/v1", execution: unavailable() }
|
|
307
|
+
]),
|
|
302
308
|
branch("auth", [authLogin(), leaf("logout", "mutation"), leaf("status")]),
|
|
303
309
|
branch("users", [userCreate()]),
|
|
304
310
|
branch("teams", [leaf("list"), { nodeType: "leaf", segment: "current", description: "Show the active team for this authenticated server session.", kind: "read", resultSchemaId: "treeseed.command.teams.current/v1", execution: unavailable() }, { nodeType: "leaf", segment: "use", description: "Select the active team for this authenticated server session.", kind: "mutation", arguments: [{ name: "team", description: "Team UUID or unambiguous slug.", required: true }], options: [planOption], authorization: { capability: "teams.read", confirmation: "never" }, resultSchemaId: "treeseed.command.teams.use/v1", execution: unavailable() }]),
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
export declare function capabilityOntologyOperations(): {
|
|
2
|
+
list: import("../control-plane-operation.js").ControlPlaneOperationBinding<{}, {
|
|
3
|
+
status?: "active" | "deprecated" | "revoked" | undefined;
|
|
4
|
+
family?: string | undefined;
|
|
5
|
+
cursor?: string | undefined;
|
|
6
|
+
limit?: number | undefined;
|
|
7
|
+
namespace?: string | undefined;
|
|
8
|
+
}, undefined, {
|
|
9
|
+
generation: number;
|
|
10
|
+
items: {
|
|
11
|
+
schemaVersion: "treeseed.capability-definition/v1";
|
|
12
|
+
status: "active" | "deprecated" | "revoked";
|
|
13
|
+
createdAt: string;
|
|
14
|
+
id: string;
|
|
15
|
+
outputs: {
|
|
16
|
+
id: string;
|
|
17
|
+
digest: string;
|
|
18
|
+
version: string;
|
|
19
|
+
mediaTypes?: string[] | undefined;
|
|
20
|
+
}[];
|
|
21
|
+
digest: string;
|
|
22
|
+
version: string;
|
|
23
|
+
configuration: {
|
|
24
|
+
key: string;
|
|
25
|
+
schema: Record<string, unknown>;
|
|
26
|
+
description: string;
|
|
27
|
+
requirementSupport: ("required" | "preferred")[];
|
|
28
|
+
securityCritical?: boolean | undefined;
|
|
29
|
+
}[];
|
|
30
|
+
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
31
|
+
description: string;
|
|
32
|
+
title: string;
|
|
33
|
+
features: string[];
|
|
34
|
+
inputs: {
|
|
35
|
+
id: string;
|
|
36
|
+
digest: string;
|
|
37
|
+
version: string;
|
|
38
|
+
mediaTypes?: string[] | undefined;
|
|
39
|
+
}[];
|
|
40
|
+
permissionClasses: string[];
|
|
41
|
+
contextModes: string[];
|
|
42
|
+
interactionModes: string[];
|
|
43
|
+
implies: {
|
|
44
|
+
id: string;
|
|
45
|
+
digest: string;
|
|
46
|
+
version: string;
|
|
47
|
+
}[];
|
|
48
|
+
conflicts: {
|
|
49
|
+
id: string;
|
|
50
|
+
digest: string;
|
|
51
|
+
version: string;
|
|
52
|
+
}[];
|
|
53
|
+
qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
54
|
+
}[];
|
|
55
|
+
ontologyDigest: string;
|
|
56
|
+
nextCursor: string | null;
|
|
57
|
+
}>;
|
|
58
|
+
show: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
59
|
+
capabilityId: string;
|
|
60
|
+
}, {
|
|
61
|
+
version?: string | undefined;
|
|
62
|
+
}, undefined, {
|
|
63
|
+
schemaVersion: "treeseed.capability-definition/v1";
|
|
64
|
+
status: "active" | "deprecated" | "revoked";
|
|
65
|
+
createdAt: string;
|
|
66
|
+
id: string;
|
|
67
|
+
outputs: {
|
|
68
|
+
id: string;
|
|
69
|
+
digest: string;
|
|
70
|
+
version: string;
|
|
71
|
+
mediaTypes?: string[] | undefined;
|
|
72
|
+
}[];
|
|
73
|
+
digest: string;
|
|
74
|
+
version: string;
|
|
75
|
+
configuration: {
|
|
76
|
+
key: string;
|
|
77
|
+
schema: Record<string, unknown>;
|
|
78
|
+
description: string;
|
|
79
|
+
requirementSupport: ("required" | "preferred")[];
|
|
80
|
+
securityCritical?: boolean | undefined;
|
|
81
|
+
}[];
|
|
82
|
+
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
83
|
+
description: string;
|
|
84
|
+
title: string;
|
|
85
|
+
features: string[];
|
|
86
|
+
inputs: {
|
|
87
|
+
id: string;
|
|
88
|
+
digest: string;
|
|
89
|
+
version: string;
|
|
90
|
+
mediaTypes?: string[] | undefined;
|
|
91
|
+
}[];
|
|
92
|
+
permissionClasses: string[];
|
|
93
|
+
contextModes: string[];
|
|
94
|
+
interactionModes: string[];
|
|
95
|
+
implies: {
|
|
96
|
+
id: string;
|
|
97
|
+
digest: string;
|
|
98
|
+
version: string;
|
|
99
|
+
}[];
|
|
100
|
+
conflicts: {
|
|
101
|
+
id: string;
|
|
102
|
+
digest: string;
|
|
103
|
+
version: string;
|
|
104
|
+
}[];
|
|
105
|
+
qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
106
|
+
}>;
|
|
107
|
+
generation: import("../control-plane-operation.js").ControlPlaneOperationBinding<{}, {}, undefined, {
|
|
108
|
+
schemaVersion: "treeseed.capability-ontology/v1";
|
|
109
|
+
createdAt: string;
|
|
110
|
+
generation: number;
|
|
111
|
+
digest: string;
|
|
112
|
+
aliases: Record<string, string>;
|
|
113
|
+
definitions: {
|
|
114
|
+
schemaVersion: "treeseed.capability-definition/v1";
|
|
115
|
+
status: "active" | "deprecated" | "revoked";
|
|
116
|
+
createdAt: string;
|
|
117
|
+
id: string;
|
|
118
|
+
outputs: {
|
|
119
|
+
id: string;
|
|
120
|
+
digest: string;
|
|
121
|
+
version: string;
|
|
122
|
+
mediaTypes?: string[] | undefined;
|
|
123
|
+
}[];
|
|
124
|
+
digest: string;
|
|
125
|
+
version: string;
|
|
126
|
+
configuration: {
|
|
127
|
+
key: string;
|
|
128
|
+
schema: Record<string, unknown>;
|
|
129
|
+
description: string;
|
|
130
|
+
requirementSupport: ("required" | "preferred")[];
|
|
131
|
+
securityCritical?: boolean | undefined;
|
|
132
|
+
}[];
|
|
133
|
+
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
134
|
+
description: string;
|
|
135
|
+
title: string;
|
|
136
|
+
features: string[];
|
|
137
|
+
inputs: {
|
|
138
|
+
id: string;
|
|
139
|
+
digest: string;
|
|
140
|
+
version: string;
|
|
141
|
+
mediaTypes?: string[] | undefined;
|
|
142
|
+
}[];
|
|
143
|
+
permissionClasses: string[];
|
|
144
|
+
contextModes: string[];
|
|
145
|
+
interactionModes: string[];
|
|
146
|
+
implies: {
|
|
147
|
+
id: string;
|
|
148
|
+
digest: string;
|
|
149
|
+
version: string;
|
|
150
|
+
}[];
|
|
151
|
+
conflicts: {
|
|
152
|
+
id: string;
|
|
153
|
+
digest: string;
|
|
154
|
+
version: string;
|
|
155
|
+
}[];
|
|
156
|
+
qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
157
|
+
}[];
|
|
158
|
+
signature: {
|
|
159
|
+
value: string;
|
|
160
|
+
algorithm: "Ed25519" | "release-catalog";
|
|
161
|
+
keyId: string;
|
|
162
|
+
};
|
|
163
|
+
}>;
|
|
164
|
+
};
|