@epam/ai-dial-chat-hooks 1.1.0-dev.358 → 1.1.0-dev.361

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.
@@ -21,6 +21,18 @@ export interface AttachmentCanvasUrlResolvers {
21
21
  * is a citation title rather than a file name.
22
22
  */
23
23
  export declare const getUrlFileName: (url: string) => string;
24
+ /**
25
+ * Returns the content type to trust for an external citation source: `contentType`
26
+ * unchanged when it is already an image/audio/PDF marker, otherwise `MIMEType.PDF`
27
+ * when `url`'s path extension is `.pdf`, otherwise `contentType` unchanged.
28
+ *
29
+ * Web-search grounding APIs label every reference — PDFs included — as
30
+ * `text/markdown`, so a mislabeled `contentType` must not win over a `.pdf`
31
+ * URL extension: doing so previously sent PDF bytes into the markdown/text
32
+ * canvas viewer, which rendered them as raw garbled text instead of opening
33
+ * the PDF viewer.
34
+ */
35
+ export declare const resolveExternalSourceContentType: (contentType: string, url: string) => string;
24
36
  /** Returns true when an external (non-DIAL) source URL should be opened in the canvas rather than a new browser tab. */
25
37
  export declare const isExternalSourcePreviewable: (contentType: string, url: string) => boolean;
26
38
  /** Clears all cached fetch results. Call this when leaving a conversation. */
@@ -1 +1 @@
1
- {"version":3,"file":"attachment-canvas.d.ts","sourceRoot":"","sources":["../../src/files/attachment-canvas.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"attachment-canvas.d.ts","sourceRoot":"","sources":["../../src/files/attachment-canvas.ts"],"names":[],"mappings":"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"}
package/index.js CHANGED
@@ -17531,32 +17531,37 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
17531
17531
  return n;
17532
17532
  }
17533
17533
  }, yh = (e, t) => {
17534
- if (e.startsWith("image/") || e.startsWith("audio/")) return !0;
17535
- let i = vh(t), a = i.lastIndexOf(".");
17536
- return a === -1 ? !1 : i.slice(a + 1).toLowerCase() === g.PDF || r(i) || n(i);
17537
- }, bh = new ph({ max: 10 }), xh = new ph({ max: 50 }), Sh = () => {
17538
- bh.clear(), xh.clear();
17539
- }, Ch = (e) => {
17540
- let t = bh.get(e);
17534
+ if (e.startsWith("image/") || e.startsWith("audio/") || e === b.PDF) return e;
17535
+ let n = vh(t), r = n.lastIndexOf(".");
17536
+ return (r === -1 ? "" : n.slice(r + 1).toLowerCase()) === g.PDF ? b.PDF : e;
17537
+ }, bh = (e, t) => {
17538
+ let i = yh(e, t);
17539
+ if (i.startsWith("image/") || i.startsWith("audio/") || i === b.PDF) return !0;
17540
+ let a = vh(t);
17541
+ return r(a) || n(a);
17542
+ }, xh = new ph({ max: 10 }), Sh = new ph({ max: 50 }), Ch = () => {
17543
+ xh.clear(), Sh.clear();
17544
+ }, wh = (e) => {
17545
+ let t = xh.get(e);
17541
17546
  return t ?? (t = fetch(e).then((e) => {
17542
17547
  if (!e.ok) throw Object.assign(/* @__PURE__ */ Error(`HTTP ${e.status}`), { status: e.status });
17543
17548
  return e.blob();
17544
17549
  }).catch((t) => {
17545
- throw bh.delete(e), t;
17546
- }), bh.set(e, t)), t;
17547
- }, wh = (e) => {
17548
- let t = xh.get(e);
17550
+ throw xh.delete(e), t;
17551
+ }), xh.set(e, t)), t;
17552
+ }, Th = (e) => {
17553
+ let t = Sh.get(e);
17549
17554
  return t ?? (t = fetch(e).then((e) => {
17550
17555
  if (!e.ok) throw Object.assign(/* @__PURE__ */ Error(`HTTP ${e.status}`), { status: e.status });
17551
17556
  return e.text();
17552
17557
  }).catch((t) => {
17553
- throw xh.delete(e), t;
17554
- }), xh.set(e, t)), t;
17555
- }, Th = async (e, t) => {
17558
+ throw Sh.delete(e), t;
17559
+ }), Sh.set(e, t)), t;
17560
+ }, Eh = async (e, t) => {
17556
17561
  if ("file" in e) return URL.createObjectURL(e.file);
17557
17562
  let n = t.resolveDialUrl(e);
17558
17563
  if (n != null) try {
17559
- let e = await Ch(n);
17564
+ let e = await wh(n);
17560
17565
  return URL.createObjectURL(e);
17561
17566
  } catch (e) {
17562
17567
  let t = e.status;
@@ -17564,17 +17569,17 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
17564
17569
  }
17565
17570
  if (e.previewUrl != null) return e.previewUrl;
17566
17571
  if (e.data != null) return mh(e.data, e.contentType);
17567
- }, Eh = async (e, t) => {
17572
+ }, Dh = async (e, t) => {
17568
17573
  if (e.data != null) return hh(e.data);
17569
17574
  let n = t.resolveDialUrl(e);
17570
17575
  if (n != null) try {
17571
- return await wh(n);
17576
+ return await Th(n);
17572
17577
  } catch (e) {
17573
17578
  let t = e.status;
17574
17579
  return t == null ? _h(n) : gh(t, n);
17575
17580
  }
17576
17581
  if ("file" in e) return e.file.text();
17577
- }, Dh = (e, t) => e.data != null || t.resolveDialUrl(e) != null || "file" in e, Oh = (t, n) => {
17582
+ }, Oh = (e, t) => e.data != null || t.resolveDialUrl(e) != null || "file" in e, kh = (t, n) => {
17578
17583
  if ("file" in t) return {
17579
17584
  type: e.Image,
17580
17585
  url: URL.createObjectURL(t.file)
@@ -17590,37 +17595,37 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
17590
17595
  type: e.Image,
17591
17596
  url: r
17592
17597
  };
17593
- }, kh = async (t, n) => {
17594
- let r = await Eh(t, n);
17598
+ }, Ah = async (t, n) => {
17599
+ let r = await Dh(t, n);
17595
17600
  return r == null ? null : typeof r == "string" ? {
17596
17601
  type: e.PlainText,
17597
17602
  text: r
17598
17603
  } : r;
17599
- }, Ah = async (t, n) => {
17600
- let r = await Eh(t, n);
17604
+ }, jh = async (t, n) => {
17605
+ let r = await Dh(t, n);
17601
17606
  return r == null ? null : typeof r == "string" ? {
17602
17607
  type: e.Markdown,
17603
17608
  text: r
17604
17609
  } : r;
17605
- }, jh = 1048576, Mh = async (t, n, r) => {
17606
- let i = await Eh(t, n);
17610
+ }, Mh = 1048576, Nh = async (t, n, r) => {
17611
+ let i = await Dh(t, n);
17607
17612
  return i == null ? null : typeof i == "string" ? {
17608
17613
  type: e.Code,
17609
17614
  text: i,
17610
17615
  language: r
17611
17616
  } : i;
17612
- }, Nh = async (t, n) => {
17613
- let r = await Eh(t, n);
17617
+ }, Ph = async (t, n) => {
17618
+ let r = await Dh(t, n);
17614
17619
  if (r == null) return null;
17615
17620
  if (typeof r != "string") return r;
17616
- if (r.length > jh) return null;
17621
+ if (r.length > Mh) return null;
17617
17622
  let i = n.resolveDialUrl(t) ?? void 0;
17618
17623
  return {
17619
17624
  type: e.Html,
17620
17625
  srcdoc: r,
17621
17626
  url: i
17622
17627
  };
17623
- }, Ph = (t, n, r) => {
17628
+ }, Fh = (t, n, r) => {
17624
17629
  let i = t.body?.source?.attachment;
17625
17630
  if (i?.type !== b.PDF) return null;
17626
17631
  let a = Et(i.url) ? r.resolveDialFileDownloadUrl(i.url) : i.url;
@@ -17632,7 +17637,7 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
17632
17637
  highlights: pe(s),
17633
17638
  selectedHighlightId: fe(t, c)
17634
17639
  };
17635
- }, Fh = (t, n) => {
17640
+ }, Ih = (t, n) => {
17636
17641
  let r = j(t.url);
17637
17642
  if (r == null) return null;
17638
17643
  let i = Et(r.baseUrl) ? n.resolveDialFileDownloadUrl(r.baseUrl) : r.baseUrl;
@@ -17661,21 +17666,31 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
17661
17666
  }],
17662
17667
  selectedHighlightId: a
17663
17668
  };
17664
- }, Ih = async (t, n) => {
17665
- let r = await Th(t, n);
17666
- return r == null ? null : typeof r == "string" ? {
17669
+ }, Lh = (e) => {
17670
+ try {
17671
+ let t = new URL(e).protocol;
17672
+ return t === "http:" || t === "https:" || t === "blob:";
17673
+ } catch {
17674
+ return !1;
17675
+ }
17676
+ }, Rh = async (t, n) => {
17677
+ let r = await Eh(t, n);
17678
+ return r == null ? t.url != null && !Et(t.url) && Lh(t.url) ? {
17679
+ type: e.Pdf,
17680
+ url: t.url
17681
+ } : null : typeof r == "string" ? {
17667
17682
  type: e.Pdf,
17668
17683
  url: r
17669
17684
  } : r;
17670
- }, Lh = async (t, n, r) => {
17671
- let i = await Th(t, n);
17685
+ }, zh = async (t, n, r) => {
17686
+ let i = await Eh(t, n);
17672
17687
  return i == null ? null : typeof i == "string" ? {
17673
17688
  type: e.Ooxml,
17674
17689
  url: i,
17675
17690
  format: r
17676
17691
  } : i;
17677
- }, Rh = async (t, n) => {
17678
- let r = await Eh(t, n);
17692
+ }, Bh = async (t, n) => {
17693
+ let r = await Dh(t, n);
17679
17694
  if (r == null) return null;
17680
17695
  if (typeof r != "string") return r;
17681
17696
  try {
@@ -17690,8 +17705,8 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
17690
17705
  text: r
17691
17706
  };
17692
17707
  }
17693
- }, zh = async (t, n, r, i) => {
17694
- let a = await Eh(t, n);
17708
+ }, Vh = async (t, n, r, i) => {
17709
+ let a = await Dh(t, n);
17695
17710
  if (a == null || typeof a != "string") return null;
17696
17711
  let o = {};
17697
17712
  try {
@@ -17712,7 +17727,7 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
17712
17727
  visualizerName: r.title,
17713
17728
  requestTimeout: r.requestTimeout
17714
17729
  };
17715
- }, Bh = (e, t) => se(e, t), Vh = (e) => {
17730
+ }, Hh = (e, t) => se(e, t), Uh = (e) => {
17716
17731
  let t = e.body?.source?.attachment;
17717
17732
  return t == null ? null : {
17718
17733
  id: t.url,
@@ -17722,12 +17737,12 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
17722
17737
  status: S.Idle,
17723
17738
  url: t.url
17724
17739
  };
17725
- }, Hh = (e, t) => e?.map((e) => Bh(e, t)) ?? [], Uh = (e, t) => {
17740
+ }, Wh = (e, t) => e?.map((e) => Hh(e, t)) ?? [], Gh = (e, t) => {
17726
17741
  let n = e.url ?? e.id;
17727
17742
  if (n) return Et(n) || n.startsWith("http://") || n.startsWith("https://") ? n : `files/${t}/${n.replace(/^\/+/, "")}`;
17728
- }, Wh = (e, t, n) => {
17743
+ }, Kh = (e, t, n) => {
17729
17744
  if (e.nodeType !== Ge.ITEM) return null;
17730
- let r = Uh(e, t);
17745
+ let r = Gh(e, t);
17731
17746
  if (!r) return null;
17732
17747
  let i = e.contentType ?? "application/octet-stream", a = i.startsWith("image/"), s = a ? n?.resolvePreviewUrl?.(r) : void 0;
17733
17748
  return {
@@ -17740,7 +17755,7 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
17740
17755
  file: new File([], e.name, { type: i }),
17741
17756
  ...s == null ? {} : { previewUrl: s }
17742
17757
  };
17743
- }, Gh = (e, t, n) => e.map((e) => Wh(e, t, n)).filter((e) => e != null), Kh = (e) => {
17758
+ }, qh = (e, t, n) => e.map((e) => Kh(e, t, n)).filter((e) => e != null), Jh = (e) => {
17744
17759
  let t = H(e.replace(/\/$/, "").split("/").filter(Boolean).pop() ?? "");
17745
17760
  return {
17746
17761
  id: e,
@@ -17751,11 +17766,11 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
17751
17766
  url: e,
17752
17767
  file: new File([], t)
17753
17768
  };
17754
- }, qh = /* @__PURE__ */ function(e) {
17769
+ }, Yh = /* @__PURE__ */ function(e) {
17755
17770
  return e.Blob = "blob", e.Stream = "stream", e.Cancelled = "cancelled", e;
17756
- }({}), Jh = async (e, t = "application/octet-stream") => {
17771
+ }({}), Xh = async (e, t = "application/octet-stream") => {
17757
17772
  let n = window.showSaveFilePicker;
17758
- if (n == null) return { type: qh.Blob };
17773
+ if (n == null) return { type: Yh.Blob };
17759
17774
  try {
17760
17775
  let r = e.lastIndexOf("."), i = r >= 0 ? e.slice(r) : void 0, a = await n.call(window, {
17761
17776
  suggestedName: e,
@@ -17765,27 +17780,27 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
17765
17780
  }]
17766
17781
  });
17767
17782
  return {
17768
- type: qh.Stream,
17783
+ type: Yh.Stream,
17769
17784
  writable: await a.createWritable()
17770
17785
  };
17771
17786
  } catch (e) {
17772
- if (e instanceof DOMException && e.name === "AbortError") return { type: qh.Cancelled };
17787
+ if (e instanceof DOMException && e.name === "AbortError") return { type: Yh.Cancelled };
17773
17788
  throw e;
17774
17789
  }
17775
- }, Yh = (e) => {
17790
+ }, Zh = (e) => {
17776
17791
  let t = e.lastIndexOf("."), n = t > 0;
17777
17792
  return {
17778
17793
  base: n ? e.slice(0, t) : e,
17779
17794
  extension: n ? e.slice(t) : ""
17780
17795
  };
17781
- }, Xh = (e, t = 255) => {
17796
+ }, Qh = (e, t = 255) => {
17782
17797
  if (ae(e) <= t) return e;
17783
- let { base: n, extension: r } = Yh(e), i = t - ae(r);
17798
+ let { base: n, extension: r } = Zh(e), i = t - ae(r);
17784
17799
  return i <= 0 ? ue(e, t) : `${ue(n, i)}${r}`;
17785
- }, Zh = (e) => {
17786
- let { base: t, extension: n } = Yh(e), r = t.replace(new RegExp(qe.source, "g"), "_").replace(/[.\s]+$/, "");
17787
- return r === "" ? e : Xh(`${r}${n}`);
17788
- }, Qh = ({ filesApi: e, bucket: t, rootLabel: n, activeTab: r, onNotification: i }) => {
17800
+ }, $h = (e) => {
17801
+ let { base: t, extension: n } = Zh(e), r = t.replace(new RegExp(qe.source, "g"), "_").replace(/[.\s]+$/, "");
17802
+ return r === "" ? e : Qh(`${r}${n}`);
17803
+ }, eg = ({ filesApi: e, bucket: t, rootLabel: n, activeTab: r, onNotification: i }) => {
17789
17804
  let [a, o] = L(""), [s, c] = L(() => /* @__PURE__ */ new Map()), l = I(s);
17790
17805
  N(() => {
17791
17806
  l.current = s;
@@ -18061,7 +18076,7 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
18061
18076
  mergeCreatedFolder: fe,
18062
18077
  bumpRetry: ue
18063
18078
  };
18064
- }, $h = ({ filesApi: e, bucket: t, rootLabel: n, onNotification: r }) => {
18079
+ }, tg = ({ filesApi: e, bucket: t, rootLabel: n, onNotification: r }) => {
18065
18080
  let [i, a] = L(void 0), [o, s] = L(!1);
18066
18081
  return {
18067
18082
  fileMetadata: i,
@@ -18094,7 +18109,7 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
18094
18109
  a(void 0), s(!1);
18095
18110
  }, [])
18096
18111
  };
18097
- }, eg = ({ filesApi: e, bucket: t, rootLabel: n, activeTab: r, folderPath: i, currentFolder: a, sharedRootMetaRef: o, listingPermissionsCache: s, invalidateFolders: c, bumpRetry: l, mergeCreatedFolder: u, setFolderPath: d, onNotification: f, onOperationSuccess: p, downloadDestination: m, forbiddenSymbolsRegExp: h }) => {
18112
+ }, ng = ({ filesApi: e, bucket: t, rootLabel: n, activeTab: r, folderPath: i, currentFolder: a, sharedRootMetaRef: o, listingPermissionsCache: s, invalidateFolders: c, bumpRetry: l, mergeCreatedFolder: u, setFolderPath: d, onNotification: f, onOperationSuccess: p, downloadDestination: m, forbiddenSymbolsRegExp: h }) => {
18098
18113
  let [g, _] = L(!1), [v, y] = L(!1), [b, x] = L(!1), [S, C] = L(!1), [w, T] = L(!1), [E, D] = L(!1), O = I(null), ee = I(null), te = M((e, t) => {
18099
18114
  let n = null;
18100
18115
  if (!e || e.trim() === "") n = { reason: pm.Empty };
@@ -18167,7 +18182,7 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
18167
18182
  y(!0);
18168
18183
  try {
18169
18184
  let i = r.length === 1 ? r[0].nodeType === B.ITEM ? r[0].name : `${r[0].name}.zip` : "files.zip", a = await m.resolveDestination(i, r.length === 1 && r[0].nodeType === B.ITEM ? r[0].contentType ?? "application/octet-stream" : "application/zip");
18170
- if (a.type === qh.Cancelled) return;
18185
+ if (a.type === Yh.Cancelled) return;
18171
18186
  if (r.length === 1 && r[0].nodeType === B.ITEM) {
18172
18187
  let t = r[0];
18173
18188
  if (!t.bucket) throw Error("File is missing bucket");
@@ -18438,7 +18453,7 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
18438
18453
  onCopyFiles: oe,
18439
18454
  cancelCopyMove: A
18440
18455
  };
18441
- }, tg = ({ filesApi: e, bucket: t, rootLabel: n, bumpRetry: r, onNotification: i }) => {
18456
+ }, rg = ({ filesApi: e, bucket: t, rootLabel: n, bumpRetry: r, onNotification: i }) => {
18442
18457
  let [a, o] = L(!1), [s, c] = L(!1);
18443
18458
  return {
18444
18459
  isUnsharing: a,
@@ -18500,16 +18515,16 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
18500
18515
  r
18501
18516
  ])
18502
18517
  };
18503
- }, ng = 5, rg = (e) => e.error ? `${e.path} (${e.error})` : e.path, ig = (e) => {
18504
- let t = e.slice(0, ng);
18518
+ }, ig = 5, ag = (e) => e.error ? `${e.path} (${e.error})` : e.path, og = (e) => {
18519
+ let t = e.slice(0, ig);
18505
18520
  return {
18506
- names: t.map(rg),
18521
+ names: t.map(ag),
18507
18522
  restCount: e.length - t.length
18508
18523
  };
18509
- }, ag = (e, t) => `${e}${t}/`, og = (e) => /\.zip$/i.test(e), sg = (e) => {
18524
+ }, sg = (e, t) => `${e}${t}/`, cg = (e) => /\.zip$/i.test(e), lg = (e) => {
18510
18525
  let [t] = e;
18511
- if (!(e.length !== 1 || t == null)) return og(t.fileContent.name) && !og(t.name) ? t : void 0;
18512
- }, cg = ({ filesApi: e, bucket: t, rootLabel: n, activeTab: r, cache: i, sharedRootMetaRef: a, invalidateFolders: o, bumpRetry: s, onNotification: c }) => {
18526
+ if (!(e.length !== 1 || t == null)) return cg(t.fileContent.name) && !cg(t.name) ? t : void 0;
18527
+ }, ug = ({ filesApi: e, bucket: t, rootLabel: n, activeTab: r, cache: i, sharedRootMetaRef: a, invalidateFolders: o, bumpRetry: s, onNotification: c }) => {
18513
18528
  let [l, u] = L(null), d = I(null), f = M((r, i, a) => {
18514
18529
  let l = Rm(a, n);
18515
18530
  u({
@@ -18521,7 +18536,7 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
18521
18536
  isOpen: !0
18522
18537
  }), (async () => {
18523
18538
  try {
18524
- let { results: n } = await e.uploadArchive(r, t, ag(l, i)), a = n.filter((e) => e.success).length, o = n.filter((e) => !e.success), s = o.length, { names: u, restCount: d } = ig(o);
18539
+ let { results: n } = await e.uploadArchive(r, t, sg(l, i)), a = n.filter((e) => e.success).length, o = n.filter((e) => !e.success), s = o.length, { names: u, restCount: d } = og(o);
18525
18540
  n.length > 0 && a === 0 ? c?.({
18526
18541
  variant: R.Error,
18527
18542
  reason: $.UploadArchiveFailed,
@@ -18554,7 +18569,7 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
18554
18569
  return {
18555
18570
  onUploadFiles: M((l, p) => {
18556
18571
  if (l.length === 0) return;
18557
- let m = sg(l);
18572
+ let m = lg(l);
18558
18573
  if (m != null) {
18559
18574
  f(m.fileContent, m.name, p);
18560
18575
  return;
@@ -18630,7 +18645,7 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
18630
18645
  f(e, t, n);
18631
18646
  }, [f]),
18632
18647
  onValidateUpload: M(async (e, t, n) => {
18633
- for (let t of e) t.name = Zh(t.name);
18648
+ for (let t of e) t.name = $h(t.name);
18634
18649
  return { valid: !0 };
18635
18650
  }, []),
18636
18651
  uploadBatchState: l,
@@ -18641,14 +18656,14 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
18641
18656
  u(null);
18642
18657
  }, [])
18643
18658
  };
18644
- }, lg = ({ filesApi: e, bucket: t, rootLabel: n = "My files", activeTab: r = z.MyFiles, onNotification: i, onOperationSuccess: a, forbiddenSymbolsRegExp: o, variant: s = h.Attach, actionProfile: c, labels: l, locale: u, disabledNewButtonTooltip: d, downloadDestination: f, buildValidationErrorMessage: p }) => {
18645
- let g = c ?? Sm(s), _ = Qh({
18659
+ }, dg = ({ filesApi: e, bucket: t, rootLabel: n = "My files", activeTab: r = z.MyFiles, onNotification: i, onOperationSuccess: a, forbiddenSymbolsRegExp: o, variant: s = h.Attach, actionProfile: c, labels: l, locale: u, disabledNewButtonTooltip: d, downloadDestination: f, buildValidationErrorMessage: p }) => {
18660
+ let g = c ?? Sm(s), _ = eg({
18646
18661
  filesApi: e,
18647
18662
  bucket: t,
18648
18663
  rootLabel: n,
18649
18664
  activeTab: r,
18650
18665
  onNotification: i
18651
- }), v = cg({
18666
+ }), v = ug({
18652
18667
  filesApi: e,
18653
18668
  bucket: t,
18654
18669
  rootLabel: n,
@@ -18658,7 +18673,7 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
18658
18673
  invalidateFolders: _.invalidateFolders,
18659
18674
  bumpRetry: _.bumpRetry,
18660
18675
  onNotification: i
18661
- }), y = eg({
18676
+ }), y = ng({
18662
18677
  filesApi: e,
18663
18678
  bucket: t,
18664
18679
  rootLabel: n,
@@ -18675,13 +18690,13 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
18675
18690
  onOperationSuccess: a,
18676
18691
  downloadDestination: f,
18677
18692
  forbiddenSymbolsRegExp: o
18678
- }), b = tg({
18693
+ }), b = rg({
18679
18694
  filesApi: e,
18680
18695
  bucket: t,
18681
18696
  rootLabel: n,
18682
18697
  bumpRetry: _.bumpRetry,
18683
18698
  onNotification: i
18684
- }), x = $h({
18699
+ }), x = tg({
18685
18700
  filesApi: e,
18686
18701
  bucket: t,
18687
18702
  rootLabel: n,
@@ -18773,30 +18788,30 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
18773
18788
  clearMetadata: x.clearMetadata,
18774
18789
  isAnyOperationInProgress: E
18775
18790
  };
18776
- }, ug = [
18791
+ }, fg = [
18777
18792
  z.MyFiles,
18778
18793
  z.Shared,
18779
18794
  z.Organization
18780
- ], dg = (e, t, n, r) => {
18795
+ ], pg = (e, t, n, r) => {
18781
18796
  let i = M((e) => r == null || r.includes(e), [r]), a = F(() => n?.filter((e) => i(e.id)).flatMap(({ id: e, label: t, disabled: n }) => typeof t == "string" ? [{
18782
18797
  id: e,
18783
18798
  label: t,
18784
18799
  disabled: n
18785
18800
  }] : []), [n, i]);
18786
18801
  return N(() => {
18787
- i(e) || t(ug.find((e) => i(e)) ?? z.MyFiles);
18802
+ i(e) || t(fg.find((e) => i(e)) ?? z.MyFiles);
18788
18803
  }, [
18789
18804
  i,
18790
18805
  e,
18791
18806
  t
18792
18807
  ]), { tabs: a };
18793
- }, fg = "custom_app", pg = (e) => !!e && e.id === fg, mg = (e) => !!e && (!!e.id?.endsWith("quickapps2") || e.displayName === "Quick app 2.0"), hg = () => {
18808
+ }, mg = "custom_app", hg = (e) => !!e && e.id === mg, gg = (e) => !!e && (!!e.id?.endsWith("quickapps2") || e.displayName === "Quick app 2.0"), _g = () => {
18794
18809
  try {
18795
18810
  return Intl.DateTimeFormat().resolvedOptions().timeZone || void 0;
18796
18811
  } catch {
18797
18812
  return;
18798
18813
  }
18799
- }, gg = (e) => {
18814
+ }, vg = (e) => {
18800
18815
  let t = e.trim();
18801
18816
  if (!t || !/^https?:\/\//.test(t)) return !1;
18802
18817
  try {
@@ -18804,39 +18819,39 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
18804
18819
  } catch {
18805
18820
  return !1;
18806
18821
  }
18807
- }, _g = (e) => {
18822
+ }, yg = (e) => {
18808
18823
  let t = e.trim();
18809
18824
  if (t) try {
18810
18825
  return JSON.parse(t);
18811
18826
  } catch {
18812
18827
  return;
18813
18828
  }
18814
- }, vg = ["rate_endpoint", "configuration_endpoint"], yg = (e) => {
18829
+ }, bg = ["rate_endpoint", "configuration_endpoint"], xg = (e) => {
18815
18830
  let t = e.trim();
18816
18831
  if (!t) return !0;
18817
18832
  try {
18818
18833
  let e = JSON.parse(t);
18819
18834
  if (typeof e != "object" || !e || Array.isArray(e)) return !1;
18820
18835
  let n = Object.keys(e);
18821
- return n.length > 0 && n.every((e) => vg.includes(e));
18836
+ return n.length > 0 && n.every((e) => bg.includes(e));
18822
18837
  } catch {
18823
18838
  return !1;
18824
18839
  }
18825
- }, bg = "/external_services/", xg = (e) => {
18826
- let t = e.indexOf(bg);
18840
+ }, Sg = "/external_services/", Cg = (e) => {
18841
+ let t = e.indexOf(Sg);
18827
18842
  if (t === -1) return null;
18828
18843
  let n = e.slice(0, t), r = e.slice(t + 19);
18829
18844
  return !n || !r ? null : {
18830
18845
  appId: n,
18831
18846
  serviceName: r
18832
18847
  };
18833
- }, Sg = (e, t) => `${e}${bg}${t}`, Cg = (e) => {
18848
+ }, wg = (e, t) => `${e}${Sg}${t}`, Tg = (e) => {
18834
18849
  try {
18835
18850
  return decodeURIComponent(e);
18836
18851
  } catch {
18837
18852
  return e;
18838
18853
  }
18839
- }, wg = {
18854
+ }, Eg = {
18840
18855
  settings: "Settings",
18841
18856
  savedNotification: "Chat settings have been saved",
18842
18857
  responseFormatLabel: "Response format",
@@ -18852,11 +18867,11 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
18852
18867
  temperatureHint: "Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.",
18853
18868
  saveLabel: "Apply changes",
18854
18869
  saveDisabledTooltip: "Please select a response format"
18855
- }, Tg = (e) => (e ?? "").toLowerCase().replace(/[^a-z]/g, "") === "plaintext" ? C.PlainText : C.Markdown, Eg = (e) => {
18870
+ }, Dg = (e) => (e ?? "").toLowerCase().replace(/[^a-z]/g, "") === "plaintext" ? C.PlainText : C.Markdown, Og = (e) => {
18856
18871
  let t = F(() => ({
18857
- ...wg,
18872
+ ...Eg,
18858
18873
  ...e.labels
18859
- }), [e.labels]), { onSaved: n } = e, r = e.mode === "local" ? e.values.responseFormat : Tg(e.conversation.responseFormat), i = e.mode === "local" ? e.values.systemPrompt : e.conversation.prompt ?? "", a = e.mode === "local" ? e.values.temperature : e.conversation.temperature ?? .5, o = M((t) => {
18874
+ }), [e.labels]), { onSaved: n } = e, r = e.mode === "local" ? e.values.responseFormat : Dg(e.conversation.responseFormat), i = e.mode === "local" ? e.values.systemPrompt : e.conversation.prompt ?? "", a = e.mode === "local" ? e.values.temperature : e.conversation.temperature ?? .5, o = M((t) => {
18860
18875
  e.mode === "local" ? e.onValuesChange({
18861
18876
  responseFormat: t.responseFormat ?? e.values.responseFormat,
18862
18877
  systemPrompt: t.systemPrompt ?? e.values.systemPrompt,
@@ -18904,7 +18919,7 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
18904
18919
  i,
18905
18920
  a
18906
18921
  ]);
18907
- }, Dg = (e = !0, t = !0) => {
18922
+ }, kg = (e = !0, t = !0) => {
18908
18923
  let [n, r] = L(!1), [i, a] = L([]), o = I(0), s = I(e), c = I(t);
18909
18924
  P(() => {
18910
18925
  s.current = e, c.current = t, t || (o.current = 0, r(!1));
@@ -18933,20 +18948,20 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
18933
18948
  pendingFiles: i,
18934
18949
  onFilesConsumed: l
18935
18950
  };
18936
- }, Og = () => typeof window < "u" ? window.innerWidth : 1024, kg = () => {
18937
- let [e, t] = L(Og);
18951
+ }, Ag = () => typeof window < "u" ? window.innerWidth : 1024, jg = () => {
18952
+ let [e, t] = L(Ag);
18938
18953
  return N(() => {
18939
18954
  if (typeof window > "u") return;
18940
18955
  let e = () => t(window.innerWidth);
18941
18956
  return window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
18942
18957
  }, []), e;
18943
- }, Ag = (e) => {
18944
- let t = kg();
18958
+ }, Mg = (e) => {
18959
+ let t = jg();
18945
18960
  return Math.max(0, t - e);
18946
- }, jg = (e) => e.map((e) => e === Me.Edit ? Ze.Edit : Ze.View), Mg = (e, t) => {
18961
+ }, Ng = (e) => e.map((e) => e === Me.Edit ? Ze.Edit : Ze.View), Pg = (e, t) => {
18947
18962
  let n = new URL(e, t);
18948
18963
  return `${t}${n.pathname}${n.search}${n.hash}`;
18949
- }, Ng = (e, t, n = window.location.origin) => {
18964
+ }, Fg = (e, t, n = window.location.origin) => {
18950
18965
  let [r, i] = L(), [a, o] = L(!0), [s, c] = L(null), l = I(0), u = M(async (r = [Ze.View]) => {
18951
18966
  let a = ++l.current;
18952
18967
  o(!0), c(null);
@@ -18956,9 +18971,9 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
18956
18971
  access: r
18957
18972
  } });
18958
18973
  l.current === a && i({
18959
- url: Mg(o.url, n),
18974
+ url: Pg(o.url, n),
18960
18975
  expiresInDays: o.expiresInDays,
18961
- access: jg(o.access)
18976
+ access: Ng(o.access)
18962
18977
  });
18963
18978
  } catch (e) {
18964
18979
  l.current === a && c(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to create share link"));
@@ -18980,18 +18995,18 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
18980
18995
  u(e);
18981
18996
  }, [u])
18982
18997
  };
18983
- }, Pg = (e) => e.type === "boolean" || e.type == null && typeof e.default == "boolean", Fg = (e) => {
18998
+ }, Ig = (e) => e.type === "boolean" || e.type == null && typeof e.default == "boolean", Lg = (e) => {
18984
18999
  let t = e.replace(/[_-]+/g, " ").trim();
18985
19000
  return t.length === 0 ? e : t.charAt(0).toUpperCase() + t.slice(1);
18986
- }, Ig = (e) => {
19001
+ }, Rg = (e) => {
18987
19002
  let t = e?.properties;
18988
- return t == null ? [] : Object.entries(t).filter(([, e]) => Pg(e)).map(([e, t]) => ({
19003
+ return t == null ? [] : Object.entries(t).filter(([, e]) => Ig(e)).map(([e, t]) => ({
18989
19004
  id: e,
18990
- label: typeof t.title == "string" && t.title.length > 0 ? t.title : Fg(e),
19005
+ label: typeof t.title == "string" && t.title.length > 0 ? t.title : Lg(e),
18991
19006
  defaultValue: t.default === !0
18992
19007
  }));
18993
- }, Lg = (e) => {
18994
- let { selectedItemId: t, selectedDeploymentConfiguration: n, toolIcon: r } = e, i = F(() => Ig(n), [n]), a = F(() => Object.fromEntries(i.map(({ id: e, defaultValue: t }) => [e, t])), [i]), [o, s] = L(a), c = JSON.stringify(a), l = I(a);
19008
+ }, zg = (e) => {
19009
+ let { selectedItemId: t, selectedDeploymentConfiguration: n, toolIcon: r } = e, i = F(() => Rg(n), [n]), a = F(() => Object.fromEntries(i.map(({ id: e, defaultValue: t }) => [e, t])), [i]), [o, s] = L(a), c = JSON.stringify(a), l = I(a);
18995
19010
  l.current = a, N(() => {
18996
19011
  s(l.current);
18997
19012
  }, [t, c]);
@@ -19025,7 +19040,7 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
19025
19040
  toolConfigurationValue: F(() => Object.fromEntries(i.map(({ id: e }) => [e, o[e] ?? !1])), [i, o]),
19026
19041
  restoreToolConfiguration: d
19027
19042
  };
19028
- }, Rg = (e) => e instanceof Error ? e : Error(String(e)), zg = (e, t = !0) => {
19043
+ }, Bg = (e) => e instanceof Error ? e : Error(String(e)), Vg = (e, t = !0) => {
19029
19044
  let [n, r] = L(), [i, a] = L(t), [o, s] = L();
19030
19045
  return N(() => {
19031
19046
  if (!t) {
@@ -19040,7 +19055,7 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
19040
19055
  r(t);
19041
19056
  } catch (e) {
19042
19057
  if (n) return;
19043
- s(Rg(e));
19058
+ s(Bg(e));
19044
19059
  } finally {
19045
19060
  n || a(!1);
19046
19061
  }
@@ -19054,4 +19069,4 @@ var ch = (e) => !rh.has(e), lh = (e) => e && e === Math.floor(e) && e > 0 && isF
19054
19069
  };
19055
19070
  };
19056
19071
  //#endregion
19057
- export { qt as AttachmentValidationErrorReason, Nn as AuthenticationType, ym as COLUMNS_WITHOUT_AUTHOR, bm as COLUMNS_WITH_AUTHOR, xm as CORE_PERMISSION_MAP, qc as CatalogPrimaryActionType, Zt as ConversationExportMode, c as ConversationTransferErrorCode, p as ConversationTransferWarningCode, vm as DATE_OPTIONS, pp as DEFAULT_MAX_ARCHIVE_BYTES, m as DialFileManagerActionProfile, h as DialFileManagerVariant, fm as DialFilesApiUploadMode, qh as DownloadDestinationType, $t as EXPORT_APP_NAME, Qt as ExportFileNameKind, rl as FavoriteEntityType, $ as FileManagerNotificationReason, pm as FileNameValidationErrorReason, mm as FileOperationKind, kc as McpResourceKind, yd as OAuthResourceKind, _m as PATH_SEPARATOR_REGEXP, rf as PROMPT_CONTENT_MAX_LENGTH, af as PROMPT_COUNTER_ANNOUNCE_THRESHOLD, nf as PROMPT_DESCRIPTION_MAX_LENGTH, tf as PROMPT_NAME_MAX_LENGTH, cc as PUBLIC_SKILL_BUCKET, $d as PromptFieldError, Kr as PromptSource, gm as RESERVED_MARKER_NAME, zf as RecipientsCountStatus, Us as SKILL_FILE_UPLOAD_MAX_BYTES, fc as SKILL_LISTING_MAX_PAGES, dc as SKILL_LISTING_PAGE_SIZE, Hs as SKILL_MANIFEST_FILE, uc as SKILL_MANIFEST_MAX_BYTES, Gs as SKILL_UPLOAD_MAX_FILES, Ws as SKILL_UPLOAD_MAX_TOTAL_BYTES, Df as SkillEditorLoadState, If as SkillPreviewErrorKind, sc as SkillSource, wd as TOOLSET_REDIRECT_STATE_KEY, gd as ToolsetAuthStatus, hd as ToolsetAuthTypes, _d as ToolsetCredentialsLevel, Kd as ToolsetLoginOutcomeType, Cd as ToolsetOAuthCallbackQuery, Sd as ToolsetOAuthChannelControlType, xd as ToolsetOAuthFailureReason, bd as ToolsetOAuthInitiationResultType, Q as ToolsetOAuthResultType, hm as UPLOAD_CONCURRENCY, ff as UnsupportedTriggerReason, vd as WithLogin, Vh as annotationToDisplayAttachment, Ph as annotationToPdfCanvasContent, pf as apSchedulerDayToJsDay, rr as appendLocaleCode, Bh as attachmentDtoToDisplayAttachment, Hh as attachmentDtosToDisplayAttachments, Tp as attachmentToDto, Ep as attachmentsToDtos, or as buildAdditionalLocaleOptions, Iu as buildAnnouncementSignature, Pc as buildApplicationMcpUrl, On as buildChatCompletionsUrl, Lc as buildConnectApi, An as buildDeploymentConnectApi, Sg as buildExternalServiceScopeId, Gm as buildFromCache, Yd as buildPromptExportEnvelope, Qd as buildPromptExportFileName, Zr as buildPromptOverview, uf as buildPromptPath, kn as buildResponsesUrl, Pm as buildSharedItemVirtualPath, Ec as buildSkillContentTree, oc as buildSkillFilesPayload, Qs as buildSkillManifest, ac as buildSkillManifestForSubmit, $s as buildSkillManifestFromFrontmatter, Cc as buildSkillOverview, md as buildToolsetAuthorizeUrl, Nc as buildToolsetMcpUrl, Sh as clearAttachmentCache, ir as composeLocalePayload, zu as createChatStreamApi, vt as createCsrfMiddleware, $u as createDeploymentChangedMessage, $m as createFilesApiClient, Dp as createMessagePair, wn as createPublishApiClient, St as createUnauthorizedMiddleware, eh as createUploadFileWithProgress, $n as decodeToolsetId, ar as decomposeLocalizedFields, Sm as deriveActionProfile, Gc as deriveAvailableTabIds, Hf as deriveConversationRowActionState, Wc as deriveFavoriteItems, Nm as dialCorePathToRelative, Wh as dialFileToAttachment, Gh as dialFilesToAttachments, Kh as dialFolderPathToAttachment, At as downloadAttachment, Wd as emitToolsetLoginSuccess, jn as encodeDeploymentId, Qn as encodeToolsetId, Jm as fetchByTab, Ym as fetchForSearch, Hc as filterCatalogItemsBySelector, Uc as filterHiddenOwnedItems, Mn as findDeploymentByIdOrReference, km as findDialFileByPath, Wm as findFirstSuccessfulCopyMoveItem, Dm as findFolderByVirtualPath, Uu as formatAppVersion, cr as formatCalendarDate, Xt as formatDateYM, Yt as formatDateYMD, Em as formatOperationFolderName, yn as formatQuotedNameList, _t as getApiErrorDetails, gt as getApiErrorMessage, ht as getApiErrorStatus, hg as getBrowserTimezone, Mp as getConversationPath, Kf as getConversationSource, Cg as getExternalServiceFallbackName, td as getLastDeploymentId, rd as getLastUserMessageToolConfiguration, Zu as getModelIdFromConversationId, ie as getParentFolderPath, cd as getQuickAppConversationStarters, lf as getRemainingCharacters, Ap as getStarterConversationText, ld as getStarterPopulateText, jp as getStarterSubmitText, ud as getStartersFromSchema, Qu as getTimeOfDayGreeting, Ed as getToolsetOAuthChannelName, dd as getToolsetRedirectUri, vh as getUrlFileName, Tm as getVirtualPathName, Op as hasActiveToolConfig, Fu as hasAnnouncementContent, Dh as hasAttachmentTextSource, Om as hasDialFileWritePermission, Cm as hasForbiddenNameSymbols, Pu as hasStructuredAnnouncement, Ct as includesIgnoreCase, Fd as initiateOAuthLogin, em as isAwaitingGenerationResume, mt as isConversationNotFoundError, Am as isCopyMoveDuplicateAllowed, pg as isCustomAppSchema, Ht as isDialFileAcceptType, Et as isDialFileId, kt as isDownloadableAttachment, yh as isExternalSourcePreviewable, kp as isMessageChanged, ed as isMessageStreaming, Qr as isOrganisationPromptItem, er as isPublicToolsetId, mg as isQuickAppSchema, jm as isShareActionsAllowed, gg as isValidAbsoluteUrl, yg as isValidFeaturesData, Xs as isValidSkillRelativePath, mf as jsDayToApSchedulerDay, Um as mapCorePermissions, Nr as mapDeploymentDetailsDtoToEntityDetails, Jn as mapDeploymentLimitsDtoToCatalogLimits, Yn as mapDeploymentLimitsToInput, Wr as mapDeploymentToCatalogItem, Ir as mapDeploymentToolsetCredentials, Tr as mapEntityDetailsToCatalogDetails, Zm as mapFileMetadataToDialFile, yf as mapFormValuesToCreateBody, bf as mapFormValuesToUpdateBody, $r as mapPromptToCatalogItem, Vc as mapPublishConversationResultDto, Bc as mapPublishHistoryEntryDto, wf as mapScheduledTaskDtoToFormValues, Xm as mapSearchItem, gc as mapSkillToCatalogItem, Sr as mapToolsetCredentials, Gr as mapToolsetToCatalogItem, Km as mergeCreatedFolderIntoCache, nd as messageHasStages, Gt as mimeTypesToAttachmentExtensionLabels, Ut as mimeTypesToDialFileAcceptTypes, Wt as mimeTypesToFileAccept, rc as nameFromPath, Pd as navigateToolsetOAuthPopup, id as normalizeResponseFormat, Zs as normalizeSkillName, wm as normalizeVirtualPath, th as openAnnotationAttachment, Nd as openToolsetOAuthPopup, sr as padTwoDigits, xg as parseExternalServiceUrl, _g as parseFeaturesData, Mm as parseNewFolderVirtualPath, Jr as parsePromptResourceUrl, tc as parseSkillManifest, el as parseSkillManifestDocument, pc as parseSkillResourceUrl, Vm as prepareCopyItems, Jh as prepareDownloadDestination, Hm as prepareMoveRenameItems, Dc as readSkillFileBytes, Oc as readSkillManifest, Kc as reconcileFilterTopics, Fh as referenceAttachmentToPdfCanvasContent, Jc as resolveCatalogPrimaryAction, Mh as resolveCodeCanvasContent, Hr as resolveDeploymentFolder, Bm as resolveDialFileApiPath, Ot as resolveDialFileBucketAndPath, Nh as resolveHtmlCanvasContent, Oh as resolveImageCanvasContent, Rh as resolveJsonCanvasContent, nr as resolveLocalizedText, Ah as resolveMarkdownCanvasContent, Ic as resolveMcpResourceKind, Lh as resolveOoxmlCanvasContent, Fm as resolveOwnerCoords, Ih as resolvePdfCanvasContent, Dt as resolveRelativeDialFilePath, Sc as resolveSkillFileDownloadPath, bc as resolveSkillManifestFileId, kh as resolveTextCanvasContent, zh as resolveVisualizerCanvasContent, H as safeDecodeURI, wt as safeDecodeURIComponent, ju as sanitizeAnnouncementHtml, Mu as sanitizeAnnouncementMessageHtml, Zh as sanitizeFileName, Hu as sanitizeFooterHtml, Xd as serializePromptExport, Bu as shouldWatchForDisplayNameUpdate, ic as skillFileBytesToBlob, Ef as skillFileToAttachment, Yh as splitFileNameExtension, Tt as stripSurroundingSlashes, Gd as subscribeToolsetLoginSuccess, tr as toBaseLocale, ad as toOverlayMessages, zc as toPublishEntityType, Cn as toPublishRuleDto, Xh as trimFileNameToByteLimit, nc as unpackSkillArchive, qm as updateEntry, Uf as useActiveConversationSync, Wf as useAsyncConfirmDialog, Nt as useAttachmentAction, Qf as useAttachmentUpload, Jt as useAttachmentValidation, nl as useCatalogItemDetails, Eg as useChatSettingsFormConfig, wp as useConversationExport, Np as useConversationHandlers, Xp as useConversationImport, Gf as useConversationLookupMaps, qf as useConversationPanelItems, $p as useConversationScroll, dm as useConversationSources, lm as useConversationStream, Qh as useDialFileListing, lg as useDialFileManager, dg as useDialFileManagerTabConfig, $h as useDialFileMetadata, eg as useDialFileMutations, tg as useDialFileSharing, cg as useDialFileUploadBatch, il as useFavoriteEntitiesState, Jf as useImportFilePicker, Vd as useOAuthCallbackCompletion, Dg as usePageFileDrag, Ag as usePanelMaxWidth, df as usePromptsState, ll as usePublishFolders, Ng as useShareLink, Vf as useShareRecipientsCount, Mf as useSkillEditorLoad, Pf as useSkillEditorSubmit, Ff as useSkillFileActions, Lf as useSkillFilePreview, Rf as useSkillsState, Lg as useToolsMenu, qd as useToolsetLogin, zg as useUsageData, kg as useViewportWidth, cf as validatePromptContent, sf as validatePromptDescription, of as validatePromptName, Tf as validateSkillFileBatch, Rm as virtualPathToApiPath, jd as waitForToolsetOAuthResult };
19072
+ export { qt as AttachmentValidationErrorReason, Nn as AuthenticationType, ym as COLUMNS_WITHOUT_AUTHOR, bm as COLUMNS_WITH_AUTHOR, xm as CORE_PERMISSION_MAP, qc as CatalogPrimaryActionType, Zt as ConversationExportMode, c as ConversationTransferErrorCode, p as ConversationTransferWarningCode, vm as DATE_OPTIONS, pp as DEFAULT_MAX_ARCHIVE_BYTES, m as DialFileManagerActionProfile, h as DialFileManagerVariant, fm as DialFilesApiUploadMode, Yh as DownloadDestinationType, $t as EXPORT_APP_NAME, Qt as ExportFileNameKind, rl as FavoriteEntityType, $ as FileManagerNotificationReason, pm as FileNameValidationErrorReason, mm as FileOperationKind, kc as McpResourceKind, yd as OAuthResourceKind, _m as PATH_SEPARATOR_REGEXP, rf as PROMPT_CONTENT_MAX_LENGTH, af as PROMPT_COUNTER_ANNOUNCE_THRESHOLD, nf as PROMPT_DESCRIPTION_MAX_LENGTH, tf as PROMPT_NAME_MAX_LENGTH, cc as PUBLIC_SKILL_BUCKET, $d as PromptFieldError, Kr as PromptSource, gm as RESERVED_MARKER_NAME, zf as RecipientsCountStatus, Us as SKILL_FILE_UPLOAD_MAX_BYTES, fc as SKILL_LISTING_MAX_PAGES, dc as SKILL_LISTING_PAGE_SIZE, Hs as SKILL_MANIFEST_FILE, uc as SKILL_MANIFEST_MAX_BYTES, Gs as SKILL_UPLOAD_MAX_FILES, Ws as SKILL_UPLOAD_MAX_TOTAL_BYTES, Df as SkillEditorLoadState, If as SkillPreviewErrorKind, sc as SkillSource, wd as TOOLSET_REDIRECT_STATE_KEY, gd as ToolsetAuthStatus, hd as ToolsetAuthTypes, _d as ToolsetCredentialsLevel, Kd as ToolsetLoginOutcomeType, Cd as ToolsetOAuthCallbackQuery, Sd as ToolsetOAuthChannelControlType, xd as ToolsetOAuthFailureReason, bd as ToolsetOAuthInitiationResultType, Q as ToolsetOAuthResultType, hm as UPLOAD_CONCURRENCY, ff as UnsupportedTriggerReason, vd as WithLogin, Uh as annotationToDisplayAttachment, Fh as annotationToPdfCanvasContent, pf as apSchedulerDayToJsDay, rr as appendLocaleCode, Hh as attachmentDtoToDisplayAttachment, Wh as attachmentDtosToDisplayAttachments, Tp as attachmentToDto, Ep as attachmentsToDtos, or as buildAdditionalLocaleOptions, Iu as buildAnnouncementSignature, Pc as buildApplicationMcpUrl, On as buildChatCompletionsUrl, Lc as buildConnectApi, An as buildDeploymentConnectApi, wg as buildExternalServiceScopeId, Gm as buildFromCache, Yd as buildPromptExportEnvelope, Qd as buildPromptExportFileName, Zr as buildPromptOverview, uf as buildPromptPath, kn as buildResponsesUrl, Pm as buildSharedItemVirtualPath, Ec as buildSkillContentTree, oc as buildSkillFilesPayload, Qs as buildSkillManifest, ac as buildSkillManifestForSubmit, $s as buildSkillManifestFromFrontmatter, Cc as buildSkillOverview, md as buildToolsetAuthorizeUrl, Nc as buildToolsetMcpUrl, Ch as clearAttachmentCache, ir as composeLocalePayload, zu as createChatStreamApi, vt as createCsrfMiddleware, $u as createDeploymentChangedMessage, $m as createFilesApiClient, Dp as createMessagePair, wn as createPublishApiClient, St as createUnauthorizedMiddleware, eh as createUploadFileWithProgress, $n as decodeToolsetId, ar as decomposeLocalizedFields, Sm as deriveActionProfile, Gc as deriveAvailableTabIds, Hf as deriveConversationRowActionState, Wc as deriveFavoriteItems, Nm as dialCorePathToRelative, Kh as dialFileToAttachment, qh as dialFilesToAttachments, Jh as dialFolderPathToAttachment, At as downloadAttachment, Wd as emitToolsetLoginSuccess, jn as encodeDeploymentId, Qn as encodeToolsetId, Jm as fetchByTab, Ym as fetchForSearch, Hc as filterCatalogItemsBySelector, Uc as filterHiddenOwnedItems, Mn as findDeploymentByIdOrReference, km as findDialFileByPath, Wm as findFirstSuccessfulCopyMoveItem, Dm as findFolderByVirtualPath, Uu as formatAppVersion, cr as formatCalendarDate, Xt as formatDateYM, Yt as formatDateYMD, Em as formatOperationFolderName, yn as formatQuotedNameList, _t as getApiErrorDetails, gt as getApiErrorMessage, ht as getApiErrorStatus, _g as getBrowserTimezone, Mp as getConversationPath, Kf as getConversationSource, Tg as getExternalServiceFallbackName, td as getLastDeploymentId, rd as getLastUserMessageToolConfiguration, Zu as getModelIdFromConversationId, ie as getParentFolderPath, cd as getQuickAppConversationStarters, lf as getRemainingCharacters, Ap as getStarterConversationText, ld as getStarterPopulateText, jp as getStarterSubmitText, ud as getStartersFromSchema, Qu as getTimeOfDayGreeting, Ed as getToolsetOAuthChannelName, dd as getToolsetRedirectUri, vh as getUrlFileName, Tm as getVirtualPathName, Op as hasActiveToolConfig, Fu as hasAnnouncementContent, Oh as hasAttachmentTextSource, Om as hasDialFileWritePermission, Cm as hasForbiddenNameSymbols, Pu as hasStructuredAnnouncement, Ct as includesIgnoreCase, Fd as initiateOAuthLogin, em as isAwaitingGenerationResume, mt as isConversationNotFoundError, Am as isCopyMoveDuplicateAllowed, hg as isCustomAppSchema, Ht as isDialFileAcceptType, Et as isDialFileId, kt as isDownloadableAttachment, bh as isExternalSourcePreviewable, kp as isMessageChanged, ed as isMessageStreaming, Qr as isOrganisationPromptItem, er as isPublicToolsetId, gg as isQuickAppSchema, jm as isShareActionsAllowed, vg as isValidAbsoluteUrl, xg as isValidFeaturesData, Xs as isValidSkillRelativePath, mf as jsDayToApSchedulerDay, Um as mapCorePermissions, Nr as mapDeploymentDetailsDtoToEntityDetails, Jn as mapDeploymentLimitsDtoToCatalogLimits, Yn as mapDeploymentLimitsToInput, Wr as mapDeploymentToCatalogItem, Ir as mapDeploymentToolsetCredentials, Tr as mapEntityDetailsToCatalogDetails, Zm as mapFileMetadataToDialFile, yf as mapFormValuesToCreateBody, bf as mapFormValuesToUpdateBody, $r as mapPromptToCatalogItem, Vc as mapPublishConversationResultDto, Bc as mapPublishHistoryEntryDto, wf as mapScheduledTaskDtoToFormValues, Xm as mapSearchItem, gc as mapSkillToCatalogItem, Sr as mapToolsetCredentials, Gr as mapToolsetToCatalogItem, Km as mergeCreatedFolderIntoCache, nd as messageHasStages, Gt as mimeTypesToAttachmentExtensionLabels, Ut as mimeTypesToDialFileAcceptTypes, Wt as mimeTypesToFileAccept, rc as nameFromPath, Pd as navigateToolsetOAuthPopup, id as normalizeResponseFormat, Zs as normalizeSkillName, wm as normalizeVirtualPath, th as openAnnotationAttachment, Nd as openToolsetOAuthPopup, sr as padTwoDigits, Cg as parseExternalServiceUrl, yg as parseFeaturesData, Mm as parseNewFolderVirtualPath, Jr as parsePromptResourceUrl, tc as parseSkillManifest, el as parseSkillManifestDocument, pc as parseSkillResourceUrl, Vm as prepareCopyItems, Xh as prepareDownloadDestination, Hm as prepareMoveRenameItems, Dc as readSkillFileBytes, Oc as readSkillManifest, Kc as reconcileFilterTopics, Ih as referenceAttachmentToPdfCanvasContent, Jc as resolveCatalogPrimaryAction, Nh as resolveCodeCanvasContent, Hr as resolveDeploymentFolder, Bm as resolveDialFileApiPath, Ot as resolveDialFileBucketAndPath, yh as resolveExternalSourceContentType, Ph as resolveHtmlCanvasContent, kh as resolveImageCanvasContent, Bh as resolveJsonCanvasContent, nr as resolveLocalizedText, jh as resolveMarkdownCanvasContent, Ic as resolveMcpResourceKind, zh as resolveOoxmlCanvasContent, Fm as resolveOwnerCoords, Rh as resolvePdfCanvasContent, Dt as resolveRelativeDialFilePath, Sc as resolveSkillFileDownloadPath, bc as resolveSkillManifestFileId, Ah as resolveTextCanvasContent, Vh as resolveVisualizerCanvasContent, H as safeDecodeURI, wt as safeDecodeURIComponent, ju as sanitizeAnnouncementHtml, Mu as sanitizeAnnouncementMessageHtml, $h as sanitizeFileName, Hu as sanitizeFooterHtml, Xd as serializePromptExport, Bu as shouldWatchForDisplayNameUpdate, ic as skillFileBytesToBlob, Ef as skillFileToAttachment, Zh as splitFileNameExtension, Tt as stripSurroundingSlashes, Gd as subscribeToolsetLoginSuccess, tr as toBaseLocale, ad as toOverlayMessages, zc as toPublishEntityType, Cn as toPublishRuleDto, Qh as trimFileNameToByteLimit, nc as unpackSkillArchive, qm as updateEntry, Uf as useActiveConversationSync, Wf as useAsyncConfirmDialog, Nt as useAttachmentAction, Qf as useAttachmentUpload, Jt as useAttachmentValidation, nl as useCatalogItemDetails, Og as useChatSettingsFormConfig, wp as useConversationExport, Np as useConversationHandlers, Xp as useConversationImport, Gf as useConversationLookupMaps, qf as useConversationPanelItems, $p as useConversationScroll, dm as useConversationSources, lm as useConversationStream, eg as useDialFileListing, dg as useDialFileManager, pg as useDialFileManagerTabConfig, tg as useDialFileMetadata, ng as useDialFileMutations, rg as useDialFileSharing, ug as useDialFileUploadBatch, il as useFavoriteEntitiesState, Jf as useImportFilePicker, Vd as useOAuthCallbackCompletion, kg as usePageFileDrag, Mg as usePanelMaxWidth, df as usePromptsState, ll as usePublishFolders, Fg as useShareLink, Vf as useShareRecipientsCount, Mf as useSkillEditorLoad, Pf as useSkillEditorSubmit, Ff as useSkillFileActions, Lf as useSkillFilePreview, Rf as useSkillsState, zg as useToolsMenu, qd as useToolsetLogin, Vg as useUsageData, jg as useViewportWidth, cf as validatePromptContent, sf as validatePromptDescription, of as validatePromptName, Tf as validateSkillFileBatch, Rm as virtualPathToApiPath, jd as waitForToolsetOAuthResult };
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.358",
4
+ "version": "1.1.0-dev.361",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -23,20 +23,20 @@
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": "^19.2.6",
26
- "@epam/ai-dial-attachment-canvas": "1.1.0-dev.358",
27
- "@epam/ai-dial-attachment-input": "1.1.0-dev.358",
28
- "@epam/ai-dial-catalog": "1.1.0-dev.358",
29
- "@epam/ai-dial-chat-api-client": "1.1.0-dev.358",
30
- "@epam/ai-dial-chat-overlay": "1.1.0-dev.358",
31
- "@epam/ai-dial-chat-shared": "1.1.0-dev.358",
32
- "@epam/ai-dial-deployment-creation-form": "1.1.0-dev.358",
33
- "@epam/ai-dial-publish-panel": "1.1.0-dev.358",
34
- "@epam/ai-dial-quotations": "1.1.0-dev.358",
26
+ "@epam/ai-dial-attachment-canvas": "1.1.0-dev.361",
27
+ "@epam/ai-dial-attachment-input": "1.1.0-dev.361",
28
+ "@epam/ai-dial-catalog": "1.1.0-dev.361",
29
+ "@epam/ai-dial-chat-api-client": "1.1.0-dev.361",
30
+ "@epam/ai-dial-chat-overlay": "1.1.0-dev.361",
31
+ "@epam/ai-dial-chat-shared": "1.1.0-dev.361",
32
+ "@epam/ai-dial-deployment-creation-form": "1.1.0-dev.361",
33
+ "@epam/ai-dial-publish-panel": "1.1.0-dev.361",
34
+ "@epam/ai-dial-quotations": "1.1.0-dev.361",
35
35
  "@epam/ai-dial-react-file-manager": "*",
36
- "@epam/ai-dial-scheduled-tasks": "1.1.0-dev.358",
37
- "@epam/ai-dial-share": "1.1.0-dev.358",
38
- "@epam/ai-dial-skill-editor": "1.1.0-dev.358",
39
- "@epam/ai-dial-source-panel": "1.1.0-dev.358",
36
+ "@epam/ai-dial-scheduled-tasks": "1.1.0-dev.361",
37
+ "@epam/ai-dial-share": "1.1.0-dev.361",
38
+ "@epam/ai-dial-skill-editor": "1.1.0-dev.361",
39
+ "@epam/ai-dial-source-panel": "1.1.0-dev.361",
40
40
  "@epam/ai-dial-ui-kit": "*",
41
41
  "fflate": "^0.8.3"
42
42
  },