@paramms/chat-widget 1.5.0 → 1.6.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.
@@ -15,6 +15,9 @@ export type MessageContent = {
15
15
  enc?: boolean;
16
16
  iv?: string;
17
17
  quickReplies?: string[];
18
+ citations?: {
19
+ source: string;
20
+ }[];
18
21
  } | {
19
22
  kind: 'attachment';
20
23
  url: string;
@@ -35,6 +35,9 @@ export interface WidgetConfig {
35
35
  aiAssistant?: string;
36
36
  resolved?: string;
37
37
  reopen?: string;
38
+ sources?: string;
39
+ helpful?: string;
40
+ notHelpful?: string;
38
41
  };
39
42
  }
40
43
  export interface RendererHandlers {
@@ -120,6 +123,8 @@ export declare class Renderer {
120
123
  * skip there so tests and SSR-ish mounts are unaffected. */
121
124
  private autoGrowInput;
122
125
  private signalTyping;
126
+ /** A3.3 — per-chatroom bot identity from the manifest; relabels bot bubbles. */
127
+ setBotName(name: string): void;
123
128
  render(store: ChatStore): void;
124
129
  setConnStatus(status: 'connecting' | 'open' | 'reconnecting' | 'error', message?: string): void;
125
130
  private buildPreChatPanel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paramms/chat-widget",
3
- "version": "1.5.0",
3
+ "version": "1.6.1",
4
4
  "description": "Embeddable real-time chat widget for the Relay platform",
5
5
  "license": "MIT",
6
6
  "repository": {