@epam/ai-dial-chat-hooks 1.4.0-dev.96 → 1.5.0-dev.2

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 (115) hide show
  1. package/api-error/map-api-error.d.ts +10 -0
  2. package/api-error/map-api-error.d.ts.map +1 -0
  3. package/api-error/map-api-error.js +11 -0
  4. package/catalog/create-publish-api.d.ts +14 -10
  5. package/catalog/create-publish-api.d.ts.map +1 -1
  6. package/catalog/create-publish-api.js +8 -9
  7. package/catalog/map-deployment-to-catalog-item.d.ts.map +1 -1
  8. package/catalog/map-deployment-to-catalog-item.js +1 -0
  9. package/catalog/publish-target-taken.d.ts +31 -0
  10. package/catalog/publish-target-taken.d.ts.map +1 -0
  11. package/catalog/publish-target-taken.js +14 -0
  12. package/catalog/resource-name-conflict.d.ts.map +1 -1
  13. package/catalog/resource-name-conflict.js +19 -22
  14. package/catalog/resource-save.d.ts +2 -4
  15. package/catalog/resource-save.d.ts.map +1 -1
  16. package/catalog/resource-save.js +38 -32
  17. package/catalog/use-publish-target-guard.d.ts +45 -0
  18. package/catalog/use-publish-target-guard.d.ts.map +1 -0
  19. package/catalog/use-publish-target-guard.js +18 -0
  20. package/catalog/usePublishFolders/usePublishFolders.d.ts +11 -3
  21. package/catalog/usePublishFolders/usePublishFolders.d.ts.map +1 -1
  22. package/catalog/usePublishFolders/usePublishFolders.js +41 -31
  23. package/catalog/useResourceSavePanel/useResourceSavePanel.d.ts +27 -11
  24. package/catalog/useResourceSavePanel/useResourceSavePanel.d.ts.map +1 -1
  25. package/catalog/useResourceSavePanel/useResourceSavePanel.js +163 -138
  26. package/catalog.js +51 -49
  27. package/conversation/conversation-list.d.ts +7 -1
  28. package/conversation/conversation-list.d.ts.map +1 -1
  29. package/conversation/conversation-list.js +11 -2
  30. package/conversation/conversation-transfer/zip-export.d.ts +1 -1
  31. package/conversation/conversation-transfer/zip-export.d.ts.map +1 -1
  32. package/conversation/conversation-transfer/zip-export.js +7 -8
  33. package/conversation/conversation-transfer/zip-import.d.ts.map +1 -1
  34. package/conversation/conversation-transfer/zip-import.js +8 -9
  35. package/conversation/useConversationExport/useConversationExport.d.ts.map +1 -1
  36. package/conversation/useConversationExport/useConversationExport.js +3 -1
  37. package/conversation.js +3 -3
  38. package/entry-points/catalog.d.ts +2 -0
  39. package/entry-points/catalog.d.ts.map +1 -1
  40. package/entry-points/scheduled-tasks.d.ts +1 -0
  41. package/entry-points/scheduled-tasks.d.ts.map +1 -1
  42. package/entry-points/skill-editor.d.ts +1 -0
  43. package/entry-points/skill-editor.d.ts.map +1 -1
  44. package/entry-points/utils.d.ts +1 -0
  45. package/entry-points/utils.d.ts.map +1 -1
  46. package/file-manager.js +33 -33
  47. package/files/dial-file-manager.types.d.ts +4 -2
  48. package/files/dial-file-manager.types.d.ts.map +1 -1
  49. package/files/dial-file.d.ts +6 -0
  50. package/files/dial-file.d.ts.map +1 -1
  51. package/files/dial-file.js +17 -12
  52. package/files/useDialFileListing/useDialFileListing.d.ts +9 -1
  53. package/files/useDialFileListing/useDialFileListing.d.ts.map +1 -1
  54. package/files/useDialFileListing/useDialFileListing.js +205 -183
  55. package/files/useDialFileManager/useDialFileManager.d.ts +1 -1
  56. package/files/useDialFileManager/useDialFileManager.d.ts.map +1 -1
  57. package/files/useDialFileManager/useDialFileManager.js +114 -113
  58. package/files/useDialFileMutations/useDialFileMutations.d.ts +2 -1
  59. package/files/useDialFileMutations/useDialFileMutations.d.ts.map +1 -1
  60. package/files/useDialFileMutations/useDialFileMutations.js +5 -5
  61. package/index.d.ts +5 -0
  62. package/index.d.ts.map +1 -1
  63. package/index.js +267 -262
  64. package/org-units/org-unit-guards.d.ts +95 -1
  65. package/org-units/org-unit-guards.d.ts.map +1 -1
  66. package/org-units/org-unit-guards.js +51 -16
  67. package/org-units/useOrgUnits/useOrgUnits.d.ts +12 -4
  68. package/org-units/useOrgUnits/useOrgUnits.d.ts.map +1 -1
  69. package/org-units/useOrgUnits/useOrgUnits.js +44 -35
  70. package/package.json +20 -20
  71. package/project/project-conversation-data-source.js +4 -4
  72. package/project/project-refresh.d.ts +2 -0
  73. package/project/project-refresh.d.ts.map +1 -1
  74. package/project/project-refresh.js +1 -1
  75. package/project/use-project-actions.d.ts +3 -1
  76. package/project/use-project-actions.d.ts.map +1 -1
  77. package/project/use-project-actions.js +39 -38
  78. package/project/use-project.d.ts +3 -1
  79. package/project/use-project.d.ts.map +1 -1
  80. package/project/use-project.js +57 -44
  81. package/scheduled-task/scheduled-task-display.d.ts +51 -4
  82. package/scheduled-task/scheduled-task-display.d.ts.map +1 -1
  83. package/scheduled-task/scheduled-task-display.js +53 -46
  84. package/scheduled-task/scheduled-task-next-occurrence.d.ts +2 -0
  85. package/scheduled-task/scheduled-task-next-occurrence.d.ts.map +1 -1
  86. package/scheduled-task/scheduled-task-next-occurrence.js +2 -2
  87. package/scheduled-task/scheduled-task-time-format.d.ts +36 -0
  88. package/scheduled-task/scheduled-task-time-format.d.ts.map +1 -0
  89. package/scheduled-task/scheduled-task-time-format.js +34 -0
  90. package/scheduled-task/scheduled-task-trigger.d.ts.map +1 -1
  91. package/scheduled-task/scheduled-task-trigger.js +13 -14
  92. package/scheduled-tasks.js +14 -13
  93. package/skill/skill-archive.d.ts.map +1 -1
  94. package/skill/skill-archive.js +6 -7
  95. package/skill/skill-file-batch-validation.d.ts +6 -0
  96. package/skill/skill-file-batch-validation.d.ts.map +1 -1
  97. package/skill/skill-file-batch-validation.js +39 -37
  98. package/skill/skill-types.d.ts +0 -6
  99. package/skill/skill-types.d.ts.map +1 -1
  100. package/skill/skill-types.js +7 -8
  101. package/skill/skill.d.ts +2 -9
  102. package/skill/skill.d.ts.map +1 -1
  103. package/skill/skill.js +33 -34
  104. package/skill/types/skill-editor-submit.d.ts +8 -0
  105. package/skill/types/skill-editor-submit.d.ts.map +1 -0
  106. package/skill/types/skill-editor-submit.js +6 -0
  107. package/skill/useSkillEditorLoad.js +1 -1
  108. package/skill/useSkillEditorSubmit.d.ts +2 -3
  109. package/skill/useSkillEditorSubmit.d.ts.map +1 -1
  110. package/skill/useSkillEditorSubmit.js +103 -102
  111. package/skill/useSkillFileActions.d.ts +7 -1
  112. package/skill/useSkillFileActions.d.ts.map +1 -1
  113. package/skill/useSkillFileActions.js +55 -49
  114. package/skill-editor.js +7 -6
  115. package/utils.js +28 -27
package/utils.js CHANGED
@@ -1,28 +1,29 @@
1
1
  import { getAcceptInvitationErrorItemName as e, getApiErrorDetails as t, getApiErrorMessage as n, getApiErrorStatus as r, isConversationNotFoundError as i } from "./api-error/api-error.js";
2
- import { createCsrfMiddleware as a } from "./api-transport/create-csrf-middleware.js";
3
- import { createUnauthorizedMiddleware as o } from "./api-transport/create-unauthorized-middleware.js";
4
- import { includesIgnoreCase as s, safeDecodeURI as c, safeDecodeURIComponent as l, stripSurroundingSlashes as u, stripTrailingSlashes as d } from "./shared/string-utils.js";
5
- import { appendLocaleCode as f, buildAdditionalLocaleOptions as p, composeLocalePayload as m, decomposeLocalizedFields as h, resolveLocalizedText as g, toBaseLocale as _ } from "./shared/locale.js";
6
- import { formatCalendarDate as v, padTwoDigits as y } from "./shared/formatting.js";
7
- import { PromptSource as b, parsePromptResourceUrl as x } from "./prompt/prompt-resource.js";
8
- import { getRunnerSchemas as S, isCustomAppSchema as C, isQuickAppSchema as w } from "./shared/application-schema.js";
9
- import { buildExternalServiceScopeId as T, getExternalServiceFallbackName as E, parseExternalServiceUrl as D } from "./shared/external-services.js";
10
- import { SaveDestinationRoot as O } from "./catalog/save-destination-root.js";
11
- import { buildPromptExportEnvelope as k, buildPromptExportFileName as A, serializePromptExport as j } from "./prompt/export-prompt.js";
12
- import { PROMPT_CONTENT_MAX_LENGTH as M, PROMPT_COUNTER_ANNOUNCE_THRESHOLD as N, PROMPT_DESCRIPTION_MAX_LENGTH as P, PROMPT_FIELD_VALIDATORS as F, PROMPT_NAME_MAX_LENGTH as I, PromptFieldError as L, buildPromptPath as R, getRemainingCharacters as z, validatePromptContent as B, validatePromptDescription as V, validatePromptName as H } from "./prompt/prompt.js";
13
- import { usePromptsState as U } from "./prompt/usePromptsState/usePromptsState.js";
14
- import { getBrowserTimezone as W } from "./shared/browser-timezone.js";
15
- import { apSchedulerDayToJsDay as G, jsDayToApSchedulerDay as K } from "./shared/cron-weekday.js";
16
- import { isValidAbsoluteUrl as q, isValidFeaturesData as J, parseFeaturesData as Y } from "./shared/custom-apps.js";
17
- import { EXTERNAL_SERVICE_SIGNIN_METHOD as X, PendingSigninEventKind as Z, TOOLSET_SIGNIN_METHOD as Q } from "./shared/client-channel.js";
18
- import { ColorScheme as $, applyThemeColors as ee, getOsPreferredTheme as te } from "./shared/theme-colors.js";
19
- import { useUsageData as ne } from "./usage/useUsageData/useUsageData.js";
20
- import { triggerBrowserDownload as re } from "./files/browser-download.js";
21
- import { usePersistedState as ie } from "./shared/usePersistedState/usePersistedState.js";
22
- import { useAppVersionCheck as ae } from "./shared/useAppVersionCheck/useAppVersionCheck.js";
23
- import { getCleanedLocationTarget as oe } from "./shared/url-cleanup.js";
24
- import { OrgUnitsStatus as se } from "./org-units/types.js";
25
- import { useOrgUnits as ce } from "./org-units/useOrgUnits/useOrgUnits.js";
26
- import { OrgUnitFolderGuardPurpose as le, buildFolderGuards as ue, getOrgUnitNamespace as de, toPublishDisabledReason as fe } from "./org-units/org-unit-guards.js";
27
- import { useFolderGuards as pe } from "./org-units/useFolderGuards/useFolderGuards.js";
28
- export { $ as ColorScheme, X as EXTERNAL_SERVICE_SIGNIN_METHOD, le as OrgUnitFolderGuardPurpose, se as OrgUnitsStatus, M as PROMPT_CONTENT_MAX_LENGTH, N as PROMPT_COUNTER_ANNOUNCE_THRESHOLD, P as PROMPT_DESCRIPTION_MAX_LENGTH, F as PROMPT_FIELD_VALIDATORS, I as PROMPT_NAME_MAX_LENGTH, Z as PendingSigninEventKind, L as PromptFieldError, b as PromptSource, O as SaveDestinationRoot, Q as TOOLSET_SIGNIN_METHOD, G as apSchedulerDayToJsDay, f as appendLocaleCode, ee as applyThemeColors, p as buildAdditionalLocaleOptions, T as buildExternalServiceScopeId, ue as buildFolderGuards, k as buildPromptExportEnvelope, A as buildPromptExportFileName, R as buildPromptPath, m as composeLocalePayload, a as createCsrfMiddleware, o as createUnauthorizedMiddleware, h as decomposeLocalizedFields, v as formatCalendarDate, e as getAcceptInvitationErrorItemName, t as getApiErrorDetails, n as getApiErrorMessage, r as getApiErrorStatus, W as getBrowserTimezone, oe as getCleanedLocationTarget, E as getExternalServiceFallbackName, de as getOrgUnitNamespace, te as getOsPreferredTheme, z as getRemainingCharacters, S as getRunnerSchemas, s as includesIgnoreCase, i as isConversationNotFoundError, C as isCustomAppSchema, w as isQuickAppSchema, q as isValidAbsoluteUrl, J as isValidFeaturesData, K as jsDayToApSchedulerDay, y as padTwoDigits, D as parseExternalServiceUrl, Y as parseFeaturesData, x as parsePromptResourceUrl, g as resolveLocalizedText, c as safeDecodeURI, l as safeDecodeURIComponent, j as serializePromptExport, u as stripSurroundingSlashes, d as stripTrailingSlashes, _ as toBaseLocale, fe as toPublishDisabledReason, re as triggerBrowserDownload, ae as useAppVersionCheck, pe as useFolderGuards, ce as useOrgUnits, ie as usePersistedState, U as usePromptsState, ne as useUsageData, B as validatePromptContent, V as validatePromptDescription, H as validatePromptName };
2
+ import { withApiErrorMapping as a } from "./api-error/map-api-error.js";
3
+ import { createCsrfMiddleware as o } from "./api-transport/create-csrf-middleware.js";
4
+ import { createUnauthorizedMiddleware as s } from "./api-transport/create-unauthorized-middleware.js";
5
+ import { includesIgnoreCase as c, safeDecodeURI as l, safeDecodeURIComponent as u, stripSurroundingSlashes as d, stripTrailingSlashes as f } from "./shared/string-utils.js";
6
+ import { appendLocaleCode as p, buildAdditionalLocaleOptions as m, composeLocalePayload as h, decomposeLocalizedFields as g, resolveLocalizedText as _, toBaseLocale as v } from "./shared/locale.js";
7
+ import { formatCalendarDate as y, padTwoDigits as b } from "./shared/formatting.js";
8
+ import { PromptSource as x, parsePromptResourceUrl as S } from "./prompt/prompt-resource.js";
9
+ import { getRunnerSchemas as C, isCustomAppSchema as w, isQuickAppSchema as T } from "./shared/application-schema.js";
10
+ import { buildExternalServiceScopeId as E, getExternalServiceFallbackName as D, parseExternalServiceUrl as O } from "./shared/external-services.js";
11
+ import { SaveDestinationRoot as k } from "./catalog/save-destination-root.js";
12
+ import { OrgUnitsStatus as A } from "./org-units/types.js";
13
+ import { NO_DIRECT_AVAILABILITY as j, OrgUnitFolderGuardPurpose as M, buildFolderGuards as N, getCatalogPublishDirectAvailability as P, getDependencyOrgUnitNamespaces as F, getDependencyTypeOfNamespace as I, getMissingDirectWriteNamespaces as L, getOrgUnitNamespace as R, getPublishDirectAvailability as z, hasBlockingFolderReference as B, toPublishDisabledReason as V } from "./org-units/org-unit-guards.js";
14
+ import { buildPromptExportEnvelope as H, buildPromptExportFileName as U, serializePromptExport as W } from "./prompt/export-prompt.js";
15
+ import { PROMPT_CONTENT_MAX_LENGTH as G, PROMPT_COUNTER_ANNOUNCE_THRESHOLD as K, PROMPT_DESCRIPTION_MAX_LENGTH as q, PROMPT_FIELD_VALIDATORS as J, PROMPT_NAME_MAX_LENGTH as Y, PromptFieldError as X, buildPromptPath as Z, getRemainingCharacters as Q, validatePromptContent as $, validatePromptDescription as ee, validatePromptName as te } from "./prompt/prompt.js";
16
+ import { usePromptsState as ne } from "./prompt/usePromptsState/usePromptsState.js";
17
+ import { getBrowserTimezone as re } from "./shared/browser-timezone.js";
18
+ import { apSchedulerDayToJsDay as ie, jsDayToApSchedulerDay as ae } from "./shared/cron-weekday.js";
19
+ import { isValidAbsoluteUrl as oe, isValidFeaturesData as se, parseFeaturesData as ce } from "./shared/custom-apps.js";
20
+ import { EXTERNAL_SERVICE_SIGNIN_METHOD as le, PendingSigninEventKind as ue, TOOLSET_SIGNIN_METHOD as de } from "./shared/client-channel.js";
21
+ import { ColorScheme as fe, applyThemeColors as pe, getOsPreferredTheme as me } from "./shared/theme-colors.js";
22
+ import { useUsageData as he } from "./usage/useUsageData/useUsageData.js";
23
+ import { triggerBrowserDownload as ge } from "./files/browser-download.js";
24
+ import { usePersistedState as _e } from "./shared/usePersistedState/usePersistedState.js";
25
+ import { useAppVersionCheck as ve } from "./shared/useAppVersionCheck/useAppVersionCheck.js";
26
+ import { getCleanedLocationTarget as ye } from "./shared/url-cleanup.js";
27
+ import { useOrgUnits as be } from "./org-units/useOrgUnits/useOrgUnits.js";
28
+ import { useFolderGuards as xe } from "./org-units/useFolderGuards/useFolderGuards.js";
29
+ export { fe as ColorScheme, le as EXTERNAL_SERVICE_SIGNIN_METHOD, j as NO_DIRECT_AVAILABILITY, M as OrgUnitFolderGuardPurpose, A as OrgUnitsStatus, G as PROMPT_CONTENT_MAX_LENGTH, K as PROMPT_COUNTER_ANNOUNCE_THRESHOLD, q as PROMPT_DESCRIPTION_MAX_LENGTH, J as PROMPT_FIELD_VALIDATORS, Y as PROMPT_NAME_MAX_LENGTH, ue as PendingSigninEventKind, X as PromptFieldError, x as PromptSource, k as SaveDestinationRoot, de as TOOLSET_SIGNIN_METHOD, ie as apSchedulerDayToJsDay, p as appendLocaleCode, pe as applyThemeColors, m as buildAdditionalLocaleOptions, E as buildExternalServiceScopeId, N as buildFolderGuards, H as buildPromptExportEnvelope, U as buildPromptExportFileName, Z as buildPromptPath, h as composeLocalePayload, o as createCsrfMiddleware, s as createUnauthorizedMiddleware, g as decomposeLocalizedFields, y as formatCalendarDate, e as getAcceptInvitationErrorItemName, t as getApiErrorDetails, n as getApiErrorMessage, r as getApiErrorStatus, re as getBrowserTimezone, P as getCatalogPublishDirectAvailability, ye as getCleanedLocationTarget, F as getDependencyOrgUnitNamespaces, I as getDependencyTypeOfNamespace, D as getExternalServiceFallbackName, L as getMissingDirectWriteNamespaces, R as getOrgUnitNamespace, me as getOsPreferredTheme, z as getPublishDirectAvailability, Q as getRemainingCharacters, C as getRunnerSchemas, B as hasBlockingFolderReference, c as includesIgnoreCase, i as isConversationNotFoundError, w as isCustomAppSchema, T as isQuickAppSchema, oe as isValidAbsoluteUrl, se as isValidFeaturesData, ae as jsDayToApSchedulerDay, b as padTwoDigits, O as parseExternalServiceUrl, ce as parseFeaturesData, S as parsePromptResourceUrl, _ as resolveLocalizedText, l as safeDecodeURI, u as safeDecodeURIComponent, W as serializePromptExport, d as stripSurroundingSlashes, f as stripTrailingSlashes, v as toBaseLocale, V as toPublishDisabledReason, ge as triggerBrowserDownload, ve as useAppVersionCheck, xe as useFolderGuards, be as useOrgUnits, _e as usePersistedState, ne as usePromptsState, he as useUsageData, $ as validatePromptContent, ee as validatePromptDescription, te as validatePromptName, a as withApiErrorMapping };