@epam/ai-dial-chat-hooks 1.3.0-dev.37 → 1.3.0-dev.372
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/api-error/api-error.d.ts +2 -0
- package/api-error/api-error.d.ts.map +1 -1
- package/api-error/api-error.js +31 -23
- package/api-transport/create-unauthorized-middleware.js +4 -1
- package/attachment/attach-constraints.d.ts +31 -0
- package/attachment/attach-constraints.d.ts.map +1 -0
- package/attachment/attach-constraints.js +18 -0
- package/attachment/useAttachmentAction/useAttachmentAction.d.ts +1 -1
- package/attachment/useAttachmentAction/useAttachmentAction.d.ts.map +1 -1
- package/attachment/useAttachmentAction/useAttachmentAction.js +25 -28
- package/attachments.js +2 -1
- package/catalog/application-credentials.d.ts +15 -0
- package/catalog/application-credentials.d.ts.map +1 -0
- package/catalog/application-credentials.js +28 -0
- package/catalog/catalog-derivations.d.ts +5 -3
- package/catalog/catalog-derivations.d.ts.map +1 -1
- package/catalog/catalog-derivations.js +13 -6
- package/catalog/catalog-entity-kind.d.ts +31 -0
- package/catalog/catalog-entity-kind.d.ts.map +1 -0
- package/catalog/catalog-entity-kind.js +21 -0
- package/catalog/catalog-preferences.d.ts +8 -0
- package/catalog/catalog-preferences.d.ts.map +1 -0
- package/catalog/catalog-preferences.js +5 -0
- package/catalog/create-publish-api.d.ts +3 -1
- package/catalog/create-publish-api.d.ts.map +1 -1
- package/catalog/create-publish-api.js +4 -0
- package/catalog/deployment-id.d.ts +13 -4
- package/catalog/deployment-id.d.ts.map +1 -1
- package/catalog/deployment-id.js +17 -3
- package/catalog/entity-details.d.ts +2 -0
- package/catalog/entity-details.d.ts.map +1 -1
- package/catalog/favorite-entity-type.d.ts +5 -0
- package/catalog/favorite-entity-type.d.ts.map +1 -0
- package/catalog/favorite-entity-type.js +10 -0
- package/catalog/map-deployment-limits-to-input.d.ts +4 -3
- package/catalog/map-deployment-limits-to-input.d.ts.map +1 -1
- package/catalog/map-deployment-limits-to-input.js +3 -4
- package/catalog/map-deployment-to-catalog-item.d.ts +12 -1
- package/catalog/map-deployment-to-catalog-item.d.ts.map +1 -1
- package/catalog/map-deployment-to-catalog-item.js +22 -15
- package/catalog/map-entity-details-to-catalog.d.ts.map +1 -1
- package/catalog/map-entity-details-to-catalog.js +69 -24
- package/catalog/map-skill-to-catalog-item.d.ts +4 -5
- package/catalog/map-skill-to-catalog-item.d.ts.map +1 -1
- package/catalog/map-skill-to-catalog-item.js +29 -38
- package/catalog/publish.d.ts +1 -1
- package/catalog/publish.d.ts.map +1 -1
- package/catalog/resource-folder.d.ts +8 -0
- package/catalog/resource-folder.d.ts.map +1 -0
- package/catalog/resource-folder.js +13 -0
- package/catalog/resource-name-conflict.d.ts +22 -0
- package/catalog/resource-name-conflict.d.ts.map +1 -0
- package/catalog/resource-name-conflict.js +32 -0
- package/catalog/resource-save-adapter.d.ts +36 -0
- package/catalog/resource-save-adapter.d.ts.map +1 -0
- package/catalog/resource-save-adapter.js +4 -0
- package/catalog/resource-save-adapters.d.ts +93 -0
- package/catalog/resource-save-adapters.d.ts.map +1 -0
- package/catalog/resource-save-adapters.js +116 -0
- package/catalog/resource-save.d.ts +76 -0
- package/catalog/resource-save.d.ts.map +1 -0
- package/catalog/resource-save.js +52 -0
- package/catalog/unpublishable-folders.d.ts +21 -0
- package/catalog/unpublishable-folders.d.ts.map +1 -0
- package/catalog/unpublishable-folders.js +21 -0
- package/catalog/usage-limit-rows.d.ts +14 -0
- package/catalog/usage-limit-rows.d.ts.map +1 -0
- package/catalog/usage-limit-rows.js +19 -0
- package/catalog/use-publish-history.d.ts +19 -0
- package/catalog/use-publish-history.d.ts.map +1 -0
- package/catalog/use-publish-history.js +25 -0
- package/catalog/useApplicationCredentialActions/useApplicationCredentialActions.d.ts +57 -0
- package/catalog/useApplicationCredentialActions/useApplicationCredentialActions.d.ts.map +1 -0
- package/catalog/useApplicationCredentialActions/useApplicationCredentialActions.js +67 -0
- package/catalog/useCatalogEditNavigation/useCatalogEditNavigation.d.ts +23 -6
- package/catalog/useCatalogEditNavigation/useCatalogEditNavigation.d.ts.map +1 -1
- package/catalog/useCatalogEditNavigation/useCatalogEditNavigation.js +108 -107
- package/catalog/useCatalogItemDelete/useCatalogItemDelete.d.ts +41 -0
- package/catalog/useCatalogItemDelete/useCatalogItemDelete.d.ts.map +1 -0
- package/catalog/useCatalogItemDelete/useCatalogItemDelete.js +37 -0
- package/catalog/useCatalogToolsetCredentials/useCatalogToolsetCredentials.d.ts.map +1 -1
- package/catalog/useCatalogToolsetCredentials/useCatalogToolsetCredentials.js +72 -77
- package/catalog/useFavoriteEntitiesState/useFavoriteEntitiesState.js +1 -1
- package/catalog/usePublishFolders/usePublishFolders.d.ts +8 -0
- package/catalog/usePublishFolders/usePublishFolders.d.ts.map +1 -1
- package/catalog/usePublishFolders/usePublishFolders.js +32 -29
- package/catalog/useResourceFolders/useResourceFolders.d.ts +33 -0
- package/catalog/useResourceFolders/useResourceFolders.d.ts.map +1 -0
- package/catalog/useResourceFolders/useResourceFolders.js +58 -0
- package/catalog/useResourceSavePanel/useResourceSavePanel.d.ts +64 -0
- package/catalog/useResourceSavePanel/useResourceSavePanel.d.ts.map +1 -0
- package/catalog/useResourceSavePanel/useResourceSavePanel.js +173 -0
- package/catalog/useSkillItemDetails.js +3 -3
- package/catalog/useUnpublishConfirmation/useUnpublishConfirmation.d.ts +43 -0
- package/catalog/useUnpublishConfirmation/useUnpublishConfirmation.d.ts.map +1 -0
- package/catalog/useUnpublishConfirmation/useUnpublishConfirmation.js +46 -0
- package/catalog/useUnpublishableFolders/useUnpublishableFolders.d.ts +22 -0
- package/catalog/useUnpublishableFolders/useUnpublishableFolders.d.ts.map +1 -0
- package/catalog/useUnpublishableFolders/useUnpublishableFolders.js +53 -0
- package/catalog.js +41 -23
- package/conversation/conversation-data-source.d.ts +47 -0
- package/conversation/conversation-data-source.d.ts.map +1 -0
- package/conversation/conversation-data-source.js +11 -0
- package/conversation/conversation-draft/conversation-draft-store.d.ts +21 -0
- package/conversation/conversation-draft/conversation-draft-store.d.ts.map +1 -0
- package/conversation/conversation-draft/conversation-draft-store.js +84 -0
- package/conversation/conversation-draft/conversation-draft.d.ts +48 -0
- package/conversation/conversation-draft/conversation-draft.d.ts.map +1 -0
- package/conversation/conversation-list.d.ts +6 -0
- package/conversation/conversation-list.d.ts.map +1 -0
- package/conversation/conversation-list.js +5 -0
- package/conversation/conversation-title-stream.d.ts +33 -0
- package/conversation/conversation-title-stream.d.ts.map +1 -0
- package/conversation/conversation-title-stream.js +103 -0
- package/conversation/conversation-transfer/attachment-refs.d.ts +10 -2
- package/conversation/conversation-transfer/attachment-refs.d.ts.map +1 -1
- package/conversation/conversation-transfer/attachment-refs.js +31 -9
- package/conversation/conversation-transfer/export-conversation.d.ts +5 -1
- package/conversation/conversation-transfer/export-conversation.d.ts.map +1 -1
- package/conversation/conversation-transfer/export-conversation.js +19 -18
- package/conversation/conversation-transfer/import-conversation.d.ts +11 -6
- package/conversation/conversation-transfer/import-conversation.d.ts.map +1 -1
- package/conversation/conversation-transfer/import-conversation.js +65 -69
- package/conversation/conversation-transfer/progress.js +1 -1
- package/conversation/conversation-transfer/zip-export.js +1 -7
- package/conversation/conversation-transfer/zip-import.js +1 -1
- package/conversation/create-chat-stream-api.d.ts +24 -3
- package/conversation/create-chat-stream-api.d.ts.map +1 -1
- package/conversation/create-chat-stream-api.js +67 -56
- package/conversation/generation-registry.d.ts +30 -0
- package/conversation/generation-registry.d.ts.map +1 -0
- package/conversation/generation-registry.js +33 -0
- package/conversation/get-model-id-from-conversation-id.d.ts.map +1 -1
- package/conversation/get-model-id-from-conversation-id.js +1 -1
- package/conversation/message-utils.d.ts +6 -0
- package/conversation/message-utils.d.ts.map +1 -1
- package/conversation/message-utils.js +14 -10
- package/conversation/scheduled-task-grouping.d.ts +53 -0
- package/conversation/scheduled-task-grouping.d.ts.map +1 -0
- package/conversation/scheduled-task-grouping.js +45 -0
- package/conversation/useActiveConversationSync/useActiveConversationSync.d.ts +4 -2
- package/conversation/useActiveConversationSync/useActiveConversationSync.d.ts.map +1 -1
- package/conversation/useActiveConversationSync/useActiveConversationSync.js +19 -12
- package/conversation/useAttachmentUpload/useAttachmentUpload.d.ts.map +1 -1
- package/conversation/useAttachmentUpload/useAttachmentUpload.js +4 -1
- package/conversation/useConversationComposerDraft/useConversationComposerDraft.d.ts +39 -0
- package/conversation/useConversationComposerDraft/useConversationComposerDraft.d.ts.map +1 -0
- package/conversation/useConversationComposerDraft/useConversationComposerDraft.js +128 -0
- package/conversation/useConversationDiscovery/useConversationDiscovery.d.ts +22 -0
- package/conversation/useConversationDiscovery/useConversationDiscovery.d.ts.map +1 -0
- package/conversation/useConversationDiscovery/useConversationDiscovery.js +60 -0
- package/conversation/useConversationExport/useConversationExport.d.ts.map +1 -1
- package/conversation/useConversationExport/useConversationExport.js +113 -122
- package/conversation/useConversationHandlers/message-utils.js +2 -2
- package/conversation/useConversationHandlers/useConversationHandlers.js +41 -41
- package/conversation/useConversationImport/useConversationImport.js +24 -24
- package/conversation/useConversationPanelItems/useConversationPanelItems.d.ts +18 -5
- package/conversation/useConversationPanelItems/useConversationPanelItems.d.ts.map +1 -1
- package/conversation/useConversationPanelItems/useConversationPanelItems.js +34 -30
- package/conversation/useConversationScroll/useConversationScroll.d.ts.map +1 -1
- package/conversation/useConversationScroll/useConversationScroll.js +69 -72
- package/conversation/useConversationStream/conversation-path.js +2 -2
- package/conversation/useConversationStream/conversation-stream.types.d.ts +142 -0
- package/conversation/useConversationStream/conversation-stream.types.d.ts.map +1 -0
- package/conversation/useConversationStream/frame-scheduler.js +17 -17
- package/conversation/useConversationStream/generation-resume.d.ts +24 -2
- package/conversation/useConversationStream/generation-resume.d.ts.map +1 -1
- package/conversation/useConversationStream/generation-resume.js +110 -121
- package/conversation/useConversationStream/stream-errors.d.ts +10 -0
- package/conversation/useConversationStream/stream-errors.d.ts.map +1 -0
- package/conversation/useConversationStream/stream-errors.js +10 -0
- package/conversation/useConversationStream/stream-session.d.ts +51 -0
- package/conversation/useConversationStream/stream-session.d.ts.map +1 -0
- package/conversation/useConversationStream/stream-session.js +179 -0
- package/conversation/useConversationStream/useConversationReloadErrors.d.ts +25 -0
- package/conversation/useConversationStream/useConversationReloadErrors.d.ts.map +1 -0
- package/conversation/useConversationStream/useConversationReloadErrors.js +38 -0
- package/conversation/useConversationStream/useConversationStream.d.ts +3 -136
- package/conversation/useConversationStream/useConversationStream.d.ts.map +1 -1
- package/conversation/useConversationStream/useConversationStream.js +141 -325
- package/conversation/useConversationStream/useStopGeneration.d.ts +29 -0
- package/conversation/useConversationStream/useStopGeneration.d.ts.map +1 -0
- package/conversation/useConversationStream/useStopGeneration.js +48 -0
- package/conversation/useConversationStream/useStreamPathState.d.ts +39 -0
- package/conversation/useConversationStream/useStreamPathState.d.ts.map +1 -0
- package/conversation/useConversationStream/useStreamPathState.js +55 -0
- package/conversation/useConversationTitleEnrichmentController.d.ts +64 -0
- package/conversation/useConversationTitleEnrichmentController.d.ts.map +1 -0
- package/conversation/useConversationTitleEnrichmentController.js +155 -0
- package/conversation/useDeploymentChangeTracking.d.ts +14 -0
- package/conversation/useDeploymentChangeTracking.d.ts.map +1 -0
- package/conversation/useDeploymentChangeTracking.js +23 -0
- package/conversation/useEntityPreselection/useEntityPreselection.d.ts +108 -0
- package/conversation/useEntityPreselection/useEntityPreselection.d.ts.map +1 -0
- package/conversation/useEntityPreselection/useEntityPreselection.js +78 -0
- package/conversation/useMessageSelectionReply/useMessageSelectionReply.js +4 -10
- package/conversation/useTranscribeAudio/useTranscribeAudio.d.ts +8 -1
- package/conversation/useTranscribeAudio/useTranscribeAudio.d.ts.map +1 -1
- package/conversation/useTranscribeAudio/useTranscribeAudio.js +36 -27
- package/conversation/useVisibleConversationIdsReporter/useVisibleConversationIdsReporter.d.ts +16 -0
- package/conversation/useVisibleConversationIdsReporter/useVisibleConversationIdsReporter.d.ts.map +1 -0
- package/conversation/useVisibleConversationIdsReporter/useVisibleConversationIdsReporter.js +17 -0
- package/conversation-overlay.js +1 -2
- package/conversation-sources/stage-citations.d.ts +9 -0
- package/conversation-sources/stage-citations.d.ts.map +1 -0
- package/conversation-sources/stage-citations.js +8 -0
- package/conversation-sources/useConversationAnnotationPool/useConversationAnnotationPool.d.ts +4 -0
- package/conversation-sources/useConversationAnnotationPool/useConversationAnnotationPool.d.ts.map +1 -0
- package/conversation-sources/useConversationAnnotationPool/useConversationAnnotationPool.js +5 -0
- package/conversation-sources.js +3 -1
- package/conversation.js +45 -33
- package/entry-points/attachments.d.ts +1 -0
- package/entry-points/attachments.d.ts.map +1 -1
- package/entry-points/catalog.d.ts +17 -0
- package/entry-points/catalog.d.ts.map +1 -1
- package/entry-points/conversation-sources.d.ts +2 -0
- package/entry-points/conversation-sources.d.ts.map +1 -1
- package/entry-points/conversation.d.ts +13 -0
- package/entry-points/conversation.d.ts.map +1 -1
- package/entry-points/external-services.d.ts +6 -0
- package/entry-points/external-services.d.ts.map +1 -0
- package/entry-points/file-manager-canvas.d.ts +1 -0
- package/entry-points/file-manager-canvas.d.ts.map +1 -1
- package/entry-points/file-manager.d.ts +2 -0
- package/entry-points/file-manager.d.ts.map +1 -1
- package/entry-points/oauth.d.ts +1 -0
- package/entry-points/oauth.d.ts.map +1 -1
- package/entry-points/offline-credentials.d.ts +7 -0
- package/entry-points/offline-credentials.d.ts.map +1 -0
- package/entry-points/project.d.ts +20 -0
- package/entry-points/project.d.ts.map +1 -0
- package/entry-points/scheduled-tasks.d.ts +7 -0
- package/entry-points/scheduled-tasks.d.ts.map +1 -1
- package/entry-points/sharing.d.ts +4 -0
- package/entry-points/sharing.d.ts.map +1 -1
- package/entry-points/skill-editor.d.ts +2 -0
- package/entry-points/skill-editor.d.ts.map +1 -1
- package/entry-points/skills-state.d.ts +1 -0
- package/entry-points/skills-state.d.ts.map +1 -1
- package/entry-points/usage-limits.d.ts +9 -0
- package/entry-points/usage-limits.d.ts.map +1 -0
- package/entry-points/utils.d.ts +6 -0
- package/entry-points/utils.d.ts.map +1 -1
- package/entry-points/viewport-layout.d.ts +1 -0
- package/entry-points/viewport-layout.d.ts.map +1 -1
- package/external-services/useExternalServiceLogin.d.ts +99 -0
- package/external-services/useExternalServiceLogin.d.ts.map +1 -0
- package/external-services/useExternalServiceLogin.js +93 -0
- package/external-services.d.ts +2 -0
- package/external-services.js +5 -0
- package/file-manager-canvas.js +3 -2
- package/file-manager.js +32 -30
- package/files/attachment-canvas.d.ts +12 -0
- package/files/attachment-canvas.d.ts.map +1 -1
- package/files/attachment-canvas.js +18 -10
- package/files/attachment-dto-to-display.d.ts.map +1 -1
- package/files/attachment-dto-to-display.js +13 -12
- package/files/attachment-types.js +1 -1
- package/files/browser-download.d.ts +9 -0
- package/files/browser-download.d.ts.map +1 -0
- package/files/browser-download.js +23 -0
- package/files/create-files-api.d.ts +3 -4
- package/files/create-files-api.d.ts.map +1 -1
- package/files/create-files-api.js +1 -1
- package/files/create-upload-file-with-progress.d.ts +21 -1
- package/files/create-upload-file-with-progress.d.ts.map +1 -1
- package/files/create-upload-file-with-progress.js +50 -34
- package/files/dial-file-manager-copy-move.util.d.ts.map +1 -1
- package/files/dial-file-manager-copy-move.util.js +28 -28
- package/files/dial-file-manager-mapping.util.d.ts +23 -3
- package/files/dial-file-manager-mapping.util.d.ts.map +1 -1
- package/files/dial-file-manager-mapping.util.js +97 -69
- package/files/dial-file-manager.types.d.ts +15 -5
- package/files/dial-file-manager.types.d.ts.map +1 -1
- package/files/dial-file-to-attachment.js +3 -3
- package/files/dial-file.d.ts +19 -0
- package/files/dial-file.d.ts.map +1 -1
- package/files/dial-file.js +20 -12
- package/files/dial-files-api.d.ts +2 -2
- package/files/dial-files-api.d.ts.map +1 -1
- package/files/download-progress.d.ts +33 -0
- package/files/download-progress.d.ts.map +1 -0
- package/files/download-progress.js +28 -0
- package/files/source-content.js +1 -1
- package/files/useDialFileListing/useDialFileListing.d.ts.map +1 -1
- package/files/useDialFileListing/useDialFileListing.js +97 -109
- package/files/useDialFileManager/useDialFileManager.d.ts.map +1 -1
- package/files/useDialFileManager/useDialFileManager.js +5 -2
- package/files/useDialFileManagerSections/useDialFileManagerSections.d.ts.map +1 -1
- package/files/useDialFileManagerSections/useDialFileManagerSections.js +59 -68
- package/files/useDialFileManagerTabConfig/useDialFileManagerTabConfig.js +1 -1
- package/files/useDialFileMetadata/useDialFileMetadata.js +3 -3
- package/files/useDialFileMutations/useDialFileMutations.d.ts +9 -0
- package/files/useDialFileMutations/useDialFileMutations.d.ts.map +1 -1
- package/files/useDialFileMutations/useDialFileMutations.js +232 -159
- package/files/useDialFilePreview/useDialFilePreview.d.ts +33 -0
- package/files/useDialFilePreview/useDialFilePreview.d.ts.map +1 -0
- package/files/useDialFilePreview/useDialFilePreview.js +45 -0
- package/files/useDialFileUploadBatch/useDialFileUploadBatch.d.ts.map +1 -1
- package/files/useDialFileUploadBatch/useDialFileUploadBatch.js +114 -103
- package/files/useFileAttachmentModalState/useFileAttachmentModalState.d.ts +25 -0
- package/files/useFileAttachmentModalState/useFileAttachmentModalState.d.ts.map +1 -0
- package/files/useFileAttachmentModalState/useFileAttachmentModalState.js +19 -0
- package/files/useFileAttachmentPicker/useFileAttachmentPicker.js +2 -2
- package/files/useUnshareConfirmationState/useUnshareConfirmationState.d.ts +23 -0
- package/files/useUnshareConfirmationState/useUnshareConfirmationState.d.ts.map +1 -0
- package/files/useUnshareConfirmationState/useUnshareConfirmationState.js +18 -0
- package/index.d.ts +96 -0
- package/index.d.ts.map +1 -1
- package/index.js +244 -149
- package/mcp-apps/mcp-apps-api-client.d.ts.map +1 -1
- package/mcp-apps/mcp-apps-api-client.js +18 -17
- package/mcp-apps/useMcpAppHostContext/useMcpAppHostContext.d.ts +3 -2
- package/mcp-apps/useMcpAppHostContext/useMcpAppHostContext.d.ts.map +1 -1
- package/mcp-apps/useMcpAppHostContext/useMcpAppHostContext.js +28 -10
- package/mcp-apps/useMcpAppTools/useMcpAppTools.d.ts.map +1 -1
- package/mcp-apps/useMcpAppTools/useMcpAppTools.js +45 -45
- package/oauth/authorize-url.d.ts +7 -1
- package/oauth/authorize-url.d.ts.map +1 -1
- package/oauth/authorize-url.js +14 -4
- package/oauth/callback-exchange.d.ts +49 -0
- package/oauth/callback-exchange.d.ts.map +1 -0
- package/oauth/callback-exchange.js +29 -0
- package/oauth/handshake.js +3 -10
- package/oauth/models.d.ts +25 -0
- package/oauth/models.d.ts.map +1 -1
- package/oauth/popup.d.ts.map +1 -1
- package/oauth/popup.js +19 -17
- package/oauth/toolset-id.d.ts +7 -0
- package/oauth/toolset-id.d.ts.map +1 -1
- package/oauth/toolset-id.js +9 -2
- package/oauth/useOAuthCallbackCompletion/useOAuthCallbackCompletion.d.ts.map +1 -1
- package/oauth/useOAuthCallbackCompletion/useOAuthCallbackCompletion.js +41 -42
- package/oauth/useToolsetLogin/useToolsetLogin.d.ts +7 -1
- package/oauth/useToolsetLogin/useToolsetLogin.d.ts.map +1 -1
- package/oauth/useToolsetLogin/useToolsetLogin.js +51 -42
- package/oauth.js +9 -8
- package/offline-credentials/map-offline-credentials-response.d.ts +20 -0
- package/offline-credentials/map-offline-credentials-response.d.ts.map +1 -0
- package/offline-credentials/map-offline-credentials-response.js +17 -0
- package/offline-credentials/scheduled-tasks-login-banner.d.ts +31 -0
- package/offline-credentials/scheduled-tasks-login-banner.d.ts.map +1 -0
- package/offline-credentials/scheduled-tasks-login-banner.js +17 -0
- package/offline-credentials/useOfflineCredentialsAuth/useOfflineCredentialsAuth.d.ts +58 -0
- package/offline-credentials/useOfflineCredentialsAuth/useOfflineCredentialsAuth.d.ts.map +1 -0
- package/offline-credentials/useOfflineCredentialsAuth/useOfflineCredentialsAuth.js +37 -0
- package/offline-credentials/useOfflineCredentialsGate/useOfflineCredentialsGate.d.ts +61 -0
- package/offline-credentials/useOfflineCredentialsGate/useOfflineCredentialsGate.d.ts.map +1 -0
- package/offline-credentials/useOfflineCredentialsGate/useOfflineCredentialsGate.js +37 -0
- package/offline-credentials/useOfflineCredentialsLogin/useOfflineCredentialsLogin.d.ts +28 -0
- package/offline-credentials/useOfflineCredentialsLogin/useOfflineCredentialsLogin.d.ts.map +1 -0
- package/offline-credentials/useOfflineCredentialsLogin/useOfflineCredentialsLogin.js +29 -0
- package/offline-credentials.d.ts +2 -0
- package/offline-credentials.js +7 -0
- package/package.json +49 -25
- package/project/create-project-chat.d.ts +34 -0
- package/project/create-project-chat.d.ts.map +1 -0
- package/project/create-project-chat.js +27 -0
- package/project/project-conversation-data-source.d.ts +36 -0
- package/project/project-conversation-data-source.d.ts.map +1 -0
- package/project/project-conversation-data-source.js +67 -0
- package/project/project-events.d.ts +14 -0
- package/project/project-events.d.ts.map +1 -0
- package/project/project-events.js +25 -0
- package/project/project-file-preview.d.ts +32 -0
- package/project/project-file-preview.d.ts.map +1 -0
- package/project/project-file-preview.js +25 -0
- package/project/project-form-errors.d.ts +23 -0
- package/project/project-form-errors.d.ts.map +1 -0
- package/project/project-form-errors.js +46 -0
- package/project/project-limits.d.ts +17 -0
- package/project/project-limits.d.ts.map +1 -0
- package/project/project-limits.js +11 -0
- package/project/project-mapping.d.ts +16 -0
- package/project/project-mapping.d.ts.map +1 -0
- package/project/project-mapping.js +43 -0
- package/project/project-refresh.d.ts +12 -0
- package/project/project-refresh.d.ts.map +1 -0
- package/project/project-refresh.js +6 -0
- package/project/project-viewed-marks.d.ts +9 -0
- package/project/project-viewed-marks.d.ts.map +1 -0
- package/project/project-viewed-marks.js +8 -0
- package/project/project-watch-stream.d.ts +26 -0
- package/project/project-watch-stream.d.ts.map +1 -0
- package/project/project-watch-stream.js +39 -0
- package/project/projects-api-client.d.ts +179 -0
- package/project/projects-api-client.d.ts.map +1 -0
- package/project/projects-api-client.js +90 -0
- package/project/use-pinned-project-chats.d.ts +58 -0
- package/project/use-pinned-project-chats.d.ts.map +1 -0
- package/project/use-pinned-project-chats.js +269 -0
- package/project/use-project-actions.d.ts +53 -0
- package/project/use-project-actions.d.ts.map +1 -0
- package/project/use-project-actions.js +92 -0
- package/project/use-project-artifacts.d.ts +24 -0
- package/project/use-project-artifacts.d.ts.map +1 -0
- package/project/use-project-artifacts.js +78 -0
- package/project/use-project-conversations.d.ts +32 -0
- package/project/use-project-conversations.d.ts.map +1 -0
- package/project/use-project-conversations.js +200 -0
- package/project/use-project-draft.d.ts +46 -0
- package/project/use-project-draft.d.ts.map +1 -0
- package/project/use-project-draft.js +54 -0
- package/project/use-project-file-preview.d.ts +47 -0
- package/project/use-project-file-preview.d.ts.map +1 -0
- package/project/use-project-file-preview.js +50 -0
- package/project/use-project-submit.d.ts +49 -0
- package/project/use-project-submit.d.ts.map +1 -0
- package/project/use-project-submit.js +73 -0
- package/project/use-project-watch.d.ts +24 -0
- package/project/use-project-watch.d.ts.map +1 -0
- package/project/use-project-watch.js +41 -0
- package/project/use-project.d.ts +23 -0
- package/project/use-project.d.ts.map +1 -0
- package/project/use-project.js +73 -0
- package/project/use-projects.d.ts +27 -0
- package/project/use-projects.d.ts.map +1 -0
- package/project/use-projects.js +92 -0
- package/project.d.ts +2 -0
- package/project.js +20 -0
- package/prompt/prompt.d.ts +11 -0
- package/prompt/prompt.d.ts.map +1 -1
- package/prompt/prompt.js +7 -3
- package/scheduled-task/active-scheduled-task.d.ts +58 -0
- package/scheduled-task/active-scheduled-task.d.ts.map +1 -0
- package/scheduled-task/active-scheduled-task.js +18 -0
- package/scheduled-task/check-scheduled-task-auth-session-error.d.ts +27 -0
- package/scheduled-task/check-scheduled-task-auth-session-error.d.ts.map +1 -0
- package/scheduled-task/check-scheduled-task-auth-session-error.js +17 -0
- package/scheduled-task/scheduled-task-description.d.ts +2 -0
- package/scheduled-task/scheduled-task-description.d.ts.map +1 -1
- package/scheduled-task/scheduled-task-description.js +33 -24
- package/scheduled-task/scheduled-task-display.d.ts +106 -0
- package/scheduled-task/scheduled-task-display.d.ts.map +1 -0
- package/scheduled-task/scheduled-task-display.js +69 -0
- package/scheduled-task/scheduled-task-next-occurrence.d.ts +9 -0
- package/scheduled-task/scheduled-task-next-occurrence.d.ts.map +1 -0
- package/scheduled-task/scheduled-task-next-occurrence.js +20 -0
- package/scheduled-task/scheduled-task-preparation.d.ts +1 -1
- package/scheduled-task/scheduled-task-trigger.d.ts.map +1 -1
- package/scheduled-task/scheduled-task-trigger.js +75 -48
- package/scheduled-task/use-scheduled-task-runs.js +19 -31
- package/scheduled-task/use-scheduled-tasks.d.ts +2 -2
- package/scheduled-task/use-scheduled-tasks.js +1 -1
- package/scheduled-task/useActiveScheduledTaskDetails.d.ts +18 -0
- package/scheduled-task/useActiveScheduledTaskDetails.d.ts.map +1 -0
- package/scheduled-task/useActiveScheduledTaskDetails.js +40 -0
- package/scheduled-task/useScheduledTaskSkillDisplayNames/useScheduledTaskSkillDisplayNames.d.ts +17 -0
- package/scheduled-task/useScheduledTaskSkillDisplayNames/useScheduledTaskSkillDisplayNames.d.ts.map +1 -0
- package/scheduled-task/useScheduledTaskSkillDisplayNames/useScheduledTaskSkillDisplayNames.js +29 -0
- package/scheduled-task/useStartScheduledTask.d.ts +41 -0
- package/scheduled-task/useStartScheduledTask.d.ts.map +1 -0
- package/scheduled-task/useStartScheduledTask.js +169 -0
- package/scheduled-tasks.js +13 -6
- package/scroll-anchoring.js +1 -2
- package/share-invitation/models.d.ts +46 -0
- package/share-invitation/models.d.ts.map +1 -0
- package/share-invitation/share-invitation-error.d.ts +6 -0
- package/share-invitation/share-invitation-error.d.ts.map +1 -0
- package/share-invitation/share-invitation-error.js +37 -0
- package/share-invitation/types.d.ts +10 -0
- package/share-invitation/types.d.ts.map +1 -0
- package/share-invitation/types.js +6 -0
- package/share-invitation/useAcceptShareInvitation/useAcceptShareInvitation.d.ts +9 -0
- package/share-invitation/useAcceptShareInvitation/useAcceptShareInvitation.d.ts.map +1 -0
- package/share-invitation/useAcceptShareInvitation/useAcceptShareInvitation.js +26 -0
- package/shared/application-schema.js +3 -3
- package/shared/client-channel.d.ts +53 -0
- package/shared/client-channel.d.ts.map +1 -0
- package/shared/client-channel.js +6 -0
- package/shared/cron-day-of-month.js +10 -10
- package/shared/external-services.d.ts +1 -1
- package/shared/locale.d.ts +6 -2
- package/shared/locale.d.ts.map +1 -1
- package/shared/locale.js +4 -4
- package/shared/read-sse-events.d.ts +10 -0
- package/shared/read-sse-events.d.ts.map +1 -0
- package/shared/read-sse-events.js +33 -0
- package/shared/serialized-writer.d.ts +12 -0
- package/shared/serialized-writer.d.ts.map +1 -0
- package/shared/serialized-writer.js +44 -0
- package/shared/sleep.d.ts +3 -0
- package/shared/sleep.d.ts.map +1 -0
- package/shared/sleep.js +13 -0
- package/shared/theme-colors.d.ts +16 -0
- package/shared/theme-colors.d.ts.map +1 -0
- package/shared/theme-colors.js +14 -0
- package/shared/url-cleanup.d.ts +18 -0
- package/shared/url-cleanup.d.ts.map +1 -0
- package/shared/url-cleanup.js +18 -0
- package/shared/usage-stat.d.ts +3 -0
- package/shared/usage-stat.d.ts.map +1 -0
- package/shared/usage-stat.js +4 -0
- package/shared/useAppVersionCheck/useAppVersionCheck.d.ts +22 -0
- package/shared/useAppVersionCheck/useAppVersionCheck.d.ts.map +1 -0
- package/shared/useAppVersionCheck/useAppVersionCheck.js +36 -0
- package/shared/usePersistedState/usePersistedState.d.ts +28 -0
- package/shared/usePersistedState/usePersistedState.d.ts.map +1 -0
- package/shared/usePersistedState/usePersistedState.js +24 -0
- package/sharing.js +5 -2
- package/signin-interrupt/models.d.ts +48 -0
- package/signin-interrupt/models.d.ts.map +1 -0
- package/signin-interrupt/signin-row-info.d.ts +10 -0
- package/signin-interrupt/signin-row-info.d.ts.map +1 -0
- package/signin-interrupt/signin-row-info.js +21 -0
- package/signin-interrupt/types.d.ts +28 -0
- package/signin-interrupt/types.d.ts.map +1 -0
- package/signin-interrupt/types.js +10 -0
- package/signin-interrupt/useSigninInterrupt/useSigninInterrupt.d.ts +52 -0
- package/signin-interrupt/useSigninInterrupt/useSigninInterrupt.d.ts.map +1 -0
- package/signin-interrupt/useSigninInterrupt/useSigninInterrupt.js +270 -0
- package/skill/skill-file-batch-validation.d.ts +4 -0
- package/skill/skill-file-batch-validation.d.ts.map +1 -1
- package/skill/skill-file-batch-validation.js +34 -33
- package/skill/skill-lookup.d.ts +20 -0
- package/skill/skill-lookup.d.ts.map +1 -0
- package/skill/skill-lookup.js +12 -0
- package/skill/skill-types.js +1 -1
- package/skill/skill.d.ts +5 -1
- package/skill/skill.d.ts.map +1 -1
- package/skill/skill.js +27 -28
- package/skill/useSkillArchiveImport/useSkillArchiveImport.js +1 -7
- package/skill/useSkillEditorSubmit.d.ts +15 -1
- package/skill/useSkillEditorSubmit.d.ts.map +1 -1
- package/skill/useSkillEditorSubmit.js +164 -87
- package/skill/useSkillFileActions.d.ts +2 -0
- package/skill/useSkillFileActions.d.ts.map +1 -1
- package/skill/useSkillFileActions.js +36 -21
- package/skill-editor/useSkillFilePreviewSyncController.d.ts +41 -0
- package/skill-editor/useSkillFilePreviewSyncController.d.ts.map +1 -0
- package/skill-editor/useSkillFilePreviewSyncController.js +58 -0
- package/skill-editor/useSkillFileSystemPicker/useSkillFileSystemPicker.d.ts +23 -0
- package/skill-editor/useSkillFileSystemPicker/useSkillFileSystemPicker.d.ts.map +1 -0
- package/skill-editor/useSkillFileSystemPicker/useSkillFileSystemPicker.js +43 -0
- package/skill-editor.js +11 -9
- package/skills-state.js +3 -2
- package/source-content.js +1 -2
- package/usage/map-usage-data-to-dashboard.d.ts +1 -16
- package/usage/map-usage-data-to-dashboard.d.ts.map +1 -1
- package/usage/map-user-usage-to-model-limits.d.ts.map +1 -1
- package/usage/map-user-usage-to-model-limits.js +24 -24
- package/usage/usage-banner-source.d.ts +24 -0
- package/usage/usage-banner-source.d.ts.map +1 -0
- package/usage/usage-banner-source.js +61 -0
- package/usage/usage-gauge.d.ts +3 -0
- package/usage/usage-gauge.d.ts.map +1 -0
- package/usage/usage-gauge.js +4 -0
- package/usage/usage-period.d.ts +7 -0
- package/usage/usage-period.d.ts.map +1 -0
- package/usage/usage-period.js +6 -0
- package/usage/usage-reset-time.d.ts +78 -0
- package/usage/usage-reset-time.d.ts.map +1 -0
- package/usage/usage-reset-time.js +82 -0
- package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.d.ts +56 -0
- package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.d.ts.map +1 -0
- package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.js +34 -0
- package/usage/useRefreshUsageAfterGeneration/useRefreshUsageAfterGeneration.d.ts +16 -0
- package/usage/useRefreshUsageAfterGeneration/useRefreshUsageAfterGeneration.d.ts.map +1 -0
- package/usage/useRefreshUsageAfterGeneration/useRefreshUsageAfterGeneration.js +14 -0
- package/usage/useUsageLimitBanner/useUsageLimitBanner.d.ts +58 -0
- package/usage/useUsageLimitBanner/useUsageLimitBanner.d.ts.map +1 -0
- package/usage/useUsageLimitBanner/useUsageLimitBanner.js +70 -0
- package/usage/useUsageLimitBannerDismissal/useUsageLimitBannerDismissal.d.ts +14 -0
- package/usage/useUsageLimitBannerDismissal/useUsageLimitBannerDismissal.d.ts.map +1 -0
- package/usage/useUsageLimitBannerDismissal/useUsageLimitBannerDismissal.js +19 -0
- package/usage-limits.d.ts +2 -0
- package/usage-limits.js +10 -0
- package/useChatSettingsFormConfig/useChatSettingsFormConfig.d.ts +2 -0
- package/useChatSettingsFormConfig/useChatSettingsFormConfig.d.ts.map +1 -1
- package/useChatSettingsFormConfig/useChatSettingsFormConfig.js +25 -21
- package/usePageFileDrag/usePageFileDrag.js +3 -3
- package/useShareLink/useShareLink.d.ts.map +1 -1
- package/useShareLink/useShareLink.js +18 -17
- package/utils.js +23 -17
- package/viewport-layout/canvas-width.d.ts +39 -0
- package/viewport-layout/canvas-width.d.ts.map +1 -0
- package/viewport-layout/canvas-width.js +23 -0
- package/viewport-layout.js +2 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FavoriteEntityType as e } from "./useFavoriteEntitiesState/useFavoriteEntitiesState.js";
|
|
2
|
+
import { CatalogEntityType as t } from "@epam/ai-dial-chat-shared";
|
|
3
|
+
//#region src/catalog/favorite-entity-type.ts
|
|
4
|
+
var n = {
|
|
5
|
+
[t.Toolset]: e.Toolset,
|
|
6
|
+
[t.Prompt]: e.Prompt,
|
|
7
|
+
[t.Skill]: e.Skill
|
|
8
|
+
}, r = (t) => t == null ? e.Deployment : n[t] ?? e.Deployment;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { r as resolveFavoriteEntityType };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CatalogItemLimits, UsageLimitProgressRow } from '@epam/ai-dial-catalog';
|
|
2
|
-
import {
|
|
2
|
+
import { LimitStatsDto } from '@epam/ai-dial-chat-api-client';
|
|
3
3
|
import { FormatResetTime } from '../usage/map-usage-data-to-dashboard';
|
|
4
|
+
import { UsageLimitsSources } from '../usage/useDeploymentUsageLimits/useDeploymentUsageLimits';
|
|
4
5
|
/** Labels and formatter callbacks for the conversation-input limits mapping utility. */
|
|
5
6
|
export interface ConversationInputLimitsLabels {
|
|
6
7
|
/** Heading of the group listing the selected deployment's token limits. */
|
|
@@ -23,6 +24,6 @@ export interface ConversationInputLimitsLabels {
|
|
|
23
24
|
}) => string;
|
|
24
25
|
}
|
|
25
26
|
export declare const buildResetFields: (stats: LimitStatsDto, formatResetTime: FormatResetTime | undefined) => Pick<UsageLimitProgressRow, "resetLabel" | "resetIsoValue" | "resetAriaLabel">;
|
|
26
|
-
/** Maps
|
|
27
|
-
export declare const mapDeploymentLimitsToInput: (
|
|
27
|
+
/** Maps the deployment's day, week, and month token limits (from `sources.deployment`) and the account cost budget (from `sources.account`) to display-ready rows, or `undefined` when none qualify. */
|
|
28
|
+
export declare const mapDeploymentLimitsToInput: (sources: UsageLimitsSources, labels: ConversationInputLimitsLabels, formatResetTime?: FormatResetTime) => CatalogItemLimits | undefined;
|
|
28
29
|
//# sourceMappingURL=map-deployment-limits-to-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-deployment-limits-to-input.d.ts","sourceRoot":"","sources":["../../src/catalog/map-deployment-limits-to-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,iBAAiB,EAEtB,KAAK,qBAAqB,EAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"map-deployment-limits-to-input.d.ts","sourceRoot":"","sources":["../../src/catalog/map-deployment-limits-to-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,iBAAiB,EAEtB,KAAK,qBAAqB,EAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAEV,aAAa,EACd,MAAM,+BAA+B,CAAC;AAEvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4DAA4D,CAAC;AAErG,wFAAwF;AACxF,MAAM,WAAW,6BAA6B;IAC5C,2EAA2E;IAC3E,UAAU,EAAE,MAAM,CAAC;IACnB,kFAAkF;IAClF,SAAS,EAAE,MAAM,CAAC;IAClB,8DAA8D;IAC9D,SAAS,EAAE,MAAM,CAAC;IAClB,+DAA+D;IAC/D,UAAU,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,WAAW,EAAE,MAAM,CAAC;IACpB,sEAAsE;IACtE,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC1D,wDAAwD;IACxD,uBAAuB,EAAE,CAAC,MAAM,EAAE;QAChC,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACf,KAAK,MAAM,CAAC;CACd;AAgGD,eAAO,MAAM,gBAAgB,GAC3B,OAAO,aAAa,EACpB,iBAAiB,eAAe,GAAG,SAAS,KAC3C,IAAI,CACL,qBAAqB,EACrB,YAAY,GAAG,eAAe,GAAG,gBAAgB,CAYlD,CAAC;AA4GF,wMAAwM;AACxM,eAAO,MAAM,0BAA0B,GACrC,SAAS,kBAAkB,EAC3B,QAAQ,6BAA6B,EACrC,kBAAkB,eAAe,KAChC,iBAAiB,GAAG,SAqCtB,CAAC"}
|
|
@@ -61,7 +61,7 @@ var n = [
|
|
|
61
61
|
return r >= 1 ? t.LimitReached : r >= a && e !== t.LimitReached ? t.RunningLow : e;
|
|
62
62
|
}, void 0), _ = (e, t, n, r, i, a, o) => {
|
|
63
63
|
let s = t.flatMap((t) => {
|
|
64
|
-
let n = e[t.key];
|
|
64
|
+
let n = e?.[t.key];
|
|
65
65
|
return !u(n) || !h(n) ? [] : (o.push(n), [p(n, r[t.labelField], r, i, a)]);
|
|
66
66
|
});
|
|
67
67
|
return s.length > 0 ? {
|
|
@@ -69,11 +69,10 @@ var n = [
|
|
|
69
69
|
rows: s
|
|
70
70
|
} : void 0;
|
|
71
71
|
}, v = (t, i, a) => {
|
|
72
|
-
|
|
73
|
-
let o = [], u = [_(t, n, i.tokenGroup, i, {
|
|
72
|
+
let o = [], u = [_(t.deployment, n, i.tokenGroup, i, {
|
|
74
73
|
format: (e) => s.format(l(e)),
|
|
75
74
|
formatFull: (e) => c.format(e)
|
|
76
|
-
}, a, o), _(t, r, i.costGroup, i, {
|
|
75
|
+
}, a, o), _(t.account, r, i.costGroup, i, {
|
|
77
76
|
format: e,
|
|
78
77
|
formatFull: e
|
|
79
78
|
}, a, o)].filter((e) => e != null);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CatalogItem, CatalogItemCredentials } from '@epam/ai-dial-catalog';
|
|
2
2
|
import { DeploymentItemDto, DialToolsetAuthSettingsDto, DialToolsetDto } from '@epam/ai-dial-chat-api-client';
|
|
3
3
|
import { EntitySpecificDetails } from './entity-details';
|
|
4
|
+
import { EntityDetailsLabels } from './map-entity-details-to-catalog';
|
|
4
5
|
/**
|
|
5
6
|
* Maps a toolset's auth settings (from a deployment listing row) into the
|
|
6
7
|
* lib's credential-status shape, including both `USER` and `GLOBAL` sign-in
|
|
@@ -32,6 +33,8 @@ export declare const resolveDeploymentFolder: (deployment: Pick<DeploymentItemDt
|
|
|
32
33
|
export interface MapDeploymentToCatalogItemOptions {
|
|
33
34
|
favoriteIds?: ReadonlySet<string>;
|
|
34
35
|
entityDetails?: EntitySpecificDetails;
|
|
36
|
+
/** Translated Overview labels for `entityDetails`. Unset fields fall back to the English defaults. */
|
|
37
|
+
entityDetailsLabels?: Partial<EntityDetailsLabels>;
|
|
35
38
|
folderLabels: DeploymentFolderLabels;
|
|
36
39
|
editableSchemaIds?: string[];
|
|
37
40
|
isCustomAppsEditable?: boolean;
|
|
@@ -41,9 +44,17 @@ export interface MapDeploymentToCatalogItemOptions {
|
|
|
41
44
|
primaryLocale: string;
|
|
42
45
|
/** Resolves a deployment's raw `iconUrl` to a displayable URL. Host-owned. */
|
|
43
46
|
resolveIconUrl: (iconUrl: string | undefined) => string | undefined;
|
|
47
|
+
/** Whether MCP applications may be listed under the Toolsets tab. Defaults to `true`. */
|
|
48
|
+
isToolsetTabEnabled?: boolean;
|
|
44
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* Whether a deployment can be chatted with: it offers the `chat` interface or
|
|
52
|
+
* declares no interfaces at all. Backs `CatalogItem.supportsChat`.
|
|
53
|
+
* @param deployment - deployment to check
|
|
54
|
+
*/
|
|
55
|
+
export declare const supportsChatInterface: (deployment: Pick<DeploymentItemDto, "interfaces">) => boolean;
|
|
45
56
|
/** Maps a deployment listing row into the catalog UI's `CatalogItem` shape. */
|
|
46
|
-
export declare const mapDeploymentToCatalogItem: (deployment: DeploymentItemDto, { favoriteIds, entityDetails, folderLabels, editableSchemaIds, isCustomAppsEditable, activeLocale, primaryLocale, resolveIconUrl, }: MapDeploymentToCatalogItemOptions) => CatalogItem;
|
|
57
|
+
export declare const mapDeploymentToCatalogItem: (deployment: DeploymentItemDto, { favoriteIds, entityDetails, entityDetailsLabels, folderLabels, editableSchemaIds, isCustomAppsEditable, activeLocale, primaryLocale, resolveIconUrl, isToolsetTabEnabled, }: MapDeploymentToCatalogItemOptions) => CatalogItem;
|
|
47
58
|
/** Parameters for {@link mapToolsetToCatalogItem}. */
|
|
48
59
|
export interface MapToolsetToCatalogItemOptions {
|
|
49
60
|
favoriteIds?: ReadonlySet<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-deployment-to-catalog-item.d.ts","sourceRoot":"","sources":["../../src/catalog/map-deployment-to-catalog-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,WAAW,EAChB,KAAK,sBAAsB,EAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAC1B,cAAc,EACf,MAAM,+BAA+B,CAAC;AASvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"map-deployment-to-catalog-item.d.ts","sourceRoot":"","sources":["../../src/catalog/map-deployment-to-catalog-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,WAAW,EAChB,KAAK,sBAAsB,EAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAC1B,cAAc,EACf,MAAM,+BAA+B,CAAC;AASvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,iCAAiC,CAAC;AAiBzC;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,+BAA+B,GAC1C,WAAW,MAAM,EACjB,cAAc,0BAA0B,GAAG,SAAS,EACpD,SAAS,OAAO,KACf,sBAAsB,GAAG,SA4B3B,CAAC;AAiBF,yFAAyF;AACzF,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,yGAAyG;AACzG,eAAO,MAAM,uBAAuB,GAClC,YAAY,IAAI,CACd,iBAAiB,EACjB,MAAM,GAAG,cAAc,GAAG,mBAAmB,CAC9C,GACC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC,EAC1C,QAAQ,sBAAsB,KAC7B,MAAM,EA4BR,CAAC;AAmCF,yDAAyD;AACzD,MAAM,WAAW,iCAAiC;IAChD,WAAW,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAClC,aAAa,CAAC,EAAE,qBAAqB,CAAC;IACtC,sGAAsG;IACtG,mBAAmB,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACnD,YAAY,EAAE,sBAAsB,CAAC;IACrC,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,uFAAuF;IACvF,YAAY,EAAE,MAAM,CAAC;IACrB,4GAA4G;IAC5G,aAAa,EAAE,MAAM,CAAC;IACtB,8EAA8E;IAC9E,cAAc,EAAE,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,KAAK,MAAM,GAAG,SAAS,CAAC;IACpE,yFAAyF;IACzF,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AA+BD;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAChC,YAAY,IAAI,CAAC,iBAAiB,EAAE,YAAY,CAAC,KAChD,OACsE,CAAC;AAE1E,+EAA+E;AAC/E,eAAO,MAAM,0BAA0B,GACrC,YAAY,iBAAiB,EAC7B,+KAWG,iCAAiC,KACnC,WAgDF,CAAC;AAEF,sDAAsD;AACtD,MAAM,WAAW,8BAA8B;IAC7C,WAAW,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,sBAAsB,CAAC;IACtC,uFAAuF;IACvF,YAAY,EAAE,MAAM,CAAC;IACrB,4GAA4G;IAC5G,aAAa,EAAE,MAAM,CAAC;IACtB,2EAA2E;IAC3E,cAAc,EAAE,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,KAAK,MAAM,GAAG,SAAS,CAAC;CACrE;AAED,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB,GAClC,SAAS,cAAc,EACvB,sFAOG,8BAA8B,KAChC,WA6CF,CAAC"}
|
|
@@ -29,23 +29,30 @@ var l = {
|
|
|
29
29
|
toolset: i.Toolset,
|
|
30
30
|
application: i.Agent
|
|
31
31
|
}, p = "applications/", m = "toolsets/", h = (t, n) => (t.startsWith(n) ? t.slice(n.length) : t).split("/").filter(Boolean).map(e), g = (e, t) => {
|
|
32
|
-
if (e.isMy) return [t.personal];
|
|
33
32
|
let n = h(e.applicationFolder ?? "", p);
|
|
34
|
-
return e.sharedWithMe ? [t.shared, ...n.slice(1)] : n.length === 0 && e.type?.toLowerCase() === "application" ? [t.public] : n[0]?.toLowerCase() === a ? [t.public, ...n.slice(1)] : n;
|
|
33
|
+
return e.isMy ? [t.personal, ...n.slice(1)] : e.sharedWithMe ? [t.shared, ...n.slice(1)] : n.length === 0 && e.type?.toLowerCase() === "application" ? [t.public] : n[0]?.toLowerCase() === a ? [t.public, ...n.slice(1)] : n;
|
|
35
34
|
}, _ = (e, t) => {
|
|
36
|
-
if (e.isMy && t != null) return [t.personal];
|
|
37
35
|
let n = e.toolset || e.id;
|
|
36
|
+
if (e.isMy && t != null) {
|
|
37
|
+
let e = n.startsWith(m) ? h(n, m).slice(1, -1) : [];
|
|
38
|
+
return [t.personal, ...e];
|
|
39
|
+
}
|
|
38
40
|
if (!n.startsWith(m)) return t == null ? [] : e.sharedWithMe ? [t.shared] : n.length > 0 && !n.includes("/") ? [t.public] : [];
|
|
39
41
|
let r = h(n, m).slice(0, -1);
|
|
40
42
|
return e.sharedWithMe && t != null ? [t.shared, ...r.slice(1)] : r[0]?.toLowerCase() === a && t != null ? [t.public, ...r.slice(1)] : r.slice(1);
|
|
41
|
-
}, v =
|
|
42
|
-
|
|
43
|
+
}, v = ["chat", "custom_ui"], y = "mcp", b = (e, t, n) => {
|
|
44
|
+
if (t !== "application" || e == null) return;
|
|
45
|
+
let r = e.includes(y), a = [];
|
|
46
|
+
return e.some((e) => v.includes(e)) && a.push(i.Agent), r && n && a.push(i.Toolset), a.length > 0 ? a : r ? [i.Agent] : void 0;
|
|
47
|
+
}, x = (e) => e.interfaces == null || e.interfaces.includes("chat"), S = (e, { favoriteIds: t = /* @__PURE__ */ new Set(), entityDetails: a, entityDetailsLabels: s, folderLabels: c, editableSchemaIds: l = [], isCustomAppsEditable: u = !1, activeLocale: d, primaryLocale: p, resolveIconUrl: m, isToolsetTabEnabled: h = !0 }) => {
|
|
48
|
+
let _ = n(e.displayName, d, p) || e.id, v = (e.type ?? "").toLowerCase(), y = b(e.interfaces, v, h);
|
|
43
49
|
return {
|
|
44
50
|
id: e.id,
|
|
45
|
-
type: f[
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
51
|
+
type: f[v] ?? i.Model,
|
|
52
|
+
...y != null && { catalogTabs: y },
|
|
53
|
+
name: _,
|
|
54
|
+
description: n(e.description, d, p),
|
|
55
|
+
iconUrl: m(e.iconUrl),
|
|
49
56
|
version: e.displayVersion ?? "",
|
|
50
57
|
lastUsed: o(e.updatedAt),
|
|
51
58
|
updatedAt: e.updatedAt,
|
|
@@ -57,13 +64,13 @@ var l = {
|
|
|
57
64
|
isStarred: t.has(e.id),
|
|
58
65
|
isMyApp: e.isMy ?? !1,
|
|
59
66
|
sharedWithMe: e.sharedWithMe ?? !1,
|
|
60
|
-
isEditable: (!!e.isMy || !!e.canEdit) && (
|
|
61
|
-
folder: g(e,
|
|
62
|
-
details: a == null ? void 0 : r(a),
|
|
67
|
+
isEditable: (!!e.isMy || !!e.canEdit) && (l.length > 0 && l.includes(e.applicationTypeSchemaId ?? "") || u && !e.applicationTypeSchemaId && v === "application"),
|
|
68
|
+
folder: g(e, c),
|
|
69
|
+
details: a == null ? void 0 : r(a, s),
|
|
63
70
|
supportsMcp: e.features?.mcp === !0,
|
|
64
|
-
supportsChat: e
|
|
71
|
+
supportsChat: x(e)
|
|
65
72
|
};
|
|
66
|
-
},
|
|
73
|
+
}, C = (e, { favoriteIds: t = /* @__PURE__ */ new Set(), isAdmin: r = !1, folderLabels: a, activeLocale: s, primaryLocale: c, resolveIconUrl: l }) => {
|
|
67
74
|
let u = n(e.displayName, s, c) || e.toolset || e.reference || e.id, f = e.allowedTools ?? [];
|
|
68
75
|
return {
|
|
69
76
|
id: e.id,
|
|
@@ -89,4 +96,4 @@ var l = {
|
|
|
89
96
|
};
|
|
90
97
|
};
|
|
91
98
|
//#endregion
|
|
92
|
-
export {
|
|
99
|
+
export { S as mapDeploymentToCatalogItem, d as mapDeploymentToolsetCredentials, C as mapToolsetToCatalogItem, g as resolveDeploymentFolder, x as supportsChatInterface };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-entity-details-to-catalog.d.ts","sourceRoot":"","sources":["../../src/catalog/map-entity-details-to-catalog.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,sBAAsB,EAEtB,kBAAkB,EAGnB,MAAM,uBAAuB,CAAC;AAM/B,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,+BAA+B,CAAC;AAIvC,OAAO,EAGL,KAAK,qBAAqB,EAI1B,KAAK,oBAAoB,EAE1B,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"map-entity-details-to-catalog.d.ts","sourceRoot":"","sources":["../../src/catalog/map-entity-details-to-catalog.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,sBAAsB,EAEtB,kBAAkB,EAGnB,MAAM,uBAAuB,CAAC;AAM/B,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,+BAA+B,CAAC;AAIvC,OAAO,EAGL,KAAK,qBAAqB,EAI1B,KAAK,oBAAoB,EAE1B,MAAM,kBAAkB,CAAC;AA+B1B;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,iCAAiC;IACjC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kCAAkC;IAClC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,kCAAkC;IAClC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,wCAAwC;IACxC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,sCAAsC;IACtC,gBAAgB,EAAE,MAAM,CAAC;IACzB,2BAA2B;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,6BAA6B;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,2BAA2B;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,4BAA4B;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,0CAA0C;IAC1C,mBAAmB,EAAE,MAAM,CAAC;IAC5B,+BAA+B;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,8BAA8B;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,iCAAiC;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,mCAAmC;IACnC,aAAa,EAAE,MAAM,CAAC;IACtB,sCAAsC;IACtC,eAAe,EAAE,MAAM,CAAC;IACxB,qCAAqC;IACrC,eAAe,EAAE,MAAM,CAAC;IACxB,sCAAsC;IACtC,gBAAgB,EAAE,MAAM,CAAC;IACzB,2BAA2B;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,yCAAyC;IACzC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,mCAAmC;IACnC,cAAc,EAAE,MAAM,CAAC;IACvB,2CAA2C;IAC3C,qBAAqB,EAAE,MAAM,CAAC;IAC9B,mCAAmC;IACnC,aAAa,EAAE,MAAM,CAAC;IACtB,iCAAiC;IACjC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,mGAAmG;AACnG,eAAO,MAAM,6BAA6B,EAAE,mBAyB3C,CAAC;AAwQF;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,GAChC,WAAW,MAAM,EACjB,MAAM,oBAAoB,EAC1B,SAAS,OAAO,KACf,sBAAsB,GAAG,SAoB3B,CAAC;AAgFF;;;;;GAKG;AACH,eAAO,MAAM,gCAAgC,GAC3C,SAAS,qBAAqB,EAC9B,SAAS,OAAO,CAAC,mBAAmB,CAAC,KACpC,kBAUF,CAAC;AA6VF;;;;GAIG;AACH,eAAO,MAAM,sCAAsC,GACjD,KAAK,oBAAoB,KACxB,qBASF,CAAC"}
|
|
@@ -126,10 +126,13 @@ var c = (e) => e >= 1e6 ? `${e / 1e6}M tokens` : e >= 1e3 ? `${e / 1e3}K tokens`
|
|
|
126
126
|
return r === "" ? e : ` ${r.charAt(0).toUpperCase()}${r.slice(1)}`;
|
|
127
127
|
}, y = (e) => {
|
|
128
128
|
if (e == null) return;
|
|
129
|
-
let t = e.unit?.toLowerCase() === h ? a.Character : a.Token, n = [...e.prices ?? []].sort((e, t) => _(e.key) - _(t.key)).map(({ key: e, price: n }) =>
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
129
|
+
let t = e.unit?.toLowerCase() === h ? a.Character : a.Token, n = [...e.prices ?? []].sort((e, t) => _(e.key) - _(t.key)).map(({ key: e, price: n, condition: r }) => {
|
|
130
|
+
let i = v(e, t);
|
|
131
|
+
return {
|
|
132
|
+
label: r == null ? i : `${i} (${r})`,
|
|
133
|
+
price: n
|
|
134
|
+
};
|
|
135
|
+
});
|
|
133
136
|
if (n.length !== 0) return t === a.Character ? {
|
|
134
137
|
prices: n,
|
|
135
138
|
unit: t
|
|
@@ -296,21 +299,63 @@ var c = (e) => e >= 1e6 ? `${e / 1e6}M tokens` : e >= 1e3 ? `${e / 1e3}K tokens`
|
|
|
296
299
|
hasSkills: e.skillsSupported,
|
|
297
300
|
reasoningEfforts: e.reasoningEfforts
|
|
298
301
|
};
|
|
299
|
-
}, k = (e) => {
|
|
302
|
+
}, k = (e) => typeof e == "object" && !!e && !Array.isArray(e), A = {
|
|
303
|
+
"==": "!=",
|
|
304
|
+
"!=": "==",
|
|
305
|
+
">": "<=",
|
|
306
|
+
"<": ">=",
|
|
307
|
+
">=": "<",
|
|
308
|
+
"<=": ">"
|
|
309
|
+
}, j = {
|
|
310
|
+
"==": "=",
|
|
311
|
+
"!=": "≠",
|
|
312
|
+
">": ">",
|
|
313
|
+
"<": "<",
|
|
314
|
+
">=": "≥",
|
|
315
|
+
"<=": "≤"
|
|
316
|
+
}, M = (e) => {
|
|
317
|
+
let t = typeof e == "number" ? e : Number(e);
|
|
318
|
+
return typeof e == "boolean" || e === "" || !Number.isFinite(t) ? String(e) : t >= 1e6 ? `${t / 1e6}M` : t >= 1e3 ? `${t / 1e3}K` : String(t);
|
|
319
|
+
}, N = (e) => {
|
|
320
|
+
if (!k(e)) return;
|
|
321
|
+
let { field: t, operator: n, value: r } = e;
|
|
322
|
+
if (typeof t != "string" || t.trim() === "" || typeof n != "string") return;
|
|
323
|
+
let i = A[n];
|
|
324
|
+
if (i == null) return;
|
|
325
|
+
let a = t.replace(/([a-z\d])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " ").trim().toLowerCase(), o = M(r);
|
|
326
|
+
return {
|
|
327
|
+
holds: `${a} ${j[n]} ${o}`,
|
|
328
|
+
fails: `${a} ${j[i]} ${o}`,
|
|
329
|
+
isLowerBound: n === ">" || n === ">="
|
|
330
|
+
};
|
|
331
|
+
}, P = (e, t = []) => {
|
|
332
|
+
if (typeof e == "string") return e.trim() === "" ? [] : [{
|
|
333
|
+
rate: e,
|
|
334
|
+
conditions: t
|
|
335
|
+
}];
|
|
336
|
+
if (!k(e)) return [];
|
|
337
|
+
let n = N(e.test);
|
|
338
|
+
if (n == null) return P(e.rate, t);
|
|
339
|
+
let r = P(e.ifTrue, [...t, n.holds]), i = P(e.ifFalse, [...t, n.fails]);
|
|
340
|
+
return n.isLowerBound ? [...i, ...r] : [...r, ...i];
|
|
341
|
+
}, F = (e) => {
|
|
300
342
|
if (e == null) return;
|
|
301
|
-
let t = typeof e.unit == "string" ? e.unit : void 0, n = Object.entries(e).flatMap(([e, n]) => {
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
return i == null ? [] : [{
|
|
343
|
+
let t = typeof e.unit == "string" ? e.unit : void 0, n = Object.entries(e).flatMap(([e, n]) => e === u ? [] : P(n).flatMap(({ rate: n, conditions: i }) => {
|
|
344
|
+
let a = r(n, t);
|
|
345
|
+
return a == null ? [] : i.length > 0 ? [{
|
|
305
346
|
key: e,
|
|
306
|
-
price:
|
|
347
|
+
price: a,
|
|
348
|
+
condition: i.join(", ")
|
|
349
|
+
}] : [{
|
|
350
|
+
key: e,
|
|
351
|
+
price: a
|
|
307
352
|
}];
|
|
308
|
-
});
|
|
353
|
+
}));
|
|
309
354
|
return n.length > 0 ? {
|
|
310
355
|
prices: n,
|
|
311
356
|
unit: t
|
|
312
357
|
} : void 0;
|
|
313
|
-
},
|
|
358
|
+
}, I = (e) => {
|
|
314
359
|
let { limits: t, pricing: n, features: r, catalogProperties: i, owner: a, inputAttachmentTypes: o, defaultMaxTokens: s, createdAt: c } = e.modelDetails ?? {}, l = t != null || i != null || a != null || c != null || (o?.length ?? 0) > 0;
|
|
315
360
|
return {
|
|
316
361
|
type: "MODEL",
|
|
@@ -328,11 +373,11 @@ var c = (e) => e >= 1e6 ? `${e / 1e6}M tokens` : e >= 1e3 ? `${e / 1e3}K tokens`
|
|
|
328
373
|
hostedBy: a,
|
|
329
374
|
createdAt: c
|
|
330
375
|
} : void 0,
|
|
331
|
-
pricing:
|
|
376
|
+
pricing: F(n),
|
|
332
377
|
api: { modelId: e.id }
|
|
333
378
|
}
|
|
334
379
|
};
|
|
335
|
-
},
|
|
380
|
+
}, L = (e) => {
|
|
336
381
|
let { routes: t, owner: n, inputAttachmentTypes: r, features: i, catalogProperties: a, createdAt: o } = e.applicationDetails ?? {}, s = a != null || n != null || o != null || (t?.length ?? 0) > 0;
|
|
337
382
|
return {
|
|
338
383
|
type: "AGENT",
|
|
@@ -351,10 +396,10 @@ var c = (e) => e >= 1e6 ? `${e / 1e6}M tokens` : e >= 1e3 ? `${e / 1e3}K tokens`
|
|
|
351
396
|
configuration: r?.length ? { inputAttachmentTypes: r } : void 0
|
|
352
397
|
}
|
|
353
398
|
};
|
|
354
|
-
},
|
|
399
|
+
}, R = (t) => t === e.None || t === e.ApiKey || t === e.OAuth, z = (e) => {
|
|
355
400
|
if (e == null) return;
|
|
356
401
|
let { globalAuthStatus: t, appLevelAuthStatus: n, userLevelAuthStatus: r, scopesSupported: i, authorizationEndpoint: a, tokenEndpoint: o, apiKeyHeader: s } = e;
|
|
357
|
-
if (
|
|
402
|
+
if (t != null || n != null || r != null || a != null || o != null || s != null || i?.length) return {
|
|
358
403
|
global: t,
|
|
359
404
|
appLevel: n,
|
|
360
405
|
userLevel: r,
|
|
@@ -363,14 +408,14 @@ var c = (e) => e >= 1e6 ? `${e / 1e6}M tokens` : e >= 1e3 ? `${e / 1e3}K tokens`
|
|
|
363
408
|
tokenEndpoint: o,
|
|
364
409
|
apiKeyHeader: s
|
|
365
410
|
};
|
|
366
|
-
},
|
|
411
|
+
}, B = (e) => {
|
|
367
412
|
let t = e.toolsetDetails, n = t?.authSettings?.authenticationType;
|
|
368
413
|
return {
|
|
369
414
|
type: "TOOLSET",
|
|
370
415
|
data: {
|
|
371
416
|
capabilities: O(t?.features),
|
|
372
417
|
specification: t == null ? void 0 : {
|
|
373
|
-
authentication:
|
|
418
|
+
authentication: R(n) ? n : void 0,
|
|
374
419
|
provider: t.catalogProperties?.provider,
|
|
375
420
|
vendor: t.catalogProperties?.vendor,
|
|
376
421
|
license: t.catalogProperties?.license,
|
|
@@ -380,16 +425,16 @@ var c = (e) => e >= 1e6 ? `${e / 1e6}M tokens` : e >= 1e3 ? `${e / 1e3}K tokens`
|
|
|
380
425
|
allTools: t.allToolNames,
|
|
381
426
|
hostedBy: t.owner,
|
|
382
427
|
createdAt: t.createdAt,
|
|
383
|
-
authStatus:
|
|
428
|
+
authStatus: z(t.authSettings)
|
|
384
429
|
}
|
|
385
430
|
}
|
|
386
431
|
};
|
|
387
|
-
},
|
|
432
|
+
}, V = (e) => {
|
|
388
433
|
switch (e.type) {
|
|
389
|
-
case "model": return
|
|
390
|
-
case "application": return
|
|
391
|
-
case "toolset": return
|
|
434
|
+
case "model": return I(e);
|
|
435
|
+
case "application": return L(e);
|
|
436
|
+
case "toolset": return B(e);
|
|
392
437
|
}
|
|
393
438
|
};
|
|
394
439
|
//#endregion
|
|
395
|
-
export { d as DEFAULT_ENTITY_DETAILS_LABELS,
|
|
440
|
+
export { d as DEFAULT_ENTITY_DETAILS_LABELS, V as mapDeploymentDetailsDtoToEntityDetails, D as mapEntityDetailsToCatalogDetails, w as mapToolsetCredentials };
|
|
@@ -19,7 +19,7 @@ export interface MapSkillToCatalogItemOptions {
|
|
|
19
19
|
* relative path can exist in both.
|
|
20
20
|
*/
|
|
21
21
|
export declare const mapSkillToCatalogItem: (skill: SkillMetadataItemDto, { folderLabels, source, favoriteIds }: MapSkillToCatalogItemOptions) => CatalogItem;
|
|
22
|
-
/** Translated labels for the skill Overview tab's Specification
|
|
22
|
+
/** Translated labels for the skill Overview tab's Specification section. */
|
|
23
23
|
export interface SkillOverviewLabels {
|
|
24
24
|
whenToUseLabel: string;
|
|
25
25
|
allowedToolsLabel: string;
|
|
@@ -28,7 +28,6 @@ export interface SkillOverviewLabels {
|
|
|
28
28
|
authorLabel: string;
|
|
29
29
|
updatedLabel: string;
|
|
30
30
|
fileCountLabel: string;
|
|
31
|
-
detailsSectionTitle: string;
|
|
32
31
|
}
|
|
33
32
|
/**
|
|
34
33
|
* Resolves the manifest file's opaque listing id across DIAL Core versions.
|
|
@@ -45,9 +44,9 @@ export declare const resolveSkillManifestFileId: (files: SkillMetadataItemDto[],
|
|
|
45
44
|
*/
|
|
46
45
|
export declare const resolveSkillFileDownloadPath: (fileId: string, skillPath: string) => string | null;
|
|
47
46
|
/**
|
|
48
|
-
* Builds the Overview tab data for a skill: a Specification section
|
|
49
|
-
* parsed manifest frontmatter, followed by
|
|
50
|
-
*
|
|
47
|
+
* Builds the Overview tab data for a skill: a single Specification section
|
|
48
|
+
* listing its parsed manifest frontmatter, followed by who authored it, when
|
|
49
|
+
* it last changed, and its file inventory. Grouping folders
|
|
51
50
|
* in the file listing are excluded from both the count and the rows. Sizes are
|
|
52
51
|
* not shown — the skill metadata carries no content-length field.
|
|
53
52
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-skill-to-catalog-item.d.ts","sourceRoot":"","sources":["../../src/catalog/map-skill-to-catalog-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,sBAAsB,EAC3B,KAAK,WAAW,EAChB,KAAK,mBAAmB,
|
|
1
|
+
{"version":3,"file":"map-skill-to-catalog-item.d.ts","sourceRoot":"","sources":["../../src/catalog/map-skill-to-catalog-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,sBAAsB,EAC3B,KAAK,WAAW,EAChB,KAAK,mBAAmB,EAEzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,+BAA+B,CAAC;AAQvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAA4B,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAuC/E,oDAAoD;AACpD,MAAM,WAAW,4BAA4B;IAC3C,wEAAwE;IACxE,YAAY,EAAE,sBAAsB,CAAC;IACrC,mFAAmF;IACnF,MAAM,EAAE,WAAW,CAAC;IACpB,gFAAgF;IAChF,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAClC;AAED;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,GAChC,OAAO,oBAAoB,EAC3B,uCAAuC,4BAA4B,KAClE,WAgCF,CAAC;AAKF,4EAA4E;AAC5E,MAAM,WAAW,mBAAmB;IAClC,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,yBAAyB,EAAE,MAAM,CAAC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;CACxB;AAyCD;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,GACrC,OAAO,oBAAoB,EAAE,EAC7B,WAAW,MAAM,KAChB,MAeF,CAAC;AAuCF;;;;;GAKG;AACH,eAAO,MAAM,4BAA4B,GACvC,QAAQ,MAAM,EACd,WAAW,MAAM,KAChB,MAAM,GAAG,IAA+C,CAAC;AAE5D;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB,GAC7B,OAAO,oBAAoB,GAAG,SAAS,EACvC,OAAO,oBAAoB,EAAE,EAC7B,OAAO,iBAAiB,GAAG,SAAS,EACpC,QAAQ,mBAAmB,KAC1B,mBAkBF,CAAC;AA4DF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,qBAAqB,GAChC,OAAO,oBAAoB,EAAE,EAC7B,WAAW,MAAM,KAChB,sBAAsB,EAiCxB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,GAC7B,UAAU,QAAQ,KACjB,OAAO,CAAC,UAAU,GAAG,IAAI,CAa3B,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,yBAAyB,GACpC,UAAU,QAAQ,KACjB,OAAO,CAAC,UAAU,CAAiD,CAAC;AAEvE;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,GAC5B,UAAU,QAAQ,KACjB,OAAO,CAAC,MAAM,GAAG,IAAI,CAKvB,CAAC"}
|
|
@@ -2,9 +2,9 @@ import { safeDecodeURIComponent as e, stripSurroundingSlashes as t } from "../sh
|
|
|
2
2
|
import { formatCalendarDate as n } from "../shared/formatting.js";
|
|
3
3
|
import { SKILL_FOLDER_MARKER as r } from "../skill/skill.js";
|
|
4
4
|
import { SkillSource as i } from "../skill/skill-types.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { SkillMetadataItemDtoNodeTypeEnum as a } from "@epam/ai-dial-chat-api-client";
|
|
6
|
+
import { CatalogEntityType as o, formatLastUsed as s } from "@epam/ai-dial-chat-shared";
|
|
7
|
+
import { CatalogContentNodeType as c } from "@epam/ai-dial-catalog";
|
|
8
8
|
//#region src/catalog/map-skill-to-catalog-item.ts
|
|
9
9
|
var l = {
|
|
10
10
|
[i.Personal]: "personal",
|
|
@@ -14,28 +14,28 @@ var l = {
|
|
|
14
14
|
let r = (n ?? "").split("/").filter(Boolean), i = t.split("/").filter(Boolean).slice(2, -1);
|
|
15
15
|
return i.length === r.length ? i.map(e) : r;
|
|
16
16
|
}, d = (e, t, n) => [n[l[t]], ...u(e.url, e.parentPath)], f = (e, { folderLabels: t, source: n, favoriteIds: r }) => {
|
|
17
|
-
let
|
|
17
|
+
let a = r.has(e.url), c = n === i.Public, l = n === i.Personal;
|
|
18
18
|
return {
|
|
19
19
|
id: e.url,
|
|
20
|
-
type:
|
|
20
|
+
type: o.Skill,
|
|
21
21
|
name: e.name,
|
|
22
22
|
description: e.description ?? "",
|
|
23
23
|
version: "",
|
|
24
|
-
lastUsed:
|
|
24
|
+
lastUsed: s(e.updatedAt),
|
|
25
25
|
createdAt: e.createdAt,
|
|
26
26
|
updatedAt: e.updatedAt,
|
|
27
27
|
isFeatured: !1,
|
|
28
28
|
isHidden: !1,
|
|
29
29
|
topics: [],
|
|
30
|
-
isUserFavorite:
|
|
31
|
-
isStarred:
|
|
30
|
+
isUserFavorite: a,
|
|
31
|
+
isStarred: a,
|
|
32
32
|
isMyApp: l && (e.isMy ?? !0),
|
|
33
33
|
sharedWithMe: e.sharedWithMe ?? n === i.SharedWithMe,
|
|
34
34
|
isEditable: !c && (e.canEdit ?? l),
|
|
35
35
|
folder: d(e, n, t)
|
|
36
36
|
};
|
|
37
37
|
}, p = (e) => e.join(" · "), m = (e, t) => {
|
|
38
|
-
if (e == null) return
|
|
38
|
+
if (e == null) return [];
|
|
39
39
|
let n = [];
|
|
40
40
|
return e.whenToUse != null && n.push({
|
|
41
41
|
label: t.whenToUseLabel,
|
|
@@ -46,11 +46,8 @@ var l = {
|
|
|
46
46
|
}), e.bundledResources?.length && n.push({
|
|
47
47
|
label: t.bundledResourcesLabel,
|
|
48
48
|
value: p(e.bundledResources)
|
|
49
|
-
}), n
|
|
50
|
-
|
|
51
|
-
specs: n
|
|
52
|
-
};
|
|
53
|
-
}, h = (e) => e.filter((e) => e.nodeType === c.Item), g = (e, n) => {
|
|
49
|
+
}), n;
|
|
50
|
+
}, h = (e) => e.filter((e) => e.nodeType === a.Item), g = (e, n) => {
|
|
54
51
|
let r = t(n), i = r ? `${r}/files` : "files";
|
|
55
52
|
return h(e).find((e) => {
|
|
56
53
|
let n = t(e.path);
|
|
@@ -60,28 +57,26 @@ var l = {
|
|
|
60
57
|
let r = t(e), i = t(n), a = i ? `${i}/files` : "files";
|
|
61
58
|
return r === "" || r === "files" || r === a ? null : r.startsWith(`${a}/`) ? r.slice(a.length + 1) : r.startsWith("files/") ? r.slice(6) : r;
|
|
62
59
|
}, v = (e, t) => _(e, t), y = (e, t, r, i) => {
|
|
63
|
-
let a =
|
|
64
|
-
|
|
65
|
-
let s = [];
|
|
66
|
-
return e?.author && s.push({
|
|
60
|
+
let a = m(r, i);
|
|
61
|
+
return e?.author && a.push({
|
|
67
62
|
label: i.authorLabel,
|
|
68
63
|
value: e.author
|
|
69
|
-
}),
|
|
64
|
+
}), a.push({
|
|
70
65
|
label: i.updatedLabel,
|
|
71
66
|
value: e?.updatedAt ? n(e.updatedAt) : ""
|
|
72
|
-
}),
|
|
67
|
+
}), a.push({
|
|
73
68
|
label: i.fileCountLabel,
|
|
74
69
|
value: String(h(t).length)
|
|
75
|
-
}),
|
|
76
|
-
title: i.
|
|
77
|
-
specs:
|
|
78
|
-
}
|
|
70
|
+
}), { sections: [{
|
|
71
|
+
title: i.specificationSectionTitle,
|
|
72
|
+
specs: a
|
|
73
|
+
}] };
|
|
79
74
|
}, b = (e, t, n) => {
|
|
80
75
|
if (e === "") return n;
|
|
81
76
|
let r = t.get(e);
|
|
82
77
|
if (r != null) return r.items;
|
|
83
78
|
let i = e.split("/"), a = b(i.slice(0, -1).join("/"), t, n), o = {
|
|
84
|
-
type:
|
|
79
|
+
type: c.Folder,
|
|
85
80
|
id: e,
|
|
86
81
|
name: i[i.length - 1],
|
|
87
82
|
items: []
|
|
@@ -95,25 +90,21 @@ var l = {
|
|
|
95
90
|
}
|
|
96
91
|
return e.name.localeCompare(n.name);
|
|
97
92
|
});
|
|
98
|
-
for (let t of e) t.type ===
|
|
93
|
+
for (let t of e) t.type === c.Folder && x(t.items, !1);
|
|
99
94
|
}, S = (e, t) => {
|
|
100
95
|
let n = /* @__PURE__ */ new Map(), i = [];
|
|
101
|
-
for (let
|
|
102
|
-
let e = _(
|
|
96
|
+
for (let o of e) {
|
|
97
|
+
let e = _(o.path, t);
|
|
103
98
|
if (e == null) continue;
|
|
104
|
-
if (
|
|
99
|
+
if (o.nodeType === a.Folder) {
|
|
105
100
|
b(e, n, i);
|
|
106
101
|
continue;
|
|
107
102
|
}
|
|
108
|
-
let
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
b(l, n, i).push({
|
|
114
|
-
type: s.File,
|
|
115
|
-
id: a.path,
|
|
116
|
-
name: a.name
|
|
103
|
+
let s = e.lastIndexOf("/"), l = s === -1 ? "" : e.slice(0, s);
|
|
104
|
+
o.name === r ? b(l, n, i) : b(l, n, i).push({
|
|
105
|
+
type: c.File,
|
|
106
|
+
id: o.path,
|
|
107
|
+
name: o.name
|
|
117
108
|
});
|
|
118
109
|
}
|
|
119
110
|
return x(i, !0), i;
|
package/catalog/publish.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { PublishHistoryEntry } from '@epam/ai-dial-publish-panel';
|
|
|
7
7
|
* `PublishCatalogEntityEntityTypeEnum`, so this module has no dependency on
|
|
8
8
|
* the app's own `server-api` layer.
|
|
9
9
|
*/
|
|
10
|
-
export type CatalogPublishEntityType = 'model' | 'toolset' | 'application' | 'prompt' | 'skill';
|
|
10
|
+
export type CatalogPublishEntityType = 'model' | 'toolset' | 'application' | 'prompt' | 'skill' | 'project';
|
|
11
11
|
/** Maps a catalog item's entity type to the publish API's entity-type path param, or `undefined` if that type is not publishable. */
|
|
12
12
|
export declare const toPublishEntityType: (type: CatalogEntityType) => CatalogPublishEntityType | undefined;
|
|
13
13
|
/**
|
package/catalog/publish.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../src/catalog/publish.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAiB,MAAM,2BAA2B,CAAC;AAC7E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAGvE;;;;;GAKG;AACH,MAAM,MAAM,wBAAwB,GAClC,OAAO,GAAG,SAAS,GAAG,aAAa,GAAG,QAAQ,GAAG,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../src/catalog/publish.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAiB,MAAM,2BAA2B,CAAC;AAC7E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAGvE;;;;;GAKG;AACH,MAAM,MAAM,wBAAwB,GAClC,OAAO,GAAG,SAAS,GAAG,aAAa,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AAYvE,qIAAqI;AACrI,eAAO,MAAM,mBAAmB,GAC9B,MAAM,iBAAiB,KACtB,wBAAwB,GAAG,SAA2C,CAAC;AAE1E;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB,GAAI,UAAU,MAAM,KAAG,OACjB,CAAC;AAE3C;;;;;GAKG;AACH,eAAO,MAAM,gCAAgC,GAAI,UAAU,MAAM,KAAG,MAAM,EAGlE,CAAC;AAET,kGAAkG;AAClG,eAAO,MAAM,yBAAyB,GACpC,KAAK,sBAAsB,KAC1B,mBAKD,CAAC;AAEH,iHAAiH;AACjH,eAAO,MAAM,+BAA+B,GAC1C,KAAK,4BAA4B,KAChC,mBAKD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns the plain-text folder segments of a personal resource id
|
|
3
|
+
* `{type}/{bucket}/{folder…}/{name}`, e.g. `['Design', 'Audit']` for
|
|
4
|
+
* `applications/b1/Design/Audit/agent__1.0.0`; `[]` at the bucket root or
|
|
5
|
+
* for an id that is not a full resource id.
|
|
6
|
+
*/
|
|
7
|
+
export declare const parseResourceFolderPath: (resourceId: string) => string[];
|
|
8
|
+
//# sourceMappingURL=resource-folder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-folder.d.ts","sourceRoot":"","sources":["../../src/catalog/resource-folder.ts"],"names":[],"mappings":"AAQA;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,GAAI,YAAY,MAAM,KAAG,MAAM,EAKlE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/catalog/resource-folder.ts
|
|
2
|
+
var e = (e) => {
|
|
3
|
+
try {
|
|
4
|
+
return decodeURIComponent(e);
|
|
5
|
+
} catch {
|
|
6
|
+
return e;
|
|
7
|
+
}
|
|
8
|
+
}, t = (t) => {
|
|
9
|
+
let n = t.split("/");
|
|
10
|
+
return n.length <= 3 ? [] : n.slice(2, -1).map(e);
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { t as parseResourceFolderPath };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ResourceSaveAdapter } from './resource-save-adapter';
|
|
2
|
+
/** The kind of entity that already holds a displayed name and version a write asked for. */
|
|
3
|
+
export declare enum ResourceNameConflictKind {
|
|
4
|
+
/** An application shown as an agent. */
|
|
5
|
+
Agent = "agent",
|
|
6
|
+
/** A toolset resource. */
|
|
7
|
+
Toolset = "toolset"
|
|
8
|
+
}
|
|
9
|
+
/** The translated message for each kind of entity a duplicate can collide with. */
|
|
10
|
+
export type ResourceNameConflictMessages = Record<ResourceNameConflictKind, string>;
|
|
11
|
+
/**
|
|
12
|
+
* Returns the kind of entity holding the requested name and version when `error` is a duplicate `409`, otherwise `undefined`.
|
|
13
|
+
* @param error - the rejection of a generated-client call
|
|
14
|
+
*/
|
|
15
|
+
export declare const getResourceNameConflictKind: (error: unknown) => Promise<ResourceNameConflictKind | undefined>;
|
|
16
|
+
/**
|
|
17
|
+
* Returns `adapter` with its create, in-place and new-version steps rejecting a duplicate `409` as a `ResourceSaveError` carrying the matching message.
|
|
18
|
+
* @param adapter - the editor's Save panel adapter
|
|
19
|
+
* @param messages - the translated message for each kind of conflicting entity
|
|
20
|
+
*/
|
|
21
|
+
export declare const withResourceNameConflictMessages: (adapter: ResourceSaveAdapter, messages: ResourceNameConflictMessages) => ResourceSaveAdapter;
|
|
22
|
+
//# sourceMappingURL=resource-name-conflict.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-name-conflict.d.ts","sourceRoot":"","sources":["../../src/catalog/resource-name-conflict.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,mBAAmB,EACzB,MAAM,yBAAyB,CAAC;AAEjC,4FAA4F;AAC5F,oBAAY,wBAAwB;IAClC,wCAAwC;IACxC,KAAK,UAAU;IACf,0BAA0B;IAC1B,OAAO,YAAY;CACpB;AAED,mFAAmF;AACnF,MAAM,MAAM,4BAA4B,GAAG,MAAM,CAC/C,wBAAwB,EACxB,MAAM,CACP,CAAC;AAUF;;;GAGG;AACH,eAAO,MAAM,2BAA2B,GACtC,OAAO,OAAO,KACb,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAI9C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,GAC3C,SAAS,mBAAmB,EAC5B,UAAU,4BAA4B,KACrC,mBA+BF,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { getApiErrorDetails as e } from "../api-error/api-error.js";
|
|
2
|
+
import { ResourceSaveError as t, isResourceCreateAdapter as n } from "./resource-save-adapter.js";
|
|
3
|
+
import { ResourceNameConflictCode as r } from "@epam/ai-dial-chat-api-client";
|
|
4
|
+
//#region src/catalog/resource-name-conflict.ts
|
|
5
|
+
var i = /* @__PURE__ */ function(e) {
|
|
6
|
+
return e.Agent = "agent", e.Toolset = "toolset", e;
|
|
7
|
+
}({}), a = {
|
|
8
|
+
[r.NameTakenAgent]: "agent",
|
|
9
|
+
[r.NameTakenToolset]: "toolset"
|
|
10
|
+
}, o = async (t) => {
|
|
11
|
+
let { status: n, code: r } = await e(t);
|
|
12
|
+
if (n === 409 && r != null) return a[r];
|
|
13
|
+
}, s = (e, r) => {
|
|
14
|
+
let i = (e) => async (...n) => {
|
|
15
|
+
try {
|
|
16
|
+
return await e(...n);
|
|
17
|
+
} catch (e) {
|
|
18
|
+
let n = await o(e);
|
|
19
|
+
throw n == null ? e : new t(r[n]);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
return n(e) ? {
|
|
23
|
+
...e,
|
|
24
|
+
createIn: i(e.createIn)
|
|
25
|
+
} : {
|
|
26
|
+
...e,
|
|
27
|
+
saveInPlace: i(e.saveInPlace),
|
|
28
|
+
...e.saveAsNewVersion && { saveAsNewVersion: i(e.saveAsNewVersion) }
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
//#endregion
|
|
32
|
+
export { i as ResourceNameConflictKind, o as getResourceNameConflictKind, s as withResourceNameConflictMessages };
|