@memori.ai/memori-react 9.1.7 → 9.2.1

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 (124) hide show
  1. package/CHANGELOG.md +94 -0
  2. package/dist/components/Chat/Chat.css +6 -0
  3. package/dist/components/Chat/Chat.d.ts +3 -0
  4. package/dist/components/Chat/Chat.js +82 -13
  5. package/dist/components/Chat/Chat.js.map +1 -1
  6. package/dist/components/ChatBubble/ChatBubble.css +95 -0
  7. package/dist/components/ChatBubble/ChatBubble.d.ts +5 -0
  8. package/dist/components/ChatBubble/ChatBubble.js +14 -7
  9. package/dist/components/ChatBubble/ChatBubble.js.map +1 -1
  10. package/dist/components/ChatHistoryDrawer/ChatHistory.js +6 -4
  11. package/dist/components/ChatHistoryDrawer/ChatHistory.js.map +1 -1
  12. package/dist/components/IconButton/IconButton.d.ts +1 -1
  13. package/dist/components/InstructionProposalCard/InstructionProposalCard.css +115 -0
  14. package/dist/components/InstructionProposalCard/InstructionProposalCard.d.ts +31 -0
  15. package/dist/components/InstructionProposalCard/InstructionProposalCard.js +288 -0
  16. package/dist/components/InstructionProposalCard/InstructionProposalCard.js.map +1 -0
  17. package/dist/components/KnownFacts/KnownFacts.js +4 -2
  18. package/dist/components/KnownFacts/KnownFacts.js.map +1 -1
  19. package/dist/components/MediaWidget/MediaItemWidget.css +6 -0
  20. package/dist/components/MediaWidget/MediaItemWidget.js +16 -4
  21. package/dist/components/MediaWidget/MediaItemWidget.js.map +1 -1
  22. package/dist/components/MediaWidget/MediaItemWidget.types.d.ts +5 -0
  23. package/dist/components/MediaWidget/MediaWidget.d.ts +4 -0
  24. package/dist/components/MediaWidget/MediaWidget.js +2 -2
  25. package/dist/components/MediaWidget/MediaWidget.js.map +1 -1
  26. package/dist/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.css +13 -0
  27. package/dist/components/MemoriArtifactSystem/useArtifactDrawerMenuContainer.d.ts +1 -4
  28. package/dist/components/MemoriArtifactSystem/useArtifactDrawerMenuContainer.js +3 -10
  29. package/dist/components/MemoriArtifactSystem/useArtifactDrawerMenuContainer.js.map +1 -1
  30. package/dist/components/MemoriWidget/MemoriWidget.js +72 -3
  31. package/dist/components/MemoriWidget/MemoriWidget.js.map +1 -1
  32. package/dist/components/SideDrawer/SideDrawer.css +10 -0
  33. package/dist/components/SideDrawer/useDrawerPortalContainer.d.ts +4 -0
  34. package/dist/components/SideDrawer/useDrawerPortalContainer.js +13 -0
  35. package/dist/components/SideDrawer/useDrawerPortalContainer.js.map +1 -0
  36. package/dist/components/Typing/Typing.d.ts +3 -1
  37. package/dist/components/Typing/Typing.js +35 -3
  38. package/dist/components/Typing/Typing.js.map +1 -1
  39. package/dist/components/layouts/flows/FlowWidget.js +2 -2
  40. package/dist/components/layouts/flows/FlowWidget.js.map +1 -1
  41. package/dist/helpers/constants.d.ts +1 -0
  42. package/dist/helpers/constants.js +2 -1
  43. package/dist/helpers/constants.js.map +1 -1
  44. package/dist/helpers/nats/useNats.d.ts +3 -2
  45. package/dist/helpers/nats/useNats.js +8 -3
  46. package/dist/helpers/nats/useNats.js.map +1 -1
  47. package/dist/helpers/nats/useNatsSession.d.ts +6 -1
  48. package/dist/helpers/nats/useNatsSession.js +7 -0
  49. package/dist/helpers/nats/useNatsSession.js.map +1 -1
  50. package/dist/index.js +1 -6
  51. package/dist/index.js.map +1 -1
  52. package/dist/locales/de.json +75 -0
  53. package/dist/locales/en.json +75 -0
  54. package/dist/locales/es.json +75 -0
  55. package/dist/locales/fr.json +75 -0
  56. package/dist/locales/it.json +75 -0
  57. package/dist/styles.css +1 -1
  58. package/dist/types/instructionProposal.d.ts +64 -0
  59. package/dist/types/instructionProposal.js +3 -0
  60. package/dist/types/instructionProposal.js.map +1 -0
  61. package/dist/version.d.ts +1 -1
  62. package/dist/version.js +1 -1
  63. package/esm/components/Chat/Chat.css +6 -0
  64. package/esm/components/Chat/Chat.d.ts +3 -0
  65. package/esm/components/Chat/Chat.js +83 -14
  66. package/esm/components/Chat/Chat.js.map +1 -1
  67. package/esm/components/ChatBubble/ChatBubble.css +95 -0
  68. package/esm/components/ChatBubble/ChatBubble.d.ts +5 -0
  69. package/esm/components/ChatBubble/ChatBubble.js +15 -8
  70. package/esm/components/ChatBubble/ChatBubble.js.map +1 -1
  71. package/esm/components/ChatHistoryDrawer/ChatHistory.js +6 -4
  72. package/esm/components/ChatHistoryDrawer/ChatHistory.js.map +1 -1
  73. package/esm/components/IconButton/IconButton.d.ts +1 -1
  74. package/esm/components/InstructionProposalCard/InstructionProposalCard.css +115 -0
  75. package/esm/components/InstructionProposalCard/InstructionProposalCard.d.ts +31 -0
  76. package/esm/components/InstructionProposalCard/InstructionProposalCard.js +278 -0
  77. package/esm/components/InstructionProposalCard/InstructionProposalCard.js.map +1 -0
  78. package/esm/components/KnownFacts/KnownFacts.js +4 -2
  79. package/esm/components/KnownFacts/KnownFacts.js.map +1 -1
  80. package/esm/components/MediaWidget/MediaItemWidget.css +6 -0
  81. package/esm/components/MediaWidget/MediaItemWidget.js +17 -5
  82. package/esm/components/MediaWidget/MediaItemWidget.js.map +1 -1
  83. package/esm/components/MediaWidget/MediaItemWidget.types.d.ts +5 -0
  84. package/esm/components/MediaWidget/MediaWidget.d.ts +4 -0
  85. package/esm/components/MediaWidget/MediaWidget.js +2 -2
  86. package/esm/components/MediaWidget/MediaWidget.js.map +1 -1
  87. package/esm/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.css +13 -0
  88. package/esm/components/MemoriArtifactSystem/useArtifactDrawerMenuContainer.d.ts +1 -4
  89. package/esm/components/MemoriArtifactSystem/useArtifactDrawerMenuContainer.js +1 -9
  90. package/esm/components/MemoriArtifactSystem/useArtifactDrawerMenuContainer.js.map +1 -1
  91. package/esm/components/MemoriWidget/MemoriWidget.js +72 -3
  92. package/esm/components/MemoriWidget/MemoriWidget.js.map +1 -1
  93. package/esm/components/SideDrawer/SideDrawer.css +10 -0
  94. package/esm/components/SideDrawer/useDrawerPortalContainer.d.ts +4 -0
  95. package/esm/components/SideDrawer/useDrawerPortalContainer.js +10 -0
  96. package/esm/components/SideDrawer/useDrawerPortalContainer.js.map +1 -0
  97. package/esm/components/Typing/Typing.d.ts +3 -1
  98. package/esm/components/Typing/Typing.js +34 -4
  99. package/esm/components/Typing/Typing.js.map +1 -1
  100. package/esm/components/layouts/flows/FlowWidget.js +2 -2
  101. package/esm/components/layouts/flows/FlowWidget.js.map +1 -1
  102. package/esm/helpers/constants.d.ts +1 -0
  103. package/esm/helpers/constants.js +1 -0
  104. package/esm/helpers/constants.js.map +1 -1
  105. package/esm/helpers/nats/useNats.d.ts +3 -2
  106. package/esm/helpers/nats/useNats.js +8 -3
  107. package/esm/helpers/nats/useNats.js.map +1 -1
  108. package/esm/helpers/nats/useNatsSession.d.ts +6 -1
  109. package/esm/helpers/nats/useNatsSession.js +7 -0
  110. package/esm/helpers/nats/useNatsSession.js.map +1 -1
  111. package/esm/index.js +1 -6
  112. package/esm/index.js.map +1 -1
  113. package/esm/locales/de.json +75 -0
  114. package/esm/locales/en.json +75 -0
  115. package/esm/locales/es.json +75 -0
  116. package/esm/locales/fr.json +75 -0
  117. package/esm/locales/it.json +75 -0
  118. package/esm/styles.css +1 -1
  119. package/esm/types/instructionProposal.d.ts +64 -0
  120. package/esm/types/instructionProposal.js +2 -0
  121. package/esm/types/instructionProposal.js.map +1 -0
  122. package/esm/version.d.ts +1 -1
  123. package/esm/version.js +1 -1
  124. package/package.json +3 -3
@@ -833,5 +833,80 @@
833
833
  "TRUSTED_APPLICATION_MISSING_DESCRIPTION": "Application de confiance : description manquante",
834
834
  "TRUSTED_APPLICATION_MISSING_ICON": "Application de confiance : icône manquante",
835
835
  "TRUSTED_APPLICATION_MISSING_URL": "Application de confiance : URL manquante"
836
+ },
837
+ "instructionProposal": {
838
+ "apply": "Appliquer",
839
+ "link": "Connecter",
840
+ "ignore": "Ignorer",
841
+ "applied": "Appliquée.",
842
+ "linked": "Connecté : l'agent peut l'utiliser dans les chats.",
843
+ "ignored": "Ignorée.",
844
+ "notPending": "Cette proposition n'est plus en attente.",
845
+ "error": "La confirmation n'a pas pu être envoyée. Réessayez.",
846
+ "question": "Question",
847
+ "answer": "Réponse",
848
+ "variants": "Autres façons de le demander",
849
+ "prompt": "Nouvelles instructions",
850
+ "promptRevert": "Les instructions reviennent à la version précédente.",
851
+ "restoredPrompt": "Instructions restaurées",
852
+ "attachment": "Fichier",
853
+ "documentTitle": "Document",
854
+ "snippet": "Snippet",
855
+ "snippetFields": "Champs du formulaire",
856
+ "snippetTitle": "Titre",
857
+ "snippetText": "Texte",
858
+ "snippetSubmitLabel": "Bouton",
859
+ "snippetSelector": "Élément mis en évidence",
860
+ "layout": "Mise en page",
861
+ "initialQuestion": "Question initiale",
862
+ "secretField": "Écrivez-le ici, jamais dans le chat.",
863
+ "fillRequired": "Remplissez {{fields}} pour le connecter.",
864
+ "schedule": "Programmer",
865
+ "scheduled": "Programmée : l'agent la fera aux heures prévues.",
866
+ "taskWhen": "Quand",
867
+ "taskPrompt": "Ce que fera l'agent",
868
+ "scheduleDaily": "Tous les jours à {{time}}",
869
+ "scheduleWeekdays": "Du lundi au vendredi à {{time}}",
870
+ "scheduleWeekly": "Chaque {{day}} à {{time}}",
871
+ "scheduleMonthly": "Le {{day}} de chaque mois à {{time}}",
872
+ "scheduleOnce": "Une fois, {{date}}",
873
+ "timezone": "Fuseau horaire : {{timezone}}",
874
+ "pageSettings": "Paramètres de la page",
875
+ "settingOn": "Oui",
876
+ "settingOff": "Non",
877
+ "pageSettingNames": {
878
+ "theme": "Thème",
879
+ "blurBackground": "Arrière-plan flou",
880
+ "showReasoning": "Afficher le raisonnement",
881
+ "showMessageConsumption": "Afficher la consommation par message",
882
+ "showAIicon": "Afficher l'indicateur des contenus générés automatiquement par l'IA",
883
+ "showWhyThisAnswer": "Afficher le bouton « Pourquoi cette réponse ? »",
884
+ "useMathFormatting": "Appliquer la mise en forme des formules mathématiques",
885
+ "showShare": "Afficher le bouton de partage",
886
+ "showSettings": "Activer le panneau des paramètres",
887
+ "multilanguage": "Multilingue",
888
+ "showUpload": "Afficher le bouton d'envoi de documents",
889
+ "seoImageShowAvatar": "Afficher l'avatar comme image d'aperçu",
890
+ "maxTotalMessagePayload": "Nombre maximal de caractères par document",
891
+ "maxTextareaCharacters": "Nombre maximal de caractères dans la zone de texte",
892
+ "buttonBgColor": "Arrière-plan des boutons",
893
+ "buttonTextColor": "Texte des boutons",
894
+ "seoTitle": "Titre",
895
+ "seoDescription": "Description",
896
+ "seoUrl": "URL canonique",
897
+ "lang": "Langue de l'Agent"
898
+ },
899
+ "types": {
900
+ "NewContent": "Nouveau contenu",
901
+ "ContentVariants": "Autres façons de demander",
902
+ "PromptChange": "Modification des instructions",
903
+ "PromptRevert": "Annulation des instructions",
904
+ "AttachmentPlacement": "Pièce jointe",
905
+ "ContentAnswerChange": "Modification de la réponse",
906
+ "Snippet": "Snippet",
907
+ "LandingPage": "Page publique",
908
+ "Connector": "Configurer MCP",
909
+ "ScheduledTask": "Tâche programmée"
910
+ }
836
911
  }
837
912
  }
@@ -873,5 +873,80 @@
873
873
  "TRUSTED_APPLICATION_TOKEN_REQUIRED": "Applicazione trusted: token richiesto",
874
874
  "TRUSTED_APPLICATION_NAME_ALREADY_EXISTS": "Applicazione trusted: nome già esistente",
875
875
  "TRUSTED_APPLICATION_INVALID_TOKEN": "Applicazione trusted: token non valido"
876
+ },
877
+ "instructionProposal": {
878
+ "apply": "Applica",
879
+ "link": "Collega",
880
+ "ignore": "Ignora",
881
+ "applied": "Applicata.",
882
+ "linked": "Collegato: l'agente lo può usare nelle chat.",
883
+ "ignored": "Ignorata.",
884
+ "notPending": "Questa proposta non è più in sospeso.",
885
+ "error": "Non è stato possibile inviare la conferma. Riprova.",
886
+ "question": "Domanda",
887
+ "answer": "Risposta",
888
+ "variants": "Altri modi di chiederlo",
889
+ "prompt": "Nuove istruzioni",
890
+ "promptRevert": "Le istruzioni tornano alla versione precedente.",
891
+ "restoredPrompt": "Istruzioni ripristinate",
892
+ "attachment": "File",
893
+ "documentTitle": "Documento",
894
+ "snippet": "Snippet",
895
+ "snippetFields": "Campi del modulo",
896
+ "snippetTitle": "Titolo",
897
+ "snippetText": "Testo",
898
+ "snippetSubmitLabel": "Pulsante",
899
+ "snippetSelector": "Elemento evidenziato",
900
+ "layout": "Layout",
901
+ "initialQuestion": "Domanda iniziale",
902
+ "secretField": "Scrivilo qui, mai in chat.",
903
+ "fillRequired": "Compila {{fields}} per collegarlo.",
904
+ "schedule": "Programma",
905
+ "scheduled": "Programmata: l'agente la svolgerà agli orari indicati.",
906
+ "taskWhen": "Quando",
907
+ "taskPrompt": "Cosa farà l'agente",
908
+ "scheduleDaily": "Ogni giorno alle {{time}}",
909
+ "scheduleWeekdays": "Dal lunedì al venerdì alle {{time}}",
910
+ "scheduleWeekly": "Ogni {{day}} alle {{time}}",
911
+ "scheduleMonthly": "Il giorno {{day}} di ogni mese alle {{time}}",
912
+ "scheduleOnce": "Una volta, {{date}}",
913
+ "timezone": "Fuso orario: {{timezone}}",
914
+ "pageSettings": "Impostazioni della pagina",
915
+ "settingOn": "Sì",
916
+ "settingOff": "No",
917
+ "pageSettingNames": {
918
+ "theme": "Tema",
919
+ "blurBackground": "Sfondo sfocato",
920
+ "showReasoning": "Mostra il ragionamento",
921
+ "showMessageConsumption": "Mostra consumi per messaggio",
922
+ "showAIicon": "Mostra indicatore per contenuti automaticamente generati da IA",
923
+ "showWhyThisAnswer": "Mostra il pulsante 'Perché questa risposta?'",
924
+ "useMathFormatting": "Applica formattazione per formule matematiche",
925
+ "showShare": "Mostra Condividi",
926
+ "showSettings": "Mostra Impostazioni",
927
+ "multilanguage": "Attiva multilingue",
928
+ "showUpload": "Mostra pulsante per caricare documenti",
929
+ "seoImageShowAvatar": "Mostra immagine di profilo come anteprima",
930
+ "maxTotalMessagePayload": "Dimensione massima caratteri per documento",
931
+ "maxTextareaCharacters": "Numero massimo caratteri nella textarea",
932
+ "buttonBgColor": "Sfondo bottoni",
933
+ "buttonTextColor": "Testo bottoni",
934
+ "seoTitle": "Titolo",
935
+ "seoDescription": "Descrizione",
936
+ "seoUrl": "URL canonico",
937
+ "lang": "Lingua dell'Agente"
938
+ },
939
+ "types": {
940
+ "NewContent": "Nuovo contenuto",
941
+ "ContentVariants": "Altri modi di chiedere",
942
+ "PromptChange": "Modifica delle istruzioni",
943
+ "PromptRevert": "Annullamento delle istruzioni",
944
+ "AttachmentPlacement": "Allegato",
945
+ "ContentAnswerChange": "Modifica della risposta",
946
+ "Snippet": "Snippet",
947
+ "LandingPage": "Pagina pubblica",
948
+ "Connector": "Configura MCP",
949
+ "ScheduledTask": "Attività programmata"
950
+ }
876
951
  }
877
952
  }