@epam/ai-dial-chat-hooks 1.1.0-dev.413 → 1.1.0-dev.420

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/catalog.js CHANGED
@@ -1,3 +1,3 @@
1
- import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, V as S, W as C, X as w, Y as T, Z as E, _ as D, a as O, b as k, c as A, d as j, et as M, f as N, g as P, h as F, i as I, j as L, k as R, l as z, m as B, n as V, o as H, p as U, q as W, r as G, s as K, t as q, u as J, v as Y, w as X, x as Z, y as Q, z as $ } from "./useSkillFilePreview-DM3YnKr4.js";
1
+ import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, V as S, W as C, X as w, Y as T, Z as E, _ as D, a as O, b as k, c as A, d as j, et as M, f as N, g as P, h as F, i as I, j as L, k as R, l as z, m as B, n as V, o as H, p as U, q as W, r as G, s as K, t as q, u as J, v as Y, w as X, x as Z, y as Q, z as $ } from "./useSkillFilePreview-B5o1n_0F.js";
2
2
  import { n as ee, t as te } from "./deployment-id-CxWgJTs9.js";
3
3
  export { T as AuthenticationType, z as CatalogPrimaryActionType, I as FavoriteEntityType, Q as McpResourceKind, L as PUBLIC_SKILL_BUCKET, p as SKILL_LISTING_MAX_PAGES, m as SKILL_LISTING_PAGE_SIZE, g as SKILL_MANIFEST_MAX_BYTES, q as SkillPreviewErrorKind, o as SkillSource, k as buildApplicationMcpUrl, w as buildChatCompletionsUrl, Z as buildConnectApi, E as buildDeploymentConnectApi, f as buildPromptOverview, _ as buildResponsesUrl, X as buildSkillContentTree, b as buildSkillOverview, y as buildToolsetMcpUrl, e as createPublishApiClient, j as deriveAvailableTabIds, N as deriveFavoriteItems, te as encodeDeploymentId, U as filterCatalogItemsBySelector, B as filterHiddenOwnedItems, ee as findDeploymentByIdOrReference, v as isOrganisationPromptItem, C as mapDeploymentDetailsDtoToEntityDetails, u as mapDeploymentLimitsDtoToCatalogLimits, W as mapDeploymentLimitsToInput, n as mapDeploymentToCatalogItem, S as mapDeploymentToolsetCredentials, s as mapEntityDetailsToCatalogDetails, $ as mapPromptToCatalogItem, P as mapPublishConversationResultDto, D as mapPublishHistoryEntryDto, a as mapSkillToCatalogItem, d as mapToolsetCredentials, c as mapToolsetToCatalogItem, l as parseSkillResourceUrl, i as readSkillFileBytes, h as readSkillManifest, F as reconcileFilterTopics, J as resolveCatalogPrimaryAction, x as resolveDeploymentFolder, r as resolveMcpResourceKind, R as resolveSkillFileDownloadPath, t as resolveSkillManifestFileId, Y as toPublishEntityType, M as toPublishRuleDto, A as useCatalogEditNavigation, K as useCatalogItemDetails, H as useCatalogToolsetCredentials, O as useFavoriteEntitiesState, G as usePublishFolders, V as useSkillFilePreview };
@@ -1,3 +1,3 @@
1
1
  import { n as e, t } from "./date-BeuD8G79.js";
2
- import { a as n, c as r, i, l as a, n as o, o as s, r as c, s as l, t as u } from "./useConversationImport-M6p86dtf.js";
2
+ import { a as n, c as r, i, l as a, n as o, o as s, r as c, s as l, t as u } from "./useConversationImport-CDRs7JF1.js";
3
3
  export { s as ConversationExportMode, l as ConversationTransferErrorCode, r as ConversationTransferWarningCode, o as DEFAULT_MAX_ARCHIVE_BYTES, n as EXPORT_APP_NAME, a as ExportFileNameKind, t as formatDateYM, e as formatDateYMD, i as formatQuotedNameList, c as useConversationExport, u as useConversationImport };
package/file-manager.d.ts CHANGED
@@ -60,7 +60,7 @@ export declare const annotationToDisplayAttachment: (annotation: Annotation) =>
60
60
 
61
61
  /**
62
62
  * Builds a `PdfCanvasContent` for a PDF citation annotation, including highlights
63
- * for all annotations in the same source group and scroll target for the clicked one.
63
+ * for the clicked annotation's document within its citation group.
64
64
  * Returns `null` if the annotation has no PDF source attachment.
65
65
  */
66
66
  export declare const annotationToPdfCanvasContent: (annotation: Annotation, groups: AnnotationGroup[], resolvers: AttachmentCanvasUrlResolvers) => PdfCanvasContent | null;
@@ -83,6 +83,7 @@ declare enum AttachmentContentType {
83
83
  Image = 'image',
84
84
  Audio = 'audio',
85
85
  Markdown = 'markdown',
86
+ MarkdownTable = 'markdown_table',
86
87
  Json = 'json',
87
88
  Pdf = 'pdf',
88
89
  Ooxml = 'ooxml',
@@ -117,8 +118,9 @@ export declare const buildFromCache: (cache: Map<string, ListFilesItemDto[]>, li
117
118
  * DialFile.path format ("/My files/reports/q1.pdf") that ui-kit compares
118
119
  * row items against for `sharedByMePaths`/`sharedWithMeIds` gating — the
119
120
  * DIAL Core resource path ("files/{bucket}/...") is a different identifier
120
- * space and never matches. Decodes each path segment independently, matching
121
- * how buildFromCache derives virtual paths.
121
+ * space and never matches. The input comes from a percent-encoded DIAL Core
122
+ * url, so each segment is decoded independently to reach the same decoded
123
+ * space the listing rows live in.
122
124
  */
123
125
  export declare const buildSharedItemVirtualPath: (relativePath: string, rootLabel: string, isFolder: boolean) => string;
124
126
 
@@ -690,6 +692,8 @@ declare interface PdfCanvasContent {
690
692
  highlights?: InputHighlightData[];
691
693
  /** ID of the highlight to scroll to and select on initial load. */
692
694
  selectedHighlightId?: string;
695
+ /** 1-based page to navigate to on initial load, independent of highlight geometry. */
696
+ page?: number;
693
697
  }
694
698
 
695
699
  /** Content payload for plain-text attachments. */
package/file-manager.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./attachment-types-AAoN9E95.js";
2
- import { $ as s, A as c, B as l, C as u, Ct as d, D as f, E as p, F as m, G as h, H as g, I as _, J as v, K as y, L as b, M as x, N as S, O as C, P as w, Q as T, R as E, S as D, St as O, T as k, U as A, V as j, W as M, X as N, Y as P, Z as F, _ as I, _t as L, a as R, at as z, b as B, bt as V, c as H, ct as U, d as W, dt as G, et as K, f as q, ft as J, g as Y, gt as X, h as Z, ht as Q, i as $, it as ee, j as te, k as ne, l as re, lt as ie, m as ae, mt as oe, n as se, nt as ce, o as le, ot as ue, p as de, pt as fe, q as pe, r as me, rt as he, s as ge, st as _e, t as ve, tt as ye, u as be, ut as xe, v as Se, vt as Ce, w as we, wt as Te, x as Ee, xt as De, y as Oe, yt as ke, z as Ae } from "./useDialFileManagerTabConfig-CljXkfhP.js";
2
+ import { $ as s, A as c, B as l, C as u, Ct as d, D as f, E as p, F as m, G as h, H as g, I as _, J as v, K as y, L as b, M as x, N as S, O as C, P as w, Q as T, R as E, S as D, St as O, T as k, U as A, V as j, W as M, X as N, Y as P, Z as F, _ as I, _t as L, a as R, at as z, b as B, bt as V, c as H, ct as U, d as W, dt as G, et as K, f as q, ft as J, g as Y, gt as X, h as Z, ht as Q, i as $, it as ee, j as te, k as ne, l as re, lt as ie, m as ae, mt as oe, n as se, nt as ce, o as le, ot as ue, p as de, pt as fe, q as pe, r as me, rt as he, s as ge, st as _e, t as ve, tt as ye, u as be, ut as xe, v as Se, vt as Ce, w as we, wt as Te, x as Ee, xt as De, y as Oe, yt as ke, z as Ae } from "./useDialFileManagerTabConfig-CjI46lMo.js";
3
3
  import { useGridEditingScroll as je } from "@epam/ai-dial-chat-shared";
4
4
  export { oe as COLUMNS_WITHOUT_AUTHOR, Q as COLUMNS_WITH_AUTHOR, X as CORE_PERMISSION_MAP, L as DATE_OPTIONS, G as DialFileManagerActionProfile, J as DialFileManagerVariant, Te as DialFilesApiUploadMode, q as DownloadDestinationType, De as FileManagerNotificationReason, O as FileNameValidationErrorReason, d as FileOperationKind, Ce as PATH_SEPARATOR_REGEXP, ke as RESERVED_MARKER_NAME, V as UPLOAD_CONCURRENCY, Y as annotationToDisplayAttachment, Oe as annotationToPdfCanvasContent, I as attachmentDtoToDisplayAttachment, Se as attachmentDtosToDisplayAttachments, E as buildFromCache, T as buildSharedItemVirtualPath, B as clearAttachmentCache, b as createFilesApiClient, _ as createUploadFileWithProgress, fe as deriveActionProfile, s as dialCorePathToRelative, de as dialFileToAttachment, ae as dialFilesToAttachments, Z as dialFolderPathToAttachment, Ae as fetchByTab, l as fetchForSearch, K as findDialFileByPath, j as findFirstSuccessfulCopyMoveItem, ye as findFolderByVirtualPath, ce as formatOperationFolderName, P as getParentFolderPath, Ee as getUrlFileName, he as getVirtualPathName, D as hasAttachmentTextSource, ee as hasDialFileWritePermission, z as hasForbiddenNameSymbols, ue as isCopyMoveDuplicateAllowed, o as isDialFileAcceptType, e as isDialFileId, u as isExternalSourcePreviewable, _e as isShareActionsAllowed, g as mapCorePermissions, A as mapFileMetadataToDialFile, M as mapSearchItem, h as mergeCreatedFolderIntoCache, n as mimeTypesToAttachmentExtensionLabels, i as mimeTypesToDialFileAcceptTypes, t as mimeTypesToFileAccept, U as normalizeVirtualPath, m as openAnnotationAttachment, ie as parseNewFolderVirtualPath, pe as prepareCopyItems, W as prepareDownloadDestination, v as prepareMoveRenameItems, we as referenceAttachmentToPdfCanvasContent, k as resolveCodeCanvasContent, N as resolveDialFileApiPath, r as resolveDialFileBucketAndPath, p as resolveExternalSourceContentType, f as resolveHtmlCanvasContent, C as resolveImageCanvasContent, ne as resolveJsonCanvasContent, c as resolveMarkdownCanvasContent, te as resolveOoxmlCanvasContent, xe as resolveOwnerCoords, x as resolvePdfCanvasContent, a as resolveRelativeDialFilePath, S as resolveTextCanvasContent, w as resolveVisualizerCanvasContent, H as sanitizeFileName, re as splitFileNameExtension, be as trimFileNameToByteLimit, y as updateEntry, ge as useDialFileListing, se as useDialFileManager, ve as useDialFileManagerTabConfig, le as useDialFileMetadata, R as useDialFileMutations, $ as useDialFileSharing, me as useDialFileUploadBatch, je as useGridEditingScroll, F as virtualPathToApiPath };
package/index.d.ts CHANGED
@@ -189,7 +189,7 @@ export declare const annotationToDisplayAttachment: (annotation: Annotation) =>
189
189
 
190
190
  /**
191
191
  * Builds a `PdfCanvasContent` for a PDF citation annotation, including highlights
192
- * for all annotations in the same source group and scroll target for the clicked one.
192
+ * for the clicked annotation's document within its citation group.
193
193
  * Returns `null` if the annotation has no PDF source attachment.
194
194
  */
195
195
  export declare const annotationToPdfCanvasContent: (annotation: Annotation, groups: AnnotationGroup[], resolvers: AttachmentCanvasUrlResolvers) => PdfCanvasContent | null;
@@ -272,6 +272,7 @@ declare enum AttachmentContentType {
272
272
  Image = 'image',
273
273
  Audio = 'audio',
274
274
  Markdown = 'markdown',
275
+ MarkdownTable = 'markdown_table',
275
276
  Json = 'json',
276
277
  Pdf = 'pdf',
277
278
  Ooxml = 'ooxml',
@@ -396,8 +397,9 @@ export declare const buildResponsesUrl: (baseUrl: string) => string;
396
397
  * DialFile.path format ("/My files/reports/q1.pdf") that ui-kit compares
397
398
  * row items against for `sharedByMePaths`/`sharedWithMeIds` gating — the
398
399
  * DIAL Core resource path ("files/{bucket}/...") is a different identifier
399
- * space and never matches. Decodes each path segment independently, matching
400
- * how buildFromCache derives virtual paths.
400
+ * space and never matches. The input comes from a percent-encoded DIAL Core
401
+ * url, so each segment is decoded independently to reach the same decoded
402
+ * space the listing rows live in.
401
403
  */
402
404
  export declare const buildSharedItemVirtualPath: (relativePath: string, rootLabel: string, isFolder: boolean) => string;
403
405
 
@@ -2515,6 +2517,8 @@ declare interface PdfCanvasContent {
2515
2517
  highlights?: InputHighlightData[];
2516
2518
  /** ID of the highlight to scroll to and select on initial load. */
2517
2519
  selectedHighlightId?: string;
2520
+ /** 1-based page to navigate to on initial load, independent of highlight geometry. */
2521
+ page?: number;
2518
2522
  }
2519
2523
 
2520
2524
  /** Content payload for plain-text attachments. */
package/index.js CHANGED
@@ -4,8 +4,8 @@ import { C as d, E as f, S as p, T as m, _ as h, a as g, b as _, c as v, d as y,
4
4
  import { i as L, n as R, r as z, t as B } from "./string-utils-iBi2Y55C.js";
5
5
  import { a as V, i as H, n as U, r as W, t as G } from "./useAttachmentValidation-CkMTd5lA.js";
6
6
  import { n as K, t as q } from "./date-BeuD8G79.js";
7
- import { a as J, c as Y, i as X, l as Z, n as Q, o as $, r as ee, s as te, t as ne } from "./useConversationImport-M6p86dtf.js";
8
- import { $ as re, A as ie, B as ae, C as oe, D as se, E as ce, F as le, G as ue, H as de, I as fe, J as pe, K as me, L as he, M as ge, N as _e, O as ve, P as ye, Q as be, R as xe, S as Se, T as Ce, U as we, V as Te, W as Ee, X as De, Y as Oe, Z as ke, _ as Ae, a as je, b as Me, c as Ne, d as Pe, et as Fe, f as Ie, g as Le, h as Re, i as ze, j as Be, k as Ve, l as He, m as Ue, n as We, o as Ge, p as Ke, q as qe, r as Je, s as Ye, t as Xe, u as Ze, v as Qe, w as $e, x as et, y as tt, z as nt } from "./useSkillFilePreview-DM3YnKr4.js";
7
+ import { a as J, c as Y, i as X, l as Z, n as Q, o as $, r as ee, s as te, t as ne } from "./useConversationImport-CDRs7JF1.js";
8
+ import { $ as re, A as ie, B as ae, C as oe, D as se, E as ce, F as le, G as ue, H as de, I as fe, J as pe, K as me, L as he, M as ge, N as _e, O as ve, P as ye, Q as be, R as xe, S as Se, T as Ce, U as we, V as Te, W as Ee, X as De, Y as Oe, Z as ke, _ as Ae, a as je, b as Me, c as Ne, d as Pe, et as Fe, f as Ie, g as Le, h as Re, i as ze, j as Be, k as Ve, l as He, m as Ue, n as We, o as Ge, p as Ke, q as qe, r as Je, s as Ye, t as Xe, u as Ze, v as Qe, w as $e, x as et, y as tt, z as nt } from "./useSkillFilePreview-B5o1n_0F.js";
9
9
  import { n as rt, t as it } from "./deployment-id-CxWgJTs9.js";
10
10
  import { C as at, S as ot, T as st, _ as ct, a as lt, b as ut, c as dt, d as ft, f as pt, g as mt, h as ht, i as gt, l as _t, m as vt, n as yt, o as bt, p as xt, r as St, s as Ct, t as wt, u as Tt, v as Et, w as Dt, x as Ot, y as kt } from "./useToolsetLogin-B05m134e.js";
11
11
  import { a as At, c as jt, i as Mt, n as Nt, o as Pt, r as Ft, s as It, t as Lt } from "./prompt-resource-Bt1I-8ri.js";
@@ -20,7 +20,7 @@ import { t as rr } from "./useSkillsState-BoLlwmzb.js";
20
20
  import { n as ir, t as ar } from "./useShareRecipientsCount-BgwCLKY0.js";
21
21
  import { t as or } from "./useConversationScroll-CliIMnjP.js";
22
22
  import { t as sr } from "./useConversationSources-DKaKvjXZ.js";
23
- import { $ as cr, A as lr, B as ur, C as dr, Ct as fr, D as pr, E as mr, F as hr, G as gr, H as _r, I as vr, J as yr, K as br, L as xr, M as Sr, N as Cr, O as wr, P as Tr, Q as Er, R as Dr, S as Or, St as kr, T as Ar, U as jr, V as Mr, W as Nr, X as Pr, Y as Fr, Z as Ir, _ as Lr, _t as Rr, a as zr, at as Br, b as Vr, bt as Hr, c as Ur, ct as Wr, d as Gr, dt as Kr, et as qr, f as Jr, ft as Yr, g as Xr, gt as Zr, h as Qr, ht as $r, i as ei, it as ti, j as ni, k as ri, l as ii, lt as ai, m as oi, mt as si, n as ci, nt as li, o as ui, ot as di, p as fi, pt as pi, q as mi, r as hi, rt as gi, s as _i, st as vi, t as yi, tt as bi, u as xi, ut as Si, v as Ci, vt as wi, w as Ti, wt as Ei, x as Di, xt as Oi, y as ki, yt as Ai, z as ji } from "./useDialFileManagerTabConfig-CljXkfhP.js";
23
+ import { $ as cr, A as lr, B as ur, C as dr, Ct as fr, D as pr, E as mr, F as hr, G as gr, H as _r, I as vr, J as yr, K as br, L as xr, M as Sr, N as Cr, O as wr, P as Tr, Q as Er, R as Dr, S as Or, St as kr, T as Ar, U as jr, V as Mr, W as Nr, X as Pr, Y as Fr, Z as Ir, _ as Lr, _t as Rr, a as zr, at as Br, b as Vr, bt as Hr, c as Ur, ct as Wr, d as Gr, dt as Kr, et as qr, f as Jr, ft as Yr, g as Xr, gt as Zr, h as Qr, ht as $r, i as ei, it as ti, j as ni, k as ri, l as ii, lt as ai, m as oi, mt as si, n as ci, nt as li, o as ui, ot as di, p as fi, pt as pi, q as mi, r as hi, rt as gi, s as _i, st as vi, t as yi, tt as bi, u as xi, ut as Si, v as Ci, vt as wi, w as Ti, wt as Ei, x as Di, xt as Oi, y as ki, yt as Ai, z as ji } from "./useDialFileManagerTabConfig-CjI46lMo.js";
24
24
  import { n as Mi, r as Ni, t as Pi } from "./usePanelMaxWidth-BEZYuqF9.js";
25
25
  import { t as Fi } from "./useShareLink-xkiaxATt.js";
26
26
  import { a as Ii, i as Li, n as Ri, o as zi, r as Bi, t as Vi } from "./useOpenMcpAppCanvas-C7-AMseH.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-chat-hooks",
3
3
  "description": "Framework-level React hooks extracted from AI DIAL Chat for building custom chat interfaces",
4
- "version": "1.1.0-dev.413",
4
+ "version": "1.1.0-dev.420",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "sideEffects": [
@@ -99,21 +99,21 @@
99
99
  },
100
100
  "peerDependencies": {
101
101
  "react": "^19.2.6",
102
- "@epam/ai-dial-attachment-canvas": "1.1.0-dev.413",
103
- "@epam/ai-dial-attachment-input": "1.1.0-dev.413",
104
- "@epam/ai-dial-catalog": "1.1.0-dev.413",
105
- "@epam/ai-dial-chat-api-client": "1.1.0-dev.413",
106
- "@epam/ai-dial-chat-overlay": "1.1.0-dev.413",
107
- "@epam/ai-dial-chat-shared": "1.1.0-dev.413",
108
- "@epam/ai-dial-deployment-creation-form": "1.1.0-dev.413",
109
- "@epam/ai-dial-mcp-apps": "1.1.0-dev.413",
110
- "@epam/ai-dial-publish-panel": "1.1.0-dev.413",
111
- "@epam/ai-dial-quotations": "1.1.0-dev.413",
102
+ "@epam/ai-dial-attachment-canvas": "1.1.0-dev.420",
103
+ "@epam/ai-dial-attachment-input": "1.1.0-dev.420",
104
+ "@epam/ai-dial-catalog": "1.1.0-dev.420",
105
+ "@epam/ai-dial-chat-api-client": "1.1.0-dev.420",
106
+ "@epam/ai-dial-chat-overlay": "1.1.0-dev.420",
107
+ "@epam/ai-dial-chat-shared": "1.1.0-dev.420",
108
+ "@epam/ai-dial-deployment-creation-form": "1.1.0-dev.420",
109
+ "@epam/ai-dial-mcp-apps": "1.1.0-dev.420",
110
+ "@epam/ai-dial-publish-panel": "1.1.0-dev.420",
111
+ "@epam/ai-dial-quotations": "1.1.0-dev.420",
112
112
  "@epam/ai-dial-react-file-manager": "*",
113
- "@epam/ai-dial-scheduled-tasks": "1.1.0-dev.413",
114
- "@epam/ai-dial-share": "1.1.0-dev.413",
115
- "@epam/ai-dial-skill-editor": "1.1.0-dev.413",
116
- "@epam/ai-dial-source-panel": "1.1.0-dev.413",
113
+ "@epam/ai-dial-scheduled-tasks": "1.1.0-dev.420",
114
+ "@epam/ai-dial-share": "1.1.0-dev.420",
115
+ "@epam/ai-dial-skill-editor": "1.1.0-dev.420",
116
+ "@epam/ai-dial-source-panel": "1.1.0-dev.420",
117
117
  "@epam/ai-dial-ui-kit": "*",
118
118
  "@modelcontextprotocol/sdk": "^1.27.1",
119
119
  "@epam/pdf-highlighter-kit": ">=0.0.14"
@@ -687,7 +687,7 @@ var y = /* @__PURE__ */ function(e) {
687
687
  total: f.history.length,
688
688
  kind: u.Conversation
689
689
  }));
690
- }, S = [], C = [], w = [], T = !1, E, D = /* @__PURE__ */ new Date(), O = (e) => !!a(e).isUnauthorized, k;
690
+ }, S = [], C = [], w = /* @__PURE__ */ new Set(), T = !1, E, D = /* @__PURE__ */ new Date(), O = (e) => !!a(e).isUnauthorized, k;
691
691
  if (f.isArchive) {
692
692
  let e = `uploads/${t(D)}`, i = [];
693
693
  try {
@@ -730,7 +730,8 @@ var y = /* @__PURE__ */ function(e) {
730
730
  T = !0;
731
731
  break;
732
732
  }
733
- e.skippedNames.length > 0 && w.push(...e.skippedNames), i = e.targetMap;
733
+ for (let t of e.skippedNames) w.add(t);
734
+ i = e.targetMap;
734
735
  }
735
736
  let { conversation: a, subPath: o } = I(se(t, i), r);
736
737
  if (await e.saveConversation({
@@ -773,11 +774,11 @@ var y = /* @__PURE__ */ function(e) {
773
774
  code: o.Unknown,
774
775
  titles: C,
775
776
  traceId: E
776
- }), w.length > 0 && p?.({
777
+ }), w.size > 0 && p?.({
777
778
  jobId: l,
778
779
  code: d.AttachmentSkipped,
779
- names: w
780
- }), C.length > 0 ? g.failJob(l, o.Unknown) : w.length > 0 ? g.warnJob(l, d.AttachmentSkipped) : g.succeedJob(l);
780
+ names: [...w]
781
+ }), C.length > 0 ? g.failJob(l, o.Unknown) : w.size > 0 ? g.warnJob(l, d.AttachmentSkipped) : g.succeedJob(l);
781
782
  }
782
783
  }, [
783
784
  r,