@epam/ai-dial-chat-shared 1.1.0-dev.29 → 1.1.0-dev.293
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/components/CopyButton/CopyButton.d.ts +17 -0
- package/components/CopyButton/CopyButton.d.ts.map +1 -0
- package/components/DeploymentIcon/DeploymentIcon.d.ts +1 -10
- package/components/DeploymentIcon/DeploymentIcon.d.ts.map +1 -1
- package/components/EntityHeader/EntityHeader.d.ts +32 -0
- package/components/EntityHeader/EntityHeader.d.ts.map +1 -0
- package/components/EntityTypeLabel/EntityTypeLabel.d.ts +16 -0
- package/components/EntityTypeLabel/EntityTypeLabel.d.ts.map +1 -0
- package/components/FeaturedChip/FeaturedChip.d.ts +14 -0
- package/components/FeaturedChip/FeaturedChip.d.ts.map +1 -0
- package/components/InitialsAvatar/InitialsAvatar.d.ts +3 -4
- package/components/InitialsAvatar/InitialsAvatar.d.ts.map +1 -1
- package/components/ItemHeader/ItemHeader.d.ts +36 -0
- package/components/ItemHeader/ItemHeader.d.ts.map +1 -0
- package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts +10 -7
- package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts.map +1 -1
- package/components/MarkdownRenderer/MDMessageViewer.d.ts +7 -0
- package/components/MarkdownRenderer/MDMessageViewer.d.ts.map +1 -1
- package/components/MarkdownRenderer/MarkdownRenderer.d.ts +23 -12
- package/components/MarkdownRenderer/MarkdownRenderer.d.ts.map +1 -1
- package/components/MarkdownRenderer/Table/MarkdownTable.d.ts +8 -5
- package/components/MarkdownRenderer/Table/MarkdownTable.d.ts.map +1 -1
- package/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.d.ts +1 -5
- package/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.d.ts.map +1 -1
- package/components/MarkdownRenderer/markdown-class-names.d.ts +6 -0
- package/components/MarkdownRenderer/markdown-class-names.d.ts.map +1 -1
- package/components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.d.ts +15 -0
- package/components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.d.ts.map +1 -0
- package/components/ResourceSummary/ResourceSummary.d.ts +49 -0
- package/components/ResourceSummary/ResourceSummary.d.ts.map +1 -0
- package/constants/entity-colors.d.ts +6 -0
- package/constants/entity-colors.d.ts.map +1 -0
- package/constants/icon.d.ts +2 -0
- package/constants/icon.d.ts.map +1 -1
- package/constants/mime-types.d.ts +3 -6
- package/constants/mime-types.d.ts.map +1 -1
- package/hooks/useCodeCopy.d.ts +1 -9
- package/hooks/useCodeCopy.d.ts.map +1 -1
- package/hooks/useCollapsedText.d.ts +3 -7
- package/hooks/useCollapsedText.d.ts.map +1 -1
- package/hooks/useTableScroll.d.ts +1 -0
- package/hooks/useTableScroll.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.d.ts +19 -2
- package/index.d.ts.map +1 -1
- package/index.js +32626 -8227
- package/models/chat.d.ts +81 -38
- package/models/chat.d.ts.map +1 -1
- package/models/conversation-classification.d.ts +9 -0
- package/models/conversation-classification.d.ts.map +1 -0
- package/models/conversation-transfer.d.ts +28 -0
- package/models/conversation-transfer.d.ts.map +1 -0
- package/models/custom-visualizer.d.ts +61 -0
- package/models/custom-visualizer.d.ts.map +1 -0
- package/models/deployment-configuration.d.ts +2 -8
- package/models/deployment-configuration.d.ts.map +1 -1
- package/models/entity.d.ts +15 -0
- package/models/entity.d.ts.map +1 -0
- package/models/tool-menu-item.d.ts +13 -0
- package/models/tool-menu-item.d.ts.map +1 -0
- package/package.json +13 -4
- package/types/entity-type.d.ts +10 -0
- package/types/entity-type.d.ts.map +1 -0
- package/types/mime-type.d.ts +9 -9
- package/types/mime-type.d.ts.map +1 -1
- package/utils/avatar-color.d.ts +3 -6
- package/utils/avatar-color.d.ts.map +1 -1
- package/utils/build-css-vars.d.ts +1 -4
- package/utils/build-css-vars.d.ts.map +1 -1
- package/utils/copy-to-clipboard.d.ts +13 -11
- package/utils/copy-to-clipboard.d.ts.map +1 -1
- package/utils/file-download.d.ts +4 -0
- package/utils/file-download.d.ts.map +1 -1
- package/utils/format-last-used.d.ts +1 -6
- package/utils/format-last-used.d.ts.map +1 -1
- package/utils/format-price.d.ts +7 -0
- package/utils/format-price.d.ts.map +1 -0
- package/utils/generate-uuid.d.ts +3 -0
- package/utils/generate-uuid.d.ts.map +1 -0
- package/utils/initials.d.ts +1 -7
- package/utils/initials.d.ts.map +1 -1
- package/utils/latex.d.ts +11 -0
- package/utils/latex.d.ts.map +1 -0
- package/utils/message-attachment-to-display.d.ts +1 -1
- package/utils/message-attachment-to-display.d.ts.map +1 -1
- package/utils/message.d.ts +1 -7
- package/utils/message.d.ts.map +1 -1
- package/utils/mime-type.d.ts +11 -0
- package/utils/mime-type.d.ts.map +1 -0
- package/utils/prompt-variables.d.ts +38 -0
- package/utils/prompt-variables.d.ts.map +1 -0
- package/utils/string-utils.d.ts +6 -0
- package/utils/string-utils.d.ts.map +1 -1
- package/components/Highlight/Highlight.d.ts +0 -26
- package/components/Highlight/Highlight.d.ts.map +0 -1
- package/types/overlay/overlay-protocol.d.ts +0 -308
- package/types/overlay/overlay-protocol.d.ts.map +0 -1
package/utils/initials.d.ts
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Returns 1–2 uppercase initials derived from a display name.
|
|
3
|
-
*
|
|
4
|
-
* - Empty/whitespace-only → `"?"`
|
|
5
|
-
* - Two or more words → first letter of each of the first two words (skipping leading punctuation like `[` or `(`)
|
|
6
|
-
* - Single word → first two letter characters of that word
|
|
7
|
-
*/
|
|
1
|
+
/** Returns 1–2 uppercase initials derived from a display name, or `'?'` when the name is empty. */
|
|
8
2
|
export declare const extractInitials: (name: string) => string;
|
|
9
3
|
//# sourceMappingURL=initials.d.ts.map
|
package/utils/initials.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initials.d.ts","sourceRoot":"","sources":["../../src/utils/initials.ts"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"initials.d.ts","sourceRoot":"","sources":["../../src/utils/initials.ts"],"names":[],"mappings":"AAGA,mGAAmG;AACnG,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,KAAG,MAa9C,CAAC"}
|
package/utils/latex.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Escapes currency-looking dollar signs and converts single-dollar LaTeX math delimiters
|
|
3
|
+
* (`$...$`) to the double-dollar form (`$$...$$`) that `remark-math`/KaTeX render, leaving
|
|
4
|
+
* code blocks and already-escaped `\$` untouched.
|
|
5
|
+
*
|
|
6
|
+
* The `\(...\)`/`\[...\]` delimiters LLMs commonly emit are deliberately left as-is: they are
|
|
7
|
+
* recognized directly by `micromark-extension-llm-math`, which the consuming app's bundler
|
|
8
|
+
* config aliases in place of the default `micromark-extension-math` used by `remark-math`.
|
|
9
|
+
*/
|
|
10
|
+
export declare const preprocessLaTeX: (content: string) => string;
|
|
11
|
+
//# sourceMappingURL=latex.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"latex.d.ts","sourceRoot":"","sources":["../../src/utils/latex.ts"],"names":[],"mappings":"AA8EA;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,GAAI,SAAS,MAAM,KAAG,MAuCjD,CAAC"}
|
|
@@ -17,6 +17,6 @@ export interface AttachmentDisplayResolvers {
|
|
|
17
17
|
* the optional `resolvers` argument rather than performed here.
|
|
18
18
|
*/
|
|
19
19
|
export declare const messageAttachmentToDisplayAttachment: (dto: MessageAttachment, resolvers?: AttachmentDisplayResolvers) => DisplayAttachment;
|
|
20
|
-
/** Maps a list of {@link MessageAttachment} DTOs to display-only attachment models. */
|
|
20
|
+
/** Maps a list of {@link MessageAttachment} DTOs to display-only attachment models. Entries with duplicate `id` values are deduplicated — first occurrence wins. */
|
|
21
21
|
export declare const messageAttachmentsToDisplayAttachments: (dtos: MessageAttachment[] | undefined, resolvers?: AttachmentDisplayResolvers) => DisplayAttachment[];
|
|
22
22
|
//# sourceMappingURL=message-attachment-to-display.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-attachment-to-display.d.ts","sourceRoot":"","sources":["../../src/utils/message-attachment-to-display.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACvB,MAAM,gBAAgB,CAAC;AAIxB;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACzC,gFAAgF;IAChF,iBAAiB,CAAC,CAAC,GAAG,EAAE,iBAAiB,GAAG,MAAM,GAAG,SAAS,CAAC;IAC/D,iFAAiF;IACjF,cAAc,CAAC,CAAC,GAAG,EAAE,iBAAiB,GAAG,MAAM,GAAG,SAAS,CAAC;CAC7D;
|
|
1
|
+
{"version":3,"file":"message-attachment-to-display.d.ts","sourceRoot":"","sources":["../../src/utils/message-attachment-to-display.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACvB,MAAM,gBAAgB,CAAC;AAIxB;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACzC,gFAAgF;IAChF,iBAAiB,CAAC,CAAC,GAAG,EAAE,iBAAiB,GAAG,MAAM,GAAG,SAAS,CAAC;IAC/D,iFAAiF;IACjF,cAAc,CAAC,CAAC,GAAG,EAAE,iBAAiB,GAAG,MAAM,GAAG,SAAS,CAAC;CAC7D;AAYD;;;;;GAKG;AACH,eAAO,MAAM,oCAAoC,GAC/C,KAAK,iBAAiB,EACtB,YAAW,0BAA+B,KACzC,iBA4CF,CAAC;AAEF,oKAAoK;AACpK,eAAO,MAAM,sCAAsC,GACjD,MAAM,iBAAiB,EAAE,GAAG,SAAS,EACrC,YAAW,0BAA+B,KACzC,iBAAiB,EAYnB,CAAC"}
|
package/utils/message.d.ts
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import { Message, StatusMessage } from '../models/chat';
|
|
2
|
-
/**
|
|
3
|
-
* Narrows a `Message` to `StatusMessage` when its role is `MessageRole.Status`.
|
|
4
|
-
* The parameter accepts `Message | StatusMessage` because `StatusMessage.custom_content`
|
|
5
|
-
* is not assignable to `Message.custom_content`, so `StatusMessage` cannot be a
|
|
6
|
-
* structural subtype of `Message`. Callers with `Message`-typed values can still pass
|
|
7
|
-
* them directly since `Message` is assignable to the union.
|
|
8
|
-
*/
|
|
2
|
+
/** Returns `true` when `msg` is a `StatusMessage`. */
|
|
9
3
|
export declare const isStatusMessage: (msg: Message | StatusMessage) => msg is StatusMessage;
|
|
10
4
|
//# sourceMappingURL=message.d.ts.map
|
package/utils/message.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../src/utils/message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/E
|
|
1
|
+
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../src/utils/message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/E,sDAAsD;AACtD,eAAO,MAAM,eAAe,GAC1B,KAAK,OAAO,GAAG,aAAa,KAC3B,GAAG,IAAI,aAAgD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AttachmentType } from '../types/attachment';
|
|
2
|
+
import { MIMEType } from '../types/mime-type';
|
|
3
|
+
/**
|
|
4
|
+
* Infers a `MIMEType` from a file path's extension, ignoring any query string
|
|
5
|
+
* or `#` fragment. Returns `undefined` when the path has no extension or the
|
|
6
|
+
* extension is not recognized.
|
|
7
|
+
*/
|
|
8
|
+
export declare const inferMimeTypeFromPath: (path: string) => MIMEType | undefined;
|
|
9
|
+
/** Classifies a MIME type into an `AttachmentType` by prefix (`image/*` / `audio/*`), defaulting to `File`. */
|
|
10
|
+
export declare const getAttachmentTypeFromMime: (mimeType: string | undefined) => AttachmentType;
|
|
11
|
+
//# sourceMappingURL=mime-type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mime-type.d.ts","sourceRoot":"","sources":["../../src/utils/mime-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAoF9C;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAAI,MAAM,MAAM,KAAG,QAAQ,GAAG,SAM/D,CAAC;AAEF,+GAA+G;AAC/G,eAAO,MAAM,yBAAyB,GACpC,UAAU,MAAM,GAAG,SAAS,KAC3B,cAIF,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Matches a `{{name}}` placeholder. The inner run excludes braces so a stray
|
|
3
|
+
* `{{` cannot swallow the rest of the document, and it must be non-empty so a
|
|
4
|
+
* literal `{{}}` stays plain text.
|
|
5
|
+
*/
|
|
6
|
+
export declare const PROMPT_PARAM_PATTERN: RegExp;
|
|
7
|
+
/** Class applied to each highlighted placeholder. The host owns its styling. */
|
|
8
|
+
export declare const PROMPT_VARIABLE_CLASS_NAME = "cat-prompt-variable";
|
|
9
|
+
/** Minimal hast shapes this plugin reads and writes. */
|
|
10
|
+
interface HastNode {
|
|
11
|
+
type: string;
|
|
12
|
+
tagName?: string;
|
|
13
|
+
value?: string;
|
|
14
|
+
properties?: Record<string, unknown>;
|
|
15
|
+
children?: HastNode[];
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Rehype plugin that wraps every `{{name}}` placeholder in a span so it can be
|
|
19
|
+
* styled apart from the surrounding prose. Placeholders inside code are left
|
|
20
|
+
* alone.
|
|
21
|
+
*
|
|
22
|
+
* The spans are built as hast nodes rather than injected as raw HTML, so a
|
|
23
|
+
* placeholder that contains markup cannot escape into the document.
|
|
24
|
+
*/
|
|
25
|
+
export declare const rehypePromptVariables: () => (tree: HastNode) => void;
|
|
26
|
+
/**
|
|
27
|
+
* Returns the distinct `{{param}}` names found in `content`, in first-occurrence
|
|
28
|
+
* order. Single-brace sequences (e.g. `{name}`) are not parameters.
|
|
29
|
+
*/
|
|
30
|
+
export declare const extractPromptParams: (content: string) => string[];
|
|
31
|
+
/**
|
|
32
|
+
* Replaces every `{{param}}` occurrence in `content` with the matching entry
|
|
33
|
+
* in `values` (keyed by parameter name). A token whose name is missing from
|
|
34
|
+
* `values` is left unchanged.
|
|
35
|
+
*/
|
|
36
|
+
export declare const resolvePromptParams: (content: string, values: Record<string, string>) => string;
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=prompt-variables.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prompt-variables.d.ts","sourceRoot":"","sources":["../../src/utils/prompt-variables.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,QAAsB,CAAC;AAExD,gFAAgF;AAChF,eAAO,MAAM,0BAA0B,wBAAwB,CAAC;AAEhE,wDAAwD;AACxD,UAAU,QAAQ;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;CACvB;AAoDD;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,SAAU,MAAM,QAAQ,SAEzD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAAI,SAAS,MAAM,KAAG,MAAM,EAW3D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAC9B,SAAS,MAAM,EACf,QAAQ,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAC7B,MAC4E,CAAC"}
|
package/utils/string-utils.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/** Characters prohibited in conversation names: tab, ", :, ;, /, \, ,, =, {, }, %, & */
|
|
2
|
+
export declare const PROHIBITED_CONVERSATION_NAME_CHARS_RE: RegExp;
|
|
3
|
+
/** Strips characters DIAL Core rejects in a conversation name. */
|
|
4
|
+
export declare const sanitizeConversationName: (name: string) => string;
|
|
5
|
+
/** Strips trailing `.` characters from a name. */
|
|
6
|
+
export declare const stripTrailingDots: (name: string) => string;
|
|
1
7
|
/** Returns the UTF-8 byte length of `str`. */
|
|
2
8
|
export declare const getUtf8ByteLength: (str: string) => number;
|
|
3
9
|
/** Truncates `str` to at most `maxBytes` UTF-8 bytes without splitting multi-byte characters. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"string-utils.d.ts","sourceRoot":"","sources":["../../src/utils/string-utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"string-utils.d.ts","sourceRoot":"","sources":["../../src/utils/string-utils.ts"],"names":[],"mappings":"AAAA,wFAAwF;AACxF,eAAO,MAAM,qCAAqC,QAAsB,CAAC;AAEzE,kEAAkE;AAClE,eAAO,MAAM,wBAAwB,GAAI,MAAM,MAAM,KAAG,MACC,CAAC;AAE1D,kDAAkD;AAClD,eAAO,MAAM,iBAAiB,GAAI,MAAM,MAAM,KAAG,MAQhD,CAAC;AAKF,8CAA8C;AAC9C,eAAO,MAAM,iBAAiB,GAAI,KAAK,MAAM,KAAG,MACpB,CAAC;AAE7B,iGAAiG;AACjG,eAAO,MAAM,mBAAmB,GAAI,KAAK,MAAM,EAAE,UAAU,MAAM,KAAG,MAanE,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
/** CSS custom-property overrides for the `Highlight` component. */
|
|
3
|
-
export interface HighlightColors {
|
|
4
|
-
/** Highlighted match text color. */
|
|
5
|
-
text?: string;
|
|
6
|
-
/** Highlighted match background color. */
|
|
7
|
-
background?: string;
|
|
8
|
-
}
|
|
9
|
-
/** Props for `Highlight`. */
|
|
10
|
-
export interface HighlightProps {
|
|
11
|
-
/** Full text to display. */
|
|
12
|
-
text: string;
|
|
13
|
-
/** Search query; the first case-insensitive match is highlighted. */
|
|
14
|
-
query: string;
|
|
15
|
-
/** Optional class name for the highlighted segment. */
|
|
16
|
-
markClassName?: string;
|
|
17
|
-
/** Optional class name forwarded to the `DialEllipsisTooltip` container. */
|
|
18
|
-
className?: string;
|
|
19
|
-
/** Maximum number of lines to display before truncating. Use `1` for single-line ellipsis truncation (e.g. list rows). Defaults to `2`. */
|
|
20
|
-
maxLines?: number;
|
|
21
|
-
/** Color overrides applied as CSS custom properties. */
|
|
22
|
-
colors?: HighlightColors;
|
|
23
|
-
}
|
|
24
|
-
/** Renders text with the first occurrence of `query` wrapped in a highlight mark, with ellipsis truncation and a tooltip when overflowing. */
|
|
25
|
-
export declare const Highlight: FC<HighlightProps>;
|
|
26
|
-
//# sourceMappingURL=Highlight.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Highlight.d.ts","sourceRoot":"","sources":["../../../src/components/Highlight/Highlight.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAK3B,mEAAmE;AACnE,MAAM,WAAW,eAAe;IAC9B,oCAAoC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0CAA0C;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,6BAA6B;AAC7B,MAAM,WAAW,cAAc;IAC7B,4BAA4B;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4EAA4E;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2IAA2I;IAC3I,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wDAAwD;IACxD,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B;AAkBD,8IAA8I;AAC9I,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CA8CxC,CAAC"}
|
|
@@ -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,iBAAiB,sCAAsC;IACvD,kDAAkD;IAClD,gBAAgB,oCAAoC;IACpD,8DAA8D;IAC9D,wBAAwB,6CAA6C;IACrE,0DAA0D;IAC1D,kBAAkB,sCAAsC;IACxD,qFAAqF;IACrF,kBAAkB,sCAAsC;IACxD,kEAAkE;IAClE,uBAAuB,4CAA4C;IACnE,mCAAmC;IACnC,kBAAkB,sCAAsC;IACxD,mCAAmC;IACnC,kBAAkB,sCAAsC;CACzD;AAED;;;;GAIG;AACH,oBAAY,gBAAgB;IAC1B,iEAAiE;IACjE,SAAS,6BAA6B;IACtC,uDAAuD;IACvD,KAAK,wBAAwB;IAC7B,4FAA4F;IAC5F,eAAe,oCAAoC;IACnD,0FAA0F;IA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