@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
|
@@ -177,6 +177,43 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
177
177
|
id: string;
|
|
178
178
|
revision: number;
|
|
179
179
|
}[]>>;
|
|
180
|
+
capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
181
|
+
capabilityId: z.ZodString;
|
|
182
|
+
versionRange: z.ZodString;
|
|
183
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
184
|
+
alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
185
|
+
requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
186
|
+
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
187
|
+
value: z.ZodUnknown;
|
|
188
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
189
|
+
}, "strict", z.ZodTypeAny, {
|
|
190
|
+
requirement: "required" | "preferred";
|
|
191
|
+
value?: unknown;
|
|
192
|
+
}, {
|
|
193
|
+
requirement: "required" | "preferred";
|
|
194
|
+
value?: unknown;
|
|
195
|
+
}>>>;
|
|
196
|
+
}, "strict", z.ZodTypeAny, {
|
|
197
|
+
capabilityId: string;
|
|
198
|
+
requirement: "required" | "preferred";
|
|
199
|
+
versionRange: string;
|
|
200
|
+
configuration?: Record<string, {
|
|
201
|
+
requirement: "required" | "preferred";
|
|
202
|
+
value?: unknown;
|
|
203
|
+
}> | undefined;
|
|
204
|
+
alternativeGroup?: string | null | undefined;
|
|
205
|
+
requiredFeatures?: string[] | undefined;
|
|
206
|
+
}, {
|
|
207
|
+
capabilityId: string;
|
|
208
|
+
requirement: "required" | "preferred";
|
|
209
|
+
versionRange: string;
|
|
210
|
+
configuration?: Record<string, {
|
|
211
|
+
requirement: "required" | "preferred";
|
|
212
|
+
value?: unknown;
|
|
213
|
+
}> | undefined;
|
|
214
|
+
alternativeGroup?: string | null | undefined;
|
|
215
|
+
requiredFeatures?: string[] | undefined;
|
|
216
|
+
}>, "many">>;
|
|
180
217
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
181
218
|
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
182
219
|
operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
@@ -308,52 +345,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
308
345
|
requiredArtifactKinds?: string[] | undefined;
|
|
309
346
|
blockOnOpenQuestions?: boolean | undefined;
|
|
310
347
|
}>>;
|
|
311
|
-
providerOverrides: z.ZodOptional<z.ZodObject<{
|
|
312
|
-
requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
313
|
-
disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
314
|
-
promptRef: z.ZodOptional<z.ZodString>;
|
|
315
|
-
instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
316
|
-
id: z.ZodString;
|
|
317
|
-
revision: z.ZodNumber;
|
|
318
|
-
}, "strict", z.ZodTypeAny, {
|
|
319
|
-
id: string;
|
|
320
|
-
revision: number;
|
|
321
|
-
}, {
|
|
322
|
-
id: string;
|
|
323
|
-
revision: number;
|
|
324
|
-
}>, "many">, {
|
|
325
|
-
id: string;
|
|
326
|
-
revision: number;
|
|
327
|
-
}[], {
|
|
328
|
-
id: string;
|
|
329
|
-
revision: number;
|
|
330
|
-
}[]>>;
|
|
331
|
-
maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
|
|
332
|
-
maxTotalTokens: z.ZodOptional<z.ZodNumber>;
|
|
333
|
-
maxCostAmount: z.ZodOptional<z.ZodNumber>;
|
|
334
|
-
}, "strict", z.ZodTypeAny, {
|
|
335
|
-
requiredCapabilities?: string[] | undefined;
|
|
336
|
-
instructionTemplateRefs?: {
|
|
337
|
-
id: string;
|
|
338
|
-
revision: number;
|
|
339
|
-
}[] | undefined;
|
|
340
|
-
maxRuntimeSeconds?: number | undefined;
|
|
341
|
-
maxTotalTokens?: number | undefined;
|
|
342
|
-
maxCostAmount?: number | undefined;
|
|
343
|
-
disallowedProviderIds?: string[] | undefined;
|
|
344
|
-
promptRef?: string | undefined;
|
|
345
|
-
}, {
|
|
346
|
-
requiredCapabilities?: string[] | undefined;
|
|
347
|
-
instructionTemplateRefs?: {
|
|
348
|
-
id: string;
|
|
349
|
-
revision: number;
|
|
350
|
-
}[] | undefined;
|
|
351
|
-
maxRuntimeSeconds?: number | undefined;
|
|
352
|
-
maxTotalTokens?: number | undefined;
|
|
353
|
-
maxCostAmount?: number | undefined;
|
|
354
|
-
disallowedProviderIds?: string[] | undefined;
|
|
355
|
-
promptRef?: string | undefined;
|
|
356
|
-
}>>;
|
|
357
348
|
tools: z.ZodObject<{
|
|
358
349
|
allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
359
350
|
denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
@@ -774,12 +765,12 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
774
765
|
amount: z.ZodNumber;
|
|
775
766
|
enforceable: z.ZodOptional<z.ZodBoolean>;
|
|
776
767
|
}, "strict", z.ZodTypeAny, {
|
|
777
|
-
unit: string;
|
|
778
768
|
amount: number;
|
|
769
|
+
unit: string;
|
|
779
770
|
enforceable?: boolean | undefined;
|
|
780
771
|
}, {
|
|
781
|
-
unit: string;
|
|
782
772
|
amount: number;
|
|
773
|
+
unit: string;
|
|
783
774
|
enforceable?: boolean | undefined;
|
|
784
775
|
}>, "many">>;
|
|
785
776
|
pricingGeneration: z.ZodOptional<z.ZodString>;
|
|
@@ -793,8 +784,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
793
784
|
closeoutWarningSeconds?: number | undefined;
|
|
794
785
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
795
786
|
nativeLimits?: {
|
|
796
|
-
unit: string;
|
|
797
787
|
amount: number;
|
|
788
|
+
unit: string;
|
|
798
789
|
enforceable?: boolean | undefined;
|
|
799
790
|
}[] | undefined;
|
|
800
791
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -814,8 +805,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
814
805
|
closeoutWarningSeconds?: number | undefined;
|
|
815
806
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
816
807
|
nativeLimits?: {
|
|
817
|
-
unit: string;
|
|
818
808
|
amount: number;
|
|
809
|
+
unit: string;
|
|
819
810
|
enforceable?: boolean | undefined;
|
|
820
811
|
}[] | undefined;
|
|
821
812
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -862,8 +853,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
862
853
|
closeoutWarningSeconds?: number | undefined;
|
|
863
854
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
864
855
|
nativeLimits?: {
|
|
865
|
-
unit: string;
|
|
866
856
|
amount: number;
|
|
857
|
+
unit: string;
|
|
867
858
|
enforceable?: boolean | undefined;
|
|
868
859
|
}[] | undefined;
|
|
869
860
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -890,6 +881,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
890
881
|
id: string;
|
|
891
882
|
revision: number;
|
|
892
883
|
}[] | undefined;
|
|
884
|
+
capabilityRequirements?: {
|
|
885
|
+
capabilityId: string;
|
|
886
|
+
requirement: "required" | "preferred";
|
|
887
|
+
versionRange: string;
|
|
888
|
+
configuration?: Record<string, {
|
|
889
|
+
requirement: "required" | "preferred";
|
|
890
|
+
value?: unknown;
|
|
891
|
+
}> | undefined;
|
|
892
|
+
alternativeGroup?: string | null | undefined;
|
|
893
|
+
requiredFeatures?: string[] | undefined;
|
|
894
|
+
}[] | undefined;
|
|
893
895
|
permissions?: {
|
|
894
896
|
repository?: {
|
|
895
897
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -925,18 +927,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
925
927
|
requiredArtifactKinds?: string[] | undefined;
|
|
926
928
|
blockOnOpenQuestions?: boolean | undefined;
|
|
927
929
|
} | undefined;
|
|
928
|
-
providerOverrides?: {
|
|
929
|
-
requiredCapabilities?: string[] | undefined;
|
|
930
|
-
instructionTemplateRefs?: {
|
|
931
|
-
id: string;
|
|
932
|
-
revision: number;
|
|
933
|
-
}[] | undefined;
|
|
934
|
-
maxRuntimeSeconds?: number | undefined;
|
|
935
|
-
maxTotalTokens?: number | undefined;
|
|
936
|
-
maxCostAmount?: number | undefined;
|
|
937
|
-
disallowedProviderIds?: string[] | undefined;
|
|
938
|
-
promptRef?: string | undefined;
|
|
939
|
-
} | undefined;
|
|
940
930
|
signals?: {
|
|
941
931
|
subscribesTo?: {
|
|
942
932
|
contract: string;
|
|
@@ -1035,8 +1025,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1035
1025
|
closeoutWarningSeconds?: number | undefined;
|
|
1036
1026
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
1037
1027
|
nativeLimits?: {
|
|
1038
|
-
unit: string;
|
|
1039
1028
|
amount: number;
|
|
1029
|
+
unit: string;
|
|
1040
1030
|
enforceable?: boolean | undefined;
|
|
1041
1031
|
}[] | undefined;
|
|
1042
1032
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -1063,6 +1053,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1063
1053
|
id: string;
|
|
1064
1054
|
revision: number;
|
|
1065
1055
|
}[] | undefined;
|
|
1056
|
+
capabilityRequirements?: {
|
|
1057
|
+
capabilityId: string;
|
|
1058
|
+
requirement: "required" | "preferred";
|
|
1059
|
+
versionRange: string;
|
|
1060
|
+
configuration?: Record<string, {
|
|
1061
|
+
requirement: "required" | "preferred";
|
|
1062
|
+
value?: unknown;
|
|
1063
|
+
}> | undefined;
|
|
1064
|
+
alternativeGroup?: string | null | undefined;
|
|
1065
|
+
requiredFeatures?: string[] | undefined;
|
|
1066
|
+
}[] | undefined;
|
|
1066
1067
|
permissions?: {
|
|
1067
1068
|
repository?: {
|
|
1068
1069
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -1098,18 +1099,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1098
1099
|
requiredArtifactKinds?: string[] | undefined;
|
|
1099
1100
|
blockOnOpenQuestions?: boolean | undefined;
|
|
1100
1101
|
} | undefined;
|
|
1101
|
-
providerOverrides?: {
|
|
1102
|
-
requiredCapabilities?: string[] | undefined;
|
|
1103
|
-
instructionTemplateRefs?: {
|
|
1104
|
-
id: string;
|
|
1105
|
-
revision: number;
|
|
1106
|
-
}[] | undefined;
|
|
1107
|
-
maxRuntimeSeconds?: number | undefined;
|
|
1108
|
-
maxTotalTokens?: number | undefined;
|
|
1109
|
-
maxCostAmount?: number | undefined;
|
|
1110
|
-
disallowedProviderIds?: string[] | undefined;
|
|
1111
|
-
promptRef?: string | undefined;
|
|
1112
|
-
} | undefined;
|
|
1113
1102
|
signals?: {
|
|
1114
1103
|
subscribesTo?: {
|
|
1115
1104
|
contract: string;
|
|
@@ -1208,8 +1197,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1208
1197
|
closeoutWarningSeconds?: number | undefined;
|
|
1209
1198
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
1210
1199
|
nativeLimits?: {
|
|
1211
|
-
unit: string;
|
|
1212
1200
|
amount: number;
|
|
1201
|
+
unit: string;
|
|
1213
1202
|
enforceable?: boolean | undefined;
|
|
1214
1203
|
}[] | undefined;
|
|
1215
1204
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -1236,6 +1225,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1236
1225
|
id: string;
|
|
1237
1226
|
revision: number;
|
|
1238
1227
|
}[] | undefined;
|
|
1228
|
+
capabilityRequirements?: {
|
|
1229
|
+
capabilityId: string;
|
|
1230
|
+
requirement: "required" | "preferred";
|
|
1231
|
+
versionRange: string;
|
|
1232
|
+
configuration?: Record<string, {
|
|
1233
|
+
requirement: "required" | "preferred";
|
|
1234
|
+
value?: unknown;
|
|
1235
|
+
}> | undefined;
|
|
1236
|
+
alternativeGroup?: string | null | undefined;
|
|
1237
|
+
requiredFeatures?: string[] | undefined;
|
|
1238
|
+
}[] | undefined;
|
|
1239
1239
|
permissions?: {
|
|
1240
1240
|
repository?: {
|
|
1241
1241
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -1271,18 +1271,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1271
1271
|
requiredArtifactKinds?: string[] | undefined;
|
|
1272
1272
|
blockOnOpenQuestions?: boolean | undefined;
|
|
1273
1273
|
} | undefined;
|
|
1274
|
-
providerOverrides?: {
|
|
1275
|
-
requiredCapabilities?: string[] | undefined;
|
|
1276
|
-
instructionTemplateRefs?: {
|
|
1277
|
-
id: string;
|
|
1278
|
-
revision: number;
|
|
1279
|
-
}[] | undefined;
|
|
1280
|
-
maxRuntimeSeconds?: number | undefined;
|
|
1281
|
-
maxTotalTokens?: number | undefined;
|
|
1282
|
-
maxCostAmount?: number | undefined;
|
|
1283
|
-
disallowedProviderIds?: string[] | undefined;
|
|
1284
|
-
promptRef?: string | undefined;
|
|
1285
|
-
} | undefined;
|
|
1286
1274
|
signals?: {
|
|
1287
1275
|
subscribesTo?: {
|
|
1288
1276
|
contract: string;
|
|
@@ -1381,8 +1369,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1381
1369
|
closeoutWarningSeconds?: number | undefined;
|
|
1382
1370
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
1383
1371
|
nativeLimits?: {
|
|
1384
|
-
unit: string;
|
|
1385
1372
|
amount: number;
|
|
1373
|
+
unit: string;
|
|
1386
1374
|
enforceable?: boolean | undefined;
|
|
1387
1375
|
}[] | undefined;
|
|
1388
1376
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -1409,6 +1397,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1409
1397
|
id: string;
|
|
1410
1398
|
revision: number;
|
|
1411
1399
|
}[] | undefined;
|
|
1400
|
+
capabilityRequirements?: {
|
|
1401
|
+
capabilityId: string;
|
|
1402
|
+
requirement: "required" | "preferred";
|
|
1403
|
+
versionRange: string;
|
|
1404
|
+
configuration?: Record<string, {
|
|
1405
|
+
requirement: "required" | "preferred";
|
|
1406
|
+
value?: unknown;
|
|
1407
|
+
}> | undefined;
|
|
1408
|
+
alternativeGroup?: string | null | undefined;
|
|
1409
|
+
requiredFeatures?: string[] | undefined;
|
|
1410
|
+
}[] | undefined;
|
|
1412
1411
|
permissions?: {
|
|
1413
1412
|
repository?: {
|
|
1414
1413
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -1444,18 +1443,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1444
1443
|
requiredArtifactKinds?: string[] | undefined;
|
|
1445
1444
|
blockOnOpenQuestions?: boolean | undefined;
|
|
1446
1445
|
} | undefined;
|
|
1447
|
-
providerOverrides?: {
|
|
1448
|
-
requiredCapabilities?: string[] | undefined;
|
|
1449
|
-
instructionTemplateRefs?: {
|
|
1450
|
-
id: string;
|
|
1451
|
-
revision: number;
|
|
1452
|
-
}[] | undefined;
|
|
1453
|
-
maxRuntimeSeconds?: number | undefined;
|
|
1454
|
-
maxTotalTokens?: number | undefined;
|
|
1455
|
-
maxCostAmount?: number | undefined;
|
|
1456
|
-
disallowedProviderIds?: string[] | undefined;
|
|
1457
|
-
promptRef?: string | undefined;
|
|
1458
|
-
} | undefined;
|
|
1459
1446
|
signals?: {
|
|
1460
1447
|
subscribesTo?: {
|
|
1461
1448
|
contract: string;
|
|
@@ -1699,6 +1686,43 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1699
1686
|
id: string;
|
|
1700
1687
|
revision: number;
|
|
1701
1688
|
}[]>>;
|
|
1689
|
+
capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1690
|
+
capabilityId: z.ZodString;
|
|
1691
|
+
versionRange: z.ZodString;
|
|
1692
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
1693
|
+
alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1694
|
+
requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1695
|
+
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1696
|
+
value: z.ZodUnknown;
|
|
1697
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
1698
|
+
}, "strict", z.ZodTypeAny, {
|
|
1699
|
+
requirement: "required" | "preferred";
|
|
1700
|
+
value?: unknown;
|
|
1701
|
+
}, {
|
|
1702
|
+
requirement: "required" | "preferred";
|
|
1703
|
+
value?: unknown;
|
|
1704
|
+
}>>>;
|
|
1705
|
+
}, "strict", z.ZodTypeAny, {
|
|
1706
|
+
capabilityId: string;
|
|
1707
|
+
requirement: "required" | "preferred";
|
|
1708
|
+
versionRange: string;
|
|
1709
|
+
configuration?: Record<string, {
|
|
1710
|
+
requirement: "required" | "preferred";
|
|
1711
|
+
value?: unknown;
|
|
1712
|
+
}> | undefined;
|
|
1713
|
+
alternativeGroup?: string | null | undefined;
|
|
1714
|
+
requiredFeatures?: string[] | undefined;
|
|
1715
|
+
}, {
|
|
1716
|
+
capabilityId: string;
|
|
1717
|
+
requirement: "required" | "preferred";
|
|
1718
|
+
versionRange: string;
|
|
1719
|
+
configuration?: Record<string, {
|
|
1720
|
+
requirement: "required" | "preferred";
|
|
1721
|
+
value?: unknown;
|
|
1722
|
+
}> | undefined;
|
|
1723
|
+
alternativeGroup?: string | null | undefined;
|
|
1724
|
+
requiredFeatures?: string[] | undefined;
|
|
1725
|
+
}>, "many">>;
|
|
1702
1726
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
1703
1727
|
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1704
1728
|
operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
@@ -1830,52 +1854,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1830
1854
|
requiredArtifactKinds?: string[] | undefined;
|
|
1831
1855
|
blockOnOpenQuestions?: boolean | undefined;
|
|
1832
1856
|
}>>;
|
|
1833
|
-
providerOverrides: z.ZodOptional<z.ZodObject<{
|
|
1834
|
-
requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1835
|
-
disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1836
|
-
promptRef: z.ZodOptional<z.ZodString>;
|
|
1837
|
-
instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1838
|
-
id: z.ZodString;
|
|
1839
|
-
revision: z.ZodNumber;
|
|
1840
|
-
}, "strict", z.ZodTypeAny, {
|
|
1841
|
-
id: string;
|
|
1842
|
-
revision: number;
|
|
1843
|
-
}, {
|
|
1844
|
-
id: string;
|
|
1845
|
-
revision: number;
|
|
1846
|
-
}>, "many">, {
|
|
1847
|
-
id: string;
|
|
1848
|
-
revision: number;
|
|
1849
|
-
}[], {
|
|
1850
|
-
id: string;
|
|
1851
|
-
revision: number;
|
|
1852
|
-
}[]>>;
|
|
1853
|
-
maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1854
|
-
maxTotalTokens: z.ZodOptional<z.ZodNumber>;
|
|
1855
|
-
maxCostAmount: z.ZodOptional<z.ZodNumber>;
|
|
1856
|
-
}, "strict", z.ZodTypeAny, {
|
|
1857
|
-
requiredCapabilities?: string[] | undefined;
|
|
1858
|
-
instructionTemplateRefs?: {
|
|
1859
|
-
id: string;
|
|
1860
|
-
revision: number;
|
|
1861
|
-
}[] | undefined;
|
|
1862
|
-
maxRuntimeSeconds?: number | undefined;
|
|
1863
|
-
maxTotalTokens?: number | undefined;
|
|
1864
|
-
maxCostAmount?: number | undefined;
|
|
1865
|
-
disallowedProviderIds?: string[] | undefined;
|
|
1866
|
-
promptRef?: string | undefined;
|
|
1867
|
-
}, {
|
|
1868
|
-
requiredCapabilities?: string[] | undefined;
|
|
1869
|
-
instructionTemplateRefs?: {
|
|
1870
|
-
id: string;
|
|
1871
|
-
revision: number;
|
|
1872
|
-
}[] | undefined;
|
|
1873
|
-
maxRuntimeSeconds?: number | undefined;
|
|
1874
|
-
maxTotalTokens?: number | undefined;
|
|
1875
|
-
maxCostAmount?: number | undefined;
|
|
1876
|
-
disallowedProviderIds?: string[] | undefined;
|
|
1877
|
-
promptRef?: string | undefined;
|
|
1878
|
-
}>>;
|
|
1879
1857
|
tools: z.ZodObject<{
|
|
1880
1858
|
allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
1881
1859
|
denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
@@ -2296,12 +2274,12 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2296
2274
|
amount: z.ZodNumber;
|
|
2297
2275
|
enforceable: z.ZodOptional<z.ZodBoolean>;
|
|
2298
2276
|
}, "strict", z.ZodTypeAny, {
|
|
2299
|
-
unit: string;
|
|
2300
2277
|
amount: number;
|
|
2278
|
+
unit: string;
|
|
2301
2279
|
enforceable?: boolean | undefined;
|
|
2302
2280
|
}, {
|
|
2303
|
-
unit: string;
|
|
2304
2281
|
amount: number;
|
|
2282
|
+
unit: string;
|
|
2305
2283
|
enforceable?: boolean | undefined;
|
|
2306
2284
|
}>, "many">>;
|
|
2307
2285
|
pricingGeneration: z.ZodOptional<z.ZodString>;
|
|
@@ -2315,8 +2293,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2315
2293
|
closeoutWarningSeconds?: number | undefined;
|
|
2316
2294
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
2317
2295
|
nativeLimits?: {
|
|
2318
|
-
unit: string;
|
|
2319
2296
|
amount: number;
|
|
2297
|
+
unit: string;
|
|
2320
2298
|
enforceable?: boolean | undefined;
|
|
2321
2299
|
}[] | undefined;
|
|
2322
2300
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -2336,8 +2314,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2336
2314
|
closeoutWarningSeconds?: number | undefined;
|
|
2337
2315
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
2338
2316
|
nativeLimits?: {
|
|
2339
|
-
unit: string;
|
|
2340
2317
|
amount: number;
|
|
2318
|
+
unit: string;
|
|
2341
2319
|
enforceable?: boolean | undefined;
|
|
2342
2320
|
}[] | undefined;
|
|
2343
2321
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -2384,8 +2362,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2384
2362
|
closeoutWarningSeconds?: number | undefined;
|
|
2385
2363
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
2386
2364
|
nativeLimits?: {
|
|
2387
|
-
unit: string;
|
|
2388
2365
|
amount: number;
|
|
2366
|
+
unit: string;
|
|
2389
2367
|
enforceable?: boolean | undefined;
|
|
2390
2368
|
}[] | undefined;
|
|
2391
2369
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -2412,6 +2390,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2412
2390
|
id: string;
|
|
2413
2391
|
revision: number;
|
|
2414
2392
|
}[] | undefined;
|
|
2393
|
+
capabilityRequirements?: {
|
|
2394
|
+
capabilityId: string;
|
|
2395
|
+
requirement: "required" | "preferred";
|
|
2396
|
+
versionRange: string;
|
|
2397
|
+
configuration?: Record<string, {
|
|
2398
|
+
requirement: "required" | "preferred";
|
|
2399
|
+
value?: unknown;
|
|
2400
|
+
}> | undefined;
|
|
2401
|
+
alternativeGroup?: string | null | undefined;
|
|
2402
|
+
requiredFeatures?: string[] | undefined;
|
|
2403
|
+
}[] | undefined;
|
|
2415
2404
|
permissions?: {
|
|
2416
2405
|
repository?: {
|
|
2417
2406
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -2447,18 +2436,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2447
2436
|
requiredArtifactKinds?: string[] | undefined;
|
|
2448
2437
|
blockOnOpenQuestions?: boolean | undefined;
|
|
2449
2438
|
} | undefined;
|
|
2450
|
-
providerOverrides?: {
|
|
2451
|
-
requiredCapabilities?: string[] | undefined;
|
|
2452
|
-
instructionTemplateRefs?: {
|
|
2453
|
-
id: string;
|
|
2454
|
-
revision: number;
|
|
2455
|
-
}[] | undefined;
|
|
2456
|
-
maxRuntimeSeconds?: number | undefined;
|
|
2457
|
-
maxTotalTokens?: number | undefined;
|
|
2458
|
-
maxCostAmount?: number | undefined;
|
|
2459
|
-
disallowedProviderIds?: string[] | undefined;
|
|
2460
|
-
promptRef?: string | undefined;
|
|
2461
|
-
} | undefined;
|
|
2462
2439
|
signals?: {
|
|
2463
2440
|
subscribesTo?: {
|
|
2464
2441
|
contract: string;
|
|
@@ -2557,8 +2534,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2557
2534
|
closeoutWarningSeconds?: number | undefined;
|
|
2558
2535
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
2559
2536
|
nativeLimits?: {
|
|
2560
|
-
unit: string;
|
|
2561
2537
|
amount: number;
|
|
2538
|
+
unit: string;
|
|
2562
2539
|
enforceable?: boolean | undefined;
|
|
2563
2540
|
}[] | undefined;
|
|
2564
2541
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -2585,6 +2562,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2585
2562
|
id: string;
|
|
2586
2563
|
revision: number;
|
|
2587
2564
|
}[] | undefined;
|
|
2565
|
+
capabilityRequirements?: {
|
|
2566
|
+
capabilityId: string;
|
|
2567
|
+
requirement: "required" | "preferred";
|
|
2568
|
+
versionRange: string;
|
|
2569
|
+
configuration?: Record<string, {
|
|
2570
|
+
requirement: "required" | "preferred";
|
|
2571
|
+
value?: unknown;
|
|
2572
|
+
}> | undefined;
|
|
2573
|
+
alternativeGroup?: string | null | undefined;
|
|
2574
|
+
requiredFeatures?: string[] | undefined;
|
|
2575
|
+
}[] | undefined;
|
|
2588
2576
|
permissions?: {
|
|
2589
2577
|
repository?: {
|
|
2590
2578
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -2620,18 +2608,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2620
2608
|
requiredArtifactKinds?: string[] | undefined;
|
|
2621
2609
|
blockOnOpenQuestions?: boolean | undefined;
|
|
2622
2610
|
} | undefined;
|
|
2623
|
-
providerOverrides?: {
|
|
2624
|
-
requiredCapabilities?: string[] | undefined;
|
|
2625
|
-
instructionTemplateRefs?: {
|
|
2626
|
-
id: string;
|
|
2627
|
-
revision: number;
|
|
2628
|
-
}[] | undefined;
|
|
2629
|
-
maxRuntimeSeconds?: number | undefined;
|
|
2630
|
-
maxTotalTokens?: number | undefined;
|
|
2631
|
-
maxCostAmount?: number | undefined;
|
|
2632
|
-
disallowedProviderIds?: string[] | undefined;
|
|
2633
|
-
promptRef?: string | undefined;
|
|
2634
|
-
} | undefined;
|
|
2635
2611
|
signals?: {
|
|
2636
2612
|
subscribesTo?: {
|
|
2637
2613
|
contract: string;
|
|
@@ -2730,8 +2706,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2730
2706
|
closeoutWarningSeconds?: number | undefined;
|
|
2731
2707
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
2732
2708
|
nativeLimits?: {
|
|
2733
|
-
unit: string;
|
|
2734
2709
|
amount: number;
|
|
2710
|
+
unit: string;
|
|
2735
2711
|
enforceable?: boolean | undefined;
|
|
2736
2712
|
}[] | undefined;
|
|
2737
2713
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -2758,6 +2734,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2758
2734
|
id: string;
|
|
2759
2735
|
revision: number;
|
|
2760
2736
|
}[] | undefined;
|
|
2737
|
+
capabilityRequirements?: {
|
|
2738
|
+
capabilityId: string;
|
|
2739
|
+
requirement: "required" | "preferred";
|
|
2740
|
+
versionRange: string;
|
|
2741
|
+
configuration?: Record<string, {
|
|
2742
|
+
requirement: "required" | "preferred";
|
|
2743
|
+
value?: unknown;
|
|
2744
|
+
}> | undefined;
|
|
2745
|
+
alternativeGroup?: string | null | undefined;
|
|
2746
|
+
requiredFeatures?: string[] | undefined;
|
|
2747
|
+
}[] | undefined;
|
|
2761
2748
|
permissions?: {
|
|
2762
2749
|
repository?: {
|
|
2763
2750
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -2793,18 +2780,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2793
2780
|
requiredArtifactKinds?: string[] | undefined;
|
|
2794
2781
|
blockOnOpenQuestions?: boolean | undefined;
|
|
2795
2782
|
} | undefined;
|
|
2796
|
-
providerOverrides?: {
|
|
2797
|
-
requiredCapabilities?: string[] | undefined;
|
|
2798
|
-
instructionTemplateRefs?: {
|
|
2799
|
-
id: string;
|
|
2800
|
-
revision: number;
|
|
2801
|
-
}[] | undefined;
|
|
2802
|
-
maxRuntimeSeconds?: number | undefined;
|
|
2803
|
-
maxTotalTokens?: number | undefined;
|
|
2804
|
-
maxCostAmount?: number | undefined;
|
|
2805
|
-
disallowedProviderIds?: string[] | undefined;
|
|
2806
|
-
promptRef?: string | undefined;
|
|
2807
|
-
} | undefined;
|
|
2808
2783
|
signals?: {
|
|
2809
2784
|
subscribesTo?: {
|
|
2810
2785
|
contract: string;
|
|
@@ -2903,8 +2878,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2903
2878
|
closeoutWarningSeconds?: number | undefined;
|
|
2904
2879
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
2905
2880
|
nativeLimits?: {
|
|
2906
|
-
unit: string;
|
|
2907
2881
|
amount: number;
|
|
2882
|
+
unit: string;
|
|
2908
2883
|
enforceable?: boolean | undefined;
|
|
2909
2884
|
}[] | undefined;
|
|
2910
2885
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -2931,6 +2906,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2931
2906
|
id: string;
|
|
2932
2907
|
revision: number;
|
|
2933
2908
|
}[] | undefined;
|
|
2909
|
+
capabilityRequirements?: {
|
|
2910
|
+
capabilityId: string;
|
|
2911
|
+
requirement: "required" | "preferred";
|
|
2912
|
+
versionRange: string;
|
|
2913
|
+
configuration?: Record<string, {
|
|
2914
|
+
requirement: "required" | "preferred";
|
|
2915
|
+
value?: unknown;
|
|
2916
|
+
}> | undefined;
|
|
2917
|
+
alternativeGroup?: string | null | undefined;
|
|
2918
|
+
requiredFeatures?: string[] | undefined;
|
|
2919
|
+
}[] | undefined;
|
|
2934
2920
|
permissions?: {
|
|
2935
2921
|
repository?: {
|
|
2936
2922
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -2966,18 +2952,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2966
2952
|
requiredArtifactKinds?: string[] | undefined;
|
|
2967
2953
|
blockOnOpenQuestions?: boolean | undefined;
|
|
2968
2954
|
} | undefined;
|
|
2969
|
-
providerOverrides?: {
|
|
2970
|
-
requiredCapabilities?: string[] | undefined;
|
|
2971
|
-
instructionTemplateRefs?: {
|
|
2972
|
-
id: string;
|
|
2973
|
-
revision: number;
|
|
2974
|
-
}[] | undefined;
|
|
2975
|
-
maxRuntimeSeconds?: number | undefined;
|
|
2976
|
-
maxTotalTokens?: number | undefined;
|
|
2977
|
-
maxCostAmount?: number | undefined;
|
|
2978
|
-
disallowedProviderIds?: string[] | undefined;
|
|
2979
|
-
promptRef?: string | undefined;
|
|
2980
|
-
} | undefined;
|
|
2981
2955
|
signals?: {
|
|
2982
2956
|
subscribesTo?: {
|
|
2983
2957
|
contract: string;
|
|
@@ -3221,6 +3195,43 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3221
3195
|
id: string;
|
|
3222
3196
|
revision: number;
|
|
3223
3197
|
}[]>>;
|
|
3198
|
+
capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3199
|
+
capabilityId: z.ZodString;
|
|
3200
|
+
versionRange: z.ZodString;
|
|
3201
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
3202
|
+
alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3203
|
+
requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
3204
|
+
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3205
|
+
value: z.ZodUnknown;
|
|
3206
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
3207
|
+
}, "strict", z.ZodTypeAny, {
|
|
3208
|
+
requirement: "required" | "preferred";
|
|
3209
|
+
value?: unknown;
|
|
3210
|
+
}, {
|
|
3211
|
+
requirement: "required" | "preferred";
|
|
3212
|
+
value?: unknown;
|
|
3213
|
+
}>>>;
|
|
3214
|
+
}, "strict", z.ZodTypeAny, {
|
|
3215
|
+
capabilityId: string;
|
|
3216
|
+
requirement: "required" | "preferred";
|
|
3217
|
+
versionRange: string;
|
|
3218
|
+
configuration?: Record<string, {
|
|
3219
|
+
requirement: "required" | "preferred";
|
|
3220
|
+
value?: unknown;
|
|
3221
|
+
}> | undefined;
|
|
3222
|
+
alternativeGroup?: string | null | undefined;
|
|
3223
|
+
requiredFeatures?: string[] | undefined;
|
|
3224
|
+
}, {
|
|
3225
|
+
capabilityId: string;
|
|
3226
|
+
requirement: "required" | "preferred";
|
|
3227
|
+
versionRange: string;
|
|
3228
|
+
configuration?: Record<string, {
|
|
3229
|
+
requirement: "required" | "preferred";
|
|
3230
|
+
value?: unknown;
|
|
3231
|
+
}> | undefined;
|
|
3232
|
+
alternativeGroup?: string | null | undefined;
|
|
3233
|
+
requiredFeatures?: string[] | undefined;
|
|
3234
|
+
}>, "many">>;
|
|
3224
3235
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
3225
3236
|
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3226
3237
|
operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
@@ -3352,52 +3363,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3352
3363
|
requiredArtifactKinds?: string[] | undefined;
|
|
3353
3364
|
blockOnOpenQuestions?: boolean | undefined;
|
|
3354
3365
|
}>>;
|
|
3355
|
-
providerOverrides: z.ZodOptional<z.ZodObject<{
|
|
3356
|
-
requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
3357
|
-
disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
3358
|
-
promptRef: z.ZodOptional<z.ZodString>;
|
|
3359
|
-
instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
3360
|
-
id: z.ZodString;
|
|
3361
|
-
revision: z.ZodNumber;
|
|
3362
|
-
}, "strict", z.ZodTypeAny, {
|
|
3363
|
-
id: string;
|
|
3364
|
-
revision: number;
|
|
3365
|
-
}, {
|
|
3366
|
-
id: string;
|
|
3367
|
-
revision: number;
|
|
3368
|
-
}>, "many">, {
|
|
3369
|
-
id: string;
|
|
3370
|
-
revision: number;
|
|
3371
|
-
}[], {
|
|
3372
|
-
id: string;
|
|
3373
|
-
revision: number;
|
|
3374
|
-
}[]>>;
|
|
3375
|
-
maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
|
|
3376
|
-
maxTotalTokens: z.ZodOptional<z.ZodNumber>;
|
|
3377
|
-
maxCostAmount: z.ZodOptional<z.ZodNumber>;
|
|
3378
|
-
}, "strict", z.ZodTypeAny, {
|
|
3379
|
-
requiredCapabilities?: string[] | undefined;
|
|
3380
|
-
instructionTemplateRefs?: {
|
|
3381
|
-
id: string;
|
|
3382
|
-
revision: number;
|
|
3383
|
-
}[] | undefined;
|
|
3384
|
-
maxRuntimeSeconds?: number | undefined;
|
|
3385
|
-
maxTotalTokens?: number | undefined;
|
|
3386
|
-
maxCostAmount?: number | undefined;
|
|
3387
|
-
disallowedProviderIds?: string[] | undefined;
|
|
3388
|
-
promptRef?: string | undefined;
|
|
3389
|
-
}, {
|
|
3390
|
-
requiredCapabilities?: string[] | undefined;
|
|
3391
|
-
instructionTemplateRefs?: {
|
|
3392
|
-
id: string;
|
|
3393
|
-
revision: number;
|
|
3394
|
-
}[] | undefined;
|
|
3395
|
-
maxRuntimeSeconds?: number | undefined;
|
|
3396
|
-
maxTotalTokens?: number | undefined;
|
|
3397
|
-
maxCostAmount?: number | undefined;
|
|
3398
|
-
disallowedProviderIds?: string[] | undefined;
|
|
3399
|
-
promptRef?: string | undefined;
|
|
3400
|
-
}>>;
|
|
3401
3366
|
tools: z.ZodObject<{
|
|
3402
3367
|
allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
3403
3368
|
denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
@@ -3818,12 +3783,12 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3818
3783
|
amount: z.ZodNumber;
|
|
3819
3784
|
enforceable: z.ZodOptional<z.ZodBoolean>;
|
|
3820
3785
|
}, "strict", z.ZodTypeAny, {
|
|
3821
|
-
unit: string;
|
|
3822
3786
|
amount: number;
|
|
3787
|
+
unit: string;
|
|
3823
3788
|
enforceable?: boolean | undefined;
|
|
3824
3789
|
}, {
|
|
3825
|
-
unit: string;
|
|
3826
3790
|
amount: number;
|
|
3791
|
+
unit: string;
|
|
3827
3792
|
enforceable?: boolean | undefined;
|
|
3828
3793
|
}>, "many">>;
|
|
3829
3794
|
pricingGeneration: z.ZodOptional<z.ZodString>;
|
|
@@ -3837,8 +3802,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3837
3802
|
closeoutWarningSeconds?: number | undefined;
|
|
3838
3803
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
3839
3804
|
nativeLimits?: {
|
|
3840
|
-
unit: string;
|
|
3841
3805
|
amount: number;
|
|
3806
|
+
unit: string;
|
|
3842
3807
|
enforceable?: boolean | undefined;
|
|
3843
3808
|
}[] | undefined;
|
|
3844
3809
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -3858,8 +3823,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3858
3823
|
closeoutWarningSeconds?: number | undefined;
|
|
3859
3824
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
3860
3825
|
nativeLimits?: {
|
|
3861
|
-
unit: string;
|
|
3862
3826
|
amount: number;
|
|
3827
|
+
unit: string;
|
|
3863
3828
|
enforceable?: boolean | undefined;
|
|
3864
3829
|
}[] | undefined;
|
|
3865
3830
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -3906,8 +3871,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3906
3871
|
closeoutWarningSeconds?: number | undefined;
|
|
3907
3872
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
3908
3873
|
nativeLimits?: {
|
|
3909
|
-
unit: string;
|
|
3910
3874
|
amount: number;
|
|
3875
|
+
unit: string;
|
|
3911
3876
|
enforceable?: boolean | undefined;
|
|
3912
3877
|
}[] | undefined;
|
|
3913
3878
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -3934,6 +3899,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3934
3899
|
id: string;
|
|
3935
3900
|
revision: number;
|
|
3936
3901
|
}[] | undefined;
|
|
3902
|
+
capabilityRequirements?: {
|
|
3903
|
+
capabilityId: string;
|
|
3904
|
+
requirement: "required" | "preferred";
|
|
3905
|
+
versionRange: string;
|
|
3906
|
+
configuration?: Record<string, {
|
|
3907
|
+
requirement: "required" | "preferred";
|
|
3908
|
+
value?: unknown;
|
|
3909
|
+
}> | undefined;
|
|
3910
|
+
alternativeGroup?: string | null | undefined;
|
|
3911
|
+
requiredFeatures?: string[] | undefined;
|
|
3912
|
+
}[] | undefined;
|
|
3937
3913
|
permissions?: {
|
|
3938
3914
|
repository?: {
|
|
3939
3915
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -3969,18 +3945,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3969
3945
|
requiredArtifactKinds?: string[] | undefined;
|
|
3970
3946
|
blockOnOpenQuestions?: boolean | undefined;
|
|
3971
3947
|
} | undefined;
|
|
3972
|
-
providerOverrides?: {
|
|
3973
|
-
requiredCapabilities?: string[] | undefined;
|
|
3974
|
-
instructionTemplateRefs?: {
|
|
3975
|
-
id: string;
|
|
3976
|
-
revision: number;
|
|
3977
|
-
}[] | undefined;
|
|
3978
|
-
maxRuntimeSeconds?: number | undefined;
|
|
3979
|
-
maxTotalTokens?: number | undefined;
|
|
3980
|
-
maxCostAmount?: number | undefined;
|
|
3981
|
-
disallowedProviderIds?: string[] | undefined;
|
|
3982
|
-
promptRef?: string | undefined;
|
|
3983
|
-
} | undefined;
|
|
3984
3948
|
signals?: {
|
|
3985
3949
|
subscribesTo?: {
|
|
3986
3950
|
contract: string;
|
|
@@ -4079,8 +4043,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4079
4043
|
closeoutWarningSeconds?: number | undefined;
|
|
4080
4044
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
4081
4045
|
nativeLimits?: {
|
|
4082
|
-
unit: string;
|
|
4083
4046
|
amount: number;
|
|
4047
|
+
unit: string;
|
|
4084
4048
|
enforceable?: boolean | undefined;
|
|
4085
4049
|
}[] | undefined;
|
|
4086
4050
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -4107,6 +4071,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4107
4071
|
id: string;
|
|
4108
4072
|
revision: number;
|
|
4109
4073
|
}[] | undefined;
|
|
4074
|
+
capabilityRequirements?: {
|
|
4075
|
+
capabilityId: string;
|
|
4076
|
+
requirement: "required" | "preferred";
|
|
4077
|
+
versionRange: string;
|
|
4078
|
+
configuration?: Record<string, {
|
|
4079
|
+
requirement: "required" | "preferred";
|
|
4080
|
+
value?: unknown;
|
|
4081
|
+
}> | undefined;
|
|
4082
|
+
alternativeGroup?: string | null | undefined;
|
|
4083
|
+
requiredFeatures?: string[] | undefined;
|
|
4084
|
+
}[] | undefined;
|
|
4110
4085
|
permissions?: {
|
|
4111
4086
|
repository?: {
|
|
4112
4087
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -4142,18 +4117,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4142
4117
|
requiredArtifactKinds?: string[] | undefined;
|
|
4143
4118
|
blockOnOpenQuestions?: boolean | undefined;
|
|
4144
4119
|
} | undefined;
|
|
4145
|
-
providerOverrides?: {
|
|
4146
|
-
requiredCapabilities?: string[] | undefined;
|
|
4147
|
-
instructionTemplateRefs?: {
|
|
4148
|
-
id: string;
|
|
4149
|
-
revision: number;
|
|
4150
|
-
}[] | undefined;
|
|
4151
|
-
maxRuntimeSeconds?: number | undefined;
|
|
4152
|
-
maxTotalTokens?: number | undefined;
|
|
4153
|
-
maxCostAmount?: number | undefined;
|
|
4154
|
-
disallowedProviderIds?: string[] | undefined;
|
|
4155
|
-
promptRef?: string | undefined;
|
|
4156
|
-
} | undefined;
|
|
4157
4120
|
signals?: {
|
|
4158
4121
|
subscribesTo?: {
|
|
4159
4122
|
contract: string;
|
|
@@ -4252,8 +4215,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4252
4215
|
closeoutWarningSeconds?: number | undefined;
|
|
4253
4216
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
4254
4217
|
nativeLimits?: {
|
|
4255
|
-
unit: string;
|
|
4256
4218
|
amount: number;
|
|
4219
|
+
unit: string;
|
|
4257
4220
|
enforceable?: boolean | undefined;
|
|
4258
4221
|
}[] | undefined;
|
|
4259
4222
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -4280,6 +4243,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4280
4243
|
id: string;
|
|
4281
4244
|
revision: number;
|
|
4282
4245
|
}[] | undefined;
|
|
4246
|
+
capabilityRequirements?: {
|
|
4247
|
+
capabilityId: string;
|
|
4248
|
+
requirement: "required" | "preferred";
|
|
4249
|
+
versionRange: string;
|
|
4250
|
+
configuration?: Record<string, {
|
|
4251
|
+
requirement: "required" | "preferred";
|
|
4252
|
+
value?: unknown;
|
|
4253
|
+
}> | undefined;
|
|
4254
|
+
alternativeGroup?: string | null | undefined;
|
|
4255
|
+
requiredFeatures?: string[] | undefined;
|
|
4256
|
+
}[] | undefined;
|
|
4283
4257
|
permissions?: {
|
|
4284
4258
|
repository?: {
|
|
4285
4259
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -4315,18 +4289,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4315
4289
|
requiredArtifactKinds?: string[] | undefined;
|
|
4316
4290
|
blockOnOpenQuestions?: boolean | undefined;
|
|
4317
4291
|
} | undefined;
|
|
4318
|
-
providerOverrides?: {
|
|
4319
|
-
requiredCapabilities?: string[] | undefined;
|
|
4320
|
-
instructionTemplateRefs?: {
|
|
4321
|
-
id: string;
|
|
4322
|
-
revision: number;
|
|
4323
|
-
}[] | undefined;
|
|
4324
|
-
maxRuntimeSeconds?: number | undefined;
|
|
4325
|
-
maxTotalTokens?: number | undefined;
|
|
4326
|
-
maxCostAmount?: number | undefined;
|
|
4327
|
-
disallowedProviderIds?: string[] | undefined;
|
|
4328
|
-
promptRef?: string | undefined;
|
|
4329
|
-
} | undefined;
|
|
4330
4292
|
signals?: {
|
|
4331
4293
|
subscribesTo?: {
|
|
4332
4294
|
contract: string;
|
|
@@ -4425,8 +4387,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4425
4387
|
closeoutWarningSeconds?: number | undefined;
|
|
4426
4388
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
4427
4389
|
nativeLimits?: {
|
|
4428
|
-
unit: string;
|
|
4429
4390
|
amount: number;
|
|
4391
|
+
unit: string;
|
|
4430
4392
|
enforceable?: boolean | undefined;
|
|
4431
4393
|
}[] | undefined;
|
|
4432
4394
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -4453,6 +4415,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4453
4415
|
id: string;
|
|
4454
4416
|
revision: number;
|
|
4455
4417
|
}[] | undefined;
|
|
4418
|
+
capabilityRequirements?: {
|
|
4419
|
+
capabilityId: string;
|
|
4420
|
+
requirement: "required" | "preferred";
|
|
4421
|
+
versionRange: string;
|
|
4422
|
+
configuration?: Record<string, {
|
|
4423
|
+
requirement: "required" | "preferred";
|
|
4424
|
+
value?: unknown;
|
|
4425
|
+
}> | undefined;
|
|
4426
|
+
alternativeGroup?: string | null | undefined;
|
|
4427
|
+
requiredFeatures?: string[] | undefined;
|
|
4428
|
+
}[] | undefined;
|
|
4456
4429
|
permissions?: {
|
|
4457
4430
|
repository?: {
|
|
4458
4431
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -4488,18 +4461,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4488
4461
|
requiredArtifactKinds?: string[] | undefined;
|
|
4489
4462
|
blockOnOpenQuestions?: boolean | undefined;
|
|
4490
4463
|
} | undefined;
|
|
4491
|
-
providerOverrides?: {
|
|
4492
|
-
requiredCapabilities?: string[] | undefined;
|
|
4493
|
-
instructionTemplateRefs?: {
|
|
4494
|
-
id: string;
|
|
4495
|
-
revision: number;
|
|
4496
|
-
}[] | undefined;
|
|
4497
|
-
maxRuntimeSeconds?: number | undefined;
|
|
4498
|
-
maxTotalTokens?: number | undefined;
|
|
4499
|
-
maxCostAmount?: number | undefined;
|
|
4500
|
-
disallowedProviderIds?: string[] | undefined;
|
|
4501
|
-
promptRef?: string | undefined;
|
|
4502
|
-
} | undefined;
|
|
4503
4464
|
signals?: {
|
|
4504
4465
|
subscribesTo?: {
|
|
4505
4466
|
contract: string;
|
|
@@ -4743,6 +4704,43 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4743
4704
|
id: string;
|
|
4744
4705
|
revision: number;
|
|
4745
4706
|
}[]>>;
|
|
4707
|
+
capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4708
|
+
capabilityId: z.ZodString;
|
|
4709
|
+
versionRange: z.ZodString;
|
|
4710
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
4711
|
+
alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4712
|
+
requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
4713
|
+
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4714
|
+
value: z.ZodUnknown;
|
|
4715
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
4716
|
+
}, "strict", z.ZodTypeAny, {
|
|
4717
|
+
requirement: "required" | "preferred";
|
|
4718
|
+
value?: unknown;
|
|
4719
|
+
}, {
|
|
4720
|
+
requirement: "required" | "preferred";
|
|
4721
|
+
value?: unknown;
|
|
4722
|
+
}>>>;
|
|
4723
|
+
}, "strict", z.ZodTypeAny, {
|
|
4724
|
+
capabilityId: string;
|
|
4725
|
+
requirement: "required" | "preferred";
|
|
4726
|
+
versionRange: string;
|
|
4727
|
+
configuration?: Record<string, {
|
|
4728
|
+
requirement: "required" | "preferred";
|
|
4729
|
+
value?: unknown;
|
|
4730
|
+
}> | undefined;
|
|
4731
|
+
alternativeGroup?: string | null | undefined;
|
|
4732
|
+
requiredFeatures?: string[] | undefined;
|
|
4733
|
+
}, {
|
|
4734
|
+
capabilityId: string;
|
|
4735
|
+
requirement: "required" | "preferred";
|
|
4736
|
+
versionRange: string;
|
|
4737
|
+
configuration?: Record<string, {
|
|
4738
|
+
requirement: "required" | "preferred";
|
|
4739
|
+
value?: unknown;
|
|
4740
|
+
}> | undefined;
|
|
4741
|
+
alternativeGroup?: string | null | undefined;
|
|
4742
|
+
requiredFeatures?: string[] | undefined;
|
|
4743
|
+
}>, "many">>;
|
|
4746
4744
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
4747
4745
|
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4748
4746
|
operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
@@ -4866,59 +4864,13 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4866
4864
|
}, "strict", z.ZodTypeAny, {
|
|
4867
4865
|
warningSeconds?: number | undefined;
|
|
4868
4866
|
summaryRequired?: boolean | undefined;
|
|
4869
|
-
requiredArtifactKinds?: string[] | undefined;
|
|
4870
|
-
blockOnOpenQuestions?: boolean | undefined;
|
|
4871
|
-
}, {
|
|
4872
|
-
warningSeconds?: number | undefined;
|
|
4873
|
-
summaryRequired?: boolean | undefined;
|
|
4874
|
-
requiredArtifactKinds?: string[] | undefined;
|
|
4875
|
-
blockOnOpenQuestions?: boolean | undefined;
|
|
4876
|
-
}>>;
|
|
4877
|
-
providerOverrides: z.ZodOptional<z.ZodObject<{
|
|
4878
|
-
requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
4879
|
-
disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
4880
|
-
promptRef: z.ZodOptional<z.ZodString>;
|
|
4881
|
-
instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
4882
|
-
id: z.ZodString;
|
|
4883
|
-
revision: z.ZodNumber;
|
|
4884
|
-
}, "strict", z.ZodTypeAny, {
|
|
4885
|
-
id: string;
|
|
4886
|
-
revision: number;
|
|
4887
|
-
}, {
|
|
4888
|
-
id: string;
|
|
4889
|
-
revision: number;
|
|
4890
|
-
}>, "many">, {
|
|
4891
|
-
id: string;
|
|
4892
|
-
revision: number;
|
|
4893
|
-
}[], {
|
|
4894
|
-
id: string;
|
|
4895
|
-
revision: number;
|
|
4896
|
-
}[]>>;
|
|
4897
|
-
maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
|
|
4898
|
-
maxTotalTokens: z.ZodOptional<z.ZodNumber>;
|
|
4899
|
-
maxCostAmount: z.ZodOptional<z.ZodNumber>;
|
|
4900
|
-
}, "strict", z.ZodTypeAny, {
|
|
4901
|
-
requiredCapabilities?: string[] | undefined;
|
|
4902
|
-
instructionTemplateRefs?: {
|
|
4903
|
-
id: string;
|
|
4904
|
-
revision: number;
|
|
4905
|
-
}[] | undefined;
|
|
4906
|
-
maxRuntimeSeconds?: number | undefined;
|
|
4907
|
-
maxTotalTokens?: number | undefined;
|
|
4908
|
-
maxCostAmount?: number | undefined;
|
|
4909
|
-
disallowedProviderIds?: string[] | undefined;
|
|
4910
|
-
promptRef?: string | undefined;
|
|
4867
|
+
requiredArtifactKinds?: string[] | undefined;
|
|
4868
|
+
blockOnOpenQuestions?: boolean | undefined;
|
|
4911
4869
|
}, {
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
}[] | undefined;
|
|
4917
|
-
maxRuntimeSeconds?: number | undefined;
|
|
4918
|
-
maxTotalTokens?: number | undefined;
|
|
4919
|
-
maxCostAmount?: number | undefined;
|
|
4920
|
-
disallowedProviderIds?: string[] | undefined;
|
|
4921
|
-
promptRef?: string | undefined;
|
|
4870
|
+
warningSeconds?: number | undefined;
|
|
4871
|
+
summaryRequired?: boolean | undefined;
|
|
4872
|
+
requiredArtifactKinds?: string[] | undefined;
|
|
4873
|
+
blockOnOpenQuestions?: boolean | undefined;
|
|
4922
4874
|
}>>;
|
|
4923
4875
|
tools: z.ZodObject<{
|
|
4924
4876
|
allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
@@ -5340,12 +5292,12 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5340
5292
|
amount: z.ZodNumber;
|
|
5341
5293
|
enforceable: z.ZodOptional<z.ZodBoolean>;
|
|
5342
5294
|
}, "strict", z.ZodTypeAny, {
|
|
5343
|
-
unit: string;
|
|
5344
5295
|
amount: number;
|
|
5296
|
+
unit: string;
|
|
5345
5297
|
enforceable?: boolean | undefined;
|
|
5346
5298
|
}, {
|
|
5347
|
-
unit: string;
|
|
5348
5299
|
amount: number;
|
|
5300
|
+
unit: string;
|
|
5349
5301
|
enforceable?: boolean | undefined;
|
|
5350
5302
|
}>, "many">>;
|
|
5351
5303
|
pricingGeneration: z.ZodOptional<z.ZodString>;
|
|
@@ -5359,8 +5311,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5359
5311
|
closeoutWarningSeconds?: number | undefined;
|
|
5360
5312
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
5361
5313
|
nativeLimits?: {
|
|
5362
|
-
unit: string;
|
|
5363
5314
|
amount: number;
|
|
5315
|
+
unit: string;
|
|
5364
5316
|
enforceable?: boolean | undefined;
|
|
5365
5317
|
}[] | undefined;
|
|
5366
5318
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -5380,8 +5332,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5380
5332
|
closeoutWarningSeconds?: number | undefined;
|
|
5381
5333
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
5382
5334
|
nativeLimits?: {
|
|
5383
|
-
unit: string;
|
|
5384
5335
|
amount: number;
|
|
5336
|
+
unit: string;
|
|
5385
5337
|
enforceable?: boolean | undefined;
|
|
5386
5338
|
}[] | undefined;
|
|
5387
5339
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -5428,8 +5380,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5428
5380
|
closeoutWarningSeconds?: number | undefined;
|
|
5429
5381
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
5430
5382
|
nativeLimits?: {
|
|
5431
|
-
unit: string;
|
|
5432
5383
|
amount: number;
|
|
5384
|
+
unit: string;
|
|
5433
5385
|
enforceable?: boolean | undefined;
|
|
5434
5386
|
}[] | undefined;
|
|
5435
5387
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -5456,6 +5408,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5456
5408
|
id: string;
|
|
5457
5409
|
revision: number;
|
|
5458
5410
|
}[] | undefined;
|
|
5411
|
+
capabilityRequirements?: {
|
|
5412
|
+
capabilityId: string;
|
|
5413
|
+
requirement: "required" | "preferred";
|
|
5414
|
+
versionRange: string;
|
|
5415
|
+
configuration?: Record<string, {
|
|
5416
|
+
requirement: "required" | "preferred";
|
|
5417
|
+
value?: unknown;
|
|
5418
|
+
}> | undefined;
|
|
5419
|
+
alternativeGroup?: string | null | undefined;
|
|
5420
|
+
requiredFeatures?: string[] | undefined;
|
|
5421
|
+
}[] | undefined;
|
|
5459
5422
|
permissions?: {
|
|
5460
5423
|
repository?: {
|
|
5461
5424
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -5491,18 +5454,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5491
5454
|
requiredArtifactKinds?: string[] | undefined;
|
|
5492
5455
|
blockOnOpenQuestions?: boolean | undefined;
|
|
5493
5456
|
} | undefined;
|
|
5494
|
-
providerOverrides?: {
|
|
5495
|
-
requiredCapabilities?: string[] | undefined;
|
|
5496
|
-
instructionTemplateRefs?: {
|
|
5497
|
-
id: string;
|
|
5498
|
-
revision: number;
|
|
5499
|
-
}[] | undefined;
|
|
5500
|
-
maxRuntimeSeconds?: number | undefined;
|
|
5501
|
-
maxTotalTokens?: number | undefined;
|
|
5502
|
-
maxCostAmount?: number | undefined;
|
|
5503
|
-
disallowedProviderIds?: string[] | undefined;
|
|
5504
|
-
promptRef?: string | undefined;
|
|
5505
|
-
} | undefined;
|
|
5506
5457
|
signals?: {
|
|
5507
5458
|
subscribesTo?: {
|
|
5508
5459
|
contract: string;
|
|
@@ -5601,8 +5552,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5601
5552
|
closeoutWarningSeconds?: number | undefined;
|
|
5602
5553
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
5603
5554
|
nativeLimits?: {
|
|
5604
|
-
unit: string;
|
|
5605
5555
|
amount: number;
|
|
5556
|
+
unit: string;
|
|
5606
5557
|
enforceable?: boolean | undefined;
|
|
5607
5558
|
}[] | undefined;
|
|
5608
5559
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -5629,6 +5580,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5629
5580
|
id: string;
|
|
5630
5581
|
revision: number;
|
|
5631
5582
|
}[] | undefined;
|
|
5583
|
+
capabilityRequirements?: {
|
|
5584
|
+
capabilityId: string;
|
|
5585
|
+
requirement: "required" | "preferred";
|
|
5586
|
+
versionRange: string;
|
|
5587
|
+
configuration?: Record<string, {
|
|
5588
|
+
requirement: "required" | "preferred";
|
|
5589
|
+
value?: unknown;
|
|
5590
|
+
}> | undefined;
|
|
5591
|
+
alternativeGroup?: string | null | undefined;
|
|
5592
|
+
requiredFeatures?: string[] | undefined;
|
|
5593
|
+
}[] | undefined;
|
|
5632
5594
|
permissions?: {
|
|
5633
5595
|
repository?: {
|
|
5634
5596
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -5664,18 +5626,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5664
5626
|
requiredArtifactKinds?: string[] | undefined;
|
|
5665
5627
|
blockOnOpenQuestions?: boolean | undefined;
|
|
5666
5628
|
} | undefined;
|
|
5667
|
-
providerOverrides?: {
|
|
5668
|
-
requiredCapabilities?: string[] | undefined;
|
|
5669
|
-
instructionTemplateRefs?: {
|
|
5670
|
-
id: string;
|
|
5671
|
-
revision: number;
|
|
5672
|
-
}[] | undefined;
|
|
5673
|
-
maxRuntimeSeconds?: number | undefined;
|
|
5674
|
-
maxTotalTokens?: number | undefined;
|
|
5675
|
-
maxCostAmount?: number | undefined;
|
|
5676
|
-
disallowedProviderIds?: string[] | undefined;
|
|
5677
|
-
promptRef?: string | undefined;
|
|
5678
|
-
} | undefined;
|
|
5679
5629
|
signals?: {
|
|
5680
5630
|
subscribesTo?: {
|
|
5681
5631
|
contract: string;
|
|
@@ -5774,8 +5724,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5774
5724
|
closeoutWarningSeconds?: number | undefined;
|
|
5775
5725
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
5776
5726
|
nativeLimits?: {
|
|
5777
|
-
unit: string;
|
|
5778
5727
|
amount: number;
|
|
5728
|
+
unit: string;
|
|
5779
5729
|
enforceable?: boolean | undefined;
|
|
5780
5730
|
}[] | undefined;
|
|
5781
5731
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -5802,6 +5752,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5802
5752
|
id: string;
|
|
5803
5753
|
revision: number;
|
|
5804
5754
|
}[] | undefined;
|
|
5755
|
+
capabilityRequirements?: {
|
|
5756
|
+
capabilityId: string;
|
|
5757
|
+
requirement: "required" | "preferred";
|
|
5758
|
+
versionRange: string;
|
|
5759
|
+
configuration?: Record<string, {
|
|
5760
|
+
requirement: "required" | "preferred";
|
|
5761
|
+
value?: unknown;
|
|
5762
|
+
}> | undefined;
|
|
5763
|
+
alternativeGroup?: string | null | undefined;
|
|
5764
|
+
requiredFeatures?: string[] | undefined;
|
|
5765
|
+
}[] | undefined;
|
|
5805
5766
|
permissions?: {
|
|
5806
5767
|
repository?: {
|
|
5807
5768
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -5837,18 +5798,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5837
5798
|
requiredArtifactKinds?: string[] | undefined;
|
|
5838
5799
|
blockOnOpenQuestions?: boolean | undefined;
|
|
5839
5800
|
} | undefined;
|
|
5840
|
-
providerOverrides?: {
|
|
5841
|
-
requiredCapabilities?: string[] | undefined;
|
|
5842
|
-
instructionTemplateRefs?: {
|
|
5843
|
-
id: string;
|
|
5844
|
-
revision: number;
|
|
5845
|
-
}[] | undefined;
|
|
5846
|
-
maxRuntimeSeconds?: number | undefined;
|
|
5847
|
-
maxTotalTokens?: number | undefined;
|
|
5848
|
-
maxCostAmount?: number | undefined;
|
|
5849
|
-
disallowedProviderIds?: string[] | undefined;
|
|
5850
|
-
promptRef?: string | undefined;
|
|
5851
|
-
} | undefined;
|
|
5852
5801
|
signals?: {
|
|
5853
5802
|
subscribesTo?: {
|
|
5854
5803
|
contract: string;
|
|
@@ -5947,8 +5896,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5947
5896
|
closeoutWarningSeconds?: number | undefined;
|
|
5948
5897
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
5949
5898
|
nativeLimits?: {
|
|
5950
|
-
unit: string;
|
|
5951
5899
|
amount: number;
|
|
5900
|
+
unit: string;
|
|
5952
5901
|
enforceable?: boolean | undefined;
|
|
5953
5902
|
}[] | undefined;
|
|
5954
5903
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -5975,6 +5924,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5975
5924
|
id: string;
|
|
5976
5925
|
revision: number;
|
|
5977
5926
|
}[] | undefined;
|
|
5927
|
+
capabilityRequirements?: {
|
|
5928
|
+
capabilityId: string;
|
|
5929
|
+
requirement: "required" | "preferred";
|
|
5930
|
+
versionRange: string;
|
|
5931
|
+
configuration?: Record<string, {
|
|
5932
|
+
requirement: "required" | "preferred";
|
|
5933
|
+
value?: unknown;
|
|
5934
|
+
}> | undefined;
|
|
5935
|
+
alternativeGroup?: string | null | undefined;
|
|
5936
|
+
requiredFeatures?: string[] | undefined;
|
|
5937
|
+
}[] | undefined;
|
|
5978
5938
|
permissions?: {
|
|
5979
5939
|
repository?: {
|
|
5980
5940
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -6010,18 +5970,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6010
5970
|
requiredArtifactKinds?: string[] | undefined;
|
|
6011
5971
|
blockOnOpenQuestions?: boolean | undefined;
|
|
6012
5972
|
} | undefined;
|
|
6013
|
-
providerOverrides?: {
|
|
6014
|
-
requiredCapabilities?: string[] | undefined;
|
|
6015
|
-
instructionTemplateRefs?: {
|
|
6016
|
-
id: string;
|
|
6017
|
-
revision: number;
|
|
6018
|
-
}[] | undefined;
|
|
6019
|
-
maxRuntimeSeconds?: number | undefined;
|
|
6020
|
-
maxTotalTokens?: number | undefined;
|
|
6021
|
-
maxCostAmount?: number | undefined;
|
|
6022
|
-
disallowedProviderIds?: string[] | undefined;
|
|
6023
|
-
promptRef?: string | undefined;
|
|
6024
|
-
} | undefined;
|
|
6025
5973
|
signals?: {
|
|
6026
5974
|
subscribesTo?: {
|
|
6027
5975
|
contract: string;
|
|
@@ -6265,6 +6213,43 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6265
6213
|
id: string;
|
|
6266
6214
|
revision: number;
|
|
6267
6215
|
}[]>>;
|
|
6216
|
+
capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6217
|
+
capabilityId: z.ZodString;
|
|
6218
|
+
versionRange: z.ZodString;
|
|
6219
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
6220
|
+
alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6221
|
+
requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
6222
|
+
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6223
|
+
value: z.ZodUnknown;
|
|
6224
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
6225
|
+
}, "strict", z.ZodTypeAny, {
|
|
6226
|
+
requirement: "required" | "preferred";
|
|
6227
|
+
value?: unknown;
|
|
6228
|
+
}, {
|
|
6229
|
+
requirement: "required" | "preferred";
|
|
6230
|
+
value?: unknown;
|
|
6231
|
+
}>>>;
|
|
6232
|
+
}, "strict", z.ZodTypeAny, {
|
|
6233
|
+
capabilityId: string;
|
|
6234
|
+
requirement: "required" | "preferred";
|
|
6235
|
+
versionRange: string;
|
|
6236
|
+
configuration?: Record<string, {
|
|
6237
|
+
requirement: "required" | "preferred";
|
|
6238
|
+
value?: unknown;
|
|
6239
|
+
}> | undefined;
|
|
6240
|
+
alternativeGroup?: string | null | undefined;
|
|
6241
|
+
requiredFeatures?: string[] | undefined;
|
|
6242
|
+
}, {
|
|
6243
|
+
capabilityId: string;
|
|
6244
|
+
requirement: "required" | "preferred";
|
|
6245
|
+
versionRange: string;
|
|
6246
|
+
configuration?: Record<string, {
|
|
6247
|
+
requirement: "required" | "preferred";
|
|
6248
|
+
value?: unknown;
|
|
6249
|
+
}> | undefined;
|
|
6250
|
+
alternativeGroup?: string | null | undefined;
|
|
6251
|
+
requiredFeatures?: string[] | undefined;
|
|
6252
|
+
}>, "many">>;
|
|
6268
6253
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
6269
6254
|
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6270
6255
|
operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
@@ -6396,52 +6381,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6396
6381
|
requiredArtifactKinds?: string[] | undefined;
|
|
6397
6382
|
blockOnOpenQuestions?: boolean | undefined;
|
|
6398
6383
|
}>>;
|
|
6399
|
-
providerOverrides: z.ZodOptional<z.ZodObject<{
|
|
6400
|
-
requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
6401
|
-
disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
6402
|
-
promptRef: z.ZodOptional<z.ZodString>;
|
|
6403
|
-
instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
6404
|
-
id: z.ZodString;
|
|
6405
|
-
revision: z.ZodNumber;
|
|
6406
|
-
}, "strict", z.ZodTypeAny, {
|
|
6407
|
-
id: string;
|
|
6408
|
-
revision: number;
|
|
6409
|
-
}, {
|
|
6410
|
-
id: string;
|
|
6411
|
-
revision: number;
|
|
6412
|
-
}>, "many">, {
|
|
6413
|
-
id: string;
|
|
6414
|
-
revision: number;
|
|
6415
|
-
}[], {
|
|
6416
|
-
id: string;
|
|
6417
|
-
revision: number;
|
|
6418
|
-
}[]>>;
|
|
6419
|
-
maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
|
|
6420
|
-
maxTotalTokens: z.ZodOptional<z.ZodNumber>;
|
|
6421
|
-
maxCostAmount: z.ZodOptional<z.ZodNumber>;
|
|
6422
|
-
}, "strict", z.ZodTypeAny, {
|
|
6423
|
-
requiredCapabilities?: string[] | undefined;
|
|
6424
|
-
instructionTemplateRefs?: {
|
|
6425
|
-
id: string;
|
|
6426
|
-
revision: number;
|
|
6427
|
-
}[] | undefined;
|
|
6428
|
-
maxRuntimeSeconds?: number | undefined;
|
|
6429
|
-
maxTotalTokens?: number | undefined;
|
|
6430
|
-
maxCostAmount?: number | undefined;
|
|
6431
|
-
disallowedProviderIds?: string[] | undefined;
|
|
6432
|
-
promptRef?: string | undefined;
|
|
6433
|
-
}, {
|
|
6434
|
-
requiredCapabilities?: string[] | undefined;
|
|
6435
|
-
instructionTemplateRefs?: {
|
|
6436
|
-
id: string;
|
|
6437
|
-
revision: number;
|
|
6438
|
-
}[] | undefined;
|
|
6439
|
-
maxRuntimeSeconds?: number | undefined;
|
|
6440
|
-
maxTotalTokens?: number | undefined;
|
|
6441
|
-
maxCostAmount?: number | undefined;
|
|
6442
|
-
disallowedProviderIds?: string[] | undefined;
|
|
6443
|
-
promptRef?: string | undefined;
|
|
6444
|
-
}>>;
|
|
6445
6384
|
tools: z.ZodObject<{
|
|
6446
6385
|
allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
6447
6386
|
denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
@@ -6862,12 +6801,12 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6862
6801
|
amount: z.ZodNumber;
|
|
6863
6802
|
enforceable: z.ZodOptional<z.ZodBoolean>;
|
|
6864
6803
|
}, "strict", z.ZodTypeAny, {
|
|
6865
|
-
unit: string;
|
|
6866
6804
|
amount: number;
|
|
6805
|
+
unit: string;
|
|
6867
6806
|
enforceable?: boolean | undefined;
|
|
6868
6807
|
}, {
|
|
6869
|
-
unit: string;
|
|
6870
6808
|
amount: number;
|
|
6809
|
+
unit: string;
|
|
6871
6810
|
enforceable?: boolean | undefined;
|
|
6872
6811
|
}>, "many">>;
|
|
6873
6812
|
pricingGeneration: z.ZodOptional<z.ZodString>;
|
|
@@ -6881,8 +6820,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6881
6820
|
closeoutWarningSeconds?: number | undefined;
|
|
6882
6821
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
6883
6822
|
nativeLimits?: {
|
|
6884
|
-
unit: string;
|
|
6885
6823
|
amount: number;
|
|
6824
|
+
unit: string;
|
|
6886
6825
|
enforceable?: boolean | undefined;
|
|
6887
6826
|
}[] | undefined;
|
|
6888
6827
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -6902,8 +6841,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6902
6841
|
closeoutWarningSeconds?: number | undefined;
|
|
6903
6842
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
6904
6843
|
nativeLimits?: {
|
|
6905
|
-
unit: string;
|
|
6906
6844
|
amount: number;
|
|
6845
|
+
unit: string;
|
|
6907
6846
|
enforceable?: boolean | undefined;
|
|
6908
6847
|
}[] | undefined;
|
|
6909
6848
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -6950,8 +6889,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6950
6889
|
closeoutWarningSeconds?: number | undefined;
|
|
6951
6890
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
6952
6891
|
nativeLimits?: {
|
|
6953
|
-
unit: string;
|
|
6954
6892
|
amount: number;
|
|
6893
|
+
unit: string;
|
|
6955
6894
|
enforceable?: boolean | undefined;
|
|
6956
6895
|
}[] | undefined;
|
|
6957
6896
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -6978,6 +6917,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6978
6917
|
id: string;
|
|
6979
6918
|
revision: number;
|
|
6980
6919
|
}[] | undefined;
|
|
6920
|
+
capabilityRequirements?: {
|
|
6921
|
+
capabilityId: string;
|
|
6922
|
+
requirement: "required" | "preferred";
|
|
6923
|
+
versionRange: string;
|
|
6924
|
+
configuration?: Record<string, {
|
|
6925
|
+
requirement: "required" | "preferred";
|
|
6926
|
+
value?: unknown;
|
|
6927
|
+
}> | undefined;
|
|
6928
|
+
alternativeGroup?: string | null | undefined;
|
|
6929
|
+
requiredFeatures?: string[] | undefined;
|
|
6930
|
+
}[] | undefined;
|
|
6981
6931
|
permissions?: {
|
|
6982
6932
|
repository?: {
|
|
6983
6933
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -7013,18 +6963,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7013
6963
|
requiredArtifactKinds?: string[] | undefined;
|
|
7014
6964
|
blockOnOpenQuestions?: boolean | undefined;
|
|
7015
6965
|
} | undefined;
|
|
7016
|
-
providerOverrides?: {
|
|
7017
|
-
requiredCapabilities?: string[] | undefined;
|
|
7018
|
-
instructionTemplateRefs?: {
|
|
7019
|
-
id: string;
|
|
7020
|
-
revision: number;
|
|
7021
|
-
}[] | undefined;
|
|
7022
|
-
maxRuntimeSeconds?: number | undefined;
|
|
7023
|
-
maxTotalTokens?: number | undefined;
|
|
7024
|
-
maxCostAmount?: number | undefined;
|
|
7025
|
-
disallowedProviderIds?: string[] | undefined;
|
|
7026
|
-
promptRef?: string | undefined;
|
|
7027
|
-
} | undefined;
|
|
7028
6966
|
signals?: {
|
|
7029
6967
|
subscribesTo?: {
|
|
7030
6968
|
contract: string;
|
|
@@ -7123,8 +7061,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7123
7061
|
closeoutWarningSeconds?: number | undefined;
|
|
7124
7062
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
7125
7063
|
nativeLimits?: {
|
|
7126
|
-
unit: string;
|
|
7127
7064
|
amount: number;
|
|
7065
|
+
unit: string;
|
|
7128
7066
|
enforceable?: boolean | undefined;
|
|
7129
7067
|
}[] | undefined;
|
|
7130
7068
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -7151,6 +7089,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7151
7089
|
id: string;
|
|
7152
7090
|
revision: number;
|
|
7153
7091
|
}[] | undefined;
|
|
7092
|
+
capabilityRequirements?: {
|
|
7093
|
+
capabilityId: string;
|
|
7094
|
+
requirement: "required" | "preferred";
|
|
7095
|
+
versionRange: string;
|
|
7096
|
+
configuration?: Record<string, {
|
|
7097
|
+
requirement: "required" | "preferred";
|
|
7098
|
+
value?: unknown;
|
|
7099
|
+
}> | undefined;
|
|
7100
|
+
alternativeGroup?: string | null | undefined;
|
|
7101
|
+
requiredFeatures?: string[] | undefined;
|
|
7102
|
+
}[] | undefined;
|
|
7154
7103
|
permissions?: {
|
|
7155
7104
|
repository?: {
|
|
7156
7105
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -7186,18 +7135,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7186
7135
|
requiredArtifactKinds?: string[] | undefined;
|
|
7187
7136
|
blockOnOpenQuestions?: boolean | undefined;
|
|
7188
7137
|
} | undefined;
|
|
7189
|
-
providerOverrides?: {
|
|
7190
|
-
requiredCapabilities?: string[] | undefined;
|
|
7191
|
-
instructionTemplateRefs?: {
|
|
7192
|
-
id: string;
|
|
7193
|
-
revision: number;
|
|
7194
|
-
}[] | undefined;
|
|
7195
|
-
maxRuntimeSeconds?: number | undefined;
|
|
7196
|
-
maxTotalTokens?: number | undefined;
|
|
7197
|
-
maxCostAmount?: number | undefined;
|
|
7198
|
-
disallowedProviderIds?: string[] | undefined;
|
|
7199
|
-
promptRef?: string | undefined;
|
|
7200
|
-
} | undefined;
|
|
7201
7138
|
signals?: {
|
|
7202
7139
|
subscribesTo?: {
|
|
7203
7140
|
contract: string;
|
|
@@ -7296,8 +7233,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7296
7233
|
closeoutWarningSeconds?: number | undefined;
|
|
7297
7234
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
7298
7235
|
nativeLimits?: {
|
|
7299
|
-
unit: string;
|
|
7300
7236
|
amount: number;
|
|
7237
|
+
unit: string;
|
|
7301
7238
|
enforceable?: boolean | undefined;
|
|
7302
7239
|
}[] | undefined;
|
|
7303
7240
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -7324,6 +7261,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7324
7261
|
id: string;
|
|
7325
7262
|
revision: number;
|
|
7326
7263
|
}[] | undefined;
|
|
7264
|
+
capabilityRequirements?: {
|
|
7265
|
+
capabilityId: string;
|
|
7266
|
+
requirement: "required" | "preferred";
|
|
7267
|
+
versionRange: string;
|
|
7268
|
+
configuration?: Record<string, {
|
|
7269
|
+
requirement: "required" | "preferred";
|
|
7270
|
+
value?: unknown;
|
|
7271
|
+
}> | undefined;
|
|
7272
|
+
alternativeGroup?: string | null | undefined;
|
|
7273
|
+
requiredFeatures?: string[] | undefined;
|
|
7274
|
+
}[] | undefined;
|
|
7327
7275
|
permissions?: {
|
|
7328
7276
|
repository?: {
|
|
7329
7277
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -7359,18 +7307,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7359
7307
|
requiredArtifactKinds?: string[] | undefined;
|
|
7360
7308
|
blockOnOpenQuestions?: boolean | undefined;
|
|
7361
7309
|
} | undefined;
|
|
7362
|
-
providerOverrides?: {
|
|
7363
|
-
requiredCapabilities?: string[] | undefined;
|
|
7364
|
-
instructionTemplateRefs?: {
|
|
7365
|
-
id: string;
|
|
7366
|
-
revision: number;
|
|
7367
|
-
}[] | undefined;
|
|
7368
|
-
maxRuntimeSeconds?: number | undefined;
|
|
7369
|
-
maxTotalTokens?: number | undefined;
|
|
7370
|
-
maxCostAmount?: number | undefined;
|
|
7371
|
-
disallowedProviderIds?: string[] | undefined;
|
|
7372
|
-
promptRef?: string | undefined;
|
|
7373
|
-
} | undefined;
|
|
7374
7310
|
signals?: {
|
|
7375
7311
|
subscribesTo?: {
|
|
7376
7312
|
contract: string;
|
|
@@ -7469,8 +7405,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7469
7405
|
closeoutWarningSeconds?: number | undefined;
|
|
7470
7406
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
7471
7407
|
nativeLimits?: {
|
|
7472
|
-
unit: string;
|
|
7473
7408
|
amount: number;
|
|
7409
|
+
unit: string;
|
|
7474
7410
|
enforceable?: boolean | undefined;
|
|
7475
7411
|
}[] | undefined;
|
|
7476
7412
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -7497,6 +7433,17 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7497
7433
|
id: string;
|
|
7498
7434
|
revision: number;
|
|
7499
7435
|
}[] | undefined;
|
|
7436
|
+
capabilityRequirements?: {
|
|
7437
|
+
capabilityId: string;
|
|
7438
|
+
requirement: "required" | "preferred";
|
|
7439
|
+
versionRange: string;
|
|
7440
|
+
configuration?: Record<string, {
|
|
7441
|
+
requirement: "required" | "preferred";
|
|
7442
|
+
value?: unknown;
|
|
7443
|
+
}> | undefined;
|
|
7444
|
+
alternativeGroup?: string | null | undefined;
|
|
7445
|
+
requiredFeatures?: string[] | undefined;
|
|
7446
|
+
}[] | undefined;
|
|
7500
7447
|
permissions?: {
|
|
7501
7448
|
repository?: {
|
|
7502
7449
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -7532,18 +7479,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7532
7479
|
requiredArtifactKinds?: string[] | undefined;
|
|
7533
7480
|
blockOnOpenQuestions?: boolean | undefined;
|
|
7534
7481
|
} | undefined;
|
|
7535
|
-
providerOverrides?: {
|
|
7536
|
-
requiredCapabilities?: string[] | undefined;
|
|
7537
|
-
instructionTemplateRefs?: {
|
|
7538
|
-
id: string;
|
|
7539
|
-
revision: number;
|
|
7540
|
-
}[] | undefined;
|
|
7541
|
-
maxRuntimeSeconds?: number | undefined;
|
|
7542
|
-
maxTotalTokens?: number | undefined;
|
|
7543
|
-
maxCostAmount?: number | undefined;
|
|
7544
|
-
disallowedProviderIds?: string[] | undefined;
|
|
7545
|
-
promptRef?: string | undefined;
|
|
7546
|
-
} | undefined;
|
|
7547
7482
|
signals?: {
|
|
7548
7483
|
subscribesTo?: {
|
|
7549
7484
|
contract: string;
|
|
@@ -7791,6 +7726,43 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
7791
7726
|
id: string;
|
|
7792
7727
|
revision: number;
|
|
7793
7728
|
}[]>>;
|
|
7729
|
+
capabilityRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7730
|
+
capabilityId: z.ZodString;
|
|
7731
|
+
versionRange: z.ZodString;
|
|
7732
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
7733
|
+
alternativeGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7734
|
+
requiredFeatures: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
7735
|
+
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7736
|
+
value: z.ZodUnknown;
|
|
7737
|
+
requirement: z.ZodEnum<["required", "preferred"]>;
|
|
7738
|
+
}, "strict", z.ZodTypeAny, {
|
|
7739
|
+
requirement: "required" | "preferred";
|
|
7740
|
+
value?: unknown;
|
|
7741
|
+
}, {
|
|
7742
|
+
requirement: "required" | "preferred";
|
|
7743
|
+
value?: unknown;
|
|
7744
|
+
}>>>;
|
|
7745
|
+
}, "strict", z.ZodTypeAny, {
|
|
7746
|
+
capabilityId: string;
|
|
7747
|
+
requirement: "required" | "preferred";
|
|
7748
|
+
versionRange: string;
|
|
7749
|
+
configuration?: Record<string, {
|
|
7750
|
+
requirement: "required" | "preferred";
|
|
7751
|
+
value?: unknown;
|
|
7752
|
+
}> | undefined;
|
|
7753
|
+
alternativeGroup?: string | null | undefined;
|
|
7754
|
+
requiredFeatures?: string[] | undefined;
|
|
7755
|
+
}, {
|
|
7756
|
+
capabilityId: string;
|
|
7757
|
+
requirement: "required" | "preferred";
|
|
7758
|
+
versionRange: string;
|
|
7759
|
+
configuration?: Record<string, {
|
|
7760
|
+
requirement: "required" | "preferred";
|
|
7761
|
+
value?: unknown;
|
|
7762
|
+
}> | undefined;
|
|
7763
|
+
alternativeGroup?: string | null | undefined;
|
|
7764
|
+
requiredFeatures?: string[] | undefined;
|
|
7765
|
+
}>, "many">>;
|
|
7794
7766
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
7795
7767
|
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7796
7768
|
operations: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
@@ -7922,52 +7894,6 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
7922
7894
|
requiredArtifactKinds?: string[] | undefined;
|
|
7923
7895
|
blockOnOpenQuestions?: boolean | undefined;
|
|
7924
7896
|
}>>;
|
|
7925
|
-
providerOverrides: z.ZodOptional<z.ZodObject<{
|
|
7926
|
-
requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
7927
|
-
disallowedProviderIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
7928
|
-
promptRef: z.ZodOptional<z.ZodString>;
|
|
7929
|
-
instructionTemplateRefs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
7930
|
-
id: z.ZodString;
|
|
7931
|
-
revision: z.ZodNumber;
|
|
7932
|
-
}, "strict", z.ZodTypeAny, {
|
|
7933
|
-
id: string;
|
|
7934
|
-
revision: number;
|
|
7935
|
-
}, {
|
|
7936
|
-
id: string;
|
|
7937
|
-
revision: number;
|
|
7938
|
-
}>, "many">, {
|
|
7939
|
-
id: string;
|
|
7940
|
-
revision: number;
|
|
7941
|
-
}[], {
|
|
7942
|
-
id: string;
|
|
7943
|
-
revision: number;
|
|
7944
|
-
}[]>>;
|
|
7945
|
-
maxRuntimeSeconds: z.ZodOptional<z.ZodNumber>;
|
|
7946
|
-
maxTotalTokens: z.ZodOptional<z.ZodNumber>;
|
|
7947
|
-
maxCostAmount: z.ZodOptional<z.ZodNumber>;
|
|
7948
|
-
}, "strict", z.ZodTypeAny, {
|
|
7949
|
-
requiredCapabilities?: string[] | undefined;
|
|
7950
|
-
instructionTemplateRefs?: {
|
|
7951
|
-
id: string;
|
|
7952
|
-
revision: number;
|
|
7953
|
-
}[] | undefined;
|
|
7954
|
-
maxRuntimeSeconds?: number | undefined;
|
|
7955
|
-
maxTotalTokens?: number | undefined;
|
|
7956
|
-
maxCostAmount?: number | undefined;
|
|
7957
|
-
disallowedProviderIds?: string[] | undefined;
|
|
7958
|
-
promptRef?: string | undefined;
|
|
7959
|
-
}, {
|
|
7960
|
-
requiredCapabilities?: string[] | undefined;
|
|
7961
|
-
instructionTemplateRefs?: {
|
|
7962
|
-
id: string;
|
|
7963
|
-
revision: number;
|
|
7964
|
-
}[] | undefined;
|
|
7965
|
-
maxRuntimeSeconds?: number | undefined;
|
|
7966
|
-
maxTotalTokens?: number | undefined;
|
|
7967
|
-
maxCostAmount?: number | undefined;
|
|
7968
|
-
disallowedProviderIds?: string[] | undefined;
|
|
7969
|
-
promptRef?: string | undefined;
|
|
7970
|
-
}>>;
|
|
7971
7897
|
tools: z.ZodObject<{
|
|
7972
7898
|
allowed: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
7973
7899
|
denied: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
@@ -8388,12 +8314,12 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8388
8314
|
amount: z.ZodNumber;
|
|
8389
8315
|
enforceable: z.ZodOptional<z.ZodBoolean>;
|
|
8390
8316
|
}, "strict", z.ZodTypeAny, {
|
|
8391
|
-
unit: string;
|
|
8392
8317
|
amount: number;
|
|
8318
|
+
unit: string;
|
|
8393
8319
|
enforceable?: boolean | undefined;
|
|
8394
8320
|
}, {
|
|
8395
|
-
unit: string;
|
|
8396
8321
|
amount: number;
|
|
8322
|
+
unit: string;
|
|
8397
8323
|
enforceable?: boolean | undefined;
|
|
8398
8324
|
}>, "many">>;
|
|
8399
8325
|
pricingGeneration: z.ZodOptional<z.ZodString>;
|
|
@@ -8407,8 +8333,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8407
8333
|
closeoutWarningSeconds?: number | undefined;
|
|
8408
8334
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
8409
8335
|
nativeLimits?: {
|
|
8410
|
-
unit: string;
|
|
8411
8336
|
amount: number;
|
|
8337
|
+
unit: string;
|
|
8412
8338
|
enforceable?: boolean | undefined;
|
|
8413
8339
|
}[] | undefined;
|
|
8414
8340
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -8428,8 +8354,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8428
8354
|
closeoutWarningSeconds?: number | undefined;
|
|
8429
8355
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
8430
8356
|
nativeLimits?: {
|
|
8431
|
-
unit: string;
|
|
8432
8357
|
amount: number;
|
|
8358
|
+
unit: string;
|
|
8433
8359
|
enforceable?: boolean | undefined;
|
|
8434
8360
|
}[] | undefined;
|
|
8435
8361
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -8476,8 +8402,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8476
8402
|
closeoutWarningSeconds?: number | undefined;
|
|
8477
8403
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
8478
8404
|
nativeLimits?: {
|
|
8479
|
-
unit: string;
|
|
8480
8405
|
amount: number;
|
|
8406
|
+
unit: string;
|
|
8481
8407
|
enforceable?: boolean | undefined;
|
|
8482
8408
|
}[] | undefined;
|
|
8483
8409
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -8504,6 +8430,17 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8504
8430
|
id: string;
|
|
8505
8431
|
revision: number;
|
|
8506
8432
|
}[] | undefined;
|
|
8433
|
+
capabilityRequirements?: {
|
|
8434
|
+
capabilityId: string;
|
|
8435
|
+
requirement: "required" | "preferred";
|
|
8436
|
+
versionRange: string;
|
|
8437
|
+
configuration?: Record<string, {
|
|
8438
|
+
requirement: "required" | "preferred";
|
|
8439
|
+
value?: unknown;
|
|
8440
|
+
}> | undefined;
|
|
8441
|
+
alternativeGroup?: string | null | undefined;
|
|
8442
|
+
requiredFeatures?: string[] | undefined;
|
|
8443
|
+
}[] | undefined;
|
|
8507
8444
|
permissions?: {
|
|
8508
8445
|
repository?: {
|
|
8509
8446
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -8539,18 +8476,6 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8539
8476
|
requiredArtifactKinds?: string[] | undefined;
|
|
8540
8477
|
blockOnOpenQuestions?: boolean | undefined;
|
|
8541
8478
|
} | undefined;
|
|
8542
|
-
providerOverrides?: {
|
|
8543
|
-
requiredCapabilities?: string[] | undefined;
|
|
8544
|
-
instructionTemplateRefs?: {
|
|
8545
|
-
id: string;
|
|
8546
|
-
revision: number;
|
|
8547
|
-
}[] | undefined;
|
|
8548
|
-
maxRuntimeSeconds?: number | undefined;
|
|
8549
|
-
maxTotalTokens?: number | undefined;
|
|
8550
|
-
maxCostAmount?: number | undefined;
|
|
8551
|
-
disallowedProviderIds?: string[] | undefined;
|
|
8552
|
-
promptRef?: string | undefined;
|
|
8553
|
-
} | undefined;
|
|
8554
8479
|
signals?: {
|
|
8555
8480
|
subscribesTo?: {
|
|
8556
8481
|
contract: string;
|
|
@@ -8649,8 +8574,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8649
8574
|
closeoutWarningSeconds?: number | undefined;
|
|
8650
8575
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
8651
8576
|
nativeLimits?: {
|
|
8652
|
-
unit: string;
|
|
8653
8577
|
amount: number;
|
|
8578
|
+
unit: string;
|
|
8654
8579
|
enforceable?: boolean | undefined;
|
|
8655
8580
|
}[] | undefined;
|
|
8656
8581
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -8677,6 +8602,17 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8677
8602
|
id: string;
|
|
8678
8603
|
revision: number;
|
|
8679
8604
|
}[] | undefined;
|
|
8605
|
+
capabilityRequirements?: {
|
|
8606
|
+
capabilityId: string;
|
|
8607
|
+
requirement: "required" | "preferred";
|
|
8608
|
+
versionRange: string;
|
|
8609
|
+
configuration?: Record<string, {
|
|
8610
|
+
requirement: "required" | "preferred";
|
|
8611
|
+
value?: unknown;
|
|
8612
|
+
}> | undefined;
|
|
8613
|
+
alternativeGroup?: string | null | undefined;
|
|
8614
|
+
requiredFeatures?: string[] | undefined;
|
|
8615
|
+
}[] | undefined;
|
|
8680
8616
|
permissions?: {
|
|
8681
8617
|
repository?: {
|
|
8682
8618
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -8712,18 +8648,6 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8712
8648
|
requiredArtifactKinds?: string[] | undefined;
|
|
8713
8649
|
blockOnOpenQuestions?: boolean | undefined;
|
|
8714
8650
|
} | undefined;
|
|
8715
|
-
providerOverrides?: {
|
|
8716
|
-
requiredCapabilities?: string[] | undefined;
|
|
8717
|
-
instructionTemplateRefs?: {
|
|
8718
|
-
id: string;
|
|
8719
|
-
revision: number;
|
|
8720
|
-
}[] | undefined;
|
|
8721
|
-
maxRuntimeSeconds?: number | undefined;
|
|
8722
|
-
maxTotalTokens?: number | undefined;
|
|
8723
|
-
maxCostAmount?: number | undefined;
|
|
8724
|
-
disallowedProviderIds?: string[] | undefined;
|
|
8725
|
-
promptRef?: string | undefined;
|
|
8726
|
-
} | undefined;
|
|
8727
8651
|
signals?: {
|
|
8728
8652
|
subscribesTo?: {
|
|
8729
8653
|
contract: string;
|
|
@@ -8822,8 +8746,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8822
8746
|
closeoutWarningSeconds?: number | undefined;
|
|
8823
8747
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
8824
8748
|
nativeLimits?: {
|
|
8825
|
-
unit: string;
|
|
8826
8749
|
amount: number;
|
|
8750
|
+
unit: string;
|
|
8827
8751
|
enforceable?: boolean | undefined;
|
|
8828
8752
|
}[] | undefined;
|
|
8829
8753
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -8850,6 +8774,17 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8850
8774
|
id: string;
|
|
8851
8775
|
revision: number;
|
|
8852
8776
|
}[] | undefined;
|
|
8777
|
+
capabilityRequirements?: {
|
|
8778
|
+
capabilityId: string;
|
|
8779
|
+
requirement: "required" | "preferred";
|
|
8780
|
+
versionRange: string;
|
|
8781
|
+
configuration?: Record<string, {
|
|
8782
|
+
requirement: "required" | "preferred";
|
|
8783
|
+
value?: unknown;
|
|
8784
|
+
}> | undefined;
|
|
8785
|
+
alternativeGroup?: string | null | undefined;
|
|
8786
|
+
requiredFeatures?: string[] | undefined;
|
|
8787
|
+
}[] | undefined;
|
|
8853
8788
|
permissions?: {
|
|
8854
8789
|
repository?: {
|
|
8855
8790
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -8885,18 +8820,6 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8885
8820
|
requiredArtifactKinds?: string[] | undefined;
|
|
8886
8821
|
blockOnOpenQuestions?: boolean | undefined;
|
|
8887
8822
|
} | undefined;
|
|
8888
|
-
providerOverrides?: {
|
|
8889
|
-
requiredCapabilities?: string[] | undefined;
|
|
8890
|
-
instructionTemplateRefs?: {
|
|
8891
|
-
id: string;
|
|
8892
|
-
revision: number;
|
|
8893
|
-
}[] | undefined;
|
|
8894
|
-
maxRuntimeSeconds?: number | undefined;
|
|
8895
|
-
maxTotalTokens?: number | undefined;
|
|
8896
|
-
maxCostAmount?: number | undefined;
|
|
8897
|
-
disallowedProviderIds?: string[] | undefined;
|
|
8898
|
-
promptRef?: string | undefined;
|
|
8899
|
-
} | undefined;
|
|
8900
8823
|
signals?: {
|
|
8901
8824
|
subscribesTo?: {
|
|
8902
8825
|
contract: string;
|
|
@@ -8995,8 +8918,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
8995
8918
|
closeoutWarningSeconds?: number | undefined;
|
|
8996
8919
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
8997
8920
|
nativeLimits?: {
|
|
8998
|
-
unit: string;
|
|
8999
8921
|
amount: number;
|
|
8922
|
+
unit: string;
|
|
9000
8923
|
enforceable?: boolean | undefined;
|
|
9001
8924
|
}[] | undefined;
|
|
9002
8925
|
maxRuntimeSeconds?: number | undefined;
|
|
@@ -9023,6 +8946,17 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
9023
8946
|
id: string;
|
|
9024
8947
|
revision: number;
|
|
9025
8948
|
}[] | undefined;
|
|
8949
|
+
capabilityRequirements?: {
|
|
8950
|
+
capabilityId: string;
|
|
8951
|
+
requirement: "required" | "preferred";
|
|
8952
|
+
versionRange: string;
|
|
8953
|
+
configuration?: Record<string, {
|
|
8954
|
+
requirement: "required" | "preferred";
|
|
8955
|
+
value?: unknown;
|
|
8956
|
+
}> | undefined;
|
|
8957
|
+
alternativeGroup?: string | null | undefined;
|
|
8958
|
+
requiredFeatures?: string[] | undefined;
|
|
8959
|
+
}[] | undefined;
|
|
9026
8960
|
permissions?: {
|
|
9027
8961
|
repository?: {
|
|
9028
8962
|
allowCodeMutation?: boolean | undefined;
|
|
@@ -9058,18 +8992,6 @@ export declare function validateAgentDefinitionModel(value: unknown): {
|
|
|
9058
8992
|
requiredArtifactKinds?: string[] | undefined;
|
|
9059
8993
|
blockOnOpenQuestions?: boolean | undefined;
|
|
9060
8994
|
} | undefined;
|
|
9061
|
-
providerOverrides?: {
|
|
9062
|
-
requiredCapabilities?: string[] | undefined;
|
|
9063
|
-
instructionTemplateRefs?: {
|
|
9064
|
-
id: string;
|
|
9065
|
-
revision: number;
|
|
9066
|
-
}[] | undefined;
|
|
9067
|
-
maxRuntimeSeconds?: number | undefined;
|
|
9068
|
-
maxTotalTokens?: number | undefined;
|
|
9069
|
-
maxCostAmount?: number | undefined;
|
|
9070
|
-
disallowedProviderIds?: string[] | undefined;
|
|
9071
|
-
promptRef?: string | undefined;
|
|
9072
|
-
} | undefined;
|
|
9073
8995
|
signals?: {
|
|
9074
8996
|
subscribesTo?: {
|
|
9075
8997
|
contract: string;
|