@arbidocs/blocks 0.5.188 → 0.5.189

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 (111) hide show
  1. package/dist/{ConnectedCallDock-EYWUBIDU.cjs → ConnectedCallDock-7GGYYQNK.cjs} +9 -9
  2. package/dist/{ConnectedCallDock-EYWUBIDU.cjs.map → ConnectedCallDock-7GGYYQNK.cjs.map} +1 -1
  3. package/dist/{ConnectedCallRoom-NGSUG6MI.cjs → ConnectedCallRoom-ZZ7RBGGY.cjs} +9 -9
  4. package/dist/{ConnectedCallRoom-NGSUG6MI.cjs.map → ConnectedCallRoom-ZZ7RBGGY.cjs.map} +1 -1
  5. package/dist/{ConnectedNativeDocxComparison-2YMF257D.cjs → ConnectedNativeDocxComparison-3KTHPCMT.cjs} +6 -6
  6. package/dist/{ConnectedNativeDocxComparison-2YMF257D.cjs.map → ConnectedNativeDocxComparison-3KTHPCMT.cjs.map} +1 -1
  7. package/dist/ConnectedPresentation-LNDESKYE.cjs +1 -1
  8. package/dist/{ConnectedStreamedWordArtifact-3K5WTQMZ.cjs → ConnectedStreamedWordArtifact-LUM6WE7F.cjs} +6 -6
  9. package/dist/{ConnectedStreamedWordArtifact-3K5WTQMZ.cjs.map → ConnectedStreamedWordArtifact-LUM6WE7F.cjs.map} +1 -1
  10. package/dist/{DocumentReviewCard-XLE5VITN.cjs → DocumentReviewCard-RFE4THHR.cjs} +14 -14
  11. package/dist/{DocumentReviewCard-XLE5VITN.cjs.map → DocumentReviewCard-RFE4THHR.cjs.map} +1 -1
  12. package/dist/{FilesViewerDialog-EEC6NRNT.cjs → FilesViewerDialog-6OCS7XMG.cjs} +20 -20
  13. package/dist/{FilesViewerDialog-EEC6NRNT.cjs.map → FilesViewerDialog-6OCS7XMG.cjs.map} +1 -1
  14. package/dist/{WorkspaceTableView-LGDLG3TX.cjs → WorkspaceTableView-QT63XYII.cjs} +7 -7
  15. package/dist/{WorkspaceTableView-LGDLG3TX.cjs.map → WorkspaceTableView-QT63XYII.cjs.map} +1 -1
  16. package/dist/agents/index.cjs +257 -257
  17. package/dist/{ai-CTJWECJ5.cjs → ai-A5YTWIEC.cjs} +16 -16
  18. package/dist/ai-A5YTWIEC.cjs.map +1 -0
  19. package/dist/calls/index.cjs +23 -23
  20. package/dist/chat/index.cjs +59 -55
  21. package/dist/chat/index.d.ts +1 -0
  22. package/dist/chat/index.js +2 -0
  23. package/dist/chat/index.js.map +2 -2
  24. package/dist/{chunk-VNUBBRJM.cjs → chunk-2K5DLB7B.cjs} +3 -3
  25. package/dist/{chunk-VNUBBRJM.cjs.map → chunk-2K5DLB7B.cjs.map} +1 -1
  26. package/dist/{chunk-X5EARLQH.cjs → chunk-2QGTWHPQ.cjs} +5 -5
  27. package/dist/{chunk-X5EARLQH.cjs.map → chunk-2QGTWHPQ.cjs.map} +1 -1
  28. package/dist/{chunk-K2XLEOGQ.cjs → chunk-3YPVXIFF.cjs} +4 -4
  29. package/dist/{chunk-K2XLEOGQ.cjs.map → chunk-3YPVXIFF.cjs.map} +1 -1
  30. package/dist/{chunk-MUZBAYZZ.cjs → chunk-4H5DPHZ2.cjs} +16 -16
  31. package/dist/{chunk-MUZBAYZZ.cjs.map → chunk-4H5DPHZ2.cjs.map} +1 -1
  32. package/dist/{chunk-3J4R2QFL.cjs → chunk-4TCOUQMC.cjs} +3 -3
  33. package/dist/{chunk-3J4R2QFL.cjs.map → chunk-4TCOUQMC.cjs.map} +1 -1
  34. package/dist/{chunk-LRBX4VIG.cjs → chunk-5RUY5THD.cjs} +4 -4
  35. package/dist/{chunk-LRBX4VIG.cjs.map → chunk-5RUY5THD.cjs.map} +1 -1
  36. package/dist/{chunk-6RYDZ2PS.cjs → chunk-72O4YH5M.cjs} +8 -3
  37. package/dist/chunk-72O4YH5M.cjs.map +1 -0
  38. package/dist/{chunk-PMZB2FRQ.cjs → chunk-A4HOEGDI.cjs} +4 -4
  39. package/dist/{chunk-PMZB2FRQ.cjs.map → chunk-A4HOEGDI.cjs.map} +1 -1
  40. package/dist/{chunk-H4N6BZNU.cjs → chunk-A7MGQMOV.cjs} +3 -3
  41. package/dist/{chunk-H4N6BZNU.cjs.map → chunk-A7MGQMOV.cjs.map} +1 -1
  42. package/dist/{chunk-QTGWH6Z2.cjs → chunk-AZP4ABNL.cjs} +4 -4
  43. package/dist/{chunk-QTGWH6Z2.cjs.map → chunk-AZP4ABNL.cjs.map} +1 -1
  44. package/dist/{chunk-UXWPJ6I5.cjs → chunk-E7BSG5IS.cjs} +37 -38
  45. package/dist/chunk-E7BSG5IS.cjs.map +1 -0
  46. package/dist/{chunk-EBRD3IUG.cjs → chunk-GENUGV6V.cjs} +4 -4
  47. package/dist/{chunk-EBRD3IUG.cjs.map → chunk-GENUGV6V.cjs.map} +1 -1
  48. package/dist/{chunk-WDL3TOMX.cjs → chunk-HO2AURAQ.cjs} +6 -6
  49. package/dist/{chunk-WDL3TOMX.cjs.map → chunk-HO2AURAQ.cjs.map} +1 -1
  50. package/dist/{chunk-ZHLBTIJJ.cjs → chunk-HS7TUDEM.cjs} +5 -4
  51. package/dist/chunk-HS7TUDEM.cjs.map +1 -0
  52. package/dist/{chunk-XCDUBLTC.cjs → chunk-HTH3XIFF.cjs} +8 -8
  53. package/dist/{chunk-XCDUBLTC.cjs.map → chunk-HTH3XIFF.cjs.map} +1 -1
  54. package/dist/{chunk-DXOYRQKH.cjs → chunk-IRDL2EC6.cjs} +9 -9
  55. package/dist/{chunk-DXOYRQKH.cjs.map → chunk-IRDL2EC6.cjs.map} +1 -1
  56. package/dist/{chunk-UVMOUOFD.cjs → chunk-IXSOSISW.cjs} +28 -28
  57. package/dist/{chunk-UVMOUOFD.cjs.map → chunk-IXSOSISW.cjs.map} +1 -1
  58. package/dist/{chunk-FTSXCBUO.cjs → chunk-JEUHT7XH.cjs} +6 -6
  59. package/dist/{chunk-FTSXCBUO.cjs.map → chunk-JEUHT7XH.cjs.map} +1 -1
  60. package/dist/{chunk-2UIMWITW.cjs → chunk-KQJUY2OE.cjs} +3 -3
  61. package/dist/{chunk-2UIMWITW.cjs.map → chunk-KQJUY2OE.cjs.map} +1 -1
  62. package/dist/{chunk-6AFAYGJW.cjs → chunk-L3MYUPSH.cjs} +5 -5
  63. package/dist/{chunk-6AFAYGJW.cjs.map → chunk-L3MYUPSH.cjs.map} +1 -1
  64. package/dist/{chunk-JEHGTPS2.cjs → chunk-LYDSETR7.cjs} +3 -3
  65. package/dist/{chunk-JEHGTPS2.cjs.map → chunk-LYDSETR7.cjs.map} +1 -1
  66. package/dist/{chunk-CMNGI3KI.cjs → chunk-PGKCL6YA.cjs} +81 -81
  67. package/dist/{chunk-CMNGI3KI.cjs.map → chunk-PGKCL6YA.cjs.map} +1 -1
  68. package/dist/{chunk-FJXMK7ZX.cjs → chunk-PPHXBDJP.cjs} +38 -38
  69. package/dist/{chunk-FJXMK7ZX.cjs.map → chunk-PPHXBDJP.cjs.map} +1 -1
  70. package/dist/{chunk-SRRT756P.cjs → chunk-SFKBQLFV.cjs} +59 -59
  71. package/dist/{chunk-SRRT756P.cjs.map → chunk-SFKBQLFV.cjs.map} +1 -1
  72. package/dist/{chunk-VLB6ETIQ.cjs → chunk-SXC4ZIN4.cjs} +3 -3
  73. package/dist/{chunk-VLB6ETIQ.cjs.map → chunk-SXC4ZIN4.cjs.map} +1 -1
  74. package/dist/{chunk-AYDS47US.cjs → chunk-U4MJIYGD.cjs} +13 -13
  75. package/dist/{chunk-AYDS47US.cjs.map → chunk-U4MJIYGD.cjs.map} +1 -1
  76. package/dist/{chunk-ZVTLEBFG.cjs → chunk-UNT2VY3B.cjs} +4 -4
  77. package/dist/{chunk-ZVTLEBFG.cjs.map → chunk-UNT2VY3B.cjs.map} +1 -1
  78. package/dist/{chunk-PUCYBYBY.cjs → chunk-USYCBTKK.cjs} +83 -32
  79. package/dist/chunk-USYCBTKK.cjs.map +1 -0
  80. package/dist/{chunk-YM77I6V7.cjs → chunk-WHU7ABQE.cjs} +18 -18
  81. package/dist/{chunk-YM77I6V7.cjs.map → chunk-WHU7ABQE.cjs.map} +1 -1
  82. package/dist/connect/docx.cjs +9 -9
  83. package/dist/connect/index.cjs +1064 -1064
  84. package/dist/connect/viewer.cjs +16 -16
  85. package/dist/connection/files/explorer/FileTiles.js +2 -4
  86. package/dist/connection/files/explorer/FileTiles.js.map +2 -2
  87. package/dist/databases/DatabaseRowDetail.d.ts +2 -2
  88. package/dist/databases/DatabaseRowDetail.js +22 -35
  89. package/dist/databases/DatabaseRowDetail.js.map +2 -2
  90. package/dist/databases/DocumentSourcesField.d.ts +12 -0
  91. package/dist/databases/DocumentSourcesField.js +72 -0
  92. package/dist/databases/DocumentSourcesField.js.map +7 -0
  93. package/dist/databases/index.cjs +70 -69
  94. package/dist/embed/index.cjs +22 -22
  95. package/dist/files/index.cjs +220 -220
  96. package/dist/files/visibility.d.ts +5 -0
  97. package/dist/files/visibility.js +6 -1
  98. package/dist/files/visibility.js.map +2 -2
  99. package/dist/index.cjs +1017 -1013
  100. package/dist/pages/index.cjs +20 -20
  101. package/dist/settings/index.cjs +136 -136
  102. package/dist/shell/index.cjs +43 -43
  103. package/dist/studio/index.cjs +8 -8
  104. package/dist/workflow-canvas/index.cjs +42 -42
  105. package/node_modules/@arbidocs/coedit/package.json +1 -1
  106. package/package.json +5 -5
  107. package/dist/ai-CTJWECJ5.cjs.map +0 -1
  108. package/dist/chunk-6RYDZ2PS.cjs.map +0 -1
  109. package/dist/chunk-PUCYBYBY.cjs.map +0 -1
  110. package/dist/chunk-UXWPJ6I5.cjs.map +0 -1
  111. package/dist/chunk-ZHLBTIJJ.cjs.map +0 -1
@@ -2,27 +2,27 @@
2
2
  'use strict';
3
3
 
4
4
  var chunk7GVKG3G4_cjs = require('./chunk-7GVKG3G4.cjs');
5
- var chunkAYDS47US_cjs = require('./chunk-AYDS47US.cjs');
6
- var chunkZVTLEBFG_cjs = require('./chunk-ZVTLEBFG.cjs');
5
+ var chunkU4MJIYGD_cjs = require('./chunk-U4MJIYGD.cjs');
6
+ var chunkUNT2VY3B_cjs = require('./chunk-UNT2VY3B.cjs');
7
7
  var chunkCWECDS4I_cjs = require('./chunk-CWECDS4I.cjs');
8
8
  var chunkXNW62J54_cjs = require('./chunk-XNW62J54.cjs');
9
- var chunkH4N6BZNU_cjs = require('./chunk-H4N6BZNU.cjs');
10
- var chunkJEHGTPS2_cjs = require('./chunk-JEHGTPS2.cjs');
9
+ var chunkA7MGQMOV_cjs = require('./chunk-A7MGQMOV.cjs');
10
+ var chunkLYDSETR7_cjs = require('./chunk-LYDSETR7.cjs');
11
11
  var chunkJWCVA4LC_cjs = require('./chunk-JWCVA4LC.cjs');
12
12
  var chunkQQMMCXBP_cjs = require('./chunk-QQMMCXBP.cjs');
13
13
  var chunk223D4727_cjs = require('./chunk-223D4727.cjs');
14
14
  var chunk4B6HYQTW_cjs = require('./chunk-4B6HYQTW.cjs');
15
+ var chunkW5JTACMK_cjs = require('./chunk-W5JTACMK.cjs');
16
+ var chunkHS7TUDEM_cjs = require('./chunk-HS7TUDEM.cjs');
17
+ var chunk5F4DCIHS_cjs = require('./chunk-5F4DCIHS.cjs');
15
18
  var chunkMZZ3SBQL_cjs = require('./chunk-MZZ3SBQL.cjs');
16
19
  var chunkVDHBLDQC_cjs = require('./chunk-VDHBLDQC.cjs');
17
20
  var chunkWRTEKOQP_cjs = require('./chunk-WRTEKOQP.cjs');
18
21
  var chunkVDT7TEAH_cjs = require('./chunk-VDT7TEAH.cjs');
19
22
  var chunkNZNBJF3M_cjs = require('./chunk-NZNBJF3M.cjs');
20
- var chunkW5JTACMK_cjs = require('./chunk-W5JTACMK.cjs');
21
- var chunkZHLBTIJJ_cjs = require('./chunk-ZHLBTIJJ.cjs');
22
- var chunk5F4DCIHS_cjs = require('./chunk-5F4DCIHS.cjs');
23
23
  var chunkE23H6FJR_cjs = require('./chunk-E23H6FJR.cjs');
24
24
  var chunk75BNMCUX_cjs = require('./chunk-75BNMCUX.cjs');
25
- var chunkVNUBBRJM_cjs = require('./chunk-VNUBBRJM.cjs');
25
+ var chunk2K5DLB7B_cjs = require('./chunk-2K5DLB7B.cjs');
26
26
  var chunkM55XUF4L_cjs = require('./chunk-M55XUF4L.cjs');
27
27
  var chunkPIJPM5RA_cjs = require('./chunk-PIJPM5RA.cjs');
28
28
  var chunkY3GJBLAI_cjs = require('./chunk-Y3GJBLAI.cjs');
@@ -143,7 +143,7 @@ function collectBrowserDiagnostics() {
143
143
  };
144
144
  const stringify = (value) => {
145
145
  if (value instanceof Error)
146
- return chunkJEHGTPS2_cjs.formatErrorReport({ error: value, url: safeUrl(location.href) });
146
+ return chunkLYDSETR7_cjs.formatErrorReport({ error: value, url: safeUrl(location.href) });
147
147
  if (typeof value === "string" || typeof value === "number" || typeof value === "boolean")
148
148
  return String(value);
149
149
  return "[object omitted]";
@@ -667,11 +667,11 @@ function ConnectedProfileCard({
667
667
  const display = profile?.fullName || "Unnamed";
668
668
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.UserCircle, {}), title: "Profile", children: [
669
669
  /* @__PURE__ */ jsxRuntime.jsx(
670
- chunkJEHGTPS2_cjs.ProfileCard,
670
+ chunkLYDSETR7_cjs.ProfileCard,
671
671
  {
672
672
  avatar: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
673
673
  /* @__PURE__ */ jsxRuntime.jsx(
674
- chunkJEHGTPS2_cjs.AvatarPicker,
674
+ chunkLYDSETR7_cjs.AvatarPicker,
675
675
  {
676
676
  pictureUrl: profile?.picture,
677
677
  initials: chunkIPSHAMO2_cjs.initials(display),
@@ -721,7 +721,7 @@ function ConnectedIdentityVerification({
721
721
  });
722
722
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
723
723
  /* @__PURE__ */ jsxRuntime.jsx(
724
- chunkJEHGTPS2_cjs.IdentityVerificationCard,
724
+ chunkLYDSETR7_cjs.IdentityVerificationCard,
725
725
  {
726
726
  flow,
727
727
  labels,
@@ -730,7 +730,7 @@ function ConnectedIdentityVerification({
730
730
  }
731
731
  ),
732
732
  /* @__PURE__ */ jsxRuntime.jsx(
733
- chunkJEHGTPS2_cjs.IdentityVerificationDialog,
733
+ chunkLYDSETR7_cjs.IdentityVerificationDialog,
734
734
  {
735
735
  flow,
736
736
  accountName: profile?.fullName ?? "",
@@ -763,7 +763,7 @@ function ConnectedPasswordChangeDialog({
763
763
  onRecoveryComplete
764
764
  });
765
765
  return /* @__PURE__ */ jsxRuntime.jsx(
766
- chunkJEHGTPS2_cjs.PasswordChangeDialog,
766
+ chunkLYDSETR7_cjs.PasswordChangeDialog,
767
767
  {
768
768
  open,
769
769
  onClose: form.onCancel,
@@ -811,7 +811,7 @@ function ConnectedNotificationPreferences({
811
811
  );
812
812
  const prefs = react.useNotificationPreferences(keys);
813
813
  return /* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsSection, { title: "Notifications", children: /* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsCard, { className: "space-y-0", children: /* @__PURE__ */ jsxRuntime.jsx(
814
- chunkJEHGTPS2_cjs.NotificationCategoryList,
814
+ chunkLYDSETR7_cjs.NotificationCategoryList,
815
815
  {
816
816
  masterId: "emailNotifications",
817
817
  masterTitle: "Email Notifications",
@@ -860,7 +860,7 @@ function ConnectedSessionsRow({
860
860
  }
861
861
  ),
862
862
  /* @__PURE__ */ jsxRuntime.jsx(
863
- chunkJEHGTPS2_cjs.ActiveSessionsDialog,
863
+ chunkLYDSETR7_cjs.ActiveSessionsDialog,
864
864
  {
865
865
  open,
866
866
  onOpenChange: setOpen,
@@ -904,7 +904,7 @@ function ConnectedLogoutDialog({
904
904
  signOut.mutate({ everywhere, reason: "manual" });
905
905
  };
906
906
  return /* @__PURE__ */ jsxRuntime.jsx(
907
- chunkJEHGTPS2_cjs.LogoutDialog,
907
+ chunkLYDSETR7_cjs.LogoutDialog,
908
908
  {
909
909
  open,
910
910
  onClose,
@@ -954,7 +954,7 @@ function ConnectedDangerZone({ renderSubscriptionLink }) {
954
954
  }
955
955
  ),
956
956
  /* @__PURE__ */ jsxRuntime.jsx(
957
- chunkJEHGTPS2_cjs.DeleteAccountDialog,
957
+ chunkLYDSETR7_cjs.DeleteAccountDialog,
958
958
  {
959
959
  open: dialogOpen,
960
960
  onClose: flow.onClose,
@@ -1009,7 +1009,7 @@ function getToolParams(detail) {
1009
1009
  return params;
1010
1010
  }
1011
1011
  function StepModelIcon({ modelName, tag }) {
1012
- const cfg = tag === "Premium" ? null : chunkVNUBBRJM_cjs.getModelIcon(modelName, tag);
1012
+ const cfg = tag === "Premium" ? null : chunk2K5DLB7B_cjs.getModelIcon(modelName, tag);
1013
1013
  if (tag !== "Premium" && !cfg) return null;
1014
1014
  return /* @__PURE__ */ jsxRuntime.jsxs(ui.Tooltip, { children: [
1015
1015
  /* @__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 } }) }) }),
@@ -1134,15 +1134,15 @@ var AgentStepsComponent = ({
1134
1134
  const lastStepIndex = mergedSteps[mergedSteps.length - 1].index;
1135
1135
  const renderRow = (step, depth, isLastInList) => {
1136
1136
  const i = posByIndex.get(step.index);
1137
- const presentation = chunkVNUBBRJM_cjs.getAgentStepPresentation(step, docInfo);
1137
+ const presentation = chunk2K5DLB7B_cjs.getAgentStepPresentation(step, docInfo);
1138
1138
  const { tool, Icon } = presentation;
1139
1139
  const { label, summary, isMultiLine, details } = browser.getStepDisplay(step, docInfo);
1140
- const accent = chunkVNUBBRJM_cjs.stepAccent(step, tool);
1140
+ const accent = chunk2K5DLB7B_cjs.stepAccent(step, tool);
1141
1141
  const duration = stepDurations[i];
1142
1142
  const isLastStep = step.index === lastStepIndex;
1143
1143
  const isActive = step.index === currentStepIndex;
1144
1144
  const tier = step.step === "goal" ? step.model_recommendation : null;
1145
- const TierIcon = tier ? chunkVNUBBRJM_cjs.MODEL_TIER_ICON_MAP[tier] : null;
1145
+ const TierIcon = tier ? chunk2K5DLB7B_cjs.MODEL_TIER_ICON_MAP[tier] : null;
1146
1146
  const useLiveDuration = isLastStep && liveTimer != null && step.t != null;
1147
1147
  const durationNode = useLiveDuration ? /* @__PURE__ */ jsxRuntime.jsx(
1148
1148
  MessageLiveSeconds,
@@ -1166,7 +1166,7 @@ var AgentStepsComponent = ({
1166
1166
  })) : null;
1167
1167
  const folded = childrenByParent.get(step.index);
1168
1168
  return /* @__PURE__ */ jsxRuntime.jsxs(
1169
- chunkVNUBBRJM_cjs.StepRow,
1169
+ chunk2K5DLB7B_cjs.StepRow,
1170
1170
  {
1171
1171
  index: step.index,
1172
1172
  number: displayNumber.get(step.index) ?? String(i + 1),
@@ -1180,7 +1180,7 @@ var AgentStepsComponent = ({
1180
1180
  titleTestId: isActive ? "agent-expanded-current-step-description" : void 0,
1181
1181
  badge: TierIcon ? /* @__PURE__ */ jsxRuntime.jsxs(ui.Tooltip, { children: [
1182
1182
  /* @__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 }) }) }),
1183
- /* @__PURE__ */ jsxRuntime.jsx(ui.TooltipContent, { side: "top", children: chunkVNUBBRJM_cjs.MODEL_TIER_LABELS[tier] ?? tier })
1183
+ /* @__PURE__ */ jsxRuntime.jsx(ui.TooltipContent, { side: "top", children: chunk2K5DLB7B_cjs.MODEL_TIER_LABELS[tier] ?? tier })
1184
1184
  ] }) : void 0,
1185
1185
  meta: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1186
1186
  isDeveloper && /* @__PURE__ */ jsxRuntime.jsx(StepModelIcon, { modelName: step.usage?.model, tag: getModelTag(step.usage?.model) }),
@@ -1195,11 +1195,11 @@ var AgentStepsComponent = ({
1195
1195
  summary && !isActive && (step.narration ? (
1196
1196
  /* Narration is PROSE (headings, bold, lists): render markdown, not raw asterisks.
1197
1197
  Tool summaries stay plain text: one-line headlines where a clamp matters. */
1198
- /* @__PURE__ */ jsxRuntime.jsx(chunkVNUBBRJM_cjs.StepNarration, { index: step.index, children: /* @__PURE__ */ jsxRuntime.jsx(chunkH4N6BZNU_cjs.ConnectedMarkdown, { isStreaming: false, children: summary }) })
1199
- ) : /* @__PURE__ */ jsxRuntime.jsx(chunkVNUBBRJM_cjs.StepSummary, { index: step.index, multiLine: isMultiLine, children: summary })),
1200
- details.map((d, di) => /* @__PURE__ */ jsxRuntime.jsx(chunkVNUBBRJM_cjs.StepDetail, { index: step.index, children: d }, di)),
1201
- showOutcome && /* @__PURE__ */ jsxRuntime.jsx(chunkVNUBBRJM_cjs.StepOutcome, { index: step.index, failed: outcomeFailed, children: step.outcome }),
1202
- toolParams.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkVNUBBRJM_cjs.StepParams, { children: toolParams.map((p) => `${p.key}=${p.value}`).join(" ") }),
1198
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2K5DLB7B_cjs.StepNarration, { index: step.index, children: /* @__PURE__ */ jsxRuntime.jsx(chunkA7MGQMOV_cjs.ConnectedMarkdown, { isStreaming: false, children: summary }) })
1199
+ ) : /* @__PURE__ */ jsxRuntime.jsx(chunk2K5DLB7B_cjs.StepSummary, { index: step.index, multiLine: isMultiLine, children: summary })),
1200
+ details.map((d, di) => /* @__PURE__ */ jsxRuntime.jsx(chunk2K5DLB7B_cjs.StepDetail, { index: step.index, children: d }, di)),
1201
+ showOutcome && /* @__PURE__ */ jsxRuntime.jsx(chunk2K5DLB7B_cjs.StepOutcome, { index: step.index, failed: outcomeFailed, children: step.outcome }),
1202
+ toolParams.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunk2K5DLB7B_cjs.StepParams, { children: toolParams.map((p) => `${p.key}=${p.value}`).join(" ") }),
1203
1203
  step.routing && /* @__PURE__ */ jsxRuntime.jsxs("details", { className: "mt-1 text-xs text-muted-foreground", "data-testid": "routing-details", children: [
1204
1204
  /* @__PURE__ */ jsxRuntime.jsx("summary", { className: "cursor-pointer", children: "Routing details" }),
1205
1205
  /* @__PURE__ */ jsxRuntime.jsxs("dl", { className: "mt-2 space-y-2", children: [
@@ -1251,9 +1251,9 @@ var AgentStepsComponent = ({
1251
1251
  ] })
1252
1252
  ] })
1253
1253
  ] }),
1254
- criteriaView && /* @__PURE__ */ jsxRuntime.jsx(chunkVNUBBRJM_cjs.GoalCriteria, { criteria: criteriaView }),
1254
+ criteriaView && /* @__PURE__ */ jsxRuntime.jsx(chunk2K5DLB7B_cjs.GoalCriteria, { criteria: criteriaView }),
1255
1255
  folded && folded.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
1256
- chunkVNUBBRJM_cjs.SubStepGroup,
1256
+ chunk2K5DLB7B_cjs.SubStepGroup,
1257
1257
  {
1258
1258
  parentIndex: step.index,
1259
1259
  summary: summariseSubSteps(folded),
@@ -1279,7 +1279,7 @@ var AgentStepsComponent = ({
1279
1279
  leftParts.push(`${browser.formatTokens(totalInputTokens)} in`);
1280
1280
  if (totalOutputTokens > 0) leftParts.push(`${browser.formatTokens(totalOutputTokens)} out`);
1281
1281
  summaryNode = /* @__PURE__ */ jsxRuntime.jsx(
1282
- chunkVNUBBRJM_cjs.StepTraceSummary,
1282
+ chunk2K5DLB7B_cjs.StepTraceSummary,
1283
1283
  {
1284
1284
  left: leftParts.join(" \xB7 "),
1285
1285
  isNearBudget: browser.isNearAiUsageBudget(contextUsage),
@@ -1287,7 +1287,7 @@ var AgentStepsComponent = ({
1287
1287
  }
1288
1288
  );
1289
1289
  }
1290
- return /* @__PURE__ */ jsxRuntime.jsx(chunkVNUBBRJM_cjs.StepTrace, { className, summary: summaryNode, children: displayRows.map((row, i) => {
1290
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk2K5DLB7B_cjs.StepTrace, { className, summary: summaryNode, children: displayRows.map((row, i) => {
1291
1291
  if (row.lane) {
1292
1292
  return /* @__PURE__ */ jsxRuntime.jsx(
1293
1293
  LaneBinding,
@@ -1324,7 +1324,7 @@ function LaneBinding({
1324
1324
  const running = !closed && isStreaming;
1325
1325
  const latest = inner[inner.length - 1];
1326
1326
  return /* @__PURE__ */ jsxRuntime.jsx(
1327
- chunkVNUBBRJM_cjs.SubAgentLane,
1327
+ chunk2K5DLB7B_cjs.SubAgentLane,
1328
1328
  {
1329
1329
  handle,
1330
1330
  number,
@@ -1811,7 +1811,7 @@ var ConversationComposerComponent = function ConversationComposer({
1811
1811
  () => react.buildMentionCandidates(users ?? [], currentUserId, assistantName),
1812
1812
  [users, currentUserId, assistantName]
1813
1813
  );
1814
- const mention = chunkZHLBTIJJ_cjs.useMentionAutocomplete({
1814
+ const mention = chunkHS7TUDEM_cjs.useMentionAutocomplete({
1815
1815
  value: newMessage,
1816
1816
  onValueChange: setNewMessage,
1817
1817
  candidates: mentionCandidates,
@@ -1859,14 +1859,14 @@ var ConversationComposerComponent = function ConversationComposer({
1859
1859
  if (recipient.hasBody) sendDraft();
1860
1860
  };
1861
1861
  return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsx(
1862
- chunkZHLBTIJJ_cjs.Composer.Root,
1862
+ chunkHS7TUDEM_cjs.Composer.Root,
1863
1863
  {
1864
1864
  onSubmit: handleSubmit,
1865
1865
  formRef,
1866
1866
  isBranching,
1867
- notice: isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkZHLBTIJJ_cjs.Composer.Notice, { onCancel: onCancelBranching }) : void 0,
1867
+ notice: isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkHS7TUDEM_cjs.Composer.Notice, { onCancel: onCancelBranching }) : void 0,
1868
1868
  children: /* @__PURE__ */ jsxRuntime.jsxs(
1869
- chunkZHLBTIJJ_cjs.Composer.Frame,
1869
+ chunkHS7TUDEM_cjs.Composer.Frame,
1870
1870
  {
1871
1871
  className: compact ? "rounded-none border-0 px-0 py-0 shadow-none focus-within:shadow-none" : void 0,
1872
1872
  children: [
@@ -1922,7 +1922,7 @@ var ConversationComposerComponent = function ConversationComposer({
1922
1922
  }
1923
1923
  ),
1924
1924
  /* @__PURE__ */ jsxRuntime.jsx(
1925
- chunkZHLBTIJJ_cjs.Composer.Input,
1925
+ chunkHS7TUDEM_cjs.Composer.Input,
1926
1926
  {
1927
1927
  value: newMessage,
1928
1928
  onValueChange: (next) => {
@@ -1947,7 +1947,7 @@ var ConversationComposerComponent = function ConversationComposer({
1947
1947
  }
1948
1948
  ),
1949
1949
  /* @__PURE__ */ jsxRuntime.jsx(
1950
- chunkZHLBTIJJ_cjs.Composer.Toolbar,
1950
+ chunkHS7TUDEM_cjs.Composer.Toolbar,
1951
1951
  {
1952
1952
  className: compact ? "flex-nowrap" : void 0,
1953
1953
  leading: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -2022,7 +2022,7 @@ function RunningSubagentsRoster({
2022
2022
  if (leafId) selectThread(leafId);
2023
2023
  };
2024
2024
  return /* @__PURE__ */ jsxRuntime.jsx(
2025
- chunkVNUBBRJM_cjs.SubagentRoster,
2025
+ chunk2K5DLB7B_cjs.SubagentRoster,
2026
2026
  {
2027
2027
  lanes: rosterLanes,
2028
2028
  className,
@@ -2197,13 +2197,13 @@ function withAnswerTable(components) {
2197
2197
  }
2198
2198
  return merged;
2199
2199
  }
2200
- var renderMarkdown = ({ components, isStreaming, children }) => /* @__PURE__ */ jsxRuntime.jsx(chunkH4N6BZNU_cjs.ConnectedMarkdown, { components: withAnswerTable(components), isStreaming, children });
2200
+ var renderMarkdown = ({ components, isStreaming, children }) => /* @__PURE__ */ jsxRuntime.jsx(chunkA7MGQMOV_cjs.ConnectedMarkdown, { components: withAnswerTable(components), isStreaming, children });
2201
2201
  function LinkInAnswer({ href, children, ...props }) {
2202
2202
  const docId = chunkE23H6FJR_cjs.workspaceDocIdFromHref(href, chunkHN56WWBR_cjs.useBlocksEnvironment().runtimeConfig.deploymentDomain);
2203
2203
  if (docId) {
2204
- return /* @__PURE__ */ jsxRuntime.jsx(chunkH4N6BZNU_cjs.InternalDocLink, { docId, href, ...props, children });
2204
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkA7MGQMOV_cjs.InternalDocLink, { docId, href, ...props, children });
2205
2205
  }
2206
- return /* @__PURE__ */ jsxRuntime.jsx(chunkH4N6BZNU_cjs.ExternalLink, { href, ...props, children });
2206
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkA7MGQMOV_cjs.ExternalLink, { href, ...props, children });
2207
2207
  }
2208
2208
  var ConnectedCitationRendererComponent = (props) => {
2209
2209
  const session = react.useArbiSessionStore();
@@ -2305,7 +2305,7 @@ function MessageDetailsModal({
2305
2305
  ]
2306
2306
  }
2307
2307
  ),
2308
- messageDetails && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-testid": "message-details-content", children: /* @__PURE__ */ jsxRuntime.jsx(chunkJEHGTPS2_cjs.MessageJsonTree, { data: messageDetails, name: "message", defaultExpanded: true }) })
2308
+ messageDetails && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-testid": "message-details-content", children: /* @__PURE__ */ jsxRuntime.jsx(chunkLYDSETR7_cjs.MessageJsonTree, { data: messageDetails, name: "message", defaultExpanded: true }) })
2309
2309
  ] })
2310
2310
  ]
2311
2311
  }
@@ -2335,7 +2335,7 @@ function WorkflowStepMessage({
2335
2335
  const { conversations } = react.useConversationItems();
2336
2336
  const activity = react.useConversationActivity(conversationId ?? void 0, { live: true });
2337
2337
  const plan = conversations.find((c) => c.external_id === conversationId)?.plan;
2338
- const steps = chunkVNUBBRJM_cjs.fromPlanSteps(plan?.steps ?? []);
2338
+ const steps = chunk2K5DLB7B_cjs.fromPlanSteps(plan?.steps ?? []);
2339
2339
  const found = steps.find((s) => s.id === step);
2340
2340
  const states = chunkY3GJBLAI_cjs.stepStatesFromActivity(activity.data ?? []);
2341
2341
  const { data: documents = [] } = react.useDocuments();
@@ -2344,7 +2344,7 @@ function WorkflowStepMessage({
2344
2344
  const docId = ref ? chunkY3GJBLAI_cjs.splitDocRef(ref).id : void 0;
2345
2345
  const doc = documents.find((d) => d.external_id === docId);
2346
2346
  return /* @__PURE__ */ jsxRuntime.jsx(
2347
- chunkZHLBTIJJ_cjs.WorkflowStepChip,
2347
+ chunkHS7TUDEM_cjs.WorkflowStepChip,
2348
2348
  {
2349
2349
  step,
2350
2350
  title: found?.title,
@@ -2504,7 +2504,7 @@ var MessageComponent = ({
2504
2504
  const isQueuedAnswer = !isUser && message.status === "queued" && !isGenerating;
2505
2505
  const isAwaitingAnswer = (isGenerating || isRunningOnServer) && !isStopped && !!message.pendingUserInput;
2506
2506
  const showWorkingIndicator = (isGenerating || isRunningOnServer) && !isQueuedAnswer && !responseContent.trim() && !linkedArtifact && !isAwaitingAnswer;
2507
- const workingStepLabel = showWorkingIndicator ? chunkVNUBBRJM_cjs.getCurrentAgentStepPresentation(message.agentSteps ?? [])?.description : void 0;
2507
+ const workingStepLabel = showWorkingIndicator ? chunk2K5DLB7B_cjs.getCurrentAgentStepPresentation(message.agentSteps ?? [])?.description : void 0;
2508
2508
  const showEmptyAnswer = !isUser && !isGenerating && !isRunningOnServer && !isFailed && !isStopped && !responseContent.trim() && !linkedArtifact;
2509
2509
  const isEmptyStopped = isStopped && !responseContent.trim();
2510
2510
  const stoppedQuestion = React6.useMemo(() => {
@@ -2734,7 +2734,7 @@ var MessageComponent = ({
2734
2734
  const actions = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2735
2735
  branchControl,
2736
2736
  isUser ? /* @__PURE__ */ jsxRuntime.jsx(
2737
- chunkZHLBTIJJ_cjs.MessageActionMenu,
2737
+ chunkHS7TUDEM_cjs.MessageActionMenu,
2738
2738
  {
2739
2739
  items: menuItems,
2740
2740
  heading: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -2745,7 +2745,7 @@ var MessageComponent = ({
2745
2745
  }
2746
2746
  ) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2747
2747
  /* @__PURE__ */ jsxRuntime.jsx(
2748
- chunkZHLBTIJJ_cjs.MessageActionButton,
2748
+ chunkHS7TUDEM_cjs.MessageActionButton,
2749
2749
  {
2750
2750
  onClick: (e) => {
2751
2751
  e.stopPropagation();
@@ -2760,7 +2760,7 @@ var MessageComponent = ({
2760
2760
  }
2761
2761
  ),
2762
2762
  /* @__PURE__ */ jsxRuntime.jsx(
2763
- chunkZHLBTIJJ_cjs.MessageActionButton,
2763
+ chunkHS7TUDEM_cjs.MessageActionButton,
2764
2764
  {
2765
2765
  onClick: (e) => {
2766
2766
  e.stopPropagation();
@@ -2773,7 +2773,7 @@ var MessageComponent = ({
2773
2773
  }
2774
2774
  ),
2775
2775
  /* @__PURE__ */ jsxRuntime.jsx(
2776
- chunkZHLBTIJJ_cjs.MessageActionMenu,
2776
+ chunkHS7TUDEM_cjs.MessageActionMenu,
2777
2777
  {
2778
2778
  items: menuItems,
2779
2779
  heading: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -2791,13 +2791,13 @@ var MessageComponent = ({
2791
2791
  ] });
2792
2792
  const isBareStopped = isEmptyStopped && visibleStepCount === 0;
2793
2793
  const footer = settledForHeader && !isBareStopped && /* @__PURE__ */ jsxRuntime.jsx(
2794
- chunkZHLBTIJJ_cjs.MessageFooter,
2794
+ chunkHS7TUDEM_cjs.MessageFooter,
2795
2795
  {
2796
2796
  role: messageRole,
2797
2797
  align: isOtherPerson ? "start" : "end",
2798
2798
  leading: isUser ? (
2799
2799
  // Someone else's author is the pill above their run; only mine is marked here.
2800
- !isOtherPerson && messageAuthorUser && /* @__PURE__ */ jsxRuntime.jsx(chunkZVTLEBFG_cjs.DocumentUser, { user: messageAuthorUser })
2800
+ !isOtherPerson && messageAuthorUser && /* @__PURE__ */ jsxRuntime.jsx(chunkUNT2VY3B_cjs.DocumentUser, { user: messageAuthorUser })
2801
2801
  ) : /* @__PURE__ */ jsxRuntime.jsx(
2802
2802
  "span",
2803
2803
  {
@@ -2808,7 +2808,7 @@ var MessageComponent = ({
2808
2808
  },
2809
2809
  "data-testid": `message-model-${messageId}`,
2810
2810
  children: /* @__PURE__ */ jsxRuntime.jsx(
2811
- chunkVNUBBRJM_cjs.AssistantEntity,
2811
+ chunk2K5DLB7B_cjs.AssistantEntity,
2812
2812
  {
2813
2813
  name: modelDisplayName,
2814
2814
  modelName,
@@ -2888,7 +2888,7 @@ var MessageComponent = ({
2888
2888
  );
2889
2889
  }
2890
2890
  return /* @__PURE__ */ jsxRuntime.jsx(chunkMZZ3SBQL_cjs.ErrorBoundary, { testId: "message-error-boundary", children: /* @__PURE__ */ jsxRuntime.jsxs(
2891
- chunkZHLBTIJJ_cjs.MessageRoot,
2891
+ chunkHS7TUDEM_cjs.MessageRoot,
2892
2892
  {
2893
2893
  role: messageRole,
2894
2894
  messageId,
@@ -2896,15 +2896,15 @@ var MessageComponent = ({
2896
2896
  ...rest,
2897
2897
  children: [
2898
2898
  /* @__PURE__ */ jsxRuntime.jsxs(
2899
- chunkZHLBTIJJ_cjs.MessageContent,
2899
+ chunkHS7TUDEM_cjs.MessageContent,
2900
2900
  {
2901
2901
  role: messageRole,
2902
2902
  messageId,
2903
2903
  align: isOtherPerson ? "start" : "end",
2904
2904
  children: [
2905
- startsAuthorRun && messageAuthorUser && /* @__PURE__ */ jsxRuntime.jsx(chunkZHLBTIJJ_cjs.MessageAuthor, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkZVTLEBFG_cjs.DocumentUser, { user: messageAuthorUser, variant: "pill" }) }),
2905
+ startsAuthorRun && messageAuthorUser && /* @__PURE__ */ jsxRuntime.jsx(chunkHS7TUDEM_cjs.MessageAuthor, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkUNT2VY3B_cjs.DocumentUser, { user: messageAuthorUser, variant: "pill" }) }),
2906
2906
  /* @__PURE__ */ jsxRuntime.jsxs(
2907
- chunkZHLBTIJJ_cjs.MessageBubble,
2907
+ chunkHS7TUDEM_cjs.MessageBubble,
2908
2908
  {
2909
2909
  ref: messageRef,
2910
2910
  role: messageRole,
@@ -2914,14 +2914,14 @@ var MessageComponent = ({
2914
2914
  className: isOtherPerson ? "border border-border bg-card" : void 0,
2915
2915
  children: [
2916
2916
  !isUser && isGenerating && /* @__PURE__ */ jsxRuntime.jsx(
2917
- chunkZHLBTIJJ_cjs.MessageByline,
2917
+ chunkHS7TUDEM_cjs.MessageByline,
2918
2918
  {
2919
2919
  messageId,
2920
2920
  identity: (
2921
2921
  // Stays the ARBI identity while streaming: the model name arrives
2922
2922
  // with the first step that reports one and would swap the author
2923
2923
  // mid-answer. The model is shown in the footer once settled.
2924
- /* @__PURE__ */ jsxRuntime.jsx(chunkVNUBBRJM_cjs.AssistantEntity, { size: 16 })
2924
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2K5DLB7B_cjs.AssistantEntity, { size: 16 })
2925
2925
  ),
2926
2926
  timeLabel,
2927
2927
  isSettled: settledForHeader,
@@ -2929,9 +2929,9 @@ var MessageComponent = ({
2929
2929
  statusLabel
2930
2930
  }
2931
2931
  ),
2932
- subagentTaskRecord && /* @__PURE__ */ jsxRuntime.jsx(chunkZHLBTIJJ_cjs.MessageSubagentBadge, { messageId }),
2933
- /* @__PURE__ */ jsxRuntime.jsxs(chunkZHLBTIJJ_cjs.MessageBody, { messageId, children: [
2934
- settledNarration ? /* @__PURE__ */ jsxRuntime.jsx(chunkZHLBTIJJ_cjs.MessageNarration, { messageId, children: /* @__PURE__ */ jsxRuntime.jsx(chunkH4N6BZNU_cjs.ConnectedMarkdown, { isStreaming: false, children: settledNarration }) }) : null,
2932
+ subagentTaskRecord && /* @__PURE__ */ jsxRuntime.jsx(chunkHS7TUDEM_cjs.MessageSubagentBadge, { messageId }),
2933
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkHS7TUDEM_cjs.MessageBody, { messageId, children: [
2934
+ settledNarration ? /* @__PURE__ */ jsxRuntime.jsx(chunkHS7TUDEM_cjs.MessageNarration, { messageId, children: /* @__PURE__ */ jsxRuntime.jsx(chunkA7MGQMOV_cjs.ConnectedMarkdown, { isStreaming: false, children: settledNarration }) }) : null,
2935
2935
  liveContent ? role === "assistant" ? /* @__PURE__ */ jsxRuntime.jsx(
2936
2936
  ConnectedCitationRenderer,
2937
2937
  {
@@ -2941,7 +2941,7 @@ var MessageComponent = ({
2941
2941
  messageId: message.external_id || "unknown",
2942
2942
  isStreaming: isGenerating
2943
2943
  }
2944
- ) : /* @__PURE__ */ jsxRuntime.jsx(chunkH4N6BZNU_cjs.ConnectedMarkdown, { isStreaming: isGenerating, children: linkMentions(
2944
+ ) : /* @__PURE__ */ jsxRuntime.jsx(chunkA7MGQMOV_cjs.ConnectedMarkdown, { isStreaming: isGenerating, children: linkMentions(
2945
2945
  isUser && liveContent.startsWith("/pa ") ? liveContent.slice(4) : liveContent,
2946
2946
  message.mentions
2947
2947
  ) }) : null,
@@ -3280,7 +3280,7 @@ function ConnectedMessageList({ messages, scrollElementRef }) {
3280
3280
  const isGenerating = react.useArbiSessionState((state) => state.generating[currentConversationId || ""]?.isGenerating) ?? false;
3281
3281
  const isLiveTurn = isGenerating && messages[messages.length - 1]?.isLoading === true;
3282
3282
  const lastMessage = displayMessages[displayMessages.length - 1];
3283
- const statusMessage = chunkZHLBTIJJ_cjs.useStreamAnnouncement({
3283
+ const statusMessage = chunkHS7TUDEM_cjs.useStreamAnnouncement({
3284
3284
  isStreaming: isGenerating,
3285
3285
  text: lastMessage?.role === "assistant" ? chunkXNW62J54_cjs.stripThinking(lastMessage.content ?? "") : "",
3286
3286
  resetKey: currentConversationId
@@ -3293,7 +3293,7 @@ function ConnectedMessageList({ messages, scrollElementRef }) {
3293
3293
  React6.useEffect(() => {
3294
3294
  scrollContainerRef.current = scrollElementRef?.current ?? resolveScrollContainer(null);
3295
3295
  }, [scrollElementRef]);
3296
- const { items: activityItems } = chunkAYDS47US_cjs.useConnectedThreadActivity(currentConversationId);
3296
+ const { items: activityItems } = chunkU4MJIYGD_cjs.useConnectedThreadActivity(currentConversationId);
3297
3297
  const transcript = [
3298
3298
  ...displayMessages.map((message, index) => ({
3299
3299
  type: "message",
@@ -3370,29 +3370,29 @@ function ConnectedMessageList({ messages, scrollElementRef }) {
3370
3370
  chunkW5JTACMK_cjs.flashMessage(target);
3371
3371
  session.setDeepLinkMessageId(null);
3372
3372
  }, [deepLinkMessageId, virtualItems, session]);
3373
- const status = /* @__PURE__ */ jsxRuntime.jsx(chunkZHLBTIJJ_cjs.MessageList.Status, { message: statusMessage });
3373
+ const status = /* @__PURE__ */ jsxRuntime.jsx(chunkHS7TUDEM_cjs.MessageList.Status, { message: statusMessage });
3374
3374
  if (transcript.length === 0) {
3375
3375
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
3376
3376
  status,
3377
- /* @__PURE__ */ jsxRuntime.jsx(chunkZHLBTIJJ_cjs.MessageList.Empty, {})
3377
+ /* @__PURE__ */ jsxRuntime.jsx(chunkHS7TUDEM_cjs.MessageList.Empty, {})
3378
3378
  ] });
3379
3379
  }
3380
3380
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
3381
3381
  status,
3382
- /* @__PURE__ */ jsxRuntime.jsxs(chunkZHLBTIJJ_cjs.MessageList.Root, { isBusy: isGenerating, children: [
3383
- mainSiblingLeaf && /* @__PURE__ */ jsxRuntime.jsx(chunkZHLBTIJJ_cjs.MessageList.Banner, { onBack: () => setParentMessageId(mainSiblingLeaf) }),
3384
- /* @__PURE__ */ jsxRuntime.jsx(chunkZHLBTIJJ_cjs.MessageList.Rows, { totalSize: rowVirtualizer.getTotalSize(), children: virtualItems.map((virtualItem) => {
3382
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkHS7TUDEM_cjs.MessageList.Root, { isBusy: isGenerating, children: [
3383
+ mainSiblingLeaf && /* @__PURE__ */ jsxRuntime.jsx(chunkHS7TUDEM_cjs.MessageList.Banner, { onBack: () => setParentMessageId(mainSiblingLeaf) }),
3384
+ /* @__PURE__ */ jsxRuntime.jsx(chunkHS7TUDEM_cjs.MessageList.Rows, { totalSize: rowVirtualizer.getTotalSize(), children: virtualItems.map((virtualItem) => {
3385
3385
  const entry = transcript[virtualItem.index];
3386
3386
  if (entry.type === "activity") {
3387
3387
  return /* @__PURE__ */ jsxRuntime.jsx(
3388
- chunkZHLBTIJJ_cjs.MessageList.Row,
3388
+ chunkHS7TUDEM_cjs.MessageList.Row,
3389
3389
  {
3390
3390
  ref: rowVirtualizer.measureElement,
3391
3391
  index: virtualItem.index,
3392
3392
  start: virtualItem.start,
3393
3393
  messageId: entry.id,
3394
3394
  setSize: transcript.length,
3395
- children: entry.item.card ?? /* @__PURE__ */ jsxRuntime.jsx(chunkVNUBBRJM_cjs.ThreadActivity, { item: entry.item, children: entry.item.onOpenDocument && /* @__PURE__ */ jsxRuntime.jsx(
3395
+ children: entry.item.card ?? /* @__PURE__ */ jsxRuntime.jsx(chunk2K5DLB7B_cjs.ThreadActivity, { item: entry.item, children: entry.item.onOpenDocument && /* @__PURE__ */ jsxRuntime.jsx(
3396
3396
  "button",
3397
3397
  {
3398
3398
  className: "mt-1 hover:underline text-primary",
@@ -3408,7 +3408,7 @@ function ConnectedMessageList({ messages, scrollElementRef }) {
3408
3408
  const messageId = message.external_id;
3409
3409
  const branchPoint = messageId ? getBranchControlForMessage(messageId) : null;
3410
3410
  return /* @__PURE__ */ jsxRuntime.jsx(
3411
- chunkZHLBTIJJ_cjs.MessageList.Row,
3411
+ chunkHS7TUDEM_cjs.MessageList.Row,
3412
3412
  {
3413
3413
  ref: rowVirtualizer.measureElement,
3414
3414
  index: virtualItem.index,
@@ -3439,7 +3439,7 @@ function ConnectedMessageList({ messages, scrollElementRef }) {
3439
3439
  message.external_id ?? `msg-${virtualItem.index}`
3440
3440
  );
3441
3441
  }) }),
3442
- isLiveTurn ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4", "aria-hidden": "true" }) : /* @__PURE__ */ jsxRuntime.jsx(chunkZHLBTIJJ_cjs.MessageList.Tail, {})
3442
+ isLiveTurn ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4", "aria-hidden": "true" }) : /* @__PURE__ */ jsxRuntime.jsx(chunkHS7TUDEM_cjs.MessageList.Tail, {})
3443
3443
  ] }),
3444
3444
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedThreadsPreview, { open: previewOpen, onOpenChange: setPreviewOpen })
3445
3445
  ] });
@@ -3498,7 +3498,7 @@ function ConnectedCompactConversation({ attachments } = {}) {
3498
3498
  observer.observe(viewport);
3499
3499
  return () => observer.disconnect();
3500
3500
  }, [messageHistory.length > 0, currentConversationId]);
3501
- return /* @__PURE__ */ jsxRuntime.jsx(chunkZHLBTIJJ_cjs.CompactChatContext.Provider, { value: true, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col flex-1 min-h-0", "data-arbi-compact": true, "data-testid": "embedded-chat", children: [
3501
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkHS7TUDEM_cjs.CompactChatContext.Provider, { value: true, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col flex-1 min-h-0", "data-arbi-compact": true, "data-testid": "embedded-chat", children: [
3502
3502
  slashWorkflows.launcher,
3503
3503
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex flex-col flex-1 min-h-0 overflow-hidden bg-muted/25", children: /* @__PURE__ */ jsxRuntime.jsx(
3504
3504
  "div",
@@ -3552,7 +3552,7 @@ function ConnectedCompactConversation({ attachments } = {}) {
3552
3552
  ) })
3553
3553
  }
3554
3554
  ) }),
3555
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "shrink-0 w-full border-t border-border bg-background px-3 py-2 z-10", children: /* @__PURE__ */ jsxRuntime.jsx(chunkZHLBTIJJ_cjs.ComposerContainer, { children: /* @__PURE__ */ jsxRuntime.jsx(
3555
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "shrink-0 w-full border-t border-border bg-background px-3 py-2 z-10", children: /* @__PURE__ */ jsxRuntime.jsx(chunkHS7TUDEM_cjs.ComposerContainer, { children: /* @__PURE__ */ jsxRuntime.jsx(
3556
3556
  ConversationComposer2,
3557
3557
  {
3558
3558
  handleSendMessage,
@@ -5497,7 +5497,7 @@ function EmbeddedWorkspaceHeader({ title }) {
5497
5497
  const signedIn = react.useArbiSession();
5498
5498
  const workspaceId = react.useArbiSessionState((s) => s.workspaceId);
5499
5499
  const { data: workspaces = [], isLoading, error: listError } = react.useWorkspaces();
5500
- const select = chunkAYDS47US_cjs.useSelectWorkspace();
5500
+ const select = chunkU4MJIYGD_cjs.useSelectWorkspace();
5501
5501
  const connection = chunkVWSOHZK2_cjs.useOptionalConnection();
5502
5502
  const [pending, setPending] = React6.useState(false);
5503
5503
  const [error, setError] = React6.useState(null);
@@ -5691,5 +5691,5 @@ exports.useRemoteControlHandlers = useRemoteControlHandlers;
5691
5691
  exports.useRemoteControlSessionReset = useRemoteControlSessionReset;
5692
5692
  exports.useSsoSignIn = useSsoSignIn;
5693
5693
  exports.useWorkspaceDocTitles = useWorkspaceDocTitles;
5694
- //# sourceMappingURL=chunk-CMNGI3KI.cjs.map
5695
- //# sourceMappingURL=chunk-CMNGI3KI.cjs.map
5694
+ //# sourceMappingURL=chunk-PGKCL6YA.cjs.map
5695
+ //# sourceMappingURL=chunk-PGKCL6YA.cjs.map