@resolveio/client-lib-core 21.5.50 → 21.5.52
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
|
@@ -885,7 +885,8 @@ declare class HomeComponent extends BaseComponent implements OnInit {
|
|
|
885
885
|
static ɵcmp: i0.ɵɵComponentDeclaration<HomeComponent, "resolveio-home", never, {}, {}, never, never, false, never>;
|
|
886
886
|
}
|
|
887
887
|
|
|
888
|
-
type AiTerminalMode = 'openai' | 'codex';
|
|
888
|
+
type AiTerminalMode = 'openai' | 'codex' | 'resolveio' | 'aicoder';
|
|
889
|
+
type AiTerminalAssistantMode = 'resolveio' | 'aicoder';
|
|
889
890
|
type AiTerminalMongoAccess = 'read' | 'readWrite';
|
|
890
891
|
interface AiTerminalMongoConfig {
|
|
891
892
|
connectionId?: string;
|
|
@@ -906,11 +907,13 @@ interface AiTerminalMethodNames {
|
|
|
906
907
|
uploadCodex?: string;
|
|
907
908
|
reportIssue?: string;
|
|
908
909
|
deployTest?: string;
|
|
910
|
+
deployLive?: string;
|
|
909
911
|
conversationsPublication?: string;
|
|
910
912
|
messagesPublication?: string;
|
|
911
913
|
}
|
|
912
914
|
interface AiTerminalConfig$1 {
|
|
913
915
|
mode?: AiTerminalMode;
|
|
916
|
+
assistantMode?: AiTerminalAssistantMode;
|
|
914
917
|
branchEnabled?: boolean;
|
|
915
918
|
showAdvanced?: boolean;
|
|
916
919
|
showToolMessages?: boolean;
|
|
@@ -1145,6 +1148,7 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1145
1148
|
promptFavorites: string[];
|
|
1146
1149
|
isSending: boolean;
|
|
1147
1150
|
isDeployingTest: boolean;
|
|
1151
|
+
isDeployingLive: boolean;
|
|
1148
1152
|
isLoading: boolean;
|
|
1149
1153
|
errorMessage: string;
|
|
1150
1154
|
infoMessage: string;
|
|
@@ -1210,6 +1214,9 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1210
1214
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1211
1215
|
ngOnDestroy(): void;
|
|
1212
1216
|
isCodexMode(): boolean;
|
|
1217
|
+
isAICoderAssistant(): boolean;
|
|
1218
|
+
defaultConversationTitle(): string;
|
|
1219
|
+
starterPromptSuggestions(): string[];
|
|
1213
1220
|
showAdvanced(): boolean;
|
|
1214
1221
|
showToolMessages(): boolean;
|
|
1215
1222
|
allowUploads(): boolean;
|
|
@@ -1246,6 +1253,7 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1246
1253
|
sendMessage(): Promise<void>;
|
|
1247
1254
|
startNewConversation(): Promise<void>;
|
|
1248
1255
|
deployTest(): Promise<void>;
|
|
1256
|
+
deployLive(): Promise<void>;
|
|
1249
1257
|
handleFileSelect(event: Event): void;
|
|
1250
1258
|
removePendingFile(index: number): void;
|
|
1251
1259
|
clearComposer(): void;
|
|
@@ -1262,6 +1270,8 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1262
1270
|
private resolveConfig;
|
|
1263
1271
|
private resolveMongoConfig;
|
|
1264
1272
|
private resolveMode;
|
|
1273
|
+
private resolveAssistantMode;
|
|
1274
|
+
private resolveEngineMode;
|
|
1265
1275
|
private resolveCodexPayloadConfig;
|
|
1266
1276
|
private resolveCodexFallbackModels;
|
|
1267
1277
|
private resolveBranchEnabled;
|
|
@@ -1391,6 +1401,13 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1391
1401
|
private isMongoCountQuestion;
|
|
1392
1402
|
private createMongoReadFromDirective;
|
|
1393
1403
|
private createMongoAggregateFromDirective;
|
|
1404
|
+
private createMongoWriteFromDirective;
|
|
1405
|
+
private isSuperAdminUser;
|
|
1406
|
+
private hasMongoWriteAccess;
|
|
1407
|
+
private normalizeMongoWriteDirective;
|
|
1408
|
+
private normalizeMongoWriteOperation;
|
|
1409
|
+
private normalizeDirectiveString;
|
|
1410
|
+
private formatMongoWriteResult;
|
|
1394
1411
|
private appendMongoReadResult;
|
|
1395
1412
|
private formatCollectionLabel;
|
|
1396
1413
|
private formatMongoReadResult;
|
|
@@ -1415,6 +1432,7 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1415
1432
|
|
|
1416
1433
|
type AiTerminalConfig = {
|
|
1417
1434
|
mode?: string;
|
|
1435
|
+
assistantMode?: 'resolveio' | 'aicoder';
|
|
1418
1436
|
model?: string;
|
|
1419
1437
|
fallbackModel?: string;
|
|
1420
1438
|
fallbackModels?: string[];
|
|
@@ -3008,7 +3026,7 @@ interface CanComponentDeactivate {
|
|
|
3008
3026
|
canDeactivate: () => Observable<boolean> | Promise<boolean> | boolean;
|
|
3009
3027
|
}
|
|
3010
3028
|
declare class CanDeactivateGuard {
|
|
3011
|
-
canDeactivate(component: CanComponentDeactivate): boolean |
|
|
3029
|
+
canDeactivate(component: CanComponentDeactivate): boolean | Observable<boolean> | Promise<boolean>;
|
|
3012
3030
|
static ɵfac: i0.ɵɵFactoryDeclaration<CanDeactivateGuard, never>;
|
|
3013
3031
|
static ɵprov: i0.ɵɵInjectableDeclaration<CanDeactivateGuard>;
|
|
3014
3032
|
}
|
|
@@ -3663,4 +3681,4 @@ declare const MongoExplorerModulePermission: ModulePermissionModel;
|
|
|
3663
3681
|
declare const SuperAdminModulePermission: ModulePermissionModel;
|
|
3664
3682
|
|
|
3665
3683
|
export { AccountManagerService, AiAssistantComponent, AiFormAutoRegisterDirective, AiFormRegistryService, AiPageFormAdapterService, AiPageRouterService, AiTerminalComponent, AiTerminalModule, AiTerminalService, AlertService, Auth365Component, AuthGuard, AuthPermissionService, AuthService, AwsService, BaseComponent, CanDeactivateGuard, CollapseTableComponent, CollapseTableModule, CoreAuthModule, CoreComponent, CoreDialogModule, CoreLoggerModule, CoreModule, CoreService, CoreServicesModule, CoreShellModule, CoreTourService, DATATABLE_DEFAULT_CONFIG, DatatableCellTemplateDirective, DatatableComponent, DatatableModule, DateShortcutComponent, DateShortcutModule, DialogConfirmContent, DialogErrorContent, DialogInputContent, DialogLoginContent, DialogNotifyContent, DialogRegisterContent, DialogSelectArrayContent, DialogSelectArrayObjsContent, DialogSelectDataLabelsContent, DialogSelectDateTimeContent, DialogSelectWithButtonsURLContent, DialogService, DomSanitizorPipe, Draggable, DropEvent, Droppable, EnrollComponent, FeatureGateService, FileModule, FileUploadComponent, FilterEqualPipe, FilterNotEqualPipe, FocusDirective, ForgotPasswordComponent, FormButtonComponent, FormButtonModule, HomeComponent, HtmlDiffViewerComponent, JsonParsePipe, ListComponent, ListTemplateCellTemplateDirective, ListTemplateComponent, ListTemplateModule, ListTemplateStateService, LoggerComponent, MinusCurrencyPipe, MongoExplorerModulePermission, NavbarMainComponent, NavbarModuleComponent, NgDragDropModule, NgDragDropService, OfflineManagerService, PhonePipe, PipeModule, ProviderService, ReportBuilderModulePermission, ResizeService, ResponsiveButtonGroupComponent, ResponsiveButtonGroupModule, ReversePipe, RioPaginationComponent, RioPaginationModule, SchedulerComponent, SchedulerModule, ScrollDirective, SharedModule, SocketManagerService, SocketService, SortTableDirective, SortTableHeaderComponent, SortTableModule, SortTableNgForComponent, Sortable as SortableJs, SortablejsDirective, SortablejsModule, StorageDB, SuperAdminModulePermission, TitleCaseAndUnderscorePipe, TokenManagerService, TourAnchorDirective, UserRoleComponent, UserRoleModule, ValidationService, WindowRefService, applyMongoUpdate, b64toBlobURL, blobToFile, buildDatatableColumnFilterClauses, buildMappedFilterClauses, buildRegexOrSearchClause, buildSearchClause, dateElementToEndDate, dateElementToStartDate, dateOnlyEndOfDayTz, dateOnlyStartOfDayTz, dateReviver, deepCopy, deepDiffDetails, escapeRegExp, exportCsv, generateCronStringFromDate, hasActiveDatatableColumnFilter, isUpperCase, mergeDeep, momentTz, pad, provideDatatableDefaultConfig, rioDatePickerConfigFactory, round, s2ab, toDataURL, toTitleCase, type };
|
|
3666
|
-
export type { ActiveClientSubscriptionModel, AiFormRegistryEntry, AiPageAdapter, AiPageContext, AiPageContextMode, AiPageRequest, AiPageResult, AiPageSchema, AiTerminalAttachmentModel, AiTerminalConfig$1 as AiTerminalConfig, AiTerminalConversationModel, AiTerminalConversationStatus, AiTerminalDisplayTable, AiTerminalMessageModel, AiTerminalMessageRole, AiTerminalMessageUsage, AiTerminalMethodNames, AiTerminalMode, AiTerminalMongoAccess, AiTerminalMongoConfig, AiTerminalToolResult, AppStatusModel, CanComponentDeactivate, CollectionDocument, CronJobModel, CsvExportOptions, DatatableButtonAction, DatatableCellActionEvent, DatatableColumn, DatatableColumnAlign, DatatableColumnFilter, DatatableColumnFilterOperator, DatatableColumnFilterType, DatatableColumnTypes, DatatableDefaultConfig, DatatableInputConfig, DatatableModel, DatatablePipeConfig, DatatablePipeName, DatatableProgressConfig, DatatableRowClickEvent, DatatableRowNavigationMode, DatatableSelectConfig, DatatableSelectOption, DateElementLike, DialogInputFieldModel, DialogInputFieldSelectOptions, DialogSelectWithButtonsOptionModel, FileModel, ListTemplateAutoFilterConfig, ListTemplateBuildQueryParamsOptions, ListTemplateDataSourceConfig, ListTemplateDataSourceContext, ListTemplateDateElement, ListTemplateFilterOption, ListTemplateQueryStateOptions, ListTemplateQueryStateResult, ListTemplateSearchMode, LogMethodLatencyModel, ModulePermissionApprovalModel, ModulePermissionModel, ModulePermissionViewModel, NavbarMainTabLinkModel, NavbarMainTabModel, NavbarMainTabType, NavbarModel, NavbarTabModel, OtherObject, PaginationOptions, QueryFilterMapping, QuerySearchClauseOptions, QuerySearchMode, ScrollEvent, SelectDataLabelModel, Sort, SortDirection, SortDirectionType, SortMongo, Sortable$1 as Sortable, SortableEvent as SortablejsEvent, Options as SortablejsOptions, SubscriptionModel, SubscriptionPubModel, UserDelegateModel, UserEmploymentLevelType, UserGroupModel, UserGroupNotificationModel, UserGroupPermissionModel, UserGroupViewModel, UserModel, UserNotificationConfigModel, UserNotificationModel, UserNotificationSubTypes, UserNotificationTypes, UserRoleApprovalModel, UserRoleGroupModel, UserRoleModel, UserSettingsModel, UserSupervisorModel, alertType };
|
|
3684
|
+
export type { ActiveClientSubscriptionModel, AiFormRegistryEntry, AiPageAdapter, AiPageContext, AiPageContextMode, AiPageRequest, AiPageResult, AiPageSchema, AiTerminalAssistantMode, AiTerminalAttachmentModel, AiTerminalConfig$1 as AiTerminalConfig, AiTerminalConversationModel, AiTerminalConversationStatus, AiTerminalDisplayTable, AiTerminalMessageModel, AiTerminalMessageRole, AiTerminalMessageUsage, AiTerminalMethodNames, AiTerminalMode, AiTerminalMongoAccess, AiTerminalMongoConfig, AiTerminalToolResult, AppStatusModel, CanComponentDeactivate, CollectionDocument, CronJobModel, CsvExportOptions, DatatableButtonAction, DatatableCellActionEvent, DatatableColumn, DatatableColumnAlign, DatatableColumnFilter, DatatableColumnFilterOperator, DatatableColumnFilterType, DatatableColumnTypes, DatatableDefaultConfig, DatatableInputConfig, DatatableModel, DatatablePipeConfig, DatatablePipeName, DatatableProgressConfig, DatatableRowClickEvent, DatatableRowNavigationMode, DatatableSelectConfig, DatatableSelectOption, DateElementLike, DialogInputFieldModel, DialogInputFieldSelectOptions, DialogSelectWithButtonsOptionModel, FileModel, ListTemplateAutoFilterConfig, ListTemplateBuildQueryParamsOptions, ListTemplateDataSourceConfig, ListTemplateDataSourceContext, ListTemplateDateElement, ListTemplateFilterOption, ListTemplateQueryStateOptions, ListTemplateQueryStateResult, ListTemplateSearchMode, LogMethodLatencyModel, ModulePermissionApprovalModel, ModulePermissionModel, ModulePermissionViewModel, NavbarMainTabLinkModel, NavbarMainTabModel, NavbarMainTabType, NavbarModel, NavbarTabModel, OtherObject, PaginationOptions, QueryFilterMapping, QuerySearchClauseOptions, QuerySearchMode, ScrollEvent, SelectDataLabelModel, Sort, SortDirection, SortDirectionType, SortMongo, Sortable$1 as Sortable, SortableEvent as SortablejsEvent, Options as SortablejsOptions, SubscriptionModel, SubscriptionPubModel, UserDelegateModel, UserEmploymentLevelType, UserGroupModel, UserGroupNotificationModel, UserGroupPermissionModel, UserGroupViewModel, UserModel, UserNotificationConfigModel, UserNotificationModel, UserNotificationSubTypes, UserNotificationTypes, UserRoleApprovalModel, UserRoleGroupModel, UserRoleModel, UserSettingsModel, UserSupervisorModel, alertType };
|