@8wave/ai-elements 0.112.0-beta.3 → 0.112.0-beta.8
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-tE7ZJPxG.js → Agent-DTLrWpzX.js} +138 -135
- package/dist/_chunks/Agent-DTLrWpzX.js.map +1 -0
- package/dist/_chunks/Media-Cft7Pwrh.js.map +1 -1
- package/dist/_chunks/{PkStreamingMarkdown-CNI8aV8t.js → PkStreamingMarkdown-CRlRDGYl.js} +3 -3
- package/dist/_chunks/PkStreamingMarkdown-CRlRDGYl.js.map +1 -0
- package/dist/_chunks/{PkToolRequestGeolocation-65jeiJs8.js → PkToolRequestGeolocation-BbxYKt-9.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-65jeiJs8.js.map → PkToolRequestGeolocation-BbxYKt-9.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-bHpDAtzu.js → PkToolRequestOAuthConnection-CTp2w60F.js} +2 -2
- package/dist/_chunks/{PkToolRequestOAuthConnection-bHpDAtzu.js.map → PkToolRequestOAuthConnection-CTp2w60F.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-6f-Kx9AS.js → PkToolShowArtifact-CNnt82aH.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-6f-Kx9AS.js.map → PkToolShowArtifact-CNnt82aH.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-BewhenPx.js → PkToolShowContactForm-D77gyjQG.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-BewhenPx.js.map → PkToolShowContactForm-D77gyjQG.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-KuTsIy5P.js → PkToolShowForm-DP4LLAk3.js} +3 -3
- package/dist/_chunks/{PkToolShowForm-KuTsIy5P.js.map → PkToolShowForm-DP4LLAk3.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-CY_q7ANb.js → PkToolShowSources-Bwy0Ptmi.js} +2 -2
- package/dist/_chunks/{PkToolShowSources-CY_q7ANb.js.map → PkToolShowSources-Bwy0Ptmi.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-D98Atidw.js → PkToolShowSuggestedReply-CFO8wV1b.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-D98Atidw.js.map → PkToolShowSuggestedReply-CFO8wV1b.js.map} +1 -1
- package/dist/_chunks/markdown-BRD-hDrH.js.map +1 -1
- package/dist/ai-elements.es.js +165 -63
- 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/PkChatbotError.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-De2gFNjR.js → Agent-BNlmK-uJ.js} +96 -87
- package/dist-vue/_chunks/Agent-BNlmK-uJ.js.map +1 -0
- package/dist-vue/_chunks/{Document-9SUVPzht.js → Document-Bjz-CSLq.js} +69 -69
- package/dist-vue/_chunks/Document-Bjz-CSLq.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbot-BBR2t9R9.js → PkChatbot-BGSXeh04.js} +8 -8
- package/dist-vue/_chunks/{PkChatbot-BBR2t9R9.js.map → PkChatbot-BGSXeh04.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotEmptyState-BtzBYOHJ.js → PkChatbotEmptyState-CacY4o02.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-BtzBYOHJ.js.map → PkChatbotEmptyState-CacY4o02.js.map} +1 -1
- package/dist-vue/_chunks/PkChatbotError-CuX9C_b9.js +89 -0
- package/dist-vue/_chunks/PkChatbotError-CuX9C_b9.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotInput-MSpF6SB6.js → PkChatbotInput-Dkz3SNAk.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotInput-MSpF6SB6.js.map → PkChatbotInput-Dkz3SNAk.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-9NluDSgJ.js → PkChatbotMessages-BNjbDHgy.js} +181 -181
- package/dist-vue/_chunks/{PkChatbotMessages-9NluDSgJ.js.map → PkChatbotMessages-BNjbDHgy.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepPayload-XW4gT9AZ.js → PkChatbotStepPayload-DU0W-eUp.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-XW4gT9AZ.js.map → PkChatbotStepPayload-DU0W-eUp.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-C4-K6Glw.js → PkChatbotStepToolDetail-etlBryOg.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-C4-K6Glw.js.map → PkChatbotStepToolDetail-etlBryOg.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-CrqjWpv0.js → PkChatbotSteps-jW07Q-4x.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-CrqjWpv0.js.map → PkChatbotSteps-jW07Q-4x.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-C0fxsO-G.js → PkChatbotViewChat-ZWFtuc-N.js} +7 -7
- package/dist-vue/_chunks/{PkChatbotViewChat-C0fxsO-G.js.map → PkChatbotViewChat-ZWFtuc-N.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-DRKaeLbv.js → PkChatbotViewConversations-BLMzqmXi.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewConversations-DRKaeLbv.js.map → PkChatbotViewConversations-BLMzqmXi.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-DPpZHHvK.js → PkChatbotViewFiles-DLkQ7ClA.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-DPpZHHvK.js.map → PkChatbotViewFiles-DLkQ7ClA.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-D2XZ8Czi.js → PkChatbotViewProfile-DZ-Jim4x.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-D2XZ8Czi.js.map → PkChatbotViewProfile-DZ-Jim4x.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-D0IOaETI.js → PkStreamingMarkdown-BoEpwaYQ.js} +2 -2
- package/dist-vue/_chunks/{PkStreamingMarkdown-D0IOaETI.js.map → PkStreamingMarkdown-BoEpwaYQ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-Q3N3jlO8.js → PkToolRequestGeolocation-9vfYNaQo.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-Q3N3jlO8.js.map → PkToolRequestGeolocation-9vfYNaQo.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-lYoTJIF_.js → PkToolRequestOAuthConnection-BorR5NmZ.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-lYoTJIF_.js.map → PkToolRequestOAuthConnection-BorR5NmZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-DHdJuzDi.js → PkToolShowArtifact-BnwU7CV2.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-DHdJuzDi.js.map → PkToolShowArtifact-BnwU7CV2.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-CotIwNhi.js → PkToolShowContactForm-_x_dbiHn.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-CotIwNhi.js.map → PkToolShowContactForm-_x_dbiHn.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-CVHYhfwH.js → PkToolShowDiagram-BXdA_2Na.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-CVHYhfwH.js.map → PkToolShowDiagram-BXdA_2Na.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowEmail-DF__nKpR.js → PkToolShowEmail-CRQjoJr1.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowEmail-DF__nKpR.js.map → PkToolShowEmail-CRQjoJr1.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-Dx10jOXm.js → PkToolShowForm-IPAkJIXh.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-Dx10jOXm.js.map → PkToolShowForm-IPAkJIXh.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowMessage-Ck6VP-gw.js → PkToolShowMessage-joTzAg9N.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowMessage-Ck6VP-gw.js.map → PkToolShowMessage-joTzAg9N.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-zfM8cx-l.js → PkToolShowProductList-tOYjd2bq.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-zfM8cx-l.js.map → PkToolShowProductList-tOYjd2bq.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-Qq3c8_ZQ.js → PkToolShowSources-B3tBNres.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowSources-Qq3c8_ZQ.js.map → PkToolShowSources-B3tBNres.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-DWLkUh2L.js → PkToolShowSuggestedReply-DA4NEjHB.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-DWLkUh2L.js.map → PkToolShowSuggestedReply-DA4NEjHB.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-CosBYLrE.js → PkToolShowWebPages-D3Xy4iUs.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-CosBYLrE.js.map → PkToolShowWebPages-D3Xy4iUs.js.map} +1 -1
- package/dist-vue/_chunks/{PkUrl-B5CNTQj9.js → PkUrl-BgMBemSz.js} +2 -2
- package/dist-vue/_chunks/{PkUrl-B5CNTQj9.js.map → PkUrl-BgMBemSz.js.map} +1 -1
- package/dist-vue/_chunks/StreamError-D1AtGgS3.js +22 -0
- package/dist-vue/_chunks/StreamError-D1AtGgS3.js.map +1 -0
- package/dist-vue/_chunks/{createChatbotApiClient-MkaPbGWB.js → createChatbotApiClient-CaVLm5W9.js} +162 -126
- package/dist-vue/_chunks/createChatbotApiClient-CaVLm5W9.js.map +1 -0
- package/dist-vue/_chunks/{useChatbotStore-BowmAdfD.js → useChatbotStore-Bc6V5Rv0.js} +3 -3
- package/dist-vue/_chunks/{useChatbotStore-BowmAdfD.js.map → useChatbotStore-Bc6V5Rv0.js.map} +1 -1
- package/dist-vue/_chunks/{utils-C1666_6C.js → utils-h4C7rRcu.js} +3 -3
- package/dist-vue/_chunks/{utils-C1666_6C.js.map → utils-h4C7rRcu.js.map} +1 -1
- package/dist-vue/api.js +1 -1
- package/dist-vue/composables.js +3 -3
- package/dist-vue/index.js +3573 -3423
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +42 -0
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +6 -3
- package/dist-vue/packages/components/src/chat/PkMessageParts.d.ts +6 -6
- package/dist-vue/packages/components/src/chat/PkToolSelection.d.ts +8 -0
- package/dist-vue/packages/components/src/types.d.ts +7 -2
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +127 -1
- package/dist-vue/packages/models/src/schema/Agent.d.ts +38 -0
- package/dist-vue/packages/models/src/schema/Chat.d.ts +120 -0
- package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +7 -1
- package/dist-vue/packages/models/src/schema/StreamError.d.ts +13 -0
- package/dist-vue/packages/models/src/schema/SubAgent.d.ts +7 -1
- package/dist-vue/packages/models/src/schema/constants.d.ts +9 -0
- package/dist-vue/packages/models/src/utils.d.ts +17 -0
- package/dist-vue/style.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/Agent-tE7ZJPxG.js.map +0 -1
- package/dist/_chunks/PkStreamingMarkdown-CNI8aV8t.js.map +0 -1
- package/dist-vue/_chunks/Agent-De2gFNjR.js.map +0 -1
- package/dist-vue/_chunks/Document-9SUVPzht.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotError-gvDpRcEz.js +0 -106
- package/dist-vue/_chunks/PkChatbotError-gvDpRcEz.js.map +0 -1
- package/dist-vue/_chunks/createChatbotApiClient-MkaPbGWB.js.map +0 -1
|
@@ -51,6 +51,15 @@ export declare enum EmbeddingModel {
|
|
|
51
51
|
geminiEmbedding2 = "google/gemini-embedding-2"
|
|
52
52
|
}
|
|
53
53
|
export declare const EMBED_MODEL = EmbeddingModel.geminiEmbedding2;
|
|
54
|
+
/**
|
|
55
|
+
* Model that answers typed questions (yes/no, choice, score) with calibrated
|
|
56
|
+
* probabilities instead of text, through the gateway's `experimental_evaluate`
|
|
57
|
+
* (TypeSafe Jev). Out of the catalog like the embeddings: it decides for the
|
|
58
|
+
* platform, it never answers the user. Its gateway listing reports no ZDR,
|
|
59
|
+
* yet a ZDR request is served, routed to TypeSafe alone (measured
|
|
60
|
+
* 2026-09-28, scripts/spikeJevEvaluation.ts).
|
|
61
|
+
*/
|
|
62
|
+
export declare const EVALUATION_MODEL = "typesafe-ai/jev";
|
|
54
63
|
/**
|
|
55
64
|
* Supported languages for documents and revised answers
|
|
56
65
|
*/
|
|
@@ -52,3 +52,20 @@ export declare const zodQs: {
|
|
|
52
52
|
sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{ [k_1 in S | `-${S}`]: k_1; } extends infer T ? { [k in keyof T]: T[k]; } : never>>>;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
+
/**
|
|
56
|
+
* A tool name without the namespace a model invented for it (Gemini's
|
|
57
|
+
* `default_api:toolName`). One definition, because several readers must
|
|
58
|
+
* agree on it: the repair of a tool call, and the closure acceptance, which
|
|
59
|
+
* reads the call before the repair has run (`createClosureAcceptance`).
|
|
60
|
+
*/
|
|
61
|
+
export declare const stripInventedNamespace: (toolName: string) => string;
|
|
62
|
+
/**
|
|
63
|
+
* The registered name a tool name stands for, when the intent is
|
|
64
|
+
* unambiguous: the name without an invented namespace, the name itself, or
|
|
65
|
+
* the one registered name that ends with `-<name>` (a dropped `mcp-` prefix).
|
|
66
|
+
* Shared by the repair of a tool call, by the working set, which must
|
|
67
|
+
* recognize a call to a tool it hid (the repair only sees the tools of the
|
|
68
|
+
* step), and by the message detail, which reads those calls as the working
|
|
69
|
+
* set did (`summarizeToolSelection`).
|
|
70
|
+
*/
|
|
71
|
+
export declare const resolveToolName: (toolName: string, names: Iterable<string>) => string | undefined;
|