@8wave/ai-elements 0.124.0 → 0.125.0-beta.10
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/_chunks/{Agent-BBWFD4nI.js → Agent-DZhK49jg.js} +99 -96
- package/dist/_chunks/Agent-DZhK49jg.js.map +1 -0
- package/dist/_chunks/{PkFilePreview-BwHe4-m1.js → PkFilePreview-C3R3jrNi.js} +31 -31
- package/dist/_chunks/{PkFilePreview-BwHe4-m1.js.map → PkFilePreview-C3R3jrNi.js.map} +1 -1
- package/dist/_chunks/{PkFilePreviewDialog-LWxNgkzk.js → PkFilePreviewDialog-BAKFOnPI.js} +2 -2
- package/dist/_chunks/{PkFilePreviewDialog-LWxNgkzk.js.map → PkFilePreviewDialog-BAKFOnPI.js.map} +1 -1
- package/dist/_chunks/{PkStreamingMarkdown-BvgO6aHe.js → PkStreamingMarkdown-BM-DSTPr.js} +3 -3
- package/dist/_chunks/{PkStreamingMarkdown-BvgO6aHe.js.map → PkStreamingMarkdown-BM-DSTPr.js.map} +1 -1
- package/dist/_chunks/{PkToolChatFile-OuaeZTxw.js → PkToolChatFile-DbeOmRPh.js} +3 -3
- package/dist/_chunks/{PkToolChatFile-OuaeZTxw.js.map → PkToolChatFile-DbeOmRPh.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-C9PSITRU.js → PkToolRequestGeolocation-CCz4REP9.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-C9PSITRU.js.map → PkToolRequestGeolocation-CCz4REP9.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-CWi5SeCi.js → PkToolRequestOAuthConnection-BU-4Sm3z.js} +2 -2
- package/dist/_chunks/{PkToolRequestOAuthConnection-CWi5SeCi.js.map → PkToolRequestOAuthConnection-BU-4Sm3z.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-BqgW3E6D.js → PkToolShowArtifact-utxGuLLt.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-BqgW3E6D.js.map → PkToolShowArtifact-utxGuLLt.js.map} +1 -1
- package/dist/_chunks/PkToolShowCalendarEvent-DWtTo28t.js +148 -0
- package/dist/_chunks/PkToolShowCalendarEvent-DWtTo28t.js.map +1 -0
- package/dist/_chunks/{PkToolShowContactForm-DDDXopZp.js → PkToolShowContactForm-DTtE93D3.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-DDDXopZp.js.map → PkToolShowContactForm-DTtE93D3.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-D2LZ8Kkl.js → PkToolShowForm-I4pKopEI.js} +6 -6
- package/dist/_chunks/{PkToolShowForm-D2LZ8Kkl.js.map → PkToolShowForm-I4pKopEI.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-DAcW2Dau.js → PkToolShowImageGallery-skV87BlD.js} +2 -2
- package/dist/_chunks/{PkToolShowImageGallery-DAcW2Dau.js.map → PkToolShowImageGallery-skV87BlD.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-OYwQCHar.js → PkToolShowProductList-CcdOQoxf.js} +2 -2
- package/dist/_chunks/{PkToolShowProductList-OYwQCHar.js.map → PkToolShowProductList-CcdOQoxf.js.map} +1 -1
- package/dist/_chunks/{PkToolShowQrCode-e6DxEcWY.js → PkToolShowQrCode-DGMhVUbp.js} +28 -22
- package/dist/_chunks/PkToolShowQrCode-DGMhVUbp.js.map +1 -0
- package/dist/_chunks/{PkToolShowSources-DA4SOt-H.js → PkToolShowSources-DLmVS3bL.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-DA4SOt-H.js.map → PkToolShowSources-DLmVS3bL.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-BTE7TZ4Z.js → PkToolShowSuggestedReply-Cv-WVCFN.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-BTE7TZ4Z.js.map → PkToolShowSuggestedReply-Cv-WVCFN.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-bTWeXtZd.js → PkToolShowVideo-D_K95gTR.js} +2 -2
- package/dist/_chunks/{PkToolShowVideo-bTWeXtZd.js.map → PkToolShowVideo-D_K95gTR.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-DNbdkSSz.js → PkToolShowWebPages-DsfMacw-.js} +2 -2
- package/dist/_chunks/{PkToolShowWebPages-DNbdkSSz.js.map → PkToolShowWebPages-DsfMacw-.js.map} +1 -1
- package/dist/_chunks/{chatImagePolicy-C4jFnVQl.js → chatImagePolicy-BfgdFbm_.js} +2 -2
- package/dist/_chunks/{chatImagePolicy-C4jFnVQl.js.map → chatImagePolicy-BfgdFbm_.js.map} +1 -1
- package/dist/_chunks/{markdown-DDYeZICP.js → markdown-CrMYpY8l.js} +10 -10
- package/dist/_chunks/{markdown-DDYeZICP.js.map → markdown-CrMYpY8l.js.map} +1 -1
- package/dist/_chunks/{utils-euH8esYP.js → utils-CbhqxYyx.js} +57 -57
- package/dist/_chunks/utils-CbhqxYyx.js.map +1 -0
- package/dist/ai-elements.es.js +4310 -4198
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotEmptyState.js +1 -1
- package/dist-vue/PkChatbotInput.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotStepPayload.js +1 -1
- package/dist-vue/PkChatbotStepToolDetail.js +1 -1
- package/dist-vue/PkChatbotSteps.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/PkChatbotViewFiles.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/{Agent-DQl-tv4S.js → Agent-BtXBSGy6.js} +34 -31
- package/dist-vue/_chunks/Agent-BtXBSGy6.js.map +1 -0
- package/dist-vue/_chunks/{Document-DXDifFZE.js → Document-DERAWuR0.js} +10 -10
- package/dist-vue/_chunks/{Document-DXDifFZE.js.map → Document-DERAWuR0.js.map} +1 -1
- package/dist-vue/_chunks/PkChatbot-CLOfTLQy.js +294 -0
- package/dist-vue/_chunks/PkChatbot-CLOfTLQy.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotEmptyState-CLOH5Z2d.js → PkChatbotEmptyState-C9aUiynZ.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-CLOH5Z2d.js.map → PkChatbotEmptyState-C9aUiynZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-BK7f1jFE.js → PkChatbotInput-Bs8nn-Jz.js} +154 -135
- package/dist-vue/_chunks/PkChatbotInput-Bs8nn-Jz.js.map +1 -0
- package/dist-vue/_chunks/PkChatbotMessages-BxkCGmqV.js +1039 -0
- package/dist-vue/_chunks/PkChatbotMessages-BxkCGmqV.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotStepPayload-D682n3VR.js → PkChatbotStepPayload-C45aVagz.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-D682n3VR.js.map → PkChatbotStepPayload-C45aVagz.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-D5c8rqj9.js → PkChatbotStepToolDetail-B0tC33x6.js} +16 -16
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-D5c8rqj9.js.map → PkChatbotStepToolDetail-B0tC33x6.js.map} +1 -1
- package/dist-vue/_chunks/PkChatbotSteps-MTSA_RrY.js +215 -0
- package/dist-vue/_chunks/PkChatbotSteps-MTSA_RrY.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewChat-D8depeWQ.js → PkChatbotViewChat-BwXOt2WW.js} +450 -446
- package/dist-vue/_chunks/PkChatbotViewChat-BwXOt2WW.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewConversations-B-dmLi-8.js → PkChatbotViewConversations-CtxE_a1O.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewConversations-B-dmLi-8.js.map → PkChatbotViewConversations-CtxE_a1O.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-Du5AAS4v.js → PkChatbotViewFiles-B51zU374.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-Du5AAS4v.js.map → PkChatbotViewFiles-B51zU374.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-UZrZdOyM.js → PkChatbotViewProfile-BSKRU7Ae.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-UZrZdOyM.js.map → PkChatbotViewProfile-BSKRU7Ae.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreview-B54Dp_Rs.js → PkFilePreview-p-AGDrXi.js} +30 -30
- package/dist-vue/_chunks/{PkFilePreview-B54Dp_Rs.js.map → PkFilePreview-p-AGDrXi.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreviewDialog-QDPoZh1v.js → PkFilePreviewDialog-BpeeWS6d.js} +2 -2
- package/dist-vue/_chunks/{PkFilePreviewDialog-QDPoZh1v.js.map → PkFilePreviewDialog-BpeeWS6d.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-qnKwvrCg.js → PkStreamingMarkdown-DlcTV5je.js} +3 -3
- package/dist-vue/_chunks/{PkStreamingMarkdown-qnKwvrCg.js.map → PkStreamingMarkdown-DlcTV5je.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolChatFile-i0rHgFxB.js → PkToolChatFile-HWGjtuaT.js} +3 -3
- package/dist-vue/_chunks/{PkToolChatFile-i0rHgFxB.js.map → PkToolChatFile-HWGjtuaT.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-SDzM1-Wl.js → PkToolRequestGeolocation-euI4VBVe.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-SDzM1-Wl.js.map → PkToolRequestGeolocation-euI4VBVe.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-DNrlGxMX.js → PkToolRequestOAuthConnection-DAAYyufP.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-DNrlGxMX.js.map → PkToolRequestOAuthConnection-DAAYyufP.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-Dh4ogn6A.js → PkToolShowArtifact-C8OIF_sy.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-Dh4ogn6A.js.map → PkToolShowArtifact-C8OIF_sy.js.map} +1 -1
- package/dist-vue/_chunks/PkToolShowCalendarEvent-CAejFLQI.js +148 -0
- package/dist-vue/_chunks/PkToolShowCalendarEvent-CAejFLQI.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowContactForm-BGTI1sio.js → PkToolShowContactForm-K6Z5MUXk.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-BGTI1sio.js.map → PkToolShowContactForm-K6Z5MUXk.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-xef3wJb0.js → PkToolShowDiagram-DrlGh_v6.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-xef3wJb0.js.map → PkToolShowDiagram-DrlGh_v6.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-Crg4Kl6v.js → PkToolShowForm-DzsXJfOl.js} +6 -6
- package/dist-vue/_chunks/{PkToolShowForm-Crg4Kl6v.js.map → PkToolShowForm-DzsXJfOl.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-D9hdGBHK.js → PkToolShowImageGallery-sCyrPOIT.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-D9hdGBHK.js.map → PkToolShowImageGallery-sCyrPOIT.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-SC5aKDCw.js → PkToolShowProductList-DPDDeVu4.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-SC5aKDCw.js.map → PkToolShowProductList-DPDDeVu4.js.map} +1 -1
- package/dist-vue/_chunks/PkToolShowQrCode-96KzD1rX.js +78 -0
- package/dist-vue/_chunks/PkToolShowQrCode-96KzD1rX.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowSources-Bf9_JwFL.js → PkToolShowSources-D4zjssdh.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-Bf9_JwFL.js.map → PkToolShowSources-D4zjssdh.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-BlcEfMx8.js → PkToolShowSuggestedReply-smfC1hlT.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-BlcEfMx8.js.map → PkToolShowSuggestedReply-smfC1hlT.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-C2ITZDNo.js → PkToolShowVideo-C77DAqoZ.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-C2ITZDNo.js.map → PkToolShowVideo-C77DAqoZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-BrefGxKQ.js → PkToolShowWebPages-D_tqGI6o.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-BrefGxKQ.js.map → PkToolShowWebPages-D_tqGI6o.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-Bukf58dz.js → createChatbotApiClient-CO6l0P79.js} +87 -85
- package/dist-vue/_chunks/createChatbotApiClient-CO6l0P79.js.map +1 -0
- package/dist-vue/_chunks/{useChatbotStore-DcvdWkgq.js → useChatbotStore-CY1gAHOh.js} +1224 -1201
- package/dist-vue/_chunks/useChatbotStore-CY1gAHOh.js.map +1 -0
- package/dist-vue/_chunks/{utils-B0PnU1Rk.js → utils-CX4JuhXz.js} +66 -66
- package/dist-vue/_chunks/utils-CX4JuhXz.js.map +1 -0
- package/dist-vue/api.js +1 -1
- package/dist-vue/apps/web-component/src/composables/useChatbotAgent.d.ts +6 -0
- package/dist-vue/composables.js +20 -8
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +3394 -3359
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +20 -4
- package/dist-vue/packages/components/src/chat/PkAgentPageAccessSettings.d.ts +5 -0
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +6 -2
- package/dist-vue/packages/components/src/chat/PkChatbot.d.ts +10 -8
- package/dist-vue/packages/components/src/chat/PkChatbotInput.d.ts +11 -3
- package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +2 -2
- package/dist-vue/packages/components/src/chat/PkFieldChanges.d.ts +15 -0
- package/dist-vue/packages/components/src/chat/PkHostCallConfirmCard.d.ts +1 -2
- package/dist-vue/packages/components/src/chat/index.d.ts +1 -1
- package/dist-vue/packages/components/src/chat/utils.d.ts +18 -0
- package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +2 -0
- package/dist-vue/packages/composable/src/chatbot/appTools.d.ts +11 -5
- package/dist-vue/packages/composable/src/chatbot/fieldChanges.d.ts +56 -0
- package/dist-vue/packages/composable/src/chatbot/hostTools.d.ts +19 -0
- package/dist-vue/packages/composable/src/chatbot/index.d.ts +1 -0
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +31 -4
- package/dist-vue/packages/models/src/schema/Agent.d.ts +50 -0
- package/dist-vue/packages/models/src/schema/Chat.d.ts +1 -0
- package/dist-vue/packages/models/src/schema/Organization.d.ts +9 -0
- package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +6 -0
- package/dist-vue/packages/models/src/schema/SubAgent.d.ts +6 -0
- package/dist-vue/style.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/Agent-BBWFD4nI.js.map +0 -1
- package/dist/_chunks/PkToolShowCalendarEvent-mVY2FS24.js +0 -148
- package/dist/_chunks/PkToolShowCalendarEvent-mVY2FS24.js.map +0 -1
- package/dist/_chunks/PkToolShowQrCode-e6DxEcWY.js.map +0 -1
- package/dist/_chunks/utils-euH8esYP.js.map +0 -1
- package/dist-vue/_chunks/Agent-DQl-tv4S.js.map +0 -1
- package/dist-vue/_chunks/PkChatbot-BRttF7Lo.js +0 -286
- package/dist-vue/_chunks/PkChatbot-BRttF7Lo.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotInput-BK7f1jFE.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotMessages-Ck0ofhtK.js +0 -1041
- package/dist-vue/_chunks/PkChatbotMessages-Ck0ofhtK.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotSteps-CtKRHqaG.js +0 -189
- package/dist-vue/_chunks/PkChatbotSteps-CtKRHqaG.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewChat-D8depeWQ.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowCalendarEvent-BsAOYLjp.js +0 -148
- package/dist-vue/_chunks/PkToolShowCalendarEvent-BsAOYLjp.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowQrCode-skWaARYV.js +0 -72
- package/dist-vue/_chunks/PkToolShowQrCode-skWaARYV.js.map +0 -1
- package/dist-vue/_chunks/createChatbotApiClient-Bukf58dz.js.map +0 -1
- package/dist-vue/_chunks/useChatbotStore-DcvdWkgq.js.map +0 -1
- package/dist-vue/_chunks/utils-B0PnU1Rk.js.map +0 -1
|
@@ -587,6 +587,15 @@ export declare function isVoiceRenderAck(output: unknown): boolean;
|
|
|
587
587
|
export declare function isVoiceRenderedTool(toolName: string): boolean;
|
|
588
588
|
/** Single availability rule for a client tool, shared by tool set and prompt. */
|
|
589
589
|
export declare function supportsClientTool(surface: ClientToolSurface, toolName: string): boolean;
|
|
590
|
+
/**
|
|
591
|
+
* True when what the model writes is shown by the chat component, which turns
|
|
592
|
+
* a short link (`/api/r/<hash>`) back into its URL: the web chat and the
|
|
593
|
+
* widget, and voice, whose conversation is that chat. Only there may a tool
|
|
594
|
+
* hand the model short links to save tokens. Anywhere else the answer leaves
|
|
595
|
+
* the platform (a Teams or WhatsApp message, a program on the
|
|
596
|
+
* OpenAI-compatible API) and its URLs must be the real ones.
|
|
597
|
+
*/
|
|
598
|
+
export declare function surfaceResolvesShortLinks(surface: ClientToolSurface): boolean;
|
|
590
599
|
/**
|
|
591
600
|
* Surface of a transport. Unknown transports are treated as Web, which is the
|
|
592
601
|
* historical behaviour: a new caller has to opt into being headless, so adding
|
|
@@ -1395,6 +1404,11 @@ export declare const AgentVoiceCapabilitySchema: z.ZodObject<{
|
|
|
1395
1404
|
enabled: z.ZodBoolean;
|
|
1396
1405
|
}, z.core.$strip>;
|
|
1397
1406
|
export type AgentVoiceCapability = z.infer<typeof AgentVoiceCapabilitySchema>;
|
|
1407
|
+
/**
|
|
1408
|
+
* The confirmations a chat request or a call asks for (spec
|
|
1409
|
+
* `auto-confirmations.md`): absent is manual.
|
|
1410
|
+
*/
|
|
1411
|
+
export declare const ChatConfirmationsSchema: z.ZodLiteral<"automatic">;
|
|
1398
1412
|
/** Body of a voice session request: which conversation to talk into. */
|
|
1399
1413
|
export declare const VoiceSessionRequestSchema: z.ZodObject<{
|
|
1400
1414
|
chatId: z.ZodOptional<z.ZodString>;
|
|
@@ -1431,6 +1445,7 @@ export declare const VoiceSessionRequestSchema: z.ZodObject<{
|
|
|
1431
1445
|
}, z.core.$strip>>;
|
|
1432
1446
|
externalContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1433
1447
|
pageTools: z.ZodOptional<z.ZodUnknown>;
|
|
1448
|
+
confirmations: z.ZodOptional<z.ZodLiteral<"automatic">>;
|
|
1434
1449
|
}, z.core.$strip>;
|
|
1435
1450
|
export type VoiceSessionRequest = z.infer<typeof VoiceSessionRequestSchema>;
|
|
1436
1451
|
/**
|
|
@@ -1462,6 +1477,20 @@ export declare const VoiceOptionListSchema: z.ZodArray<z.ZodObject<{
|
|
|
1462
1477
|
previewUrl: z.ZodOptional<z.ZodString>;
|
|
1463
1478
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1464
1479
|
}, z.core.$strip>>;
|
|
1480
|
+
/**
|
|
1481
|
+
* The chat's confirmations (spec `auto-confirmations.md`): whether the user
|
|
1482
|
+
* may switch them to automatic. Honoured only where the organization has
|
|
1483
|
+
* the `autoConfirmations` feature.
|
|
1484
|
+
*/
|
|
1485
|
+
export declare const AgentConfirmationsSettingsSchema: z.ZodObject<{
|
|
1486
|
+
allowAutomatic: z.ZodDefault<z.ZodBoolean>;
|
|
1487
|
+
}, z.core.$strip>;
|
|
1488
|
+
export type AgentConfirmationsSettings = z.infer<typeof AgentConfirmationsSettingsSchema>;
|
|
1489
|
+
/** What the chat needs of them, on the public agent: present only when allowed. */
|
|
1490
|
+
export declare const AgentConfirmationsCapabilitySchema: z.ZodObject<{
|
|
1491
|
+
allowAutomatic: z.ZodLiteral<true>;
|
|
1492
|
+
}, z.core.$strip>;
|
|
1493
|
+
export type AgentConfirmationsCapability = z.infer<typeof AgentConfirmationsCapabilitySchema>;
|
|
1465
1494
|
export declare const AgentSettingsSchema: z.ZodObject<{
|
|
1466
1495
|
model: z.ZodObject<{
|
|
1467
1496
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -1876,6 +1905,9 @@ export declare const AgentSettingsSchema: z.ZodObject<{
|
|
|
1876
1905
|
acknowledgedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1877
1906
|
acknowledgedLevel: z.ZodOptional<z.ZodEnum<typeof PageAccessLevel>>;
|
|
1878
1907
|
}, z.core.$strip>>;
|
|
1908
|
+
confirmations: z.ZodOptional<z.ZodObject<{
|
|
1909
|
+
allowAutomatic: z.ZodDefault<z.ZodBoolean>;
|
|
1910
|
+
}, z.core.$strip>>;
|
|
1879
1911
|
}, z.core.$strip>;
|
|
1880
1912
|
export type AgentSettings = z.infer<typeof AgentSettingsSchema>;
|
|
1881
1913
|
export declare const AgentSecuritySchema: z.ZodObject<{
|
|
@@ -2312,6 +2344,9 @@ export declare const AgentDtoSchema: z.ZodObject<{
|
|
|
2312
2344
|
acknowledgedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
2313
2345
|
acknowledgedLevel: z.ZodOptional<z.ZodEnum<typeof PageAccessLevel>>;
|
|
2314
2346
|
}, z.core.$strip>>;
|
|
2347
|
+
confirmations: z.ZodOptional<z.ZodObject<{
|
|
2348
|
+
allowAutomatic: z.ZodDefault<z.ZodBoolean>;
|
|
2349
|
+
}, z.core.$strip>>;
|
|
2315
2350
|
}, z.core.$strip>;
|
|
2316
2351
|
security: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2317
2352
|
rateLimits: z.ZodObject<{
|
|
@@ -2749,6 +2784,9 @@ export declare const AgentSchema: z.ZodLazy<z.ZodObject<{
|
|
|
2749
2784
|
acknowledgedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
2750
2785
|
acknowledgedLevel: z.ZodOptional<z.ZodEnum<typeof PageAccessLevel>>;
|
|
2751
2786
|
}, z.core.$strip>>;
|
|
2787
|
+
confirmations: z.ZodOptional<z.ZodObject<{
|
|
2788
|
+
allowAutomatic: z.ZodDefault<z.ZodBoolean>;
|
|
2789
|
+
}, z.core.$strip>>;
|
|
2752
2790
|
}, z.core.$strip>;
|
|
2753
2791
|
security: z.ZodNullable<z.ZodObject<{
|
|
2754
2792
|
rateLimits: z.ZodObject<{
|
|
@@ -2946,6 +2984,9 @@ export declare const AgentPublicSchema: z.ZodObject<{
|
|
|
2946
2984
|
notice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2947
2985
|
pointer: z.ZodOptional<z.ZodBoolean>;
|
|
2948
2986
|
}, z.core.$strip>>;
|
|
2987
|
+
confirmations: z.ZodOptional<z.ZodObject<{
|
|
2988
|
+
allowAutomatic: z.ZodLiteral<true>;
|
|
2989
|
+
}, z.core.$strip>>;
|
|
2949
2990
|
}, z.core.$strip>;
|
|
2950
2991
|
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof AgentChannel>>>;
|
|
2951
2992
|
}, z.core.$strip>;
|
|
@@ -3202,6 +3243,9 @@ export declare const AgentAccessGrantedSchema: z.ZodObject<{
|
|
|
3202
3243
|
notice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3203
3244
|
pointer: z.ZodOptional<z.ZodBoolean>;
|
|
3204
3245
|
}, z.core.$strip>>;
|
|
3246
|
+
confirmations: z.ZodOptional<z.ZodObject<{
|
|
3247
|
+
allowAutomatic: z.ZodLiteral<true>;
|
|
3248
|
+
}, z.core.$strip>>;
|
|
3205
3249
|
}, z.core.$strip>;
|
|
3206
3250
|
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof AgentChannel>>>;
|
|
3207
3251
|
}, z.core.$strip>;
|
|
@@ -3414,6 +3458,9 @@ export declare const AgentAccessDecisionSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
3414
3458
|
notice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3415
3459
|
pointer: z.ZodOptional<z.ZodBoolean>;
|
|
3416
3460
|
}, z.core.$strip>>;
|
|
3461
|
+
confirmations: z.ZodOptional<z.ZodObject<{
|
|
3462
|
+
allowAutomatic: z.ZodLiteral<true>;
|
|
3463
|
+
}, z.core.$strip>>;
|
|
3417
3464
|
}, z.core.$strip>;
|
|
3418
3465
|
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof AgentChannel>>>;
|
|
3419
3466
|
}, z.core.$strip>;
|
|
@@ -3645,6 +3692,9 @@ export declare const AgentAccessSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3645
3692
|
notice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3646
3693
|
pointer: z.ZodOptional<z.ZodBoolean>;
|
|
3647
3694
|
}, z.core.$strip>>;
|
|
3695
|
+
confirmations: z.ZodOptional<z.ZodObject<{
|
|
3696
|
+
allowAutomatic: z.ZodLiteral<true>;
|
|
3697
|
+
}, z.core.$strip>>;
|
|
3648
3698
|
}, z.core.$strip>;
|
|
3649
3699
|
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof AgentChannel>>>;
|
|
3650
3700
|
}, z.core.$strip>;
|
|
@@ -258,6 +258,7 @@ export declare const ChatRequestSchema: z.ZodObject<{
|
|
|
258
258
|
smoothStream: z.ZodOptional<z.ZodBoolean>;
|
|
259
259
|
hostTools: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
260
260
|
pageTools: z.ZodOptional<z.ZodUnknown>;
|
|
261
|
+
confirmations: z.ZodOptional<z.ZodLiteral<"automatic">>;
|
|
261
262
|
}, z.core.$strip>;
|
|
262
263
|
export type ChatRequest = z.infer<typeof ChatRequestSchema>;
|
|
263
264
|
/**
|
|
@@ -421,6 +421,15 @@ export declare enum OrganizationFeature {
|
|
|
421
421
|
* agent stops announcing them, even on an agent configured while it was on.
|
|
422
422
|
*/
|
|
423
423
|
HostTools = "hostTools",
|
|
424
|
+
/**
|
|
425
|
+
* The user may switch an agent's confirmations to automatic in the chat
|
|
426
|
+
* (spec auto-confirmations.md), where the agent allows it. Off by
|
|
427
|
+
* default, born for the Copilot: on a customer's site the choice would
|
|
428
|
+
* be the visitors'. It reaches the runtime like the host tools: off, the
|
|
429
|
+
* backoffice switch does not show, the public agent does not announce
|
|
430
|
+
* it, and a request asking for it changes nothing.
|
|
431
|
+
*/
|
|
432
|
+
AutoConfirmations = "autoConfirmations",
|
|
424
433
|
/**
|
|
425
434
|
* One flag per agent visibility an organization may go without (spec
|
|
426
435
|
* agent-visibility-modes.md, "Modalità per organizzazione"), and none
|
|
@@ -442,6 +442,9 @@ export declare const ReasoningChatSchema: z.ZodObject<{
|
|
|
442
442
|
acknowledgedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
443
443
|
acknowledgedLevel: z.ZodOptional<z.ZodEnum<typeof PageAccessLevel>>;
|
|
444
444
|
}, z.core.$strip>>;
|
|
445
|
+
confirmations: z.ZodOptional<z.ZodObject<{
|
|
446
|
+
allowAutomatic: z.ZodDefault<z.ZodBoolean>;
|
|
447
|
+
}, z.core.$strip>>;
|
|
445
448
|
}, z.core.$strip>;
|
|
446
449
|
security: z.ZodNullable<z.ZodObject<{
|
|
447
450
|
rateLimits: z.ZodObject<{
|
|
@@ -931,6 +934,9 @@ export declare const ReasoningChatSchema: z.ZodObject<{
|
|
|
931
934
|
acknowledgedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
932
935
|
acknowledgedLevel: z.ZodOptional<z.ZodEnum<typeof PageAccessLevel>>;
|
|
933
936
|
}, z.core.$strip>>;
|
|
937
|
+
confirmations: z.ZodOptional<z.ZodObject<{
|
|
938
|
+
allowAutomatic: z.ZodDefault<z.ZodBoolean>;
|
|
939
|
+
}, z.core.$strip>>;
|
|
934
940
|
}, z.core.$strip>;
|
|
935
941
|
security: z.ZodNullable<z.ZodObject<{
|
|
936
942
|
rateLimits: z.ZodObject<{
|
|
@@ -442,6 +442,9 @@ export declare const SubAgentSchema: z.ZodObject<{
|
|
|
442
442
|
acknowledgedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
443
443
|
acknowledgedLevel: z.ZodOptional<z.ZodEnum<typeof PageAccessLevel>>;
|
|
444
444
|
}, z.core.$strip>>;
|
|
445
|
+
confirmations: z.ZodOptional<z.ZodObject<{
|
|
446
|
+
allowAutomatic: z.ZodDefault<z.ZodBoolean>;
|
|
447
|
+
}, z.core.$strip>>;
|
|
445
448
|
}, z.core.$strip>;
|
|
446
449
|
security: z.ZodNullable<z.ZodObject<{
|
|
447
450
|
rateLimits: z.ZodObject<{
|
|
@@ -888,6 +891,9 @@ export declare const SubAgentSchema: z.ZodObject<{
|
|
|
888
891
|
acknowledgedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
889
892
|
acknowledgedLevel: z.ZodOptional<z.ZodEnum<typeof PageAccessLevel>>;
|
|
890
893
|
}, z.core.$strip>>;
|
|
894
|
+
confirmations: z.ZodOptional<z.ZodObject<{
|
|
895
|
+
allowAutomatic: z.ZodDefault<z.ZodBoolean>;
|
|
896
|
+
}, z.core.$strip>>;
|
|
891
897
|
}, z.core.$strip>;
|
|
892
898
|
security: z.ZodNullable<z.ZodObject<{
|
|
893
899
|
rateLimits: z.ZodObject<{
|