@8wave/ai-elements 0.121.0-beta.26 → 0.121.0-beta.28

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 (117) hide show
  1. package/dist/_chunks/{Agent-wt8Vi99H.js → Agent-wvUJZjp3.js} +2 -1
  2. package/dist/_chunks/{Agent-wt8Vi99H.js.map → Agent-wvUJZjp3.js.map} +1 -1
  3. package/dist/_chunks/{PkStreamingMarkdown-Br7Z60Vm.js → PkStreamingMarkdown-DeZn-hPo.js} +6 -6
  4. package/dist/_chunks/PkStreamingMarkdown-DeZn-hPo.js.map +1 -0
  5. package/dist/_chunks/{PkToolEditSpreadsheet-Di9czFTy.js → PkToolEditSpreadsheet-BJEWc_nV.js} +2 -2
  6. package/dist/_chunks/{PkToolEditSpreadsheet-Di9czFTy.js.map → PkToolEditSpreadsheet-BJEWc_nV.js.map} +1 -1
  7. package/dist/_chunks/{PkToolRequestGeolocation-dUTqHsV-.js → PkToolRequestGeolocation-CPU3e3iJ.js} +2 -2
  8. package/dist/_chunks/{PkToolRequestGeolocation-dUTqHsV-.js.map → PkToolRequestGeolocation-CPU3e3iJ.js.map} +1 -1
  9. package/dist/_chunks/{PkToolRequestOAuthConnection-cNDld72U.js → PkToolRequestOAuthConnection-C8nfpS3d.js} +2 -2
  10. package/dist/_chunks/{PkToolRequestOAuthConnection-cNDld72U.js.map → PkToolRequestOAuthConnection-C8nfpS3d.js.map} +1 -1
  11. package/dist/_chunks/{PkToolShowArtifact-DtstlRsL.js → PkToolShowArtifact-Bt_qBvdI.js} +2 -2
  12. package/dist/_chunks/{PkToolShowArtifact-DtstlRsL.js.map → PkToolShowArtifact-Bt_qBvdI.js.map} +1 -1
  13. package/dist/_chunks/{PkToolShowContactForm-BKaKlYGJ.js → PkToolShowContactForm-BwKW5txM.js} +2 -2
  14. package/dist/_chunks/{PkToolShowContactForm-BKaKlYGJ.js.map → PkToolShowContactForm-BwKW5txM.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShowForm-OxANKx0g.js → PkToolShowForm-DJhe2pV3.js} +3 -3
  16. package/dist/_chunks/{PkToolShowForm-OxANKx0g.js.map → PkToolShowForm-DJhe2pV3.js.map} +1 -1
  17. package/dist/_chunks/{PkToolShowImageGallery-DRePOmUx.js → PkToolShowImageGallery-DPEIoeDc.js} +2 -2
  18. package/dist/_chunks/{PkToolShowImageGallery-DRePOmUx.js.map → PkToolShowImageGallery-DPEIoeDc.js.map} +1 -1
  19. package/dist/_chunks/{PkToolShowProductList-Y9HR_RJ4.js → PkToolShowProductList-C5alYUrB.js} +2 -2
  20. package/dist/_chunks/{PkToolShowProductList-Y9HR_RJ4.js.map → PkToolShowProductList-C5alYUrB.js.map} +1 -1
  21. package/dist/_chunks/{PkToolShowSources-BQnaaL2a.js → PkToolShowSources-CkwbyMdU.js} +3 -3
  22. package/dist/_chunks/{PkToolShowSources-BQnaaL2a.js.map → PkToolShowSources-CkwbyMdU.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShowSuggestedReply-ghiXQuDz.js → PkToolShowSuggestedReply-C-yCzH_d.js} +2 -2
  24. package/dist/_chunks/{PkToolShowSuggestedReply-ghiXQuDz.js.map → PkToolShowSuggestedReply-C-yCzH_d.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowVideo-BcNWgJD7.js → PkToolShowVideo-DL554qVB.js} +2 -2
  26. package/dist/_chunks/{PkToolShowVideo-BcNWgJD7.js.map → PkToolShowVideo-DL554qVB.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowWebPages-Ba6DkV0V.js → PkToolShowWebPages-D35l7s9P.js} +2 -2
  28. package/dist/_chunks/{PkToolShowWebPages-Ba6DkV0V.js.map → PkToolShowWebPages-D35l7s9P.js.map} +1 -1
  29. package/dist/_chunks/{chatImagePolicy-P0TZW1on.js → chatImagePolicy-Caj4GsFN.js} +2 -2
  30. package/dist/_chunks/{chatImagePolicy-P0TZW1on.js.map → chatImagePolicy-Caj4GsFN.js.map} +1 -1
  31. package/dist/_chunks/{markdown-DLplFIBU.js → markdown-DzN3Q-au.js} +2 -2
  32. package/dist/_chunks/{markdown-DLplFIBU.js.map → markdown-DzN3Q-au.js.map} +1 -1
  33. package/dist/ai-elements.es.js +26 -20
  34. package/dist/ai-elements.es.js.map +1 -1
  35. package/dist-vue/PkChatbot.js +1 -1
  36. package/dist-vue/PkChatbotEmptyState.js +1 -1
  37. package/dist-vue/PkChatbotInput.js +1 -1
  38. package/dist-vue/PkChatbotMessages.js +1 -1
  39. package/dist-vue/PkChatbotStepPayload.js +1 -1
  40. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  41. package/dist-vue/PkChatbotSteps.js +1 -1
  42. package/dist-vue/PkChatbotViewChat.js +1 -1
  43. package/dist-vue/PkChatbotViewConversations.js +1 -1
  44. package/dist-vue/PkChatbotViewFiles.js +1 -1
  45. package/dist-vue/PkChatbotViewProfile.js +1 -1
  46. package/dist-vue/_chunks/{Agent-DcoF75y8.js → Agent-ywfLo1Hg.js} +4 -2
  47. package/dist-vue/_chunks/Agent-ywfLo1Hg.js.map +1 -0
  48. package/dist-vue/_chunks/{Document-C1bD6VNU.js → Document-DqkgJZNx.js} +2 -2
  49. package/dist-vue/_chunks/{Document-C1bD6VNU.js.map → Document-DqkgJZNx.js.map} +1 -1
  50. package/dist-vue/_chunks/{PkChatbot-XUOiHLy1.js → PkChatbot-CLy8LgF8.js} +8 -8
  51. package/dist-vue/_chunks/{PkChatbot-XUOiHLy1.js.map → PkChatbot-CLy8LgF8.js.map} +1 -1
  52. package/dist-vue/_chunks/{PkChatbotEmptyState-h2qZ0JOD.js → PkChatbotEmptyState-DLg5tLl5.js} +2 -2
  53. package/dist-vue/_chunks/{PkChatbotEmptyState-h2qZ0JOD.js.map → PkChatbotEmptyState-DLg5tLl5.js.map} +1 -1
  54. package/dist-vue/_chunks/{PkChatbotInput-C-bMNHC-.js → PkChatbotInput-CjE0vZAK.js} +2 -2
  55. package/dist-vue/_chunks/{PkChatbotInput-C-bMNHC-.js.map → PkChatbotInput-CjE0vZAK.js.map} +1 -1
  56. package/dist-vue/_chunks/{PkChatbotMessages-C0922gNt.js → PkChatbotMessages-Dzc0kzyo.js} +17 -17
  57. package/dist-vue/_chunks/{PkChatbotMessages-C0922gNt.js.map → PkChatbotMessages-Dzc0kzyo.js.map} +1 -1
  58. package/dist-vue/_chunks/{PkChatbotStepPayload-BOxfKD1b.js → PkChatbotStepPayload-DjGNmloY.js} +2 -2
  59. package/dist-vue/_chunks/{PkChatbotStepPayload-BOxfKD1b.js.map → PkChatbotStepPayload-DjGNmloY.js.map} +1 -1
  60. package/dist-vue/_chunks/{PkChatbotStepToolDetail-Df6EOYxj.js → PkChatbotStepToolDetail-CUIWz1nJ.js} +3 -3
  61. package/dist-vue/_chunks/{PkChatbotStepToolDetail-Df6EOYxj.js.map → PkChatbotStepToolDetail-CUIWz1nJ.js.map} +1 -1
  62. package/dist-vue/_chunks/{PkChatbotSteps-DnDtN4Q7.js → PkChatbotSteps-B4r68w6z.js} +5 -5
  63. package/dist-vue/_chunks/{PkChatbotSteps-DnDtN4Q7.js.map → PkChatbotSteps-B4r68w6z.js.map} +1 -1
  64. package/dist-vue/_chunks/{PkChatbotViewChat-DiWz4tVX.js → PkChatbotViewChat-B1iNTeQm.js} +7 -7
  65. package/dist-vue/_chunks/{PkChatbotViewChat-DiWz4tVX.js.map → PkChatbotViewChat-B1iNTeQm.js.map} +1 -1
  66. package/dist-vue/_chunks/{PkChatbotViewConversations-CyfHf6K-.js → PkChatbotViewConversations-D608ghH3.js} +3 -3
  67. package/dist-vue/_chunks/{PkChatbotViewConversations-CyfHf6K-.js.map → PkChatbotViewConversations-D608ghH3.js.map} +1 -1
  68. package/dist-vue/_chunks/{PkChatbotViewFiles-B8g7tHZJ.js → PkChatbotViewFiles-CTg7R5HF.js} +3 -3
  69. package/dist-vue/_chunks/{PkChatbotViewFiles-B8g7tHZJ.js.map → PkChatbotViewFiles-CTg7R5HF.js.map} +1 -1
  70. package/dist-vue/_chunks/{PkChatbotViewProfile-Dg5Uq6I0.js → PkChatbotViewProfile-HBgg-zuj.js} +2 -2
  71. package/dist-vue/_chunks/{PkChatbotViewProfile-Dg5Uq6I0.js.map → PkChatbotViewProfile-HBgg-zuj.js.map} +1 -1
  72. package/dist-vue/_chunks/{PkStreamingMarkdown-BYV68skc.js → PkStreamingMarkdown-O7p8Vyju.js} +3 -3
  73. package/dist-vue/_chunks/{PkStreamingMarkdown-BYV68skc.js.map → PkStreamingMarkdown-O7p8Vyju.js.map} +1 -1
  74. package/dist-vue/_chunks/{PkToolEditSpreadsheet-DQxJQIY0.js → PkToolEditSpreadsheet-B_Ge2pGx.js} +2 -2
  75. package/dist-vue/_chunks/{PkToolEditSpreadsheet-DQxJQIY0.js.map → PkToolEditSpreadsheet-B_Ge2pGx.js.map} +1 -1
  76. package/dist-vue/_chunks/{PkToolRequestGeolocation-BpjglRbg.js → PkToolRequestGeolocation-D0FIRJk2.js} +2 -2
  77. package/dist-vue/_chunks/{PkToolRequestGeolocation-BpjglRbg.js.map → PkToolRequestGeolocation-D0FIRJk2.js.map} +1 -1
  78. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CD3M5DWj.js → PkToolRequestOAuthConnection-DFlZkvLP.js} +2 -2
  79. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CD3M5DWj.js.map → PkToolRequestOAuthConnection-DFlZkvLP.js.map} +1 -1
  80. package/dist-vue/_chunks/{PkToolShowArtifact-Bm5VBF_n.js → PkToolShowArtifact-BTY19659.js} +2 -2
  81. package/dist-vue/_chunks/{PkToolShowArtifact-Bm5VBF_n.js.map → PkToolShowArtifact-BTY19659.js.map} +1 -1
  82. package/dist-vue/_chunks/{PkToolShowContactForm-CMQTQsU-.js → PkToolShowContactForm-D82n3tZ4.js} +2 -2
  83. package/dist-vue/_chunks/{PkToolShowContactForm-CMQTQsU-.js.map → PkToolShowContactForm-D82n3tZ4.js.map} +1 -1
  84. package/dist-vue/_chunks/{PkToolShowDiagram-adGuj4AF.js → PkToolShowDiagram-BlIarn5u.js} +2 -2
  85. package/dist-vue/_chunks/{PkToolShowDiagram-adGuj4AF.js.map → PkToolShowDiagram-BlIarn5u.js.map} +1 -1
  86. package/dist-vue/_chunks/{PkToolShowForm-Cx5KdTlZ.js → PkToolShowForm-b5m2ahty.js} +4 -4
  87. package/dist-vue/_chunks/{PkToolShowForm-Cx5KdTlZ.js.map → PkToolShowForm-b5m2ahty.js.map} +1 -1
  88. package/dist-vue/_chunks/{PkToolShowImageGallery-BtQ0gnGB.js → PkToolShowImageGallery-CtIphioH.js} +2 -2
  89. package/dist-vue/_chunks/{PkToolShowImageGallery-BtQ0gnGB.js.map → PkToolShowImageGallery-CtIphioH.js.map} +1 -1
  90. package/dist-vue/_chunks/{PkToolShowProductList-Dvatk6p-.js → PkToolShowProductList-Vq4zUoN5.js} +2 -2
  91. package/dist-vue/_chunks/{PkToolShowProductList-Dvatk6p-.js.map → PkToolShowProductList-Vq4zUoN5.js.map} +1 -1
  92. package/dist-vue/_chunks/{PkToolShowSources-DKkIYQ9r.js → PkToolShowSources-B-r0dOgi.js} +3 -3
  93. package/dist-vue/_chunks/{PkToolShowSources-DKkIYQ9r.js.map → PkToolShowSources-B-r0dOgi.js.map} +1 -1
  94. package/dist-vue/_chunks/{PkToolShowSuggestedReply-BbAfjJP9.js → PkToolShowSuggestedReply-Dl2VLfJk.js} +2 -2
  95. package/dist-vue/_chunks/{PkToolShowSuggestedReply-BbAfjJP9.js.map → PkToolShowSuggestedReply-Dl2VLfJk.js.map} +1 -1
  96. package/dist-vue/_chunks/{PkToolShowVideo-DTNszfdU.js → PkToolShowVideo-CssORBGr.js} +2 -2
  97. package/dist-vue/_chunks/{PkToolShowVideo-DTNszfdU.js.map → PkToolShowVideo-CssORBGr.js.map} +1 -1
  98. package/dist-vue/_chunks/{PkToolShowWebPages-euov57FB.js → PkToolShowWebPages-Bhpc1HA2.js} +2 -2
  99. package/dist-vue/_chunks/{PkToolShowWebPages-euov57FB.js.map → PkToolShowWebPages-Bhpc1HA2.js.map} +1 -1
  100. package/dist-vue/_chunks/{createChatbotApiClient-CShV2zzL.js → createChatbotApiClient-DN6SHs1X.js} +2 -2
  101. package/dist-vue/_chunks/{createChatbotApiClient-CShV2zzL.js.map → createChatbotApiClient-DN6SHs1X.js.map} +1 -1
  102. package/dist-vue/_chunks/{useChatbotStore-CcRdVi34.js → useChatbotStore-BlIWevWi.js} +3 -3
  103. package/dist-vue/_chunks/{useChatbotStore-CcRdVi34.js.map → useChatbotStore-BlIWevWi.js.map} +1 -1
  104. package/dist-vue/_chunks/{utils-BCGK2AFl.js → utils-FkhB6Tl2.js} +5 -5
  105. package/dist-vue/_chunks/utils-FkhB6Tl2.js.map +1 -0
  106. package/dist-vue/api.js +1 -1
  107. package/dist-vue/composables.js +14 -8
  108. package/dist-vue/composables.js.map +1 -1
  109. package/dist-vue/index.js +27 -27
  110. package/dist-vue/index.js.map +1 -1
  111. package/dist-vue/locales.js +2 -0
  112. package/dist-vue/packages/models/src/schema/Agent.d.ts +8 -7
  113. package/dist-vue/packages/models/src/schema/Member.d.ts +2 -2
  114. package/package.json +1 -1
  115. package/dist/_chunks/PkStreamingMarkdown-Br7Z60Vm.js.map +0 -1
  116. package/dist-vue/_chunks/Agent-DcoF75y8.js.map +0 -1
  117. package/dist-vue/_chunks/utils-BCGK2AFl.js.map +0 -1
@@ -605,6 +605,7 @@ var e = {
605
605
  fetchTeamsChannelHistory: "Reading channel history…",
606
606
  readEarlierMessages: "Rereading earlier messages…",
607
607
  readChatAttachment: "Rereading an attached file…",
608
+ sendChatFile: "Sending the file again…",
608
609
  enableTools: "Enabling tools…",
609
610
  searchingDocuments: "Memory search…",
610
611
  expandChunkContext: "Reading more context…",
@@ -1348,6 +1349,7 @@ var e = {
1348
1349
  fetchTeamsChannelHistory: "Lettura cronologia canale…",
1349
1350
  readEarlierMessages: "Rilettura dei messaggi precedenti…",
1350
1351
  readChatAttachment: "Rilettura di un file allegato…",
1352
+ sendChatFile: "Nuovo invio del file…",
1351
1353
  enableTools: "Attivazione dei tool…",
1352
1354
  searchingDocuments: "Ricerca nella memoria…",
1353
1355
  expandChunkContext: "Lettura di altro contesto…",
@@ -3504,16 +3504,17 @@ export declare const AgentAccessSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3504
3504
  }, z.core.$strip>], "requiresAuth">;
3505
3505
  export type AgentAccess = z.infer<typeof AgentAccessSchema>;
3506
3506
  /**
3507
- * Per-member allowlist of `organization`-visibility agents. An empty `agentIds`
3508
- * means "no restriction" — the member can use every organization agent (the
3509
- * default). A non-empty list limits the member to those agents. Owners/admins
3510
- * always bypass it. `id` is the member's user id, so the resource can be
3511
- * cached/updated as a keyed entity by the frontend store. Used as both the GET
3512
- * response and the PUT body of the backoffice `/members/:userId/agent-access`
3513
- * endpoint.
3507
+ * The agents enabled for a member, and whether the member is limited to them.
3508
+ * Not `limited`, the member uses every organization agent (the default);
3509
+ * `limited`, only those of `agentIds`, none when it is empty. Owners and admins
3510
+ * pass it whatever it says. `id` is the member's user id (the invitation's for
3511
+ * an invitation), so the frontend store caches it as a keyed entity. Both the
3512
+ * GET response and the PUT body of the backoffice `/members/:userId/agent-access`
3513
+ * and `/invitations/:invitationId/agent-access` endpoints.
3514
3514
  */
3515
3515
  export declare const MemberAgentAccessSchema: z.ZodObject<{
3516
3516
  id: z.ZodUUID;
3517
+ limited: z.ZodBoolean;
3517
3518
  agentIds: z.ZodArray<z.ZodUUID>;
3518
3519
  }, z.core.$strip>;
3519
3520
  export type MemberAgentAccess = z.infer<typeof MemberAgentAccessSchema>;
@@ -12,7 +12,7 @@ export declare const AutomaticMemberRoleSchema: z.ZodEnum<{
12
12
  }>;
13
13
  export type AutomaticMemberRole = z.infer<typeof AutomaticMemberRoleSchema>;
14
14
  export declare const MemberAgentAccessSummarySchema: z.ZodObject<{
15
- restricted: z.ZodBoolean;
15
+ limited: z.ZodBoolean;
16
16
  agents: z.ZodArray<z.ZodObject<{
17
17
  id: z.ZodString;
18
18
  name: z.ZodString;
@@ -31,7 +31,7 @@ export declare const MemberSchema: z.ZodObject<{
31
31
  }>;
32
32
  createdAt: z.ZodCoercedDate<unknown>;
33
33
  agentAccess: z.ZodOptional<z.ZodObject<{
34
- restricted: z.ZodBoolean;
34
+ limited: z.ZodBoolean;
35
35
  agents: z.ZodArray<z.ZodObject<{
36
36
  id: z.ZodString;
37
37
  name: z.ZodString;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8wave/ai-elements",
3
3
  "private": false,
4
- "version": "0.121.0-beta.26",
4
+ "version": "0.121.0-beta.28",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite --port 8082 --open --host",