@8wave/ai-elements 0.98.0-beta.1 → 0.98.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.
Files changed (110) hide show
  1. package/README.md +20 -19
  2. package/dist/_chunks/{Document-njJL_3oo.js → Document-CjCQXPDF.js} +54 -54
  3. package/dist/_chunks/{Document-njJL_3oo.js.map → Document-CjCQXPDF.js.map} +1 -1
  4. package/dist/_chunks/{PkStreamingMarkdown-Bns7j3b7.js → PkStreamingMarkdown-Djw604Ny.js} +43 -43
  5. package/dist/_chunks/PkStreamingMarkdown-Djw604Ny.js.map +1 -0
  6. package/dist/_chunks/{PkToolShowArtifact-BHGuiacA.js → PkToolShowArtifact-BaGEr7O9.js} +2 -2
  7. package/dist/_chunks/{PkToolShowArtifact-BHGuiacA.js.map → PkToolShowArtifact-BaGEr7O9.js.map} +1 -1
  8. package/dist/_chunks/{PkToolShowContactForm-Cp6fDIOT.js → PkToolShowContactForm-DEQBTzf4.js} +4 -4
  9. package/dist/_chunks/{PkToolShowContactForm-Cp6fDIOT.js.map → PkToolShowContactForm-DEQBTzf4.js.map} +1 -1
  10. package/dist/_chunks/{PkToolShowForm-BqUkMxMK.js → PkToolShowForm-AZwrmmM9.js} +2 -2
  11. package/dist/_chunks/{PkToolShowForm-BqUkMxMK.js.map → PkToolShowForm-AZwrmmM9.js.map} +1 -1
  12. package/dist/_chunks/{PkToolShowSources-Bg0QAcmF.js → PkToolShowSources-FnMkkdm6.js} +3 -3
  13. package/dist/_chunks/{PkToolShowSources-Bg0QAcmF.js.map → PkToolShowSources-FnMkkdm6.js.map} +1 -1
  14. package/dist/_chunks/{VvCheckbox.es-If2fZZst.js → VvCheckbox.es-D5d8k9yP.js} +2 -2
  15. package/dist/_chunks/{VvCheckbox.es-If2fZZst.js.map → VvCheckbox.es-D5d8k9yP.js.map} +1 -1
  16. package/dist/_chunks/{VvCheckboxGroup.es-A-IjEdQh.js → VvCheckboxGroup.es-DVnsOjX0.js} +2 -2
  17. package/dist/_chunks/{VvCheckboxGroup.es-A-IjEdQh.js.map → VvCheckboxGroup.es-DVnsOjX0.js.map} +1 -1
  18. package/dist/_chunks/{VvCombobox.es-DLRkNj0w.js → VvCombobox.es-CFA-K-cQ.js} +2 -2
  19. package/dist/_chunks/{VvCombobox.es-DLRkNj0w.js.map → VvCombobox.es-CFA-K-cQ.js.map} +1 -1
  20. package/dist/_chunks/{VvInputText.es-DV6kHrYx.js → VvInputText.es-csEQ-bSG.js} +2 -2
  21. package/dist/_chunks/{VvInputText.es-DV6kHrYx.js.map → VvInputText.es-csEQ-bSG.js.map} +1 -1
  22. package/dist/_chunks/{VvRadio.es-C_L52PYW.js → VvRadio.es-BpymhC73.js} +2 -2
  23. package/dist/_chunks/{VvRadio.es-C_L52PYW.js.map → VvRadio.es-BpymhC73.js.map} +1 -1
  24. package/dist/_chunks/{VvRadioGroup.es-B64sR46T.js → VvRadioGroup.es-CSNzOJKx.js} +2 -2
  25. package/dist/_chunks/{VvRadioGroup.es-B64sR46T.js.map → VvRadioGroup.es-CSNzOJKx.js.map} +1 -1
  26. package/dist/_chunks/{VvSelect.es-D_WR7HcC.js → VvSelect.es-CjKMd0nH.js} +2 -2
  27. package/dist/_chunks/{VvSelect.es-D_WR7HcC.js.map → VvSelect.es-CjKMd0nH.js.map} +1 -1
  28. package/dist/_chunks/{VvTextarea.es-DpF-slnp.js → VvTextarea.es-eEyRRpuT.js} +2 -2
  29. package/dist/_chunks/{VvTextarea.es-DpF-slnp.js.map → VvTextarea.es-eEyRRpuT.js.map} +1 -1
  30. package/dist/_chunks/index.es-BYny0uhz.js.map +1 -1
  31. package/dist/_chunks/{index.es-DN8D4nRq.js → index.es-eLFDkB2Y.js} +11 -11
  32. package/dist/_chunks/{index.es-DN8D4nRq.js.map → index.es-eLFDkB2Y.js.map} +1 -1
  33. package/dist/_chunks/{schemas-BsOP_5an.js → schemas-DnUKIqgi.js} +503 -503
  34. package/dist/_chunks/{schemas-BsOP_5an.js.map → schemas-DnUKIqgi.js.map} +1 -1
  35. package/dist/ai-elements.es.js +3867 -3744
  36. package/dist/ai-elements.es.js.map +1 -1
  37. package/dist-vue/PkChatbot.js +1 -1
  38. package/dist-vue/PkChatbotAuth.js +1 -1
  39. package/dist-vue/PkChatbotEmptyState.js +1 -1
  40. package/dist-vue/PkChatbotFeedbackForm.js +1 -1
  41. package/dist-vue/PkChatbotInput.js +1 -1
  42. package/dist-vue/PkChatbotMessages.js +1 -1
  43. package/dist-vue/PkChatbotSteps.js +1 -1
  44. package/dist-vue/PkChatbotViewChat.js +1 -1
  45. package/dist-vue/PkChatbotViewConversations.js +1 -1
  46. package/dist-vue/PkChatbotViewFiles.js +1 -1
  47. package/dist-vue/PkChatbotViewProfile.js +1 -1
  48. package/dist-vue/_chunks/{Document-q67u4D3u.js → Document-B8gv0e2O.js} +15 -15
  49. package/dist-vue/_chunks/{Document-q67u4D3u.js.map → Document-B8gv0e2O.js.map} +1 -1
  50. package/dist-vue/_chunks/{Media-BmW9F_3T.js → Media-B_7Yj-ml.js} +26 -26
  51. package/dist-vue/_chunks/{Media-BmW9F_3T.js.map → Media-B_7Yj-ml.js.map} +1 -1
  52. package/dist-vue/_chunks/{PkChatbot-A1jKttsQ.js → PkChatbot-CxpAotKB.js} +7 -7
  53. package/dist-vue/_chunks/{PkChatbot-A1jKttsQ.js.map → PkChatbot-CxpAotKB.js.map} +1 -1
  54. package/dist-vue/_chunks/{PkChatbotAuth-C0ATmt-9.js → PkChatbotAuth-C_L2xWuD.js} +4 -4
  55. package/dist-vue/_chunks/{PkChatbotAuth-C0ATmt-9.js.map → PkChatbotAuth-C_L2xWuD.js.map} +1 -1
  56. package/dist-vue/_chunks/{PkChatbotEmptyState-BGTSWFSS.js → PkChatbotEmptyState-BGOC6vxr.js} +2 -2
  57. package/dist-vue/_chunks/{PkChatbotEmptyState-BGTSWFSS.js.map → PkChatbotEmptyState-BGOC6vxr.js.map} +1 -1
  58. package/dist-vue/_chunks/{PkChatbotFeedbackForm-Dhsa1c06.js → PkChatbotFeedbackForm-BSe40qlc.js} +3 -3
  59. package/dist-vue/_chunks/{PkChatbotFeedbackForm-Dhsa1c06.js.map → PkChatbotFeedbackForm-BSe40qlc.js.map} +1 -1
  60. package/dist-vue/_chunks/{PkChatbotInput-Be3J_Fgz.js → PkChatbotInput-DTazYlPd.js} +2 -2
  61. package/dist-vue/_chunks/{PkChatbotInput-Be3J_Fgz.js.map → PkChatbotInput-DTazYlPd.js.map} +1 -1
  62. package/dist-vue/_chunks/{PkChatbotMessages-Cbn8okze.js → PkChatbotMessages-DEzcxcqc.js} +9 -9
  63. package/dist-vue/_chunks/{PkChatbotMessages-Cbn8okze.js.map → PkChatbotMessages-DEzcxcqc.js.map} +1 -1
  64. package/dist-vue/_chunks/{PkChatbotSteps-BhqYCNWy.js → PkChatbotSteps-BpqdFhsG.js} +2 -2
  65. package/dist-vue/_chunks/{PkChatbotSteps-BhqYCNWy.js.map → PkChatbotSteps-BpqdFhsG.js.map} +1 -1
  66. package/dist-vue/_chunks/{PkChatbotViewChat-Cc8bZfAr.js → PkChatbotViewChat-QzWSymIg.js} +6 -6
  67. package/dist-vue/_chunks/{PkChatbotViewChat-Cc8bZfAr.js.map → PkChatbotViewChat-QzWSymIg.js.map} +1 -1
  68. package/dist-vue/_chunks/{PkChatbotViewConversations-BsfA4A7O.js → PkChatbotViewConversations-O-wm_nu1.js} +2 -2
  69. package/dist-vue/_chunks/{PkChatbotViewConversations-BsfA4A7O.js.map → PkChatbotViewConversations-O-wm_nu1.js.map} +1 -1
  70. package/dist-vue/_chunks/{PkChatbotViewFiles-C6aouWQh.js → PkChatbotViewFiles-RHMwvWUS.js} +3 -3
  71. package/dist-vue/_chunks/{PkChatbotViewFiles-C6aouWQh.js.map → PkChatbotViewFiles-RHMwvWUS.js.map} +1 -1
  72. package/dist-vue/_chunks/{PkChatbotViewProfile-B_ZAXIrC.js → PkChatbotViewProfile-Bka6CUAa.js} +2 -2
  73. package/dist-vue/_chunks/{PkChatbotViewProfile-B_ZAXIrC.js.map → PkChatbotViewProfile-Bka6CUAa.js.map} +1 -1
  74. package/dist-vue/_chunks/{PkStreamingMarkdown-CNLdk20r.js → PkStreamingMarkdown-DEhbK-3c.js} +43 -43
  75. package/dist-vue/_chunks/PkStreamingMarkdown-DEhbK-3c.js.map +1 -0
  76. package/dist-vue/_chunks/{PkToolShowArtifact-B2ilUNT0.js → PkToolShowArtifact-CTBwt4DN.js} +2 -2
  77. package/dist-vue/_chunks/{PkToolShowArtifact-B2ilUNT0.js.map → PkToolShowArtifact-CTBwt4DN.js.map} +1 -1
  78. package/dist-vue/_chunks/{PkToolShowContactForm-C3CXe6sh.js → PkToolShowContactForm-B6-MsExL.js} +4 -4
  79. package/dist-vue/_chunks/{PkToolShowContactForm-C3CXe6sh.js.map → PkToolShowContactForm-B6-MsExL.js.map} +1 -1
  80. package/dist-vue/_chunks/{PkToolShowForm-DnzUxm2o.js → PkToolShowForm-C-mWyeka.js} +2 -2
  81. package/dist-vue/_chunks/{PkToolShowForm-DnzUxm2o.js.map → PkToolShowForm-C-mWyeka.js.map} +1 -1
  82. package/dist-vue/_chunks/{PkToolShowSources-BF2-VGSg.js → PkToolShowSources-rGZz65c2.js} +3 -3
  83. package/dist-vue/_chunks/{PkToolShowSources-BF2-VGSg.js.map → PkToolShowSources-rGZz65c2.js.map} +1 -1
  84. package/dist-vue/_chunks/{constants-DtnBK4PW.js → constants-BSe0uxSf.js} +4 -4
  85. package/dist-vue/_chunks/{constants-DtnBK4PW.js.map → constants-BSe0uxSf.js.map} +1 -1
  86. package/dist-vue/_chunks/{createChatbotApiClient-BHfNaVk8.js → createChatbotApiClient-Bf5DbqVH.js} +125 -113
  87. package/dist-vue/_chunks/createChatbotApiClient-Bf5DbqVH.js.map +1 -0
  88. package/dist-vue/_chunks/{index.es-BODtrBxv.js → index.es-XfWQ82pb.js} +3 -3
  89. package/dist-vue/_chunks/{index.es-BODtrBxv.js.map → index.es-XfWQ82pb.js.map} +1 -1
  90. package/dist-vue/_chunks/{schemas-BsOP_5an.js → schemas-DnUKIqgi.js} +503 -503
  91. package/dist-vue/_chunks/{schemas-BsOP_5an.js.map → schemas-DnUKIqgi.js.map} +1 -1
  92. package/dist-vue/_chunks/{useChatbotStore-bbenzuMe.js → useChatbotStore-DeHwEN8W.js} +845 -811
  93. package/dist-vue/_chunks/useChatbotStore-DeHwEN8W.js.map +1 -0
  94. package/dist-vue/api.js +1 -1
  95. package/dist-vue/apps/web-component/src/components/EmbeddedChatWidget.ce.d.ts +6 -0
  96. package/dist-vue/apps/web-component/src/composables/useChatbotAgent.d.ts +6 -0
  97. package/dist-vue/apps/web-component/src/lib.d.ts +1 -0
  98. package/dist-vue/composables.js +5 -3
  99. package/dist-vue/composables.js.map +1 -1
  100. package/dist-vue/index.js +23 -23
  101. package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +134 -3
  102. package/dist-vue/packages/components/src/chat/PkMessageParts.d.ts +134 -3
  103. package/dist-vue/packages/composable/src/chatbot/api/index.d.ts +1 -0
  104. package/dist-vue/packages/composable/src/chatbot/api/resolveShortUrls.d.ts +16 -0
  105. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +24 -24
  106. package/package.json +3 -3
  107. package/dist/_chunks/PkStreamingMarkdown-Bns7j3b7.js.map +0 -1
  108. package/dist-vue/_chunks/PkStreamingMarkdown-CNLdk20r.js.map +0 -1
  109. package/dist-vue/_chunks/createChatbotApiClient-BHfNaVk8.js.map +0 -1
  110. package/dist-vue/_chunks/useChatbotStore-bbenzuMe.js.map +0 -1
@@ -1,5 +1,6 @@
1
1
  import { UIChatMessage } from '../../../models/src';
2
- import { UIToolInvocation, UITool, TextUIPart, ReasoningUIPart } from 'ai';
2
+ import { JSONObject } from '../../../composable/src';
3
+ import { ProviderMetadata, TextUIPart, ReasoningUIPart } from 'ai';
3
4
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
5
  interface SubAgentSlotPart {
5
6
  input?: {
@@ -17,9 +18,139 @@ type __VLS_Props = {
17
18
  declare var __VLS_102: {
18
19
  part: SubAgentSlotPart;
19
20
  }, __VLS_105: string, __VLS_106: {
20
- part: {
21
+ part: ({
21
22
  type: `tool-${string}`;
22
- } & UIToolInvocation<UITool>;
23
+ } & {
24
+ toolCallId: string;
25
+ title?: string;
26
+ toolMetadata?: JSONObject;
27
+ providerExecuted?: boolean;
28
+ } & {
29
+ state: "input-streaming";
30
+ input?: unknown;
31
+ output?: never;
32
+ errorText?: never;
33
+ callProviderMetadata?: ProviderMetadata;
34
+ approval?: never;
35
+ }) | ({
36
+ type: `tool-${string}`;
37
+ } & {
38
+ toolCallId: string;
39
+ title?: string;
40
+ toolMetadata?: JSONObject;
41
+ providerExecuted?: boolean;
42
+ } & {
43
+ state: "input-available";
44
+ input: unknown;
45
+ output?: never;
46
+ errorText?: never;
47
+ callProviderMetadata?: ProviderMetadata;
48
+ approval?: never;
49
+ }) | ({
50
+ type: `tool-${string}`;
51
+ } & {
52
+ toolCallId: string;
53
+ title?: string;
54
+ toolMetadata?: JSONObject;
55
+ providerExecuted?: boolean;
56
+ } & {
57
+ state: "approval-requested";
58
+ input: unknown;
59
+ output?: never;
60
+ errorText?: never;
61
+ callProviderMetadata?: ProviderMetadata;
62
+ approval: {
63
+ id: string;
64
+ approved?: never;
65
+ reason?: never;
66
+ isAutomatic?: boolean;
67
+ signature?: string;
68
+ };
69
+ }) | ({
70
+ type: `tool-${string}`;
71
+ } & {
72
+ toolCallId: string;
73
+ title?: string;
74
+ toolMetadata?: JSONObject;
75
+ providerExecuted?: boolean;
76
+ } & {
77
+ state: "approval-responded";
78
+ input: unknown;
79
+ output?: never;
80
+ errorText?: never;
81
+ callProviderMetadata?: ProviderMetadata;
82
+ approval: {
83
+ id: string;
84
+ approved: boolean;
85
+ reason?: string;
86
+ isAutomatic?: boolean;
87
+ signature?: string;
88
+ };
89
+ }) | ({
90
+ type: `tool-${string}`;
91
+ } & {
92
+ toolCallId: string;
93
+ title?: string;
94
+ toolMetadata?: JSONObject;
95
+ providerExecuted?: boolean;
96
+ } & {
97
+ state: "output-available";
98
+ input: unknown;
99
+ output: unknown;
100
+ errorText?: never;
101
+ callProviderMetadata?: ProviderMetadata;
102
+ resultProviderMetadata?: ProviderMetadata;
103
+ preliminary?: boolean;
104
+ approval?: {
105
+ id: string;
106
+ approved: true;
107
+ reason?: string;
108
+ isAutomatic?: boolean;
109
+ signature?: string;
110
+ };
111
+ }) | ({
112
+ type: `tool-${string}`;
113
+ } & {
114
+ toolCallId: string;
115
+ title?: string;
116
+ toolMetadata?: JSONObject;
117
+ providerExecuted?: boolean;
118
+ } & {
119
+ state: "output-error";
120
+ input: unknown;
121
+ rawInput?: unknown;
122
+ output?: never;
123
+ errorText: string;
124
+ callProviderMetadata?: ProviderMetadata;
125
+ resultProviderMetadata?: ProviderMetadata;
126
+ approval?: {
127
+ id: string;
128
+ approved: true;
129
+ reason?: string;
130
+ isAutomatic?: boolean;
131
+ signature?: string;
132
+ };
133
+ }) | ({
134
+ type: `tool-${string}`;
135
+ } & {
136
+ toolCallId: string;
137
+ title?: string;
138
+ toolMetadata?: JSONObject;
139
+ providerExecuted?: boolean;
140
+ } & {
141
+ state: "output-denied";
142
+ input: unknown;
143
+ output?: never;
144
+ errorText?: never;
145
+ callProviderMetadata?: ProviderMetadata;
146
+ approval: {
147
+ id: string;
148
+ approved: false;
149
+ reason?: string;
150
+ isAutomatic?: boolean;
151
+ signature?: string;
152
+ };
153
+ });
23
154
  }, __VLS_114: {
24
155
  part: TextUIPart | ReasoningUIPart;
25
156
  };
@@ -1 +1,2 @@
1
1
  export * from './createChatbotApiClient';
2
+ export * from './resolveShortUrls';
@@ -0,0 +1,16 @@
1
+ export interface ResolveShortUrlsOptions {
2
+ /** Extra headers to send (e.g. auth). */
3
+ headers?: Record<string, string>;
4
+ /** Fetch credentials mode. Defaults to `'include'`. */
5
+ credentials?: RequestCredentials;
6
+ }
7
+ /**
8
+ * Single implementation of the short-url batch resolve used across apps
9
+ * (chatbot api client, frontend app root). Maps `/api/r/<hash>` short urls back
10
+ * to their real target via `POST <backend>/api/r/resolve`.
11
+ *
12
+ * The redirect endpoint lives at `/api/r`, outside the JSON:API basePath, and
13
+ * is unauthenticated. Returns an empty map (short urls left untouched) on any
14
+ * failure so callers never have to handle errors.
15
+ */
16
+ export declare function resolveShortUrls(backendUrl: string, hashes: string[], options?: ResolveShortUrlsOptions): Promise<Record<string, string>>;
@@ -705,10 +705,6 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
705
705
  providerMetadata?: ProviderMetadata | undefined;
706
706
  } | {
707
707
  type: "step-start";
708
- } | {
709
- type: `data-${string}`;
710
- id?: string | undefined;
711
- data: unknown;
712
708
  } | {
713
709
  type: `tool-${string}`;
714
710
  toolCallId: string;
@@ -827,6 +823,10 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
827
823
  isAutomatic?: boolean | undefined;
828
824
  signature?: string | undefined;
829
825
  };
826
+ } | {
827
+ type: `data-${string}`;
828
+ id?: string | undefined;
829
+ data: unknown;
830
830
  })[];
831
831
  }[];
832
832
  title: string | null;
@@ -1156,10 +1156,6 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
1156
1156
  providerMetadata?: ProviderMetadata | undefined;
1157
1157
  } | {
1158
1158
  type: "step-start";
1159
- } | {
1160
- type: `data-${string}`;
1161
- id?: string | undefined;
1162
- data: unknown;
1163
1159
  } | {
1164
1160
  type: `tool-${string}`;
1165
1161
  toolCallId: string;
@@ -1278,6 +1274,10 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
1278
1274
  isAutomatic?: boolean | undefined;
1279
1275
  signature?: string | undefined;
1280
1276
  };
1277
+ } | {
1278
+ type: `data-${string}`;
1279
+ id?: string | undefined;
1280
+ data: unknown;
1281
1281
  })[];
1282
1282
  }[];
1283
1283
  title: string | null;
@@ -2220,10 +2220,6 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
2220
2220
  providerMetadata?: ProviderMetadata | undefined;
2221
2221
  } | {
2222
2222
  type: "step-start";
2223
- } | {
2224
- type: `data-${string}`;
2225
- id?: string | undefined;
2226
- data: unknown;
2227
2223
  } | {
2228
2224
  type: `tool-${string}`;
2229
2225
  toolCallId: string;
@@ -2342,6 +2338,10 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
2342
2338
  isAutomatic?: boolean | undefined;
2343
2339
  signature?: string | undefined;
2344
2340
  };
2341
+ } | {
2342
+ type: `data-${string}`;
2343
+ id?: string | undefined;
2344
+ data: unknown;
2345
2345
  })[];
2346
2346
  }[];
2347
2347
  title: string | null;
@@ -2671,10 +2671,6 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
2671
2671
  providerMetadata?: ProviderMetadata | undefined;
2672
2672
  } | {
2673
2673
  type: "step-start";
2674
- } | {
2675
- type: `data-${string}`;
2676
- id?: string | undefined;
2677
- data: unknown;
2678
2674
  } | {
2679
2675
  type: `tool-${string}`;
2680
2676
  toolCallId: string;
@@ -2793,6 +2789,10 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
2793
2789
  isAutomatic?: boolean | undefined;
2794
2790
  signature?: string | undefined;
2795
2791
  };
2792
+ } | {
2793
+ type: `data-${string}`;
2794
+ id?: string | undefined;
2795
+ data: unknown;
2796
2796
  })[];
2797
2797
  }[];
2798
2798
  title: string | null;
@@ -3735,10 +3735,6 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
3735
3735
  providerMetadata?: ProviderMetadata | undefined;
3736
3736
  } | {
3737
3737
  type: "step-start";
3738
- } | {
3739
- type: `data-${string}`;
3740
- id?: string | undefined;
3741
- data: unknown;
3742
3738
  } | {
3743
3739
  type: `tool-${string}`;
3744
3740
  toolCallId: string;
@@ -3857,6 +3853,10 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
3857
3853
  isAutomatic?: boolean | undefined;
3858
3854
  signature?: string | undefined;
3859
3855
  };
3856
+ } | {
3857
+ type: `data-${string}`;
3858
+ id?: string | undefined;
3859
+ data: unknown;
3860
3860
  })[];
3861
3861
  }[];
3862
3862
  title: string | null;
@@ -4186,10 +4186,6 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
4186
4186
  providerMetadata?: ProviderMetadata | undefined;
4187
4187
  } | {
4188
4188
  type: "step-start";
4189
- } | {
4190
- type: `data-${string}`;
4191
- id?: string | undefined;
4192
- data: unknown;
4193
4189
  } | {
4194
4190
  type: `tool-${string}`;
4195
4191
  toolCallId: string;
@@ -4308,6 +4304,10 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
4308
4304
  isAutomatic?: boolean | undefined;
4309
4305
  signature?: string | undefined;
4310
4306
  };
4307
+ } | {
4308
+ type: `data-${string}`;
4309
+ id?: string | undefined;
4310
+ data: unknown;
4311
4311
  })[];
4312
4312
  }[];
4313
4313
  title: string | null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8wave/ai-elements",
3
3
  "private": false,
4
- "version": "0.98.0-beta.1",
4
+ "version": "0.98.0-beta.3",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite --port 8082 --open --host",
@@ -53,7 +53,7 @@
53
53
  "auth": "workspace:*",
54
54
  "components": "workspace:*",
55
55
  "composables": "workspace:*",
56
- "happy-dom": "^20.11.0",
56
+ "happy-dom": "^20.11.1",
57
57
  "i18n": "workspace:*",
58
58
  "icons": "workspace:*",
59
59
  "models": "workspace:*",
@@ -71,7 +71,7 @@
71
71
  "vite-plugin-webfont-dl": "^3.12.0",
72
72
  "vitest": "^4.1.10",
73
73
  "vue": "^3.5.40",
74
- "vue-tsc": "^3.3.7"
74
+ "vue-tsc": "^3.3.8"
75
75
  },
76
76
  "peerDependencies": {
77
77
  "@indoorequal/vue-maplibre-gl": ">=8.0.0",