@8wave/ai-elements 0.126.0-beta.44 → 0.126.0-beta.46

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 (135) hide show
  1. package/dist/_chunks/{PkChatbotFilePreview-CLUH7cTq.js → PkChatbotFilePreview-5mhg2XeB.js} +2 -2
  2. package/dist/_chunks/{PkChatbotFilePreview-CLUH7cTq.js.map → PkChatbotFilePreview-5mhg2XeB.js.map} +1 -1
  3. package/dist/_chunks/{PkFilePreview-BrWWeK4E.js → PkFilePreview-BdthRUlY.js} +3 -3
  4. package/dist/_chunks/{PkFilePreview-BrWWeK4E.js.map → PkFilePreview-BdthRUlY.js.map} +1 -1
  5. package/dist/_chunks/{PkFilePreviewDialog-BRZH_LxY.js → PkFilePreviewDialog-DyQtn85H.js} +2 -2
  6. package/dist/_chunks/{PkFilePreviewDialog-BRZH_LxY.js.map → PkFilePreviewDialog-DyQtn85H.js.map} +1 -1
  7. package/dist/_chunks/{PkImageEditorDialog-D21ggZkD.js → PkImageEditorDialog-DzA_qGj9.js} +2 -2
  8. package/dist/_chunks/{PkImageEditorDialog-D21ggZkD.js.map → PkImageEditorDialog-DzA_qGj9.js.map} +1 -1
  9. package/dist/_chunks/{PkSelectionActions-BLfFobXb.js → PkSelectionActions-BeREUy3h.js} +2 -2
  10. package/dist/_chunks/{PkSelectionActions-BLfFobXb.js.map → PkSelectionActions-BeREUy3h.js.map} +1 -1
  11. package/dist/_chunks/{PkStreamingMarkdown-Bekhx_vG.js → PkStreamingMarkdown-DLyBjSaH.js} +3 -3
  12. package/dist/_chunks/{PkStreamingMarkdown-Bekhx_vG.js.map → PkStreamingMarkdown-DLyBjSaH.js.map} +1 -1
  13. package/dist/_chunks/{PkToolChatFile-BzN4fMaY.js → PkToolChatFile-Ck1uJvaj.js} +3 -3
  14. package/dist/_chunks/{PkToolChatFile-BzN4fMaY.js.map → PkToolChatFile-Ck1uJvaj.js.map} +1 -1
  15. package/dist/_chunks/{PkToolRequestGeolocation-Dj5OxEMP.js → PkToolRequestGeolocation-ZYzgy6kw.js} +2 -2
  16. package/dist/_chunks/{PkToolRequestGeolocation-Dj5OxEMP.js.map → PkToolRequestGeolocation-ZYzgy6kw.js.map} +1 -1
  17. package/dist/_chunks/{PkToolShareDocument-CYBU4LPO.js → PkToolShareDocument-COy3yKqq.js} +2 -2
  18. package/dist/_chunks/{PkToolShareDocument-CYBU4LPO.js.map → PkToolShareDocument-COy3yKqq.js.map} +1 -1
  19. package/dist/_chunks/{PkToolShowArtifact-BkGtejtb.js → PkToolShowArtifact-CePvZJJ9.js} +3 -3
  20. package/dist/_chunks/{PkToolShowArtifact-BkGtejtb.js.map → PkToolShowArtifact-CePvZJJ9.js.map} +1 -1
  21. package/dist/_chunks/{PkToolShowChart-BalU3bxm.js → PkToolShowChart-hUdEF7JC.js} +4 -4
  22. package/dist/_chunks/PkToolShowChart-hUdEF7JC.js.map +1 -0
  23. package/dist/_chunks/{PkToolShowComparison-DeO7cMeF.js → PkToolShowComparison-1odeymnp.js} +2 -2
  24. package/dist/_chunks/PkToolShowComparison-1odeymnp.js.map +1 -0
  25. package/dist/_chunks/{PkToolShowContactForm-BXsvfCKR.js → PkToolShowContactForm-B9u6KgjQ.js} +2 -2
  26. package/dist/_chunks/{PkToolShowContactForm-BXsvfCKR.js.map → PkToolShowContactForm-B9u6KgjQ.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowDiagram-j3TTzZ5I.js → PkToolShowDiagram-Bc0Ov5Dq.js} +3 -3
  28. package/dist/_chunks/{PkToolShowDiagram-j3TTzZ5I.js.map → PkToolShowDiagram-Bc0Ov5Dq.js.map} +1 -1
  29. package/dist/_chunks/{PkToolShowForm-DeG_AzO9.js → PkToolShowForm-B5A-Zj9m.js} +3 -3
  30. package/dist/_chunks/{PkToolShowForm-DeG_AzO9.js.map → PkToolShowForm-B5A-Zj9m.js.map} +1 -1
  31. package/dist/_chunks/{PkToolShowImageGallery-Dri9KUNg.js → PkToolShowImageGallery-DOb626aG.js} +4 -4
  32. package/dist/_chunks/{PkToolShowImageGallery-Dri9KUNg.js.map → PkToolShowImageGallery-DOb626aG.js.map} +1 -1
  33. package/dist/_chunks/{PkToolShowSources-D5gh7FtU.js → PkToolShowSources-DceDrdbn.js} +3 -3
  34. package/dist/_chunks/PkToolShowSources-DceDrdbn.js.map +1 -0
  35. package/dist/_chunks/{useLightbox-Co8iz61W.js → useLightbox-C6u2eYRL.js} +7 -1
  36. package/dist/_chunks/{useLightbox-Co8iz61W.js.map → useLightbox-C6u2eYRL.js.map} +1 -1
  37. package/dist/_chunks/{utils-C1JaUBI_.js → utils-CEzr10hz.js} +4 -2
  38. package/dist/_chunks/utils-CEzr10hz.js.map +1 -0
  39. package/dist/ai-elements.es.js +958 -895
  40. package/dist/ai-elements.es.js.map +1 -1
  41. package/dist-vue/PkChatbot.js +1 -1
  42. package/dist-vue/PkChatbotEmptyState.js +1 -1
  43. package/dist-vue/PkChatbotFilePreview.js +1 -1
  44. package/dist-vue/PkChatbotInput.js +1 -1
  45. package/dist-vue/PkChatbotMessages.js +1 -1
  46. package/dist-vue/PkChatbotStepPayload.js +1 -1
  47. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  48. package/dist-vue/PkChatbotSteps.js +1 -1
  49. package/dist-vue/PkChatbotViewChat.js +1 -1
  50. package/dist-vue/PkChatbotViewConversations.js +1 -1
  51. package/dist-vue/_chunks/{PkChatbot-DLO9Xc4K.js → PkChatbot-BUHFAQYp.js} +5 -5
  52. package/dist-vue/_chunks/{PkChatbot-DLO9Xc4K.js.map → PkChatbot-BUHFAQYp.js.map} +1 -1
  53. package/dist-vue/_chunks/PkChatbotEmptyState-CdE2z9C2.js +32 -0
  54. package/dist-vue/_chunks/PkChatbotEmptyState-CdE2z9C2.js.map +1 -0
  55. package/dist-vue/_chunks/{PkChatbotFilePreview-aKJBtw04.js → PkChatbotFilePreview-BbytSmUB.js} +2 -2
  56. package/dist-vue/_chunks/{PkChatbotFilePreview-aKJBtw04.js.map → PkChatbotFilePreview-BbytSmUB.js.map} +1 -1
  57. package/dist-vue/_chunks/{PkChatbotInput-CunAf5Rq.js → PkChatbotInput-D6khxAJ8.js} +5 -5
  58. package/dist-vue/_chunks/{PkChatbotInput-CunAf5Rq.js.map → PkChatbotInput-D6khxAJ8.js.map} +1 -1
  59. package/dist-vue/_chunks/{PkChatbotMessages-BmKGu2Sh.js → PkChatbotMessages-DqoPly0A.js} +20 -20
  60. package/dist-vue/_chunks/{PkChatbotMessages-BmKGu2Sh.js.map → PkChatbotMessages-DqoPly0A.js.map} +1 -1
  61. package/dist-vue/_chunks/{PkChatbotStepPayload-BQDpTDgn.js → PkChatbotStepPayload-Ksj_Mp7n.js} +2 -2
  62. package/dist-vue/_chunks/{PkChatbotStepPayload-BQDpTDgn.js.map → PkChatbotStepPayload-Ksj_Mp7n.js.map} +1 -1
  63. package/dist-vue/_chunks/{PkChatbotStepToolDetail-Dsf9t1B6.js → PkChatbotStepToolDetail-BqAF4YZl.js} +52 -55
  64. package/dist-vue/_chunks/PkChatbotStepToolDetail-BqAF4YZl.js.map +1 -0
  65. package/dist-vue/_chunks/{PkChatbotSteps-HACZ1RrB.js → PkChatbotSteps-C6GAEPfL.js} +5 -5
  66. package/dist-vue/_chunks/{PkChatbotSteps-HACZ1RrB.js.map → PkChatbotSteps-C6GAEPfL.js.map} +1 -1
  67. package/dist-vue/_chunks/{PkChatbotViewChat-DEb_v4fS.js → PkChatbotViewChat-DE0qVYZ-.js} +13 -8
  68. package/dist-vue/_chunks/PkChatbotViewChat-DE0qVYZ-.js.map +1 -0
  69. package/dist-vue/_chunks/{PkChatbotViewConversations-BrgBXjpa.js → PkChatbotViewConversations-HNJPIMeQ.js} +2 -2
  70. package/dist-vue/_chunks/{PkChatbotViewConversations-BrgBXjpa.js.map → PkChatbotViewConversations-HNJPIMeQ.js.map} +1 -1
  71. package/dist-vue/_chunks/{PkFilePreview-Cc8PzIcK.js → PkFilePreview-CGCMa6NV.js} +4 -4
  72. package/dist-vue/_chunks/{PkFilePreview-Cc8PzIcK.js.map → PkFilePreview-CGCMa6NV.js.map} +1 -1
  73. package/dist-vue/_chunks/{PkFilePreviewDialog-D4XuwOvp.js → PkFilePreviewDialog-DRkXUy1_.js} +2 -2
  74. package/dist-vue/_chunks/{PkFilePreviewDialog-D4XuwOvp.js.map → PkFilePreviewDialog-DRkXUy1_.js.map} +1 -1
  75. package/dist-vue/_chunks/{PkImageEditorDialog-B-jW5yE8.js → PkImageEditorDialog-M0xhsEUs.js} +2 -2
  76. package/dist-vue/_chunks/{PkImageEditorDialog-B-jW5yE8.js.map → PkImageEditorDialog-M0xhsEUs.js.map} +1 -1
  77. package/dist-vue/_chunks/{PkStreamingMarkdown-WIueQOg3.js → PkStreamingMarkdown-48T0DPih.js} +3 -3
  78. package/dist-vue/_chunks/{PkStreamingMarkdown-WIueQOg3.js.map → PkStreamingMarkdown-48T0DPih.js.map} +1 -1
  79. package/dist-vue/_chunks/{PkSvgViewer-PAr87kCa.js → PkSvgViewer-BBRyAFWm.js} +2 -2
  80. package/dist-vue/_chunks/{PkSvgViewer-PAr87kCa.js.map → PkSvgViewer-BBRyAFWm.js.map} +1 -1
  81. package/dist-vue/_chunks/{PkToolChatFile-W6OJP7HH.js → PkToolChatFile-qKYe0XRX.js} +3 -3
  82. package/dist-vue/_chunks/{PkToolChatFile-W6OJP7HH.js.map → PkToolChatFile-qKYe0XRX.js.map} +1 -1
  83. package/dist-vue/_chunks/{PkToolRequestGeolocation-BPZfJfR1.js → PkToolRequestGeolocation-BuknnxuZ.js} +2 -2
  84. package/dist-vue/_chunks/{PkToolRequestGeolocation-BPZfJfR1.js.map → PkToolRequestGeolocation-BuknnxuZ.js.map} +1 -1
  85. package/dist-vue/_chunks/{PkToolShareDocument-Bkt9JVqk.js → PkToolShareDocument-CVDYH1kA.js} +2 -2
  86. package/dist-vue/_chunks/{PkToolShareDocument-Bkt9JVqk.js.map → PkToolShareDocument-CVDYH1kA.js.map} +1 -1
  87. package/dist-vue/_chunks/{PkToolShowArtifact-CPBFsUrY.js → PkToolShowArtifact-D51SQ08X.js} +3 -3
  88. package/dist-vue/_chunks/{PkToolShowArtifact-CPBFsUrY.js.map → PkToolShowArtifact-D51SQ08X.js.map} +1 -1
  89. package/dist-vue/_chunks/{PkToolShowChart-BaUS47YU.js → PkToolShowChart-Cf3Hi-Pb.js} +5 -5
  90. package/dist-vue/_chunks/PkToolShowChart-Cf3Hi-Pb.js.map +1 -0
  91. package/dist-vue/_chunks/{PkToolShowComparison-BEHyRNXE.js → PkToolShowComparison-pLrUTlK6.js} +2 -2
  92. package/dist-vue/_chunks/PkToolShowComparison-pLrUTlK6.js.map +1 -0
  93. package/dist-vue/_chunks/{PkToolShowContactForm-6OQ-hjCt.js → PkToolShowContactForm-D8Z4bRx9.js} +2 -2
  94. package/dist-vue/_chunks/{PkToolShowContactForm-6OQ-hjCt.js.map → PkToolShowContactForm-D8Z4bRx9.js.map} +1 -1
  95. package/dist-vue/_chunks/{PkToolShowDiagram-D6hPQVoe.js → PkToolShowDiagram-Bla0_Vc2.js} +4 -4
  96. package/dist-vue/_chunks/{PkToolShowDiagram-D6hPQVoe.js.map → PkToolShowDiagram-Bla0_Vc2.js.map} +1 -1
  97. package/dist-vue/_chunks/{PkToolShowForm-CAadu_Pq.js → PkToolShowForm-BO3NuyAu.js} +3 -3
  98. package/dist-vue/_chunks/{PkToolShowForm-CAadu_Pq.js.map → PkToolShowForm-BO3NuyAu.js.map} +1 -1
  99. package/dist-vue/_chunks/{PkToolShowImageGallery-BlTyCF8h.js → PkToolShowImageGallery-BLISCC3h.js} +5 -5
  100. package/dist-vue/_chunks/{PkToolShowImageGallery-BlTyCF8h.js.map → PkToolShowImageGallery-BLISCC3h.js.map} +1 -1
  101. package/dist-vue/_chunks/{PkToolShowLocation-CyaKgQUX.js → PkToolShowLocation-dTZcp7ah.js} +2 -2
  102. package/dist-vue/_chunks/{PkToolShowLocation-CyaKgQUX.js.map → PkToolShowLocation-dTZcp7ah.js.map} +1 -1
  103. package/dist-vue/_chunks/{PkToolShowProductList-CZFkf9UD.js → PkToolShowProductList-D5JZ6W7c.js} +2 -2
  104. package/dist-vue/_chunks/{PkToolShowProductList-CZFkf9UD.js.map → PkToolShowProductList-D5JZ6W7c.js.map} +1 -1
  105. package/dist-vue/_chunks/{PkToolShowSources-B_2niEa3.js → PkToolShowSources-SnQoTbvq.js} +3 -3
  106. package/dist-vue/_chunks/PkToolShowSources-SnQoTbvq.js.map +1 -0
  107. package/dist-vue/_chunks/{PkToolShowVideo-BnSYdoTJ.js → PkToolShowVideo-D7pwwsfX.js} +2 -2
  108. package/dist-vue/_chunks/{PkToolShowVideo-BnSYdoTJ.js.map → PkToolShowVideo-D7pwwsfX.js.map} +1 -1
  109. package/dist-vue/_chunks/{PkToolShowWebPages-CHrHuFZI.js → PkToolShowWebPages-dbNooGK_.js} +2 -2
  110. package/dist-vue/_chunks/{PkToolShowWebPages-CHrHuFZI.js.map → PkToolShowWebPages-dbNooGK_.js.map} +1 -1
  111. package/dist-vue/_chunks/{useLightbox-DrEFS3gx.js → useLightbox-CQ8WtQNC.js} +7 -1
  112. package/dist-vue/_chunks/{useLightbox-DrEFS3gx.js.map → useLightbox-CQ8WtQNC.js.map} +1 -1
  113. package/dist-vue/_chunks/{utils-BYvQMZLG.js → utils-CaPUJibf.js} +4 -2
  114. package/dist-vue/_chunks/utils-CaPUJibf.js.map +1 -0
  115. package/dist-vue/composables.js +25 -5
  116. package/dist-vue/composables.js.map +1 -1
  117. package/dist-vue/index.js +30 -28
  118. package/dist-vue/index.js.map +1 -1
  119. package/dist-vue/locales.js +4 -0
  120. package/dist-vue/packages/components/src/composables/useLightbox.d.ts +3 -1
  121. package/dist-vue/packages/models/src/schema/ChatTask.d.ts +32 -1
  122. package/dist-vue/style.css +1 -1
  123. package/package.json +1 -1
  124. package/dist/_chunks/PkToolShowChart-BalU3bxm.js.map +0 -1
  125. package/dist/_chunks/PkToolShowComparison-DeO7cMeF.js.map +0 -1
  126. package/dist/_chunks/PkToolShowSources-D5gh7FtU.js.map +0 -1
  127. package/dist/_chunks/utils-C1JaUBI_.js.map +0 -1
  128. package/dist-vue/_chunks/PkChatbotEmptyState-D6S0iYe3.js +0 -28
  129. package/dist-vue/_chunks/PkChatbotEmptyState-D6S0iYe3.js.map +0 -1
  130. package/dist-vue/_chunks/PkChatbotStepToolDetail-Dsf9t1B6.js.map +0 -1
  131. package/dist-vue/_chunks/PkChatbotViewChat-DEb_v4fS.js.map +0 -1
  132. package/dist-vue/_chunks/PkToolShowChart-BaUS47YU.js.map +0 -1
  133. package/dist-vue/_chunks/PkToolShowComparison-BEHyRNXE.js.map +0 -1
  134. package/dist-vue/_chunks/PkToolShowSources-B_2niEa3.js.map +0 -1
  135. package/dist-vue/_chunks/utils-BYvQMZLG.js.map +0 -1
@@ -452,6 +452,7 @@ var e = {
452
452
  sortDescending: "Descending order",
453
453
  sortBy: "Sort by",
454
454
  passphrase: "Enter passphrase",
455
+ chat: "Chat",
455
456
  selectedHint: "Selected"
456
457
  },
457
458
  time: {
@@ -731,6 +732,7 @@ var e = {
731
732
  revisedAnswers: "Search frequently asked questions…",
732
733
  stepRepeated: "{n} excerpt already found earlier | {n} excerpts already found earlier",
733
734
  stepNoResults: "No results found",
735
+ stepOpenHit: "Open {title} in a new tab",
734
736
  stepInput: "Input",
735
737
  stepOutput: "Output",
736
738
  steps: "Processing",
@@ -1536,6 +1538,7 @@ var e = {
1536
1538
  sortDescending: "Ordine decrescente",
1537
1539
  sortBy: "Ordina per",
1538
1540
  passphrase: "Inserisci la parola chiave",
1541
+ chat: "Chat",
1539
1542
  selectedHint: "Selezionato"
1540
1543
  },
1541
1544
  time: {
@@ -1815,6 +1818,7 @@ var e = {
1815
1818
  revisedAnswers: "Ricerca nelle domande ricorrenti…",
1816
1819
  stepRepeated: "{n} estratto già trovato prima | {n} estratti già trovati prima",
1817
1820
  stepNoResults: "Nessun risultato trovato",
1821
+ stepOpenHit: "Apri {title} in una nuova scheda",
1818
1822
  stepInput: "Input",
1819
1823
  stepOutput: "Output",
1820
1824
  steps: "Elaborazione",
@@ -112,7 +112,9 @@ export declare function useImageSizes(): UseImageSizesReturn;
112
112
  * end of the opening neither shows nor fills: empty, with no caption and
113
113
  * none of the buttons that read the slide. A zoom pressed sooner was still
114
114
  * animating when the opening's animation ended, which then never completed
115
- * the opening: the lightbox stayed over the page and no longer closed. Any
115
+ * the opening: the lightbox stayed over the page and no longer closed. The
116
+ * close button pressed sooner was ignored by PhotoSwipe, so the first click
117
+ * was lost (dev tests, 2026-11-18): it now closes once the opening ends. Any
116
118
  * other element of the bar is returned as it is.
117
119
  */
118
120
  export declare function holdUntilOpen(data: UIElementData): UIElementData;
@@ -25,6 +25,11 @@ export declare const ChatTaskEndReason: {
25
25
  readonly ToolDisabled: "tool-disabled";
26
26
  /** A one-off run whose message was lost and found too late. */
27
27
  readonly Missed: "missed";
28
+ /**
29
+ * A run reached the end the user gave the task ("until 3 pm", "for a
30
+ * week") and closed it with `reportTaskRun` and `last: true`.
31
+ */
32
+ readonly Completed: "completed";
28
33
  };
29
34
  export type ChatTaskEndReason = (typeof ChatTaskEndReason)[keyof typeof ChatTaskEndReason];
30
35
  /** The three tools of the `cronTasks` switch, replicas of Claude Code's cron tools. */
@@ -82,6 +87,11 @@ export declare const ChatTaskSummarySchema: z.ZodObject<{
82
87
  readonly ToolDisabled: "tool-disabled";
83
88
  /** A one-off run whose message was lost and found too late. */
84
89
  readonly Missed: "missed";
90
+ /**
91
+ * A run reached the end the user gave the task ("until 3 pm", "for a
92
+ * week") and closed it with `reportTaskRun` and `last: true`.
93
+ */
94
+ readonly Completed: "completed";
85
95
  }>>;
86
96
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
87
97
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
@@ -90,7 +100,8 @@ export declare const ChatTaskSummarySchema: z.ZodObject<{
90
100
  export type ChatTaskSummary = z.infer<typeof ChatTaskSummarySchema>;
91
101
  /**
92
102
  * A task in the user's own list (spec agent-recurring-tasks, F2): with the
93
- * agent it runs on and the organization the link to its chat goes through.
103
+ * agent it runs on and its organization, named on the row and the one the
104
+ * link to its chat goes through.
94
105
  */
95
106
  export declare const ChatTaskListItemSchema: z.ZodObject<{
96
107
  id: z.ZodUUID;
@@ -119,11 +130,17 @@ export declare const ChatTaskListItemSchema: z.ZodObject<{
119
130
  readonly ToolDisabled: "tool-disabled";
120
131
  /** A one-off run whose message was lost and found too late. */
121
132
  readonly Missed: "missed";
133
+ /**
134
+ * A run reached the end the user gave the task ("until 3 pm", "for a
135
+ * week") and closed it with `reportTaskRun` and `last: true`.
136
+ */
137
+ readonly Completed: "completed";
122
138
  }>>;
123
139
  nextRunAt: z.ZodNullable<z.ZodISODateTime>;
124
140
  lastRunAt: z.ZodNullable<z.ZodISODateTime>;
125
141
  createdAt: z.ZodISODateTime;
126
142
  agentName: z.ZodString;
143
+ organizationName: z.ZodString;
127
144
  organizationSlug: z.ZodString;
128
145
  }, z.core.$strip>;
129
146
  export type ChatTaskListItem = z.infer<typeof ChatTaskListItemSchema>;
@@ -135,6 +152,20 @@ export type ChatTaskListItem = z.infer<typeof ChatTaskListItemSchema>;
135
152
  */
136
153
  export type CronScheduleShape = {
137
154
  kind: 'once';
155
+ }
156
+ /**
157
+ * Every `every` hours at `minute`, all day or from `from` to `to` (the
158
+ * times of the first and last run), every day or on weekdays only. The
159
+ * shortest interval a task takes is an hour, so the commonest recurring
160
+ * request lands here.
161
+ */
162
+ | {
163
+ kind: 'hourly';
164
+ minute: number;
165
+ every: number;
166
+ from?: string;
167
+ to?: string;
168
+ weekdaysOnly: boolean;
138
169
  } | {
139
170
  kind: 'daily';
140
171
  time: string;