@gt-fe/eap-sdk 0.1.13 → 0.2.1
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/README.md +452 -376
- package/dist/lockfile/resolve-dependencies.d.ts +1 -0
- package/dist/lockfile/resolve-dependencies.d.ts.map +1 -1
- package/dist/lockfile/resolve-dependencies.js +3 -0
- package/dist/lockfile/resolve-dependencies.js.map +1 -1
- package/dist/materialization/copy-resource-directory.d.ts +1 -0
- package/dist/materialization/copy-resource-directory.d.ts.map +1 -1
- package/dist/materialization/copy-resource-directory.js +38 -1
- package/dist/materialization/copy-resource-directory.js.map +1 -1
- package/dist/materialization/index.d.ts +1 -1
- package/dist/materialization/index.d.ts.map +1 -1
- package/dist/materialization/index.js +1 -1
- package/dist/materialization/index.js.map +1 -1
- package/dist/materialization/load-agent-runtime.d.ts +19 -0
- package/dist/materialization/load-agent-runtime.d.ts.map +1 -0
- package/dist/materialization/load-agent-runtime.js +128 -0
- package/dist/materialization/load-agent-runtime.js.map +1 -0
- package/dist/materialization/prepare-agent-runtime.d.ts +6 -0
- package/dist/materialization/prepare-agent-runtime.d.ts.map +1 -1
- package/dist/materialization/prepare-agent-runtime.js +108 -46
- package/dist/materialization/prepare-agent-runtime.js.map +1 -1
- package/dist/materialization/types.d.ts +0 -2
- package/dist/materialization/types.d.ts.map +1 -1
- package/dist/packaging/package-agent-project.d.ts.map +1 -1
- package/dist/packaging/package-agent-project.js +2 -4
- package/dist/packaging/package-agent-project.js.map +1 -1
- package/dist/packaging/read-package.d.ts.map +1 -1
- package/dist/packaging/read-package.js +20 -1
- package/dist/packaging/read-package.js.map +1 -1
- package/dist/platform/client.d.ts.map +1 -1
- package/dist/platform/client.js +13 -2
- package/dist/platform/client.js.map +1 -1
- package/dist/platform/types.d.ts +2 -0
- package/dist/platform/types.d.ts.map +1 -1
- package/dist/project/agent-project.d.ts.map +1 -1
- package/dist/project/agent-project.js +10 -0
- package/dist/project/agent-project.js.map +1 -1
- package/dist/resources/configured-local-resources.d.ts +15 -0
- package/dist/resources/configured-local-resources.d.ts.map +1 -0
- package/dist/resources/configured-local-resources.js +75 -0
- package/dist/resources/configured-local-resources.js.map +1 -0
- package/dist/resources/install-agent-dependencies.d.ts.map +1 -1
- package/dist/resources/install-agent-dependencies.js +7 -2
- package/dist/resources/install-agent-dependencies.js.map +1 -1
- package/dist/schema/agent/manifest.d.ts +832 -197
- package/dist/schema/agent/manifest.d.ts.map +1 -1
- package/dist/schema/graph.d.ts +1295 -403
- package/dist/schema/graph.d.ts.map +1 -1
- package/dist/schema/graph.js +29 -16
- package/dist/schema/graph.js.map +1 -1
- package/dist/schema/lockfile.d.ts +30 -30
- package/dist/schema/project-config.d.ts +6 -0
- package/dist/schema/project-config.d.ts.map +1 -1
- package/dist/schema/project-config.js +4 -0
- package/dist/schema/project-config.js.map +1 -1
- package/dist/service/create-agent.d.ts +8 -0
- package/dist/service/create-agent.d.ts.map +1 -0
- package/dist/service/create-agent.js +338 -0
- package/dist/service/create-agent.js.map +1 -0
- package/dist/service/events.d.ts +14 -45
- package/dist/service/events.d.ts.map +1 -1
- package/dist/service/events.js +46 -1
- package/dist/service/events.js.map +1 -1
- package/dist/service/index.d.ts +5 -2
- package/dist/service/index.d.ts.map +1 -1
- package/dist/service/index.js +4 -1
- package/dist/service/index.js.map +1 -1
- package/dist/service/messages.d.ts +13 -0
- package/dist/service/messages.d.ts.map +1 -0
- package/dist/service/messages.js +24 -0
- package/dist/service/messages.js.map +1 -0
- package/dist/service/resources.d.ts +86 -0
- package/dist/service/resources.d.ts.map +1 -0
- package/dist/service/resources.js +26 -0
- package/dist/service/resources.js.map +1 -0
- package/dist/service/runtime-adapter.d.ts.map +1 -1
- package/dist/service/runtime-adapter.js +26 -2
- package/dist/service/runtime-adapter.js.map +1 -1
- package/dist/service/sessions.d.ts +33 -0
- package/dist/service/sessions.d.ts.map +1 -0
- package/dist/service/sessions.js +67 -0
- package/dist/service/sessions.js.map +1 -0
- package/dist/service/types.d.ts +121 -32
- package/dist/service/types.d.ts.map +1 -1
- package/dist/validation/validate-agent-project.d.ts.map +1 -1
- package/dist/validation/validate-agent-project.js +31 -17
- package/dist/validation/validate-agent-project.js.map +1 -1
- package/package.json +4 -4
- package/dist/materialization/sync-author-resources.d.ts +0 -21
- package/dist/materialization/sync-author-resources.d.ts.map +0 -1
- package/dist/materialization/sync-author-resources.js +0 -98
- package/dist/materialization/sync-author-resources.js.map +0 -1
- package/dist/service/create-agent-service.d.ts +0 -12
- package/dist/service/create-agent-service.d.ts.map +0 -1
- package/dist/service/create-agent-service.js +0 -283
- package/dist/service/create-agent-service.js.map +0 -1
- package/dist/service/http-server.d.ts +0 -4
- package/dist/service/http-server.d.ts.map +0 -1
- package/dist/service/http-server.js +0 -89
- package/dist/service/http-server.js.map +0 -1
|
@@ -663,19 +663,21 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
663
663
|
config: z.ZodObject<{
|
|
664
664
|
tool: z.ZodString;
|
|
665
665
|
arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
666
|
-
}, "
|
|
667
|
-
tool:
|
|
668
|
-
arguments
|
|
669
|
-
}, {
|
|
670
|
-
tool:
|
|
671
|
-
arguments
|
|
672
|
-
}
|
|
666
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
667
|
+
tool: z.ZodString;
|
|
668
|
+
arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
669
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
670
|
+
tool: z.ZodString;
|
|
671
|
+
arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
672
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
673
673
|
}, "strict", z.ZodTypeAny, {
|
|
674
674
|
type: "tool";
|
|
675
675
|
id: string;
|
|
676
676
|
config: {
|
|
677
677
|
tool: string;
|
|
678
678
|
arguments?: Record<string, unknown> | undefined;
|
|
679
|
+
} & {
|
|
680
|
+
[k: string]: unknown;
|
|
679
681
|
};
|
|
680
682
|
description?: string | undefined;
|
|
681
683
|
label?: string | undefined;
|
|
@@ -701,6 +703,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
701
703
|
config: {
|
|
702
704
|
tool: string;
|
|
703
705
|
arguments?: Record<string, unknown> | undefined;
|
|
706
|
+
} & {
|
|
707
|
+
[k: string]: unknown;
|
|
704
708
|
};
|
|
705
709
|
description?: string | undefined;
|
|
706
710
|
label?: string | undefined;
|
|
@@ -785,17 +789,17 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
785
789
|
conditionFn: z.ZodOptional<z.ZodString>;
|
|
786
790
|
branchValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
787
791
|
fallback: z.ZodOptional<z.ZodString>;
|
|
788
|
-
}, "
|
|
789
|
-
conditionExpr
|
|
790
|
-
conditionFn
|
|
791
|
-
branchValues
|
|
792
|
-
fallback
|
|
793
|
-
}, {
|
|
794
|
-
conditionExpr
|
|
795
|
-
conditionFn
|
|
796
|
-
branchValues
|
|
797
|
-
fallback
|
|
798
|
-
}
|
|
792
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
793
|
+
conditionExpr: z.ZodOptional<z.ZodString>;
|
|
794
|
+
conditionFn: z.ZodOptional<z.ZodString>;
|
|
795
|
+
branchValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
796
|
+
fallback: z.ZodOptional<z.ZodString>;
|
|
797
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
798
|
+
conditionExpr: z.ZodOptional<z.ZodString>;
|
|
799
|
+
conditionFn: z.ZodOptional<z.ZodString>;
|
|
800
|
+
branchValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
801
|
+
fallback: z.ZodOptional<z.ZodString>;
|
|
802
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
799
803
|
}, "strict", z.ZodTypeAny, {
|
|
800
804
|
type: "condition";
|
|
801
805
|
id: string;
|
|
@@ -804,6 +808,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
804
808
|
conditionFn?: string | undefined;
|
|
805
809
|
branchValues?: string[] | undefined;
|
|
806
810
|
fallback?: string | undefined;
|
|
811
|
+
} & {
|
|
812
|
+
[k: string]: unknown;
|
|
807
813
|
};
|
|
808
814
|
description?: string | undefined;
|
|
809
815
|
label?: string | undefined;
|
|
@@ -844,12 +850,12 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
844
850
|
question?: string | undefined;
|
|
845
851
|
timeout?: number | undefined;
|
|
846
852
|
} | undefined;
|
|
847
|
-
config?: {
|
|
848
|
-
conditionExpr
|
|
849
|
-
conditionFn
|
|
850
|
-
branchValues
|
|
851
|
-
fallback
|
|
852
|
-
} | undefined;
|
|
853
|
+
config?: z.objectInputType<{
|
|
854
|
+
conditionExpr: z.ZodOptional<z.ZodString>;
|
|
855
|
+
conditionFn: z.ZodOptional<z.ZodString>;
|
|
856
|
+
branchValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
857
|
+
fallback: z.ZodOptional<z.ZodString>;
|
|
858
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
853
859
|
}>, z.ZodObject<{
|
|
854
860
|
id: z.ZodString;
|
|
855
861
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -914,19 +920,21 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
914
920
|
config: z.ZodDefault<z.ZodObject<{
|
|
915
921
|
skillId: z.ZodOptional<z.ZodString>;
|
|
916
922
|
skillCode: z.ZodOptional<z.ZodString>;
|
|
917
|
-
}, "
|
|
918
|
-
skillId
|
|
919
|
-
skillCode
|
|
920
|
-
}, {
|
|
921
|
-
skillId
|
|
922
|
-
skillCode
|
|
923
|
-
}
|
|
923
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
924
|
+
skillId: z.ZodOptional<z.ZodString>;
|
|
925
|
+
skillCode: z.ZodOptional<z.ZodString>;
|
|
926
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
927
|
+
skillId: z.ZodOptional<z.ZodString>;
|
|
928
|
+
skillCode: z.ZodOptional<z.ZodString>;
|
|
929
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
924
930
|
}, "strict", z.ZodTypeAny, {
|
|
925
931
|
type: "subgraph";
|
|
926
932
|
id: string;
|
|
927
933
|
config: {
|
|
928
934
|
skillId?: string | undefined;
|
|
929
935
|
skillCode?: string | undefined;
|
|
936
|
+
} & {
|
|
937
|
+
[k: string]: unknown;
|
|
930
938
|
};
|
|
931
939
|
description?: string | undefined;
|
|
932
940
|
label?: string | undefined;
|
|
@@ -968,10 +976,10 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
968
976
|
question?: string | undefined;
|
|
969
977
|
timeout?: number | undefined;
|
|
970
978
|
} | undefined;
|
|
971
|
-
config?: {
|
|
972
|
-
skillId
|
|
973
|
-
skillCode
|
|
974
|
-
} | undefined;
|
|
979
|
+
config?: z.objectInputType<{
|
|
980
|
+
skillId: z.ZodOptional<z.ZodString>;
|
|
981
|
+
skillCode: z.ZodOptional<z.ZodString>;
|
|
982
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
975
983
|
subgraphId?: string | undefined;
|
|
976
984
|
}>, z.ZodObject<{
|
|
977
985
|
id: z.ZodString;
|
|
@@ -1036,19 +1044,21 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1036
1044
|
config: z.ZodDefault<z.ZodObject<{
|
|
1037
1045
|
question: z.ZodOptional<z.ZodString>;
|
|
1038
1046
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1039
|
-
}, "
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
}, {
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
}
|
|
1047
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1048
|
+
question: z.ZodOptional<z.ZodString>;
|
|
1049
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1050
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1051
|
+
question: z.ZodOptional<z.ZodString>;
|
|
1052
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1053
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
1046
1054
|
}, "strict", z.ZodTypeAny, {
|
|
1047
1055
|
type: "human";
|
|
1048
1056
|
id: string;
|
|
1049
1057
|
config: {
|
|
1050
1058
|
options?: string[] | undefined;
|
|
1051
1059
|
question?: string | undefined;
|
|
1060
|
+
} & {
|
|
1061
|
+
[k: string]: unknown;
|
|
1052
1062
|
};
|
|
1053
1063
|
description?: string | undefined;
|
|
1054
1064
|
label?: string | undefined;
|
|
@@ -1089,10 +1099,10 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1089
1099
|
question?: string | undefined;
|
|
1090
1100
|
timeout?: number | undefined;
|
|
1091
1101
|
} | undefined;
|
|
1092
|
-
config?: {
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
} | undefined;
|
|
1102
|
+
config?: z.objectInputType<{
|
|
1103
|
+
question: z.ZodOptional<z.ZodString>;
|
|
1104
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1105
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1096
1106
|
}>, z.ZodObject<{
|
|
1097
1107
|
id: z.ZodString;
|
|
1098
1108
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1152,42 +1162,33 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1152
1162
|
timeout?: number | undefined;
|
|
1153
1163
|
}>>;
|
|
1154
1164
|
} & {
|
|
1155
|
-
type: z.ZodLiteral<"
|
|
1156
|
-
branches: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1165
|
+
type: z.ZodLiteral<"code">;
|
|
1157
1166
|
config: z.ZodDefault<z.ZodObject<{
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
fn?: string | undefined;
|
|
1174
|
-
}[] | undefined;
|
|
1175
|
-
}, {
|
|
1176
|
-
branches?: string[] | undefined;
|
|
1177
|
-
tasks?: {
|
|
1178
|
-
id: string;
|
|
1179
|
-
fn?: string | undefined;
|
|
1180
|
-
}[] | undefined;
|
|
1181
|
-
}>>;
|
|
1167
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1168
|
+
handler: z.ZodOptional<z.ZodString>;
|
|
1169
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1170
|
+
bindSkill: z.ZodOptional<z.ZodBoolean>;
|
|
1171
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1172
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1173
|
+
handler: z.ZodOptional<z.ZodString>;
|
|
1174
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1175
|
+
bindSkill: z.ZodOptional<z.ZodBoolean>;
|
|
1176
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1177
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1178
|
+
handler: z.ZodOptional<z.ZodString>;
|
|
1179
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1180
|
+
bindSkill: z.ZodOptional<z.ZodBoolean>;
|
|
1181
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
1182
1182
|
}, "strict", z.ZodTypeAny, {
|
|
1183
|
-
type: "
|
|
1183
|
+
type: "code";
|
|
1184
1184
|
id: string;
|
|
1185
1185
|
config: {
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1186
|
+
code?: string | undefined;
|
|
1187
|
+
handler?: string | undefined;
|
|
1188
|
+
timeoutMs?: number | undefined;
|
|
1189
|
+
bindSkill?: boolean | undefined;
|
|
1190
|
+
} & {
|
|
1191
|
+
[k: string]: unknown;
|
|
1191
1192
|
};
|
|
1192
1193
|
description?: string | undefined;
|
|
1193
1194
|
label?: string | undefined;
|
|
@@ -1207,9 +1208,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1207
1208
|
question?: string | undefined;
|
|
1208
1209
|
timeout?: number | undefined;
|
|
1209
1210
|
} | undefined;
|
|
1210
|
-
branches?: string[] | undefined;
|
|
1211
1211
|
}, {
|
|
1212
|
-
type: "
|
|
1212
|
+
type: "code";
|
|
1213
1213
|
id: string;
|
|
1214
1214
|
description?: string | undefined;
|
|
1215
1215
|
label?: string | undefined;
|
|
@@ -1229,14 +1229,12 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1229
1229
|
question?: string | undefined;
|
|
1230
1230
|
timeout?: number | undefined;
|
|
1231
1231
|
} | undefined;
|
|
1232
|
-
config?: {
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
} | undefined;
|
|
1239
|
-
branches?: string[] | undefined;
|
|
1232
|
+
config?: z.objectInputType<{
|
|
1233
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1234
|
+
handler: z.ZodOptional<z.ZodString>;
|
|
1235
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1236
|
+
bindSkill: z.ZodOptional<z.ZodBoolean>;
|
|
1237
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1240
1238
|
}>, z.ZodObject<{
|
|
1241
1239
|
id: z.ZodString;
|
|
1242
1240
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1296,31 +1294,327 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1296
1294
|
timeout?: number | undefined;
|
|
1297
1295
|
}>>;
|
|
1298
1296
|
} & {
|
|
1299
|
-
type: z.ZodLiteral<"
|
|
1297
|
+
type: z.ZodLiteral<"rag">;
|
|
1300
1298
|
config: z.ZodDefault<z.ZodObject<{
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1299
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1300
|
+
totalK: z.ZodOptional<z.ZodNumber>;
|
|
1301
|
+
maxIterations: z.ZodOptional<z.ZodNumber>;
|
|
1302
|
+
quota: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1303
|
+
nearDupThreshold: z.ZodOptional<z.ZodNumber>;
|
|
1304
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
1305
|
+
maxRetries: z.ZodNumber;
|
|
1306
|
+
backoff: z.ZodOptional<z.ZodObject<{
|
|
1307
|
+
type: z.ZodEnum<["exponential", "linear", "fixed"]>;
|
|
1308
|
+
baseDelay: z.ZodNumber;
|
|
1309
|
+
maxDelay: z.ZodNumber;
|
|
1310
|
+
jitter: z.ZodOptional<z.ZodNumber>;
|
|
1311
|
+
}, "strict", z.ZodTypeAny, {
|
|
1312
|
+
type: "exponential" | "linear" | "fixed";
|
|
1313
|
+
baseDelay: number;
|
|
1314
|
+
maxDelay: number;
|
|
1315
|
+
jitter?: number | undefined;
|
|
1316
|
+
}, {
|
|
1317
|
+
type: "exponential" | "linear" | "fixed";
|
|
1318
|
+
baseDelay: number;
|
|
1319
|
+
maxDelay: number;
|
|
1320
|
+
jitter?: number | undefined;
|
|
1321
|
+
}>>;
|
|
1322
|
+
}, "strict", z.ZodTypeAny, {
|
|
1323
|
+
maxRetries: number;
|
|
1324
|
+
backoff?: {
|
|
1325
|
+
type: "exponential" | "linear" | "fixed";
|
|
1326
|
+
baseDelay: number;
|
|
1327
|
+
maxDelay: number;
|
|
1328
|
+
jitter?: number | undefined;
|
|
1329
|
+
} | undefined;
|
|
1330
|
+
}, {
|
|
1331
|
+
maxRetries: number;
|
|
1332
|
+
backoff?: {
|
|
1333
|
+
type: "exponential" | "linear" | "fixed";
|
|
1334
|
+
baseDelay: number;
|
|
1335
|
+
maxDelay: number;
|
|
1336
|
+
jitter?: number | undefined;
|
|
1337
|
+
} | undefined;
|
|
1338
|
+
}>>;
|
|
1339
|
+
retrievalSources: z.ZodOptional<z.ZodObject<{
|
|
1340
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1341
|
+
type: z.ZodString;
|
|
1342
|
+
id: z.ZodString;
|
|
1343
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1344
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1345
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1346
|
+
type: z.ZodString;
|
|
1347
|
+
id: z.ZodString;
|
|
1348
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1349
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1350
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1351
|
+
type: z.ZodString;
|
|
1352
|
+
id: z.ZodString;
|
|
1353
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1354
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1355
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
1356
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1357
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1358
|
+
type: z.ZodString;
|
|
1359
|
+
id: z.ZodString;
|
|
1360
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1361
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1362
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1363
|
+
type: z.ZodString;
|
|
1364
|
+
id: z.ZodString;
|
|
1365
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1366
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1367
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1368
|
+
type: z.ZodString;
|
|
1369
|
+
id: z.ZodString;
|
|
1370
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1371
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1372
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
1373
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1374
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1375
|
+
type: z.ZodString;
|
|
1376
|
+
id: z.ZodString;
|
|
1377
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1378
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1379
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1380
|
+
type: z.ZodString;
|
|
1381
|
+
id: z.ZodString;
|
|
1382
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1383
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1384
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1385
|
+
type: z.ZodString;
|
|
1386
|
+
id: z.ZodString;
|
|
1387
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1388
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1389
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
1390
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
1391
|
+
toolSources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1305
1392
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1393
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1394
|
+
totalK: z.ZodOptional<z.ZodNumber>;
|
|
1395
|
+
maxIterations: z.ZodOptional<z.ZodNumber>;
|
|
1396
|
+
quota: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1397
|
+
nearDupThreshold: z.ZodOptional<z.ZodNumber>;
|
|
1398
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
1399
|
+
maxRetries: z.ZodNumber;
|
|
1400
|
+
backoff: z.ZodOptional<z.ZodObject<{
|
|
1401
|
+
type: z.ZodEnum<["exponential", "linear", "fixed"]>;
|
|
1402
|
+
baseDelay: z.ZodNumber;
|
|
1403
|
+
maxDelay: z.ZodNumber;
|
|
1404
|
+
jitter: z.ZodOptional<z.ZodNumber>;
|
|
1405
|
+
}, "strict", z.ZodTypeAny, {
|
|
1406
|
+
type: "exponential" | "linear" | "fixed";
|
|
1407
|
+
baseDelay: number;
|
|
1408
|
+
maxDelay: number;
|
|
1409
|
+
jitter?: number | undefined;
|
|
1410
|
+
}, {
|
|
1411
|
+
type: "exponential" | "linear" | "fixed";
|
|
1412
|
+
baseDelay: number;
|
|
1413
|
+
maxDelay: number;
|
|
1414
|
+
jitter?: number | undefined;
|
|
1415
|
+
}>>;
|
|
1416
|
+
}, "strict", z.ZodTypeAny, {
|
|
1417
|
+
maxRetries: number;
|
|
1418
|
+
backoff?: {
|
|
1419
|
+
type: "exponential" | "linear" | "fixed";
|
|
1420
|
+
baseDelay: number;
|
|
1421
|
+
maxDelay: number;
|
|
1422
|
+
jitter?: number | undefined;
|
|
1423
|
+
} | undefined;
|
|
1424
|
+
}, {
|
|
1425
|
+
maxRetries: number;
|
|
1426
|
+
backoff?: {
|
|
1427
|
+
type: "exponential" | "linear" | "fixed";
|
|
1428
|
+
baseDelay: number;
|
|
1429
|
+
maxDelay: number;
|
|
1430
|
+
jitter?: number | undefined;
|
|
1431
|
+
} | undefined;
|
|
1432
|
+
}>>;
|
|
1433
|
+
retrievalSources: z.ZodOptional<z.ZodObject<{
|
|
1434
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1435
|
+
type: z.ZodString;
|
|
1436
|
+
id: z.ZodString;
|
|
1437
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1438
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1439
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1440
|
+
type: z.ZodString;
|
|
1441
|
+
id: z.ZodString;
|
|
1442
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1443
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1444
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1445
|
+
type: z.ZodString;
|
|
1446
|
+
id: z.ZodString;
|
|
1447
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1448
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1449
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
1450
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1451
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1452
|
+
type: z.ZodString;
|
|
1453
|
+
id: z.ZodString;
|
|
1454
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1455
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1456
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1457
|
+
type: z.ZodString;
|
|
1458
|
+
id: z.ZodString;
|
|
1459
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1460
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1461
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1462
|
+
type: z.ZodString;
|
|
1463
|
+
id: z.ZodString;
|
|
1464
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1465
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1466
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
1467
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1468
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1469
|
+
type: z.ZodString;
|
|
1470
|
+
id: z.ZodString;
|
|
1471
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1472
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1473
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1474
|
+
type: z.ZodString;
|
|
1475
|
+
id: z.ZodString;
|
|
1476
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1477
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1478
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1479
|
+
type: z.ZodString;
|
|
1480
|
+
id: z.ZodString;
|
|
1481
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1482
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1483
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
1484
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
1485
|
+
toolSources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1310
1486
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1487
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1488
|
+
totalK: z.ZodOptional<z.ZodNumber>;
|
|
1489
|
+
maxIterations: z.ZodOptional<z.ZodNumber>;
|
|
1490
|
+
quota: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1491
|
+
nearDupThreshold: z.ZodOptional<z.ZodNumber>;
|
|
1492
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
1493
|
+
maxRetries: z.ZodNumber;
|
|
1494
|
+
backoff: z.ZodOptional<z.ZodObject<{
|
|
1495
|
+
type: z.ZodEnum<["exponential", "linear", "fixed"]>;
|
|
1496
|
+
baseDelay: z.ZodNumber;
|
|
1497
|
+
maxDelay: z.ZodNumber;
|
|
1498
|
+
jitter: z.ZodOptional<z.ZodNumber>;
|
|
1499
|
+
}, "strict", z.ZodTypeAny, {
|
|
1500
|
+
type: "exponential" | "linear" | "fixed";
|
|
1501
|
+
baseDelay: number;
|
|
1502
|
+
maxDelay: number;
|
|
1503
|
+
jitter?: number | undefined;
|
|
1504
|
+
}, {
|
|
1505
|
+
type: "exponential" | "linear" | "fixed";
|
|
1506
|
+
baseDelay: number;
|
|
1507
|
+
maxDelay: number;
|
|
1508
|
+
jitter?: number | undefined;
|
|
1509
|
+
}>>;
|
|
1510
|
+
}, "strict", z.ZodTypeAny, {
|
|
1511
|
+
maxRetries: number;
|
|
1512
|
+
backoff?: {
|
|
1513
|
+
type: "exponential" | "linear" | "fixed";
|
|
1514
|
+
baseDelay: number;
|
|
1515
|
+
maxDelay: number;
|
|
1516
|
+
jitter?: number | undefined;
|
|
1517
|
+
} | undefined;
|
|
1518
|
+
}, {
|
|
1519
|
+
maxRetries: number;
|
|
1520
|
+
backoff?: {
|
|
1521
|
+
type: "exponential" | "linear" | "fixed";
|
|
1522
|
+
baseDelay: number;
|
|
1523
|
+
maxDelay: number;
|
|
1524
|
+
jitter?: number | undefined;
|
|
1525
|
+
} | undefined;
|
|
1526
|
+
}>>;
|
|
1527
|
+
retrievalSources: z.ZodOptional<z.ZodObject<{
|
|
1528
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1529
|
+
type: z.ZodString;
|
|
1530
|
+
id: z.ZodString;
|
|
1531
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1532
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1533
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1534
|
+
type: z.ZodString;
|
|
1535
|
+
id: z.ZodString;
|
|
1536
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1537
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1538
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1539
|
+
type: z.ZodString;
|
|
1540
|
+
id: z.ZodString;
|
|
1541
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1542
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1543
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
1544
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1545
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1546
|
+
type: z.ZodString;
|
|
1547
|
+
id: z.ZodString;
|
|
1548
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1549
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1550
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1551
|
+
type: z.ZodString;
|
|
1552
|
+
id: z.ZodString;
|
|
1553
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1554
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1555
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1556
|
+
type: z.ZodString;
|
|
1557
|
+
id: z.ZodString;
|
|
1558
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1559
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1560
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
1561
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1562
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1563
|
+
type: z.ZodString;
|
|
1564
|
+
id: z.ZodString;
|
|
1565
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1566
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1567
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1568
|
+
type: z.ZodString;
|
|
1569
|
+
id: z.ZodString;
|
|
1570
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1571
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1572
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1573
|
+
type: z.ZodString;
|
|
1574
|
+
id: z.ZodString;
|
|
1575
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1576
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1577
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
1578
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
1579
|
+
toolSources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1315
1580
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1316
1581
|
}, "strict", z.ZodTypeAny, {
|
|
1317
|
-
type: "
|
|
1582
|
+
type: "rag";
|
|
1318
1583
|
id: string;
|
|
1319
1584
|
config: {
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1585
|
+
retry?: {
|
|
1586
|
+
maxRetries: number;
|
|
1587
|
+
backoff?: {
|
|
1588
|
+
type: "exponential" | "linear" | "fixed";
|
|
1589
|
+
baseDelay: number;
|
|
1590
|
+
maxDelay: number;
|
|
1591
|
+
jitter?: number | undefined;
|
|
1592
|
+
} | undefined;
|
|
1593
|
+
} | undefined;
|
|
1594
|
+
model?: string | undefined;
|
|
1595
|
+
totalK?: number | undefined;
|
|
1596
|
+
maxIterations?: number | undefined;
|
|
1597
|
+
quota?: Record<string, number> | undefined;
|
|
1598
|
+
nearDupThreshold?: number | undefined;
|
|
1599
|
+
retrievalSources?: z.objectOutputType<{
|
|
1600
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1601
|
+
type: z.ZodString;
|
|
1602
|
+
id: z.ZodString;
|
|
1603
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1604
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1605
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1606
|
+
type: z.ZodString;
|
|
1607
|
+
id: z.ZodString;
|
|
1608
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1609
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1610
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1611
|
+
type: z.ZodString;
|
|
1612
|
+
id: z.ZodString;
|
|
1613
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1614
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1615
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
1616
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1617
|
+
toolSources?: Record<string, string> | undefined;
|
|
1324
1618
|
} & {
|
|
1325
1619
|
[k: string]: unknown;
|
|
1326
1620
|
};
|
|
@@ -1343,7 +1637,7 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1343
1637
|
timeout?: number | undefined;
|
|
1344
1638
|
} | undefined;
|
|
1345
1639
|
}, {
|
|
1346
|
-
type: "
|
|
1640
|
+
type: "rag";
|
|
1347
1641
|
id: string;
|
|
1348
1642
|
description?: string | undefined;
|
|
1349
1643
|
label?: string | undefined;
|
|
@@ -1364,10 +1658,99 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1364
1658
|
timeout?: number | undefined;
|
|
1365
1659
|
} | undefined;
|
|
1366
1660
|
config?: z.objectInputType<{
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1661
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1662
|
+
totalK: z.ZodOptional<z.ZodNumber>;
|
|
1663
|
+
maxIterations: z.ZodOptional<z.ZodNumber>;
|
|
1664
|
+
quota: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1665
|
+
nearDupThreshold: z.ZodOptional<z.ZodNumber>;
|
|
1666
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
1667
|
+
maxRetries: z.ZodNumber;
|
|
1668
|
+
backoff: z.ZodOptional<z.ZodObject<{
|
|
1669
|
+
type: z.ZodEnum<["exponential", "linear", "fixed"]>;
|
|
1670
|
+
baseDelay: z.ZodNumber;
|
|
1671
|
+
maxDelay: z.ZodNumber;
|
|
1672
|
+
jitter: z.ZodOptional<z.ZodNumber>;
|
|
1673
|
+
}, "strict", z.ZodTypeAny, {
|
|
1674
|
+
type: "exponential" | "linear" | "fixed";
|
|
1675
|
+
baseDelay: number;
|
|
1676
|
+
maxDelay: number;
|
|
1677
|
+
jitter?: number | undefined;
|
|
1678
|
+
}, {
|
|
1679
|
+
type: "exponential" | "linear" | "fixed";
|
|
1680
|
+
baseDelay: number;
|
|
1681
|
+
maxDelay: number;
|
|
1682
|
+
jitter?: number | undefined;
|
|
1683
|
+
}>>;
|
|
1684
|
+
}, "strict", z.ZodTypeAny, {
|
|
1685
|
+
maxRetries: number;
|
|
1686
|
+
backoff?: {
|
|
1687
|
+
type: "exponential" | "linear" | "fixed";
|
|
1688
|
+
baseDelay: number;
|
|
1689
|
+
maxDelay: number;
|
|
1690
|
+
jitter?: number | undefined;
|
|
1691
|
+
} | undefined;
|
|
1692
|
+
}, {
|
|
1693
|
+
maxRetries: number;
|
|
1694
|
+
backoff?: {
|
|
1695
|
+
type: "exponential" | "linear" | "fixed";
|
|
1696
|
+
baseDelay: number;
|
|
1697
|
+
maxDelay: number;
|
|
1698
|
+
jitter?: number | undefined;
|
|
1699
|
+
} | undefined;
|
|
1700
|
+
}>>;
|
|
1701
|
+
retrievalSources: z.ZodOptional<z.ZodObject<{
|
|
1702
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1703
|
+
type: z.ZodString;
|
|
1704
|
+
id: z.ZodString;
|
|
1705
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1706
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1707
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1708
|
+
type: z.ZodString;
|
|
1709
|
+
id: z.ZodString;
|
|
1710
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1711
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1712
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1713
|
+
type: z.ZodString;
|
|
1714
|
+
id: z.ZodString;
|
|
1715
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1716
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1717
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
1718
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1719
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1720
|
+
type: z.ZodString;
|
|
1721
|
+
id: z.ZodString;
|
|
1722
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1723
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1724
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1725
|
+
type: z.ZodString;
|
|
1726
|
+
id: z.ZodString;
|
|
1727
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1728
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1729
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1730
|
+
type: z.ZodString;
|
|
1731
|
+
id: z.ZodString;
|
|
1732
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1733
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1734
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
1735
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1736
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1737
|
+
type: z.ZodString;
|
|
1738
|
+
id: z.ZodString;
|
|
1739
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1740
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1741
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1742
|
+
type: z.ZodString;
|
|
1743
|
+
id: z.ZodString;
|
|
1744
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1745
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1746
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1747
|
+
type: z.ZodString;
|
|
1748
|
+
id: z.ZodString;
|
|
1749
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1750
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1751
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
1752
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
1753
|
+
toolSources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1371
1754
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1372
1755
|
}>]>, "many">;
|
|
1373
1756
|
edges: z.ZodArray<z.ZodObject<{
|
|
@@ -1404,21 +1787,21 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1404
1787
|
conditionFn: z.ZodOptional<z.ZodString>;
|
|
1405
1788
|
fallback: z.ZodOptional<z.ZodString>;
|
|
1406
1789
|
}, "strict", z.ZodTypeAny, {
|
|
1790
|
+
from: string;
|
|
1407
1791
|
branches: {
|
|
1408
1792
|
value: string;
|
|
1409
1793
|
to: string;
|
|
1410
1794
|
description?: string | undefined;
|
|
1411
1795
|
}[];
|
|
1412
|
-
from: string;
|
|
1413
1796
|
conditionFn?: string | undefined;
|
|
1414
1797
|
fallback?: string | undefined;
|
|
1415
1798
|
}, {
|
|
1799
|
+
from: string;
|
|
1416
1800
|
branches: {
|
|
1417
1801
|
value: string;
|
|
1418
1802
|
to: string;
|
|
1419
1803
|
description?: string | undefined;
|
|
1420
1804
|
}[];
|
|
1421
|
-
from: string;
|
|
1422
1805
|
conditionFn?: string | undefined;
|
|
1423
1806
|
fallback?: string | undefined;
|
|
1424
1807
|
}>, "many">>;
|
|
@@ -1505,6 +1888,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1505
1888
|
config: {
|
|
1506
1889
|
tool: string;
|
|
1507
1890
|
arguments?: Record<string, unknown> | undefined;
|
|
1891
|
+
} & {
|
|
1892
|
+
[k: string]: unknown;
|
|
1508
1893
|
};
|
|
1509
1894
|
description?: string | undefined;
|
|
1510
1895
|
label?: string | undefined;
|
|
@@ -1532,6 +1917,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1532
1917
|
conditionFn?: string | undefined;
|
|
1533
1918
|
branchValues?: string[] | undefined;
|
|
1534
1919
|
fallback?: string | undefined;
|
|
1920
|
+
} & {
|
|
1921
|
+
[k: string]: unknown;
|
|
1535
1922
|
};
|
|
1536
1923
|
description?: string | undefined;
|
|
1537
1924
|
label?: string | undefined;
|
|
@@ -1557,6 +1944,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1557
1944
|
config: {
|
|
1558
1945
|
skillId?: string | undefined;
|
|
1559
1946
|
skillCode?: string | undefined;
|
|
1947
|
+
} & {
|
|
1948
|
+
[k: string]: unknown;
|
|
1560
1949
|
};
|
|
1561
1950
|
description?: string | undefined;
|
|
1562
1951
|
label?: string | undefined;
|
|
@@ -1583,6 +1972,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1583
1972
|
config: {
|
|
1584
1973
|
options?: string[] | undefined;
|
|
1585
1974
|
question?: string | undefined;
|
|
1975
|
+
} & {
|
|
1976
|
+
[k: string]: unknown;
|
|
1586
1977
|
};
|
|
1587
1978
|
description?: string | undefined;
|
|
1588
1979
|
label?: string | undefined;
|
|
@@ -1603,14 +1994,15 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1603
1994
|
timeout?: number | undefined;
|
|
1604
1995
|
} | undefined;
|
|
1605
1996
|
} | {
|
|
1606
|
-
type: "
|
|
1997
|
+
type: "code";
|
|
1607
1998
|
id: string;
|
|
1608
1999
|
config: {
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
2000
|
+
code?: string | undefined;
|
|
2001
|
+
handler?: string | undefined;
|
|
2002
|
+
timeoutMs?: number | undefined;
|
|
2003
|
+
bindSkill?: boolean | undefined;
|
|
2004
|
+
} & {
|
|
2005
|
+
[k: string]: unknown;
|
|
1614
2006
|
};
|
|
1615
2007
|
description?: string | undefined;
|
|
1616
2008
|
label?: string | undefined;
|
|
@@ -1630,15 +2022,43 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1630
2022
|
question?: string | undefined;
|
|
1631
2023
|
timeout?: number | undefined;
|
|
1632
2024
|
} | undefined;
|
|
1633
|
-
branches?: string[] | undefined;
|
|
1634
2025
|
} | {
|
|
1635
|
-
type: "
|
|
2026
|
+
type: "rag";
|
|
1636
2027
|
id: string;
|
|
1637
2028
|
config: {
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
2029
|
+
retry?: {
|
|
2030
|
+
maxRetries: number;
|
|
2031
|
+
backoff?: {
|
|
2032
|
+
type: "exponential" | "linear" | "fixed";
|
|
2033
|
+
baseDelay: number;
|
|
2034
|
+
maxDelay: number;
|
|
2035
|
+
jitter?: number | undefined;
|
|
2036
|
+
} | undefined;
|
|
2037
|
+
} | undefined;
|
|
2038
|
+
model?: string | undefined;
|
|
2039
|
+
totalK?: number | undefined;
|
|
2040
|
+
maxIterations?: number | undefined;
|
|
2041
|
+
quota?: Record<string, number> | undefined;
|
|
2042
|
+
nearDupThreshold?: number | undefined;
|
|
2043
|
+
retrievalSources?: z.objectOutputType<{
|
|
2044
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2045
|
+
type: z.ZodString;
|
|
2046
|
+
id: z.ZodString;
|
|
2047
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2048
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
2049
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2050
|
+
type: z.ZodString;
|
|
2051
|
+
id: z.ZodString;
|
|
2052
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2053
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
2054
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2055
|
+
type: z.ZodString;
|
|
2056
|
+
id: z.ZodString;
|
|
2057
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2058
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
2059
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
2060
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2061
|
+
toolSources?: Record<string, string> | undefined;
|
|
1642
2062
|
} & {
|
|
1643
2063
|
[k: string]: unknown;
|
|
1644
2064
|
};
|
|
@@ -1678,12 +2098,12 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1678
2098
|
version?: string | undefined;
|
|
1679
2099
|
state?: Record<string, string> | undefined;
|
|
1680
2100
|
conditionalEdges?: {
|
|
2101
|
+
from: string;
|
|
1681
2102
|
branches: {
|
|
1682
2103
|
value: string;
|
|
1683
2104
|
to: string;
|
|
1684
2105
|
description?: string | undefined;
|
|
1685
2106
|
}[];
|
|
1686
|
-
from: string;
|
|
1687
2107
|
conditionFn?: string | undefined;
|
|
1688
2108
|
fallback?: string | undefined;
|
|
1689
2109
|
}[] | undefined;
|
|
@@ -1813,6 +2233,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1813
2233
|
config: {
|
|
1814
2234
|
tool: string;
|
|
1815
2235
|
arguments?: Record<string, unknown> | undefined;
|
|
2236
|
+
} & {
|
|
2237
|
+
[k: string]: unknown;
|
|
1816
2238
|
};
|
|
1817
2239
|
description?: string | undefined;
|
|
1818
2240
|
label?: string | undefined;
|
|
@@ -1853,12 +2275,12 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1853
2275
|
question?: string | undefined;
|
|
1854
2276
|
timeout?: number | undefined;
|
|
1855
2277
|
} | undefined;
|
|
1856
|
-
config?: {
|
|
1857
|
-
conditionExpr
|
|
1858
|
-
conditionFn
|
|
1859
|
-
branchValues
|
|
1860
|
-
fallback
|
|
1861
|
-
} | undefined;
|
|
2278
|
+
config?: z.objectInputType<{
|
|
2279
|
+
conditionExpr: z.ZodOptional<z.ZodString>;
|
|
2280
|
+
conditionFn: z.ZodOptional<z.ZodString>;
|
|
2281
|
+
branchValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2282
|
+
fallback: z.ZodOptional<z.ZodString>;
|
|
2283
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1862
2284
|
} | {
|
|
1863
2285
|
type: "subgraph";
|
|
1864
2286
|
id: string;
|
|
@@ -1880,10 +2302,10 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1880
2302
|
question?: string | undefined;
|
|
1881
2303
|
timeout?: number | undefined;
|
|
1882
2304
|
} | undefined;
|
|
1883
|
-
config?: {
|
|
1884
|
-
skillId
|
|
1885
|
-
skillCode
|
|
1886
|
-
} | undefined;
|
|
2305
|
+
config?: z.objectInputType<{
|
|
2306
|
+
skillId: z.ZodOptional<z.ZodString>;
|
|
2307
|
+
skillCode: z.ZodOptional<z.ZodString>;
|
|
2308
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1887
2309
|
subgraphId?: string | undefined;
|
|
1888
2310
|
} | {
|
|
1889
2311
|
type: "human";
|
|
@@ -1906,12 +2328,12 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1906
2328
|
question?: string | undefined;
|
|
1907
2329
|
timeout?: number | undefined;
|
|
1908
2330
|
} | undefined;
|
|
1909
|
-
config?: {
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
} | undefined;
|
|
2331
|
+
config?: z.objectInputType<{
|
|
2332
|
+
question: z.ZodOptional<z.ZodString>;
|
|
2333
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2334
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1913
2335
|
} | {
|
|
1914
|
-
type: "
|
|
2336
|
+
type: "code";
|
|
1915
2337
|
id: string;
|
|
1916
2338
|
description?: string | undefined;
|
|
1917
2339
|
label?: string | undefined;
|
|
@@ -1931,16 +2353,14 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1931
2353
|
question?: string | undefined;
|
|
1932
2354
|
timeout?: number | undefined;
|
|
1933
2355
|
} | undefined;
|
|
1934
|
-
config?: {
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
} | undefined;
|
|
1941
|
-
branches?: string[] | undefined;
|
|
2356
|
+
config?: z.objectInputType<{
|
|
2357
|
+
code: z.ZodOptional<z.ZodString>;
|
|
2358
|
+
handler: z.ZodOptional<z.ZodString>;
|
|
2359
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
2360
|
+
bindSkill: z.ZodOptional<z.ZodBoolean>;
|
|
2361
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1942
2362
|
} | {
|
|
1943
|
-
type: "
|
|
2363
|
+
type: "rag";
|
|
1944
2364
|
id: string;
|
|
1945
2365
|
description?: string | undefined;
|
|
1946
2366
|
label?: string | undefined;
|
|
@@ -1961,10 +2381,99 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1961
2381
|
timeout?: number | undefined;
|
|
1962
2382
|
} | undefined;
|
|
1963
2383
|
config?: z.objectInputType<{
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
2384
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2385
|
+
totalK: z.ZodOptional<z.ZodNumber>;
|
|
2386
|
+
maxIterations: z.ZodOptional<z.ZodNumber>;
|
|
2387
|
+
quota: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
2388
|
+
nearDupThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2389
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
2390
|
+
maxRetries: z.ZodNumber;
|
|
2391
|
+
backoff: z.ZodOptional<z.ZodObject<{
|
|
2392
|
+
type: z.ZodEnum<["exponential", "linear", "fixed"]>;
|
|
2393
|
+
baseDelay: z.ZodNumber;
|
|
2394
|
+
maxDelay: z.ZodNumber;
|
|
2395
|
+
jitter: z.ZodOptional<z.ZodNumber>;
|
|
2396
|
+
}, "strict", z.ZodTypeAny, {
|
|
2397
|
+
type: "exponential" | "linear" | "fixed";
|
|
2398
|
+
baseDelay: number;
|
|
2399
|
+
maxDelay: number;
|
|
2400
|
+
jitter?: number | undefined;
|
|
2401
|
+
}, {
|
|
2402
|
+
type: "exponential" | "linear" | "fixed";
|
|
2403
|
+
baseDelay: number;
|
|
2404
|
+
maxDelay: number;
|
|
2405
|
+
jitter?: number | undefined;
|
|
2406
|
+
}>>;
|
|
2407
|
+
}, "strict", z.ZodTypeAny, {
|
|
2408
|
+
maxRetries: number;
|
|
2409
|
+
backoff?: {
|
|
2410
|
+
type: "exponential" | "linear" | "fixed";
|
|
2411
|
+
baseDelay: number;
|
|
2412
|
+
maxDelay: number;
|
|
2413
|
+
jitter?: number | undefined;
|
|
2414
|
+
} | undefined;
|
|
2415
|
+
}, {
|
|
2416
|
+
maxRetries: number;
|
|
2417
|
+
backoff?: {
|
|
2418
|
+
type: "exponential" | "linear" | "fixed";
|
|
2419
|
+
baseDelay: number;
|
|
2420
|
+
maxDelay: number;
|
|
2421
|
+
jitter?: number | undefined;
|
|
2422
|
+
} | undefined;
|
|
2423
|
+
}>>;
|
|
2424
|
+
retrievalSources: z.ZodOptional<z.ZodObject<{
|
|
2425
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2426
|
+
type: z.ZodString;
|
|
2427
|
+
id: z.ZodString;
|
|
2428
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2429
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
2430
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2431
|
+
type: z.ZodString;
|
|
2432
|
+
id: z.ZodString;
|
|
2433
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2434
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
2435
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2436
|
+
type: z.ZodString;
|
|
2437
|
+
id: z.ZodString;
|
|
2438
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2439
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
2440
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
2441
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2442
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2443
|
+
type: z.ZodString;
|
|
2444
|
+
id: z.ZodString;
|
|
2445
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2446
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
2447
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2448
|
+
type: z.ZodString;
|
|
2449
|
+
id: z.ZodString;
|
|
2450
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2451
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
2452
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2453
|
+
type: z.ZodString;
|
|
2454
|
+
id: z.ZodString;
|
|
2455
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2456
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
2457
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
2458
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2459
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2460
|
+
type: z.ZodString;
|
|
2461
|
+
id: z.ZodString;
|
|
2462
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2463
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
2464
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2465
|
+
type: z.ZodString;
|
|
2466
|
+
id: z.ZodString;
|
|
2467
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2468
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
2469
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2470
|
+
type: z.ZodString;
|
|
2471
|
+
id: z.ZodString;
|
|
2472
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2473
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
2474
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
2475
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
2476
|
+
toolSources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1968
2477
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1969
2478
|
})[];
|
|
1970
2479
|
edges: {
|
|
@@ -1984,12 +2493,12 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
1984
2493
|
version?: string | undefined;
|
|
1985
2494
|
state?: Record<string, string> | undefined;
|
|
1986
2495
|
conditionalEdges?: {
|
|
2496
|
+
from: string;
|
|
1987
2497
|
branches: {
|
|
1988
2498
|
value: string;
|
|
1989
2499
|
to: string;
|
|
1990
2500
|
description?: string | undefined;
|
|
1991
2501
|
}[];
|
|
1992
|
-
from: string;
|
|
1993
2502
|
conditionFn?: string | undefined;
|
|
1994
2503
|
fallback?: string | undefined;
|
|
1995
2504
|
}[] | undefined;
|
|
@@ -2104,6 +2613,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
2104
2613
|
config: {
|
|
2105
2614
|
tool: string;
|
|
2106
2615
|
arguments?: Record<string, unknown> | undefined;
|
|
2616
|
+
} & {
|
|
2617
|
+
[k: string]: unknown;
|
|
2107
2618
|
};
|
|
2108
2619
|
description?: string | undefined;
|
|
2109
2620
|
label?: string | undefined;
|
|
@@ -2131,6 +2642,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
2131
2642
|
conditionFn?: string | undefined;
|
|
2132
2643
|
branchValues?: string[] | undefined;
|
|
2133
2644
|
fallback?: string | undefined;
|
|
2645
|
+
} & {
|
|
2646
|
+
[k: string]: unknown;
|
|
2134
2647
|
};
|
|
2135
2648
|
description?: string | undefined;
|
|
2136
2649
|
label?: string | undefined;
|
|
@@ -2156,6 +2669,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
2156
2669
|
config: {
|
|
2157
2670
|
skillId?: string | undefined;
|
|
2158
2671
|
skillCode?: string | undefined;
|
|
2672
|
+
} & {
|
|
2673
|
+
[k: string]: unknown;
|
|
2159
2674
|
};
|
|
2160
2675
|
description?: string | undefined;
|
|
2161
2676
|
label?: string | undefined;
|
|
@@ -2182,6 +2697,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
2182
2697
|
config: {
|
|
2183
2698
|
options?: string[] | undefined;
|
|
2184
2699
|
question?: string | undefined;
|
|
2700
|
+
} & {
|
|
2701
|
+
[k: string]: unknown;
|
|
2185
2702
|
};
|
|
2186
2703
|
description?: string | undefined;
|
|
2187
2704
|
label?: string | undefined;
|
|
@@ -2202,14 +2719,15 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
2202
2719
|
timeout?: number | undefined;
|
|
2203
2720
|
} | undefined;
|
|
2204
2721
|
} | {
|
|
2205
|
-
type: "
|
|
2722
|
+
type: "code";
|
|
2206
2723
|
id: string;
|
|
2207
2724
|
config: {
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2725
|
+
code?: string | undefined;
|
|
2726
|
+
handler?: string | undefined;
|
|
2727
|
+
timeoutMs?: number | undefined;
|
|
2728
|
+
bindSkill?: boolean | undefined;
|
|
2729
|
+
} & {
|
|
2730
|
+
[k: string]: unknown;
|
|
2213
2731
|
};
|
|
2214
2732
|
description?: string | undefined;
|
|
2215
2733
|
label?: string | undefined;
|
|
@@ -2229,15 +2747,43 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
2229
2747
|
question?: string | undefined;
|
|
2230
2748
|
timeout?: number | undefined;
|
|
2231
2749
|
} | undefined;
|
|
2232
|
-
branches?: string[] | undefined;
|
|
2233
2750
|
} | {
|
|
2234
|
-
type: "
|
|
2751
|
+
type: "rag";
|
|
2235
2752
|
id: string;
|
|
2236
2753
|
config: {
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2754
|
+
retry?: {
|
|
2755
|
+
maxRetries: number;
|
|
2756
|
+
backoff?: {
|
|
2757
|
+
type: "exponential" | "linear" | "fixed";
|
|
2758
|
+
baseDelay: number;
|
|
2759
|
+
maxDelay: number;
|
|
2760
|
+
jitter?: number | undefined;
|
|
2761
|
+
} | undefined;
|
|
2762
|
+
} | undefined;
|
|
2763
|
+
model?: string | undefined;
|
|
2764
|
+
totalK?: number | undefined;
|
|
2765
|
+
maxIterations?: number | undefined;
|
|
2766
|
+
quota?: Record<string, number> | undefined;
|
|
2767
|
+
nearDupThreshold?: number | undefined;
|
|
2768
|
+
retrievalSources?: z.objectOutputType<{
|
|
2769
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2770
|
+
type: z.ZodString;
|
|
2771
|
+
id: z.ZodString;
|
|
2772
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2773
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
2774
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2775
|
+
type: z.ZodString;
|
|
2776
|
+
id: z.ZodString;
|
|
2777
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2778
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
2779
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2780
|
+
type: z.ZodString;
|
|
2781
|
+
id: z.ZodString;
|
|
2782
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2783
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
2784
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
2785
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2786
|
+
toolSources?: Record<string, string> | undefined;
|
|
2241
2787
|
} & {
|
|
2242
2788
|
[k: string]: unknown;
|
|
2243
2789
|
};
|
|
@@ -2277,12 +2823,12 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
2277
2823
|
version?: string | undefined;
|
|
2278
2824
|
state?: Record<string, string> | undefined;
|
|
2279
2825
|
conditionalEdges?: {
|
|
2826
|
+
from: string;
|
|
2280
2827
|
branches: {
|
|
2281
2828
|
value: string;
|
|
2282
2829
|
to: string;
|
|
2283
2830
|
description?: string | undefined;
|
|
2284
2831
|
}[];
|
|
2285
|
-
from: string;
|
|
2286
2832
|
conditionFn?: string | undefined;
|
|
2287
2833
|
fallback?: string | undefined;
|
|
2288
2834
|
}[] | undefined;
|
|
@@ -2449,6 +2995,8 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
2449
2995
|
config: {
|
|
2450
2996
|
tool: string;
|
|
2451
2997
|
arguments?: Record<string, unknown> | undefined;
|
|
2998
|
+
} & {
|
|
2999
|
+
[k: string]: unknown;
|
|
2452
3000
|
};
|
|
2453
3001
|
description?: string | undefined;
|
|
2454
3002
|
label?: string | undefined;
|
|
@@ -2489,12 +3037,12 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
2489
3037
|
question?: string | undefined;
|
|
2490
3038
|
timeout?: number | undefined;
|
|
2491
3039
|
} | undefined;
|
|
2492
|
-
config?: {
|
|
2493
|
-
conditionExpr
|
|
2494
|
-
conditionFn
|
|
2495
|
-
branchValues
|
|
2496
|
-
fallback
|
|
2497
|
-
} | undefined;
|
|
3040
|
+
config?: z.objectInputType<{
|
|
3041
|
+
conditionExpr: z.ZodOptional<z.ZodString>;
|
|
3042
|
+
conditionFn: z.ZodOptional<z.ZodString>;
|
|
3043
|
+
branchValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3044
|
+
fallback: z.ZodOptional<z.ZodString>;
|
|
3045
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2498
3046
|
} | {
|
|
2499
3047
|
type: "subgraph";
|
|
2500
3048
|
id: string;
|
|
@@ -2516,10 +3064,10 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
2516
3064
|
question?: string | undefined;
|
|
2517
3065
|
timeout?: number | undefined;
|
|
2518
3066
|
} | undefined;
|
|
2519
|
-
config?: {
|
|
2520
|
-
skillId
|
|
2521
|
-
skillCode
|
|
2522
|
-
} | undefined;
|
|
3067
|
+
config?: z.objectInputType<{
|
|
3068
|
+
skillId: z.ZodOptional<z.ZodString>;
|
|
3069
|
+
skillCode: z.ZodOptional<z.ZodString>;
|
|
3070
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2523
3071
|
subgraphId?: string | undefined;
|
|
2524
3072
|
} | {
|
|
2525
3073
|
type: "human";
|
|
@@ -2542,12 +3090,12 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
2542
3090
|
question?: string | undefined;
|
|
2543
3091
|
timeout?: number | undefined;
|
|
2544
3092
|
} | undefined;
|
|
2545
|
-
config?: {
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
} | undefined;
|
|
3093
|
+
config?: z.objectInputType<{
|
|
3094
|
+
question: z.ZodOptional<z.ZodString>;
|
|
3095
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3096
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2549
3097
|
} | {
|
|
2550
|
-
type: "
|
|
3098
|
+
type: "code";
|
|
2551
3099
|
id: string;
|
|
2552
3100
|
description?: string | undefined;
|
|
2553
3101
|
label?: string | undefined;
|
|
@@ -2567,16 +3115,14 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
2567
3115
|
question?: string | undefined;
|
|
2568
3116
|
timeout?: number | undefined;
|
|
2569
3117
|
} | undefined;
|
|
2570
|
-
config?: {
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
} | undefined;
|
|
2577
|
-
branches?: string[] | undefined;
|
|
3118
|
+
config?: z.objectInputType<{
|
|
3119
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3120
|
+
handler: z.ZodOptional<z.ZodString>;
|
|
3121
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
3122
|
+
bindSkill: z.ZodOptional<z.ZodBoolean>;
|
|
3123
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2578
3124
|
} | {
|
|
2579
|
-
type: "
|
|
3125
|
+
type: "rag";
|
|
2580
3126
|
id: string;
|
|
2581
3127
|
description?: string | undefined;
|
|
2582
3128
|
label?: string | undefined;
|
|
@@ -2597,10 +3143,99 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
2597
3143
|
timeout?: number | undefined;
|
|
2598
3144
|
} | undefined;
|
|
2599
3145
|
config?: z.objectInputType<{
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
3146
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3147
|
+
totalK: z.ZodOptional<z.ZodNumber>;
|
|
3148
|
+
maxIterations: z.ZodOptional<z.ZodNumber>;
|
|
3149
|
+
quota: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
3150
|
+
nearDupThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3151
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
3152
|
+
maxRetries: z.ZodNumber;
|
|
3153
|
+
backoff: z.ZodOptional<z.ZodObject<{
|
|
3154
|
+
type: z.ZodEnum<["exponential", "linear", "fixed"]>;
|
|
3155
|
+
baseDelay: z.ZodNumber;
|
|
3156
|
+
maxDelay: z.ZodNumber;
|
|
3157
|
+
jitter: z.ZodOptional<z.ZodNumber>;
|
|
3158
|
+
}, "strict", z.ZodTypeAny, {
|
|
3159
|
+
type: "exponential" | "linear" | "fixed";
|
|
3160
|
+
baseDelay: number;
|
|
3161
|
+
maxDelay: number;
|
|
3162
|
+
jitter?: number | undefined;
|
|
3163
|
+
}, {
|
|
3164
|
+
type: "exponential" | "linear" | "fixed";
|
|
3165
|
+
baseDelay: number;
|
|
3166
|
+
maxDelay: number;
|
|
3167
|
+
jitter?: number | undefined;
|
|
3168
|
+
}>>;
|
|
3169
|
+
}, "strict", z.ZodTypeAny, {
|
|
3170
|
+
maxRetries: number;
|
|
3171
|
+
backoff?: {
|
|
3172
|
+
type: "exponential" | "linear" | "fixed";
|
|
3173
|
+
baseDelay: number;
|
|
3174
|
+
maxDelay: number;
|
|
3175
|
+
jitter?: number | undefined;
|
|
3176
|
+
} | undefined;
|
|
3177
|
+
}, {
|
|
3178
|
+
maxRetries: number;
|
|
3179
|
+
backoff?: {
|
|
3180
|
+
type: "exponential" | "linear" | "fixed";
|
|
3181
|
+
baseDelay: number;
|
|
3182
|
+
maxDelay: number;
|
|
3183
|
+
jitter?: number | undefined;
|
|
3184
|
+
} | undefined;
|
|
3185
|
+
}>>;
|
|
3186
|
+
retrievalSources: z.ZodOptional<z.ZodObject<{
|
|
3187
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
3188
|
+
type: z.ZodString;
|
|
3189
|
+
id: z.ZodString;
|
|
3190
|
+
source: z.ZodOptional<z.ZodString>;
|
|
3191
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
3192
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3193
|
+
type: z.ZodString;
|
|
3194
|
+
id: z.ZodString;
|
|
3195
|
+
source: z.ZodOptional<z.ZodString>;
|
|
3196
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
3197
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3198
|
+
type: z.ZodString;
|
|
3199
|
+
id: z.ZodString;
|
|
3200
|
+
source: z.ZodOptional<z.ZodString>;
|
|
3201
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
3202
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
3203
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3204
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
3205
|
+
type: z.ZodString;
|
|
3206
|
+
id: z.ZodString;
|
|
3207
|
+
source: z.ZodOptional<z.ZodString>;
|
|
3208
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
3209
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3210
|
+
type: z.ZodString;
|
|
3211
|
+
id: z.ZodString;
|
|
3212
|
+
source: z.ZodOptional<z.ZodString>;
|
|
3213
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
3214
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3215
|
+
type: z.ZodString;
|
|
3216
|
+
id: z.ZodString;
|
|
3217
|
+
source: z.ZodOptional<z.ZodString>;
|
|
3218
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
3219
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
3220
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3221
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
3222
|
+
type: z.ZodString;
|
|
3223
|
+
id: z.ZodString;
|
|
3224
|
+
source: z.ZodOptional<z.ZodString>;
|
|
3225
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
3226
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3227
|
+
type: z.ZodString;
|
|
3228
|
+
id: z.ZodString;
|
|
3229
|
+
source: z.ZodOptional<z.ZodString>;
|
|
3230
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
3231
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3232
|
+
type: z.ZodString;
|
|
3233
|
+
id: z.ZodString;
|
|
3234
|
+
source: z.ZodOptional<z.ZodString>;
|
|
3235
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
3236
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
3237
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
3238
|
+
toolSources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2604
3239
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2605
3240
|
})[];
|
|
2606
3241
|
edges: {
|
|
@@ -2620,12 +3255,12 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
2620
3255
|
version?: string | undefined;
|
|
2621
3256
|
state?: Record<string, string> | undefined;
|
|
2622
3257
|
conditionalEdges?: {
|
|
3258
|
+
from: string;
|
|
2623
3259
|
branches: {
|
|
2624
3260
|
value: string;
|
|
2625
3261
|
to: string;
|
|
2626
3262
|
description?: string | undefined;
|
|
2627
3263
|
}[];
|
|
2628
|
-
from: string;
|
|
2629
3264
|
conditionFn?: string | undefined;
|
|
2630
3265
|
fallback?: string | undefined;
|
|
2631
3266
|
}[] | undefined;
|