@epam/ai-dial-chat-shared 1.1.0-dev.8 → 1.1.0-dev.87

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.
Files changed (57) hide show
  1. package/components/DeploymentIcon/DeploymentIcon.d.ts +1 -10
  2. package/components/DeploymentIcon/DeploymentIcon.d.ts.map +1 -1
  3. package/components/InitialsAvatar/InitialsAvatar.d.ts +1 -4
  4. package/components/InitialsAvatar/InitialsAvatar.d.ts.map +1 -1
  5. package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts +1 -4
  6. package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts.map +1 -1
  7. package/components/MarkdownRenderer/MarkdownRenderer.d.ts +2 -9
  8. package/components/MarkdownRenderer/MarkdownRenderer.d.ts.map +1 -1
  9. package/components/MarkdownRenderer/Table/MarkdownTable.d.ts +1 -4
  10. package/components/MarkdownRenderer/Table/MarkdownTable.d.ts.map +1 -1
  11. package/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.d.ts +1 -5
  12. package/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.d.ts.map +1 -1
  13. package/constants/icon.d.ts +2 -0
  14. package/constants/icon.d.ts.map +1 -1
  15. package/constants/mime-types.d.ts +3 -6
  16. package/constants/mime-types.d.ts.map +1 -1
  17. package/hooks/useCodeCopy.d.ts +1 -9
  18. package/hooks/useCodeCopy.d.ts.map +1 -1
  19. package/hooks/useCollapsedText.d.ts +3 -7
  20. package/hooks/useCollapsedText.d.ts.map +1 -1
  21. package/hooks/useTableScroll.d.ts +1 -0
  22. package/hooks/useTableScroll.d.ts.map +1 -1
  23. package/index.css +1 -1
  24. package/index.d.ts +2 -2
  25. package/index.d.ts.map +1 -1
  26. package/index.js +26019 -3377
  27. package/models/chat.d.ts +10 -38
  28. package/models/chat.d.ts.map +1 -1
  29. package/models/custom-visualizer.d.ts +61 -0
  30. package/models/custom-visualizer.d.ts.map +1 -0
  31. package/models/deployment-configuration.d.ts +2 -8
  32. package/models/deployment-configuration.d.ts.map +1 -1
  33. package/models/tool-menu-item.d.ts +13 -0
  34. package/models/tool-menu-item.d.ts.map +1 -0
  35. package/package.json +7 -3
  36. package/types/mime-type.d.ts +2 -8
  37. package/types/mime-type.d.ts.map +1 -1
  38. package/utils/avatar-color.d.ts +1 -4
  39. package/utils/avatar-color.d.ts.map +1 -1
  40. package/utils/build-css-vars.d.ts +1 -4
  41. package/utils/build-css-vars.d.ts.map +1 -1
  42. package/utils/copy-to-clipboard.d.ts +1 -13
  43. package/utils/copy-to-clipboard.d.ts.map +1 -1
  44. package/utils/format-last-used.d.ts +1 -6
  45. package/utils/format-last-used.d.ts.map +1 -1
  46. package/utils/initials.d.ts +1 -7
  47. package/utils/initials.d.ts.map +1 -1
  48. package/utils/latex.d.ts +11 -0
  49. package/utils/latex.d.ts.map +1 -0
  50. package/utils/message-attachment-to-display.d.ts +1 -1
  51. package/utils/message-attachment-to-display.d.ts.map +1 -1
  52. package/utils/message.d.ts +1 -7
  53. package/utils/message.d.ts.map +1 -1
  54. package/components/Highlight/Highlight.d.ts +0 -26
  55. package/components/Highlight/Highlight.d.ts.map +0 -1
  56. package/types/overlay/overlay-protocol.d.ts +0 -308
  57. package/types/overlay/overlay-protocol.d.ts.map +0 -1
@@ -1,308 +0,0 @@
1
- /**
2
- * Namespace prefix shared by every `@DIAL_OVERLAY` postMessage type string
3
- * exchanged between a `ChatOverlay`/`ChatOverlayManager` host page and an
4
- * embedded chat app instance.
5
- */
6
- export declare const DIAL_OVERLAY_NAMESPACE = "@DIAL_OVERLAY";
7
- /**
8
- * Request message types the host (library) can send to the embedded app.
9
- * Each value is the full wire `type` string sent over `postMessage`.
10
- */
11
- export declare enum OverlayRequestType {
12
- /** Fetch the active conversation's messages. */
13
- GetMessages = "@DIAL_OVERLAY/GET_MESSAGES",
14
- /** Send a new message in the active conversation. */
15
- SendMessage = "@DIAL_OVERLAY/SEND_MESSAGE",
16
- /** Set the current text content of the message input. */
17
- SetInputContent = "@DIAL_OVERLAY/SET_INPUT_CONTENT",
18
- /** Set the active conversation's system prompt. */
19
- SetSystemPrompt = "@DIAL_OVERLAY/SET_SYSTEM_PROMPT",
20
- /** Set the active conversation's temperature. */
21
- SetTemperature = "@DIAL_OVERLAY/SET_TEMPERATURE",
22
- /** Set host-provided options (theme, model, conversation, host domain). */
23
- SetOverlayOptions = "@DIAL_OVERLAY/SET_OVERLAY_OPTIONS",
24
- /** Fetch the current user's conversation list. */
25
- GetConversations = "@DIAL_OVERLAY/GET_CONVERSATIONS",
26
- /** Fetch the currently displayed (active) conversation(s). */
27
- GetSelectedConversations = "@DIAL_OVERLAY/GET_SELECTED_CONVERSATIONS",
28
- /** Navigate to and load a specific conversation by id. */
29
- SelectConversation = "@DIAL_OVERLAY/SELECT_CONVERSATION",
30
- /** Create a new conversation, persisting immediately if a first message is given. */
31
- CreateConversation = "@DIAL_OVERLAY/CREATE_CONVERSATION",
32
- /** Open the conversation composer without persisting anything. */
33
- CreateLocalConversation = "@DIAL_OVERLAY/CREATE_LOCAL_CONVERSATION",
34
- /** Delete a conversation by id. */
35
- DeleteConversation = "@DIAL_OVERLAY/DELETE_CONVERSATION",
36
- /** Rename a conversation by id. */
37
- RenameConversation = "@DIAL_OVERLAY/RENAME_CONVERSATION"
38
- }
39
- /**
40
- * Event message types the embedded app can send to the host (library),
41
- * without an accompanying request. Each value is the full wire `type`
42
- * string sent over `postMessage`.
43
- */
44
- export declare enum OverlayEventType {
45
- /** Sent once, immediately, before any host identity is known. */
46
- InitReady = "@DIAL_OVERLAY/INIT_READY",
47
- /** Sent once, after auth/model-load state resolves. */
48
- Ready = "@DIAL_OVERLAY/READY",
49
- /** Sent once, after the active conversation has been selected/loaded for the first time. */
50
- ReadyToInteract = "@DIAL_OVERLAY/READY_TO_INTERACT",
51
- /** Sent whenever the app finishes loading a conversation (initial load or navigation). */
52
- SelectedConversationLoaded = "@DIAL_OVERLAY/SELECTED_CONVERSATION_LOADED",
53
- /** Sent when a generation starts for the active conversation. */
54
- GptStartGenerating = "@DIAL_OVERLAY/GPT_START_GENERATING",
55
- /** Sent when a generation completes for the active conversation. */
56
- GptEndGenerating = "@DIAL_OVERLAY/GPT_END_GENERATING",
57
- /** Sent when a user (or host) stops an in-flight generation. */
58
- StopGenerating = "@DIAL_OVERLAY/STOP_GENERATING",
59
- /** Sent whenever the app's conversation list changes. */
60
- ConversationsUpdated = "@DIAL_OVERLAY/CONVERSATIONS_UPDATED"
61
- }
62
- /**
63
- * Optional embed-time features a host can opt into via
64
- * `ChatOverlayOptions.enabledFeatures`.
65
- */
66
- export declare enum OverlayFeature {
67
- /** Enables the `microphone` permission on the iframe's `allow` attribute for voice input. */
68
- VoiceInput = "voice-input"
69
- }
70
- /**
71
- * Minimal message shape carried in overlay protocol payloads. A narrowed
72
- * projection of the app's full message model, kept local to this module so
73
- * the overlay protocol has no dependency on `libs/chat-shared`'s domain models.
74
- */
75
- export interface OverlayChatMessage {
76
- /** Message id. */
77
- id: string;
78
- /** Author role, e.g. `'user'`, `'assistant'`, or `'system'`. */
79
- role: string;
80
- /** Message text content. */
81
- content: string;
82
- }
83
- /**
84
- * Host-agnostic projection of a conversation, exposed by the conversation-list
85
- * methods. Declared independently of `@epam/chat-api-client` or any app-owned
86
- * type so this module keeps no dependency on generated/app code.
87
- */
88
- export interface OverlayConversation {
89
- /** Conversation id. */
90
- id: string;
91
- /** Conversation title. */
92
- title: string;
93
- /** Epoch milliseconds of the conversation's last update. */
94
- updatedAt: number;
95
- /** Whether the conversation is pinned. */
96
- isPinned: boolean;
97
- /** Whether the current user has read-only access. */
98
- isReadonly: boolean;
99
- /** Whether the conversation was shared with the current user. */
100
- sharedWithMe: boolean;
101
- /** Whether the conversation was published with the current user. */
102
- publishedWithMe: boolean;
103
- }
104
- /**
105
- * Explicit error signal carried by conversation-list method responses
106
- * (`SELECT_CONVERSATION`, `CREATE_CONVERSATION`, `DELETE_CONVERSATION`,
107
- * `RENAME_CONVERSATION`) so invalid ids/values/forbidden actions reject with
108
- * a clear reason instead of the request silently timing out.
109
- */
110
- export interface OverlayConversationError {
111
- /** `NOT_FOUND` for an unknown/inaccessible id, `FORBIDDEN` for a read-only/shared-without-write-access conversation, `INVALID_ARGUMENT` for a rejected value (e.g. blank rename). */
112
- code: 'NOT_FOUND' | 'FORBIDDEN' | 'INVALID_ARGUMENT';
113
- /** Human-readable description of the failure. */
114
- message: string;
115
- }
116
- /**
117
- * Options a host page passes to `ChatOverlay`'s constructor, and the subset
118
- * of them re-sent to the embedded app via `SET_OVERLAY_OPTIONS`.
119
- */
120
- export interface ChatOverlayOptions {
121
- /** Full URL of the chat app instance to embed (origin + optional path). */
122
- domain: string;
123
- /** Milliseconds to wait for a request's response before rejecting. Defaults to `10000`. */
124
- requestTimeout?: number;
125
- /** Inline CSS properties applied to the loader element while it is visible. */
126
- loaderStyles?: Record<string, string>;
127
- /** CSS class applied to the loader element. */
128
- loaderClass?: string;
129
- /** Custom HTML rendered inside the loader element, replacing the default spinner. */
130
- loaderInnerHTML?: string;
131
- /** Event whose receipt hides the loader. Defaults to `OverlayEventType.Ready`. */
132
- loaderHideEvent?: OverlayEventType;
133
- /** Embed-time features to enable, e.g. microphone access for voice input. */
134
- enabledFeatures?: OverlayFeature[];
135
- /** Theme name applied to the embedded app. */
136
- theme?: string;
137
- /** Deployment/model id to select in the embedded app. */
138
- modelId?: string;
139
- /** Conversation id the embedded app should load and display. */
140
- overlayConversationId?: string;
141
- }
142
- /** Payload of a `SET_OVERLAY_OPTIONS` request. */
143
- export interface SetOverlayOptionsPayload {
144
- /** Origin of the host page, used by the app to target responses/events. */
145
- hostDomain: string;
146
- /** Theme name to apply, if provided. */
147
- theme?: string;
148
- /** Deployment/model id to select, if provided. */
149
- modelId?: string;
150
- /** Conversation id to navigate to and load, if provided. */
151
- overlayConversationId?: string;
152
- }
153
- /** Payload of a `SEND_MESSAGE` request. */
154
- export interface SendMessagePayload {
155
- /** Text content of the message to send. */
156
- content: string;
157
- }
158
- /** Payload of a `SET_INPUT_CONTENT` request. */
159
- export interface SetInputContentPayload {
160
- /** Text content to set in the message input. */
161
- content: string;
162
- }
163
- /** Payload of a `SET_SYSTEM_PROMPT` request. */
164
- export interface SetSystemPromptPayload {
165
- /** System prompt to persist on the active conversation. */
166
- systemPrompt: string;
167
- }
168
- /** Payload of a `SET_TEMPERATURE` request. */
169
- export interface SetTemperaturePayload {
170
- /** Temperature value to persist on the active conversation. */
171
- temperature: number;
172
- }
173
- /** Payload of a `SELECT_CONVERSATION` request. */
174
- export interface SelectConversationPayload {
175
- /** Id of the conversation to select. */
176
- id: string;
177
- }
178
- /** Payload of a `DELETE_CONVERSATION` request. */
179
- export interface DeleteConversationPayload {
180
- /** Id of the conversation to delete. */
181
- id: string;
182
- }
183
- /** Payload of a `RENAME_CONVERSATION` request. */
184
- export interface RenameConversationPayload {
185
- /** Id of the conversation to rename. */
186
- id: string;
187
- /** New title for the conversation. */
188
- newName: string;
189
- }
190
- /** Payload of a `CREATE_CONVERSATION` request. */
191
- export interface CreateConversationPayload {
192
- /** Deployment/model id to create the conversation with, if given. */
193
- deploymentId?: string;
194
- /** Initial message to persist immediately. Omitted/blank opens the composer instead. */
195
- firstMessage?: string;
196
- }
197
- /** Response payload of a `GET_MESSAGES` request. */
198
- export interface GetMessagesResponse {
199
- /** Messages in the active conversation. */
200
- messages: OverlayChatMessage[];
201
- }
202
- /** Response payload of a `SEND_MESSAGE` request. */
203
- export interface SendMessageResponse {
204
- /** Messages in the active conversation after the send. */
205
- messages: OverlayChatMessage[];
206
- }
207
- /** Response payload of a `SET_SYSTEM_PROMPT` request. */
208
- export interface SetSystemPromptResponse {
209
- /** System prompt value that was persisted. */
210
- systemPrompt: string;
211
- }
212
- /** Response payload of a `SET_TEMPERATURE` request. */
213
- export interface SetTemperatureResponse {
214
- /** Temperature value that was persisted. */
215
- temperature: number;
216
- }
217
- /** Response payload of a `SET_OVERLAY_OPTIONS` request. */
218
- export interface SetOverlayOptionsResponse {
219
- /** Whether the supplied options were applied (`false` only signals a fallback, never a thrown error). */
220
- applied: boolean;
221
- }
222
- /** Response payload of a `GET_CONVERSATIONS` request. */
223
- export interface GetConversationsResponse {
224
- /** The current user's conversation list. */
225
- conversations: OverlayConversation[];
226
- }
227
- /** Response payload of a `GET_SELECTED_CONVERSATIONS` request. */
228
- export interface GetSelectedConversationsResponse {
229
- /** Currently displayed conversation(s); empty when no conversation is mounted. */
230
- conversations: OverlayConversation[];
231
- }
232
- /** Response payload of a `SELECT_CONVERSATION` request. */
233
- export interface SelectConversationResponse {
234
- /** The now-selected conversation's projection, present on success. */
235
- conversation?: OverlayConversation;
236
- /** Present when the selection failed. */
237
- error?: OverlayConversationError;
238
- }
239
- /** Response payload of a `CREATE_CONVERSATION` request. */
240
- export interface CreateConversationResponse {
241
- /** The created conversation's projection, or `null` when the composer path was taken. */
242
- conversation: OverlayConversation | null;
243
- /** Present when creation failed. */
244
- error?: OverlayConversationError;
245
- }
246
- /** Response payload of a `CREATE_LOCAL_CONVERSATION` request. */
247
- export interface CreateLocalConversationResponse {
248
- /** Always `null` — the composer opens without persisting anything. */
249
- conversation: null;
250
- }
251
- /** Response payload of a `DELETE_CONVERSATION` request. */
252
- export interface DeleteConversationResponse {
253
- /** Present when deletion failed. */
254
- error?: OverlayConversationError;
255
- }
256
- /** Response payload of a `RENAME_CONVERSATION` request. */
257
- export interface RenameConversationResponse {
258
- /** The renamed conversation's projection, present on success. */
259
- conversation?: OverlayConversation;
260
- /** Present when the rename failed. */
261
- error?: OverlayConversationError;
262
- }
263
- /**
264
- * A request message sent from the host (library) to the embedded app.
265
- * `type` is always `'${OverlayRequestType}'`.
266
- */
267
- export interface OverlayMessageRequest<TPayload = unknown> {
268
- /** Full wire type string, one of the `OverlayRequestType` values. */
269
- type: `${OverlayRequestType}`;
270
- /** Unique id used to match this request to its response. */
271
- requestId: string;
272
- /**
273
- * Epoch milliseconds after which the embedded app must stop waiting for
274
- * prerequisites (such as an active conversation bridge) and drop the request.
275
- */
276
- expiresAt?: number;
277
- /** Request-specific payload. */
278
- payload?: TPayload;
279
- }
280
- /**
281
- * A response message sent from the embedded app to the host (library),
282
- * answering a specific request by `requestId`.
283
- */
284
- export interface OverlayMessageResponse<TPayload = unknown> {
285
- /** Full wire type string, always `'${OverlayRequestType}/RESPONSE'`. */
286
- type: `${OverlayRequestType}/RESPONSE`;
287
- /** `requestId` of the request this message answers. */
288
- requestId: string;
289
- /** Response-specific payload. */
290
- payload?: TPayload;
291
- }
292
- /**
293
- * An event message sent from the embedded app to the host (library),
294
- * with no associated request (no `requestId` field).
295
- */
296
- export interface OverlayMessageEvent<TPayload = unknown> {
297
- /** Full wire type string, one of the `OverlayEventType` values. */
298
- type: `${OverlayEventType}`;
299
- /** Event-specific payload. */
300
- payload?: TPayload;
301
- }
302
- /** Narrows an arbitrary value to a well-formed `OverlayMessageRequest`. */
303
- export declare const isOverlayMessageRequest: (data: unknown) => data is OverlayMessageRequest;
304
- /** Narrows an arbitrary value to a well-formed `OverlayMessageResponse`. */
305
- export declare const isOverlayMessageResponse: (data: unknown) => data is OverlayMessageResponse;
306
- /** Narrows an arbitrary value to a well-formed `OverlayMessageEvent`. */
307
- export declare const isOverlayMessageEvent: (data: unknown) => data is OverlayMessageEvent;
308
- //# sourceMappingURL=overlay-protocol.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"overlay-protocol.d.ts","sourceRoot":"","sources":["../../../src/types/overlay/overlay-protocol.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,kBAAkB,CAAC;AAEtD;;;GAGG;AACH,oBAAY,kBAAkB;IAC5B,gDAAgD;IAChD,WAAW,+BAA+B;IAC1C,qDAAqD;IACrD,WAAW,+BAA+B;IAC1C,yDAAyD;IACzD,eAAe,oCAAoC;IACnD,mDAAmD;IACnD,eAAe,oCAAoC;IACnD,iDAAiD;IACjD,cAAc,kCAAkC;IAChD,2EAA2E;IAC3E,iBAAi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