@n8n/api-types 1.42.3 → 1.43.0
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-sse.d.ts +15 -1
- package/dist/agents/agent-json-config.schema.d.ts +413 -0
- package/dist/agents/agent-json-config.schema.js +33 -2
- package/dist/agents/agent-json-config.schema.js.map +1 -1
- package/dist/agents/background-job.d.ts +5 -2
- package/dist/agents/dto.d.ts +327 -2
- package/dist/agents/dto.js +43 -4
- package/dist/agents/dto.js.map +1 -1
- package/dist/agents/inline-agent-config.schema.d.ts +233 -0
- package/dist/agents/slack/index.d.ts +1 -0
- package/dist/agents/slack/index.js +1 -0
- package/dist/agents/slack/index.js.map +1 -1
- package/dist/agents/slack/manager-credential.d.ts +2 -0
- package/dist/agents/slack/manager-credential.js +7 -0
- package/dist/agents/slack/manager-credential.js.map +1 -0
- package/dist/agents/types.d.ts +17 -0
- package/dist/agents/types.js +2 -1
- package/dist/agents/types.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/chat-hub.js.map +1 -1
- package/dist/dto/data-table/data-table-public.dto.d.ts +495 -0
- package/dist/dto/data-table/data-table-public.dto.js +239 -1
- package/dist/dto/data-table/data-table-public.dto.js.map +1 -1
- package/dist/dto/data-table/data-table-public.openapi.d.ts +116 -0
- package/dist/dto/data-table/data-table-public.openapi.js +91 -1
- package/dist/dto/data-table/data-table-public.openapi.js.map +1 -1
- package/dist/dto/data-table/list-data-table-content-query.dto.d.ts +17 -7
- package/dist/dto/data-table/list-data-table-content-query.dto.js +13 -14
- package/dist/dto/data-table/list-data-table-content-query.dto.js.map +1 -1
- package/dist/dto/index.d.ts +11 -9
- package/dist/dto/index.js +51 -15
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/instance-ai/instance-ai-mcp-update-connection-request.dto.d.ts +32 -6
- package/dist/dto/instance-ai/instance-ai-mcp-update-connection-request.dto.js +2 -3
- package/dist/dto/instance-ai/instance-ai-mcp-update-connection-request.dto.js.map +1 -1
- package/dist/dto/ldap/ldap-configuration-public.dto.d.ts +285 -0
- package/dist/dto/ldap/ldap-configuration-public.dto.js +76 -0
- package/dist/dto/ldap/ldap-configuration-public.dto.js.map +1 -0
- package/dist/dto/ldap/ldap-configuration-public.openapi.d.ts +90 -0
- package/dist/dto/ldap/ldap-configuration-public.openapi.js +94 -0
- package/dist/dto/ldap/ldap-configuration-public.openapi.js.map +1 -0
- package/dist/dto/ldap/ldap-sync-public.dto.d.ts +203 -0
- package/dist/dto/ldap/ldap-sync-public.dto.js +57 -0
- package/dist/dto/ldap/ldap-sync-public.dto.js.map +1 -0
- package/dist/dto/ldap/ldap-sync-public.openapi.d.ts +54 -0
- package/dist/dto/ldap/ldap-sync-public.openapi.js +58 -0
- package/dist/dto/ldap/ldap-sync-public.openapi.js.map +1 -0
- package/dist/dto/log-streaming/log-streaming-public.dto.d.ts +17 -0
- package/dist/dto/log-streaming/log-streaming-public.dto.js +17 -0
- package/dist/dto/log-streaming/log-streaming-public.dto.js.map +1 -0
- package/dist/dto/log-streaming/log-streaming-public.openapi.d.ts +6 -0
- package/dist/dto/log-streaming/log-streaming-public.openapi.js +10 -0
- package/dist/dto/log-streaming/log-streaming-public.openapi.js.map +1 -0
- package/dist/dto/otel/otel-settings-public.dto.d.ts +134 -0
- package/dist/dto/otel/otel-settings-public.dto.js +48 -0
- package/dist/dto/otel/otel-settings-public.dto.js.map +1 -0
- package/dist/dto/otel/otel-settings-public.openapi.d.ts +54 -0
- package/dist/dto/otel/otel-settings-public.openapi.js +70 -0
- package/dist/dto/otel/otel-settings-public.openapi.js.map +1 -0
- package/dist/dto/otel/otel-test-trace-public.dto.d.ts +61 -0
- package/dist/dto/otel/otel-test-trace-public.dto.js +31 -0
- package/dist/dto/otel/otel-test-trace-public.dto.js.map +1 -0
- package/dist/dto/otel/otel-test-trace-public.openapi.d.ts +43 -0
- package/dist/dto/otel/otel-test-trace-public.openapi.js +38 -0
- package/dist/dto/otel/otel-test-trace-public.openapi.js.map +1 -0
- package/dist/dto/otel/update-otel-settings.dto.js +1 -0
- package/dist/dto/otel/update-otel-settings.dto.js.map +1 -1
- package/dist/dto/packages/import-package-request.dto.d.ts +3 -1
- package/dist/dto/packages/import-package-request.dto.js +2 -0
- package/dist/dto/packages/import-package-request.dto.js.map +1 -1
- package/dist/dto/promotions/promotable-resource.dto.d.ts +13 -0
- package/dist/dto/promotions/promotable-resource.dto.js +11 -1
- package/dist/dto/promotions/promotable-resource.dto.js.map +1 -1
- package/dist/dto/promotions/promotion-common.dto.d.ts +1 -0
- package/dist/dto/promotions/promotion-common.dto.js +2 -1
- package/dist/dto/promotions/promotion-common.dto.js.map +1 -1
- package/dist/dto/promotions/promotion-operations.dto.d.ts +50 -0
- package/dist/dto/promotions/promotion-operations.dto.js +19 -1
- package/dist/dto/promotions/promotion-operations.dto.js.map +1 -1
- package/dist/dto/saml/saml-configuration-public.dto.d.ts +611 -0
- package/dist/dto/saml/saml-configuration-public.dto.js +239 -0
- package/dist/dto/saml/saml-configuration-public.dto.js.map +1 -0
- package/dist/frontend-settings.d.ts +1 -0
- package/dist/index.d.ts +8 -4
- package/dist/index.js +14 -7
- package/dist/index.js.map +1 -1
- package/dist/process-internals.d.ts +15 -0
- package/dist/{dto/ldap/ldap-configuration-response.dto.js → process-internals.js} +1 -1
- package/dist/process-internals.js.map +1 -0
- package/dist/schemas/breaking-changes.schema.d.ts +39 -36
- package/dist/schemas/breaking-changes.schema.js +9 -3
- package/dist/schemas/breaking-changes.schema.js.map +1 -1
- package/dist/schemas/instance-ai.schema.d.ts +615 -17
- package/dist/schemas/instance-ai.schema.js +32 -8
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/mcp-registry.schema.d.ts +0 -3
- package/dist/schemas/mcp-tool-permissions.schema.d.ts +33 -0
- package/dist/schemas/mcp-tool-permissions.schema.js +20 -0
- package/dist/schemas/mcp-tool-permissions.schema.js.map +1 -0
- package/dist/schemas/public-api-path-params.schema.d.ts +1 -0
- package/dist/schemas/public-api-path-params.schema.js +7 -2
- package/dist/schemas/public-api-path-params.schema.js.map +1 -1
- package/dist/schemas/public-api-uploaded-file.schema.d.ts +21 -0
- package/dist/schemas/public-api-uploaded-file.schema.js +15 -0
- package/dist/schemas/public-api-uploaded-file.schema.js.map +1 -0
- package/dist/workflow-suggestions.d.ts +48 -0
- package/dist/workflow-suggestions.js +3 -0
- package/dist/workflow-suggestions.js.map +1 -0
- package/package.json +9 -6
- package/dist/dto/data-table/update-data-table-column.dto.d.ts +0 -21
- package/dist/dto/data-table/update-data-table-column.dto.js +0 -17
- package/dist/dto/data-table/update-data-table-column.dto.js.map +0 -1
- package/dist/dto/ldap/ldap-configuration-response.dto.d.ts +0 -2
- package/dist/dto/ldap/ldap-configuration-response.dto.js.map +0 -1
- package/dist/dto/ldap/ldap-configuration.dto.d.ts +0 -47
- package/dist/dto/ldap/ldap-configuration.dto.js +0 -31
- package/dist/dto/ldap/ldap-configuration.dto.js.map +0 -1
- package/dist/dto/ldap/ldap-sync.dto.d.ts +0 -9
- package/dist/dto/ldap/ldap-sync.dto.js +0 -9
- package/dist/dto/ldap/ldap-sync.dto.js.map +0 -1
|
@@ -293,12 +293,15 @@ export declare const NodeConfigSchema: z.ZodObject<{
|
|
|
293
293
|
}>;
|
|
294
294
|
declare const AgentJsonSkillConfigSchema: z.ZodObject<{
|
|
295
295
|
type: z.ZodLiteral<"skill">;
|
|
296
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
296
297
|
id: z.ZodString;
|
|
297
298
|
}, "strip", z.ZodTypeAny, {
|
|
298
299
|
type: "skill";
|
|
300
|
+
enabled?: boolean | undefined;
|
|
299
301
|
id: string;
|
|
300
302
|
}, {
|
|
301
303
|
type: "skill";
|
|
304
|
+
enabled?: boolean | undefined;
|
|
302
305
|
id: string;
|
|
303
306
|
}>;
|
|
304
307
|
declare const AgentJsonTaskConfigSchema: z.ZodObject<{
|
|
@@ -593,6 +596,7 @@ export declare const WorkflowToolInputFieldSchema: z.ZodDiscriminatedUnion<"mode
|
|
|
593
596
|
}>]>;
|
|
594
597
|
export declare const WorkflowToolJsonConfigSchema: z.ZodObject<{
|
|
595
598
|
type: z.ZodLiteral<"workflow">;
|
|
599
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
596
600
|
workflowId: z.ZodOptional<z.ZodString>;
|
|
597
601
|
workflow: z.ZodString;
|
|
598
602
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -617,6 +621,7 @@ export declare const WorkflowToolJsonConfigSchema: z.ZodObject<{
|
|
|
617
621
|
}>]>>>;
|
|
618
622
|
}, "strict", z.ZodTypeAny, {
|
|
619
623
|
type: "workflow";
|
|
624
|
+
enabled?: boolean | undefined;
|
|
620
625
|
workflowId?: string | undefined;
|
|
621
626
|
workflow: string;
|
|
622
627
|
name?: string | undefined;
|
|
@@ -631,6 +636,7 @@ export declare const WorkflowToolJsonConfigSchema: z.ZodObject<{
|
|
|
631
636
|
}> | undefined;
|
|
632
637
|
}, {
|
|
633
638
|
type: "workflow";
|
|
639
|
+
enabled?: boolean | undefined;
|
|
634
640
|
workflowId?: string | undefined;
|
|
635
641
|
workflow: string;
|
|
636
642
|
name?: string | undefined;
|
|
@@ -646,6 +652,7 @@ export declare const WorkflowToolJsonConfigSchema: z.ZodObject<{
|
|
|
646
652
|
}>;
|
|
647
653
|
export declare const NodeToolJsonConfigSchema: z.ZodObject<{
|
|
648
654
|
type: z.ZodLiteral<"node">;
|
|
655
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
649
656
|
name: z.ZodString;
|
|
650
657
|
description: z.ZodOptional<z.ZodString>;
|
|
651
658
|
inputSchema: z.ZodOptional<z.ZodNever>;
|
|
@@ -703,6 +710,7 @@ export declare const NodeToolJsonConfigSchema: z.ZodObject<{
|
|
|
703
710
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
704
711
|
}, "strict", z.ZodTypeAny, {
|
|
705
712
|
type: "node";
|
|
713
|
+
enabled?: boolean | undefined;
|
|
706
714
|
name: string;
|
|
707
715
|
description?: string | undefined;
|
|
708
716
|
inputSchema?: undefined;
|
|
@@ -722,6 +730,7 @@ export declare const NodeToolJsonConfigSchema: z.ZodObject<{
|
|
|
722
730
|
requireApproval?: boolean | undefined;
|
|
723
731
|
}, {
|
|
724
732
|
type: "node";
|
|
733
|
+
enabled?: boolean | undefined;
|
|
725
734
|
name: string;
|
|
726
735
|
description?: string | undefined;
|
|
727
736
|
inputSchema?: undefined;
|
|
@@ -742,18 +751,22 @@ export declare const NodeToolJsonConfigSchema: z.ZodObject<{
|
|
|
742
751
|
}>;
|
|
743
752
|
declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
744
753
|
type: z.ZodLiteral<"custom">;
|
|
754
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
745
755
|
id: z.ZodString;
|
|
746
756
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
747
757
|
}, "strip", z.ZodTypeAny, {
|
|
748
758
|
type: "custom";
|
|
759
|
+
enabled?: boolean | undefined;
|
|
749
760
|
id: string;
|
|
750
761
|
requireApproval?: boolean | undefined;
|
|
751
762
|
}, {
|
|
752
763
|
type: "custom";
|
|
764
|
+
enabled?: boolean | undefined;
|
|
753
765
|
id: string;
|
|
754
766
|
requireApproval?: boolean | undefined;
|
|
755
767
|
}>, z.ZodObject<{
|
|
756
768
|
type: z.ZodLiteral<"workflow">;
|
|
769
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
757
770
|
workflowId: z.ZodOptional<z.ZodString>;
|
|
758
771
|
workflow: z.ZodString;
|
|
759
772
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -778,6 +791,7 @@ declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
778
791
|
}>]>>>;
|
|
779
792
|
}, "strict", z.ZodTypeAny, {
|
|
780
793
|
type: "workflow";
|
|
794
|
+
enabled?: boolean | undefined;
|
|
781
795
|
workflowId?: string | undefined;
|
|
782
796
|
workflow: string;
|
|
783
797
|
name?: string | undefined;
|
|
@@ -792,6 +806,7 @@ declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
792
806
|
}> | undefined;
|
|
793
807
|
}, {
|
|
794
808
|
type: "workflow";
|
|
809
|
+
enabled?: boolean | undefined;
|
|
795
810
|
workflowId?: string | undefined;
|
|
796
811
|
workflow: string;
|
|
797
812
|
name?: string | undefined;
|
|
@@ -806,6 +821,7 @@ declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
806
821
|
}> | undefined;
|
|
807
822
|
}>, z.ZodObject<{
|
|
808
823
|
type: z.ZodLiteral<"node">;
|
|
824
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
809
825
|
name: z.ZodString;
|
|
810
826
|
description: z.ZodOptional<z.ZodString>;
|
|
811
827
|
inputSchema: z.ZodOptional<z.ZodNever>;
|
|
@@ -863,6 +879,7 @@ declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
863
879
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
864
880
|
}, "strict", z.ZodTypeAny, {
|
|
865
881
|
type: "node";
|
|
882
|
+
enabled?: boolean | undefined;
|
|
866
883
|
name: string;
|
|
867
884
|
description?: string | undefined;
|
|
868
885
|
inputSchema?: undefined;
|
|
@@ -882,6 +899,7 @@ declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
882
899
|
requireApproval?: boolean | undefined;
|
|
883
900
|
}, {
|
|
884
901
|
type: "node";
|
|
902
|
+
enabled?: boolean | undefined;
|
|
885
903
|
name: string;
|
|
886
904
|
description?: string | undefined;
|
|
887
905
|
inputSchema?: undefined;
|
|
@@ -900,8 +918,36 @@ declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
900
918
|
};
|
|
901
919
|
requireApproval?: boolean | undefined;
|
|
902
920
|
}>]>;
|
|
921
|
+
export declare const BudgetGuardrailConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
922
|
+
enabled: z.ZodBoolean;
|
|
923
|
+
monthlyBudgetUsd: z.ZodOptional<z.ZodNumber>;
|
|
924
|
+
alertThresholdPercent: z.ZodOptional<z.ZodNumber>;
|
|
925
|
+
sessionCostCapUsd: z.ZodOptional<z.ZodNumber>;
|
|
926
|
+
}, "strip", z.ZodTypeAny, {
|
|
927
|
+
enabled: boolean;
|
|
928
|
+
monthlyBudgetUsd?: number | undefined;
|
|
929
|
+
alertThresholdPercent?: number | undefined;
|
|
930
|
+
sessionCostCapUsd?: number | undefined;
|
|
931
|
+
}, {
|
|
932
|
+
enabled: boolean;
|
|
933
|
+
monthlyBudgetUsd?: number | undefined;
|
|
934
|
+
alertThresholdPercent?: number | undefined;
|
|
935
|
+
sessionCostCapUsd?: number | undefined;
|
|
936
|
+
}>, {
|
|
937
|
+
enabled: boolean;
|
|
938
|
+
monthlyBudgetUsd?: number | undefined;
|
|
939
|
+
alertThresholdPercent?: number | undefined;
|
|
940
|
+
sessionCostCapUsd?: number | undefined;
|
|
941
|
+
}, {
|
|
942
|
+
enabled: boolean;
|
|
943
|
+
monthlyBudgetUsd?: number | undefined;
|
|
944
|
+
alertThresholdPercent?: number | undefined;
|
|
945
|
+
sessionCostCapUsd?: number | undefined;
|
|
946
|
+
}>;
|
|
947
|
+
export declare const AGENT_DESCRIPTION_MAX_LENGTH = 512;
|
|
903
948
|
export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
904
949
|
name: z.ZodString;
|
|
950
|
+
description: z.ZodOptional<z.ZodString>;
|
|
905
951
|
model: z.ZodUnion<[z.ZodLiteral<"">, z.ZodString]>;
|
|
906
952
|
credential: z.ZodOptional<z.ZodString>;
|
|
907
953
|
modelDeploymentName: z.ZodOptional<z.ZodString>;
|
|
@@ -1115,12 +1161,15 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1115
1161
|
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1116
1162
|
agentId: z.ZodString;
|
|
1117
1163
|
useWhen: z.ZodOptional<z.ZodString>;
|
|
1164
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1118
1165
|
}, "strict", z.ZodTypeAny, {
|
|
1119
1166
|
agentId: string;
|
|
1120
1167
|
useWhen?: string | undefined;
|
|
1168
|
+
enabled?: boolean | undefined;
|
|
1121
1169
|
}, {
|
|
1122
1170
|
agentId: string;
|
|
1123
1171
|
useWhen?: string | undefined;
|
|
1172
|
+
enabled?: boolean | undefined;
|
|
1124
1173
|
}>, "many">>;
|
|
1125
1174
|
modelsByDifficulty: z.ZodOptional<z.ZodObject<{
|
|
1126
1175
|
low: z.ZodOptional<z.ZodObject<{
|
|
@@ -1185,6 +1234,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1185
1234
|
agents?: {
|
|
1186
1235
|
agentId: string;
|
|
1187
1236
|
useWhen?: string | undefined;
|
|
1237
|
+
enabled?: boolean | undefined;
|
|
1188
1238
|
}[] | undefined;
|
|
1189
1239
|
modelsByDifficulty?: {
|
|
1190
1240
|
low?: {
|
|
@@ -1205,6 +1255,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1205
1255
|
agents?: {
|
|
1206
1256
|
agentId: string;
|
|
1207
1257
|
useWhen?: string | undefined;
|
|
1258
|
+
enabled?: boolean | undefined;
|
|
1208
1259
|
}[] | undefined;
|
|
1209
1260
|
modelsByDifficulty?: {
|
|
1210
1261
|
low?: {
|
|
@@ -1223,18 +1274,22 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1223
1274
|
}>>;
|
|
1224
1275
|
tools: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1225
1276
|
type: z.ZodLiteral<"custom">;
|
|
1277
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1226
1278
|
id: z.ZodString;
|
|
1227
1279
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
1228
1280
|
}, "strip", z.ZodTypeAny, {
|
|
1229
1281
|
type: "custom";
|
|
1282
|
+
enabled?: boolean | undefined;
|
|
1230
1283
|
id: string;
|
|
1231
1284
|
requireApproval?: boolean | undefined;
|
|
1232
1285
|
}, {
|
|
1233
1286
|
type: "custom";
|
|
1287
|
+
enabled?: boolean | undefined;
|
|
1234
1288
|
id: string;
|
|
1235
1289
|
requireApproval?: boolean | undefined;
|
|
1236
1290
|
}>, z.ZodObject<{
|
|
1237
1291
|
type: z.ZodLiteral<"workflow">;
|
|
1292
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1238
1293
|
workflowId: z.ZodOptional<z.ZodString>;
|
|
1239
1294
|
workflow: z.ZodString;
|
|
1240
1295
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1259,6 +1314,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1259
1314
|
}>]>>>;
|
|
1260
1315
|
}, "strict", z.ZodTypeAny, {
|
|
1261
1316
|
type: "workflow";
|
|
1317
|
+
enabled?: boolean | undefined;
|
|
1262
1318
|
workflowId?: string | undefined;
|
|
1263
1319
|
workflow: string;
|
|
1264
1320
|
name?: string | undefined;
|
|
@@ -1273,6 +1329,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1273
1329
|
}> | undefined;
|
|
1274
1330
|
}, {
|
|
1275
1331
|
type: "workflow";
|
|
1332
|
+
enabled?: boolean | undefined;
|
|
1276
1333
|
workflowId?: string | undefined;
|
|
1277
1334
|
workflow: string;
|
|
1278
1335
|
name?: string | undefined;
|
|
@@ -1287,6 +1344,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1287
1344
|
}> | undefined;
|
|
1288
1345
|
}>, z.ZodObject<{
|
|
1289
1346
|
type: z.ZodLiteral<"node">;
|
|
1347
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1290
1348
|
name: z.ZodString;
|
|
1291
1349
|
description: z.ZodOptional<z.ZodString>;
|
|
1292
1350
|
inputSchema: z.ZodOptional<z.ZodNever>;
|
|
@@ -1344,6 +1402,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1344
1402
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
1345
1403
|
}, "strict", z.ZodTypeAny, {
|
|
1346
1404
|
type: "node";
|
|
1405
|
+
enabled?: boolean | undefined;
|
|
1347
1406
|
name: string;
|
|
1348
1407
|
description?: string | undefined;
|
|
1349
1408
|
inputSchema?: undefined;
|
|
@@ -1363,6 +1422,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1363
1422
|
requireApproval?: boolean | undefined;
|
|
1364
1423
|
}, {
|
|
1365
1424
|
type: "node";
|
|
1425
|
+
enabled?: boolean | undefined;
|
|
1366
1426
|
name: string;
|
|
1367
1427
|
description?: string | undefined;
|
|
1368
1428
|
inputSchema?: undefined;
|
|
@@ -1382,10 +1442,12 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1382
1442
|
requireApproval?: boolean | undefined;
|
|
1383
1443
|
}>]>, "many">, ({
|
|
1384
1444
|
type: "custom";
|
|
1445
|
+
enabled?: boolean | undefined;
|
|
1385
1446
|
id: string;
|
|
1386
1447
|
requireApproval?: boolean | undefined;
|
|
1387
1448
|
} | {
|
|
1388
1449
|
type: "workflow";
|
|
1450
|
+
enabled?: boolean | undefined;
|
|
1389
1451
|
workflowId?: string | undefined;
|
|
1390
1452
|
workflow: string;
|
|
1391
1453
|
name?: string | undefined;
|
|
@@ -1400,6 +1462,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1400
1462
|
}> | undefined;
|
|
1401
1463
|
} | {
|
|
1402
1464
|
type: "node";
|
|
1465
|
+
enabled?: boolean | undefined;
|
|
1403
1466
|
name: string;
|
|
1404
1467
|
description?: string | undefined;
|
|
1405
1468
|
inputSchema?: undefined;
|
|
@@ -1419,10 +1482,12 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1419
1482
|
requireApproval?: boolean | undefined;
|
|
1420
1483
|
})[], ({
|
|
1421
1484
|
type: "custom";
|
|
1485
|
+
enabled?: boolean | undefined;
|
|
1422
1486
|
id: string;
|
|
1423
1487
|
requireApproval?: boolean | undefined;
|
|
1424
1488
|
} | {
|
|
1425
1489
|
type: "workflow";
|
|
1490
|
+
enabled?: boolean | undefined;
|
|
1426
1491
|
workflowId?: string | undefined;
|
|
1427
1492
|
workflow: string;
|
|
1428
1493
|
name?: string | undefined;
|
|
@@ -1437,6 +1502,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1437
1502
|
}> | undefined;
|
|
1438
1503
|
} | {
|
|
1439
1504
|
type: "node";
|
|
1505
|
+
enabled?: boolean | undefined;
|
|
1440
1506
|
name: string;
|
|
1441
1507
|
description?: string | undefined;
|
|
1442
1508
|
inputSchema?: undefined;
|
|
@@ -1457,18 +1523,23 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1457
1523
|
})[]>>;
|
|
1458
1524
|
skills: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1459
1525
|
type: z.ZodLiteral<"skill">;
|
|
1526
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1460
1527
|
id: z.ZodString;
|
|
1461
1528
|
}, "strip", z.ZodTypeAny, {
|
|
1462
1529
|
type: "skill";
|
|
1530
|
+
enabled?: boolean | undefined;
|
|
1463
1531
|
id: string;
|
|
1464
1532
|
}, {
|
|
1465
1533
|
type: "skill";
|
|
1534
|
+
enabled?: boolean | undefined;
|
|
1466
1535
|
id: string;
|
|
1467
1536
|
}>, "many">, {
|
|
1468
1537
|
type: "skill";
|
|
1538
|
+
enabled?: boolean | undefined;
|
|
1469
1539
|
id: string;
|
|
1470
1540
|
}[], {
|
|
1471
1541
|
type: "skill";
|
|
1542
|
+
enabled?: boolean | undefined;
|
|
1472
1543
|
id: string;
|
|
1473
1544
|
}[]>>;
|
|
1474
1545
|
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2382,6 +2453,48 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2382
2453
|
}>>;
|
|
2383
2454
|
toolCallConcurrency: z.ZodOptional<z.ZodNumber>;
|
|
2384
2455
|
maxIterations: z.ZodOptional<z.ZodNumber>;
|
|
2456
|
+
guardrails: z.ZodOptional<z.ZodObject<{
|
|
2457
|
+
budget: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
2458
|
+
enabled: z.ZodBoolean;
|
|
2459
|
+
monthlyBudgetUsd: z.ZodOptional<z.ZodNumber>;
|
|
2460
|
+
alertThresholdPercent: z.ZodOptional<z.ZodNumber>;
|
|
2461
|
+
sessionCostCapUsd: z.ZodOptional<z.ZodNumber>;
|
|
2462
|
+
}, "strip", z.ZodTypeAny, {
|
|
2463
|
+
enabled: boolean;
|
|
2464
|
+
monthlyBudgetUsd?: number | undefined;
|
|
2465
|
+
alertThresholdPercent?: number | undefined;
|
|
2466
|
+
sessionCostCapUsd?: number | undefined;
|
|
2467
|
+
}, {
|
|
2468
|
+
enabled: boolean;
|
|
2469
|
+
monthlyBudgetUsd?: number | undefined;
|
|
2470
|
+
alertThresholdPercent?: number | undefined;
|
|
2471
|
+
sessionCostCapUsd?: number | undefined;
|
|
2472
|
+
}>, {
|
|
2473
|
+
enabled: boolean;
|
|
2474
|
+
monthlyBudgetUsd?: number | undefined;
|
|
2475
|
+
alertThresholdPercent?: number | undefined;
|
|
2476
|
+
sessionCostCapUsd?: number | undefined;
|
|
2477
|
+
}, {
|
|
2478
|
+
enabled: boolean;
|
|
2479
|
+
monthlyBudgetUsd?: number | undefined;
|
|
2480
|
+
alertThresholdPercent?: number | undefined;
|
|
2481
|
+
sessionCostCapUsd?: number | undefined;
|
|
2482
|
+
}>>;
|
|
2483
|
+
}, "strip", z.ZodTypeAny, {
|
|
2484
|
+
budget?: {
|
|
2485
|
+
enabled: boolean;
|
|
2486
|
+
monthlyBudgetUsd?: number | undefined;
|
|
2487
|
+
alertThresholdPercent?: number | undefined;
|
|
2488
|
+
sessionCostCapUsd?: number | undefined;
|
|
2489
|
+
} | undefined;
|
|
2490
|
+
}, {
|
|
2491
|
+
budget?: {
|
|
2492
|
+
enabled: boolean;
|
|
2493
|
+
monthlyBudgetUsd?: number | undefined;
|
|
2494
|
+
alertThresholdPercent?: number | undefined;
|
|
2495
|
+
sessionCostCapUsd?: number | undefined;
|
|
2496
|
+
} | undefined;
|
|
2497
|
+
}>>;
|
|
2385
2498
|
}, "strip", z.ZodTypeAny, {
|
|
2386
2499
|
reasoning?: "high" | "low" | "medium" | undefined;
|
|
2387
2500
|
promptCaching?: {
|
|
@@ -2397,6 +2510,14 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2397
2510
|
} | undefined;
|
|
2398
2511
|
toolCallConcurrency?: number | undefined;
|
|
2399
2512
|
maxIterations?: number | undefined;
|
|
2513
|
+
guardrails?: {
|
|
2514
|
+
budget?: {
|
|
2515
|
+
enabled: boolean;
|
|
2516
|
+
monthlyBudgetUsd?: number | undefined;
|
|
2517
|
+
alertThresholdPercent?: number | undefined;
|
|
2518
|
+
sessionCostCapUsd?: number | undefined;
|
|
2519
|
+
} | undefined;
|
|
2520
|
+
} | undefined;
|
|
2400
2521
|
}, {
|
|
2401
2522
|
reasoning?: "high" | "low" | "medium" | undefined;
|
|
2402
2523
|
promptCaching?: {
|
|
@@ -2412,9 +2533,18 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2412
2533
|
} | undefined;
|
|
2413
2534
|
toolCallConcurrency?: number | undefined;
|
|
2414
2535
|
maxIterations?: number | undefined;
|
|
2536
|
+
guardrails?: {
|
|
2537
|
+
budget?: {
|
|
2538
|
+
enabled: boolean;
|
|
2539
|
+
monthlyBudgetUsd?: number | undefined;
|
|
2540
|
+
alertThresholdPercent?: number | undefined;
|
|
2541
|
+
sessionCostCapUsd?: number | undefined;
|
|
2542
|
+
} | undefined;
|
|
2543
|
+
} | undefined;
|
|
2415
2544
|
}>>;
|
|
2416
2545
|
}, "strip", z.ZodTypeAny, {
|
|
2417
2546
|
name: string;
|
|
2547
|
+
description?: string | undefined;
|
|
2418
2548
|
model: string;
|
|
2419
2549
|
credential?: string | undefined;
|
|
2420
2550
|
modelDeploymentName?: string | undefined;
|
|
@@ -2466,6 +2596,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2466
2596
|
agents?: {
|
|
2467
2597
|
agentId: string;
|
|
2468
2598
|
useWhen?: string | undefined;
|
|
2599
|
+
enabled?: boolean | undefined;
|
|
2469
2600
|
}[] | undefined;
|
|
2470
2601
|
modelsByDifficulty?: {
|
|
2471
2602
|
low?: {
|
|
@@ -2484,10 +2615,12 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2484
2615
|
} | undefined;
|
|
2485
2616
|
tools?: ({
|
|
2486
2617
|
type: "custom";
|
|
2618
|
+
enabled?: boolean | undefined;
|
|
2487
2619
|
id: string;
|
|
2488
2620
|
requireApproval?: boolean | undefined;
|
|
2489
2621
|
} | {
|
|
2490
2622
|
type: "workflow";
|
|
2623
|
+
enabled?: boolean | undefined;
|
|
2491
2624
|
workflowId?: string | undefined;
|
|
2492
2625
|
workflow: string;
|
|
2493
2626
|
name?: string | undefined;
|
|
@@ -2502,6 +2635,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2502
2635
|
}> | undefined;
|
|
2503
2636
|
} | {
|
|
2504
2637
|
type: "node";
|
|
2638
|
+
enabled?: boolean | undefined;
|
|
2505
2639
|
name: string;
|
|
2506
2640
|
description?: string | undefined;
|
|
2507
2641
|
inputSchema?: undefined;
|
|
@@ -2522,6 +2656,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2522
2656
|
})[] | undefined;
|
|
2523
2657
|
skills?: {
|
|
2524
2658
|
type: "skill";
|
|
2659
|
+
enabled?: boolean | undefined;
|
|
2525
2660
|
id: string;
|
|
2526
2661
|
}[] | undefined;
|
|
2527
2662
|
tasks?: {
|
|
@@ -2686,9 +2821,18 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2686
2821
|
} | undefined;
|
|
2687
2822
|
toolCallConcurrency?: number | undefined;
|
|
2688
2823
|
maxIterations?: number | undefined;
|
|
2824
|
+
guardrails?: {
|
|
2825
|
+
budget?: {
|
|
2826
|
+
enabled: boolean;
|
|
2827
|
+
monthlyBudgetUsd?: number | undefined;
|
|
2828
|
+
alertThresholdPercent?: number | undefined;
|
|
2829
|
+
sessionCostCapUsd?: number | undefined;
|
|
2830
|
+
} | undefined;
|
|
2831
|
+
} | undefined;
|
|
2689
2832
|
} | undefined;
|
|
2690
2833
|
}, {
|
|
2691
2834
|
name: string;
|
|
2835
|
+
description?: string | undefined;
|
|
2692
2836
|
model: string;
|
|
2693
2837
|
credential?: string | undefined;
|
|
2694
2838
|
modelDeploymentName?: string | undefined;
|
|
@@ -2740,6 +2884,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2740
2884
|
agents?: {
|
|
2741
2885
|
agentId: string;
|
|
2742
2886
|
useWhen?: string | undefined;
|
|
2887
|
+
enabled?: boolean | undefined;
|
|
2743
2888
|
}[] | undefined;
|
|
2744
2889
|
modelsByDifficulty?: {
|
|
2745
2890
|
low?: {
|
|
@@ -2758,10 +2903,12 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2758
2903
|
} | undefined;
|
|
2759
2904
|
tools?: ({
|
|
2760
2905
|
type: "custom";
|
|
2906
|
+
enabled?: boolean | undefined;
|
|
2761
2907
|
id: string;
|
|
2762
2908
|
requireApproval?: boolean | undefined;
|
|
2763
2909
|
} | {
|
|
2764
2910
|
type: "workflow";
|
|
2911
|
+
enabled?: boolean | undefined;
|
|
2765
2912
|
workflowId?: string | undefined;
|
|
2766
2913
|
workflow: string;
|
|
2767
2914
|
name?: string | undefined;
|
|
@@ -2776,6 +2923,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2776
2923
|
}> | undefined;
|
|
2777
2924
|
} | {
|
|
2778
2925
|
type: "node";
|
|
2926
|
+
enabled?: boolean | undefined;
|
|
2779
2927
|
name: string;
|
|
2780
2928
|
description?: string | undefined;
|
|
2781
2929
|
inputSchema?: undefined;
|
|
@@ -2796,6 +2944,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2796
2944
|
})[] | undefined;
|
|
2797
2945
|
skills?: {
|
|
2798
2946
|
type: "skill";
|
|
2947
|
+
enabled?: boolean | undefined;
|
|
2799
2948
|
id: string;
|
|
2800
2949
|
}[] | undefined;
|
|
2801
2950
|
tasks?: {
|
|
@@ -2960,10 +3109,19 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2960
3109
|
} | undefined;
|
|
2961
3110
|
toolCallConcurrency?: number | undefined;
|
|
2962
3111
|
maxIterations?: number | undefined;
|
|
3112
|
+
guardrails?: {
|
|
3113
|
+
budget?: {
|
|
3114
|
+
enabled: boolean;
|
|
3115
|
+
monthlyBudgetUsd?: number | undefined;
|
|
3116
|
+
alertThresholdPercent?: number | undefined;
|
|
3117
|
+
sessionCostCapUsd?: number | undefined;
|
|
3118
|
+
} | undefined;
|
|
3119
|
+
} | undefined;
|
|
2963
3120
|
} | undefined;
|
|
2964
3121
|
}>;
|
|
2965
3122
|
export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
2966
3123
|
name: z.ZodString;
|
|
3124
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2967
3125
|
model: z.ZodUnion<[z.ZodLiteral<"">, z.ZodString]>;
|
|
2968
3126
|
credential: z.ZodOptional<z.ZodString>;
|
|
2969
3127
|
modelDeploymentName: z.ZodOptional<z.ZodString>;
|
|
@@ -3177,12 +3335,15 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3177
3335
|
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3178
3336
|
agentId: z.ZodString;
|
|
3179
3337
|
useWhen: z.ZodOptional<z.ZodString>;
|
|
3338
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3180
3339
|
}, "strict", z.ZodTypeAny, {
|
|
3181
3340
|
agentId: string;
|
|
3182
3341
|
useWhen?: string | undefined;
|
|
3342
|
+
enabled?: boolean | undefined;
|
|
3183
3343
|
}, {
|
|
3184
3344
|
agentId: string;
|
|
3185
3345
|
useWhen?: string | undefined;
|
|
3346
|
+
enabled?: boolean | undefined;
|
|
3186
3347
|
}>, "many">>;
|
|
3187
3348
|
modelsByDifficulty: z.ZodOptional<z.ZodObject<{
|
|
3188
3349
|
low: z.ZodOptional<z.ZodObject<{
|
|
@@ -3247,6 +3408,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3247
3408
|
agents?: {
|
|
3248
3409
|
agentId: string;
|
|
3249
3410
|
useWhen?: string | undefined;
|
|
3411
|
+
enabled?: boolean | undefined;
|
|
3250
3412
|
}[] | undefined;
|
|
3251
3413
|
modelsByDifficulty?: {
|
|
3252
3414
|
low?: {
|
|
@@ -3267,6 +3429,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3267
3429
|
agents?: {
|
|
3268
3430
|
agentId: string;
|
|
3269
3431
|
useWhen?: string | undefined;
|
|
3432
|
+
enabled?: boolean | undefined;
|
|
3270
3433
|
}[] | undefined;
|
|
3271
3434
|
modelsByDifficulty?: {
|
|
3272
3435
|
low?: {
|
|
@@ -3285,18 +3448,22 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3285
3448
|
}>>;
|
|
3286
3449
|
tools: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3287
3450
|
type: z.ZodLiteral<"custom">;
|
|
3451
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3288
3452
|
id: z.ZodString;
|
|
3289
3453
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
3290
3454
|
}, "strip", z.ZodTypeAny, {
|
|
3291
3455
|
type: "custom";
|
|
3456
|
+
enabled?: boolean | undefined;
|
|
3292
3457
|
id: string;
|
|
3293
3458
|
requireApproval?: boolean | undefined;
|
|
3294
3459
|
}, {
|
|
3295
3460
|
type: "custom";
|
|
3461
|
+
enabled?: boolean | undefined;
|
|
3296
3462
|
id: string;
|
|
3297
3463
|
requireApproval?: boolean | undefined;
|
|
3298
3464
|
}>, z.ZodObject<{
|
|
3299
3465
|
type: z.ZodLiteral<"workflow">;
|
|
3466
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3300
3467
|
workflowId: z.ZodOptional<z.ZodString>;
|
|
3301
3468
|
workflow: z.ZodString;
|
|
3302
3469
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -3321,6 +3488,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3321
3488
|
}>]>>>;
|
|
3322
3489
|
}, "strict", z.ZodTypeAny, {
|
|
3323
3490
|
type: "workflow";
|
|
3491
|
+
enabled?: boolean | undefined;
|
|
3324
3492
|
workflowId?: string | undefined;
|
|
3325
3493
|
workflow: string;
|
|
3326
3494
|
name?: string | undefined;
|
|
@@ -3335,6 +3503,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3335
3503
|
}> | undefined;
|
|
3336
3504
|
}, {
|
|
3337
3505
|
type: "workflow";
|
|
3506
|
+
enabled?: boolean | undefined;
|
|
3338
3507
|
workflowId?: string | undefined;
|
|
3339
3508
|
workflow: string;
|
|
3340
3509
|
name?: string | undefined;
|
|
@@ -3349,6 +3518,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3349
3518
|
}> | undefined;
|
|
3350
3519
|
}>, z.ZodObject<{
|
|
3351
3520
|
type: z.ZodLiteral<"node">;
|
|
3521
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3352
3522
|
name: z.ZodString;
|
|
3353
3523
|
description: z.ZodOptional<z.ZodString>;
|
|
3354
3524
|
inputSchema: z.ZodOptional<z.ZodNever>;
|
|
@@ -3406,6 +3576,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3406
3576
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
3407
3577
|
}, "strict", z.ZodTypeAny, {
|
|
3408
3578
|
type: "node";
|
|
3579
|
+
enabled?: boolean | undefined;
|
|
3409
3580
|
name: string;
|
|
3410
3581
|
description?: string | undefined;
|
|
3411
3582
|
inputSchema?: undefined;
|
|
@@ -3425,6 +3596,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3425
3596
|
requireApproval?: boolean | undefined;
|
|
3426
3597
|
}, {
|
|
3427
3598
|
type: "node";
|
|
3599
|
+
enabled?: boolean | undefined;
|
|
3428
3600
|
name: string;
|
|
3429
3601
|
description?: string | undefined;
|
|
3430
3602
|
inputSchema?: undefined;
|
|
@@ -3444,10 +3616,12 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3444
3616
|
requireApproval?: boolean | undefined;
|
|
3445
3617
|
}>]>, "many">, ({
|
|
3446
3618
|
type: "custom";
|
|
3619
|
+
enabled?: boolean | undefined;
|
|
3447
3620
|
id: string;
|
|
3448
3621
|
requireApproval?: boolean | undefined;
|
|
3449
3622
|
} | {
|
|
3450
3623
|
type: "workflow";
|
|
3624
|
+
enabled?: boolean | undefined;
|
|
3451
3625
|
workflowId?: string | undefined;
|
|
3452
3626
|
workflow: string;
|
|
3453
3627
|
name?: string | undefined;
|
|
@@ -3462,6 +3636,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3462
3636
|
}> | undefined;
|
|
3463
3637
|
} | {
|
|
3464
3638
|
type: "node";
|
|
3639
|
+
enabled?: boolean | undefined;
|
|
3465
3640
|
name: string;
|
|
3466
3641
|
description?: string | undefined;
|
|
3467
3642
|
inputSchema?: undefined;
|
|
@@ -3481,10 +3656,12 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3481
3656
|
requireApproval?: boolean | undefined;
|
|
3482
3657
|
})[], ({
|
|
3483
3658
|
type: "custom";
|
|
3659
|
+
enabled?: boolean | undefined;
|
|
3484
3660
|
id: string;
|
|
3485
3661
|
requireApproval?: boolean | undefined;
|
|
3486
3662
|
} | {
|
|
3487
3663
|
type: "workflow";
|
|
3664
|
+
enabled?: boolean | undefined;
|
|
3488
3665
|
workflowId?: string | undefined;
|
|
3489
3666
|
workflow: string;
|
|
3490
3667
|
name?: string | undefined;
|
|
@@ -3499,6 +3676,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3499
3676
|
}> | undefined;
|
|
3500
3677
|
} | {
|
|
3501
3678
|
type: "node";
|
|
3679
|
+
enabled?: boolean | undefined;
|
|
3502
3680
|
name: string;
|
|
3503
3681
|
description?: string | undefined;
|
|
3504
3682
|
inputSchema?: undefined;
|
|
@@ -3519,18 +3697,23 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3519
3697
|
})[]>>;
|
|
3520
3698
|
skills: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
3521
3699
|
type: z.ZodLiteral<"skill">;
|
|
3700
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3522
3701
|
id: z.ZodString;
|
|
3523
3702
|
}, "strip", z.ZodTypeAny, {
|
|
3524
3703
|
type: "skill";
|
|
3704
|
+
enabled?: boolean | undefined;
|
|
3525
3705
|
id: string;
|
|
3526
3706
|
}, {
|
|
3527
3707
|
type: "skill";
|
|
3708
|
+
enabled?: boolean | undefined;
|
|
3528
3709
|
id: string;
|
|
3529
3710
|
}>, "many">, {
|
|
3530
3711
|
type: "skill";
|
|
3712
|
+
enabled?: boolean | undefined;
|
|
3531
3713
|
id: string;
|
|
3532
3714
|
}[], {
|
|
3533
3715
|
type: "skill";
|
|
3716
|
+
enabled?: boolean | undefined;
|
|
3534
3717
|
id: string;
|
|
3535
3718
|
}[]>>;
|
|
3536
3719
|
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -4444,6 +4627,48 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4444
4627
|
}>>;
|
|
4445
4628
|
toolCallConcurrency: z.ZodOptional<z.ZodNumber>;
|
|
4446
4629
|
maxIterations: z.ZodOptional<z.ZodNumber>;
|
|
4630
|
+
guardrails: z.ZodOptional<z.ZodObject<{
|
|
4631
|
+
budget: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
4632
|
+
enabled: z.ZodBoolean;
|
|
4633
|
+
monthlyBudgetUsd: z.ZodOptional<z.ZodNumber>;
|
|
4634
|
+
alertThresholdPercent: z.ZodOptional<z.ZodNumber>;
|
|
4635
|
+
sessionCostCapUsd: z.ZodOptional<z.ZodNumber>;
|
|
4636
|
+
}, "strip", z.ZodTypeAny, {
|
|
4637
|
+
enabled: boolean;
|
|
4638
|
+
monthlyBudgetUsd?: number | undefined;
|
|
4639
|
+
alertThresholdPercent?: number | undefined;
|
|
4640
|
+
sessionCostCapUsd?: number | undefined;
|
|
4641
|
+
}, {
|
|
4642
|
+
enabled: boolean;
|
|
4643
|
+
monthlyBudgetUsd?: number | undefined;
|
|
4644
|
+
alertThresholdPercent?: number | undefined;
|
|
4645
|
+
sessionCostCapUsd?: number | undefined;
|
|
4646
|
+
}>, {
|
|
4647
|
+
enabled: boolean;
|
|
4648
|
+
monthlyBudgetUsd?: number | undefined;
|
|
4649
|
+
alertThresholdPercent?: number | undefined;
|
|
4650
|
+
sessionCostCapUsd?: number | undefined;
|
|
4651
|
+
}, {
|
|
4652
|
+
enabled: boolean;
|
|
4653
|
+
monthlyBudgetUsd?: number | undefined;
|
|
4654
|
+
alertThresholdPercent?: number | undefined;
|
|
4655
|
+
sessionCostCapUsd?: number | undefined;
|
|
4656
|
+
}>>;
|
|
4657
|
+
}, "strip", z.ZodTypeAny, {
|
|
4658
|
+
budget?: {
|
|
4659
|
+
enabled: boolean;
|
|
4660
|
+
monthlyBudgetUsd?: number | undefined;
|
|
4661
|
+
alertThresholdPercent?: number | undefined;
|
|
4662
|
+
sessionCostCapUsd?: number | undefined;
|
|
4663
|
+
} | undefined;
|
|
4664
|
+
}, {
|
|
4665
|
+
budget?: {
|
|
4666
|
+
enabled: boolean;
|
|
4667
|
+
monthlyBudgetUsd?: number | undefined;
|
|
4668
|
+
alertThresholdPercent?: number | undefined;
|
|
4669
|
+
sessionCostCapUsd?: number | undefined;
|
|
4670
|
+
} | undefined;
|
|
4671
|
+
}>>;
|
|
4447
4672
|
}, "strip", z.ZodTypeAny, {
|
|
4448
4673
|
reasoning?: "high" | "low" | "medium" | undefined;
|
|
4449
4674
|
promptCaching?: {
|
|
@@ -4459,6 +4684,14 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4459
4684
|
} | undefined;
|
|
4460
4685
|
toolCallConcurrency?: number | undefined;
|
|
4461
4686
|
maxIterations?: number | undefined;
|
|
4687
|
+
guardrails?: {
|
|
4688
|
+
budget?: {
|
|
4689
|
+
enabled: boolean;
|
|
4690
|
+
monthlyBudgetUsd?: number | undefined;
|
|
4691
|
+
alertThresholdPercent?: number | undefined;
|
|
4692
|
+
sessionCostCapUsd?: number | undefined;
|
|
4693
|
+
} | undefined;
|
|
4694
|
+
} | undefined;
|
|
4462
4695
|
}, {
|
|
4463
4696
|
reasoning?: "high" | "low" | "medium" | undefined;
|
|
4464
4697
|
promptCaching?: {
|
|
@@ -4474,9 +4707,18 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4474
4707
|
} | undefined;
|
|
4475
4708
|
toolCallConcurrency?: number | undefined;
|
|
4476
4709
|
maxIterations?: number | undefined;
|
|
4710
|
+
guardrails?: {
|
|
4711
|
+
budget?: {
|
|
4712
|
+
enabled: boolean;
|
|
4713
|
+
monthlyBudgetUsd?: number | undefined;
|
|
4714
|
+
alertThresholdPercent?: number | undefined;
|
|
4715
|
+
sessionCostCapUsd?: number | undefined;
|
|
4716
|
+
} | undefined;
|
|
4717
|
+
} | undefined;
|
|
4477
4718
|
}>>;
|
|
4478
4719
|
}, "strip", z.ZodTypeAny, {
|
|
4479
4720
|
name: string;
|
|
4721
|
+
description?: string | undefined;
|
|
4480
4722
|
model: string;
|
|
4481
4723
|
credential?: string | undefined;
|
|
4482
4724
|
modelDeploymentName?: string | undefined;
|
|
@@ -4528,6 +4770,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4528
4770
|
agents?: {
|
|
4529
4771
|
agentId: string;
|
|
4530
4772
|
useWhen?: string | undefined;
|
|
4773
|
+
enabled?: boolean | undefined;
|
|
4531
4774
|
}[] | undefined;
|
|
4532
4775
|
modelsByDifficulty?: {
|
|
4533
4776
|
low?: {
|
|
@@ -4546,10 +4789,12 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4546
4789
|
} | undefined;
|
|
4547
4790
|
tools?: ({
|
|
4548
4791
|
type: "custom";
|
|
4792
|
+
enabled?: boolean | undefined;
|
|
4549
4793
|
id: string;
|
|
4550
4794
|
requireApproval?: boolean | undefined;
|
|
4551
4795
|
} | {
|
|
4552
4796
|
type: "workflow";
|
|
4797
|
+
enabled?: boolean | undefined;
|
|
4553
4798
|
workflowId?: string | undefined;
|
|
4554
4799
|
workflow: string;
|
|
4555
4800
|
name?: string | undefined;
|
|
@@ -4564,6 +4809,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4564
4809
|
}> | undefined;
|
|
4565
4810
|
} | {
|
|
4566
4811
|
type: "node";
|
|
4812
|
+
enabled?: boolean | undefined;
|
|
4567
4813
|
name: string;
|
|
4568
4814
|
description?: string | undefined;
|
|
4569
4815
|
inputSchema?: undefined;
|
|
@@ -4584,6 +4830,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4584
4830
|
})[] | undefined;
|
|
4585
4831
|
skills?: {
|
|
4586
4832
|
type: "skill";
|
|
4833
|
+
enabled?: boolean | undefined;
|
|
4587
4834
|
id: string;
|
|
4588
4835
|
}[] | undefined;
|
|
4589
4836
|
tasks?: {
|
|
@@ -4748,9 +4995,18 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4748
4995
|
} | undefined;
|
|
4749
4996
|
toolCallConcurrency?: number | undefined;
|
|
4750
4997
|
maxIterations?: number | undefined;
|
|
4998
|
+
guardrails?: {
|
|
4999
|
+
budget?: {
|
|
5000
|
+
enabled: boolean;
|
|
5001
|
+
monthlyBudgetUsd?: number | undefined;
|
|
5002
|
+
alertThresholdPercent?: number | undefined;
|
|
5003
|
+
sessionCostCapUsd?: number | undefined;
|
|
5004
|
+
} | undefined;
|
|
5005
|
+
} | undefined;
|
|
4751
5006
|
} | undefined;
|
|
4752
5007
|
}, {
|
|
4753
5008
|
name: string;
|
|
5009
|
+
description?: string | undefined;
|
|
4754
5010
|
model: string;
|
|
4755
5011
|
credential?: string | undefined;
|
|
4756
5012
|
modelDeploymentName?: string | undefined;
|
|
@@ -4802,6 +5058,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4802
5058
|
agents?: {
|
|
4803
5059
|
agentId: string;
|
|
4804
5060
|
useWhen?: string | undefined;
|
|
5061
|
+
enabled?: boolean | undefined;
|
|
4805
5062
|
}[] | undefined;
|
|
4806
5063
|
modelsByDifficulty?: {
|
|
4807
5064
|
low?: {
|
|
@@ -4820,10 +5077,12 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4820
5077
|
} | undefined;
|
|
4821
5078
|
tools?: ({
|
|
4822
5079
|
type: "custom";
|
|
5080
|
+
enabled?: boolean | undefined;
|
|
4823
5081
|
id: string;
|
|
4824
5082
|
requireApproval?: boolean | undefined;
|
|
4825
5083
|
} | {
|
|
4826
5084
|
type: "workflow";
|
|
5085
|
+
enabled?: boolean | undefined;
|
|
4827
5086
|
workflowId?: string | undefined;
|
|
4828
5087
|
workflow: string;
|
|
4829
5088
|
name?: string | undefined;
|
|
@@ -4838,6 +5097,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4838
5097
|
}> | undefined;
|
|
4839
5098
|
} | {
|
|
4840
5099
|
type: "node";
|
|
5100
|
+
enabled?: boolean | undefined;
|
|
4841
5101
|
name: string;
|
|
4842
5102
|
description?: string | undefined;
|
|
4843
5103
|
inputSchema?: undefined;
|
|
@@ -4858,6 +5118,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4858
5118
|
})[] | undefined;
|
|
4859
5119
|
skills?: {
|
|
4860
5120
|
type: "skill";
|
|
5121
|
+
enabled?: boolean | undefined;
|
|
4861
5122
|
id: string;
|
|
4862
5123
|
}[] | undefined;
|
|
4863
5124
|
tasks?: {
|
|
@@ -5022,9 +5283,18 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5022
5283
|
} | undefined;
|
|
5023
5284
|
toolCallConcurrency?: number | undefined;
|
|
5024
5285
|
maxIterations?: number | undefined;
|
|
5286
|
+
guardrails?: {
|
|
5287
|
+
budget?: {
|
|
5288
|
+
enabled: boolean;
|
|
5289
|
+
monthlyBudgetUsd?: number | undefined;
|
|
5290
|
+
alertThresholdPercent?: number | undefined;
|
|
5291
|
+
sessionCostCapUsd?: number | undefined;
|
|
5292
|
+
} | undefined;
|
|
5293
|
+
} | undefined;
|
|
5025
5294
|
} | undefined;
|
|
5026
5295
|
}>, {
|
|
5027
5296
|
name: string;
|
|
5297
|
+
description?: string | undefined;
|
|
5028
5298
|
model: string;
|
|
5029
5299
|
credential?: string | undefined;
|
|
5030
5300
|
modelDeploymentName?: string | undefined;
|
|
@@ -5076,6 +5346,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5076
5346
|
agents?: {
|
|
5077
5347
|
agentId: string;
|
|
5078
5348
|
useWhen?: string | undefined;
|
|
5349
|
+
enabled?: boolean | undefined;
|
|
5079
5350
|
}[] | undefined;
|
|
5080
5351
|
modelsByDifficulty?: {
|
|
5081
5352
|
low?: {
|
|
@@ -5094,10 +5365,12 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5094
5365
|
} | undefined;
|
|
5095
5366
|
tools?: ({
|
|
5096
5367
|
type: "custom";
|
|
5368
|
+
enabled?: boolean | undefined;
|
|
5097
5369
|
id: string;
|
|
5098
5370
|
requireApproval?: boolean | undefined;
|
|
5099
5371
|
} | {
|
|
5100
5372
|
type: "workflow";
|
|
5373
|
+
enabled?: boolean | undefined;
|
|
5101
5374
|
workflowId?: string | undefined;
|
|
5102
5375
|
workflow: string;
|
|
5103
5376
|
name?: string | undefined;
|
|
@@ -5112,6 +5385,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5112
5385
|
}> | undefined;
|
|
5113
5386
|
} | {
|
|
5114
5387
|
type: "node";
|
|
5388
|
+
enabled?: boolean | undefined;
|
|
5115
5389
|
name: string;
|
|
5116
5390
|
description?: string | undefined;
|
|
5117
5391
|
inputSchema?: undefined;
|
|
@@ -5132,6 +5406,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5132
5406
|
})[] | undefined;
|
|
5133
5407
|
skills?: {
|
|
5134
5408
|
type: "skill";
|
|
5409
|
+
enabled?: boolean | undefined;
|
|
5135
5410
|
id: string;
|
|
5136
5411
|
}[] | undefined;
|
|
5137
5412
|
tasks?: {
|
|
@@ -5296,9 +5571,18 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5296
5571
|
} | undefined;
|
|
5297
5572
|
toolCallConcurrency?: number | undefined;
|
|
5298
5573
|
maxIterations?: number | undefined;
|
|
5574
|
+
guardrails?: {
|
|
5575
|
+
budget?: {
|
|
5576
|
+
enabled: boolean;
|
|
5577
|
+
monthlyBudgetUsd?: number | undefined;
|
|
5578
|
+
alertThresholdPercent?: number | undefined;
|
|
5579
|
+
sessionCostCapUsd?: number | undefined;
|
|
5580
|
+
} | undefined;
|
|
5581
|
+
} | undefined;
|
|
5299
5582
|
} | undefined;
|
|
5300
5583
|
}, {
|
|
5301
5584
|
name: string;
|
|
5585
|
+
description?: string | undefined;
|
|
5302
5586
|
model: string;
|
|
5303
5587
|
credential?: string | undefined;
|
|
5304
5588
|
modelDeploymentName?: string | undefined;
|
|
@@ -5350,6 +5634,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5350
5634
|
agents?: {
|
|
5351
5635
|
agentId: string;
|
|
5352
5636
|
useWhen?: string | undefined;
|
|
5637
|
+
enabled?: boolean | undefined;
|
|
5353
5638
|
}[] | undefined;
|
|
5354
5639
|
modelsByDifficulty?: {
|
|
5355
5640
|
low?: {
|
|
@@ -5368,10 +5653,12 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5368
5653
|
} | undefined;
|
|
5369
5654
|
tools?: ({
|
|
5370
5655
|
type: "custom";
|
|
5656
|
+
enabled?: boolean | undefined;
|
|
5371
5657
|
id: string;
|
|
5372
5658
|
requireApproval?: boolean | undefined;
|
|
5373
5659
|
} | {
|
|
5374
5660
|
type: "workflow";
|
|
5661
|
+
enabled?: boolean | undefined;
|
|
5375
5662
|
workflowId?: string | undefined;
|
|
5376
5663
|
workflow: string;
|
|
5377
5664
|
name?: string | undefined;
|
|
@@ -5386,6 +5673,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5386
5673
|
}> | undefined;
|
|
5387
5674
|
} | {
|
|
5388
5675
|
type: "node";
|
|
5676
|
+
enabled?: boolean | undefined;
|
|
5389
5677
|
name: string;
|
|
5390
5678
|
description?: string | undefined;
|
|
5391
5679
|
inputSchema?: undefined;
|
|
@@ -5406,6 +5694,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5406
5694
|
})[] | undefined;
|
|
5407
5695
|
skills?: {
|
|
5408
5696
|
type: "skill";
|
|
5697
|
+
enabled?: boolean | undefined;
|
|
5409
5698
|
id: string;
|
|
5410
5699
|
}[] | undefined;
|
|
5411
5700
|
tasks?: {
|
|
@@ -5570,10 +5859,19 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5570
5859
|
} | undefined;
|
|
5571
5860
|
toolCallConcurrency?: number | undefined;
|
|
5572
5861
|
maxIterations?: number | undefined;
|
|
5862
|
+
guardrails?: {
|
|
5863
|
+
budget?: {
|
|
5864
|
+
enabled: boolean;
|
|
5865
|
+
monthlyBudgetUsd?: number | undefined;
|
|
5866
|
+
alertThresholdPercent?: number | undefined;
|
|
5867
|
+
sessionCostCapUsd?: number | undefined;
|
|
5868
|
+
} | undefined;
|
|
5869
|
+
} | undefined;
|
|
5573
5870
|
} | undefined;
|
|
5574
5871
|
}>;
|
|
5575
5872
|
export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
5576
5873
|
name: z.ZodString;
|
|
5874
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5577
5875
|
modelDeploymentName: z.ZodOptional<z.ZodString>;
|
|
5578
5876
|
instructions: z.ZodString;
|
|
5579
5877
|
personalisation: z.ZodOptional<z.ZodObject<{
|
|
@@ -5785,12 +6083,15 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5785
6083
|
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5786
6084
|
agentId: z.ZodString;
|
|
5787
6085
|
useWhen: z.ZodOptional<z.ZodString>;
|
|
6086
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
5788
6087
|
}, "strict", z.ZodTypeAny, {
|
|
5789
6088
|
agentId: string;
|
|
5790
6089
|
useWhen?: string | undefined;
|
|
6090
|
+
enabled?: boolean | undefined;
|
|
5791
6091
|
}, {
|
|
5792
6092
|
agentId: string;
|
|
5793
6093
|
useWhen?: string | undefined;
|
|
6094
|
+
enabled?: boolean | undefined;
|
|
5794
6095
|
}>, "many">>;
|
|
5795
6096
|
modelsByDifficulty: z.ZodOptional<z.ZodObject<{
|
|
5796
6097
|
low: z.ZodOptional<z.ZodObject<{
|
|
@@ -5855,6 +6156,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5855
6156
|
agents?: {
|
|
5856
6157
|
agentId: string;
|
|
5857
6158
|
useWhen?: string | undefined;
|
|
6159
|
+
enabled?: boolean | undefined;
|
|
5858
6160
|
}[] | undefined;
|
|
5859
6161
|
modelsByDifficulty?: {
|
|
5860
6162
|
low?: {
|
|
@@ -5875,6 +6177,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5875
6177
|
agents?: {
|
|
5876
6178
|
agentId: string;
|
|
5877
6179
|
useWhen?: string | undefined;
|
|
6180
|
+
enabled?: boolean | undefined;
|
|
5878
6181
|
}[] | undefined;
|
|
5879
6182
|
modelsByDifficulty?: {
|
|
5880
6183
|
low?: {
|
|
@@ -5893,18 +6196,22 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5893
6196
|
}>>;
|
|
5894
6197
|
tools: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5895
6198
|
type: z.ZodLiteral<"custom">;
|
|
6199
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
5896
6200
|
id: z.ZodString;
|
|
5897
6201
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
5898
6202
|
}, "strip", z.ZodTypeAny, {
|
|
5899
6203
|
type: "custom";
|
|
6204
|
+
enabled?: boolean | undefined;
|
|
5900
6205
|
id: string;
|
|
5901
6206
|
requireApproval?: boolean | undefined;
|
|
5902
6207
|
}, {
|
|
5903
6208
|
type: "custom";
|
|
6209
|
+
enabled?: boolean | undefined;
|
|
5904
6210
|
id: string;
|
|
5905
6211
|
requireApproval?: boolean | undefined;
|
|
5906
6212
|
}>, z.ZodObject<{
|
|
5907
6213
|
type: z.ZodLiteral<"workflow">;
|
|
6214
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
5908
6215
|
workflowId: z.ZodOptional<z.ZodString>;
|
|
5909
6216
|
workflow: z.ZodString;
|
|
5910
6217
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -5929,6 +6236,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5929
6236
|
}>]>>>;
|
|
5930
6237
|
}, "strict", z.ZodTypeAny, {
|
|
5931
6238
|
type: "workflow";
|
|
6239
|
+
enabled?: boolean | undefined;
|
|
5932
6240
|
workflowId?: string | undefined;
|
|
5933
6241
|
workflow: string;
|
|
5934
6242
|
name?: string | undefined;
|
|
@@ -5943,6 +6251,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5943
6251
|
}> | undefined;
|
|
5944
6252
|
}, {
|
|
5945
6253
|
type: "workflow";
|
|
6254
|
+
enabled?: boolean | undefined;
|
|
5946
6255
|
workflowId?: string | undefined;
|
|
5947
6256
|
workflow: string;
|
|
5948
6257
|
name?: string | undefined;
|
|
@@ -5957,6 +6266,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5957
6266
|
}> | undefined;
|
|
5958
6267
|
}>, z.ZodObject<{
|
|
5959
6268
|
type: z.ZodLiteral<"node">;
|
|
6269
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
5960
6270
|
name: z.ZodString;
|
|
5961
6271
|
description: z.ZodOptional<z.ZodString>;
|
|
5962
6272
|
inputSchema: z.ZodOptional<z.ZodNever>;
|
|
@@ -6014,6 +6324,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
6014
6324
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
6015
6325
|
}, "strict", z.ZodTypeAny, {
|
|
6016
6326
|
type: "node";
|
|
6327
|
+
enabled?: boolean | undefined;
|
|
6017
6328
|
name: string;
|
|
6018
6329
|
description?: string | undefined;
|
|
6019
6330
|
inputSchema?: undefined;
|
|
@@ -6033,6 +6344,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
6033
6344
|
requireApproval?: boolean | undefined;
|
|
6034
6345
|
}, {
|
|
6035
6346
|
type: "node";
|
|
6347
|
+
enabled?: boolean | undefined;
|
|
6036
6348
|
name: string;
|
|
6037
6349
|
description?: string | undefined;
|
|
6038
6350
|
inputSchema?: undefined;
|
|
@@ -6052,10 +6364,12 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
6052
6364
|
requireApproval?: boolean | undefined;
|
|
6053
6365
|
}>]>, "many">, ({
|
|
6054
6366
|
type: "custom";
|
|
6367
|
+
enabled?: boolean | undefined;
|
|
6055
6368
|
id: string;
|
|
6056
6369
|
requireApproval?: boolean | undefined;
|
|
6057
6370
|
} | {
|
|
6058
6371
|
type: "workflow";
|
|
6372
|
+
enabled?: boolean | undefined;
|
|
6059
6373
|
workflowId?: string | undefined;
|
|
6060
6374
|
workflow: string;
|
|
6061
6375
|
name?: string | undefined;
|
|
@@ -6070,6 +6384,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
6070
6384
|
}> | undefined;
|
|
6071
6385
|
} | {
|
|
6072
6386
|
type: "node";
|
|
6387
|
+
enabled?: boolean | undefined;
|
|
6073
6388
|
name: string;
|
|
6074
6389
|
description?: string | undefined;
|
|
6075
6390
|
inputSchema?: undefined;
|
|
@@ -6089,10 +6404,12 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
6089
6404
|
requireApproval?: boolean | undefined;
|
|
6090
6405
|
})[], ({
|
|
6091
6406
|
type: "custom";
|
|
6407
|
+
enabled?: boolean | undefined;
|
|
6092
6408
|
id: string;
|
|
6093
6409
|
requireApproval?: boolean | undefined;
|
|
6094
6410
|
} | {
|
|
6095
6411
|
type: "workflow";
|
|
6412
|
+
enabled?: boolean | undefined;
|
|
6096
6413
|
workflowId?: string | undefined;
|
|
6097
6414
|
workflow: string;
|
|
6098
6415
|
name?: string | undefined;
|
|
@@ -6107,6 +6424,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
6107
6424
|
}> | undefined;
|
|
6108
6425
|
} | {
|
|
6109
6426
|
type: "node";
|
|
6427
|
+
enabled?: boolean | undefined;
|
|
6110
6428
|
name: string;
|
|
6111
6429
|
description?: string | undefined;
|
|
6112
6430
|
inputSchema?: undefined;
|
|
@@ -6127,18 +6445,23 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
6127
6445
|
})[]>>;
|
|
6128
6446
|
skills: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
6129
6447
|
type: z.ZodLiteral<"skill">;
|
|
6448
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6130
6449
|
id: z.ZodString;
|
|
6131
6450
|
}, "strip", z.ZodTypeAny, {
|
|
6132
6451
|
type: "skill";
|
|
6452
|
+
enabled?: boolean | undefined;
|
|
6133
6453
|
id: string;
|
|
6134
6454
|
}, {
|
|
6135
6455
|
type: "skill";
|
|
6456
|
+
enabled?: boolean | undefined;
|
|
6136
6457
|
id: string;
|
|
6137
6458
|
}>, "many">, {
|
|
6138
6459
|
type: "skill";
|
|
6460
|
+
enabled?: boolean | undefined;
|
|
6139
6461
|
id: string;
|
|
6140
6462
|
}[], {
|
|
6141
6463
|
type: "skill";
|
|
6464
|
+
enabled?: boolean | undefined;
|
|
6142
6465
|
id: string;
|
|
6143
6466
|
}[]>>;
|
|
6144
6467
|
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -7052,6 +7375,48 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
7052
7375
|
}>>;
|
|
7053
7376
|
toolCallConcurrency: z.ZodOptional<z.ZodNumber>;
|
|
7054
7377
|
maxIterations: z.ZodOptional<z.ZodNumber>;
|
|
7378
|
+
guardrails: z.ZodOptional<z.ZodObject<{
|
|
7379
|
+
budget: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
7380
|
+
enabled: z.ZodBoolean;
|
|
7381
|
+
monthlyBudgetUsd: z.ZodOptional<z.ZodNumber>;
|
|
7382
|
+
alertThresholdPercent: z.ZodOptional<z.ZodNumber>;
|
|
7383
|
+
sessionCostCapUsd: z.ZodOptional<z.ZodNumber>;
|
|
7384
|
+
}, "strip", z.ZodTypeAny, {
|
|
7385
|
+
enabled: boolean;
|
|
7386
|
+
monthlyBudgetUsd?: number | undefined;
|
|
7387
|
+
alertThresholdPercent?: number | undefined;
|
|
7388
|
+
sessionCostCapUsd?: number | undefined;
|
|
7389
|
+
}, {
|
|
7390
|
+
enabled: boolean;
|
|
7391
|
+
monthlyBudgetUsd?: number | undefined;
|
|
7392
|
+
alertThresholdPercent?: number | undefined;
|
|
7393
|
+
sessionCostCapUsd?: number | undefined;
|
|
7394
|
+
}>, {
|
|
7395
|
+
enabled: boolean;
|
|
7396
|
+
monthlyBudgetUsd?: number | undefined;
|
|
7397
|
+
alertThresholdPercent?: number | undefined;
|
|
7398
|
+
sessionCostCapUsd?: number | undefined;
|
|
7399
|
+
}, {
|
|
7400
|
+
enabled: boolean;
|
|
7401
|
+
monthlyBudgetUsd?: number | undefined;
|
|
7402
|
+
alertThresholdPercent?: number | undefined;
|
|
7403
|
+
sessionCostCapUsd?: number | undefined;
|
|
7404
|
+
}>>;
|
|
7405
|
+
}, "strip", z.ZodTypeAny, {
|
|
7406
|
+
budget?: {
|
|
7407
|
+
enabled: boolean;
|
|
7408
|
+
monthlyBudgetUsd?: number | undefined;
|
|
7409
|
+
alertThresholdPercent?: number | undefined;
|
|
7410
|
+
sessionCostCapUsd?: number | undefined;
|
|
7411
|
+
} | undefined;
|
|
7412
|
+
}, {
|
|
7413
|
+
budget?: {
|
|
7414
|
+
enabled: boolean;
|
|
7415
|
+
monthlyBudgetUsd?: number | undefined;
|
|
7416
|
+
alertThresholdPercent?: number | undefined;
|
|
7417
|
+
sessionCostCapUsd?: number | undefined;
|
|
7418
|
+
} | undefined;
|
|
7419
|
+
}>>;
|
|
7055
7420
|
}, "strip", z.ZodTypeAny, {
|
|
7056
7421
|
reasoning?: "high" | "low" | "medium" | undefined;
|
|
7057
7422
|
promptCaching?: {
|
|
@@ -7067,6 +7432,14 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
7067
7432
|
} | undefined;
|
|
7068
7433
|
toolCallConcurrency?: number | undefined;
|
|
7069
7434
|
maxIterations?: number | undefined;
|
|
7435
|
+
guardrails?: {
|
|
7436
|
+
budget?: {
|
|
7437
|
+
enabled: boolean;
|
|
7438
|
+
monthlyBudgetUsd?: number | undefined;
|
|
7439
|
+
alertThresholdPercent?: number | undefined;
|
|
7440
|
+
sessionCostCapUsd?: number | undefined;
|
|
7441
|
+
} | undefined;
|
|
7442
|
+
} | undefined;
|
|
7070
7443
|
}, {
|
|
7071
7444
|
reasoning?: "high" | "low" | "medium" | undefined;
|
|
7072
7445
|
promptCaching?: {
|
|
@@ -7082,12 +7455,21 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
7082
7455
|
} | undefined;
|
|
7083
7456
|
toolCallConcurrency?: number | undefined;
|
|
7084
7457
|
maxIterations?: number | undefined;
|
|
7458
|
+
guardrails?: {
|
|
7459
|
+
budget?: {
|
|
7460
|
+
enabled: boolean;
|
|
7461
|
+
monthlyBudgetUsd?: number | undefined;
|
|
7462
|
+
alertThresholdPercent?: number | undefined;
|
|
7463
|
+
sessionCostCapUsd?: number | undefined;
|
|
7464
|
+
} | undefined;
|
|
7465
|
+
} | undefined;
|
|
7085
7466
|
}>>;
|
|
7086
7467
|
} & {
|
|
7087
7468
|
model: z.ZodString;
|
|
7088
7469
|
credential: z.ZodEffects<z.ZodString, string, string>;
|
|
7089
7470
|
}, "strip", z.ZodTypeAny, {
|
|
7090
7471
|
name: string;
|
|
7472
|
+
description?: string | undefined;
|
|
7091
7473
|
modelDeploymentName?: string | undefined;
|
|
7092
7474
|
instructions: string;
|
|
7093
7475
|
personalisation?: {
|
|
@@ -7137,6 +7519,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
7137
7519
|
agents?: {
|
|
7138
7520
|
agentId: string;
|
|
7139
7521
|
useWhen?: string | undefined;
|
|
7522
|
+
enabled?: boolean | undefined;
|
|
7140
7523
|
}[] | undefined;
|
|
7141
7524
|
modelsByDifficulty?: {
|
|
7142
7525
|
low?: {
|
|
@@ -7155,10 +7538,12 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
7155
7538
|
} | undefined;
|
|
7156
7539
|
tools?: ({
|
|
7157
7540
|
type: "custom";
|
|
7541
|
+
enabled?: boolean | undefined;
|
|
7158
7542
|
id: string;
|
|
7159
7543
|
requireApproval?: boolean | undefined;
|
|
7160
7544
|
} | {
|
|
7161
7545
|
type: "workflow";
|
|
7546
|
+
enabled?: boolean | undefined;
|
|
7162
7547
|
workflowId?: string | undefined;
|
|
7163
7548
|
workflow: string;
|
|
7164
7549
|
name?: string | undefined;
|
|
@@ -7173,6 +7558,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
7173
7558
|
}> | undefined;
|
|
7174
7559
|
} | {
|
|
7175
7560
|
type: "node";
|
|
7561
|
+
enabled?: boolean | undefined;
|
|
7176
7562
|
name: string;
|
|
7177
7563
|
description?: string | undefined;
|
|
7178
7564
|
inputSchema?: undefined;
|
|
@@ -7193,6 +7579,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
7193
7579
|
})[] | undefined;
|
|
7194
7580
|
skills?: {
|
|
7195
7581
|
type: "skill";
|
|
7582
|
+
enabled?: boolean | undefined;
|
|
7196
7583
|
id: string;
|
|
7197
7584
|
}[] | undefined;
|
|
7198
7585
|
tasks?: {
|
|
@@ -7357,11 +7744,20 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
7357
7744
|
} | undefined;
|
|
7358
7745
|
toolCallConcurrency?: number | undefined;
|
|
7359
7746
|
maxIterations?: number | undefined;
|
|
7747
|
+
guardrails?: {
|
|
7748
|
+
budget?: {
|
|
7749
|
+
enabled: boolean;
|
|
7750
|
+
monthlyBudgetUsd?: number | undefined;
|
|
7751
|
+
alertThresholdPercent?: number | undefined;
|
|
7752
|
+
sessionCostCapUsd?: number | undefined;
|
|
7753
|
+
} | undefined;
|
|
7754
|
+
} | undefined;
|
|
7360
7755
|
} | undefined;
|
|
7361
7756
|
model: string;
|
|
7362
7757
|
credential: string;
|
|
7363
7758
|
}, {
|
|
7364
7759
|
name: string;
|
|
7760
|
+
description?: string | undefined;
|
|
7365
7761
|
modelDeploymentName?: string | undefined;
|
|
7366
7762
|
instructions: string;
|
|
7367
7763
|
personalisation?: {
|
|
@@ -7411,6 +7807,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
7411
7807
|
agents?: {
|
|
7412
7808
|
agentId: string;
|
|
7413
7809
|
useWhen?: string | undefined;
|
|
7810
|
+
enabled?: boolean | undefined;
|
|
7414
7811
|
}[] | undefined;
|
|
7415
7812
|
modelsByDifficulty?: {
|
|
7416
7813
|
low?: {
|
|
@@ -7429,10 +7826,12 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
7429
7826
|
} | undefined;
|
|
7430
7827
|
tools?: ({
|
|
7431
7828
|
type: "custom";
|
|
7829
|
+
enabled?: boolean | undefined;
|
|
7432
7830
|
id: string;
|
|
7433
7831
|
requireApproval?: boolean | undefined;
|
|
7434
7832
|
} | {
|
|
7435
7833
|
type: "workflow";
|
|
7834
|
+
enabled?: boolean | undefined;
|
|
7436
7835
|
workflowId?: string | undefined;
|
|
7437
7836
|
workflow: string;
|
|
7438
7837
|
name?: string | undefined;
|
|
@@ -7447,6 +7846,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
7447
7846
|
}> | undefined;
|
|
7448
7847
|
} | {
|
|
7449
7848
|
type: "node";
|
|
7849
|
+
enabled?: boolean | undefined;
|
|
7450
7850
|
name: string;
|
|
7451
7851
|
description?: string | undefined;
|
|
7452
7852
|
inputSchema?: undefined;
|
|
@@ -7467,6 +7867,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
7467
7867
|
})[] | undefined;
|
|
7468
7868
|
skills?: {
|
|
7469
7869
|
type: "skill";
|
|
7870
|
+
enabled?: boolean | undefined;
|
|
7470
7871
|
id: string;
|
|
7471
7872
|
}[] | undefined;
|
|
7472
7873
|
tasks?: {
|
|
@@ -7631,11 +8032,23 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
7631
8032
|
} | undefined;
|
|
7632
8033
|
toolCallConcurrency?: number | undefined;
|
|
7633
8034
|
maxIterations?: number | undefined;
|
|
8035
|
+
guardrails?: {
|
|
8036
|
+
budget?: {
|
|
8037
|
+
enabled: boolean;
|
|
8038
|
+
monthlyBudgetUsd?: number | undefined;
|
|
8039
|
+
alertThresholdPercent?: number | undefined;
|
|
8040
|
+
sessionCostCapUsd?: number | undefined;
|
|
8041
|
+
} | undefined;
|
|
8042
|
+
} | undefined;
|
|
7634
8043
|
} | undefined;
|
|
7635
8044
|
model: string;
|
|
7636
8045
|
credential: string;
|
|
7637
8046
|
}>;
|
|
7638
8047
|
export type AgentJsonConfig = z.infer<typeof AgentJsonConfigSchema>;
|
|
8048
|
+
export type BudgetGuardrailConfig = z.infer<typeof BudgetGuardrailConfigSchema>;
|
|
8049
|
+
export interface AgentBudgetSpend {
|
|
8050
|
+
spentUsd: number;
|
|
8051
|
+
}
|
|
7639
8052
|
export type AgentModelCredentialConfig = Required<Pick<AgentJsonConfig, 'model' | 'credential'>>;
|
|
7640
8053
|
export type RunnableAgentJsonConfig = z.infer<typeof RunnableAgentJsonConfigSchema>;
|
|
7641
8054
|
export type AgentJsonToolConfig = z.infer<typeof AgentJsonToolConfigSchema>;
|