@voicelayer/sdk 0.6.2 → 0.7.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/brain/index.d.ts +2 -2
- package/dist/brain/index.js +226 -9
- package/dist/index.d.ts +259 -254
- package/dist/index.js +1643 -491
- package/dist/runtime/text-session.d.ts +1 -1
- package/dist/runtime/text-session.js +1214 -183
- package/dist/{text-session-B-T33y5P.d.ts → text-session-BI5A-gxI.d.ts} +132 -110
- package/package.json +2 -2
|
@@ -354,11 +354,11 @@ declare const ProcessSchemaDTO: z.ZodObject<{
|
|
|
354
354
|
id: z.ZodString;
|
|
355
355
|
text: z.ZodString;
|
|
356
356
|
}, "strip", z.ZodTypeAny, {
|
|
357
|
-
id: string;
|
|
358
357
|
text: string;
|
|
359
|
-
}, {
|
|
360
358
|
id: string;
|
|
359
|
+
}, {
|
|
361
360
|
text: string;
|
|
361
|
+
id: string;
|
|
362
362
|
}>, "many">>;
|
|
363
363
|
fields: z.ZodArray<z.ZodObject<{
|
|
364
364
|
name: z.ZodString;
|
|
@@ -454,11 +454,11 @@ declare const ProcessSchemaDTO: z.ZodObject<{
|
|
|
454
454
|
retentionDays: z.ZodOptional<z.ZodNumber>;
|
|
455
455
|
piiFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
456
456
|
}, "strip", z.ZodTypeAny, {
|
|
457
|
-
scope?: "
|
|
457
|
+
scope?: "caller" | "call" | "account" | "participant" | "platform" | undefined;
|
|
458
458
|
retentionDays?: number | undefined;
|
|
459
459
|
piiFields?: string[] | undefined;
|
|
460
460
|
}, {
|
|
461
|
-
scope?: "
|
|
461
|
+
scope?: "caller" | "call" | "account" | "participant" | "platform" | undefined;
|
|
462
462
|
retentionDays?: number | undefined;
|
|
463
463
|
piiFields?: string[] | undefined;
|
|
464
464
|
}>>;
|
|
@@ -486,25 +486,25 @@ declare const ProcessSchemaDTO: z.ZodObject<{
|
|
|
486
486
|
sendRealValues: z.ZodOptional<z.ZodBoolean>;
|
|
487
487
|
}, "strip", z.ZodTypeAny, {
|
|
488
488
|
name: string;
|
|
489
|
-
url: string;
|
|
490
489
|
description: string;
|
|
491
490
|
input: Record<string, "string" | "number" | "boolean">;
|
|
491
|
+
url: string;
|
|
492
492
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
493
493
|
auth: "none" | "connection";
|
|
494
|
-
allowPrivateNetwork?: boolean | undefined;
|
|
495
494
|
headers?: Record<string, string> | undefined;
|
|
496
495
|
connectionRef?: string | undefined;
|
|
496
|
+
allowPrivateNetwork?: boolean | undefined;
|
|
497
497
|
sendRealValues?: boolean | undefined;
|
|
498
498
|
}, {
|
|
499
499
|
name: string;
|
|
500
|
-
url: string;
|
|
501
500
|
description: string;
|
|
502
501
|
input: Record<string, "string" | "number" | "boolean">;
|
|
502
|
+
url: string;
|
|
503
503
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
504
504
|
auth: "none" | "connection";
|
|
505
|
-
allowPrivateNetwork?: boolean | undefined;
|
|
506
505
|
headers?: Record<string, string> | undefined;
|
|
507
506
|
connectionRef?: string | undefined;
|
|
507
|
+
allowPrivateNetwork?: boolean | undefined;
|
|
508
508
|
sendRealValues?: boolean | undefined;
|
|
509
509
|
}>, "many">>;
|
|
510
510
|
displayName: z.ZodOptional<z.ZodString>;
|
|
@@ -568,34 +568,34 @@ declare const ProcessSchemaDTO: z.ZodObject<{
|
|
|
568
568
|
label: z.ZodOptional<z.ZodString>;
|
|
569
569
|
}, "strip", z.ZodTypeAny, {
|
|
570
570
|
to: string;
|
|
571
|
-
condition?: string | undefined;
|
|
572
571
|
sourceHandle?: string | undefined;
|
|
573
572
|
label?: string | undefined;
|
|
573
|
+
condition?: string | undefined;
|
|
574
574
|
}, {
|
|
575
575
|
to: string;
|
|
576
|
-
condition?: string | undefined;
|
|
577
576
|
sourceHandle?: string | undefined;
|
|
578
577
|
label?: string | undefined;
|
|
578
|
+
condition?: string | undefined;
|
|
579
579
|
}>, "many">;
|
|
580
580
|
}, "strip", z.ZodTypeAny, {
|
|
581
|
-
type: "
|
|
581
|
+
type: "llm" | "code" | "start" | "say" | "ask" | "confirm" | "tool" | "email" | "decision" | "handoff" | "end" | "trigger" | "gate" | "playbook" | "menu" | "set" | "subflow" | "rag" | "memory" | "speech" | "classify" | "router" | "note";
|
|
582
582
|
id: string;
|
|
583
583
|
config: Record<string, unknown>;
|
|
584
584
|
out: {
|
|
585
585
|
to: string;
|
|
586
|
-
condition?: string | undefined;
|
|
587
586
|
sourceHandle?: string | undefined;
|
|
588
587
|
label?: string | undefined;
|
|
588
|
+
condition?: string | undefined;
|
|
589
589
|
}[];
|
|
590
590
|
}, {
|
|
591
|
-
type: "
|
|
591
|
+
type: "llm" | "code" | "start" | "say" | "ask" | "confirm" | "tool" | "email" | "decision" | "handoff" | "end" | "trigger" | "gate" | "playbook" | "menu" | "set" | "subflow" | "rag" | "memory" | "speech" | "classify" | "router" | "note";
|
|
592
592
|
id: string;
|
|
593
593
|
config: Record<string, unknown>;
|
|
594
594
|
out: {
|
|
595
595
|
to: string;
|
|
596
|
-
condition?: string | undefined;
|
|
597
596
|
sourceHandle?: string | undefined;
|
|
598
597
|
label?: string | undefined;
|
|
598
|
+
condition?: string | undefined;
|
|
599
599
|
}[];
|
|
600
600
|
}>>;
|
|
601
601
|
completionGate: z.ZodObject<{
|
|
@@ -622,20 +622,20 @@ declare const ProcessSchemaDTO: z.ZodObject<{
|
|
|
622
622
|
labelOnlyEdges?: string[] | undefined;
|
|
623
623
|
}>>;
|
|
624
624
|
}, "strip", z.ZodTypeAny, {
|
|
625
|
-
v: 1;
|
|
626
625
|
id: string;
|
|
627
|
-
entry: string[];
|
|
628
626
|
nodes: Record<string, {
|
|
629
|
-
type: "
|
|
627
|
+
type: "llm" | "code" | "start" | "say" | "ask" | "confirm" | "tool" | "email" | "decision" | "handoff" | "end" | "trigger" | "gate" | "playbook" | "menu" | "set" | "subflow" | "rag" | "memory" | "speech" | "classify" | "router" | "note";
|
|
630
628
|
id: string;
|
|
631
629
|
config: Record<string, unknown>;
|
|
632
630
|
out: {
|
|
633
631
|
to: string;
|
|
634
|
-
condition?: string | undefined;
|
|
635
632
|
sourceHandle?: string | undefined;
|
|
636
633
|
label?: string | undefined;
|
|
634
|
+
condition?: string | undefined;
|
|
637
635
|
}[];
|
|
638
636
|
}>;
|
|
637
|
+
v: 1;
|
|
638
|
+
entry: string[];
|
|
639
639
|
completionGate: {
|
|
640
640
|
requiredFields: string[];
|
|
641
641
|
};
|
|
@@ -646,20 +646,20 @@ declare const ProcessSchemaDTO: z.ZodObject<{
|
|
|
646
646
|
labelOnlyEdges?: string[] | undefined;
|
|
647
647
|
} | undefined;
|
|
648
648
|
}, {
|
|
649
|
-
v: 1;
|
|
650
649
|
id: string;
|
|
651
|
-
entry: string[];
|
|
652
650
|
nodes: Record<string, {
|
|
653
|
-
type: "
|
|
651
|
+
type: "llm" | "code" | "start" | "say" | "ask" | "confirm" | "tool" | "email" | "decision" | "handoff" | "end" | "trigger" | "gate" | "playbook" | "menu" | "set" | "subflow" | "rag" | "memory" | "speech" | "classify" | "router" | "note";
|
|
654
652
|
id: string;
|
|
655
653
|
config: Record<string, unknown>;
|
|
656
654
|
out: {
|
|
657
655
|
to: string;
|
|
658
|
-
condition?: string | undefined;
|
|
659
656
|
sourceHandle?: string | undefined;
|
|
660
657
|
label?: string | undefined;
|
|
658
|
+
condition?: string | undefined;
|
|
661
659
|
}[];
|
|
662
660
|
}>;
|
|
661
|
+
v: 1;
|
|
662
|
+
entry: string[];
|
|
663
663
|
completionGate: {
|
|
664
664
|
requiredFields: string[];
|
|
665
665
|
};
|
|
@@ -696,7 +696,7 @@ declare const ProcessSchemaDTO: z.ZodObject<{
|
|
|
696
696
|
routes?: Record<string, string> | undefined;
|
|
697
697
|
} | undefined;
|
|
698
698
|
memory?: {
|
|
699
|
-
scope?: "
|
|
699
|
+
scope?: "caller" | "call" | "account" | "participant" | "platform" | undefined;
|
|
700
700
|
retentionDays?: number | undefined;
|
|
701
701
|
piiFields?: string[] | undefined;
|
|
702
702
|
} | undefined;
|
|
@@ -712,8 +712,8 @@ declare const ProcessSchemaDTO: z.ZodObject<{
|
|
|
712
712
|
} | undefined;
|
|
713
713
|
} | undefined;
|
|
714
714
|
prompts?: {
|
|
715
|
-
id: string;
|
|
716
715
|
text: string;
|
|
716
|
+
id: string;
|
|
717
717
|
}[] | undefined;
|
|
718
718
|
triggers?: {
|
|
719
719
|
then: string;
|
|
@@ -723,32 +723,32 @@ declare const ProcessSchemaDTO: z.ZodObject<{
|
|
|
723
723
|
}[] | undefined;
|
|
724
724
|
tools?: {
|
|
725
725
|
name: string;
|
|
726
|
-
url: string;
|
|
727
726
|
description: string;
|
|
728
727
|
input: Record<string, "string" | "number" | "boolean">;
|
|
728
|
+
url: string;
|
|
729
729
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
730
730
|
auth: "none" | "connection";
|
|
731
|
-
allowPrivateNetwork?: boolean | undefined;
|
|
732
731
|
headers?: Record<string, string> | undefined;
|
|
733
732
|
connectionRef?: string | undefined;
|
|
733
|
+
allowPrivateNetwork?: boolean | undefined;
|
|
734
734
|
sendRealValues?: boolean | undefined;
|
|
735
735
|
}[] | undefined;
|
|
736
736
|
displayName?: string | undefined;
|
|
737
737
|
program?: {
|
|
738
|
-
v: 1;
|
|
739
738
|
id: string;
|
|
740
|
-
entry: string[];
|
|
741
739
|
nodes: Record<string, {
|
|
742
|
-
type: "
|
|
740
|
+
type: "llm" | "code" | "start" | "say" | "ask" | "confirm" | "tool" | "email" | "decision" | "handoff" | "end" | "trigger" | "gate" | "playbook" | "menu" | "set" | "subflow" | "rag" | "memory" | "speech" | "classify" | "router" | "note";
|
|
743
741
|
id: string;
|
|
744
742
|
config: Record<string, unknown>;
|
|
745
743
|
out: {
|
|
746
744
|
to: string;
|
|
747
|
-
condition?: string | undefined;
|
|
748
745
|
sourceHandle?: string | undefined;
|
|
749
746
|
label?: string | undefined;
|
|
747
|
+
condition?: string | undefined;
|
|
750
748
|
}[];
|
|
751
749
|
}>;
|
|
750
|
+
v: 1;
|
|
751
|
+
entry: string[];
|
|
752
752
|
completionGate: {
|
|
753
753
|
requiredFields: string[];
|
|
754
754
|
};
|
|
@@ -785,7 +785,7 @@ declare const ProcessSchemaDTO: z.ZodObject<{
|
|
|
785
785
|
routes?: Record<string, string> | undefined;
|
|
786
786
|
} | undefined;
|
|
787
787
|
memory?: {
|
|
788
|
-
scope?: "
|
|
788
|
+
scope?: "caller" | "call" | "account" | "participant" | "platform" | undefined;
|
|
789
789
|
retentionDays?: number | undefined;
|
|
790
790
|
piiFields?: string[] | undefined;
|
|
791
791
|
} | undefined;
|
|
@@ -801,8 +801,8 @@ declare const ProcessSchemaDTO: z.ZodObject<{
|
|
|
801
801
|
} | undefined;
|
|
802
802
|
} | undefined;
|
|
803
803
|
prompts?: {
|
|
804
|
-
id: string;
|
|
805
804
|
text: string;
|
|
805
|
+
id: string;
|
|
806
806
|
}[] | undefined;
|
|
807
807
|
triggers?: {
|
|
808
808
|
then: string;
|
|
@@ -812,32 +812,32 @@ declare const ProcessSchemaDTO: z.ZodObject<{
|
|
|
812
812
|
}[] | undefined;
|
|
813
813
|
tools?: {
|
|
814
814
|
name: string;
|
|
815
|
-
url: string;
|
|
816
815
|
description: string;
|
|
817
816
|
input: Record<string, "string" | "number" | "boolean">;
|
|
817
|
+
url: string;
|
|
818
818
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
819
819
|
auth: "none" | "connection";
|
|
820
|
-
allowPrivateNetwork?: boolean | undefined;
|
|
821
820
|
headers?: Record<string, string> | undefined;
|
|
822
821
|
connectionRef?: string | undefined;
|
|
822
|
+
allowPrivateNetwork?: boolean | undefined;
|
|
823
823
|
sendRealValues?: boolean | undefined;
|
|
824
824
|
}[] | undefined;
|
|
825
825
|
displayName?: string | undefined;
|
|
826
826
|
program?: {
|
|
827
|
-
v: 1;
|
|
828
827
|
id: string;
|
|
829
|
-
entry: string[];
|
|
830
828
|
nodes: Record<string, {
|
|
831
|
-
type: "
|
|
829
|
+
type: "llm" | "code" | "start" | "say" | "ask" | "confirm" | "tool" | "email" | "decision" | "handoff" | "end" | "trigger" | "gate" | "playbook" | "menu" | "set" | "subflow" | "rag" | "memory" | "speech" | "classify" | "router" | "note";
|
|
832
830
|
id: string;
|
|
833
831
|
config: Record<string, unknown>;
|
|
834
832
|
out: {
|
|
835
833
|
to: string;
|
|
836
|
-
condition?: string | undefined;
|
|
837
834
|
sourceHandle?: string | undefined;
|
|
838
835
|
label?: string | undefined;
|
|
836
|
+
condition?: string | undefined;
|
|
839
837
|
}[];
|
|
840
838
|
}>;
|
|
839
|
+
v: 1;
|
|
840
|
+
entry: string[];
|
|
841
841
|
completionGate: {
|
|
842
842
|
requiredFields: string[];
|
|
843
843
|
};
|
|
@@ -880,11 +880,11 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
880
880
|
id: z.ZodString;
|
|
881
881
|
text: z.ZodString;
|
|
882
882
|
}, "strip", z.ZodTypeAny, {
|
|
883
|
-
id: string;
|
|
884
883
|
text: string;
|
|
885
|
-
}, {
|
|
886
884
|
id: string;
|
|
885
|
+
}, {
|
|
887
886
|
text: string;
|
|
887
|
+
id: string;
|
|
888
888
|
}>, "many">>;
|
|
889
889
|
fields: z.ZodArray<z.ZodObject<{
|
|
890
890
|
name: z.ZodString;
|
|
@@ -980,11 +980,11 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
980
980
|
retentionDays: z.ZodOptional<z.ZodNumber>;
|
|
981
981
|
piiFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
982
982
|
}, "strip", z.ZodTypeAny, {
|
|
983
|
-
scope?: "
|
|
983
|
+
scope?: "caller" | "call" | "account" | "participant" | "platform" | undefined;
|
|
984
984
|
retentionDays?: number | undefined;
|
|
985
985
|
piiFields?: string[] | undefined;
|
|
986
986
|
}, {
|
|
987
|
-
scope?: "
|
|
987
|
+
scope?: "caller" | "call" | "account" | "participant" | "platform" | undefined;
|
|
988
988
|
retentionDays?: number | undefined;
|
|
989
989
|
piiFields?: string[] | undefined;
|
|
990
990
|
}>>;
|
|
@@ -1012,25 +1012,25 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
1012
1012
|
sendRealValues: z.ZodOptional<z.ZodBoolean>;
|
|
1013
1013
|
}, "strip", z.ZodTypeAny, {
|
|
1014
1014
|
name: string;
|
|
1015
|
-
url: string;
|
|
1016
1015
|
description: string;
|
|
1017
1016
|
input: Record<string, "string" | "number" | "boolean">;
|
|
1017
|
+
url: string;
|
|
1018
1018
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
1019
1019
|
auth: "none" | "connection";
|
|
1020
|
-
allowPrivateNetwork?: boolean | undefined;
|
|
1021
1020
|
headers?: Record<string, string> | undefined;
|
|
1022
1021
|
connectionRef?: string | undefined;
|
|
1022
|
+
allowPrivateNetwork?: boolean | undefined;
|
|
1023
1023
|
sendRealValues?: boolean | undefined;
|
|
1024
1024
|
}, {
|
|
1025
1025
|
name: string;
|
|
1026
|
-
url: string;
|
|
1027
1026
|
description: string;
|
|
1028
1027
|
input: Record<string, "string" | "number" | "boolean">;
|
|
1028
|
+
url: string;
|
|
1029
1029
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
1030
1030
|
auth: "none" | "connection";
|
|
1031
|
-
allowPrivateNetwork?: boolean | undefined;
|
|
1032
1031
|
headers?: Record<string, string> | undefined;
|
|
1033
1032
|
connectionRef?: string | undefined;
|
|
1033
|
+
allowPrivateNetwork?: boolean | undefined;
|
|
1034
1034
|
sendRealValues?: boolean | undefined;
|
|
1035
1035
|
}>, "many">>;
|
|
1036
1036
|
displayName: z.ZodOptional<z.ZodString>;
|
|
@@ -1094,34 +1094,34 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
1094
1094
|
label: z.ZodOptional<z.ZodString>;
|
|
1095
1095
|
}, "strip", z.ZodTypeAny, {
|
|
1096
1096
|
to: string;
|
|
1097
|
-
condition?: string | undefined;
|
|
1098
1097
|
sourceHandle?: string | undefined;
|
|
1099
1098
|
label?: string | undefined;
|
|
1099
|
+
condition?: string | undefined;
|
|
1100
1100
|
}, {
|
|
1101
1101
|
to: string;
|
|
1102
|
-
condition?: string | undefined;
|
|
1103
1102
|
sourceHandle?: string | undefined;
|
|
1104
1103
|
label?: string | undefined;
|
|
1104
|
+
condition?: string | undefined;
|
|
1105
1105
|
}>, "many">;
|
|
1106
1106
|
}, "strip", z.ZodTypeAny, {
|
|
1107
|
-
type: "
|
|
1107
|
+
type: "llm" | "code" | "start" | "say" | "ask" | "confirm" | "tool" | "email" | "decision" | "handoff" | "end" | "trigger" | "gate" | "playbook" | "menu" | "set" | "subflow" | "rag" | "memory" | "speech" | "classify" | "router" | "note";
|
|
1108
1108
|
id: string;
|
|
1109
1109
|
config: Record<string, unknown>;
|
|
1110
1110
|
out: {
|
|
1111
1111
|
to: string;
|
|
1112
|
-
condition?: string | undefined;
|
|
1113
1112
|
sourceHandle?: string | undefined;
|
|
1114
1113
|
label?: string | undefined;
|
|
1114
|
+
condition?: string | undefined;
|
|
1115
1115
|
}[];
|
|
1116
1116
|
}, {
|
|
1117
|
-
type: "
|
|
1117
|
+
type: "llm" | "code" | "start" | "say" | "ask" | "confirm" | "tool" | "email" | "decision" | "handoff" | "end" | "trigger" | "gate" | "playbook" | "menu" | "set" | "subflow" | "rag" | "memory" | "speech" | "classify" | "router" | "note";
|
|
1118
1118
|
id: string;
|
|
1119
1119
|
config: Record<string, unknown>;
|
|
1120
1120
|
out: {
|
|
1121
1121
|
to: string;
|
|
1122
|
-
condition?: string | undefined;
|
|
1123
1122
|
sourceHandle?: string | undefined;
|
|
1124
1123
|
label?: string | undefined;
|
|
1124
|
+
condition?: string | undefined;
|
|
1125
1125
|
}[];
|
|
1126
1126
|
}>>;
|
|
1127
1127
|
completionGate: z.ZodObject<{
|
|
@@ -1148,20 +1148,20 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
1148
1148
|
labelOnlyEdges?: string[] | undefined;
|
|
1149
1149
|
}>>;
|
|
1150
1150
|
}, "strip", z.ZodTypeAny, {
|
|
1151
|
-
v: 1;
|
|
1152
1151
|
id: string;
|
|
1153
|
-
entry: string[];
|
|
1154
1152
|
nodes: Record<string, {
|
|
1155
|
-
type: "
|
|
1153
|
+
type: "llm" | "code" | "start" | "say" | "ask" | "confirm" | "tool" | "email" | "decision" | "handoff" | "end" | "trigger" | "gate" | "playbook" | "menu" | "set" | "subflow" | "rag" | "memory" | "speech" | "classify" | "router" | "note";
|
|
1156
1154
|
id: string;
|
|
1157
1155
|
config: Record<string, unknown>;
|
|
1158
1156
|
out: {
|
|
1159
1157
|
to: string;
|
|
1160
|
-
condition?: string | undefined;
|
|
1161
1158
|
sourceHandle?: string | undefined;
|
|
1162
1159
|
label?: string | undefined;
|
|
1160
|
+
condition?: string | undefined;
|
|
1163
1161
|
}[];
|
|
1164
1162
|
}>;
|
|
1163
|
+
v: 1;
|
|
1164
|
+
entry: string[];
|
|
1165
1165
|
completionGate: {
|
|
1166
1166
|
requiredFields: string[];
|
|
1167
1167
|
};
|
|
@@ -1172,20 +1172,20 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
1172
1172
|
labelOnlyEdges?: string[] | undefined;
|
|
1173
1173
|
} | undefined;
|
|
1174
1174
|
}, {
|
|
1175
|
-
v: 1;
|
|
1176
1175
|
id: string;
|
|
1177
|
-
entry: string[];
|
|
1178
1176
|
nodes: Record<string, {
|
|
1179
|
-
type: "
|
|
1177
|
+
type: "llm" | "code" | "start" | "say" | "ask" | "confirm" | "tool" | "email" | "decision" | "handoff" | "end" | "trigger" | "gate" | "playbook" | "menu" | "set" | "subflow" | "rag" | "memory" | "speech" | "classify" | "router" | "note";
|
|
1180
1178
|
id: string;
|
|
1181
1179
|
config: Record<string, unknown>;
|
|
1182
1180
|
out: {
|
|
1183
1181
|
to: string;
|
|
1184
|
-
condition?: string | undefined;
|
|
1185
1182
|
sourceHandle?: string | undefined;
|
|
1186
1183
|
label?: string | undefined;
|
|
1184
|
+
condition?: string | undefined;
|
|
1187
1185
|
}[];
|
|
1188
1186
|
}>;
|
|
1187
|
+
v: 1;
|
|
1188
|
+
entry: string[];
|
|
1189
1189
|
completionGate: {
|
|
1190
1190
|
requiredFields: string[];
|
|
1191
1191
|
};
|
|
@@ -1222,7 +1222,7 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
1222
1222
|
routes?: Record<string, string> | undefined;
|
|
1223
1223
|
} | undefined;
|
|
1224
1224
|
memory?: {
|
|
1225
|
-
scope?: "
|
|
1225
|
+
scope?: "caller" | "call" | "account" | "participant" | "platform" | undefined;
|
|
1226
1226
|
retentionDays?: number | undefined;
|
|
1227
1227
|
piiFields?: string[] | undefined;
|
|
1228
1228
|
} | undefined;
|
|
@@ -1238,8 +1238,8 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
1238
1238
|
} | undefined;
|
|
1239
1239
|
} | undefined;
|
|
1240
1240
|
prompts?: {
|
|
1241
|
-
id: string;
|
|
1242
1241
|
text: string;
|
|
1242
|
+
id: string;
|
|
1243
1243
|
}[] | undefined;
|
|
1244
1244
|
triggers?: {
|
|
1245
1245
|
then: string;
|
|
@@ -1249,32 +1249,32 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
1249
1249
|
}[] | undefined;
|
|
1250
1250
|
tools?: {
|
|
1251
1251
|
name: string;
|
|
1252
|
-
url: string;
|
|
1253
1252
|
description: string;
|
|
1254
1253
|
input: Record<string, "string" | "number" | "boolean">;
|
|
1254
|
+
url: string;
|
|
1255
1255
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
1256
1256
|
auth: "none" | "connection";
|
|
1257
|
-
allowPrivateNetwork?: boolean | undefined;
|
|
1258
1257
|
headers?: Record<string, string> | undefined;
|
|
1259
1258
|
connectionRef?: string | undefined;
|
|
1259
|
+
allowPrivateNetwork?: boolean | undefined;
|
|
1260
1260
|
sendRealValues?: boolean | undefined;
|
|
1261
1261
|
}[] | undefined;
|
|
1262
1262
|
displayName?: string | undefined;
|
|
1263
1263
|
program?: {
|
|
1264
|
-
v: 1;
|
|
1265
1264
|
id: string;
|
|
1266
|
-
entry: string[];
|
|
1267
1265
|
nodes: Record<string, {
|
|
1268
|
-
type: "
|
|
1266
|
+
type: "llm" | "code" | "start" | "say" | "ask" | "confirm" | "tool" | "email" | "decision" | "handoff" | "end" | "trigger" | "gate" | "playbook" | "menu" | "set" | "subflow" | "rag" | "memory" | "speech" | "classify" | "router" | "note";
|
|
1269
1267
|
id: string;
|
|
1270
1268
|
config: Record<string, unknown>;
|
|
1271
1269
|
out: {
|
|
1272
1270
|
to: string;
|
|
1273
|
-
condition?: string | undefined;
|
|
1274
1271
|
sourceHandle?: string | undefined;
|
|
1275
1272
|
label?: string | undefined;
|
|
1273
|
+
condition?: string | undefined;
|
|
1276
1274
|
}[];
|
|
1277
1275
|
}>;
|
|
1276
|
+
v: 1;
|
|
1277
|
+
entry: string[];
|
|
1278
1278
|
completionGate: {
|
|
1279
1279
|
requiredFields: string[];
|
|
1280
1280
|
};
|
|
@@ -1311,7 +1311,7 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
1311
1311
|
routes?: Record<string, string> | undefined;
|
|
1312
1312
|
} | undefined;
|
|
1313
1313
|
memory?: {
|
|
1314
|
-
scope?: "
|
|
1314
|
+
scope?: "caller" | "call" | "account" | "participant" | "platform" | undefined;
|
|
1315
1315
|
retentionDays?: number | undefined;
|
|
1316
1316
|
piiFields?: string[] | undefined;
|
|
1317
1317
|
} | undefined;
|
|
@@ -1327,8 +1327,8 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
1327
1327
|
} | undefined;
|
|
1328
1328
|
} | undefined;
|
|
1329
1329
|
prompts?: {
|
|
1330
|
-
id: string;
|
|
1331
1330
|
text: string;
|
|
1331
|
+
id: string;
|
|
1332
1332
|
}[] | undefined;
|
|
1333
1333
|
triggers?: {
|
|
1334
1334
|
then: string;
|
|
@@ -1338,32 +1338,32 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
1338
1338
|
}[] | undefined;
|
|
1339
1339
|
tools?: {
|
|
1340
1340
|
name: string;
|
|
1341
|
-
url: string;
|
|
1342
1341
|
description: string;
|
|
1343
1342
|
input: Record<string, "string" | "number" | "boolean">;
|
|
1343
|
+
url: string;
|
|
1344
1344
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
1345
1345
|
auth: "none" | "connection";
|
|
1346
|
-
allowPrivateNetwork?: boolean | undefined;
|
|
1347
1346
|
headers?: Record<string, string> | undefined;
|
|
1348
1347
|
connectionRef?: string | undefined;
|
|
1348
|
+
allowPrivateNetwork?: boolean | undefined;
|
|
1349
1349
|
sendRealValues?: boolean | undefined;
|
|
1350
1350
|
}[] | undefined;
|
|
1351
1351
|
displayName?: string | undefined;
|
|
1352
1352
|
program?: {
|
|
1353
|
-
v: 1;
|
|
1354
1353
|
id: string;
|
|
1355
|
-
entry: string[];
|
|
1356
1354
|
nodes: Record<string, {
|
|
1357
|
-
type: "
|
|
1355
|
+
type: "llm" | "code" | "start" | "say" | "ask" | "confirm" | "tool" | "email" | "decision" | "handoff" | "end" | "trigger" | "gate" | "playbook" | "menu" | "set" | "subflow" | "rag" | "memory" | "speech" | "classify" | "router" | "note";
|
|
1358
1356
|
id: string;
|
|
1359
1357
|
config: Record<string, unknown>;
|
|
1360
1358
|
out: {
|
|
1361
1359
|
to: string;
|
|
1362
|
-
condition?: string | undefined;
|
|
1363
1360
|
sourceHandle?: string | undefined;
|
|
1364
1361
|
label?: string | undefined;
|
|
1362
|
+
condition?: string | undefined;
|
|
1365
1363
|
}[];
|
|
1366
1364
|
}>;
|
|
1365
|
+
v: 1;
|
|
1366
|
+
entry: string[];
|
|
1367
1367
|
completionGate: {
|
|
1368
1368
|
requiredFields: string[];
|
|
1369
1369
|
};
|
|
@@ -1381,8 +1381,8 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
1381
1381
|
}, "strip", z.ZodTypeAny, {
|
|
1382
1382
|
status: "online" | "offline" | "degraded";
|
|
1383
1383
|
id: string;
|
|
1384
|
-
name: string;
|
|
1385
1384
|
projectId: string;
|
|
1385
|
+
name: string;
|
|
1386
1386
|
createdAt: string;
|
|
1387
1387
|
updatedAt: string;
|
|
1388
1388
|
version: string;
|
|
@@ -1422,7 +1422,7 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
1422
1422
|
routes?: Record<string, string> | undefined;
|
|
1423
1423
|
} | undefined;
|
|
1424
1424
|
memory?: {
|
|
1425
|
-
scope?: "
|
|
1425
|
+
scope?: "caller" | "call" | "account" | "participant" | "platform" | undefined;
|
|
1426
1426
|
retentionDays?: number | undefined;
|
|
1427
1427
|
piiFields?: string[] | undefined;
|
|
1428
1428
|
} | undefined;
|
|
@@ -1438,8 +1438,8 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
1438
1438
|
} | undefined;
|
|
1439
1439
|
} | undefined;
|
|
1440
1440
|
prompts?: {
|
|
1441
|
-
id: string;
|
|
1442
1441
|
text: string;
|
|
1442
|
+
id: string;
|
|
1443
1443
|
}[] | undefined;
|
|
1444
1444
|
triggers?: {
|
|
1445
1445
|
then: string;
|
|
@@ -1449,32 +1449,32 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
1449
1449
|
}[] | undefined;
|
|
1450
1450
|
tools?: {
|
|
1451
1451
|
name: string;
|
|
1452
|
-
url: string;
|
|
1453
1452
|
description: string;
|
|
1454
1453
|
input: Record<string, "string" | "number" | "boolean">;
|
|
1454
|
+
url: string;
|
|
1455
1455
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
1456
1456
|
auth: "none" | "connection";
|
|
1457
|
-
allowPrivateNetwork?: boolean | undefined;
|
|
1458
1457
|
headers?: Record<string, string> | undefined;
|
|
1459
1458
|
connectionRef?: string | undefined;
|
|
1459
|
+
allowPrivateNetwork?: boolean | undefined;
|
|
1460
1460
|
sendRealValues?: boolean | undefined;
|
|
1461
1461
|
}[] | undefined;
|
|
1462
1462
|
displayName?: string | undefined;
|
|
1463
1463
|
program?: {
|
|
1464
|
-
v: 1;
|
|
1465
1464
|
id: string;
|
|
1466
|
-
entry: string[];
|
|
1467
1465
|
nodes: Record<string, {
|
|
1468
|
-
type: "
|
|
1466
|
+
type: "llm" | "code" | "start" | "say" | "ask" | "confirm" | "tool" | "email" | "decision" | "handoff" | "end" | "trigger" | "gate" | "playbook" | "menu" | "set" | "subflow" | "rag" | "memory" | "speech" | "classify" | "router" | "note";
|
|
1469
1467
|
id: string;
|
|
1470
1468
|
config: Record<string, unknown>;
|
|
1471
1469
|
out: {
|
|
1472
1470
|
to: string;
|
|
1473
|
-
condition?: string | undefined;
|
|
1474
1471
|
sourceHandle?: string | undefined;
|
|
1475
1472
|
label?: string | undefined;
|
|
1473
|
+
condition?: string | undefined;
|
|
1476
1474
|
}[];
|
|
1477
1475
|
}>;
|
|
1476
|
+
v: 1;
|
|
1477
|
+
entry: string[];
|
|
1478
1478
|
completionGate: {
|
|
1479
1479
|
requiredFields: string[];
|
|
1480
1480
|
};
|
|
@@ -1490,8 +1490,8 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
1490
1490
|
}, {
|
|
1491
1491
|
status: "online" | "offline" | "degraded";
|
|
1492
1492
|
id: string;
|
|
1493
|
-
name: string;
|
|
1494
1493
|
projectId: string;
|
|
1494
|
+
name: string;
|
|
1495
1495
|
createdAt: string;
|
|
1496
1496
|
updatedAt: string;
|
|
1497
1497
|
version: string;
|
|
@@ -1531,7 +1531,7 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
1531
1531
|
routes?: Record<string, string> | undefined;
|
|
1532
1532
|
} | undefined;
|
|
1533
1533
|
memory?: {
|
|
1534
|
-
scope?: "
|
|
1534
|
+
scope?: "caller" | "call" | "account" | "participant" | "platform" | undefined;
|
|
1535
1535
|
retentionDays?: number | undefined;
|
|
1536
1536
|
piiFields?: string[] | undefined;
|
|
1537
1537
|
} | undefined;
|
|
@@ -1547,8 +1547,8 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
1547
1547
|
} | undefined;
|
|
1548
1548
|
} | undefined;
|
|
1549
1549
|
prompts?: {
|
|
1550
|
-
id: string;
|
|
1551
1550
|
text: string;
|
|
1551
|
+
id: string;
|
|
1552
1552
|
}[] | undefined;
|
|
1553
1553
|
triggers?: {
|
|
1554
1554
|
then: string;
|
|
@@ -1558,32 +1558,32 @@ declare const AgentDTO: z.ZodObject<{
|
|
|
1558
1558
|
}[] | undefined;
|
|
1559
1559
|
tools?: {
|
|
1560
1560
|
name: string;
|
|
1561
|
-
url: string;
|
|
1562
1561
|
description: string;
|
|
1563
1562
|
input: Record<string, "string" | "number" | "boolean">;
|
|
1563
|
+
url: string;
|
|
1564
1564
|
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
1565
1565
|
auth: "none" | "connection";
|
|
1566
|
-
allowPrivateNetwork?: boolean | undefined;
|
|
1567
1566
|
headers?: Record<string, string> | undefined;
|
|
1568
1567
|
connectionRef?: string | undefined;
|
|
1568
|
+
allowPrivateNetwork?: boolean | undefined;
|
|
1569
1569
|
sendRealValues?: boolean | undefined;
|
|
1570
1570
|
}[] | undefined;
|
|
1571
1571
|
displayName?: string | undefined;
|
|
1572
1572
|
program?: {
|
|
1573
|
-
v: 1;
|
|
1574
1573
|
id: string;
|
|
1575
|
-
entry: string[];
|
|
1576
1574
|
nodes: Record<string, {
|
|
1577
|
-
type: "
|
|
1575
|
+
type: "llm" | "code" | "start" | "say" | "ask" | "confirm" | "tool" | "email" | "decision" | "handoff" | "end" | "trigger" | "gate" | "playbook" | "menu" | "set" | "subflow" | "rag" | "memory" | "speech" | "classify" | "router" | "note";
|
|
1578
1576
|
id: string;
|
|
1579
1577
|
config: Record<string, unknown>;
|
|
1580
1578
|
out: {
|
|
1581
1579
|
to: string;
|
|
1582
|
-
condition?: string | undefined;
|
|
1583
1580
|
sourceHandle?: string | undefined;
|
|
1584
1581
|
label?: string | undefined;
|
|
1582
|
+
condition?: string | undefined;
|
|
1585
1583
|
}[];
|
|
1586
1584
|
}>;
|
|
1585
|
+
v: 1;
|
|
1586
|
+
entry: string[];
|
|
1587
1587
|
completionGate: {
|
|
1588
1588
|
requiredFields: string[];
|
|
1589
1589
|
};
|
|
@@ -1665,34 +1665,34 @@ declare const FlowProgram: z.ZodObject<{
|
|
|
1665
1665
|
label: z.ZodOptional<z.ZodString>;
|
|
1666
1666
|
}, "strip", z.ZodTypeAny, {
|
|
1667
1667
|
to: string;
|
|
1668
|
-
condition?: string | undefined;
|
|
1669
1668
|
sourceHandle?: string | undefined;
|
|
1670
1669
|
label?: string | undefined;
|
|
1670
|
+
condition?: string | undefined;
|
|
1671
1671
|
}, {
|
|
1672
1672
|
to: string;
|
|
1673
|
-
condition?: string | undefined;
|
|
1674
1673
|
sourceHandle?: string | undefined;
|
|
1675
1674
|
label?: string | undefined;
|
|
1675
|
+
condition?: string | undefined;
|
|
1676
1676
|
}>, "many">;
|
|
1677
1677
|
}, "strip", z.ZodTypeAny, {
|
|
1678
|
-
type: "
|
|
1678
|
+
type: "llm" | "code" | "start" | "say" | "ask" | "confirm" | "tool" | "email" | "decision" | "handoff" | "end" | "trigger" | "gate" | "playbook" | "menu" | "set" | "subflow" | "rag" | "memory" | "speech" | "classify" | "router" | "note";
|
|
1679
1679
|
id: string;
|
|
1680
1680
|
config: Record<string, unknown>;
|
|
1681
1681
|
out: {
|
|
1682
1682
|
to: string;
|
|
1683
|
-
condition?: string | undefined;
|
|
1684
1683
|
sourceHandle?: string | undefined;
|
|
1685
1684
|
label?: string | undefined;
|
|
1685
|
+
condition?: string | undefined;
|
|
1686
1686
|
}[];
|
|
1687
1687
|
}, {
|
|
1688
|
-
type: "
|
|
1688
|
+
type: "llm" | "code" | "start" | "say" | "ask" | "confirm" | "tool" | "email" | "decision" | "handoff" | "end" | "trigger" | "gate" | "playbook" | "menu" | "set" | "subflow" | "rag" | "memory" | "speech" | "classify" | "router" | "note";
|
|
1689
1689
|
id: string;
|
|
1690
1690
|
config: Record<string, unknown>;
|
|
1691
1691
|
out: {
|
|
1692
1692
|
to: string;
|
|
1693
|
-
condition?: string | undefined;
|
|
1694
1693
|
sourceHandle?: string | undefined;
|
|
1695
1694
|
label?: string | undefined;
|
|
1695
|
+
condition?: string | undefined;
|
|
1696
1696
|
}[];
|
|
1697
1697
|
}>>;
|
|
1698
1698
|
completionGate: z.ZodObject<{
|
|
@@ -1719,20 +1719,20 @@ declare const FlowProgram: z.ZodObject<{
|
|
|
1719
1719
|
labelOnlyEdges?: string[] | undefined;
|
|
1720
1720
|
}>>;
|
|
1721
1721
|
}, "strip", z.ZodTypeAny, {
|
|
1722
|
-
v: 1;
|
|
1723
1722
|
id: string;
|
|
1724
|
-
entry: string[];
|
|
1725
1723
|
nodes: Record<string, {
|
|
1726
|
-
type: "
|
|
1724
|
+
type: "llm" | "code" | "start" | "say" | "ask" | "confirm" | "tool" | "email" | "decision" | "handoff" | "end" | "trigger" | "gate" | "playbook" | "menu" | "set" | "subflow" | "rag" | "memory" | "speech" | "classify" | "router" | "note";
|
|
1727
1725
|
id: string;
|
|
1728
1726
|
config: Record<string, unknown>;
|
|
1729
1727
|
out: {
|
|
1730
1728
|
to: string;
|
|
1731
|
-
condition?: string | undefined;
|
|
1732
1729
|
sourceHandle?: string | undefined;
|
|
1733
1730
|
label?: string | undefined;
|
|
1731
|
+
condition?: string | undefined;
|
|
1734
1732
|
}[];
|
|
1735
1733
|
}>;
|
|
1734
|
+
v: 1;
|
|
1735
|
+
entry: string[];
|
|
1736
1736
|
completionGate: {
|
|
1737
1737
|
requiredFields: string[];
|
|
1738
1738
|
};
|
|
@@ -1743,20 +1743,20 @@ declare const FlowProgram: z.ZodObject<{
|
|
|
1743
1743
|
labelOnlyEdges?: string[] | undefined;
|
|
1744
1744
|
} | undefined;
|
|
1745
1745
|
}, {
|
|
1746
|
-
v: 1;
|
|
1747
1746
|
id: string;
|
|
1748
|
-
entry: string[];
|
|
1749
1747
|
nodes: Record<string, {
|
|
1750
|
-
type: "
|
|
1748
|
+
type: "llm" | "code" | "start" | "say" | "ask" | "confirm" | "tool" | "email" | "decision" | "handoff" | "end" | "trigger" | "gate" | "playbook" | "menu" | "set" | "subflow" | "rag" | "memory" | "speech" | "classify" | "router" | "note";
|
|
1751
1749
|
id: string;
|
|
1752
1750
|
config: Record<string, unknown>;
|
|
1753
1751
|
out: {
|
|
1754
1752
|
to: string;
|
|
1755
|
-
condition?: string | undefined;
|
|
1756
1753
|
sourceHandle?: string | undefined;
|
|
1757
1754
|
label?: string | undefined;
|
|
1755
|
+
condition?: string | undefined;
|
|
1758
1756
|
}[];
|
|
1759
1757
|
}>;
|
|
1758
|
+
v: 1;
|
|
1759
|
+
entry: string[];
|
|
1760
1760
|
completionGate: {
|
|
1761
1761
|
requiredFields: string[];
|
|
1762
1762
|
};
|
|
@@ -2640,7 +2640,10 @@ interface SecurityConfig {
|
|
|
2640
2640
|
* process serves many flows (the shared pool). See defineFlowRuntime().
|
|
2641
2641
|
*/
|
|
2642
2642
|
interface FlowRuntimeConfig {
|
|
2643
|
-
/**
|
|
2643
|
+
/**
|
|
2644
|
+
* The prompt of the pool's NON-flow agents — its brain-connector agents and a call plan's base. A flow agent never
|
|
2645
|
+
* runs on it: its persona is its published Behaviour prompt, else the shared default (burn-down G-46).
|
|
2646
|
+
*/
|
|
2644
2647
|
readonly basePrompt?: string;
|
|
2645
2648
|
/** Spoken (verbatim) before hanging up when a flow call's schema cannot be
|
|
2646
2649
|
* loaded. A failed flow boot NEVER silently answers as a generic assistant. */
|
|
@@ -2815,6 +2818,9 @@ interface IngestOptions {
|
|
|
2815
2818
|
* value — so caller text the model refuses as an instruction ("this is a test, please ignore") is still captured,
|
|
2816
2819
|
* at no extra model call. (burn-down G-26, owner retest 2026-10-02; flow-graph-free-text.test.ts) */
|
|
2817
2820
|
readonly answering?: string;
|
|
2821
|
+
/** Fields this turn must never fill — an ask's skip offer reads "yes, skip it" / "no, give me a sec" first, then
|
|
2822
|
+
* ingests the turn with its own field left out (a number volunteered for another field still lands; burn-down G-47). */
|
|
2823
|
+
readonly exclude?: readonly string[];
|
|
2818
2824
|
}
|
|
2819
2825
|
interface ProcessRuntime {
|
|
2820
2826
|
/** Add field-collection guidance to the system prompt. */
|
|
@@ -3084,6 +3090,17 @@ interface GraphResolvers {
|
|
|
3084
3090
|
* tool only values the caller said (`SecurityPrimitive.noteCallerText`, G-33 final review). */
|
|
3085
3091
|
readonly noteCallerText?: (text: string) => void;
|
|
3086
3092
|
}
|
|
3093
|
+
/**
|
|
3094
|
+
* What an ask step's pre-built lines were written for (burn-down G-48): the flow persona (flowPersonaOf the PUBLISHED
|
|
3095
|
+
* config), its routing layer and language — read once at call start, before any per-call layer. An ask uses its stored
|
|
3096
|
+
* `generated` lines only while `askLinesBasis` over these + the ask still matches theirs; the language also decides
|
|
3097
|
+
* whether English re-ask templates apply. Absent ⇒ unknown: stored lines are treated as stale.
|
|
3098
|
+
*/
|
|
3099
|
+
interface AskContext {
|
|
3100
|
+
readonly persona: string;
|
|
3101
|
+
readonly routing?: string | null | undefined;
|
|
3102
|
+
readonly language?: string | null | undefined;
|
|
3103
|
+
}
|
|
3087
3104
|
|
|
3088
3105
|
/**
|
|
3089
3106
|
* One conversation's Email-step sends, never sent twice (burn-down G-22): an exact repeat (same recipient, subject and
|
|
@@ -3175,6 +3192,11 @@ interface RunTextSessionOptions {
|
|
|
3175
3192
|
* into. Applies to the whole process and can't be undone (denyPrivateNetwork); there is no `true`.
|
|
3176
3193
|
*/
|
|
3177
3194
|
readonly allowPrivateNetwork?: false;
|
|
3195
|
+
/**
|
|
3196
|
+
* What an ask step's pre-built lines were written for (burn-down G-48): the flow persona (flowPersonaOf the agent's
|
|
3197
|
+
* PUBLISHED config), its routing and language, read once per conversation. Absent ⇒ stored lines read as stale.
|
|
3198
|
+
*/
|
|
3199
|
+
readonly askContext?: AskContext;
|
|
3178
3200
|
}
|
|
3179
3201
|
interface TextSession {
|
|
3180
3202
|
/** Feed an inbound user message (a final turn). */
|
|
@@ -3250,4 +3272,4 @@ type RunLiveTextOptions = Omit<RunTextSessionOptions, 'onAgentText' | 'onAwaitIn
|
|
|
3250
3272
|
* interpreter blocks for the next message, or the flow ends. */
|
|
3251
3273
|
declare function runLiveTextConversation(opts: RunLiveTextOptions): LiveTextConversation;
|
|
3252
3274
|
|
|
3253
|
-
export { type MetricsEvent as $, AgentEnvironment as A, ConsultationPolicy as B, type ConnectorInstance as C, type DtmfEvent as D, type DtmfHandler as E, type EndCallControllerHandle as F, type EndCallInfo as G, type HandoffConfig as H, type EndCallOutcome as I, type EndCallPolicy as J, type EndCallTrigger as K, type LLMProvider as L, type ModelConfig as M, type EndpointingConfig as N, type FakeSessionAdapter as O, ProcessSchemaDTO as P, type FloorControlConfig as Q, type ReadinessProbe as R, type STTProvider as S, type ToolDefinition as T, type InboundOptions as U, type VADProvider as V, type InferProcessData as W, type InterruptionConfig as X, LK_AGENT_STATE_MAP as Y, type MemoryHandle as Z, type MemoryScope as _, type AgentLifecycleEvent as a, transform as a$, NON_BUSY_STATES as a0, type Participant as a1, ParticipantId as a2, type ParticipantKind as a3, type ParticipantSet as a4, type ParticipantsConfig as a5, type ProcessBackendAck as a6, type ProcessFieldType as a7, type ProcessSnapshot as a8, type ReadinessReport as a9, type ToolInputShape as aA, type TriggerAction as aB, type TriggerCondition as aC, type TtsVoiceConfig as aD, type TurnEvent as aE, type Unsubscribe as aF, type UserInputEvent as aG, type UserStateEvent as aH, type UserTurn as aI, VoiceLayerAuthError as aJ, VoiceLayerError as aK, VoiceLayerHttpError as aL, VoiceLayerNetworkError as aM, VoiceLayerValidationError as aN, applySpeechTurnHandling as aO, asyncProbe as aP, defineProcess as aQ, dtmfCodeToDigit as aR, dtmfDigitToCode as aS, duck as aT, envProbe as aU, mute as aV, normalizeState as aW, passthrough as aX, runProbes as aY, runTextSession as aZ, runTextTranscript as a_, type ReadinessResult as aa, type RespondOptions as ab, type Room as ac, type RouteEntry as ad, type RoutingRule as ae, type RoutingSnapshot as af, type RunTextSessionOptions as ag, type RunTextTranscriptOptions as ah, type SayOptions as ai, type SecurityConfig as aj, type SendDtmfOptions as ak, type SessionAdapter as al, type SessionCapabilities as am, type SessionErrorEvent as an, type SessionEvent as ao, type SessionEventMap as ap, type SessionFactory as aq, type SessionFactoryInput as ar, type SessionOutbound as as, type SessionState as at, type ShorthandPrimitive as au, type SpeechResult as av, type SpeechTarget as aw, type StateChangeEvent as ax, type TextSession as ay, type TextTranscriptResult as az, AgentDTO as b, urlProbe as b0, type
|
|
3275
|
+
export { type MetricsEvent as $, AgentEnvironment as A, ConsultationPolicy as B, type ConnectorInstance as C, type DtmfEvent as D, type DtmfHandler as E, type EndCallControllerHandle as F, type EndCallInfo as G, type HandoffConfig as H, type EndCallOutcome as I, type EndCallPolicy as J, type EndCallTrigger as K, type LLMProvider as L, type ModelConfig as M, type EndpointingConfig as N, type FakeSessionAdapter as O, ProcessSchemaDTO as P, type FloorControlConfig as Q, type ReadinessProbe as R, type STTProvider as S, type ToolDefinition as T, type InboundOptions as U, type VADProvider as V, type InferProcessData as W, type InterruptionConfig as X, LK_AGENT_STATE_MAP as Y, type MemoryHandle as Z, type MemoryScope as _, type AgentLifecycleEvent as a, transform as a$, NON_BUSY_STATES as a0, type Participant as a1, ParticipantId as a2, type ParticipantKind as a3, type ParticipantSet as a4, type ParticipantsConfig as a5, type ProcessBackendAck as a6, type ProcessFieldType as a7, type ProcessSnapshot as a8, type ReadinessReport as a9, type ToolInputShape as aA, type TriggerAction as aB, type TriggerCondition as aC, type TtsVoiceConfig as aD, type TurnEvent as aE, type Unsubscribe as aF, type UserInputEvent as aG, type UserStateEvent as aH, type UserTurn as aI, VoiceLayerAuthError as aJ, VoiceLayerError as aK, VoiceLayerHttpError as aL, VoiceLayerNetworkError as aM, VoiceLayerValidationError as aN, applySpeechTurnHandling as aO, asyncProbe as aP, defineProcess as aQ, dtmfCodeToDigit as aR, dtmfDigitToCode as aS, duck as aT, envProbe as aU, mute as aV, normalizeState as aW, passthrough as aX, runProbes as aY, runTextSession as aZ, runTextTranscript as a_, type ReadinessResult as aa, type RespondOptions as ab, type Room as ac, type RouteEntry as ad, type RoutingRule as ae, type RoutingSnapshot as af, type RunTextSessionOptions as ag, type RunTextTranscriptOptions as ah, type SayOptions as ai, type SecurityConfig as aj, type SendDtmfOptions as ak, type SessionAdapter as al, type SessionCapabilities as am, type SessionErrorEvent as an, type SessionEvent as ao, type SessionEventMap as ap, type SessionFactory as aq, type SessionFactoryInput as ar, type SessionOutbound as as, type SessionState as at, type ShorthandPrimitive as au, type SpeechResult as av, type SpeechTarget as aw, type StateChangeEvent as ax, type TextSession as ay, type TextTranscriptResult as az, AgentDTO as b, urlProbe as b0, type AskContext as b1, type EmailResolver as b2, type FlowResolver as b3, type GraphResolvers as b4, type GraphTraceEvent as b5, type KnowledgeResolver as b6, type LiveTextConversation as b7, type LiveTurnResult as b8, type PlaybookLibraryEntry as b9, type PlaybookResolver as ba, type RegistryToolsResolver as bb, type RunLiveTextOptions as bc, dedupeConversationEmails as bd, denyPrivateNetwork as be, privateNetworkOptInHonoured as bf, runLiveTextConversation as bg, runWithOpenAIScope as bh, toPlaybookResolution as bi, type AgentEventEmitter as c, type AgentConfig as d, type ProcessField as e, type ProviderFactory as f, type TTSProvider as g, type RealtimeProvider as h, type TurnDetectorProvider as i, type ProcessDefinition as j, type TriggerDefinition as k, type MemoryConfig as l, type SpeechConfig as m, type ToolExecutor as n, type AgentContext as o, type ToolRunInfo as p, type HostLookup as q, type AgentEventListener as r, type AgentTurnEvent as s, type AudioProfile as t, type AudioSurface as u, type CallInfo as v, type CallOutcomeSummary as w, type ChannelKind as x, type CompletionStrategy as y, type ComplianceTag as z };
|