@lambforge/agent-chat 0.0.5 → 0.0.7

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.
package/README.md CHANGED
@@ -76,6 +76,15 @@ the `launcher` slot replaces the button's icon. Editors that read
76
76
  `@customElement` JSDoc (web-component-analyzer, lit-plugin) autocomplete
77
77
  all of them.
78
78
 
79
+ Files: when the agent's owner turns on **Embed -> Visitors may attach
80
+ files**, the chat shows a paperclip. Visitors pick images, PDFs or text
81
+ files (or paste a picture), see them under the input and can remove one
82
+ before sending. The files go straight to storage, then the message is sent.
83
+ Agents without the switch show no paperclip, and the server refuses their
84
+ files anyway. The limits are those of the API: images 5 MB, PDF 10 MB, text
85
+ 1 MB, 5 files and 15 MB a message. `el.attach(files)` adds files from your
86
+ own code. Parts: `attach`, `files`, `file`.
87
+
79
88
  Answers render a safe markdown subset (paragraphs, lists, code, bold,
80
89
  italics, http(s) links); an answer can never inject HTML.
81
90