@epam/ai-dial-chat-hooks 1.3.0-dev.5 → 1.3.0-dev.55
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 +30 -0
- package/api-error/api-error.d.ts.map +1 -0
- package/api-transport/create-csrf-middleware.d.ts +15 -0
- package/api-transport/create-csrf-middleware.d.ts.map +1 -0
- package/api-transport/create-unauthorized-middleware.d.ts +40 -0
- package/api-transport/create-unauthorized-middleware.d.ts.map +1 -0
- package/attachment/useAttachmentAction/useAttachmentAction.d.ts +32 -0
- package/attachment/useAttachmentAction/useAttachmentAction.d.ts.map +1 -0
- package/attachment/useAttachmentValidation/useAttachmentValidation.d.ts +50 -0
- package/attachment/useAttachmentValidation/useAttachmentValidation.d.ts.map +1 -0
- package/attachments.d.ts +2 -94
- package/catalog/catalog-derivations.d.ts +27 -0
- package/catalog/catalog-derivations.d.ts.map +1 -0
- package/catalog/catalog-primary-action.d.ts +47 -0
- package/catalog/catalog-primary-action.d.ts.map +1 -0
- package/catalog/create-publish-api.d.ts +32 -0
- package/catalog/create-publish-api.d.ts.map +1 -0
- package/catalog/deployment-endpoint-url.d.ts +19 -0
- package/catalog/deployment-endpoint-url.d.ts.map +1 -0
- package/catalog/deployment-id.d.ts +42 -0
- package/catalog/deployment-id.d.ts.map +1 -0
- package/catalog/entity-details.d.ts +146 -0
- package/catalog/entity-details.d.ts.map +1 -0
- package/catalog/map-deployment-limits-to-catalog.d.ts +34 -0
- package/catalog/map-deployment-limits-to-catalog.d.ts.map +1 -0
- package/catalog/map-deployment-limits-to-input.d.ts +28 -0
- package/catalog/map-deployment-limits-to-input.d.ts.map +1 -0
- package/catalog/map-deployment-to-catalog-item.d.ts +61 -0
- package/catalog/map-deployment-to-catalog-item.d.ts.map +1 -0
- package/catalog/map-entity-details-to-catalog.d.ts +81 -0
- package/catalog/map-entity-details-to-catalog.d.ts.map +1 -0
- package/catalog/map-prompt-to-catalog-item.d.ts +43 -0
- package/catalog/map-prompt-to-catalog-item.d.ts.map +1 -0
- package/catalog/map-skill-to-catalog-item.d.ts +113 -0
- package/catalog/map-skill-to-catalog-item.d.ts.map +1 -0
- package/catalog/mcp-endpoint-url.d.ts +18 -0
- package/catalog/mcp-endpoint-url.d.ts.map +1 -0
- package/catalog/publish.d.ts +35 -0
- package/catalog/publish.d.ts.map +1 -0
- package/catalog/useApplicationCredentials/useApplicationCredentials.d.ts +19 -0
- package/catalog/useApplicationCredentials/useApplicationCredentials.d.ts.map +1 -0
- package/catalog/useCatalogEditNavigation/useCatalogEditNavigation.d.ts +100 -0
- package/catalog/useCatalogEditNavigation/useCatalogEditNavigation.d.ts.map +1 -0
- package/catalog/useCatalogEditNavigation/useCatalogEditNavigation.js +139 -122
- package/catalog/useCatalogItemDetails.d.ts +70 -0
- package/catalog/useCatalogItemDetails.d.ts.map +1 -0
- package/catalog/useCatalogToolsetCredentials/useCatalogToolsetCredentials.d.ts +76 -0
- package/catalog/useCatalogToolsetCredentials/useCatalogToolsetCredentials.d.ts.map +1 -0
- package/catalog/useFavoriteEntitiesState/useFavoriteEntitiesState.d.ts +37 -0
- package/catalog/useFavoriteEntitiesState/useFavoriteEntitiesState.d.ts.map +1 -0
- package/catalog/usePublishFolders/usePublishFolders.d.ts +73 -0
- package/catalog/usePublishFolders/usePublishFolders.d.ts.map +1 -0
- package/catalog/useSkillDetailsPanelData/useSkillDetailsPanelData.d.ts +54 -0
- package/catalog/useSkillDetailsPanelData/useSkillDetailsPanelData.d.ts.map +1 -0
- package/catalog/useSkillItemDetails.d.ts +64 -0
- package/catalog/useSkillItemDetails.d.ts.map +1 -0
- package/catalog.d.ts +2 -1433
- package/conversation/announcement-message.d.ts +61 -0
- package/conversation/announcement-message.d.ts.map +1 -0
- package/conversation/conversation-transfer/async.d.ts +10 -0
- package/conversation/conversation-transfer/async.d.ts.map +1 -0
- package/conversation/conversation-transfer/attachment-refs.d.ts +42 -0
- package/conversation/conversation-transfer/attachment-refs.d.ts.map +1 -0
- package/conversation/conversation-transfer/build-upload-path.d.ts +42 -0
- package/conversation/conversation-transfer/build-upload-path.d.ts.map +1 -0
- package/conversation/conversation-transfer/date.d.ts +5 -0
- package/conversation/conversation-transfer/date.d.ts.map +1 -0
- package/conversation/conversation-transfer/dial-file-resolve.d.ts +10 -0
- package/conversation/conversation-transfer/dial-file-resolve.d.ts.map +1 -0
- package/conversation/conversation-transfer/export-conversation.d.ts +10 -0
- package/conversation/conversation-transfer/export-conversation.d.ts.map +1 -0
- package/conversation/conversation-transfer/import-conversation.d.ts +106 -0
- package/conversation/conversation-transfer/import-conversation.d.ts.map +1 -0
- package/conversation/conversation-transfer/progress.d.ts +60 -0
- package/conversation/conversation-transfer/progress.d.ts.map +1 -0
- package/conversation/conversation-transfer/queue.d.ts +54 -0
- package/conversation/conversation-transfer/queue.d.ts.map +1 -0
- package/conversation/conversation-transfer/types.d.ts +36 -0
- package/conversation/conversation-transfer/types.d.ts.map +1 -0
- package/conversation/conversation-transfer/zip-export.d.ts +31 -0
- package/conversation/conversation-transfer/zip-export.d.ts.map +1 -0
- package/conversation/conversation-transfer/zip-import.d.ts +17 -0
- package/conversation/conversation-transfer/zip-import.d.ts.map +1 -0
- package/conversation/create-chat-stream-api.d.ts +92 -0
- package/conversation/create-chat-stream-api.d.ts.map +1 -0
- package/conversation/deriveConversationRowActionState/deriveConversationRowActionState.d.ts +39 -0
- package/conversation/deriveConversationRowActionState/deriveConversationRowActionState.d.ts.map +1 -0
- package/conversation/display-name-watch.d.ts +4 -0
- package/conversation/display-name-watch.d.ts.map +1 -0
- package/conversation/footer-message.d.ts +10 -0
- package/conversation/footer-message.d.ts.map +1 -0
- package/conversation/get-model-id-from-conversation-id.d.ts +38 -0
- package/conversation/get-model-id-from-conversation-id.d.ts.map +1 -0
- package/conversation/greeting.d.ts +18 -0
- package/conversation/greeting.d.ts.map +1 -0
- package/conversation/message-factory.d.ts +7 -0
- package/conversation/message-factory.d.ts.map +1 -0
- package/conversation/message-utils.d.ts +67 -0
- package/conversation/message-utils.d.ts.map +1 -0
- package/conversation/overlay-messages.d.ts +5 -0
- package/conversation/overlay-messages.d.ts.map +1 -0
- package/conversation/quick-app-conversation-starters.d.ts +10 -0
- package/conversation/quick-app-conversation-starters.d.ts.map +1 -0
- package/conversation/stage.d.ts +77 -0
- package/conversation/stage.d.ts.map +1 -0
- package/conversation/starter-option.d.ts +21 -0
- package/conversation/starter-option.d.ts.map +1 -0
- package/conversation/useActiveConversationSync/useActiveConversationSync.d.ts +35 -0
- package/conversation/useActiveConversationSync/useActiveConversationSync.d.ts.map +1 -0
- package/conversation/useAsyncConfirmDialog/useAsyncConfirmDialog.d.ts +46 -0
- package/conversation/useAsyncConfirmDialog/useAsyncConfirmDialog.d.ts.map +1 -0
- package/conversation/useAttachmentUpload/useAttachmentUpload.d.ts +27 -0
- package/conversation/useAttachmentUpload/useAttachmentUpload.d.ts.map +1 -0
- package/conversation/useConversationExport/useConversationExport.d.ts +72 -0
- package/conversation/useConversationExport/useConversationExport.d.ts.map +1 -0
- package/conversation/useConversationHandlers/attachment-to-dto.d.ts +7 -0
- package/conversation/useConversationHandlers/attachment-to-dto.d.ts.map +1 -0
- package/conversation/useConversationHandlers/message-factory.d.ts +9 -0
- package/conversation/useConversationHandlers/message-factory.d.ts.map +1 -0
- package/conversation/useConversationHandlers/message-utils.d.ts +38 -0
- package/conversation/useConversationHandlers/message-utils.d.ts.map +1 -0
- package/conversation/useConversationHandlers/starter-option.d.ts +24 -0
- package/conversation/useConversationHandlers/starter-option.d.ts.map +1 -0
- package/conversation/useConversationHandlers/useConversationHandlers.d.ts +66 -0
- package/conversation/useConversationHandlers/useConversationHandlers.d.ts.map +1 -0
- package/conversation/useConversationImport/useConversationImport.d.ts +54 -0
- package/conversation/useConversationImport/useConversationImport.d.ts.map +1 -0
- package/conversation/useConversationLookupMaps/useConversationLookupMaps.d.ts +24 -0
- package/conversation/useConversationLookupMaps/useConversationLookupMaps.d.ts.map +1 -0
- package/conversation/useConversationPanelItems/useConversationPanelItems.d.ts +64 -0
- package/conversation/useConversationPanelItems/useConversationPanelItems.d.ts.map +1 -0
- package/conversation/useConversationScroll/useConversationScroll.d.ts +46 -0
- package/conversation/useConversationScroll/useConversationScroll.d.ts.map +1 -0
- package/conversation/useConversationStream/apply-chunk.d.ts +35 -0
- package/conversation/useConversationStream/apply-chunk.d.ts.map +1 -0
- package/conversation/useConversationStream/buffered-generation.d.ts +15 -0
- package/conversation/useConversationStream/buffered-generation.d.ts.map +1 -0
- package/conversation/useConversationStream/conversation-path.d.ts +7 -0
- package/conversation/useConversationStream/conversation-path.d.ts.map +1 -0
- package/conversation/useConversationStream/frame-scheduler.d.ts +14 -0
- package/conversation/useConversationStream/frame-scheduler.d.ts.map +1 -0
- package/conversation/useConversationStream/generation-resume.d.ts +85 -0
- package/conversation/useConversationStream/generation-resume.d.ts.map +1 -0
- package/conversation/useConversationStream/useConversationStream.d.ts +145 -0
- package/conversation/useConversationStream/useConversationStream.d.ts.map +1 -0
- package/conversation/useImportFilePicker/useImportFilePicker.d.ts +32 -0
- package/conversation/useImportFilePicker/useImportFilePicker.d.ts.map +1 -0
- package/conversation/useMessageSelectionReply/useMessageSelectionReply.d.ts +42 -0
- package/conversation/useMessageSelectionReply/useMessageSelectionReply.d.ts.map +1 -0
- package/conversation/useTranscribeAudio/audio-transcription-error.d.ts +19 -0
- package/conversation/useTranscribeAudio/audio-transcription-error.d.ts.map +1 -0
- package/conversation/useTranscribeAudio/transcription-retry.d.ts +2 -0
- package/conversation/useTranscribeAudio/transcription-retry.d.ts.map +1 -0
- package/conversation/useTranscribeAudio/useTranscribeAudio.d.ts +43 -0
- package/conversation/useTranscribeAudio/useTranscribeAudio.d.ts.map +1 -0
- package/conversation-overlay.d.ts +2 -7
- package/conversation-sources/useConversationSources/useConversationSources.d.ts +20 -0
- package/conversation-sources/useConversationSources/useConversationSources.d.ts.map +1 -0
- package/conversation-sources.d.ts +2 -25
- package/conversation-transfer.d.ts +2 -190
- package/conversation.d.ts +2 -1372
- package/entry-points/attachments.d.ts +3 -0
- package/entry-points/attachments.d.ts.map +1 -0
- package/entry-points/catalog.d.ts +25 -0
- package/entry-points/catalog.d.ts.map +1 -0
- package/entry-points/conversation-overlay.d.ts +2 -0
- package/entry-points/conversation-overlay.d.ts.map +1 -0
- package/entry-points/conversation-sources.d.ts +2 -0
- package/entry-points/conversation-sources.d.ts.map +1 -0
- package/entry-points/conversation-transfer.d.ts +7 -0
- package/entry-points/conversation-transfer.d.ts.map +1 -0
- package/entry-points/conversation.d.ts +33 -0
- package/entry-points/conversation.d.ts.map +1 -0
- package/entry-points/file-manager-canvas.d.ts +2 -0
- package/entry-points/file-manager-canvas.d.ts.map +1 -0
- package/entry-points/file-manager.d.ts +31 -0
- package/entry-points/file-manager.d.ts.map +1 -0
- package/entry-points/mcp-apps.d.ts +6 -0
- package/entry-points/mcp-apps.d.ts.map +1 -0
- package/entry-points/oauth.d.ts +10 -0
- package/entry-points/oauth.d.ts.map +1 -0
- package/entry-points/scheduled-tasks.d.ts +8 -0
- package/entry-points/scheduled-tasks.d.ts.map +1 -0
- package/entry-points/scroll-anchoring.d.ts +2 -0
- package/entry-points/scroll-anchoring.d.ts.map +1 -0
- package/entry-points/sharing.d.ts +3 -0
- package/entry-points/sharing.d.ts.map +1 -0
- package/entry-points/skill-editor.d.ts +9 -0
- package/entry-points/skill-editor.d.ts.map +1 -0
- package/entry-points/skills-state.d.ts +2 -0
- package/entry-points/skills-state.d.ts.map +1 -0
- package/entry-points/source-content.d.ts +2 -0
- package/entry-points/source-content.d.ts.map +1 -0
- package/entry-points/usage-limits.d.ts +8 -0
- package/entry-points/usage-limits.d.ts.map +1 -0
- package/entry-points/usage.d.ts +3 -0
- package/entry-points/usage.d.ts.map +1 -0
- package/entry-points/utils.d.ts +17 -0
- package/entry-points/utils.d.ts.map +1 -0
- package/entry-points/viewport-layout.d.ts +4 -0
- package/entry-points/viewport-layout.d.ts.map +1 -0
- package/file-manager-canvas.d.ts +2 -418
- package/file-manager.d.ts +2 -1237
- package/file-manager.js +25 -25
- package/files/annotation.d.ts +10 -0
- package/files/annotation.d.ts.map +1 -0
- package/files/attachment-canvas.d.ts +123 -0
- package/files/attachment-canvas.d.ts.map +1 -0
- package/files/attachment-dto-to-display.d.ts +10 -0
- package/files/attachment-dto-to-display.d.ts.map +1 -0
- package/files/attachment-types.d.ts +21 -0
- package/files/attachment-types.d.ts.map +1 -0
- package/files/create-files-api.d.ts +52 -0
- package/files/create-files-api.d.ts.map +1 -0
- package/files/create-upload-file-with-progress.d.ts +24 -0
- package/files/create-upload-file-with-progress.d.ts.map +1 -0
- package/files/dial-file-manager-copy-move.util.d.ts +15 -0
- package/files/dial-file-manager-copy-move.util.d.ts.map +1 -0
- package/files/dial-file-manager-mapping.util.d.ts +35 -0
- package/files/dial-file-manager-mapping.util.d.ts.map +1 -0
- package/files/dial-file-manager-path.util.d.ts +48 -0
- package/files/dial-file-manager-path.util.d.ts.map +1 -0
- package/files/dial-file-manager.model.d.ts +36 -0
- package/files/dial-file-manager.model.d.ts.map +1 -0
- package/files/dial-file-manager.model.js +7 -3
- package/files/dial-file-manager.types.d.ts +327 -0
- package/files/dial-file-manager.types.d.ts.map +1 -0
- package/files/dial-file-manager.types.js +1 -1
- package/files/dial-file-to-attachment.d.ts +26 -0
- package/files/dial-file-to-attachment.d.ts.map +1 -0
- package/files/dial-file.d.ts +17 -0
- package/files/dial-file.d.ts.map +1 -0
- package/files/dial-files-api.d.ts +71 -0
- package/files/dial-files-api.d.ts.map +1 -0
- package/files/download-destination.d.ts +31 -0
- package/files/download-destination.d.ts.map +1 -0
- package/files/file-manager-variant.d.ts +3 -0
- package/files/file-manager-variant.d.ts.map +1 -0
- package/files/file-name.d.ts +19 -0
- package/files/file-name.d.ts.map +1 -0
- package/files/prepare-download-destination.d.ts +8 -0
- package/files/prepare-download-destination.d.ts.map +1 -0
- package/files/resolve-dial-file-api-path.d.ts +12 -0
- package/files/resolve-dial-file-api-path.d.ts.map +1 -0
- package/files/source-content.d.ts +28 -0
- package/files/source-content.d.ts.map +1 -0
- package/files/useDialFileListing/useDialFileListing.d.ts +82 -0
- package/files/useDialFileListing/useDialFileListing.d.ts.map +1 -0
- package/files/useDialFileListing/useDialFileListing.js +24 -14
- package/files/useDialFileManager/useDialFileManager.d.ts +16 -0
- package/files/useDialFileManager/useDialFileManager.d.ts.map +1 -0
- package/files/useDialFileManager/useDialFileManager.js +148 -140
- package/files/useDialFileManagerSections/useDialFileManagerSections.d.ts +25 -0
- package/files/useDialFileManagerSections/useDialFileManagerSections.d.ts.map +1 -0
- package/files/useDialFileManagerTabConfig/useDialFileManagerTabConfig.d.ts +15 -0
- package/files/useDialFileManagerTabConfig/useDialFileManagerTabConfig.d.ts.map +1 -0
- package/files/useDialFileMetadata/useDialFileMetadata.d.ts +28 -0
- package/files/useDialFileMetadata/useDialFileMetadata.d.ts.map +1 -0
- package/files/useDialFileMutations/useDialFileMutations.d.ts +68 -0
- package/files/useDialFileMutations/useDialFileMutations.d.ts.map +1 -0
- package/files/useDialFileMutations/useDialFileMutations.js +206 -204
- package/files/useDialFileSharing/useDialFileSharing.d.ts +34 -0
- package/files/useDialFileSharing/useDialFileSharing.d.ts.map +1 -0
- package/files/useDialFileSharing/useDialFileSharing.js +45 -39
- package/files/useDialFileUploadBatch/useDialFileUploadBatch.d.ts +47 -0
- package/files/useDialFileUploadBatch/useDialFileUploadBatch.d.ts.map +1 -0
- package/files/useDialFileUploadBatch/useDialFileUploadBatch.js +8 -4
- package/files/useFileAttachmentPicker/useFileAttachmentPicker.d.ts +59 -0
- package/files/useFileAttachmentPicker/useFileAttachmentPicker.d.ts.map +1 -0
- package/index.d.ts +159 -6974
- package/index.d.ts.map +1 -0
- package/index.js +124 -117
- package/mcp-apps/mcp-apps-api-client.d.ts +28 -0
- package/mcp-apps/mcp-apps-api-client.d.ts.map +1 -0
- package/mcp-apps/useMcpAppHostAdapter/useMcpAppHostAdapter.d.ts +14 -0
- package/mcp-apps/useMcpAppHostAdapter/useMcpAppHostAdapter.d.ts.map +1 -0
- package/mcp-apps/useMcpAppHostContext/useMcpAppHostContext.d.ts +29 -0
- package/mcp-apps/useMcpAppHostContext/useMcpAppHostContext.d.ts.map +1 -0
- package/mcp-apps/useMcpAppTools/useMcpAppTools.d.ts +22 -0
- package/mcp-apps/useMcpAppTools/useMcpAppTools.d.ts.map +1 -0
- package/mcp-apps/useOpenMcpAppCanvas/useOpenMcpAppCanvas.d.ts +36 -0
- package/mcp-apps/useOpenMcpAppCanvas/useOpenMcpAppCanvas.d.ts.map +1 -0
- package/mcp-apps.d.ts +2 -256
- package/oauth/authorize-url.d.ts +16 -0
- package/oauth/authorize-url.d.ts.map +1 -0
- package/oauth/handshake.d.ts +30 -0
- package/oauth/handshake.d.ts.map +1 -0
- package/oauth/models.d.ts +81 -0
- package/oauth/models.d.ts.map +1 -0
- package/oauth/popup.d.ts +30 -0
- package/oauth/popup.d.ts.map +1 -0
- package/oauth/toolset-id.d.ts +53 -0
- package/oauth/toolset-id.d.ts.map +1 -0
- package/oauth/types.d.ts +84 -0
- package/oauth/types.d.ts.map +1 -0
- package/oauth/useOAuthCallbackCompletion/useOAuthCallbackCompletion.d.ts +54 -0
- package/oauth/useOAuthCallbackCompletion/useOAuthCallbackCompletion.d.ts.map +1 -0
- package/oauth/useToolsetLogin/useToolsetLogin.d.ts +79 -0
- package/oauth/useToolsetLogin/useToolsetLogin.d.ts.map +1 -0
- package/oauth.d.ts +2 -472
- package/package.json +26 -17
- package/prompt/export-prompt.d.ts +31 -0
- package/prompt/export-prompt.d.ts.map +1 -0
- package/prompt/prompt-resource.d.ts +30 -0
- package/prompt/prompt-resource.d.ts.map +1 -0
- package/prompt/prompt.d.ts +34 -0
- package/prompt/prompt.d.ts.map +1 -0
- package/prompt/usePromptsState/usePromptsState.d.ts +34 -0
- package/prompt/usePromptsState/usePromptsState.d.ts.map +1 -0
- package/scheduled-task/scheduled-task-description.d.ts +38 -0
- package/scheduled-task/scheduled-task-description.d.ts.map +1 -0
- package/scheduled-task/scheduled-task-mapping.d.ts +19 -0
- package/scheduled-task/scheduled-task-mapping.d.ts.map +1 -0
- package/scheduled-task/scheduled-task-preparation.d.ts +19 -0
- package/scheduled-task/scheduled-task-preparation.d.ts.map +1 -0
- package/scheduled-task/scheduled-task-trigger.d.ts +26 -0
- package/scheduled-task/scheduled-task-trigger.d.ts.map +1 -0
- package/scheduled-task/scheduled-tasks-api-client.d.ts +67 -0
- package/scheduled-task/scheduled-tasks-api-client.d.ts.map +1 -0
- package/scheduled-task/use-scheduled-task-runs.d.ts +40 -0
- package/scheduled-task/use-scheduled-task-runs.d.ts.map +1 -0
- package/scheduled-task/use-scheduled-task-runs.js +67 -67
- package/scheduled-task/use-scheduled-tasks.d.ts +28 -0
- package/scheduled-task/use-scheduled-tasks.d.ts.map +1 -0
- package/scheduled-tasks.d.ts +2 -250
- package/scroll-anchoring.d.ts +2 -50
- package/shared/application-schema.d.ts +18 -0
- package/shared/application-schema.d.ts.map +1 -0
- package/shared/application-schema.js +2 -2
- package/shared/browser-timezone.d.ts +7 -0
- package/shared/browser-timezone.d.ts.map +1 -0
- package/shared/cron-day-of-month.d.ts +21 -0
- package/shared/cron-day-of-month.d.ts.map +1 -0
- package/shared/cron-weekday.d.ts +5 -0
- package/shared/cron-weekday.d.ts.map +1 -0
- package/shared/custom-apps.d.ts +7 -0
- package/shared/custom-apps.d.ts.map +1 -0
- package/shared/external-services.d.ts +16 -0
- package/shared/external-services.d.ts.map +1 -0
- package/shared/formatting.d.ts +5 -0
- package/shared/formatting.d.ts.map +1 -0
- package/shared/locale.d.ts +45 -0
- package/shared/locale.d.ts.map +1 -0
- package/shared/string-utils.d.ts +11 -0
- package/shared/string-utils.d.ts.map +1 -0
- package/shared/toolset-login-events.d.ts +15 -0
- package/shared/toolset-login-events.d.ts.map +1 -0
- package/sharing.d.ts +2 -65
- package/skill/skill-archive.d.ts +7 -0
- package/skill/skill-archive.d.ts.map +1 -0
- package/skill/skill-file-batch-validation.d.ts +70 -0
- package/skill/skill-file-batch-validation.d.ts.map +1 -0
- package/skill/skill-file-preview.d.ts +25 -0
- package/skill/skill-file-preview.d.ts.map +1 -0
- package/skill/skill-manifest.d.ts +28 -0
- package/skill/skill-manifest.d.ts.map +1 -0
- package/skill/skill-types.d.ts +46 -0
- package/skill/skill-types.d.ts.map +1 -0
- package/skill/skill.d.ts +160 -0
- package/skill/skill.d.ts.map +1 -0
- package/skill/useSkillArchiveImport/useSkillArchiveImport.d.ts +65 -0
- package/skill/useSkillArchiveImport/useSkillArchiveImport.d.ts.map +1 -0
- package/skill/useSkillEditorLoad.d.ts +74 -0
- package/skill/useSkillEditorLoad.d.ts.map +1 -0
- package/skill/useSkillEditorSubmit.d.ts +125 -0
- package/skill/useSkillEditorSubmit.d.ts.map +1 -0
- package/skill/useSkillFileActions.d.ts +60 -0
- package/skill/useSkillFileActions.d.ts.map +1 -0
- package/skill/useSkillFilePreview.d.ts +38 -0
- package/skill/useSkillFilePreview.d.ts.map +1 -0
- package/skill/useSkillsState/useSkillsState.d.ts +35 -0
- package/skill/useSkillsState/useSkillsState.d.ts.map +1 -0
- package/skill-editor.d.ts +2 -655
- package/skills-state.d.ts +2 -40
- package/source-content.d.ts +2 -29
- package/usage/map-usage-data-to-dashboard.d.ts +39 -0
- package/usage/map-usage-data-to-dashboard.d.ts.map +1 -0
- package/usage/map-user-usage-to-model-limits.d.ts +62 -0
- package/usage/map-user-usage-to-model-limits.d.ts.map +1 -0
- package/usage/usage-banner-source.d.ts +23 -0
- package/usage/usage-banner-source.d.ts.map +1 -0
- package/usage/usage-banner-source.js +36 -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 +69 -0
- package/usage/usage-reset-time.d.ts.map +1 -0
- package/usage/usage-reset-time.js +72 -0
- package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.d.ts +32 -0
- package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.d.ts.map +1 -0
- package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.js +39 -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/useUsageData/useUsageData.d.ts +28 -0
- package/usage/useUsageData/useUsageData.d.ts.map +1 -0
- package/usage/useUsageLimitBanner/useUsageLimitBanner.d.ts +56 -0
- package/usage/useUsageLimitBanner/useUsageLimitBanner.d.ts.map +1 -0
- package/usage/useUsageLimitBanner/useUsageLimitBanner.js +67 -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 +8 -0
- package/usage.d.ts +2 -125
- package/useChatSettingsFormConfig/useChatSettingsFormConfig.d.ts +128 -0
- package/useChatSettingsFormConfig/useChatSettingsFormConfig.d.ts.map +1 -0
- package/usePageFileDrag/usePageFileDrag.d.ts +16 -0
- package/usePageFileDrag/usePageFileDrag.d.ts.map +1 -0
- package/usePanelMaxWidth/usePanelMaxWidth.d.ts +6 -0
- package/usePanelMaxWidth/usePanelMaxWidth.d.ts.map +1 -0
- package/useShareLink/useShareLink.d.ts +23 -0
- package/useShareLink/useShareLink.d.ts.map +1 -0
- package/useShareRecipientsCount/useShareRecipientsCount.d.ts +36 -0
- package/useShareRecipientsCount/useShareRecipientsCount.d.ts.map +1 -0
- package/useToolsMenu/useToolsMenu.d.ts +31 -0
- package/useToolsMenu/useToolsMenu.d.ts.map +1 -0
- package/useViewportWidth/useViewportWidth.d.ts +3 -0
- package/useViewportWidth/useViewportWidth.d.ts.map +1 -0
- package/utils.d.ts +2 -404
- package/utils.js +10 -10
- package/viewport-layout.d.ts +2 -27
package/skill-editor.d.ts
CHANGED
|
@@ -1,655 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { NotificationVariant } from '@epam/ai-dial-ui-kit';
|
|
4
|
-
import { SetStateAction } from 'react';
|
|
5
|
-
import { SkillEditorErrors } from '@epam/ai-dial-skill-editor';
|
|
6
|
-
import { SkillEditorFileActions } from '@epam/ai-dial-skill-editor';
|
|
7
|
-
import { SkillEditorValues } from '@epam/ai-dial-skill-editor';
|
|
8
|
-
import { SkillFileBatchError } from '@epam/ai-dial-skill-editor';
|
|
9
|
-
import { SkillFileListResponseDto } from '@epam/ai-dial-chat-api-client';
|
|
10
|
-
import { SkillFileSourceEntry } from '@epam/ai-dial-skill-editor';
|
|
11
|
-
import { SkillFileTreeNode } from '@epam/ai-dial-skill-editor';
|
|
12
|
-
import { SkillFileUploadCandidate } from '@epam/ai-dial-skill-editor';
|
|
13
|
-
import { SkillFileValidationResult } from '@epam/ai-dial-skill-editor';
|
|
14
|
-
import { SkillUploadResponseDto } from '@epam/ai-dial-chat-api-client';
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Builds the ordered supporting-file paths and `Blob` payload
|
|
18
|
-
* `createSkill`/`updateSkill` expect from the editor's file tree and
|
|
19
|
-
* in-memory content map. Every folder node with no descendant node gets a
|
|
20
|
-
* zero-byte `<folder>/.dial_folder` marker after the real files, so the
|
|
21
|
-
* empty folder survives the whole-skill write; a folder with content needs
|
|
22
|
-
* none, and a marker it had before is dropped by that same write.
|
|
23
|
-
*/
|
|
24
|
-
export declare const buildSkillFilesPayload: (files: SkillFileTreeNode[], filesContent: Map<string, SkillFileContent>) => SkillFilesPayload;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Builds `SKILL.md`'s content: a YAML frontmatter block (`name`/`description`,
|
|
28
|
-
* serialized with the `yaml` package so special characters are always
|
|
29
|
-
* correctly escaped) followed by the raw instructions body.
|
|
30
|
-
*/
|
|
31
|
-
export declare const buildSkillManifest: ({ name, description, instructions, }: SkillManifestValues) => string;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Builds `SKILL.md`'s content for a create or edit submission: reassigns
|
|
35
|
-
* onto the loaded/imported frontmatter when one exists (so unrecognized
|
|
36
|
-
* fields survive), otherwise builds a fresh manifest from just `name`/
|
|
37
|
-
* `description`/`instructions`.
|
|
38
|
-
*/
|
|
39
|
-
export declare const buildSkillManifestForSubmit: (frontmatter: Record<string, unknown>, name: string, description: string, instructions: string) => string;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Builds `SKILL.md`'s content for an edit save: reassigns only `name`/
|
|
43
|
-
* `description` onto the *loaded* frontmatter object (mutating a shallow
|
|
44
|
-
* copy, never the original) so unrecognized fields (e.g. `version`) survive
|
|
45
|
-
* re-serialization unchanged, then appends the (possibly edited)
|
|
46
|
-
* instructions body.
|
|
47
|
-
*/
|
|
48
|
-
export declare const buildSkillManifestFromFrontmatter: (baseFrontmatter: Record<string, unknown>, name: string, description: string, instructions: string) => string;
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Classifies an import request's HTTP status into a semantic outcome: 400/413/422 are
|
|
52
|
-
* archive-content problems, 409 is a name collision, 429 is rate limiting, 502/503 mean the
|
|
53
|
-
* backend is unavailable, and anything else (including no status at all) is generic.
|
|
54
|
-
*/
|
|
55
|
-
export declare const classifySkillArchiveImportError: (status: number | undefined) => SkillArchiveImportErrorKind;
|
|
56
|
-
|
|
57
|
-
/** Returns the limit each over-long skill field exceeds, keyed by field; fields within their limit are omitted. */
|
|
58
|
-
export declare const getSkillFieldLengthViolations: (values: Record<SkillTextField, string>) => Partial<Record<SkillTextField, number>>;
|
|
59
|
-
|
|
60
|
-
/** Whether a skill-relative path is a folder marker (`<folder>/.dial_folder`, never a root-level `.dial_folder`). */
|
|
61
|
-
export declare const isSkillFolderMarkerPath: (path: string) => boolean;
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Client-side mirror of the backend's `isValidSkillRelativePath`
|
|
65
|
-
* (`apps/chat-api/src/skills/utils/skill-path.util.ts`), used only for
|
|
66
|
-
* immediate inline feedback — the server remains authoritative and may still
|
|
67
|
-
* reject a path this function accepts. It additionally reserves the
|
|
68
|
-
* `.dial_folder` marker name so a user can never upload or name a folder
|
|
69
|
-
* after it; the save payload's generated markers never pass through here
|
|
70
|
-
* (the server accepts them only as a zero-byte final segment).
|
|
71
|
-
*/
|
|
72
|
-
export declare const isValidSkillRelativePath: (relativePath: string) => boolean;
|
|
73
|
-
|
|
74
|
-
/** Returns a skill relative path's final segment (its display name in the file tree). */
|
|
75
|
-
export declare const nameFromPath: (path: string) => string;
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Normalizes a user-entered skill name to the DIAL naming convention
|
|
79
|
-
* (lowercase letters, digits, and hyphens; no spaces): lowercases the input,
|
|
80
|
-
* replaces every run of whitespace/invalid characters with a single hyphen,
|
|
81
|
-
* and trims leading/trailing hyphens.
|
|
82
|
-
*/
|
|
83
|
-
export declare const normalizeSkillName: (input: string) => string;
|
|
84
|
-
|
|
85
|
-
/** A skill's `SKILL.md` split into its parsed frontmatter object and the raw instructions body. */
|
|
86
|
-
export declare interface ParsedSkillManifest {
|
|
87
|
-
/** The full parsed frontmatter object, including fields this app never renders. */
|
|
88
|
-
frontmatter: Record<string, unknown>;
|
|
89
|
-
/** The instructions body following the closing `---` delimiter. */
|
|
90
|
-
instructions: string;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Parses a `SKILL.md`'s YAML frontmatter and instructions body — the inverse
|
|
95
|
-
* of `buildSkillManifest`/`buildSkillManifestFromFrontmatter`. Throws if the
|
|
96
|
-
* manifest has no `---`-delimited frontmatter block.
|
|
97
|
-
*/
|
|
98
|
-
export declare const parseSkillManifest: (manifestText: string) => ParsedSkillManifest;
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Splits a `SKILL.md` into its YAML frontmatter fields and its prose body.
|
|
102
|
-
*
|
|
103
|
-
* Never throws: a file with no opening fence, no closing fence, or frontmatter
|
|
104
|
-
* that fails to parse resolves to the whole input as `body` with no
|
|
105
|
-
* frontmatter fields. Parse failure is strictly weaker than fetch failure —
|
|
106
|
-
* the manifest text is still returned so the Content tab can render it.
|
|
107
|
-
*/
|
|
108
|
-
export declare const parseSkillManifestDocument: (raw: string) => SkillManifestDocument;
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* Client-side mirror of the backend's default `SKILL_FILE_UPLOAD_MAX_BYTES`
|
|
112
|
-
* (`apps/chat-api/src/config/environment.config.ts`), used only for
|
|
113
|
-
* immediate inline feedback when a user picks a file to upload — the server
|
|
114
|
-
* remains authoritative and enforces its own configured limit regardless.
|
|
115
|
-
*/
|
|
116
|
-
export declare const SKILL_FILE_UPLOAD_MAX_BYTES = 1048576;
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Zero-byte object written at `<folder>/.dial_folder` so an otherwise empty
|
|
120
|
-
* skill folder survives a save — DIAL Core storage has no directory objects,
|
|
121
|
-
* so a folder only exists as a file's path prefix.
|
|
122
|
-
*/
|
|
123
|
-
export declare const SKILL_FOLDER_MARKER = ".dial_folder";
|
|
124
|
-
|
|
125
|
-
/** Root manifest filename required at the top of every skill archive (mirrors `SKILL_MANIFEST_FILE` in `apps/chat-api/src/skills/utils/skill-path.util.ts`). */
|
|
126
|
-
export declare const SKILL_MANIFEST_FILE = "SKILL.md";
|
|
127
|
-
|
|
128
|
-
/** Length limit of each skill editor text field. */
|
|
129
|
-
export declare const SKILL_TEXT_FIELD_MAX_LENGTHS: Record<SkillTextField, number>;
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* Client-side mirror of the backend's default `SKILL_UPLOAD_MAX_FILES`
|
|
133
|
-
* (`apps/chat-api/src/config/environment.config.ts`), used only for
|
|
134
|
-
* immediate inline feedback on the projected total file count (including the
|
|
135
|
-
* root `SKILL.md`) — the server remains authoritative regardless.
|
|
136
|
-
*/
|
|
137
|
-
export declare const SKILL_UPLOAD_MAX_FILES = 100;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* Client-side mirror of the backend's default `SKILL_UPLOAD_MAX_TOTAL_BYTES`
|
|
141
|
-
* (`apps/chat-api/src/config/environment.config.ts`), used only for
|
|
142
|
-
* immediate inline feedback on the projected total package size — the server
|
|
143
|
-
* remains authoritative and enforces its own configured limit regardless.
|
|
144
|
-
*/
|
|
145
|
-
export declare const SKILL_UPLOAD_MAX_TOTAL_BYTES = 16777216;
|
|
146
|
-
|
|
147
|
-
/** Structured fields lifted from a skill manifest's frontmatter. */
|
|
148
|
-
export declare interface SkillAboutDetails {
|
|
149
|
-
whenToUse?: string;
|
|
150
|
-
allowedTools?: string[];
|
|
151
|
-
bundledResources?: string[];
|
|
152
|
-
skillPrompt?: string;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
/** Semantic classification of an import request failure. */
|
|
156
|
-
export declare enum SkillArchiveImportErrorKind {
|
|
157
|
-
Validation = "validation",
|
|
158
|
-
Collision = "collision",
|
|
159
|
-
RateLimited = "rateLimited",
|
|
160
|
-
ServiceUnavailable = "serviceUnavailable",
|
|
161
|
-
Generic = "generic"
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
/** Phase of a skill-archive import, driving the host's loading/success/error presentation. */
|
|
165
|
-
export declare enum SkillArchiveImportStatus {
|
|
166
|
-
Idle = "idle",
|
|
167
|
-
Uploading = "uploading",
|
|
168
|
-
Success = "success",
|
|
169
|
-
Error = "error"
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
/** Reason a selected/dropped file was rejected before any request was made. */
|
|
173
|
-
export declare enum SkillArchiveSelectionRejectionReason {
|
|
174
|
-
UnsupportedFilename = "unsupportedFilename"
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
/** Already-configured DIAL Core download operations `useSkillEditorLoad` needs. */
|
|
178
|
-
export declare interface SkillEditorLoadClient {
|
|
179
|
-
/** Downloads the whole-skill ZIP archive. */
|
|
180
|
-
downloadSkill: (bucket: string, path: string) => Promise<Response>;
|
|
181
|
-
/** Downloads one file within the skill (the manifest or a supporting file). */
|
|
182
|
-
downloadSkillFile: (bucket: string, path: string, filePath: string) => Promise<Response>;
|
|
183
|
-
/** Lists the skill's files when the whole-skill ZIP route is unusable. */
|
|
184
|
-
listSkillFiles: (params: {
|
|
185
|
-
bucket: string;
|
|
186
|
-
path?: string;
|
|
187
|
-
filePath: string;
|
|
188
|
-
recursive?: boolean;
|
|
189
|
-
}) => Promise<SkillFileListResponseDto>;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/** Edit-mode load state for a skill-authoring form; create mode never leaves `Loaded`. */
|
|
193
|
-
export declare enum SkillEditorLoadState {
|
|
194
|
-
/** The edit-mode download/parse flow is in flight. */
|
|
195
|
-
Loading = "loading",
|
|
196
|
-
/** The skill loaded successfully (or create mode, which starts here). */
|
|
197
|
-
Loaded = "loaded",
|
|
198
|
-
/** The download/parse flow failed for a reason other than 403/404. */
|
|
199
|
-
Error = "error",
|
|
200
|
-
/** The caller lacks permission to read the skill. */
|
|
201
|
-
Forbidden = "forbidden",
|
|
202
|
-
/** The skill no longer exists at the given path. */
|
|
203
|
-
NotFound = "not-found"
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
/** Already-configured DIAL Core write operations `useSkillEditorSubmit` needs. */
|
|
207
|
-
export declare interface SkillEditorSubmitClient {
|
|
208
|
-
/** Creates a new skill. */
|
|
209
|
-
createSkill: (bucket: string, path: string, skillManifest: string, filePaths: string[], files: Blob[]) => Promise<SkillUploadResponseDto>;
|
|
210
|
-
/** Updates an existing skill, sending `ifMatch` as the concurrency guard. */
|
|
211
|
-
updateSkill: (bucket: string, path: string, skillManifest: string, filePaths: string[], files: Blob[], ifMatch: string) => Promise<SkillUploadResponseDto>;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
/** Localized messages `useSkillEditorSubmit` needs. */
|
|
215
|
-
export declare interface SkillEditorSubmitMessages {
|
|
216
|
-
/** Shown when a required field is empty. */
|
|
217
|
-
required: string;
|
|
218
|
-
/** Shown when a name, description or instructions value exceeds its length limit, given that limit. */
|
|
219
|
-
tooLong: (maxLength: number) => string;
|
|
220
|
-
/**
|
|
221
|
-
* Shown when the Instructions value opens with its own YAML frontmatter
|
|
222
|
-
* block — pasting a whole `SKILL.md` in there would otherwise produce a
|
|
223
|
-
* manifest with two frontmatter blocks.
|
|
224
|
-
*/
|
|
225
|
-
instructionsFrontmatter: string;
|
|
226
|
-
/** Shown when the normalized skill name fails DIAL's naming rules. */
|
|
227
|
-
nameInvalid: string;
|
|
228
|
-
/** Shown when the skill name already exists (409), or defensively on an unreachable create-mode 412. */
|
|
229
|
-
nameConflict: string;
|
|
230
|
-
/** Shown when the submitted package exceeds the server's size limit (413). */
|
|
231
|
-
archiveTooLarge: string;
|
|
232
|
-
/** Shown when the backend is temporarily unavailable (503). */
|
|
233
|
-
serviceUnavailable: string;
|
|
234
|
-
/** Fallback shown for a 400 whose response body carries no message. */
|
|
235
|
-
pathInvalid: string;
|
|
236
|
-
/** Generic fallback shown for any other error status. */
|
|
237
|
-
saveError: string;
|
|
238
|
-
/** Notification title on a successful create. */
|
|
239
|
-
saveSuccessTitle: string;
|
|
240
|
-
/** Notification message on a successful create, given the created name. */
|
|
241
|
-
createSuccess: (name: string) => string;
|
|
242
|
-
/** Notification title on a successful update. */
|
|
243
|
-
updateSuccessTitle: string;
|
|
244
|
-
/** Notification message on a successful update, given the skill's name. */
|
|
245
|
-
updateSuccess: (name: string) => string;
|
|
246
|
-
/** Shown when a save hits a stale-ETag conflict (412) in edit mode. */
|
|
247
|
-
conflictMessage: string;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
/** A host notification `useSkillEditorSubmit` asks to be shown. */
|
|
251
|
-
export declare interface SkillEditorSubmitNotification {
|
|
252
|
-
/** Notification style. */
|
|
253
|
-
variant: NotificationVariant;
|
|
254
|
-
/** Optional heading. */
|
|
255
|
-
title?: string;
|
|
256
|
-
/** Body text. */
|
|
257
|
-
message: string;
|
|
258
|
-
/** W3C trace ID, when the triggering error carried one. */
|
|
259
|
-
requestId?: string;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
/** Localized messages `useSkillFileActions` needs beyond per-candidate batch validation. */
|
|
263
|
-
export declare interface SkillFileActionsMessages extends SkillFileBatchValidationMessages {
|
|
264
|
-
/** Returned as the commit error when an imported manifest's `name` doesn't match the skill being edited. */
|
|
265
|
-
manifestNameMismatch: string;
|
|
266
|
-
/** Returned as the commit error when the user declines the manifest-import confirmation. */
|
|
267
|
-
manifestImportDeclined: string;
|
|
268
|
-
/** Generic fallback commit error for a batch with invalid candidates but no specific batch error. */
|
|
269
|
-
saveError: string;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
/** Snapshot of editor state the batch validator projects new totals against. */
|
|
273
|
-
export declare interface SkillFileBatchValidationContext {
|
|
274
|
-
/** Paths already present in the editor's supporting-file tree. */
|
|
275
|
-
existingPaths: string[];
|
|
276
|
-
/** Sum of the bytes already held for existing supporting files. */
|
|
277
|
-
existingTotalBytes: number;
|
|
278
|
-
/** UTF-8 byte length of the currently generated/loaded root `SKILL.md`. */
|
|
279
|
-
manifestByteLength: number;
|
|
280
|
-
/** Localized messages. */
|
|
281
|
-
messages: SkillFileBatchValidationMessages;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
/** Localized messages the batch validator needs, resolved by the caller. */
|
|
285
|
-
export declare interface SkillFileBatchValidationMessages {
|
|
286
|
-
/** Shown when a required field (e.g. a candidate's path) is empty. */
|
|
287
|
-
required: string;
|
|
288
|
-
/** Shown when a candidate's path collides with a reserved entry name. */
|
|
289
|
-
pathReserved: string;
|
|
290
|
-
/** Shown when a candidate's path fails DIAL's relative-path rules. */
|
|
291
|
-
pathInvalid: string;
|
|
292
|
-
/** Shown when a candidate's path duplicates another candidate or an existing file. */
|
|
293
|
-
pathDuplicate: string;
|
|
294
|
-
/** Shown when a candidate exceeds the per-file size limit; receives the formatted limit. */
|
|
295
|
-
fileTooLarge: (maxSize: string) => string;
|
|
296
|
-
/** Shown when a root-level `SKILL.md`-like path has the wrong casing. */
|
|
297
|
-
manifestCasingInvalid: string;
|
|
298
|
-
/** Shown when the batch stages more than one root `SKILL.md`. */
|
|
299
|
-
manifestDuplicate: string;
|
|
300
|
-
/** Shown when a root `SKILL.md`'s bytes are not valid UTF-8. */
|
|
301
|
-
manifestInvalidUtf8: string;
|
|
302
|
-
/** Shown when a root `SKILL.md`'s frontmatter is missing or missing `name`/`description`. */
|
|
303
|
-
manifestInvalidFrontmatter: string;
|
|
304
|
-
/** Shown when the batch's projected total package size exceeds the limit. */
|
|
305
|
-
totalSizeExceeded: string;
|
|
306
|
-
/** Shown when the batch's projected total file count exceeds the limit. */
|
|
307
|
-
totalCountExceeded: string;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
/** Result of validating a whole staged batch. */
|
|
311
|
-
export declare interface SkillFileBatchValidationOutcome {
|
|
312
|
-
/** One result per candidate, in the same order as the input. */
|
|
313
|
-
results: SkillFileValidationResult[];
|
|
314
|
-
/** Batch-level errors (projected total size/count, multiple manifests). */
|
|
315
|
-
batchErrors: SkillFileBatchError[];
|
|
316
|
-
/** The single accepted manifest import, when the batch has exactly one valid `SKILL.md`. */
|
|
317
|
-
manifestCandidate?: SkillManifestImportCandidate;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
/** Wraps raw bytes in a `Blob`, copying them so the source buffer can be reused. */
|
|
321
|
-
export declare const skillFileBytesToBlob: (bytes: Uint8Array) => Blob;
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* In-memory bytes for a Skill supporting file, plus its MIME type when known
|
|
325
|
-
* (e.g. from a browser upload's `File.type`).
|
|
326
|
-
*/
|
|
327
|
-
export declare interface SkillFileContent {
|
|
328
|
-
/** The file's raw bytes. */
|
|
329
|
-
bytes: Uint8Array;
|
|
330
|
-
/**
|
|
331
|
-
* MIME type from the original browser `File.type`. Omit for edit-mode ZIP
|
|
332
|
-
* entries, which carry no MIME metadata — the type is then inferred from
|
|
333
|
-
* the file's path.
|
|
334
|
-
*/
|
|
335
|
-
mimeType?: string;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
/** The ordered supporting-file paths and `Blob` payload `createSkill`/`updateSkill` expect. */
|
|
339
|
-
export declare interface SkillFilesPayload {
|
|
340
|
-
/** Relative paths, positionally paired with `files`. */
|
|
341
|
-
filePaths: string[];
|
|
342
|
-
/** File contents, positionally paired with `filePaths`. */
|
|
343
|
-
files: Blob[];
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* Converts a Skill supporting file's in-memory bytes into the `Attachment`
|
|
348
|
-
* shape the chat attachment-canvas pipeline expects, so it can be previewed
|
|
349
|
-
* with `useOpenAttachmentCanvas` exactly like a chat attachment. The id is
|
|
350
|
-
* the file's full relative path (not its basename), so two files with the
|
|
351
|
-
* same name in different folders never collide.
|
|
352
|
-
*/
|
|
353
|
-
export declare const skillFileToAttachment: (node: SkillFileTreeNode, content: SkillFileContent) => Attachment;
|
|
354
|
-
|
|
355
|
-
/** Returns the folder path a marker path stands for (`docs/.dial_folder` → `docs`). */
|
|
356
|
-
export declare const skillFolderMarkerParent: (markerPath: string) => string;
|
|
357
|
-
|
|
358
|
-
/** A `SKILL.md` split into its frontmatter fields and its prose body. */
|
|
359
|
-
export declare interface SkillManifestDocument {
|
|
360
|
-
/** `name` frontmatter field, when present and a string. */
|
|
361
|
-
name?: string;
|
|
362
|
-
/** `description` frontmatter field, when present and a string. */
|
|
363
|
-
description?: string;
|
|
364
|
-
/** Recognised `about.*` frontmatter fields. Absent when none resolved. */
|
|
365
|
-
about?: SkillAboutDetails;
|
|
366
|
-
/** Everything after the frontmatter fence, or the whole file when there is none. */
|
|
367
|
-
body: string;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
/** A recognized, structurally valid manifest candidate from a staged batch. */
|
|
371
|
-
export declare interface SkillManifestImportCandidate {
|
|
372
|
-
/** The `SkillFileUploadCandidate.id` this manifest came from. */
|
|
373
|
-
candidateId: string;
|
|
374
|
-
/** The imported manifest's `name` field. */
|
|
375
|
-
name: string;
|
|
376
|
-
/** The imported manifest's `description` field. */
|
|
377
|
-
description: string;
|
|
378
|
-
/** The imported manifest's full parsed frontmatter, including unknown fields. */
|
|
379
|
-
frontmatter: Record<string, unknown>;
|
|
380
|
-
/** The imported manifest's instructions body. */
|
|
381
|
-
instructions: string;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
/** Skill fields serialized into the `SKILL.md` manifest. */
|
|
385
|
-
export declare interface SkillManifestValues {
|
|
386
|
-
/** Normalized skill name. */
|
|
387
|
-
name: string;
|
|
388
|
-
/** Short description of what the skill does. */
|
|
389
|
-
description: string;
|
|
390
|
-
/** The skill's instructions body (Markdown). */
|
|
391
|
-
instructions: string;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
/** Skill editor text fields with a length limit. */
|
|
395
|
-
export declare type SkillTextField = 'name' | 'description' | 'instructions';
|
|
396
|
-
|
|
397
|
-
/**
|
|
398
|
-
* Answers one question: would appending this text after the fence that
|
|
399
|
-
* `buildSkillManifest` writes produce a *second* frontmatter block?
|
|
400
|
-
*
|
|
401
|
-
* That happens when the text's first non-blank line is a bare `---` and some
|
|
402
|
-
* later line is a bare `---` too — the exact shape of a `SKILL.md` pasted
|
|
403
|
-
* wholesale into the editor's Instructions field.
|
|
404
|
-
*
|
|
405
|
-
* Detection is deliberately structural rather than YAML-based: a pasted block
|
|
406
|
-
* whose fenced content fails to parse corrupts the stored manifest
|
|
407
|
-
* identically (and renders as a setext `h2` in the Catalog's Details tab just
|
|
408
|
-
* the same), so requiring parseable YAML here would let the worst cases
|
|
409
|
-
* through. Keeping `parseYaml` out also makes this cheap enough to run on
|
|
410
|
-
* every keystroke.
|
|
411
|
-
*
|
|
412
|
-
* A single unclosed fence returns `false`: with no closing fence there is no
|
|
413
|
-
* second block, matching `FRONTMATTER_PATTERN`'s own requirement. A `---`
|
|
414
|
-
* appearing later in the body (a horizontal rule, a setext underline) is
|
|
415
|
-
* likewise not a frontmatter block.
|
|
416
|
-
*/
|
|
417
|
-
export declare const startsWithFrontmatterBlock: (text: string) => boolean;
|
|
418
|
-
|
|
419
|
-
declare type SubmitPhase = 'idle' | 'submitting' | 'success' | 'failure';
|
|
420
|
-
|
|
421
|
-
/** A skill archive unpacked into its manifest text and a relative-path → bytes map of every other entry. */
|
|
422
|
-
export declare interface UnpackedSkillArchive {
|
|
423
|
-
/** The root `SKILL.md` entry's decoded text content. */
|
|
424
|
-
manifestText: string;
|
|
425
|
-
/** Every non-manifest, non-marker entry, keyed by relative path. */
|
|
426
|
-
files: Map<string, Uint8Array>;
|
|
427
|
-
/** Folder paths restored from `<folder>/.dial_folder` marker entries. */
|
|
428
|
-
folders: string[];
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
/**
|
|
432
|
-
* Unpacks a whole-skill ZIP (as downloaded from `GET /api/v1/skills/download`
|
|
433
|
-
* — DIAL Core's whole-resource `GET` is the one place this contract still
|
|
434
|
-
* uses a ZIP, per `openspec/changes/archive/2026-10-05-persist-skill-empty-folders/design.md`) into its manifest text, every other entry's
|
|
435
|
-
* bytes, and the folders its empty-folder markers stand for. Throws if the
|
|
436
|
-
* archive has no root `SKILL.md` entry.
|
|
437
|
-
*/
|
|
438
|
-
export declare const unpackSkillArchive: (bytes: Uint8Array) => UnpackedSkillArchive;
|
|
439
|
-
|
|
440
|
-
/**
|
|
441
|
-
* Headless controller for the skill-archive upload flow: dialog visibility, the exact-filename
|
|
442
|
-
* precheck, in-flight exclusion, abort-on-close, and import completion. The host supplies the configured request
|
|
443
|
-
* and observes completion/failure through the injected callbacks; the hook never imports app
|
|
444
|
-
* contexts, i18n, or a configured API client.
|
|
445
|
-
*/
|
|
446
|
-
export declare const useSkillArchiveImport: <TResult>({ importArchive, onImported, onError, manifestFileName, }: UseSkillArchiveImportOptions<TResult>) => UseSkillArchiveImportResult;
|
|
447
|
-
|
|
448
|
-
/** Options accepted by {@link useSkillArchiveImport}. */
|
|
449
|
-
export declare interface UseSkillArchiveImportOptions<TResult> {
|
|
450
|
-
/** Submits the selected archive; the host owns the client. `signal` aborts when the dialog closes or the hook unmounts mid-upload. */
|
|
451
|
-
importArchive: (file: File, signal: AbortSignal) => Promise<TResult>;
|
|
452
|
-
/** Called once after a successful import (and any awaited host follow-up) settles. */
|
|
453
|
-
onImported: (result: TResult) => void | Promise<void>;
|
|
454
|
-
/** Called once when the import request, or the host's follow-up in {@link onImported}, fails. */
|
|
455
|
-
onError: (error: unknown, kind: SkillArchiveImportErrorKind) => void;
|
|
456
|
-
/** Exact filename treated as the skill manifest. Defaults to `'SKILL.md'`. */
|
|
457
|
-
manifestFileName?: string;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
/** Result returned by {@link useSkillArchiveImport}. */
|
|
461
|
-
export declare interface UseSkillArchiveImportResult {
|
|
462
|
-
/** Whether the upload dialog is open. */
|
|
463
|
-
isDialogOpen: boolean;
|
|
464
|
-
/** Current phase of the import. */
|
|
465
|
-
status: SkillArchiveImportStatus;
|
|
466
|
-
/** Whether an import request is in flight; the dialog stays open until it succeeds. */
|
|
467
|
-
isUploading: boolean;
|
|
468
|
-
/** Reason the current/last selection was rejected locally; `undefined` once cleared. */
|
|
469
|
-
selectionRejectionReason: SkillArchiveSelectionRejectionReason | undefined;
|
|
470
|
-
/** Classified failure of the last import request; `undefined` outside a request failure. */
|
|
471
|
-
errorKind: SkillArchiveImportErrorKind | undefined;
|
|
472
|
-
/** Opens the dialog and clears any previous rejection or request failure. */
|
|
473
|
-
openDialog: () => void;
|
|
474
|
-
/** Closes the dialog, aborting an in-flight import, and clears any rejection reason. */
|
|
475
|
-
closeDialog: () => void;
|
|
476
|
-
/** Wire to the dialog drop zone's `onChange`. */
|
|
477
|
-
handleFilesSelected: (files: File[]) => void;
|
|
478
|
-
/** Wire to the dialog drop zone's `onReject`. */
|
|
479
|
-
handleFilesRejected: () => void;
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
/**
|
|
483
|
-
* Owns the edit-mode skill download/unpack/parse flow: the in-memory
|
|
484
|
-
* supporting-file map, the loaded manifest values and frontmatter, the
|
|
485
|
-
* concurrency ETag, and the load-state machine driving the form's
|
|
486
|
-
* loading/error/forbidden/not-found presentation. Create mode never leaves
|
|
487
|
-
* `'loaded'` and starts with empty state.
|
|
488
|
-
*/
|
|
489
|
-
export declare const useSkillEditorLoad: ({ isEditMode, bucket, skillPath, client, }: UseSkillEditorLoadParams) => UseSkillEditorLoadResult;
|
|
490
|
-
|
|
491
|
-
/** Parameters accepted by {@link useSkillEditorLoad}. */
|
|
492
|
-
export declare interface UseSkillEditorLoadParams {
|
|
493
|
-
/** Whether the form is editing an existing skill rather than creating a new one. */
|
|
494
|
-
isEditMode: boolean;
|
|
495
|
-
/** DIAL Core bucket holding the skill. Load is skipped until this resolves. */
|
|
496
|
-
bucket: string | undefined;
|
|
497
|
-
/** Path to the skill within `bucket`. */
|
|
498
|
-
skillPath: string | null | undefined;
|
|
499
|
-
/** Already-configured download operations. */
|
|
500
|
-
client: SkillEditorLoadClient;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
/** Return value of {@link useSkillEditorLoad}. */
|
|
504
|
-
export declare interface UseSkillEditorLoadResult {
|
|
505
|
-
/** Current load-state machine value driving the form's presentation. */
|
|
506
|
-
loadState: SkillEditorLoadState;
|
|
507
|
-
/** The loaded (or, in create mode, seeded) manifest values. */
|
|
508
|
-
loadedValues: SkillEditorValues | undefined;
|
|
509
|
-
/** Updates `loadedValues`, e.g. after a manifest import. */
|
|
510
|
-
setLoadedValues: Dispatch<SetStateAction<SkillEditorValues | undefined>>;
|
|
511
|
-
/** The loaded supporting-file tree. */
|
|
512
|
-
files: SkillFileTreeNode[];
|
|
513
|
-
/** Updates `files`, e.g. after a batch commit or node removal. */
|
|
514
|
-
setFiles: Dispatch<SetStateAction<SkillFileTreeNode[]>>;
|
|
515
|
-
/** In-memory bytes for every supporting file, keyed by relative path. */
|
|
516
|
-
filesContentRef: React.MutableRefObject<Map<string, SkillFileContent>>;
|
|
517
|
-
/** The loaded manifest's full parsed frontmatter, including fields the form never renders. */
|
|
518
|
-
frontmatterRef: React.MutableRefObject<Record<string, unknown>>;
|
|
519
|
-
/** The concurrency ETag from the load, sent back as `If-Match` on save. */
|
|
520
|
-
etagRef: React.MutableRefObject<string | undefined>;
|
|
521
|
-
/** The skill path the currently loaded state belongs to. */
|
|
522
|
-
loadedPathRef: React.MutableRefObject<string | undefined>;
|
|
523
|
-
/** Re-attempts the edit-mode download (load-error retry or post-conflict reload). */
|
|
524
|
-
retryLoad: () => void;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
/**
|
|
528
|
-
* Owns the Skill Editor's create/edit submission flow: field validation,
|
|
529
|
-
* building and (in edit mode) merging the `SKILL.md` manifest, calling
|
|
530
|
-
* `client.createSkill`/`client.updateSkill`, and mapping the resulting
|
|
531
|
-
* success/error/conflict outcomes to presentable state.
|
|
532
|
-
*/
|
|
533
|
-
export declare const useSkillEditorSubmit: ({ bucket, isEditMode, files, filesContentRef, frontmatterRef, loadedPathRef, etagRef, returnUrl, getCreateReturnUrl, refetchSkills, client, messages, onNavigate, onNotify, }: UseSkillEditorSubmitParams) => UseSkillEditorSubmitResult;
|
|
534
|
-
|
|
535
|
-
/** Parameters accepted by {@link useSkillEditorSubmit}. */
|
|
536
|
-
export declare interface UseSkillEditorSubmitParams {
|
|
537
|
-
/** DIAL Core bucket the skill is saved to. */
|
|
538
|
-
bucket: string | undefined;
|
|
539
|
-
/** Whether the form is editing an existing skill rather than creating a new one. */
|
|
540
|
-
isEditMode: boolean;
|
|
541
|
-
/** The editor's current supporting-file tree. */
|
|
542
|
-
files: SkillFileTreeNode[];
|
|
543
|
-
/** In-memory bytes for every supporting file, keyed by relative path. */
|
|
544
|
-
filesContentRef: React.MutableRefObject<Map<string, SkillFileContent>>;
|
|
545
|
-
/** The loaded (or imported) manifest's full parsed frontmatter. */
|
|
546
|
-
frontmatterRef: React.MutableRefObject<Record<string, unknown>>;
|
|
547
|
-
/** The path the currently loaded edit-mode state belongs to. */
|
|
548
|
-
loadedPathRef: React.MutableRefObject<string | undefined>;
|
|
549
|
-
/** The concurrency ETag from the load, sent back as `If-Match` on save. */
|
|
550
|
-
etagRef: React.MutableRefObject<string | undefined>;
|
|
551
|
-
/** Where to navigate on a successful save. */
|
|
552
|
-
returnUrl: string;
|
|
553
|
-
/** Resolves the destination after creation from the normalized skill path. Defaults to `returnUrl`. */
|
|
554
|
-
getCreateReturnUrl?: (path: string) => string;
|
|
555
|
-
/** Refetches the host's skill listing after a successful save. */
|
|
556
|
-
refetchSkills: () => Promise<void>;
|
|
557
|
-
/** Already-configured create/update operations. */
|
|
558
|
-
client: SkillEditorSubmitClient;
|
|
559
|
-
/** Localized messages, resolved by the host. */
|
|
560
|
-
messages: SkillEditorSubmitMessages;
|
|
561
|
-
/** Called with `returnUrl` after a successful save. */
|
|
562
|
-
onNavigate: (url: string) => void;
|
|
563
|
-
/** Called to surface a host notification (success toast or unexpected-error toast). */
|
|
564
|
-
onNotify: (notification: SkillEditorSubmitNotification) => void;
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
/** Return value of {@link useSkillEditorSubmit}. */
|
|
568
|
-
export declare interface UseSkillEditorSubmitResult {
|
|
569
|
-
/** Current submit-phase. */
|
|
570
|
-
phase: SubmitPhase;
|
|
571
|
-
/** Inline field validation errors. */
|
|
572
|
-
errors: SkillEditorErrors;
|
|
573
|
-
/** General submit-time error, distinct from a stale-edit `conflict`. */
|
|
574
|
-
submitError: string | undefined;
|
|
575
|
-
/** Whether `submitError` was caused by something a plain re-send can clear, rather than by the submission itself. */
|
|
576
|
-
isSubmitErrorRetryable: boolean;
|
|
577
|
-
/** Re-submits the values of the attempt that produced `submitError`. No-op before the first submit. */
|
|
578
|
-
retrySubmit: () => void;
|
|
579
|
-
/** Present when the last save hit a stale-ETag conflict. */
|
|
580
|
-
conflict: {
|
|
581
|
-
message: string;
|
|
582
|
-
} | undefined;
|
|
583
|
-
/** Clears `conflict`, e.g. once the host has reloaded the latest skill. */
|
|
584
|
-
clearConflict: () => void;
|
|
585
|
-
/** Validates and submits the given form values. */
|
|
586
|
-
handleSubmit: (values: SkillEditorValues) => Promise<void>;
|
|
587
|
-
/**
|
|
588
|
-
* Re-runs the Instructions frontmatter check against the editor's current
|
|
589
|
-
* values, so a pasted `SKILL.md` is flagged as the text lands rather than
|
|
590
|
-
* only on submit. Pass as the editor's `onValuesChange`.
|
|
591
|
-
*/
|
|
592
|
-
handleValuesChange: (values: SkillEditorValues) => void;
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
/**
|
|
596
|
-
* Owns the Skill Editor's batch file upload workflow: validating a staged
|
|
597
|
-
* batch, committing it atomically (supporting files plus an optional
|
|
598
|
-
* `SKILL.md` manifest import, with a confirmation gate), creating empty
|
|
599
|
-
* folders, expanding `.zip` archives for staging, and removing
|
|
600
|
-
* already-committed nodes.
|
|
601
|
-
*/
|
|
602
|
-
export declare const useSkillFileActions: ({ files, setFiles, filesContentRef, frontmatterRef, loadedValues, setLoadedValues, isEditMode, isDirty, setSelectedPath, messages, pickFromFileSystem, }: UseSkillFileActionsParams) => UseSkillFileActionsResult;
|
|
603
|
-
|
|
604
|
-
/** Parameters accepted by {@link useSkillFileActions}. */
|
|
605
|
-
export declare interface UseSkillFileActionsParams {
|
|
606
|
-
/** The editor's current supporting-file tree. */
|
|
607
|
-
files: SkillFileTreeNode[];
|
|
608
|
-
/** Updates `files`. */
|
|
609
|
-
setFiles: Dispatch<SetStateAction<SkillFileTreeNode[]>>;
|
|
610
|
-
/** In-memory bytes for every supporting file, keyed by relative path. */
|
|
611
|
-
filesContentRef: React.MutableRefObject<Map<string, SkillFileContent>>;
|
|
612
|
-
/** The loaded (or imported) manifest's full parsed frontmatter. */
|
|
613
|
-
frontmatterRef: React.MutableRefObject<Record<string, unknown>>;
|
|
614
|
-
/** The seeded baseline manifest values, used to approximate the projected total size. */
|
|
615
|
-
loadedValues: SkillEditorValues | undefined;
|
|
616
|
-
/** Updates `loadedValues` after a manifest import. */
|
|
617
|
-
setLoadedValues: Dispatch<SetStateAction<SkillEditorValues | undefined>>;
|
|
618
|
-
/** Whether the form is editing an existing skill rather than creating a new one. */
|
|
619
|
-
isEditMode: boolean;
|
|
620
|
-
/** Whether the form currently diverges from its seeded baseline. */
|
|
621
|
-
isDirty: boolean;
|
|
622
|
-
/** Updates the currently selected file-tree node path. */
|
|
623
|
-
setSelectedPath: Dispatch<SetStateAction<string>>;
|
|
624
|
-
/** Localized messages, resolved by the host. */
|
|
625
|
-
messages: SkillFileActionsMessages;
|
|
626
|
-
/**
|
|
627
|
-
* Opens the host's file-system picker; passed through unchanged as
|
|
628
|
-
* `fileActions.pickFromFileSystem`. Omit to hide the editor's "Open DIAL
|
|
629
|
-
* file system" entry.
|
|
630
|
-
*/
|
|
631
|
-
pickFromFileSystem?: () => Promise<SkillFileSourceEntry[] | undefined>;
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
/** Return value of {@link useSkillFileActions}. */
|
|
635
|
-
export declare interface UseSkillFileActionsResult {
|
|
636
|
-
/** File-tree mutation operations, passed straight to `SkillEditor`'s `fileActions` prop. */
|
|
637
|
-
fileActions: SkillEditorFileActions;
|
|
638
|
-
/** Whether the "replace Skill metadata?" confirmation prompt should be shown. */
|
|
639
|
-
pendingManifestImport: boolean;
|
|
640
|
-
/** Resolves the in-flight manifest-import confirmation with the user's choice. */
|
|
641
|
-
resolveManifestImport: (accepted: boolean) => void;
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
/**
|
|
645
|
-
* Validates a whole staged upload batch against per-file limits, path
|
|
646
|
-
* safety, in-batch/against-existing duplicates, and projected total
|
|
647
|
-
* size/count — mirroring the BFF's authoritative `SkillsPackageService`
|
|
648
|
-
* limits for immediate feedback (the server remains the final gate). Reads
|
|
649
|
-
* each candidate's bytes only where required (the root `SKILL.md` manifest,
|
|
650
|
-
* to decode and parse its frontmatter) — never for an ordinary supporting
|
|
651
|
-
* file, whose size is checked via `File.size` alone.
|
|
652
|
-
*/
|
|
653
|
-
export declare const validateSkillFileBatch: (candidates: SkillFileUploadCandidate[], context: SkillFileBatchValidationContext) => Promise<SkillFileBatchValidationOutcome>;
|
|
654
|
-
|
|
655
|
-
export { }
|
|
1
|
+
export * from './entry-points/skill-editor.js'
|
|
2
|
+
export {}
|