@8wave/ai-elements 0.102.0-beta.1 → 0.103.0-beta.2

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.
Files changed (71) hide show
  1. package/dist/_chunks/{Agent-Cq-9OZHI.js → Agent-hWgZhu7L.js} +99 -100
  2. package/dist/_chunks/{Agent-Cq-9OZHI.js.map → Agent-hWgZhu7L.js.map} +1 -1
  3. package/dist/_chunks/{PkToolRequestGeolocation-hAaQJW-t.js → PkToolRequestGeolocation-T16QI-Uv.js} +2 -2
  4. package/dist/_chunks/{PkToolRequestGeolocation-hAaQJW-t.js.map → PkToolRequestGeolocation-T16QI-Uv.js.map} +1 -1
  5. package/dist/_chunks/PkToolRequestOAuthConnection-C8e5np2q.js +116 -0
  6. package/dist/_chunks/PkToolRequestOAuthConnection-C8e5np2q.js.map +1 -0
  7. package/dist/_chunks/{PkToolShowForm-CdUUAjPc.js → PkToolShowForm-ztQFyFd9.js} +2 -2
  8. package/dist/_chunks/{PkToolShowForm-CdUUAjPc.js.map → PkToolShowForm-ztQFyFd9.js.map} +1 -1
  9. package/dist/_chunks/{PkToolShowSuggestedReply-BvHgjMQ4.js → PkToolShowSuggestedReply-Dqe4gtEY.js} +2 -2
  10. package/dist/_chunks/{PkToolShowSuggestedReply-BvHgjMQ4.js.map → PkToolShowSuggestedReply-Dqe4gtEY.js.map} +1 -1
  11. package/dist/ai-elements.es.js +5987 -5995
  12. package/dist/ai-elements.es.js.map +1 -1
  13. package/dist-vue/PkChatbot.js +1 -1
  14. package/dist-vue/PkChatbotMessages.js +1 -1
  15. package/dist-vue/PkChatbotViewChat.js +1 -1
  16. package/dist-vue/PkChatbotViewConversations.js +1 -1
  17. package/dist-vue/PkChatbotViewFiles.js +1 -1
  18. package/dist-vue/PkChatbotViewProfile.js +1 -1
  19. package/dist-vue/_chunks/{Agent-Cy-XE9N1.js → Agent-CGp48ayw.js} +62 -63
  20. package/dist-vue/_chunks/{Agent-Cy-XE9N1.js.map → Agent-CGp48ayw.js.map} +1 -1
  21. package/dist-vue/_chunks/{Document-B6xVkCfQ.js → Document-CjfNDh6w.js} +15 -15
  22. package/dist-vue/_chunks/{Document-B6xVkCfQ.js.map → Document-CjfNDh6w.js.map} +1 -1
  23. package/dist-vue/_chunks/{PkChatbot-CHe6t-LR.js → PkChatbot-C4SPneVX.js} +6 -6
  24. package/dist-vue/_chunks/{PkChatbot-CHe6t-LR.js.map → PkChatbot-C4SPneVX.js.map} +1 -1
  25. package/dist-vue/_chunks/PkChatbotMessages-BgsyN-mB.js +771 -0
  26. package/dist-vue/_chunks/PkChatbotMessages-BgsyN-mB.js.map +1 -0
  27. package/dist-vue/_chunks/{PkChatbotViewChat-DeeGCFJf.js → PkChatbotViewChat-BMr1DpNY.js} +912 -898
  28. package/dist-vue/_chunks/PkChatbotViewChat-BMr1DpNY.js.map +1 -0
  29. package/dist-vue/_chunks/{PkChatbotViewConversations-DXwqumyn.js → PkChatbotViewConversations-p72SEhU-.js} +2 -2
  30. package/dist-vue/_chunks/{PkChatbotViewConversations-DXwqumyn.js.map → PkChatbotViewConversations-p72SEhU-.js.map} +1 -1
  31. package/dist-vue/_chunks/{PkChatbotViewFiles-B4u87oH6.js → PkChatbotViewFiles-C2PUVFV2.js} +3 -3
  32. package/dist-vue/_chunks/{PkChatbotViewFiles-B4u87oH6.js.map → PkChatbotViewFiles-C2PUVFV2.js.map} +1 -1
  33. package/dist-vue/_chunks/{PkChatbotViewProfile-C_A0AP8x.js → PkChatbotViewProfile-BqWLlla-.js} +2 -2
  34. package/dist-vue/_chunks/{PkChatbotViewProfile-C_A0AP8x.js.map → PkChatbotViewProfile-BqWLlla-.js.map} +1 -1
  35. package/dist-vue/_chunks/{PkToolRequestGeolocation-CaHo_418.js → PkToolRequestGeolocation-CsQghLEb.js} +2 -2
  36. package/dist-vue/_chunks/{PkToolRequestGeolocation-CaHo_418.js.map → PkToolRequestGeolocation-CsQghLEb.js.map} +1 -1
  37. package/dist-vue/_chunks/PkToolRequestOAuthConnection-D5Jq6UZh.js +116 -0
  38. package/dist-vue/_chunks/PkToolRequestOAuthConnection-D5Jq6UZh.js.map +1 -0
  39. package/dist-vue/_chunks/{PkToolShowDiagram-CuQyY0uv.js → PkToolShowDiagram-DoklcF3f.js} +2 -2
  40. package/dist-vue/_chunks/{PkToolShowDiagram-CuQyY0uv.js.map → PkToolShowDiagram-DoklcF3f.js.map} +1 -1
  41. package/dist-vue/_chunks/{PkToolShowForm-vXgu3bZO.js → PkToolShowForm-CpY1KKUt.js} +2 -2
  42. package/dist-vue/_chunks/{PkToolShowForm-vXgu3bZO.js.map → PkToolShowForm-CpY1KKUt.js.map} +1 -1
  43. package/dist-vue/_chunks/{PkToolShowSources-Die_j1bn.js → PkToolShowSources-CLsbqcDd.js} +2 -2
  44. package/dist-vue/_chunks/{PkToolShowSources-Die_j1bn.js.map → PkToolShowSources-CLsbqcDd.js.map} +1 -1
  45. package/dist-vue/_chunks/{PkToolShowSuggestedReply-CryAdy6t.js → PkToolShowSuggestedReply-B-QwwART.js} +2 -2
  46. package/dist-vue/_chunks/{PkToolShowSuggestedReply-CryAdy6t.js.map → PkToolShowSuggestedReply-B-QwwART.js.map} +1 -1
  47. package/dist-vue/_chunks/{createChatbotApiClient-CoTSUkuj.js → createChatbotApiClient-nOLu9GAQ.js} +32 -28
  48. package/dist-vue/_chunks/{createChatbotApiClient-CoTSUkuj.js.map → createChatbotApiClient-nOLu9GAQ.js.map} +1 -1
  49. package/dist-vue/_chunks/{useChatbotStore-BcLvyaIV.js → useChatbotStore-DhWHlZwO.js} +756 -783
  50. package/dist-vue/_chunks/{useChatbotStore-BcLvyaIV.js.map → useChatbotStore-DhWHlZwO.js.map} +1 -1
  51. package/dist-vue/api.js +1 -1
  52. package/dist-vue/composables.js +2 -2
  53. package/dist-vue/index.js +304 -304
  54. package/dist-vue/index.js.map +1 -1
  55. package/dist-vue/locales.js +6 -2
  56. package/dist-vue/packages/components/src/chat/PkToolRequestOAuthConnection.d.ts +4 -0
  57. package/dist-vue/packages/components/src/chat/useVoiceSession.d.ts +0 -7
  58. package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +4 -0
  59. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +6 -14
  60. package/dist-vue/packages/models/src/schema/Agent.d.ts +12 -5
  61. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +2 -2
  62. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +2 -2
  63. package/dist-vue/style.css +1 -1
  64. package/package.json +1 -1
  65. package/dist/_chunks/PkToolRequestOAuthConnection-Bf_zoT2r.js +0 -73
  66. package/dist/_chunks/PkToolRequestOAuthConnection-Bf_zoT2r.js.map +0 -1
  67. package/dist-vue/_chunks/PkChatbotMessages-CWPSx2ce.js +0 -770
  68. package/dist-vue/_chunks/PkChatbotMessages-CWPSx2ce.js.map +0 -1
  69. package/dist-vue/_chunks/PkChatbotViewChat-DeeGCFJf.js.map +0 -1
  70. package/dist-vue/_chunks/PkToolRequestOAuthConnection-URjYDFhm.js +0 -73
  71. package/dist-vue/_chunks/PkToolRequestOAuthConnection-URjYDFhm.js.map +0 -1
@@ -110,6 +110,8 @@ var e = {
110
110
  fileLimitPerChat: "You have reached the limit of {max} files for this conversation.",
111
111
  fileLimitPerMessage: "You can attach at most {max} files per message.",
112
112
  voiceTookTooLong: "The answer took too long for the call. Try again, or continue in writing: the answer will appear here as soon as it is ready.",
113
+ voiceNoAnswer: "The agent could not produce an answer for this call. Try again, or continue in writing.",
114
+ voiceInterrupted: "Try again, or continue in writing.",
113
115
  voiceConfirmed: "I confirm.",
114
116
  voiceCancelled: "I have cancelled.",
115
117
  voiceLocationRefused: "I would rather not share my location.",
@@ -481,8 +483,8 @@ var e = {
481
483
  stepCount: "{n} step | {n} steps",
482
484
  stepError: "Error",
483
485
  requestGeolocation: "Requesting location...",
484
- requestOAuthConnection: "Connecting...",
485
486
  requestOAuthConnectionSuccess: "Successfully connected to {name}.",
487
+ requestOAuthConnection: "Connecting...",
486
488
  requestOAuthConnectionButton: "Connect {name}",
487
489
  requestOAuthConnectionPrompt: "To access {name} data, you need to authorize the connection.",
488
490
  requestOAuthConnectionInfo: "Authorization requested to access {name}'s data.",
@@ -646,6 +648,8 @@ var e = {
646
648
  fileLimitPerChat: "Hai raggiunto il limite di {max} file per questa conversazione.",
647
649
  fileLimitPerMessage: "Puoi allegare al massimo {max} file per messaggio.",
648
650
  voiceTookTooLong: "La risposta ha impiegato troppo tempo per la chiamata. Riprova, oppure continua per iscritto: la risposta comparirà qui appena pronta.",
651
+ voiceNoAnswer: "L'agente non è riuscito a produrre una risposta per questa chiamata. Riprova, oppure continua per iscritto.",
652
+ voiceInterrupted: "Riprova, oppure continua per iscritto.",
649
653
  voiceConfirmed: "Confermo.",
650
654
  voiceCancelled: "Ho annullato.",
651
655
  voiceLocationRefused: "Preferisco non condividere la mia posizione.",
@@ -1017,8 +1021,8 @@ var e = {
1017
1021
  stepCount: "{n} passaggio | {n} passaggi",
1018
1022
  stepError: "Errore",
1019
1023
  requestGeolocation: "Richiesta posizione...",
1020
- requestOAuthConnection: "Connessione in corso...",
1021
1024
  requestOAuthConnectionSuccess: "Connessione a {name} riuscita.",
1025
+ requestOAuthConnection: "Connessione in corso...",
1022
1026
  requestOAuthConnectionButton: "Connetti {name}",
1023
1027
  requestOAuthConnectionPrompt: "Per accedere ai dati di {name} è necessario autorizzare la connessione.",
1024
1028
  requestOAuthConnectionInfo: "Richiesta autorizzazione per accedere i dati di {name}.",
@@ -5,6 +5,10 @@ type __VLS_Props = {
5
5
  mcpServerId: string;
6
6
  authorizeUrl: string;
7
7
  }>;
8
+ checkConnection?: (serverName: string) => Promise<{
9
+ mcpServerId: string;
10
+ connected: boolean;
11
+ }>;
8
12
  };
9
13
  declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
10
14
  connected: (mcpServerId: string) => any;
@@ -7,13 +7,6 @@ export type VoiceSessionGrant = {
7
7
  /** Conversation the spoken turns are persisted into. */
8
8
  chatId: string;
9
9
  maxSessionSeconds: number;
10
- /**
11
- * Sentences the voice speaks that never persist (fillers, refusals, the
12
- * greeting): a transcript line made only of these is stage noise, not a
13
- * message. Absent on an older backend, which changes nothing but the
14
- * cleanup.
15
- */
16
- providerSpokenSentences?: string[];
17
10
  };
18
11
  export type VoiceTranscriptEntry = {
19
12
  role: 'user' | 'agent';
@@ -59,6 +59,10 @@ export interface ChatbotApiClient {
59
59
  mcpServerId: string;
60
60
  authorizeUrl: string;
61
61
  }>;
62
+ getOAuthConnectionStatus(agentId: string, serverName: string): Promise<{
63
+ mcpServerId: string;
64
+ connected: boolean;
65
+ }>;
62
66
  resolveShortUrls(hashes: string[]): Promise<Record<string, string>>;
63
67
  getChatFiles(chatId: string): Promise<ChatbotFile[]>;
64
68
  getChatFileDownloadUrl(documentId: string, inline?: boolean): string;
@@ -8,18 +8,13 @@ import { ProviderMetadata, LanguageModelUsage, ChatRequestOptions } from 'ai';
8
8
  import { JSONObject } from '@ai-sdk/provider';
9
9
  export type { JSONObject } from '@ai-sdk/provider';
10
10
  /**
11
- * Id prefix of the spoken lines the client shows before the server has them.
12
- * Their own id space is what lets a reload replace them instead of duplicating
13
- * them (see {@link unpersistedVoiceLines}).
11
+ * Id prefix of the spoken QUESTIONS the client shows before the server has
12
+ * them. Their own id space is what lets a reload replace them instead of
13
+ * duplicating them (see {@link unpersistedVoiceLines}). What the agent says
14
+ * never gets one: a spoken answer reaches the screen only as the written turn
15
+ * the server persisted, whole, with its sources and its widgets.
14
16
  */
15
17
  export declare const VOICE_LINE_ID_PREFIX = "voice-";
16
- /**
17
- * True when a spoken agent line is nothing but provider-only sentences
18
- * (fillers, refusals, the greeting: the list travels with the session grant).
19
- * Such a line is stage sound, not a message: no reload will ever have a
20
- * persisted counterpart for it, so the chat view keeps it out entirely.
21
- */
22
- export declare const isVoiceProviderNoise: (text: string, providerOnlySentences: string[]) => boolean;
23
18
  /**
24
19
  * True when the last assistant step carries a client tool the user has
25
20
  * answered, and nothing left in it for the user to answer.
@@ -1620,7 +1615,6 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
1620
1615
  loadChatFiles: () => Promise<void>;
1621
1616
  refreshMessages: () => Promise<"pending" | "caught-up" | "indeterminate">;
1622
1617
  appendMessage: (message: UIChatMessage) => void;
1623
- voiceProviderSentences: globalThis.Ref<string[], string[]>;
1624
1618
  getChatFileUrl: (documentId: string, inline?: boolean) => string;
1625
1619
  getChatFilePreviewUrl: (documentId: string) => string;
1626
1620
  deleteChatFile: (documentId: string) => Promise<void>;
@@ -1652,7 +1646,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
1652
1646
  navigate: (view: ChatbotView) => void;
1653
1647
  renameChatTitle: (chatId: string, title: string) => Promise<void>;
1654
1648
  deleteChat: (chatId: string) => Promise<void>;
1655
- }, "name" | "input" | "externalContext" | "model" | "gatewayOptions" | "fallbackModels" | "agentId" | "headers" | "userId" | "conversations" | "agentModel" | "agentType" | "baseUrl" | "basePath" | "agentInterface" | "agentTools" | "revisedAnswers" | "actionsInput" | "agentFileUpload" | "agentVoice" | "systemTheme" | "hideWelcomeMessage" | "isLoadingConversations" | "chatFiles" | "isLoadingChatFiles" | "pendingAttachments" | "fileLimitError" | "isConversationBlocked" | "chatError" | "activeView" | "messageFeedbacks" | "feedbackDialogMessage" | "isFeedbackSubmitting" | "isFeedbackSubmitted" | "feedbackSubmitError" | "isLeadSubmitted" | "isLoadingSubmitLead" | "submitLeadError" | "voiceProviderSentences">, Pick<{
1649
+ }, "name" | "input" | "externalContext" | "model" | "gatewayOptions" | "fallbackModels" | "agentId" | "headers" | "userId" | "conversations" | "agentModel" | "agentType" | "baseUrl" | "basePath" | "agentInterface" | "agentTools" | "revisedAnswers" | "actionsInput" | "agentFileUpload" | "agentVoice" | "systemTheme" | "hideWelcomeMessage" | "isLoadingConversations" | "chatFiles" | "isLoadingChatFiles" | "pendingAttachments" | "fileLimitError" | "isConversationBlocked" | "chatError" | "activeView" | "messageFeedbacks" | "feedbackDialogMessage" | "isFeedbackSubmitting" | "isFeedbackSubmitted" | "feedbackSubmitError" | "isLeadSubmitted" | "isLoadingSubmitLead" | "submitLeadError">, Pick<{
1656
1650
  apiClient: globalThis.ComputedRef< ChatbotApiClient>;
1657
1651
  baseUrl: globalThis.Ref<string, string>;
1658
1652
  basePath: globalThis.Ref<string | undefined, string | undefined>;
@@ -3231,7 +3225,6 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
3231
3225
  loadChatFiles: () => Promise<void>;
3232
3226
  refreshMessages: () => Promise<"pending" | "caught-up" | "indeterminate">;
3233
3227
  appendMessage: (message: UIChatMessage) => void;
3234
- voiceProviderSentences: globalThis.Ref<string[], string[]>;
3235
3228
  getChatFileUrl: (documentId: string, inline?: boolean) => string;
3236
3229
  getChatFilePreviewUrl: (documentId: string) => string;
3237
3230
  deleteChatFile: (documentId: string) => Promise<void>;
@@ -4842,7 +4835,6 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
4842
4835
  loadChatFiles: () => Promise<void>;
4843
4836
  refreshMessages: () => Promise<"pending" | "caught-up" | "indeterminate">;
4844
4837
  appendMessage: (message: UIChatMessage) => void;
4845
- voiceProviderSentences: globalThis.Ref<string[], string[]>;
4846
4838
  getChatFileUrl: (documentId: string, inline?: boolean) => string;
4847
4839
  getChatFilePreviewUrl: (documentId: string) => string;
4848
4840
  deleteChatFile: (documentId: string) => Promise<void>;
@@ -1102,6 +1102,14 @@ export declare const AgentOpenAiApiSchema: z.ZodObject<{
1102
1102
  enabled: z.ZodDefault<z.ZodBoolean>;
1103
1103
  }, z.core.$strip>;
1104
1104
  export type AgentOpenAiApi = z.infer<typeof AgentOpenAiApiSchema>;
1105
+ /**
1106
+ * Shortest first-token deadline the provider actually honours. Below it the
1107
+ * turn does not fall back on their model, it fails outright with "LLM Cascade
1108
+ * Error: Brain returned no response" (production, 2026-08-27).
1109
+ */
1110
+ export declare const VOICE_MIN_CASCADE_TIMEOUT_SECONDS = 5;
1111
+ /** And the longest they accept: their own ceiling, measured 2026-08-06. */
1112
+ export declare const VOICE_MAX_CASCADE_TIMEOUT_SECONDS = 15;
1105
1113
  /**
1106
1114
  * Voice conversation through ElevenLabs Agents, which provides the voice layer
1107
1115
  * (ASR, turn taking, barge-in, TTS) and calls back into our own turn as a
@@ -1117,7 +1125,7 @@ export declare const AgentVoiceSchema: z.ZodObject<{
1117
1125
  voiceId: z.ZodOptional<z.ZodString>;
1118
1126
  language: z.ZodDefault<z.ZodString>;
1119
1127
  maxSessionSeconds: z.ZodDefault<z.ZodNumber>;
1120
- cascadeTimeoutSeconds: z.ZodDefault<z.ZodNumber>;
1128
+ cascadeTimeoutSeconds: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
1121
1129
  fillerAfterSeconds: z.ZodOptional<z.ZodNumber>;
1122
1130
  fillerMessage: z.ZodOptional<z.ZodString>;
1123
1131
  ignoreBackgroundVoices: z.ZodDefault<z.ZodBoolean>;
@@ -1191,7 +1199,6 @@ export declare const VoiceSessionSchema: z.ZodObject<{
1191
1199
  providerAgentId: z.ZodString;
1192
1200
  chatId: z.ZodString;
1193
1201
  maxSessionSeconds: z.ZodNumber;
1194
- providerSpokenSentences: z.ZodDefault<z.ZodArray<z.ZodString>>;
1195
1202
  }, z.core.$strip>;
1196
1203
  export type VoiceSession = z.infer<typeof VoiceSessionSchema>;
1197
1204
  /** A provider voice, as offered in the agent configuration. */
@@ -1567,7 +1574,7 @@ export declare const AgentSettingsSchema: z.ZodObject<{
1567
1574
  voiceId: z.ZodOptional<z.ZodString>;
1568
1575
  language: z.ZodDefault<z.ZodString>;
1569
1576
  maxSessionSeconds: z.ZodDefault<z.ZodNumber>;
1570
- cascadeTimeoutSeconds: z.ZodDefault<z.ZodNumber>;
1577
+ cascadeTimeoutSeconds: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
1571
1578
  fillerAfterSeconds: z.ZodOptional<z.ZodNumber>;
1572
1579
  fillerMessage: z.ZodOptional<z.ZodString>;
1573
1580
  ignoreBackgroundVoices: z.ZodDefault<z.ZodBoolean>;
@@ -1961,7 +1968,7 @@ export declare const AgentDtoSchema: z.ZodObject<{
1961
1968
  voiceId: z.ZodOptional<z.ZodString>;
1962
1969
  language: z.ZodDefault<z.ZodString>;
1963
1970
  maxSessionSeconds: z.ZodDefault<z.ZodNumber>;
1964
- cascadeTimeoutSeconds: z.ZodDefault<z.ZodNumber>;
1971
+ cascadeTimeoutSeconds: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
1965
1972
  fillerAfterSeconds: z.ZodOptional<z.ZodNumber>;
1966
1973
  fillerMessage: z.ZodOptional<z.ZodString>;
1967
1974
  ignoreBackgroundVoices: z.ZodDefault<z.ZodBoolean>;
@@ -2356,7 +2363,7 @@ export declare const AgentSchema: z.ZodLazy<z.ZodObject<{
2356
2363
  voiceId: z.ZodOptional<z.ZodString>;
2357
2364
  language: z.ZodDefault<z.ZodString>;
2358
2365
  maxSessionSeconds: z.ZodDefault<z.ZodNumber>;
2359
- cascadeTimeoutSeconds: z.ZodDefault<z.ZodNumber>;
2366
+ cascadeTimeoutSeconds: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
2360
2367
  fillerAfterSeconds: z.ZodOptional<z.ZodNumber>;
2361
2368
  fillerMessage: z.ZodOptional<z.ZodString>;
2362
2369
  ignoreBackgroundVoices: z.ZodDefault<z.ZodBoolean>;
@@ -384,7 +384,7 @@ export declare const ReasoningChatSchema: z.ZodObject<{
384
384
  voiceId: z.ZodOptional<z.ZodString>;
385
385
  language: z.ZodDefault<z.ZodString>;
386
386
  maxSessionSeconds: z.ZodDefault<z.ZodNumber>;
387
- cascadeTimeoutSeconds: z.ZodDefault<z.ZodNumber>;
387
+ cascadeTimeoutSeconds: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
388
388
  fillerAfterSeconds: z.ZodOptional<z.ZodNumber>;
389
389
  fillerMessage: z.ZodOptional<z.ZodString>;
390
390
  ignoreBackgroundVoices: z.ZodDefault<z.ZodBoolean>;
@@ -830,7 +830,7 @@ export declare const ReasoningChatSchema: z.ZodObject<{
830
830
  voiceId: z.ZodOptional<z.ZodString>;
831
831
  language: z.ZodDefault<z.ZodString>;
832
832
  maxSessionSeconds: z.ZodDefault<z.ZodNumber>;
833
- cascadeTimeoutSeconds: z.ZodDefault<z.ZodNumber>;
833
+ cascadeTimeoutSeconds: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
834
834
  fillerAfterSeconds: z.ZodOptional<z.ZodNumber>;
835
835
  fillerMessage: z.ZodOptional<z.ZodString>;
836
836
  ignoreBackgroundVoices: z.ZodDefault<z.ZodBoolean>;
@@ -384,7 +384,7 @@ export declare const SubAgentSchema: z.ZodObject<{
384
384
  voiceId: z.ZodOptional<z.ZodString>;
385
385
  language: z.ZodDefault<z.ZodString>;
386
386
  maxSessionSeconds: z.ZodDefault<z.ZodNumber>;
387
- cascadeTimeoutSeconds: z.ZodDefault<z.ZodNumber>;
387
+ cascadeTimeoutSeconds: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
388
388
  fillerAfterSeconds: z.ZodOptional<z.ZodNumber>;
389
389
  fillerMessage: z.ZodOptional<z.ZodString>;
390
390
  ignoreBackgroundVoices: z.ZodDefault<z.ZodBoolean>;
@@ -788,7 +788,7 @@ export declare const SubAgentSchema: z.ZodObject<{
788
788
  voiceId: z.ZodOptional<z.ZodString>;
789
789
  language: z.ZodDefault<z.ZodString>;
790
790
  maxSessionSeconds: z.ZodDefault<z.ZodNumber>;
791
- cascadeTimeoutSeconds: z.ZodDefault<z.ZodNumber>;
791
+ cascadeTimeoutSeconds: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
792
792
  fillerAfterSeconds: z.ZodOptional<z.ZodNumber>;
793
793
  fillerMessage: z.ZodOptional<z.ZodString>;
794
794
  ignoreBackgroundVoices: z.ZodDefault<z.ZodBoolean>;