@webless/agent 0.13.2 → 0.14.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.
- package/README.md +4 -3
- package/dist/{chunk-P6ZM4BIU.js → chunk-ZHEXHTHJ.js} +372 -231
- package/dist/chunk-ZHEXHTHJ.js.map +1 -0
- package/dist/embed.cjs +424 -283
- package/dist/embed.cjs.map +1 -1
- package/dist/embed.css +147 -203
- package/dist/embed.css.map +1 -1
- package/dist/embed.d.cts +2 -2
- package/dist/embed.d.ts +2 -2
- package/dist/embed.js +1 -1
- package/dist/embed.js.map +1 -1
- package/dist/{panel-controller-VmCsa5Si.d.cts → panel-controller-CDWodIJl.d.cts} +4 -0
- package/dist/{panel-controller-VmCsa5Si.d.ts → panel-controller-CDWodIJl.d.ts} +4 -0
- package/dist/react.cjs +426 -285
- package/dist/react.cjs.map +1 -1
- package/dist/react.css +147 -203
- package/dist/react.css.map +1 -1
- package/dist/react.d.cts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-P6ZM4BIU.js.map +0 -1
package/README.md
CHANGED
|
@@ -31,9 +31,10 @@ Paste it into your site's HTML, before the closing `</body>` tag. That's the ful
|
|
|
31
31
|
- A collapsible Agent panel on your site.
|
|
32
32
|
- Edge tab launcher, positioned where you configure it in Agent Studio.
|
|
33
33
|
- Session continuity for returning visitors.
|
|
34
|
-
- Search & Discovery answers offer **Explore
|
|
35
|
-
- Set `branding.showLearnMore` and `branding.showSources` independently to `false` to hide these
|
|
36
|
-
- **Learn more**
|
|
34
|
+
- Search & Discovery answers offer **Explore more**, expanding an inline panel beneath the answer with a labeled **Based on N pages** reference list and a **Learn more** question section. References stay attached to their answer in browser session history, open in new tabs, and stay readable even without a usable web URL.
|
|
35
|
+
- Set `branding.showLearnMore` and `branding.showSources` independently to `false` to hide these sections in an embed. Both default to enabled. React `AgentRail` accepts the same props.
|
|
36
|
+
- **Learn more** lists up to three distinct suggested questions for the latest completed answer inside the Explore more panel. Selecting a question starts the next chat turn. Suggestions are hidden while a turn is running or a human owns the conversation, and are restored with the answer after reload.
|
|
37
|
+
- Answer actions — call-to-action links, **Talk to a person** when handoff is available, and a skipped contact-form reminder — sit as pill badges above the composer instead of competing buttons beneath the answer.
|
|
37
38
|
- Connected actions show task-focused progress and confirmed results. Receipts stay with the answer in the conversation.
|
|
38
39
|
- Long answers keep their beginning visible; source links are collapsed until opened.
|
|
39
40
|
- When a question needs location, the agent can pause and show a precise-location consent toggle above the composer. Location is shared only after browser permission; visitors can continue without it.
|