@visma-swno/gaia-chat-ui 5.0.1 → 5.2.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 +182 -93
- package/README.md +39 -40
- package/dist/app/app.d.ts +84 -4
- package/dist/components/canvas/iframe-preview/iframe-preview.d.ts +55 -4
- package/dist/components/composer/message-composer.d.ts +53 -0
- package/dist/components/conversation/context-changed-divider/context-changed-divider.d.ts +40 -0
- package/dist/components/conversation/context-divider.d.ts +55 -0
- package/dist/components/conversation/conversation.d.ts +5 -0
- package/dist/components/conversation/welcome-message/welcome-message.d.ts +9 -1
- package/dist/components/feedback/feedback-confirmation.d.ts +3 -0
- package/dist/components/feedback/feedback.d.ts +1 -0
- package/dist/components/history/history-item.d.ts +40 -0
- package/dist/components/history/history-view.d.ts +41 -0
- package/dist/components/layout/app-header/app-header.d.ts +5 -5
- package/dist/components/message/assistant-message.d.ts +4 -7
- package/dist/components/message/message-actions.d.ts +5 -0
- package/dist/components/message/message-attachments.d.ts +36 -0
- package/dist/components/message/message-attachments.styles.d.ts +2 -0
- package/dist/components/message/message.d.ts +1 -2
- package/dist/components/message/renderers/reasoning-block.d.ts +36 -0
- package/dist/components/message/renderers/reasoning-block.styles.d.ts +2 -0
- package/dist/components/message/renderers/tool-status-block.d.ts +6 -1
- package/dist/components/primitives/form-field/form-field.d.ts +8 -0
- package/dist/components/primitives/tooltip/tooltip.d.ts +3 -0
- package/dist/components/settings/settings-view.d.ts +30 -0
- package/dist/components/shared/controllers/iframe-preview-controller.d.ts +11 -0
- package/dist/core/adapters/citation-utils.d.ts +5 -3
- package/dist/core/adapters/index.d.ts +1 -1
- package/dist/core/adapters/memoized-mapper.d.ts +8 -9
- package/dist/core/adapters/message-mapper.d.ts +4 -11
- package/dist/core/adapters/message-normalizer.d.ts +22 -0
- package/dist/core/adapters/message-types.d.ts +38 -10
- package/dist/core/adapters/reasoning-utils.d.ts +29 -0
- package/dist/core/adapters/tool-utils.d.ts +37 -0
- package/dist/core/canvas/canvas-store.d.ts +6 -0
- package/dist/core/constants.d.ts +4 -0
- package/dist/core/errors.d.ts +3 -2
- package/dist/core/messages.d.ts +31 -1
- package/dist/core/store/agent-subscriber.d.ts +11 -1
- package/dist/core/store/auth-coordinator.d.ts +22 -4
- package/dist/core/store/chat-store.d.ts +132 -12
- package/dist/core/store/config-manager.d.ts +3 -18
- package/dist/core/store/consent-storage.d.ts +10 -0
- package/dist/core/store/history-coordinator.d.ts +77 -0
- package/dist/core/store/index.d.ts +8 -4
- package/dist/core/store/plugin-selection-manager.d.ts +5 -0
- package/dist/core/store/run-coordinator.d.ts +45 -7
- package/dist/core/store/selection-manager.d.ts +4 -0
- package/dist/core/store/selectors/component-selectors.d.ts +57 -5
- package/dist/core/store/selectors/index.d.ts +2 -2
- package/dist/core/store/selectors/message-selectors.d.ts +4 -33
- package/dist/core/store/session-manager.d.ts +53 -8
- package/dist/core/store/support-manager.d.ts +3 -0
- package/dist/core/store/tool-selection-manager.d.ts +5 -0
- package/dist/core/types.d.ts +101 -10
- package/dist/custom-elements.json +1 -1
- package/dist/{da--slbCKBx.js → da-DDxL51tD.js} +61 -2
- package/dist/{index-C2Q856CM.js → esm-lz7YfYzg.js} +3455 -4997
- package/dist/{fi-Cc9g_Z1U.js → fi-twx072Zu.js} +64 -5
- package/dist/generated/locales/da.d.ts +59 -0
- package/dist/generated/locales/fi.d.ts +59 -0
- package/dist/generated/locales/nb.d.ts +59 -0
- package/dist/generated/locales/nl.d.ts +59 -0
- package/dist/generated/locales/sv.d.ts +59 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.es.js +16632 -13135
- package/dist/learning-universe-B_ZGsjBI.js +5 -0
- package/dist/markdown-BsU07hR0.js +2696 -0
- package/dist/{nb-BvGJ1d1A.js → nb-CeFzi8EU.js} +61 -2
- package/dist/{nl-BMUWAHah.js → nl-D1Z5TDkR.js} +61 -2
- package/dist/rolldown-runtime--_vEcKDh.js +29 -0
- package/dist/services/agent-service.d.ts +12 -9
- package/dist/services/api-client.d.ts +6 -0
- package/dist/services/api-schemas.d.ts +180 -40
- package/dist/services/conversations-client.d.ts +23 -0
- package/dist/services/index.d.ts +1 -1
- package/dist/services/message-converter.d.ts +5 -0
- package/dist/signalr-K7e2DzwD.js +1535 -0
- package/dist/{sv-DpcFtI4M.js → sv-BnYyj9E_.js} +60 -1
- package/dist/types/events.d.ts +29 -3
- package/dist/types/host-context.d.ts +22 -0
- package/dist/types/index.d.ts +5 -3
- package/dist/types/message-attachment.d.ts +7 -0
- package/dist/utils/i18n-check-helpers.d.ts +15 -0
- package/dist/utils/polling-task.d.ts +11 -1
- package/dist/vscode.html-custom-data.json +100 -7
- package/dist/{vsn-B4oW66pe.js → vsn-CBq00924.js} +1 -1
- package/package.json +23 -17
- package/dist/learning-universe-DsDXQ8wT.js +0 -5
- package/dist/markdown-BwfOAOOm.js +0 -1676
- package/dist/signalr-C1wWrBvq.js +0 -1783
package/CHANGELOG.md
CHANGED
|
@@ -1,166 +1,255 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [5.0
|
|
3
|
+
## [5.2.0](https://github.com/visma-swno/vsn-assistant/compare/web-component@v5.1.0...web-component@v5.2.0) (2026-06-18)
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
###
|
|
6
|
+
### Features
|
|
7
7
|
|
|
8
|
-
* **
|
|
9
|
-
* **
|
|
10
|
-
* **web-component:**
|
|
11
|
-
* **web-component:**
|
|
12
|
-
* **web-component:** support both sync and async tokenProvider callbacks ([#2161](https://github.com/visma-swno/vsn-assistant/issues/2161)) ([a924d61](https://github.com/visma-swno/vsn-assistant/commit/a924d61f4c1f39a843e0afb9a8c6b8341157acc6))
|
|
13
|
-
* **web-component:** use index-based filtering in validateFrontendTools ([#2117](https://github.com/visma-swno/vsn-assistant/issues/2117)) ([85d5885](https://github.com/visma-swno/vsn-assistant/commit/85d58852e144e35bff8bb92dfb19f5e2de5d03cf))
|
|
8
|
+
* **api:** allow profiles to hide welcome message sections ([#3054](https://github.com/visma-swno/vsn-assistant/issues/3054)) ([5a0ccc3](https://github.com/visma-swno/vsn-assistant/commit/5a0ccc3418f74d6f1dc08cb9ab97edc70ef7ccf5))
|
|
9
|
+
* **cross-cutting:** standalone Gaia conversational context flow ([#3025](https://github.com/visma-swno/vsn-assistant/issues/3025)) ([971185a](https://github.com/visma-swno/vsn-assistant/commit/971185a20adb1c1d269bcf51c497632bca85bd4d))
|
|
10
|
+
* **web-component:** attach files via drag-and-drop and paste ([#3076](https://github.com/visma-swno/vsn-assistant/issues/3076)) ([516465f](https://github.com/visma-swno/vsn-assistant/commit/516465fd1d926ee53735f9019e05e0db766b4839)), closes [#3067](https://github.com/visma-swno/vsn-assistant/issues/3067)
|
|
11
|
+
* **web-component:** support multiple attachments with redesigned attachment cards ([#3085](https://github.com/visma-swno/vsn-assistant/issues/3085)) ([f151532](https://github.com/visma-swno/vsn-assistant/commit/f1515321e63e3c17729e2c842c6dd666d4f463e6)), closes [#3069](https://github.com/visma-swno/vsn-assistant/issues/3069)
|
|
14
12
|
|
|
15
|
-
## [5.0.0](https://github.com/visma-swno/vsn-assistant/compare/web-component@v4.1.0...web-component@v5.0.0) (2026-03-23)
|
|
16
13
|
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **web-component:** add more missing translations and regenerate locale bundles ([#3060](https://github.com/visma-swno/vsn-assistant/issues/3060)) ([cdc5d4d](https://github.com/visma-swno/vsn-assistant/commit/cdc5d4df24811678a712a14cd54d57f9d9794afc))
|
|
17
|
+
* **web-component:** align attachment icon across host apps ([#3074](https://github.com/visma-swno/vsn-assistant/issues/3074)) ([7eecd02](https://github.com/visma-swno/vsn-assistant/commit/7eecd0216ce7b8f4c15cea30d751b8a087a1141b)), closes [#3068](https://github.com/visma-swno/vsn-assistant/issues/3068)
|
|
18
|
+
* **web-component:** defer health heartbeat first poll until base-url is applied ([#3088](https://github.com/visma-swno/vsn-assistant/issues/3088)) ([7c7b635](https://github.com/visma-swno/vsn-assistant/commit/7c7b635759c9e4874c4674049342778f96f42cd5)), closes [#3086](https://github.com/visma-swno/vsn-assistant/issues/3086)
|
|
19
|
+
* **web-component:** make bootstrap resilient to config version skew ([#3075](https://github.com/visma-swno/vsn-assistant/issues/3075)) ([#3078](https://github.com/visma-swno/vsn-assistant/issues/3078)) ([19fef3e](https://github.com/visma-swno/vsn-assistant/commit/19fef3ee9244a433e398a648809c70753f7e4adc))
|
|
20
|
+
* **web-component:** sanitize attachment URLs and harden canvas CSP placement ([#3032](https://github.com/visma-swno/vsn-assistant/issues/3032)) ([c127f20](https://github.com/visma-swno/vsn-assistant/commit/c127f202ff8e8ac2736a0e29da6e7e80ce40b9da))
|
|
17
21
|
|
|
18
|
-
|
|
22
|
+
## [5.1.0](https://github.com/visma-swno/vsn-assistant/compare/web-component@v5.0.1...web-component@v5.1.0) (2026-06-09)
|
|
19
23
|
|
|
20
|
-
* This release contains breaking changes. Please see our documentation site for migration guides from earlier versions, https://docs.assistant.vsn.dev/latest/.
|
|
21
24
|
|
|
22
25
|
### Features
|
|
23
26
|
|
|
24
|
-
* add
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* **
|
|
30
|
-
*
|
|
31
|
-
* **
|
|
32
|
-
* **
|
|
33
|
-
*
|
|
34
|
-
* **
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* **web-component:** add ECharts frontend tool for inline chart rendering ([#1848](https://github.com/visma-swno/vsn-assistant/issues/1848)) ([a5904ab](https://github.com/visma-swno/vsn-assistant/commit/a5904ab53f8cc471c9a5902a97deb33947588710))
|
|
39
|
-
* **web-component:** add post-session actions UI after support ends ([#2102](https://github.com/visma-swno/vsn-assistant/issues/2102)) ([0db795f](https://github.com/visma-swno/vsn-assistant/commit/0db795f00973ada6918fa272eccb604354ec8875))
|
|
40
|
-
* **web-component:** comply with WCAG 2.1 AA requirements ([#1850](https://github.com/visma-swno/vsn-assistant/issues/1850)) ([eb37b89](https://github.com/visma-swno/vsn-assistant/commit/eb37b89cb092b5cf97c0db41861c954efb48bedc))
|
|
27
|
+
* **analytics:** add user message submission event ([#2509](https://github.com/visma-swno/vsn-assistant/issues/2509)) ([2a03d0b](https://github.com/visma-swno/vsn-assistant/commit/2a03d0bff0e2675c6b81a1d1d87d379398592906))
|
|
28
|
+
* **api, web-component:** support cross-turn citation references ([#2208](https://github.com/visma-swno/vsn-assistant/issues/2208)) ([6042ca2](https://github.com/visma-swno/vsn-assistant/commit/6042ca2c0102498325f13e3f949971b6cc51054e))
|
|
29
|
+
* **api,web-component:** simplify ToolSafety attribute and remove notExpandable concept ([#2352](https://github.com/visma-swno/vsn-assistant/issues/2352)) ([5b333e5](https://github.com/visma-swno/vsn-assistant/commit/5b333e513f580bfa764d5f24fc09271d53a0cb88))
|
|
30
|
+
* **api,web-component:** stream and display LLM reasoning messages ([#2317](https://github.com/visma-swno/vsn-assistant/issues/2317)) ([0b389a5](https://github.com/visma-swno/vsn-assistant/commit/0b389a5dc1a92510e6adea4156eac7cc5856246a))
|
|
31
|
+
* **api:** env-gated SyntheticTest auth scheme + authenticated E2E coverage ([#2885](https://github.com/visma-swno/vsn-assistant/issues/2885)) ([dc01cbf](https://github.com/visma-swno/vsn-assistant/commit/dc01cbf711e0a878a06609685350b74f14b0d5b5))
|
|
32
|
+
* **api:** surface token-limit finish reasons as RunErrorEvent with max_output_tokens code ([#2695](https://github.com/visma-swno/vsn-assistant/issues/2695)) ([99d6460](https://github.com/visma-swno/vsn-assistant/commit/99d6460641d9bd7061b637c10c2ebad7b193e3dc)), closes [#2694](https://github.com/visma-swno/vsn-assistant/issues/2694)
|
|
33
|
+
* **chat:** add chat attachments ([#2319](https://github.com/visma-swno/vsn-assistant/issues/2319)) ([efb01e9](https://github.com/visma-swno/vsn-assistant/commit/efb01e93e2ab8b8bc07d7007e0aec9ae94ede19c))
|
|
34
|
+
* **gaia-app,api:** label and filter conversations by source product ([#2722](https://github.com/visma-swno/vsn-assistant/issues/2722)) ([377135f](https://github.com/visma-swno/vsn-assistant/commit/377135f696fafe2b323e219d2eaafe87253277d1))
|
|
35
|
+
* **plugins:** add per-user plugin and tool selection ([#2730](https://github.com/visma-swno/vsn-assistant/issues/2730)) ([1ed3991](https://github.com/visma-swno/vsn-assistant/commit/1ed39911ed8ef35ac2e7e0e1a4ef9eda0c301c7d)), closes [#2437](https://github.com/visma-swno/vsn-assistant/issues/2437)
|
|
36
|
+
* share all public conversations and some non public ([#2115](https://github.com/visma-swno/vsn-assistant/issues/2115)) ([8b9edae](https://github.com/visma-swno/vsn-assistant/commit/8b9edae7c1a69edaa08d2ac7b841220255da169e))
|
|
37
|
+
* **web-component,api:** chat history with host-context snapshot ([#2677](https://github.com/visma-swno/vsn-assistant/issues/2677)) ([655b7af](https://github.com/visma-swno/vsn-assistant/commit/655b7af124bbb7d45216749e96cf8cf7820f9deb))
|
|
38
|
+
* **web-component:** add inspect SPA for viewing shared conversations ([#2391](https://github.com/visma-swno/vsn-assistant/issues/2391)) ([7dd3144](https://github.com/visma-swno/vsn-assistant/commit/7dd3144b0252f1586b215100246c87f2cf9a991c))
|
|
39
|
+
* **web-component:** add voice dictation to message composer ([#2327](https://github.com/visma-swno/vsn-assistant/issues/2327)) ([8fa749f](https://github.com/visma-swno/vsn-assistant/commit/8fa749ff02b4fb46a02df0cc83cc9b0e5303f653)), closes [#1932](https://github.com/visma-swno/vsn-assistant/issues/1932)
|
|
40
|
+
* **web-component:** allow hosts to override the persisted conversation id ([#2679](https://github.com/visma-swno/vsn-assistant/issues/2679)) ([d188b1c](https://github.com/visma-swno/vsn-assistant/commit/d188b1c0eb05afa0b446ea123316b201a2b16a42))
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
### Bug Fixes
|
|
44
44
|
|
|
45
|
-
*
|
|
46
|
-
* **
|
|
47
|
-
* **
|
|
48
|
-
* **
|
|
49
|
-
* **
|
|
50
|
-
* **
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* **
|
|
54
|
-
* **
|
|
55
|
-
* **
|
|
56
|
-
* **
|
|
57
|
-
* **web
|
|
45
|
+
* **aikido:** fix security issue in uuid via minor version upgrade from 11.1.0 to 11.1.1 in web-component ([#2857](https://github.com/visma-swno/vsn-assistant/issues/2857)) ([1898c69](https://github.com/visma-swno/vsn-assistant/commit/1898c6928ea47574d760d7f83ba816b5a770eff1))
|
|
46
|
+
* **api:** prevent fabricated citation markers ([#2648](https://github.com/visma-swno/vsn-assistant/issues/2648)) ([f4eb5a9](https://github.com/visma-swno/vsn-assistant/commit/f4eb5a95103fe2e5a142d6654679c2916535665c))
|
|
47
|
+
* **aspire:** pin web-component dev server to port 3000 ([#2850](https://github.com/visma-swno/vsn-assistant/issues/2850)) ([d5b8c70](https://github.com/visma-swno/vsn-assistant/commit/d5b8c7061a5743a4811efb04925ed3da5f15f9f0))
|
|
48
|
+
* **canvas-renderer:** harden iframe sandbox with CSP headers and render timeouts ([#2279](https://github.com/visma-swno/vsn-assistant/issues/2279)) ([286ebb9](https://github.com/visma-swno/vsn-assistant/commit/286ebb9047c9a0d0e52e4f5d7588980040e97e52))
|
|
49
|
+
* **cross-cutting:** address multiple plugin selection and profile creation issues ([#2957](https://github.com/visma-swno/vsn-assistant/issues/2957)) ([783f6b8](https://github.com/visma-swno/vsn-assistant/commit/783f6b8814ca272a3b716370ee9697d38b7d10fc))
|
|
50
|
+
* **cross-cutting:** harden canvas before production rollout ([#2520](https://github.com/visma-swno/vsn-assistant/issues/2520)) ([80de519](https://github.com/visma-swno/vsn-assistant/commit/80de5191e21d4795dd6be5156f8159b85563bc15))
|
|
51
|
+
* **deps:** bump @xmldom/xmldom from 0.8.11 to 0.8.12 in /web-component ([#2295](https://github.com/visma-swno/vsn-assistant/issues/2295)) ([1e40d09](https://github.com/visma-swno/vsn-assistant/commit/1e40d0950f8edc0007af9f6013e046722e771749))
|
|
52
|
+
* **deps:** bump @xmldom/xmldom from 0.8.12 to 0.8.13 in /web-component ([#2623](https://github.com/visma-swno/vsn-assistant/issues/2623)) ([7605b50](https://github.com/visma-swno/vsn-assistant/commit/7605b50277ddafc1ddfc731e11f28cd7392f6661))
|
|
53
|
+
* **deps:** bump dompurify from 3.3.3 to 3.4.0 in /web-component ([#2483](https://github.com/visma-swno/vsn-assistant/issues/2483)) ([da4c954](https://github.com/visma-swno/vsn-assistant/commit/da4c9548def5875a69b64ba3f700df0cd744f050))
|
|
54
|
+
* **deps:** Bump fast-uri from 3.1.0 to 3.1.2 in /web-component ([#2830](https://github.com/visma-swno/vsn-assistant/issues/2830)) ([730ff52](https://github.com/visma-swno/vsn-assistant/commit/730ff528efa61d4a50ee6e97e96d249477564dd2))
|
|
55
|
+
* **deps:** bump lodash-es from 4.17.23 to 4.18.1 in /web-component ([#2323](https://github.com/visma-swno/vsn-assistant/issues/2323)) ([ddf63d0](https://github.com/visma-swno/vsn-assistant/commit/ddf63d0ca6ed044dee454b30e07e0ca295fe9089))
|
|
56
|
+
* **deps:** bump qs from 6.15.0 to 6.15.2 in /web-component ([#2948](https://github.com/visma-swno/vsn-assistant/issues/2948)) ([bea74ed](https://github.com/visma-swno/vsn-assistant/commit/bea74ed5066955cfb897900f71729953b9e6c181))
|
|
57
|
+
* **web component:** preserve composer draft settings ([#2980](https://github.com/visma-swno/vsn-assistant/issues/2980)) ([f42a1d4](https://github.com/visma-swno/vsn-assistant/commit/f42a1d4d6ce2e6e7ded23577f0ad7d612cc0b2a9))
|
|
58
|
+
* **web-component:** add missing translations ([#3023](https://github.com/visma-swno/vsn-assistant/issues/3023)) ([a1f8e40](https://github.com/visma-swno/vsn-assistant/commit/a1f8e407975743cf0c4d50cc46d11cbcf8a0cba0)), closes [#2820](https://github.com/visma-swno/vsn-assistant/issues/2820)
|
|
59
|
+
* **web-component:** add stopping for active assistant runs ([#2468](https://github.com/visma-swno/vsn-assistant/issues/2468)) ([b8702ee](https://github.com/visma-swno/vsn-assistant/commit/b8702ee112b0445a37704df4c249d01a48a3dcc6)), closes [#2427](https://github.com/visma-swno/vsn-assistant/issues/2427)
|
|
60
|
+
* **web-component:** announce composer validation error ([#2727](https://github.com/visma-swno/vsn-assistant/issues/2727)) ([7a8f3b0](https://github.com/visma-swno/vsn-assistant/commit/7a8f3b0b2b0fc1b138f4f314910b30ebb88b111b)), closes [#2668](https://github.com/visma-swno/vsn-assistant/issues/2668)
|
|
61
|
+
* **web-component:** avoid conversation rerenders from messageRunIds selector churn ([#2908](https://github.com/visma-swno/vsn-assistant/issues/2908)) ([d8ba4d9](https://github.com/visma-swno/vsn-assistant/commit/d8ba4d90bc025d1d895234d3ba898a0e3bc41dd4)), closes [#2840](https://github.com/visma-swno/vsn-assistant/issues/2840)
|
|
62
|
+
* **web-component:** avoid spurious abort error toast when superseding active run ([#2962](https://github.com/visma-swno/vsn-assistant/issues/2962)) ([4c11697](https://github.com/visma-swno/vsn-assistant/commit/4c116976dc7ffbd73cbf8c235816594ca07d699b)), closes [#2839](https://github.com/visma-swno/vsn-assistant/issues/2839)
|
|
63
|
+
* **web-component:** block non-http(s) protocols on citation URLs ([#2781](https://github.com/visma-swno/vsn-assistant/issues/2781)) ([812bfb6](https://github.com/visma-swno/vsn-assistant/commit/812bfb6b08bb3b4476ac8d54da31a9e20f3fc2f7))
|
|
64
|
+
* **web-component:** bump zod to 4.4.3 for CSP jitless escape hatch ([#2884](https://github.com/visma-swno/vsn-assistant/issues/2884)) ([18f51bc](https://github.com/visma-swno/vsn-assistant/commit/18f51bc36911398f1ddbaa25b65f5a6b535d7a33)), closes [#2881](https://github.com/visma-swno/vsn-assistant/issues/2881)
|
|
65
|
+
* **web-component:** cancel app-header popup rAF on disconnect ([#2780](https://github.com/visma-swno/vsn-assistant/issues/2780)) ([e413d89](https://github.com/visma-swno/vsn-assistant/commit/e413d897d5f5471a8d106065ab50844c7b1540ab))
|
|
66
|
+
* **web-component:** clear detached component timers ([#2543](https://github.com/visma-swno/vsn-assistant/issues/2543)) ([866f2fa](https://github.com/visma-swno/vsn-assistant/commit/866f2faa044897ba33fb2ce6b8c8b103b6b09f0c)), closes [#2534](https://github.com/visma-swno/vsn-assistant/issues/2534)
|
|
67
|
+
* **web-component:** clear stale reasoning block duration timers ([#2542](https://github.com/visma-swno/vsn-assistant/issues/2542)) ([c37bbcd](https://github.com/visma-swno/vsn-assistant/commit/c37bbcda1f867934f70ee7e898e1906dcd8bfa31)), closes [#2532](https://github.com/visma-swno/vsn-assistant/issues/2532)
|
|
68
|
+
* **web-component:** cut composer re-render churn and mark feedback rating required ([#2774](https://github.com/visma-swno/vsn-assistant/issues/2774)) ([2758511](https://github.com/visma-swno/vsn-assistant/commit/2758511f1347449548000982c59cea70103e9c31)), closes [#2758](https://github.com/visma-swno/vsn-assistant/issues/2758) [#2670](https://github.com/visma-swno/vsn-assistant/issues/2670)
|
|
69
|
+
* **web-component:** de-flake authenticated [@e2e-auth](https://github.com/e2e-auth) tests ([#2916](https://github.com/visma-swno/vsn-assistant/issues/2916)) ([39fdaa9](https://github.com/visma-swno/vsn-assistant/commit/39fdaa97faf7d5ecbc4173ab9f3505cc6dd0b42e))
|
|
70
|
+
* **web-component:** dismiss OneTrust cookie banner in visma-login helper ([#2709](https://github.com/visma-swno/vsn-assistant/issues/2709)) ([d48ef5f](https://github.com/visma-swno/vsn-assistant/commit/d48ef5f91f830fda2a805146ba50cb2756e16529))
|
|
71
|
+
* **web-component:** enable Playwright retries in CI to absorb real-path flake ([#2912](https://github.com/visma-swno/vsn-assistant/issues/2912)) ([04715b0](https://github.com/visma-swno/vsn-assistant/commit/04715b00b13caf3ab3141a92cfc5acba783b52ce))
|
|
72
|
+
* **web-component:** ensure error notification spans full container width ([#2275](https://github.com/visma-swno/vsn-assistant/issues/2275)) ([654cd7c](https://github.com/visma-swno/vsn-assistant/commit/654cd7cffbddbd1d106faab696364251573c167e))
|
|
73
|
+
* **web-component:** escape href attribute in marked link renderer ([#2195](https://github.com/visma-swno/vsn-assistant/issues/2195)) ([09cddd6](https://github.com/visma-swno/vsn-assistant/commit/09cddd6573a00e12da0439e63d22711b3e473da4)), closes [#2188](https://github.com/visma-swno/vsn-assistant/issues/2188)
|
|
74
|
+
* **web-component:** flush pending stream notifications on run failure ([#2598](https://github.com/visma-swno/vsn-assistant/issues/2598)) ([e33ab5a](https://github.com/visma-swno/vsn-assistant/commit/e33ab5a6624eead50886051321daec2f7eba2cd2))
|
|
75
|
+
* **web-component:** guard ChatStore creation to prevent controller accumulation ([#2329](https://github.com/visma-swno/vsn-assistant/issues/2329)) ([9b2d6a8](https://github.com/visma-swno/vsn-assistant/commit/9b2d6a8d74ca53483a4f93b1399e31c0d3735b37)), closes [#2257](https://github.com/visma-swno/vsn-assistant/issues/2257)
|
|
76
|
+
* **web-component:** guard ChatStore creation to prevent controller leak on reconnect ([#2322](https://github.com/visma-swno/vsn-assistant/issues/2322)) ([af05a1d](https://github.com/visma-swno/vsn-assistant/commit/af05a1d70c811d1d62fa2d5e7af65bffc834aec2)), closes [#2257](https://github.com/visma-swno/vsn-assistant/issues/2257)
|
|
77
|
+
* **web-component:** guard composer textarea methods before render ([#2729](https://github.com/visma-swno/vsn-assistant/issues/2729)) ([a84e807](https://github.com/visma-swno/vsn-assistant/commit/a84e8071fd4899a71f856ce0445ce0774238968c)), closes [#2671](https://github.com/visma-swno/vsn-assistant/issues/2671)
|
|
78
|
+
* **web-component:** guard overlapping agent run cleanup ([#2428](https://github.com/visma-swno/vsn-assistant/issues/2428)) ([df3d04e](https://github.com/visma-swno/vsn-assistant/commit/df3d04e370ae2c2f831323d0696dcfaf623ab761)), closes [#2410](https://github.com/visma-swno/vsn-assistant/issues/2410)
|
|
79
|
+
* **web-component:** harden canvas iframe security and fix renderer stylesheet ([#2785](https://github.com/visma-swno/vsn-assistant/issues/2785)) ([41f8b93](https://github.com/visma-swno/vsn-assistant/commit/41f8b9399bab089ca7bc9f7f2eb4f3d94ae3d954))
|
|
80
|
+
* **web-component:** isolate iframe-preview DOMPurify from global singleton ([#2869](https://github.com/visma-swno/vsn-assistant/issues/2869)) ([5a746db](https://github.com/visma-swno/vsn-assistant/commit/5a746dbbf44b51d75829be78131664c73bbded62))
|
|
81
|
+
* **web-component:** keep canvas tool calls expanded and adapt e2e-auth calculator assertion ([#2951](https://github.com/visma-swno/vsn-assistant/issues/2951)) ([4c1facf](https://github.com/visma-swno/vsn-assistant/commit/4c1facf16cf4727d7d4075380eb74a0fa8052747))
|
|
82
|
+
* **web-component:** namespace conversation id storage by profile ([#2807](https://github.com/visma-swno/vsn-assistant/issues/2807)) ([45b209b](https://github.com/visma-swno/vsn-assistant/commit/45b209b0426ea7937057f3e9986afe712ab6bf87))
|
|
83
|
+
* **web-component:** prune messageRunIds on run finalize to prevent memory leak ([#2193](https://github.com/visma-swno/vsn-assistant/issues/2193)) ([277cdbe](https://github.com/visma-swno/vsn-assistant/commit/277cdbec077409a2cb231fbedfdfcd2006464b7f)), closes [#2190](https://github.com/visma-swno/vsn-assistant/issues/2190)
|
|
84
|
+
* **web-component:** prune toolCallSummaries on run finalize and failure ([#2268](https://github.com/visma-swno/vsn-assistant/issues/2268)) ([9836b7b](https://github.com/visma-swno/vsn-assistant/commit/9836b7bf70877239ef0c1905f608d076c1c264c4))
|
|
85
|
+
* **web-component:** remove decorative model-selection surface ([#2711](https://github.com/visma-swno/vsn-assistant/issues/2711)) ([0ab5d4b](https://github.com/visma-swno/vsn-assistant/commit/0ab5d4bbda32e55f003a97bfba99366da3bde9d8))
|
|
86
|
+
* **web-component:** remove SupportManager event listeners on dispose ([#2296](https://github.com/visma-swno/vsn-assistant/issues/2296)) ([11fcb5d](https://github.com/visma-swno/vsn-assistant/commit/11fcb5d5c3e1ff876adf913f5369e91dd699b657)), closes [#2256](https://github.com/visma-swno/vsn-assistant/issues/2256)
|
|
87
|
+
* **web-component:** remove tooltip trigger listeners on disconnect ([#2423](https://github.com/visma-swno/vsn-assistant/issues/2423)) ([eb406df](https://github.com/visma-swno/vsn-assistant/commit/eb406df59e5bd3ef1269f978949b42e47d30fe53)), closes [#2409](https://github.com/visma-swno/vsn-assistant/issues/2409)
|
|
88
|
+
* **web-component:** render base64 data attachments on chat rehydration ([#2634](https://github.com/visma-swno/vsn-assistant/issues/2634)) ([9bfa165](https://github.com/visma-swno/vsn-assistant/commit/9bfa16520fa8295acfc511a6367048ed21024941))
|
|
89
|
+
* **web-component:** repair three canvas state-sync bugs ([#2627](https://github.com/visma-swno/vsn-assistant/issues/2627)) ([97b12c3](https://github.com/visma-swno/vsn-assistant/commit/97b12c33f4e030fefb4a32b6a10291b9f2d9c41e))
|
|
90
|
+
* **web-component:** reset chat state on profile switch with same identity ([#2475](https://github.com/visma-swno/vsn-assistant/issues/2475)) ([6603d3d](https://github.com/visma-swno/vsn-assistant/commit/6603d3d0f824f828c6c7216f44b540444885baa9))
|
|
91
|
+
* **web-component:** resolve all 71 lit-analyzer strict mode errors ([#2204](https://github.com/visma-swno/vsn-assistant/issues/2204)) ([731ba10](https://github.com/visma-swno/vsn-assistant/commit/731ba10397fb392eefabe2cb206645a69273b20d))
|
|
92
|
+
* **web-component:** retry Connect auth navigation in e2e ([#3002](https://github.com/visma-swno/vsn-assistant/issues/3002)) ([56b374e](https://github.com/visma-swno/vsn-assistant/commit/56b374ef94182e41e90d4ca65639ea7bb8fa70b9))
|
|
93
|
+
* **web-component:** scope message-grouping memo cache per chat instance ([#2796](https://github.com/visma-swno/vsn-assistant/issues/2796)) ([6948dc4](https://github.com/visma-swno/vsn-assistant/commit/6948dc4c9d4edfa10758212910002f9d4dc6df16))
|
|
94
|
+
* **web-component:** skip consent dialog in feedback when user already consented ([#2450](https://github.com/visma-swno/vsn-assistant/issues/2450)) ([d5cfd53](https://github.com/visma-swno/vsn-assistant/commit/d5cfd53c39fdae83202f5080a802996e82c44d64))
|
|
95
|
+
* **web-component:** stabilize streaming message memoization ([#2456](https://github.com/visma-swno/vsn-assistant/issues/2456)) ([011ec6e](https://github.com/visma-swno/vsn-assistant/commit/011ec6e1aa33de4db0d4ba21758f314764d897df)), closes [#2408](https://github.com/visma-swno/vsn-assistant/issues/2408)
|
|
96
|
+
* **web-component:** suppress feedback tool continuation abort ([#2716](https://github.com/visma-swno/vsn-assistant/issues/2716)) ([52d5531](https://github.com/visma-swno/vsn-assistant/commit/52d5531ba07c7613f28313d36016a3568f676ec7))
|
|
97
|
+
* **web-component:** tighten iframe-preview html-mode DOMPurify config ([#2808](https://github.com/visma-swno/vsn-assistant/issues/2808)) ([30280c1](https://github.com/visma-swno/vsn-assistant/commit/30280c13295b54571483c9081fba061fefbb7416))
|
|
98
|
+
* **web-component:** update Connect login helper for redesigned login UI ([#3005](https://github.com/visma-swno/vsn-assistant/issues/3005)) ([dc15170](https://github.com/visma-swno/vsn-assistant/commit/dc15170d397ffc20492e889e99b5db85d8031eac))
|
|
99
|
+
* **web-component:** use isolated DOMPurify instance in markdown renderer ([#2191](https://github.com/visma-swno/vsn-assistant/issues/2191)) ([06c686f](https://github.com/visma-swno/vsn-assistant/commit/06c686fd29106f31cb8e4c76e153d5fed8999ed3)), closes [#2187](https://github.com/visma-swno/vsn-assistant/issues/2187)
|
|
100
|
+
* **web-component:** use stable empty array in selectComposerState to prevent unnecessary re-renders ([#2202](https://github.com/visma-swno/vsn-assistant/issues/2202)) ([623156f](https://github.com/visma-swno/vsn-assistant/commit/623156f4c74f9fd99100f185de66fd8dacd27f6b)), closes [#2189](https://github.com/visma-swno/vsn-assistant/issues/2189)
|
|
101
|
+
* **web-component:** validate iframe postMessage origin and clamp error text ([#2775](https://github.com/visma-swno/vsn-assistant/issues/2775)) ([ddebf1c](https://github.com/visma-swno/vsn-assistant/commit/ddebf1c033a9a31a943c0a50c0b52b4c5edfd31e)), closes [#2667](https://github.com/visma-swno/vsn-assistant/issues/2667)
|
|
102
|
+
* **web-component:** validate URL protocol in markdown link renderer ([#2864](https://github.com/visma-swno/vsn-assistant/issues/2864)) ([e024c1d](https://github.com/visma-swno/vsn-assistant/commit/e024c1daaf1d4df4833381fc7ba5a3b412c45225)), closes [#2842](https://github.com/visma-swno/vsn-assistant/issues/2842)
|
|
58
103
|
|
|
59
104
|
|
|
60
105
|
### Performance Improvements
|
|
61
106
|
|
|
62
|
-
* **web-component:**
|
|
107
|
+
* **web-component:** memoize context-changed divider diffs in selector ([#2797](https://github.com/visma-swno/vsn-assistant/issues/2797)) ([bbff1c4](https://github.com/visma-swno/vsn-assistant/commit/bbff1c4f7932647061811664dee1dbb2c96e06e9))
|
|
63
108
|
|
|
109
|
+
## [5.0.1](https://github.com/visma-swno/vsn-assistant/compare/web-component@v5.0.0...web-component@v5.0.1) (2026-03-27)
|
|
64
110
|
|
|
65
|
-
###
|
|
111
|
+
### Bug Fixes
|
|
66
112
|
|
|
67
|
-
|
|
113
|
+
- **deps:** bump flatted from 3.4.1 to 3.4.2 in /web-component ([#2091](https://github.com/visma-swno/vsn-assistant/issues/2091)) ([e273367](https://github.com/visma-swno/vsn-assistant/commit/e27336763541473959b868781930ad7a25628d0e))
|
|
114
|
+
- **deps:** bump the javascript group in /web-component with 17 updates ([#2031](https://github.com/visma-swno/vsn-assistant/issues/2031)) ([5af04e5](https://github.com/visma-swno/vsn-assistant/commit/5af04e569d135764821be1e821b2c1d2661c4e72))
|
|
115
|
+
- **web-component:** block remote media in chat markdown ([#2090](https://github.com/visma-swno/vsn-assistant/issues/2090)) ([89f7272](https://github.com/visma-swno/vsn-assistant/commit/89f7272fe1983a08ae7d41b2f425df83f6ca9aec))
|
|
116
|
+
- **web-component:** remove explicit secondary color from welcome message text ([#2143](https://github.com/visma-swno/vsn-assistant/issues/2143)) ([420bf18](https://github.com/visma-swno/vsn-assistant/commit/420bf18c87ae4bd3856ec06dde09e12549d42317))
|
|
117
|
+
- **web-component:** support both sync and async tokenProvider callbacks ([#2161](https://github.com/visma-swno/vsn-assistant/issues/2161)) ([a924d61](https://github.com/visma-swno/vsn-assistant/commit/a924d61f4c1f39a843e0afb9a8c6b8341157acc6))
|
|
118
|
+
- **web-component:** use index-based filtering in validateFrontendTools ([#2117](https://github.com/visma-swno/vsn-assistant/issues/2117)) ([85d5885](https://github.com/visma-swno/vsn-assistant/commit/85d58852e144e35bff8bb92dfb19f5e2de5d03cf))
|
|
68
119
|
|
|
69
|
-
## [
|
|
120
|
+
## [5.0.0](https://github.com/visma-swno/vsn-assistant/compare/web-component@v4.1.0...web-component@v5.0.0) (2026-03-23)
|
|
70
121
|
|
|
122
|
+
### ⚠ BREAKING CHANGES
|
|
71
123
|
|
|
72
|
-
|
|
124
|
+
- This release contains breaking changes. Please see our documentation site for migration guides from earlier versions, https://docs.assistant.vsn.dev/latest/.
|
|
73
125
|
|
|
74
|
-
|
|
75
|
-
* **web-component:** update chat button labels and tooltips for clarity ([#1682](https://github.com/visma-swno/vsn-assistant/issues/1682)) ([4954481](https://github.com/visma-swno/vsn-assistant/commit/4954481edd93eb9f10689d97666149379da0263f))
|
|
126
|
+
### Features
|
|
76
127
|
|
|
128
|
+
- add Azure AI Search with citation previews ([#2040](https://github.com/visma-swno/vsn-assistant/issues/2040)) ([7c6f72a](https://github.com/visma-swno/vsn-assistant/commit/7c6f72a7a7d01a7065b71831e2dc1d3794955042))
|
|
129
|
+
- add code canvas authoring workspace ([#2043](https://github.com/visma-swno/vsn-assistant/issues/2043)) ([40fcdeb](https://github.com/visma-swno/vsn-assistant/commit/40fcdebe1ed096633db0ab6a57372a0d2d742346))
|
|
130
|
+
- add copy button to all message types ([#1813](https://github.com/visma-swno/vsn-assistant/issues/1813)) ([56edda2](https://github.com/visma-swno/vsn-assistant/commit/56edda288a61fff283702896171a350a4b293456))
|
|
131
|
+
- add narrative agent with tool call status rendering ([#1815](https://github.com/visma-swno/vsn-assistant/issues/1815)) ([6e4edbf](https://github.com/visma-swno/vsn-assistant/commit/6e4edbf15d6b3d9e5b44467ce6e53dc0797f357f))
|
|
132
|
+
- add PDF report export to canvas system ([#2053](https://github.com/visma-swno/vsn-assistant/issues/2053)) ([3beddfa](https://github.com/visma-swno/vsn-assistant/commit/3beddfa8d0ba8781b3b9155b6b54c9b4c5a09b89))
|
|
133
|
+
- **chat-ui:** add handler callback to FrontendTool for returning results to agent ([#1938](https://github.com/visma-swno/vsn-assistant/issues/1938)) ([319c9fc](https://github.com/visma-swno/vsn-assistant/commit/319c9fc74ad290ad1137891959a8279f995d56bb))
|
|
134
|
+
- consent-based conversation sharing for feedback and support handoff ([#1806](https://github.com/visma-swno/vsn-assistant/issues/1806)) ([58e53e0](https://github.com/visma-swno/vsn-assistant/commit/58e53e0dbfae9570858619fa4643373d80b79f4c))
|
|
135
|
+
- **dashboard:** allow choosing from list of models ([#1803](https://github.com/visma-swno/vsn-assistant/issues/1803)) ([e973f11](https://github.com/visma-swno/vsn-assistant/commit/e973f11cb32d797c2ff83292e1d8243303200d12))
|
|
136
|
+
- **dashboard:** frontend tools for AI-powered profile management ([#1845](https://github.com/visma-swno/vsn-assistant/issues/1845)) ([fc9cac9](https://github.com/visma-swno/vsn-assistant/commit/fc9cac9aeb0ae835e3bb0d3df6ae5d2f041d2a07))
|
|
137
|
+
- demo fixes with enhanced chat UX, canvas rendering, and Business NXT improvements ([#2067](https://github.com/visma-swno/vsn-assistant/issues/2067)) ([1714829](https://github.com/visma-swno/vsn-assistant/commit/1714829496bde6e26eb84943647389009a1bd2e1))
|
|
138
|
+
- **profiles:** add per-profile suggested questions and chat pills ([#1939](https://github.com/visma-swno/vsn-assistant/issues/1939)) ([85bf850](https://github.com/visma-swno/vsn-assistant/commit/85bf8503e93e8fd328dca98802b5fbc2c0cca498))
|
|
139
|
+
- run ID tracking and frontend tool improvements ([#1985](https://github.com/visma-swno/vsn-assistant/issues/1985)) ([7c2ecaa](https://github.com/visma-swno/vsn-assistant/commit/7c2ecaaa042758c012f1ffdb7d4bf04a001c3737))
|
|
140
|
+
- show "service temporarily unavailable"-message when back-end is unreachable ([#1873](https://github.com/visma-swno/vsn-assistant/issues/1873)) ([1c4c40e](https://github.com/visma-swno/vsn-assistant/commit/1c4c40ebdc0debc3f8322b5b638a2e2dc7785b46))
|
|
141
|
+
- thumbs updown below assistant messages ([#2001](https://github.com/visma-swno/vsn-assistant/issues/2001)) ([78c0b73](https://github.com/visma-swno/vsn-assistant/commit/78c0b731de2850073d969e8171968144f2787707))
|
|
142
|
+
- **web-component:** add ECharts frontend tool for inline chart rendering ([#1848](https://github.com/visma-swno/vsn-assistant/issues/1848)) ([a5904ab](https://github.com/visma-swno/vsn-assistant/commit/a5904ab53f8cc471c9a5902a97deb33947588710))
|
|
143
|
+
- **web-component:** add post-session actions UI after support ends ([#2102](https://github.com/visma-swno/vsn-assistant/issues/2102)) ([0db795f](https://github.com/visma-swno/vsn-assistant/commit/0db795f00973ada6918fa272eccb604354ec8875))
|
|
144
|
+
- **web-component:** comply with WCAG 2.1 AA requirements ([#1850](https://github.com/visma-swno/vsn-assistant/issues/1850)) ([eb37b89](https://github.com/visma-swno/vsn-assistant/commit/eb37b89cb092b5cf97c0db41861c954efb48bedc))
|
|
77
145
|
|
|
78
146
|
### Bug Fixes
|
|
79
147
|
|
|
80
|
-
|
|
81
|
-
|
|
148
|
+
- add notExpandable property to UiToolMessage ([#2007](https://github.com/visma-swno/vsn-assistant/issues/2007)) ([3addc87](https://github.com/visma-swno/vsn-assistant/commit/3addc87207d30bf5ea09f28028221a4d2d268558)), closes [#2006](https://github.com/visma-swno/vsn-assistant/issues/2006)
|
|
149
|
+
- **deps:** bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /web-component ([#1790](https://github.com/visma-swno/vsn-assistant/issues/1790)) ([6c4460b](https://github.com/visma-swno/vsn-assistant/commit/6c4460bca419da72fc3b7f8db8ba8228976aaf7f))
|
|
150
|
+
- **deps:** bump dompurify from 3.3.1 to 3.3.2 in /web-component ([#2023](https://github.com/visma-swno/vsn-assistant/issues/2023)) ([a4bd10f](https://github.com/visma-swno/vsn-assistant/commit/a4bd10f9d4292dad1118fe98cfef60b0a6cca32a))
|
|
151
|
+
- **deps:** bump flatted from 3.3.4 to 3.4.1 in /web-component ([#2065](https://github.com/visma-swno/vsn-assistant/issues/2065)) ([8f804c0](https://github.com/visma-swno/vsn-assistant/commit/8f804c038c70b8eca2bb162a106dbcce249d0301))
|
|
152
|
+
- **deps:** bump qs from 6.14.0 to 6.14.2 in /web-component ([#1852](https://github.com/visma-swno/vsn-assistant/issues/1852)) ([061c6f3](https://github.com/visma-swno/vsn-assistant/commit/061c6f351f83ef6c1d6043fd45dae626ffc12d6d))
|
|
153
|
+
- **deps:** bump rollup from 4.48.1 to 4.59.0 in /web-component ([#1976](https://github.com/visma-swno/vsn-assistant/issues/1976)) ([b183733](https://github.com/visma-swno/vsn-assistant/commit/b1837338995c5231e98c5cb9c4bae26e142ee4a3))
|
|
154
|
+
- multichat clear all button ([#1856](https://github.com/visma-swno/vsn-assistant/issues/1856)) ([9191dc2](https://github.com/visma-swno/vsn-assistant/commit/9191dc21f2858950fc203abaf3b26953c0be3448))
|
|
155
|
+
- resolve lit version conflicts between dashboard and web-component ([#2014](https://github.com/visma-swno/vsn-assistant/issues/2014)) ([cbcbb49](https://github.com/visma-swno/vsn-assistant/commit/cbcbb4945ca1da71b7e942d25c7df25c3f9f743a))
|
|
156
|
+
- **web-component:** polish UI and remove streaming cursor ([#2099](https://github.com/visma-swno/vsn-assistant/issues/2099)) ([d11b38c](https://github.com/visma-swno/vsn-assistant/commit/d11b38c54a6eb1b2c746850524c0060e1666dfa5))
|
|
157
|
+
- **web-component:** prevent icon plugin from causing repeated page reloads ([#1880](https://github.com/visma-swno/vsn-assistant/issues/1880)) ([8527fff](https://github.com/visma-swno/vsn-assistant/commit/8527ffffd20a146759b60c5b4613e3b15a38a8aa))
|
|
158
|
+
- **web-component:** replace innerHTML with DOMParser in icon component ([#1855](https://github.com/visma-swno/vsn-assistant/issues/1855)) ([ec59e49](https://github.com/visma-swno/vsn-assistant/commit/ec59e49f4ad902d5f7a1b341ecf9b225d686125b))
|
|
159
|
+
- **web-component:** unnest host context parameters ([#1805](https://github.com/visma-swno/vsn-assistant/issues/1805)) ([da9e778](https://github.com/visma-swno/vsn-assistant/commit/da9e77874b8d894041b49e1fbe1c35b40398e60a))
|
|
160
|
+
- **web-component:** use english privacy statement link ([#2088](https://github.com/visma-swno/vsn-assistant/issues/2088)) ([6ad0c6a](https://github.com/visma-swno/vsn-assistant/commit/6ad0c6afca42c85e809516fd055bbd487146e944))
|
|
82
161
|
|
|
83
|
-
|
|
162
|
+
### Performance Improvements
|
|
84
163
|
|
|
164
|
+
- **web-component:** optimize streaming performance and bundle size ([#1865](https://github.com/visma-swno/vsn-assistant/issues/1865)) ([2d656bc](https://github.com/visma-swno/vsn-assistant/commit/2d656bc962a396fe03343877ef83492c6558960f))
|
|
85
165
|
|
|
86
|
-
###
|
|
166
|
+
### Code Refactoring
|
|
87
167
|
|
|
88
|
-
|
|
89
|
-
* add icon component ([#1209](https://github.com/visma-swno/vsn-assistant/issues/1209)) ([ec48ccd](https://github.com/visma-swno/vsn-assistant/commit/ec48ccd63c1737388168a40431b28d6dd7cd2931))
|
|
90
|
-
* add popover/tooltip component for icon buttons ([#1169](https://github.com/visma-swno/vsn-assistant/issues/1169)) ([#1318](https://github.com/visma-swno/vsn-assistant/issues/1318)) ([9eeed50](https://github.com/visma-swno/vsn-assistant/commit/9eeed50f2b502f618dd0a11dcc244e6cc8cd486d))
|
|
91
|
-
* implement Host Context API for context-aware conversations ([#1313](https://github.com/visma-swno/vsn-assistant/issues/1313)) ([3a7a973](https://github.com/visma-swno/vsn-assistant/commit/3a7a9733c4f6d6c21d1952c137a36e7f3ccc88f0))
|
|
92
|
-
* **support:** web-component sends outbound support requests over HTTP ([#1435](https://github.com/visma-swno/vsn-assistant/issues/1435)) ([0f6c5a0](https://github.com/visma-swno/vsn-assistant/commit/0f6c5a0693f21bab2f312d3d987d7ce16eea763b))
|
|
93
|
-
* **web-component:** support relative image sources ([#1487](https://github.com/visma-swno/vsn-assistant/issues/1487)) ([6ccc8f9](https://github.com/visma-swno/vsn-assistant/commit/6ccc8f91a1305c13422f1ffa7e444b5cb92ba7b7))
|
|
168
|
+
- migrate to GAIA design system and harden component architecture ([#2094](https://github.com/visma-swno/vsn-assistant/issues/2094)) ([d3cdfb9](https://github.com/visma-swno/vsn-assistant/commit/d3cdfb9a01e35174321d3eb08be80e2475cfe061))
|
|
94
169
|
|
|
170
|
+
## [4.1.0](https://github.com/visma-swno/vsn-assistant/compare/web-component@v4.0.0...web-component@v4.1.0) (2026-01-23)
|
|
171
|
+
|
|
172
|
+
### Features
|
|
173
|
+
|
|
174
|
+
- **web-component:** support fullscreen layout up to any size ([#1643](https://github.com/visma-swno/vsn-assistant/issues/1643)) ([e8be725](https://github.com/visma-swno/vsn-assistant/commit/e8be725c288ef0262b316f4a8d4891c4516bb537)), closes [#1619](https://github.com/visma-swno/vsn-assistant/issues/1619)
|
|
175
|
+
- **web-component:** update chat button labels and tooltips for clarity ([#1682](https://github.com/visma-swno/vsn-assistant/issues/1682)) ([4954481](https://github.com/visma-swno/vsn-assistant/commit/4954481edd93eb9f10689d97666149379da0263f))
|
|
95
176
|
|
|
96
177
|
### Bug Fixes
|
|
97
178
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
179
|
+
- upgrade set-cookie-parser to 2.7.2 to address CVE ([#1532](https://github.com/visma-swno/vsn-assistant/issues/1532)) ([abc2a91](https://github.com/visma-swno/vsn-assistant/commit/abc2a91f24c1ea4c9800f086616ad486eb7b7843)), closes [#1355](https://github.com/visma-swno/vsn-assistant/issues/1355)
|
|
180
|
+
- **webcomponent:** prevent text break for any character in tables ([#1681](https://github.com/visma-swno/vsn-assistant/issues/1681)) ([26160fb](https://github.com/visma-swno/vsn-assistant/commit/26160fb70a0f72fe010e93f5b1af5d8dd8c3a300)), closes [#1668](https://github.com/visma-swno/vsn-assistant/issues/1668)
|
|
181
|
+
|
|
182
|
+
## [4.0.0](https://github.com/visma-swno/vsn-assistant/compare/web-component@v3.0.0...web-component@v4.0.0) (2025-12-02)
|
|
183
|
+
|
|
184
|
+
### Features
|
|
185
|
+
|
|
186
|
+
- add Dutch and Finnish language support ([#1488](https://github.com/visma-swno/vsn-assistant/issues/1488)) ([1e2bf12](https://github.com/visma-swno/vsn-assistant/commit/1e2bf12b9fb544a248b1e666d2684efbceb9a93c))
|
|
187
|
+
- add icon component ([#1209](https://github.com/visma-swno/vsn-assistant/issues/1209)) ([ec48ccd](https://github.com/visma-swno/vsn-assistant/commit/ec48ccd63c1737388168a40431b28d6dd7cd2931))
|
|
188
|
+
- add popover/tooltip component for icon buttons ([#1169](https://github.com/visma-swno/vsn-assistant/issues/1169)) ([#1318](https://github.com/visma-swno/vsn-assistant/issues/1318)) ([9eeed50](https://github.com/visma-swno/vsn-assistant/commit/9eeed50f2b502f618dd0a11dcc244e6cc8cd486d))
|
|
189
|
+
- implement Host Context API for context-aware conversations ([#1313](https://github.com/visma-swno/vsn-assistant/issues/1313)) ([3a7a973](https://github.com/visma-swno/vsn-assistant/commit/3a7a9733c4f6d6c21d1952c137a36e7f3ccc88f0))
|
|
190
|
+
- **support:** web-component sends outbound support requests over HTTP ([#1435](https://github.com/visma-swno/vsn-assistant/issues/1435)) ([0f6c5a0](https://github.com/visma-swno/vsn-assistant/commit/0f6c5a0693f21bab2f312d3d987d7ce16eea763b))
|
|
191
|
+
- **web-component:** support relative image sources ([#1487](https://github.com/visma-swno/vsn-assistant/issues/1487)) ([6ccc8f9](https://github.com/visma-swno/vsn-assistant/commit/6ccc8f91a1305c13422f1ffa7e444b5cb92ba7b7))
|
|
102
192
|
|
|
193
|
+
### Bug Fixes
|
|
194
|
+
|
|
195
|
+
- add white background ([#1207](https://github.com/visma-swno/vsn-assistant/issues/1207)) ([9fb01d4](https://github.com/visma-swno/vsn-assistant/commit/9fb01d4b0579f195915243ed5e39d0d726d43b65)), closes [#1202](https://github.com/visma-swno/vsn-assistant/issues/1202)
|
|
196
|
+
- **deps:** bump js-yaml from 4.1.0 to 4.1.1 in /web-component ([#1408](https://github.com/visma-swno/vsn-assistant/issues/1408)) ([475aa18](https://github.com/visma-swno/vsn-assistant/commit/475aa1893ce03351785a1031cab3f4bf29fa1c53))
|
|
197
|
+
- popover is hidden when slot element is disabled ([#1334](https://github.com/visma-swno/vsn-assistant/issues/1334)) ([fe78b8f](https://github.com/visma-swno/vsn-assistant/commit/fe78b8fc936b06db2b91d504ee4cb62c73963a46))
|
|
198
|
+
- re-add supporthub methods so support both old and new gaia-chat ([#1438](https://github.com/visma-swno/vsn-assistant/issues/1438)) ([ae86b2d](https://github.com/visma-swno/vsn-assistant/commit/ae86b2d76bf05050e213f24c499130475c4c6a15))
|
|
103
199
|
|
|
104
200
|
### Build System
|
|
105
201
|
|
|
106
|
-
|
|
202
|
+
- **deps-dev:** bump happy-dom from 19.0.2 to 20.0.0 in /web-component in the npm_and_yarn group across 1 directory ([#1187](https://github.com/visma-swno/vsn-assistant/issues/1187)) ([1aab790](https://github.com/visma-swno/vsn-assistant/commit/1aab790aac45be55497fe29ddc82ca542e30ef69))
|
|
107
203
|
|
|
108
204
|
## [3.0.0](https://github.com/visma-swno/vsn-assistant/compare/web-component@v2.1.3...web-component@v3.0.0) (2025-10-14)
|
|
109
205
|
|
|
110
|
-
|
|
111
206
|
### ⚠ BREAKING CHANGES
|
|
112
207
|
|
|
113
|
-
|
|
114
|
-
|
|
208
|
+
- The authentication system has been completely redesigned for better flexibility and security.
|
|
209
|
+
- **deps-dev:** <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1620">#1620</a> Release v18.0.0</li> <li>See full diff in <a href="https://github.com/capricorn86/happy-dom/compare/v18.0.1...v19.0.2">compare view</a></li> </ul> </details> <br />
|
|
115
210
|
|
|
116
211
|
### Features
|
|
117
212
|
|
|
118
|
-
|
|
119
|
-
|
|
213
|
+
- add on-demand callback for token refresh ([#1192](https://github.com/visma-swno/vsn-assistant/issues/1192)) ([e5d6918](https://github.com/visma-swno/vsn-assistant/commit/e5d6918a9dc3eacecb2a4df77e724b9a53805a85))
|
|
120
214
|
|
|
121
215
|
### Bug Fixes
|
|
122
216
|
|
|
123
|
-
|
|
124
|
-
|
|
217
|
+
- add fixed container sizes ([#1188](https://github.com/visma-swno/vsn-assistant/issues/1188)) ([b2b30c9](https://github.com/visma-swno/vsn-assistant/commit/b2b30c91da672beff532409436ab3037f53c66bc))
|
|
125
218
|
|
|
126
219
|
### Build System
|
|
127
220
|
|
|
128
|
-
|
|
221
|
+
- **deps-dev:** bump happy-dom from 18.0.1 to 19.0.2 in /web-component ([#1158](https://github.com/visma-swno/vsn-assistant/issues/1158)) ([8eb4203](https://github.com/visma-swno/vsn-assistant/commit/8eb420315bbf0f2daae0b121570aba374c5af7a5))
|
|
129
222
|
|
|
130
223
|
## [2.1.3](https://github.com/visma-swno/vsn-assistant/compare/web-component@v2.1.2...web-component@v2.1.3) (2025-09-26)
|
|
131
224
|
|
|
132
|
-
|
|
133
225
|
### Bug Fixes
|
|
134
226
|
|
|
135
|
-
|
|
227
|
+
- support dynamic locale updates ([#1148](https://github.com/visma-swno/vsn-assistant/issues/1148)) ([d57b277](https://github.com/visma-swno/vsn-assistant/commit/d57b2773b66f31f8fe09b6e92a62aeb76842db64))
|
|
136
228
|
|
|
137
229
|
## 2.1.2 (2025-09-25)
|
|
138
230
|
|
|
139
|
-
|
|
140
231
|
### Features
|
|
141
232
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
233
|
+
- add custom token expiry timer ([#1111](https://github.com/visma-swno/vsn-assistant/issues/1111)) ([f9e8a0c](https://github.com/visma-swno/vsn-assistant/commit/f9e8a0cfbcb67bbce6259582fe65f8478efe86ca))
|
|
234
|
+
- chat sends optional partner id ([#1066](https://github.com/visma-swno/vsn-assistant/issues/1066)) ([6ffcbbb](https://github.com/visma-swno/vsn-assistant/commit/6ffcbbbcd39411269e2e1e5cb991922989e781fa))
|
|
235
|
+
- make web component closeable ([#1069](https://github.com/visma-swno/vsn-assistant/issues/1069)) ([adbf47c](https://github.com/visma-swno/vsn-assistant/commit/adbf47cb91f70d1e67e33bd2a15df83b5c1ce965))
|
|
236
|
+
- **wc:** complete overhaul of the web component ([#1006](https://github.com/visma-swno/vsn-assistant/issues/1006)) ([51bc5b4](https://github.com/visma-swno/vsn-assistant/commit/51bc5b4875c28eb18ee78d9a8bb5f167f45aa1ab))
|
|
147
237
|
|
|
148
238
|
### Bug Fixes
|
|
149
239
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
240
|
+
- add custom prompt for support feedback ([#1082](https://github.com/visma-swno/vsn-assistant/issues/1082)) ([d0098ae](https://github.com/visma-swno/vsn-assistant/commit/d0098aef43939455c3b0de9324c65ec696b0a4b2))
|
|
241
|
+
- add fallback for operator image ([#1081](https://github.com/visma-swno/vsn-assistant/issues/1081)) ([a2fd4ee](https://github.com/visma-swno/vsn-assistant/commit/a2fd4ee8ad4af4872bda9678402f15ced4de930b))
|
|
242
|
+
- add padding for macOS overlay scrollbars ([#1073](https://github.com/visma-swno/vsn-assistant/issues/1073)) ([7a837d9](https://github.com/visma-swno/vsn-assistant/commit/7a837d91c46c6a53b7a540c1f827292bffe87b85))
|
|
243
|
+
- add support for swedish and danish ([#1113](https://github.com/visma-swno/vsn-assistant/issues/1113)) ([904ff26](https://github.com/visma-swno/vsn-assistant/commit/904ff26a553a3ac8c611268e6dd41e90a442fa39))
|
|
244
|
+
- display error message when profile is incorrect ([#1108](https://github.com/visma-swno/vsn-assistant/issues/1108)) ([59c8008](https://github.com/visma-swno/vsn-assistant/commit/59c800804ad3aebb6ce3c8ebb21325cf7dc7d7a0))
|
|
245
|
+
- move icons to icon-folder ([#1061](https://github.com/visma-swno/vsn-assistant/issues/1061)) ([e83abf2](https://github.com/visma-swno/vsn-assistant/commit/e83abf270f648b6a4a6d8e18ed7dc03a31b6c73d))
|
|
246
|
+
- replace rem with px ([#1102](https://github.com/visma-swno/vsn-assistant/issues/1102)) ([5e08cb8](https://github.com/visma-swno/vsn-assistant/commit/5e08cb81df94edbdd026817d59849a1e98284e8a))
|
|
247
|
+
- reset state on principal change ([#1060](https://github.com/visma-swno/vsn-assistant/issues/1060)) ([369f12a](https://github.com/visma-swno/vsn-assistant/commit/369f12a0f13308dfab5e414e8c146236a5ef7afe))
|
|
248
|
+
- scope down error controller ([#1070](https://github.com/visma-swno/vsn-assistant/issues/1070)) ([8c51382](https://github.com/visma-swno/vsn-assistant/commit/8c51382fd0716b90fe7150a8ec53e7c6ced83928))
|
|
249
|
+
- services dynamically change base url ([#1118](https://github.com/visma-swno/vsn-assistant/issues/1118)) ([bc0e59e](https://github.com/visma-swno/vsn-assistant/commit/bc0e59e401b598e4a0c4fd82c4376735b2eb985a))
|
|
250
|
+
- set min height for message list ([#1086](https://github.com/visma-swno/vsn-assistant/issues/1086)) ([df9159a](https://github.com/visma-swno/vsn-assistant/commit/df9159a50d10b56da0df79b7094716d885ca924c))
|
|
251
|
+
- sse parsing in Safari browser ([#1063](https://github.com/visma-swno/vsn-assistant/issues/1063)) ([9c5d33d](https://github.com/visma-swno/vsn-assistant/commit/9c5d33d61edf3ef86775df3985ff95adcbc20de6))
|
|
163
252
|
|
|
164
253
|
### Reverts
|
|
165
254
|
|
|
166
|
-
|
|
255
|
+
- style: add inline padding for scrollbar in Safari ([#1080](https://github.com/visma-swno/vsn-assistant/issues/1080)) ([b4fa513](https://github.com/visma-swno/vsn-assistant/commit/b4fa51393e66e1fbd2cc2d2beebcf5eecc5ae773))
|
package/README.md
CHANGED
|
@@ -55,30 +55,29 @@ Provide a `tokenProvider` that returns a valid OAuth access token. Implement cac
|
|
|
55
55
|
|
|
56
56
|
## Properties
|
|
57
57
|
|
|
58
|
-
| Property / Attribute
|
|
59
|
-
|
|
|
60
|
-
| `base-url`
|
|
61
|
-
| `profile-id`
|
|
62
|
-
| `auth-strategy`
|
|
63
|
-
| `closeable`
|
|
64
|
-
| `
|
|
65
|
-
| `
|
|
66
|
-
| `
|
|
67
|
-
| `tools` | `FrontendTool[]` | `[]` | Frontend tool definitions sent to the agent. Set via JS. |
|
|
58
|
+
| Property / Attribute | Type | Default | Description |
|
|
59
|
+
| --------------------- | ----------------------- | -------------------------------------- | ------------------------------------------------------------------------ |
|
|
60
|
+
| `base-url` | `string` | `'https://api.assistant.stag.vsn.dev'` | Backend API base URL. |
|
|
61
|
+
| `profile-id` | `string` | `'default'` | Assistant profile identifier. |
|
|
62
|
+
| `auth-strategy` | `'visitor' \| 'visma'` | `'visitor'` | Authentication strategy. |
|
|
63
|
+
| `closeable` | `boolean` | `true` | Show a close button in the header. |
|
|
64
|
+
| `tokenProvider` | `() => Promise<string>` | — | Async function returning an OAuth access token (Visma mode). Set via JS. |
|
|
65
|
+
| `hostContextProvider` | `HostContextProvider` | — | Async function returning application context per message. Set via JS. |
|
|
66
|
+
| `tools` | `FrontendTool[]` | `[]` | Frontend tool definitions sent to the agent. Set via JS. |
|
|
68
67
|
|
|
69
68
|
## Events
|
|
70
69
|
|
|
71
70
|
All events bubble and are composed (cross shadow DOM).
|
|
72
71
|
|
|
73
|
-
| Event | Detail Type
|
|
74
|
-
| ---------------------- |
|
|
75
|
-
| `conversation-cleared` | `void`
|
|
76
|
-
| `message-sent` | `{ message: string; channel: 'assistant' \| 'support' }`
|
|
77
|
-
| `tool-call-approved` | `{ messageId: string }`
|
|
78
|
-
| `tool-call-declined` | `{ messageId: string }`
|
|
79
|
-
| `feedback-submitted` | `{ rating: number; comment: string \| null }`
|
|
80
|
-
| `close-requested` | `void`
|
|
81
|
-
| `tool-call` | `{ toolCallId: string; toolCallName: string; arguments: Record<string, unknown> \| string \| null; result: unknown }` | A frontend tool call was executed.
|
|
72
|
+
| Event | Detail Type | Description |
|
|
73
|
+
| ---------------------- | --------------------------------------------------------------------------------------------------------------------- | ---------------------------------- |
|
|
74
|
+
| `conversation-cleared` | `void` | User cleared the conversation. |
|
|
75
|
+
| `message-sent` | `{ message: string; channel: 'assistant' \| 'support' }` | User sent a message. |
|
|
76
|
+
| `tool-call-approved` | `{ messageId: string }` | User approved a tool call. |
|
|
77
|
+
| `tool-call-declined` | `{ messageId: string }` | User declined a tool call. |
|
|
78
|
+
| `feedback-submitted` | `{ rating: number; comment: string \| null }` | User submitted feedback. |
|
|
79
|
+
| `close-requested` | `void` | User clicked the close button. |
|
|
80
|
+
| `tool-call` | `{ toolCallId: string; toolCallName: string; arguments: Record<string, unknown> \| string \| null; result: unknown }` | A frontend tool call was executed. |
|
|
82
81
|
|
|
83
82
|
```javascript
|
|
84
83
|
document.querySelector('gaia-chat').addEventListener('message-sent', (e) => {
|
|
@@ -88,10 +87,10 @@ document.querySelector('gaia-chat').addEventListener('message-sent', (e) => {
|
|
|
88
87
|
|
|
89
88
|
## Methods
|
|
90
89
|
|
|
91
|
-
| Method
|
|
92
|
-
|
|
|
93
|
-
| `clearConversation()
|
|
94
|
-
| `stopSupport()`
|
|
90
|
+
| Method | Description |
|
|
91
|
+
| --------------------- | -------------------------------------------------- |
|
|
92
|
+
| `clearConversation()` | Clear the current conversation and reset the chat. |
|
|
93
|
+
| `stopSupport()` | Stop any active support session. |
|
|
95
94
|
|
|
96
95
|
## Host Context Provider
|
|
97
96
|
|
|
@@ -177,26 +176,26 @@ The component exposes CSS custom properties prefixed with `--gaia-` for theming.
|
|
|
177
176
|
|
|
178
177
|
### Typography
|
|
179
178
|
|
|
180
|
-
| Property
|
|
181
|
-
|
|
|
182
|
-
| `--gaia-font-family`
|
|
183
|
-
| `--gaia-font-size-xs` … `3xl` | Font sizes
|
|
184
|
-
| `--gaia-line-height-xs` … `3xl` | Line heights
|
|
185
|
-
| `--gaia-font-weight-regular`
|
|
186
|
-
| `--gaia-font-weight-medium`
|
|
187
|
-
| `--gaia-font-weight-semibold`
|
|
188
|
-
| `--gaia-font-weight-bold`
|
|
179
|
+
| Property | Description |
|
|
180
|
+
| ------------------------------- | --------------- |
|
|
181
|
+
| `--gaia-font-family` | Font family |
|
|
182
|
+
| `--gaia-font-size-xs` … `3xl` | Font sizes |
|
|
183
|
+
| `--gaia-line-height-xs` … `3xl` | Line heights |
|
|
184
|
+
| `--gaia-font-weight-regular` | Regular weight |
|
|
185
|
+
| `--gaia-font-weight-medium` | Medium weight |
|
|
186
|
+
| `--gaia-font-weight-semibold` | Semibold weight |
|
|
187
|
+
| `--gaia-font-weight-bold` | Bold weight |
|
|
189
188
|
|
|
190
189
|
### Colors
|
|
191
190
|
|
|
192
|
-
| Property group
|
|
193
|
-
|
|
|
194
|
-
| `--gaia-color-surface-*`
|
|
195
|
-
| `--gaia-color-text-*`
|
|
196
|
-
| `--gaia-color-border-*`
|
|
197
|
-
| `--gaia-color-icon-*`
|
|
198
|
-
| `--gaia-color-message-*`
|
|
199
|
-
| `--gaia-color-neutral-*`
|
|
191
|
+
| Property group | Examples |
|
|
192
|
+
| ------------------------ | ----------------------------------------------------------------------------------------------------------------- |
|
|
193
|
+
| `--gaia-color-surface-*` | `page`, `primary`, `action`, `action-hover`, `error`, `success`, `information`, `warning`, `disabled`, `selected` |
|
|
194
|
+
| `--gaia-color-text-*` | `headings`, `body`, `body-secondary`, `action`, `action-hover`, `disabled`, `error`, `success`, `link-visited` |
|
|
195
|
+
| `--gaia-color-border-*` | `primary`, `secondary`, `tertiary`, `action`, `action-hover`, `focus`, `error`, `success` |
|
|
196
|
+
| `--gaia-color-icon-*` | `primary`, `action`, `action-hover`, `disabled`, `error`, `success`, `on-action`, `on-primary` |
|
|
197
|
+
| `--gaia-color-message-*` | `user`, `system`, `operator` |
|
|
198
|
+
| `--gaia-color-neutral-*` | `10` through `100` |
|
|
200
199
|
|
|
201
200
|
### Example
|
|
202
201
|
|