@arbidocs/react 0.5.75 → 0.5.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -7,12 +7,12 @@ var chunk6RSVGLQY_cjs = require('./chunk-6RSVGLQY.cjs');
7
7
  var chunkQEVM3F5X_cjs = require('./chunk-QEVM3F5X.cjs');
8
8
  var chunkGQAXAZN7_cjs = require('./chunk-GQAXAZN7.cjs');
9
9
  var chunk5YGUBXXH_cjs = require('./chunk-5YGUBXXH.cjs');
10
- var chunkOY4PYCJH_cjs = require('./chunk-OY4PYCJH.cjs');
10
+ var chunkAXKHDLBB_cjs = require('./chunk-AXKHDLBB.cjs');
11
11
  var chunkDZUBZ45Y_cjs = require('./chunk-DZUBZ45Y.cjs');
12
12
  var chunkN73IMVFF_cjs = require('./chunk-N73IMVFF.cjs');
13
13
  var chunkZWFMFOGP_cjs = require('./chunk-ZWFMFOGP.cjs');
14
14
  require('./chunk-VOFNX4P6.cjs');
15
- var chunk3BFSALPC_cjs = require('./chunk-3BFSALPC.cjs');
15
+ var chunkIHKQPOPK_cjs = require('./chunk-IHKQPOPK.cjs');
16
16
  var chunkEEIYXVM4_cjs = require('./chunk-EEIYXVM4.cjs');
17
17
  var chunkOC7F5SNA_cjs = require('./chunk-OC7F5SNA.cjs');
18
18
  var chunkWYZJLZ67_cjs = require('./chunk-WYZJLZ67.cjs');
@@ -41,7 +41,7 @@ var ReactMarkdown__default = /*#__PURE__*/_interopDefault(ReactMarkdown);
41
41
  var Cropper__default = /*#__PURE__*/_interopDefault(Cropper);
42
42
 
43
43
  // src/host/index.ts
44
- var ArbiHost2 = chunkOY4PYCJH_cjs.ArbiHost;
44
+ var ArbiHost2 = chunkAXKHDLBB_cjs.ArbiHost;
45
45
  function useCurrentWorkspace() {
46
46
  const workspaceId = chunk6RSVGLQY_cjs.useArbiSessionState((s) => s.workspaceId);
47
47
  const workspaceStatus = chunk6RSVGLQY_cjs.useArbiSessionState((s) => s.workspaceStatus);
@@ -152,7 +152,7 @@ function useStartTaskQuery() {
152
152
  const arbi = chunk5YGUBXXH_cjs.useArbi();
153
153
  const queryClient = reactQuery.useQueryClient();
154
154
  const chatModel = chunk6RSVGLQY_cjs.useArbiSessionState((s) => s.chatModel);
155
- const post = reactQuery.useMutation({
155
+ const post2 = reactQuery.useMutation({
156
156
  mutationFn: (query) => {
157
157
  const selectedConfig = chatModel || queryClient.getQueriesData({ queryKey: chunkGQAXAZN7_cjs.arbiQueryKeys.userSettings() }).map(([, settings]) => settings?.last_config).find(Boolean);
158
158
  return arbi.assistant.submit(query.input, {
@@ -189,11 +189,11 @@ function useStartTaskQuery() {
189
189
  return { conversationId };
190
190
  };
191
191
  return {
192
- isPending: post.isPending,
192
+ isPending: post2.isPending,
193
193
  /** Look again for the thread of a run whose start threw {@link TaskThreadPendingError}. */
194
194
  findThread: (messageId) => lookUpThread(messageId, 1),
195
195
  start: async (query) => {
196
- const accepted = await post.mutateAsync(query);
196
+ const accepted = await post2.mutateAsync(query);
197
197
  const found = await lookUpThread(
198
198
  accepted.id,
199
199
  THREAD_LOOKUP_ATTEMPTS,
@@ -1337,13 +1337,16 @@ function useSetWorkspaceMemberRoles() {
1337
1337
 
1338
1338
  // src/chat/conversation-mentions.ts
1339
1339
  var ASSISTANT_MENTION_LABEL = "ARBI";
1340
+ function assistantLabels(assistantName = ASSISTANT_MENTION_LABEL) {
1341
+ return assistantName.toLowerCase() === ASSISTANT_MENTION_LABEL.toLowerCase() ? [assistantName] : [assistantName, ASSISTANT_MENTION_LABEL];
1342
+ }
1340
1343
  function useAssistantName() {
1341
1344
  return chunk5YGUBXXH_cjs.useArbiHost().assistantName?.trim() || ASSISTANT_MENTION_LABEL;
1342
1345
  }
1343
1346
  function useLinkMentions() {
1344
1347
  const assistantName = useAssistantName();
1345
1348
  return React.useCallback(
1346
- (content, mentions) => chunkOY4PYCJH_cjs.linkMentions(content, mentions, [assistantName]),
1349
+ (content, mentions) => chunkAXKHDLBB_cjs.linkMentions(content, mentions, [assistantName]),
1347
1350
  [assistantName]
1348
1351
  );
1349
1352
  }
@@ -1358,7 +1361,8 @@ function buildMentionCandidates(users, currentUserId, assistantName = ASSISTANT_
1358
1361
  }
1359
1362
  function cachedMentionCandidates(queryClient, workspaceId, currentUserId, assistantName = ASSISTANT_MENTION_LABEL) {
1360
1363
  const users = workspaceId && queryClient.getQueryData(chunkGQAXAZN7_cjs.arbiQueryKeys.workspaceUsers(workspaceId)) || [];
1361
- return buildMentionCandidates(users, currentUserId, assistantName);
1364
+ const aliases = assistantLabels(assistantName).slice(1).map((label) => ({ id: "assistant", kind: "assistant", label }));
1365
+ return [...buildMentionCandidates(users, currentUserId, assistantName), ...aliases];
1362
1366
  }
1363
1367
  function cachedAssistantMode(queryClient, conversationId, newMode) {
1364
1368
  if (!conversationId) return newMode;
@@ -1367,7 +1371,7 @@ function cachedAssistantMode(queryClient, conversationId, newMode) {
1367
1371
  return chunkPMHFLOXY_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
1368
1372
  }
1369
1373
  function isCommentToPeople(queryClient, conversationId, content, candidates) {
1370
- const mentioned = chunkOY4PYCJH_cjs.extractMentions(content, candidates);
1374
+ const mentioned = chunkAXKHDLBB_cjs.extractMentions(content, candidates);
1371
1375
  if (mentioned.some((c) => c.kind === "assistant")) return false;
1372
1376
  if (chunkPMHFLOXY_cjs.isConversationShared(queryClient, conversationId)) return true;
1373
1377
  if (mentioned.some((c) => c.kind === "user")) return true;
@@ -1595,11 +1599,11 @@ async function agentChatOwnerOf(queryClient, listAgents, conversationId) {
1595
1599
 
1596
1600
  // src/chat/thread-binding.ts
1597
1601
  function threadBinding(queryClient, conversationId) {
1598
- if (!conversationId) return chunkOY4PYCJH_cjs.UNBOUND;
1602
+ if (!conversationId) return chunkAXKHDLBB_cjs.UNBOUND;
1599
1603
  const row = chunkPMHFLOXY_cjs.findConversation(queryClient, conversationId);
1600
- if (row) return chunkOY4PYCJH_cjs.bindingOfRow(row);
1604
+ if (row) return chunkAXKHDLBB_cjs.bindingOfRow(row);
1601
1605
  const threads = queryClient.getQueryData(getThreadsQueryKey(conversationId));
1602
- return chunkOY4PYCJH_cjs.bindingOfRow(threads ? { external_id: conversationId, ...threads } : null);
1606
+ return chunkAXKHDLBB_cjs.bindingOfRow(threads ? { external_id: conversationId, ...threads } : null);
1603
1607
  }
1604
1608
  function boundDocumentOf(queryClient, state) {
1605
1609
  return state.conversationId ? threadBinding(queryClient, state.conversationId).documentId : state.newChatDocumentId;
@@ -1624,7 +1628,7 @@ async function bindThreadDocument(arbi, queryClient, conversationId, documentId)
1624
1628
  bound_document_ext_id: documentId
1625
1629
  });
1626
1630
  chunkPMHFLOXY_cjs.patchConversation(queryClient, conversationId, saved);
1627
- cacheThreadBinding(queryClient, conversationId, chunkOY4PYCJH_cjs.bindingOfRow(saved));
1631
+ cacheThreadBinding(queryClient, conversationId, chunkAXKHDLBB_cjs.bindingOfRow(saved));
1628
1632
  } catch (error) {
1629
1633
  cacheThreadBinding(queryClient, conversationId, before);
1630
1634
  throw error;
@@ -1636,14 +1640,14 @@ function adoptNewChatDocument(session, queryClient, conversationId, documentId =
1636
1640
  if (session.getState().newChatDocumentId === documentId) session.setNewChatDocumentId(null);
1637
1641
  }
1638
1642
  async function migrateLegacyThreadDocuments(arbi, queryClient, conversations) {
1639
- const legacy = chunkOY4PYCJH_cjs.readLegacyThreadDocuments();
1643
+ const legacy = chunkAXKHDLBB_cjs.readLegacyThreadDocuments();
1640
1644
  const listed = conversations.filter(
1641
1645
  (c) => c.external_id in legacy && "bound_document_unavailable" in c
1642
1646
  );
1643
1647
  if (listed.length === 0) return;
1644
1648
  await Promise.all(
1645
1649
  listed.map(async (row) => {
1646
- const server = chunkOY4PYCJH_cjs.bindingOfRow(row);
1650
+ const server = chunkAXKHDLBB_cjs.bindingOfRow(row);
1647
1651
  if (server.documentId || server.unavailable) return;
1648
1652
  try {
1649
1653
  await bindThreadDocument(arbi, queryClient, row.external_id, legacy[row.external_id]);
@@ -1651,7 +1655,7 @@ async function migrateLegacyThreadDocuments(arbi, queryClient, conversations) {
1651
1655
  }
1652
1656
  })
1653
1657
  );
1654
- chunkOY4PYCJH_cjs.forgetLegacyThreadDocuments(listed.map((c) => c.external_id));
1658
+ chunkAXKHDLBB_cjs.forgetLegacyThreadDocuments(listed.map((c) => c.external_id));
1655
1659
  }
1656
1660
  function resolveReplyTarget(queryClient, conversationId, parentId) {
1657
1661
  if (!parentId) return null;
@@ -2268,7 +2272,7 @@ function useOpenViewerDocumentId() {
2268
2272
  // src/documents/document-download.ts
2269
2273
  function fallbackFileName(doc) {
2270
2274
  if (doc.file_name) return doc.file_name;
2271
- const title = chunk3BFSALPC_cjs.getDocumentTitle(doc, `document-${doc.external_id}`);
2275
+ const title = chunkIHKQPOPK_cjs.getDocumentTitle(doc, `document-${doc.external_id}`);
2272
2276
  const extension = doc.file_type || "pdf";
2273
2277
  const ext = extension.startsWith(".") ? extension : `.${extension}`;
2274
2278
  return title.toLowerCase().endsWith(ext.toLowerCase()) ? title : `${title}${ext}`;
@@ -2276,11 +2280,11 @@ function fallbackFileName(doc) {
2276
2280
  var COLUMN_MAPPING = {
2277
2281
  file_name: {
2278
2282
  header: "File Name",
2279
- getValue: (d) => d.file_name || chunk3BFSALPC_cjs.getDocumentTitle(d, `document-${d.external_id}.pdf`)
2283
+ getValue: (d) => d.file_name || chunkIHKQPOPK_cjs.getDocumentTitle(d, `document-${d.external_id}.pdf`)
2280
2284
  },
2281
- title: { header: "Title", getValue: (d) => chunk3BFSALPC_cjs.getDocumentTitle(d) },
2285
+ title: { header: "Title", getValue: (d) => chunkIHKQPOPK_cjs.getDocumentTitle(d) },
2282
2286
  n_pages: { header: "Pages", getValue: (d) => d.n_pages || "" },
2283
- doc_date: { header: "Document Date", getValue: (d) => chunk3BFSALPC_cjs.getDocumentDate(d) || "" },
2287
+ doc_date: { header: "Document Date", getValue: (d) => chunkIHKQPOPK_cjs.getDocumentDate(d) || "" },
2284
2288
  doc_id: { header: "Document ID", getValue: (d) => d.external_id },
2285
2289
  status: { header: "Status", getValue: (d) => d.status || "" },
2286
2290
  uploaded: { header: "Upload Date", getValue: (d) => d.created_at || "" },
@@ -2342,7 +2346,7 @@ function useDownloadDocuments({ workspaceName } = {}) {
2342
2346
  downloaded.push(doc);
2343
2347
  } catch (error) {
2344
2348
  console.error(`Failed to download document ${doc.external_id}:`, error);
2345
- failedDocs.push(chunk3BFSALPC_cjs.getDocumentTitle(doc, doc.external_id));
2349
+ failedDocs.push(chunkIHKQPOPK_cjs.getDocumentTitle(doc, doc.external_id));
2346
2350
  }
2347
2351
  }
2348
2352
  const successCount = downloaded.length;
@@ -2626,7 +2630,7 @@ function DocumentReview({
2626
2630
  findings.length ? ` \xB7 ${findings.length} findings` : ""
2627
2631
  ] })
2628
2632
  ] }),
2629
- status ? /* @__PURE__ */ jsxRuntime.jsx(chunk3BFSALPC_cjs.Badge, { variant: "secondary", children: status }) : null,
2633
+ status ? /* @__PURE__ */ jsxRuntime.jsx(chunkIHKQPOPK_cjs.Badge, { variant: "secondary", children: status }) : null,
2630
2634
  onClose ? /* @__PURE__ */ jsxRuntime.jsx(
2631
2635
  "button",
2632
2636
  {
@@ -2663,7 +2667,7 @@ function DocumentReview({
2663
2667
  className: "w-full cursor-pointer rounded-md border p-2 text-left text-xs transition hover:border-ring hover:bg-muted/50 focus:outline-none focus-visible:ring-2 focus-visible:ring-ring",
2664
2668
  children: [
2665
2669
  /* @__PURE__ */ jsxRuntime.jsx(
2666
- chunk3BFSALPC_cjs.TagEntity,
2670
+ chunkIHKQPOPK_cjs.TagEntity,
2667
2671
  {
2668
2672
  size: "sm",
2669
2673
  tag: {
@@ -2715,7 +2719,7 @@ function DocumentReview({
2715
2719
  ),
2716
2720
  children: [
2717
2721
  highlighted ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1", children: /* @__PURE__ */ jsxRuntime.jsx(
2718
- chunk3BFSALPC_cjs.TagEntity,
2722
+ chunkIHKQPOPK_cjs.TagEntity,
2719
2723
  {
2720
2724
  size: "sm",
2721
2725
  tag: {
@@ -2744,7 +2748,7 @@ function VoiceNoteRecorder({
2744
2748
  isSaving = false,
2745
2749
  transcribe
2746
2750
  }) {
2747
- const recorder = chunk3BFSALPC_cjs.useAudioRecorder();
2751
+ const recorder = chunkIHKQPOPK_cjs.useAudioRecorder();
2748
2752
  const [transcript, setTranscript] = React.useState(null);
2749
2753
  const [isTranscribing, setIsTranscribing] = React.useState(false);
2750
2754
  React.useEffect(() => {
@@ -2790,7 +2794,7 @@ function VoiceNoteRecorder({
2790
2794
  ] }),
2791
2795
  (recorder.state === "recording" || recorder.state === "paused") && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2792
2796
  /* @__PURE__ */ jsxRuntime.jsx(
2793
- chunk3BFSALPC_cjs.MicWaveformIndicator,
2797
+ chunkIHKQPOPK_cjs.MicWaveformIndicator,
2794
2798
  {
2795
2799
  level: recorder.level,
2796
2800
  elapsedMs: recorder.elapsedMs,
@@ -2912,7 +2916,7 @@ function DraftTitleControls({
2912
2916
  }
2913
2917
  ),
2914
2918
  /* @__PURE__ */ jsxRuntime.jsx(
2915
- chunk3BFSALPC_cjs.IconToggle,
2919
+ chunkIHKQPOPK_cjs.IconToggle,
2916
2920
  {
2917
2921
  icon: lucideReact.Sparkles,
2918
2922
  isActive: autoRename,
@@ -2946,7 +2950,7 @@ function useCameraStream(constraints = { video: true, audio: false }) {
2946
2950
  streamRef.current = media;
2947
2951
  setStream(media);
2948
2952
  } catch (err) {
2949
- setError(chunk3BFSALPC_cjs.classifyMediaError(err, "camera"));
2953
+ setError(chunkIHKQPOPK_cjs.classifyMediaError(err, "camera"));
2950
2954
  } finally {
2951
2955
  setIsStarting(false);
2952
2956
  }
@@ -3182,7 +3186,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
3182
3186
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative inline-flex h-2 w-2 rounded-full bg-red-500" })
3183
3187
  ] }),
3184
3188
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-semibold uppercase tracking-wide text-red-500", children: "Rec" }),
3185
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunk3BFSALPC_cjs.formatElapsed(recorder.elapsedMs) })
3189
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunkIHKQPOPK_cjs.formatElapsed(recorder.elapsedMs) })
3186
3190
  ] }),
3187
3191
  recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsx(
3188
3192
  chunkWYZJLZ67_cjs.Button,
@@ -3926,7 +3930,7 @@ function usePendingSyncItems() {
3926
3930
  return React.useMemo(() => {
3927
3931
  const docNameById = /* @__PURE__ */ new Map();
3928
3932
  for (const doc of documents2 ?? [])
3929
- docNameById.set(doc.external_id, chunk3BFSALPC_cjs.getDocumentTitle(doc, doc.file_name ?? ""));
3933
+ docNameById.set(doc.external_id, chunkIHKQPOPK_cjs.getDocumentTitle(doc, doc.file_name ?? ""));
3930
3934
  const tagNameById = /* @__PURE__ */ new Map();
3931
3935
  for (const tag of tags ?? []) tagNameById.set(tag.external_id, tag.name);
3932
3936
  return raw.map((r) => buildPendingSyncItem(r, docNameById, tagNameById));
@@ -4063,12 +4067,12 @@ async function keepDocumentsOffline(client$1, docs) {
4063
4067
  const keypair = await client.getUserEncryptionKeypair();
4064
4068
  if (!keypair) throw new Error("Could not derive an encryption key for the offline copy.");
4065
4069
  for (const doc of docs) {
4066
- const original = chunk3BFSALPC_cjs.usesOriginalBytesForViewer(doc.file_name);
4070
+ const original = chunkIHKQPOPK_cjs.usesOriginalBytesForViewer(doc.file_name);
4067
4071
  const blob = original ? await chunkQEVM3F5X_cjs.fetchDocumentFile(client$1, doc.external_id) : await chunkQEVM3F5X_cjs.fetchDocumentPdf(client$1, doc.external_id);
4068
4072
  const plain = new Uint8Array(await blob.arrayBuffer());
4069
4073
  await putOfflineDocument({
4070
4074
  docExtId: doc.external_id,
4071
- fileName: chunk3BFSALPC_cjs.getDocumentTitle(doc, "document"),
4075
+ fileName: chunkIHKQPOPK_cjs.getDocumentTitle(doc, "document"),
4072
4076
  kind: original ? "original" : "pdf",
4073
4077
  data: client.base64ToBytes(client.sealedBoxEncrypt(plain, keypair.publicKey)),
4074
4078
  contentType: blob.type,
@@ -4119,11 +4123,17 @@ function useRemoveDocumentsOffline() {
4119
4123
 
4120
4124
  // src/chat/sibling-tabs.ts
4121
4125
  var SIBLING_TABS_CHANNEL = "arbi:conversation-messages";
4122
- var channel;
4123
- function tabChannel() {
4124
- if (channel === void 0)
4125
- channel = typeof BroadcastChannel === "undefined" ? null : new BroadcastChannel(SIBLING_TABS_CHANNEL);
4126
- return channel;
4126
+ var channel = null;
4127
+ var listeners = 0;
4128
+ function post(message) {
4129
+ if (typeof BroadcastChannel === "undefined") return;
4130
+ if (channel) {
4131
+ channel.postMessage(message);
4132
+ return;
4133
+ }
4134
+ const once = new BroadcastChannel(SIBLING_TABS_CHANNEL);
4135
+ once.postMessage(message);
4136
+ once.close();
4127
4137
  }
4128
4138
  function announceToSiblingTabs(userId, conversationId, messageId) {
4129
4139
  if (!userId || !messageId || !conversationId || conversationId === "new") return;
@@ -4134,14 +4144,16 @@ function announceToSiblingTabs(userId, conversationId, messageId) {
4134
4144
  user_ext_id: userId
4135
4145
  };
4136
4146
  try {
4137
- tabChannel()?.postMessage(message);
4147
+ post(message);
4138
4148
  } catch {
4139
4149
  }
4140
4150
  }
4141
4151
  function listenToSiblingTabs(me, onMessage) {
4142
- const ch = tabChannel();
4143
- if (!ch) return () => {
4152
+ if (typeof BroadcastChannel === "undefined") return () => {
4144
4153
  };
4154
+ channel ??= new BroadcastChannel(SIBLING_TABS_CHANNEL);
4155
+ const ch = channel;
4156
+ listeners += 1;
4145
4157
  const listener = (event) => {
4146
4158
  const data = event.data;
4147
4159
  if (data?.type !== "conversation.message_posted" || !data.conversation_ext_id || !data.message_ext_id)
@@ -4151,12 +4163,29 @@ function listenToSiblingTabs(me, onMessage) {
4151
4163
  onMessage(data);
4152
4164
  };
4153
4165
  ch.addEventListener("message", listener);
4154
- return () => ch.removeEventListener("message", listener);
4166
+ let listening = true;
4167
+ return () => {
4168
+ if (!listening) return;
4169
+ listening = false;
4170
+ ch.removeEventListener("message", listener);
4171
+ listeners -= 1;
4172
+ if (listeners === 0 && channel === ch) {
4173
+ ch.close();
4174
+ channel = null;
4175
+ }
4176
+ };
4155
4177
  }
4156
4178
 
4157
4179
  // src/chat/stream-handlers.ts
4158
4180
  var MIN_NARRATION_DWELL_MS = 4e3;
4159
4181
  var FIRST_TOKEN_MEASURE = "arbi:send-message:first-token";
4182
+ function announceTurnEnded(userId, streamState) {
4183
+ if (streamState.endAnnounced) return;
4184
+ const messageId = streamState.assistantId ?? streamState.userMessageId;
4185
+ if (!messageId) return;
4186
+ streamState.endAnnounced = true;
4187
+ announceToSiblingTabs(userId, streamState.conversationId, messageId);
4188
+ }
4160
4189
  function createStreamHandlers(ctx, params) {
4161
4190
  const { queryClient, session, host } = ctx;
4162
4191
  const { streamState, parentMessageId, parentId } = params;
@@ -4471,6 +4500,7 @@ function createStreamHandlers(ctx, params) {
4471
4500
  if (streamState.assistantId) {
4472
4501
  markMessageAsFailed(queryClient, streamState.conversationId, streamState.assistantId);
4473
4502
  }
4503
+ announceTurnEnded(ctx.userId(), streamState);
4474
4504
  };
4475
4505
  const handleComplete = () => {
4476
4506
  console.debug("[SSE] Stream complete");
@@ -4481,7 +4511,7 @@ function createStreamHandlers(ctx, params) {
4481
4511
  });
4482
4512
  }
4483
4513
  flushStreamingTokens(queryClient);
4484
- tellOtherTabs(streamState.assistantId);
4514
+ announceTurnEnded(ctx.userId(), streamState);
4485
4515
  if (streamState.assistantId) {
4486
4516
  session.clearAgentControl(streamState.assistantId);
4487
4517
  }
@@ -4670,10 +4700,10 @@ function useConversationActions({
4670
4700
  const convId = conversationId === void 0 ? state.conversationId : conversationId;
4671
4701
  const { newConversationAssistantMode } = state;
4672
4702
  const candidates = mentionCandidates();
4673
- const mentioned = chunkOY4PYCJH_cjs.extractMentions(content, candidates);
4703
+ const mentioned = chunkAXKHDLBB_cjs.extractMentions(content, candidates);
4674
4704
  const assistantMode = cachedAssistantMode(queryClient, convId, newConversationAssistantMode);
4675
4705
  const isComment = isCommentToPeople(queryClient, convId, content, candidates);
4676
- const mentions = chunkOY4PYCJH_cjs.toMessageMentions(mentioned);
4706
+ const mentions = chunkAXKHDLBB_cjs.toMessageMentions(mentioned);
4677
4707
  if (!isComment && assistantMode === "mentioned" && !mentions.some((m) => m.type === "assistant")) {
4678
4708
  mentions.push({ type: "assistant" });
4679
4709
  }
@@ -4781,7 +4811,7 @@ function useConversationActions({
4781
4811
  const resolvedConfigId = newConfigId || (agentExtId ? void 0 : lastConfigId);
4782
4812
  const isPaMode = !agentExtId && state.paMode;
4783
4813
  const threadDocumentId = boundDocumentOf(queryClient, { ...state, conversationId: convId });
4784
- const activeArtifactExtId = isPaMode ? null : chunkOY4PYCJH_cjs.takeDocumentForTurn({
4814
+ const activeArtifactExtId = isPaMode ? null : chunkAXKHDLBB_cjs.takeDocumentForTurn({
4785
4815
  boundDocumentId: threadDocumentId,
4786
4816
  conversationId: convId,
4787
4817
  workspaceId: turnWorkspaceId
@@ -4909,6 +4939,7 @@ function useConversationActions({
4909
4939
  }
4910
4940
  });
4911
4941
  flushStreamingTokens(queryClient);
4942
+ announceTurnEnded(signedInUserId(arbi) ?? "", streamState);
4912
4943
  if (queuedContinuation && !streamState.hasStreamStarted) {
4913
4944
  if (streamState.queuedFailed) failQueuedContinuation(queryClient, session, streamState);
4914
4945
  return;
@@ -4978,6 +5009,7 @@ function useConversationActions({
4978
5009
  }
4979
5010
  if (streamState.isStopped() || isAbort) {
4980
5011
  console.debug("Message sending was aborted by user");
5012
+ announceTurnEnded(signedInUserId(arbi) ?? "", streamState);
4981
5013
  clearLoadingState(queryClient, streamState.conversationId);
4982
5014
  void queryClient.invalidateQueries({
4983
5015
  queryKey: getThreadsQueryKey(streamState.conversationId)
@@ -5046,7 +5078,8 @@ function useConversationActions({
5046
5078
  const handleSendMessage = React.useCallback(
5047
5079
  async (options) => {
5048
5080
  const currentMessage = chunk6RSVGLQY_cjs.selectDraft(session.getState()).trim();
5049
- if (!selectedWorkspaceId || !chunkOY4PYCJH_cjs.hasMessageBody(currentMessage)) return;
5081
+ if (!selectedWorkspaceId || !chunkAXKHDLBB_cjs.hasMessageBody(currentMessage, assistantLabels(assistantName)))
5082
+ return;
5050
5083
  session.setSuggestedQuery(null);
5051
5084
  if (refuseChatWhenOffline()) return;
5052
5085
  if (isGenerating) {
@@ -6338,6 +6371,71 @@ function useAnswerAgentQuestion() {
6338
6371
  [arbi, queryClient]
6339
6372
  );
6340
6373
  }
6374
+ var TITLE_MAX = 50;
6375
+ function useConversationSettings() {
6376
+ const session = chunk6RSVGLQY_cjs.useArbiSessionStore();
6377
+ const conversationId = chunk6RSVGLQY_cjs.useArbiSessionState((s) => s.conversationId);
6378
+ const chatModel = chunk6RSVGLQY_cjs.useArbiSessionState((s) => s.chatModel);
6379
+ const parentMessageId = chunk6RSVGLQY_cjs.useArbiSessionState((s) => s.cursor);
6380
+ const currentUser = chunk6RSVGLQY_cjs.useArbiSession().user;
6381
+ const { messageHistory } = useConversationData();
6382
+ const { conversations } = useConversationItems();
6383
+ const { data: userSettings } = chunkPMHFLOXY_cjs.useUserSettings();
6384
+ const parentMessage = messageHistory?.find((m) => m.external_id === parentMessageId);
6385
+ const configToLoad = chatModel || parentMessage?.config_ext_id || userSettings?.last_config || "default";
6386
+ const { data: activeConfig } = chunk6RSVGLQY_cjs.useConfig(configToLoad);
6387
+ const { refetch: refetchSystemDefaults } = chunk6RSVGLQY_cjs.useConfig("default");
6388
+ const conversation = conversations.find((c) => c.external_id === conversationId);
6389
+ const isOwner = !!conversation && conversation.created_by_ext_id === currentUser?.external_id;
6390
+ const isShared = conversation?.is_shared ?? false;
6391
+ const [title, setTitle] = React.useState("");
6392
+ React.useEffect(() => {
6393
+ setTitle(conversation?.title || "");
6394
+ }, [conversation?.title]);
6395
+ React.useEffect(() => {
6396
+ if (isFullConfig(activeConfig)) session.setChatModelName(resolveConfigModel(activeConfig));
6397
+ }, [activeConfig, configToLoad]);
6398
+ const update = useUpdateConversation();
6399
+ const pending = update.isPending ? update.variables?.patch : void 0;
6400
+ const saveTitle = React.useCallback(() => {
6401
+ const trimmed = title.trim();
6402
+ if (!conversationId || !isOwner || !trimmed || trimmed.length > TITLE_MAX) return;
6403
+ if (trimmed === conversation?.title) return;
6404
+ update.mutate({ conversationId, patch: { title: trimmed } });
6405
+ }, [conversationId, isOwner, title, conversation?.title, update]);
6406
+ const setShared = React.useCallback(
6407
+ (shared) => {
6408
+ if (!conversationId || !isOwner || isShared === shared) return;
6409
+ update.mutate({ conversationId, patch: { shared } });
6410
+ },
6411
+ [conversationId, isOwner, isShared, update]
6412
+ );
6413
+ const share = React.useCallback(() => setShared(true), [setShared]);
6414
+ const unshare = React.useCallback(() => setShared(false), [setShared]);
6415
+ const resetToDefaults = React.useCallback(async () => {
6416
+ try {
6417
+ const { data } = await refetchSystemDefaults();
6418
+ session.setChatModel(void 0);
6419
+ if (isFullConfig(data)) session.setChatModelName(resolveConfigModel(data));
6420
+ } catch (error) {
6421
+ console.error("Failed to reset to system defaults:", error);
6422
+ }
6423
+ }, [refetchSystemDefaults, session]);
6424
+ return {
6425
+ /** No message yet: nothing to title or share. */
6426
+ isNewConversation: !parentMessageId,
6427
+ title,
6428
+ setTitle,
6429
+ isOwner,
6430
+ isShared,
6431
+ isSavingTitle: pending !== void 0 && "title" in pending,
6432
+ isSharing: pending !== void 0 && "shared" in pending,
6433
+ saveTitle,
6434
+ share,
6435
+ unshare,
6436
+ resetToDefaults
6437
+ };
6438
+ }
6341
6439
  function useAskAgain(options) {
6342
6440
  const session = chunk6RSVGLQY_cjs.useArbiSessionStore();
6343
6441
  const optionsRef = React.useRef(options);
@@ -6754,22 +6852,8 @@ function createMailClient(fetch2, overrides = {}) {
6754
6852
  };
6755
6853
  }
6756
6854
  function arbiMailClient(arbi) {
6757
- let unlocking = null;
6758
- const unlockNative = () => {
6759
- unlocking ??= arbi.mail.unlockNative().finally(() => {
6760
- unlocking = null;
6761
- });
6762
- return unlocking;
6763
- };
6764
- const fetch2 = async (path, init = {}) => {
6765
- if (path.startsWith("/accounts/native/") && (init.method ?? "GET") !== "POST")
6766
- await unlockNative();
6767
- return arbi.mail.fetch(path, init);
6768
- };
6769
- return createMailClient(fetch2, {
6770
- unlock: async (account) => {
6771
- if (account.provider === "native") await unlockNative();
6772
- }
6855
+ return createMailClient((path, init) => arbi.mail.fetch(path, init), {
6856
+ unlock: (account) => arbi.mail.unlockAccount(account)
6773
6857
  });
6774
6858
  }
6775
6859
  async function fileAttachment(file) {
@@ -7224,6 +7308,9 @@ function useArbiWsContext() {
7224
7308
  }
7225
7309
  return ctx;
7226
7310
  }
7311
+ function signedInId(arbi) {
7312
+ return arbi.isLoggedIn ? arbi.user.identity()?.externalId ?? null : null;
7313
+ }
7227
7314
  var EVICTED_CLOSE_CODE = 1008;
7228
7315
  function ArbiWebSocketProvider({
7229
7316
  enabled = true,
@@ -7264,7 +7351,7 @@ function ArbiWebSocketProvider({
7264
7351
  let conn = null;
7265
7352
  let cancelled = false;
7266
7353
  let evicted = false;
7267
- const me = () => arbiRef.current.isLoggedIn ? arbiRef.current.user.identity()?.externalId ?? null : null;
7354
+ const me = () => signedInId(arbiRef.current);
7268
7355
  const onMessage = (msg) => {
7269
7356
  const type = msg.type;
7270
7357
  if (type === "connection_closed") {
@@ -7375,7 +7462,7 @@ function ArbiWebSocketProvider({
7375
7462
  React.useEffect(() => {
7376
7463
  if (!enabled) return;
7377
7464
  return listenToSiblingTabs(
7378
- () => arbiRef.current.isLoggedIn ? arbiRef.current.user.identity()?.externalId ?? null : null,
7465
+ () => signedInId(arbiRef.current),
7379
7466
  (message) => void applyConversationEvent(queryClient, message)
7380
7467
  );
7381
7468
  }, [enabled, queryClient]);
@@ -7460,7 +7547,7 @@ function createWorkspaceSwitch({
7460
7547
  if (isSame && workspaceStatus === "open") return true;
7461
7548
  const listed = listedWorkspace(queryClient, target.id);
7462
7549
  const name = target.name || listed?.name || "";
7463
- const noun = chunk3BFSALPC_cjs.getEntityLabel("WORKSPACE");
7550
+ const noun = chunkIHKQPOPK_cjs.getEntityLabel("WORKSPACE");
7464
7551
  if (listed?.archive) {
7465
7552
  chunkDZUBZ45Y_cjs.notify.info(archivedWorkspaceMessage(name));
7466
7553
  return false;
@@ -8995,7 +9082,7 @@ function createDocumentsSource(labels) {
8995
9082
  updated: d.updated_at ?? null,
8996
9083
  documentDate: d.doc_metadata?.doc_date ?? null,
8997
9084
  status: d.status ?? null,
8998
- type: chunk3BFSALPC_cjs.friendlyFileType(d.file_type, d.file_name) || null,
9085
+ type: chunkIHKQPOPK_cjs.friendlyFileType(d.file_type, d.file_name) || null,
8999
9086
  folder: d.folder || null,
9000
9087
  nature: d.doc_metadata?.doc_nature ?? null,
9001
9088
  author: d.doc_metadata?.doc_author ?? null,
@@ -11865,7 +11952,7 @@ function AiAnswer({
11865
11952
  }
11866
11953
  ),
11867
11954
  hasText && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
11868
- /* @__PURE__ */ jsxRuntime.jsx(chunk3BFSALPC_cjs.AiMarkdown, { isStreaming: running, children: text2 }),
11955
+ /* @__PURE__ */ jsxRuntime.jsx(chunkIHKQPOPK_cjs.AiMarkdown, { isStreaming: running, children: text2 }),
11869
11956
  !running && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-t border-border pt-2.5", children: [
11870
11957
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs text-muted-foreground", children: [
11871
11958
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ShieldCheck, { className: "size-3.5 text-ai-accent" }),
@@ -11910,7 +11997,7 @@ function AiActionCard({
11910
11997
  const p = typeof prompt === "function" ? prompt() : prompt;
11911
11998
  void task.run(p, docIds);
11912
11999
  };
11913
- return /* @__PURE__ */ jsxRuntime.jsxs(chunk3BFSALPC_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
12000
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkIHKQPOPK_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
11914
12001
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
11915
12002
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
11916
12003
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-9 shrink-0 items-center justify-center rounded-lg bg-ai-accent-soft text-ai-accent", children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "size-4" }) }),
@@ -12052,11 +12139,11 @@ function ArtifactCanvas({
12052
12139
  children: active.title
12053
12140
  }
12054
12141
  ),
12055
- isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunk3BFSALPC_cjs.Badge, { variant: "accent", className: "gap-1", children: [
12142
+ isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunkIHKQPOPK_cjs.Badge, { variant: "accent", className: "gap-1", children: [
12056
12143
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.GitCompareArrows, { className: "size-3" }),
12057
12144
  " Redline"
12058
12145
  ] }),
12059
- /* @__PURE__ */ jsxRuntime.jsxs(chunk3BFSALPC_cjs.Badge, { variant: "secondary", children: [
12146
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkIHKQPOPK_cjs.Badge, { variant: "secondary", children: [
12060
12147
  "v",
12061
12148
  active.version
12062
12149
  ] }),
@@ -12112,7 +12199,7 @@ function ArtifactCanvas({
12112
12199
  animate: { opacity: 1, y: 0 },
12113
12200
  transition: { duration: 0.2 },
12114
12201
  className: "mx-auto max-w-2xl rounded-lg bg-card p-8 shadow-sm ring-1 ring-border",
12115
- children: active.mode === "html" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm", dangerouslySetInnerHTML: { __html: active.content } }) : active.mode === "text" ? /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap font-mono text-xs text-foreground", children: active.content }) : /* @__PURE__ */ jsxRuntime.jsx(chunk3BFSALPC_cjs.AiMarkdown, { children: active.content })
12202
+ children: active.mode === "html" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm", dangerouslySetInnerHTML: { __html: active.content } }) : active.mode === "text" ? /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap font-mono text-xs text-foreground", children: active.content }) : /* @__PURE__ */ jsxRuntime.jsx(chunkIHKQPOPK_cjs.AiMarkdown, { children: active.content })
12116
12203
  },
12117
12204
  active.doc_ext_id
12118
12205
  ) }) })
@@ -12156,7 +12243,7 @@ function MessageArtifactCard({
12156
12243
  const labels = labelsFor(mode);
12157
12244
  const Icon = labels.Icon;
12158
12245
  return /* @__PURE__ */ jsxRuntime.jsxs(
12159
- chunk3BFSALPC_cjs.Card,
12246
+ chunkIHKQPOPK_cjs.Card,
12160
12247
  {
12161
12248
  variant: "outline",
12162
12249
  className: "mt-3 flex items-center gap-3 px-3 py-2.5",
@@ -12197,7 +12284,7 @@ var IDLE = {
12197
12284
  };
12198
12285
  function useSemanticSearch(docIds = [], options = {}) {
12199
12286
  const arbi = chunk5YGUBXXH_cjs.useArbi();
12200
- const [ownSession] = React.useState(chunkOY4PYCJH_cjs.createSearchSession);
12287
+ const [ownSession] = React.useState(chunkAXKHDLBB_cjs.createSearchSession);
12201
12288
  const session = options.session ?? ownSession;
12202
12289
  const { model, workspaceId } = options;
12203
12290
  const state = React.useSyncExternalStore(session.subscribe, session.getState, session.getState);
@@ -12206,7 +12293,7 @@ function useSemanticSearch(docIds = [], options = {}) {
12206
12293
  if (!workspaceId) return;
12207
12294
  const current = session.getState().workspaceId;
12208
12295
  if (current !== workspaceId) {
12209
- if (current) chunkOY4PYCJH_cjs.clearSearchSession(workspaceId, session);
12296
+ if (current) chunkAXKHDLBB_cjs.clearSearchSession(workspaceId, session);
12210
12297
  else session.setState({ workspaceId });
12211
12298
  }
12212
12299
  }, [session, workspaceId]);
@@ -12214,7 +12301,7 @@ function useSemanticSearch(docIds = [], options = {}) {
12214
12301
  async (query, mode = "hybrid") => {
12215
12302
  const trimmed = query.trim();
12216
12303
  if (!trimmed) {
12217
- chunkOY4PYCJH_cjs.clearSearchSession(void 0, session);
12304
+ chunkAXKHDLBB_cjs.clearSearchSession(void 0, session);
12218
12305
  return;
12219
12306
  }
12220
12307
  const run = session.getState().run + 1;
@@ -12245,7 +12332,7 @@ function useSemanticSearch(docIds = [], options = {}) {
12245
12332
  },
12246
12333
  [arbi, docIds, model, session, workspaceId]
12247
12334
  );
12248
- const clear = React.useCallback(() => chunkOY4PYCJH_cjs.clearSearchSession(void 0, session), [session]);
12335
+ const clear = React.useCallback(() => chunkAXKHDLBB_cjs.clearSearchSession(void 0, session), [session]);
12249
12336
  const shown = foreign ? IDLE : state;
12250
12337
  return {
12251
12338
  query: shown.query,
@@ -12303,7 +12390,7 @@ function DocSearch({
12303
12390
  status === "done" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", "data-testid": "doc-search-results", children: [
12304
12391
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: results.length === 0 ? `No passages matched \u201C${query}\u201D.` : `${results.length} passage${results.length === 1 ? "" : "s"} for \u201C${query}\u201D` }),
12305
12392
  results.slice(0, 8).map((r, i) => /* @__PURE__ */ jsxRuntime.jsxs(
12306
- chunk3BFSALPC_cjs.Card,
12393
+ chunkIHKQPOPK_cjs.Card,
12307
12394
  {
12308
12395
  variant: "elevated",
12309
12396
  className: chunkS6A6FSG7_cjs.cn(
@@ -12316,7 +12403,7 @@ function DocSearch({
12316
12403
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-1 flex items-center gap-2", children: [
12317
12404
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 text-ai-accent" }),
12318
12405
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: r.docTitle || "Document" }),
12319
- r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunk3BFSALPC_cjs.Badge, { variant: "secondary", children: [
12406
+ r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkIHKQPOPK_cjs.Badge, { variant: "secondary", children: [
12320
12407
  "p.",
12321
12408
  r.page
12322
12409
  ] }),
@@ -12353,7 +12440,7 @@ Question: ${question}`,
12353
12440
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 space-y-3", "data-testid": "doc-qa", children: [
12354
12441
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
12355
12442
  /* @__PURE__ */ jsxRuntime.jsx(
12356
- chunk3BFSALPC_cjs.Input,
12443
+ chunkIHKQPOPK_cjs.Input,
12357
12444
  {
12358
12445
  value: q,
12359
12446
  onChange: (e) => setQ(e.target.value),
@@ -12577,7 +12664,7 @@ var CitationPopover = ({
12577
12664
  return () => {
12578
12665
  if (!restoreFocusRef.current) return;
12579
12666
  restoreFocusRef.current = false;
12580
- if (triggerRef.current) chunk3BFSALPC_cjs.returnFocusToMark(triggerRef.current);
12667
+ if (triggerRef.current) chunkIHKQPOPK_cjs.returnFocusToMark(triggerRef.current);
12581
12668
  };
12582
12669
  }, [open]);
12583
12670
  React.useEffect(() => {
@@ -12779,7 +12866,7 @@ var CitationLink = ({
12779
12866
  triggerRef,
12780
12867
  children
12781
12868
  }) => /* @__PURE__ */ jsxRuntime.jsxs(
12782
- chunk3BFSALPC_cjs.MarkMenu,
12869
+ chunkIHKQPOPK_cjs.MarkMenu,
12783
12870
  {
12784
12871
  triggerRef,
12785
12872
  items,
@@ -12820,8 +12907,8 @@ var FileIcon = ({ size = 16, className = "" }) => {
12820
12907
  "path",
12821
12908
  {
12822
12909
  d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
12823
- fill: chunk3BFSALPC_cjs.FILE_TYPE_COLORS.generic,
12824
- stroke: chunk3BFSALPC_cjs.FILE_TYPE_COLORS.generic,
12910
+ fill: chunkIHKQPOPK_cjs.FILE_TYPE_COLORS.generic,
12911
+ stroke: chunkIHKQPOPK_cjs.FILE_TYPE_COLORS.generic,
12825
12912
  strokeWidth: "1",
12826
12913
  strokeLinecap: "round",
12827
12914
  strokeLinejoin: "round"
@@ -12832,7 +12919,7 @@ var FileIcon = ({ size = 16, className = "" }) => {
12832
12919
  {
12833
12920
  d: "M14 2v6h6",
12834
12921
  fill: "none",
12835
- stroke: chunk3BFSALPC_cjs.FILE_TYPE_COLORS.white,
12922
+ stroke: chunkIHKQPOPK_cjs.FILE_TYPE_COLORS.white,
12836
12923
  strokeWidth: "1",
12837
12924
  strokeLinecap: "round",
12838
12925
  strokeLinejoin: "round"
@@ -12971,7 +13058,7 @@ var ArbiBotIcon = ({ size = 24, className = "" }) => {
12971
13058
  );
12972
13059
  };
12973
13060
  function getNotificationTypeMeta(type) {
12974
- const WorkspaceIcon = chunk3BFSALPC_cjs.getEntityIcon("WORKSPACE");
13061
+ const WorkspaceIcon = chunkIHKQPOPK_cjs.getEntityIcon("WORKSPACE");
12975
13062
  switch (type) {
12976
13063
  case "agent_input_requested":
12977
13064
  return { Icon: lucideReact.MessageCircleMore, iconClassName: "text-primary", label: "Input needed" };
@@ -13106,7 +13193,7 @@ function describeActivity(content) {
13106
13193
  }
13107
13194
  default:
13108
13195
  return {
13109
- Icon: parsed.workspace_ext_id ? chunk3BFSALPC_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
13196
+ Icon: parsed.workspace_ext_id ? chunkIHKQPOPK_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
13110
13197
  iconClassName: "text-muted-foreground",
13111
13198
  title: humaniseEvent(parsed.event)
13112
13199
  };
@@ -13693,7 +13780,7 @@ function serverNotificationBellEntry(n, { open, workspaceHref, calendarTimeZone,
13693
13780
  title,
13694
13781
  variant,
13695
13782
  href: target?.kind === "workspace" ? workspaceHref?.(target.workspaceId) : void 0,
13696
- ...target && target.kind !== "workspace" && { actionLabel, onSelect: () => open(target) }
13783
+ ...target && { actionLabel: actionLabel ?? "Open", onSelect: () => open(target) }
13697
13784
  };
13698
13785
  }
13699
13786
 
@@ -13717,7 +13804,7 @@ function DmAvatar({ user, className, size = "lg" }) {
13717
13804
  const presence = chunkRDERZWMO_cjs.useArbiWsStore((s) => s.presence[user.external_id]);
13718
13805
  const displayStatus = presence === void 0 ? void 0 : presence === "online" ? "connected" : "disconnected";
13719
13806
  return /* @__PURE__ */ jsxRuntime.jsx(
13720
- chunk3BFSALPC_cjs.UserEntity,
13807
+ chunkIHKQPOPK_cjs.UserEntity,
13721
13808
  {
13722
13809
  variant: "icon",
13723
13810
  size,
@@ -13727,7 +13814,7 @@ function DmAvatar({ user, className, size = "lg" }) {
13727
13814
  initials: userInitials(user),
13728
13815
  displayName: userDisplayName(user),
13729
13816
  picture: user.picture,
13730
- avatarStyle: chunk3BFSALPC_cjs.getEntityColorStyles(user.external_id),
13817
+ avatarStyle: chunkIHKQPOPK_cjs.getEntityColorStyles(user.external_id),
13731
13818
  isAgent: isAgentUser(user),
13732
13819
  displayStatus
13733
13820
  }
@@ -13783,10 +13870,10 @@ function ConversationList({
13783
13870
  children: c.title ?? userDisplayName(peer)
13784
13871
  }
13785
13872
  ),
13786
- c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunk3BFSALPC_cjs.AgentBadge, {}) : null)
13873
+ c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunkIHKQPOPK_cjs.AgentBadge, {}) : null)
13787
13874
  ] }),
13788
13875
  c.statusLabel ? /* @__PURE__ */ jsxRuntime.jsx(
13789
- chunk3BFSALPC_cjs.Badge,
13876
+ chunkIHKQPOPK_cjs.Badge,
13790
13877
  {
13791
13878
  variant: "outline",
13792
13879
  className: "shrink-0 rounded-full px-2 py-0 text-xs font-medium text-muted-foreground",
@@ -13797,7 +13884,7 @@ function ConversationList({
13797
13884
  // shouted louder than the message it was counting.
13798
13885
  // Enough to catch the eye scanning the list, no more.
13799
13886
  /* @__PURE__ */ jsxRuntime.jsx(
13800
- chunk3BFSALPC_cjs.Badge,
13887
+ chunkIHKQPOPK_cjs.Badge,
13801
13888
  {
13802
13889
  variant: "accent",
13803
13890
  className: chunkS6A6FSG7_cjs.cn(
@@ -14018,7 +14105,7 @@ function DmComposer({
14018
14105
  )
14019
14106
  ] }),
14020
14107
  /* @__PURE__ */ jsxRuntime.jsx(
14021
- chunk3BFSALPC_cjs.Textarea,
14108
+ chunkIHKQPOPK_cjs.Textarea,
14022
14109
  {
14023
14110
  ref: inputRef,
14024
14111
  value: draft,
@@ -14173,7 +14260,7 @@ function useChatPost() {
14173
14260
  const arbi = chunk5YGUBXXH_cjs.useArbi();
14174
14261
  const queryClient = reactQuery.useQueryClient();
14175
14262
  return React.useCallback(
14176
- async (target, post) => {
14263
+ async (target, post2) => {
14177
14264
  const me = chunkPMHFLOXY_cjs.myChatId(arbi);
14178
14265
  if (!me) throw new Error("No active session");
14179
14266
  let chat = target.chat;
@@ -14186,7 +14273,7 @@ function useChatPost() {
14186
14273
  (old) => old ?? { messages: [], hasMore: false }
14187
14274
  );
14188
14275
  }
14189
- const files = post.files ?? [];
14276
+ const files = post2.files ?? [];
14190
14277
  const optimisticId = `optimistic-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`;
14191
14278
  const now = (/* @__PURE__ */ new Date()).toISOString();
14192
14279
  const optimistic = {
@@ -14194,11 +14281,11 @@ function useChatPost() {
14194
14281
  chat_ext_id: chat.external_id,
14195
14282
  sender_ext_id: me,
14196
14283
  kind: "text",
14197
- content: post.text,
14284
+ content: post2.text,
14198
14285
  key_version: chat.key_version,
14199
14286
  deleted: false,
14200
- context_only: !!post.contextOnly,
14201
- workspace_ext_id: post.workspaceExtId ?? null,
14287
+ context_only: !!post2.contextOnly,
14288
+ workspace_ext_id: post2.workspaceExtId ?? null,
14202
14289
  created_at: now,
14203
14290
  updated_at: now,
14204
14291
  optimistic: true
@@ -14218,10 +14305,10 @@ function useChatPost() {
14218
14305
  )
14219
14306
  );
14220
14307
  }
14221
- const message = await arbi.chats.send(chat, post.text, {
14308
+ const message = await arbi.chats.send(chat, post2.text, {
14222
14309
  attachments,
14223
- ...post.workspaceExtId ? { workspaceExtId: post.workspaceExtId } : {},
14224
- contextOnly: !!post.contextOnly
14310
+ ...post2.workspaceExtId ? { workspaceExtId: post2.workspaceExtId } : {},
14311
+ contextOnly: !!post2.contextOnly
14225
14312
  });
14226
14313
  chunkPMHFLOXY_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
14227
14314
  chunkPMHFLOXY_cjs.upsertChat(queryClient, {
@@ -14419,7 +14506,7 @@ function ImageCropper({
14419
14506
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
14420
14507
  /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Zoom" }),
14421
14508
  /* @__PURE__ */ jsxRuntime.jsx(
14422
- chunk3BFSALPC_cjs.Slider,
14509
+ chunkIHKQPOPK_cjs.Slider,
14423
14510
  {
14424
14511
  value: [zoom],
14425
14512
  onValueChange: ([v]) => setZoom(v ?? 1),
@@ -14726,17 +14813,12 @@ function useCommandPalette() {
14726
14813
  if (!v) throw new Error("useCommandPalette must be used within a CommandPaletteProvider");
14727
14814
  return v;
14728
14815
  }
14729
- function CommandPaletteProvider({
14730
- children,
14731
- hotkey = true,
14732
- ...paletteProps
14733
- }) {
14816
+ function CommandPaletteProvider({ children, ...paletteProps }) {
14734
14817
  const [isOpen, setIsOpen] = React.useState(false);
14735
14818
  const open = React.useCallback(() => setIsOpen(true), []);
14736
14819
  const close = React.useCallback(() => setIsOpen(false), []);
14737
14820
  const toggle = React.useCallback(() => setIsOpen((o) => !o), []);
14738
14821
  React.useEffect(() => {
14739
- if (!hotkey) return;
14740
14822
  const onKey = (e) => {
14741
14823
  if ((e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "k") {
14742
14824
  e.preventDefault();
@@ -14745,7 +14827,7 @@ function CommandPaletteProvider({
14745
14827
  };
14746
14828
  window.addEventListener("keydown", onKey);
14747
14829
  return () => window.removeEventListener("keydown", onKey);
14748
- }, [hotkey, toggle]);
14830
+ }, [toggle]);
14749
14831
  const value = React.useMemo(() => ({ open, close, toggle, isOpen }), [open, close, toggle, isOpen]);
14750
14832
  return /* @__PURE__ */ jsxRuntime.jsxs(CommandPaletteCtx.Provider, { value, children: [
14751
14833
  children,
@@ -16051,123 +16133,123 @@ Object.defineProperty(exports, "useDeploymentDomain", {
16051
16133
  });
16052
16134
  Object.defineProperty(exports, "LEGACY_THREAD_DOCUMENTS_KEY", {
16053
16135
  enumerable: true,
16054
- get: function () { return chunkOY4PYCJH_cjs.LEGACY_THREAD_DOCUMENTS_KEY; }
16136
+ get: function () { return chunkAXKHDLBB_cjs.LEGACY_THREAD_DOCUMENTS_KEY; }
16055
16137
  });
16056
16138
  Object.defineProperty(exports, "MENTION_HREF_PREFIX", {
16057
16139
  enumerable: true,
16058
- get: function () { return chunkOY4PYCJH_cjs.MENTION_HREF_PREFIX; }
16140
+ get: function () { return chunkAXKHDLBB_cjs.MENTION_HREF_PREFIX; }
16059
16141
  });
16060
16142
  Object.defineProperty(exports, "NotificationBell", {
16061
16143
  enumerable: true,
16062
- get: function () { return chunkOY4PYCJH_cjs.NotificationBell; }
16144
+ get: function () { return chunkAXKHDLBB_cjs.NotificationBell; }
16063
16145
  });
16064
16146
  Object.defineProperty(exports, "Toaster", {
16065
16147
  enumerable: true,
16066
- get: function () { return chunkOY4PYCJH_cjs.Toaster; }
16148
+ get: function () { return chunkAXKHDLBB_cjs.Toaster; }
16067
16149
  });
16068
16150
  Object.defineProperty(exports, "UNBOUND", {
16069
16151
  enumerable: true,
16070
- get: function () { return chunkOY4PYCJH_cjs.UNBOUND; }
16152
+ get: function () { return chunkAXKHDLBB_cjs.UNBOUND; }
16071
16153
  });
16072
16154
  Object.defineProperty(exports, "bindingOfRow", {
16073
16155
  enumerable: true,
16074
- get: function () { return chunkOY4PYCJH_cjs.bindingOfRow; }
16156
+ get: function () { return chunkAXKHDLBB_cjs.bindingOfRow; }
16075
16157
  });
16076
16158
  Object.defineProperty(exports, "clearSearchSession", {
16077
16159
  enumerable: true,
16078
- get: function () { return chunkOY4PYCJH_cjs.clearSearchSession; }
16160
+ get: function () { return chunkAXKHDLBB_cjs.clearSearchSession; }
16079
16161
  });
16080
16162
  Object.defineProperty(exports, "createSearchSession", {
16081
16163
  enumerable: true,
16082
- get: function () { return chunkOY4PYCJH_cjs.createSearchSession; }
16164
+ get: function () { return chunkAXKHDLBB_cjs.createSearchSession; }
16083
16165
  });
16084
16166
  Object.defineProperty(exports, "extractMentions", {
16085
16167
  enumerable: true,
16086
- get: function () { return chunkOY4PYCJH_cjs.extractMentions; }
16168
+ get: function () { return chunkAXKHDLBB_cjs.extractMentions; }
16087
16169
  });
16088
16170
  Object.defineProperty(exports, "filterMentionCandidates", {
16089
16171
  enumerable: true,
16090
- get: function () { return chunkOY4PYCJH_cjs.filterMentionCandidates; }
16172
+ get: function () { return chunkAXKHDLBB_cjs.filterMentionCandidates; }
16091
16173
  });
16092
16174
  Object.defineProperty(exports, "findMentionQuery", {
16093
16175
  enumerable: true,
16094
- get: function () { return chunkOY4PYCJH_cjs.findMentionQuery; }
16176
+ get: function () { return chunkAXKHDLBB_cjs.findMentionQuery; }
16095
16177
  });
16096
16178
  Object.defineProperty(exports, "forgetLegacyThreadDocuments", {
16097
16179
  enumerable: true,
16098
- get: function () { return chunkOY4PYCJH_cjs.forgetLegacyThreadDocuments; }
16180
+ get: function () { return chunkAXKHDLBB_cjs.forgetLegacyThreadDocuments; }
16099
16181
  });
16100
16182
  Object.defineProperty(exports, "hasMessageBody", {
16101
16183
  enumerable: true,
16102
- get: function () { return chunkOY4PYCJH_cjs.hasMessageBody; }
16184
+ get: function () { return chunkAXKHDLBB_cjs.hasMessageBody; }
16103
16185
  });
16104
16186
  Object.defineProperty(exports, "insertMention", {
16105
16187
  enumerable: true,
16106
- get: function () { return chunkOY4PYCJH_cjs.insertMention; }
16188
+ get: function () { return chunkAXKHDLBB_cjs.insertMention; }
16107
16189
  });
16108
16190
  Object.defineProperty(exports, "latestThreadOfDocument", {
16109
16191
  enumerable: true,
16110
- get: function () { return chunkOY4PYCJH_cjs.latestThreadOfDocument; }
16192
+ get: function () { return chunkAXKHDLBB_cjs.latestThreadOfDocument; }
16111
16193
  });
16112
16194
  Object.defineProperty(exports, "linkMentions", {
16113
16195
  enumerable: true,
16114
- get: function () { return chunkOY4PYCJH_cjs.linkMentions; }
16196
+ get: function () { return chunkAXKHDLBB_cjs.linkMentions; }
16115
16197
  });
16116
16198
  Object.defineProperty(exports, "mentionFromHref", {
16117
16199
  enumerable: true,
16118
- get: function () { return chunkOY4PYCJH_cjs.mentionFromHref; }
16200
+ get: function () { return chunkAXKHDLBB_cjs.mentionFromHref; }
16119
16201
  });
16120
16202
  Object.defineProperty(exports, "openDocumentId", {
16121
16203
  enumerable: true,
16122
- get: function () { return chunkOY4PYCJH_cjs.openDocumentId; }
16204
+ get: function () { return chunkAXKHDLBB_cjs.openDocumentId; }
16123
16205
  });
16124
16206
  Object.defineProperty(exports, "opensInWord", {
16125
16207
  enumerable: true,
16126
- get: function () { return chunkOY4PYCJH_cjs.opensInWord; }
16208
+ get: function () { return chunkAXKHDLBB_cjs.opensInWord; }
16127
16209
  });
16128
16210
  Object.defineProperty(exports, "persistSearchSession", {
16129
16211
  enumerable: true,
16130
- get: function () { return chunkOY4PYCJH_cjs.persistSearchSession; }
16212
+ get: function () { return chunkAXKHDLBB_cjs.persistSearchSession; }
16131
16213
  });
16132
16214
  Object.defineProperty(exports, "readLegacyThreadDocuments", {
16133
16215
  enumerable: true,
16134
- get: function () { return chunkOY4PYCJH_cjs.readLegacyThreadDocuments; }
16216
+ get: function () { return chunkAXKHDLBB_cjs.readLegacyThreadDocuments; }
16135
16217
  });
16136
16218
  Object.defineProperty(exports, "requestSearch", {
16137
16219
  enumerable: true,
16138
- get: function () { return chunkOY4PYCJH_cjs.requestSearch; }
16220
+ get: function () { return chunkAXKHDLBB_cjs.requestSearch; }
16139
16221
  });
16140
16222
  Object.defineProperty(exports, "savedDocumentIdFor", {
16141
16223
  enumerable: true,
16142
- get: function () { return chunkOY4PYCJH_cjs.savedDocumentIdFor; }
16224
+ get: function () { return chunkAXKHDLBB_cjs.savedDocumentIdFor; }
16143
16225
  });
16144
16226
  Object.defineProperty(exports, "sharedSearchSession", {
16145
16227
  enumerable: true,
16146
- get: function () { return chunkOY4PYCJH_cjs.sharedSearchSession; }
16228
+ get: function () { return chunkAXKHDLBB_cjs.sharedSearchSession; }
16147
16229
  });
16148
16230
  Object.defineProperty(exports, "takeDocumentForTurn", {
16149
16231
  enumerable: true,
16150
- get: function () { return chunkOY4PYCJH_cjs.takeDocumentForTurn; }
16232
+ get: function () { return chunkAXKHDLBB_cjs.takeDocumentForTurn; }
16151
16233
  });
16152
16234
  Object.defineProperty(exports, "takePendingSearch", {
16153
16235
  enumerable: true,
16154
- get: function () { return chunkOY4PYCJH_cjs.takePendingSearch; }
16236
+ get: function () { return chunkAXKHDLBB_cjs.takePendingSearch; }
16155
16237
  });
16156
16238
  Object.defineProperty(exports, "toMessageMentions", {
16157
16239
  enumerable: true,
16158
- get: function () { return chunkOY4PYCJH_cjs.toMessageMentions; }
16240
+ get: function () { return chunkAXKHDLBB_cjs.toMessageMentions; }
16159
16241
  });
16160
16242
  Object.defineProperty(exports, "useOpenDocumentId", {
16161
16243
  enumerable: true,
16162
- get: function () { return chunkOY4PYCJH_cjs.useOpenDocumentId; }
16244
+ get: function () { return chunkAXKHDLBB_cjs.useOpenDocumentId; }
16163
16245
  });
16164
16246
  Object.defineProperty(exports, "useRegisterOpenDocument", {
16165
16247
  enumerable: true,
16166
- get: function () { return chunkOY4PYCJH_cjs.useRegisterOpenDocument; }
16248
+ get: function () { return chunkAXKHDLBB_cjs.useRegisterOpenDocument; }
16167
16249
  });
16168
16250
  Object.defineProperty(exports, "useTurnDocumentId", {
16169
16251
  enumerable: true,
16170
- get: function () { return chunkOY4PYCJH_cjs.useTurnDocumentId; }
16252
+ get: function () { return chunkAXKHDLBB_cjs.useTurnDocumentId; }
16171
16253
  });
16172
16254
  Object.defineProperty(exports, "DEFAULT_NOTIFY_TONE", {
16173
16255
  enumerable: true,
@@ -16271,695 +16353,695 @@ Object.defineProperty(exports, "unwrapCitationLinks", {
16271
16353
  });
16272
16354
  Object.defineProperty(exports, "ARBI_MARK_SRC", {
16273
16355
  enumerable: true,
16274
- get: function () { return chunk3BFSALPC_cjs.ARBI_MARK_SRC; }
16356
+ get: function () { return chunkIHKQPOPK_cjs.ARBI_MARK_SRC; }
16275
16357
  });
16276
16358
  Object.defineProperty(exports, "AUDIO_MIME_PREFERENCE", {
16277
16359
  enumerable: true,
16278
- get: function () { return chunk3BFSALPC_cjs.AUDIO_MIME_PREFERENCE; }
16360
+ get: function () { return chunkIHKQPOPK_cjs.AUDIO_MIME_PREFERENCE; }
16279
16361
  });
16280
16362
  Object.defineProperty(exports, "AgentBadge", {
16281
16363
  enumerable: true,
16282
- get: function () { return chunk3BFSALPC_cjs.AgentBadge; }
16364
+ get: function () { return chunkIHKQPOPK_cjs.AgentBadge; }
16283
16365
  });
16284
16366
  Object.defineProperty(exports, "AiMarkdown", {
16285
16367
  enumerable: true,
16286
- get: function () { return chunk3BFSALPC_cjs.AiMarkdown; }
16368
+ get: function () { return chunkIHKQPOPK_cjs.AiMarkdown; }
16287
16369
  });
16288
16370
  Object.defineProperty(exports, "ArbiBotHeadIcon", {
16289
16371
  enumerable: true,
16290
- get: function () { return chunk3BFSALPC_cjs.ArbiBotHeadIcon; }
16372
+ get: function () { return chunkIHKQPOPK_cjs.ArbiBotHeadIcon; }
16291
16373
  });
16292
16374
  Object.defineProperty(exports, "ArbiIcon", {
16293
16375
  enumerable: true,
16294
- get: function () { return chunk3BFSALPC_cjs.ArbiIcon; }
16376
+ get: function () { return chunkIHKQPOPK_cjs.ArbiIcon; }
16295
16377
  });
16296
16378
  Object.defineProperty(exports, "AudIcon", {
16297
16379
  enumerable: true,
16298
- get: function () { return chunk3BFSALPC_cjs.AudIcon; }
16380
+ get: function () { return chunkIHKQPOPK_cjs.AudIcon; }
16299
16381
  });
16300
16382
  Object.defineProperty(exports, "BASE_COLORS", {
16301
16383
  enumerable: true,
16302
- get: function () { return chunk3BFSALPC_cjs.BASE_COLORS; }
16384
+ get: function () { return chunkIHKQPOPK_cjs.BASE_COLORS; }
16303
16385
  });
16304
16386
  Object.defineProperty(exports, "Badge", {
16305
16387
  enumerable: true,
16306
- get: function () { return chunk3BFSALPC_cjs.Badge; }
16388
+ get: function () { return chunkIHKQPOPK_cjs.Badge; }
16307
16389
  });
16308
16390
  Object.defineProperty(exports, "COLUMN_LABEL_FALLBACKS", {
16309
16391
  enumerable: true,
16310
- get: function () { return chunk3BFSALPC_cjs.COLUMN_LABEL_FALLBACKS; }
16392
+ get: function () { return chunkIHKQPOPK_cjs.COLUMN_LABEL_FALLBACKS; }
16311
16393
  });
16312
16394
  Object.defineProperty(exports, "Card", {
16313
16395
  enumerable: true,
16314
- get: function () { return chunk3BFSALPC_cjs.Card; }
16396
+ get: function () { return chunkIHKQPOPK_cjs.Card; }
16315
16397
  });
16316
16398
  Object.defineProperty(exports, "CardContent", {
16317
16399
  enumerable: true,
16318
- get: function () { return chunk3BFSALPC_cjs.CardContent; }
16400
+ get: function () { return chunkIHKQPOPK_cjs.CardContent; }
16319
16401
  });
16320
16402
  Object.defineProperty(exports, "CardDescription", {
16321
16403
  enumerable: true,
16322
- get: function () { return chunk3BFSALPC_cjs.CardDescription; }
16404
+ get: function () { return chunkIHKQPOPK_cjs.CardDescription; }
16323
16405
  });
16324
16406
  Object.defineProperty(exports, "CardFooter", {
16325
16407
  enumerable: true,
16326
- get: function () { return chunk3BFSALPC_cjs.CardFooter; }
16408
+ get: function () { return chunkIHKQPOPK_cjs.CardFooter; }
16327
16409
  });
16328
16410
  Object.defineProperty(exports, "CardHeader", {
16329
16411
  enumerable: true,
16330
- get: function () { return chunk3BFSALPC_cjs.CardHeader; }
16412
+ get: function () { return chunkIHKQPOPK_cjs.CardHeader; }
16331
16413
  });
16332
16414
  Object.defineProperty(exports, "CardTitle", {
16333
16415
  enumerable: true,
16334
- get: function () { return chunk3BFSALPC_cjs.CardTitle; }
16416
+ get: function () { return chunkIHKQPOPK_cjs.CardTitle; }
16335
16417
  });
16336
16418
  Object.defineProperty(exports, "Checkbox", {
16337
16419
  enumerable: true,
16338
- get: function () { return chunk3BFSALPC_cjs.Checkbox; }
16420
+ get: function () { return chunkIHKQPOPK_cjs.Checkbox; }
16339
16421
  });
16340
16422
  Object.defineProperty(exports, "ClaudeIcon", {
16341
16423
  enumerable: true,
16342
- get: function () { return chunk3BFSALPC_cjs.ClaudeIcon; }
16424
+ get: function () { return chunkIHKQPOPK_cjs.ClaudeIcon; }
16343
16425
  });
16344
16426
  Object.defineProperty(exports, "Collapsible", {
16345
16427
  enumerable: true,
16346
- get: function () { return chunk3BFSALPC_cjs.Collapsible; }
16428
+ get: function () { return chunkIHKQPOPK_cjs.Collapsible; }
16347
16429
  });
16348
16430
  Object.defineProperty(exports, "CollapsibleContent", {
16349
16431
  enumerable: true,
16350
- get: function () { return chunk3BFSALPC_cjs.CollapsibleContent; }
16432
+ get: function () { return chunkIHKQPOPK_cjs.CollapsibleContent; }
16351
16433
  });
16352
16434
  Object.defineProperty(exports, "CollapsibleTrigger", {
16353
16435
  enumerable: true,
16354
- get: function () { return chunk3BFSALPC_cjs.CollapsibleTrigger; }
16436
+ get: function () { return chunkIHKQPOPK_cjs.CollapsibleTrigger; }
16355
16437
  });
16356
16438
  Object.defineProperty(exports, "Command", {
16357
16439
  enumerable: true,
16358
- get: function () { return chunk3BFSALPC_cjs.Command; }
16440
+ get: function () { return chunkIHKQPOPK_cjs.Command; }
16359
16441
  });
16360
16442
  Object.defineProperty(exports, "CommandDialog", {
16361
16443
  enumerable: true,
16362
- get: function () { return chunk3BFSALPC_cjs.CommandDialog; }
16444
+ get: function () { return chunkIHKQPOPK_cjs.CommandDialog; }
16363
16445
  });
16364
16446
  Object.defineProperty(exports, "CommandEmpty", {
16365
16447
  enumerable: true,
16366
- get: function () { return chunk3BFSALPC_cjs.CommandEmpty; }
16448
+ get: function () { return chunkIHKQPOPK_cjs.CommandEmpty; }
16367
16449
  });
16368
16450
  Object.defineProperty(exports, "CommandGroup", {
16369
16451
  enumerable: true,
16370
- get: function () { return chunk3BFSALPC_cjs.CommandGroup; }
16452
+ get: function () { return chunkIHKQPOPK_cjs.CommandGroup; }
16371
16453
  });
16372
16454
  Object.defineProperty(exports, "CommandInput", {
16373
16455
  enumerable: true,
16374
- get: function () { return chunk3BFSALPC_cjs.CommandInput; }
16456
+ get: function () { return chunkIHKQPOPK_cjs.CommandInput; }
16375
16457
  });
16376
16458
  Object.defineProperty(exports, "CommandItem", {
16377
16459
  enumerable: true,
16378
- get: function () { return chunk3BFSALPC_cjs.CommandItem; }
16460
+ get: function () { return chunkIHKQPOPK_cjs.CommandItem; }
16379
16461
  });
16380
16462
  Object.defineProperty(exports, "CommandList", {
16381
16463
  enumerable: true,
16382
- get: function () { return chunk3BFSALPC_cjs.CommandList; }
16464
+ get: function () { return chunkIHKQPOPK_cjs.CommandList; }
16383
16465
  });
16384
16466
  Object.defineProperty(exports, "CommandSeparator", {
16385
16467
  enumerable: true,
16386
- get: function () { return chunk3BFSALPC_cjs.CommandSeparator; }
16468
+ get: function () { return chunkIHKQPOPK_cjs.CommandSeparator; }
16387
16469
  });
16388
16470
  Object.defineProperty(exports, "CommandShortcut", {
16389
16471
  enumerable: true,
16390
- get: function () { return chunk3BFSALPC_cjs.CommandShortcut; }
16472
+ get: function () { return chunkIHKQPOPK_cjs.CommandShortcut; }
16391
16473
  });
16392
16474
  Object.defineProperty(exports, "DEFAULT_METADATA_TAGS", {
16393
16475
  enumerable: true,
16394
- get: function () { return chunk3BFSALPC_cjs.DEFAULT_METADATA_TAGS; }
16476
+ get: function () { return chunkIHKQPOPK_cjs.DEFAULT_METADATA_TAGS; }
16395
16477
  });
16396
16478
  Object.defineProperty(exports, "DebouncedInput", {
16397
16479
  enumerable: true,
16398
- get: function () { return chunk3BFSALPC_cjs.DebouncedInput; }
16480
+ get: function () { return chunkIHKQPOPK_cjs.DebouncedInput; }
16399
16481
  });
16400
16482
  Object.defineProperty(exports, "DocIcon", {
16401
16483
  enumerable: true,
16402
- get: function () { return chunk3BFSALPC_cjs.DocIcon; }
16484
+ get: function () { return chunkIHKQPOPK_cjs.DocIcon; }
16403
16485
  });
16404
16486
  Object.defineProperty(exports, "DocumentCard", {
16405
16487
  enumerable: true,
16406
- get: function () { return chunk3BFSALPC_cjs.DocumentCard; }
16488
+ get: function () { return chunkIHKQPOPK_cjs.DocumentCard; }
16407
16489
  });
16408
16490
  Object.defineProperty(exports, "DocumentEntity", {
16409
16491
  enumerable: true,
16410
- get: function () { return chunk3BFSALPC_cjs.DocumentEntity; }
16492
+ get: function () { return chunkIHKQPOPK_cjs.DocumentEntity; }
16411
16493
  });
16412
16494
  Object.defineProperty(exports, "ENTITY_MAPPINGS", {
16413
16495
  enumerable: true,
16414
- get: function () { return chunk3BFSALPC_cjs.ENTITY_MAPPINGS; }
16496
+ get: function () { return chunkIHKQPOPK_cjs.ENTITY_MAPPINGS; }
16415
16497
  });
16416
16498
  Object.defineProperty(exports, "EmlIcon", {
16417
16499
  enumerable: true,
16418
- get: function () { return chunk3BFSALPC_cjs.EmlIcon; }
16500
+ get: function () { return chunkIHKQPOPK_cjs.EmlIcon; }
16419
16501
  });
16420
16502
  Object.defineProperty(exports, "EntityIcon", {
16421
16503
  enumerable: true,
16422
- get: function () { return chunk3BFSALPC_cjs.EntityIcon; }
16504
+ get: function () { return chunkIHKQPOPK_cjs.EntityIcon; }
16423
16505
  });
16424
16506
  Object.defineProperty(exports, "EntityPill", {
16425
16507
  enumerable: true,
16426
- get: function () { return chunk3BFSALPC_cjs.EntityPill; }
16508
+ get: function () { return chunkIHKQPOPK_cjs.EntityPill; }
16427
16509
  });
16428
16510
  Object.defineProperty(exports, "FILE_TYPE_COLORS", {
16429
16511
  enumerable: true,
16430
- get: function () { return chunk3BFSALPC_cjs.FILE_TYPE_COLORS; }
16512
+ get: function () { return chunkIHKQPOPK_cjs.FILE_TYPE_COLORS; }
16431
16513
  });
16432
16514
  Object.defineProperty(exports, "FireworksIcon", {
16433
16515
  enumerable: true,
16434
- get: function () { return chunk3BFSALPC_cjs.FireworksIcon; }
16516
+ get: function () { return chunkIHKQPOPK_cjs.FireworksIcon; }
16435
16517
  });
16436
16518
  Object.defineProperty(exports, "GeminiIcon", {
16437
16519
  enumerable: true,
16438
- get: function () { return chunk3BFSALPC_cjs.GeminiIcon; }
16520
+ get: function () { return chunkIHKQPOPK_cjs.GeminiIcon; }
16439
16521
  });
16440
16522
  Object.defineProperty(exports, "GoogleIcon", {
16441
16523
  enumerable: true,
16442
- get: function () { return chunk3BFSALPC_cjs.GoogleIcon; }
16524
+ get: function () { return chunkIHKQPOPK_cjs.GoogleIcon; }
16443
16525
  });
16444
16526
  Object.defineProperty(exports, "HoverCard", {
16445
16527
  enumerable: true,
16446
- get: function () { return chunk3BFSALPC_cjs.HoverCard; }
16528
+ get: function () { return chunkIHKQPOPK_cjs.HoverCard; }
16447
16529
  });
16448
16530
  Object.defineProperty(exports, "HoverCardContent", {
16449
16531
  enumerable: true,
16450
- get: function () { return chunk3BFSALPC_cjs.HoverCardContent; }
16532
+ get: function () { return chunkIHKQPOPK_cjs.HoverCardContent; }
16451
16533
  });
16452
16534
  Object.defineProperty(exports, "HoverCardTrigger", {
16453
16535
  enumerable: true,
16454
- get: function () { return chunk3BFSALPC_cjs.HoverCardTrigger; }
16536
+ get: function () { return chunkIHKQPOPK_cjs.HoverCardTrigger; }
16455
16537
  });
16456
16538
  Object.defineProperty(exports, "HtmlIcon", {
16457
16539
  enumerable: true,
16458
- get: function () { return chunk3BFSALPC_cjs.HtmlIcon; }
16540
+ get: function () { return chunkIHKQPOPK_cjs.HtmlIcon; }
16459
16541
  });
16460
16542
  Object.defineProperty(exports, "IconToggle", {
16461
16543
  enumerable: true,
16462
- get: function () { return chunk3BFSALPC_cjs.IconToggle; }
16544
+ get: function () { return chunkIHKQPOPK_cjs.IconToggle; }
16463
16545
  });
16464
16546
  Object.defineProperty(exports, "ImgIcon", {
16465
16547
  enumerable: true,
16466
- get: function () { return chunk3BFSALPC_cjs.ImgIcon; }
16548
+ get: function () { return chunkIHKQPOPK_cjs.ImgIcon; }
16467
16549
  });
16468
16550
  Object.defineProperty(exports, "InlineMicButton", {
16469
16551
  enumerable: true,
16470
- get: function () { return chunk3BFSALPC_cjs.InlineMicButton; }
16552
+ get: function () { return chunkIHKQPOPK_cjs.InlineMicButton; }
16471
16553
  });
16472
16554
  Object.defineProperty(exports, "Input", {
16473
16555
  enumerable: true,
16474
- get: function () { return chunk3BFSALPC_cjs.Input; }
16556
+ get: function () { return chunkIHKQPOPK_cjs.Input; }
16475
16557
  });
16476
16558
  Object.defineProperty(exports, "Label", {
16477
16559
  enumerable: true,
16478
- get: function () { return chunk3BFSALPC_cjs.Label; }
16560
+ get: function () { return chunkIHKQPOPK_cjs.Label; }
16479
16561
  });
16480
16562
  Object.defineProperty(exports, "MarkMenu", {
16481
16563
  enumerable: true,
16482
- get: function () { return chunk3BFSALPC_cjs.MarkMenu; }
16564
+ get: function () { return chunkIHKQPOPK_cjs.MarkMenu; }
16483
16565
  });
16484
16566
  Object.defineProperty(exports, "MicRecordingOverlay", {
16485
16567
  enumerable: true,
16486
- get: function () { return chunk3BFSALPC_cjs.MicRecordingOverlay; }
16568
+ get: function () { return chunkIHKQPOPK_cjs.MicRecordingOverlay; }
16487
16569
  });
16488
16570
  Object.defineProperty(exports, "MicWaveformIndicator", {
16489
16571
  enumerable: true,
16490
- get: function () { return chunk3BFSALPC_cjs.MicWaveformIndicator; }
16572
+ get: function () { return chunkIHKQPOPK_cjs.MicWaveformIndicator; }
16491
16573
  });
16492
16574
  Object.defineProperty(exports, "NEUTRAL_GRAY", {
16493
16575
  enumerable: true,
16494
- get: function () { return chunk3BFSALPC_cjs.NEUTRAL_GRAY; }
16576
+ get: function () { return chunkIHKQPOPK_cjs.NEUTRAL_GRAY; }
16495
16577
  });
16496
16578
  Object.defineProperty(exports, "OpenAIIcon", {
16497
16579
  enumerable: true,
16498
- get: function () { return chunk3BFSALPC_cjs.OpenAIIcon; }
16580
+ get: function () { return chunkIHKQPOPK_cjs.OpenAIIcon; }
16499
16581
  });
16500
16582
  Object.defineProperty(exports, "PLACEHOLDER_COLOR", {
16501
16583
  enumerable: true,
16502
- get: function () { return chunk3BFSALPC_cjs.PLACEHOLDER_COLOR; }
16584
+ get: function () { return chunkIHKQPOPK_cjs.PLACEHOLDER_COLOR; }
16503
16585
  });
16504
16586
  Object.defineProperty(exports, "PassageCard", {
16505
16587
  enumerable: true,
16506
- get: function () { return chunk3BFSALPC_cjs.PassageCard; }
16588
+ get: function () { return chunkIHKQPOPK_cjs.PassageCard; }
16507
16589
  });
16508
16590
  Object.defineProperty(exports, "PdfIcon", {
16509
16591
  enumerable: true,
16510
- get: function () { return chunk3BFSALPC_cjs.PdfIcon; }
16592
+ get: function () { return chunkIHKQPOPK_cjs.PdfIcon; }
16511
16593
  });
16512
16594
  Object.defineProperty(exports, "Popover", {
16513
16595
  enumerable: true,
16514
- get: function () { return chunk3BFSALPC_cjs.Popover; }
16596
+ get: function () { return chunkIHKQPOPK_cjs.Popover; }
16515
16597
  });
16516
16598
  Object.defineProperty(exports, "PopoverAnchor", {
16517
16599
  enumerable: true,
16518
- get: function () { return chunk3BFSALPC_cjs.PopoverAnchor; }
16600
+ get: function () { return chunkIHKQPOPK_cjs.PopoverAnchor; }
16519
16601
  });
16520
16602
  Object.defineProperty(exports, "PopoverClose", {
16521
16603
  enumerable: true,
16522
- get: function () { return chunk3BFSALPC_cjs.PopoverClose; }
16604
+ get: function () { return chunkIHKQPOPK_cjs.PopoverClose; }
16523
16605
  });
16524
16606
  Object.defineProperty(exports, "PopoverContent", {
16525
16607
  enumerable: true,
16526
- get: function () { return chunk3BFSALPC_cjs.PopoverContent; }
16608
+ get: function () { return chunkIHKQPOPK_cjs.PopoverContent; }
16527
16609
  });
16528
16610
  Object.defineProperty(exports, "PopoverTrigger", {
16529
16611
  enumerable: true,
16530
- get: function () { return chunk3BFSALPC_cjs.PopoverTrigger; }
16612
+ get: function () { return chunkIHKQPOPK_cjs.PopoverTrigger; }
16531
16613
  });
16532
16614
  Object.defineProperty(exports, "PresenceLabel", {
16533
16615
  enumerable: true,
16534
- get: function () { return chunk3BFSALPC_cjs.PresenceLabel; }
16616
+ get: function () { return chunkIHKQPOPK_cjs.PresenceLabel; }
16535
16617
  });
16536
16618
  Object.defineProperty(exports, "Progress", {
16537
16619
  enumerable: true,
16538
- get: function () { return chunk3BFSALPC_cjs.Progress; }
16620
+ get: function () { return chunkIHKQPOPK_cjs.Progress; }
16539
16621
  });
16540
16622
  Object.defineProperty(exports, "ProjectEntity", {
16541
16623
  enumerable: true,
16542
- get: function () { return chunk3BFSALPC_cjs.ProjectEntity; }
16624
+ get: function () { return chunkIHKQPOPK_cjs.ProjectEntity; }
16543
16625
  });
16544
16626
  Object.defineProperty(exports, "ProviderIcon", {
16545
16627
  enumerable: true,
16546
- get: function () { return chunk3BFSALPC_cjs.ProviderIcon; }
16628
+ get: function () { return chunkIHKQPOPK_cjs.ProviderIcon; }
16547
16629
  });
16548
16630
  Object.defineProperty(exports, "RadioGroup", {
16549
16631
  enumerable: true,
16550
- get: function () { return chunk3BFSALPC_cjs.RadioGroup; }
16632
+ get: function () { return chunkIHKQPOPK_cjs.RadioGroup; }
16551
16633
  });
16552
16634
  Object.defineProperty(exports, "RadioGroupItem", {
16553
16635
  enumerable: true,
16554
- get: function () { return chunk3BFSALPC_cjs.RadioGroupItem; }
16636
+ get: function () { return chunkIHKQPOPK_cjs.RadioGroupItem; }
16555
16637
  });
16556
16638
  Object.defineProperty(exports, "RagDot", {
16557
16639
  enumerable: true,
16558
- get: function () { return chunk3BFSALPC_cjs.RagDot; }
16640
+ get: function () { return chunkIHKQPOPK_cjs.RagDot; }
16559
16641
  });
16560
16642
  Object.defineProperty(exports, "RelevanceDot", {
16561
16643
  enumerable: true,
16562
- get: function () { return chunk3BFSALPC_cjs.RelevanceDot; }
16644
+ get: function () { return chunkIHKQPOPK_cjs.RelevanceDot; }
16563
16645
  });
16564
16646
  Object.defineProperty(exports, "Select", {
16565
16647
  enumerable: true,
16566
- get: function () { return chunk3BFSALPC_cjs.Select; }
16648
+ get: function () { return chunkIHKQPOPK_cjs.Select; }
16567
16649
  });
16568
16650
  Object.defineProperty(exports, "SelectContent", {
16569
16651
  enumerable: true,
16570
- get: function () { return chunk3BFSALPC_cjs.SelectContent; }
16652
+ get: function () { return chunkIHKQPOPK_cjs.SelectContent; }
16571
16653
  });
16572
16654
  Object.defineProperty(exports, "SelectGroup", {
16573
16655
  enumerable: true,
16574
- get: function () { return chunk3BFSALPC_cjs.SelectGroup; }
16656
+ get: function () { return chunkIHKQPOPK_cjs.SelectGroup; }
16575
16657
  });
16576
16658
  Object.defineProperty(exports, "SelectItem", {
16577
16659
  enumerable: true,
16578
- get: function () { return chunk3BFSALPC_cjs.SelectItem; }
16660
+ get: function () { return chunkIHKQPOPK_cjs.SelectItem; }
16579
16661
  });
16580
16662
  Object.defineProperty(exports, "SelectLabel", {
16581
16663
  enumerable: true,
16582
- get: function () { return chunk3BFSALPC_cjs.SelectLabel; }
16664
+ get: function () { return chunkIHKQPOPK_cjs.SelectLabel; }
16583
16665
  });
16584
16666
  Object.defineProperty(exports, "SelectScrollDownButton", {
16585
16667
  enumerable: true,
16586
- get: function () { return chunk3BFSALPC_cjs.SelectScrollDownButton; }
16668
+ get: function () { return chunkIHKQPOPK_cjs.SelectScrollDownButton; }
16587
16669
  });
16588
16670
  Object.defineProperty(exports, "SelectScrollUpButton", {
16589
16671
  enumerable: true,
16590
- get: function () { return chunk3BFSALPC_cjs.SelectScrollUpButton; }
16672
+ get: function () { return chunkIHKQPOPK_cjs.SelectScrollUpButton; }
16591
16673
  });
16592
16674
  Object.defineProperty(exports, "SelectSeparator", {
16593
16675
  enumerable: true,
16594
- get: function () { return chunk3BFSALPC_cjs.SelectSeparator; }
16676
+ get: function () { return chunkIHKQPOPK_cjs.SelectSeparator; }
16595
16677
  });
16596
16678
  Object.defineProperty(exports, "SelectTrigger", {
16597
16679
  enumerable: true,
16598
- get: function () { return chunk3BFSALPC_cjs.SelectTrigger; }
16680
+ get: function () { return chunkIHKQPOPK_cjs.SelectTrigger; }
16599
16681
  });
16600
16682
  Object.defineProperty(exports, "SelectValue", {
16601
16683
  enumerable: true,
16602
- get: function () { return chunk3BFSALPC_cjs.SelectValue; }
16684
+ get: function () { return chunkIHKQPOPK_cjs.SelectValue; }
16603
16685
  });
16604
16686
  Object.defineProperty(exports, "Separator", {
16605
16687
  enumerable: true,
16606
- get: function () { return chunk3BFSALPC_cjs.Separator; }
16688
+ get: function () { return chunkIHKQPOPK_cjs.Separator; }
16607
16689
  });
16608
16690
  Object.defineProperty(exports, "ShieldIcon", {
16609
16691
  enumerable: true,
16610
- get: function () { return chunk3BFSALPC_cjs.ShieldIcon; }
16692
+ get: function () { return chunkIHKQPOPK_cjs.ShieldIcon; }
16611
16693
  });
16612
16694
  Object.defineProperty(exports, "Slider", {
16613
16695
  enumerable: true,
16614
- get: function () { return chunk3BFSALPC_cjs.Slider; }
16696
+ get: function () { return chunkIHKQPOPK_cjs.Slider; }
16615
16697
  });
16616
16698
  Object.defineProperty(exports, "StatusPill", {
16617
16699
  enumerable: true,
16618
- get: function () { return chunk3BFSALPC_cjs.StatusPill; }
16700
+ get: function () { return chunkIHKQPOPK_cjs.StatusPill; }
16619
16701
  });
16620
16702
  Object.defineProperty(exports, "Switch", {
16621
16703
  enumerable: true,
16622
- get: function () { return chunk3BFSALPC_cjs.Switch; }
16704
+ get: function () { return chunkIHKQPOPK_cjs.Switch; }
16623
16705
  });
16624
16706
  Object.defineProperty(exports, "TAG_TYPE_ICONS", {
16625
16707
  enumerable: true,
16626
- get: function () { return chunk3BFSALPC_cjs.TAG_TYPE_ICONS; }
16708
+ get: function () { return chunkIHKQPOPK_cjs.TAG_TYPE_ICONS; }
16627
16709
  });
16628
16710
  Object.defineProperty(exports, "TAG_TYPE_LABELS", {
16629
16711
  enumerable: true,
16630
- get: function () { return chunk3BFSALPC_cjs.TAG_TYPE_LABELS; }
16712
+ get: function () { return chunkIHKQPOPK_cjs.TAG_TYPE_LABELS; }
16631
16713
  });
16632
16714
  Object.defineProperty(exports, "Table", {
16633
16715
  enumerable: true,
16634
- get: function () { return chunk3BFSALPC_cjs.Table; }
16716
+ get: function () { return chunkIHKQPOPK_cjs.Table; }
16635
16717
  });
16636
16718
  Object.defineProperty(exports, "TableBody", {
16637
16719
  enumerable: true,
16638
- get: function () { return chunk3BFSALPC_cjs.TableBody; }
16720
+ get: function () { return chunkIHKQPOPK_cjs.TableBody; }
16639
16721
  });
16640
16722
  Object.defineProperty(exports, "TableCaption", {
16641
16723
  enumerable: true,
16642
- get: function () { return chunk3BFSALPC_cjs.TableCaption; }
16724
+ get: function () { return chunkIHKQPOPK_cjs.TableCaption; }
16643
16725
  });
16644
16726
  Object.defineProperty(exports, "TableCell", {
16645
16727
  enumerable: true,
16646
- get: function () { return chunk3BFSALPC_cjs.TableCell; }
16728
+ get: function () { return chunkIHKQPOPK_cjs.TableCell; }
16647
16729
  });
16648
16730
  Object.defineProperty(exports, "TableFooter", {
16649
16731
  enumerable: true,
16650
- get: function () { return chunk3BFSALPC_cjs.TableFooter; }
16732
+ get: function () { return chunkIHKQPOPK_cjs.TableFooter; }
16651
16733
  });
16652
16734
  Object.defineProperty(exports, "TableHead", {
16653
16735
  enumerable: true,
16654
- get: function () { return chunk3BFSALPC_cjs.TableHead; }
16736
+ get: function () { return chunkIHKQPOPK_cjs.TableHead; }
16655
16737
  });
16656
16738
  Object.defineProperty(exports, "TableHeader", {
16657
16739
  enumerable: true,
16658
- get: function () { return chunk3BFSALPC_cjs.TableHeader; }
16740
+ get: function () { return chunkIHKQPOPK_cjs.TableHeader; }
16659
16741
  });
16660
16742
  Object.defineProperty(exports, "TableRow", {
16661
16743
  enumerable: true,
16662
- get: function () { return chunk3BFSALPC_cjs.TableRow; }
16744
+ get: function () { return chunkIHKQPOPK_cjs.TableRow; }
16663
16745
  });
16664
16746
  Object.defineProperty(exports, "Tabs", {
16665
16747
  enumerable: true,
16666
- get: function () { return chunk3BFSALPC_cjs.Tabs; }
16748
+ get: function () { return chunkIHKQPOPK_cjs.Tabs; }
16667
16749
  });
16668
16750
  Object.defineProperty(exports, "TabsContent", {
16669
16751
  enumerable: true,
16670
- get: function () { return chunk3BFSALPC_cjs.TabsContent; }
16752
+ get: function () { return chunkIHKQPOPK_cjs.TabsContent; }
16671
16753
  });
16672
16754
  Object.defineProperty(exports, "TabsList", {
16673
16755
  enumerable: true,
16674
- get: function () { return chunk3BFSALPC_cjs.TabsList; }
16756
+ get: function () { return chunkIHKQPOPK_cjs.TabsList; }
16675
16757
  });
16676
16758
  Object.defineProperty(exports, "TabsTrigger", {
16677
16759
  enumerable: true,
16678
- get: function () { return chunk3BFSALPC_cjs.TabsTrigger; }
16760
+ get: function () { return chunkIHKQPOPK_cjs.TabsTrigger; }
16679
16761
  });
16680
16762
  Object.defineProperty(exports, "TagEntity", {
16681
16763
  enumerable: true,
16682
- get: function () { return chunk3BFSALPC_cjs.TagEntity; }
16764
+ get: function () { return chunkIHKQPOPK_cjs.TagEntity; }
16683
16765
  });
16684
16766
  Object.defineProperty(exports, "Textarea", {
16685
16767
  enumerable: true,
16686
- get: function () { return chunk3BFSALPC_cjs.Textarea; }
16768
+ get: function () { return chunkIHKQPOPK_cjs.Textarea; }
16687
16769
  });
16688
16770
  Object.defineProperty(exports, "ThreadVisibilityIcon", {
16689
16771
  enumerable: true,
16690
- get: function () { return chunk3BFSALPC_cjs.ThreadVisibilityIcon; }
16772
+ get: function () { return chunkIHKQPOPK_cjs.ThreadVisibilityIcon; }
16691
16773
  });
16692
16774
  Object.defineProperty(exports, "Toggle", {
16693
16775
  enumerable: true,
16694
- get: function () { return chunk3BFSALPC_cjs.Toggle; }
16776
+ get: function () { return chunkIHKQPOPK_cjs.Toggle; }
16695
16777
  });
16696
16778
  Object.defineProperty(exports, "ToggleGroup", {
16697
16779
  enumerable: true,
16698
- get: function () { return chunk3BFSALPC_cjs.ToggleGroup; }
16780
+ get: function () { return chunkIHKQPOPK_cjs.ToggleGroup; }
16699
16781
  });
16700
16782
  Object.defineProperty(exports, "ToggleGroupItem", {
16701
16783
  enumerable: true,
16702
- get: function () { return chunk3BFSALPC_cjs.ToggleGroupItem; }
16784
+ get: function () { return chunkIHKQPOPK_cjs.ToggleGroupItem; }
16703
16785
  });
16704
16786
  Object.defineProperty(exports, "Tooltip", {
16705
16787
  enumerable: true,
16706
- get: function () { return chunk3BFSALPC_cjs.Tooltip; }
16788
+ get: function () { return chunkIHKQPOPK_cjs.Tooltip; }
16707
16789
  });
16708
16790
  Object.defineProperty(exports, "TooltipContent", {
16709
16791
  enumerable: true,
16710
- get: function () { return chunk3BFSALPC_cjs.TooltipContent; }
16792
+ get: function () { return chunkIHKQPOPK_cjs.TooltipContent; }
16711
16793
  });
16712
16794
  Object.defineProperty(exports, "TooltipProvider", {
16713
16795
  enumerable: true,
16714
- get: function () { return chunk3BFSALPC_cjs.TooltipProvider; }
16796
+ get: function () { return chunkIHKQPOPK_cjs.TooltipProvider; }
16715
16797
  });
16716
16798
  Object.defineProperty(exports, "TooltipTrigger", {
16717
16799
  enumerable: true,
16718
- get: function () { return chunk3BFSALPC_cjs.TooltipTrigger; }
16800
+ get: function () { return chunkIHKQPOPK_cjs.TooltipTrigger; }
16719
16801
  });
16720
16802
  Object.defineProperty(exports, "TxtIcon", {
16721
16803
  enumerable: true,
16722
- get: function () { return chunk3BFSALPC_cjs.TxtIcon; }
16804
+ get: function () { return chunkIHKQPOPK_cjs.TxtIcon; }
16723
16805
  });
16724
16806
  Object.defineProperty(exports, "UserEntity", {
16725
16807
  enumerable: true,
16726
- get: function () { return chunk3BFSALPC_cjs.UserEntity; }
16808
+ get: function () { return chunkIHKQPOPK_cjs.UserEntity; }
16727
16809
  });
16728
16810
  Object.defineProperty(exports, "UserMenu", {
16729
16811
  enumerable: true,
16730
- get: function () { return chunk3BFSALPC_cjs.UserMenu; }
16812
+ get: function () { return chunkIHKQPOPK_cjs.UserMenu; }
16731
16813
  });
16732
16814
  Object.defineProperty(exports, "VIDEO_MIME_PREFERENCE", {
16733
16815
  enumerable: true,
16734
- get: function () { return chunk3BFSALPC_cjs.VIDEO_MIME_PREFERENCE; }
16816
+ get: function () { return chunkIHKQPOPK_cjs.VIDEO_MIME_PREFERENCE; }
16735
16817
  });
16736
16818
  Object.defineProperty(exports, "VISIBILITY_ICONS", {
16737
16819
  enumerable: true,
16738
- get: function () { return chunk3BFSALPC_cjs.VISIBILITY_ICONS; }
16820
+ get: function () { return chunkIHKQPOPK_cjs.VISIBILITY_ICONS; }
16739
16821
  });
16740
16822
  Object.defineProperty(exports, "VerifiedBadge", {
16741
16823
  enumerable: true,
16742
- get: function () { return chunk3BFSALPC_cjs.VerifiedBadge; }
16824
+ get: function () { return chunkIHKQPOPK_cjs.VerifiedBadge; }
16743
16825
  });
16744
16826
  Object.defineProperty(exports, "VerifiedToggle", {
16745
16827
  enumerable: true,
16746
- get: function () { return chunk3BFSALPC_cjs.VerifiedToggle; }
16828
+ get: function () { return chunkIHKQPOPK_cjs.VerifiedToggle; }
16747
16829
  });
16748
16830
  Object.defineProperty(exports, "VidIcon", {
16749
16831
  enumerable: true,
16750
- get: function () { return chunk3BFSALPC_cjs.VidIcon; }
16832
+ get: function () { return chunkIHKQPOPK_cjs.VidIcon; }
16751
16833
  });
16752
16834
  Object.defineProperty(exports, "VisibilityIcon", {
16753
16835
  enumerable: true,
16754
- get: function () { return chunk3BFSALPC_cjs.VisibilityIcon; }
16836
+ get: function () { return chunkIHKQPOPK_cjs.VisibilityIcon; }
16755
16837
  });
16756
16838
  Object.defineProperty(exports, "VisibilityToggle", {
16757
16839
  enumerable: true,
16758
- get: function () { return chunk3BFSALPC_cjs.VisibilityToggle; }
16840
+ get: function () { return chunkIHKQPOPK_cjs.VisibilityToggle; }
16759
16841
  });
16760
16842
  Object.defineProperty(exports, "XlsIcon", {
16761
16843
  enumerable: true,
16762
- get: function () { return chunk3BFSALPC_cjs.XlsIcon; }
16844
+ get: function () { return chunkIHKQPOPK_cjs.XlsIcon; }
16763
16845
  });
16764
16846
  Object.defineProperty(exports, "agentAvatarColors", {
16765
16847
  enumerable: true,
16766
- get: function () { return chunk3BFSALPC_cjs.agentAvatarColors; }
16848
+ get: function () { return chunkIHKQPOPK_cjs.agentAvatarColors; }
16767
16849
  });
16768
16850
  Object.defineProperty(exports, "badgeVariants", {
16769
16851
  enumerable: true,
16770
- get: function () { return chunk3BFSALPC_cjs.badgeVariants; }
16852
+ get: function () { return chunkIHKQPOPK_cjs.badgeVariants; }
16771
16853
  });
16772
16854
  Object.defineProperty(exports, "buildFolderTree", {
16773
16855
  enumerable: true,
16774
- get: function () { return chunk3BFSALPC_cjs.buildFolderTree; }
16856
+ get: function () { return chunkIHKQPOPK_cjs.buildFolderTree; }
16775
16857
  });
16776
16858
  Object.defineProperty(exports, "canonicalFolderPath", {
16777
16859
  enumerable: true,
16778
- get: function () { return chunk3BFSALPC_cjs.canonicalFolderPath; }
16860
+ get: function () { return chunkIHKQPOPK_cjs.canonicalFolderPath; }
16779
16861
  });
16780
16862
  Object.defineProperty(exports, "cardVariants", {
16781
16863
  enumerable: true,
16782
- get: function () { return chunk3BFSALPC_cjs.cardVariants; }
16864
+ get: function () { return chunkIHKQPOPK_cjs.cardVariants; }
16783
16865
  });
16784
16866
  Object.defineProperty(exports, "classifyMediaError", {
16785
16867
  enumerable: true,
16786
- get: function () { return chunk3BFSALPC_cjs.classifyMediaError; }
16868
+ get: function () { return chunkIHKQPOPK_cjs.classifyMediaError; }
16787
16869
  });
16788
16870
  Object.defineProperty(exports, "configureEntityRegistry", {
16789
16871
  enumerable: true,
16790
- get: function () { return chunk3BFSALPC_cjs.configureEntityRegistry; }
16872
+ get: function () { return chunkIHKQPOPK_cjs.configureEntityRegistry; }
16791
16873
  });
16792
16874
  Object.defineProperty(exports, "configureRagLabels", {
16793
16875
  enumerable: true,
16794
- get: function () { return chunk3BFSALPC_cjs.configureRagLabels; }
16876
+ get: function () { return chunkIHKQPOPK_cjs.configureRagLabels; }
16795
16877
  });
16796
16878
  Object.defineProperty(exports, "configureStatusRegistry", {
16797
16879
  enumerable: true,
16798
- get: function () { return chunk3BFSALPC_cjs.configureStatusRegistry; }
16880
+ get: function () { return chunkIHKQPOPK_cjs.configureStatusRegistry; }
16799
16881
  });
16800
16882
  Object.defineProperty(exports, "createChunkedRecorder", {
16801
16883
  enumerable: true,
16802
- get: function () { return chunk3BFSALPC_cjs.createChunkedRecorder; }
16884
+ get: function () { return chunkIHKQPOPK_cjs.createChunkedRecorder; }
16803
16885
  });
16804
16886
  Object.defineProperty(exports, "entityNoun", {
16805
16887
  enumerable: true,
16806
- get: function () { return chunk3BFSALPC_cjs.entityNoun; }
16888
+ get: function () { return chunkIHKQPOPK_cjs.entityNoun; }
16807
16889
  });
16808
16890
  Object.defineProperty(exports, "extensionFromMime", {
16809
16891
  enumerable: true,
16810
- get: function () { return chunk3BFSALPC_cjs.extensionFromMime; }
16892
+ get: function () { return chunkIHKQPOPK_cjs.extensionFromMime; }
16811
16893
  });
16812
16894
  Object.defineProperty(exports, "formatCompactLastSeen", {
16813
16895
  enumerable: true,
16814
- get: function () { return chunk3BFSALPC_cjs.formatCompactLastSeen; }
16896
+ get: function () { return chunkIHKQPOPK_cjs.formatCompactLastSeen; }
16815
16897
  });
16816
16898
  Object.defineProperty(exports, "formatDocDate", {
16817
16899
  enumerable: true,
16818
- get: function () { return chunk3BFSALPC_cjs.formatDocDate; }
16900
+ get: function () { return chunkIHKQPOPK_cjs.formatDocDate; }
16819
16901
  });
16820
16902
  Object.defineProperty(exports, "formatElapsed", {
16821
16903
  enumerable: true,
16822
- get: function () { return chunk3BFSALPC_cjs.formatElapsed; }
16904
+ get: function () { return chunkIHKQPOPK_cjs.formatElapsed; }
16823
16905
  });
16824
16906
  Object.defineProperty(exports, "formatFolderLabel", {
16825
16907
  enumerable: true,
16826
- get: function () { return chunk3BFSALPC_cjs.formatFolderLabel; }
16908
+ get: function () { return chunkIHKQPOPK_cjs.formatFolderLabel; }
16827
16909
  });
16828
16910
  Object.defineProperty(exports, "formatFriendlyDate", {
16829
16911
  enumerable: true,
16830
- get: function () { return chunk3BFSALPC_cjs.formatFriendlyDate; }
16912
+ get: function () { return chunkIHKQPOPK_cjs.formatFriendlyDate; }
16831
16913
  });
16832
16914
  Object.defineProperty(exports, "friendlyFileType", {
16833
16915
  enumerable: true,
16834
- get: function () { return chunk3BFSALPC_cjs.friendlyFileType; }
16916
+ get: function () { return chunkIHKQPOPK_cjs.friendlyFileType; }
16835
16917
  });
16836
16918
  Object.defineProperty(exports, "getDocIcon", {
16837
16919
  enumerable: true,
16838
- get: function () { return chunk3BFSALPC_cjs.getDocIcon; }
16920
+ get: function () { return chunkIHKQPOPK_cjs.getDocIcon; }
16839
16921
  });
16840
16922
  Object.defineProperty(exports, "getDocumentAuthor", {
16841
16923
  enumerable: true,
16842
- get: function () { return chunk3BFSALPC_cjs.getDocumentAuthor; }
16924
+ get: function () { return chunkIHKQPOPK_cjs.getDocumentAuthor; }
16843
16925
  });
16844
16926
  Object.defineProperty(exports, "getDocumentDate", {
16845
16927
  enumerable: true,
16846
- get: function () { return chunk3BFSALPC_cjs.getDocumentDate; }
16928
+ get: function () { return chunkIHKQPOPK_cjs.getDocumentDate; }
16847
16929
  });
16848
16930
  Object.defineProperty(exports, "getDocumentNature", {
16849
16931
  enumerable: true,
16850
- get: function () { return chunk3BFSALPC_cjs.getDocumentNature; }
16932
+ get: function () { return chunkIHKQPOPK_cjs.getDocumentNature; }
16851
16933
  });
16852
16934
  Object.defineProperty(exports, "getDocumentSubject", {
16853
16935
  enumerable: true,
16854
- get: function () { return chunk3BFSALPC_cjs.getDocumentSubject; }
16936
+ get: function () { return chunkIHKQPOPK_cjs.getDocumentSubject; }
16855
16937
  });
16856
16938
  Object.defineProperty(exports, "getDocumentTitle", {
16857
16939
  enumerable: true,
16858
- get: function () { return chunk3BFSALPC_cjs.getDocumentTitle; }
16940
+ get: function () { return chunkIHKQPOPK_cjs.getDocumentTitle; }
16859
16941
  });
16860
16942
  Object.defineProperty(exports, "getEntityColor", {
16861
16943
  enumerable: true,
16862
- get: function () { return chunk3BFSALPC_cjs.getEntityColor; }
16944
+ get: function () { return chunkIHKQPOPK_cjs.getEntityColor; }
16863
16945
  });
16864
16946
  Object.defineProperty(exports, "getEntityColorStyles", {
16865
16947
  enumerable: true,
16866
- get: function () { return chunk3BFSALPC_cjs.getEntityColorStyles; }
16948
+ get: function () { return chunkIHKQPOPK_cjs.getEntityColorStyles; }
16867
16949
  });
16868
16950
  Object.defineProperty(exports, "getEntityIcon", {
16869
16951
  enumerable: true,
16870
- get: function () { return chunk3BFSALPC_cjs.getEntityIcon; }
16952
+ get: function () { return chunkIHKQPOPK_cjs.getEntityIcon; }
16871
16953
  });
16872
16954
  Object.defineProperty(exports, "getEntityLabel", {
16873
16955
  enumerable: true,
16874
- get: function () { return chunk3BFSALPC_cjs.getEntityLabel; }
16956
+ get: function () { return chunkIHKQPOPK_cjs.getEntityLabel; }
16875
16957
  });
16876
16958
  Object.defineProperty(exports, "getFileExtension", {
16877
16959
  enumerable: true,
16878
- get: function () { return chunk3BFSALPC_cjs.getFileExtension; }
16960
+ get: function () { return chunkIHKQPOPK_cjs.getFileExtension; }
16879
16961
  });
16880
16962
  Object.defineProperty(exports, "getFileTypeIcon", {
16881
16963
  enumerable: true,
16882
- get: function () { return chunk3BFSALPC_cjs.getFileTypeIcon; }
16964
+ get: function () { return chunkIHKQPOPK_cjs.getFileTypeIcon; }
16883
16965
  });
16884
16966
  Object.defineProperty(exports, "getStatusVariant", {
16885
16967
  enumerable: true,
16886
- get: function () { return chunk3BFSALPC_cjs.getStatusVariant; }
16968
+ get: function () { return chunkIHKQPOPK_cjs.getStatusVariant; }
16887
16969
  });
16888
16970
  Object.defineProperty(exports, "getTagTypeIcon", {
16889
16971
  enumerable: true,
16890
- get: function () { return chunk3BFSALPC_cjs.getTagTypeIcon; }
16972
+ get: function () { return chunkIHKQPOPK_cjs.getTagTypeIcon; }
16891
16973
  });
16892
16974
  Object.defineProperty(exports, "getTagTypeLabel", {
16893
16975
  enumerable: true,
16894
- get: function () { return chunk3BFSALPC_cjs.getTagTypeLabel; }
16976
+ get: function () { return chunkIHKQPOPK_cjs.getTagTypeLabel; }
16895
16977
  });
16896
16978
  Object.defineProperty(exports, "getWorkspaceColor", {
16897
16979
  enumerable: true,
16898
- get: function () { return chunk3BFSALPC_cjs.getWorkspaceColor; }
16980
+ get: function () { return chunkIHKQPOPK_cjs.getWorkspaceColor; }
16899
16981
  });
16900
16982
  Object.defineProperty(exports, "isAudioFile", {
16901
16983
  enumerable: true,
16902
- get: function () { return chunk3BFSALPC_cjs.isAudioFile; }
16984
+ get: function () { return chunkIHKQPOPK_cjs.isAudioFile; }
16903
16985
  });
16904
16986
  Object.defineProperty(exports, "isDocumentAddableToConversation", {
16905
16987
  enumerable: true,
16906
- get: function () { return chunk3BFSALPC_cjs.isDocumentAddableToConversation; }
16988
+ get: function () { return chunkIHKQPOPK_cjs.isDocumentAddableToConversation; }
16907
16989
  });
16908
16990
  Object.defineProperty(exports, "isDownloadOnlyFile", {
16909
16991
  enumerable: true,
16910
- get: function () { return chunk3BFSALPC_cjs.isDownloadOnlyFile; }
16992
+ get: function () { return chunkIHKQPOPK_cjs.isDownloadOnlyFile; }
16911
16993
  });
16912
16994
  Object.defineProperty(exports, "isImageDocument", {
16913
16995
  enumerable: true,
16914
- get: function () { return chunk3BFSALPC_cjs.isImageDocument; }
16996
+ get: function () { return chunkIHKQPOPK_cjs.isImageDocument; }
16915
16997
  });
16916
16998
  Object.defineProperty(exports, "isImageFile", {
16917
16999
  enumerable: true,
16918
- get: function () { return chunk3BFSALPC_cjs.isImageFile; }
17000
+ get: function () { return chunkIHKQPOPK_cjs.isImageFile; }
16919
17001
  });
16920
17002
  Object.defineProperty(exports, "isMediaFile", {
16921
17003
  enumerable: true,
16922
- get: function () { return chunk3BFSALPC_cjs.isMediaFile; }
17004
+ get: function () { return chunkIHKQPOPK_cjs.isMediaFile; }
16923
17005
  });
16924
17006
  Object.defineProperty(exports, "isVideoFile", {
16925
17007
  enumerable: true,
16926
- get: function () { return chunk3BFSALPC_cjs.isVideoFile; }
17008
+ get: function () { return chunkIHKQPOPK_cjs.isVideoFile; }
16927
17009
  });
16928
17010
  Object.defineProperty(exports, "markdownToPlainText", {
16929
17011
  enumerable: true,
16930
- get: function () { return chunk3BFSALPC_cjs.markdownToPlainText; }
17012
+ get: function () { return chunkIHKQPOPK_cjs.markdownToPlainText; }
16931
17013
  });
16932
17014
  Object.defineProperty(exports, "markdownToPlainTextBlocks", {
16933
17015
  enumerable: true,
16934
- get: function () { return chunk3BFSALPC_cjs.markdownToPlainTextBlocks; }
17016
+ get: function () { return chunkIHKQPOPK_cjs.markdownToPlainTextBlocks; }
16935
17017
  });
16936
17018
  Object.defineProperty(exports, "pickRecorderMimeType", {
16937
17019
  enumerable: true,
16938
- get: function () { return chunk3BFSALPC_cjs.pickRecorderMimeType; }
17020
+ get: function () { return chunkIHKQPOPK_cjs.pickRecorderMimeType; }
16939
17021
  });
16940
17022
  Object.defineProperty(exports, "tagKindNouns", {
16941
17023
  enumerable: true,
16942
- get: function () { return chunk3BFSALPC_cjs.tagKindNouns; }
17024
+ get: function () { return chunkIHKQPOPK_cjs.tagKindNouns; }
16943
17025
  });
16944
17026
  Object.defineProperty(exports, "tagKindTitle", {
16945
17027
  enumerable: true,
16946
- get: function () { return chunk3BFSALPC_cjs.tagKindTitle; }
17028
+ get: function () { return chunkIHKQPOPK_cjs.tagKindTitle; }
16947
17029
  });
16948
17030
  Object.defineProperty(exports, "toggleVariants", {
16949
17031
  enumerable: true,
16950
- get: function () { return chunk3BFSALPC_cjs.toggleVariants; }
17032
+ get: function () { return chunkIHKQPOPK_cjs.toggleVariants; }
16951
17033
  });
16952
17034
  Object.defineProperty(exports, "useAudioRecorder", {
16953
17035
  enumerable: true,
16954
- get: function () { return chunk3BFSALPC_cjs.useAudioRecorder; }
17036
+ get: function () { return chunkIHKQPOPK_cjs.useAudioRecorder; }
16955
17037
  });
16956
17038
  Object.defineProperty(exports, "useDictateContext", {
16957
17039
  enumerable: true,
16958
- get: function () { return chunk3BFSALPC_cjs.useDictateContext; }
17040
+ get: function () { return chunkIHKQPOPK_cjs.useDictateContext; }
16959
17041
  });
16960
17042
  Object.defineProperty(exports, "usesOriginalBytesForViewer", {
16961
17043
  enumerable: true,
16962
- get: function () { return chunk3BFSALPC_cjs.usesOriginalBytesForViewer; }
17044
+ get: function () { return chunkIHKQPOPK_cjs.usesOriginalBytesForViewer; }
16963
17045
  });
16964
17046
  Object.defineProperty(exports, "Avatar", {
16965
17047
  enumerable: true,
@@ -17376,6 +17458,7 @@ exports.aliasTakenMessage = aliasTakenMessage;
17376
17458
  exports.allConversationThreads = allConversationThreads;
17377
17459
  exports.annotateThread = annotateThread;
17378
17460
  exports.announceMailDraftReplaced = announceMailDraftReplaced;
17461
+ exports.announceTurnEnded = announceTurnEnded;
17379
17462
  exports.appendTokenToMessage = appendTokenToMessage;
17380
17463
  exports.applyConversationEvent = applyConversationEvent;
17381
17464
  exports.applyFinalContextToMessage = applyFinalContextToMessage;
@@ -17387,6 +17470,7 @@ exports.applyTaskEvent = applyTaskEvent;
17387
17470
  exports.arbiMailClient = arbiMailClient;
17388
17471
  exports.archiveName = archiveName;
17389
17472
  exports.archivedWorkspaceMessage = archivedWorkspaceMessage;
17473
+ exports.assistantLabels = assistantLabels;
17390
17474
  exports.bindThreadDocument = bindThreadDocument;
17391
17475
  exports.boundDocumentOf = boundDocumentOf;
17392
17476
  exports.bucketOf = bucketOf;
@@ -17625,6 +17709,7 @@ exports.useConversationIsShared = useConversationIsShared;
17625
17709
  exports.useConversationItems = useConversationItems;
17626
17710
  exports.useConversationPendingAuth = useConversationPendingAuth;
17627
17711
  exports.useConversationSearch = useConversationSearch;
17712
+ exports.useConversationSettings = useConversationSettings;
17628
17713
  exports.useConversationTurn = useConversationTurn;
17629
17714
  exports.useConversationUsage = useConversationUsage;
17630
17715
  exports.useCreateAgent = useCreateAgent;