@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 +9 -0
- package/dist/agent-chat.js +94 -35
- package/dist/agent-chat.js.map +4 -4
- package/dist/index.cjs +212 -24
- package/dist/index.cjs.map +4 -4
- package/dist/index.mjs +209 -21
- package/dist/index.mjs.map +4 -4
- package/package.json +3 -3
- package/types/index.d.ts +11 -0
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
|
|