@8wave/ai-elements 0.121.0-beta.53 → 0.121.0-beta.55

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 (86) hide show
  1. package/dist/_chunks/{PkStreamingMarkdown-CR-xBRG2.js → PkStreamingMarkdown-Bev81_Lp.js} +7 -4
  2. package/dist/_chunks/PkStreamingMarkdown-Bev81_Lp.js.map +1 -0
  3. package/dist/_chunks/{PkToolEditedFile-DAMPjKIn.js → PkToolChatFile-a37ez2k5.js} +17 -17
  4. package/dist/_chunks/PkToolChatFile-a37ez2k5.js.map +1 -0
  5. package/dist/_chunks/{PkToolShowArtifact-B1J7a3o0.js → PkToolShowArtifact-CecXXZSh.js} +2 -2
  6. package/dist/_chunks/{PkToolShowArtifact-B1J7a3o0.js.map → PkToolShowArtifact-CecXXZSh.js.map} +1 -1
  7. package/dist/_chunks/{PkToolShowContactForm-DcNMM-j0.js → PkToolShowContactForm-3BGkXgD9.js} +2 -2
  8. package/dist/_chunks/{PkToolShowContactForm-DcNMM-j0.js.map → PkToolShowContactForm-3BGkXgD9.js.map} +1 -1
  9. package/dist/_chunks/{PkToolShowForm-CRa9HLZo.js → PkToolShowForm-BXOmY4ce.js} +2 -2
  10. package/dist/_chunks/{PkToolShowForm-CRa9HLZo.js.map → PkToolShowForm-BXOmY4ce.js.map} +1 -1
  11. package/dist/_chunks/{PkToolShowSources-LQ0DMKM1.js → PkToolShowSources-Cv8UguNA.js} +2 -2
  12. package/dist/_chunks/{PkToolShowSources-LQ0DMKM1.js.map → PkToolShowSources-Cv8UguNA.js.map} +1 -1
  13. package/dist/ai-elements.es.js +33 -11
  14. package/dist/ai-elements.es.js.map +1 -1
  15. package/dist-vue/PkChatbot.js +1 -1
  16. package/dist-vue/PkChatbotEmptyState.js +1 -1
  17. package/dist-vue/PkChatbotInput.js +1 -1
  18. package/dist-vue/PkChatbotMessages.js +1 -1
  19. package/dist-vue/PkChatbotStepPayload.js +1 -1
  20. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  21. package/dist-vue/PkChatbotSteps.js +1 -1
  22. package/dist-vue/PkChatbotViewChat.js +1 -1
  23. package/dist-vue/PkChatbotViewConversations.js +1 -1
  24. package/dist-vue/PkChatbotViewFiles.js +1 -1
  25. package/dist-vue/_chunks/{PkChatbot-DKBnpYB0.js → PkChatbot-BFAcqm6m.js} +6 -6
  26. package/dist-vue/_chunks/{PkChatbot-DKBnpYB0.js.map → PkChatbot-BFAcqm6m.js.map} +1 -1
  27. package/dist-vue/_chunks/{PkChatbotEmptyState-CFCbJSjm.js → PkChatbotEmptyState-fADhr37n.js} +2 -2
  28. package/dist-vue/_chunks/{PkChatbotEmptyState-CFCbJSjm.js.map → PkChatbotEmptyState-fADhr37n.js.map} +1 -1
  29. package/dist-vue/_chunks/{PkChatbotInput-fte_uZHV.js → PkChatbotInput-CUOcwWDz.js} +2 -2
  30. package/dist-vue/_chunks/{PkChatbotInput-fte_uZHV.js.map → PkChatbotInput-CUOcwWDz.js.map} +1 -1
  31. package/dist-vue/_chunks/{PkChatbotMessages-BVzOnfjU.js → PkChatbotMessages-CcTQozaF.js} +14 -14
  32. package/dist-vue/_chunks/{PkChatbotMessages-BVzOnfjU.js.map → PkChatbotMessages-CcTQozaF.js.map} +1 -1
  33. package/dist-vue/_chunks/{PkChatbotStepPayload-CgwZs9AM.js → PkChatbotStepPayload-CQD8lb4l.js} +2 -2
  34. package/dist-vue/_chunks/{PkChatbotStepPayload-CgwZs9AM.js.map → PkChatbotStepPayload-CQD8lb4l.js.map} +1 -1
  35. package/dist-vue/_chunks/{PkChatbotStepToolDetail-BOylJhFM.js → PkChatbotStepToolDetail-Bj1ZBPMz.js} +3 -3
  36. package/dist-vue/_chunks/{PkChatbotStepToolDetail-BOylJhFM.js.map → PkChatbotStepToolDetail-Bj1ZBPMz.js.map} +1 -1
  37. package/dist-vue/_chunks/{PkChatbotSteps-Cmi5TBZM.js → PkChatbotSteps-DhIEYst5.js} +5 -5
  38. package/dist-vue/_chunks/{PkChatbotSteps-Cmi5TBZM.js.map → PkChatbotSteps-DhIEYst5.js.map} +1 -1
  39. package/dist-vue/_chunks/{PkChatbotViewChat-DuHSW8TF.js → PkChatbotViewChat-CW4SxAtr.js} +256 -246
  40. package/dist-vue/_chunks/PkChatbotViewChat-CW4SxAtr.js.map +1 -0
  41. package/dist-vue/_chunks/{PkChatbotViewConversations-Bf9oJIdi.js → PkChatbotViewConversations-BXxXUgso.js} +2 -2
  42. package/dist-vue/_chunks/{PkChatbotViewConversations-Bf9oJIdi.js.map → PkChatbotViewConversations-BXxXUgso.js.map} +1 -1
  43. package/dist-vue/_chunks/{PkChatbotViewFiles-B6R1ixAl.js → PkChatbotViewFiles-i_OUsdlU.js} +3 -3
  44. package/dist-vue/_chunks/PkChatbotViewFiles-i_OUsdlU.js.map +1 -0
  45. package/dist-vue/_chunks/{PkStreamingMarkdown-BrBeaJes.js → PkStreamingMarkdown-qZLlI83D.js} +2 -2
  46. package/dist-vue/_chunks/{PkStreamingMarkdown-BrBeaJes.js.map → PkStreamingMarkdown-qZLlI83D.js.map} +1 -1
  47. package/dist-vue/_chunks/{PkToolEditedFile-BKyMjgs0.js → PkToolChatFile-DPkLqqDt.js} +17 -17
  48. package/dist-vue/_chunks/PkToolChatFile-DPkLqqDt.js.map +1 -0
  49. package/dist-vue/_chunks/{PkToolShowArtifact-BvvVHrP-.js → PkToolShowArtifact-BDZjRnfs.js} +2 -2
  50. package/dist-vue/_chunks/{PkToolShowArtifact-BvvVHrP-.js.map → PkToolShowArtifact-BDZjRnfs.js.map} +1 -1
  51. package/dist-vue/_chunks/{PkToolShowContactForm-Dz_IiYr1.js → PkToolShowContactForm-CcIF7fNS.js} +2 -2
  52. package/dist-vue/_chunks/{PkToolShowContactForm-Dz_IiYr1.js.map → PkToolShowContactForm-CcIF7fNS.js.map} +1 -1
  53. package/dist-vue/_chunks/{PkToolShowDiagram-DCSfCzrN.js → PkToolShowDiagram-CD70YQgq.js} +2 -2
  54. package/dist-vue/_chunks/{PkToolShowDiagram-DCSfCzrN.js.map → PkToolShowDiagram-CD70YQgq.js.map} +1 -1
  55. package/dist-vue/_chunks/{PkToolShowForm-qMBAEKxf.js → PkToolShowForm-edPn56Ka.js} +3 -3
  56. package/dist-vue/_chunks/{PkToolShowForm-qMBAEKxf.js.map → PkToolShowForm-edPn56Ka.js.map} +1 -1
  57. package/dist-vue/_chunks/{PkToolShowImageGallery-DWwUnIDq.js → PkToolShowImageGallery-82BzTTbf.js} +2 -2
  58. package/dist-vue/_chunks/{PkToolShowImageGallery-DWwUnIDq.js.map → PkToolShowImageGallery-82BzTTbf.js.map} +1 -1
  59. package/dist-vue/_chunks/{PkToolShowProductList-DreWhhfK.js → PkToolShowProductList-CKPDiMkx.js} +2 -2
  60. package/dist-vue/_chunks/{PkToolShowProductList-DreWhhfK.js.map → PkToolShowProductList-CKPDiMkx.js.map} +1 -1
  61. package/dist-vue/_chunks/{PkToolShowSources-DR-uaXeX.js → PkToolShowSources-CHH2vKVG.js} +2 -2
  62. package/dist-vue/_chunks/{PkToolShowSources-DR-uaXeX.js.map → PkToolShowSources-CHH2vKVG.js.map} +1 -1
  63. package/dist-vue/_chunks/{PkToolShowVideo-Xogv8wVt.js → PkToolShowVideo-C5TKoW1f.js} +2 -2
  64. package/dist-vue/_chunks/{PkToolShowVideo-Xogv8wVt.js.map → PkToolShowVideo-C5TKoW1f.js.map} +1 -1
  65. package/dist-vue/_chunks/{PkToolShowWebPages-BHTyFyDI.js → PkToolShowWebPages-CuwLXH1I.js} +2 -2
  66. package/dist-vue/_chunks/{PkToolShowWebPages-BHTyFyDI.js.map → PkToolShowWebPages-CuwLXH1I.js.map} +1 -1
  67. package/dist-vue/_chunks/createChatbotApiClient-B3U31J_K.js.map +1 -1
  68. package/dist-vue/_chunks/{utils-Df_SeBdX.js → utils-C8jnMPj0.js} +7 -4
  69. package/dist-vue/_chunks/utils-C8jnMPj0.js.map +1 -0
  70. package/dist-vue/composables.js +15 -3
  71. package/dist-vue/composables.js.map +1 -1
  72. package/dist-vue/index.js +519 -478
  73. package/dist-vue/index.js.map +1 -1
  74. package/dist-vue/locales.js +70 -10
  75. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +13 -2
  76. package/dist-vue/packages/components/src/chat/{PkToolEditedFile.d.ts → PkToolChatFile.d.ts} +5 -4
  77. package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +2 -0
  78. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +6 -0
  79. package/dist-vue/packages/composable/src/useFileRow.d.ts +5 -3
  80. package/package.json +1 -1
  81. package/dist/_chunks/PkStreamingMarkdown-CR-xBRG2.js.map +0 -1
  82. package/dist/_chunks/PkToolEditedFile-DAMPjKIn.js.map +0 -1
  83. package/dist-vue/_chunks/PkChatbotViewChat-DuHSW8TF.js.map +0 -1
  84. package/dist-vue/_chunks/PkChatbotViewFiles-B6R1ixAl.js.map +0 -1
  85. package/dist-vue/_chunks/PkToolEditedFile-BKyMjgs0.js.map +0 -1
  86. package/dist-vue/_chunks/utils-Df_SeBdX.js.map +0 -1
@@ -153,6 +153,9 @@ var e = {
153
153
  voiceListening: "Listening",
154
154
  empty: "No items found",
155
155
  readError: "Error while reading",
156
+ feedbackSubmitError: "Submission failed. Try again.",
157
+ leadSubmitError: "Failed to submit. Try again.",
158
+ confirm: "Are you sure you want to proceed?",
156
159
  agentNotFound: "Agent not found"
157
160
  },
158
161
  label: {
@@ -402,12 +405,19 @@ var e = {
402
405
  sortAscending: "Ascending order",
403
406
  sortDescending: "Descending order",
404
407
  sortBy: "Sort by",
408
+ passphrase: "Enter passphrase",
405
409
  selectedHint: "Selected",
406
410
  deselectAction: "Remove"
407
411
  },
408
412
  time: {
409
413
  future: "in",
410
- past: "ago"
414
+ past: "ago",
415
+ unit: {
416
+ second: "second | seconds",
417
+ minute: "minute | minutes",
418
+ hour: "hour | hours",
419
+ day: "day | days"
420
+ }
411
421
  },
412
422
  hint: {
413
423
  hostToolNameInvalid: "Lowercase letters, digits and underscores, starting with a letter.",
@@ -480,7 +490,9 @@ var e = {
480
490
  platformSupported: "Renders natively on WhatsApp and Teams",
481
491
  tool: {
482
492
  useAllUserKb: "Reads the memories the user shared with every agent of this organization, not just this one. Writing stays scoped to this agent.",
483
- useAllUserFiles: "Searches all the user's files, including those uploaded on other agents, not just this agent's."
493
+ useAllUserFiles: "Searches all the user's files, including those uploaded on other agents, not just this agent's.",
494
+ createSpreadsheet: "When the user asks for it, the agent creates a new Excel file to download, and edits it in later requests. By turning this option on you accept that the agent puts in the file the data it reads in the conversation, in the knowledge base and from its tools. Only in the web chat and the widget, for users with an account.",
495
+ createWordDocument: "When the user asks for it, the agent creates a new Word document to download, such as an offer, a letter or minutes, and edits it in later requests. By turning this option on you accept that the agent puts in the document the data it reads in the conversation, in the knowledge base and from its tools. Only in the web chat and the widget, for users with an account."
484
496
  },
485
497
  toolRequiresApproval: "The agent waits for approval in the chat before running.",
486
498
  channelWidgetDisabled: "The Widget channel is disabled: the embed code and loader will not work.",
@@ -513,7 +525,8 @@ var e = {
513
525
  webSearchNativeChain: "Each model uses its own provider's built-in search: {providers}.",
514
526
  webSearchEnabled: "Allow the agent to search the web during conversations.",
515
527
  allowedDomains: "Only search within these domains.",
516
- blockedDomains: "Exclude these domains from results."
528
+ blockedDomains: "Exclude these domains from results.",
529
+ passphrase: "Enter {passphrase} to confirm the operation"
517
530
  },
518
531
  placeholder: {
519
532
  insert: "Type here…",
@@ -548,6 +561,8 @@ var e = {
548
561
  tool: {
549
562
  useAllUserKb: "Use the entire user KB",
550
563
  useAllUserFiles: "Use all user files",
564
+ createSpreadsheet: "Create new Excel files",
565
+ createWordDocument: "Create new Word documents",
551
566
  runWorker: "Parallel workers"
552
567
  },
553
568
  channel: {
@@ -565,7 +580,15 @@ var e = {
565
580
  chatFilesTitle: "Files in this chat",
566
581
  chatFilesEmpty: "No files uploaded in this chat.",
567
582
  open: "Open file",
568
- untitled: "Untitled file"
583
+ untitled: "Untitled file",
584
+ chatFileVersion: "Edited by the agent",
585
+ chatFileCreated: "Created by the agent",
586
+ chatFileInChatOnly: "In its chat only",
587
+ deleteChatFile: "Delete file",
588
+ exclude: "Remove file",
589
+ deleteCreatedFileConfirm: "The file the agent created and every version of it are deleted, from the chat too. This cannot be undone.",
590
+ deleteChatFileConfirm: "The uploaded file and every version the agent wrote of it are deleted, from the chat too. This cannot be undone.",
591
+ excludeConfirm: "The agent will not be able to search it any more. It stays in the chat you uploaded it to."
569
592
  },
570
593
  messagePart: {
571
594
  audioTranscriptNoSpeech: "No speech could be heard in it",
@@ -623,6 +646,8 @@ var e = {
623
646
  shareDocument: "Preparing the document…",
624
647
  readWordDocument: "Reading the Word document…",
625
648
  editWordDocument: "Editing the Word document…",
649
+ createSpreadsheet: "Creating the spreadsheet…",
650
+ createWordDocument: "Creating the Word document…",
626
651
  querySpreadsheet: "Querying the spreadsheet…",
627
652
  geocode: "Looking up a location…",
628
653
  getWeather: "Fetching weather data…",
@@ -723,7 +748,12 @@ var e = {
723
748
  pageNavigate: "The agent wants to open “{url}”. Allow it?",
724
749
  pageNavigateUnknown: "The agent wants to open “{url}”, which the page does not show. Allow it?"
725
750
  },
726
- confirmTitle: { deleteMyConversations: "Delete all your conversations?" },
751
+ confirmTitle: {
752
+ deleteMyConversations: "Delete all your conversations?",
753
+ deleteWordDocument: "Delete this Word document?",
754
+ deleteSpreadsheet: "Delete this spreadsheet?",
755
+ excludeUserFile: "Remove this file from your files?"
756
+ },
727
757
  toolSelection: {
728
758
  exposed: "Groups exposed to the model: probability {threshold} or higher, or used earlier",
729
759
  latency: "Evaluation time, limit {budget} ms",
@@ -921,6 +951,9 @@ var e = {
921
951
  voiceListening: "In ascolto",
922
952
  empty: "Nessun elemento trovato",
923
953
  readError: "Errore durante la lettura",
954
+ feedbackSubmitError: "Invio fallito. Riprova per favore.",
955
+ leadSubmitError: "Invio fallito. Riprova per favore.",
956
+ confirm: "Sei sicuro di voler procedere?",
924
957
  agentNotFound: "Agente non trovato"
925
958
  },
926
959
  label: {
@@ -1170,12 +1203,19 @@ var e = {
1170
1203
  sortAscending: "Ordine crescente",
1171
1204
  sortDescending: "Ordine decrescente",
1172
1205
  sortBy: "Ordina per",
1206
+ passphrase: "Inserisci la parola chiave",
1173
1207
  selectedHint: "Selezionato",
1174
1208
  deselectAction: "Rimuovi"
1175
1209
  },
1176
1210
  time: {
1177
1211
  future: "tra",
1178
- past: "fa"
1212
+ past: "fa",
1213
+ unit: {
1214
+ second: "secondo | secondi",
1215
+ minute: "minuto | minuti",
1216
+ hour: "ora | ore",
1217
+ day: "giorno | giorni"
1218
+ }
1179
1219
  },
1180
1220
  hint: {
1181
1221
  hostToolNameInvalid: "Lettere minuscole, cifre e trattino basso, a partire da una lettera.",
@@ -1248,7 +1288,9 @@ var e = {
1248
1288
  platformSupported: "Resa nativa su WhatsApp e Teams",
1249
1289
  tool: {
1250
1290
  useAllUserKb: "Legge le memorie che l'utente ha condiviso con tutti gli agenti di questa organizzazione, non solo con questo. La scrittura resta legata a questo agente.",
1251
- useAllUserFiles: "Cerca in tutti i file dell'utente, anche quelli caricati su altri agenti, non solo in quelli di questo agente."
1291
+ useAllUserFiles: "Cerca in tutti i file dell'utente, anche quelli caricati su altri agenti, non solo in quelli di questo agente.",
1292
+ createSpreadsheet: "Quando l'utente lo chiede, l'agente crea un file Excel nuovo da scaricare, e lo modifica nelle richieste successive. Accendendo l'opzione accetti che l'agente metta nel file i dati che legge nella conversazione, nella knowledge base e dagli strumenti. Solo nella chat web e nel widget, per gli utenti con un account.",
1293
+ createWordDocument: "Quando l'utente lo chiede, l'agente crea un documento Word nuovo da scaricare, come un'offerta, una lettera o un verbale, e lo modifica nelle richieste successive. Accendendo l'opzione accetti che l'agente metta nel documento i dati che legge nella conversazione, nella knowledge base e dagli strumenti. Solo nella chat web e nel widget, per gli utenti con un account."
1252
1294
  },
1253
1295
  toolRequiresApproval: "Prima di eseguire, l'agente attende l'approvazione in chat.",
1254
1296
  channelWidgetDisabled: "Il canale Widget è disabilitato: il codice embed e il loader non funzioneranno.",
@@ -1281,7 +1323,8 @@ var e = {
1281
1323
  webSearchNativeChain: "Ogni modello usa la ricerca integrata del suo fornitore: {providers}.",
1282
1324
  webSearchEnabled: "Permetti all'agente di cercare informazioni sul web durante le conversazioni.",
1283
1325
  allowedDomains: "Cerca solo all'interno di questi domini.",
1284
- blockedDomains: "Escludi questi domini dai risultati."
1326
+ blockedDomains: "Escludi questi domini dai risultati.",
1327
+ passphrase: "Inserisci {passphrase} per confermare l'operazione"
1285
1328
  },
1286
1329
  placeholder: {
1287
1330
  insert: "Inserisci…",
@@ -1316,6 +1359,8 @@ var e = {
1316
1359
  tool: {
1317
1360
  useAllUserKb: "Utilizza tutta la KB utente",
1318
1361
  useAllUserFiles: "Utilizza tutti i file utente",
1362
+ createSpreadsheet: "Crea nuovi file Excel",
1363
+ createWordDocument: "Crea nuovi documenti Word",
1319
1364
  runWorker: "Worker parallelo"
1320
1365
  },
1321
1366
  channel: {
@@ -1333,7 +1378,15 @@ var e = {
1333
1378
  chatFilesTitle: "File in questa chat",
1334
1379
  chatFilesEmpty: "Nessun file caricato in questa chat.",
1335
1380
  open: "Apri file",
1336
- untitled: "File senza nome"
1381
+ untitled: "File senza nome",
1382
+ chatFileVersion: "Modificato dall'agente",
1383
+ chatFileCreated: "Creato dall'agente",
1384
+ chatFileInChatOnly: "Solo nella sua chat",
1385
+ deleteChatFile: "Elimina file",
1386
+ exclude: "Rimuovi file",
1387
+ deleteCreatedFileConfirm: "Si cancellano il file creato dall'agente e tutte le sue versioni, anche dalla chat. Non si può annullare.",
1388
+ deleteChatFileConfirm: "Si cancellano il file caricato e tutte le versioni scritte dall'agente, anche dalla chat. Non si può annullare.",
1389
+ excludeConfirm: "L'agente non potrà più cercarlo. Resta nella chat in cui lo avete caricato."
1337
1390
  },
1338
1391
  messagePart: {
1339
1392
  audioTranscriptNoSpeech: "Non si sente nessun parlato",
@@ -1391,6 +1444,8 @@ var e = {
1391
1444
  shareDocument: "Preparazione del documento…",
1392
1445
  readWordDocument: "Lettura del documento Word…",
1393
1446
  editWordDocument: "Modifica del documento Word…",
1447
+ createSpreadsheet: "Creazione del foglio di calcolo…",
1448
+ createWordDocument: "Creazione del documento Word…",
1394
1449
  querySpreadsheet: "Interrogazione del foglio di calcolo…",
1395
1450
  geocode: "Ricerca della posizione…",
1396
1451
  getWeather: "Recupero dati meteo…",
@@ -1491,7 +1546,12 @@ var e = {
1491
1546
  pageNavigate: "L'agente vuole aprire «{url}». Consenti?",
1492
1547
  pageNavigateUnknown: "L'agente vuole aprire «{url}», che la pagina non mostra. Consenti?"
1493
1548
  },
1494
- confirmTitle: { deleteMyConversations: "Eliminare tutte le vostre conversazioni?" },
1549
+ confirmTitle: {
1550
+ deleteMyConversations: "Eliminare tutte le vostre conversazioni?",
1551
+ deleteWordDocument: "Eliminare questo documento Word?",
1552
+ deleteSpreadsheet: "Eliminare questo foglio di calcolo?",
1553
+ excludeUserFile: "Rimuovere questo file dai vostri file?"
1554
+ },
1495
1555
  toolSelection: {
1496
1556
  exposed: "Gruppi esposti al modello: probabilità da {threshold} in su, o usati prima",
1497
1557
  latency: "Tempo della valutazione, limite {budget} ms",
@@ -81,6 +81,13 @@ type __VLS_ModelProps = {
81
81
  * (`AgentShareDocumentSchema`): its switch reads and writes this one.
82
82
  */
83
83
  'shareDocumentEnabled'?: boolean;
84
+ /**
85
+ * The creation of new Excel and Word files, an advanced option of the
86
+ * tool of their format, which reads and edits them afterwards. Switched by
87
+ * its own setting like `shareDocument` (`AgentFileCreationSchema`).
88
+ */
89
+ 'createSpreadsheetEnabled'?: boolean;
90
+ 'createWordDocumentEnabled'?: boolean;
84
91
  /**
85
92
  * Tools that ask the user to confirm before running
86
93
  * (docs/specs/tool-approval-interface.md). Names are canonical tool-set
@@ -143,9 +150,9 @@ type __VLS_ModelProps = {
143
150
  } | undefined;
144
151
  };
145
152
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
146
- declare var __VLS_854: {};
153
+ declare var __VLS_864: {};
147
154
  type __VLS_Slots = {} & {
148
- default?: (props: typeof __VLS_854) => any;
155
+ default?: (props: typeof __VLS_864) => any;
149
156
  };
150
157
  declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
151
158
  "update:reasoning": (value: {
@@ -344,6 +351,8 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
344
351
  "update:imageHosts": (value: string[] | undefined) => any;
345
352
  "update:disabledTools": (value: AgentBuiltInTool[]) => any;
346
353
  "update:shareDocumentEnabled": (value: boolean) => any;
354
+ "update:createSpreadsheetEnabled": (value: boolean) => any;
355
+ "update:createWordDocumentEnabled": (value: boolean) => any;
347
356
  "update:approvalTools": (value: string[]) => any;
348
357
  "update:useAllUserKb": (value: boolean) => any;
349
358
  "update:useAllUserFiles": (value: boolean) => any;
@@ -610,6 +619,8 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
610
619
  "onUpdate:imageHosts"?: ((value: string[] | undefined) => any) | undefined;
611
620
  "onUpdate:disabledTools"?: ((value: AgentBuiltInTool[]) => any) | undefined;
612
621
  "onUpdate:shareDocumentEnabled"?: ((value: boolean) => any) | undefined;
622
+ "onUpdate:createSpreadsheetEnabled"?: ((value: boolean) => any) | undefined;
623
+ "onUpdate:createWordDocumentEnabled"?: ((value: boolean) => any) | undefined;
613
624
  "onUpdate:approvalTools"?: ((value: string[]) => any) | undefined;
614
625
  "onUpdate:useAllUserKb"?: ((value: boolean) => any) | undefined;
615
626
  "onUpdate:useAllUserFiles"?: ((value: boolean) => any) | undefined;
@@ -1,9 +1,10 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  /**
3
- * The version an `editSpreadsheet` or `editWordDocument` call wrote, as a
4
- * file to download. Drawn once the call has an output: while it runs, the
5
- * feed's activity indicator names it, and a refused edit is explained by
6
- * the answer.
3
+ * The file a call of `editSpreadsheet`, `editWordDocument`,
4
+ * `createSpreadsheet` or `createWordDocument` wrote, a new version or a
5
+ * new file, to download. Drawn once the call has an output: while it runs,
6
+ * the feed's activity indicator names it, and a refused call is explained
7
+ * by the answer.
7
8
  */
8
9
  type __VLS_Props = {
9
10
  part: unknown;
@@ -26,6 +26,8 @@ export interface ChatbotFile {
26
26
  kind: UserFileKind;
27
27
  /** For a version, the attachment it is a version of. */
28
28
  sourceAttachmentId: string | null;
29
+ /** A spreadsheet or a Word document the agent created in the chat, or a version of one. */
30
+ createdByAgent: boolean;
29
31
  name: string | null;
30
32
  mimeType: string | null;
31
33
  indexStatus: string;
@@ -1738,6 +1738,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
1738
1738
  documentId: string;
1739
1739
  kind: UserFileKind;
1740
1740
  sourceAttachmentId: string | null;
1741
+ createdByAgent: boolean;
1741
1742
  name: string | null;
1742
1743
  mimeType: string | null;
1743
1744
  indexStatus: string;
@@ -1746,6 +1747,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
1746
1747
  documentId: string;
1747
1748
  kind: UserFileKind;
1748
1749
  sourceAttachmentId: string | null;
1750
+ createdByAgent: boolean;
1749
1751
  name: string | null;
1750
1752
  mimeType: string | null;
1751
1753
  indexStatus: string;
@@ -3673,6 +3675,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
3673
3675
  documentId: string;
3674
3676
  kind: UserFileKind;
3675
3677
  sourceAttachmentId: string | null;
3678
+ createdByAgent: boolean;
3676
3679
  name: string | null;
3677
3680
  mimeType: string | null;
3678
3681
  indexStatus: string;
@@ -3681,6 +3684,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
3681
3684
  documentId: string;
3682
3685
  kind: UserFileKind;
3683
3686
  sourceAttachmentId: string | null;
3687
+ createdByAgent: boolean;
3684
3688
  name: string | null;
3685
3689
  mimeType: string | null;
3686
3690
  indexStatus: string;
@@ -5608,6 +5612,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
5608
5612
  documentId: string;
5609
5613
  kind: UserFileKind;
5610
5614
  sourceAttachmentId: string | null;
5615
+ createdByAgent: boolean;
5611
5616
  name: string | null;
5612
5617
  mimeType: string | null;
5613
5618
  indexStatus: string;
@@ -5616,6 +5621,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
5616
5621
  documentId: string;
5617
5622
  kind: UserFileKind;
5618
5623
  sourceAttachmentId: string | null;
5624
+ createdByAgent: boolean;
5619
5625
  name: string | null;
5620
5626
  mimeType: string | null;
5621
5627
  indexStatus: string;
@@ -27,13 +27,15 @@ export declare function useFileRow(urls: {
27
27
  export interface FileKindLike {
28
28
  kind?: UserFileKind;
29
29
  sourceAttachmentId?: string | null;
30
+ createdByAgent?: boolean;
30
31
  }
31
32
  /**
32
33
  * The wording that depends on what a "My files" row is. A KB document is a
33
34
  * copy of the upload: removing it only takes it out of the assistant's reach.
34
- * A spreadsheet or a Word document is the chat attachment itself and never
35
- * enters the KB: its row says so, and removing it deletes it from its chat
36
- * with every version the assistant wrote of it.
35
+ * A spreadsheet or a Word document is the chat attachment itself, uploaded or
36
+ * created by the assistant, and never enters the KB: its row says so, and
37
+ * removing it deletes it from its chat with every version the assistant wrote
38
+ * of it.
37
39
  */
38
40
  export declare function useUserFileKind(): {
39
41
  isChatFile: (file: FileKindLike) => boolean;
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.53",
4
+ "version": "0.121.0-beta.55",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite --port 8082 --open --host",