@epam/ai-dial-shared 0.33.0-rc.39 → 0.33.0-rc.4
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.esm.js
CHANGED
|
@@ -23,10 +23,6 @@ var Feature;
|
|
|
23
23
|
Feature["MessageTemplates"] = "message-templates";
|
|
24
24
|
// Chat input
|
|
25
25
|
Feature["SkipFocusChatInputOnLoad"] = "skip-focus-chat-input-onload";
|
|
26
|
-
// Send button
|
|
27
|
-
Feature["DisabledSend"] = "disabled-send";
|
|
28
|
-
// Playback change
|
|
29
|
-
Feature["DisabledPlaybackControls"] = "disabled-playback-controls";
|
|
30
26
|
// Conversation First Screen
|
|
31
27
|
Feature["EmptyChatSettings"] = "empty-chat-settings";
|
|
32
28
|
Feature["HideEmptyChatChangeAgent"] = "hide-empty-chat-change-agent";
|
|
@@ -206,8 +202,6 @@ var OverlayRequests;
|
|
|
206
202
|
(function (OverlayRequests) {
|
|
207
203
|
OverlayRequests["getMessages"] = "GET_MESSAGES";
|
|
208
204
|
OverlayRequests["sendMessage"] = "SEND_MESSAGE";
|
|
209
|
-
OverlayRequests["deleteMessage"] = "DELETE_MESSAGE";
|
|
210
|
-
OverlayRequests["setInputContent"] = "SET_INPUT_CONTENT";
|
|
211
205
|
OverlayRequests["setSystemPrompt"] = "SET_SYSTEM_PROMPT";
|
|
212
206
|
OverlayRequests["setOverlayOptions"] = "SET_OVERLAY_OPTIONS";
|
|
213
207
|
OverlayRequests["getConversations"] = "GET_CONVERSATIONS";
|
|
@@ -218,7 +212,6 @@ var OverlayRequests;
|
|
|
218
212
|
OverlayRequests["deleteConversation"] = "DELETE_CONVERSATION";
|
|
219
213
|
OverlayRequests["renameConversation"] = "RENAME_CONVERSATION";
|
|
220
214
|
OverlayRequests["createPlaybackConversation"] = "CREATE_PLAYBACK_CONVERSATION";
|
|
221
|
-
OverlayRequests["stopSelectedPlaybackConversation"] = "STOP_SELECTED_PLAYBACK_CONVERSATION";
|
|
222
215
|
OverlayRequests["exportConversation"] = "EXPORT_CONVERSATION";
|
|
223
216
|
OverlayRequests["importConversation"] = "IMPORT_CONVERSATION";
|
|
224
217
|
})(OverlayRequests || (OverlayRequests = {}));
|
package/package.json
CHANGED
|
@@ -2,8 +2,6 @@ export declare const overlayAppName = "@DIAL_OVERLAY";
|
|
|
2
2
|
export declare enum OverlayRequests {
|
|
3
3
|
getMessages = "GET_MESSAGES",
|
|
4
4
|
sendMessage = "SEND_MESSAGE",
|
|
5
|
-
deleteMessage = "DELETE_MESSAGE",
|
|
6
|
-
setInputContent = "SET_INPUT_CONTENT",
|
|
7
5
|
setSystemPrompt = "SET_SYSTEM_PROMPT",
|
|
8
6
|
setOverlayOptions = "SET_OVERLAY_OPTIONS",
|
|
9
7
|
getConversations = "GET_CONVERSATIONS",
|
|
@@ -14,7 +12,6 @@ export declare enum OverlayRequests {
|
|
|
14
12
|
deleteConversation = "DELETE_CONVERSATION",
|
|
15
13
|
renameConversation = "RENAME_CONVERSATION",
|
|
16
14
|
createPlaybackConversation = "CREATE_PLAYBACK_CONVERSATION",
|
|
17
|
-
stopSelectedPlaybackConversation = "STOP_SELECTED_PLAYBACK_CONVERSATION",
|
|
18
15
|
exportConversation = "EXPORT_CONVERSATION",
|
|
19
16
|
importConversation = "IMPORT_CONVERSATION"
|
|
20
17
|
}
|
package/src/types/chat.d.ts
CHANGED
|
@@ -85,10 +85,9 @@ export declare enum PublishActions {
|
|
|
85
85
|
ADD_IF_ABSENT = "ADD_IF_ABSENT"
|
|
86
86
|
}
|
|
87
87
|
export interface EntityPublicationInfo {
|
|
88
|
-
version?: string;
|
|
89
|
-
publicationUrl?: string;
|
|
90
88
|
action?: PublishActions;
|
|
91
89
|
isNotExist?: boolean;
|
|
90
|
+
version?: string;
|
|
92
91
|
versionGroup?: string;
|
|
93
92
|
}
|
|
94
93
|
export declare enum FeatureType {
|
|
@@ -140,4 +139,5 @@ export interface Conversation extends ShareEntity, ConversationInfo {
|
|
|
140
139
|
selectedAddons: string[];
|
|
141
140
|
assistantModelId?: string;
|
|
142
141
|
isMessageStreaming?: boolean;
|
|
142
|
+
isNameChanged?: boolean;
|
|
143
143
|
}
|
package/src/types/features.d.ts
CHANGED
|
@@ -18,8 +18,6 @@ export declare enum Feature {
|
|
|
18
18
|
InputLinks = "input-links",// Allow attach links to conversation
|
|
19
19
|
MessageTemplates = "message-templates",// message templates
|
|
20
20
|
SkipFocusChatInputOnLoad = "skip-focus-chat-input-onload",// Skip default focusing chat input when on screen onload or after navigation
|
|
21
|
-
DisabledSend = "disabled-send",// Disable input
|
|
22
|
-
DisabledPlaybackControls = "disabled-playback-controls",// Disable changing playback current message
|
|
23
21
|
EmptyChatSettings = "empty-chat-settings",// Display settings for empty chat
|
|
24
22
|
HideEmptyChatChangeAgent = "hide-empty-chat-change-agent",// Hide empty chat "Change agent" button
|
|
25
23
|
ConversationsSharing = "conversations-sharing",// Display conversation sharing
|
|
@@ -2,12 +2,6 @@ import { LatestExportConversationsFormat } from '../import-export';
|
|
|
2
2
|
export interface SendMessageRequest {
|
|
3
3
|
content: string;
|
|
4
4
|
}
|
|
5
|
-
export interface DeleteMessageRequest {
|
|
6
|
-
index: number;
|
|
7
|
-
}
|
|
8
|
-
export interface SetInputContentRequest {
|
|
9
|
-
content: string;
|
|
10
|
-
}
|
|
11
5
|
export interface SetSystemPromptRequest {
|
|
12
6
|
systemPrompt: string;
|
|
13
7
|
}
|
|
@@ -6,9 +6,6 @@ export type SetSystemPromptResponse = void;
|
|
|
6
6
|
export interface GetMessagesResponse {
|
|
7
7
|
messages: Message[];
|
|
8
8
|
}
|
|
9
|
-
export interface DeleteMessageResponse {
|
|
10
|
-
messages: Message[];
|
|
11
|
-
}
|
|
12
9
|
export interface GetConversationsResponse {
|
|
13
10
|
conversations: OverlayConversation[];
|
|
14
11
|
}
|
|
@@ -30,9 +27,6 @@ export interface RenameConversationResponse {
|
|
|
30
27
|
export interface CreatePlaybackConversationResponse {
|
|
31
28
|
conversation: OverlayConversation;
|
|
32
29
|
}
|
|
33
|
-
export interface StopSelectedPlaybackConversationResponse {
|
|
34
|
-
conversation: OverlayConversation;
|
|
35
|
-
}
|
|
36
30
|
export interface ExportConversationResponse {
|
|
37
31
|
exportConversation: LatestExportConversationsFormat;
|
|
38
32
|
}
|