@allma/core-types 1.8.0 → 2.0.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/admin/api-schemas.d.ts +1022 -0
- package/dist/admin/api-schemas.d.ts.map +1 -1
- package/dist/admin/index.d.ts +0 -1
- package/dist/admin/index.d.ts.map +1 -1
- package/dist/admin/index.js +0 -1
- package/dist/admin/index.js.map +1 -1
- package/dist/agent/agent.d.ts +5 -5
- package/dist/llm/index.d.ts +98 -0
- package/dist/llm/index.d.ts.map +1 -1
- package/dist/llm/index.js +43 -0
- package/dist/llm/index.js.map +1 -1
- package/dist/logging/index.d.ts +0 -1
- package/dist/logging/index.d.ts.map +1 -1
- package/dist/logging/index.js +0 -1
- package/dist/logging/index.js.map +1 -1
- package/dist/logging/records.d.ts +915 -0
- package/dist/logging/records.d.ts.map +1 -1
- package/dist/steps/common.d.ts +3 -0
- package/dist/steps/common.d.ts.map +1 -1
- package/dist/steps/common.js +1 -0
- package/dist/steps/common.js.map +1 -1
- package/dist/steps/definitions.d.ts +2537 -0
- package/dist/steps/definitions.d.ts.map +1 -1
- package/dist/steps/system/llm.d.ts +364 -0
- package/dist/steps/system/llm.d.ts.map +1 -1
- package/dist/steps/system/llm.js +7 -1
- package/dist/steps/system/llm.js.map +1 -1
- package/dist/storage/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/admin/utils.d.ts +0 -21
- package/dist/admin/utils.d.ts.map +0 -1
- package/dist/admin/utils.js +0 -51
- package/dist/admin/utils.js.map +0 -1
- package/dist/logging/console.d.ts +0 -5
- package/dist/logging/console.d.ts.map +0 -1
- package/dist/logging/console.js +0 -13
- package/dist/logging/console.js.map +0 -1
|
@@ -221,6 +221,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
221
221
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
222
222
|
jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
|
|
223
223
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
224
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
225
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
226
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
227
|
+
}, "strip", z.ZodTypeAny, {
|
|
228
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
229
|
+
config?: Record<string, any> | undefined;
|
|
230
|
+
}, {
|
|
231
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
232
|
+
config?: Record<string, any> | undefined;
|
|
233
|
+
}>, z.ZodObject<{
|
|
234
|
+
type: z.ZodLiteral<"function">;
|
|
235
|
+
name: z.ZodString;
|
|
236
|
+
description: z.ZodString;
|
|
237
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
238
|
+
}, "strip", z.ZodTypeAny, {
|
|
239
|
+
type: "function";
|
|
240
|
+
name: string;
|
|
241
|
+
description: string;
|
|
242
|
+
parameters: Record<string, any>;
|
|
243
|
+
}, {
|
|
244
|
+
type: "function";
|
|
245
|
+
name: string;
|
|
246
|
+
description: string;
|
|
247
|
+
parameters: Record<string, any>;
|
|
248
|
+
}>]>, "many">>;
|
|
249
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
250
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
251
|
+
type: z.ZodLiteral<"function">;
|
|
252
|
+
name: z.ZodString;
|
|
253
|
+
}, "strip", z.ZodTypeAny, {
|
|
254
|
+
type: "function";
|
|
255
|
+
name: string;
|
|
256
|
+
}, {
|
|
257
|
+
type: "function";
|
|
258
|
+
name: string;
|
|
259
|
+
}>]>>;
|
|
224
260
|
}, "strip", z.ZodTypeAny, {
|
|
225
261
|
llmProvider: string;
|
|
226
262
|
modelId: string;
|
|
@@ -234,6 +270,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
234
270
|
topK?: number | undefined;
|
|
235
271
|
seed?: number | undefined;
|
|
236
272
|
} | undefined;
|
|
273
|
+
tools?: ({
|
|
274
|
+
type: "function";
|
|
275
|
+
name: string;
|
|
276
|
+
description: string;
|
|
277
|
+
parameters: Record<string, any>;
|
|
278
|
+
} | {
|
|
279
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
280
|
+
config?: Record<string, any> | undefined;
|
|
281
|
+
})[] | undefined;
|
|
282
|
+
toolsPath?: string | undefined;
|
|
283
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
284
|
+
type: "function";
|
|
285
|
+
name: string;
|
|
286
|
+
} | undefined;
|
|
237
287
|
}, {
|
|
238
288
|
llmProvider: string;
|
|
239
289
|
modelId: string;
|
|
@@ -247,6 +297,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
247
297
|
topK?: number | undefined;
|
|
248
298
|
seed?: number | undefined;
|
|
249
299
|
} | undefined;
|
|
300
|
+
tools?: ({
|
|
301
|
+
type: "function";
|
|
302
|
+
name: string;
|
|
303
|
+
description: string;
|
|
304
|
+
parameters: Record<string, any>;
|
|
305
|
+
} | {
|
|
306
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
307
|
+
config?: Record<string, any> | undefined;
|
|
308
|
+
})[] | undefined;
|
|
309
|
+
toolsPath?: string | undefined;
|
|
310
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
311
|
+
type: "function";
|
|
312
|
+
name: string;
|
|
313
|
+
} | undefined;
|
|
250
314
|
}>, "many">>;
|
|
251
315
|
promptTemplateId: z.ZodOptional<z.ZodString>;
|
|
252
316
|
templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
@@ -343,6 +407,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
343
407
|
mimeType?: string | undefined;
|
|
344
408
|
}>, "many">>;
|
|
345
409
|
mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
|
|
410
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
411
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
412
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
413
|
+
}, "strip", z.ZodTypeAny, {
|
|
414
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
415
|
+
config?: Record<string, any> | undefined;
|
|
416
|
+
}, {
|
|
417
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
418
|
+
config?: Record<string, any> | undefined;
|
|
419
|
+
}>, z.ZodObject<{
|
|
420
|
+
type: z.ZodLiteral<"function">;
|
|
421
|
+
name: z.ZodString;
|
|
422
|
+
description: z.ZodString;
|
|
423
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
424
|
+
}, "strip", z.ZodTypeAny, {
|
|
425
|
+
type: "function";
|
|
426
|
+
name: string;
|
|
427
|
+
description: string;
|
|
428
|
+
parameters: Record<string, any>;
|
|
429
|
+
}, {
|
|
430
|
+
type: "function";
|
|
431
|
+
name: string;
|
|
432
|
+
description: string;
|
|
433
|
+
parameters: Record<string, any>;
|
|
434
|
+
}>]>, "many">>;
|
|
435
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
436
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
437
|
+
type: z.ZodLiteral<"function">;
|
|
438
|
+
name: z.ZodString;
|
|
439
|
+
}, "strip", z.ZodTypeAny, {
|
|
440
|
+
type: "function";
|
|
441
|
+
name: string;
|
|
442
|
+
}, {
|
|
443
|
+
type: "function";
|
|
444
|
+
name: string;
|
|
445
|
+
}>]>>;
|
|
346
446
|
inferenceParameters: z.ZodOptional<z.ZodObject<{
|
|
347
447
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
348
448
|
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -403,6 +503,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
403
503
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
404
504
|
jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
|
|
405
505
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
506
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
507
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
508
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
509
|
+
}, "strip", z.ZodTypeAny, {
|
|
510
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
511
|
+
config?: Record<string, any> | undefined;
|
|
512
|
+
}, {
|
|
513
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
514
|
+
config?: Record<string, any> | undefined;
|
|
515
|
+
}>, z.ZodObject<{
|
|
516
|
+
type: z.ZodLiteral<"function">;
|
|
517
|
+
name: z.ZodString;
|
|
518
|
+
description: z.ZodString;
|
|
519
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
520
|
+
}, "strip", z.ZodTypeAny, {
|
|
521
|
+
type: "function";
|
|
522
|
+
name: string;
|
|
523
|
+
description: string;
|
|
524
|
+
parameters: Record<string, any>;
|
|
525
|
+
}, {
|
|
526
|
+
type: "function";
|
|
527
|
+
name: string;
|
|
528
|
+
description: string;
|
|
529
|
+
parameters: Record<string, any>;
|
|
530
|
+
}>]>, "many">>;
|
|
531
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
532
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
533
|
+
type: z.ZodLiteral<"function">;
|
|
534
|
+
name: z.ZodString;
|
|
535
|
+
}, "strip", z.ZodTypeAny, {
|
|
536
|
+
type: "function";
|
|
537
|
+
name: string;
|
|
538
|
+
}, {
|
|
539
|
+
type: "function";
|
|
540
|
+
name: string;
|
|
541
|
+
}>]>>;
|
|
406
542
|
}, "strip", z.ZodTypeAny, {
|
|
407
543
|
llmProvider: string;
|
|
408
544
|
modelId: string;
|
|
@@ -416,6 +552,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
416
552
|
topK?: number | undefined;
|
|
417
553
|
seed?: number | undefined;
|
|
418
554
|
} | undefined;
|
|
555
|
+
tools?: ({
|
|
556
|
+
type: "function";
|
|
557
|
+
name: string;
|
|
558
|
+
description: string;
|
|
559
|
+
parameters: Record<string, any>;
|
|
560
|
+
} | {
|
|
561
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
562
|
+
config?: Record<string, any> | undefined;
|
|
563
|
+
})[] | undefined;
|
|
564
|
+
toolsPath?: string | undefined;
|
|
565
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
566
|
+
type: "function";
|
|
567
|
+
name: string;
|
|
568
|
+
} | undefined;
|
|
419
569
|
}, {
|
|
420
570
|
llmProvider: string;
|
|
421
571
|
modelId: string;
|
|
@@ -429,6 +579,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
429
579
|
topK?: number | undefined;
|
|
430
580
|
seed?: number | undefined;
|
|
431
581
|
} | undefined;
|
|
582
|
+
tools?: ({
|
|
583
|
+
type: "function";
|
|
584
|
+
name: string;
|
|
585
|
+
description: string;
|
|
586
|
+
parameters: Record<string, any>;
|
|
587
|
+
} | {
|
|
588
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
589
|
+
config?: Record<string, any> | undefined;
|
|
590
|
+
})[] | undefined;
|
|
591
|
+
toolsPath?: string | undefined;
|
|
592
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
593
|
+
type: "function";
|
|
594
|
+
name: string;
|
|
595
|
+
} | undefined;
|
|
432
596
|
}>, "many">>;
|
|
433
597
|
promptTemplateId: z.ZodOptional<z.ZodString>;
|
|
434
598
|
templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
@@ -525,6 +689,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
525
689
|
mimeType?: string | undefined;
|
|
526
690
|
}>, "many">>;
|
|
527
691
|
mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
|
|
692
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
693
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
694
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
695
|
+
}, "strip", z.ZodTypeAny, {
|
|
696
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
697
|
+
config?: Record<string, any> | undefined;
|
|
698
|
+
}, {
|
|
699
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
700
|
+
config?: Record<string, any> | undefined;
|
|
701
|
+
}>, z.ZodObject<{
|
|
702
|
+
type: z.ZodLiteral<"function">;
|
|
703
|
+
name: z.ZodString;
|
|
704
|
+
description: z.ZodString;
|
|
705
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
706
|
+
}, "strip", z.ZodTypeAny, {
|
|
707
|
+
type: "function";
|
|
708
|
+
name: string;
|
|
709
|
+
description: string;
|
|
710
|
+
parameters: Record<string, any>;
|
|
711
|
+
}, {
|
|
712
|
+
type: "function";
|
|
713
|
+
name: string;
|
|
714
|
+
description: string;
|
|
715
|
+
parameters: Record<string, any>;
|
|
716
|
+
}>]>, "many">>;
|
|
717
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
718
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
719
|
+
type: z.ZodLiteral<"function">;
|
|
720
|
+
name: z.ZodString;
|
|
721
|
+
}, "strip", z.ZodTypeAny, {
|
|
722
|
+
type: "function";
|
|
723
|
+
name: string;
|
|
724
|
+
}, {
|
|
725
|
+
type: "function";
|
|
726
|
+
name: string;
|
|
727
|
+
}>]>>;
|
|
528
728
|
inferenceParameters: z.ZodOptional<z.ZodObject<{
|
|
529
729
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
530
730
|
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -585,6 +785,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
585
785
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
586
786
|
jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
|
|
587
787
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
788
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
789
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
790
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
791
|
+
}, "strip", z.ZodTypeAny, {
|
|
792
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
793
|
+
config?: Record<string, any> | undefined;
|
|
794
|
+
}, {
|
|
795
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
796
|
+
config?: Record<string, any> | undefined;
|
|
797
|
+
}>, z.ZodObject<{
|
|
798
|
+
type: z.ZodLiteral<"function">;
|
|
799
|
+
name: z.ZodString;
|
|
800
|
+
description: z.ZodString;
|
|
801
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
802
|
+
}, "strip", z.ZodTypeAny, {
|
|
803
|
+
type: "function";
|
|
804
|
+
name: string;
|
|
805
|
+
description: string;
|
|
806
|
+
parameters: Record<string, any>;
|
|
807
|
+
}, {
|
|
808
|
+
type: "function";
|
|
809
|
+
name: string;
|
|
810
|
+
description: string;
|
|
811
|
+
parameters: Record<string, any>;
|
|
812
|
+
}>]>, "many">>;
|
|
813
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
814
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
815
|
+
type: z.ZodLiteral<"function">;
|
|
816
|
+
name: z.ZodString;
|
|
817
|
+
}, "strip", z.ZodTypeAny, {
|
|
818
|
+
type: "function";
|
|
819
|
+
name: string;
|
|
820
|
+
}, {
|
|
821
|
+
type: "function";
|
|
822
|
+
name: string;
|
|
823
|
+
}>]>>;
|
|
588
824
|
}, "strip", z.ZodTypeAny, {
|
|
589
825
|
llmProvider: string;
|
|
590
826
|
modelId: string;
|
|
@@ -598,6 +834,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
598
834
|
topK?: number | undefined;
|
|
599
835
|
seed?: number | undefined;
|
|
600
836
|
} | undefined;
|
|
837
|
+
tools?: ({
|
|
838
|
+
type: "function";
|
|
839
|
+
name: string;
|
|
840
|
+
description: string;
|
|
841
|
+
parameters: Record<string, any>;
|
|
842
|
+
} | {
|
|
843
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
844
|
+
config?: Record<string, any> | undefined;
|
|
845
|
+
})[] | undefined;
|
|
846
|
+
toolsPath?: string | undefined;
|
|
847
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
848
|
+
type: "function";
|
|
849
|
+
name: string;
|
|
850
|
+
} | undefined;
|
|
601
851
|
}, {
|
|
602
852
|
llmProvider: string;
|
|
603
853
|
modelId: string;
|
|
@@ -611,6 +861,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
611
861
|
topK?: number | undefined;
|
|
612
862
|
seed?: number | undefined;
|
|
613
863
|
} | undefined;
|
|
864
|
+
tools?: ({
|
|
865
|
+
type: "function";
|
|
866
|
+
name: string;
|
|
867
|
+
description: string;
|
|
868
|
+
parameters: Record<string, any>;
|
|
869
|
+
} | {
|
|
870
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
871
|
+
config?: Record<string, any> | undefined;
|
|
872
|
+
})[] | undefined;
|
|
873
|
+
toolsPath?: string | undefined;
|
|
874
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
875
|
+
type: "function";
|
|
876
|
+
name: string;
|
|
877
|
+
} | undefined;
|
|
614
878
|
}>, "many">>;
|
|
615
879
|
promptTemplateId: z.ZodOptional<z.ZodString>;
|
|
616
880
|
templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
@@ -707,6 +971,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
707
971
|
mimeType?: string | undefined;
|
|
708
972
|
}>, "many">>;
|
|
709
973
|
mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
|
|
974
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
975
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
976
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
977
|
+
}, "strip", z.ZodTypeAny, {
|
|
978
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
979
|
+
config?: Record<string, any> | undefined;
|
|
980
|
+
}, {
|
|
981
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
982
|
+
config?: Record<string, any> | undefined;
|
|
983
|
+
}>, z.ZodObject<{
|
|
984
|
+
type: z.ZodLiteral<"function">;
|
|
985
|
+
name: z.ZodString;
|
|
986
|
+
description: z.ZodString;
|
|
987
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
988
|
+
}, "strip", z.ZodTypeAny, {
|
|
989
|
+
type: "function";
|
|
990
|
+
name: string;
|
|
991
|
+
description: string;
|
|
992
|
+
parameters: Record<string, any>;
|
|
993
|
+
}, {
|
|
994
|
+
type: "function";
|
|
995
|
+
name: string;
|
|
996
|
+
description: string;
|
|
997
|
+
parameters: Record<string, any>;
|
|
998
|
+
}>]>, "many">>;
|
|
999
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
1000
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
1001
|
+
type: z.ZodLiteral<"function">;
|
|
1002
|
+
name: z.ZodString;
|
|
1003
|
+
}, "strip", z.ZodTypeAny, {
|
|
1004
|
+
type: "function";
|
|
1005
|
+
name: string;
|
|
1006
|
+
}, {
|
|
1007
|
+
type: "function";
|
|
1008
|
+
name: string;
|
|
1009
|
+
}>]>>;
|
|
710
1010
|
inferenceParameters: z.ZodOptional<z.ZodObject<{
|
|
711
1011
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
712
1012
|
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2799,6 +3099,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
2799
3099
|
backoffRate?: number | undefined;
|
|
2800
3100
|
}>>;
|
|
2801
3101
|
fallbackStepInstanceId: z.ZodOptional<z.ZodString>;
|
|
3102
|
+
logLevel: z.ZodOptional<z.ZodEnum<["ERROR", "WARN"]>>;
|
|
2802
3103
|
continueOnFailure: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2803
3104
|
}, "strip", z.ZodTypeAny, {
|
|
2804
3105
|
continueOnFailure: boolean;
|
|
@@ -2814,6 +3115,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
2814
3115
|
backoffRate: number;
|
|
2815
3116
|
} | undefined;
|
|
2816
3117
|
fallbackStepInstanceId?: string | undefined;
|
|
3118
|
+
logLevel?: "WARN" | "ERROR" | undefined;
|
|
2817
3119
|
}, {
|
|
2818
3120
|
retries?: {
|
|
2819
3121
|
count?: number | undefined;
|
|
@@ -2827,6 +3129,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
2827
3129
|
backoffRate?: number | undefined;
|
|
2828
3130
|
} | undefined;
|
|
2829
3131
|
fallbackStepInstanceId?: string | undefined;
|
|
3132
|
+
logLevel?: "WARN" | "ERROR" | undefined;
|
|
2830
3133
|
continueOnFailure?: boolean | undefined;
|
|
2831
3134
|
}>>;
|
|
2832
3135
|
literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -2866,6 +3169,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
2866
3169
|
backoffRate?: number | undefined;
|
|
2867
3170
|
}>>;
|
|
2868
3171
|
fallbackStepInstanceId: z.ZodOptional<z.ZodString>;
|
|
3172
|
+
logLevel: z.ZodOptional<z.ZodEnum<["ERROR", "WARN"]>>;
|
|
2869
3173
|
continueOnFailure: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2870
3174
|
}, "strip", z.ZodTypeAny, {
|
|
2871
3175
|
continueOnFailure: boolean;
|
|
@@ -2881,6 +3185,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
2881
3185
|
backoffRate: number;
|
|
2882
3186
|
} | undefined;
|
|
2883
3187
|
fallbackStepInstanceId?: string | undefined;
|
|
3188
|
+
logLevel?: "WARN" | "ERROR" | undefined;
|
|
2884
3189
|
}, {
|
|
2885
3190
|
retries?: {
|
|
2886
3191
|
count?: number | undefined;
|
|
@@ -2894,6 +3199,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
2894
3199
|
backoffRate?: number | undefined;
|
|
2895
3200
|
} | undefined;
|
|
2896
3201
|
fallbackStepInstanceId?: string | undefined;
|
|
3202
|
+
logLevel?: "WARN" | "ERROR" | undefined;
|
|
2897
3203
|
continueOnFailure?: boolean | undefined;
|
|
2898
3204
|
}>>;
|
|
2899
3205
|
literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -2933,6 +3239,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
2933
3239
|
backoffRate?: number | undefined;
|
|
2934
3240
|
}>>;
|
|
2935
3241
|
fallbackStepInstanceId: z.ZodOptional<z.ZodString>;
|
|
3242
|
+
logLevel: z.ZodOptional<z.ZodEnum<["ERROR", "WARN"]>>;
|
|
2936
3243
|
continueOnFailure: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2937
3244
|
}, "strip", z.ZodTypeAny, {
|
|
2938
3245
|
continueOnFailure: boolean;
|
|
@@ -2948,6 +3255,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
2948
3255
|
backoffRate: number;
|
|
2949
3256
|
} | undefined;
|
|
2950
3257
|
fallbackStepInstanceId?: string | undefined;
|
|
3258
|
+
logLevel?: "WARN" | "ERROR" | undefined;
|
|
2951
3259
|
}, {
|
|
2952
3260
|
retries?: {
|
|
2953
3261
|
count?: number | undefined;
|
|
@@ -2961,6 +3269,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
2961
3269
|
backoffRate?: number | undefined;
|
|
2962
3270
|
} | undefined;
|
|
2963
3271
|
fallbackStepInstanceId?: string | undefined;
|
|
3272
|
+
logLevel?: "WARN" | "ERROR" | undefined;
|
|
2964
3273
|
continueOnFailure?: boolean | undefined;
|
|
2965
3274
|
}>>;
|
|
2966
3275
|
literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -3101,6 +3410,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
3101
3410
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3102
3411
|
jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
|
|
3103
3412
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
3413
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
3414
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
3415
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3416
|
+
}, "strip", z.ZodTypeAny, {
|
|
3417
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
3418
|
+
config?: Record<string, any> | undefined;
|
|
3419
|
+
}, {
|
|
3420
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
3421
|
+
config?: Record<string, any> | undefined;
|
|
3422
|
+
}>, z.ZodObject<{
|
|
3423
|
+
type: z.ZodLiteral<"function">;
|
|
3424
|
+
name: z.ZodString;
|
|
3425
|
+
description: z.ZodString;
|
|
3426
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3427
|
+
}, "strip", z.ZodTypeAny, {
|
|
3428
|
+
type: "function";
|
|
3429
|
+
name: string;
|
|
3430
|
+
description: string;
|
|
3431
|
+
parameters: Record<string, any>;
|
|
3432
|
+
}, {
|
|
3433
|
+
type: "function";
|
|
3434
|
+
name: string;
|
|
3435
|
+
description: string;
|
|
3436
|
+
parameters: Record<string, any>;
|
|
3437
|
+
}>]>, "many">>;
|
|
3438
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
3439
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
3440
|
+
type: z.ZodLiteral<"function">;
|
|
3441
|
+
name: z.ZodString;
|
|
3442
|
+
}, "strip", z.ZodTypeAny, {
|
|
3443
|
+
type: "function";
|
|
3444
|
+
name: string;
|
|
3445
|
+
}, {
|
|
3446
|
+
type: "function";
|
|
3447
|
+
name: string;
|
|
3448
|
+
}>]>>;
|
|
3104
3449
|
}, "strip", z.ZodTypeAny, {
|
|
3105
3450
|
llmProvider: string;
|
|
3106
3451
|
modelId: string;
|
|
@@ -3114,6 +3459,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
3114
3459
|
topK?: number | undefined;
|
|
3115
3460
|
seed?: number | undefined;
|
|
3116
3461
|
} | undefined;
|
|
3462
|
+
tools?: ({
|
|
3463
|
+
type: "function";
|
|
3464
|
+
name: string;
|
|
3465
|
+
description: string;
|
|
3466
|
+
parameters: Record<string, any>;
|
|
3467
|
+
} | {
|
|
3468
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
3469
|
+
config?: Record<string, any> | undefined;
|
|
3470
|
+
})[] | undefined;
|
|
3471
|
+
toolsPath?: string | undefined;
|
|
3472
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
3473
|
+
type: "function";
|
|
3474
|
+
name: string;
|
|
3475
|
+
} | undefined;
|
|
3117
3476
|
}, {
|
|
3118
3477
|
llmProvider: string;
|
|
3119
3478
|
modelId: string;
|
|
@@ -3127,6 +3486,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
3127
3486
|
topK?: number | undefined;
|
|
3128
3487
|
seed?: number | undefined;
|
|
3129
3488
|
} | undefined;
|
|
3489
|
+
tools?: ({
|
|
3490
|
+
type: "function";
|
|
3491
|
+
name: string;
|
|
3492
|
+
description: string;
|
|
3493
|
+
parameters: Record<string, any>;
|
|
3494
|
+
} | {
|
|
3495
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
3496
|
+
config?: Record<string, any> | undefined;
|
|
3497
|
+
})[] | undefined;
|
|
3498
|
+
toolsPath?: string | undefined;
|
|
3499
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
3500
|
+
type: "function";
|
|
3501
|
+
name: string;
|
|
3502
|
+
} | undefined;
|
|
3130
3503
|
}>, "many">>;
|
|
3131
3504
|
promptTemplateId: z.ZodOptional<z.ZodString>;
|
|
3132
3505
|
templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
@@ -3223,6 +3596,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
3223
3596
|
mimeType?: string | undefined;
|
|
3224
3597
|
}>, "many">>;
|
|
3225
3598
|
mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
|
|
3599
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
3600
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
3601
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3602
|
+
}, "strip", z.ZodTypeAny, {
|
|
3603
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
3604
|
+
config?: Record<string, any> | undefined;
|
|
3605
|
+
}, {
|
|
3606
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
3607
|
+
config?: Record<string, any> | undefined;
|
|
3608
|
+
}>, z.ZodObject<{
|
|
3609
|
+
type: z.ZodLiteral<"function">;
|
|
3610
|
+
name: z.ZodString;
|
|
3611
|
+
description: z.ZodString;
|
|
3612
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3613
|
+
}, "strip", z.ZodTypeAny, {
|
|
3614
|
+
type: "function";
|
|
3615
|
+
name: string;
|
|
3616
|
+
description: string;
|
|
3617
|
+
parameters: Record<string, any>;
|
|
3618
|
+
}, {
|
|
3619
|
+
type: "function";
|
|
3620
|
+
name: string;
|
|
3621
|
+
description: string;
|
|
3622
|
+
parameters: Record<string, any>;
|
|
3623
|
+
}>]>, "many">>;
|
|
3624
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
3625
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
3626
|
+
type: z.ZodLiteral<"function">;
|
|
3627
|
+
name: z.ZodString;
|
|
3628
|
+
}, "strip", z.ZodTypeAny, {
|
|
3629
|
+
type: "function";
|
|
3630
|
+
name: string;
|
|
3631
|
+
}, {
|
|
3632
|
+
type: "function";
|
|
3633
|
+
name: string;
|
|
3634
|
+
}>]>>;
|
|
3226
3635
|
inferenceParameters: z.ZodOptional<z.ZodObject<{
|
|
3227
3636
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
3228
3637
|
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3844,6 +4253,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
3844
4253
|
backoffRate: number;
|
|
3845
4254
|
} | undefined;
|
|
3846
4255
|
fallbackStepInstanceId?: string | undefined;
|
|
4256
|
+
logLevel?: "WARN" | "ERROR" | undefined;
|
|
3847
4257
|
} | undefined;
|
|
3848
4258
|
} & {
|
|
3849
4259
|
[k: string]: unknown;
|
|
@@ -3983,6 +4393,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
3983
4393
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3984
4394
|
jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
|
|
3985
4395
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
4396
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
4397
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
4398
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4399
|
+
}, "strip", z.ZodTypeAny, {
|
|
4400
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
4401
|
+
config?: Record<string, any> | undefined;
|
|
4402
|
+
}, {
|
|
4403
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
4404
|
+
config?: Record<string, any> | undefined;
|
|
4405
|
+
}>, z.ZodObject<{
|
|
4406
|
+
type: z.ZodLiteral<"function">;
|
|
4407
|
+
name: z.ZodString;
|
|
4408
|
+
description: z.ZodString;
|
|
4409
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4410
|
+
}, "strip", z.ZodTypeAny, {
|
|
4411
|
+
type: "function";
|
|
4412
|
+
name: string;
|
|
4413
|
+
description: string;
|
|
4414
|
+
parameters: Record<string, any>;
|
|
4415
|
+
}, {
|
|
4416
|
+
type: "function";
|
|
4417
|
+
name: string;
|
|
4418
|
+
description: string;
|
|
4419
|
+
parameters: Record<string, any>;
|
|
4420
|
+
}>]>, "many">>;
|
|
4421
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
4422
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
4423
|
+
type: z.ZodLiteral<"function">;
|
|
4424
|
+
name: z.ZodString;
|
|
4425
|
+
}, "strip", z.ZodTypeAny, {
|
|
4426
|
+
type: "function";
|
|
4427
|
+
name: string;
|
|
4428
|
+
}, {
|
|
4429
|
+
type: "function";
|
|
4430
|
+
name: string;
|
|
4431
|
+
}>]>>;
|
|
3986
4432
|
}, "strip", z.ZodTypeAny, {
|
|
3987
4433
|
llmProvider: string;
|
|
3988
4434
|
modelId: string;
|
|
@@ -3996,6 +4442,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
3996
4442
|
topK?: number | undefined;
|
|
3997
4443
|
seed?: number | undefined;
|
|
3998
4444
|
} | undefined;
|
|
4445
|
+
tools?: ({
|
|
4446
|
+
type: "function";
|
|
4447
|
+
name: string;
|
|
4448
|
+
description: string;
|
|
4449
|
+
parameters: Record<string, any>;
|
|
4450
|
+
} | {
|
|
4451
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
4452
|
+
config?: Record<string, any> | undefined;
|
|
4453
|
+
})[] | undefined;
|
|
4454
|
+
toolsPath?: string | undefined;
|
|
4455
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
4456
|
+
type: "function";
|
|
4457
|
+
name: string;
|
|
4458
|
+
} | undefined;
|
|
3999
4459
|
}, {
|
|
4000
4460
|
llmProvider: string;
|
|
4001
4461
|
modelId: string;
|
|
@@ -4009,6 +4469,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
4009
4469
|
topK?: number | undefined;
|
|
4010
4470
|
seed?: number | undefined;
|
|
4011
4471
|
} | undefined;
|
|
4472
|
+
tools?: ({
|
|
4473
|
+
type: "function";
|
|
4474
|
+
name: string;
|
|
4475
|
+
description: string;
|
|
4476
|
+
parameters: Record<string, any>;
|
|
4477
|
+
} | {
|
|
4478
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
4479
|
+
config?: Record<string, any> | undefined;
|
|
4480
|
+
})[] | undefined;
|
|
4481
|
+
toolsPath?: string | undefined;
|
|
4482
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
4483
|
+
type: "function";
|
|
4484
|
+
name: string;
|
|
4485
|
+
} | undefined;
|
|
4012
4486
|
}>, "many">>;
|
|
4013
4487
|
promptTemplateId: z.ZodOptional<z.ZodString>;
|
|
4014
4488
|
templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
@@ -4105,6 +4579,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
4105
4579
|
mimeType?: string | undefined;
|
|
4106
4580
|
}>, "many">>;
|
|
4107
4581
|
mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
|
|
4582
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
4583
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
4584
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4585
|
+
}, "strip", z.ZodTypeAny, {
|
|
4586
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
4587
|
+
config?: Record<string, any> | undefined;
|
|
4588
|
+
}, {
|
|
4589
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
4590
|
+
config?: Record<string, any> | undefined;
|
|
4591
|
+
}>, z.ZodObject<{
|
|
4592
|
+
type: z.ZodLiteral<"function">;
|
|
4593
|
+
name: z.ZodString;
|
|
4594
|
+
description: z.ZodString;
|
|
4595
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4596
|
+
}, "strip", z.ZodTypeAny, {
|
|
4597
|
+
type: "function";
|
|
4598
|
+
name: string;
|
|
4599
|
+
description: string;
|
|
4600
|
+
parameters: Record<string, any>;
|
|
4601
|
+
}, {
|
|
4602
|
+
type: "function";
|
|
4603
|
+
name: string;
|
|
4604
|
+
description: string;
|
|
4605
|
+
parameters: Record<string, any>;
|
|
4606
|
+
}>]>, "many">>;
|
|
4607
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
4608
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
4609
|
+
type: z.ZodLiteral<"function">;
|
|
4610
|
+
name: z.ZodString;
|
|
4611
|
+
}, "strip", z.ZodTypeAny, {
|
|
4612
|
+
type: "function";
|
|
4613
|
+
name: string;
|
|
4614
|
+
}, {
|
|
4615
|
+
type: "function";
|
|
4616
|
+
name: string;
|
|
4617
|
+
}>]>>;
|
|
4108
4618
|
inferenceParameters: z.ZodOptional<z.ZodObject<{
|
|
4109
4619
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
4110
4620
|
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4725,6 +5235,7 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
4725
5235
|
backoffRate?: number | undefined;
|
|
4726
5236
|
} | undefined;
|
|
4727
5237
|
fallbackStepInstanceId?: string | undefined;
|
|
5238
|
+
logLevel?: "WARN" | "ERROR" | undefined;
|
|
4728
5239
|
continueOnFailure?: boolean | undefined;
|
|
4729
5240
|
} | undefined;
|
|
4730
5241
|
} & {
|
|
@@ -4777,6 +5288,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
4777
5288
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4778
5289
|
jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
|
|
4779
5290
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
5291
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
5292
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
5293
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5294
|
+
}, "strip", z.ZodTypeAny, {
|
|
5295
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
5296
|
+
config?: Record<string, any> | undefined;
|
|
5297
|
+
}, {
|
|
5298
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
5299
|
+
config?: Record<string, any> | undefined;
|
|
5300
|
+
}>, z.ZodObject<{
|
|
5301
|
+
type: z.ZodLiteral<"function">;
|
|
5302
|
+
name: z.ZodString;
|
|
5303
|
+
description: z.ZodString;
|
|
5304
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
5305
|
+
}, "strip", z.ZodTypeAny, {
|
|
5306
|
+
type: "function";
|
|
5307
|
+
name: string;
|
|
5308
|
+
description: string;
|
|
5309
|
+
parameters: Record<string, any>;
|
|
5310
|
+
}, {
|
|
5311
|
+
type: "function";
|
|
5312
|
+
name: string;
|
|
5313
|
+
description: string;
|
|
5314
|
+
parameters: Record<string, any>;
|
|
5315
|
+
}>]>, "many">>;
|
|
5316
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
5317
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
5318
|
+
type: z.ZodLiteral<"function">;
|
|
5319
|
+
name: z.ZodString;
|
|
5320
|
+
}, "strip", z.ZodTypeAny, {
|
|
5321
|
+
type: "function";
|
|
5322
|
+
name: string;
|
|
5323
|
+
}, {
|
|
5324
|
+
type: "function";
|
|
5325
|
+
name: string;
|
|
5326
|
+
}>]>>;
|
|
4780
5327
|
}, "strip", z.ZodTypeAny, {
|
|
4781
5328
|
llmProvider: string;
|
|
4782
5329
|
modelId: string;
|
|
@@ -4790,6 +5337,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
4790
5337
|
topK?: number | undefined;
|
|
4791
5338
|
seed?: number | undefined;
|
|
4792
5339
|
} | undefined;
|
|
5340
|
+
tools?: ({
|
|
5341
|
+
type: "function";
|
|
5342
|
+
name: string;
|
|
5343
|
+
description: string;
|
|
5344
|
+
parameters: Record<string, any>;
|
|
5345
|
+
} | {
|
|
5346
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
5347
|
+
config?: Record<string, any> | undefined;
|
|
5348
|
+
})[] | undefined;
|
|
5349
|
+
toolsPath?: string | undefined;
|
|
5350
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
5351
|
+
type: "function";
|
|
5352
|
+
name: string;
|
|
5353
|
+
} | undefined;
|
|
4793
5354
|
}, {
|
|
4794
5355
|
llmProvider: string;
|
|
4795
5356
|
modelId: string;
|
|
@@ -4803,6 +5364,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
4803
5364
|
topK?: number | undefined;
|
|
4804
5365
|
seed?: number | undefined;
|
|
4805
5366
|
} | undefined;
|
|
5367
|
+
tools?: ({
|
|
5368
|
+
type: "function";
|
|
5369
|
+
name: string;
|
|
5370
|
+
description: string;
|
|
5371
|
+
parameters: Record<string, any>;
|
|
5372
|
+
} | {
|
|
5373
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
5374
|
+
config?: Record<string, any> | undefined;
|
|
5375
|
+
})[] | undefined;
|
|
5376
|
+
toolsPath?: string | undefined;
|
|
5377
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
5378
|
+
type: "function";
|
|
5379
|
+
name: string;
|
|
5380
|
+
} | undefined;
|
|
4806
5381
|
}>, "many">>;
|
|
4807
5382
|
promptTemplateId: z.ZodOptional<z.ZodString>;
|
|
4808
5383
|
templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
@@ -4899,6 +5474,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
4899
5474
|
mimeType?: string | undefined;
|
|
4900
5475
|
}>, "many">>;
|
|
4901
5476
|
mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
|
|
5477
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
5478
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
5479
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5480
|
+
}, "strip", z.ZodTypeAny, {
|
|
5481
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
5482
|
+
config?: Record<string, any> | undefined;
|
|
5483
|
+
}, {
|
|
5484
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
5485
|
+
config?: Record<string, any> | undefined;
|
|
5486
|
+
}>, z.ZodObject<{
|
|
5487
|
+
type: z.ZodLiteral<"function">;
|
|
5488
|
+
name: z.ZodString;
|
|
5489
|
+
description: z.ZodString;
|
|
5490
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
5491
|
+
}, "strip", z.ZodTypeAny, {
|
|
5492
|
+
type: "function";
|
|
5493
|
+
name: string;
|
|
5494
|
+
description: string;
|
|
5495
|
+
parameters: Record<string, any>;
|
|
5496
|
+
}, {
|
|
5497
|
+
type: "function";
|
|
5498
|
+
name: string;
|
|
5499
|
+
description: string;
|
|
5500
|
+
parameters: Record<string, any>;
|
|
5501
|
+
}>]>, "many">>;
|
|
5502
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
5503
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
5504
|
+
type: z.ZodLiteral<"function">;
|
|
5505
|
+
name: z.ZodString;
|
|
5506
|
+
}, "strip", z.ZodTypeAny, {
|
|
5507
|
+
type: "function";
|
|
5508
|
+
name: string;
|
|
5509
|
+
}, {
|
|
5510
|
+
type: "function";
|
|
5511
|
+
name: string;
|
|
5512
|
+
}>]>>;
|
|
4902
5513
|
inferenceParameters: z.ZodOptional<z.ZodObject<{
|
|
4903
5514
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
4904
5515
|
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4959,6 +5570,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
4959
5570
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4960
5571
|
jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
|
|
4961
5572
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
5573
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
5574
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
5575
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5576
|
+
}, "strip", z.ZodTypeAny, {
|
|
5577
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
5578
|
+
config?: Record<string, any> | undefined;
|
|
5579
|
+
}, {
|
|
5580
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
5581
|
+
config?: Record<string, any> | undefined;
|
|
5582
|
+
}>, z.ZodObject<{
|
|
5583
|
+
type: z.ZodLiteral<"function">;
|
|
5584
|
+
name: z.ZodString;
|
|
5585
|
+
description: z.ZodString;
|
|
5586
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
5587
|
+
}, "strip", z.ZodTypeAny, {
|
|
5588
|
+
type: "function";
|
|
5589
|
+
name: string;
|
|
5590
|
+
description: string;
|
|
5591
|
+
parameters: Record<string, any>;
|
|
5592
|
+
}, {
|
|
5593
|
+
type: "function";
|
|
5594
|
+
name: string;
|
|
5595
|
+
description: string;
|
|
5596
|
+
parameters: Record<string, any>;
|
|
5597
|
+
}>]>, "many">>;
|
|
5598
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
5599
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
5600
|
+
type: z.ZodLiteral<"function">;
|
|
5601
|
+
name: z.ZodString;
|
|
5602
|
+
}, "strip", z.ZodTypeAny, {
|
|
5603
|
+
type: "function";
|
|
5604
|
+
name: string;
|
|
5605
|
+
}, {
|
|
5606
|
+
type: "function";
|
|
5607
|
+
name: string;
|
|
5608
|
+
}>]>>;
|
|
4962
5609
|
}, "strip", z.ZodTypeAny, {
|
|
4963
5610
|
llmProvider: string;
|
|
4964
5611
|
modelId: string;
|
|
@@ -4972,6 +5619,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
4972
5619
|
topK?: number | undefined;
|
|
4973
5620
|
seed?: number | undefined;
|
|
4974
5621
|
} | undefined;
|
|
5622
|
+
tools?: ({
|
|
5623
|
+
type: "function";
|
|
5624
|
+
name: string;
|
|
5625
|
+
description: string;
|
|
5626
|
+
parameters: Record<string, any>;
|
|
5627
|
+
} | {
|
|
5628
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
5629
|
+
config?: Record<string, any> | undefined;
|
|
5630
|
+
})[] | undefined;
|
|
5631
|
+
toolsPath?: string | undefined;
|
|
5632
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
5633
|
+
type: "function";
|
|
5634
|
+
name: string;
|
|
5635
|
+
} | undefined;
|
|
4975
5636
|
}, {
|
|
4976
5637
|
llmProvider: string;
|
|
4977
5638
|
modelId: string;
|
|
@@ -4985,6 +5646,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
4985
5646
|
topK?: number | undefined;
|
|
4986
5647
|
seed?: number | undefined;
|
|
4987
5648
|
} | undefined;
|
|
5649
|
+
tools?: ({
|
|
5650
|
+
type: "function";
|
|
5651
|
+
name: string;
|
|
5652
|
+
description: string;
|
|
5653
|
+
parameters: Record<string, any>;
|
|
5654
|
+
} | {
|
|
5655
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
5656
|
+
config?: Record<string, any> | undefined;
|
|
5657
|
+
})[] | undefined;
|
|
5658
|
+
toolsPath?: string | undefined;
|
|
5659
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
5660
|
+
type: "function";
|
|
5661
|
+
name: string;
|
|
5662
|
+
} | undefined;
|
|
4988
5663
|
}>, "many">>;
|
|
4989
5664
|
promptTemplateId: z.ZodOptional<z.ZodString>;
|
|
4990
5665
|
templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
@@ -5081,6 +5756,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
5081
5756
|
mimeType?: string | undefined;
|
|
5082
5757
|
}>, "many">>;
|
|
5083
5758
|
mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
|
|
5759
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
5760
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
5761
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5762
|
+
}, "strip", z.ZodTypeAny, {
|
|
5763
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
5764
|
+
config?: Record<string, any> | undefined;
|
|
5765
|
+
}, {
|
|
5766
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
5767
|
+
config?: Record<string, any> | undefined;
|
|
5768
|
+
}>, z.ZodObject<{
|
|
5769
|
+
type: z.ZodLiteral<"function">;
|
|
5770
|
+
name: z.ZodString;
|
|
5771
|
+
description: z.ZodString;
|
|
5772
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
5773
|
+
}, "strip", z.ZodTypeAny, {
|
|
5774
|
+
type: "function";
|
|
5775
|
+
name: string;
|
|
5776
|
+
description: string;
|
|
5777
|
+
parameters: Record<string, any>;
|
|
5778
|
+
}, {
|
|
5779
|
+
type: "function";
|
|
5780
|
+
name: string;
|
|
5781
|
+
description: string;
|
|
5782
|
+
parameters: Record<string, any>;
|
|
5783
|
+
}>]>, "many">>;
|
|
5784
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
5785
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
5786
|
+
type: z.ZodLiteral<"function">;
|
|
5787
|
+
name: z.ZodString;
|
|
5788
|
+
}, "strip", z.ZodTypeAny, {
|
|
5789
|
+
type: "function";
|
|
5790
|
+
name: string;
|
|
5791
|
+
}, {
|
|
5792
|
+
type: "function";
|
|
5793
|
+
name: string;
|
|
5794
|
+
}>]>>;
|
|
5084
5795
|
inferenceParameters: z.ZodOptional<z.ZodObject<{
|
|
5085
5796
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
5086
5797
|
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5141,6 +5852,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
5141
5852
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5142
5853
|
jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
|
|
5143
5854
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
5855
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
5856
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
5857
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5858
|
+
}, "strip", z.ZodTypeAny, {
|
|
5859
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
5860
|
+
config?: Record<string, any> | undefined;
|
|
5861
|
+
}, {
|
|
5862
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
5863
|
+
config?: Record<string, any> | undefined;
|
|
5864
|
+
}>, z.ZodObject<{
|
|
5865
|
+
type: z.ZodLiteral<"function">;
|
|
5866
|
+
name: z.ZodString;
|
|
5867
|
+
description: z.ZodString;
|
|
5868
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
5869
|
+
}, "strip", z.ZodTypeAny, {
|
|
5870
|
+
type: "function";
|
|
5871
|
+
name: string;
|
|
5872
|
+
description: string;
|
|
5873
|
+
parameters: Record<string, any>;
|
|
5874
|
+
}, {
|
|
5875
|
+
type: "function";
|
|
5876
|
+
name: string;
|
|
5877
|
+
description: string;
|
|
5878
|
+
parameters: Record<string, any>;
|
|
5879
|
+
}>]>, "many">>;
|
|
5880
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
5881
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
5882
|
+
type: z.ZodLiteral<"function">;
|
|
5883
|
+
name: z.ZodString;
|
|
5884
|
+
}, "strip", z.ZodTypeAny, {
|
|
5885
|
+
type: "function";
|
|
5886
|
+
name: string;
|
|
5887
|
+
}, {
|
|
5888
|
+
type: "function";
|
|
5889
|
+
name: string;
|
|
5890
|
+
}>]>>;
|
|
5144
5891
|
}, "strip", z.ZodTypeAny, {
|
|
5145
5892
|
llmProvider: string;
|
|
5146
5893
|
modelId: string;
|
|
@@ -5154,6 +5901,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
5154
5901
|
topK?: number | undefined;
|
|
5155
5902
|
seed?: number | undefined;
|
|
5156
5903
|
} | undefined;
|
|
5904
|
+
tools?: ({
|
|
5905
|
+
type: "function";
|
|
5906
|
+
name: string;
|
|
5907
|
+
description: string;
|
|
5908
|
+
parameters: Record<string, any>;
|
|
5909
|
+
} | {
|
|
5910
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
5911
|
+
config?: Record<string, any> | undefined;
|
|
5912
|
+
})[] | undefined;
|
|
5913
|
+
toolsPath?: string | undefined;
|
|
5914
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
5915
|
+
type: "function";
|
|
5916
|
+
name: string;
|
|
5917
|
+
} | undefined;
|
|
5157
5918
|
}, {
|
|
5158
5919
|
llmProvider: string;
|
|
5159
5920
|
modelId: string;
|
|
@@ -5167,6 +5928,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
5167
5928
|
topK?: number | undefined;
|
|
5168
5929
|
seed?: number | undefined;
|
|
5169
5930
|
} | undefined;
|
|
5931
|
+
tools?: ({
|
|
5932
|
+
type: "function";
|
|
5933
|
+
name: string;
|
|
5934
|
+
description: string;
|
|
5935
|
+
parameters: Record<string, any>;
|
|
5936
|
+
} | {
|
|
5937
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
5938
|
+
config?: Record<string, any> | undefined;
|
|
5939
|
+
})[] | undefined;
|
|
5940
|
+
toolsPath?: string | undefined;
|
|
5941
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
5942
|
+
type: "function";
|
|
5943
|
+
name: string;
|
|
5944
|
+
} | undefined;
|
|
5170
5945
|
}>, "many">>;
|
|
5171
5946
|
promptTemplateId: z.ZodOptional<z.ZodString>;
|
|
5172
5947
|
templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
@@ -5263,6 +6038,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
5263
6038
|
mimeType?: string | undefined;
|
|
5264
6039
|
}>, "many">>;
|
|
5265
6040
|
mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
|
|
6041
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
6042
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
6043
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6044
|
+
}, "strip", z.ZodTypeAny, {
|
|
6045
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
6046
|
+
config?: Record<string, any> | undefined;
|
|
6047
|
+
}, {
|
|
6048
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
6049
|
+
config?: Record<string, any> | undefined;
|
|
6050
|
+
}>, z.ZodObject<{
|
|
6051
|
+
type: z.ZodLiteral<"function">;
|
|
6052
|
+
name: z.ZodString;
|
|
6053
|
+
description: z.ZodString;
|
|
6054
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
6055
|
+
}, "strip", z.ZodTypeAny, {
|
|
6056
|
+
type: "function";
|
|
6057
|
+
name: string;
|
|
6058
|
+
description: string;
|
|
6059
|
+
parameters: Record<string, any>;
|
|
6060
|
+
}, {
|
|
6061
|
+
type: "function";
|
|
6062
|
+
name: string;
|
|
6063
|
+
description: string;
|
|
6064
|
+
parameters: Record<string, any>;
|
|
6065
|
+
}>]>, "many">>;
|
|
6066
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
6067
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
6068
|
+
type: z.ZodLiteral<"function">;
|
|
6069
|
+
name: z.ZodString;
|
|
6070
|
+
}, "strip", z.ZodTypeAny, {
|
|
6071
|
+
type: "function";
|
|
6072
|
+
name: string;
|
|
6073
|
+
}, {
|
|
6074
|
+
type: "function";
|
|
6075
|
+
name: string;
|
|
6076
|
+
}>]>>;
|
|
5266
6077
|
inferenceParameters: z.ZodOptional<z.ZodObject<{
|
|
5267
6078
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
5268
6079
|
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7355,6 +8166,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
7355
8166
|
backoffRate?: number | undefined;
|
|
7356
8167
|
}>>;
|
|
7357
8168
|
fallbackStepInstanceId: z.ZodOptional<z.ZodString>;
|
|
8169
|
+
logLevel: z.ZodOptional<z.ZodEnum<["ERROR", "WARN"]>>;
|
|
7358
8170
|
continueOnFailure: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
7359
8171
|
}, "strip", z.ZodTypeAny, {
|
|
7360
8172
|
continueOnFailure: boolean;
|
|
@@ -7370,6 +8182,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
7370
8182
|
backoffRate: number;
|
|
7371
8183
|
} | undefined;
|
|
7372
8184
|
fallbackStepInstanceId?: string | undefined;
|
|
8185
|
+
logLevel?: "WARN" | "ERROR" | undefined;
|
|
7373
8186
|
}, {
|
|
7374
8187
|
retries?: {
|
|
7375
8188
|
count?: number | undefined;
|
|
@@ -7383,6 +8196,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
7383
8196
|
backoffRate?: number | undefined;
|
|
7384
8197
|
} | undefined;
|
|
7385
8198
|
fallbackStepInstanceId?: string | undefined;
|
|
8199
|
+
logLevel?: "WARN" | "ERROR" | undefined;
|
|
7386
8200
|
continueOnFailure?: boolean | undefined;
|
|
7387
8201
|
}>>;
|
|
7388
8202
|
literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -7422,6 +8236,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
7422
8236
|
backoffRate?: number | undefined;
|
|
7423
8237
|
}>>;
|
|
7424
8238
|
fallbackStepInstanceId: z.ZodOptional<z.ZodString>;
|
|
8239
|
+
logLevel: z.ZodOptional<z.ZodEnum<["ERROR", "WARN"]>>;
|
|
7425
8240
|
continueOnFailure: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
7426
8241
|
}, "strip", z.ZodTypeAny, {
|
|
7427
8242
|
continueOnFailure: boolean;
|
|
@@ -7437,6 +8252,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
7437
8252
|
backoffRate: number;
|
|
7438
8253
|
} | undefined;
|
|
7439
8254
|
fallbackStepInstanceId?: string | undefined;
|
|
8255
|
+
logLevel?: "WARN" | "ERROR" | undefined;
|
|
7440
8256
|
}, {
|
|
7441
8257
|
retries?: {
|
|
7442
8258
|
count?: number | undefined;
|
|
@@ -7450,6 +8266,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
7450
8266
|
backoffRate?: number | undefined;
|
|
7451
8267
|
} | undefined;
|
|
7452
8268
|
fallbackStepInstanceId?: string | undefined;
|
|
8269
|
+
logLevel?: "WARN" | "ERROR" | undefined;
|
|
7453
8270
|
continueOnFailure?: boolean | undefined;
|
|
7454
8271
|
}>>;
|
|
7455
8272
|
literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -7489,6 +8306,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
7489
8306
|
backoffRate?: number | undefined;
|
|
7490
8307
|
}>>;
|
|
7491
8308
|
fallbackStepInstanceId: z.ZodOptional<z.ZodString>;
|
|
8309
|
+
logLevel: z.ZodOptional<z.ZodEnum<["ERROR", "WARN"]>>;
|
|
7492
8310
|
continueOnFailure: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
7493
8311
|
}, "strip", z.ZodTypeAny, {
|
|
7494
8312
|
continueOnFailure: boolean;
|
|
@@ -7504,6 +8322,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
7504
8322
|
backoffRate: number;
|
|
7505
8323
|
} | undefined;
|
|
7506
8324
|
fallbackStepInstanceId?: string | undefined;
|
|
8325
|
+
logLevel?: "WARN" | "ERROR" | undefined;
|
|
7507
8326
|
}, {
|
|
7508
8327
|
retries?: {
|
|
7509
8328
|
count?: number | undefined;
|
|
@@ -7517,6 +8336,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
7517
8336
|
backoffRate?: number | undefined;
|
|
7518
8337
|
} | undefined;
|
|
7519
8338
|
fallbackStepInstanceId?: string | undefined;
|
|
8339
|
+
logLevel?: "WARN" | "ERROR" | undefined;
|
|
7520
8340
|
continueOnFailure?: boolean | undefined;
|
|
7521
8341
|
}>>;
|
|
7522
8342
|
literals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -7657,6 +8477,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
7657
8477
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7658
8478
|
jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
|
|
7659
8479
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
8480
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
8481
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
8482
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8483
|
+
}, "strip", z.ZodTypeAny, {
|
|
8484
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
8485
|
+
config?: Record<string, any> | undefined;
|
|
8486
|
+
}, {
|
|
8487
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
8488
|
+
config?: Record<string, any> | undefined;
|
|
8489
|
+
}>, z.ZodObject<{
|
|
8490
|
+
type: z.ZodLiteral<"function">;
|
|
8491
|
+
name: z.ZodString;
|
|
8492
|
+
description: z.ZodString;
|
|
8493
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
8494
|
+
}, "strip", z.ZodTypeAny, {
|
|
8495
|
+
type: "function";
|
|
8496
|
+
name: string;
|
|
8497
|
+
description: string;
|
|
8498
|
+
parameters: Record<string, any>;
|
|
8499
|
+
}, {
|
|
8500
|
+
type: "function";
|
|
8501
|
+
name: string;
|
|
8502
|
+
description: string;
|
|
8503
|
+
parameters: Record<string, any>;
|
|
8504
|
+
}>]>, "many">>;
|
|
8505
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
8506
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
8507
|
+
type: z.ZodLiteral<"function">;
|
|
8508
|
+
name: z.ZodString;
|
|
8509
|
+
}, "strip", z.ZodTypeAny, {
|
|
8510
|
+
type: "function";
|
|
8511
|
+
name: string;
|
|
8512
|
+
}, {
|
|
8513
|
+
type: "function";
|
|
8514
|
+
name: string;
|
|
8515
|
+
}>]>>;
|
|
7660
8516
|
}, "strip", z.ZodTypeAny, {
|
|
7661
8517
|
llmProvider: string;
|
|
7662
8518
|
modelId: string;
|
|
@@ -7670,6 +8526,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
7670
8526
|
topK?: number | undefined;
|
|
7671
8527
|
seed?: number | undefined;
|
|
7672
8528
|
} | undefined;
|
|
8529
|
+
tools?: ({
|
|
8530
|
+
type: "function";
|
|
8531
|
+
name: string;
|
|
8532
|
+
description: string;
|
|
8533
|
+
parameters: Record<string, any>;
|
|
8534
|
+
} | {
|
|
8535
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
8536
|
+
config?: Record<string, any> | undefined;
|
|
8537
|
+
})[] | undefined;
|
|
8538
|
+
toolsPath?: string | undefined;
|
|
8539
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
8540
|
+
type: "function";
|
|
8541
|
+
name: string;
|
|
8542
|
+
} | undefined;
|
|
7673
8543
|
}, {
|
|
7674
8544
|
llmProvider: string;
|
|
7675
8545
|
modelId: string;
|
|
@@ -7683,6 +8553,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
7683
8553
|
topK?: number | undefined;
|
|
7684
8554
|
seed?: number | undefined;
|
|
7685
8555
|
} | undefined;
|
|
8556
|
+
tools?: ({
|
|
8557
|
+
type: "function";
|
|
8558
|
+
name: string;
|
|
8559
|
+
description: string;
|
|
8560
|
+
parameters: Record<string, any>;
|
|
8561
|
+
} | {
|
|
8562
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
8563
|
+
config?: Record<string, any> | undefined;
|
|
8564
|
+
})[] | undefined;
|
|
8565
|
+
toolsPath?: string | undefined;
|
|
8566
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
8567
|
+
type: "function";
|
|
8568
|
+
name: string;
|
|
8569
|
+
} | undefined;
|
|
7686
8570
|
}>, "many">>;
|
|
7687
8571
|
promptTemplateId: z.ZodOptional<z.ZodString>;
|
|
7688
8572
|
templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
@@ -7779,6 +8663,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
7779
8663
|
mimeType?: string | undefined;
|
|
7780
8664
|
}>, "many">>;
|
|
7781
8665
|
mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
|
|
8666
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
8667
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
8668
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8669
|
+
}, "strip", z.ZodTypeAny, {
|
|
8670
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
8671
|
+
config?: Record<string, any> | undefined;
|
|
8672
|
+
}, {
|
|
8673
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
8674
|
+
config?: Record<string, any> | undefined;
|
|
8675
|
+
}>, z.ZodObject<{
|
|
8676
|
+
type: z.ZodLiteral<"function">;
|
|
8677
|
+
name: z.ZodString;
|
|
8678
|
+
description: z.ZodString;
|
|
8679
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
8680
|
+
}, "strip", z.ZodTypeAny, {
|
|
8681
|
+
type: "function";
|
|
8682
|
+
name: string;
|
|
8683
|
+
description: string;
|
|
8684
|
+
parameters: Record<string, any>;
|
|
8685
|
+
}, {
|
|
8686
|
+
type: "function";
|
|
8687
|
+
name: string;
|
|
8688
|
+
description: string;
|
|
8689
|
+
parameters: Record<string, any>;
|
|
8690
|
+
}>]>, "many">>;
|
|
8691
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
8692
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
8693
|
+
type: z.ZodLiteral<"function">;
|
|
8694
|
+
name: z.ZodString;
|
|
8695
|
+
}, "strip", z.ZodTypeAny, {
|
|
8696
|
+
type: "function";
|
|
8697
|
+
name: string;
|
|
8698
|
+
}, {
|
|
8699
|
+
type: "function";
|
|
8700
|
+
name: string;
|
|
8701
|
+
}>]>>;
|
|
7782
8702
|
inferenceParameters: z.ZodOptional<z.ZodObject<{
|
|
7783
8703
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
7784
8704
|
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8400,6 +9320,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
8400
9320
|
backoffRate: number;
|
|
8401
9321
|
} | undefined;
|
|
8402
9322
|
fallbackStepInstanceId?: string | undefined;
|
|
9323
|
+
logLevel?: "WARN" | "ERROR" | undefined;
|
|
8403
9324
|
} | undefined;
|
|
8404
9325
|
} & {
|
|
8405
9326
|
[k: string]: unknown;
|
|
@@ -8539,6 +9460,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
8539
9460
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8540
9461
|
jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
|
|
8541
9462
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
9463
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
9464
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
9465
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9466
|
+
}, "strip", z.ZodTypeAny, {
|
|
9467
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
9468
|
+
config?: Record<string, any> | undefined;
|
|
9469
|
+
}, {
|
|
9470
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
9471
|
+
config?: Record<string, any> | undefined;
|
|
9472
|
+
}>, z.ZodObject<{
|
|
9473
|
+
type: z.ZodLiteral<"function">;
|
|
9474
|
+
name: z.ZodString;
|
|
9475
|
+
description: z.ZodString;
|
|
9476
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
9477
|
+
}, "strip", z.ZodTypeAny, {
|
|
9478
|
+
type: "function";
|
|
9479
|
+
name: string;
|
|
9480
|
+
description: string;
|
|
9481
|
+
parameters: Record<string, any>;
|
|
9482
|
+
}, {
|
|
9483
|
+
type: "function";
|
|
9484
|
+
name: string;
|
|
9485
|
+
description: string;
|
|
9486
|
+
parameters: Record<string, any>;
|
|
9487
|
+
}>]>, "many">>;
|
|
9488
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
9489
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
9490
|
+
type: z.ZodLiteral<"function">;
|
|
9491
|
+
name: z.ZodString;
|
|
9492
|
+
}, "strip", z.ZodTypeAny, {
|
|
9493
|
+
type: "function";
|
|
9494
|
+
name: string;
|
|
9495
|
+
}, {
|
|
9496
|
+
type: "function";
|
|
9497
|
+
name: string;
|
|
9498
|
+
}>]>>;
|
|
8542
9499
|
}, "strip", z.ZodTypeAny, {
|
|
8543
9500
|
llmProvider: string;
|
|
8544
9501
|
modelId: string;
|
|
@@ -8552,6 +9509,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
8552
9509
|
topK?: number | undefined;
|
|
8553
9510
|
seed?: number | undefined;
|
|
8554
9511
|
} | undefined;
|
|
9512
|
+
tools?: ({
|
|
9513
|
+
type: "function";
|
|
9514
|
+
name: string;
|
|
9515
|
+
description: string;
|
|
9516
|
+
parameters: Record<string, any>;
|
|
9517
|
+
} | {
|
|
9518
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
9519
|
+
config?: Record<string, any> | undefined;
|
|
9520
|
+
})[] | undefined;
|
|
9521
|
+
toolsPath?: string | undefined;
|
|
9522
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
9523
|
+
type: "function";
|
|
9524
|
+
name: string;
|
|
9525
|
+
} | undefined;
|
|
8555
9526
|
}, {
|
|
8556
9527
|
llmProvider: string;
|
|
8557
9528
|
modelId: string;
|
|
@@ -8565,6 +9536,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
8565
9536
|
topK?: number | undefined;
|
|
8566
9537
|
seed?: number | undefined;
|
|
8567
9538
|
} | undefined;
|
|
9539
|
+
tools?: ({
|
|
9540
|
+
type: "function";
|
|
9541
|
+
name: string;
|
|
9542
|
+
description: string;
|
|
9543
|
+
parameters: Record<string, any>;
|
|
9544
|
+
} | {
|
|
9545
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
9546
|
+
config?: Record<string, any> | undefined;
|
|
9547
|
+
})[] | undefined;
|
|
9548
|
+
toolsPath?: string | undefined;
|
|
9549
|
+
toolChoice?: "auto" | "none" | "required" | {
|
|
9550
|
+
type: "function";
|
|
9551
|
+
name: string;
|
|
9552
|
+
} | undefined;
|
|
8568
9553
|
}>, "many">>;
|
|
8569
9554
|
promptTemplateId: z.ZodOptional<z.ZodString>;
|
|
8570
9555
|
templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
@@ -8661,6 +9646,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
8661
9646
|
mimeType?: string | undefined;
|
|
8662
9647
|
}>, "many">>;
|
|
8663
9648
|
mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
|
|
9649
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
9650
|
+
type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
|
|
9651
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9652
|
+
}, "strip", z.ZodTypeAny, {
|
|
9653
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
9654
|
+
config?: Record<string, any> | undefined;
|
|
9655
|
+
}, {
|
|
9656
|
+
type: import("../index.js").LlmBuiltInToolType;
|
|
9657
|
+
config?: Record<string, any> | undefined;
|
|
9658
|
+
}>, z.ZodObject<{
|
|
9659
|
+
type: z.ZodLiteral<"function">;
|
|
9660
|
+
name: z.ZodString;
|
|
9661
|
+
description: z.ZodString;
|
|
9662
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
9663
|
+
}, "strip", z.ZodTypeAny, {
|
|
9664
|
+
type: "function";
|
|
9665
|
+
name: string;
|
|
9666
|
+
description: string;
|
|
9667
|
+
parameters: Record<string, any>;
|
|
9668
|
+
}, {
|
|
9669
|
+
type: "function";
|
|
9670
|
+
name: string;
|
|
9671
|
+
description: string;
|
|
9672
|
+
parameters: Record<string, any>;
|
|
9673
|
+
}>]>, "many">>;
|
|
9674
|
+
toolsPath: z.ZodOptional<z.ZodString>;
|
|
9675
|
+
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
9676
|
+
type: z.ZodLiteral<"function">;
|
|
9677
|
+
name: z.ZodString;
|
|
9678
|
+
}, "strip", z.ZodTypeAny, {
|
|
9679
|
+
type: "function";
|
|
9680
|
+
name: string;
|
|
9681
|
+
}, {
|
|
9682
|
+
type: "function";
|
|
9683
|
+
name: string;
|
|
9684
|
+
}>]>>;
|
|
8664
9685
|
inferenceParameters: z.ZodOptional<z.ZodObject<{
|
|
8665
9686
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
8666
9687
|
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9281,6 +10302,7 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
|
|
|
9281
10302
|
backoffRate?: number | undefined;
|
|
9282
10303
|
} | undefined;
|
|
9283
10304
|
fallbackStepInstanceId?: string | undefined;
|
|
10305
|
+
logLevel?: "WARN" | "ERROR" | undefined;
|
|
9284
10306
|
continueOnFailure?: boolean | undefined;
|
|
9285
10307
|
} | undefined;
|
|
9286
10308
|
} & {
|