@epam/ai-dial-chat-hooks 1.3.0-dev.28 → 1.3.0-dev.282

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 (678) 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-error/api-error.js +2 -2
  4. package/api-transport/create-csrf-middleware.d.ts +15 -0
  5. package/api-transport/create-csrf-middleware.d.ts.map +1 -0
  6. package/api-transport/create-unauthorized-middleware.d.ts +40 -0
  7. package/api-transport/create-unauthorized-middleware.d.ts.map +1 -0
  8. package/api-transport/create-unauthorized-middleware.js +4 -1
  9. package/attachment/attach-constraints.d.ts +31 -0
  10. package/attachment/attach-constraints.d.ts.map +1 -0
  11. package/attachment/attach-constraints.js +18 -0
  12. package/attachment/useAttachmentAction/useAttachmentAction.d.ts +32 -0
  13. package/attachment/useAttachmentAction/useAttachmentAction.d.ts.map +1 -0
  14. package/attachment/useAttachmentAction/useAttachmentAction.js +25 -28
  15. package/attachment/useAttachmentValidation/useAttachmentValidation.d.ts +50 -0
  16. package/attachment/useAttachmentValidation/useAttachmentValidation.d.ts.map +1 -0
  17. package/attachments.d.ts +2 -94
  18. package/attachments.js +2 -1
  19. package/catalog/application-credentials.d.ts +15 -0
  20. package/catalog/application-credentials.d.ts.map +1 -0
  21. package/catalog/application-credentials.js +33 -0
  22. package/catalog/catalog-derivations.d.ts +29 -0
  23. package/catalog/catalog-derivations.d.ts.map +1 -0
  24. package/catalog/catalog-derivations.js +13 -6
  25. package/catalog/catalog-entity-kind.d.ts +31 -0
  26. package/catalog/catalog-entity-kind.d.ts.map +1 -0
  27. package/catalog/catalog-entity-kind.js +21 -0
  28. package/catalog/catalog-preferences.d.ts +8 -0
  29. package/catalog/catalog-preferences.d.ts.map +1 -0
  30. package/catalog/catalog-preferences.js +5 -0
  31. package/catalog/catalog-primary-action.d.ts +47 -0
  32. package/catalog/catalog-primary-action.d.ts.map +1 -0
  33. package/catalog/create-publish-api.d.ts +34 -0
  34. package/catalog/create-publish-api.d.ts.map +1 -0
  35. package/catalog/create-publish-api.js +4 -0
  36. package/catalog/deployment-endpoint-url.d.ts +19 -0
  37. package/catalog/deployment-endpoint-url.d.ts.map +1 -0
  38. package/catalog/deployment-id.d.ts +51 -0
  39. package/catalog/deployment-id.d.ts.map +1 -0
  40. package/catalog/deployment-id.js +17 -3
  41. package/catalog/entity-details.d.ts +148 -0
  42. package/catalog/entity-details.d.ts.map +1 -0
  43. package/catalog/favorite-entity-type.d.ts +5 -0
  44. package/catalog/favorite-entity-type.d.ts.map +1 -0
  45. package/catalog/favorite-entity-type.js +10 -0
  46. package/catalog/map-deployment-limits-to-catalog.d.ts +34 -0
  47. package/catalog/map-deployment-limits-to-catalog.d.ts.map +1 -0
  48. package/catalog/map-deployment-limits-to-input.d.ts +29 -0
  49. package/catalog/map-deployment-limits-to-input.d.ts.map +1 -0
  50. package/catalog/map-deployment-limits-to-input.js +3 -4
  51. package/catalog/map-deployment-to-catalog-item.d.ts +72 -0
  52. package/catalog/map-deployment-to-catalog-item.d.ts.map +1 -0
  53. package/catalog/map-deployment-to-catalog-item.js +17 -12
  54. package/catalog/map-entity-details-to-catalog.d.ts +81 -0
  55. package/catalog/map-entity-details-to-catalog.d.ts.map +1 -0
  56. package/catalog/map-entity-details-to-catalog.js +69 -24
  57. package/catalog/map-prompt-to-catalog-item.d.ts +43 -0
  58. package/catalog/map-prompt-to-catalog-item.d.ts.map +1 -0
  59. package/catalog/map-skill-to-catalog-item.d.ts +112 -0
  60. package/catalog/map-skill-to-catalog-item.d.ts.map +1 -0
  61. package/catalog/map-skill-to-catalog-item.js +11 -20
  62. package/catalog/mcp-endpoint-url.d.ts +18 -0
  63. package/catalog/mcp-endpoint-url.d.ts.map +1 -0
  64. package/catalog/publish.d.ts +35 -0
  65. package/catalog/publish.d.ts.map +1 -0
  66. package/catalog/usage-limit-rows.d.ts +14 -0
  67. package/catalog/usage-limit-rows.d.ts.map +1 -0
  68. package/catalog/usage-limit-rows.js +19 -0
  69. package/catalog/useApplicationCredentials/useApplicationCredentials.d.ts +19 -0
  70. package/catalog/useApplicationCredentials/useApplicationCredentials.d.ts.map +1 -0
  71. package/catalog/useCatalogEditNavigation/useCatalogEditNavigation.d.ts +119 -0
  72. package/catalog/useCatalogEditNavigation/useCatalogEditNavigation.d.ts.map +1 -0
  73. package/catalog/useCatalogEditNavigation/useCatalogEditNavigation.js +99 -80
  74. package/catalog/useCatalogItemDetails.d.ts +70 -0
  75. package/catalog/useCatalogItemDetails.d.ts.map +1 -0
  76. package/catalog/useCatalogToolsetCredentials/useCatalogToolsetCredentials.d.ts +76 -0
  77. package/catalog/useCatalogToolsetCredentials/useCatalogToolsetCredentials.d.ts.map +1 -0
  78. package/catalog/useCatalogToolsetCredentials/useCatalogToolsetCredentials.js +24 -24
  79. package/catalog/useFavoriteEntitiesState/useFavoriteEntitiesState.d.ts +37 -0
  80. package/catalog/useFavoriteEntitiesState/useFavoriteEntitiesState.d.ts.map +1 -0
  81. package/catalog/useFavoriteEntitiesState/useFavoriteEntitiesState.js +1 -1
  82. package/catalog/usePublishFolders/usePublishFolders.d.ts +73 -0
  83. package/catalog/usePublishFolders/usePublishFolders.d.ts.map +1 -0
  84. package/catalog/usePublishFolders/usePublishFolders.js +1 -1
  85. package/catalog/useSkillDetailsPanelData/useSkillDetailsPanelData.d.ts +54 -0
  86. package/catalog/useSkillDetailsPanelData/useSkillDetailsPanelData.d.ts.map +1 -0
  87. package/catalog/useSkillItemDetails.d.ts +64 -0
  88. package/catalog/useSkillItemDetails.d.ts.map +1 -0
  89. package/catalog/useSkillItemDetails.js +3 -3
  90. package/catalog.d.ts +2 -1436
  91. package/catalog.js +28 -23
  92. package/conversation/announcement-message.d.ts +61 -0
  93. package/conversation/announcement-message.d.ts.map +1 -0
  94. package/conversation/conversation-draft/conversation-draft-store.d.ts +21 -0
  95. package/conversation/conversation-draft/conversation-draft-store.d.ts.map +1 -0
  96. package/conversation/conversation-draft/conversation-draft-store.js +84 -0
  97. package/conversation/conversation-draft/conversation-draft.d.ts +48 -0
  98. package/conversation/conversation-draft/conversation-draft.d.ts.map +1 -0
  99. package/conversation/conversation-list.d.ts +6 -0
  100. package/conversation/conversation-list.d.ts.map +1 -0
  101. package/conversation/conversation-list.js +5 -0
  102. package/conversation/conversation-transfer/async.d.ts +10 -0
  103. package/conversation/conversation-transfer/async.d.ts.map +1 -0
  104. package/conversation/conversation-transfer/attachment-refs.d.ts +50 -0
  105. package/conversation/conversation-transfer/attachment-refs.d.ts.map +1 -0
  106. package/conversation/conversation-transfer/attachment-refs.js +31 -9
  107. package/conversation/conversation-transfer/build-upload-path.d.ts +42 -0
  108. package/conversation/conversation-transfer/build-upload-path.d.ts.map +1 -0
  109. package/conversation/conversation-transfer/date.d.ts +5 -0
  110. package/conversation/conversation-transfer/date.d.ts.map +1 -0
  111. package/conversation/conversation-transfer/dial-file-resolve.d.ts +10 -0
  112. package/conversation/conversation-transfer/dial-file-resolve.d.ts.map +1 -0
  113. package/conversation/conversation-transfer/export-conversation.d.ts +14 -0
  114. package/conversation/conversation-transfer/export-conversation.d.ts.map +1 -0
  115. package/conversation/conversation-transfer/export-conversation.js +19 -18
  116. package/conversation/conversation-transfer/import-conversation.d.ts +111 -0
  117. package/conversation/conversation-transfer/import-conversation.d.ts.map +1 -0
  118. package/conversation/conversation-transfer/import-conversation.js +65 -69
  119. package/conversation/conversation-transfer/progress.d.ts +60 -0
  120. package/conversation/conversation-transfer/progress.d.ts.map +1 -0
  121. package/conversation/conversation-transfer/progress.js +1 -1
  122. package/conversation/conversation-transfer/queue.d.ts +54 -0
  123. package/conversation/conversation-transfer/queue.d.ts.map +1 -0
  124. package/conversation/conversation-transfer/types.d.ts +36 -0
  125. package/conversation/conversation-transfer/types.d.ts.map +1 -0
  126. package/conversation/conversation-transfer/zip-export.d.ts +31 -0
  127. package/conversation/conversation-transfer/zip-export.d.ts.map +1 -0
  128. package/conversation/conversation-transfer/zip-export.js +1 -7
  129. package/conversation/conversation-transfer/zip-import.d.ts +17 -0
  130. package/conversation/conversation-transfer/zip-import.d.ts.map +1 -0
  131. package/conversation/conversation-transfer/zip-import.js +1 -1
  132. package/conversation/create-chat-stream-api.d.ts +109 -0
  133. package/conversation/create-chat-stream-api.d.ts.map +1 -0
  134. package/conversation/create-chat-stream-api.js +57 -47
  135. package/conversation/deriveConversationRowActionState/deriveConversationRowActionState.d.ts +39 -0
  136. package/conversation/deriveConversationRowActionState/deriveConversationRowActionState.d.ts.map +1 -0
  137. package/conversation/display-name-watch.d.ts +4 -0
  138. package/conversation/display-name-watch.d.ts.map +1 -0
  139. package/conversation/footer-message.d.ts +10 -0
  140. package/conversation/footer-message.d.ts.map +1 -0
  141. package/conversation/generation-registry.d.ts +30 -0
  142. package/conversation/generation-registry.d.ts.map +1 -0
  143. package/conversation/generation-registry.js +33 -0
  144. package/conversation/get-model-id-from-conversation-id.d.ts +38 -0
  145. package/conversation/get-model-id-from-conversation-id.d.ts.map +1 -0
  146. package/conversation/get-model-id-from-conversation-id.js +1 -1
  147. package/conversation/greeting.d.ts +18 -0
  148. package/conversation/greeting.d.ts.map +1 -0
  149. package/conversation/message-factory.d.ts +7 -0
  150. package/conversation/message-factory.d.ts.map +1 -0
  151. package/conversation/message-utils.d.ts +73 -0
  152. package/conversation/message-utils.d.ts.map +1 -0
  153. package/conversation/message-utils.js +14 -10
  154. package/conversation/overlay-messages.d.ts +5 -0
  155. package/conversation/overlay-messages.d.ts.map +1 -0
  156. package/conversation/quick-app-conversation-starters.d.ts +10 -0
  157. package/conversation/quick-app-conversation-starters.d.ts.map +1 -0
  158. package/conversation/scheduled-task-grouping.d.ts +48 -0
  159. package/conversation/scheduled-task-grouping.d.ts.map +1 -0
  160. package/conversation/scheduled-task-grouping.js +40 -0
  161. package/conversation/stage.d.ts +77 -0
  162. package/conversation/stage.d.ts.map +1 -0
  163. package/conversation/starter-option.d.ts +21 -0
  164. package/conversation/starter-option.d.ts.map +1 -0
  165. package/conversation/useActiveConversationSync/useActiveConversationSync.d.ts +37 -0
  166. package/conversation/useActiveConversationSync/useActiveConversationSync.d.ts.map +1 -0
  167. package/conversation/useActiveConversationSync/useActiveConversationSync.js +19 -12
  168. package/conversation/useAsyncConfirmDialog/useAsyncConfirmDialog.d.ts +46 -0
  169. package/conversation/useAsyncConfirmDialog/useAsyncConfirmDialog.d.ts.map +1 -0
  170. package/conversation/useAttachmentUpload/useAttachmentUpload.d.ts +27 -0
  171. package/conversation/useAttachmentUpload/useAttachmentUpload.d.ts.map +1 -0
  172. package/conversation/useAttachmentUpload/useAttachmentUpload.js +4 -1
  173. package/conversation/useConversationComposerDraft/useConversationComposerDraft.d.ts +39 -0
  174. package/conversation/useConversationComposerDraft/useConversationComposerDraft.d.ts.map +1 -0
  175. package/conversation/useConversationComposerDraft/useConversationComposerDraft.js +128 -0
  176. package/conversation/useConversationDiscovery/useConversationDiscovery.d.ts +22 -0
  177. package/conversation/useConversationDiscovery/useConversationDiscovery.d.ts.map +1 -0
  178. package/conversation/useConversationDiscovery/useConversationDiscovery.js +60 -0
  179. package/conversation/useConversationExport/useConversationExport.d.ts +72 -0
  180. package/conversation/useConversationExport/useConversationExport.d.ts.map +1 -0
  181. package/conversation/useConversationExport/useConversationExport.js +59 -60
  182. package/conversation/useConversationHandlers/attachment-to-dto.d.ts +7 -0
  183. package/conversation/useConversationHandlers/attachment-to-dto.d.ts.map +1 -0
  184. package/conversation/useConversationHandlers/message-factory.d.ts +9 -0
  185. package/conversation/useConversationHandlers/message-factory.d.ts.map +1 -0
  186. package/conversation/useConversationHandlers/message-utils.d.ts +38 -0
  187. package/conversation/useConversationHandlers/message-utils.d.ts.map +1 -0
  188. package/conversation/useConversationHandlers/message-utils.js +2 -2
  189. package/conversation/useConversationHandlers/starter-option.d.ts +24 -0
  190. package/conversation/useConversationHandlers/starter-option.d.ts.map +1 -0
  191. package/conversation/useConversationHandlers/useConversationHandlers.d.ts +66 -0
  192. package/conversation/useConversationHandlers/useConversationHandlers.d.ts.map +1 -0
  193. package/conversation/useConversationHandlers/useConversationHandlers.js +2 -2
  194. package/conversation/useConversationImport/useConversationImport.d.ts +54 -0
  195. package/conversation/useConversationImport/useConversationImport.d.ts.map +1 -0
  196. package/conversation/useConversationImport/useConversationImport.js +24 -24
  197. package/conversation/useConversationLookupMaps/useConversationLookupMaps.d.ts +24 -0
  198. package/conversation/useConversationLookupMaps/useConversationLookupMaps.d.ts.map +1 -0
  199. package/conversation/useConversationPanelItems/useConversationPanelItems.d.ts +65 -0
  200. package/conversation/useConversationPanelItems/useConversationPanelItems.d.ts.map +1 -0
  201. package/conversation/useConversationPanelItems/useConversationPanelItems.js +34 -30
  202. package/conversation/useConversationScroll/useConversationScroll.d.ts +46 -0
  203. package/conversation/useConversationScroll/useConversationScroll.d.ts.map +1 -0
  204. package/conversation/useConversationScroll/useConversationScroll.js +2 -6
  205. package/conversation/useConversationStream/apply-chunk.d.ts +35 -0
  206. package/conversation/useConversationStream/apply-chunk.d.ts.map +1 -0
  207. package/conversation/useConversationStream/buffered-generation.d.ts +15 -0
  208. package/conversation/useConversationStream/buffered-generation.d.ts.map +1 -0
  209. package/conversation/useConversationStream/conversation-path.d.ts +7 -0
  210. package/conversation/useConversationStream/conversation-path.d.ts.map +1 -0
  211. package/conversation/useConversationStream/conversation-path.js +2 -2
  212. package/conversation/useConversationStream/frame-scheduler.d.ts +14 -0
  213. package/conversation/useConversationStream/frame-scheduler.d.ts.map +1 -0
  214. package/conversation/useConversationStream/frame-scheduler.js +17 -17
  215. package/conversation/useConversationStream/generation-resume.d.ts +98 -0
  216. package/conversation/useConversationStream/generation-resume.d.ts.map +1 -0
  217. package/conversation/useConversationStream/generation-resume.js +93 -122
  218. package/conversation/useConversationStream/useConversationStream.d.ts +145 -0
  219. package/conversation/useConversationStream/useConversationStream.d.ts.map +1 -0
  220. package/conversation/useConversationStream/useConversationStream.js +250 -241
  221. package/conversation/useConversationTitleEnrichmentController.d.ts +64 -0
  222. package/conversation/useConversationTitleEnrichmentController.d.ts.map +1 -0
  223. package/conversation/useConversationTitleEnrichmentController.js +155 -0
  224. package/conversation/useDeploymentChangeTracking.d.ts +14 -0
  225. package/conversation/useDeploymentChangeTracking.d.ts.map +1 -0
  226. package/conversation/useDeploymentChangeTracking.js +23 -0
  227. package/conversation/useEntityPreselection/useEntityPreselection.d.ts +108 -0
  228. package/conversation/useEntityPreselection/useEntityPreselection.d.ts.map +1 -0
  229. package/conversation/useEntityPreselection/useEntityPreselection.js +78 -0
  230. package/conversation/useImportFilePicker/useImportFilePicker.d.ts +32 -0
  231. package/conversation/useImportFilePicker/useImportFilePicker.d.ts.map +1 -0
  232. package/conversation/useMessageSelectionReply/useMessageSelectionReply.d.ts +42 -0
  233. package/conversation/useMessageSelectionReply/useMessageSelectionReply.d.ts.map +1 -0
  234. package/conversation/useMessageSelectionReply/useMessageSelectionReply.js +4 -10
  235. package/conversation/useTranscribeAudio/audio-transcription-error.d.ts +19 -0
  236. package/conversation/useTranscribeAudio/audio-transcription-error.d.ts.map +1 -0
  237. package/conversation/useTranscribeAudio/transcription-retry.d.ts +2 -0
  238. package/conversation/useTranscribeAudio/transcription-retry.d.ts.map +1 -0
  239. package/conversation/useTranscribeAudio/useTranscribeAudio.d.ts +50 -0
  240. package/conversation/useTranscribeAudio/useTranscribeAudio.d.ts.map +1 -0
  241. package/conversation/useTranscribeAudio/useTranscribeAudio.js +36 -27
  242. package/conversation/useVisibleConversationIdsReporter/useVisibleConversationIdsReporter.d.ts +16 -0
  243. package/conversation/useVisibleConversationIdsReporter/useVisibleConversationIdsReporter.d.ts.map +1 -0
  244. package/conversation/useVisibleConversationIdsReporter/useVisibleConversationIdsReporter.js +17 -0
  245. package/conversation-overlay.d.ts +2 -7
  246. package/conversation-overlay.js +1 -2
  247. package/conversation-sources/stage-citations.d.ts +9 -0
  248. package/conversation-sources/stage-citations.d.ts.map +1 -0
  249. package/conversation-sources/stage-citations.js +8 -0
  250. package/conversation-sources/useConversationAnnotationPool/useConversationAnnotationPool.d.ts +4 -0
  251. package/conversation-sources/useConversationAnnotationPool/useConversationAnnotationPool.d.ts.map +1 -0
  252. package/conversation-sources/useConversationAnnotationPool/useConversationAnnotationPool.js +5 -0
  253. package/conversation-sources/useConversationSources/useConversationSources.d.ts +20 -0
  254. package/conversation-sources/useConversationSources/useConversationSources.d.ts.map +1 -0
  255. package/conversation-sources.d.ts +2 -25
  256. package/conversation-sources.js +3 -1
  257. package/conversation-transfer.d.ts +2 -190
  258. package/conversation.d.ts +2 -1372
  259. package/conversation.js +42 -32
  260. package/entry-points/attachments.d.ts +4 -0
  261. package/entry-points/attachments.d.ts.map +1 -0
  262. package/entry-points/catalog.d.ts +30 -0
  263. package/entry-points/catalog.d.ts.map +1 -0
  264. package/entry-points/conversation-overlay.d.ts +2 -0
  265. package/entry-points/conversation-overlay.d.ts.map +1 -0
  266. package/entry-points/conversation-sources.d.ts +4 -0
  267. package/entry-points/conversation-sources.d.ts.map +1 -0
  268. package/entry-points/conversation-transfer.d.ts +7 -0
  269. package/entry-points/conversation-transfer.d.ts.map +1 -0
  270. package/entry-points/conversation.d.ts +44 -0
  271. package/entry-points/conversation.d.ts.map +1 -0
  272. package/entry-points/external-services.d.ts +2 -0
  273. package/entry-points/external-services.d.ts.map +1 -0
  274. package/entry-points/file-manager-canvas.d.ts +3 -0
  275. package/entry-points/file-manager-canvas.d.ts.map +1 -0
  276. package/entry-points/file-manager.d.ts +33 -0
  277. package/entry-points/file-manager.d.ts.map +1 -0
  278. package/entry-points/mcp-apps.d.ts +6 -0
  279. package/entry-points/mcp-apps.d.ts.map +1 -0
  280. package/entry-points/oauth.d.ts +10 -0
  281. package/entry-points/oauth.d.ts.map +1 -0
  282. package/entry-points/offline-credentials.d.ts +7 -0
  283. package/entry-points/offline-credentials.d.ts.map +1 -0
  284. package/entry-points/project.d.ts +10 -0
  285. package/entry-points/project.d.ts.map +1 -0
  286. package/entry-points/scheduled-tasks.d.ts +13 -0
  287. package/entry-points/scheduled-tasks.d.ts.map +1 -0
  288. package/entry-points/scroll-anchoring.d.ts +2 -0
  289. package/entry-points/scroll-anchoring.d.ts.map +1 -0
  290. package/entry-points/sharing.d.ts +3 -0
  291. package/entry-points/sharing.d.ts.map +1 -0
  292. package/entry-points/skill-editor.d.ts +11 -0
  293. package/entry-points/skill-editor.d.ts.map +1 -0
  294. package/entry-points/skills-state.d.ts +3 -0
  295. package/entry-points/skills-state.d.ts.map +1 -0
  296. package/entry-points/source-content.d.ts +2 -0
  297. package/entry-points/source-content.d.ts.map +1 -0
  298. package/entry-points/usage-limits.d.ts +8 -0
  299. package/entry-points/usage-limits.d.ts.map +1 -0
  300. package/entry-points/usage.d.ts +3 -0
  301. package/entry-points/usage.d.ts.map +1 -0
  302. package/entry-points/utils.d.ts +21 -0
  303. package/entry-points/utils.d.ts.map +1 -0
  304. package/entry-points/viewport-layout.d.ts +5 -0
  305. package/entry-points/viewport-layout.d.ts.map +1 -0
  306. package/external-services/useExternalServiceLogin.d.ts +109 -0
  307. package/external-services/useExternalServiceLogin.d.ts.map +1 -0
  308. package/external-services/useExternalServiceLogin.js +102 -0
  309. package/external-services.d.ts +2 -0
  310. package/external-services.js +1 -0
  311. package/file-manager-canvas.d.ts +2 -418
  312. package/file-manager-canvas.js +3 -2
  313. package/file-manager.d.ts +2 -1250
  314. package/file-manager.js +32 -30
  315. package/files/annotation.d.ts +10 -0
  316. package/files/annotation.d.ts.map +1 -0
  317. package/files/attachment-canvas.d.ts +135 -0
  318. package/files/attachment-canvas.d.ts.map +1 -0
  319. package/files/attachment-canvas.js +18 -10
  320. package/files/attachment-dto-to-display.d.ts +10 -0
  321. package/files/attachment-dto-to-display.d.ts.map +1 -0
  322. package/files/attachment-dto-to-display.js +13 -12
  323. package/files/attachment-types.d.ts +21 -0
  324. package/files/attachment-types.d.ts.map +1 -0
  325. package/files/attachment-types.js +1 -1
  326. package/files/browser-download.d.ts +9 -0
  327. package/files/browser-download.d.ts.map +1 -0
  328. package/files/browser-download.js +23 -0
  329. package/files/create-files-api.d.ts +52 -0
  330. package/files/create-files-api.d.ts.map +1 -0
  331. package/files/create-files-api.js +1 -1
  332. package/files/create-upload-file-with-progress.d.ts +44 -0
  333. package/files/create-upload-file-with-progress.d.ts.map +1 -0
  334. package/files/create-upload-file-with-progress.js +50 -34
  335. package/files/dial-file-manager-copy-move.util.d.ts +15 -0
  336. package/files/dial-file-manager-copy-move.util.d.ts.map +1 -0
  337. package/files/dial-file-manager-mapping.util.d.ts +55 -0
  338. package/files/dial-file-manager-mapping.util.d.ts.map +1 -0
  339. package/files/dial-file-manager-mapping.util.js +97 -69
  340. package/files/dial-file-manager-path.util.d.ts +48 -0
  341. package/files/dial-file-manager-path.util.d.ts.map +1 -0
  342. package/files/dial-file-manager.model.d.ts +36 -0
  343. package/files/dial-file-manager.model.d.ts.map +1 -0
  344. package/files/dial-file-manager.types.d.ts +337 -0
  345. package/files/dial-file-manager.types.d.ts.map +1 -0
  346. package/files/dial-file-to-attachment.d.ts +26 -0
  347. package/files/dial-file-to-attachment.d.ts.map +1 -0
  348. package/files/dial-file-to-attachment.js +3 -3
  349. package/files/dial-file.d.ts +36 -0
  350. package/files/dial-file.d.ts.map +1 -0
  351. package/files/dial-file.js +20 -12
  352. package/files/dial-files-api.d.ts +71 -0
  353. package/files/dial-files-api.d.ts.map +1 -0
  354. package/files/download-destination.d.ts +31 -0
  355. package/files/download-destination.d.ts.map +1 -0
  356. package/files/download-progress.d.ts +33 -0
  357. package/files/download-progress.d.ts.map +1 -0
  358. package/files/download-progress.js +28 -0
  359. package/files/file-manager-variant.d.ts +3 -0
  360. package/files/file-manager-variant.d.ts.map +1 -0
  361. package/files/file-name.d.ts +19 -0
  362. package/files/file-name.d.ts.map +1 -0
  363. package/files/prepare-download-destination.d.ts +8 -0
  364. package/files/prepare-download-destination.d.ts.map +1 -0
  365. package/files/resolve-dial-file-api-path.d.ts +12 -0
  366. package/files/resolve-dial-file-api-path.d.ts.map +1 -0
  367. package/files/source-content.d.ts +28 -0
  368. package/files/source-content.d.ts.map +1 -0
  369. package/files/source-content.js +1 -1
  370. package/files/useDialFileListing/useDialFileListing.d.ts +82 -0
  371. package/files/useDialFileListing/useDialFileListing.d.ts.map +1 -0
  372. package/files/useDialFileListing/useDialFileListing.js +171 -183
  373. package/files/useDialFileManager/useDialFileManager.d.ts +16 -0
  374. package/files/useDialFileManager/useDialFileManager.d.ts.map +1 -0
  375. package/files/useDialFileManager/useDialFileManager.js +5 -2
  376. package/files/useDialFileManagerSections/useDialFileManagerSections.d.ts +25 -0
  377. package/files/useDialFileManagerSections/useDialFileManagerSections.d.ts.map +1 -0
  378. package/files/useDialFileManagerSections/useDialFileManagerSections.js +59 -68
  379. package/files/useDialFileManagerTabConfig/useDialFileManagerTabConfig.d.ts +15 -0
  380. package/files/useDialFileManagerTabConfig/useDialFileManagerTabConfig.d.ts.map +1 -0
  381. package/files/useDialFileManagerTabConfig/useDialFileManagerTabConfig.js +1 -1
  382. package/files/useDialFileMetadata/useDialFileMetadata.d.ts +28 -0
  383. package/files/useDialFileMetadata/useDialFileMetadata.d.ts.map +1 -0
  384. package/files/useDialFileMetadata/useDialFileMetadata.js +3 -3
  385. package/files/useDialFileMutations/useDialFileMutations.d.ts +77 -0
  386. package/files/useDialFileMutations/useDialFileMutations.d.ts.map +1 -0
  387. package/files/useDialFileMutations/useDialFileMutations.js +230 -159
  388. package/files/useDialFilePreview/useDialFilePreview.d.ts +33 -0
  389. package/files/useDialFilePreview/useDialFilePreview.d.ts.map +1 -0
  390. package/files/useDialFilePreview/useDialFilePreview.js +45 -0
  391. package/files/useDialFileSharing/useDialFileSharing.d.ts +34 -0
  392. package/files/useDialFileSharing/useDialFileSharing.d.ts.map +1 -0
  393. package/files/useDialFileUploadBatch/useDialFileUploadBatch.d.ts +47 -0
  394. package/files/useDialFileUploadBatch/useDialFileUploadBatch.d.ts.map +1 -0
  395. package/files/useDialFileUploadBatch/useDialFileUploadBatch.js +114 -103
  396. package/files/useFileAttachmentModalState/useFileAttachmentModalState.d.ts +25 -0
  397. package/files/useFileAttachmentModalState/useFileAttachmentModalState.d.ts.map +1 -0
  398. package/files/useFileAttachmentModalState/useFileAttachmentModalState.js +19 -0
  399. package/files/useFileAttachmentPicker/useFileAttachmentPicker.d.ts +59 -0
  400. package/files/useFileAttachmentPicker/useFileAttachmentPicker.d.ts.map +1 -0
  401. package/files/useFileAttachmentPicker/useFileAttachmentPicker.js +2 -2
  402. package/files/useUnshareConfirmationState/useUnshareConfirmationState.d.ts +23 -0
  403. package/files/useUnshareConfirmationState/useUnshareConfirmationState.d.ts.map +1 -0
  404. package/files/useUnshareConfirmationState/useUnshareConfirmationState.js +18 -0
  405. package/index.d.ts +210 -6990
  406. package/index.d.ts.map +1 -0
  407. package/index.js +204 -146
  408. package/mcp-apps/mcp-apps-api-client.d.ts +28 -0
  409. package/mcp-apps/mcp-apps-api-client.d.ts.map +1 -0
  410. package/mcp-apps/mcp-apps-api-client.js +18 -17
  411. package/mcp-apps/useMcpAppHostAdapter/useMcpAppHostAdapter.d.ts +14 -0
  412. package/mcp-apps/useMcpAppHostAdapter/useMcpAppHostAdapter.d.ts.map +1 -0
  413. package/mcp-apps/useMcpAppHostContext/useMcpAppHostContext.d.ts +30 -0
  414. package/mcp-apps/useMcpAppHostContext/useMcpAppHostContext.d.ts.map +1 -0
  415. package/mcp-apps/useMcpAppHostContext/useMcpAppHostContext.js +28 -10
  416. package/mcp-apps/useMcpAppTools/useMcpAppTools.d.ts +22 -0
  417. package/mcp-apps/useMcpAppTools/useMcpAppTools.d.ts.map +1 -0
  418. package/mcp-apps/useMcpAppTools/useMcpAppTools.js +28 -31
  419. package/mcp-apps/useOpenMcpAppCanvas/useOpenMcpAppCanvas.d.ts +36 -0
  420. package/mcp-apps/useOpenMcpAppCanvas/useOpenMcpAppCanvas.d.ts.map +1 -0
  421. package/mcp-apps.d.ts +2 -256
  422. package/oauth/authorize-url.d.ts +16 -0
  423. package/oauth/authorize-url.d.ts.map +1 -0
  424. package/oauth/authorize-url.js +1 -1
  425. package/oauth/handshake.d.ts +30 -0
  426. package/oauth/handshake.d.ts.map +1 -0
  427. package/oauth/handshake.js +3 -10
  428. package/oauth/models.d.ts +81 -0
  429. package/oauth/models.d.ts.map +1 -0
  430. package/oauth/popup.d.ts +30 -0
  431. package/oauth/popup.d.ts.map +1 -0
  432. package/oauth/popup.js +19 -17
  433. package/oauth/toolset-id.d.ts +60 -0
  434. package/oauth/toolset-id.d.ts.map +1 -0
  435. package/oauth/toolset-id.js +9 -2
  436. package/oauth/types.d.ts +84 -0
  437. package/oauth/types.d.ts.map +1 -0
  438. package/oauth/useOAuthCallbackCompletion/useOAuthCallbackCompletion.d.ts +54 -0
  439. package/oauth/useOAuthCallbackCompletion/useOAuthCallbackCompletion.d.ts.map +1 -0
  440. package/oauth/useOAuthCallbackCompletion/useOAuthCallbackCompletion.js +41 -42
  441. package/oauth/useToolsetLogin/useToolsetLogin.d.ts +79 -0
  442. package/oauth/useToolsetLogin/useToolsetLogin.d.ts.map +1 -0
  443. package/oauth/useToolsetLogin/useToolsetLogin.js +2 -1
  444. package/oauth.d.ts +2 -472
  445. package/oauth.js +8 -8
  446. package/offline-credentials/map-offline-credentials-response.d.ts +20 -0
  447. package/offline-credentials/map-offline-credentials-response.d.ts.map +1 -0
  448. package/offline-credentials/map-offline-credentials-response.js +17 -0
  449. package/offline-credentials/scheduled-tasks-login-banner.d.ts +31 -0
  450. package/offline-credentials/scheduled-tasks-login-banner.d.ts.map +1 -0
  451. package/offline-credentials/scheduled-tasks-login-banner.js +17 -0
  452. package/offline-credentials/useOfflineCredentialsAuth/useOfflineCredentialsAuth.d.ts +58 -0
  453. package/offline-credentials/useOfflineCredentialsAuth/useOfflineCredentialsAuth.d.ts.map +1 -0
  454. package/offline-credentials/useOfflineCredentialsAuth/useOfflineCredentialsAuth.js +37 -0
  455. package/offline-credentials/useOfflineCredentialsGate/useOfflineCredentialsGate.d.ts +61 -0
  456. package/offline-credentials/useOfflineCredentialsGate/useOfflineCredentialsGate.d.ts.map +1 -0
  457. package/offline-credentials/useOfflineCredentialsGate/useOfflineCredentialsGate.js +37 -0
  458. package/offline-credentials/useOfflineCredentialsLogin/useOfflineCredentialsLogin.d.ts +28 -0
  459. package/offline-credentials/useOfflineCredentialsLogin/useOfflineCredentialsLogin.d.ts.map +1 -0
  460. package/offline-credentials/useOfflineCredentialsLogin/useOfflineCredentialsLogin.js +29 -0
  461. package/offline-credentials.d.ts +2 -0
  462. package/offline-credentials.js +7 -0
  463. package/package.json +49 -25
  464. package/project/project-events.d.ts +14 -0
  465. package/project/project-events.d.ts.map +1 -0
  466. package/project/project-events.js +24 -0
  467. package/project/project-form-errors.d.ts +23 -0
  468. package/project/project-form-errors.d.ts.map +1 -0
  469. package/project/project-form-errors.js +46 -0
  470. package/project/project-limits.d.ts +17 -0
  471. package/project/project-limits.d.ts.map +1 -0
  472. package/project/project-limits.js +11 -0
  473. package/project/project-mapping.d.ts +11 -0
  474. package/project/project-mapping.d.ts.map +1 -0
  475. package/project/project-mapping.js +36 -0
  476. package/project/projects-api-client.d.ts +164 -0
  477. package/project/projects-api-client.d.ts.map +1 -0
  478. package/project/projects-api-client.js +86 -0
  479. package/project/use-project-actions.d.ts +48 -0
  480. package/project/use-project-actions.d.ts.map +1 -0
  481. package/project/use-project-actions.js +89 -0
  482. package/project/use-project-conversations.d.ts +27 -0
  483. package/project/use-project-conversations.d.ts.map +1 -0
  484. package/project/use-project-conversations.js +109 -0
  485. package/project/use-project-submit.d.ts +49 -0
  486. package/project/use-project-submit.d.ts.map +1 -0
  487. package/project/use-project-submit.js +73 -0
  488. package/project/use-project.d.ts +20 -0
  489. package/project/use-project.d.ts.map +1 -0
  490. package/project/use-project.js +48 -0
  491. package/project/use-projects.d.ts +27 -0
  492. package/project/use-projects.d.ts.map +1 -0
  493. package/project/use-projects.js +111 -0
  494. package/project.d.ts +2 -0
  495. package/project.js +10 -0
  496. package/prompt/export-prompt.d.ts +31 -0
  497. package/prompt/export-prompt.d.ts.map +1 -0
  498. package/prompt/prompt-resource.d.ts +30 -0
  499. package/prompt/prompt-resource.d.ts.map +1 -0
  500. package/prompt/prompt.d.ts +34 -0
  501. package/prompt/prompt.d.ts.map +1 -0
  502. package/prompt/usePromptsState/usePromptsState.d.ts +34 -0
  503. package/prompt/usePromptsState/usePromptsState.d.ts.map +1 -0
  504. package/scheduled-task/active-scheduled-task.d.ts +58 -0
  505. package/scheduled-task/active-scheduled-task.d.ts.map +1 -0
  506. package/scheduled-task/active-scheduled-task.js +18 -0
  507. package/scheduled-task/check-scheduled-task-auth-session-error.d.ts +27 -0
  508. package/scheduled-task/check-scheduled-task-auth-session-error.d.ts.map +1 -0
  509. package/scheduled-task/check-scheduled-task-auth-session-error.js +17 -0
  510. package/scheduled-task/scheduled-task-description.d.ts +41 -0
  511. package/scheduled-task/scheduled-task-description.d.ts.map +1 -0
  512. package/scheduled-task/scheduled-task-description.js +37 -28
  513. package/scheduled-task/scheduled-task-mapping.d.ts +19 -0
  514. package/scheduled-task/scheduled-task-mapping.d.ts.map +1 -0
  515. package/scheduled-task/scheduled-task-next-occurrence.d.ts +9 -0
  516. package/scheduled-task/scheduled-task-next-occurrence.d.ts.map +1 -0
  517. package/scheduled-task/scheduled-task-next-occurrence.js +20 -0
  518. package/scheduled-task/scheduled-task-preparation.d.ts +19 -0
  519. package/scheduled-task/scheduled-task-preparation.d.ts.map +1 -0
  520. package/scheduled-task/scheduled-task-trigger.d.ts +26 -0
  521. package/scheduled-task/scheduled-task-trigger.d.ts.map +1 -0
  522. package/scheduled-task/scheduled-task-trigger.js +68 -38
  523. package/scheduled-task/scheduled-tasks-api-client.d.ts +67 -0
  524. package/scheduled-task/scheduled-tasks-api-client.d.ts.map +1 -0
  525. package/scheduled-task/use-scheduled-task-runs.d.ts +40 -0
  526. package/scheduled-task/use-scheduled-task-runs.d.ts.map +1 -0
  527. package/scheduled-task/use-scheduled-task-runs.js +67 -79
  528. package/scheduled-task/use-scheduled-tasks.d.ts +28 -0
  529. package/scheduled-task/use-scheduled-tasks.d.ts.map +1 -0
  530. package/scheduled-task/use-scheduled-tasks.js +1 -1
  531. package/scheduled-task/useActiveScheduledTaskDetails.d.ts +18 -0
  532. package/scheduled-task/useActiveScheduledTaskDetails.d.ts.map +1 -0
  533. package/scheduled-task/useActiveScheduledTaskDetails.js +40 -0
  534. package/scheduled-task/useScheduledTaskSkillDisplayNames/useScheduledTaskSkillDisplayNames.d.ts +17 -0
  535. package/scheduled-task/useScheduledTaskSkillDisplayNames/useScheduledTaskSkillDisplayNames.d.ts.map +1 -0
  536. package/scheduled-task/useScheduledTaskSkillDisplayNames/useScheduledTaskSkillDisplayNames.js +29 -0
  537. package/scheduled-tasks.d.ts +2 -250
  538. package/scheduled-tasks.js +6 -1
  539. package/scroll-anchoring.d.ts +2 -50
  540. package/scroll-anchoring.js +1 -2
  541. package/shared/application-schema.d.ts +16 -0
  542. package/shared/application-schema.d.ts.map +1 -0
  543. package/shared/application-schema.js +3 -3
  544. package/shared/browser-timezone.d.ts +7 -0
  545. package/shared/browser-timezone.d.ts.map +1 -0
  546. package/shared/client-channel.d.ts +53 -0
  547. package/shared/client-channel.d.ts.map +1 -0
  548. package/shared/client-channel.js +6 -0
  549. package/shared/cron-day-of-month.d.ts +21 -0
  550. package/shared/cron-day-of-month.d.ts.map +1 -0
  551. package/shared/cron-day-of-month.js +10 -10
  552. package/shared/cron-weekday.d.ts +5 -0
  553. package/shared/cron-weekday.d.ts.map +1 -0
  554. package/shared/custom-apps.d.ts +7 -0
  555. package/shared/custom-apps.d.ts.map +1 -0
  556. package/shared/external-services.d.ts +16 -0
  557. package/shared/external-services.d.ts.map +1 -0
  558. package/shared/formatting.d.ts +5 -0
  559. package/shared/formatting.d.ts.map +1 -0
  560. package/shared/locale.d.ts +45 -0
  561. package/shared/locale.d.ts.map +1 -0
  562. package/shared/locale.js +2 -2
  563. package/shared/read-sse-events.d.ts +10 -0
  564. package/shared/read-sse-events.d.ts.map +1 -0
  565. package/shared/read-sse-events.js +33 -0
  566. package/shared/string-utils.d.ts +11 -0
  567. package/shared/string-utils.d.ts.map +1 -0
  568. package/shared/theme-colors.d.ts +16 -0
  569. package/shared/theme-colors.d.ts.map +1 -0
  570. package/shared/theme-colors.js +14 -0
  571. package/shared/toolset-login-events.d.ts +15 -0
  572. package/shared/toolset-login-events.d.ts.map +1 -0
  573. package/shared/usage-stat.d.ts +3 -0
  574. package/shared/usage-stat.d.ts.map +1 -0
  575. package/shared/usage-stat.js +4 -0
  576. package/shared/usePersistedState/usePersistedState.d.ts +28 -0
  577. package/shared/usePersistedState/usePersistedState.d.ts.map +1 -0
  578. package/shared/usePersistedState/usePersistedState.js +24 -0
  579. package/sharing.d.ts +2 -65
  580. package/skill/skill-archive.d.ts +7 -0
  581. package/skill/skill-archive.d.ts.map +1 -0
  582. package/skill/skill-file-batch-validation.d.ts +74 -0
  583. package/skill/skill-file-batch-validation.d.ts.map +1 -0
  584. package/skill/skill-file-batch-validation.js +34 -33
  585. package/skill/skill-file-preview.d.ts +25 -0
  586. package/skill/skill-file-preview.d.ts.map +1 -0
  587. package/skill/skill-lookup.d.ts +20 -0
  588. package/skill/skill-lookup.d.ts.map +1 -0
  589. package/skill/skill-lookup.js +12 -0
  590. package/skill/skill-manifest.d.ts +28 -0
  591. package/skill/skill-manifest.d.ts.map +1 -0
  592. package/skill/skill-types.d.ts +46 -0
  593. package/skill/skill-types.d.ts.map +1 -0
  594. package/skill/skill-types.js +1 -1
  595. package/skill/skill.d.ts +160 -0
  596. package/skill/skill.d.ts.map +1 -0
  597. package/skill/skill.js +12 -15
  598. package/skill/useSkillArchiveImport/useSkillArchiveImport.d.ts +65 -0
  599. package/skill/useSkillArchiveImport/useSkillArchiveImport.d.ts.map +1 -0
  600. package/skill/useSkillArchiveImport/useSkillArchiveImport.js +1 -7
  601. package/skill/useSkillEditorLoad.d.ts +74 -0
  602. package/skill/useSkillEditorLoad.d.ts.map +1 -0
  603. package/skill/useSkillEditorSubmit.d.ts +127 -0
  604. package/skill/useSkillEditorSubmit.d.ts.map +1 -0
  605. package/skill/useSkillEditorSubmit.js +77 -79
  606. package/skill/useSkillFileActions.d.ts +62 -0
  607. package/skill/useSkillFileActions.d.ts.map +1 -0
  608. package/skill/useSkillFileActions.js +36 -21
  609. package/skill/useSkillFilePreview.d.ts +38 -0
  610. package/skill/useSkillFilePreview.d.ts.map +1 -0
  611. package/skill/useSkillsState/useSkillsState.d.ts +35 -0
  612. package/skill/useSkillsState/useSkillsState.d.ts.map +1 -0
  613. package/skill-editor/useSkillFilePreviewSyncController.d.ts +41 -0
  614. package/skill-editor/useSkillFilePreviewSyncController.d.ts.map +1 -0
  615. package/skill-editor/useSkillFilePreviewSyncController.js +58 -0
  616. package/skill-editor/useSkillFileSystemPicker/useSkillFileSystemPicker.d.ts +23 -0
  617. package/skill-editor/useSkillFileSystemPicker/useSkillFileSystemPicker.d.ts.map +1 -0
  618. package/skill-editor/useSkillFileSystemPicker/useSkillFileSystemPicker.js +43 -0
  619. package/skill-editor.d.ts +2 -655
  620. package/skill-editor.js +3 -1
  621. package/skills-state.d.ts +2 -40
  622. package/skills-state.js +3 -2
  623. package/source-content.d.ts +2 -29
  624. package/source-content.js +1 -2
  625. package/usage/map-usage-data-to-dashboard.d.ts +39 -0
  626. package/usage/map-usage-data-to-dashboard.d.ts.map +1 -0
  627. package/usage/map-user-usage-to-model-limits.d.ts +62 -0
  628. package/usage/map-user-usage-to-model-limits.d.ts.map +1 -0
  629. package/usage/usage-banner-source.d.ts +24 -0
  630. package/usage/usage-banner-source.d.ts.map +1 -0
  631. package/usage/usage-banner-source.js +61 -0
  632. package/usage/usage-period.d.ts +7 -0
  633. package/usage/usage-period.d.ts.map +1 -0
  634. package/usage/usage-period.js +6 -0
  635. package/usage/usage-reset-time.d.ts +78 -0
  636. package/usage/usage-reset-time.d.ts.map +1 -0
  637. package/usage/usage-reset-time.js +82 -0
  638. package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.d.ts +56 -0
  639. package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.d.ts.map +1 -0
  640. package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.js +34 -0
  641. package/usage/useRefreshUsageAfterGeneration/useRefreshUsageAfterGeneration.d.ts +16 -0
  642. package/usage/useRefreshUsageAfterGeneration/useRefreshUsageAfterGeneration.d.ts.map +1 -0
  643. package/usage/useRefreshUsageAfterGeneration/useRefreshUsageAfterGeneration.js +14 -0
  644. package/usage/useUsageData/useUsageData.d.ts +28 -0
  645. package/usage/useUsageData/useUsageData.d.ts.map +1 -0
  646. package/usage/useUsageLimitBanner/useUsageLimitBanner.d.ts +58 -0
  647. package/usage/useUsageLimitBanner/useUsageLimitBanner.d.ts.map +1 -0
  648. package/usage/useUsageLimitBanner/useUsageLimitBanner.js +70 -0
  649. package/usage/useUsageLimitBannerDismissal/useUsageLimitBannerDismissal.d.ts +14 -0
  650. package/usage/useUsageLimitBannerDismissal/useUsageLimitBannerDismissal.d.ts.map +1 -0
  651. package/usage/useUsageLimitBannerDismissal/useUsageLimitBannerDismissal.js +19 -0
  652. package/usage-limits.d.ts +2 -0
  653. package/usage-limits.js +9 -0
  654. package/usage.d.ts +2 -125
  655. package/useChatSettingsFormConfig/useChatSettingsFormConfig.d.ts +130 -0
  656. package/useChatSettingsFormConfig/useChatSettingsFormConfig.d.ts.map +1 -0
  657. package/useChatSettingsFormConfig/useChatSettingsFormConfig.js +25 -21
  658. package/usePageFileDrag/usePageFileDrag.d.ts +16 -0
  659. package/usePageFileDrag/usePageFileDrag.d.ts.map +1 -0
  660. package/usePageFileDrag/usePageFileDrag.js +3 -3
  661. package/usePanelMaxWidth/usePanelMaxWidth.d.ts +6 -0
  662. package/usePanelMaxWidth/usePanelMaxWidth.d.ts.map +1 -0
  663. package/useShareLink/useShareLink.d.ts +23 -0
  664. package/useShareLink/useShareLink.d.ts.map +1 -0
  665. package/useShareLink/useShareLink.js +1 -0
  666. package/useShareRecipientsCount/useShareRecipientsCount.d.ts +36 -0
  667. package/useShareRecipientsCount/useShareRecipientsCount.d.ts.map +1 -0
  668. package/useToolsMenu/useToolsMenu.d.ts +31 -0
  669. package/useToolsMenu/useToolsMenu.d.ts.map +1 -0
  670. package/useViewportWidth/useViewportWidth.d.ts +3 -0
  671. package/useViewportWidth/useViewportWidth.d.ts.map +1 -0
  672. package/utils.d.ts +2 -404
  673. package/utils.js +13 -9
  674. package/viewport-layout/canvas-width.d.ts +39 -0
  675. package/viewport-layout/canvas-width.d.ts.map +1 -0
  676. package/viewport-layout/canvas-width.js +23 -0
  677. package/viewport-layout.d.ts +2 -27
  678. package/viewport-layout.js +2 -1
@@ -0,0 +1,65 @@
1
+ /** Phase of a skill-archive import, driving the host's loading/success/error presentation. */
2
+ export declare enum SkillArchiveImportStatus {
3
+ Idle = "idle",
4
+ Uploading = "uploading",
5
+ Success = "success",
6
+ Error = "error"
7
+ }
8
+ /** Semantic classification of an import request failure. */
9
+ export declare enum SkillArchiveImportErrorKind {
10
+ Validation = "validation",
11
+ Collision = "collision",
12
+ RateLimited = "rateLimited",
13
+ ServiceUnavailable = "serviceUnavailable",
14
+ Generic = "generic"
15
+ }
16
+ /** Reason a selected/dropped file was rejected before any request was made. */
17
+ export declare enum SkillArchiveSelectionRejectionReason {
18
+ UnsupportedFilename = "unsupportedFilename"
19
+ }
20
+ /**
21
+ * Classifies an import request's HTTP status into a semantic outcome: 400/413/422 are
22
+ * archive-content problems, 409 is a name collision, 429 is rate limiting, 502/503 mean the
23
+ * backend is unavailable, and anything else (including no status at all) is generic.
24
+ */
25
+ export declare const classifySkillArchiveImportError: (status: number | undefined) => SkillArchiveImportErrorKind;
26
+ /** Options accepted by {@link useSkillArchiveImport}. */
27
+ export interface UseSkillArchiveImportOptions<TResult> {
28
+ /** Submits the selected archive; the host owns the client. `signal` aborts when the dialog closes or the hook unmounts mid-upload. */
29
+ importArchive: (file: File, signal: AbortSignal) => Promise<TResult>;
30
+ /** Called once after a successful import (and any awaited host follow-up) settles. */
31
+ onImported: (result: TResult) => void | Promise<void>;
32
+ /** Called once when the import request, or the host's follow-up in {@link onImported}, fails. */
33
+ onError: (error: unknown, kind: SkillArchiveImportErrorKind) => void;
34
+ /** Exact filename treated as the skill manifest. Defaults to `'SKILL.md'`. */
35
+ manifestFileName?: string;
36
+ }
37
+ /** Result returned by {@link useSkillArchiveImport}. */
38
+ export interface UseSkillArchiveImportResult {
39
+ /** Whether the upload dialog is open. */
40
+ isDialogOpen: boolean;
41
+ /** Current phase of the import. */
42
+ status: SkillArchiveImportStatus;
43
+ /** Whether an import request is in flight; the dialog stays open until it succeeds. */
44
+ isUploading: boolean;
45
+ /** Reason the current/last selection was rejected locally; `undefined` once cleared. */
46
+ selectionRejectionReason: SkillArchiveSelectionRejectionReason | undefined;
47
+ /** Classified failure of the last import request; `undefined` outside a request failure. */
48
+ errorKind: SkillArchiveImportErrorKind | undefined;
49
+ /** Opens the dialog and clears any previous rejection or request failure. */
50
+ openDialog: () => void;
51
+ /** Closes the dialog, aborting an in-flight import, and clears any rejection reason. */
52
+ closeDialog: () => void;
53
+ /** Wire to the dialog drop zone's `onChange`. */
54
+ handleFilesSelected: (files: File[]) => void;
55
+ /** Wire to the dialog drop zone's `onReject`. */
56
+ handleFilesRejected: () => void;
57
+ }
58
+ /**
59
+ * Headless controller for the skill-archive upload flow: dialog visibility, the exact-filename
60
+ * precheck, in-flight exclusion, abort-on-close, and import completion. The host supplies the configured request
61
+ * and observes completion/failure through the injected callbacks; the hook never imports app
62
+ * contexts, i18n, or a configured API client.
63
+ */
64
+ export declare const useSkillArchiveImport: <TResult>({ importArchive, onImported, onError, manifestFileName, }: UseSkillArchiveImportOptions<TResult>) => UseSkillArchiveImportResult;
65
+ //# sourceMappingURL=useSkillArchiveImport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSkillArchiveImport.d.ts","sourceRoot":"","sources":["../../../src/skill/useSkillArchiveImport/useSkillArchiveImport.ts"],"names":[],"mappings":"AA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,MAAM,IAAI,CAAC;IACxB,iDAAiD;IACjD,mBAAmB,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IAC7C,iDAAiD;IACjD,mBAAmB,EAAE,MAAM,IAAI,CAAC;CACjC;AAED;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,GAAI,OAAO,EAAE,2DAK5C,4BAA4B,CAAC,OAAO,CAAC,KAAG,2BA0H1C,CAAC"}
@@ -51,13 +51,7 @@ var a = "SKILL.md", o = /* @__PURE__ */ function(e) {
51
51
  b.current || (h("error"), y(void 0), _("unsupportedFilename"));
52
52
  }, []), T = t((e) => {
53
53
  let t = e[0];
54
- if (!(!t || b.current)) {
55
- if (u(t.name, d)) {
56
- w();
57
- return;
58
- }
59
- _(void 0), x(t);
60
- }
54
+ t && !b.current && (u(t.name, d) ? w() : (_(void 0), x(t)));
61
55
  }, [
62
56
  d,
63
57
  w,
@@ -0,0 +1,74 @@
1
+ import { SkillFileListResponseDto } from '@epam/ai-dial-chat-api-client';
2
+ import { SkillEditorValues, SkillFileTreeNode } from '@epam/ai-dial-skill-editor';
3
+ import { Dispatch, SetStateAction } from 'react';
4
+ import { SkillFileContent } from './skill-file-preview';
5
+ /** Edit-mode load state for a skill-authoring form; create mode never leaves `Loaded`. */
6
+ export declare enum SkillEditorLoadState {
7
+ /** The edit-mode download/parse flow is in flight. */
8
+ Loading = "loading",
9
+ /** The skill loaded successfully (or create mode, which starts here). */
10
+ Loaded = "loaded",
11
+ /** The download/parse flow failed for a reason other than 403/404. */
12
+ Error = "error",
13
+ /** The caller lacks permission to read the skill. */
14
+ Forbidden = "forbidden",
15
+ /** The skill no longer exists at the given path. */
16
+ NotFound = "not-found"
17
+ }
18
+ /** Already-configured DIAL Core download operations `useSkillEditorLoad` needs. */
19
+ export interface SkillEditorLoadClient {
20
+ /** Downloads the whole-skill ZIP archive. */
21
+ downloadSkill: (bucket: string, path: string) => Promise<Response>;
22
+ /** Downloads one file within the skill (the manifest or a supporting file). */
23
+ downloadSkillFile: (bucket: string, path: string, filePath: string) => Promise<Response>;
24
+ /** Lists the skill's files when the whole-skill ZIP route is unusable. */
25
+ listSkillFiles: (params: {
26
+ bucket: string;
27
+ path?: string;
28
+ filePath: string;
29
+ recursive?: boolean;
30
+ }) => Promise<SkillFileListResponseDto>;
31
+ }
32
+ /** Parameters accepted by {@link useSkillEditorLoad}. */
33
+ export interface UseSkillEditorLoadParams {
34
+ /** Whether the form is editing an existing skill rather than creating a new one. */
35
+ isEditMode: boolean;
36
+ /** DIAL Core bucket holding the skill. Load is skipped until this resolves. */
37
+ bucket: string | undefined;
38
+ /** Path to the skill within `bucket`. */
39
+ skillPath: string | null | undefined;
40
+ /** Already-configured download operations. */
41
+ client: SkillEditorLoadClient;
42
+ }
43
+ /** Return value of {@link useSkillEditorLoad}. */
44
+ export interface UseSkillEditorLoadResult {
45
+ /** Current load-state machine value driving the form's presentation. */
46
+ loadState: SkillEditorLoadState;
47
+ /** The loaded (or, in create mode, seeded) manifest values. */
48
+ loadedValues: SkillEditorValues | undefined;
49
+ /** Updates `loadedValues`, e.g. after a manifest import. */
50
+ setLoadedValues: Dispatch<SetStateAction<SkillEditorValues | undefined>>;
51
+ /** The loaded supporting-file tree. */
52
+ files: SkillFileTreeNode[];
53
+ /** Updates `files`, e.g. after a batch commit or node removal. */
54
+ setFiles: Dispatch<SetStateAction<SkillFileTreeNode[]>>;
55
+ /** In-memory bytes for every supporting file, keyed by relative path. */
56
+ filesContentRef: React.MutableRefObject<Map<string, SkillFileContent>>;
57
+ /** The loaded manifest's full parsed frontmatter, including fields the form never renders. */
58
+ frontmatterRef: React.MutableRefObject<Record<string, unknown>>;
59
+ /** The concurrency ETag from the load, sent back as `If-Match` on save. */
60
+ etagRef: React.MutableRefObject<string | undefined>;
61
+ /** The skill path the currently loaded state belongs to. */
62
+ loadedPathRef: React.MutableRefObject<string | undefined>;
63
+ /** Re-attempts the edit-mode download (load-error retry or post-conflict reload). */
64
+ retryLoad: () => void;
65
+ }
66
+ /**
67
+ * Owns the edit-mode skill download/unpack/parse flow: the in-memory
68
+ * supporting-file map, the loaded manifest values and frontmatter, the
69
+ * concurrency ETag, and the load-state machine driving the form's
70
+ * loading/error/forbidden/not-found presentation. Create mode never leaves
71
+ * `'loaded'` and starts with empty state.
72
+ */
73
+ export declare const useSkillEditorLoad: ({ isEditMode, bucket, skillPath, client, }: UseSkillEditorLoadParams) => UseSkillEditorLoadResult;
74
+ //# sourceMappingURL=useSkillEditorLoad.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSkillEditorLoad.d.ts","sourceRoot":"","sources":["../../src/skill/useSkillEditorLoad.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAgBtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,0FAA0F;AAC1F,oBAAY,oBAAoB;IAC9B,sDAAsD;IACtD,OAAO,YAAY;IACnB,yEAAyE;IACzE,MAAM,WAAW;IACjB,sEAAsE;IACtE,KAAK,UAAU;IACf,qDAAqD;IACrD,SAAS,cAAc;IACvB,oDAAoD;IACpD,QAAQ,cAAc;CACvB;AAED,mFAAmF;AACnF,MAAM,WAAW,qBAAqB;IACpC,6CAA6C;IAC7C,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IACnE,+EAA+E;IAC/E,iBAAiB,EAAE,CACjB,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,KACb,OAAO,CAAC,QAAQ,CAAC,CAAC;IACvB,0EAA0E;IAC1E,c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,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1D,qFAAqF;IACrF,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,GAAI,4CAKhC,wBAAwB,KAAG,wBAwH7B,CAAC"}
@@ -0,0 +1,127 @@
1
+ import { SkillUploadResponseDto } from '@epam/ai-dial-chat-api-client';
2
+ import { SkillEditorErrors, SkillEditorValues, SkillFileTreeNode } from '@epam/ai-dial-skill-editor';
3
+ import { NotificationVariant } from '@epam/ai-dial-ui-kit';
4
+ import { SkillFileContent } from './skill-file-preview';
5
+ type SubmitPhase = 'idle' | 'submitting' | 'success' | 'failure';
6
+ /** Already-configured DIAL Core write operations `useSkillEditorSubmit` needs. */
7
+ export interface SkillEditorSubmitClient {
8
+ /** Creates a new skill. */
9
+ createSkill: (bucket: string, path: string, skillManifest: string, filePaths: string[], files: Blob[]) => Promise<SkillUploadResponseDto>;
10
+ /** Updates an existing skill, sending `ifMatch` as the concurrency guard. */
11
+ updateSkill: (bucket: string, path: string, skillManifest: string, filePaths: string[], files: Blob[], ifMatch: string) => Promise<SkillUploadResponseDto>;
12
+ }
13
+ /** Localized messages `useSkillEditorSubmit` needs. */
14
+ export interface SkillEditorSubmitMessages {
15
+ /** Shown when a required field is empty. */
16
+ required: string;
17
+ /** Shown when a name, description or instructions value exceeds its length limit, given that limit. */
18
+ tooLong: (maxLength: number) => string;
19
+ /**
20
+ * Shown when the Instructions value opens with its own YAML frontmatter
21
+ * block — pasting a whole `SKILL.md` in there would otherwise produce a
22
+ * manifest with two frontmatter blocks.
23
+ */
24
+ instructionsFrontmatter: string;
25
+ /** Shown when the normalized skill name fails DIAL's naming rules. */
26
+ nameInvalid: string;
27
+ /** Shown when the skill name already exists (409), or defensively on an unreachable create-mode 412. */
28
+ nameConflict: string;
29
+ /** Shown when the submitted package exceeds the server's size limit (413). */
30
+ archiveTooLarge: string;
31
+ /** Shown when the backend is temporarily unavailable (503). */
32
+ serviceUnavailable: string;
33
+ /** Fallback shown for a 400 whose response body carries no message. */
34
+ pathInvalid: string;
35
+ /** Generic fallback shown for any other error status. */
36
+ saveError: string;
37
+ /** Notification title on a successful create. */
38
+ saveSuccessTitle: string;
39
+ /** Notification message on a successful create, given the created name. */
40
+ createSuccess: (name: string) => string;
41
+ /** Notification title on a successful update. */
42
+ updateSuccessTitle: string;
43
+ /** Notification message on a successful update, given the skill's name. */
44
+ updateSuccess: (name: string) => string;
45
+ /** Shown when a save hits a stale-ETag conflict (412) in edit mode. */
46
+ conflictMessage: string;
47
+ }
48
+ /** A host notification `useSkillEditorSubmit` asks to be shown. */
49
+ export interface SkillEditorSubmitNotification {
50
+ /** Notification style. */
51
+ variant: NotificationVariant;
52
+ /** Optional heading. */
53
+ title?: string;
54
+ /** Body text. */
55
+ message: string;
56
+ /** W3C trace ID, when the triggering error carried one. */
57
+ requestId?: string;
58
+ }
59
+ /** Parameters accepted by {@link useSkillEditorSubmit}. */
60
+ export interface UseSkillEditorSubmitParams {
61
+ /** DIAL Core bucket the skill is saved to. */
62
+ bucket: string | undefined;
63
+ /** Whether the form is editing an existing skill rather than creating a new one. */
64
+ isEditMode: boolean;
65
+ /** The editor's current supporting-file tree. */
66
+ files: SkillFileTreeNode[];
67
+ /** In-memory bytes for every supporting file, keyed by relative path. */
68
+ filesContentRef: React.MutableRefObject<Map<string, SkillFileContent>>;
69
+ /** `useSkillFileActions`'s `contentRevisions`; a replaced file's new bytes must not reuse a cached retry payload. Defaults to none. */
70
+ contentRevisions?: Readonly<Record<string, number>>;
71
+ /** The loaded (or imported) manifest's full parsed frontmatter. */
72
+ frontmatterRef: React.MutableRefObject<Record<string, unknown>>;
73
+ /** The path the currently loaded edit-mode state belongs to. */
74
+ loadedPathRef: React.MutableRefObject<string | undefined>;
75
+ /** The concurrency ETag from the load, sent back as `If-Match` on save. */
76
+ etagRef: React.MutableRefObject<string | undefined>;
77
+ /** Where to navigate on a successful save. */
78
+ returnUrl: string;
79
+ /** Resolves the destination after creation from the normalized skill path. Defaults to `returnUrl`. */
80
+ getCreateReturnUrl?: (path: string) => string;
81
+ /** Refetches the host's skill listing after a successful save. */
82
+ refetchSkills: () => Promise<void>;
83
+ /** Already-configured create/update operations. */
84
+ client: SkillEditorSubmitClient;
85
+ /** Localized messages, resolved by the host. */
86
+ messages: SkillEditorSubmitMessages;
87
+ /** Called with `returnUrl` after a successful save. */
88
+ onNavigate: (url: string) => void;
89
+ /** Called to surface a host notification (success toast or unexpected-error toast). */
90
+ onNotify: (notification: SkillEditorSubmitNotification) => void;
91
+ }
92
+ /** Return value of {@link useSkillEditorSubmit}. */
93
+ export interface UseSkillEditorSubmitResult {
94
+ /** Current submit-phase. */
95
+ phase: SubmitPhase;
96
+ /** Inline field validation errors. */
97
+ errors: SkillEditorErrors;
98
+ /** General submit-time error, distinct from a stale-edit `conflict`. */
99
+ submitError: string | undefined;
100
+ /** Whether `submitError` was caused by something a plain re-send can clear, rather than by the submission itself. */
101
+ isSubmitErrorRetryable: boolean;
102
+ /** Re-submits the values of the attempt that produced `submitError`. No-op before the first submit. */
103
+ retrySubmit: () => void;
104
+ /** Present when the last save hit a stale-ETag conflict. */
105
+ conflict: {
106
+ message: string;
107
+ } | undefined;
108
+ /** Clears `conflict`, e.g. once the host has reloaded the latest skill. */
109
+ clearConflict: () => void;
110
+ /** Validates and submits the given form values. */
111
+ handleSubmit: (values: SkillEditorValues) => Promise<void>;
112
+ /**
113
+ * Re-runs the Instructions frontmatter check against the editor's current
114
+ * values, so a pasted `SKILL.md` is flagged as the text lands rather than
115
+ * only on submit. Pass as the editor's `onValuesChange`.
116
+ */
117
+ handleValuesChange: (values: SkillEditorValues) => void;
118
+ }
119
+ /**
120
+ * Owns the Skill Editor's create/edit submission flow: field validation,
121
+ * building and (in edit mode) merging the `SKILL.md` manifest, calling
122
+ * `client.createSkill`/`client.updateSkill`, and mapping the resulting
123
+ * success/error/conflict outcomes to presentable state.
124
+ */
125
+ export declare const useSkillEditorSubmit: ({ bucket, isEditMode, files, filesContentRef, contentRevisions, frontmatterRef, loadedPathRef, etagRef, returnUrl, getCreateReturnUrl, refetchSkills, client, messages, onNavigate, onNotify, }: UseSkillEditorSubmitParams) => UseSkillEditorSubmitResult;
126
+ export {};
127
+ //# sourceMappingURL=useSkillEditorSubmit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSkillEditorSubmit.d.ts","sourceRoot":"","sources":["../../src/skill/useSkillEditorSubmit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAa3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAQ7D,KAAK,WAAW,GAAG,MAAM,GAAG,YAAY,GAAG,SAAS,GAAG,SAAS,CAAC;AAgCjE,kFAAkF;AAClF,MAAM,WAAW,uBAAuB;IACtC,2BAA2B;IAC3B,WAAW,EAAE,CACX,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,EAAE,EACnB,KAAK,EAAE,IAAI,EAAE,KACV,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACrC,6EAA6E;IAC7E,WAAW,EAAE,CACX,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,EAAE,EACnB,KAAK,EAAE,IAAI,EAAE,EACb,OAAO,EAAE,MAAM,KACZ,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACtC;AAED,uDAAuD;AACvD,MAAM,WAAW,yBAAyB;IACxC,4CAA4C;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,uGAAuG;IACvG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aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,mDAAmD;IACnD,YAAY,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3D;;;;OAIG;IACH,kBAAkB,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAC;CACzD;AAED;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,GAAI,iMAgBlC,0BAA0B,KAAG,0BA0U/B,CAAC"}
@@ -3,157 +3,155 @@ import { SKILL_TEXT_FIELD_MAX_LENGTHS as n, buildSkillFilesPayload as r, buildSk
3
3
  import { useCallback as l, useRef as u, useState as d } from "react";
4
4
  import { NotificationVariant as f } from "@epam/ai-dial-ui-kit";
5
5
  //#region src/skill/useSkillEditorSubmit.ts
6
- var p = (e, t) => JSON.stringify({
6
+ var p = (e, t, n) => JSON.stringify({
7
7
  values: e,
8
- files: [...t].sort((e, t) => e.path.localeCompare(t.path))
9
- }), m = ({ bucket: m, isEditMode: h, files: g, filesContentRef: _, frontmatterRef: v, loadedPathRef: y, etagRef: b, returnUrl: x, getCreateReturnUrl: S, refetchSkills: C, client: w, messages: T, onNavigate: E, onNotify: D }) => {
10
- let [O, k] = d({}), [A, j] = d(), [M, N] = d(!1), [P, F] = d(), [I, L] = d("idle"), R = u(null), z = u(null), B = l(async (n) => {
8
+ files: [...t].sort((e, t) => e.path.localeCompare(t.path)),
9
+ contentRevisions: Object.entries(n).sort(([e], [t]) => e.localeCompare(t))
10
+ }), m = {}, h = ({ bucket: h, isEditMode: g, files: _, filesContentRef: v, contentRevisions: y = m, frontmatterRef: b, loadedPathRef: x, etagRef: S, returnUrl: C, getCreateReturnUrl: w, refetchSkills: T, client: E, messages: D, onNavigate: O, onNotify: k }) => {
11
+ let [A, j] = d({}), [M, N] = d(), [P, F] = d(!1), [I, L] = d(), [R, z] = d("idle"), B = u(null), V = u(null), H = l(async (n) => {
11
12
  switch (t(n)) {
12
13
  case 409:
13
- k({ name: T.nameConflict });
14
+ j({ name: D.nameConflict });
14
15
  return;
15
16
  case 412:
16
- k({ name: T.nameConflict });
17
+ j({ name: D.nameConflict });
17
18
  return;
18
19
  case 413:
19
- j(T.archiveTooLarge);
20
+ N(D.archiveTooLarge);
20
21
  return;
21
22
  case 503:
22
- j(T.serviceUnavailable), N(!0);
23
+ N(D.serviceUnavailable), F(!0);
23
24
  return;
24
25
  case 400: {
25
26
  let { message: t } = await e(n);
26
- j(t ?? T.pathInvalid);
27
+ N(t ?? D.pathInvalid);
27
28
  return;
28
29
  }
29
30
  default: {
30
31
  let { traceId: t } = await e(n);
31
- j(T.saveError), D({
32
+ N(D.saveError), k({
32
33
  variant: f.Error,
33
- message: T.saveError,
34
+ message: D.saveError,
34
35
  requestId: t
35
36
  });
36
37
  }
37
38
  }
38
- }, [T, D]), V = l(async (e) => {
39
+ }, [D, k]), U = l(async (e) => {
39
40
  let t = s(e.name);
40
41
  if (!t || !o(t)) {
41
- k({ name: T.nameInvalid });
42
+ j({ name: D.nameInvalid });
42
43
  return;
43
44
  }
44
- let n = p(e, g), a = R.current, c = a != null && a.fingerprint === n, l = t, u, d, h;
45
- c ? {skillManifest: u, filePaths: d, files: h} = a : (u = i(v.current, t, e.description, e.instructions), {filePaths: d, files: h} = r(g, _.current)), L("submitting"), R.current = {
45
+ let n = p(e, _, y), a = B.current, c = a != null && a.fingerprint === n, l = t, u, d, m;
46
+ c ? {skillManifest: u, filePaths: d, files: m} = a : (u = i(b.current, t, e.description, e.instructions), {filePaths: d, files: m} = r(_, v.current)), z("submitting"), B.current = {
46
47
  fingerprint: n,
47
- bucket: m,
48
+ bucket: h,
48
49
  path: l,
49
50
  skillManifest: u,
50
51
  filePaths: d,
51
- files: h
52
+ files: m
52
53
  };
53
54
  try {
54
- await w.createSkill(m, l, u, d, h), await C(), L("success"), D({
55
+ await E.createSkill(h, l, u, d, m), await T(), z("success"), k({
55
56
  variant: f.Success,
56
- title: T.saveSuccessTitle,
57
- message: T.createSuccess(t)
58
- }), E(S?.(l) ?? x);
57
+ title: D.saveSuccessTitle,
58
+ message: D.createSuccess(t)
59
+ }), O(w?.(l) ?? C);
59
60
  } catch (e) {
60
- L("failure"), await B(e);
61
+ z("failure"), await H(e);
61
62
  }
62
63
  }, [
63
- m,
64
- g,
64
+ h,
65
65
  _,
66
66
  v,
67
- T,
68
- w,
67
+ y,
68
+ b,
69
69
  D,
70
70
  E,
71
- x,
72
- S,
71
+ k,
72
+ O,
73
73
  C,
74
- B
75
- ]), H = l(async (e) => {
76
- let n = y.current, a = b.current;
74
+ w,
75
+ T,
76
+ H
77
+ ]), W = l(async (e) => {
78
+ let n = x.current, a = S.current;
77
79
  if (!n || !a) {
78
- j(T.saveError);
80
+ N(D.saveError);
79
81
  return;
80
82
  }
81
- let o = i(v.current, e.name, e.description, e.instructions), { filePaths: s, files: c } = r(g, _.current);
82
- L("submitting");
83
+ let o = i(b.current, e.name, e.description, e.instructions), { filePaths: s, files: c } = r(_, v.current);
84
+ z("submitting");
83
85
  try {
84
- b.current = (await w.updateSkill(m, n, o, s, c, a)).etag ?? a, await C(), L("success"), D({
86
+ S.current = (await E.updateSkill(h, n, o, s, c, a)).etag ?? a, await T(), z("success"), k({
85
87
  variant: f.Success,
86
- title: T.updateSuccessTitle,
87
- message: T.updateSuccess(e.name)
88
- }), E(x);
88
+ title: D.updateSuccessTitle,
89
+ message: D.updateSuccess(e.name)
90
+ }), O(C);
89
91
  } catch (e) {
90
- if (L("failure"), t(e) === 412) {
91
- F({ message: T.conflictMessage });
92
+ if (z("failure"), t(e) === 412) {
93
+ L({ message: D.conflictMessage });
92
94
  return;
93
95
  }
94
- await B(e);
96
+ await H(e);
95
97
  }
96
98
  }, [
97
- m,
98
- g,
99
+ h,
99
100
  _,
100
101
  v,
101
- y,
102
102
  b,
103
- T,
104
- w,
103
+ x,
104
+ S,
105
105
  D,
106
106
  E,
107
- x,
107
+ k,
108
+ O,
108
109
  C,
109
- B
110
- ]), U = l((e) => {
110
+ T,
111
+ H
112
+ ]), G = l((e) => {
111
113
  let t = c(e.instructions), r = a(e);
112
- k((e) => {
114
+ j((e) => {
113
115
  let i = { ...e };
114
116
  for (let e of Object.keys(n)) {
115
- let t = T.tooLong(n[e]);
117
+ let t = D.tooLong(n[e]);
116
118
  r[e] ? i[e] = t : i[e] === t && delete i[e];
117
119
  }
118
120
  if (!r.instructions) {
119
- let e = i.instructions === T.instructionsFrontmatter;
120
- t && !e ? i.instructions = T.instructionsFrontmatter : !t && e && delete i.instructions;
121
+ let e = i.instructions === D.instructionsFrontmatter;
122
+ t && !e ? i.instructions = D.instructionsFrontmatter : !t && e && delete i.instructions;
121
123
  }
122
124
  return Object.keys(i).length === Object.keys(e).length && Object.keys(i).every((t) => i[t] === e[t]) ? e : i;
123
125
  });
124
- }, [T]), W = l(async (e) => {
125
- if (I === "submitting" || !m) return;
126
+ }, [D]), K = l(async (e) => {
127
+ if (R === "submitting" || !h) return;
126
128
  let t = {};
127
- e.name.trim() || (t.name = T.required), e.description.trim() || (t.description = T.required), e.instructions.trim() ? c(e.instructions) && (t.instructions = T.instructionsFrontmatter) : t.instructions = T.required;
129
+ e.name.trim() || (t.name = D.required), e.description.trim() || (t.description = D.required), e.instructions.trim() ? c(e.instructions) && (t.instructions = D.instructionsFrontmatter) : t.instructions = D.required;
128
130
  let r = a(e);
129
- for (let e of Object.keys(r)) t[e] ??= T.tooLong(n[e]);
130
- if (Object.keys(t).length > 0) {
131
- k(t);
132
- return;
133
- }
134
- k({}), j(void 0), N(!1), F(void 0), z.current = e, h ? await H(e) : await V(e);
131
+ for (let e of Object.keys(r)) t[e] ??= D.tooLong(n[e]);
132
+ Object.keys(t).length > 0 ? j(t) : (j({}), N(void 0), F(!1), L(void 0), V.current = e, g ? await W(e) : await U(e));
135
133
  }, [
136
- I,
137
- m,
138
- T,
134
+ R,
139
135
  h,
140
- H,
141
- V
136
+ D,
137
+ g,
138
+ W,
139
+ U
142
140
  ]);
143
141
  return {
144
- phase: I,
145
- errors: O,
146
- submitError: A,
147
- isSubmitErrorRetryable: M,
142
+ phase: R,
143
+ errors: A,
144
+ submitError: M,
145
+ isSubmitErrorRetryable: P,
148
146
  retrySubmit: l(() => {
149
- let e = z.current;
150
- e != null && W(e);
151
- }, [W]),
152
- conflict: P,
153
- clearConflict: () => F(void 0),
154
- handleSubmit: W,
155
- handleValuesChange: U
147
+ let e = V.current;
148
+ e != null && K(e);
149
+ }, [K]),
150
+ conflict: I,
151
+ clearConflict: () => L(void 0),
152
+ handleSubmit: K,
153
+ handleValuesChange: G
156
154
  };
157
155
  };
158
156
  //#endregion
159
- export { m as useSkillEditorSubmit };
157
+ export { h as useSkillEditorSubmit };
@@ -0,0 +1,62 @@
1
+ import { SkillEditorFileActions, SkillEditorValues, SkillFileSourceEntry, SkillFileTreeNode } from '@epam/ai-dial-skill-editor';
2
+ import { Dispatch, SetStateAction } from 'react';
3
+ import { SkillFileBatchValidationMessages } from './skill-file-batch-validation';
4
+ import { SkillFileContent } from './skill-file-preview';
5
+ /** Localized messages `useSkillFileActions` needs beyond per-candidate batch validation. */
6
+ export interface SkillFileActionsMessages extends SkillFileBatchValidationMessages {
7
+ /** Returned as the commit error when an imported manifest's `name` doesn't match the skill being edited. */
8
+ manifestNameMismatch: string;
9
+ /** Returned as the commit error when the user declines the manifest-import confirmation. */
10
+ manifestImportDeclined: string;
11
+ /** Generic fallback commit error for a batch with invalid candidates but no specific batch error. */
12
+ saveError: string;
13
+ }
14
+ /** Parameters accepted by {@link useSkillFileActions}. */
15
+ export interface UseSkillFileActionsParams {
16
+ /** The editor's current supporting-file tree. */
17
+ files: SkillFileTreeNode[];
18
+ /** Updates `files`. */
19
+ setFiles: Dispatch<SetStateAction<SkillFileTreeNode[]>>;
20
+ /** In-memory bytes for every supporting file, keyed by relative path. */
21
+ filesContentRef: React.MutableRefObject<Map<string, SkillFileContent>>;
22
+ /** The loaded (or imported) manifest's full parsed frontmatter. */
23
+ frontmatterRef: React.MutableRefObject<Record<string, unknown>>;
24
+ /** The seeded baseline manifest values, used to approximate the projected total size. */
25
+ loadedValues: SkillEditorValues | undefined;
26
+ /** Updates `loadedValues` after a manifest import. */
27
+ setLoadedValues: Dispatch<SetStateAction<SkillEditorValues | undefined>>;
28
+ /** Whether the form is editing an existing skill rather than creating a new one. */
29
+ isEditMode: boolean;
30
+ /** Whether the form currently diverges from its seeded baseline. */
31
+ isDirty: boolean;
32
+ /** Updates the currently selected file-tree node path. */
33
+ setSelectedPath: Dispatch<SetStateAction<string>>;
34
+ /** Localized messages, resolved by the host. */
35
+ messages: SkillFileActionsMessages;
36
+ /**
37
+ * Opens the host's file-system picker; passed through unchanged as
38
+ * `fileActions.pickFromFileSystem`. Omit to hide the editor's "Open DIAL
39
+ * file system" entry.
40
+ */
41
+ pickFromFileSystem?: () => Promise<SkillFileSourceEntry[] | undefined>;
42
+ }
43
+ /** Return value of {@link useSkillFileActions}. */
44
+ export interface UseSkillFileActionsResult {
45
+ /** File-tree mutation operations, passed straight to `SkillEditor`'s `fileActions` prop. */
46
+ fileActions: SkillEditorFileActions;
47
+ /** Whether the "replace Skill metadata?" confirmation prompt should be shown. */
48
+ pendingManifestImport: boolean;
49
+ /** Resolves the in-flight manifest-import confirmation with the user's choice. */
50
+ resolveManifestImport: (accepted: boolean) => void;
51
+ /** How many times each supporting file's bytes were replaced in place, keyed by path; absent means never. */
52
+ contentRevisions: Readonly<Record<string, number>>;
53
+ }
54
+ /**
55
+ * Owns the Skill Editor's batch file upload workflow: validating a staged
56
+ * batch, committing it atomically (supporting files plus an optional
57
+ * `SKILL.md` manifest import, with a confirmation gate), creating empty
58
+ * folders, expanding `.zip` archives for staging, and removing
59
+ * already-committed nodes.
60
+ */
61
+ export declare const useSkillFileActions: ({ files, setFiles, filesContentRef, frontmatterRef, loadedValues, setLoadedValues, isEditMode, isDirty, setSelectedPath, messages, pickFromFileSystem, }: UseSkillFileActionsParams) => UseSkillFileActionsResult;
62
+ //# sourceMappingURL=useSkillFileActions.d.ts.map
@@ -0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