@epam/ai-dial-chat-shared 1.2.0-dev.253 → 1.2.0-dev.256

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/index.d.ts CHANGED
@@ -194,6 +194,32 @@ export declare interface AvatarColorEntry {
194
194
  foreground: string;
195
195
  }
196
196
 
197
+ /**
198
+ * Server-owned association between an assistant message and the DIAL Core background job
199
+ * producing it. Present only on messages generated through the background path; its
200
+ * `generationId` identifies the message across saves, because messages have no ids.
201
+ */
202
+ export declare interface BackgroundGeneration {
203
+ /** Client-supplied generation id of the request that started the job. */
204
+ generationId: string;
205
+ /** Current lifecycle status of the job's message. */
206
+ status: BackgroundGenerationStatus;
207
+ /** Server time (epoch ms) at which the pending placeholder was saved. */
208
+ startedAt: number;
209
+ }
210
+
211
+ /** Lifecycle status of an assistant message generated by a DIAL Core background Responses job. */
212
+ export declare enum BackgroundGenerationStatus {
213
+ /** The job is running (or its result has not been saved yet); the message is still being generated. */
214
+ Pending = "pending",
215
+ /** The job finished and its final answer is saved. */
216
+ Completed = "completed",
217
+ /** The user stopped the generation; the message holds whatever output was available. */
218
+ Stopped = "stopped",
219
+ /** The job failed, expired, or could not be started; see `streamErrorMessage`. */
220
+ Failed = "failed"
221
+ }
222
+
197
223
  /** Decodes an inline `data` payload into a `Blob` of `mimeType`, treating the payload as raw UTF-8 text when it is not valid base64. */
198
224
  export declare const base64ToBlob: (data: string, mimeType: string) => Blob;
199
225
 
@@ -2001,6 +2027,8 @@ export declare interface Message {
2001
2027
  streamErrorMessage?: string;
2002
2028
  /** Set on an assistant message whose generation the user stopped; the content is whatever had streamed by then. */
2003
2029
  wasStoppedByUser?: boolean;
2030
+ /** Set on an assistant message produced by a DIAL Core background job; absent on every other message. */
2031
+ backgroundGeneration?: BackgroundGeneration;
2004
2032
  /** Allows extra SDK-level properties to pass through when serializing to DIAL Core. */
2005
2033
  [key: string]: unknown;
2006
2034
  }
package/index.js CHANGED
@@ -1,74 +1,74 @@
1
1
  import { ConversationTransferErrorCode as e, ConversationTransferJobStatus as t, ConversationTransferSubjectKind as n, ConversationTransferUnitKind as r, ConversationTransferWarningCode as i } from "./models/conversation-transfer.js";
2
2
  import { FilterTab as a } from "./models/conversation-classification.js";
3
- import { MessageRating as o, MessageRole as s, RequestStatus as c, StageStatus as l, StatusEvent as u } from "./models/chat.js";
4
- import { ResponseFormat as d } from "./models/deployment-features.js";
5
- import { AttachmentErrorReason as f, AttachmentType as p } from "./types/attachment.js";
6
- import { CatalogEntityType as m } from "./types/entity-type.js";
7
- import { FileExtension as h, MIMEType as g } from "./types/mime-type.js";
8
- import { CodeBlockTheme as _ } from "./types/code-editor.js";
9
- import { MIME_TYPE_ALIASES as v, MIME_TYPE_AUDIO_PREFIX as y, MIME_TYPE_EXT_MAP as b, MIME_TYPE_WILDCARD as x } from "./constants/mime-types.js";
10
- import { getAttachmentTypeFromMime as S, getBaseMimeType as C, inferMimeTypeFromPath as w, normalizeMimeType as T, stripUrlQueryAndFragment as E } from "./utils/mime-type.js";
11
- import { isAnnotationSelector as D, normalizePersistedHtmlTagAttachmentType as O, normalizeRawAnnotations as k } from "./utils/annotation.js";
12
- import { PROHIBITED_CONVERSATION_NAME_CHARS_RE as A, getUtf8ByteLength as j, sanitizeConversationName as M, stripTrailingDots as N, truncateToUtf8Bytes as P } from "./utils/string-utils.js";
13
- import { ENTITY_DESCRIPTION_MAX_LENGTH as F, ENTITY_INSTRUCTIONS_MAX_LENGTH as I, ENTITY_NAME_MAX_LENGTH as L, exceedsMaxLength as R, hasControlCharacters as z } from "./utils/entity-field-limits.js";
14
- import { mergeClasses as B } from "./utils/merge-class.js";
15
- import { buildCssVars as V } from "./utils/build-css-vars.js";
16
- import { isStatusMessage as H } from "./utils/message.js";
17
- import { messageAttachmentToDisplayAttachment as U, messageAttachmentsToDisplayAttachments as W } from "./utils/message-attachment-to-display.js";
18
- import { isAudioTranscriptionSupported as G } from "./utils/is-audio-transcription-supported.js";
19
- import { copyMarkdownAsRichText as K, copyToClipboard as q, markdownToRichTextHtml as J } from "./utils/copy-to-clipboard.js";
20
- import { formatLastUsed as Y } from "./utils/format-last-used.js";
21
- import { formatFileSize as X } from "./utils/format-file-size.js";
22
- import { formatCost as Z, formatPrice as Q, formatUnitPrice as $ } from "./utils/format-price.js";
23
- import { base64ToBlob as ee, downloadTextFile as te, ensureDownloadFilename as ne, getFileExtensionForLanguage as re, triggerAnchorDownload as ie, triggerBlobDownload as ae, tryBase64ToBytes as oe } from "./utils/file-download.js";
24
- import { isSyntaxHighlightingAllowed as se } from "./utils/syntax-highlighting.js";
25
- import { ENTITY_TYPE_BG_COLOR as ce, ENTITY_TYPE_COLOR as le } from "./constants/entity-colors.js";
26
- import { PROMPT_PARAM_DEFAULT_SEPARATOR as ue, PROMPT_PARAM_PATTERN as de, PROMPT_VARIABLE_CLASS_NAME as fe, buildPromptParamDefaults as pe, extractPromptParams as me, rehypePromptVariables as he, resolvePromptParams as ge } from "./utils/prompt-variables.js";
27
- import { generateUUID as _e } from "./utils/generate-uuid.js";
28
- import { BASE_LG_ICON_PROPS as ve, BASE_MD_ICON_PROPS as ye } from "./constants/icon.js";
29
- import { HIDDEN_FILE as be, PUBLIC_BUCKET as xe } from "./constants/dial.js";
30
- import { TAG_INPUT_TAG_CLASS_NAME as Se } from "./constants/tag-input.js";
31
- import { MARKDOWN_EDITOR_FILL_HEIGHT_CLASS_NAME as Ce, MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME as we, RESIZABLE_FIELD_MAX_HEIGHT_CSS_VARIABLE as Te, RESIZABLE_TEXTAREA_CLASS_NAME as Ee } from "./constants/resizable-fields.js";
32
- import { MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME as De } from "./constants/markdown-editor.js";
33
- import { SELECT_LIST_MAX_HEIGHT_CLASS_NAME as Oe, SELECT_LIST_MAX_HEIGHT_PX as ke } from "./constants/select-list.js";
34
- import { DESKTOP_BREAKPOINT_PX as Ae, DESKTOP_MEDIA_QUERY as je, MOBILE_MAX_WIDTH_PX as Me, MOBILE_MEDIA_QUERY as Ne } from "./constants/breakpoint.js";
35
- import { InitialsAvatar as Pe } from "./components/InitialsAvatar/InitialsAvatar.js";
36
- import { DeploymentIcon as Fe } from "./components/DeploymentIcon/DeploymentIcon.js";
37
- import { CopyButton as Ie, CopyIconButton as Le } from "./components/CopyButton/CopyButton.js";
38
- import { extractInitials as Re } from "./utils/initials.js";
39
- import { pickAvatarColor as ze } from "./utils/avatar-color.js";
40
- import { PanelEmptyState as Be } from "./components/PanelEmptyState/PanelEmptyState.js";
41
- import { ItemHeader as Ve } from "./components/ItemHeader/ItemHeader.js";
42
- import { EntityTypeLabel as He } from "./components/EntityTypeLabel/EntityTypeLabel.js";
43
- import { FeaturedChip as Ue } from "./components/FeaturedChip/FeaturedChip.js";
44
- import { EntityHeader as We } from "./components/EntityHeader/EntityHeader.js";
45
- import { ResourceSummary as Ge } from "./components/ResourceSummary/ResourceSummary.js";
46
- import { ConfirmationIdentityCard as Ke } from "./components/ConfirmationIdentityCard/ConfirmationIdentityCard.js";
47
- import { ConfirmationIdentityRow as qe } from "./components/ConfirmationIdentityRow/ConfirmationIdentityRow.js";
48
- import { ConfirmationView as Je } from "./components/ConfirmationView/ConfirmationView.js";
49
- import { ConfirmationFooter as Ye } from "./components/ConfirmationView/ConfirmationFooter.js";
50
- import { ConfirmationDialog as Xe } from "./components/ConfirmationDialog/ConfirmationDialog.js";
51
- import { TableHeader as Ze } from "./components/MarkdownRenderer/Table/TableHeader.js";
52
- import { TextRefinementState as Qe, useTextRefinement as $e } from "./hooks/useTextRefinement.js";
53
- import { TextRefinementField as et } from "./components/TextRefinementField/TextRefinementField.js";
54
- import { CHAT_SHARED_CLASS as tt } from "./constants/public-class-names.js";
55
- import { useCodeCopy as nt } from "./hooks/useCodeCopy.js";
56
- import { restrainedSyntaxTheme as rt } from "./components/MarkdownRenderer/CodeBlock/syntax-theme.js";
57
- import { MarkdownCodeBlock as it } from "./components/MarkdownRenderer/CodeBlock/CodeBlock.js";
58
- import { DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME as at, MARKDOWN_TABLE_CSV_MIME_TYPE as ot, MarkdownTableCopyFormat as st, serializeMarkdownTableRows as ct } from "./components/MarkdownRenderer/Table/table-serialization.js";
59
- import { MarkdownTable as lt } from "./components/MarkdownRenderer/Table/MarkdownTable.js";
60
- import { MarkdownRenderer as ut, defaultMarkdownComponents as dt } from "./components/MarkdownRenderer/MarkdownRenderer.js";
61
- import { COMPACT_MARKDOWN_CLASS_NAMES as ft, DEFAULT_MARKDOWN_CLASS_NAMES as pt } from "./components/MarkdownRenderer/markdown-class-names.js";
62
- import { PlainTextRenderer as mt } from "./components/MarkdownRenderer/PlainTextRenderer.js";
63
- import { MDMessageViewer as ht } from "./components/MarkdownRenderer/MDMessageViewer.js";
64
- import { MarkdownWithPlaceholders as gt } from "./components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.js";
65
- import { useCollapsedText as _t } from "./hooks/useCollapsedText.js";
66
- import { useAvailableHeightCap as vt } from "./hooks/useAvailableHeightCap.js";
67
- import { useIsMobile as yt } from "./hooks/useIsMobile.js";
68
- import { DialFileManagerActionProfile as bt, DialFileManagerVariant as xt } from "./file-manager/file-manager-variant.js";
69
- import { getParentFolderPath as St, isHiddenPath as Ct } from "./file-manager/path.js";
70
- import { FileUploadStatus as wt, isUploadInProgress as Tt } from "./file-manager/upload-batch.js";
71
- import { useGridEditingScroll as Et } from "./file-manager/useGridEditingScroll/useGridEditingScroll.js";
72
- import { OperationLoaderModal as Dt } from "./file-manager/OperationLoaderModal/OperationLoaderModal.js";
73
- import { isSkillSelectionUnsupported as Ot } from "./utils/is-skill-selection-unsupported.js";
74
- export { f as AttachmentErrorReason, p as AttachmentType, ve as BASE_LG_ICON_PROPS, ye as BASE_MD_ICON_PROPS, tt as CHAT_SHARED_CLASS, ft as COMPACT_MARKDOWN_CLASS_NAMES, m as CatalogEntityType, _ as CodeBlockTheme, Xe as ConfirmationDialog, Ye as ConfirmationFooter, Ke as ConfirmationIdentityCard, qe as ConfirmationIdentityRow, Je as ConfirmationView, e as ConversationTransferErrorCode, t as ConversationTransferJobStatus, n as ConversationTransferSubjectKind, r as ConversationTransferUnitKind, i as ConversationTransferWarningCode, Ie as CopyButton, Le as CopyIconButton, pt as DEFAULT_MARKDOWN_CLASS_NAMES, at as DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME, Ae as DESKTOP_BREAKPOINT_PX, je as DESKTOP_MEDIA_QUERY, Fe as DeploymentIcon, bt as DialFileManagerActionProfile, xt as DialFileManagerVariant, F as ENTITY_DESCRIPTION_MAX_LENGTH, I as ENTITY_INSTRUCTIONS_MAX_LENGTH, L as ENTITY_NAME_MAX_LENGTH, ce as ENTITY_TYPE_BG_COLOR, le as ENTITY_TYPE_COLOR, We as EntityHeader, He as EntityTypeLabel, Ue as FeaturedChip, h as FileExtension, wt as FileUploadStatus, a as FilterTab, be as HIDDEN_FILE, Pe as InitialsAvatar, Ve as ItemHeader, Ce as MARKDOWN_EDITOR_FILL_HEIGHT_CLASS_NAME, we as MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME, De as MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME, ot as MARKDOWN_TABLE_CSV_MIME_TYPE, ht as MDMessageViewer, g as MIMEType, v as MIME_TYPE_ALIASES, y as MIME_TYPE_AUDIO_PREFIX, b as MIME_TYPE_EXT_MAP, x as MIME_TYPE_WILDCARD, Me as MOBILE_MAX_WIDTH_PX, Ne as MOBILE_MEDIA_QUERY, it as MarkdownCodeBlock, ut as MarkdownRenderer, lt as MarkdownTable, st as MarkdownTableCopyFormat, gt as MarkdownWithPlaceholders, o as MessageRating, s as MessageRole, Dt as OperationLoaderModal, A as PROHIBITED_CONVERSATION_NAME_CHARS_RE, ue as PROMPT_PARAM_DEFAULT_SEPARATOR, de as PROMPT_PARAM_PATTERN, fe as PROMPT_VARIABLE_CLASS_NAME, xe as PUBLIC_BUCKET, Be as PanelEmptyState, mt as PlainTextRenderer, Te as RESIZABLE_FIELD_MAX_HEIGHT_CSS_VARIABLE, Ee as RESIZABLE_TEXTAREA_CLASS_NAME, c as RequestStatus, Ge as ResourceSummary, d as ResponseFormat, Oe as SELECT_LIST_MAX_HEIGHT_CLASS_NAME, ke as SELECT_LIST_MAX_HEIGHT_PX, l as StageStatus, u as StatusEvent, Se as TAG_INPUT_TAG_CLASS_NAME, Ze as TableHeader, et as TextRefinementField, Qe as TextRefinementState, ee as base64ToBlob, V as buildCssVars, pe as buildPromptParamDefaults, K as copyMarkdownAsRichText, q as copyToClipboard, dt as defaultMarkdownComponents, te as downloadTextFile, ne as ensureDownloadFilename, R as exceedsMaxLength, Re as extractInitials, me as extractPromptParams, Z as formatCost, X as formatFileSize, Y as formatLastUsed, Q as formatPrice, $ as formatUnitPrice, _e as generateUUID, S as getAttachmentTypeFromMime, C as getBaseMimeType, re as getFileExtensionForLanguage, St as getParentFolderPath, j as getUtf8ByteLength, z as hasControlCharacters, w as inferMimeTypeFromPath, D as isAnnotationSelector, G as isAudioTranscriptionSupported, Ct as isHiddenPath, Ot as isSkillSelectionUnsupported, H as isStatusMessage, se as isSyntaxHighlightingAllowed, Tt as isUploadInProgress, J as markdownToRichTextHtml, B as mergeClasses, U as messageAttachmentToDisplayAttachment, W as messageAttachmentsToDisplayAttachments, T as normalizeMimeType, O as normalizePersistedHtmlTagAttachmentType, k as normalizeRawAnnotations, ze as pickAvatarColor, he as rehypePromptVariables, ge as resolvePromptParams, rt as restrainedSyntaxTheme, M as sanitizeConversationName, ct as serializeMarkdownTableRows, N as stripTrailingDots, E as stripUrlQueryAndFragment, ie as triggerAnchorDownload, ae as triggerBlobDownload, P as truncateToUtf8Bytes, oe as tryBase64ToBytes, vt as useAvailableHeightCap, nt as useCodeCopy, _t as useCollapsedText, Et as useGridEditingScroll, yt as useIsMobile, $e as useTextRefinement };
3
+ import { BackgroundGenerationStatus as o, MessageRating as s, MessageRole as c, RequestStatus as l, StageStatus as u, StatusEvent as d } from "./models/chat.js";
4
+ import { ResponseFormat as f } from "./models/deployment-features.js";
5
+ import { AttachmentErrorReason as p, AttachmentType as m } from "./types/attachment.js";
6
+ import { CatalogEntityType as h } from "./types/entity-type.js";
7
+ import { FileExtension as g, MIMEType as _ } from "./types/mime-type.js";
8
+ import { CodeBlockTheme as v } from "./types/code-editor.js";
9
+ import { MIME_TYPE_ALIASES as y, MIME_TYPE_AUDIO_PREFIX as b, MIME_TYPE_EXT_MAP as x, MIME_TYPE_WILDCARD as S } from "./constants/mime-types.js";
10
+ import { getAttachmentTypeFromMime as C, getBaseMimeType as w, inferMimeTypeFromPath as T, normalizeMimeType as E, stripUrlQueryAndFragment as D } from "./utils/mime-type.js";
11
+ import { isAnnotationSelector as O, normalizePersistedHtmlTagAttachmentType as k, normalizeRawAnnotations as A } from "./utils/annotation.js";
12
+ import { PROHIBITED_CONVERSATION_NAME_CHARS_RE as j, getUtf8ByteLength as M, sanitizeConversationName as N, stripTrailingDots as P, truncateToUtf8Bytes as F } from "./utils/string-utils.js";
13
+ import { ENTITY_DESCRIPTION_MAX_LENGTH as I, ENTITY_INSTRUCTIONS_MAX_LENGTH as L, ENTITY_NAME_MAX_LENGTH as R, exceedsMaxLength as z, hasControlCharacters as B } from "./utils/entity-field-limits.js";
14
+ import { mergeClasses as V } from "./utils/merge-class.js";
15
+ import { buildCssVars as H } from "./utils/build-css-vars.js";
16
+ import { isStatusMessage as U } from "./utils/message.js";
17
+ import { messageAttachmentToDisplayAttachment as W, messageAttachmentsToDisplayAttachments as G } from "./utils/message-attachment-to-display.js";
18
+ import { isAudioTranscriptionSupported as K } from "./utils/is-audio-transcription-supported.js";
19
+ import { copyMarkdownAsRichText as q, copyToClipboard as J, markdownToRichTextHtml as Y } from "./utils/copy-to-clipboard.js";
20
+ import { formatLastUsed as X } from "./utils/format-last-used.js";
21
+ import { formatFileSize as Z } from "./utils/format-file-size.js";
22
+ import { formatCost as Q, formatPrice as $, formatUnitPrice as ee } from "./utils/format-price.js";
23
+ import { base64ToBlob as te, downloadTextFile as ne, ensureDownloadFilename as re, getFileExtensionForLanguage as ie, triggerAnchorDownload as ae, triggerBlobDownload as oe, tryBase64ToBytes as se } from "./utils/file-download.js";
24
+ import { isSyntaxHighlightingAllowed as ce } from "./utils/syntax-highlighting.js";
25
+ import { ENTITY_TYPE_BG_COLOR as le, ENTITY_TYPE_COLOR as ue } from "./constants/entity-colors.js";
26
+ import { PROMPT_PARAM_DEFAULT_SEPARATOR as de, PROMPT_PARAM_PATTERN as fe, PROMPT_VARIABLE_CLASS_NAME as pe, buildPromptParamDefaults as me, extractPromptParams as he, rehypePromptVariables as ge, resolvePromptParams as _e } from "./utils/prompt-variables.js";
27
+ import { generateUUID as ve } from "./utils/generate-uuid.js";
28
+ import { BASE_LG_ICON_PROPS as ye, BASE_MD_ICON_PROPS as be } from "./constants/icon.js";
29
+ import { HIDDEN_FILE as xe, PUBLIC_BUCKET as Se } from "./constants/dial.js";
30
+ import { TAG_INPUT_TAG_CLASS_NAME as Ce } from "./constants/tag-input.js";
31
+ import { MARKDOWN_EDITOR_FILL_HEIGHT_CLASS_NAME as we, MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME as Te, RESIZABLE_FIELD_MAX_HEIGHT_CSS_VARIABLE as Ee, RESIZABLE_TEXTAREA_CLASS_NAME as De } from "./constants/resizable-fields.js";
32
+ import { MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME as Oe } from "./constants/markdown-editor.js";
33
+ import { SELECT_LIST_MAX_HEIGHT_CLASS_NAME as ke, SELECT_LIST_MAX_HEIGHT_PX as Ae } from "./constants/select-list.js";
34
+ import { DESKTOP_BREAKPOINT_PX as je, DESKTOP_MEDIA_QUERY as Me, MOBILE_MAX_WIDTH_PX as Ne, MOBILE_MEDIA_QUERY as Pe } from "./constants/breakpoint.js";
35
+ import { InitialsAvatar as Fe } from "./components/InitialsAvatar/InitialsAvatar.js";
36
+ import { DeploymentIcon as Ie } from "./components/DeploymentIcon/DeploymentIcon.js";
37
+ import { CopyButton as Le, CopyIconButton as Re } from "./components/CopyButton/CopyButton.js";
38
+ import { extractInitials as ze } from "./utils/initials.js";
39
+ import { pickAvatarColor as Be } from "./utils/avatar-color.js";
40
+ import { PanelEmptyState as Ve } from "./components/PanelEmptyState/PanelEmptyState.js";
41
+ import { ItemHeader as He } from "./components/ItemHeader/ItemHeader.js";
42
+ import { EntityTypeLabel as Ue } from "./components/EntityTypeLabel/EntityTypeLabel.js";
43
+ import { FeaturedChip as We } from "./components/FeaturedChip/FeaturedChip.js";
44
+ import { EntityHeader as Ge } from "./components/EntityHeader/EntityHeader.js";
45
+ import { ResourceSummary as Ke } from "./components/ResourceSummary/ResourceSummary.js";
46
+ import { ConfirmationIdentityCard as qe } from "./components/ConfirmationIdentityCard/ConfirmationIdentityCard.js";
47
+ import { ConfirmationIdentityRow as Je } from "./components/ConfirmationIdentityRow/ConfirmationIdentityRow.js";
48
+ import { ConfirmationView as Ye } from "./components/ConfirmationView/ConfirmationView.js";
49
+ import { ConfirmationFooter as Xe } from "./components/ConfirmationView/ConfirmationFooter.js";
50
+ import { ConfirmationDialog as Ze } from "./components/ConfirmationDialog/ConfirmationDialog.js";
51
+ import { TableHeader as Qe } from "./components/MarkdownRenderer/Table/TableHeader.js";
52
+ import { TextRefinementState as $e, useTextRefinement as et } from "./hooks/useTextRefinement.js";
53
+ import { TextRefinementField as tt } from "./components/TextRefinementField/TextRefinementField.js";
54
+ import { CHAT_SHARED_CLASS as nt } from "./constants/public-class-names.js";
55
+ import { useCodeCopy as rt } from "./hooks/useCodeCopy.js";
56
+ import { restrainedSyntaxTheme as it } from "./components/MarkdownRenderer/CodeBlock/syntax-theme.js";
57
+ import { MarkdownCodeBlock as at } from "./components/MarkdownRenderer/CodeBlock/CodeBlock.js";
58
+ import { DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME as ot, MARKDOWN_TABLE_CSV_MIME_TYPE as st, MarkdownTableCopyFormat as ct, serializeMarkdownTableRows as lt } from "./components/MarkdownRenderer/Table/table-serialization.js";
59
+ import { MarkdownTable as ut } from "./components/MarkdownRenderer/Table/MarkdownTable.js";
60
+ import { MarkdownRenderer as dt, defaultMarkdownComponents as ft } from "./components/MarkdownRenderer/MarkdownRenderer.js";
61
+ import { COMPACT_MARKDOWN_CLASS_NAMES as pt, DEFAULT_MARKDOWN_CLASS_NAMES as mt } from "./components/MarkdownRenderer/markdown-class-names.js";
62
+ import { PlainTextRenderer as ht } from "./components/MarkdownRenderer/PlainTextRenderer.js";
63
+ import { MDMessageViewer as gt } from "./components/MarkdownRenderer/MDMessageViewer.js";
64
+ import { MarkdownWithPlaceholders as _t } from "./components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.js";
65
+ import { useCollapsedText as vt } from "./hooks/useCollapsedText.js";
66
+ import { useAvailableHeightCap as yt } from "./hooks/useAvailableHeightCap.js";
67
+ import { useIsMobile as bt } from "./hooks/useIsMobile.js";
68
+ import { DialFileManagerActionProfile as xt, DialFileManagerVariant as St } from "./file-manager/file-manager-variant.js";
69
+ import { getParentFolderPath as Ct, isHiddenPath as wt } from "./file-manager/path.js";
70
+ import { FileUploadStatus as Tt, isUploadInProgress as Et } from "./file-manager/upload-batch.js";
71
+ import { useGridEditingScroll as Dt } from "./file-manager/useGridEditingScroll/useGridEditingScroll.js";
72
+ import { OperationLoaderModal as Ot } from "./file-manager/OperationLoaderModal/OperationLoaderModal.js";
73
+ import { isSkillSelectionUnsupported as kt } from "./utils/is-skill-selection-unsupported.js";
74
+ export { p as AttachmentErrorReason, m as AttachmentType, ye as BASE_LG_ICON_PROPS, be as BASE_MD_ICON_PROPS, o as BackgroundGenerationStatus, nt as CHAT_SHARED_CLASS, pt as COMPACT_MARKDOWN_CLASS_NAMES, h as CatalogEntityType, v as CodeBlockTheme, Ze as ConfirmationDialog, Xe as ConfirmationFooter, qe as ConfirmationIdentityCard, Je as ConfirmationIdentityRow, Ye as ConfirmationView, e as ConversationTransferErrorCode, t as ConversationTransferJobStatus, n as ConversationTransferSubjectKind, r as ConversationTransferUnitKind, i as ConversationTransferWarningCode, Le as CopyButton, Re as CopyIconButton, mt as DEFAULT_MARKDOWN_CLASS_NAMES, ot as DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME, je as DESKTOP_BREAKPOINT_PX, Me as DESKTOP_MEDIA_QUERY, Ie as DeploymentIcon, xt as DialFileManagerActionProfile, St as DialFileManagerVariant, I as ENTITY_DESCRIPTION_MAX_LENGTH, L as ENTITY_INSTRUCTIONS_MAX_LENGTH, R as ENTITY_NAME_MAX_LENGTH, le as ENTITY_TYPE_BG_COLOR, ue as ENTITY_TYPE_COLOR, Ge as EntityHeader, Ue as EntityTypeLabel, We as FeaturedChip, g as FileExtension, Tt as FileUploadStatus, a as FilterTab, xe as HIDDEN_FILE, Fe as InitialsAvatar, He as ItemHeader, we as MARKDOWN_EDITOR_FILL_HEIGHT_CLASS_NAME, Te as MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME, Oe as MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME, st as MARKDOWN_TABLE_CSV_MIME_TYPE, gt as MDMessageViewer, _ as MIMEType, y as MIME_TYPE_ALIASES, b as MIME_TYPE_AUDIO_PREFIX, x as MIME_TYPE_EXT_MAP, S as MIME_TYPE_WILDCARD, Ne as MOBILE_MAX_WIDTH_PX, Pe as MOBILE_MEDIA_QUERY, at as MarkdownCodeBlock, dt as MarkdownRenderer, ut as MarkdownTable, ct as MarkdownTableCopyFormat, _t as MarkdownWithPlaceholders, s as MessageRating, c as MessageRole, Ot as OperationLoaderModal, j as PROHIBITED_CONVERSATION_NAME_CHARS_RE, de as PROMPT_PARAM_DEFAULT_SEPARATOR, fe as PROMPT_PARAM_PATTERN, pe as PROMPT_VARIABLE_CLASS_NAME, Se as PUBLIC_BUCKET, Ve as PanelEmptyState, ht as PlainTextRenderer, Ee as RESIZABLE_FIELD_MAX_HEIGHT_CSS_VARIABLE, De as RESIZABLE_TEXTAREA_CLASS_NAME, l as RequestStatus, Ke as ResourceSummary, f as ResponseFormat, ke as SELECT_LIST_MAX_HEIGHT_CLASS_NAME, Ae as SELECT_LIST_MAX_HEIGHT_PX, u as StageStatus, d as StatusEvent, Ce as TAG_INPUT_TAG_CLASS_NAME, Qe as TableHeader, tt as TextRefinementField, $e as TextRefinementState, te as base64ToBlob, H as buildCssVars, me as buildPromptParamDefaults, q as copyMarkdownAsRichText, J as copyToClipboard, ft as defaultMarkdownComponents, ne as downloadTextFile, re as ensureDownloadFilename, z as exceedsMaxLength, ze as extractInitials, he as extractPromptParams, Q as formatCost, Z as formatFileSize, X as formatLastUsed, $ as formatPrice, ee as formatUnitPrice, ve as generateUUID, C as getAttachmentTypeFromMime, w as getBaseMimeType, ie as getFileExtensionForLanguage, Ct as getParentFolderPath, M as getUtf8ByteLength, B as hasControlCharacters, T as inferMimeTypeFromPath, O as isAnnotationSelector, K as isAudioTranscriptionSupported, wt as isHiddenPath, kt as isSkillSelectionUnsupported, U as isStatusMessage, ce as isSyntaxHighlightingAllowed, Et as isUploadInProgress, Y as markdownToRichTextHtml, V as mergeClasses, W as messageAttachmentToDisplayAttachment, G as messageAttachmentsToDisplayAttachments, E as normalizeMimeType, k as normalizePersistedHtmlTagAttachmentType, A as normalizeRawAnnotations, Be as pickAvatarColor, ge as rehypePromptVariables, _e as resolvePromptParams, it as restrainedSyntaxTheme, N as sanitizeConversationName, lt as serializeMarkdownTableRows, P as stripTrailingDots, D as stripUrlQueryAndFragment, ae as triggerAnchorDownload, oe as triggerBlobDownload, F as truncateToUtf8Bytes, se as tryBase64ToBytes, yt as useAvailableHeightCap, rt as useCodeCopy, vt as useCollapsedText, Dt as useGridEditingScroll, bt as useIsMobile, et as useTextRefinement };
package/models/chat.js CHANGED
@@ -6,9 +6,11 @@ var e = /* @__PURE__ */ function(e) {
6
6
  }({}), n = /* @__PURE__ */ function(e) {
7
7
  return e.Completed = "completed", e.Failed = "failed", e;
8
8
  }({}), r = /* @__PURE__ */ function(e) {
9
- return e.ModelChanged = "model_changed", e;
9
+ return e.Pending = "pending", e.Completed = "completed", e.Stopped = "stopped", e.Failed = "failed", e;
10
10
  }({}), i = /* @__PURE__ */ function(e) {
11
+ return e.ModelChanged = "model_changed", e;
12
+ }({}), a = /* @__PURE__ */ function(e) {
11
13
  return e.Idle = "idle", e.Loading = "loading", e.Error = "error", e;
12
14
  }({});
13
15
  //#endregion
14
- export { t as MessageRating, e as MessageRole, i as RequestStatus, n as StageStatus, r as StatusEvent };
16
+ export { r as BackgroundGenerationStatus, t as MessageRating, e as MessageRole, a as RequestStatus, n as StageStatus, i as StatusEvent };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-chat-shared",
3
3
  "description": "Shared domain models, utilities, and UI components for AI DIAL Chat libraries",
4
- "version": "1.2.0-dev.253",
4
+ "version": "1.2.0-dev.256",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "sideEffects": [
@@ -32,8 +32,8 @@
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": "^19.2.8",
35
- "@epam/ai-dial-ui-kit": "^0.15.0-dev.35",
36
- "@epam/ai-dial-react-file-manager": "^0.3.0-dev.20",
35
+ "@epam/ai-dial-ui-kit": "^0.15.0-dev.36",
36
+ "@epam/ai-dial-react-file-manager": "^0.3.0-dev.22",
37
37
  "ag-grid-community": "^35.3.0"
38
38
  },
39
39
  "peerDependenciesMeta": {