@epam/ai-dial-chat-shared 1.3.0-dev.5 → 1.3.0-dev.51
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/ConfirmationDialog/ConfirmationDialog.d.ts +41 -0
- package/components/ConfirmationDialog/ConfirmationDialog.d.ts.map +1 -0
- package/components/ConfirmationIdentityCard/ConfirmationIdentityCard.d.ts +33 -0
- package/components/ConfirmationIdentityCard/ConfirmationIdentityCard.d.ts.map +1 -0
- package/components/ConfirmationIdentityRow/ConfirmationIdentityRow.d.ts +33 -0
- package/components/ConfirmationIdentityRow/ConfirmationIdentityRow.d.ts.map +1 -0
- package/components/ConfirmationView/ConfirmationFooter.d.ts +41 -0
- package/components/ConfirmationView/ConfirmationFooter.d.ts.map +1 -0
- package/components/ConfirmationView/ConfirmationFooter.js +3 -1
- package/components/ConfirmationView/ConfirmationView.d.ts +57 -0
- package/components/ConfirmationView/ConfirmationView.d.ts.map +1 -0
- package/components/ConfirmationView/ConfirmationView.js +15 -14
- package/components/CopyButton/CopyButton.d.ts +19 -0
- package/components/CopyButton/CopyButton.d.ts.map +1 -0
- package/components/DeleteConfirmationDialog/DeleteConfirmationDialog.d.ts +41 -0
- package/components/DeleteConfirmationDialog/DeleteConfirmationDialog.d.ts.map +1 -0
- package/components/DeleteConfirmationDialog/DeleteConfirmationDialog.js +34 -0
- package/components/DeleteConfirmationView/DeleteConfirmationView.d.ts +49 -0
- package/components/DeleteConfirmationView/DeleteConfirmationView.d.ts.map +1 -0
- package/components/DeleteConfirmationView/DeleteConfirmationView.js +37 -0
- package/components/DeleteConfirmationView/DeleteConfirmationView.module.scss.js +6 -0
- package/components/DeploymentIcon/DeploymentIcon.d.ts +36 -0
- package/components/DeploymentIcon/DeploymentIcon.d.ts.map +1 -0
- package/components/EntityHeader/EntityHeader.d.ts +38 -0
- package/components/EntityHeader/EntityHeader.d.ts.map +1 -0
- package/components/EntityTypeLabel/EntityTypeLabel.d.ts +18 -0
- package/components/EntityTypeLabel/EntityTypeLabel.d.ts.map +1 -0
- package/components/FeaturedChip/FeaturedChip.d.ts +16 -0
- package/components/FeaturedChip/FeaturedChip.d.ts.map +1 -0
- package/components/InitialsAvatar/InitialsAvatar.d.ts +15 -0
- package/components/InitialsAvatar/InitialsAvatar.d.ts.map +1 -0
- package/components/ItemHeader/ItemHeader.d.ts +36 -0
- package/components/ItemHeader/ItemHeader.d.ts.map +1 -0
- package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts +53 -0
- package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts.map +1 -0
- package/components/MarkdownRenderer/CodeBlock/syntax-theme.d.ts +7 -0
- package/components/MarkdownRenderer/CodeBlock/syntax-theme.d.ts.map +1 -0
- package/components/MarkdownRenderer/MDMessageViewer.d.ts +66 -0
- package/components/MarkdownRenderer/MDMessageViewer.d.ts.map +1 -0
- package/components/MarkdownRenderer/MDMessageViewer.js +14 -12
- package/components/MarkdownRenderer/MarkdownRenderer.d.ts +139 -0
- package/components/MarkdownRenderer/MarkdownRenderer.d.ts.map +1 -0
- package/components/MarkdownRenderer/MarkdownRenderer.js +136 -129
- package/components/MarkdownRenderer/Math/MarkdownMathBlock.d.ts +18 -0
- package/components/MarkdownRenderer/Math/MarkdownMathBlock.d.ts.map +1 -0
- package/components/MarkdownRenderer/PlainTextRenderer.d.ts +39 -0
- package/components/MarkdownRenderer/PlainTextRenderer.d.ts.map +1 -0
- package/components/MarkdownRenderer/Table/MarkdownTable.d.ts +47 -0
- package/components/MarkdownRenderer/Table/MarkdownTable.d.ts.map +1 -0
- package/components/MarkdownRenderer/Table/TableHeader.d.ts +22 -0
- package/components/MarkdownRenderer/Table/TableHeader.d.ts.map +1 -0
- package/components/MarkdownRenderer/Table/table-serialization.d.ts +16 -0
- package/components/MarkdownRenderer/Table/table-serialization.d.ts.map +1 -0
- package/components/MarkdownRenderer/Table/useMarkdownTableActions/useMarkdownTableActions.d.ts +27 -0
- package/components/MarkdownRenderer/Table/useMarkdownTableActions/useMarkdownTableActions.d.ts.map +1 -0
- package/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.d.ts +9 -0
- package/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.d.ts.map +1 -0
- package/components/MarkdownRenderer/ThinkingShimmer.d.ts +17 -0
- package/components/MarkdownRenderer/ThinkingShimmer.d.ts.map +1 -0
- package/components/MarkdownRenderer/markdown-class-names.d.ts +10 -0
- package/components/MarkdownRenderer/markdown-class-names.d.ts.map +1 -0
- package/components/MarkdownRenderer/markdown-whitespace.d.ts +15 -0
- package/components/MarkdownRenderer/markdown-whitespace.d.ts.map +1 -0
- package/components/MarkdownRenderer/markdown-whitespace.js +18 -0
- package/components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.d.ts +25 -0
- package/components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.d.ts.map +1 -0
- package/components/PanelEmptyState/PanelEmptyState.d.ts +22 -0
- package/components/PanelEmptyState/PanelEmptyState.d.ts.map +1 -0
- package/components/ResourceSummary/ResourceSummary.d.ts +49 -0
- package/components/ResourceSummary/ResourceSummary.d.ts.map +1 -0
- package/components/TextRefinementField/TextRefinementField.d.ts +31 -0
- package/components/TextRefinementField/TextRefinementField.d.ts.map +1 -0
- package/constants/breakpoint.d.ts +9 -0
- package/constants/breakpoint.d.ts.map +1 -0
- package/constants/dial.d.ts +5 -0
- package/constants/dial.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 +14 -0
- package/constants/icon.d.ts.map +1 -0
- package/constants/markdown-editor.d.ts +2 -0
- package/constants/markdown-editor.d.ts.map +1 -0
- package/constants/mime-types.d.ts +27 -0
- package/constants/mime-types.d.ts.map +1 -0
- package/constants/public-class-names.d.ts +13 -0
- package/constants/public-class-names.d.ts.map +1 -0
- package/constants/resizable-fields.d.ts +5 -0
- package/constants/resizable-fields.d.ts.map +1 -0
- package/constants/select-list.d.ts +4 -0
- package/constants/select-list.d.ts.map +1 -0
- package/constants/tag-input.d.ts +2 -0
- package/constants/tag-input.d.ts.map +1 -0
- package/entry-points/file-manager.d.ts +5 -0
- package/entry-points/file-manager.d.ts.map +1 -0
- package/entry-points/markdown.d.ts +19 -0
- package/entry-points/markdown.d.ts.map +1 -0
- package/file-manager/DialFileManagerShell/DialFileManagerShell.d.ts +52 -0
- package/file-manager/DialFileManagerShell/DialFileManagerShell.d.ts.map +1 -0
- package/file-manager/DialFileManagerShell/DialFileManagerShell.js +128 -120
- package/file-manager/FileManagerAttachModal/FileManagerAttachModal.d.ts +89 -0
- package/file-manager/FileManagerAttachModal/FileManagerAttachModal.d.ts.map +1 -0
- package/file-manager/FileManagerAttachModal/FileManagerAttachModal.js +2 -1
- package/file-manager/OperationLoaderModal/OperationLoaderModal.d.ts +17 -0
- package/file-manager/OperationLoaderModal/OperationLoaderModal.d.ts.map +1 -0
- package/file-manager/attach-result.d.ts +9 -0
- package/file-manager/attach-result.d.ts.map +1 -0
- package/file-manager/file-manager-controller.d.ts +121 -0
- package/file-manager/file-manager-controller.d.ts.map +1 -0
- package/file-manager/file-manager-variant.d.ts +21 -0
- package/file-manager/file-manager-variant.d.ts.map +1 -0
- package/file-manager/file-upload-validation.d.ts +8 -0
- package/file-manager/file-upload-validation.d.ts.map +1 -0
- package/file-manager/index.d.ts +10 -0
- package/file-manager/index.d.ts.map +1 -0
- package/file-manager/labels.d.ts +156 -0
- package/file-manager/labels.d.ts.map +1 -0
- package/file-manager/path.d.ts +12 -0
- package/file-manager/path.d.ts.map +1 -0
- package/file-manager/upload-batch.d.ts +29 -0
- package/file-manager/upload-batch.d.ts.map +1 -0
- package/file-manager/upload-queue.d.ts +5 -0
- package/file-manager/upload-queue.d.ts.map +1 -0
- package/file-manager/useGridEditingScroll/useGridEditingScroll.d.ts +27 -0
- package/file-manager/useGridEditingScroll/useGridEditingScroll.d.ts.map +1 -0
- package/file-manager.d.ts +2 -506
- package/hooks/useAvailableHeightCap.d.ts +30 -0
- package/hooks/useAvailableHeightCap.d.ts.map +1 -0
- package/hooks/useCodeCopy.d.ts +6 -0
- package/hooks/useCodeCopy.d.ts.map +1 -0
- package/hooks/useCollapsedText.d.ts +27 -0
- package/hooks/useCollapsedText.d.ts.map +1 -0
- package/hooks/useHorizontalOverflow.d.ts +21 -0
- package/hooks/useHorizontalOverflow.d.ts.map +1 -0
- package/hooks/useIsMobile.d.ts +3 -0
- package/hooks/useIsMobile.d.ts.map +1 -0
- package/hooks/useStreamedMarkdownContent.d.ts +3 -0
- package/hooks/useStreamedMarkdownContent.d.ts.map +1 -0
- package/hooks/useTextRefinement.d.ts +44 -0
- package/hooks/useTextRefinement.d.ts.map +1 -0
- package/hooks/useUnsavedChangesGuard.d.ts +14 -0
- package/hooks/useUnsavedChangesGuard.d.ts.map +1 -0
- package/index.css +2 -2
- package/index.d.ts +78 -3072
- package/index.d.ts.map +1 -0
- package/index.js +28 -25
- package/markdown.d.ts +2 -465
- package/markdown.js +3 -2
- package/models/annotation.d.ts +143 -0
- package/models/annotation.d.ts.map +1 -0
- package/models/application-visualizer.d.ts +67 -0
- package/models/application-visualizer.d.ts.map +1 -0
- package/models/auth.d.ts +26 -0
- package/models/auth.d.ts.map +1 -0
- package/models/chat.d.ts +407 -0
- package/models/chat.d.ts.map +1 -0
- package/models/conversation-classification.d.ts +9 -0
- package/models/conversation-classification.d.ts.map +1 -0
- package/models/conversation-transfer.d.ts +96 -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 +55 -0
- package/models/deployment-configuration.d.ts.map +1 -0
- package/models/deployment-features.d.ts +17 -0
- package/models/deployment-features.d.ts.map +1 -0
- package/models/deployment.d.ts +31 -0
- package/models/deployment.d.ts.map +1 -0
- package/models/dial-model.d.ts +19 -0
- package/models/dial-model.d.ts.map +1 -0
- package/models/entity.d.ts +15 -0
- package/models/entity.d.ts.map +1 -0
- package/models/import-export.d.ts +23 -0
- package/models/import-export.d.ts.map +1 -0
- package/models/inline-segment.d.ts +11 -0
- package/models/inline-segment.d.ts.map +1 -0
- package/models/locale.d.ts +19 -0
- package/models/locale.d.ts.map +1 -0
- package/models/text-refinement.d.ts +18 -0
- package/models/text-refinement.d.ts.map +1 -0
- package/models/theme.d.ts +36 -0
- package/models/theme.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 +3 -3
- package/types/attachment.d.ts +25 -0
- package/types/attachment.d.ts.map +1 -0
- package/types/code-editor.d.ts +8 -0
- package/types/code-editor.d.ts.map +1 -0
- package/types/entity-type.d.ts +10 -0
- package/types/entity-type.d.ts.map +1 -0
- package/types/file-manager-node.d.ts +17 -0
- package/types/file-manager-node.d.ts.map +1 -0
- package/types/mime-type.d.ts +59 -0
- package/types/mime-type.d.ts.map +1 -0
- package/utils/annotation.d.ts +29 -0
- package/utils/annotation.d.ts.map +1 -0
- package/utils/avatar-color.d.ts +10 -0
- package/utils/avatar-color.d.ts.map +1 -0
- package/utils/build-css-vars.d.ts +4 -0
- package/utils/build-css-vars.d.ts.map +1 -0
- package/utils/copy-to-clipboard.d.ts +18 -0
- package/utils/copy-to-clipboard.d.ts.map +1 -0
- package/utils/entity-field-limits.d.ts +11 -0
- package/utils/entity-field-limits.d.ts.map +1 -0
- package/utils/entity-type.d.ts +5 -0
- package/utils/entity-type.d.ts.map +1 -0
- package/utils/file-download.d.ts +21 -0
- package/utils/file-download.d.ts.map +1 -0
- package/utils/format-file-size.d.ts +3 -0
- package/utils/format-file-size.d.ts.map +1 -0
- package/utils/format-last-used.d.ts +3 -0
- package/utils/format-last-used.d.ts.map +1 -0
- 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 +3 -0
- package/utils/initials.d.ts.map +1 -0
- package/utils/inline-segments.d.ts +38 -0
- package/utils/inline-segments.d.ts.map +1 -0
- package/utils/inline-segments.js +53 -0
- package/utils/is-audio-transcription-supported.d.ts +3 -0
- package/utils/is-audio-transcription-supported.d.ts.map +1 -0
- package/utils/is-skill-selection-unsupported.d.ts +3 -0
- package/utils/is-skill-selection-unsupported.d.ts.map +1 -0
- package/utils/latex.d.ts +21 -0
- package/utils/latex.d.ts.map +1 -0
- package/utils/markdown-html.d.ts +14 -0
- package/utils/markdown-html.d.ts.map +1 -0
- package/utils/markdown-html.js +11 -0
- package/utils/merge-class.d.ts +4 -0
- package/utils/merge-class.d.ts.map +1 -0
- package/utils/message-attachment-to-display.d.ts +22 -0
- package/utils/message-attachment-to-display.d.ts.map +1 -0
- package/utils/message.d.ts +4 -0
- package/utils/message.d.ts.map +1 -0
- package/utils/mime-type.d.ts +22 -0
- package/utils/mime-type.d.ts.map +1 -0
- package/utils/prompt-variables.d.ts +62 -0
- package/utils/prompt-variables.d.ts.map +1 -0
- package/utils/string-utils.d.ts +11 -0
- package/utils/string-utils.d.ts.map +1 -0
- package/utils/syntax-highlighting.d.ts +8 -0
- package/utils/syntax-highlighting.d.ts.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/models/chat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAChF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,8FAA8F;AAC9F,MAAM,WAAW,oBAAoB;IACnC,oCAAoC;IACpC,IAAI,EAAE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MAAM,CAAA;KAAE,CAAC;IACtB,gDAAgD;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,sDAAsD;IACtD,WAAW,EAAE,MAAM,CAAC;IACpB,oJAAoJ;IACpJ,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oDAAoD;IACpD,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,uDAAuD;IACvD,gBAAgB,EAAE,MAAM,CAAC;IACzB,4CAA4C;IAC5C,SAAS,EAAE,MAAM,CAAC;IAClB,gDAAgD;IAChD,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,kEAAkE;IAClE,gBAAgB,EAAE,MAAM,CAAC;IACzB,oDAAoD;IACpD,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,iKAAiK;IACjK,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC3C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Filter tab identifier; also used as conversation source and group key. */
|
|
2
|
+
export declare enum FilterTab {
|
|
3
|
+
All = "all",
|
|
4
|
+
Pinned = "pinned",
|
|
5
|
+
MyChats = "my-chats",
|
|
6
|
+
Shared = "shared",
|
|
7
|
+
Organization = "organization"
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=conversation-classification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-classification.d.ts","sourceRoot":"","sources":["../../src/models/conversation-classification.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,oBAAY,SAAS;IACnB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,OAAO,aAAa;IACpB,MAAM,WAAW;IACjB,YAAY,iBAAiB;CAC9B"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/** Lifecycle status of a queued export/import job. */
|
|
2
|
+
export declare enum ConversationTransferJobStatus {
|
|
3
|
+
InProgress = "inProgress",
|
|
4
|
+
Success = "success",
|
|
5
|
+
/** Delivered its file, but not everything the user asked for made it in. */
|
|
6
|
+
Warning = "warning",
|
|
7
|
+
Failed = "failed",
|
|
8
|
+
Canceled = "canceled"
|
|
9
|
+
}
|
|
10
|
+
/** Whether a transfer job's subject is a single named conversation or the whole history. */
|
|
11
|
+
export declare enum ConversationTransferSubjectKind {
|
|
12
|
+
Single = "single",
|
|
13
|
+
All = "all"
|
|
14
|
+
}
|
|
15
|
+
/** What a transfer job operates on — structured data, never pre-rendered translated text. */
|
|
16
|
+
export type ConversationTransferSubject = {
|
|
17
|
+
kind: ConversationTransferSubjectKind.Single;
|
|
18
|
+
/** The conversation's own name. */
|
|
19
|
+
title: string;
|
|
20
|
+
/** Folder breadcrumb the conversation originated from, if nested. */
|
|
21
|
+
sourceBreadcrumb?: string;
|
|
22
|
+
} | {
|
|
23
|
+
kind: ConversationTransferSubjectKind.All;
|
|
24
|
+
};
|
|
25
|
+
/** Reason a transfer job failed. Translation-free; hosts map each member to their own copy. */
|
|
26
|
+
export declare enum ConversationTransferErrorCode {
|
|
27
|
+
Unauthorized = "unauthorized",
|
|
28
|
+
NotFound = "notFound",
|
|
29
|
+
UnsupportedFormat = "unsupportedFormat",
|
|
30
|
+
MissingBucket = "missingBucket",
|
|
31
|
+
FileTooLarge = "fileTooLarge",
|
|
32
|
+
Unknown = "unknown"
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Reason a transfer job completed with a non-fatal warning. Translation-free;
|
|
36
|
+
* hosts map each member to their own copy.
|
|
37
|
+
*/
|
|
38
|
+
export declare enum ConversationTransferWarningCode {
|
|
39
|
+
AttachmentSkipped = "attachmentSkipped"
|
|
40
|
+
}
|
|
41
|
+
/** What one unit of a transfer job's discoverable work represents. */
|
|
42
|
+
export declare enum ConversationTransferUnitKind {
|
|
43
|
+
Attachment = "attachment",
|
|
44
|
+
Conversation = "conversation"
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Countable progress within the phase a job is currently working through —
|
|
48
|
+
* downloaded/uploaded attachments, or fetched/saved conversations. Describes
|
|
49
|
+
* only that phase, never the job as a whole.
|
|
50
|
+
*/
|
|
51
|
+
export interface ConversationTransferProgressUnits {
|
|
52
|
+
/** Units settled so far in the current phase. */
|
|
53
|
+
completed: number;
|
|
54
|
+
/** Units the current phase will settle in total. */
|
|
55
|
+
total: number;
|
|
56
|
+
/** What a unit represents. */
|
|
57
|
+
kind: ConversationTransferUnitKind;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* A transfer job's completion, always determinate — there is no indeterminate
|
|
61
|
+
* state, so a job is renderable as a real percentage from its first frame.
|
|
62
|
+
*/
|
|
63
|
+
export interface ConversationTransferProgress {
|
|
64
|
+
/**
|
|
65
|
+
* Completion as an integer 0–100. Monotonically non-decreasing for the life
|
|
66
|
+
* of a job id: a write that would lower it is discarded rather than applied,
|
|
67
|
+
* so a discovered unit count can subdivide the work still to do but can
|
|
68
|
+
* never move the indicator backwards.
|
|
69
|
+
*/
|
|
70
|
+
percent: number;
|
|
71
|
+
/**
|
|
72
|
+
* Readout for the phase currently advancing, for assistive technology.
|
|
73
|
+
* Absent while the phase's unit count is unknown.
|
|
74
|
+
*/
|
|
75
|
+
units?: ConversationTransferProgressUnits;
|
|
76
|
+
}
|
|
77
|
+
/** A queued export or import job. */
|
|
78
|
+
export interface ConversationTransferJob {
|
|
79
|
+
id: string;
|
|
80
|
+
subject: ConversationTransferSubject;
|
|
81
|
+
status: ConversationTransferJobStatus;
|
|
82
|
+
/** Name of the file this job writes (export) or reads (import), known at enqueue time. */
|
|
83
|
+
fileName: string;
|
|
84
|
+
/** Determinate completion of this job. */
|
|
85
|
+
progress: ConversationTransferProgress;
|
|
86
|
+
/** Why the job failed. Set only alongside {@link ConversationTransferJobStatus.Failed}. */
|
|
87
|
+
errorCode?: ConversationTransferErrorCode;
|
|
88
|
+
/**
|
|
89
|
+
* What was incomplete about an otherwise-delivered job. Set only alongside
|
|
90
|
+
* {@link ConversationTransferJobStatus.Warning}.
|
|
91
|
+
*/
|
|
92
|
+
warningCode?: ConversationTransferWarningCode;
|
|
93
|
+
/** Untranslated names of skipped attachments, when available for this warning. */
|
|
94
|
+
warningNames?: string[];
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=conversation-transfer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-transfer.d.ts","sourceRoot":"","sources":["../../src/models/conversation-transfer.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,oBAAY,6BAA6B;IACvC,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,4EAA4E;IAC5E,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AAED,4FAA4F;AAC5F,oBAAY,+BAA+B;IACzC,MAAM,WAAW;IACjB,GAAG,QAAQ;CACZ;AAED,6FAA6F;AAC7F,MAAM,MAAM,2BAA2B,GACnC;IACE,IAAI,EAAE,+BAA+B,CAAC,MAAM,CAAC;IAC7C,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,GACD;IAAE,IAAI,EAAE,+BAA+B,CAAC,GAAG,CAAA;CAAE,CAAC;AAElD,+FAA+F;AAC/F,oBAAY,6BAA6B;IACvC,YAAY,iBAAiB;IAC7B,QAAQ,aAAa;IACrB,iBAAiB,sBAAsB;IACvC,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,OAAO,YAAY;CACpB;AAED;;;GAGG;AACH,oBAAY,+BAA+B;IACzC,iBAAiB,sBAAsB;CACxC;AAED,sEAAsE;AACtE,oBAAY,4BAA4B;IACtC,UAAU,eAAe;IACzB,YAAY,iBAAiB;CAC9B;AAED;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAChD,iDAAiD;IACjD,SAAS,EAAE,MAAM,CAAC;IAClB,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,8BAA8B;IAC9B,IAAI,EAAE,4BAA4B,CAAC;CACpC;AAED;;;GAGG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;;;;OAKG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,KAAK,CAAC,EAAE,iCAAiC,CAAC;CAC3C;AAED,qCAAqC;AACrC,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,2BAA2B,CAAC;IACrC,MAAM,EAAE,6BAA6B,CAAC;IACtC,0FAA0F;IAC1F,QAAQ,EAAE,MAAM,CAAC;IACjB,0CAA0C;IAC1C,QAAQ,EAAE,4BAA4B,CAAC;IACvC,2FAA2F;IAC3F,SAAS,CAAC,EAAE,6BAA6B,CAAC;IAC1C;;;OAGG;IACH,WAAW,CAAC,EAAE,+BAA+B,CAAC;IAC9C,kFAAkF;IAClF,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A single MIME → visualizer mapping from the `CUSTOM_VISUALIZERS` registry.
|
|
3
|
+
* Field semantics are fixed by already-deployed visualizer applications and
|
|
4
|
+
* operator configurations — see `openspec/changes/archive/2026-07-30-add-custom-visualizers/design.md` D9/D10 in the
|
|
5
|
+
* `add-custom-visualizers` change for why `title` is required and
|
|
6
|
+
* `contentType` accepts a comma-separated list.
|
|
7
|
+
*/
|
|
8
|
+
export interface CustomVisualizer {
|
|
9
|
+
/**
|
|
10
|
+
* The postMessage protocol namespace, NOT a display label. Every message
|
|
11
|
+
* exchanged with the iframe is prefixed `${title}/…`, and the iframe-side
|
|
12
|
+
* visualizer application must be constructed with this identical string
|
|
13
|
+
* as its `appName`. A mismatch is a silent failure — the iframe loads but
|
|
14
|
+
* never receives data.
|
|
15
|
+
*/
|
|
16
|
+
title: string;
|
|
17
|
+
/** Human-readable description of the visualizer (kept for parity with the development schema; not consumed by host UI). */
|
|
18
|
+
description?: string;
|
|
19
|
+
/** Icon URL or identifier for the visualizer (kept for parity with the development schema; not consumed by host UI). */
|
|
20
|
+
icon?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Comma-separated list of one or more MIME types this entry matches (e.g.
|
|
23
|
+
* `'application/vnd.plotly.v1+json'` or
|
|
24
|
+
* `'application/vnd.plotly.v1+json, application/vnd.vega.v5+json'`).
|
|
25
|
+
* Stored verbatim; splitting happens at lookup time.
|
|
26
|
+
*/
|
|
27
|
+
contentType: string;
|
|
28
|
+
/** Absolute HTTP(S) URL of the visualizer iframe. */
|
|
29
|
+
url: string;
|
|
30
|
+
/** Milliseconds to wait for a `send()` request's `/RESPONSE` before rejecting. Defaults to `10000`. Does NOT bound the initial handshake. */
|
|
31
|
+
requestTimeout?: number;
|
|
32
|
+
/** Suggested initial width of the canvas panel in pixels. Forwarded as-is in `CustomVisualizerDataLayout`. */
|
|
33
|
+
width?: number;
|
|
34
|
+
/** Suggested initial height of the canvas panel in pixels. Forwarded as-is in `CustomVisualizerDataLayout`. */
|
|
35
|
+
height?: number;
|
|
36
|
+
/** Suggested canvas panel height on mobile viewports in pixels. Forwarded as-is in `CustomVisualizerDataLayout`. */
|
|
37
|
+
mobileHeight?: number;
|
|
38
|
+
/** Whether the host should pass auth info to the visualizer. Accepted for schema parity with development but auth forwarding is not yet wired. */
|
|
39
|
+
passAuthInfo?: boolean;
|
|
40
|
+
/** Whether the host should pass an explicit access token. Accepted for schema parity with development but auth forwarding is not yet wired. */
|
|
41
|
+
passExplicitToken?: boolean;
|
|
42
|
+
}
|
|
43
|
+
/** Presentation-only layout hints forwarded to the visualizer inside `SEND_VISUALIZE_DATA`. */
|
|
44
|
+
export interface CustomVisualizerDataLayout {
|
|
45
|
+
/** Suggested width of the canvas panel in pixels (from the registry entry). */
|
|
46
|
+
width?: number;
|
|
47
|
+
/** Suggested height of the canvas panel in pixels (from the registry entry). */
|
|
48
|
+
height?: number;
|
|
49
|
+
/** Suggested height on mobile-sized screens in pixels (from the registry entry). */
|
|
50
|
+
mobileHeight?: number;
|
|
51
|
+
/** Id of the host's currently active theme. */
|
|
52
|
+
themeId: string;
|
|
53
|
+
}
|
|
54
|
+
/** Payload of a `SEND_VISUALIZE_DATA` request: presentation layout plus the opaque attachment payload. */
|
|
55
|
+
export interface CustomVisualizerData {
|
|
56
|
+
/** Presentation layout hints. */
|
|
57
|
+
layout: CustomVisualizerDataLayout;
|
|
58
|
+
/** Opaque attachment payload consumed by the third-party visualizer. */
|
|
59
|
+
[key: string]: unknown;
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=custom-visualizer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-visualizer.d.ts","sourceRoot":"","sources":["../../src/models/custom-visualizer.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,2HAA2H;IAC3H,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wHAAwH;IACxH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,qDAAqD;IACrD,GAAG,EAAE,MAAM,CAAC;IACZ,6IAA6I;IAC7I,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8GAA8G;IAC9G,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+GAA+G;IAC/G,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oHAAoH;IACpH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kJAAkJ;IAClJ,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,+IAA+I;IAC/I,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,+FAA+F;AAC/F,MAAM,WAAW,0BAA0B;IACzC,+EAA+E;IAC/E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gFAAgF;IAChF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oFAAoF;IACpF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+CAA+C;IAC/C,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,0GAA0G;AAC1G,MAAM,WAAW,oBAAoB;IACnC,iCAAiC;IACjC,MAAM,EAAE,0BAA0B,CAAC;IACnC,wEAAwE;IACxE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/** DIAL-specific options for a single starter button entry. */
|
|
2
|
+
export interface StarterWidgetOptions {
|
|
3
|
+
/** Text to populate in the input field when the starter is selected. */
|
|
4
|
+
populateText: string | null;
|
|
5
|
+
/** When true, automatically submits the message after populating the input. */
|
|
6
|
+
submit: boolean;
|
|
7
|
+
/** Optional confirmation message shown before submission. */
|
|
8
|
+
confirmationMessage: string | null;
|
|
9
|
+
}
|
|
10
|
+
/** A quick-start conversation button entry in the `starter` property's `oneOf` array. */
|
|
11
|
+
export interface StarterOption {
|
|
12
|
+
/** Numeric index used as the schema `const` value. */
|
|
13
|
+
const: number;
|
|
14
|
+
/** Display label for the starter button. */
|
|
15
|
+
title: string;
|
|
16
|
+
/** DIAL widget options controlling input population and auto-submit behaviour. */
|
|
17
|
+
'dial:widgetOptions': StarterWidgetOptions;
|
|
18
|
+
}
|
|
19
|
+
/** A single property entry in a deployment's configuration JSON Schema. */
|
|
20
|
+
export interface DeploymentConfigurationSchemaProperty {
|
|
21
|
+
/** Default value for this property. */
|
|
22
|
+
default?: unknown;
|
|
23
|
+
/** Human-readable description of this property. */
|
|
24
|
+
description?: string;
|
|
25
|
+
/** DIAL-specific widget hint (e.g. "buttons"). */
|
|
26
|
+
'dial:widget'?: string;
|
|
27
|
+
/** List of allowed value variants (JSON Schema oneOf). For the `starter` property these are {@link StarterOption} entries. */
|
|
28
|
+
oneOf?: StarterOption[] | unknown[];
|
|
29
|
+
/** Index signature for additional JSON Schema keywords. */
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* JSON Schema object returned by the DIAL Core deployment configuration endpoint
|
|
34
|
+
* (`GET /v1/deployments/{deployment_name}/configuration`).
|
|
35
|
+
* Only present for deployments whose `features.configuration` flag is `true`.
|
|
36
|
+
*/
|
|
37
|
+
export interface DeploymentConfigurationSchema {
|
|
38
|
+
/** JSON Schema type (typically "object"). */
|
|
39
|
+
type?: string;
|
|
40
|
+
/** Human-readable schema title. */
|
|
41
|
+
title?: string;
|
|
42
|
+
/** Whether additional properties are allowed, or a schema for them. */
|
|
43
|
+
additionalProperties?: boolean | Record<string, unknown>;
|
|
44
|
+
/** Named configuration properties supported by this deployment. */
|
|
45
|
+
properties?: Record<string, DeploymentConfigurationSchemaProperty>;
|
|
46
|
+
/**
|
|
47
|
+
* When `true`, the application does not accept free-form text input.
|
|
48
|
+
* Users interact only via form/action buttons defined in the schema.
|
|
49
|
+
* Mapped from `dial:chatMessageInputDisabled` by the backend.
|
|
50
|
+
*/
|
|
51
|
+
isChatMessageInputDisabled?: boolean;
|
|
52
|
+
/** Index signature for additional JSON Schema keywords. */
|
|
53
|
+
[key: string]: unknown;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=deployment-configuration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployment-configuration.d.ts","sourceRoot":"","sources":["../../src/models/deployment-configuration.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,MAAM,WAAW,oBAAoB;IACnC,wEAAwE;IACxE,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,+EAA+E;IAC/E,MAAM,EAAE,OAAO,CAAC;IAChB,6DAA6D;IAC7D,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;CACpC;AAED,yFAAyF;AACzF,MAAM,WAAW,aAAa;IAC5B,sDAAsD;IACtD,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,kFAAkF;IAClF,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C;AAED,2EAA2E;AAC3E,MAAM,WAAW,qCAAqC;IACpD,uCAAuC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kDAAkD;IAClD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,8HAA8H;IAC9H,KAAK,CAAC,EAAE,aAAa,EAAE,GAAG,OAAO,EAAE,CAAC;IACpC,2DAA2D;IAC3D,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC5C,6CAA6C;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mCAAmC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uEAAuE;IACvE,oBAAoB,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzD,mEAAmE;IACnE,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qCAAqC,CAAC,CAAC;IACnE;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,2DAA2D;IAC3D,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** Response format options for conversation messages. */
|
|
2
|
+
export declare enum ResponseFormat {
|
|
3
|
+
/** Messages are rendered as Markdown. */
|
|
4
|
+
Markdown = "markdown",
|
|
5
|
+
/** Messages are rendered as plain text. */
|
|
6
|
+
PlainText = "plain_text"
|
|
7
|
+
}
|
|
8
|
+
/** Feature flags for a deployment, controlling which per-conversation settings are available. */
|
|
9
|
+
export interface DeploymentFeatures {
|
|
10
|
+
/** Whether the deployment supports a custom system prompt. */
|
|
11
|
+
systemPrompt: boolean;
|
|
12
|
+
/** Whether the deployment supports temperature control. */
|
|
13
|
+
temperature: boolean;
|
|
14
|
+
/** Whether the deployment supports response format selection. */
|
|
15
|
+
responseFormat?: boolean;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=deployment-features.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployment-features.d.ts","sourceRoot":"","sources":["../../src/models/deployment-features.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,oBAAY,cAAc;IACxB,yCAAyC;IACzC,QAAQ,aAAa;IACrB,2CAA2C;IAC3C,SAAS,eAAe;CACzB;AAED,iGAAiG;AACjG,MAAM,WAAW,kBAAkB;IACjC,8DAA8D;IAC9D,YAAY,EAAE,OAAO,CAAC;IACtB,2DAA2D;IAC3D,WAAW,EAAE,OAAO,CAAC;IACrB,iEAAiE;IACjE,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { DeploymentFeatures } from './deployment-features';
|
|
2
|
+
/** A host-agnostic view model for a single deployment shown in UI components. */
|
|
3
|
+
export interface DeploymentItem {
|
|
4
|
+
/** Unique stable identifier from DIAL Core. */
|
|
5
|
+
id: string;
|
|
6
|
+
/** Human-readable display name. Falls back to `id` when absent. */
|
|
7
|
+
displayName?: string;
|
|
8
|
+
/** URL-safe icon reference. Resolved to a usable `<img src>` by the host app before passing. */
|
|
9
|
+
iconUrl?: string;
|
|
10
|
+
/** Deployment kind — used to choose a fallback icon. Typically `'model'` or `'application'`. */
|
|
11
|
+
type?: string;
|
|
12
|
+
/** MIME types accepted as input attachments (e.g. `['audio/*', 'image/*']`). Undefined when not specified by DIAL Core. */
|
|
13
|
+
inputAttachmentTypes?: string[];
|
|
14
|
+
/** Feature flags for this deployment, controlling which per-conversation settings are available. */
|
|
15
|
+
features?: DeploymentFeatures;
|
|
16
|
+
/** Maximum number of attachments allowed per message. Undefined when not specified by DIAL Core. */
|
|
17
|
+
maxInputAttachments?: number;
|
|
18
|
+
/** Human-readable description of the deployment. */
|
|
19
|
+
description?: string;
|
|
20
|
+
/** Timestamp of last update time from DIAL Core (e.g. 1714768496000). */
|
|
21
|
+
updatedAt?: number;
|
|
22
|
+
/** Display version string. */
|
|
23
|
+
displayVersion?: string;
|
|
24
|
+
/** Whether this deployment is featured (configured via env). */
|
|
25
|
+
isFeatured?: boolean;
|
|
26
|
+
/** Whether this deployment is hidden (configured via env). */
|
|
27
|
+
isHidden?: boolean;
|
|
28
|
+
/** Topics associated with the deployment. */
|
|
29
|
+
topics?: string[];
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=deployment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployment.d.ts","sourceRoot":"","sources":["../../src/models/deployment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE,iFAAiF;AACjF,MAAM,WAAW,cAAc;IAC7B,+CAA+C;IAC/C,EAAE,EAAE,MAAM,CAAC;IACX,mEAAmE;IACnE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gGAAgG;IAChG,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gGAAgG;IAChG,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2HAA2H;IAC3H,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAChC,oGAAoG;IACpG,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B,oGAAoG;IACpG,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,oDAAoD;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8BAA8B;IAC9B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gEAAgE;IAChE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6CAA6C;IAC7C,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** A model entry as returned by the DIAL Core `/v1/models` endpoint. */
|
|
2
|
+
export interface DialModel {
|
|
3
|
+
/** Unique model identifier used in API calls. */
|
|
4
|
+
id: string;
|
|
5
|
+
/** Discriminator — always `'model'`. */
|
|
6
|
+
object: string;
|
|
7
|
+
/** Unix timestamp (s) when the model was created. */
|
|
8
|
+
created?: number;
|
|
9
|
+
/** Identifier of the model owner/provider. */
|
|
10
|
+
owned_by?: string;
|
|
11
|
+
/** Index signature for additional provider-specific fields. */
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
/** Response envelope for the DIAL Core model-listing endpoint. */
|
|
15
|
+
export interface DialModelListResponse {
|
|
16
|
+
/** List of available models. */
|
|
17
|
+
data: DialModel[];
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=dial-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dial-model.d.ts","sourceRoot":"","sources":["../../src/models/dial-model.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,MAAM,WAAW,SAAS;IACxB,iDAAiD;IACjD,EAAE,EAAE,MAAM,CAAC;IACX,wCAAwC;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+DAA+D;IAC/D,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,kEAAkE;AAClE,MAAM,WAAW,qBAAqB;IACpC,gCAAgC;IAChC,IAAI,EAAE,SAAS,EAAE,CAAC;CACnB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CatalogEntityType } from '../types/entity-type';
|
|
2
|
+
/** Minimal entity identity fields rendered by `EntityHeader`. */
|
|
3
|
+
export interface EntityHeaderItem {
|
|
4
|
+
/** Entity category. */
|
|
5
|
+
type: CatalogEntityType;
|
|
6
|
+
/** Display name. */
|
|
7
|
+
name: string;
|
|
8
|
+
/** Version string shown next to the name. */
|
|
9
|
+
version: string;
|
|
10
|
+
/** URL of the icon displayed inside the logo mark. */
|
|
11
|
+
iconUrl?: string;
|
|
12
|
+
/** Whether the entity is marked as featured. */
|
|
13
|
+
isFeatured?: boolean;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity.d.ts","sourceRoot":"","sources":["../../src/models/entity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,iEAAiE;AACjE,MAAM,WAAW,gBAAgB;IAC/B,uBAAuB;IACvB,IAAI,EAAE,iBAAiB,CAAC;IACxB,oBAAoB;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,sDAAsD;IACtD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gDAAgD;IAChD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Conversation } from './chat';
|
|
2
|
+
/** A minimal conversation-folder record carried in an export file. */
|
|
3
|
+
export interface ExportFolder {
|
|
4
|
+
/** Unique folder identifier. */
|
|
5
|
+
id: string;
|
|
6
|
+
/** Display name of the folder. */
|
|
7
|
+
name: string;
|
|
8
|
+
/** Identifier of the parent folder, if nested. */
|
|
9
|
+
folderId?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Versioned JSON envelope produced by conversation export, and read back on
|
|
13
|
+
* import.
|
|
14
|
+
*/
|
|
15
|
+
export interface ExportFormat {
|
|
16
|
+
/** Format version discriminator. Only `5` is currently produced or accepted. */
|
|
17
|
+
version: 5;
|
|
18
|
+
/** Exported conversations. */
|
|
19
|
+
history: Conversation[];
|
|
20
|
+
/** Folders the exported conversations belong to. */
|
|
21
|
+
folders: ExportFolder[];
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=import-export.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import-export.d.ts","sourceRoot":"","sources":["../../src/models/import-export.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,sEAAsE;AACtE,MAAM,WAAW,YAAY;IAC3B,gCAAgC;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,gFAAgF;IAChF,OAAO,EAAE,CAAC,CAAC;IACX,8BAA8B;IAC9B,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,oDAAoD;IACpD,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/** An element rendered inline within message text, paired with the source text it stands for. */
|
|
3
|
+
export interface InlineTextSegment {
|
|
4
|
+
/** Literal source text the element replaces, rendered instead of `node` where an element cannot appear (inside code or link text). */
|
|
5
|
+
text: string;
|
|
6
|
+
/** Element rendered at the segment's position in the text. */
|
|
7
|
+
node: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
/** One run of message text: a plain markdown string or an inline element segment. */
|
|
10
|
+
export type TextSegment = string | InlineTextSegment;
|
|
11
|
+
//# sourceMappingURL=inline-segment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inline-segment.d.ts","sourceRoot":"","sources":["../../src/models/inline-segment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,iGAAiG;AACjG,MAAM,WAAW,iBAAiB;IAChC,sIAAsI;IACtI,IAAI,EAAE,MAAM,CAAC;IACb,8DAA8D;IAC9D,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,qFAAqF;AACrF,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** One additional (non-primary) locale's translation of an entity's name and description. */
|
|
2
|
+
export interface LocalizedTextEntry {
|
|
3
|
+
/** Stable client-side id for list rendering; not part of the persisted locale map. */
|
|
4
|
+
id: string;
|
|
5
|
+
/** Locale code this entry translates into (e.g. `'de'`). */
|
|
6
|
+
language: string;
|
|
7
|
+
/** Translated name for this locale. */
|
|
8
|
+
name: string;
|
|
9
|
+
/** Translated description for this locale. */
|
|
10
|
+
description: string;
|
|
11
|
+
}
|
|
12
|
+
/** A selectable language option for an additional-locale row. */
|
|
13
|
+
export interface LocaleOption {
|
|
14
|
+
/** Locale code (e.g. `'de'`). */
|
|
15
|
+
code: string;
|
|
16
|
+
/** Display label for the option (e.g. `'DE'`). */
|
|
17
|
+
label: string;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=locale.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locale.d.ts","sourceRoot":"","sources":["../../src/models/locale.ts"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F,MAAM,WAAW,kBAAkB;IACjC,sFAAsF;IACtF,EAAE,EAAE,MAAM,CAAC;IACX,4DAA4D;IAC5D,QAAQ,EAAE,MAAM,CAAC;IACjB,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,8CAA8C;IAC9C,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,iEAAiE;AACjE,MAAM,WAAW,YAAY;IAC3B,iCAAiC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** Translatable copy for `TextRefinementField`; every key has an English default. */
|
|
2
|
+
export interface TextRefinementLabels {
|
|
3
|
+
/** Refinement copy. Defaults to 'Refine with AI'. */
|
|
4
|
+
refineWithAiLabel?: string;
|
|
5
|
+
/** Refinement copy. Defaults to 'Undo'. */
|
|
6
|
+
refineUndoLabel?: string;
|
|
7
|
+
/** Refinement copy. Defaults to 'Could not refine this text. Please try again.'. */
|
|
8
|
+
refineErrorLabel?: string;
|
|
9
|
+
/** Refinement copy. Defaults to 'Refining text'. */
|
|
10
|
+
refinePendingAriaLabel?: string;
|
|
11
|
+
/** Refinement copy. Defaults to 'Text refined. Undo is available.'. */
|
|
12
|
+
refineSuccessAriaLabel?: string;
|
|
13
|
+
/** Refinement copy. Defaults to 'Original text restored.'. */
|
|
14
|
+
refineUndoAriaLabel?: string;
|
|
15
|
+
/** Refinement copy. Defaults to 'No changes were needed.'. */
|
|
16
|
+
refineUnchangedAriaLabel?: string;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=text-refinement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-refinement.d.ts","sourceRoot":"","sources":["../../src/models/text-refinement.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,MAAM,WAAW,oBAAoB;IACnC,qDAAqD;IACrD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2CAA2C;IAC3C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oFAAoF;IACpF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oDAAoD;IACpD,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,uEAAuE;IACvE,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,8DAA8D;IAC9D,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,8DAA8D;IAC9D,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/** Root theme configuration loaded from the server at startup. */
|
|
2
|
+
export interface ThemeConfiguration {
|
|
3
|
+
/** Available themes the user can switch between. */
|
|
4
|
+
themes: Theme[];
|
|
5
|
+
/** Global image/icon assets shared across all themes. */
|
|
6
|
+
images: ThemeImages;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Theme-specific images and icons
|
|
10
|
+
*/
|
|
11
|
+
export interface ThemeImages {
|
|
12
|
+
/** Fallback icon URL used when an add-on has no custom image. */
|
|
13
|
+
'default-addon': string;
|
|
14
|
+
/** Fallback icon URL used when a model has no custom image. */
|
|
15
|
+
'default-model': string;
|
|
16
|
+
/** Browser tab favicon URL. */
|
|
17
|
+
favicon: string;
|
|
18
|
+
/** Light theme logo URL */
|
|
19
|
+
'chat-logo-light'?: string;
|
|
20
|
+
/** Dark theme logo URL */
|
|
21
|
+
'chat-logo-dark'?: string;
|
|
22
|
+
/** Dynamic favicon URL (PNG format, 32x32 recommended) */
|
|
23
|
+
'chat-favicon'?: string;
|
|
24
|
+
}
|
|
25
|
+
/** A single selectable UI theme. */
|
|
26
|
+
export interface Theme {
|
|
27
|
+
/** Unique theme identifier (e.g. `'dark'`, `'light'`). */
|
|
28
|
+
id: string;
|
|
29
|
+
/** Human-readable name shown in the theme picker. */
|
|
30
|
+
displayName: string;
|
|
31
|
+
/** CSS custom-property overrides keyed by variable name (without `--` prefix). */
|
|
32
|
+
colors: Record<string, string>;
|
|
33
|
+
/** URL of the application logo asset for this theme. */
|
|
34
|
+
'app-logo': string;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/models/theme.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,MAAM,WAAW,kBAAkB;IACjC,oDAAoD;IACpD,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,yDAAyD;IACzD,MAAM,EAAE,WAAW,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,iEAAiE;IACjE,eAAe,EAAE,MAAM,CAAC;IACxB,+DAA+D;IAC/D,eAAe,EAAE,MAAM,CAAC;IACxB,+BAA+B;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,2BAA2B;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,0BAA0B;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,0DAA0D;IAC1D,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,oCAAoC;AACpC,MAAM,WAAW,KAAK;IACpB,0DAA0D;IAC1D,EAAE,EAAE,MAAM,CAAC;IACX,qDAAqD;IACrD,WAAW,EAAE,MAAM,CAAC;IACpB,kFAAkF;IAClF,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,wDAAwD;IACxD,UAAU,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/** Resolved tool toggle item rendered in the conversation input tools submenu. */
|
|
3
|
+
export interface ToolMenuItem {
|
|
4
|
+
/** Unique tool identifier matching the deployment configuration schema property key. */
|
|
5
|
+
id: string;
|
|
6
|
+
/** Human-readable label displayed next to the tool icon. */
|
|
7
|
+
label: string;
|
|
8
|
+
/** Icon element rendered inline before the label. */
|
|
9
|
+
icon: ReactNode;
|
|
10
|
+
/** Whether the tool is currently toggled on. */
|
|
11
|
+
isSelected: boolean;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=tool-menu-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-menu-item.d.ts","sourceRoot":"","sources":["../../src/models/tool-menu-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,kFAAkF;AAClF,MAAM,WAAW,YAAY;IAC3B,wFAAwF;IACxF,EAAE,EAAE,MAAM,CAAC;IACX,4DAA4D;IAC5D,KAAK,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,IAAI,EAAE,SAAS,CAAC;IAChB,gDAAgD;IAChD,UAAU,EAAE,OAAO,CAAC;CACrB"}
|
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.3.0-dev.
|
|
4
|
+
"version": "1.3.0-dev.51",
|
|
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.
|
|
36
|
-
"@epam/ai-dial-react-file-manager": "^0.3.
|
|
35
|
+
"@epam/ai-dial-ui-kit": "^0.15.4",
|
|
36
|
+
"@epam/ai-dial-react-file-manager": "^0.3.5",
|
|
37
37
|
"ag-grid-community": "^35.3.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependenciesMeta": {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** Discriminates why an attachment upload failed. Only set when `status === RequestStatus.Error`. */
|
|
2
|
+
export declare enum AttachmentErrorReason {
|
|
3
|
+
/** Upload failed because the device was offline. */
|
|
4
|
+
Network = "network",
|
|
5
|
+
/** File MIME type is not in the deployment's inputAttachmentTypes list. */
|
|
6
|
+
UnsupportedType = "unsupported-type",
|
|
7
|
+
/** File size exceeds the configured maximum attachment size. */
|
|
8
|
+
FileTooLarge = "file-too-large"
|
|
9
|
+
}
|
|
10
|
+
/** Discriminates the kind of content an attachment carries. */
|
|
11
|
+
export declare enum AttachmentType {
|
|
12
|
+
/** Generic file attachment (non-image, non-audio). */
|
|
13
|
+
File = "file",
|
|
14
|
+
/** Raster or vector image. */
|
|
15
|
+
Image = "image",
|
|
16
|
+
/** Audio file that can be played inline. */
|
|
17
|
+
Audio = "audio",
|
|
18
|
+
/** A saved prompt snippet. */
|
|
19
|
+
Prompt = "prompt",
|
|
20
|
+
/** Text pasted directly by the user. */
|
|
21
|
+
Pasted = "pasted",
|
|
22
|
+
/** A link to a file or webpage. */
|
|
23
|
+
Link = "link"
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=attachment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../src/types/attachment.ts"],"names":[],"mappings":"AAAA,qGAAqG;AACrG,oBAAY,qBAAqB;IAC/B,oDAAoD;IACpD,OAAO,YAAY;IACnB,2EAA2E;IAC3E,eAAe,qBAAqB;IACpC,gEAAgE;IAChE,YAAY,mBAAmB;CAChC;AAED,+DAA+D;AAC/D,oBAAY,cAAc;IACxB,sDAAsD;IACtD,IAAI,SAAS;IACb,8BAA8B;IAC9B,KAAK,UAAU;IACf,4CAA4C;IAC5C,KAAK,UAAU;IACf,8BAA8B;IAC9B,MAAM,WAAW;IACjB,wCAAwC;IACxC,MAAM,WAAW;IACjB,mCAAmC;IACnC,IAAI,SAAS;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-editor.d.ts","sourceRoot":"","sources":["../../src/types/code-editor.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,oBAAY,cAAc;IACxB,sCAAsC;IACtC,IAAI,SAAS;IACb,uCAAuC;IACvC,KAAK,UAAU;CAChB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Entity type for a catalog item. Values are uppercase for direct color-map lookup. */
|
|
2
|
+
export declare enum CatalogEntityType {
|
|
3
|
+
Model = "MODEL",
|
|
4
|
+
Agent = "AGENT",
|
|
5
|
+
Toolset = "TOOLSET",
|
|
6
|
+
Skill = "SKILL",
|
|
7
|
+
/** Reusable text prompt. Carries a body instead of a runtime. */
|
|
8
|
+
Prompt = "PROMPT"
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=entity-type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-type.d.ts","sourceRoot":"","sources":["../../src/types/entity-type.ts"],"names":[],"mappings":"AAAA,wFAAwF;AACxF,oBAAY,iBAAiB;IAC3B,KAAK,UAAU;IACf,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,iEAAiE;IACjE,MAAM,WAAW;CAClB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DialFileNodeType } from '@epam/ai-dial-react-file-manager';
|
|
2
|
+
/**
|
|
3
|
+
* Minimal node shape file-manager selection predicates are evaluated against.
|
|
4
|
+
* Satisfied by both grid rows and `DialFile` controller items, so one
|
|
5
|
+
* predicate can gate manual grid clicks and programmatic selection changes.
|
|
6
|
+
*/
|
|
7
|
+
export interface FileManagerSelectableNode {
|
|
8
|
+
/** Virtual path of the node. */
|
|
9
|
+
path: string;
|
|
10
|
+
/** Distinguishes folders from files. */
|
|
11
|
+
nodeType: DialFileNodeType;
|
|
12
|
+
/** MIME type of a file node, when known. */
|
|
13
|
+
contentType?: string;
|
|
14
|
+
/** Size in bytes of a file node, when known. */
|
|
15
|
+
contentLength?: number;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=file-manager-node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-manager-node.d.ts","sourceRoot":"","sources":["../../src/types/file-manager-node.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,wCAAwC;IACxC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gDAAgD;IAChD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|