@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.
Files changed (422) hide show
  1. package/api-error/api-error.d.ts +30 -0
  2. package/api-error/api-error.d.ts.map +1 -0
  3. package/api-transport/create-csrf-middleware.d.ts +15 -0
  4. package/api-transport/create-csrf-middleware.d.ts.map +1 -0
  5. package/api-transport/create-unauthorized-middleware.d.ts +40 -0
  6. package/api-transport/create-unauthorized-middleware.d.ts.map +1 -0
  7. package/attachment/useAttachmentAction/useAttachmentAction.d.ts +32 -0
  8. package/attachment/useAttachmentAction/useAttachmentAction.d.ts.map +1 -0
  9. package/attachment/useAttachmentValidation/useAttachmentValidation.d.ts +50 -0
  10. package/attachment/useAttachmentValidation/useAttachmentValidation.d.ts.map +1 -0
  11. package/attachments.d.ts +2 -94
  12. package/catalog/catalog-derivations.d.ts +27 -0
  13. package/catalog/catalog-derivations.d.ts.map +1 -0
  14. package/catalog/catalog-primary-action.d.ts +47 -0
  15. package/catalog/catalog-primary-action.d.ts.map +1 -0
  16. package/catalog/create-publish-api.d.ts +32 -0
  17. package/catalog/create-publish-api.d.ts.map +1 -0
  18. package/catalog/deployment-endpoint-url.d.ts +19 -0
  19. package/catalog/deployment-endpoint-url.d.ts.map +1 -0
  20. package/catalog/deployment-id.d.ts +42 -0
  21. package/catalog/deployment-id.d.ts.map +1 -0
  22. package/catalog/entity-details.d.ts +146 -0
  23. package/catalog/entity-details.d.ts.map +1 -0
  24. package/catalog/map-deployment-limits-to-catalog.d.ts +34 -0
  25. package/catalog/map-deployment-limits-to-catalog.d.ts.map +1 -0
  26. package/catalog/map-deployment-limits-to-input.d.ts +28 -0
  27. package/catalog/map-deployment-limits-to-input.d.ts.map +1 -0
  28. package/catalog/map-deployment-to-catalog-item.d.ts +61 -0
  29. package/catalog/map-deployment-to-catalog-item.d.ts.map +1 -0
  30. package/catalog/map-entity-details-to-catalog.d.ts +81 -0
  31. package/catalog/map-entity-details-to-catalog.d.ts.map +1 -0
  32. package/catalog/map-prompt-to-catalog-item.d.ts +43 -0
  33. package/catalog/map-prompt-to-catalog-item.d.ts.map +1 -0
  34. package/catalog/map-skill-to-catalog-item.d.ts +113 -0
  35. package/catalog/map-skill-to-catalog-item.d.ts.map +1 -0
  36. package/catalog/mcp-endpoint-url.d.ts +18 -0
  37. package/catalog/mcp-endpoint-url.d.ts.map +1 -0
  38. package/catalog/publish.d.ts +35 -0
  39. package/catalog/publish.d.ts.map +1 -0
  40. package/catalog/useApplicationCredentials/useApplicationCredentials.d.ts +19 -0
  41. package/catalog/useApplicationCredentials/useApplicationCredentials.d.ts.map +1 -0
  42. package/catalog/useCatalogEditNavigation/useCatalogEditNavigation.d.ts +100 -0
  43. package/catalog/useCatalogEditNavigation/useCatalogEditNavigation.d.ts.map +1 -0
  44. package/catalog/useCatalogEditNavigation/useCatalogEditNavigation.js +139 -122
  45. package/catalog/useCatalogItemDetails.d.ts +70 -0
  46. package/catalog/useCatalogItemDetails.d.ts.map +1 -0
  47. package/catalog/useCatalogToolsetCredentials/useCatalogToolsetCredentials.d.ts +76 -0
  48. package/catalog/useCatalogToolsetCredentials/useCatalogToolsetCredentials.d.ts.map +1 -0
  49. package/catalog/useFavoriteEntitiesState/useFavoriteEntitiesState.d.ts +37 -0
  50. package/catalog/useFavoriteEntitiesState/useFavoriteEntitiesState.d.ts.map +1 -0
  51. package/catalog/usePublishFolders/usePublishFolders.d.ts +73 -0
  52. package/catalog/usePublishFolders/usePublishFolders.d.ts.map +1 -0
  53. package/catalog/useSkillDetailsPanelData/useSkillDetailsPanelData.d.ts +54 -0
  54. package/catalog/useSkillDetailsPanelData/useSkillDetailsPanelData.d.ts.map +1 -0
  55. package/catalog/useSkillItemDetails.d.ts +64 -0
  56. package/catalog/useSkillItemDetails.d.ts.map +1 -0
  57. package/catalog.d.ts +2 -1433
  58. package/conversation/announcement-message.d.ts +61 -0
  59. package/conversation/announcement-message.d.ts.map +1 -0
  60. package/conversation/conversation-transfer/async.d.ts +10 -0
  61. package/conversation/conversation-transfer/async.d.ts.map +1 -0
  62. package/conversation/conversation-transfer/attachment-refs.d.ts +42 -0
  63. package/conversation/conversation-transfer/attachment-refs.d.ts.map +1 -0
  64. package/conversation/conversation-transfer/build-upload-path.d.ts +42 -0
  65. package/conversation/conversation-transfer/build-upload-path.d.ts.map +1 -0
  66. package/conversation/conversation-transfer/date.d.ts +5 -0
  67. package/conversation/conversation-transfer/date.d.ts.map +1 -0
  68. package/conversation/conversation-transfer/dial-file-resolve.d.ts +10 -0
  69. package/conversation/conversation-transfer/dial-file-resolve.d.ts.map +1 -0
  70. package/conversation/conversation-transfer/export-conversation.d.ts +10 -0
  71. package/conversation/conversation-transfer/export-conversation.d.ts.map +1 -0
  72. package/conversation/conversation-transfer/import-conversation.d.ts +106 -0
  73. package/conversation/conversation-transfer/import-conversation.d.ts.map +1 -0
  74. package/conversation/conversation-transfer/progress.d.ts +60 -0
  75. package/conversation/conversation-transfer/progress.d.ts.map +1 -0
  76. package/conversation/conversation-transfer/queue.d.ts +54 -0
  77. package/conversation/conversation-transfer/queue.d.ts.map +1 -0
  78. package/conversation/conversation-transfer/types.d.ts +36 -0
  79. package/conversation/conversation-transfer/types.d.ts.map +1 -0
  80. package/conversation/conversation-transfer/zip-export.d.ts +31 -0
  81. package/conversation/conversation-transfer/zip-export.d.ts.map +1 -0
  82. package/conversation/conversation-transfer/zip-import.d.ts +17 -0
  83. package/conversation/conversation-transfer/zip-import.d.ts.map +1 -0
  84. package/conversation/create-chat-stream-api.d.ts +92 -0
  85. package/conversation/create-chat-stream-api.d.ts.map +1 -0
  86. package/conversation/deriveConversationRowActionState/deriveConversationRowActionState.d.ts +39 -0
  87. package/conversation/deriveConversationRowActionState/deriveConversationRowActionState.d.ts.map +1 -0
  88. package/conversation/display-name-watch.d.ts +4 -0
  89. package/conversation/display-name-watch.d.ts.map +1 -0
  90. package/conversation/footer-message.d.ts +10 -0
  91. package/conversation/footer-message.d.ts.map +1 -0
  92. package/conversation/get-model-id-from-conversation-id.d.ts +38 -0
  93. package/conversation/get-model-id-from-conversation-id.d.ts.map +1 -0
  94. package/conversation/greeting.d.ts +18 -0
  95. package/conversation/greeting.d.ts.map +1 -0
  96. package/conversation/message-factory.d.ts +7 -0
  97. package/conversation/message-factory.d.ts.map +1 -0
  98. package/conversation/message-utils.d.ts +67 -0
  99. package/conversation/message-utils.d.ts.map +1 -0
  100. package/conversation/overlay-messages.d.ts +5 -0
  101. package/conversation/overlay-messages.d.ts.map +1 -0
  102. package/conversation/quick-app-conversation-starters.d.ts +10 -0
  103. package/conversation/quick-app-conversation-starters.d.ts.map +1 -0
  104. package/conversation/stage.d.ts +77 -0
  105. package/conversation/stage.d.ts.map +1 -0
  106. package/conversation/starter-option.d.ts +21 -0
  107. package/conversation/starter-option.d.ts.map +1 -0
  108. package/conversation/useActiveConversationSync/useActiveConversationSync.d.ts +35 -0
  109. package/conversation/useActiveConversationSync/useActiveConversationSync.d.ts.map +1 -0
  110. package/conversation/useAsyncConfirmDialog/useAsyncConfirmDialog.d.ts +46 -0
  111. package/conversation/useAsyncConfirmDialog/useAsyncConfirmDialog.d.ts.map +1 -0
  112. package/conversation/useAttachmentUpload/useAttachmentUpload.d.ts +27 -0
  113. package/conversation/useAttachmentUpload/useAttachmentUpload.d.ts.map +1 -0
  114. package/conversation/useConversationExport/useConversationExport.d.ts +72 -0
  115. package/conversation/useConversationExport/useConversationExport.d.ts.map +1 -0
  116. package/conversation/useConversationHandlers/attachment-to-dto.d.ts +7 -0
  117. package/conversation/useConversationHandlers/attachment-to-dto.d.ts.map +1 -0
  118. package/conversation/useConversationHandlers/message-factory.d.ts +9 -0
  119. package/conversation/useConversationHandlers/message-factory.d.ts.map +1 -0
  120. package/conversation/useConversationHandlers/message-utils.d.ts +38 -0
  121. package/conversation/useConversationHandlers/message-utils.d.ts.map +1 -0
  122. package/conversation/useConversationHandlers/starter-option.d.ts +24 -0
  123. package/conversation/useConversationHandlers/starter-option.d.ts.map +1 -0
  124. package/conversation/useConversationHandlers/useConversationHandlers.d.ts +66 -0
  125. package/conversation/useConversationHandlers/useConversationHandlers.d.ts.map +1 -0
  126. package/conversation/useConversationImport/useConversationImport.d.ts +54 -0
  127. package/conversation/useConversationImport/useConversationImport.d.ts.map +1 -0
  128. package/conversation/useConversationLookupMaps/useConversationLookupMaps.d.ts +24 -0
  129. package/conversation/useConversationLookupMaps/useConversationLookupMaps.d.ts.map +1 -0
  130. package/conversation/useConversationPanelItems/useConversationPanelItems.d.ts +64 -0
  131. package/conversation/useConversationPanelItems/useConversationPanelItems.d.ts.map +1 -0
  132. package/conversation/useConversationScroll/useConversationScroll.d.ts +46 -0
  133. package/conversation/useConversationScroll/useConversationScroll.d.ts.map +1 -0
  134. package/conversation/useConversationStream/apply-chunk.d.ts +35 -0
  135. package/conversation/useConversationStream/apply-chunk.d.ts.map +1 -0
  136. package/conversation/useConversationStream/buffered-generation.d.ts +15 -0
  137. package/conversation/useConversationStream/buffered-generation.d.ts.map +1 -0
  138. package/conversation/useConversationStream/conversation-path.d.ts +7 -0
  139. package/conversation/useConversationStream/conversation-path.d.ts.map +1 -0
  140. package/conversation/useConversationStream/frame-scheduler.d.ts +14 -0
  141. package/conversation/useConversationStream/frame-scheduler.d.ts.map +1 -0
  142. package/conversation/useConversationStream/generation-resume.d.ts +85 -0
  143. package/conversation/useConversationStream/generation-resume.d.ts.map +1 -0
  144. package/conversation/useConversationStream/useConversationStream.d.ts +145 -0
  145. package/conversation/useConversationStream/useConversationStream.d.ts.map +1 -0
  146. package/conversation/useImportFilePicker/useImportFilePicker.d.ts +32 -0
  147. package/conversation/useImportFilePicker/useImportFilePicker.d.ts.map +1 -0
  148. package/conversation/useMessageSelectionReply/useMessageSelectionReply.d.ts +42 -0
  149. package/conversation/useMessageSelectionReply/useMessageSelectionReply.d.ts.map +1 -0
  150. package/conversation/useTranscribeAudio/audio-transcription-error.d.ts +19 -0
  151. package/conversation/useTranscribeAudio/audio-transcription-error.d.ts.map +1 -0
  152. package/conversation/useTranscribeAudio/transcription-retry.d.ts +2 -0
  153. package/conversation/useTranscribeAudio/transcription-retry.d.ts.map +1 -0
  154. package/conversation/useTranscribeAudio/useTranscribeAudio.d.ts +43 -0
  155. package/conversation/useTranscribeAudio/useTranscribeAudio.d.ts.map +1 -0
  156. package/conversation-overlay.d.ts +2 -7
  157. package/conversation-sources/useConversationSources/useConversationSources.d.ts +20 -0
  158. package/conversation-sources/useConversationSources/useConversationSources.d.ts.map +1 -0
  159. package/conversation-sources.d.ts +2 -25
  160. package/conversation-transfer.d.ts +2 -190
  161. package/conversation.d.ts +2 -1372
  162. package/entry-points/attachments.d.ts +3 -0
  163. package/entry-points/attachments.d.ts.map +1 -0
  164. package/entry-points/catalog.d.ts +25 -0
  165. package/entry-points/catalog.d.ts.map +1 -0
  166. package/entry-points/conversation-overlay.d.ts +2 -0
  167. package/entry-points/conversation-overlay.d.ts.map +1 -0
  168. package/entry-points/conversation-sources.d.ts +2 -0
  169. package/entry-points/conversation-sources.d.ts.map +1 -0
  170. package/entry-points/conversation-transfer.d.ts +7 -0
  171. package/entry-points/conversation-transfer.d.ts.map +1 -0
  172. package/entry-points/conversation.d.ts +33 -0
  173. package/entry-points/conversation.d.ts.map +1 -0
  174. package/entry-points/file-manager-canvas.d.ts +2 -0
  175. package/entry-points/file-manager-canvas.d.ts.map +1 -0
  176. package/entry-points/file-manager.d.ts +31 -0
  177. package/entry-points/file-manager.d.ts.map +1 -0
  178. package/entry-points/mcp-apps.d.ts +6 -0
  179. package/entry-points/mcp-apps.d.ts.map +1 -0
  180. package/entry-points/oauth.d.ts +10 -0
  181. package/entry-points/oauth.d.ts.map +1 -0
  182. package/entry-points/scheduled-tasks.d.ts +8 -0
  183. package/entry-points/scheduled-tasks.d.ts.map +1 -0
  184. package/entry-points/scroll-anchoring.d.ts +2 -0
  185. package/entry-points/scroll-anchoring.d.ts.map +1 -0
  186. package/entry-points/sharing.d.ts +3 -0
  187. package/entry-points/sharing.d.ts.map +1 -0
  188. package/entry-points/skill-editor.d.ts +9 -0
  189. package/entry-points/skill-editor.d.ts.map +1 -0
  190. package/entry-points/skills-state.d.ts +2 -0
  191. package/entry-points/skills-state.d.ts.map +1 -0
  192. package/entry-points/source-content.d.ts +2 -0
  193. package/entry-points/source-content.d.ts.map +1 -0
  194. package/entry-points/usage-limits.d.ts +8 -0
  195. package/entry-points/usage-limits.d.ts.map +1 -0
  196. package/entry-points/usage.d.ts +3 -0
  197. package/entry-points/usage.d.ts.map +1 -0
  198. package/entry-points/utils.d.ts +17 -0
  199. package/entry-points/utils.d.ts.map +1 -0
  200. package/entry-points/viewport-layout.d.ts +4 -0
  201. package/entry-points/viewport-layout.d.ts.map +1 -0
  202. package/file-manager-canvas.d.ts +2 -418
  203. package/file-manager.d.ts +2 -1237
  204. package/file-manager.js +25 -25
  205. package/files/annotation.d.ts +10 -0
  206. package/files/annotation.d.ts.map +1 -0
  207. package/files/attachment-canvas.d.ts +123 -0
  208. package/files/attachment-canvas.d.ts.map +1 -0
  209. package/files/attachment-dto-to-display.d.ts +10 -0
  210. package/files/attachment-dto-to-display.d.ts.map +1 -0
  211. package/files/attachment-types.d.ts +21 -0
  212. package/files/attachment-types.d.ts.map +1 -0
  213. package/files/create-files-api.d.ts +52 -0
  214. package/files/create-files-api.d.ts.map +1 -0
  215. package/files/create-upload-file-with-progress.d.ts +24 -0
  216. package/files/create-upload-file-with-progress.d.ts.map +1 -0
  217. package/files/dial-file-manager-copy-move.util.d.ts +15 -0
  218. package/files/dial-file-manager-copy-move.util.d.ts.map +1 -0
  219. package/files/dial-file-manager-mapping.util.d.ts +35 -0
  220. package/files/dial-file-manager-mapping.util.d.ts.map +1 -0
  221. package/files/dial-file-manager-path.util.d.ts +48 -0
  222. package/files/dial-file-manager-path.util.d.ts.map +1 -0
  223. package/files/dial-file-manager.model.d.ts +36 -0
  224. package/files/dial-file-manager.model.d.ts.map +1 -0
  225. package/files/dial-file-manager.model.js +7 -3
  226. package/files/dial-file-manager.types.d.ts +327 -0
  227. package/files/dial-file-manager.types.d.ts.map +1 -0
  228. package/files/dial-file-manager.types.js +1 -1
  229. package/files/dial-file-to-attachment.d.ts +26 -0
  230. package/files/dial-file-to-attachment.d.ts.map +1 -0
  231. package/files/dial-file.d.ts +17 -0
  232. package/files/dial-file.d.ts.map +1 -0
  233. package/files/dial-files-api.d.ts +71 -0
  234. package/files/dial-files-api.d.ts.map +1 -0
  235. package/files/download-destination.d.ts +31 -0
  236. package/files/download-destination.d.ts.map +1 -0
  237. package/files/file-manager-variant.d.ts +3 -0
  238. package/files/file-manager-variant.d.ts.map +1 -0
  239. package/files/file-name.d.ts +19 -0
  240. package/files/file-name.d.ts.map +1 -0
  241. package/files/prepare-download-destination.d.ts +8 -0
  242. package/files/prepare-download-destination.d.ts.map +1 -0
  243. package/files/resolve-dial-file-api-path.d.ts +12 -0
  244. package/files/resolve-dial-file-api-path.d.ts.map +1 -0
  245. package/files/source-content.d.ts +28 -0
  246. package/files/source-content.d.ts.map +1 -0
  247. package/files/useDialFileListing/useDialFileListing.d.ts +82 -0
  248. package/files/useDialFileListing/useDialFileListing.d.ts.map +1 -0
  249. package/files/useDialFileListing/useDialFileListing.js +24 -14
  250. package/files/useDialFileManager/useDialFileManager.d.ts +16 -0
  251. package/files/useDialFileManager/useDialFileManager.d.ts.map +1 -0
  252. package/files/useDialFileManager/useDialFileManager.js +148 -140
  253. package/files/useDialFileManagerSections/useDialFileManagerSections.d.ts +25 -0
  254. package/files/useDialFileManagerSections/useDialFileManagerSections.d.ts.map +1 -0
  255. package/files/useDialFileManagerTabConfig/useDialFileManagerTabConfig.d.ts +15 -0
  256. package/files/useDialFileManagerTabConfig/useDialFileManagerTabConfig.d.ts.map +1 -0
  257. package/files/useDialFileMetadata/useDialFileMetadata.d.ts +28 -0
  258. package/files/useDialFileMetadata/useDialFileMetadata.d.ts.map +1 -0
  259. package/files/useDialFileMutations/useDialFileMutations.d.ts +68 -0
  260. package/files/useDialFileMutations/useDialFileMutations.d.ts.map +1 -0
  261. package/files/useDialFileMutations/useDialFileMutations.js +206 -204
  262. package/files/useDialFileSharing/useDialFileSharing.d.ts +34 -0
  263. package/files/useDialFileSharing/useDialFileSharing.d.ts.map +1 -0
  264. package/files/useDialFileSharing/useDialFileSharing.js +45 -39
  265. package/files/useDialFileUploadBatch/useDialFileUploadBatch.d.ts +47 -0
  266. package/files/useDialFileUploadBatch/useDialFileUploadBatch.d.ts.map +1 -0
  267. package/files/useDialFileUploadBatch/useDialFileUploadBatch.js +8 -4
  268. package/files/useFileAttachmentPicker/useFileAttachmentPicker.d.ts +59 -0
  269. package/files/useFileAttachmentPicker/useFileAttachmentPicker.d.ts.map +1 -0
  270. package/index.d.ts +159 -6974
  271. package/index.d.ts.map +1 -0
  272. package/index.js +124 -117
  273. package/mcp-apps/mcp-apps-api-client.d.ts +28 -0
  274. package/mcp-apps/mcp-apps-api-client.d.ts.map +1 -0
  275. package/mcp-apps/useMcpAppHostAdapter/useMcpAppHostAdapter.d.ts +14 -0
  276. package/mcp-apps/useMcpAppHostAdapter/useMcpAppHostAdapter.d.ts.map +1 -0
  277. package/mcp-apps/useMcpAppHostContext/useMcpAppHostContext.d.ts +29 -0
  278. package/mcp-apps/useMcpAppHostContext/useMcpAppHostContext.d.ts.map +1 -0
  279. package/mcp-apps/useMcpAppTools/useMcpAppTools.d.ts +22 -0
  280. package/mcp-apps/useMcpAppTools/useMcpAppTools.d.ts.map +1 -0
  281. package/mcp-apps/useOpenMcpAppCanvas/useOpenMcpAppCanvas.d.ts +36 -0
  282. package/mcp-apps/useOpenMcpAppCanvas/useOpenMcpAppCanvas.d.ts.map +1 -0
  283. package/mcp-apps.d.ts +2 -256
  284. package/oauth/authorize-url.d.ts +16 -0
  285. package/oauth/authorize-url.d.ts.map +1 -0
  286. package/oauth/handshake.d.ts +30 -0
  287. package/oauth/handshake.d.ts.map +1 -0
  288. package/oauth/models.d.ts +81 -0
  289. package/oauth/models.d.ts.map +1 -0
  290. package/oauth/popup.d.ts +30 -0
  291. package/oauth/popup.d.ts.map +1 -0
  292. package/oauth/toolset-id.d.ts +53 -0
  293. package/oauth/toolset-id.d.ts.map +1 -0
  294. package/oauth/types.d.ts +84 -0
  295. package/oauth/types.d.ts.map +1 -0
  296. package/oauth/useOAuthCallbackCompletion/useOAuthCallbackCompletion.d.ts +54 -0
  297. package/oauth/useOAuthCallbackCompletion/useOAuthCallbackCompletion.d.ts.map +1 -0
  298. package/oauth/useToolsetLogin/useToolsetLogin.d.ts +79 -0
  299. package/oauth/useToolsetLogin/useToolsetLogin.d.ts.map +1 -0
  300. package/oauth.d.ts +2 -472
  301. package/package.json +26 -17
  302. package/prompt/export-prompt.d.ts +31 -0
  303. package/prompt/export-prompt.d.ts.map +1 -0
  304. package/prompt/prompt-resource.d.ts +30 -0
  305. package/prompt/prompt-resource.d.ts.map +1 -0
  306. package/prompt/prompt.d.ts +34 -0
  307. package/prompt/prompt.d.ts.map +1 -0
  308. package/prompt/usePromptsState/usePromptsState.d.ts +34 -0
  309. package/prompt/usePromptsState/usePromptsState.d.ts.map +1 -0
  310. package/scheduled-task/scheduled-task-description.d.ts +38 -0
  311. package/scheduled-task/scheduled-task-description.d.ts.map +1 -0
  312. package/scheduled-task/scheduled-task-mapping.d.ts +19 -0
  313. package/scheduled-task/scheduled-task-mapping.d.ts.map +1 -0
  314. package/scheduled-task/scheduled-task-preparation.d.ts +19 -0
  315. package/scheduled-task/scheduled-task-preparation.d.ts.map +1 -0
  316. package/scheduled-task/scheduled-task-trigger.d.ts +26 -0
  317. package/scheduled-task/scheduled-task-trigger.d.ts.map +1 -0
  318. package/scheduled-task/scheduled-tasks-api-client.d.ts +67 -0
  319. package/scheduled-task/scheduled-tasks-api-client.d.ts.map +1 -0
  320. package/scheduled-task/use-scheduled-task-runs.d.ts +40 -0
  321. package/scheduled-task/use-scheduled-task-runs.d.ts.map +1 -0
  322. package/scheduled-task/use-scheduled-task-runs.js +67 -67
  323. package/scheduled-task/use-scheduled-tasks.d.ts +28 -0
  324. package/scheduled-task/use-scheduled-tasks.d.ts.map +1 -0
  325. package/scheduled-tasks.d.ts +2 -250
  326. package/scroll-anchoring.d.ts +2 -50
  327. package/shared/application-schema.d.ts +18 -0
  328. package/shared/application-schema.d.ts.map +1 -0
  329. package/shared/application-schema.js +2 -2
  330. package/shared/browser-timezone.d.ts +7 -0
  331. package/shared/browser-timezone.d.ts.map +1 -0
  332. package/shared/cron-day-of-month.d.ts +21 -0
  333. package/shared/cron-day-of-month.d.ts.map +1 -0
  334. package/shared/cron-weekday.d.ts +5 -0
  335. package/shared/cron-weekday.d.ts.map +1 -0
  336. package/shared/custom-apps.d.ts +7 -0
  337. package/shared/custom-apps.d.ts.map +1 -0
  338. package/shared/external-services.d.ts +16 -0
  339. package/shared/external-services.d.ts.map +1 -0
  340. package/shared/formatting.d.ts +5 -0
  341. package/shared/formatting.d.ts.map +1 -0
  342. package/shared/locale.d.ts +45 -0
  343. package/shared/locale.d.ts.map +1 -0
  344. package/shared/string-utils.d.ts +11 -0
  345. package/shared/string-utils.d.ts.map +1 -0
  346. package/shared/toolset-login-events.d.ts +15 -0
  347. package/shared/toolset-login-events.d.ts.map +1 -0
  348. package/sharing.d.ts +2 -65
  349. package/skill/skill-archive.d.ts +7 -0
  350. package/skill/skill-archive.d.ts.map +1 -0
  351. package/skill/skill-file-batch-validation.d.ts +70 -0
  352. package/skill/skill-file-batch-validation.d.ts.map +1 -0
  353. package/skill/skill-file-preview.d.ts +25 -0
  354. package/skill/skill-file-preview.d.ts.map +1 -0
  355. package/skill/skill-manifest.d.ts +28 -0
  356. package/skill/skill-manifest.d.ts.map +1 -0
  357. package/skill/skill-types.d.ts +46 -0
  358. package/skill/skill-types.d.ts.map +1 -0
  359. package/skill/skill.d.ts +160 -0
  360. package/skill/skill.d.ts.map +1 -0
  361. package/skill/useSkillArchiveImport/useSkillArchiveImport.d.ts +65 -0
  362. package/skill/useSkillArchiveImport/useSkillArchiveImport.d.ts.map +1 -0
  363. package/skill/useSkillEditorLoad.d.ts +74 -0
  364. package/skill/useSkillEditorLoad.d.ts.map +1 -0
  365. package/skill/useSkillEditorSubmit.d.ts +125 -0
  366. package/skill/useSkillEditorSubmit.d.ts.map +1 -0
  367. package/skill/useSkillFileActions.d.ts +60 -0
  368. package/skill/useSkillFileActions.d.ts.map +1 -0
  369. package/skill/useSkillFilePreview.d.ts +38 -0
  370. package/skill/useSkillFilePreview.d.ts.map +1 -0
  371. package/skill/useSkillsState/useSkillsState.d.ts +35 -0
  372. package/skill/useSkillsState/useSkillsState.d.ts.map +1 -0
  373. package/skill-editor.d.ts +2 -655
  374. package/skills-state.d.ts +2 -40
  375. package/source-content.d.ts +2 -29
  376. package/usage/map-usage-data-to-dashboard.d.ts +39 -0
  377. package/usage/map-usage-data-to-dashboard.d.ts.map +1 -0
  378. package/usage/map-user-usage-to-model-limits.d.ts +62 -0
  379. package/usage/map-user-usage-to-model-limits.d.ts.map +1 -0
  380. package/usage/usage-banner-source.d.ts +23 -0
  381. package/usage/usage-banner-source.d.ts.map +1 -0
  382. package/usage/usage-banner-source.js +36 -0
  383. package/usage/usage-period.d.ts +7 -0
  384. package/usage/usage-period.d.ts.map +1 -0
  385. package/usage/usage-period.js +6 -0
  386. package/usage/usage-reset-time.d.ts +69 -0
  387. package/usage/usage-reset-time.d.ts.map +1 -0
  388. package/usage/usage-reset-time.js +72 -0
  389. package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.d.ts +32 -0
  390. package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.d.ts.map +1 -0
  391. package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.js +39 -0
  392. package/usage/useRefreshUsageAfterGeneration/useRefreshUsageAfterGeneration.d.ts +16 -0
  393. package/usage/useRefreshUsageAfterGeneration/useRefreshUsageAfterGeneration.d.ts.map +1 -0
  394. package/usage/useRefreshUsageAfterGeneration/useRefreshUsageAfterGeneration.js +14 -0
  395. package/usage/useUsageData/useUsageData.d.ts +28 -0
  396. package/usage/useUsageData/useUsageData.d.ts.map +1 -0
  397. package/usage/useUsageLimitBanner/useUsageLimitBanner.d.ts +56 -0
  398. package/usage/useUsageLimitBanner/useUsageLimitBanner.d.ts.map +1 -0
  399. package/usage/useUsageLimitBanner/useUsageLimitBanner.js +67 -0
  400. package/usage/useUsageLimitBannerDismissal/useUsageLimitBannerDismissal.d.ts +14 -0
  401. package/usage/useUsageLimitBannerDismissal/useUsageLimitBannerDismissal.d.ts.map +1 -0
  402. package/usage/useUsageLimitBannerDismissal/useUsageLimitBannerDismissal.js +19 -0
  403. package/usage-limits.d.ts +2 -0
  404. package/usage-limits.js +8 -0
  405. package/usage.d.ts +2 -125
  406. package/useChatSettingsFormConfig/useChatSettingsFormConfig.d.ts +128 -0
  407. package/useChatSettingsFormConfig/useChatSettingsFormConfig.d.ts.map +1 -0
  408. package/usePageFileDrag/usePageFileDrag.d.ts +16 -0
  409. package/usePageFileDrag/usePageFileDrag.d.ts.map +1 -0
  410. package/usePanelMaxWidth/usePanelMaxWidth.d.ts +6 -0
  411. package/usePanelMaxWidth/usePanelMaxWidth.d.ts.map +1 -0
  412. package/useShareLink/useShareLink.d.ts +23 -0
  413. package/useShareLink/useShareLink.d.ts.map +1 -0
  414. package/useShareRecipientsCount/useShareRecipientsCount.d.ts +36 -0
  415. package/useShareRecipientsCount/useShareRecipientsCount.d.ts.map +1 -0
  416. package/useToolsMenu/useToolsMenu.d.ts +31 -0
  417. package/useToolsMenu/useToolsMenu.d.ts.map +1 -0
  418. package/useViewportWidth/useViewportWidth.d.ts +3 -0
  419. package/useViewportWidth/useViewportWidth.d.ts.map +1 -0
  420. package/utils.d.ts +2 -404
  421. package/utils.js +10 -10
  422. package/viewport-layout.d.ts +2 -27
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-details.d.ts","sourceRoot":"","sources":["../../src/catalog/entity-details.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,oB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C,EAAE,OAAO,CAAC;CACrB;AAED,0DAA0D;AAC1D,MAAM,WAAW,oBAAoB;IACnC,aAAa,CAAC,EAAE,oBAAoB,CAAC;IACrC,YAAY,CAAC,EAAE,mBAAmB,CAAC;CACpC;AASD,yFAAyF;AACzF,MAAM,MAAM,qBAAqB,GAC7B;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,kBAAkB,CAAA;CAAE,GAC3C;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,kBAAkB,CAAA;CAAE,GAC3C;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,IAAI,EAAE,oBAAoB,CAAA;CAAE,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { CatalogItemLimits } from '@epam/ai-dial-catalog';
2
+ import { DeploymentLimitsResponseDto } from '@epam/ai-dial-chat-api-client';
3
+ import { FormatResetTime } from '../usage/map-usage-data-to-dashboard';
4
+ /** Labels and formatter callbacks for the deployment-limits mapping utility. */
5
+ export interface DeploymentLimitsLabels {
6
+ /** Heading of the group every token stat row is listed under. */
7
+ tokenGroup: string;
8
+ /** Label for the current-UTC-day token row, e.g. "Today". */
9
+ tokensPerDay: string;
10
+ /** Label for the current-UTC-week token row, e.g. "This week". */
11
+ tokensPerWeek: string;
12
+ /** Label for the current-UTC-month token row, e.g. "This month". */
13
+ tokensPerMonth: string;
14
+ /** Note shown instead of a total on a row whose limit follows the cost limit. */
15
+ followsCostLimit: string;
16
+ /** Formats the combined used/total display value for a capped row. */
17
+ formatValueLabel: (used: string, total: string) => string;
18
+ /** Formats the ARIA label for a capped progress row. */
19
+ formatProgressAriaLabel: (params: {
20
+ label: string;
21
+ used: string;
22
+ total: string;
23
+ }) => string;
24
+ /** Formats the ARIA label for an unlimited row, which has no total to announce. */
25
+ formatFollowsCostLimitAriaLabel: (params: {
26
+ label: string;
27
+ used: string;
28
+ }) => string;
29
+ /** Formats each period's `resetsAt` into the row's reset line. Omit it to render rows without one. */
30
+ formatResetTime?: FormatResetTime;
31
+ }
32
+ /** Maps a deployment limits DTO to display-ready catalog limits, or `undefined` when no qualifying stats exist. */
33
+ export declare const mapDeploymentLimitsDtoToCatalogLimits: (dto: DeploymentLimitsResponseDto | undefined, labels: DeploymentLimitsLabels) => CatalogItemLimits | undefined;
34
+ //# sourceMappingURL=map-deployment-limits-to-catalog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"map-deployment-limits-to-catalog.d.ts","sourceRoot":"","sources":["../../src/catalog/map-deployment-limits-to-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,iBAAiB,EAEvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EACV,2BAA2B,EAE5B,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAG5E,gFAAgF;AAChF,MAAM,WAAW,sBAAsB;IACrC,iEAAiE;IACjE,UAAU,EAAE,MAAM,CAAC;IACnB,6DAA6D;IAC7D,YAAY,EAAE,MAAM,CAAC;IACrB,kEAAkE;IAClE,aAAa,EAAE,MAAM,CAAC;IACtB,oEAAoE;IACpE,cAAc,EAAE,MAAM,CAAC;IACvB,iFAAiF;IACjF,gBAAgB,EAAE,MAAM,CAAC;IACzB,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;IACb,mFAAmF;IACnF,+BAA+B,EAAE,CAAC,MAAM,EAAE;QACxC,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;KACd,KAAK,MAAM,CAAC;IACb,sGAAsG;IACtG,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC;AAgID,mHAAmH;AACnH,eAAO,MAAM,qCAAqC,GAChD,KAAK,2BAA2B,GAAG,SAAS,EAC5C,QAAQ,sBAAsB,KAC7B,iBAAiB,GAAG,SAsBtB,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { CatalogItemLimits, UsageLimitProgressRow } from '@epam/ai-dial-catalog';
2
+ import { DeploymentLimitsResponseDto, LimitStatsDto } from '@epam/ai-dial-chat-api-client';
3
+ import { FormatResetTime } from '../usage/map-usage-data-to-dashboard';
4
+ /** Labels and formatter callbacks for the conversation-input limits mapping utility. */
5
+ export interface ConversationInputLimitsLabels {
6
+ /** Heading of the group listing the selected deployment's token limits. */
7
+ tokenGroup: string;
8
+ /** Heading of the group listing the caller's cost budget and spend against it. */
9
+ costGroup: string;
10
+ /** Label for the current-UTC-day row, used by both groups. */
11
+ periodDay: string;
12
+ /** Label for the current-UTC-week row, used by both groups. */
13
+ periodWeek: string;
14
+ /** Label for the current-UTC-month row, used by both groups. */
15
+ periodMonth: string;
16
+ /** Formats the combined used/total display value for a capped row. */
17
+ formatValueLabel: (used: string, total: string) => string;
18
+ /** Formats the ARIA label for a capped progress row. */
19
+ formatProgressAriaLabel: (params: {
20
+ label: string;
21
+ used: string;
22
+ total: string;
23
+ }) => string;
24
+ }
25
+ export declare const buildResetFields: (stats: LimitStatsDto, formatResetTime: FormatResetTime | undefined) => Pick<UsageLimitProgressRow, "resetLabel" | "resetIsoValue" | "resetAriaLabel">;
26
+ /** Maps a deployment's day, week, and month token limits and the caller's cost budget to display-ready rows, or `undefined` when none qualify. */
27
+ export declare const mapDeploymentLimitsToInput: (dto: DeploymentLimitsResponseDto | undefined, labels: ConversationInputLimitsLabels, formatResetTime?: FormatResetTime) => CatalogItemLimits | undefined;
28
+ //# sourceMappingURL=map-deployment-limits-to-input.d.ts.map
@@ -0,0 +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,EACV,2BAA2B,EAC3B,aAAa,EACd,MAAM,+BAA+B,CAAC;AAEvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAE5E,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;AA+FD,eAAO,MAAM,gBAAgB,GAC3B,OAAO,aAAa,EACpB,iBAAiB,eAAe,GAAG,SAAS,KAC3C,IAAI,CACL,qBAAqB,EACrB,YAAY,GAAG,eAAe,GAAG,gBAAgB,CAYlD,CAAC;AAuGF,kJAAkJ;AAClJ,eAAO,MAAM,0BAA0B,GACrC,KAAK,2BAA2B,GAAG,SAAS,EAC5C,QAAQ,6BAA6B,EACrC,kBAAkB,eAAe,KAChC,iBAAiB,GAAG,SAyCtB,CAAC"}
@@ -0,0 +1,61 @@
1
+ import { CatalogItem, CatalogItemCredentials } from '@epam/ai-dial-catalog';
2
+ import { DeploymentItemDto, DialToolsetAuthSettingsDto, DialToolsetDto } from '@epam/ai-dial-chat-api-client';
3
+ import { EntitySpecificDetails } from './entity-details';
4
+ /**
5
+ * Maps a toolset's auth settings (from a deployment listing row) into the
6
+ * lib's credential-status shape, including both `USER` and `GLOBAL` sign-in
7
+ * status, whether the toolset is public, and whether the current user (if an
8
+ * admin) may manage both levels. Named apart from
9
+ * `map-entity-details-to-catalog.ts`'s `mapToolsetCredentials` (a different
10
+ * input shape, `ToolsetEntityDetails`) to avoid an ambiguous `export *`
11
+ * collision between the two modules.
12
+ *
13
+ * For a non-admin on a public toolset that already has `GLOBAL` credentials
14
+ * signed in, the lib's own `LoginWithMyCreds` CTA fires unconditionally off
15
+ * `isPublic` alone, regardless of whether org-wide credentials already cover
16
+ * everyone (`node_modules/@epam/ai-dial-catalog/dist/index.js`, the `ct`
17
+ * helper). Global auth is sufficient to use the toolset — a personal login
18
+ * is optional, not required — so this suppresses that CTA by reporting
19
+ * `authenticationType: None`, which is the lib's own documented signal to
20
+ * hide the credentials control entirely.
21
+ */
22
+ export declare const mapDeploymentToolsetCredentials: (toolsetId: string, authSettings: DialToolsetAuthSettingsDto | undefined, isAdmin: boolean) => CatalogItemCredentials | undefined;
23
+ /** Translated folder-path labels for the Personal/Shared/Public deployment groupings. */
24
+ export interface DeploymentFolderLabels {
25
+ personal: string;
26
+ shared: string;
27
+ public: string;
28
+ }
29
+ /** Resolves a deployment's display folder, including organization applications without a folder path. */
30
+ export declare const resolveDeploymentFolder: (deployment: Pick<DeploymentItemDto, "isMy" | "sharedWithMe" | "applicationFolder"> & Partial<Pick<DeploymentItemDto, "type">>, labels: DeploymentFolderLabels) => string[];
31
+ /** Parameters for {@link mapDeploymentToCatalogItem}. */
32
+ export interface MapDeploymentToCatalogItemOptions {
33
+ favoriteIds?: ReadonlySet<string>;
34
+ entityDetails?: EntitySpecificDetails;
35
+ folderLabels: DeploymentFolderLabels;
36
+ editableSchemaIds?: string[];
37
+ isCustomAppsEditable?: boolean;
38
+ /** The viewer's active display locale, used to resolve `displayName`/`description`. */
39
+ activeLocale: string;
40
+ /** The fixed content language `displayName`/`description` fall back to when `activeLocale` has no entry. */
41
+ primaryLocale: string;
42
+ /** Resolves a deployment's raw `iconUrl` to a displayable URL. Host-owned. */
43
+ resolveIconUrl: (iconUrl: string | undefined) => string | undefined;
44
+ }
45
+ /** 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;
47
+ /** Parameters for {@link mapToolsetToCatalogItem}. */
48
+ export interface MapToolsetToCatalogItemOptions {
49
+ favoriteIds?: ReadonlySet<string>;
50
+ isAdmin?: boolean;
51
+ folderLabels?: DeploymentFolderLabels;
52
+ /** The viewer's active display locale, used to resolve `displayName`/`description`. */
53
+ activeLocale: string;
54
+ /** The fixed content language `displayName`/`description` fall back to when `activeLocale` has no entry. */
55
+ primaryLocale: string;
56
+ /** Resolves a toolset's raw `iconUrl` to a displayable URL. Host-owned. */
57
+ resolveIconUrl: (iconUrl: string | undefined) => string | undefined;
58
+ }
59
+ /** Maps a toolset listing row into the catalog UI's `CatalogItem` shape. */
60
+ export declare const mapToolsetToCatalogItem: (toolset: DialToolsetDto, { favoriteIds, isAdmin, folderLabels, activeLocale, primaryLocale, resolveIconUrl, }: MapToolsetToCatalogItemOptions) => CatalogItem;
61
+ //# sourceMappingURL=map-deployment-to-catalog-item.d.ts.map
@@ -0,0 +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,EA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,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"}
@@ -0,0 +1,81 @@
1
+ import { CatalogItemCredentials, CatalogItemTabData } from '@epam/ai-dial-catalog';
2
+ import { DeploymentDetailsDto } from '@epam/ai-dial-chat-api-client';
3
+ import { EntitySpecificDetails, ToolsetEntityDetails } from './entity-details';
4
+ /**
5
+ * Overview section titles and spec labels rendered by
6
+ * `mapEntityDetailsToCatalogDetails`. Hosts pass translated strings; every
7
+ * field defaults to the English text in {@link DEFAULT_ENTITY_DETAILS_LABELS}.
8
+ */
9
+ export interface EntityDetailsLabels {
10
+ /** Default: `'Capabilities'`. */
11
+ capabilitiesTitle: string;
12
+ /** Default: `'Specification'`. */
13
+ specificationTitle: string;
14
+ /** Default: `'Configuration'`. */
15
+ configurationTitle: string;
16
+ /** Default: `'Tools'`. */
17
+ tools: string;
18
+ /** Default: `'Parallel tool calls'`. */
19
+ parallelToolCalls: string;
20
+ /** Default: `'Reasoning efforts'`. */
21
+ reasoningEfforts: string;
22
+ /** Default: `'Skills'`. */
23
+ skills: string;
24
+ /** Default: `'Provider'`. */
25
+ provider: string;
26
+ /** Default: `'Vendor'`. */
27
+ vendor: string;
28
+ /** Default: `'License'`. */
29
+ license: string;
30
+ /** Default: `'Knowledge cutoff date'`. */
31
+ knowledgeCutoffDate: string;
32
+ /** Default: `'Parameters'`. */
33
+ parameters: string;
34
+ /** Default: `'Hosted by'`. */
35
+ hostedBy: string;
36
+ /** Default: `'Release date'`. */
37
+ releaseDate: string;
38
+ /** Default: `'Context window'`. */
39
+ contextWindow: string;
40
+ /** Default: `'Max output tokens'`. */
41
+ maxOutputTokens: string;
42
+ /** Default: `'Input modalities'`. */
43
+ inputModalities: string;
44
+ /** Default: `'Input attachments'`. */
45
+ inputAttachments: string;
46
+ /** Default: `'Routes'`. */
47
+ routes: string;
48
+ /** Default: `'Configuration schema'`. */
49
+ configurationSchema: string;
50
+ /** Default: `'Authentication'`. */
51
+ authentication: string;
52
+ /** Default: `'Authorization endpoint'`. */
53
+ authorizationEndpoint: string;
54
+ /** Default: `'Token endpoint'`. */
55
+ tokenEndpoint: string;
56
+ /** Default: `'OAuth scopes'`. */
57
+ oauthScopes: string;
58
+ }
59
+ /** The English Overview labels `mapEntityDetailsToCatalogDetails` uses when a host passes none. */
60
+ export declare const DEFAULT_ENTITY_DETAILS_LABELS: EntityDetailsLabels;
61
+ /**
62
+ * Maps a toolset's specification into the lib's credential-status shape,
63
+ * for refreshing the details panel after login/logout. Includes both
64
+ * `USER` and `GLOBAL` status, whether the toolset is public, and whether
65
+ * the current user (if an admin) may manage both levels.
66
+ */
67
+ export declare const mapToolsetCredentials: (toolsetId: string, data: ToolsetEntityDetails, isAdmin: boolean) => CatalogItemCredentials | undefined;
68
+ /**
69
+ * Converts a strongly-typed entity domain model into the lib's `CatalogItemTabData` shape.
70
+ * Section titles and spec labels come from `labels`, merged over
71
+ * {@link DEFAULT_ENTITY_DETAILS_LABELS} — the lib cannot import a host's
72
+ * translation keys, so the host passes its translated strings in.
73
+ */
74
+ export declare const mapEntityDetailsToCatalogDetails: (details: EntitySpecificDetails, labels?: Partial<EntityDetailsLabels>) => CatalogItemTabData;
75
+ /**
76
+ * Converts the backend `DeploymentDetailsDto` (model/application/toolset,
77
+ * fetched by id) into the strongly-typed `EntitySpecificDetails` domain model
78
+ * consumed by `mapEntityDetailsToCatalogDetails`.
79
+ */
80
+ export declare const mapDeploymentDetailsDtoToEntityDetails: (dto: DeploymentDetailsDto) => EntitySpecificDetails;
81
+ //# sourceMappingURL=map-entity-details-to-catalog.d.ts.map
@@ -0,0 +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;AAgC1B;;;;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;AAqQF;;;;;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;AAgPF;;;;GAIG;AACH,eAAO,MAAM,sCAAsC,GACjD,KAAK,oBAAoB,KACxB,qBASF,CAAC"}
@@ -0,0 +1,43 @@
1
+ import { CatalogItemOverview, CatalogItem } from '@epam/ai-dial-catalog';
2
+ import { PromptResponseDto } from '@epam/ai-dial-chat-api-client';
3
+ import { PromptSource } from '../prompt/prompt-resource';
4
+ import { DeploymentFolderLabels } from './map-deployment-to-catalog-item';
5
+ /** Translated labels for the Overview tab's author/updated rows and section title. */
6
+ export interface PromptOverviewLabels {
7
+ authorLabel: string;
8
+ updatedLabel: string;
9
+ sectionTitle: string;
10
+ }
11
+ /**
12
+ * Builds the Overview tab data for a prompt: who authored it and when it last
13
+ * changed. The description is not repeated here — the Details tab already
14
+ * shows it above the body.
15
+ */
16
+ export declare const buildPromptOverview: (prompt: PromptResponseDto, labels: PromptOverviewLabels) => CatalogItemOverview;
17
+ /**
18
+ * Whether a prompt item came from the organisation namespace, which the public
19
+ * prompt endpoints serve. Personal prompts resolve through the caller's own
20
+ * bucket, while shared prompts carry their owner's bucket in the resource URL.
21
+ */
22
+ export declare const isOrganisationPromptItem: (item: CatalogItem) => boolean;
23
+ /** Parameters for {@link mapPromptToCatalogItem}. */
24
+ export interface MapPromptToCatalogItemOptions {
25
+ /** Personal/Shared/Public folder labels; i18n stays at the app edge. */
26
+ folderLabels: DeploymentFolderLabels;
27
+ /** Author/updated/section-title labels for the Overview tab; i18n stays at the app edge. */
28
+ overviewLabels: PromptOverviewLabels;
29
+ /** Namespace the prompt came from; drives ownership flags and the folder prefix. */
30
+ source: PromptSource;
31
+ /** Favorited resource ids from the user config, keyed by prompt path. */
32
+ favoriteIds: ReadonlySet<string>;
33
+ }
34
+ /**
35
+ * Maps a prompt DTO into a catalog item.
36
+ *
37
+ * `prompt.id` is already the full `prompts/{bucket}/{path}` resource path —
38
+ * the owner bucket for a shared-with-me prompt, the caller's own bucket
39
+ * otherwise — the same shape every other resource type's `CatalogItem.id`
40
+ * carries, so no per-source qualification is needed here.
41
+ */
42
+ export declare const mapPromptToCatalogItem: (prompt: PromptResponseDto, { folderLabels, overviewLabels, source, favoriteIds, }: MapPromptToCatalogItemOptions) => CatalogItem;
43
+ //# sourceMappingURL=map-prompt-to-catalog-item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"map-prompt-to-catalog-item.d.ts","sourceRoot":"","sources":["../../src/catalog/map-prompt-to-catalog-item.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAEjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAGzD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAkB/E,sFAAsF;AACtF,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAC9B,QAAQ,iBAAiB,EACzB,QAAQ,oBAAoB,KAC3B,mBAaF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,GAAI,MAAM,WAAW,KAAG,OACxB,CAAC;AAEtC,qDAAqD;AACrD,MAAM,WAAW,6BAA6B;IAC5C,wEAAwE;IACxE,YAAY,EAAE,sBAAsB,CAAC;IACrC,4FAA4F;IAC5F,cAAc,EAAE,oBAAoB,CAAC;IACrC,oFAAoF;IACpF,MAAM,EAAE,YAAY,CAAC;IACrB,yEAAyE;IACzE,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAClC;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,GACjC,QAAQ,iBAAiB,EACzB,wDAKG,6BAA6B,KAC/B,WAsCF,CAAC"}
@@ -0,0 +1,113 @@
1
+ import { CatalogContentTreeNode, CatalogItem, CatalogItemOverview } from '@epam/ai-dial-catalog';
2
+ import { SkillMetadataItemDto } from '@epam/ai-dial-chat-api-client';
3
+ import { SkillAboutDetails } from '../skill/skill-manifest';
4
+ import { SkillSource } from '../skill/skill-types';
5
+ import { DeploymentFolderLabels } from './map-deployment-to-catalog-item';
6
+ /** Parameters for {@link mapSkillToCatalogItem}. */
7
+ export interface MapSkillToCatalogItemOptions {
8
+ /** Personal/Shared/Public folder labels; i18n stays at the app edge. */
9
+ folderLabels: DeploymentFolderLabels;
10
+ /** Namespace the skill came from; drives ownership flags and the folder prefix. */
11
+ source: SkillSource;
12
+ /** Favorited resource ids from the user config, keyed by skill resource URL. */
13
+ favoriteIds: ReadonlySet<string>;
14
+ }
15
+ /**
16
+ * Maps a skill's DIAL Core metadata into a catalog item. The full
17
+ * `skills/{bucket}/{path}` resource URL is used as `CatalogItem.id` rather
18
+ * than the bucket-relative path: the catalog lists two buckets, and the same
19
+ * relative path can exist in both.
20
+ */
21
+ export declare const mapSkillToCatalogItem: (skill: SkillMetadataItemDto, { folderLabels, source, favoriteIds }: MapSkillToCatalogItemOptions) => CatalogItem;
22
+ /** Translated labels for the skill Overview tab's Specification/Details sections. */
23
+ export interface SkillOverviewLabels {
24
+ whenToUseLabel: string;
25
+ allowedToolsLabel: string;
26
+ bundledResourcesLabel: string;
27
+ specificationSectionTitle: string;
28
+ authorLabel: string;
29
+ updatedLabel: string;
30
+ fileCountLabel: string;
31
+ detailsSectionTitle: string;
32
+ }
33
+ /**
34
+ * Resolves the manifest file's opaque listing id across DIAL Core versions.
35
+ * Some return file-relative paths (`SKILL.md`), while others prefix the
36
+ * skill's path and its internal `files` directory. The returned id is kept
37
+ * verbatim so it matches the corresponding tree node exactly.
38
+ */
39
+ export declare const resolveSkillManifestFileId: (files: SkillMetadataItemDto[], skillPath: string) => string;
40
+ /**
41
+ * Converts an opaque file-listing id into the path expected by the single-file
42
+ * download endpoint. Core may prefix listing paths with the skill path and its
43
+ * internal `files` directory, while the endpoint accepts a path relative to
44
+ * that directory. File-relative ids are returned unchanged.
45
+ */
46
+ export declare const resolveSkillFileDownloadPath: (fileId: string, skillPath: string) => string | null;
47
+ /**
48
+ * Builds the Overview tab data for a skill: a Specification section from its
49
+ * parsed manifest frontmatter, followed by a Details section covering who
50
+ * authored it, when it last changed, and its file inventory. Grouping folders
51
+ * in the file listing are excluded from both the count and the rows. Sizes are
52
+ * not shown — the skill metadata carries no content-length field.
53
+ *
54
+ * `skill` is the authoritative `getSkillMetadata` response when that request
55
+ * fulfilled; the caller falls back to the catalog listing entry only when it
56
+ * rejected (`useSkillItemDetails`'s `onFetchSkillDetails`). Either way, this
57
+ * function never fills a gap in one source from the other — an absent
58
+ * `author` omits the row and an absent `updatedAt` leaves the updated row's
59
+ * value empty, exactly as `skill` carries it.
60
+ */
61
+ export declare const buildSkillOverview: (skill: SkillMetadataItemDto | undefined, files: SkillMetadataItemDto[], about: SkillAboutDetails | undefined, labels: SkillOverviewLabels) => CatalogItemOverview;
62
+ /**
63
+ * Builds the Content tab's hierarchical file tree for a skill from
64
+ * `listSkillFiles({ recursive: true })`'s flat listing. Every entry's path is
65
+ * first stripped of the skill's own path prefix and its internal `files`
66
+ * storage directory (see `stripSkillPathPrefix`) — the skill's own root
67
+ * folder and that `files` directory are Core storage implementation details,
68
+ * not authored structure, so neither appears as a wrapping node. An entry
69
+ * that strips to nothing (the skill root, or the bare `files` directory
70
+ * itself) contributes no node. Every folder entry is attached under its own
71
+ * stripped path so an empty grouping folder still appears; every file entry
72
+ * attaches under the folder chain its stripped path implies, synthesizing
73
+ * any intermediate folder the listing never enumerated on its own. An
74
+ * empty-folder marker (`.dial_folder`) only proves its folder exists and
75
+ * never becomes a file node. A file
76
+ * node's `id` is the listing entry's own (unstripped) path, so it round-trips
77
+ * back to `downloadSkillFile` without being re-derived; a folder node's `id`
78
+ * is the stripped path and only keys client-side expand/collapse state.
79
+ */
80
+ export declare const buildSkillContentTree: (files: SkillMetadataItemDto[], skillPath: string) => CatalogContentTreeNode[];
81
+ /**
82
+ * Reads a skill file response as raw bytes, or `null` when the body is
83
+ * larger than `SKILL_MANIFEST_MAX_BYTES`. The declared `content-length` is
84
+ * checked first so an oversized body is never read into memory at all; the
85
+ * actual byte length is checked again after reading, for a response with no
86
+ * (or an inaccurate) declared length. Applies identically to every skill
87
+ * file, text or binary — not only `SKILL.md`.
88
+ */
89
+ export declare const readSkillFileBytes: (response: Response) => Promise<Uint8Array | null>;
90
+ /**
91
+ * Reads a skill file response as raw bytes with no size ceiling, for the
92
+ * supporting-file **preview** path.
93
+ *
94
+ * Previews are user-initiated, one file at a time, and a realistic binary
95
+ * (a PDF, an image) routinely exceeds `SKILL_MANIFEST_MAX_BYTES` — a cap
96
+ * sized for `SKILL.md` frontmatter, not for binaries — so applying that cap
97
+ * here rejected virtually every real PDF before it was ever decoded. This
98
+ * reader therefore never returns `null`: file size is not a failure class on
99
+ * the preview path.
100
+ *
101
+ * `readSkillFileBytes` and `readSkillManifest` keep their
102
+ * `SKILL_MANIFEST_MAX_BYTES` ceiling, because they feed the manifest parse
103
+ * and the textual Content-tab read, where an oversized body must never be
104
+ * decoded into a string.
105
+ */
106
+ export declare const readSkillFilePreviewBytes: (response: Response) => Promise<Uint8Array>;
107
+ /**
108
+ * Reads a skill manifest response as text, or `null` when the body is larger
109
+ * than `SKILL_MANIFEST_MAX_BYTES`. The size is checked before decoding, so an
110
+ * oversized manifest is never turned into a string.
111
+ */
112
+ export declare const readSkillManifest: (response: Response) => Promise<string | null>;
113
+ //# sourceMappingURL=map-skill-to-catalog-item.d.ts.map
@@ -0,0 +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,EAGzB,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,qFAAqF;AACrF,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;IACvB,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AA2CD;;;;;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,mBAyBF,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"}
@@ -0,0 +1,18 @@
1
+ import { CatalogItemApiDetails } from '@epam/ai-dial-catalog';
2
+ import { CatalogEntityType } from '@epam/ai-dial-chat-shared';
3
+ /** Resource families that DIAL Core exposes an MCP endpoint for. */
4
+ export declare enum McpResourceKind {
5
+ /** Toolsets, served under `/v1/toolset/{id}/mcp`. */
6
+ Toolset = "toolset",
7
+ /** Application deployments, served under `/v1/deployments/{id}/mcp`. */
8
+ Application = "application"
9
+ }
10
+ /** Builds the MCP endpoint URL for a toolset resource. */
11
+ export declare const buildToolsetMcpUrl: (baseUrl: string, id: string) => string;
12
+ /** Builds the MCP endpoint URL for an application-deployment resource. */
13
+ export declare const buildApplicationMcpUrl: (baseUrl: string, id: string) => string;
14
+ /** Returns the MCP resource kind a catalog item's Connect endpoint belongs to, or `null` when the item exposes no MCP endpoint. */
15
+ export declare const resolveMcpResourceKind: (type: CatalogEntityType, supportsMcp?: boolean) => McpResourceKind | null;
16
+ /** Builds the "Connect" tab's resource/endpoint/snippet data for the MCP endpoint of the given resource kind. */
17
+ export declare const buildConnectApi: (baseUrl: string, id: string, kind: McpResourceKind) => CatalogItemApiDetails;
18
+ //# sourceMappingURL=mcp-endpoint-url.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp-endpoint-url.d.ts","sourceRoot":"","sources":["../../src/catalog/mcp-endpoint-url.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D,oEAAoE;AACpE,oBAAY,eAAe;IACzB,qDAAqD;IACrD,OAAO,YAAY;IACnB,wEAAwE;IACxE,WAAW,gBAAgB;CAC5B;AAmBD,0DAA0D;AAC1D,eAAO,MAAM,kBAAkB,GAAI,SAAS,MAAM,EAAE,IAAI,MAAM,KAAG,MACY,CAAC;AAE9E,0EAA0E;AAC1E,eAAO,MAAM,sBAAsB,GAAI,SAAS,MAAM,EAAE,IAAI,MAAM,KAAG,MACY,CAAC;AAUlF,mIAAmI;AACnI,eAAO,MAAM,sBAAsB,GACjC,MAAM,iBAAiB,EACvB,cAAc,OAAO,KACpB,eAAe,GAAG,IAMpB,CAAC;AAEF,iHAAiH;AACjH,eAAO,MAAM,eAAe,GAC1B,SAAS,MAAM,EACf,IAAI,MAAM,EACV,MAAM,eAAe,KACpB,qBAWF,CAAC"}
@@ -0,0 +1,35 @@
1
+ import { PublishConversationResultDto, PublishHistoryEntryDto } from '@epam/ai-dial-chat-api-client';
2
+ import { CatalogEntityType } from '@epam/ai-dial-chat-shared';
3
+ import { PublishHistoryEntry } from '@epam/ai-dial-publish-panel';
4
+ /**
5
+ * The publish API's entity-type path param values. Re-declared as a plain
6
+ * string-literal union rather than importing the generated
7
+ * `PublishCatalogEntityEntityTypeEnum`, so this module has no dependency on
8
+ * the app's own `server-api` layer.
9
+ */
10
+ export type CatalogPublishEntityType = 'model' | 'toolset' | 'application' | 'prompt' | 'skill';
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
+ export declare const toPublishEntityType: (type: CatalogEntityType) => CatalogPublishEntityType | undefined;
13
+ /**
14
+ * Whether a catalog entity id addresses the shared `public` bucket
15
+ * (`{resourceType}/public/{folder…}/{name}`), i.e. the id names a published
16
+ * copy rather than the author's own source item.
17
+ *
18
+ * The bucket is always the second segment, so a personal item that happens to
19
+ * own a folder called `public` (`applications/{bucket}/public/{name}`) is not
20
+ * matched. An id with no bucket segment at all — a plain model id such as
21
+ * `gpt-4` — is not public.
22
+ */
23
+ export declare const isPublicCatalogEntityId: (entityId: string) => boolean;
24
+ /**
25
+ * The publish folder a public catalog entity id sits in: the segments between
26
+ * the `public` bucket and the entity name, decoded to the plain text the
27
+ * publish API takes. Empty for a copy published at the public root, and for an
28
+ * id that is not public at all.
29
+ */
30
+ export declare const getPublicCatalogEntityFolderPath: (entityId: string) => string[];
31
+ /** Maps a publish-history API response entry to the catalog lib's `PublishHistoryEntry` model. */
32
+ export declare const mapPublishHistoryEntryDto: (dto: PublishHistoryEntryDto) => PublishHistoryEntry;
33
+ /** Maps a conversation publish-history API response entry to the publish panel's `PublishHistoryEntry` model. */
34
+ export declare const mapPublishConversationResultDto: (dto: PublishConversationResultDto) => PublishHistoryEntry;
35
+ //# sourceMappingURL=publish.d.ts.map
@@ -0,0 +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;AAY3D,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,19 @@
1
+ import { ApplicationExternalServiceDto, ExternalServicesApi, OfflineCredentialsApi } from '@epam/ai-dial-chat-api-client';
2
+ /** Configured operations for loading application credential metadata. */
3
+ export interface UseApplicationCredentialsParams {
4
+ /** Application identifier passed through to the configured client. */
5
+ appId: string;
6
+ /** Host-configured external-services API. */
7
+ externalServicesClient: Pick<ExternalServicesApi, 'listExternalServices'>;
8
+ /** Host-configured offline-credentials API. */
9
+ offlineCredentialsClient: Pick<OfflineCredentialsApi, 'getOfflineCredentials'>;
10
+ }
11
+ /** Loads fresh service statuses without coupling proactive credentials to a live completion. */
12
+ export declare const useApplicationCredentials: ({ appId, externalServicesClient, offlineCredentialsClient, }: UseApplicationCredentialsParams) => {
13
+ services: ApplicationExternalServiceDto[];
14
+ isOfflineConnected: boolean;
15
+ isLoading: boolean;
16
+ hasError: boolean;
17
+ refresh: () => Promise<void>;
18
+ };
19
+ //# sourceMappingURL=useApplicationCredentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useApplicationCredentials.d.ts","sourceRoot":"","sources":["../../../src/catalog/useApplicationCredentials/useApplicationCredentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAC7B,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,+BAA+B,CAAC;AAGvC,yEAAyE;AACzE,MAAM,WAAW,+BAA+B;IAC9C,sEAAsE;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,6CAA6C;IAC7C,sBAAsB,EAAE,IAAI,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,CAAC;IAC1E,+CAA+C;IAC/C,wBAAwB,EAAE,IAAI,CAC5B,qBAAqB,EACrB,uBAAuB,CACxB,CAAC;CACH;AAED,gGAAgG;AAChG,eAAO,MAAM,yBAAyB,GAAI,8DAIvC,+BAA+B;;;;;;CAiDjC,CAAC"}
@@ -0,0 +1,100 @@
1
+ import { CatalogCreateSearch, CatalogItem, CatalogTabCreateMenu } from '@epam/ai-dial-catalog';
2
+ import { ApplicationSchemaSummaryDto, DeploymentItemDto } from '@epam/ai-dial-chat-api-client';
3
+ import { CatalogEntityType } from '@epam/ai-dial-chat-shared';
4
+ import { DropdownItem } from '@epam/ai-dial-ui-kit';
5
+ /** A host notification `useCatalogEditNavigation` asks to be shown for a failed delete. */
6
+ export interface CatalogEditNavigationNotification {
7
+ message: string;
8
+ requestId?: string;
9
+ }
10
+ /** Localized copy `useCatalogEditNavigation` needs for the Create menu and delete errors. */
11
+ export interface CatalogEditNavigationLabels {
12
+ createToolset: string;
13
+ createCustomApp: string;
14
+ createSkill: string;
15
+ createSkillWriteInstructions: string;
16
+ createSkillUpload: string;
17
+ createPrompt: string;
18
+ deleteError: string;
19
+ }
20
+ /**
21
+ * Injected editor-route URL builders, already closed over the host's own
22
+ * route paths and query-parameter scheme. The lib knows nothing about either
23
+ * — it only asks for "the URL to edit/create this kind of item".
24
+ */
25
+ export interface CatalogEditNavigationUrls {
26
+ /** URL to edit an existing prompt. */
27
+ buildPromptEditUrl(promptId: string): string;
28
+ /** URL to create a new prompt. */
29
+ buildPromptCreateUrl(): string;
30
+ /** URL to edit an existing skill. */
31
+ buildSkillEditUrl(skillId: string): string;
32
+ /** URL to create a new skill. */
33
+ buildSkillCreateUrl(): string;
34
+ /** URL to edit an existing toolset. */
35
+ buildToolsetEditUrl(toolsetId: string): string;
36
+ /** URL to create a new toolset. */
37
+ buildToolsetCreateUrl(): string;
38
+ /** URL to edit an existing custom (schema-less) app. */
39
+ buildCustomAppEditUrl(appId: string): string;
40
+ /** URL to create a new custom (schema-less) app. */
41
+ buildCustomAppCreateUrl(): string;
42
+ /** URL to edit an existing schema-based app (quick app or any other runner) under the given schema. */
43
+ buildQuickAppEditUrl(schemaId: string, appId: string): string;
44
+ /** URL to create a new schema-based app (quick app or any other runner) under the given schema. */
45
+ buildQuickAppCreateUrl(schemaId: string): string;
46
+ }
47
+ /** Parameters accepted by {@link useCatalogEditNavigation}. */
48
+ export interface UseCatalogEditNavigationParams {
49
+ deployments: DeploymentItemDto[];
50
+ isCustomAppsEnabled: boolean;
51
+ isSchemaAppsEnabled: boolean;
52
+ isHideCustomAppCreationEnabled: boolean;
53
+ isToolsetsEnabled: boolean;
54
+ isPromptsEnabled: boolean;
55
+ /** Application type schemas (runners) loaded at startup; each one except the custom-app schema gets its own Create option. */
56
+ schemas: ApplicationSchemaSummaryDto[];
57
+ /** Already-configured editor-route URL builders. */
58
+ urls: CatalogEditNavigationUrls;
59
+ /** Navigates the host to a URL built by `urls`. */
60
+ onNavigate: (url: string) => void;
61
+ /** Already-configured DIAL Core operation: deletes a personal or shared prompt. */
62
+ deletePrompt: (id: string) => Promise<unknown>;
63
+ /** Already-configured DIAL Core operation: deletes a toolset. */
64
+ deleteToolset: (id: string) => Promise<unknown>;
65
+ /** Already-configured DIAL Core operation: deletes a skill package. */
66
+ deleteSkill: (bucket: string, path: string) => Promise<unknown>;
67
+ /** Already-configured DIAL Core operation: deletes a deployment/application. */
68
+ deleteApplication: (id: string) => Promise<unknown>;
69
+ refetchPrompts: () => Promise<void>;
70
+ refetchToolsets: () => Promise<void>;
71
+ refetchSkills: () => Promise<void>;
72
+ refetchDeployments: () => Promise<void>;
73
+ /** Called after a successful delete, so the host can notify with its own entity/operation vocabulary. */
74
+ onDeleteSuccess: (item: CatalogItem) => void;
75
+ /** Localized notification copy, resolved by the host. */
76
+ labels: CatalogEditNavigationLabels;
77
+ /** Called to surface a host notification when a delete fails. */
78
+ onNotify: (notification: CatalogEditNavigationNotification) => void;
79
+ /** Called when the Create menu's Skill → Upload option is picked. */
80
+ onSkillUploadClick: () => void;
81
+ }
82
+ /** Return value of {@link useCatalogEditNavigation}. */
83
+ export interface UseCatalogEditNavigationResult {
84
+ handleEdit: (item: CatalogItem) => void;
85
+ handleDelete: (item: CatalogItem) => Promise<void>;
86
+ /** The Create dropdown's items: runners and static options sorted together by label, all filtered by `createSearch.value`. */
87
+ createOptions: DropdownItem[];
88
+ /** The Create menu's search field state, or `undefined` when no runner option is offered. */
89
+ createSearch: CatalogCreateSearch | undefined;
90
+ /** The Create menu narrowed to each entity type; models have no entry since they cannot be created. */
91
+ createMenuByType: Partial<Record<CatalogEntityType, CatalogTabCreateMenu>>;
92
+ }
93
+ /**
94
+ * Owns the catalog's edit/delete/create-menu navigation: routing the details
95
+ * panel's Edit action to the right editor URL for each item type, deleting an
96
+ * item through the endpoint its type owns and refetching/notifying on
97
+ * completion, and building the Create dropdown's options.
98
+ */
99
+ export declare const useCatalogEditNavigation: ({ deployments, isCustomAppsEnabled, isSchemaAppsEnabled, isHideCustomAppCreationEnabled, isToolsetsEnabled, isPromptsEnabled, schemas, urls, onNavigate, deletePrompt, deleteToolset, deleteSkill, deleteApplication, refetchPrompts, refetchToolsets, refetchSkills, refetchDeployments, onDeleteSuccess, labels, onNotify, onSkillUploadClick, }: UseCatalogEditNavigationParams) => UseCatalogEditNavigationResult;
100
+ //# sourceMappingURL=useCatalogEditNavigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCatalogEditNavigation.d.ts","sourceRoot":"","sources":["../../../src/catalog/useCatalogEditNavigation/useCatalogEditNavigation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,WAAW,EACX,oBAAoB,EACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EACV,2BAA2B,EAC3B,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAmBpD,2FAA2F;AAC3F,MAAM,WAAW,iCAAiC;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,6FAA6F;AAC7F,MAAM,WAAW,2BAA2B;IAC1C,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,4BAA4B,EAAE,MAAM,CAAC;IACrC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC,sCAAsC;IACtC,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7C,kCAAkC;IAClC,oBAAoB,IAAI,MAAM,CAAC;IAC/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