@cimulate/copilot-widget 1.30.7 → 1.30.8
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/CHANGELOG.md +5 -0
- package/dist/messaging.es.js +4447 -4432
- package/dist/messaging.umd.js +35 -35
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
`@cimulate/copilot-widget` follows [Semantic Versioning](https://semver.org/). Each entry is a released `package.json` version (deployed on merge to `master`), newest first.
|
|
4
4
|
|
|
5
|
+
## 1.30.8 — 2026-08-27
|
|
6
|
+
|
|
7
|
+
- In Agentforce messaging mode, an agent reply that double-encodes itself — a valid `{ response: [...] }` message whose markdown block's `content` is another `{ response: [...] }` JSON string — no longer renders as raw JSON in the chat. The nested payload is now unwrapped and its inner blocks (prose, suggestions, products) render normally, so the message reads exactly as the agent intended instead of dumping the serialized envelope.
|
|
8
|
+
- As added defense against other unexpected shapes, a streaming token that parses to a JSON object or array that isn't a recognized response block now salvages a `text`/`message` field into a plain-language message when present (the same salvage the finalized message already used), and is otherwise dropped rather than shown as raw JSON — matching how an unknown block type already renders nothing.
|
|
9
|
+
|
|
5
10
|
## 1.30.7 — 2026-08-25
|
|
6
11
|
|
|
7
12
|
- Removed the "Add to cart" footer row from the Agentforce messaging product comparison table. The product-name link is unaffected.
|