@cimulate/copilot-widget 1.44.1 → 1.45.0

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 CHANGED
@@ -2,6 +2,14 @@
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.45.0 — 2026-09-29
6
+
7
+ - Add Cimulate-owned frontend observability for messaging mode. When the widget bundle is built with a Falcon o11y write key (`VITE_O11Y_API_KEY`, injected at build time — never merchant-supplied), it emits messaging lifecycle events (page view, connect/reconnect, disconnect, participant joined, conversation started/cleared/closed) and live connection/session state gauges to Salesforce o11y. A build with no key is a no-op. Storefronts embedding the widget cannot enable, disable, or redirect telemetry. The o11y SDK is an optional dependency, lazy-loaded into a separate chunk so the core bundle is unaffected. No shopper PII leaves the browser (host URL is origin-only), and telemetry failures never surface to the host page.
8
+
9
+ ## 1.44.2 — 2026-09-30
10
+
11
+ - Agentforce message groups now include a `chatbot` or `human-agent` class from the sender role, so a storefront can style a bot reply differently from a human agent reply.
12
+
5
13
  ## 1.44.1 — 2026-09-29
6
14
 
7
15
  - Messaging mode now snaps instantly to the latest message on open, navigation, new tab, and history restore in both `autoScroll` modes. Resolves an intermittent animated crawl on widget open. Additionaly, scrolling animation will honor `prefers-reduced-motion` OS setting.
@@ -93,7 +101,6 @@
93
101
 
94
102
  - Fixed SAP-backed SCAPI product detail cards showing every variant as unavailable — with a disabled "Add to cart" — even when the storefront had inventory. These catalogs emit variant-matrix (`vmat`) keys as technical SAP ids (e.g. `Z_COL_INT`, `Z_TAGLIE_I027`) that don't match the human-readable variation-attribute ids (e.g. `Color`, `Size`), so the availability join silently failed. The card now detects this key mismatch and remaps the variant-matrix keys onto the variation-attribute ids by matching their value sets. It is a no-op for SFCC-native catalogs (e.g. NTO, Hibbett) and fails closed — leaving keys untouched — when a mapping is ambiguous or incomplete.
95
103
  - The color axis is now matched case-insensitively, so SAP catalogs that send the color attribute id as `Color`/`COLOR` (rather than the SFCC-native `color`) still render color swatches and color-specific gallery images instead of falling back to a plain chip.
96
-
97
104
  ## 1.34.0 — 2026-09-08
98
105
 
99
106
  - Agentforce messaging mode now stores JWT tokens and conversation IDs in localStorage (was sessionStorage), enabling cross-tab session sharing. Multiple tabs or windows on the same storefront now share the same conversation — navigate from main page to PDP and back, the conversation continues seamlessly. Existing sessions migrate automatically on first page load.