@arbidocs/blocks 0.5.129 → 0.5.130

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 (163) hide show
  1. package/dist/{ConnectedCallDock-XJOYVVAH.cjs → ConnectedCallDock-CJ7RWP5B.cjs} +12 -12
  2. package/dist/{ConnectedCallDock-XJOYVVAH.cjs.map → ConnectedCallDock-CJ7RWP5B.cjs.map} +1 -1
  3. package/dist/{ConnectedCallRoom-CUDYAPQK.cjs → ConnectedCallRoom-JPJCXP6X.cjs} +12 -12
  4. package/dist/{ConnectedCallRoom-CUDYAPQK.cjs.map → ConnectedCallRoom-JPJCXP6X.cjs.map} +1 -1
  5. package/dist/{ConnectedNativeDocxComparison-7KTAOUE3.cjs → ConnectedNativeDocxComparison-5TZAIR4V.cjs} +13 -13
  6. package/dist/{ConnectedNativeDocxComparison-7KTAOUE3.cjs.map → ConnectedNativeDocxComparison-5TZAIR4V.cjs.map} +1 -1
  7. package/dist/{ConnectedPresentation-SI3L77J4.cjs → ConnectedPresentation-SEUUNFUA.cjs} +13 -13
  8. package/dist/{ConnectedPresentation-SI3L77J4.cjs.map → ConnectedPresentation-SEUUNFUA.cjs.map} +1 -1
  9. package/dist/{ConnectedProductionSetDialog-4EAY6KAZ.cjs → ConnectedProductionSetDialog-LHB4VQWC.cjs} +3 -3
  10. package/dist/{ConnectedProductionSetDialog-4EAY6KAZ.cjs.map → ConnectedProductionSetDialog-LHB4VQWC.cjs.map} +1 -1
  11. package/dist/{ConnectedSlidesTab-E76OVY34.cjs → ConnectedSlidesTab-3ATAKNSJ.cjs} +13 -13
  12. package/dist/{ConnectedSlidesTab-E76OVY34.cjs.map → ConnectedSlidesTab-3ATAKNSJ.cjs.map} +1 -1
  13. package/dist/{ConnectedStreamedWordArtifact-J4MYBABA.cjs → ConnectedStreamedWordArtifact-BKPOMQ6G.cjs} +13 -13
  14. package/dist/{ConnectedStreamedWordArtifact-J4MYBABA.cjs.map → ConnectedStreamedWordArtifact-BKPOMQ6G.cjs.map} +1 -1
  15. package/dist/DocumentReviewCard-M53XFLI2.cjs +1 -1
  16. package/dist/{FilesViewerDialog-GGF4WMU4.cjs → FilesViewerDialog-EFRMXIM5.cjs} +27 -27
  17. package/dist/{FilesViewerDialog-GGF4WMU4.cjs.map → FilesViewerDialog-EFRMXIM5.cjs.map} +1 -1
  18. package/dist/{StreamedArtifactEditor-7KJ2HLLU.cjs → StreamedArtifactEditor-RSPUSZ2B.cjs} +5 -5
  19. package/dist/{StreamedArtifactEditor-7KJ2HLLU.cjs.map → StreamedArtifactEditor-RSPUSZ2B.cjs.map} +1 -1
  20. package/dist/{WorkspaceTableView-CUCTCA2O.cjs → WorkspaceTableView-QPROJRCF.cjs} +3 -3
  21. package/dist/{WorkspaceTableView-CUCTCA2O.cjs.map → WorkspaceTableView-QPROJRCF.cjs.map} +1 -1
  22. package/dist/agents/index.cjs +363 -363
  23. package/dist/agents/workflows/StepParts.d.ts +3 -0
  24. package/dist/agents/workflows/StepParts.js +20 -3
  25. package/dist/agents/workflows/StepParts.js.map +2 -2
  26. package/dist/agents/workflows/WorkflowStepAction.js +14 -3
  27. package/dist/agents/workflows/WorkflowStepAction.js.map +2 -2
  28. package/dist/agents/workflows/planSteps.js +6 -1
  29. package/dist/agents/workflows/planSteps.js.map +2 -2
  30. package/dist/agents/workflows/workflow.d.ts +11 -2
  31. package/dist/agents/workflows/workflow.js +16 -1
  32. package/dist/agents/workflows/workflow.js.map +2 -2
  33. package/dist/{ai-IEIR7SC2.cjs → ai-4XJ2VFNS.cjs} +24 -24
  34. package/dist/ai-4XJ2VFNS.cjs.map +1 -0
  35. package/dist/artifacts/VersionTimeline.d.ts +5 -1
  36. package/dist/artifacts/VersionTimeline.js +15 -0
  37. package/dist/artifacts/VersionTimeline.js.map +2 -2
  38. package/dist/artifacts/index.cjs +24 -24
  39. package/dist/calls/index.cjs +3 -3
  40. package/dist/chat/index.cjs +59 -59
  41. package/dist/{chunk-XF355M7O.cjs → chunk-2Z25MUAY.cjs} +17 -17
  42. package/dist/{chunk-XF355M7O.cjs.map → chunk-2Z25MUAY.cjs.map} +1 -1
  43. package/dist/{chunk-7JLJH5CW.cjs → chunk-5A6T4W46.cjs} +7 -7
  44. package/dist/{chunk-7JLJH5CW.cjs.map → chunk-5A6T4W46.cjs.map} +1 -1
  45. package/dist/{chunk-L4CIFLCU.cjs → chunk-7LEN65YI.cjs} +9 -9
  46. package/dist/{chunk-L4CIFLCU.cjs.map → chunk-7LEN65YI.cjs.map} +1 -1
  47. package/dist/{chunk-IDCD5TEZ.cjs → chunk-A6GBPE5E.cjs} +18 -18
  48. package/dist/{chunk-IDCD5TEZ.cjs.map → chunk-A6GBPE5E.cjs.map} +1 -1
  49. package/dist/{chunk-XGTMC54Q.cjs → chunk-AFXLRO6E.cjs} +4 -4
  50. package/dist/{chunk-XGTMC54Q.cjs.map → chunk-AFXLRO6E.cjs.map} +1 -1
  51. package/dist/{chunk-KNGZZC4O.cjs → chunk-B3BZ6MNI.cjs} +6 -6
  52. package/dist/{chunk-KNGZZC4O.cjs.map → chunk-B3BZ6MNI.cjs.map} +1 -1
  53. package/dist/{chunk-WAV762GP.cjs → chunk-DBN6GBRQ.cjs} +6 -6
  54. package/dist/{chunk-WAV762GP.cjs.map → chunk-DBN6GBRQ.cjs.map} +1 -1
  55. package/dist/{chunk-QGVOT7E4.cjs → chunk-EQTZQD66.cjs} +8 -8
  56. package/dist/{chunk-QGVOT7E4.cjs.map → chunk-EQTZQD66.cjs.map} +1 -1
  57. package/dist/{chunk-CNLIXB6S.cjs → chunk-ERRXU2HL.cjs} +3 -3
  58. package/dist/{chunk-CNLIXB6S.cjs.map → chunk-ERRXU2HL.cjs.map} +1 -1
  59. package/dist/{chunk-M2FOXGJU.cjs → chunk-F6CEPWIF.cjs} +7 -7
  60. package/dist/{chunk-M2FOXGJU.cjs.map → chunk-F6CEPWIF.cjs.map} +1 -1
  61. package/dist/{chunk-VWBYE3XY.cjs → chunk-FQRJCAT2.cjs} +6 -6
  62. package/dist/{chunk-VWBYE3XY.cjs.map → chunk-FQRJCAT2.cjs.map} +1 -1
  63. package/dist/{chunk-HH5RDNO5.cjs → chunk-GOQV6NOK.cjs} +74 -74
  64. package/dist/{chunk-HH5RDNO5.cjs.map → chunk-GOQV6NOK.cjs.map} +1 -1
  65. package/dist/{chunk-XCKHOXRP.cjs → chunk-H4ID6S4P.cjs} +6 -6
  66. package/dist/{chunk-XCKHOXRP.cjs.map → chunk-H4ID6S4P.cjs.map} +1 -1
  67. package/dist/{chunk-UFT22LAB.cjs → chunk-HBUHOCWF.cjs} +16 -16
  68. package/dist/{chunk-UFT22LAB.cjs.map → chunk-HBUHOCWF.cjs.map} +1 -1
  69. package/dist/{chunk-U7D6ZDR2.cjs → chunk-HORAMB52.cjs} +96 -36
  70. package/dist/chunk-HORAMB52.cjs.map +1 -0
  71. package/dist/{chunk-3IH55CDE.cjs → chunk-IZBAWZTB.cjs} +16 -2
  72. package/dist/chunk-IZBAWZTB.cjs.map +1 -0
  73. package/dist/{chunk-QRAQZTJE.cjs → chunk-JN5YMHGI.cjs} +18 -3
  74. package/dist/chunk-JN5YMHGI.cjs.map +1 -0
  75. package/dist/{chunk-LXFCED4Z.cjs → chunk-KWHGYHRC.cjs} +7 -7
  76. package/dist/{chunk-LXFCED4Z.cjs.map → chunk-KWHGYHRC.cjs.map} +1 -1
  77. package/dist/{chunk-EG7EJFUE.cjs → chunk-MHIG6GGS.cjs} +17 -2
  78. package/dist/chunk-MHIG6GGS.cjs.map +1 -0
  79. package/dist/{chunk-I3A6KKWY.cjs → chunk-MI3N3ZOT.cjs} +86 -76
  80. package/dist/chunk-MI3N3ZOT.cjs.map +1 -0
  81. package/dist/{chunk-ENOPKX7E.cjs → chunk-MXBXZXXQ.cjs} +3 -3
  82. package/dist/{chunk-ENOPKX7E.cjs.map → chunk-MXBXZXXQ.cjs.map} +1 -1
  83. package/dist/{chunk-7NLO7ASW.cjs → chunk-MXGXKUSW.cjs} +17 -17
  84. package/dist/{chunk-7NLO7ASW.cjs.map → chunk-MXGXKUSW.cjs.map} +1 -1
  85. package/dist/{chunk-ZCU72Q76.cjs → chunk-NM7RWZ4E.cjs} +10 -10
  86. package/dist/{chunk-ZCU72Q76.cjs.map → chunk-NM7RWZ4E.cjs.map} +1 -1
  87. package/dist/{chunk-NQML7IUC.cjs → chunk-OD6NGGL3.cjs} +134 -107
  88. package/dist/chunk-OD6NGGL3.cjs.map +1 -0
  89. package/dist/{chunk-TP5PGWIO.cjs → chunk-QFXOTJ6G.cjs} +20 -15
  90. package/dist/chunk-QFXOTJ6G.cjs.map +1 -0
  91. package/dist/{chunk-7L4X6QN2.cjs → chunk-QXMPATG6.cjs} +8 -8
  92. package/dist/{chunk-7L4X6QN2.cjs.map → chunk-QXMPATG6.cjs.map} +1 -1
  93. package/dist/{chunk-WXUU3COI.cjs → chunk-SUOHAB7N.cjs} +11 -11
  94. package/dist/{chunk-WXUU3COI.cjs.map → chunk-SUOHAB7N.cjs.map} +1 -1
  95. package/dist/{chunk-I7J3ED6P.cjs → chunk-TDA6KESI.cjs} +4 -4
  96. package/dist/{chunk-I7J3ED6P.cjs.map → chunk-TDA6KESI.cjs.map} +1 -1
  97. package/dist/{chunk-5GA65VBW.cjs → chunk-TZYB22FM.cjs} +9 -9
  98. package/dist/{chunk-5GA65VBW.cjs.map → chunk-TZYB22FM.cjs.map} +1 -1
  99. package/dist/{chunk-HSLPFBK2.cjs → chunk-VL7ZX4KQ.cjs} +6 -6
  100. package/dist/{chunk-HSLPFBK2.cjs.map → chunk-VL7ZX4KQ.cjs.map} +1 -1
  101. package/dist/{chunk-2F57IO7S.cjs → chunk-XCW6OY7E.cjs} +27 -27
  102. package/dist/{chunk-2F57IO7S.cjs.map → chunk-XCW6OY7E.cjs.map} +1 -1
  103. package/dist/{chunk-NG2EE7HR.cjs → chunk-YWHUWIHP.cjs} +9 -9
  104. package/dist/{chunk-NG2EE7HR.cjs.map → chunk-YWHUWIHP.cjs.map} +1 -1
  105. package/dist/connect/docx.cjs +16 -16
  106. package/dist/connect/index.cjs +1168 -416
  107. package/dist/connect/index.cjs.map +1 -1
  108. package/dist/connect/index.d.ts +2 -0
  109. package/dist/connect/index.js +12 -0
  110. package/dist/connect/index.js.map +2 -2
  111. package/dist/connect/viewer.cjs +16 -16
  112. package/dist/connection/ConnectedWorkflowBuilder.d.ts +12 -0
  113. package/dist/connection/ConnectedWorkflowBuilder.js +6 -1
  114. package/dist/connection/ConnectedWorkflowBuilder.js.map +2 -2
  115. package/dist/connection/assistant/AssistantDrafts.d.ts +21 -0
  116. package/dist/connection/assistant/AssistantDrafts.js +158 -0
  117. package/dist/connection/assistant/AssistantDrafts.js.map +7 -0
  118. package/dist/connection/assistant/AssistantPlan.d.ts +16 -0
  119. package/dist/connection/assistant/AssistantPlan.js +72 -0
  120. package/dist/connection/assistant/AssistantPlan.js.map +7 -0
  121. package/dist/connection/assistant/AssistantStatusPanel.d.ts +28 -0
  122. package/dist/connection/assistant/AssistantStatusPanel.js +206 -0
  123. package/dist/connection/assistant/AssistantStatusPanel.js.map +7 -0
  124. package/dist/connection/assistant/ConnectedAssistantPage.d.ts +39 -0
  125. package/dist/connection/assistant/ConnectedAssistantPage.js +377 -0
  126. package/dist/connection/assistant/ConnectedAssistantPage.js.map +7 -0
  127. package/dist/connection/conversation/AgentSteps.js +19 -2
  128. package/dist/connection/conversation/AgentSteps.js.map +2 -2
  129. package/dist/connection/viewer/ConnectedDocumentViewer.js +22 -2
  130. package/dist/connection/viewer/ConnectedDocumentViewer.js.map +2 -2
  131. package/dist/connection/viewer/useDocumentVersionRestore.d.ts +14 -0
  132. package/dist/connection/viewer/useDocumentVersionRestore.js +48 -0
  133. package/dist/connection/viewer/useDocumentVersionRestore.js.map +7 -0
  134. package/dist/connection/viewer/useViewerTabs.d.ts +1 -1
  135. package/dist/connection/viewer/useViewerTabs.js +6 -3
  136. package/dist/connection/viewer/useViewerTabs.js.map +2 -2
  137. package/dist/document-tools/VersionSnapshotBar.d.ts +4 -1
  138. package/dist/document-tools/VersionSnapshotBar.js +14 -0
  139. package/dist/document-tools/VersionSnapshotBar.js.map +2 -2
  140. package/dist/document-tools/index.cjs +13 -13
  141. package/dist/embed/index.cjs +25 -25
  142. package/dist/facts/index.cjs +43 -43
  143. package/dist/index.cjs +530 -530
  144. package/dist/office/index.cjs +5 -5
  145. package/dist/settings/index.cjs +1 -1
  146. package/dist/site/index.cjs +5 -5
  147. package/dist/studio/index.cjs +16 -16
  148. package/dist/styles.css +1 -1
  149. package/dist/workflow-canvas/TriggerInspector.d.ts +7 -0
  150. package/dist/workflow-canvas/TriggerInspector.js +56 -0
  151. package/dist/workflow-canvas/TriggerInspector.js.map +2 -2
  152. package/dist/workflow-canvas/index.cjs +142 -81
  153. package/dist/workflow-canvas/index.cjs.map +1 -1
  154. package/node_modules/@arbidocs/coedit/package.json +1 -1
  155. package/package.json +5 -5
  156. package/dist/ai-IEIR7SC2.cjs.map +0 -1
  157. package/dist/chunk-3IH55CDE.cjs.map +0 -1
  158. package/dist/chunk-EG7EJFUE.cjs.map +0 -1
  159. package/dist/chunk-I3A6KKWY.cjs.map +0 -1
  160. package/dist/chunk-NQML7IUC.cjs.map +0 -1
  161. package/dist/chunk-QRAQZTJE.cjs.map +0 -1
  162. package/dist/chunk-TP5PGWIO.cjs.map +0 -1
  163. package/dist/chunk-U7D6ZDR2.cjs.map +0 -1
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkXF355M7O_cjs = require('./chunk-XF355M7O.cjs');
5
- var chunk7NLO7ASW_cjs = require('./chunk-7NLO7ASW.cjs');
4
+ var chunk2Z25MUAY_cjs = require('./chunk-2Z25MUAY.cjs');
5
+ var chunkMXGXKUSW_cjs = require('./chunk-MXGXKUSW.cjs');
6
6
  var chunk7PN3YENO_cjs = require('./chunk-7PN3YENO.cjs');
7
7
  var chunkTJY7XPDE_cjs = require('./chunk-TJY7XPDE.cjs');
8
8
  var chunkXNW62J54_cjs = require('./chunk-XNW62J54.cjs');
9
- var chunkCNLIXB6S_cjs = require('./chunk-CNLIXB6S.cjs');
9
+ var chunkERRXU2HL_cjs = require('./chunk-ERRXU2HL.cjs');
10
10
  var chunkT73BHNQX_cjs = require('./chunk-T73BHNQX.cjs');
11
11
  var chunk223D4727_cjs = require('./chunk-223D4727.cjs');
12
12
  var chunkQQMMCXBP_cjs = require('./chunk-QQMMCXBP.cjs');
@@ -15,8 +15,8 @@ var chunkMZZ3SBQL_cjs = require('./chunk-MZZ3SBQL.cjs');
15
15
  var chunkNY3YUCOW_cjs = require('./chunk-NY3YUCOW.cjs');
16
16
  var chunk325GVZE6_cjs = require('./chunk-325GVZE6.cjs');
17
17
  var chunkORELHENJ_cjs = require('./chunk-ORELHENJ.cjs');
18
- var chunkTP5PGWIO_cjs = require('./chunk-TP5PGWIO.cjs');
19
- var chunk7JLJH5CW_cjs = require('./chunk-7JLJH5CW.cjs');
18
+ var chunkQFXOTJ6G_cjs = require('./chunk-QFXOTJ6G.cjs');
19
+ var chunk5A6T4W46_cjs = require('./chunk-5A6T4W46.cjs');
20
20
  var chunkV6C2MBFY_cjs = require('./chunk-V6C2MBFY.cjs');
21
21
  var chunkM74FWYNL_cjs = require('./chunk-M74FWYNL.cjs');
22
22
  var chunkVJCSEMXT_cjs = require('./chunk-VJCSEMXT.cjs');
@@ -25,16 +25,16 @@ var chunkJR2YSBD5_cjs = require('./chunk-JR2YSBD5.cjs');
25
25
  var chunk3YZKDCWY_cjs = require('./chunk-3YZKDCWY.cjs');
26
26
  var chunkZW6FPIFC_cjs = require('./chunk-ZW6FPIFC.cjs');
27
27
  var chunkJHDCDEXY_cjs = require('./chunk-JHDCDEXY.cjs');
28
- var chunkM2FOXGJU_cjs = require('./chunk-M2FOXGJU.cjs');
28
+ var chunkF6CEPWIF_cjs = require('./chunk-F6CEPWIF.cjs');
29
29
  var chunk5F4DCIHS_cjs = require('./chunk-5F4DCIHS.cjs');
30
30
  var chunkZ2XZ2D4N_cjs = require('./chunk-Z2XZ2D4N.cjs');
31
31
  var chunkMCXS6X37_cjs = require('./chunk-MCXS6X37.cjs');
32
32
  var chunk75BNMCUX_cjs = require('./chunk-75BNMCUX.cjs');
33
- var chunkHSLPFBK2_cjs = require('./chunk-HSLPFBK2.cjs');
34
- var chunkQGVOT7E4_cjs = require('./chunk-QGVOT7E4.cjs');
33
+ var chunkVL7ZX4KQ_cjs = require('./chunk-VL7ZX4KQ.cjs');
34
+ var chunkEQTZQD66_cjs = require('./chunk-EQTZQD66.cjs');
35
35
  var chunkIPSHAMO2_cjs = require('./chunk-IPSHAMO2.cjs');
36
- var chunkLJJJ6CYH_cjs = require('./chunk-LJJJ6CYH.cjs');
37
36
  var chunkTKHCIHE2_cjs = require('./chunk-TKHCIHE2.cjs');
37
+ var chunkLJJJ6CYH_cjs = require('./chunk-LJJJ6CYH.cjs');
38
38
  var jsxRuntime = require('react/jsx-runtime');
39
39
  var React6 = require('react');
40
40
  var client = require('@arbidocs/client');
@@ -1376,7 +1376,7 @@ var ConversationComposerComponent = function ConversationComposer({
1376
1376
  filteredItems,
1377
1377
  isOpen: isSlashMenuOpen,
1378
1378
  canBrowseSkills
1379
- } = chunkXF355M7O_cjs.useSlashItems(newMessage, skills ? chunk7JLJH5CW_cjs.BUILTIN_SKILLS : NO_SKILLS);
1379
+ } = chunk2Z25MUAY_cjs.useSlashItems(newMessage, skills ? chunk5A6T4W46_cjs.BUILTIN_SKILLS : NO_SKILLS);
1380
1380
  const insertSlashItem = (item) => {
1381
1381
  if (skills?.openFor(item)) {
1382
1382
  setNewMessage("");
@@ -1398,7 +1398,7 @@ var ConversationComposerComponent = function ConversationComposer({
1398
1398
  () => react.buildMentionCandidates(users ?? [], currentUserId, assistantName),
1399
1399
  [users, currentUserId, assistantName]
1400
1400
  );
1401
- const mention = chunkM2FOXGJU_cjs.useMentionAutocomplete({
1401
+ const mention = chunkF6CEPWIF_cjs.useMentionAutocomplete({
1402
1402
  value: newMessage,
1403
1403
  onValueChange: setNewMessage,
1404
1404
  candidates: mentionCandidates,
@@ -1451,14 +1451,14 @@ var ConversationComposerComponent = function ConversationComposer({
1451
1451
  if (recipient.hasBody) sendDraft();
1452
1452
  };
1453
1453
  return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsx(
1454
- chunkM2FOXGJU_cjs.Composer.Root,
1454
+ chunkF6CEPWIF_cjs.Composer.Root,
1455
1455
  {
1456
1456
  onSubmit: handleSubmit,
1457
1457
  formRef,
1458
1458
  isBranching,
1459
- notice: isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkM2FOXGJU_cjs.Composer.Notice, { onCancel: onCancelBranching }) : void 0,
1459
+ notice: isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkF6CEPWIF_cjs.Composer.Notice, { onCancel: onCancelBranching }) : void 0,
1460
1460
  children: /* @__PURE__ */ jsxRuntime.jsxs(
1461
- chunkM2FOXGJU_cjs.Composer.Frame,
1461
+ chunkF6CEPWIF_cjs.Composer.Frame,
1462
1462
  {
1463
1463
  className: compact ? "rounded-none border-0 px-0 py-0 shadow-none focus-within:shadow-none" : void 0,
1464
1464
  children: [
@@ -1486,7 +1486,7 @@ var ConversationComposerComponent = function ConversationComposer({
1486
1486
  }
1487
1487
  ),
1488
1488
  /* @__PURE__ */ jsxRuntime.jsx(
1489
- chunkM2FOXGJU_cjs.Composer.Input,
1489
+ chunkF6CEPWIF_cjs.Composer.Input,
1490
1490
  {
1491
1491
  value: newMessage,
1492
1492
  onValueChange: (next) => {
@@ -1512,7 +1512,7 @@ var ConversationComposerComponent = function ConversationComposer({
1512
1512
  }
1513
1513
  ),
1514
1514
  /* @__PURE__ */ jsxRuntime.jsx(
1515
- chunkM2FOXGJU_cjs.Composer.Toolbar,
1515
+ chunkF6CEPWIF_cjs.Composer.Toolbar,
1516
1516
  {
1517
1517
  className: compact ? "flex-nowrap" : void 0,
1518
1518
  leading: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -1578,7 +1578,7 @@ function getToolParams(detail) {
1578
1578
  return params;
1579
1579
  }
1580
1580
  function StepModelIcon({ modelName, tag }) {
1581
- const cfg = tag === "Premium" ? null : chunkTP5PGWIO_cjs.getModelIcon(modelName, tag);
1581
+ const cfg = tag === "Premium" ? null : chunkQFXOTJ6G_cjs.getModelIcon(modelName, tag);
1582
1582
  if (tag !== "Premium" && !cfg) return null;
1583
1583
  return /* @__PURE__ */ jsxRuntime.jsxs(ui.Tooltip, { children: [
1584
1584
  /* @__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 } }) }) }),
@@ -1596,6 +1596,16 @@ var AgentStepsComponent = ({
1596
1596
  }) => {
1597
1597
  const { data: userSettings } = react.useUserSettings();
1598
1598
  const isDeveloper = userSettings?.developer === true;
1599
+ const invalidateWorkflows = react.useInvalidateWorkflows();
1600
+ const createdWorkflow = steps.some((step) => browser.getStepTool(step) === "create_workflow");
1601
+ React6.useEffect(() => {
1602
+ if (createdWorkflow && !isStreaming) void invalidateWorkflows();
1603
+ }, [createdWorkflow, isStreaming]);
1604
+ const invalidateAssistant = react.useInvalidateAssistant();
1605
+ const setBrief = steps.some((step) => browser.getStepTool(step) === "set_assistant_brief");
1606
+ React6.useEffect(() => {
1607
+ if (setBrief && !isStreaming) void invalidateAssistant();
1608
+ }, [setBrief, isStreaming]);
1599
1609
  const { data: documents = [] } = react.useDocuments();
1600
1610
  const docInfo = React6.useMemo(() => {
1601
1611
  const map = {};
@@ -1693,15 +1703,15 @@ var AgentStepsComponent = ({
1693
1703
  const lastStepIndex = mergedSteps[mergedSteps.length - 1].index;
1694
1704
  const renderRow = (step, depth, isLastInList) => {
1695
1705
  const i = posByIndex.get(step.index);
1696
- const presentation = chunkTP5PGWIO_cjs.getAgentStepPresentation(step, docInfo);
1706
+ const presentation = chunkQFXOTJ6G_cjs.getAgentStepPresentation(step, docInfo);
1697
1707
  const { tool, Icon } = presentation;
1698
1708
  const { label, summary, isMultiLine, details } = browser.getStepDisplay(step, docInfo);
1699
- const accent = chunkTP5PGWIO_cjs.stepAccent(step, tool);
1709
+ const accent = chunkQFXOTJ6G_cjs.stepAccent(step, tool);
1700
1710
  const duration = stepDurations[i];
1701
1711
  const isLastStep = step.index === lastStepIndex;
1702
1712
  const isActive = step.index === currentStepIndex;
1703
1713
  const tier = step.step === "goal" ? step.model_recommendation : null;
1704
- const TierIcon = tier ? chunkTP5PGWIO_cjs.MODEL_TIER_ICON_MAP[tier] : null;
1714
+ const TierIcon = tier ? chunkQFXOTJ6G_cjs.MODEL_TIER_ICON_MAP[tier] : null;
1705
1715
  const useLiveDuration = isLastStep && liveTimer != null && step.t != null;
1706
1716
  const durationNode = useLiveDuration ? /* @__PURE__ */ jsxRuntime.jsx(
1707
1717
  MessageLiveSeconds,
@@ -1725,7 +1735,7 @@ var AgentStepsComponent = ({
1725
1735
  })) : null;
1726
1736
  const folded = childrenByParent.get(step.index);
1727
1737
  return /* @__PURE__ */ jsxRuntime.jsxs(
1728
- chunkTP5PGWIO_cjs.StepRow,
1738
+ chunkQFXOTJ6G_cjs.StepRow,
1729
1739
  {
1730
1740
  index: step.index,
1731
1741
  number: displayNumber.get(step.index) ?? String(i + 1),
@@ -1739,7 +1749,7 @@ var AgentStepsComponent = ({
1739
1749
  titleTestId: isActive ? "agent-expanded-current-step-description" : void 0,
1740
1750
  badge: TierIcon ? /* @__PURE__ */ jsxRuntime.jsxs(ui.Tooltip, { children: [
1741
1751
  /* @__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 }) }) }),
1742
- /* @__PURE__ */ jsxRuntime.jsx(ui.TooltipContent, { side: "top", children: chunkTP5PGWIO_cjs.MODEL_TIER_LABELS[tier] ?? tier })
1752
+ /* @__PURE__ */ jsxRuntime.jsx(ui.TooltipContent, { side: "top", children: chunkQFXOTJ6G_cjs.MODEL_TIER_LABELS[tier] ?? tier })
1743
1753
  ] }) : void 0,
1744
1754
  meta: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1745
1755
  isDeveloper && /* @__PURE__ */ jsxRuntime.jsx(StepModelIcon, { modelName: step.usage?.model, tag: getModelTag(step.usage?.model) }),
@@ -1754,11 +1764,11 @@ var AgentStepsComponent = ({
1754
1764
  summary && !isActive && (step.narration ? (
1755
1765
  /* Narration is PROSE (headings, bold, lists): render markdown, not raw asterisks.
1756
1766
  Tool summaries stay plain text: one-line headlines where a clamp matters. */
1757
- /* @__PURE__ */ jsxRuntime.jsx(chunkTP5PGWIO_cjs.StepNarration, { index: step.index, children: /* @__PURE__ */ jsxRuntime.jsx(chunkCNLIXB6S_cjs.ConnectedMarkdown, { isStreaming: false, children: summary }) })
1758
- ) : /* @__PURE__ */ jsxRuntime.jsx(chunkTP5PGWIO_cjs.StepSummary, { index: step.index, multiLine: isMultiLine, children: summary })),
1759
- details.map((d, di) => /* @__PURE__ */ jsxRuntime.jsx(chunkTP5PGWIO_cjs.StepDetail, { index: step.index, children: d }, di)),
1760
- showOutcome && /* @__PURE__ */ jsxRuntime.jsx(chunkTP5PGWIO_cjs.StepOutcome, { index: step.index, failed: outcomeFailed, children: step.outcome }),
1761
- toolParams.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkTP5PGWIO_cjs.StepParams, { children: toolParams.map((p) => `${p.key}=${p.value}`).join(" ") }),
1767
+ /* @__PURE__ */ jsxRuntime.jsx(chunkQFXOTJ6G_cjs.StepNarration, { index: step.index, children: /* @__PURE__ */ jsxRuntime.jsx(chunkERRXU2HL_cjs.ConnectedMarkdown, { isStreaming: false, children: summary }) })
1768
+ ) : /* @__PURE__ */ jsxRuntime.jsx(chunkQFXOTJ6G_cjs.StepSummary, { index: step.index, multiLine: isMultiLine, children: summary })),
1769
+ details.map((d, di) => /* @__PURE__ */ jsxRuntime.jsx(chunkQFXOTJ6G_cjs.StepDetail, { index: step.index, children: d }, di)),
1770
+ showOutcome && /* @__PURE__ */ jsxRuntime.jsx(chunkQFXOTJ6G_cjs.StepOutcome, { index: step.index, failed: outcomeFailed, children: step.outcome }),
1771
+ toolParams.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkQFXOTJ6G_cjs.StepParams, { children: toolParams.map((p) => `${p.key}=${p.value}`).join(" ") }),
1762
1772
  step.routing && /* @__PURE__ */ jsxRuntime.jsxs("details", { className: "mt-1 text-xs text-muted-foreground", "data-testid": "routing-details", children: [
1763
1773
  /* @__PURE__ */ jsxRuntime.jsx("summary", { className: "cursor-pointer", children: "Routing details" }),
1764
1774
  /* @__PURE__ */ jsxRuntime.jsxs("dl", { className: "mt-2 space-y-2", children: [
@@ -1810,9 +1820,9 @@ var AgentStepsComponent = ({
1810
1820
  ] })
1811
1821
  ] })
1812
1822
  ] }),
1813
- criteriaView && /* @__PURE__ */ jsxRuntime.jsx(chunkTP5PGWIO_cjs.GoalCriteria, { criteria: criteriaView }),
1823
+ criteriaView && /* @__PURE__ */ jsxRuntime.jsx(chunkQFXOTJ6G_cjs.GoalCriteria, { criteria: criteriaView }),
1814
1824
  folded && folded.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
1815
- chunkTP5PGWIO_cjs.SubStepGroup,
1825
+ chunkQFXOTJ6G_cjs.SubStepGroup,
1816
1826
  {
1817
1827
  parentIndex: step.index,
1818
1828
  summary: summariseSubSteps(folded),
@@ -1838,7 +1848,7 @@ var AgentStepsComponent = ({
1838
1848
  leftParts.push(`${browser.formatTokens(totalInputTokens)} in`);
1839
1849
  if (totalOutputTokens > 0) leftParts.push(`${browser.formatTokens(totalOutputTokens)} out`);
1840
1850
  summaryNode = /* @__PURE__ */ jsxRuntime.jsx(
1841
- chunkTP5PGWIO_cjs.StepTraceSummary,
1851
+ chunkQFXOTJ6G_cjs.StepTraceSummary,
1842
1852
  {
1843
1853
  left: leftParts.join(" \xB7 "),
1844
1854
  isNearBudget: browser.isNearAiUsageBudget(contextUsage),
@@ -1846,7 +1856,7 @@ var AgentStepsComponent = ({
1846
1856
  }
1847
1857
  );
1848
1858
  }
1849
- return /* @__PURE__ */ jsxRuntime.jsx(chunkTP5PGWIO_cjs.StepTrace, { className, summary: summaryNode, children: displayRows.map((row, i) => {
1859
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkQFXOTJ6G_cjs.StepTrace, { className, summary: summaryNode, children: displayRows.map((row, i) => {
1850
1860
  if (row.lane) {
1851
1861
  return /* @__PURE__ */ jsxRuntime.jsx(
1852
1862
  LaneBinding,
@@ -1883,7 +1893,7 @@ function LaneBinding({
1883
1893
  const running = !closed && isStreaming;
1884
1894
  const latest = inner[inner.length - 1];
1885
1895
  return /* @__PURE__ */ jsxRuntime.jsx(
1886
- chunkTP5PGWIO_cjs.SubAgentLane,
1896
+ chunkQFXOTJ6G_cjs.SubAgentLane,
1887
1897
  {
1888
1898
  handle,
1889
1899
  number,
@@ -1978,7 +1988,7 @@ function RunningSubagentsRoster({
1978
1988
  if (leafId) selectThread(leafId);
1979
1989
  };
1980
1990
  return /* @__PURE__ */ jsxRuntime.jsx(
1981
- chunkTP5PGWIO_cjs.SubagentRoster,
1991
+ chunkQFXOTJ6G_cjs.SubagentRoster,
1982
1992
  {
1983
1993
  lanes: rosterLanes,
1984
1994
  className,
@@ -2136,13 +2146,13 @@ function withAnswerTable(components) {
2136
2146
  }
2137
2147
  return merged;
2138
2148
  }
2139
- var renderMarkdown = ({ components, isStreaming, children }) => /* @__PURE__ */ jsxRuntime.jsx(chunkCNLIXB6S_cjs.ConnectedMarkdown, { components: withAnswerTable(components), isStreaming, children });
2149
+ var renderMarkdown = ({ components, isStreaming, children }) => /* @__PURE__ */ jsxRuntime.jsx(chunkERRXU2HL_cjs.ConnectedMarkdown, { components: withAnswerTable(components), isStreaming, children });
2140
2150
  function LinkInAnswer({ href, children, ...props }) {
2141
2151
  const docId = chunkZ2XZ2D4N_cjs.workspaceDocIdFromHref(href, chunkTKHCIHE2_cjs.useBlocksEnvironment().runtimeConfig.deploymentDomain);
2142
2152
  if (docId) {
2143
- return /* @__PURE__ */ jsxRuntime.jsx(chunkCNLIXB6S_cjs.InternalDocLink, { docId, href, ...props, children });
2153
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkERRXU2HL_cjs.InternalDocLink, { docId, href, ...props, children });
2144
2154
  }
2145
- return /* @__PURE__ */ jsxRuntime.jsx(chunkCNLIXB6S_cjs.ExternalLink, { href, ...props, children });
2155
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkERRXU2HL_cjs.ExternalLink, { href, ...props, children });
2146
2156
  }
2147
2157
  var ConnectedCitationRendererComponent = (props) => {
2148
2158
  const session = react.useArbiSessionStore();
@@ -2274,21 +2284,21 @@ function WorkflowStepMessage({
2274
2284
  const { conversations } = react.useConversationItems();
2275
2285
  const activity = react.useConversationActivity(conversationId ?? void 0, { live: true });
2276
2286
  const plan = conversations.find((c) => c.external_id === conversationId)?.plan;
2277
- const steps = chunkTP5PGWIO_cjs.fromPlanSteps(plan?.steps ?? []);
2287
+ const steps = chunkQFXOTJ6G_cjs.fromPlanSteps(plan?.steps ?? []);
2278
2288
  const found = steps.find((s) => s.id === step);
2279
- const states = chunkQGVOT7E4_cjs.stepStatesFromActivity(activity.data ?? []);
2289
+ const states = chunkEQTZQD66_cjs.stepStatesFromActivity(activity.data ?? []);
2280
2290
  const { data: documents = [] } = react.useDocuments();
2281
2291
  const { openDocument } = chunkTKHCIHE2_cjs.useBlocksEnvironment();
2282
- const ref = found ? chunkHSLPFBK2_cjs.stepDocuments(steps, states, step).at(-1) : void 0;
2283
- const docId = ref ? chunkQGVOT7E4_cjs.splitDocRef(ref).id : void 0;
2292
+ const ref = found ? chunkVL7ZX4KQ_cjs.stepDocuments(steps, states, step).at(-1) : void 0;
2293
+ const docId = ref ? chunkEQTZQD66_cjs.splitDocRef(ref).id : void 0;
2284
2294
  const doc = documents.find((d) => d.external_id === docId);
2285
2295
  return /* @__PURE__ */ jsxRuntime.jsx(
2286
- chunkM2FOXGJU_cjs.WorkflowStepChip,
2296
+ chunkF6CEPWIF_cjs.WorkflowStepChip,
2287
2297
  {
2288
2298
  step,
2289
2299
  title: found?.title,
2290
- kind: found ? chunkHSLPFBK2_cjs.stepKindOf(found) : void 0,
2291
- phase: found && activity.data ? chunkQGVOT7E4_cjs.stepPhase(steps, states, step) : void 0,
2300
+ kind: found ? chunkVL7ZX4KQ_cjs.stepKindOf(found) : void 0,
2301
+ phase: found && activity.data ? chunkEQTZQD66_cjs.stepPhase(steps, states, step) : void 0,
2292
2302
  document: docId ? {
2293
2303
  name: doc ? ui.getDocumentTitle(doc) : docId,
2294
2304
  onOpen: () => {
@@ -2445,7 +2455,7 @@ var MessageComponent = ({
2445
2455
  const isQueuedAnswer = !isUser && message.status === "queued" && !isGenerating;
2446
2456
  const isAwaitingAnswer = (isGenerating || isRunningOnServer) && !isStopped && !!message.pendingUserInput;
2447
2457
  const showWorkingIndicator = (isGenerating || isRunningOnServer) && !isQueuedAnswer && !responseContent.trim() && !linkedArtifact && !isAwaitingAnswer;
2448
- const workingStepLabel = showWorkingIndicator ? chunkTP5PGWIO_cjs.getCurrentAgentStepPresentation(message.agentSteps ?? [])?.description : void 0;
2458
+ const workingStepLabel = showWorkingIndicator ? chunkQFXOTJ6G_cjs.getCurrentAgentStepPresentation(message.agentSteps ?? [])?.description : void 0;
2449
2459
  const showEmptyAnswer = !isUser && !isGenerating && !isRunningOnServer && !isFailed && !isStopped && !responseContent.trim() && !linkedArtifact;
2450
2460
  const isEmptyStopped = isStopped && !responseContent.trim();
2451
2461
  const stoppedQuestion = React6.useMemo(() => {
@@ -2675,7 +2685,7 @@ var MessageComponent = ({
2675
2685
  const actions = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2676
2686
  branchControl,
2677
2687
  isUser ? /* @__PURE__ */ jsxRuntime.jsx(
2678
- chunkM2FOXGJU_cjs.MessageActionMenu,
2688
+ chunkF6CEPWIF_cjs.MessageActionMenu,
2679
2689
  {
2680
2690
  items: menuItems,
2681
2691
  heading: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -2686,7 +2696,7 @@ var MessageComponent = ({
2686
2696
  }
2687
2697
  ) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2688
2698
  /* @__PURE__ */ jsxRuntime.jsx(
2689
- chunkM2FOXGJU_cjs.MessageActionButton,
2699
+ chunkF6CEPWIF_cjs.MessageActionButton,
2690
2700
  {
2691
2701
  onClick: (e) => {
2692
2702
  e.stopPropagation();
@@ -2701,7 +2711,7 @@ var MessageComponent = ({
2701
2711
  }
2702
2712
  ),
2703
2713
  /* @__PURE__ */ jsxRuntime.jsx(
2704
- chunkM2FOXGJU_cjs.MessageActionButton,
2714
+ chunkF6CEPWIF_cjs.MessageActionButton,
2705
2715
  {
2706
2716
  onClick: (e) => {
2707
2717
  e.stopPropagation();
@@ -2714,7 +2724,7 @@ var MessageComponent = ({
2714
2724
  }
2715
2725
  ),
2716
2726
  /* @__PURE__ */ jsxRuntime.jsx(
2717
- chunkM2FOXGJU_cjs.MessageActionMenu,
2727
+ chunkF6CEPWIF_cjs.MessageActionMenu,
2718
2728
  {
2719
2729
  items: menuItems,
2720
2730
  heading: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -2732,7 +2742,7 @@ var MessageComponent = ({
2732
2742
  ] });
2733
2743
  const isBareStopped = isEmptyStopped && visibleStepCount === 0;
2734
2744
  const footer = settledForHeader && !isBareStopped && /* @__PURE__ */ jsxRuntime.jsx(
2735
- chunkM2FOXGJU_cjs.MessageFooter,
2745
+ chunkF6CEPWIF_cjs.MessageFooter,
2736
2746
  {
2737
2747
  role: messageRole,
2738
2748
  align: isOtherPerson ? "start" : "end",
@@ -2749,7 +2759,7 @@ var MessageComponent = ({
2749
2759
  },
2750
2760
  "data-testid": `message-model-${messageId}`,
2751
2761
  children: /* @__PURE__ */ jsxRuntime.jsx(
2752
- chunkTP5PGWIO_cjs.AssistantEntity,
2762
+ chunkQFXOTJ6G_cjs.AssistantEntity,
2753
2763
  {
2754
2764
  name: modelDisplayName,
2755
2765
  modelName,
@@ -2829,7 +2839,7 @@ var MessageComponent = ({
2829
2839
  );
2830
2840
  }
2831
2841
  return /* @__PURE__ */ jsxRuntime.jsx(chunkMZZ3SBQL_cjs.ErrorBoundary, { testId: "message-error-boundary", children: /* @__PURE__ */ jsxRuntime.jsxs(
2832
- chunkM2FOXGJU_cjs.MessageRoot,
2842
+ chunkF6CEPWIF_cjs.MessageRoot,
2833
2843
  {
2834
2844
  role: messageRole,
2835
2845
  messageId,
@@ -2837,15 +2847,15 @@ var MessageComponent = ({
2837
2847
  ...rest,
2838
2848
  children: [
2839
2849
  /* @__PURE__ */ jsxRuntime.jsxs(
2840
- chunkM2FOXGJU_cjs.MessageContent,
2850
+ chunkF6CEPWIF_cjs.MessageContent,
2841
2851
  {
2842
2852
  role: messageRole,
2843
2853
  messageId,
2844
2854
  align: isOtherPerson ? "start" : "end",
2845
2855
  children: [
2846
- startsAuthorRun && messageAuthorUser && /* @__PURE__ */ jsxRuntime.jsx(chunkM2FOXGJU_cjs.MessageAuthor, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk7PN3YENO_cjs.DocumentUser, { user: messageAuthorUser, variant: "pill" }) }),
2856
+ startsAuthorRun && messageAuthorUser && /* @__PURE__ */ jsxRuntime.jsx(chunkF6CEPWIF_cjs.MessageAuthor, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk7PN3YENO_cjs.DocumentUser, { user: messageAuthorUser, variant: "pill" }) }),
2847
2857
  /* @__PURE__ */ jsxRuntime.jsxs(
2848
- chunkM2FOXGJU_cjs.MessageBubble,
2858
+ chunkF6CEPWIF_cjs.MessageBubble,
2849
2859
  {
2850
2860
  ref: messageRef,
2851
2861
  role: messageRole,
@@ -2855,14 +2865,14 @@ var MessageComponent = ({
2855
2865
  className: isOtherPerson ? "border border-border bg-card" : void 0,
2856
2866
  children: [
2857
2867
  !isUser && isGenerating && /* @__PURE__ */ jsxRuntime.jsx(
2858
- chunkM2FOXGJU_cjs.MessageByline,
2868
+ chunkF6CEPWIF_cjs.MessageByline,
2859
2869
  {
2860
2870
  messageId,
2861
2871
  identity: (
2862
2872
  // Stays the ARBI identity while streaming: the model name arrives
2863
2873
  // with the first step that reports one and would swap the author
2864
2874
  // mid-answer. The model is shown in the footer once settled.
2865
- /* @__PURE__ */ jsxRuntime.jsx(chunkTP5PGWIO_cjs.AssistantEntity, { size: 16 })
2875
+ /* @__PURE__ */ jsxRuntime.jsx(chunkQFXOTJ6G_cjs.AssistantEntity, { size: 16 })
2866
2876
  ),
2867
2877
  timeLabel,
2868
2878
  isSettled: settledForHeader,
@@ -2870,9 +2880,9 @@ var MessageComponent = ({
2870
2880
  statusLabel
2871
2881
  }
2872
2882
  ),
2873
- subagentTaskRecord && /* @__PURE__ */ jsxRuntime.jsx(chunkM2FOXGJU_cjs.MessageSubagentBadge, { messageId }),
2874
- /* @__PURE__ */ jsxRuntime.jsxs(chunkM2FOXGJU_cjs.MessageBody, { messageId, children: [
2875
- settledNarration ? /* @__PURE__ */ jsxRuntime.jsx(chunkM2FOXGJU_cjs.MessageNarration, { messageId, children: /* @__PURE__ */ jsxRuntime.jsx(chunkCNLIXB6S_cjs.ConnectedMarkdown, { isStreaming: false, children: settledNarration }) }) : null,
2883
+ subagentTaskRecord && /* @__PURE__ */ jsxRuntime.jsx(chunkF6CEPWIF_cjs.MessageSubagentBadge, { messageId }),
2884
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkF6CEPWIF_cjs.MessageBody, { messageId, children: [
2885
+ settledNarration ? /* @__PURE__ */ jsxRuntime.jsx(chunkF6CEPWIF_cjs.MessageNarration, { messageId, children: /* @__PURE__ */ jsxRuntime.jsx(chunkERRXU2HL_cjs.ConnectedMarkdown, { isStreaming: false, children: settledNarration }) }) : null,
2876
2886
  liveContent ? role === "assistant" ? /* @__PURE__ */ jsxRuntime.jsx(
2877
2887
  ConnectedCitationRenderer,
2878
2888
  {
@@ -2882,7 +2892,7 @@ var MessageComponent = ({
2882
2892
  messageId: message.external_id || "unknown",
2883
2893
  isStreaming: isGenerating
2884
2894
  }
2885
- ) : /* @__PURE__ */ jsxRuntime.jsx(chunkCNLIXB6S_cjs.ConnectedMarkdown, { isStreaming: isGenerating, children: linkMentions(
2895
+ ) : /* @__PURE__ */ jsxRuntime.jsx(chunkERRXU2HL_cjs.ConnectedMarkdown, { isStreaming: isGenerating, children: linkMentions(
2886
2896
  isUser && liveContent.startsWith("/pa ") ? liveContent.slice(4) : liveContent,
2887
2897
  message.mentions
2888
2898
  ) }) : null,
@@ -3214,7 +3224,7 @@ function ConnectedMessageList({ messages, scrollElementRef }) {
3214
3224
  const isGenerating = react.useArbiSessionState((state) => state.generating[currentConversationId || ""]?.isGenerating) ?? false;
3215
3225
  const isLiveTurn = isGenerating && messages[messages.length - 1]?.isLoading === true;
3216
3226
  const lastMessage = displayMessages[displayMessages.length - 1];
3217
- const statusMessage = chunkM2FOXGJU_cjs.useStreamAnnouncement({
3227
+ const statusMessage = chunkF6CEPWIF_cjs.useStreamAnnouncement({
3218
3228
  isStreaming: isGenerating,
3219
3229
  text: lastMessage?.role === "assistant" ? chunkXNW62J54_cjs.stripThinking(lastMessage.content ?? "") : "",
3220
3230
  resetKey: currentConversationId
@@ -3227,7 +3237,7 @@ function ConnectedMessageList({ messages, scrollElementRef }) {
3227
3237
  React6.useEffect(() => {
3228
3238
  scrollContainerRef.current = scrollElementRef?.current ?? resolveScrollContainer(null);
3229
3239
  }, [scrollElementRef]);
3230
- const { items: activityItems } = chunk7NLO7ASW_cjs.useConnectedThreadActivity(currentConversationId);
3240
+ const { items: activityItems } = chunkMXGXKUSW_cjs.useConnectedThreadActivity(currentConversationId);
3231
3241
  const transcript = [
3232
3242
  ...displayMessages.map((message, index) => ({
3233
3243
  type: "message",
@@ -3304,29 +3314,29 @@ function ConnectedMessageList({ messages, scrollElementRef }) {
3304
3314
  chunkJHDCDEXY_cjs.flashMessage(target);
3305
3315
  session.setDeepLinkMessageId(null);
3306
3316
  }, [deepLinkMessageId, virtualItems, session]);
3307
- const status = /* @__PURE__ */ jsxRuntime.jsx(chunkM2FOXGJU_cjs.MessageList.Status, { message: statusMessage });
3317
+ const status = /* @__PURE__ */ jsxRuntime.jsx(chunkF6CEPWIF_cjs.MessageList.Status, { message: statusMessage });
3308
3318
  if (transcript.length === 0) {
3309
3319
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
3310
3320
  status,
3311
- /* @__PURE__ */ jsxRuntime.jsx(chunkM2FOXGJU_cjs.MessageList.Empty, {})
3321
+ /* @__PURE__ */ jsxRuntime.jsx(chunkF6CEPWIF_cjs.MessageList.Empty, {})
3312
3322
  ] });
3313
3323
  }
3314
3324
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
3315
3325
  status,
3316
- /* @__PURE__ */ jsxRuntime.jsxs(chunkM2FOXGJU_cjs.MessageList.Root, { isBusy: isGenerating, children: [
3317
- mainSiblingLeaf && /* @__PURE__ */ jsxRuntime.jsx(chunkM2FOXGJU_cjs.MessageList.Banner, { onBack: () => setParentMessageId(mainSiblingLeaf) }),
3318
- /* @__PURE__ */ jsxRuntime.jsx(chunkM2FOXGJU_cjs.MessageList.Rows, { totalSize: rowVirtualizer.getTotalSize(), children: virtualItems.map((virtualItem) => {
3326
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkF6CEPWIF_cjs.MessageList.Root, { isBusy: isGenerating, children: [
3327
+ mainSiblingLeaf && /* @__PURE__ */ jsxRuntime.jsx(chunkF6CEPWIF_cjs.MessageList.Banner, { onBack: () => setParentMessageId(mainSiblingLeaf) }),
3328
+ /* @__PURE__ */ jsxRuntime.jsx(chunkF6CEPWIF_cjs.MessageList.Rows, { totalSize: rowVirtualizer.getTotalSize(), children: virtualItems.map((virtualItem) => {
3319
3329
  const entry = transcript[virtualItem.index];
3320
3330
  if (entry.type === "activity") {
3321
3331
  return /* @__PURE__ */ jsxRuntime.jsx(
3322
- chunkM2FOXGJU_cjs.MessageList.Row,
3332
+ chunkF6CEPWIF_cjs.MessageList.Row,
3323
3333
  {
3324
3334
  ref: rowVirtualizer.measureElement,
3325
3335
  index: virtualItem.index,
3326
3336
  start: virtualItem.start,
3327
3337
  messageId: entry.id,
3328
3338
  setSize: transcript.length,
3329
- children: entry.item.card ?? /* @__PURE__ */ jsxRuntime.jsx(chunkTP5PGWIO_cjs.ThreadActivity, { item: entry.item, children: entry.item.onOpenDocument && /* @__PURE__ */ jsxRuntime.jsx(
3339
+ children: entry.item.card ?? /* @__PURE__ */ jsxRuntime.jsx(chunkQFXOTJ6G_cjs.ThreadActivity, { item: entry.item, children: entry.item.onOpenDocument && /* @__PURE__ */ jsxRuntime.jsx(
3330
3340
  "button",
3331
3341
  {
3332
3342
  className: "mt-1 hover:underline text-primary",
@@ -3342,7 +3352,7 @@ function ConnectedMessageList({ messages, scrollElementRef }) {
3342
3352
  const messageId = message.external_id;
3343
3353
  const branchPoint = messageId ? getBranchControlForMessage(messageId) : null;
3344
3354
  return /* @__PURE__ */ jsxRuntime.jsx(
3345
- chunkM2FOXGJU_cjs.MessageList.Row,
3355
+ chunkF6CEPWIF_cjs.MessageList.Row,
3346
3356
  {
3347
3357
  ref: rowVirtualizer.measureElement,
3348
3358
  index: virtualItem.index,
@@ -3373,7 +3383,7 @@ function ConnectedMessageList({ messages, scrollElementRef }) {
3373
3383
  message.external_id ?? `msg-${virtualItem.index}`
3374
3384
  );
3375
3385
  }) }),
3376
- isLiveTurn ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4", "aria-hidden": "true" }) : /* @__PURE__ */ jsxRuntime.jsx(chunkM2FOXGJU_cjs.MessageList.Tail, {})
3386
+ isLiveTurn ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4", "aria-hidden": "true" }) : /* @__PURE__ */ jsxRuntime.jsx(chunkF6CEPWIF_cjs.MessageList.Tail, {})
3377
3387
  ] }),
3378
3388
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedThreadsPreview, { open: previewOpen, onOpenChange: setPreviewOpen })
3379
3389
  ] });
@@ -3403,7 +3413,7 @@ function ConnectedCompactConversation({ attachments } = {}) {
3403
3413
  parentMessageId
3404
3414
  });
3405
3415
  const session = react.useArbiSessionStore();
3406
- const slashWorkflows = chunkXF355M7O_cjs.useSlashSkillWorkflows({ landing: "current-chat" });
3416
+ const slashWorkflows = chunk2Z25MUAY_cjs.useSlashSkillWorkflows({ landing: "current-chat" });
3407
3417
  react.useAutoSendDraft(sendDraft);
3408
3418
  const skills = React6.useMemo(() => ({ openFor: slashWorkflows.openFor }), [slashWorkflows.openFor]);
3409
3419
  const handleSendMessage = () => {
@@ -3486,7 +3496,7 @@ function ConnectedCompactConversation({ attachments } = {}) {
3486
3496
  ) })
3487
3497
  }
3488
3498
  ) }),
3489
- /* @__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(chunkM2FOXGJU_cjs.ComposerContainer, { children: /* @__PURE__ */ jsxRuntime.jsx(
3499
+ /* @__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(chunkF6CEPWIF_cjs.ComposerContainer, { children: /* @__PURE__ */ jsxRuntime.jsx(
3490
3500
  ConversationComposer2,
3491
3501
  {
3492
3502
  handleSendMessage,
@@ -5430,7 +5440,7 @@ function EmbeddedWorkspaceHeader({ title }) {
5430
5440
  const signedIn = react.useArbiSession();
5431
5441
  const workspaceId = react.useArbiSessionState((s) => s.workspaceId);
5432
5442
  const { data: workspaces = [], isLoading, error: listError } = react.useWorkspaces();
5433
- const select = chunk7NLO7ASW_cjs.useSelectWorkspace();
5443
+ const select = chunkMXGXKUSW_cjs.useSelectWorkspace();
5434
5444
  const connection = chunkJR2YSBD5_cjs.useOptionalConnection();
5435
5445
  const [pending, setPending] = React6.useState(false);
5436
5446
  const [error, setError] = React6.useState(null);
@@ -5623,5 +5633,5 @@ exports.useRemoteControlHandlers = useRemoteControlHandlers;
5623
5633
  exports.useRemoteControlSessionReset = useRemoteControlSessionReset;
5624
5634
  exports.useSsoSignIn = useSsoSignIn;
5625
5635
  exports.useWorkspaceDocTitles = useWorkspaceDocTitles;
5626
- //# sourceMappingURL=chunk-I3A6KKWY.cjs.map
5627
- //# sourceMappingURL=chunk-I3A6KKWY.cjs.map
5636
+ //# sourceMappingURL=chunk-MI3N3ZOT.cjs.map
5637
+ //# sourceMappingURL=chunk-MI3N3ZOT.cjs.map