@arbidocs/blocks 0.5.33 → 0.5.34

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 (62) hide show
  1. package/README.md +2 -0
  2. package/dist/{ConnectedNativeDocxComparison-H2OZMWHT.cjs → ConnectedNativeDocxComparison-4R5WW7IU.cjs} +7 -7
  3. package/dist/{ConnectedNativeDocxComparison-H2OZMWHT.cjs.map → ConnectedNativeDocxComparison-4R5WW7IU.cjs.map} +1 -1
  4. package/dist/{ConnectedNativeDocxComparison-RWKFPJPJ.js → ConnectedNativeDocxComparison-AH6KR4CZ.js} +6 -6
  5. package/dist/{ConnectedStreamedWordArtifact-TEB332E3.js.map → ConnectedNativeDocxComparison-AH6KR4CZ.js.map} +1 -1
  6. package/dist/{ConnectedNativeDocxEditor-43BI5LN6.js → ConnectedNativeDocxEditor-ETEJM7GN.js} +5 -5
  7. package/dist/{ConnectedNativeDocxEditor-43BI5LN6.js.map → ConnectedNativeDocxEditor-ETEJM7GN.js.map} +1 -1
  8. package/dist/{ConnectedNativeDocxEditor-6DQEM6SD.cjs → ConnectedNativeDocxEditor-MJVE2I33.cjs} +7 -7
  9. package/dist/{ConnectedNativeDocxEditor-6DQEM6SD.cjs.map → ConnectedNativeDocxEditor-MJVE2I33.cjs.map} +1 -1
  10. package/dist/{ConnectedStreamedWordArtifact-TEB332E3.js → ConnectedStreamedWordArtifact-JJI3HR7U.js} +6 -6
  11. package/dist/{ConnectedNativeDocxComparison-RWKFPJPJ.js.map → ConnectedStreamedWordArtifact-JJI3HR7U.js.map} +1 -1
  12. package/dist/{ConnectedStreamedWordArtifact-3VKYIG6C.cjs → ConnectedStreamedWordArtifact-S7EQ4FM2.cjs} +7 -7
  13. package/dist/ConnectedStreamedWordArtifact-S7EQ4FM2.cjs.map +1 -0
  14. package/dist/agents/index.cjs +326 -326
  15. package/dist/agents/index.js +4 -4
  16. package/dist/calls/index.cjs +1 -1
  17. package/dist/calls/index.js +1 -1
  18. package/dist/{chunk-MLHOG7YH.js → chunk-AL4GAWD3.js} +3 -3
  19. package/dist/{chunk-MLHOG7YH.js.map → chunk-AL4GAWD3.js.map} +1 -1
  20. package/dist/{chunk-PUX4M22Q.cjs → chunk-B426HYRI.cjs} +49 -49
  21. package/dist/{chunk-PUX4M22Q.cjs.map → chunk-B426HYRI.cjs.map} +1 -1
  22. package/dist/{chunk-FHB4G77H.js → chunk-G5ISXB5I.js} +3 -3
  23. package/dist/{chunk-FHB4G77H.js.map → chunk-G5ISXB5I.js.map} +1 -1
  24. package/dist/{chunk-6EQSP77K.cjs → chunk-J6U6DIZK.cjs} +5 -5
  25. package/dist/{chunk-6EQSP77K.cjs.map → chunk-J6U6DIZK.cjs.map} +1 -1
  26. package/dist/{chunk-BRYRZOS3.cjs → chunk-KBISVJPU.cjs} +4 -4
  27. package/dist/{chunk-BRYRZOS3.cjs.map → chunk-KBISVJPU.cjs.map} +1 -1
  28. package/dist/{chunk-EZSYYENN.js → chunk-O76V2TUY.js} +5 -5
  29. package/dist/{chunk-EZSYYENN.js.map → chunk-O76V2TUY.js.map} +1 -1
  30. package/dist/{chunk-7CHI36EP.js → chunk-OPK6GYYR.js} +3 -3
  31. package/dist/{chunk-7CHI36EP.js.map → chunk-OPK6GYYR.js.map} +1 -1
  32. package/dist/{chunk-FY4C7HU5.cjs → chunk-POU4O4D7.cjs} +9 -9
  33. package/dist/{chunk-FY4C7HU5.cjs.map → chunk-POU4O4D7.cjs.map} +1 -1
  34. package/dist/{chunk-VMLEISRZ.cjs → chunk-QU77RRZP.cjs} +8 -8
  35. package/dist/{chunk-VMLEISRZ.cjs.map → chunk-QU77RRZP.cjs.map} +1 -1
  36. package/dist/{chunk-XFSEPGF7.cjs → chunk-R3QNE46Z.cjs} +4 -4
  37. package/dist/{chunk-XFSEPGF7.cjs.map → chunk-R3QNE46Z.cjs.map} +1 -1
  38. package/dist/{chunk-NUV5F6MM.js → chunk-RFQ2FGL4.js} +3 -3
  39. package/dist/{chunk-NUV5F6MM.js.map → chunk-RFQ2FGL4.js.map} +1 -1
  40. package/dist/{chunk-2QDNQM63.cjs → chunk-SSYRPBL5.cjs} +3 -3
  41. package/dist/{chunk-2QDNQM63.cjs.map → chunk-SSYRPBL5.cjs.map} +1 -1
  42. package/dist/{chunk-VKY4SQMH.js → chunk-SXYXFCHN.js} +3 -3
  43. package/dist/{chunk-VKY4SQMH.js.map → chunk-SXYXFCHN.js.map} +1 -1
  44. package/dist/{chunk-4DKI37QQ.js → chunk-UWXCT3ON.js} +3 -3
  45. package/dist/{chunk-4DKI37QQ.js.map → chunk-UWXCT3ON.js.map} +1 -1
  46. package/dist/connect/docx.cjs +9 -9
  47. package/dist/connect/docx.js +5 -5
  48. package/dist/connect/index.cjs +260 -245
  49. package/dist/connect/index.cjs.map +1 -1
  50. package/dist/connect/index.js +23 -9
  51. package/dist/connect/index.js.map +1 -1
  52. package/dist/connect/viewer.cjs +4 -4
  53. package/dist/connect/viewer.js +4 -4
  54. package/dist/connection/files/ConnectedGridView.d.ts +2 -0
  55. package/dist/connection/files/index.d.ts +1 -0
  56. package/dist/index.cjs +395 -395
  57. package/dist/index.js +6 -6
  58. package/dist/workflow-canvas/index.cjs +17 -17
  59. package/dist/workflow-canvas/index.js +4 -4
  60. package/node_modules/@arbidocs/coedit/package.json +1 -1
  61. package/package.json +5 -5
  62. package/dist/ConnectedStreamedWordArtifact-3VKYIG6C.cjs.map +0 -1
@@ -9,9 +9,9 @@ var chunkYD3RN2FY_cjs = require('../chunk-YD3RN2FY.cjs');
9
9
  var chunkH6K7EWL2_cjs = require('../chunk-H6K7EWL2.cjs');
10
10
  var chunkOU3RGQFX_cjs = require('../chunk-OU3RGQFX.cjs');
11
11
  require('../chunk-UAEYU2NN.cjs');
12
- var chunkFEVJA4BP_cjs = require('../chunk-FEVJA4BP.cjs');
13
12
  var chunkNOKTUWTN_cjs = require('../chunk-NOKTUWTN.cjs');
14
- var chunkVMLEISRZ_cjs = require('../chunk-VMLEISRZ.cjs');
13
+ var chunkFEVJA4BP_cjs = require('../chunk-FEVJA4BP.cjs');
14
+ var chunkQU77RRZP_cjs = require('../chunk-QU77RRZP.cjs');
15
15
  var chunkEFSL4O3B_cjs = require('../chunk-EFSL4O3B.cjs');
16
16
  var chunkWALADS2S_cjs = require('../chunk-WALADS2S.cjs');
17
17
  var chunk2WLXQGWC_cjs = require('../chunk-2WLXQGWC.cjs');
@@ -23,15 +23,15 @@ require('../chunk-464YPRAE.cjs');
23
23
  require('../chunk-PICGTGEB.cjs');
24
24
  var chunk5FYU7ZIU_cjs = require('../chunk-5FYU7ZIU.cjs');
25
25
  require('../chunk-ZESMRGDV.cjs');
26
- var chunk6EQSP77K_cjs = require('../chunk-6EQSP77K.cjs');
26
+ var chunkJ6U6DIZK_cjs = require('../chunk-J6U6DIZK.cjs');
27
27
  var chunkC2ECYOPP_cjs = require('../chunk-C2ECYOPP.cjs');
28
28
  var chunkGOWXP5KT_cjs = require('../chunk-GOWXP5KT.cjs');
29
29
  var chunkHV7XHZLW_cjs = require('../chunk-HV7XHZLW.cjs');
30
- var chunkQZTNTP75_cjs = require('../chunk-QZTNTP75.cjs');
31
30
  var chunkRGWROTJ2_cjs = require('../chunk-RGWROTJ2.cjs');
32
31
  var chunkKUQOHPKP_cjs = require('../chunk-KUQOHPKP.cjs');
33
32
  var chunkVPPX5XUF_cjs = require('../chunk-VPPX5XUF.cjs');
34
33
  require('../chunk-PCB2BPN3.cjs');
34
+ var chunkQZTNTP75_cjs = require('../chunk-QZTNTP75.cjs');
35
35
  require('../chunk-NWNVWO6L.cjs');
36
36
  var chunkWUG24K7P_cjs = require('../chunk-WUG24K7P.cjs');
37
37
  require('../chunk-7G2LJMUG.cjs');
@@ -43,9 +43,9 @@ require('../chunk-VLCY46K6.cjs');
43
43
  require('../chunk-D54JXTPG.cjs');
44
44
  var chunkJIOHDVWH_cjs = require('../chunk-JIOHDVWH.cjs');
45
45
  var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
46
- var chunkFY4C7HU5_cjs = require('../chunk-FY4C7HU5.cjs');
46
+ var chunkPOU4O4D7_cjs = require('../chunk-POU4O4D7.cjs');
47
47
  var chunkRFIBUWLF_cjs = require('../chunk-RFIBUWLF.cjs');
48
- var chunk2QDNQM63_cjs = require('../chunk-2QDNQM63.cjs');
48
+ var chunkSSYRPBL5_cjs = require('../chunk-SSYRPBL5.cjs');
49
49
  var chunk3ZLNI7ZA_cjs = require('../chunk-3ZLNI7ZA.cjs');
50
50
  var chunkAQPZ4QMV_cjs = require('../chunk-AQPZ4QMV.cjs');
51
51
  require('../chunk-SIB6C7P7.cjs');
@@ -67,8 +67,8 @@ var chunkC3YIVBTU_cjs = require('../chunk-C3YIVBTU.cjs');
67
67
  var chunkJVXHVFUA_cjs = require('../chunk-JVXHVFUA.cjs');
68
68
  var chunkMOIZ2R5X_cjs = require('../chunk-MOIZ2R5X.cjs');
69
69
  var chunkMB3S2ETI_cjs = require('../chunk-MB3S2ETI.cjs');
70
- var chunkMEMWZ72Y_cjs = require('../chunk-MEMWZ72Y.cjs');
71
70
  var chunkZW6FPIFC_cjs = require('../chunk-ZW6FPIFC.cjs');
71
+ var chunkMEMWZ72Y_cjs = require('../chunk-MEMWZ72Y.cjs');
72
72
  var chunkLTO4JYU3_cjs = require('../chunk-LTO4JYU3.cjs');
73
73
  var chunkLNYEYR7W_cjs = require('../chunk-LNYEYR7W.cjs');
74
74
  var chunkZ2XZ2D4N_cjs = require('../chunk-Z2XZ2D4N.cjs');
@@ -163,9 +163,9 @@ var ConnectedUserEntity = React9.memo(function ConnectedUserEntity2({
163
163
  if (isMe) openSettings();
164
164
  else openDirectChat?.(user.external_id);
165
165
  };
166
- const tooltipContent = /* @__PURE__ */ jsxRuntime.jsxs(chunk6EQSP77K_cjs.EntityTooltip, { children: [
166
+ const tooltipContent = /* @__PURE__ */ jsxRuntime.jsxs(chunkJ6U6DIZK_cjs.EntityTooltip, { children: [
167
167
  /* @__PURE__ */ jsxRuntime.jsx(
168
- chunk6EQSP77K_cjs.EntityTooltipHeader,
168
+ chunkJ6U6DIZK_cjs.EntityTooltipHeader,
169
169
  {
170
170
  lead: /* @__PURE__ */ jsxRuntime.jsxs(
171
171
  ui.Avatar,
@@ -196,13 +196,13 @@ var ConnectedUserEntity = React9.memo(function ConnectedUserEntity2({
196
196
  subtitle: user.email
197
197
  }
198
198
  ),
199
- userIsAgent && agentOwner && /* @__PURE__ */ jsxRuntime.jsx(chunk6EQSP77K_cjs.EntityTooltipSection, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunk6EQSP77K_cjs.EntityTooltipHint, { icon: /* @__PURE__ */ jsxRuntime.jsx(react.ArbiBotHeadIcon, { className: "w-3.5 h-3.5 flex-shrink-0" }), children: [
199
+ userIsAgent && agentOwner && /* @__PURE__ */ jsxRuntime.jsx(chunkJ6U6DIZK_cjs.EntityTooltipSection, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkJ6U6DIZK_cjs.EntityTooltipHint, { icon: /* @__PURE__ */ jsxRuntime.jsx(react.ArbiBotHeadIcon, { className: "w-3.5 h-3.5 flex-shrink-0" }), children: [
200
200
  "Agent of",
201
201
  " ",
202
202
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium text-foreground", children: ui.getUserDisplayName(agentOwner) })
203
203
  ] }) }),
204
204
  sharedWorkspaces.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
205
- chunk6EQSP77K_cjs.EntityTooltipSection,
205
+ chunkJ6U6DIZK_cjs.EntityTooltipSection,
206
206
  {
207
207
  icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Users, { className: "w-3.5 h-3.5 flex-shrink-0" }),
208
208
  heading: "Shared Workspaces",
@@ -233,7 +233,7 @@ var ConnectedUserEntity = React9.memo(function ConnectedUserEntity2({
233
233
  ] })
234
234
  }
235
235
  ),
236
- interactive && variant === "pill" && canChat && /* @__PURE__ */ jsxRuntime.jsx(chunk6EQSP77K_cjs.EntityTooltipHint, { isRuled: true, icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.MessageCircleMore, { className: "w-3 h-3" }), children: "Click to send message" })
236
+ interactive && variant === "pill" && canChat && /* @__PURE__ */ jsxRuntime.jsx(chunkJ6U6DIZK_cjs.EntityTooltipHint, { isRuled: true, icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.MessageCircleMore, { className: "w-3 h-3" }), children: "Click to send message" })
237
237
  ] });
238
238
  return /* @__PURE__ */ jsxRuntime.jsx(
239
239
  ui.UserEntity,
@@ -387,7 +387,7 @@ function ConnectedWorkspaceActivity({
387
387
  [feed.data]
388
388
  );
389
389
  return /* @__PURE__ */ jsxRuntime.jsx(
390
- chunk6EQSP77K_cjs.WorkspaceActivityList,
390
+ chunkJ6U6DIZK_cjs.WorkspaceActivityList,
391
391
  {
392
392
  ...listProps,
393
393
  items,
@@ -1552,7 +1552,7 @@ function ConnectedWorkspaceNotificationMenu({
1552
1552
  }, [error, notify17]);
1553
1553
  if (!workspaceId) return null;
1554
1554
  return /* @__PURE__ */ jsxRuntime.jsx(
1555
- chunk6EQSP77K_cjs.WorkspaceNotificationMenu,
1555
+ chunkJ6U6DIZK_cjs.WorkspaceNotificationMenu,
1556
1556
  {
1557
1557
  ...menuProps,
1558
1558
  level,
@@ -1571,7 +1571,7 @@ function ConnectedThreadFollow({
1571
1571
  enabled: live
1572
1572
  });
1573
1573
  if (!conversationId) return null;
1574
- const Control = as === "menu-item" ? chunk6EQSP77K_cjs.ThreadFollowMenuItem : chunk6EQSP77K_cjs.ThreadFollowButton;
1574
+ const Control = as === "menu-item" ? chunkJ6U6DIZK_cjs.ThreadFollowMenuItem : chunkJ6U6DIZK_cjs.ThreadFollowButton;
1575
1575
  return /* @__PURE__ */ jsxRuntime.jsx(
1576
1576
  Control,
1577
1577
  {
@@ -1644,7 +1644,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
1644
1644
  onChange: (e) => {
1645
1645
  const file = e.target.files?.[0];
1646
1646
  e.target.value = "";
1647
- if (file) void add(() => chunkFY4C7HU5_cjs.importSkillFile(file));
1647
+ if (file) void add(() => chunkPOU4O4D7_cjs.importSkillFile(file));
1648
1648
  }
1649
1649
  }
1650
1650
  ),
@@ -1669,7 +1669,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
1669
1669
  className: "space-y-2",
1670
1670
  onSubmit: (e) => {
1671
1671
  e.preventDefault();
1672
- if (url.trim()) void add(() => chunkFY4C7HU5_cjs.importSkillFromUrl(url));
1672
+ if (url.trim()) void add(() => chunkPOU4O4D7_cjs.importSkillFromUrl(url));
1673
1673
  },
1674
1674
  children: [
1675
1675
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { htmlFor: "skills-add-url", children: l.fromLink }),
@@ -1732,9 +1732,9 @@ function ConnectedSkillsLibrary({
1732
1732
  const [type, setType] = React9.useState("all");
1733
1733
  const [view, setView] = React9.useState("gallery");
1734
1734
  const [isBusy, setIsBusy] = React9.useState(false);
1735
- const all = React9.useMemo(() => chunkFY4C7HU5_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
1735
+ const all = React9.useMemo(() => chunkPOU4O4D7_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
1736
1736
  const shown = React9.useMemo(
1737
- () => chunkFY4C7HU5_cjs.filterLibrarySkills(all, { query, source, type }),
1737
+ () => chunkPOU4O4D7_cjs.filterLibrarySkills(all, { query, source, type }),
1738
1738
  [all, query, source, type]
1739
1739
  );
1740
1740
  const current = all.find((s) => s.slug === selected) ?? null;
@@ -1745,21 +1745,21 @@ function ConnectedSkillsLibrary({
1745
1745
  const count2 = (s) => all.filter((x) => x.source === s).length;
1746
1746
  const sourceOptions = [
1747
1747
  { id: "all", label: "All", count: all.length },
1748
- { id: "builtin", label: chunkFY4C7HU5_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
1749
- { id: "mine", label: chunkFY4C7HU5_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
1750
- { id: "shared", label: chunkFY4C7HU5_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
1748
+ { id: "builtin", label: chunkPOU4O4D7_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
1749
+ { id: "mine", label: chunkPOU4O4D7_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
1750
+ { id: "shared", label: chunkPOU4O4D7_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
1751
1751
  ];
1752
1752
  const types = [...new Set(all.map((s) => s.type))];
1753
1753
  const typeOptions = [
1754
1754
  { id: "all", label: "Any kind" },
1755
- ...types.map((t) => ({ id: t, label: chunkFY4C7HU5_cjs.SKILL_TYPE_LABELS[t] ?? t }))
1755
+ ...types.map((t) => ({ id: t, label: chunkPOU4O4D7_cjs.SKILL_TYPE_LABELS[t] ?? t }))
1756
1756
  ];
1757
1757
  const pick = (slug) => {
1758
1758
  setSelected(slug);
1759
1759
  setMode("detail");
1760
1760
  };
1761
1761
  const markdownOf = async (skill) => {
1762
- if (!skill.docExtId) return chunkFY4C7HU5_cjs.workflowToSkillMarkdown(skill.workflow);
1762
+ if (!skill.docExtId) return chunkPOU4O4D7_cjs.workflowToSkillMarkdown(skill.workflow);
1763
1763
  const response = await arbi.documents.download(skill.docExtId);
1764
1764
  if (!response.ok) throw new Error(`Could not read the skill (${response.status})`);
1765
1765
  return response.text();
@@ -1823,7 +1823,7 @@ function ConnectedSkillsLibrary({
1823
1823
  try {
1824
1824
  documentTools.downloadBlob(
1825
1825
  new Blob([await markdownOf(skill)], { type: "text/markdown" }),
1826
- chunkFY4C7HU5_cjs.SKILL_MAIN_FILENAME
1826
+ chunkPOU4O4D7_cjs.SKILL_MAIN_FILENAME
1827
1827
  );
1828
1828
  } catch (error) {
1829
1829
  notify17(errorText(error, "Could not export the skill"), "error");
@@ -1864,10 +1864,10 @@ function ConnectedSkillsLibrary({
1864
1864
  }
1865
1865
  )
1866
1866
  ] }),
1867
- /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.SkillViewToggle, { value: view, onChange: setView })
1867
+ /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.SkillViewToggle, { value: view, onChange: setView })
1868
1868
  ] }),
1869
1869
  /* @__PURE__ */ jsxRuntime.jsx(
1870
- chunkFY4C7HU5_cjs.SkillFilterChips,
1870
+ chunkPOU4O4D7_cjs.SkillFilterChips,
1871
1871
  {
1872
1872
  label: "Show",
1873
1873
  value: source,
@@ -1876,7 +1876,7 @@ function ConnectedSkillsLibrary({
1876
1876
  }
1877
1877
  ),
1878
1878
  types.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
1879
- chunkFY4C7HU5_cjs.SkillFilterChips,
1879
+ chunkPOU4O4D7_cjs.SkillFilterChips,
1880
1880
  {
1881
1881
  label: "Kind",
1882
1882
  value: type,
@@ -1923,12 +1923,12 @@ function ConnectedSkillsLibrary({
1923
1923
  view === "gallery" ? "grid grid-cols-[repeat(auto-fill,minmax(9.5rem,1fr))]" : "flex flex-col"
1924
1924
  ),
1925
1925
  children: shown.map((skill) => /* @__PURE__ */ jsxRuntime.jsx(
1926
- chunkFY4C7HU5_cjs.SkillTile,
1926
+ chunkPOU4O4D7_cjs.SkillTile,
1927
1927
  {
1928
1928
  name: skill.title,
1929
1929
  testId: `skill-tile-${skill.slug}`,
1930
1930
  description: skill.description,
1931
- sourceLabel: skill.isShared ? `${chunkFY4C7HU5_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkFY4C7HU5_cjs.SKILL_SOURCE_LABELS[skill.source],
1931
+ sourceLabel: skill.isShared ? `${chunkPOU4O4D7_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkPOU4O4D7_cjs.SKILL_SOURCE_LABELS[skill.source],
1932
1932
  type: skill.type,
1933
1933
  icon,
1934
1934
  layout: view,
@@ -1963,7 +1963,7 @@ function ConnectedSkillsLibrary({
1963
1963
  }
1964
1964
  ),
1965
1965
  mode === "new" && /* @__PURE__ */ jsxRuntime.jsx(
1966
- chunkFY4C7HU5_cjs.SkillGenerateForm,
1966
+ chunkPOU4O4D7_cjs.SkillGenerateForm,
1967
1967
  {
1968
1968
  icon,
1969
1969
  onGenerate: (desc) => {
@@ -1990,11 +1990,11 @@ function ConnectedSkillsLibrary({
1990
1990
  ),
1991
1991
  mode === "add" && /* @__PURE__ */ jsxRuntime.jsx(ConnectedSkillUpload, { onDone: done }),
1992
1992
  mode === "detail" && current && /* @__PURE__ */ jsxRuntime.jsx(
1993
- chunkFY4C7HU5_cjs.SkillLibraryDetail,
1993
+ chunkPOU4O4D7_cjs.SkillLibraryDetail,
1994
1994
  {
1995
1995
  skill: current,
1996
1996
  icon,
1997
- instructions: current.docExtId ? currentText ? chunkFY4C7HU5_cjs.parseSkillFrontmatter(currentText, chunkFY4C7HU5_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
1997
+ instructions: current.docExtId ? currentText ? chunkPOU4O4D7_cjs.parseSkillFrontmatter(currentText, chunkPOU4O4D7_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
1998
1998
  isLoading: !!current.docExtId && textLoading,
1999
1999
  actions: {
2000
2000
  onRun: () => onRun(current.slug),
@@ -2029,7 +2029,7 @@ function SkillEditor({
2029
2029
  const [seeded, setSeeded] = React9.useState(!isEditing);
2030
2030
  const [nameError, setNameError] = React9.useState(null);
2031
2031
  if (isEditing && !seeded && text2 !== void 0) {
2032
- const parsed = chunkFY4C7HU5_cjs.parseSkillFrontmatter(text2, chunkFY4C7HU5_cjs.SKILL_MAIN_FILENAME);
2032
+ const parsed = chunkPOU4O4D7_cjs.parseSkillFrontmatter(text2, chunkPOU4O4D7_cjs.SKILL_MAIN_FILENAME);
2033
2033
  setDescription(parsed.description ?? "");
2034
2034
  setBody(parsed.content ?? "");
2035
2035
  setSeeded(true);
@@ -2043,15 +2043,15 @@ function SkillEditor({
2043
2043
  notify17("Add a short description.", "error");
2044
2044
  return;
2045
2045
  }
2046
- const slug = chunkFY4C7HU5_cjs.skillSlug(name);
2046
+ const slug = chunkPOU4O4D7_cjs.skillSlug(name);
2047
2047
  try {
2048
- await onSave(slug, chunkFY4C7HU5_cjs.serializeSkill({ name: slug, description, body }), isEditing);
2048
+ await onSave(slug, chunkPOU4O4D7_cjs.serializeSkill({ name: slug, description, body }), isEditing);
2049
2049
  } catch (err) {
2050
2050
  notify17(errorText(err, "Could not save the skill"), "error");
2051
2051
  }
2052
2052
  };
2053
2053
  return /* @__PURE__ */ jsxRuntime.jsx(
2054
- chunkFY4C7HU5_cjs.SkillEditForm,
2054
+ chunkPOU4O4D7_cjs.SkillEditForm,
2055
2055
  {
2056
2056
  name,
2057
2057
  onNameChange: setName,
@@ -2087,9 +2087,9 @@ function ConnectedAgentCreator({
2087
2087
  agent,
2088
2088
  initialName,
2089
2089
  onSaved,
2090
- capabilities = chunkFY4C7HU5_cjs.DEFAULT_AGENT_CAPABILITIES,
2091
- templates = chunkFY4C7HU5_cjs.DEFAULT_AGENT_TEMPLATES,
2092
- types = chunkFY4C7HU5_cjs.DEFAULT_AGENT_TYPES,
2090
+ capabilities = chunkPOU4O4D7_cjs.DEFAULT_AGENT_CAPABILITIES,
2091
+ templates = chunkPOU4O4D7_cjs.DEFAULT_AGENT_TEMPLATES,
2092
+ types = chunkPOU4O4D7_cjs.DEFAULT_AGENT_TYPES,
2093
2093
  canRevokeWorkspaces = false,
2094
2094
  labels
2095
2095
  }) {
@@ -2131,7 +2131,7 @@ function ConnectedAgentCreator({
2131
2131
  const initialValues = React9.useMemo(
2132
2132
  () => ({
2133
2133
  name: agent?.given_name ?? initialName ?? "",
2134
- persona: isEdit ? chunkFY4C7HU5_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
2134
+ persona: isEdit ? chunkPOU4O4D7_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
2135
2135
  modelName: String(agents.AGENT_MODEL_NAME ?? ""),
2136
2136
  capabilities: Object.fromEntries(capabilities.map(({ key }) => [key, Boolean(agents[key])])),
2137
2137
  type: "builtin",
@@ -2150,7 +2150,7 @@ function ConnectedAgentCreator({
2150
2150
  try {
2151
2151
  let agentExtId = agent?.external_id ?? early?.id ?? "";
2152
2152
  if (!agentExtId) {
2153
- if (!chunkFY4C7HU5_cjs.isValidAgentName(values.name)) {
2153
+ if (!chunkPOU4O4D7_cjs.isValidAgentName(values.name)) {
2154
2154
  notify17("Give the agent a name first.", "error");
2155
2155
  return;
2156
2156
  }
@@ -2186,7 +2186,7 @@ function ConnectedAgentCreator({
2186
2186
  title: `agent-${name}`,
2187
2187
  sections: {
2188
2188
  Agents: {
2189
- PERSONA: chunkFY4C7HU5_cjs.composePersona(name, values.persona),
2189
+ PERSONA: chunkPOU4O4D7_cjs.composePersona(name, values.persona),
2190
2190
  ...values.modelName ? { AGENT_MODEL_NAME: values.modelName } : {},
2191
2191
  ...Object.fromEntries(capabilities.map(({ key }) => [key, !!values.capabilities[key]])),
2192
2192
  ENABLED_SKILLS: values.capabilities.SKILLS_ENABLED && skills.length ? skills : null,
@@ -2209,7 +2209,7 @@ function ConnectedAgentCreator({
2209
2209
  };
2210
2210
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2211
2211
  /* @__PURE__ */ jsxRuntime.jsx(
2212
- chunkFY4C7HU5_cjs.AgentCreator,
2212
+ chunkPOU4O4D7_cjs.AgentCreator,
2213
2213
  {
2214
2214
  open: ready,
2215
2215
  onOpenChange,
@@ -2225,11 +2225,11 @@ function ConnectedAgentCreator({
2225
2225
  ) : void 0,
2226
2226
  revokingWorkspaceId: revokeAccess.isPending ? revokeAccess.variables?.workspaceId : void 0,
2227
2227
  avatar: (values) => /* @__PURE__ */ jsxRuntime.jsx(
2228
- chunkFY4C7HU5_cjs.AgentAvatarField,
2228
+ chunkPOU4O4D7_cjs.AgentAvatarField,
2229
2229
  {
2230
2230
  picture,
2231
2231
  isBusy: avatarBusy,
2232
- canGenerate: isEdit || chunkFY4C7HU5_cjs.isValidAgentName(values.name),
2232
+ canGenerate: isEdit || chunkPOU4O4D7_cjs.isValidAgentName(values.name),
2233
2233
  onGenerate: () => handleGenerateAvatar(values)
2234
2234
  }
2235
2235
  ),
@@ -2281,7 +2281,7 @@ function ConnectedAgentCreator({
2281
2281
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: "Connect your agent" }),
2282
2282
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { children: "This key is shown once. Run the script on the machine that will host the agent." })
2283
2283
  ] }),
2284
- connect && /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
2284
+ connect && /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
2285
2285
  ]
2286
2286
  }
2287
2287
  ) })
@@ -2318,7 +2318,7 @@ function ConnectedWorkflowHistory({
2318
2318
  const { openConversation } = chunkB3NYBMDR_cjs.useBlocksEnvironment();
2319
2319
  const { data: runs = [], isLoading } = react.useWorkflowRuns(workflow?.external_id);
2320
2320
  return /* @__PURE__ */ jsxRuntime.jsx(
2321
- chunkFY4C7HU5_cjs.TaskRunsDialog,
2321
+ chunkPOU4O4D7_cjs.TaskRunsDialog,
2322
2322
  {
2323
2323
  inline,
2324
2324
  hideHeader,
@@ -2354,14 +2354,14 @@ function ConnectedTaskActivityDialog({
2354
2354
  const activity = react.useConversationActivity(conversationId, { live });
2355
2355
  const { data: agents = [] } = react.useAgents();
2356
2356
  const { userId } = chunkJVXHVFUA_cjs.useConnectedWorkspace();
2357
- const { members } = chunkVMLEISRZ_cjs.useConnectedWorkspaceRole();
2357
+ const { members } = chunkQU77RRZP_cjs.useConnectedWorkspaceRole();
2358
2358
  const renderPerson = React9.useCallback(
2359
2359
  (id) => {
2360
2360
  const isMe = !!id && id === userId;
2361
2361
  const member = members.find((m) => m.user.external_id === id)?.user;
2362
2362
  const name = member && [member.given_name, member.family_name].filter(Boolean).join(" ") || member?.email;
2363
2363
  const person = { id, label: isMe ? "You" : name || "Someone", isMe };
2364
- return renderTaskPerson ? renderTaskPerson(person) : /* @__PURE__ */ jsxRuntime.jsx(chunk2QDNQM63_cjs.PersonPill, { person });
2364
+ return renderTaskPerson ? renderTaskPerson(person) : /* @__PURE__ */ jsxRuntime.jsx(chunkSSYRPBL5_cjs.PersonPill, { person });
2365
2365
  },
2366
2366
  [renderTaskPerson, userId, members]
2367
2367
  );
@@ -2370,7 +2370,7 @@ function ConnectedTaskActivityDialog({
2370
2370
  [agents]
2371
2371
  );
2372
2372
  return /* @__PURE__ */ jsxRuntime.jsx(
2373
- chunkFY4C7HU5_cjs.TaskActivityDialog,
2373
+ chunkPOU4O4D7_cjs.TaskActivityDialog,
2374
2374
  {
2375
2375
  open: true,
2376
2376
  onOpenChange: (open) => !open && onClose(),
@@ -2516,7 +2516,7 @@ function useWorkflowThread(workflow, options2 = {}) {
2516
2516
  );
2517
2517
  const conversation = conversations.data?.find((c) => c.external_id === threadId);
2518
2518
  const steps = React9.useMemo(
2519
- () => chunkEZLZ3MDU_cjs.workflowSteps(workflow).length > 0 ? chunkEZLZ3MDU_cjs.workflowSteps(workflow) : chunkFY4C7HU5_cjs.fromPlanSteps(conversation?.plan?.steps ?? []),
2519
+ () => chunkEZLZ3MDU_cjs.workflowSteps(workflow).length > 0 ? chunkEZLZ3MDU_cjs.workflowSteps(workflow) : chunkPOU4O4D7_cjs.fromPlanSteps(conversation?.plan?.steps ?? []),
2520
2520
  [workflow, conversation?.plan?.steps]
2521
2521
  );
2522
2522
  const activity = react.useConversationActivity(threadId, { live: !!threadId });
@@ -2576,7 +2576,7 @@ function useWorkflowThread(workflow, options2 = {}) {
2576
2576
  criteria: [],
2577
2577
  max_passes: 3,
2578
2578
  documents: [],
2579
- steps: chunkFY4C7HU5_cjs.toPlanSteps(workflow, {
2579
+ steps: chunkPOU4O4D7_cjs.toPlanSteps(workflow, {
2580
2580
  inputs: values,
2581
2581
  resolveWorkflow: options2.resolveWorkflow,
2582
2582
  compose: options2.compose
@@ -2663,7 +2663,7 @@ function useWorkflowThread(workflow, options2 = {}) {
2663
2663
  const anyRunning = Object.values(states).some((s) => s.status === "running");
2664
2664
  const needsStart = !threadId || idle && !anyRunning;
2665
2665
  const runError = idle ? conversation?.last_error ?? null : null;
2666
- const view = chunkFY4C7HU5_cjs.useWorkflowView({
2666
+ const view = chunkPOU4O4D7_cjs.useWorkflowView({
2667
2667
  steps,
2668
2668
  states,
2669
2669
  inputs,
@@ -2829,7 +2829,7 @@ function WorkflowWordDialog({
2829
2829
  title: title ?? labels.wordTitle,
2830
2830
  size: "xl",
2831
2831
  testId: "workflow-word-dialog",
2832
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkULWRNGGE_cjs.ModalScaffold.Body, { className: "h-[70dvh] p-0", children: /* @__PURE__ */ jsxRuntime.jsx(chunkVMLEISRZ_cjs.ConnectedNativeDocxEditor, { documentId: id, title: title ?? labels.wordTitle }) })
2832
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunkULWRNGGE_cjs.ModalScaffold.Body, { className: "h-[70dvh] p-0", children: /* @__PURE__ */ jsxRuntime.jsx(chunkQU77RRZP_cjs.ConnectedNativeDocxEditor, { documentId: id, title: title ?? labels.wordTitle }) })
2833
2833
  }
2834
2834
  );
2835
2835
  }
@@ -3151,7 +3151,7 @@ function ConnectedWorkflowRunner({
3151
3151
  );
3152
3152
  };
3153
3153
  const runner = (compact) => /* @__PURE__ */ jsxRuntime.jsx(
3154
- chunkFY4C7HU5_cjs.WorkflowRunner,
3154
+ chunkPOU4O4D7_cjs.WorkflowRunner,
3155
3155
  {
3156
3156
  people,
3157
3157
  ...runnerProps,
@@ -3197,7 +3197,7 @@ function ConnectedWorkflowRunner({
3197
3197
  ) }),
3198
3198
  inThread && conversationId ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
3199
3199
  /* @__PURE__ */ jsxRuntime.jsx(
3200
- chunkFY4C7HU5_cjs.WorkflowStepBar,
3200
+ chunkPOU4O4D7_cjs.WorkflowStepBar,
3201
3201
  {
3202
3202
  run: view,
3203
3203
  levels: chunkEZLZ3MDU_cjs.stepLevels(view.steps),
@@ -3488,7 +3488,7 @@ function ConnectedTagTable({
3488
3488
  const fail = (fallback) => (e) => notify17(browser.refusalReason(e, fallback), "error");
3489
3489
  const snapshot2 = (data) => {
3490
3490
  const title = exportTitle ?? ui.tagKindTitle(kind, { plural: true });
3491
- const bytes = chunk6EQSP77K_cjs.tagTableDocx(data, {
3491
+ const bytes = chunkJ6U6DIZK_cjs.tagTableDocx(data, {
3492
3492
  title,
3493
3493
  nameOf: (id) => people.find((p) => p.value === id)?.label
3494
3494
  });
@@ -3497,7 +3497,7 @@ function ConnectedTagTable({
3497
3497
  return { blob: new Blob([bytes], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }), name };
3498
3498
  };
3499
3499
  return /* @__PURE__ */ jsxRuntime.jsx(
3500
- chunk6EQSP77K_cjs.TagTable,
3500
+ chunkJ6U6DIZK_cjs.TagTable,
3501
3501
  {
3502
3502
  ...props,
3503
3503
  table,
@@ -3635,9 +3635,9 @@ function GlossaryExport({ labelId, nameOf }) {
3635
3635
  const narrowed = agreements.find((a) => a.id === narrowTo);
3636
3636
  const title = narrowed ? `Glossary - ${narrowed.name}` : "Glossary";
3637
3637
  const download = (format) => {
3638
- const entries = chunk6EQSP77K_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
3639
- const blob = format === "docx" ? new Blob([chunk6EQSP77K_cjs.glossaryDocx(entries, { title })], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }) : new Blob([chunk6EQSP77K_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
3640
- documentTools.downloadBlob(blob, chunk6EQSP77K_cjs.glossaryFileName(title, format));
3638
+ const entries = chunkJ6U6DIZK_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
3639
+ const blob = format === "docx" ? new Blob([chunkJ6U6DIZK_cjs.glossaryDocx(entries, { title })], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }) : new Blob([chunkJ6U6DIZK_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
3640
+ documentTools.downloadBlob(blob, chunkJ6U6DIZK_cjs.glossaryFileName(title, format));
3641
3641
  };
3642
3642
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", "data-testid": "tags-glossary", children: [
3643
3643
  agreements.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
@@ -4423,7 +4423,7 @@ var DocumentSharedCell = React9.memo(function DocumentSharedCell2({
4423
4423
  [document2.external_id, onToggle]
4424
4424
  );
4425
4425
  return /* @__PURE__ */ jsxRuntime.jsx(
4426
- chunk6EQSP77K_cjs.SharedCell,
4426
+ chunkJ6U6DIZK_cjs.SharedCell,
4427
4427
  {
4428
4428
  item: document2,
4429
4429
  onToggle: handleToggle,
@@ -5134,7 +5134,7 @@ function KindSection({
5134
5134
  {
5135
5135
  testId: `tags-kind-${kind}`,
5136
5136
  title: ui.tagKindTitle(kind, { plural: true }),
5137
- description: chunk6EQSP77K_cjs.tagKindDescription(kind),
5137
+ description: chunkJ6U6DIZK_cjs.tagKindDescription(kind),
5138
5138
  actions: picker,
5139
5139
  children: [
5140
5140
  browser.isEntityTag({ kind }) && extractingCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
@@ -5145,9 +5145,9 @@ function KindSection({
5145
5145
  children: [
5146
5146
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
5147
5147
  "Extracting ",
5148
- chunk6EQSP77K_cjs.entitiesPhrase().toLowerCase(),
5148
+ chunkJ6U6DIZK_cjs.entitiesPhrase().toLowerCase(),
5149
5149
  " from ",
5150
- chunk6EQSP77K_cjs.documentCount(extractingCount),
5150
+ chunkJ6U6DIZK_cjs.documentCount(extractingCount),
5151
5151
  "\u2026"
5152
5152
  ]
5153
5153
  }
@@ -5165,7 +5165,7 @@ function KindSection({
5165
5165
  onOpenDocument: (id) => openDocument(id),
5166
5166
  onOpenFact: ctx.onOpenFact,
5167
5167
  onOpenThread: (id) => openConversation(id),
5168
- labels: chunk6EQSP77K_cjs.tagTableLabels(kind),
5168
+ labels: chunkJ6U6DIZK_cjs.tagTableLabels(kind),
5169
5169
  testId: `tags-table-${kind}`
5170
5170
  }
5171
5171
  )
@@ -5267,12 +5267,12 @@ function TagSection({
5267
5267
  onOpenDocument: (id) => openDocument(id),
5268
5268
  onOpenFact: ctx.onOpenFact,
5269
5269
  onOpenThread: (id) => openConversation(id),
5270
- labels: chunk6EQSP77K_cjs.tagTableLabels(tag.kind),
5270
+ labels: chunkJ6U6DIZK_cjs.tagTableLabels(tag.kind),
5271
5271
  testId: "tags-rows"
5272
5272
  }
5273
5273
  ),
5274
5274
  /* @__PURE__ */ jsxRuntime.jsx(
5275
- chunk6EQSP77K_cjs.TagDetail,
5275
+ chunkJ6U6DIZK_cjs.TagDetail,
5276
5276
  {
5277
5277
  row: detailRow && narrowTagRow(detailRow, ctx.filter.matches),
5278
5278
  fields: schema.data?.fields ?? [],
@@ -5284,10 +5284,10 @@ function TagSection({
5284
5284
  onOpenDocument: (id) => openDocument(id),
5285
5285
  onOpenFact: ctx.onOpenFact,
5286
5286
  onOpenThread: (id) => openConversation(id),
5287
- noteLabel: chunk6EQSP77K_cjs.tagNoteLabel(tag.kind),
5287
+ noteLabel: chunkJ6U6DIZK_cjs.tagNoteLabel(tag.kind),
5288
5288
  noteIsValue: tag.kind === "annotation",
5289
5289
  renderPassages: (d, label) => renderPassages(d.doc_ext_id, label),
5290
- labels: chunk6EQSP77K_cjs.tagDetailLabels(),
5290
+ labels: chunkJ6U6DIZK_cjs.tagDetailLabels(),
5291
5291
  testId: "tags-detail"
5292
5292
  }
5293
5293
  )
@@ -5375,7 +5375,7 @@ function ConnectedTagsPage({
5375
5375
  const onDelete = async (t) => {
5376
5376
  const nested = browser.getChildTags([...tags], t.external_id);
5377
5377
  const uses = browser.tagUseCount(t);
5378
- const n2 = chunk6EQSP77K_cjs.tagsPageNouns();
5378
+ const n2 = chunkJ6U6DIZK_cjs.tagsPageNouns();
5379
5379
  const tagNoun = (count2) => (count2 === 1 ? n2.tag : n2.tags).toLowerCase();
5380
5380
  const carriers = uses === 1 ? `${n2.document}, ${n2.fact} or ${n2.thread}` : `${n2.documents}, ${n2.facts} and ${n2.threads}`;
5381
5381
  const message = `Delete ${ui.tagKindNouns(t.kind).singular} "${t.name}"?` + (uses > 0 ? `
@@ -5396,16 +5396,16 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
5396
5396
  try {
5397
5397
  await extract.mutateAsync(docIds);
5398
5398
  notify17(
5399
- `Extracting ${chunk6EQSP77K_cjs.entitiesPhrase().toLowerCase()} from ${chunk6EQSP77K_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
5399
+ `Extracting ${chunkJ6U6DIZK_cjs.entitiesPhrase().toLowerCase()} from ${chunkJ6U6DIZK_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
5400
5400
  "info"
5401
5401
  );
5402
5402
  } catch (error) {
5403
- notify17(browser.refusalReason(error, `Could not extract ${chunk6EQSP77K_cjs.entitiesPhrase().toLowerCase()}`), "error");
5403
+ notify17(browser.refusalReason(error, `Could not extract ${chunkJ6U6DIZK_cjs.entitiesPhrase().toLowerCase()}`), "error");
5404
5404
  throw error;
5405
5405
  }
5406
5406
  };
5407
5407
  const picker = /* @__PURE__ */ jsxRuntime.jsx(
5408
- chunk6EQSP77K_cjs.TagPicker,
5408
+ chunkJ6U6DIZK_cjs.TagPicker,
5409
5409
  {
5410
5410
  tags: viewTags,
5411
5411
  selectedId: tag?.external_id,
@@ -5419,10 +5419,10 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
5419
5419
  onOpenTag: openTag,
5420
5420
  onOpenFact
5421
5421
  };
5422
- const n = chunk6EQSP77K_cjs.tagsPageNouns();
5422
+ const n = chunkJ6U6DIZK_cjs.tagsPageNouns();
5423
5423
  const action = view === "person" || view === "organisation" ? {
5424
5424
  label: "Extract",
5425
- title: `Extract ${chunk6EQSP77K_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
5425
+ title: `Extract ${chunkJ6U6DIZK_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
5426
5426
  icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: "h-4 w-4" }),
5427
5427
  run: () => setExtracting(true),
5428
5428
  testId: "tags-extract-entities"
@@ -5572,7 +5572,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
5572
5572
  }
5573
5573
  ),
5574
5574
  /* @__PURE__ */ jsxRuntime.jsx(
5575
- chunk6EQSP77K_cjs.ExtractEntitiesDialog,
5575
+ chunkJ6U6DIZK_cjs.ExtractEntitiesDialog,
5576
5576
  {
5577
5577
  open: extracting,
5578
5578
  onOpenChange: setExtracting,
@@ -7575,7 +7575,7 @@ function ConnectedFactsPage({
7575
7575
  onNewFact: composing && !editingId ? () => void 0 : composer.startNewFact,
7576
7576
  navSlotRef: setNavSlot,
7577
7577
  navigator: view === "table" ? /* @__PURE__ */ jsxRuntime.jsx(
7578
- chunk6EQSP77K_cjs.GridRowNavigator,
7578
+ chunkJ6U6DIZK_cjs.GridRowNavigator,
7579
7579
  {
7580
7580
  gridApi,
7581
7581
  selectedId: editingId,
@@ -10750,13 +10750,13 @@ function ConnectedWorkspaceSettings({
10750
10750
  const [membersExpanded, setMembersExpanded] = React9.useState(false);
10751
10751
  const [shareOpen, setShareOpen] = React9.useState(false);
10752
10752
  if (!workspace) {
10753
- return /* @__PURE__ */ jsxRuntime.jsx(chunkQ7BS7EOU_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk6EQSP77K_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
10753
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkQ7BS7EOU_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkJ6U6DIZK_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
10754
10754
  }
10755
10755
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
10756
10756
  /* @__PURE__ */ jsxRuntime.jsxs(chunkQ7BS7EOU_cjs.WorkspacePageFrame, { testId, children: [
10757
10757
  /* @__PURE__ */ jsxRuntime.jsxs(chunkQ7BS7EOU_cjs.WorkspaceIdentityPanel, { children: [
10758
10758
  /* @__PURE__ */ jsxRuntime.jsx(
10759
- chunk6EQSP77K_cjs.EntityIdentityBar,
10759
+ chunkJ6U6DIZK_cjs.EntityIdentityBar,
10760
10760
  {
10761
10761
  testId: "workspace-identity-bar",
10762
10762
  canEdit: isOwner,
@@ -10773,7 +10773,7 @@ function ConnectedWorkspaceSettings({
10773
10773
  label: "Name",
10774
10774
  value: workspace.name,
10775
10775
  placeholder: "Untitled",
10776
- maxLength: chunk6EQSP77K_cjs.IDENTITY_NAME_MAX_LENGTH,
10776
+ maxLength: chunkJ6U6DIZK_cjs.IDENTITY_NAME_MAX_LENGTH,
10777
10777
  valueClassName: "truncate text-base font-semibold",
10778
10778
  testId: "workspace-home-title",
10779
10779
  hideLabel: true,
@@ -11529,36 +11529,36 @@ function ConnectedSharePointAdminConsentPage({
11529
11529
  const result = givenResult === void 0 ? queryResult : givenResult;
11530
11530
  const { apiBaseUrl } = chunkB3NYBMDR_cjs.useBlocksEnvironment().runtimeConfig;
11531
11531
  const consentUrl = `${apiBaseUrl}/v1/connectors/microsoft_sharepoint/admin-consent`;
11532
- return /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkFY4C7HU5_cjs.ConsentCard, { size: "md", children: [
11532
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPOU4O4D7_cjs.ConsentCard, { size: "md", children: [
11533
11533
  /* @__PURE__ */ jsxRuntime.jsx(
11534
- chunkFY4C7HU5_cjs.ConsentHeader,
11534
+ chunkPOU4O4D7_cjs.ConsentHeader,
11535
11535
  {
11536
11536
  icon: /* @__PURE__ */ jsxRuntime.jsx(chunkWALADS2S_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
11537
11537
  title: "Approve ARBI for SharePoint access",
11538
11538
  children: "A member of your organization uses ARBI and wants to sync documents from SharePoint. Your Microsoft 365 organization requires an administrator to approve this once for the whole organization."
11539
11539
  }
11540
11540
  ),
11541
- result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConsentNotice, { tone: "success", title: "Access approved \u2014 you\u2019re all set.", className: "mt-4", children: "People in your organization can now connect SharePoint from their own ARBI account. Nothing is synced until each user connects and chooses what to import." }),
11542
- result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConsentNotice, { tone: "warning", title: "The approval didn\u2019t complete.", className: "mt-4", children: "The request was declined or canceled on the Microsoft screen. You can try again below \u2014 you must sign in with a Microsoft 365 administrator account of your organization." }),
11543
- /* @__PURE__ */ jsxRuntime.jsxs(chunkFY4C7HU5_cjs.ConsentSection, { title: "What you are approving", children: [
11541
+ result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConsentNotice, { tone: "success", title: "Access approved \u2014 you\u2019re all set.", className: "mt-4", children: "People in your organization can now connect SharePoint from their own ARBI account. Nothing is synced until each user connects and chooses what to import." }),
11542
+ result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConsentNotice, { tone: "warning", title: "The approval didn\u2019t complete.", className: "mt-4", children: "The request was declined or canceled on the Microsoft screen. You can try again below \u2014 you must sign in with a Microsoft 365 administrator account of your organization." }),
11543
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkPOU4O4D7_cjs.ConsentSection, { title: "What you are approving", children: [
11544
11544
  /* @__PURE__ */ jsxRuntime.jsx(
11545
- chunkFY4C7HU5_cjs.ConsentBulletList,
11545
+ chunkPOU4O4D7_cjs.ConsentBulletList,
11546
11546
  {
11547
11547
  items: [
11548
11548
  /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
11549
- /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
11549
+ /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
11550
11550
  " \u2014 lets each user who connects their own account import documents from sites they already have access to. ARBI never gets more access than the user has."
11551
11551
  ] }),
11552
11552
  /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
11553
- /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
11553
+ /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
11554
11554
  " \u2014 standard sign-in (openid, profile, email) and offline access so syncs keep working between sessions."
11555
11555
  ] })
11556
11556
  ]
11557
11557
  }
11558
11558
  ),
11559
- /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConsentText, { children: "Approving does not sync anything by itself and grants ARBI no standing access to your tenant. Each user still connects their own Microsoft account, and their tokens are end-to-end encrypted so ARBI\u2019s servers cannot read them at rest." }),
11559
+ /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConsentText, { children: "Approving does not sync anything by itself and grants ARBI no standing access to your tenant. Each user still connects their own Microsoft account, and their tokens are end-to-end encrypted so ARBI\u2019s servers cannot read them at rest." }),
11560
11560
  /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { asChild: true, className: "w-full pointer-coarse:h-11", children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: consentUrl, children: "Review and approve in Microsoft" }) }),
11561
- /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConsentText, { variant: "footnote", children: "You\u2019ll sign in at login.microsoftonline.com and see Microsoft\u2019s own summary of these permissions before anything is granted." })
11561
+ /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConsentText, { variant: "footnote", children: "You\u2019ll sign in at login.microsoftonline.com and see Microsoft\u2019s own summary of these permissions before anything is granted." })
11562
11562
  ] })
11563
11563
  ] }) });
11564
11564
  }
@@ -14909,7 +14909,7 @@ function ConnectedWorkspaceList({
14909
14909
  else void openWorkspace(workspace.external_id, { name: workspace.name });
14910
14910
  };
14911
14911
  const createDisabledReason = list.canCreateProjects === false ? react.PROJECT_CREATION_DENIED_REASON : void 0;
14912
- if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunk6EQSP77K_cjs.LoadingIndicator, { message: "Loading workspaces..." });
14912
+ if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunkJ6U6DIZK_cjs.LoadingIndicator, { message: "Loading workspaces..." });
14913
14913
  if (list.error) {
14914
14914
  return /* @__PURE__ */ jsxRuntime.jsx(
14915
14915
  chunkH6K7EWL2_cjs.HomeLoadError,
@@ -14982,7 +14982,7 @@ function ConnectedWorkspaceList({
14982
14982
  workspaceState
14983
14983
  }
14984
14984
  ) })
14985
- ) : /* @__PURE__ */ jsxRuntime.jsx(React9.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunk6EQSP77K_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkH6K7EWL2_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
14985
+ ) : /* @__PURE__ */ jsxRuntime.jsx(React9.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkJ6U6DIZK_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkH6K7EWL2_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
14986
14986
  WorkspaceTableView,
14987
14987
  {
14988
14988
  list,
@@ -15224,7 +15224,7 @@ function ProjectsListPage({
15224
15224
  }
15225
15225
  ),
15226
15226
  /* @__PURE__ */ jsxRuntime.jsx(
15227
- chunk6EQSP77K_cjs.Toolbar,
15227
+ chunkJ6U6DIZK_cjs.Toolbar,
15228
15228
  {
15229
15229
  search,
15230
15230
  onSearch: setSearch,
@@ -15644,7 +15644,7 @@ var COMPACT_BELOW = 132;
15644
15644
  var NO_DOCUMENTS = [];
15645
15645
  function useFilesWorkspace() {
15646
15646
  const { workspaceId, userId, live } = chunkJVXHVFUA_cjs.useConnectedWorkspace();
15647
- const { members, role } = chunkVMLEISRZ_cjs.useConnectedWorkspaceRole();
15647
+ const { members, role } = chunkQU77RRZP_cjs.useConnectedWorkspaceRole();
15648
15648
  const { data: workspaces } = react.useWorkspaces({ enabled: live });
15649
15649
  const workspaceName = workspaces?.find((w) => w.external_id === workspaceId)?.name;
15650
15650
  return {
@@ -17428,7 +17428,7 @@ function recentConversations(conversations) {
17428
17428
  return [...conversations].sort((a, b) => time(b.updated_at) - time(a.updated_at)).slice(0, RECENT_ROWS).map((c) => ({
17429
17429
  id: c.external_id,
17430
17430
  title: c.title?.trim() || "Untitled thread",
17431
- subtitle: c.status ? [chunkFY4C7HU5_cjs.STATUS_LABELS[chunkFY4C7HU5_cjs.asTaskStatus(c.status)], c.due_at ? `due ${shortDate(c.due_at)}` : null].filter(Boolean).join(" \xB7 ") : `${c.message_count} ${c.message_count === 1 ? "message" : "messages"}`,
17431
+ subtitle: c.status ? [chunkPOU4O4D7_cjs.STATUS_LABELS[chunkPOU4O4D7_cjs.asTaskStatus(c.status)], c.due_at ? `due ${shortDate(c.due_at)}` : null].filter(Boolean).join(" \xB7 ") : `${c.message_count} ${c.message_count === 1 ? "message" : "messages"}`,
17432
17432
  time: timeAndDate(c.updated_at)
17433
17433
  }));
17434
17434
  }
@@ -21186,7 +21186,7 @@ function EventEditorDialog({
21186
21186
  const { notify: notify17, runtimeConfig } = chunkB3NYBMDR_cjs.useBlocksEnvironment();
21187
21187
  const attachmentDocuments = documents.map((document2) => ({
21188
21188
  doc_id: document2.external_id,
21189
- title: chunkVMLEISRZ_cjs.toWorkflowFieldDocument(document2).title,
21189
+ title: chunkQU77RRZP_cjs.toWorkflowFieldDocument(document2).title,
21190
21190
  url: chunk725OETK3_cjs.buildDeepLinkUrl(
21191
21191
  { workspaceId: workspaceId ?? void 0, documentId: document2.external_id },
21192
21192
  runtimeConfig.deploymentDomain
@@ -23705,9 +23705,9 @@ function ConnectedTagEntity({
23705
23705
  onEditClick();
23706
23706
  }
23707
23707
  };
23708
- const tooltipContent = showTooltip ? /* @__PURE__ */ jsxRuntime.jsxs(chunk6EQSP77K_cjs.EntityTooltip, { children: [
23708
+ const tooltipContent = showTooltip ? /* @__PURE__ */ jsxRuntime.jsxs(chunkJ6U6DIZK_cjs.EntityTooltip, { children: [
23709
23709
  /* @__PURE__ */ jsxRuntime.jsx(
23710
- chunk6EQSP77K_cjs.EntityTooltipHeader,
23710
+ chunkJ6U6DIZK_cjs.EntityTooltipHeader,
23711
23711
  {
23712
23712
  lead: /* @__PURE__ */ jsxRuntime.jsx(
23713
23713
  "span",
@@ -26162,9 +26162,9 @@ function ConnectedWorkspaceEntity({
26162
26162
  );
26163
26163
  const documentCount2 = (workspace.shared_document_count ?? 0) + (workspace.private_document_count ?? 0);
26164
26164
  const conversationCount = (workspace.shared_conversation_count ?? 0) + (workspace.private_conversation_count ?? 0);
26165
- const tooltipContent = /* @__PURE__ */ jsxRuntime.jsxs(chunk6EQSP77K_cjs.EntityTooltip, { children: [
26165
+ const tooltipContent = /* @__PURE__ */ jsxRuntime.jsxs(chunkJ6U6DIZK_cjs.EntityTooltip, { children: [
26166
26166
  /* @__PURE__ */ jsxRuntime.jsx(
26167
- chunk6EQSP77K_cjs.EntityTooltipHeader,
26167
+ chunkJ6U6DIZK_cjs.EntityTooltipHeader,
26168
26168
  {
26169
26169
  lead: /* @__PURE__ */ jsxRuntime.jsx(
26170
26170
  ui.ShieldIcon,
@@ -26181,7 +26181,7 @@ function ConnectedWorkspaceEntity({
26181
26181
  }
26182
26182
  ),
26183
26183
  /* @__PURE__ */ jsxRuntime.jsx(
26184
- chunk6EQSP77K_cjs.EntityTooltipStats,
26184
+ chunkJ6U6DIZK_cjs.EntityTooltipStats,
26185
26185
  {
26186
26186
  stats: [
26187
26187
  {
@@ -26205,11 +26205,11 @@ function ConnectedWorkspaceEntity({
26205
26205
  ]
26206
26206
  }
26207
26207
  ),
26208
- workspace.updated_at && /* @__PURE__ */ jsxRuntime.jsxs(chunk6EQSP77K_cjs.EntityTooltipHint, { children: [
26208
+ workspace.updated_at && /* @__PURE__ */ jsxRuntime.jsxs(chunkJ6U6DIZK_cjs.EntityTooltipHint, { children: [
26209
26209
  "Updated ",
26210
26210
  ui.formatFriendlyDate(workspace.updated_at)
26211
26211
  ] }),
26212
- interactive && variant !== "icon" && /* @__PURE__ */ jsxRuntime.jsxs(chunk6EQSP77K_cjs.EntityTooltipHint, { icon: /* @__PURE__ */ jsxRuntime.jsx(ui.EntityIcon, { entityType: "WORKSPACE", className: "w-3 h-3" }), children: [
26212
+ interactive && variant !== "icon" && /* @__PURE__ */ jsxRuntime.jsxs(chunkJ6U6DIZK_cjs.EntityTooltipHint, { icon: /* @__PURE__ */ jsxRuntime.jsx(ui.EntityIcon, { entityType: "WORKSPACE", className: "w-3 h-3" }), children: [
26213
26213
  "Click to open ",
26214
26214
  ui.getEntityLabel("WORKSPACE").toLowerCase(),
26215
26215
  " settings"
@@ -26325,7 +26325,7 @@ function useBatchCompleteToasts() {
26325
26325
  }
26326
26326
  }, AI_FIELDS_NOTICE_WINDOW_MS);
26327
26327
  } else if (message.batch_type === "entity_extract") {
26328
- say(`${chunk6EQSP77K_cjs.entitiesPhrase()} extracted from ${chunk6EQSP77K_cjs.documentCount(docIds.length)}`, "success", {
26328
+ say(`${chunkJ6U6DIZK_cjs.entitiesPhrase()} extracted from ${chunkJ6U6DIZK_cjs.documentCount(docIds.length)}`, "success", {
26329
26329
  ...openTags && { action: { label: "View", onClick: openTags } }
26330
26330
  });
26331
26331
  } else if (message.batch_type === "upload") {
@@ -28071,7 +28071,7 @@ function ConnectedFilesPage({
28071
28071
  const deleteDocuments = react.useDeleteDocuments();
28072
28072
  const isDocumentsPending = isLoading && documents.length === 0;
28073
28073
  const { workspaceId, userId, live } = chunkJVXHVFUA_cjs.useConnectedWorkspace();
28074
- const { role, members } = chunkVMLEISRZ_cjs.useConnectedWorkspaceRole();
28074
+ const { role, members } = chunkQU77RRZP_cjs.useConnectedWorkspaceRole();
28075
28075
  const { data: workspaces } = react.useWorkspaces({ enabled: live });
28076
28076
  const workspaceName = workspaces?.find((w) => w.external_id === workspaceId)?.name;
28077
28077
  const isMember = role != null;
@@ -28486,7 +28486,7 @@ function ConnectedFilesPage({
28486
28486
  viewMode === "grid" ? (
28487
28487
  // ‹ n / N › over the table's displayed rows; a step opens the document.
28488
28488
  /* @__PURE__ */ jsxRuntime.jsx(
28489
- chunk6EQSP77K_cjs.GridRowNavigator,
28489
+ chunkJ6U6DIZK_cjs.GridRowNavigator,
28490
28490
  {
28491
28491
  gridApi,
28492
28492
  selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
@@ -28717,6 +28717,20 @@ function ConnectedAiReviewHost(props) {
28717
28717
  const setOpen = useAiReviewStore((s) => s.setOpen);
28718
28718
  return /* @__PURE__ */ jsxRuntime.jsx(ConnectedAiReview, { open, onOpenChange: setOpen, ...props });
28719
28719
  }
28720
+ function ConnectedGridView(props) {
28721
+ const { persistState, gridId } = props;
28722
+ const session = react.useArbiSessionStore();
28723
+ const { setGridState } = session;
28724
+ const gridState = persistState && gridId ? session.getState().grid.states[gridId] : void 0;
28725
+ const onGridStateChange = React9.useCallback(
28726
+ (state) => {
28727
+ if (!persistState || !gridId) return;
28728
+ setGridState(gridId, state);
28729
+ },
28730
+ [persistState, gridId, setGridState]
28731
+ );
28732
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkLKK52DEY_cjs.GridView, { ...props, gridState, onGridStateChange });
28733
+ }
28720
28734
  function WatchOne({ transferId }) {
28721
28735
  const { data: job } = react.useWorkspaceTransfer(transferId);
28722
28736
  const { data: workspaces = [] } = react.useWorkspaces();
@@ -30043,7 +30057,7 @@ function ConnectedConfigForm({ availableModels, ...rest }) {
30043
30057
  ({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
30044
30058
  []
30045
30059
  );
30046
- return /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
30060
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
30047
30061
  }
30048
30062
  function ConnectedAgentConfigForm({ agentExtId, agentName, onSaved }) {
30049
30063
  const { notify: notify17 } = chunkB3NYBMDR_cjs.useBlocksEnvironment();
@@ -30160,7 +30174,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
30160
30174
  }, [name, selectedWorkspaces, role, createAgent, addWorkspaceUsers, arbi, notify17]);
30161
30175
  if (editAgent) {
30162
30176
  return /* @__PURE__ */ jsxRuntime.jsx(
30163
- chunkFY4C7HU5_cjs.AgentEditView,
30177
+ chunkPOU4O4D7_cjs.AgentEditView,
30164
30178
  {
30165
30179
  agentName: editAgent.name,
30166
30180
  config: /* @__PURE__ */ jsxRuntime.jsx(
@@ -30176,7 +30190,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
30176
30190
  }
30177
30191
  if (view === "main") {
30178
30192
  return /* @__PURE__ */ jsxRuntime.jsx(
30179
- chunkFY4C7HU5_cjs.AgentMainView,
30193
+ chunkPOU4O4D7_cjs.AgentMainView,
30180
30194
  {
30181
30195
  onConnectExternal: () => setView("connect"),
30182
30196
  config: mainAgent ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -30192,11 +30206,11 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
30192
30206
  }
30193
30207
  if (result) {
30194
30208
  return /* @__PURE__ */ jsxRuntime.jsx(
30195
- chunkFY4C7HU5_cjs.AgentCreatedView,
30209
+ chunkPOU4O4D7_cjs.AgentCreatedView,
30196
30210
  {
30197
30211
  email: result.email,
30198
30212
  signingKey: result.signingKey,
30199
- instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
30213
+ instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
30200
30214
  config: /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentConfigForm, { agentExtId: result.extId, agentName: result.name }),
30201
30215
  isConfigOpen: configOpen,
30202
30216
  onToggleConfig: () => setConfigOpen((v) => !v),
@@ -30205,7 +30219,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
30205
30219
  );
30206
30220
  }
30207
30221
  return /* @__PURE__ */ jsxRuntime.jsx(
30208
- chunkFY4C7HU5_cjs.AgentCreateView,
30222
+ chunkPOU4O4D7_cjs.AgentCreateView,
30209
30223
  {
30210
30224
  name,
30211
30225
  onNameChange: setName,
@@ -31904,14 +31918,14 @@ var referencesOf = (inputs) => {
31904
31918
  return value?.documents ?? [];
31905
31919
  };
31906
31920
  var PROMPT_BINDINGS = {
31907
- [chunkFY4C7HU5_cjs.GENERATE_IMAGE_ID]: {
31921
+ [chunkPOU4O4D7_cjs.GENERATE_IMAGE_ID]: {
31908
31922
  attachScope: false,
31909
31923
  tools: (inputs) => {
31910
31924
  const aspectRatio = typeof inputs.aspect_ratio === "string" ? inputs.aspect_ratio : "";
31911
31925
  return {
31912
31926
  retrieval_chunk: browser.buildRetrievalChunkTool([]),
31913
31927
  retrieval_full_context: browser.buildRetrievalFullContextTool(referencesOf(inputs)),
31914
- ...aspectRatio && aspectRatio !== chunkFY4C7HU5_cjs.IMAGE_ASPECT_AUTO ? {
31928
+ ...aspectRatio && aspectRatio !== chunkPOU4O4D7_cjs.IMAGE_ASPECT_AUTO ? {
31915
31929
  image_generation: {
31916
31930
  name: "image_generation",
31917
31931
  description: "image generation",
@@ -31947,7 +31961,7 @@ function useWorkflowTasks() {
31947
31961
  );
31948
31962
  const create4 = React9.useCallback(
31949
31963
  async (ctx, forceWorkflow = false) => {
31950
- const request = chunkFY4C7HU5_cjs.taskComposerToCreateRequest(
31964
+ const request = chunkPOU4O4D7_cjs.taskComposerToCreateRequest(
31951
31965
  { ...ctx, documentTitles, plan: ctx.plan ?? null },
31952
31966
  activeWorkspaceId ?? void 0,
31953
31967
  forceWorkflow
@@ -31989,7 +32003,7 @@ function useWorkflowTasks() {
31989
32003
  );
31990
32004
  const update = React9.useCallback(
31991
32005
  async (task, ctx) => {
31992
- const patch = chunkFY4C7HU5_cjs.taskComposerToUpdateRequest({ ...ctx, plan: ctx.plan ?? null });
32006
+ const patch = chunkPOU4O4D7_cjs.taskComposerToUpdateRequest({ ...ctx, plan: ctx.plan ?? null });
31993
32007
  if (task.is_owner === false) delete patch.shared;
31994
32008
  await updateConversation.mutateAsync({ conversationId: task.external_id, patch });
31995
32009
  },
@@ -31997,7 +32011,7 @@ function useWorkflowTasks() {
31997
32011
  );
31998
32012
  const updateWorkflow = React9.useCallback(
31999
32013
  async (workflow, ctx) => {
32000
- const patch = chunkFY4C7HU5_cjs.composerToWorkflowUpdate({ ...ctx, documentTitles, plan: ctx.plan ?? null });
32014
+ const patch = chunkPOU4O4D7_cjs.composerToWorkflowUpdate({ ...ctx, documentTitles, plan: ctx.plan ?? null });
32001
32015
  if (workflow.is_owner === false) delete patch.shared;
32002
32016
  const workspaceId = workflow.workspace_ext_id ?? activeWorkspaceId;
32003
32017
  const updated = await updateWorkflowMutation.mutateAsync({
@@ -32027,7 +32041,7 @@ var text = (inputs, name) => {
32027
32041
  function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
32028
32042
  const { data: documents = [] } = react.useDocuments();
32029
32043
  const { data: workspaceTags = [] } = react.useTags();
32030
- const tags = React9.useMemo(() => chunk2QDNQM63_cjs.documentScopeLabels(workspaceTags), [workspaceTags]);
32044
+ const tags = React9.useMemo(() => chunkSSYRPBL5_cjs.documentScopeLabels(workspaceTags), [workspaceTags]);
32031
32045
  const createTag = react.useCreateTag();
32032
32046
  const updateTag = react.useUpdateTag();
32033
32047
  const generate = react.useGenerateDocTags();
@@ -32038,8 +32052,8 @@ function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
32038
32052
  const annotate = React9.useCallback(
32039
32053
  async ({ inputs, scope }) => {
32040
32054
  const description = text(inputs, "description");
32041
- const name = text(inputs, "name") || chunkFY4C7HU5_cjs.deriveAnnotationName(description);
32042
- const matching = chunk2QDNQM63_cjs.matchWorkflowScope(documents, scope);
32055
+ const name = text(inputs, "name") || chunkPOU4O4D7_cjs.deriveAnnotationName(description);
32056
+ const matching = chunkSSYRPBL5_cjs.matchWorkflowScope(documents, scope);
32043
32057
  if (!name || !description || matching.length === 0) return;
32044
32058
  try {
32045
32059
  const existing = tags.find((t) => t.name.toLowerCase() === name.toLowerCase());
@@ -32082,9 +32096,9 @@ function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
32082
32096
  async (launch) => {
32083
32097
  const { workflow, inputs, scope, agentId } = launch;
32084
32098
  if (workflow.run.kind === "operation") {
32085
- if (workflow.id === chunkFY4C7HU5_cjs.ANNOTATE_ID) {
32099
+ if (workflow.id === chunkPOU4O4D7_cjs.ANNOTATE_ID) {
32086
32100
  await annotate(launch);
32087
- chunkFY4C7HU5_cjs.recordWorkflowUse(workflow.id);
32101
+ chunkPOU4O4D7_cjs.recordWorkflowUse(workflow.id);
32088
32102
  return;
32089
32103
  }
32090
32104
  throw new Error(`No host handler for workflow "${workflow.id}"`);
@@ -32094,7 +32108,7 @@ function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
32094
32108
  );
32095
32109
  const prompt = chunk76L6LOP3_cjs.composeWorkflowPrompt(workflow, inputs, { documentTitles });
32096
32110
  if (!prompt) return;
32097
- chunkFY4C7HU5_cjs.recordWorkflowUse(workflow.id);
32111
+ chunkPOU4O4D7_cjs.recordWorkflowUse(workflow.id);
32098
32112
  if (agentId) {
32099
32113
  try {
32100
32114
  const created = await createTask({
@@ -32139,7 +32153,7 @@ function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
32139
32153
  const binding = PROMPT_BINDINGS[workflow.id];
32140
32154
  if (!inPlace) openNewConversation();
32141
32155
  if (binding?.attachScope !== false && !chunk76L6LOP3_cjs.isEmptyWorkflowScope(scope)) {
32142
- const ids = chunk2QDNQM63_cjs.matchWorkflowScope(documents, scope).map((d) => d.external_id);
32156
+ const ids = chunkSSYRPBL5_cjs.matchWorkflowScope(documents, scope).map((d) => d.external_id);
32143
32157
  if (ids.length > 0) {
32144
32158
  session.setConversationDocuments(
32145
32159
  inPlace ? session.getState().conversationId ?? "new" : "new",
@@ -32174,30 +32188,30 @@ function ConnectedWorkflowStart({
32174
32188
  const onLaunch = useLaunchWorkflow({ landing });
32175
32189
  const { openUpload } = chunkB3NYBMDR_cjs.useBlocksEnvironment();
32176
32190
  const { data: workspaceTags = [] } = react.useTags();
32177
- const tags = React9.useMemo(() => chunk2QDNQM63_cjs.documentScopeLabels(workspaceTags), [workspaceTags]);
32191
+ const tags = React9.useMemo(() => chunkSSYRPBL5_cjs.documentScopeLabels(workspaceTags), [workspaceTags]);
32178
32192
  const fieldPlaceholder = React9.useCallback(
32179
32193
  (field, inputs, workflow) => {
32180
- if (workflow.id !== chunkFY4C7HU5_cjs.ANNOTATE_ID || field.name !== "name") return void 0;
32181
- const derived = chunkFY4C7HU5_cjs.deriveAnnotationName(String(inputs.description ?? ""));
32194
+ if (workflow.id !== chunkPOU4O4D7_cjs.ANNOTATE_ID || field.name !== "name") return void 0;
32195
+ const derived = chunkPOU4O4D7_cjs.deriveAnnotationName(String(inputs.description ?? ""));
32182
32196
  return derived ? `Otherwise \u201C${derived}\u201D` : "Taken from the description";
32183
32197
  },
32184
32198
  []
32185
32199
  );
32186
32200
  return /* @__PURE__ */ jsxRuntime.jsx(
32187
- chunkVMLEISRZ_cjs.ConnectedWorkflowLauncher,
32201
+ chunkQU77RRZP_cjs.ConnectedWorkflowLauncher,
32188
32202
  {
32189
32203
  ...rest,
32190
32204
  workflows,
32191
32205
  onLaunch,
32192
- renderIcon: chunkFY4C7HU5_cjs.renderWorkflowIcon,
32206
+ renderIcon: chunkPOU4O4D7_cjs.renderWorkflowIcon,
32193
32207
  onAddFiles: openUpload,
32194
32208
  agentLabels: AGENT_LABELS,
32195
32209
  addFilesAction,
32196
32210
  fieldPlaceholder,
32197
- submitLabel: ({ workflow, matchedCount }) => workflow.id === chunkFY4C7HU5_cjs.ANNOTATE_ID && matchedCount !== null ? `Annotate ${matchedCount} document${matchedCount !== 1 ? "s" : ""}` : void 0,
32211
+ submitLabel: ({ workflow, matchedCount }) => workflow.id === chunkPOU4O4D7_cjs.ANNOTATE_ID && matchedCount !== null ? `Annotate ${matchedCount} document${matchedCount !== 1 ? "s" : ""}` : void 0,
32198
32212
  renderNotice: ({ workflow, inputs }) => {
32199
- if (workflow.id !== chunkFY4C7HU5_cjs.ANNOTATE_ID) return null;
32200
- const name = String(inputs.name ?? "").trim() || chunkFY4C7HU5_cjs.deriveAnnotationName(String(inputs.description ?? ""));
32213
+ if (workflow.id !== chunkPOU4O4D7_cjs.ANNOTATE_ID) return null;
32214
+ const name = String(inputs.name ?? "").trim() || chunkPOU4O4D7_cjs.deriveAnnotationName(String(inputs.description ?? ""));
32201
32215
  const existing = name ? tags.find((t) => t.name.toLowerCase() === name.toLowerCase()) : void 0;
32202
32216
  if (!existing) return null;
32203
32217
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -32228,25 +32242,25 @@ function useSkillsEnabled() {
32228
32242
  // src/connection/workflows/useWorkflowDefinitions.ts
32229
32243
  function useWorkflowDefinitions() {
32230
32244
  const { data: listings } = react.useSkills();
32231
- const usage = chunkFY4C7HU5_cjs.useWorkflowUsage();
32245
+ const usage = chunkPOU4O4D7_cjs.useWorkflowUsage();
32232
32246
  const skillsEnabled = useSkillsEnabled();
32233
32247
  return React9.useMemo(() => {
32234
32248
  const { host: builtins, skills: fromServer } = chunk76L6LOP3_cjs.mergeSkillWorkflows(
32235
- chunkFY4C7HU5_cjs.WEB_WORKFLOWS,
32249
+ chunkPOU4O4D7_cjs.WEB_WORKFLOWS,
32236
32250
  listings ?? []
32237
32251
  );
32238
32252
  const all = [...builtins, ...fromServer];
32239
32253
  const byId = new Map(all.map((w) => [w.id, w]));
32240
- const pinned = chunkFY4C7HU5_cjs.DASHBOARD_PINNED.flatMap((id) => {
32254
+ const pinned = chunkPOU4O4D7_cjs.DASHBOARD_PINNED.flatMap((id) => {
32241
32255
  const w = byId.get(id);
32242
32256
  return w ? [w] : [];
32243
32257
  });
32244
32258
  return {
32245
32259
  skills: all,
32246
32260
  skillsEnabled,
32247
- start: skillsEnabled ? [...builtins, ...chunkFY4C7HU5_cjs.sortByRecentUse(fromServer, usage)] : [],
32248
- dashboard: [...pinned, ...chunkFY4C7HU5_cjs.DASHBOARD_OPERATIONS],
32249
- forTasks: [chunkFY4C7HU5_cjs.CUSTOM_TASK, ...all.filter((w) => w.schedulable), chunkFY4C7HU5_cjs.REMIND_TASK]
32261
+ start: skillsEnabled ? [...builtins, ...chunkPOU4O4D7_cjs.sortByRecentUse(fromServer, usage)] : [],
32262
+ dashboard: [...pinned, ...chunkPOU4O4D7_cjs.DASHBOARD_OPERATIONS],
32263
+ forTasks: [chunkPOU4O4D7_cjs.CUSTOM_TASK, ...all.filter((w) => w.schedulable), chunkPOU4O4D7_cjs.REMIND_TASK]
32250
32264
  };
32251
32265
  }, [listings, usage, skillsEnabled]);
32252
32266
  }
@@ -32268,7 +32282,7 @@ function resolveLaunchInputs(workflow, request) {
32268
32282
  function useWorkflowLaunch() {
32269
32283
  const { skills } = useWorkflowDefinitions();
32270
32284
  const launch = React9.useCallback(
32271
- (workflowId, options2 = {}) => chunkFY4C7HU5_cjs.openWorkflowLaunch({ workflowId, ...options2 }),
32285
+ (workflowId, options2 = {}) => chunkPOU4O4D7_cjs.openWorkflowLaunch({ workflowId, ...options2 }),
32272
32286
  []
32273
32287
  );
32274
32288
  const itemsFor = React9.useCallback(
@@ -32297,8 +32311,8 @@ function useWorkflowLaunch() {
32297
32311
  return { launch, itemsFor, scopeItemsFor };
32298
32312
  }
32299
32313
  function Inner() {
32300
- const request = chunkFY4C7HU5_cjs.useWorkflowLaunchRequest();
32301
- const close = chunkFY4C7HU5_cjs.closeWorkflowLaunch;
32314
+ const request = chunkPOU4O4D7_cjs.useWorkflowLaunchRequest();
32315
+ const close = chunkPOU4O4D7_cjs.closeWorkflowLaunch;
32302
32316
  const { skills } = useWorkflowDefinitions();
32303
32317
  const run = useLaunchWorkflow({ landing: request?.landing });
32304
32318
  const workflow = skills.find((w) => w.id === request?.workflowId);
@@ -32336,7 +32350,7 @@ function Inner() {
32336
32350
  );
32337
32351
  }
32338
32352
  function WorkflowLaunchHost() {
32339
- return chunkFY4C7HU5_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
32353
+ return chunkPOU4O4D7_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
32340
32354
  }
32341
32355
  var BUILTIN_GLOBAL_DIALOGS = {
32342
32356
  quota: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedQuotaDialog, { info: props, onClose }),
@@ -32395,7 +32409,7 @@ var ConversationEntity = React9.memo(function ConversationEntity2({
32395
32409
  );
32396
32410
  const icon2 = /* @__PURE__ */ jsxRuntime.jsx(ui.ThreadVisibilityIcon, { shared: isShared, className: `${iconSizeClass} shrink-0` });
32397
32411
  return /* @__PURE__ */ jsxRuntime.jsx(
32398
- chunkFY4C7HU5_cjs.EntityChip,
32412
+ chunkPOU4O4D7_cjs.EntityChip,
32399
32413
  {
32400
32414
  variant,
32401
32415
  icon: icon2,
@@ -32417,7 +32431,7 @@ function WorkflowRunStatusCell({ conversation }) {
32417
32431
  });
32418
32432
  const { data: members = [] } = react.useWorkspaceUsers();
32419
32433
  const me = react.useArbiSession().user?.external_id;
32420
- const steps = chunkFY4C7HU5_cjs.fromPlanSteps(conversation.plan?.steps ?? []);
32434
+ const steps = chunkPOU4O4D7_cjs.fromPlanSteps(conversation.plan?.steps ?? []);
32421
32435
  const states = chunkEZLZ3MDU_cjs.stepStatesFromActivity(activity.data ?? []);
32422
32436
  const nameOf = (id) => {
32423
32437
  if (id === me) return "you";
@@ -32425,7 +32439,7 @@ function WorkflowRunStatusCell({ conversation }) {
32425
32439
  return person ? ui.getUserDisplayName(person) : void 0;
32426
32440
  };
32427
32441
  return /* @__PURE__ */ jsxRuntime.jsx(
32428
- chunkFY4C7HU5_cjs.WorkflowRunStatus,
32442
+ chunkPOU4O4D7_cjs.WorkflowRunStatus,
32429
32443
  {
32430
32444
  steps,
32431
32445
  states,
@@ -32459,7 +32473,7 @@ function ConversationStatusCell({ conversation }) {
32459
32473
  if (conversation.plan?.steps?.length && !isLiveGenerating)
32460
32474
  return /* @__PURE__ */ jsxRuntime.jsx(WorkflowRunStatusCell, { conversation });
32461
32475
  return /* @__PURE__ */ jsxRuntime.jsx(
32462
- chunkFY4C7HU5_cjs.ThreadStatusLine,
32476
+ chunkPOU4O4D7_cjs.ThreadStatusLine,
32463
32477
  {
32464
32478
  state: threadStateOf(conversation, isLiveGenerating),
32465
32479
  className: "h-full",
@@ -32791,16 +32805,16 @@ function useConnectedThreadActivity(conversationId) {
32791
32805
  const openWorkflow = chunkB3NYBMDR_cjs.useOpenWorkflow();
32792
32806
  const workspaceExtId = react.useArbiSessionState((s) => s.workspaceId);
32793
32807
  const task = conversations.find((c) => c.external_id === conversationId);
32794
- const latestMessageAt = chunkFY4C7HU5_cjs.latestMessageTime(messageHistory);
32808
+ const latestMessageAt = chunkPOU4O4D7_cjs.latestMessageTime(messageHistory);
32795
32809
  const events = (activity.data ?? []).filter(
32796
- (event) => !chunkFY4C7HU5_cjs.isSupersededStop(event, latestMessageAt)
32810
+ (event) => !chunkPOU4O4D7_cjs.isSupersededStop(event, latestMessageAt)
32797
32811
  );
32798
32812
  const personName = (extId) => {
32799
32813
  const person = members.find((m) => m.user.external_id === extId)?.user;
32800
32814
  return person ? ui.getUserDisplayName(person) : "someone";
32801
32815
  };
32802
- const planSteps = chunkFY4C7HU5_cjs.fromPlanSteps(task?.plan?.steps ?? []);
32803
- const entries = chunkFY4C7HU5_cjs.compactThreadActivity(events, (id) => planSteps.find((s) => s.id === id)?.title);
32816
+ const planSteps = chunkPOU4O4D7_cjs.fromPlanSteps(task?.plan?.steps ?? []);
32817
+ const entries = chunkPOU4O4D7_cjs.compactThreadActivity(events, (id) => planSteps.find((s) => s.id === id)?.title);
32804
32818
  const items = entries.map(({ event, label, recipients }) => {
32805
32819
  const messageActivity = [
32806
32820
  "created",
@@ -32826,7 +32840,7 @@ function useConnectedThreadActivity(conversationId) {
32826
32840
  const messageId = sourceMessage ?? [...messageHistory].reverse().find((message) => Date.parse(message.created_at ?? "") <= Date.parse(event.created_at))?.external_id ?? messageHistory[0]?.external_id;
32827
32841
  const doc = docId ? docs.find((d) => d.external_id === docId) : void 0;
32828
32842
  const mailDraftId = event.kind === "notified" && event.detail?.event === "mail_draft_ready" && typeof event.detail?.mail_id === "string" ? event.detail.mail_id : void 0;
32829
- const missed = event.kind === "notified" && recipients.length ? chunkFY4C7HU5_cjs.unnotifiedMentions(
32843
+ const missed = event.kind === "notified" && recipients.length ? chunkPOU4O4D7_cjs.unnotifiedMentions(
32830
32844
  messageHistory.find((message) => message.external_id === sourceMessage)?.mentions,
32831
32845
  recipients,
32832
32846
  event.actor_ext_id
@@ -32859,7 +32873,7 @@ function useConnectedThreadActivity(conversationId) {
32859
32873
  ) : void 0,
32860
32874
  docId,
32861
32875
  docTitle: doc ? ui.getDocumentTitle(doc) : void 0,
32862
- label: mailDraftId ? "Left a draft email" : event.kind === "notified" && recipients.length ? chunkFY4C7HU5_cjs.notifiedLabel(recipients.map(personName), missed.map(personName)) : label,
32876
+ label: mailDraftId ? "Left a draft email" : event.kind === "notified" && recipients.length ? chunkPOU4O4D7_cjs.notifiedLabel(recipients.map(personName), missed.map(personName)) : label,
32863
32877
  description: [
32864
32878
  name,
32865
32879
  label,
@@ -32873,7 +32887,7 @@ function useConnectedThreadActivity(conversationId) {
32873
32887
  stepChip: eventStep ? stepChipOf(eventStep, event.kind, stepDocument) : void 0,
32874
32888
  // No avatar tooltip: the entry is already a button (or titled row) that carries the same
32875
32889
  // details, and a tooltip trigger inside it would be a nested <button>.
32876
- avatar: assistant ? /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.AssistantEntity, { variant: "icon", size: 20, showTooltip: false }) : member ? /* @__PURE__ */ jsxRuntime.jsx(DocumentUser, { user: member, tooltip: false }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Clock, { className: "size-4 text-muted-foreground" }),
32890
+ avatar: assistant ? /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.AssistantEntity, { variant: "icon", size: 20, showTooltip: false }) : member ? /* @__PURE__ */ jsxRuntime.jsx(DocumentUser, { user: member, tooltip: false }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Clock, { className: "size-4 text-muted-foreground" }),
32877
32891
  time: ui.formatRelativeTime(event.created_at, { style: "short" }),
32878
32892
  exactTime: ui.formatFriendlyDate(event.created_at),
32879
32893
  onOpenDocument: docId && doc ? () => openDocument(docId) : void 0,
@@ -32922,7 +32936,7 @@ function useConnectedThreadActivity(conversationId) {
32922
32936
  onSelect: () => navigateToConversation(source)
32923
32937
  });
32924
32938
  }
32925
- const links = chunkFY4C7HU5_cjs.linkedRunsFromActivity(activity.data);
32939
+ const links = chunkPOU4O4D7_cjs.linkedRunsFromActivity(activity.data);
32926
32940
  const threadName = (id, workflowId) => conversations.find((c) => c.external_id === id)?.title || workflows.find((w) => w.external_id === workflowId)?.name || "Linked thread";
32927
32941
  const signals = links.raised.map((raised) => ({
32928
32942
  step: raised.step,
@@ -32937,7 +32951,7 @@ function useConnectedThreadActivity(conversationId) {
32937
32951
  if (links.startedBy) {
32938
32952
  const { conversationId: parentId, step, signal } = links.startedBy;
32939
32953
  const parent = conversations.find((c) => c.external_id === parentId);
32940
- const parentSteps = chunkFY4C7HU5_cjs.fromPlanSteps(parent?.plan?.steps ?? []);
32954
+ const parentSteps = chunkPOU4O4D7_cjs.fromPlanSteps(parent?.plan?.steps ?? []);
32941
32955
  startedBy = {
32942
32956
  stepTitle: parentSteps.find((s) => s.id === step)?.title ?? step ?? "a step",
32943
32957
  threadTitle: parent?.title || "another thread",
@@ -32970,7 +32984,7 @@ function ConnectedThreadTaskBar({
32970
32984
  const person = members.find((m) => m.user.external_id === id)?.user;
32971
32985
  return person ? ui.getUserDisplayName(person) : void 0;
32972
32986
  };
32973
- const steps = chunkFY4C7HU5_cjs.fromPlanSteps(task?.plan?.steps ?? []);
32987
+ const steps = chunkPOU4O4D7_cjs.fromPlanSteps(task?.plan?.steps ?? []);
32974
32988
  const states = chunkEZLZ3MDU_cjs.stepStatesFromActivity(activity.data ?? []);
32975
32989
  const runInputs = task?.skill_inputs ?? {};
32976
32990
  const stepCall = (body) => actOnStep.mutateAsync({ conversationId, body });
@@ -32996,7 +33010,7 @@ function ConnectedThreadTaskBar({
32996
33010
  task?.plan?.steps?.length ? (
32997
33011
  // A workflow run: its named steps, with what happened in the thread under each.
32998
33012
  /* @__PURE__ */ jsxRuntime.jsx(
32999
- chunkFY4C7HU5_cjs.WorkflowThreadStrip,
33013
+ chunkPOU4O4D7_cjs.WorkflowThreadStrip,
33000
33014
  {
33001
33015
  steps,
33002
33016
  states,
@@ -33023,7 +33037,7 @@ function ConnectedThreadTaskBar({
33023
33037
  renderStepAction: (step, phase) => (
33024
33038
  // A signer or a draft's person acts on their step even on a thread they cannot edit.
33025
33039
  canEdit || phase === "waiting" || phase === "done" ? /* @__PURE__ */ jsxRuntime.jsx(
33026
- chunkFY4C7HU5_cjs.WorkflowStepAction,
33040
+ chunkPOU4O4D7_cjs.WorkflowStepAction,
33027
33041
  {
33028
33042
  step,
33029
33043
  phase,
@@ -33044,8 +33058,8 @@ function ConnectedThreadTaskBar({
33044
33058
  }
33045
33059
  )
33046
33060
  ) : items.length || startedBy ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
33047
- startedBy && /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.WorkflowThreadStartedBy, { origin: startedBy }),
33048
- /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.TaskFlow, { items: items.filter((item) => !item.step) })
33061
+ startedBy && /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.WorkflowThreadStartedBy, { origin: startedBy }),
33062
+ /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.TaskFlow, { items: items.filter((item) => !item.step) })
33049
33063
  ] }) : (
33050
33064
  // Ordinary chats record no activity events, so an empty ribbon says nothing rather than
33051
33065
  // "No recorded activity yet" while the answer and its steps are right there in the thread.
@@ -33079,7 +33093,7 @@ function ConnectedThreadTaskBar({
33079
33093
  ) }),
33080
33094
  /* @__PURE__ */ jsxRuntime.jsxs(ui.DropdownMenuContent, { align: "end", children: [
33081
33095
  /* @__PURE__ */ jsxRuntime.jsx(
33082
- chunk6EQSP77K_cjs.ThreadFollowMenuItem,
33096
+ chunkJ6U6DIZK_cjs.ThreadFollowMenuItem,
33083
33097
  {
33084
33098
  following: follow.following,
33085
33099
  onFollowingChange: (on) => (
@@ -33244,7 +33258,7 @@ function ConnectedTaskComposer({
33244
33258
  const { tasks: allTasks } = react.useWorkItems();
33245
33259
  const { data: documents = [] } = react.useDocuments();
33246
33260
  const { create: create4, update, updateWorkflow, isPending } = useWorkflowTasks();
33247
- const scopeSource = chunkVMLEISRZ_cjs.useConnectedWorkflowScopeSource();
33261
+ const scopeSource = chunkQU77RRZP_cjs.useConnectedWorkflowScopeSource();
33248
33262
  const activeWorkspaceId = react.useArbiSessionState((s) => s.workspaceId);
33249
33263
  const activeWorkspace = React9.useMemo(
33250
33264
  () => workspaces.find((w) => w.external_id === activeWorkspaceId) ?? null,
@@ -33261,7 +33275,7 @@ function ConnectedTaskComposer({
33261
33275
  const label = (t) => t.title?.trim() || "Untitled task";
33262
33276
  if (isWorkflow) return allTasks.map((t) => ({ id: t.external_id, name: label(t) }));
33263
33277
  const subject = task ?? { external_id: "__new__" };
33264
- return chunkFY4C7HU5_cjs.moveTargets(
33278
+ return chunkPOU4O4D7_cjs.moveTargets(
33265
33279
  [...allTasks.filter((t) => t.external_id !== subject.external_id), subject],
33266
33280
  subject
33267
33281
  ).map((t) => ({ id: t.external_id, name: label(t) }));
@@ -33276,33 +33290,33 @@ function ConnectedTaskComposer({
33276
33290
  );
33277
33291
  const initialValues = React9.useMemo(() => {
33278
33292
  const ids = {
33279
- customWorkflowId: chunkFY4C7HU5_cjs.CUSTOM_TASK_ID,
33280
- reminderWorkflowId: chunkFY4C7HU5_cjs.REMIND_TASK_ID,
33293
+ customWorkflowId: chunkPOU4O4D7_cjs.CUSTOM_TASK_ID,
33294
+ reminderWorkflowId: chunkPOU4O4D7_cjs.REMIND_TASK_ID,
33281
33295
  definitions: forTasks
33282
33296
  };
33283
33297
  const base = launchWorkflow ? {
33284
- ...chunkFY4C7HU5_cjs.workflowToComposerValues(launchWorkflow, ids),
33298
+ ...chunkPOU4O4D7_cjs.workflowToComposerValues(launchWorkflow, ids),
33285
33299
  when: "once",
33286
33300
  runAt: "",
33287
33301
  rrule: "",
33288
33302
  eventKind: "",
33289
33303
  afterTaskId: "",
33290
33304
  name: ""
33291
- } : editingWorkflow ? chunkFY4C7HU5_cjs.workflowToComposerValues(editingWorkflow, ids) : task ? chunkFY4C7HU5_cjs.taskToComposerValues(task, ids) : isWorkflow ? {
33305
+ } : editingWorkflow ? chunkPOU4O4D7_cjs.workflowToComposerValues(editingWorkflow, ids) : task ? chunkPOU4O4D7_cjs.taskToComposerValues(task, ids) : isWorkflow ? {
33292
33306
  // Run now is the default start; scheduling is the fallback in the same field.
33293
33307
  assignee: "agent",
33294
- workflowId: initialWorkflowId ?? chunkFY4C7HU5_cjs.CUSTOM_TASK_ID,
33308
+ workflowId: initialWorkflowId ?? chunkPOU4O4D7_cjs.CUSTOM_TASK_ID,
33295
33309
  when: startLater ? "once" : "now",
33296
33310
  ...initialPrompt ? {
33297
33311
  inputs: {
33298
- [initialWorkflowId === chunkFY4C7HU5_cjs.REMIND_TASK_ID ? "message" : "instruction"]: initialPrompt
33312
+ [initialWorkflowId === chunkPOU4O4D7_cjs.REMIND_TASK_ID ? "message" : "instruction"]: initialPrompt
33299
33313
  }
33300
33314
  } : {},
33301
33315
  // A scheduled run needs an agent: the owner's Assistant unless another is picked.
33302
33316
  ...startLater && defaultAgentId ? { agentId: defaultAgentId } : {}
33303
33317
  } : initialAgentExtId ? (
33304
33318
  // Assigning an agent means agentic work: the free instruction, and tell me when done.
33305
- { agentId: initialAgentExtId, workflowId: chunkFY4C7HU5_cjs.CUSTOM_TASK_ID, notifyOnComplete: true }
33319
+ { agentId: initialAgentExtId, workflowId: chunkPOU4O4D7_cjs.CUSTOM_TASK_ID, notifyOnComplete: true }
33306
33320
  ) : {};
33307
33321
  return {
33308
33322
  timezone: chunkQUMUAJ2P_cjs.detectTimeZone(),
@@ -33363,7 +33377,7 @@ function ConnectedTaskComposer({
33363
33377
  const ctx = {
33364
33378
  workflow: chosen,
33365
33379
  values: submitted,
33366
- plan: chosen.id === chunkFY4C7HU5_cjs.CUSTOM_TASK_ID ? plan : null
33380
+ plan: chosen.id === chunkPOU4O4D7_cjs.CUSTOM_TASK_ID ? plan : null
33367
33381
  };
33368
33382
  try {
33369
33383
  if (isWorkflow && editingWorkflow && !options2?.runOnce) {
@@ -33399,7 +33413,7 @@ function ConnectedTaskComposer({
33399
33413
  }
33400
33414
  };
33401
33415
  return /* @__PURE__ */ jsxRuntime.jsx(
33402
- chunkFY4C7HU5_cjs.TaskComposer,
33416
+ chunkPOU4O4D7_cjs.TaskComposer,
33403
33417
  {
33404
33418
  open,
33405
33419
  onOpenChange,
@@ -33413,15 +33427,15 @@ function ConnectedTaskComposer({
33413
33427
  tasks: taskOptions,
33414
33428
  initialValues,
33415
33429
  timezones,
33416
- eventOptions: chunkFY4C7HU5_cjs.AUTOMATION_EVENTS,
33430
+ eventOptions: chunkPOU4O4D7_cjs.AUTOMATION_EVENTS,
33417
33431
  eventWorkflowOptions: workspaceAutomations.filter((item) => item.external_id !== editingWorkflow?.external_id).map((item) => ({ id: item.external_id, label: item.name })),
33418
33432
  isPending,
33419
33433
  planDrafting: planWork.isPending,
33420
33434
  hasPlan: plan !== null,
33421
- renderIcon: chunkFY4C7HU5_cjs.renderWorkflowIcon,
33435
+ renderIcon: chunkPOU4O4D7_cjs.renderWorkflowIcon,
33422
33436
  scopeSource,
33423
33437
  renderDocuments: (field, value, onChange) => /* @__PURE__ */ jsxRuntime.jsx(
33424
- chunkVMLEISRZ_cjs.ConnectedWorkflowDocumentsField,
33438
+ chunkQU77RRZP_cjs.ConnectedWorkflowDocumentsField,
33425
33439
  {
33426
33440
  field,
33427
33441
  value,
@@ -33452,8 +33466,8 @@ function ConnectedTaskComposer({
33452
33466
  ...plan ? { addAndStart: "Approve plan and start", addAndSchedule: "Approve plan and schedule" } : {}
33453
33467
  },
33454
33468
  onSubmit: submit,
33455
- goal: (values) => values.workflowId === chunkFY4C7HU5_cjs.CUSTOM_TASK_ID ? /* @__PURE__ */ jsxRuntime.jsx(
33456
- chunkFY4C7HU5_cjs.TaskPlan,
33469
+ goal: (values) => values.workflowId === chunkPOU4O4D7_cjs.CUSTOM_TASK_ID ? /* @__PURE__ */ jsxRuntime.jsx(
33470
+ chunkPOU4O4D7_cjs.TaskPlan,
33457
33471
  {
33458
33472
  plan,
33459
33473
  onChange: setPlan,
@@ -33653,7 +33667,7 @@ function ConnectedTaskStartDialog({
33653
33667
  };
33654
33668
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
33655
33669
  /* @__PURE__ */ jsxRuntime.jsx(
33656
- chunkFY4C7HU5_cjs.TaskStartDialog,
33670
+ chunkPOU4O4D7_cjs.TaskStartDialog,
33657
33671
  {
33658
33672
  open: open && !later,
33659
33673
  onOpenChange: (next) => {
@@ -33685,7 +33699,7 @@ function ConnectedTaskStartDialog({
33685
33699
  kind: "workflow",
33686
33700
  startLater: true,
33687
33701
  initialPrompt: later.prompt,
33688
- initialWorkflowId: later.todo ? chunkFY4C7HU5_cjs.REMIND_TASK_ID : void 0,
33702
+ initialWorkflowId: later.todo ? chunkPOU4O4D7_cjs.REMIND_TASK_ID : void 0,
33689
33703
  initialShared: later.shared,
33690
33704
  launchWorkflow: later.workflow
33691
33705
  }
@@ -33699,7 +33713,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
33699
33713
  const [later, setLater] = React9.useState(null);
33700
33714
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
33701
33715
  /* @__PURE__ */ jsxRuntime.jsx(
33702
- chunkFY4C7HU5_cjs.ThreadLauncher,
33716
+ chunkPOU4O4D7_cjs.ThreadLauncher,
33703
33717
  {
33704
33718
  workflows: task.workflows,
33705
33719
  people: task.people,
@@ -33736,7 +33750,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
33736
33750
  kind: "workflow",
33737
33751
  startLater: true,
33738
33752
  initialPrompt: later.prompt,
33739
- initialWorkflowId: later.todo ? chunkFY4C7HU5_cjs.REMIND_TASK_ID : void 0,
33753
+ initialWorkflowId: later.todo ? chunkPOU4O4D7_cjs.REMIND_TASK_ID : void 0,
33740
33754
  initialShared: later.shared,
33741
33755
  launchWorkflow: later.workflow
33742
33756
  }
@@ -33765,13 +33779,13 @@ function ConnectedNewThreadDialog({
33765
33779
  });
33766
33780
  const parentOptions = React9.useMemo(() => {
33767
33781
  const leaf = { external_id: "__new__" };
33768
- return chunkFY4C7HU5_cjs.moveTargets([...tasks, leaf], leaf).map((t) => ({
33782
+ return chunkPOU4O4D7_cjs.moveTargets([...tasks, leaf], leaf).map((t) => ({
33769
33783
  id: t.external_id,
33770
33784
  name: t.title?.trim() || "Untitled task"
33771
33785
  }));
33772
33786
  }, [tasks]);
33773
33787
  const submit = async (values) => {
33774
- const request = chunkFY4C7HU5_cjs.newThreadToRequest(values);
33788
+ const request = chunkPOU4O4D7_cjs.newThreadToRequest(values);
33775
33789
  try {
33776
33790
  if (!workspaceId) throw new Error("Open a workspace to add a task.");
33777
33791
  if (!request.startAssistant && request.todo) {
@@ -33812,7 +33826,7 @@ function ConnectedNewThreadDialog({
33812
33826
  }
33813
33827
  };
33814
33828
  return /* @__PURE__ */ jsxRuntime.jsx(
33815
- chunkFY4C7HU5_cjs.NewThreadDialog,
33829
+ chunkPOU4O4D7_cjs.NewThreadDialog,
33816
33830
  {
33817
33831
  open,
33818
33832
  onOpenChange,
@@ -33847,7 +33861,7 @@ function useRenderTaskPerson() {
33847
33861
  return React9.useCallback(
33848
33862
  (person) => {
33849
33863
  const user = person.id ? byId.get(person.id) : void 0;
33850
- return user ? /* @__PURE__ */ jsxRuntime.jsx(DocumentUser, { user, variant: "pill" }) : /* @__PURE__ */ jsxRuntime.jsx(chunk2QDNQM63_cjs.PersonPill, { person });
33864
+ return user ? /* @__PURE__ */ jsxRuntime.jsx(DocumentUser, { user, variant: "pill" }) : /* @__PURE__ */ jsxRuntime.jsx(chunkSSYRPBL5_cjs.PersonPill, { person });
33851
33865
  },
33852
33866
  [byId]
33853
33867
  );
@@ -33870,7 +33884,7 @@ function ConnectedConversationStart() {
33870
33884
  const browse = openSkillsBrowser ? [
33871
33885
  {
33872
33886
  id: "browse-all",
33873
- iconNode: chunkFY4C7HU5_cjs.renderWorkflowIcon("library"),
33887
+ iconNode: chunkPOU4O4D7_cjs.renderWorkflowIcon("library"),
33874
33888
  title: "Browse all",
33875
33889
  description: "See every skill, make a copy, add your own",
33876
33890
  onSelect: () => openSkillsBrowser(),
@@ -33983,7 +33997,7 @@ function getToolParams(detail) {
33983
33997
  return params;
33984
33998
  }
33985
33999
  function StepModelIcon({ modelName, tag }) {
33986
- const cfg = tag === "Premium" ? null : chunkFY4C7HU5_cjs.getModelIcon(modelName, tag);
34000
+ const cfg = tag === "Premium" ? null : chunkPOU4O4D7_cjs.getModelIcon(modelName, tag);
33987
34001
  if (tag !== "Premium" && !cfg) return null;
33988
34002
  return /* @__PURE__ */ jsxRuntime.jsxs(ui.Tooltip, { children: [
33989
34003
  /* @__PURE__ */ jsxRuntime.jsx(ui.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-shrink-0", children: tag === "Premium" ? /* @__PURE__ */ jsxRuntime.jsx(ui.ProviderIcon, { modelName: modelName ?? void 0, size: 11 }) : cfg && /* @__PURE__ */ jsxRuntime.jsx(cfg.icon, { className: cfg.className, style: { width: 11, height: 11 } }) }) }),
@@ -34098,15 +34112,15 @@ var AgentStepsComponent = ({
34098
34112
  const lastStepIndex = mergedSteps[mergedSteps.length - 1].index;
34099
34113
  const renderRow = (step, depth, isLastInList) => {
34100
34114
  const i = posByIndex.get(step.index);
34101
- const presentation = chunkFY4C7HU5_cjs.getAgentStepPresentation(step, docInfo);
34115
+ const presentation = chunkPOU4O4D7_cjs.getAgentStepPresentation(step, docInfo);
34102
34116
  const { tool, Icon } = presentation;
34103
34117
  const { label, summary, isMultiLine, details } = browser.getStepDisplay(step, docInfo);
34104
- const accent = chunkFY4C7HU5_cjs.stepAccent(step, tool);
34118
+ const accent = chunkPOU4O4D7_cjs.stepAccent(step, tool);
34105
34119
  const duration = stepDurations[i];
34106
34120
  const isLastStep = step.index === lastStepIndex;
34107
34121
  const isActive = step.index === currentStepIndex;
34108
34122
  const tier = step.step === "goal" ? step.model_recommendation : null;
34109
- const TierIcon = tier ? chunkFY4C7HU5_cjs.MODEL_TIER_ICON_MAP[tier] : null;
34123
+ const TierIcon = tier ? chunkPOU4O4D7_cjs.MODEL_TIER_ICON_MAP[tier] : null;
34110
34124
  const useLiveDuration = isLastStep && liveTimer != null && step.t != null;
34111
34125
  const durationNode = useLiveDuration ? /* @__PURE__ */ jsxRuntime.jsx(
34112
34126
  MessageLiveSeconds,
@@ -34130,7 +34144,7 @@ var AgentStepsComponent = ({
34130
34144
  })) : null;
34131
34145
  const folded = childrenByParent.get(step.index);
34132
34146
  return /* @__PURE__ */ jsxRuntime.jsxs(
34133
- chunkFY4C7HU5_cjs.StepRow,
34147
+ chunkPOU4O4D7_cjs.StepRow,
34134
34148
  {
34135
34149
  index: step.index,
34136
34150
  number: displayNumber.get(step.index) ?? String(i + 1),
@@ -34144,7 +34158,7 @@ var AgentStepsComponent = ({
34144
34158
  titleTestId: isActive ? "agent-expanded-current-step-description" : void 0,
34145
34159
  badge: TierIcon ? /* @__PURE__ */ jsxRuntime.jsxs(ui.Tooltip, { children: [
34146
34160
  /* @__PURE__ */ jsxRuntime.jsx(ui.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex shrink-0 items-center self-center", children: /* @__PURE__ */ jsxRuntime.jsx(TierIcon, { size: 12, className: accent.fg, "aria-hidden": true }) }) }),
34147
- /* @__PURE__ */ jsxRuntime.jsx(ui.TooltipContent, { side: "top", children: chunkFY4C7HU5_cjs.MODEL_TIER_LABELS[tier] ?? tier })
34161
+ /* @__PURE__ */ jsxRuntime.jsx(ui.TooltipContent, { side: "top", children: chunkPOU4O4D7_cjs.MODEL_TIER_LABELS[tier] ?? tier })
34148
34162
  ] }) : void 0,
34149
34163
  meta: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
34150
34164
  isDeveloper && /* @__PURE__ */ jsxRuntime.jsx(StepModelIcon, { modelName: step.usage?.model, tag: getModelTag(step.usage?.model) }),
@@ -34159,14 +34173,14 @@ var AgentStepsComponent = ({
34159
34173
  summary && !isActive && (step.narration ? (
34160
34174
  /* Narration is PROSE (headings, bold, lists): render markdown, not raw asterisks.
34161
34175
  Tool summaries stay plain text: one-line headlines where a clamp matters. */
34162
- /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.StepNarration, { index: step.index, children: /* @__PURE__ */ jsxRuntime.jsx(chunkEFSL4O3B_cjs.ConnectedMarkdown, { isStreaming: false, children: summary }) })
34163
- ) : /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.StepSummary, { index: step.index, multiLine: isMultiLine, children: summary })),
34164
- details.map((d, di) => /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.StepDetail, { index: step.index, children: d }, di)),
34165
- showOutcome && /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.StepOutcome, { index: step.index, failed: outcomeFailed, children: step.outcome }),
34166
- toolParams.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.StepParams, { children: toolParams.map((p) => `${p.key}=${p.value}`).join(" ") }),
34167
- criteriaView && /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.GoalCriteria, { criteria: criteriaView }),
34176
+ /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.StepNarration, { index: step.index, children: /* @__PURE__ */ jsxRuntime.jsx(chunkEFSL4O3B_cjs.ConnectedMarkdown, { isStreaming: false, children: summary }) })
34177
+ ) : /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.StepSummary, { index: step.index, multiLine: isMultiLine, children: summary })),
34178
+ details.map((d, di) => /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.StepDetail, { index: step.index, children: d }, di)),
34179
+ showOutcome && /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.StepOutcome, { index: step.index, failed: outcomeFailed, children: step.outcome }),
34180
+ toolParams.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.StepParams, { children: toolParams.map((p) => `${p.key}=${p.value}`).join(" ") }),
34181
+ criteriaView && /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.GoalCriteria, { criteria: criteriaView }),
34168
34182
  folded && folded.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
34169
- chunkFY4C7HU5_cjs.SubStepGroup,
34183
+ chunkPOU4O4D7_cjs.SubStepGroup,
34170
34184
  {
34171
34185
  parentIndex: step.index,
34172
34186
  summary: summariseSubSteps(folded),
@@ -34192,7 +34206,7 @@ var AgentStepsComponent = ({
34192
34206
  leftParts.push(`${browser.formatTokens(totalInputTokens)} in`);
34193
34207
  if (totalOutputTokens > 0) leftParts.push(`${browser.formatTokens(totalOutputTokens)} out`);
34194
34208
  summaryNode = /* @__PURE__ */ jsxRuntime.jsx(
34195
- chunkFY4C7HU5_cjs.StepTraceSummary,
34209
+ chunkPOU4O4D7_cjs.StepTraceSummary,
34196
34210
  {
34197
34211
  left: leftParts.join(" \xB7 "),
34198
34212
  isNearBudget: browser.isNearAiUsageBudget(contextUsage),
@@ -34200,7 +34214,7 @@ var AgentStepsComponent = ({
34200
34214
  }
34201
34215
  );
34202
34216
  }
34203
- return /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.StepTrace, { className, summary: summaryNode, children: displayRows.map((row2, i) => {
34217
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.StepTrace, { className, summary: summaryNode, children: displayRows.map((row2, i) => {
34204
34218
  if (row2.lane) {
34205
34219
  return /* @__PURE__ */ jsxRuntime.jsx(
34206
34220
  LaneBinding,
@@ -34237,7 +34251,7 @@ function LaneBinding({
34237
34251
  const running = !closed && isStreaming;
34238
34252
  const latest = inner[inner.length - 1];
34239
34253
  return /* @__PURE__ */ jsxRuntime.jsx(
34240
- chunkFY4C7HU5_cjs.SubAgentLane,
34254
+ chunkPOU4O4D7_cjs.SubAgentLane,
34241
34255
  {
34242
34256
  handle,
34243
34257
  number,
@@ -34360,7 +34374,7 @@ function AgentBarShell({
34360
34374
  }, [isStepsExpanded, steps]);
34361
34375
  const visibleStepCount = React9.useMemo(() => browser.topLevelAgentSteps(steps ?? []).length, [steps]);
34362
34376
  return /* @__PURE__ */ jsxRuntime.jsx(
34363
- chunkFY4C7HU5_cjs.AgentBar,
34377
+ chunkPOU4O4D7_cjs.AgentBar,
34364
34378
  {
34365
34379
  className,
34366
34380
  testId,
@@ -34416,7 +34430,7 @@ function AgentControlBar({
34416
34430
  const isPaused = controlState === "paused" || controlState === "resuming";
34417
34431
  const steps = agentSteps ?? [];
34418
34432
  const currentStep = browser.getCurrentStep(steps);
34419
- const currentPresentation = chunkFY4C7HU5_cjs.getCurrentAgentStepPresentation(steps);
34433
+ const currentPresentation = chunkPOU4O4D7_cjs.getCurrentAgentStepPresentation(steps);
34420
34434
  const CurrentStepIcon = currentPresentation?.Icon;
34421
34435
  const stepLabel2 = currentPresentation?.description ?? "Agent working\u2026";
34422
34436
  const runningLanes = browser.extractSubagentLanes(steps).filter((l) => l.status === "running");
@@ -34433,7 +34447,7 @@ function AgentControlBar({
34433
34447
  }
34434
34448
  );
34435
34449
  const status = /* @__PURE__ */ jsxRuntime.jsx(
34436
- chunkFY4C7HU5_cjs.AgentBarStatus,
34450
+ chunkPOU4O4D7_cjs.AgentBarStatus,
34437
34451
  {
34438
34452
  state: showState ? controlState : void 0,
34439
34453
  stateLabel: STATE_LABEL[controlState],
@@ -34475,7 +34489,7 @@ function AgentControlBar({
34475
34489
  ];
34476
34490
  const controls = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
34477
34491
  onStop && /* @__PURE__ */ jsxRuntime.jsx(
34478
- chunkFY4C7HU5_cjs.AgentBarIconButton,
34492
+ chunkPOU4O4D7_cjs.AgentBarIconButton,
34479
34493
  {
34480
34494
  onClick: onStop,
34481
34495
  title: "Stop",
@@ -34484,22 +34498,22 @@ function AgentControlBar({
34484
34498
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-3 w-3", fill: "currentColor" })
34485
34499
  }
34486
34500
  ),
34487
- /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.AgentBarMenu, { items: menuItems })
34501
+ /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.AgentBarMenu, { items: menuItems })
34488
34502
  ] });
34489
34503
  const displayedQueuedMessages = (transientQueuedMessages ?? []).filter(
34490
34504
  (message) => !message.serverId || !queuedMessages.some((queued) => queued.external_id === message.serverId)
34491
34505
  );
34492
34506
  const queuedNotes = displayedQueuedMessages.filter((message) => message.content);
34493
- const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkFY4C7HU5_cjs.AgentBarNotes, { children: [
34507
+ const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkPOU4O4D7_cjs.AgentBarNotes, { children: [
34494
34508
  queuedNotes.map((message, index) => /* @__PURE__ */ jsxRuntime.jsx(
34495
- chunkFY4C7HU5_cjs.AgentBarQueuedNote,
34509
+ chunkPOU4O4D7_cjs.AgentBarQueuedNote,
34496
34510
  {
34497
34511
  text: message.content ?? "",
34498
34512
  isAcknowledged: message.acknowledged
34499
34513
  },
34500
34514
  index
34501
34515
  )),
34502
- probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
34516
+ probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
34503
34517
  ] }) : null;
34504
34518
  return /* @__PURE__ */ jsxRuntime.jsx(
34505
34519
  AgentBarShell,
@@ -34556,7 +34570,7 @@ function RunningSubagentsRoster({
34556
34570
  if (leafId) selectThread(leafId);
34557
34571
  };
34558
34572
  return /* @__PURE__ */ jsxRuntime.jsx(
34559
- chunkFY4C7HU5_cjs.SubagentRoster,
34573
+ chunkPOU4O4D7_cjs.SubagentRoster,
34560
34574
  {
34561
34575
  lanes: rosterLanes,
34562
34576
  className,
@@ -35298,7 +35312,7 @@ function WorkflowStepMessage({
35298
35312
  const { conversations } = react.useConversationItems();
35299
35313
  const activity = react.useConversationActivity(conversationId ?? void 0, { live: true });
35300
35314
  const plan = conversations.find((c) => c.external_id === conversationId)?.plan;
35301
- const steps = chunkFY4C7HU5_cjs.fromPlanSteps(plan?.steps ?? []);
35315
+ const steps = chunkPOU4O4D7_cjs.fromPlanSteps(plan?.steps ?? []);
35302
35316
  const found = steps.find((s) => s.id === step);
35303
35317
  const states = chunkEZLZ3MDU_cjs.stepStatesFromActivity(activity.data ?? []);
35304
35318
  const { data: documents = [] } = react.useDocuments();
@@ -35470,7 +35484,7 @@ var MessageComponent = ({
35470
35484
  const isQueuedAnswer = !isUser && message.status === "queued" && !isGenerating;
35471
35485
  const isAwaitingAnswer = (isGenerating || isRunningOnServer) && !isStopped && !!message.pendingUserInput;
35472
35486
  const showWorkingIndicator = (isGenerating || isRunningOnServer) && !isQueuedAnswer && !responseContent.trim() && !linkedArtifact && !isAwaitingAnswer;
35473
- const workingStepLabel = showWorkingIndicator ? chunkFY4C7HU5_cjs.getCurrentAgentStepPresentation(message.agentSteps ?? [])?.description : void 0;
35487
+ const workingStepLabel = showWorkingIndicator ? chunkPOU4O4D7_cjs.getCurrentAgentStepPresentation(message.agentSteps ?? [])?.description : void 0;
35474
35488
  const workingStepStart = showWorkingIndicator ? browser.getCurrentStep(message.agentSteps ?? [])?.t ?? 0 : 0;
35475
35489
  const showEmptyAnswer = !isUser && !isGenerating && !isRunningOnServer && !isFailed && !isStopped && !responseContent.trim() && !linkedArtifact;
35476
35490
  const isEmptyStopped = isStopped && !responseContent.trim();
@@ -35774,7 +35788,7 @@ var MessageComponent = ({
35774
35788
  },
35775
35789
  "data-testid": `message-model-${messageId}`,
35776
35790
  children: /* @__PURE__ */ jsxRuntime.jsx(
35777
- chunkFY4C7HU5_cjs.AssistantEntity,
35791
+ chunkPOU4O4D7_cjs.AssistantEntity,
35778
35792
  {
35779
35793
  name: modelDisplayName,
35780
35794
  modelName,
@@ -35887,7 +35901,7 @@ var MessageComponent = ({
35887
35901
  // Stays the ARBI identity while streaming: the model name arrives
35888
35902
  // with the first step that reports one and would swap the author
35889
35903
  // mid-answer. The model is shown in the footer once settled.
35890
- /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.AssistantEntity, { size: 16, pillSize: "sm" })
35904
+ /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.AssistantEntity, { size: 16, pillSize: "sm" })
35891
35905
  ),
35892
35906
  timeLabel,
35893
35907
  isSettled: settledForHeader,
@@ -36352,7 +36366,7 @@ function ConnectedMessageList({ messages }) {
36352
36366
  start: virtualItem.start,
36353
36367
  messageId: entry.id,
36354
36368
  setSize: transcript.length,
36355
- children: entry.item.card ?? /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ThreadActivity, { item: entry.item, children: entry.item.onOpenDocument && /* @__PURE__ */ jsxRuntime.jsx(
36369
+ children: entry.item.card ?? /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ThreadActivity, { item: entry.item, children: entry.item.onOpenDocument && /* @__PURE__ */ jsxRuntime.jsx(
36356
36370
  "button",
36357
36371
  {
36358
36372
  className: "mt-1 hover:underline text-primary",
@@ -37247,7 +37261,7 @@ function ConnectedConversation({
37247
37261
  }, [isGenerating]);
37248
37262
  const slashWorkflows = useSlashSkillWorkflows({ landing: "current-chat" });
37249
37263
  const composerSkills = React9.useMemo(
37250
- () => ({ builtin: chunkFY4C7HU5_cjs.BUILTIN_SKILLS, openFor: slashWorkflows.openFor }),
37264
+ () => ({ builtin: chunkPOU4O4D7_cjs.BUILTIN_SKILLS, openFor: slashWorkflows.openFor }),
37251
37265
  [slashWorkflows.openFor]
37252
37266
  );
37253
37267
  const browseSkills = React9.useMemo(
@@ -37322,7 +37336,7 @@ function ConnectedConversation({
37322
37336
  /* @__PURE__ */ jsxRuntime.jsx(chunkBIWPXSGS_cjs.CallConversationEmpty, { callExtId: meetingCallExtId }),
37323
37337
  /* @__PURE__ */ jsxRuntime.jsx(chunkBIWPXSGS_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
37324
37338
  ] })
37325
- ) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
37339
+ ) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
37326
37340
  ConnectedConversationEmpty,
37327
37341
  {
37328
37342
  hasDocuments: allWorkspaceDocuments.length > 0,
@@ -39182,7 +39196,7 @@ function SsoResendVerificationButton({
39182
39196
  onClick: async () => handleResendEmailVerification(),
39183
39197
  disabled: loading || disabled,
39184
39198
  "aria-label": "Resend verification email",
39185
- children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunk6EQSP77K_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
39199
+ children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkJ6U6DIZK_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
39186
39200
  "Didn't get a verification email? ",
39187
39201
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Resend" })
39188
39202
  ] })
@@ -40076,27 +40090,27 @@ function ConnectedOAuthConsentPage({
40076
40090
  oauthErrorRedirect(params.redirectUri, params.state, "access_denied");
40077
40091
  }
40078
40092
  if (error && !params) {
40079
- return /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
40093
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
40080
40094
  }
40081
40095
  if (!params) {
40082
40096
  return null;
40083
40097
  }
40084
40098
  if (clientInfo?.isLocalAgentFlow) {
40085
- return /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConsentMessage, { tone: "warning", title: "Close this tab", children: "This tab opened alongside the correct authorization page. Please close this tab and complete the connection in the other tab that opened at the same time." }) });
40099
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConsentMessage, { tone: "warning", title: "Close this tab", children: "This tab opened alongside the correct authorization page. Please close this tab and complete the connection in the other tab that opened at the same time." }) });
40086
40100
  }
40087
40101
  if (!isAuthenticated2) {
40088
40102
  return null;
40089
40103
  }
40090
40104
  if (callbackUrl) {
40091
- return /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkFY4C7HU5_cjs.ConsentCard, { size: "md", children: [
40092
- /* @__PURE__ */ jsxRuntime.jsxs(chunkFY4C7HU5_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
40105
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPOU4O4D7_cjs.ConsentCard, { size: "md", children: [
40106
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkPOU4O4D7_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
40093
40107
  "A new tab has opened to complete the connection. If it succeeded, you can close this page. If you see a connection error there, paste the URL below into Claude Cowork \u2014",
40094
40108
  " ",
40095
40109
  copied ? "it's already copied to your clipboard." : "copy it first."
40096
40110
  ] }),
40097
- /* @__PURE__ */ jsxRuntime.jsxs(chunkFY4C7HU5_cjs.ConsentSection, { title: "Callback URL", children: [
40098
- /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
40099
- /* @__PURE__ */ jsxRuntime.jsxs(chunkFY4C7HU5_cjs.ConsentText, { variant: "hint", children: [
40111
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkPOU4O4D7_cjs.ConsentSection, { title: "Callback URL", children: [
40112
+ /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
40113
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkPOU4O4D7_cjs.ConsentText, { variant: "hint", children: [
40100
40114
  "In Claude Code, paste the URL at the prompt that says",
40101
40115
  " ",
40102
40116
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-foreground", children: '"paste the full redirect URL here"' }),
@@ -40105,17 +40119,17 @@ function ConnectedOAuthConsentPage({
40105
40119
  ] })
40106
40120
  ] }) });
40107
40121
  }
40108
- return /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkFY4C7HU5_cjs.ConsentCard, { children: [
40109
- /* @__PURE__ */ jsxRuntime.jsxs(chunkFY4C7HU5_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
40110
- /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
40122
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPOU4O4D7_cjs.ConsentCard, { children: [
40123
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkPOU4O4D7_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
40124
+ /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
40111
40125
  " is requesting access to your ",
40112
40126
  appName,
40113
40127
  " workspace."
40114
40128
  ] }),
40115
- /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConsentPermissionList, { items: permissions }) }),
40116
- error && /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConsentNotice, { tone: "error", children: error }),
40117
- /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
40118
- /* @__PURE__ */ jsxRuntime.jsx(chunkFY4C7HU5_cjs.ConsentFootnote, { children: footnote })
40129
+ /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConsentPermissionList, { items: permissions }) }),
40130
+ error && /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConsentNotice, { tone: "error", children: error }),
40131
+ /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
40132
+ /* @__PURE__ */ jsxRuntime.jsx(chunkPOU4O4D7_cjs.ConsentFootnote, { children: footnote })
40119
40133
  ] }) });
40120
40134
  }
40121
40135
  function ConnectedSharedFilesPage({
@@ -40299,43 +40313,43 @@ Object.defineProperty(exports, "useWorkspaceDocs", {
40299
40313
  });
40300
40314
  Object.defineProperty(exports, "ConnectedWorkflowDocumentsField", {
40301
40315
  enumerable: true,
40302
- get: function () { return chunkVMLEISRZ_cjs.ConnectedWorkflowDocumentsField; }
40316
+ get: function () { return chunkQU77RRZP_cjs.ConnectedWorkflowDocumentsField; }
40303
40317
  });
40304
40318
  Object.defineProperty(exports, "ConnectedWorkflowLauncher", {
40305
40319
  enumerable: true,
40306
- get: function () { return chunkVMLEISRZ_cjs.ConnectedWorkflowLauncher; }
40320
+ get: function () { return chunkQU77RRZP_cjs.ConnectedWorkflowLauncher; }
40307
40321
  });
40308
40322
  Object.defineProperty(exports, "ConnectedWorkflowsTable", {
40309
40323
  enumerable: true,
40310
- get: function () { return chunkVMLEISRZ_cjs.ConnectedWorkflowsTable; }
40324
+ get: function () { return chunkQU77RRZP_cjs.ConnectedWorkflowsTable; }
40311
40325
  });
40312
40326
  Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS", {
40313
40327
  enumerable: true,
40314
- get: function () { return chunkVMLEISRZ_cjs.DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS; }
40328
+ get: function () { return chunkQU77RRZP_cjs.DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS; }
40315
40329
  });
40316
40330
  Object.defineProperty(exports, "toWorkflowFieldDocument", {
40317
40331
  enumerable: true,
40318
- get: function () { return chunkVMLEISRZ_cjs.toWorkflowFieldDocument; }
40332
+ get: function () { return chunkQU77RRZP_cjs.toWorkflowFieldDocument; }
40319
40333
  });
40320
40334
  Object.defineProperty(exports, "useConnectedAgentOptions", {
40321
40335
  enumerable: true,
40322
- get: function () { return chunkVMLEISRZ_cjs.useConnectedAgentOptions; }
40336
+ get: function () { return chunkQU77RRZP_cjs.useConnectedAgentOptions; }
40323
40337
  });
40324
40338
  Object.defineProperty(exports, "useConnectedWorkflowScopeSource", {
40325
40339
  enumerable: true,
40326
- get: function () { return chunkVMLEISRZ_cjs.useConnectedWorkflowScopeSource; }
40340
+ get: function () { return chunkQU77RRZP_cjs.useConnectedWorkflowScopeSource; }
40327
40341
  });
40328
40342
  Object.defineProperty(exports, "useConnectedWorkspaceRole", {
40329
40343
  enumerable: true,
40330
- get: function () { return chunkVMLEISRZ_cjs.useConnectedWorkspaceRole; }
40344
+ get: function () { return chunkQU77RRZP_cjs.useConnectedWorkspaceRole; }
40331
40345
  });
40332
40346
  Object.defineProperty(exports, "useDocxCommentTarget", {
40333
40347
  enumerable: true,
40334
- get: function () { return chunkVMLEISRZ_cjs.useDocxCommentTarget; }
40348
+ get: function () { return chunkQU77RRZP_cjs.useDocxCommentTarget; }
40335
40349
  });
40336
40350
  Object.defineProperty(exports, "useNativeDocxSupport", {
40337
40351
  enumerable: true,
40338
- get: function () { return chunkVMLEISRZ_cjs.useNativeDocxSupport; }
40352
+ get: function () { return chunkQU77RRZP_cjs.useNativeDocxSupport; }
40339
40353
  });
40340
40354
  Object.defineProperty(exports, "ConnectedDocumentToolsProvider", {
40341
40355
  enumerable: true,
@@ -40508,6 +40522,7 @@ exports.ConnectedFilesPage = ConnectedFilesPage;
40508
40522
  exports.ConnectedForgotPassword = ConnectedForgotPassword;
40509
40523
  exports.ConnectedGlobalDialogs = ConnectedGlobalDialogs;
40510
40524
  exports.ConnectedGrantWorkspaceAccessDialog = ConnectedGrantWorkspaceAccessDialog;
40525
+ exports.ConnectedGridView = ConnectedGridView;
40511
40526
  exports.ConnectedGroupMembers = ConnectedGroupMembers;
40512
40527
  exports.ConnectedIdentityVerification = ConnectedIdentityVerification;
40513
40528
  exports.ConnectedLoginPage = ConnectedLoginPage;