@8wave/ai-elements 0.110.0 → 0.111.0-beta.3
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/README.md +1 -0
- package/dist/_chunks/{PkToolRequestGeolocation-CEVpl50q.js → PkToolRequestGeolocation-OokLeTf1.js} +2 -2
- package/dist/_chunks/PkToolRequestGeolocation-OokLeTf1.js.map +1 -0
- package/dist/_chunks/{PkToolRequestOAuthConnection-CncDU-Kl.js → PkToolRequestOAuthConnection-CtqKG6Yb.js} +2 -2
- package/dist/_chunks/PkToolRequestOAuthConnection-CtqKG6Yb.js.map +1 -0
- package/dist/_chunks/{PkToolShowDiagram-Hy9qh68O.js → PkToolShowDiagram-BdmG9gm8.js} +2 -2
- package/dist/_chunks/{PkToolShowDiagram-Hy9qh68O.js.map → PkToolShowDiagram-BdmG9gm8.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-B69JmwbZ.js → PkToolShowSources-Dot-W0Mj.js} +2 -2
- package/dist/_chunks/PkToolShowSources-Dot-W0Mj.js.map +1 -0
- package/dist/ai-elements.es.js +18 -47
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotFilePreview.js +1 -1
- package/dist-vue/PkChatbotInput.js +1 -1
- package/dist-vue/PkChatbotMessages.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/{PkChatbot-o7k7d-fj.js → PkChatbot-BPKSPIeC.js} +6 -6
- package/dist-vue/_chunks/{PkChatbot-o7k7d-fj.js.map → PkChatbot-BPKSPIeC.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotFilePreview-DO1wZPPj.js → PkChatbotFilePreview-CwiVQDF2.js} +3 -3
- package/dist-vue/_chunks/PkChatbotFilePreview-CwiVQDF2.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotInput-D8x52cVm.js → PkChatbotInput-JnHaRlfk.js} +3 -3
- package/dist-vue/_chunks/PkChatbotInput-JnHaRlfk.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotMessages-BFlU046I.js → PkChatbotMessages-DAlkoMkY.js} +9 -9
- package/dist-vue/_chunks/PkChatbotMessages-DAlkoMkY.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotSteps-DtV1beDc.js → PkChatbotSteps-rommD48p.js} +3 -3
- package/dist-vue/_chunks/PkChatbotSteps-rommD48p.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewChat-CNH_glPI.js → PkChatbotViewChat-CEqzF1G9.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotViewChat-CNH_glPI.js.map → PkChatbotViewChat-CEqzF1G9.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-BENvHLZt.js → PkChatbotViewConversations-C787v5ll.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewConversations-BENvHLZt.js.map → PkChatbotViewConversations-C787v5ll.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-qmLESi1V.js → PkChatbotViewFiles-CNFLt8YO.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewFiles-qmLESi1V.js.map → PkChatbotViewFiles-CNFLt8YO.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-DzfZnitQ.js → PkChatbotViewProfile-7p0ci3qm.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-DzfZnitQ.js.map → PkChatbotViewProfile-7p0ci3qm.js.map} +1 -1
- package/dist-vue/_chunks/{PkSvgViewer-DPpE9fiz.js → PkSvgViewer-D-0M5bqg.js} +2 -2
- package/dist-vue/_chunks/{PkSvgViewer-DPpE9fiz.js.map → PkSvgViewer-D-0M5bqg.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-D1ZPmWiB.js → PkToolRequestGeolocation-Bxqz9oSo.js} +2 -2
- package/dist-vue/_chunks/PkToolRequestGeolocation-Bxqz9oSo.js.map +1 -0
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CoJyKEE6.js → PkToolRequestOAuthConnection-C6rXgb0s.js} +2 -2
- package/dist-vue/_chunks/PkToolRequestOAuthConnection-C6rXgb0s.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowDiagram-DuDp5EHd.js → PkToolShowDiagram-dwCVZ1up.js} +4 -4
- package/dist-vue/_chunks/PkToolShowDiagram-dwCVZ1up.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowImageGallery-V9U3LJfF.js → PkToolShowImageGallery-DudQzBx4.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-V9U3LJfF.js.map → PkToolShowImageGallery-DudQzBx4.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-BvWOzVkQ.js → PkToolShowSources-7Q5Iogxi.js} +2 -2
- package/dist-vue/_chunks/PkToolShowSources-7Q5Iogxi.js.map +1 -0
- package/dist-vue/_chunks/{createChatbotApiClient-CJ_5_3IT.js → createChatbotApiClient-D9f69brW.js} +5 -2
- package/dist-vue/_chunks/createChatbotApiClient-D9f69brW.js.map +1 -0
- package/dist-vue/_chunks/{useChatbotStore-CiRAuq7v.js → useChatbotStore-9Cw_oR6J.js} +2 -2
- package/dist-vue/_chunks/{useChatbotStore-CiRAuq7v.js.map → useChatbotStore-9Cw_oR6J.js.map} +1 -1
- package/dist-vue/api.js +1 -1
- package/dist-vue/composables.js +2 -2
- package/dist-vue/index.js +28 -17
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/packages/components/src/table/PkTableSortable.d.ts +8 -0
- package/dist-vue/packages/models/src/schema/Chat.d.ts +21 -0
- package/dist-vue/style.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/PkToolRequestGeolocation-CEVpl50q.js.map +0 -1
- package/dist/_chunks/PkToolRequestOAuthConnection-CncDU-Kl.js.map +0 -1
- package/dist/_chunks/PkToolShowSources-B69JmwbZ.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotFilePreview-DO1wZPPj.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotInput-D8x52cVm.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotMessages-BFlU046I.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotSteps-DtV1beDc.js.map +0 -1
- package/dist-vue/_chunks/PkToolRequestGeolocation-D1ZPmWiB.js.map +0 -1
- package/dist-vue/_chunks/PkToolRequestOAuthConnection-CoJyKEE6.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowDiagram-DuDp5EHd.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowSources-BvWOzVkQ.js.map +0 -1
- package/dist-vue/_chunks/createChatbotApiClient-CJ_5_3IT.js.map +0 -1
|
@@ -75,6 +75,14 @@ declare const __VLS_export: <TableRow extends Record<string | number | symbol, a
|
|
|
75
75
|
type: BooleanConstructor;
|
|
76
76
|
default: boolean;
|
|
77
77
|
};
|
|
78
|
+
rowHover: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
rowClass: {
|
|
83
|
+
type: PropType<(row: TableRow, index: number) => string | string[] | Record<string, boolean> | undefined>;
|
|
84
|
+
default: undefined;
|
|
85
|
+
};
|
|
78
86
|
}> & {
|
|
79
87
|
"onUpdate:limit"?: ((...args: any[]) => any) | undefined;
|
|
80
88
|
"onUpdate:page"?: ((...args: any[]) => any) | undefined;
|
|
@@ -247,6 +247,27 @@ export declare const ChatRequestSchema: z.ZodObject<{
|
|
|
247
247
|
smoothStream: z.ZodOptional<z.ZodBoolean>;
|
|
248
248
|
}, z.core.$strip>;
|
|
249
249
|
export type ChatRequest = z.infer<typeof ChatRequestSchema>;
|
|
250
|
+
/**
|
|
251
|
+
* What the chat route validates on the way in.
|
|
252
|
+
*
|
|
253
|
+
* Deliberately not `ChatRequestSchema`: a turn resumed after a client tool or
|
|
254
|
+
* a tool approval posts the assistant message back, whose parts are tool
|
|
255
|
+
* calls, and the part union above accepts text and files only. Pinning the
|
|
256
|
+
* body to it would answer 400 to a legitimate resume. So this validates the
|
|
257
|
+
* envelope the turn cannot run without and lets the rest through untouched
|
|
258
|
+
* (`loose`), which is also why the overrides the client sends still reach the
|
|
259
|
+
* service.
|
|
260
|
+
*
|
|
261
|
+
* The id is minted by the client and read back as a row key: without it the
|
|
262
|
+
* lookup ran with `undefined` and the route answered 500 instead of 400
|
|
263
|
+
* (found 2026-09-21).
|
|
264
|
+
*/
|
|
265
|
+
export declare const ChatRequestEnvelopeSchema: z.ZodObject<{
|
|
266
|
+
id: z.ZodString;
|
|
267
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
268
|
+
role: z.ZodString;
|
|
269
|
+
}, z.core.$loose>>;
|
|
270
|
+
}, z.core.$loose>;
|
|
250
271
|
export declare enum BlockedReasonCode {
|
|
251
272
|
SevereAbuse = "severe_abuse",
|
|
252
273
|
HighRiskScore = "high_risk_score",
|