@resolveio/client-lib-core 21.4.11 → 21.4.13

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.11",
3
+ "version": "21.4.13",
4
4
  "module": "fesm2022/resolveio-client-lib-core.min.mjs",
5
5
  "typings": "types/resolveio-client-lib-core.d.ts",
6
6
  "exports": {
@@ -772,6 +772,7 @@ declare class CoreComponent extends BaseComponent implements OnInit {
772
772
  openedWindow: boolean;
773
773
  aiAssistantOpen: boolean;
774
774
  aiAssistantAppId: string;
775
+ aiAssistantConfig: Record<string, any> | null;
775
776
  currentRoute: string;
776
777
  isOffline: boolean;
777
778
  foundUpdate: boolean;
@@ -790,6 +791,9 @@ declare class CoreComponent extends BaseComponent implements OnInit {
790
791
  getAiAssistantHeight(): number;
791
792
  getAiAssistantReservedWidth(): number;
792
793
  private resolveAiAssistantAppId;
794
+ private resolveAiAssistantConfig;
795
+ private resolveEnvModelList;
796
+ private normalizeOptionalEnvString;
793
797
  onPushBackButton(): void;
794
798
  onPushReloadButton(): void;
795
799
  onPushForwardButton(): void;
@@ -855,6 +859,8 @@ interface AiTerminalConfig$1 {
855
859
  userPromptTemplate?: string;
856
860
  responseFormat?: string;
857
861
  model?: string;
862
+ fallbackModel?: string;
863
+ fallbackModels?: string[];
858
864
  temperature?: number;
859
865
  maxTokens?: number;
860
866
  profileId?: string;
@@ -1107,6 +1113,7 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
1107
1113
  private createConversationPromise;
1108
1114
  private currencySymbol;
1109
1115
  constructor(terminal: AiTerminalService, services: ProviderService, pageRouter: AiPageRouterService, _pageFormAdapter: AiPageFormAdapterService, locale: string);
1116
+ private get _services();
1110
1117
  ngOnInit(): void;
1111
1118
  ngOnChanges(changes: SimpleChanges): void;
1112
1119
  ngOnDestroy(): void;
@@ -1149,6 +1156,8 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
1149
1156
  private resolveConfig;
1150
1157
  private resolveMongoConfig;
1151
1158
  private resolveMode;
1159
+ private resolveCodexPayloadConfig;
1160
+ private resolveCodexFallbackModels;
1152
1161
  private resolveBranchEnabled;
1153
1162
  private methodNames;
1154
1163
  private subscribeConversations;
@@ -1206,6 +1215,8 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
1206
1215
  isSuperAdmin(): boolean;
1207
1216
  private resolveDebugPayload;
1208
1217
  showDebugForMessage(message: AiTerminalMessageModel): boolean;
1218
+ canCopyMessage(message: AiTerminalMessageModel): boolean;
1219
+ copyMessage(message: AiTerminalMessageModel): Promise<void>;
1209
1220
  copyAssistantResponse(message: AiTerminalMessageModel): Promise<void>;
1210
1221
  private buildCopyText;
1211
1222
  private stringifyCopyDebug;
@@ -1260,6 +1271,8 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
1260
1271
  type AiTerminalConfig = {
1261
1272
  mode?: string;
1262
1273
  model?: string;
1274
+ fallbackModel?: string;
1275
+ fallbackModels?: string[];
1263
1276
  guardrails?: boolean;
1264
1277
  allowUploads?: boolean;
1265
1278
  showAdvanced?: boolean;
@@ -2419,7 +2432,7 @@ interface CanComponentDeactivate {
2419
2432
  canDeactivate: () => Observable<boolean> | Promise<boolean> | boolean;
2420
2433
  }
2421
2434
  declare class CanDeactivateGuard {
2422
- canDeactivate(component: CanComponentDeactivate): boolean | Observable<boolean> | Promise<boolean>;
2435
+ canDeactivate(component: CanComponentDeactivate): boolean | Promise<boolean> | Observable<boolean>;
2423
2436
  static ɵfac: i0.ɵɵFactoryDeclaration<CanDeactivateGuard, never>;
2424
2437
  static ɵprov: i0.ɵɵInjectableDeclaration<CanDeactivateGuard>;
2425
2438
  }