@resolveio/client-lib-core 21.4.13 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/client-lib-core",
3
- "version": "21.4.13",
3
+ "version": "21.4.14",
4
4
  "module": "fesm2022/resolveio-client-lib-core.min.mjs",
5
5
  "typings": "types/resolveio-client-lib-core.d.ts",
6
6
  "exports": {
@@ -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;
@@ -1141,6 +1144,7 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
1141
1144
  formatFileSize(bytes?: number): string;
1142
1145
  trackByConversation(index: number, convo: AiTerminalConversationModel): string;
1143
1146
  trackByMessage(index: number, message: AiTerminalMessageModel): string;
1147
+ trackByFavoritePrompt(index: number, prompt: string): string;
1144
1148
  createConversation(): Promise<void>;
1145
1149
  setActiveConversation(conversation: AiTerminalConversationModel): void;
1146
1150
  startRename(conversation: AiTerminalConversationModel): void;
@@ -1153,6 +1157,12 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
1153
1157
  handleFileSelect(event: Event): void;
1154
1158
  removePendingFile(index: number): void;
1155
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;
1156
1166
  private resolveConfig;
1157
1167
  private resolveMongoConfig;
1158
1168
  private resolveMode;
@@ -1232,6 +1242,15 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
1232
1242
  private formatDisplayColumn;
1233
1243
  private containsMarkdownTable;
1234
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;
1235
1254
  private loadSupportTicketMap;
1236
1255
  private saveSupportTicketMap;
1237
1256
  private applyStoredSupportTicketOverrides;
@@ -2432,7 +2451,7 @@ interface CanComponentDeactivate {
2432
2451
  canDeactivate: () => Observable<boolean> | Promise<boolean> | boolean;
2433
2452
  }
2434
2453
  declare class CanDeactivateGuard {
2435
- canDeactivate(component: CanComponentDeactivate): boolean | Promise<boolean> | Observable<boolean>;
2454
+ canDeactivate(component: CanComponentDeactivate): boolean | Observable<boolean> | Promise<boolean>;
2436
2455
  static ɵfac: i0.ɵɵFactoryDeclaration<CanDeactivateGuard, never>;
2437
2456
  static ɵprov: i0.ɵɵInjectableDeclaration<CanDeactivateGuard>;
2438
2457
  }