@resolveio/client-lib-core 21.4.12 → 21.4.14
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/package.json
CHANGED
|
@@ -1076,6 +1076,8 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1076
1076
|
activeConversation: AiTerminalConversationModel | null;
|
|
1077
1077
|
messageText: string;
|
|
1078
1078
|
pendingFiles: File[];
|
|
1079
|
+
promptFavoriteEnabled: boolean;
|
|
1080
|
+
promptFavorites: string[];
|
|
1079
1081
|
isSending: boolean;
|
|
1080
1082
|
isDeployingTest: boolean;
|
|
1081
1083
|
isLoading: boolean;
|
|
@@ -1098,6 +1100,7 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1098
1100
|
private expandedDebugIds;
|
|
1099
1101
|
private pendingProgressTimers;
|
|
1100
1102
|
private readonly supportTicketStorageKey;
|
|
1103
|
+
private readonly promptFavoritesStorageKey;
|
|
1101
1104
|
private mongoReadCache;
|
|
1102
1105
|
private mongoReadInFlight;
|
|
1103
1106
|
private exportingMessageIds;
|
|
@@ -1113,6 +1116,7 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1113
1116
|
private createConversationPromise;
|
|
1114
1117
|
private currencySymbol;
|
|
1115
1118
|
constructor(terminal: AiTerminalService, services: ProviderService, pageRouter: AiPageRouterService, _pageFormAdapter: AiPageFormAdapterService, locale: string);
|
|
1119
|
+
private get _services();
|
|
1116
1120
|
ngOnInit(): void;
|
|
1117
1121
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1118
1122
|
ngOnDestroy(): void;
|
|
@@ -1140,6 +1144,7 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1140
1144
|
formatFileSize(bytes?: number): string;
|
|
1141
1145
|
trackByConversation(index: number, convo: AiTerminalConversationModel): string;
|
|
1142
1146
|
trackByMessage(index: number, message: AiTerminalMessageModel): string;
|
|
1147
|
+
trackByFavoritePrompt(index: number, prompt: string): string;
|
|
1143
1148
|
createConversation(): Promise<void>;
|
|
1144
1149
|
setActiveConversation(conversation: AiTerminalConversationModel): void;
|
|
1145
1150
|
startRename(conversation: AiTerminalConversationModel): void;
|
|
@@ -1152,6 +1157,12 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1152
1157
|
handleFileSelect(event: Event): void;
|
|
1153
1158
|
removePendingFile(index: number): void;
|
|
1154
1159
|
clearComposer(): void;
|
|
1160
|
+
togglePromptFavorite(): void;
|
|
1161
|
+
runFavoritePrompt(prompt: string): Promise<void>;
|
|
1162
|
+
removeFavoritePrompt(prompt: string, event?: Event): void;
|
|
1163
|
+
canToggleFavoriteForMessage(message: AiTerminalMessageModel): boolean;
|
|
1164
|
+
isMessagePromptFavorited(message: AiTerminalMessageModel): boolean;
|
|
1165
|
+
toggleMessagePromptFavorite(message: AiTerminalMessageModel, event?: Event): void;
|
|
1155
1166
|
private resolveConfig;
|
|
1156
1167
|
private resolveMongoConfig;
|
|
1157
1168
|
private resolveMode;
|
|
@@ -1214,6 +1225,8 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1214
1225
|
isSuperAdmin(): boolean;
|
|
1215
1226
|
private resolveDebugPayload;
|
|
1216
1227
|
showDebugForMessage(message: AiTerminalMessageModel): boolean;
|
|
1228
|
+
canCopyMessage(message: AiTerminalMessageModel): boolean;
|
|
1229
|
+
copyMessage(message: AiTerminalMessageModel): Promise<void>;
|
|
1217
1230
|
copyAssistantResponse(message: AiTerminalMessageModel): Promise<void>;
|
|
1218
1231
|
private buildCopyText;
|
|
1219
1232
|
private stringifyCopyDebug;
|
|
@@ -1229,6 +1242,15 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1229
1242
|
private formatDisplayColumn;
|
|
1230
1243
|
private containsMarkdownTable;
|
|
1231
1244
|
private stripMarkdownTables;
|
|
1245
|
+
private addPromptFavorite;
|
|
1246
|
+
private removePromptFavorite;
|
|
1247
|
+
private isPromptFavorited;
|
|
1248
|
+
private extractFavoritePromptFromMessage;
|
|
1249
|
+
private normalizeFavoritePrompt;
|
|
1250
|
+
private loadPromptFavorites;
|
|
1251
|
+
private savePromptFavorites;
|
|
1252
|
+
private readPromptFavoritesPayload;
|
|
1253
|
+
private resolvePromptFavoritesScopeKey;
|
|
1232
1254
|
private loadSupportTicketMap;
|
|
1233
1255
|
private saveSupportTicketMap;
|
|
1234
1256
|
private applyStoredSupportTicketOverrides;
|