@elia-assistant/chatui 1.0.5 → 1.0.6

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/dist/store.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./chunks/settingsStore-BqlYxczg.js";
1
+ import { t as e } from "./chunks/settingsStore-uYZsUiVr.js";
2
2
  export { e as useSettingsStore };
@@ -88,6 +88,15 @@ export interface ChatConfig {
88
88
  fullscreenSheet?: boolean;
89
89
  /** Sheet height as a CSS length (vh, %, px). Default: '75vh'. */
90
90
  fullscreenSheetHeight?: string;
91
+ /** Live-agent SSE stream. When set, the widget opens an EventSource against the ELIA backend
92
+ * and receives agent replies pushed in real time. The bot turn (synchronous response from the
93
+ * n8n webhook) keeps working exactly as before. */
94
+ agentStream?: {
95
+ /** Base URL of the ELIA backend, e.g. 'https://api.elia-asistent.com'. */
96
+ apiBaseUrl: string;
97
+ /** Tenant identifier — same UUID embedded in the n8n webhook URL. */
98
+ tenantId: string;
99
+ };
91
100
  /** Optional tabs above the chat panel. Tab is active iff its block has feedUrl OR items. */
92
101
  tabs?: {
93
102
  notifications?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elia-assistant/chatui",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,2 +0,0 @@
1
- import { t as e } from "./i18n-oL80Kbbg.js";
2
- export { e as default };