@arbidocs/react 0.4.49 → 0.4.51

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
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkUFXRLZJG_cjs = require('./chunk-UFXRLZJG.cjs');
3
+ var chunkTLZVR72J_cjs = require('./chunk-TLZVR72J.cjs');
4
4
  var chunkZ4M7JB4L_cjs = require('./chunk-Z4M7JB4L.cjs');
5
- var chunkATX7FAO6_cjs = require('./chunk-ATX7FAO6.cjs');
6
- var chunkV4XELT62_cjs = require('./chunk-V4XELT62.cjs');
5
+ var chunk2NSB2EKN_cjs = require('./chunk-2NSB2EKN.cjs');
6
+ var chunkNA3FOYSF_cjs = require('./chunk-NA3FOYSF.cjs');
7
7
  var chunkOBNTJEEO_cjs = require('./chunk-OBNTJEEO.cjs');
8
8
  var chunkS6A6FSG7_cjs = require('./chunk-S6A6FSG7.cjs');
9
9
  var chunkTMPDW7J5_cjs = require('./chunk-TMPDW7J5.cjs');
@@ -37,7 +37,7 @@ function useUpdateConversation() {
37
37
  conversationId,
38
38
  patch
39
39
  }) => arbi.conversations.update(conversationId, patch),
40
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.allConversations() })
40
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.allConversations() })
41
41
  });
42
42
  }
43
43
  function useCreateWork() {
@@ -45,7 +45,7 @@ function useCreateWork() {
45
45
  const qc = reactQuery.useQueryClient();
46
46
  return reactQuery.useMutation({
47
47
  mutationFn: (body) => arbi.conversations.createWork(body),
48
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.allConversations() })
48
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.allConversations() })
49
49
  });
50
50
  }
51
51
  function useRunConversation() {
@@ -53,7 +53,7 @@ function useRunConversation() {
53
53
  const qc = reactQuery.useQueryClient();
54
54
  return reactQuery.useMutation({
55
55
  mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
56
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.allConversations() })
56
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.allConversations() })
57
57
  });
58
58
  }
59
59
  function useReviewConversation() {
@@ -64,7 +64,7 @@ function useReviewConversation() {
64
64
  conversationId,
65
65
  review
66
66
  }) => arbi.conversations.review(conversationId, review),
67
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.allConversations() })
67
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.allConversations() })
68
68
  });
69
69
  }
70
70
  function useRequestConversationApproval() {
@@ -75,7 +75,7 @@ function useRequestConversationApproval() {
75
75
  conversationId,
76
76
  request
77
77
  }) => arbi.conversations.requestApproval(conversationId, request),
78
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.allConversations() })
78
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.allConversations() })
79
79
  });
80
80
  }
81
81
  function usePlanWork() {
@@ -87,7 +87,7 @@ function usePlanWork() {
87
87
  function useConversationPendingAuth(conversationId, options) {
88
88
  const arbi = chunkZMTLGO3K_cjs.useArbi();
89
89
  return reactQuery.useQuery({
90
- queryKey: [...chunkUFXRLZJG_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "pending-auth"],
90
+ queryKey: [...chunkTLZVR72J_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "pending-auth"],
91
91
  queryFn: () => arbi.conversations.pendingAuth(conversationId),
92
92
  enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
93
93
  retry: false
@@ -96,7 +96,7 @@ function useConversationPendingAuth(conversationId, options) {
96
96
  function useConversationActivity(conversationId, options) {
97
97
  const arbi = chunkZMTLGO3K_cjs.useArbi();
98
98
  return reactQuery.useQuery({
99
- queryKey: [...chunkUFXRLZJG_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "activity"],
99
+ queryKey: [...chunkTLZVR72J_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "activity"],
100
100
  queryFn: () => arbi.conversations.activity(conversationId),
101
101
  enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
102
102
  refetchInterval: options?.live ? 2500 : false
@@ -105,7 +105,7 @@ function useConversationActivity(conversationId, options) {
105
105
  function useWorkflows(options) {
106
106
  const arbi = chunkZMTLGO3K_cjs.useArbi();
107
107
  return reactQuery.useQuery({
108
- queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.workflows(),
108
+ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.workflows(),
109
109
  queryFn: () => arbi.workflows.list(),
110
110
  refetchInterval: options?.live ? 15e3 : false,
111
111
  enabled: options?.enabled ?? arbi.isLoggedIn
@@ -116,7 +116,7 @@ function useCreateWorkflow() {
116
116
  const qc = reactQuery.useQueryClient();
117
117
  return reactQuery.useMutation({
118
118
  mutationFn: (body) => arbi.workflows.create(body),
119
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.workflows() })
119
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.workflows() })
120
120
  });
121
121
  }
122
122
  function useUpdateWorkflow() {
@@ -127,7 +127,7 @@ function useUpdateWorkflow() {
127
127
  workflowId,
128
128
  patch
129
129
  }) => arbi.workflows.update(workflowId, patch),
130
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.workflows() })
130
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.workflows() })
131
131
  });
132
132
  }
133
133
  function useDeleteWorkflow() {
@@ -135,7 +135,7 @@ function useDeleteWorkflow() {
135
135
  const qc = reactQuery.useQueryClient();
136
136
  return reactQuery.useMutation({
137
137
  mutationFn: (workflowId) => arbi.workflows.delete(workflowId),
138
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.workflows() })
138
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.workflows() })
139
139
  });
140
140
  }
141
141
  function useRunWorkflow() {
@@ -144,8 +144,8 @@ function useRunWorkflow() {
144
144
  return reactQuery.useMutation({
145
145
  mutationFn: (workflowId) => arbi.workflows.run(workflowId),
146
146
  onSuccess: () => Promise.all([
147
- qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.workflows() }),
148
- qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.allConversations() })
147
+ qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.workflows() }),
148
+ qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.allConversations() })
149
149
  ])
150
150
  });
151
151
  }
@@ -154,13 +154,13 @@ function useCreateAgent() {
154
154
  const qc = reactQuery.useQueryClient();
155
155
  return reactQuery.useMutation({
156
156
  mutationFn: (name) => arbi.agents.create(name),
157
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.agents() })
157
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.agents() })
158
158
  });
159
159
  }
160
160
  function useAgentConfig(agentExtId, options) {
161
161
  const arbi = chunkZMTLGO3K_cjs.useArbi();
162
162
  return reactQuery.useQuery({
163
- queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.agentConfig(agentExtId),
163
+ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.agentConfig(agentExtId),
164
164
  queryFn: async () => agentExtId ? await arbi.agents.getConfig(agentExtId) : await arbi.agentConfig.get("default"),
165
165
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
166
166
  });
@@ -168,7 +168,7 @@ function useAgentConfig(agentExtId, options) {
168
168
  function useAgentModels(options) {
169
169
  const arbi = chunkZMTLGO3K_cjs.useArbi();
170
170
  return reactQuery.useQuery({
171
- queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.models(),
171
+ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.models(),
172
172
  queryFn: async () => (await arbi.agentConfig.getModels()).models.map((m) => m.model_name),
173
173
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
174
174
  });
@@ -191,17 +191,17 @@ function useSaveAgentConfig() {
191
191
  });
192
192
  },
193
193
  onSuccess: (_saved, { agentExtId }) => Promise.all([
194
- qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.configs() }),
195
- qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.agentConfig(agentExtId) }),
194
+ qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.configs() }),
195
+ qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.agentConfig(agentExtId) }),
196
196
  // The agent list shows the pinned persona/model, so it refreshes too.
197
- qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.agents() })
197
+ qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.agents() })
198
198
  ])
199
199
  });
200
200
  }
201
201
  function useAgentWorkspaces(agentExtId, options) {
202
202
  const arbi = chunkZMTLGO3K_cjs.useArbi();
203
203
  return reactQuery.useQuery({
204
- queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.agentWorkspaces(agentExtId ?? ""),
204
+ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.agentWorkspaces(agentExtId ?? ""),
205
205
  queryFn: () => arbi.agents.listWorkspaces(agentExtId),
206
206
  enabled: (options?.enabled ?? true) && !!agentExtId && arbi.isLoggedIn
207
207
  });
@@ -222,7 +222,7 @@ function useGrantAgentAccess() {
222
222
  if (!agent?.email) throw new Error("The agent's address is unknown.");
223
223
  return arbi.workspaces.grantAccess({ workspaceId, emails: [agent.email] });
224
224
  },
225
- onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
225
+ onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
226
226
  });
227
227
  }
228
228
  function useRevokeAgentAccess() {
@@ -241,13 +241,13 @@ function useRevokeAgentAccess() {
241
241
  if (previous && previous !== workspaceId) await arbi.selectWorkspace(previous);
242
242
  }
243
243
  },
244
- onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
244
+ onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
245
245
  });
246
246
  }
247
247
  function useSkills(options) {
248
248
  const arbi = chunkZMTLGO3K_cjs.useArbi();
249
249
  return reactQuery.useQuery({
250
- queryKey: [...chunkUFXRLZJG_cjs.arbiQueryKeys.skills(), options?.includeHidden ?? false],
250
+ queryKey: [...chunkTLZVR72J_cjs.arbiQueryKeys.skills(), options?.includeHidden ?? false],
251
251
  queryFn: () => arbi.assistant.listSkills({ includeHidden: options?.includeHidden }),
252
252
  refetchInterval: options?.live ? 5e3 : false,
253
253
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn,
@@ -278,7 +278,7 @@ function useUploadSkillFiles() {
278
278
  }
279
279
  return results;
280
280
  },
281
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.skills() })
281
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.skills() })
282
282
  });
283
283
  }
284
284
  function useStartWorkQuery() {
@@ -305,7 +305,7 @@ function useStartWorkQuery() {
305
305
  `The run ${response.id} started, but its thread is not available yet. Do not submit it again.`
306
306
  );
307
307
  },
308
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.allConversations() })
308
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.allConversations() })
309
309
  });
310
310
  }
311
311
  function useAgentSession(agentId, options) {
@@ -459,8 +459,8 @@ function useArbiChat(options = {}) {
459
459
  const recoveryIntervalMs = streamRecovery?.intervalMs ?? 3e3;
460
460
  const recoveryTimeoutMs = streamRecovery?.timeoutMs ?? 12e4;
461
461
  const arbi = chunkZMTLGO3K_cjs.useArbi();
462
- const { data: docs = [], isLoading: isLoadingDocuments, refetch } = chunkUFXRLZJG_cjs.useDocuments(workspaceId);
463
- const ordinaryHistory = chunkUFXRLZJG_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
462
+ const { data: docs = [], isLoading: isLoadingDocuments, refetch } = chunkTLZVR72J_cjs.useDocuments(workspaceId);
463
+ const ordinaryHistory = chunkTLZVR72J_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
464
464
  const agentHistory = useAgentChats(agentId);
465
465
  const stored = React.useMemo(
466
466
  () => agentId ? (agentHistory.data ?? []).filter((chat) => chat.workspace_ext_id === workspaceId).map((chat) => ({
@@ -475,7 +475,7 @@ function useArbiChat(options = {}) {
475
475
  );
476
476
  const isLoadingThreads = agentId ? agentHistory.isLoading : ordinaryHistory.isLoading;
477
477
  const refetchConversations = agentId ? agentHistory.refetch : ordinaryHistory.refetch;
478
- const query = chunkUFXRLZJG_cjs.useAssistantQuery();
478
+ const query = chunkTLZVR72J_cjs.useAssistantQuery();
479
479
  const { mutateAsync } = query;
480
480
  const [stagedFiles, setStagedFiles] = React.useState([]);
481
481
  const [threads, setThreads] = React.useState(() => [emptyThread()]);
@@ -535,7 +535,7 @@ function useArbiChat(options = {}) {
535
535
  (conversation) => conversation.external_id === active.conversationId && conversation.status === "generating"
536
536
  ) || active.messages.some((message) => message.status === "streaming");
537
537
  const needsLoad = !!active.conversationId && !active.isLoaded;
538
- const loaded = chunkUFXRLZJG_cjs.useConversationThreads(workspaceId, active.conversationId ?? void 0, {
538
+ const loaded = chunkTLZVR72J_cjs.useConversationThreads(workspaceId, active.conversationId ?? void 0, {
539
539
  enabled: needsLoad || liveHistory && !isRunning && !isPostingComment,
540
540
  live: liveHistory
541
541
  });
@@ -1065,6 +1065,7 @@ var ChatBubble = React.memo(function ChatBubble2({
1065
1065
  classNames,
1066
1066
  renderMessage = (m) => m,
1067
1067
  formatTimestamp = (t) => t,
1068
+ attachments,
1068
1069
  "data-testid": testId
1069
1070
  }) {
1070
1071
  const [isHovered, setIsHovered] = React.useState(false);
@@ -1142,7 +1143,8 @@ var ChatBubble = React.memo(function ChatBubble2({
1142
1143
  highlightClass
1143
1144
  ),
1144
1145
  children: [
1145
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm [&_.markdown-content]:space-y-1.5 [&_pre]:max-w-full [&_pre]:overflow-x-auto", children: renderMessage(message) }),
1146
+ (message || !attachments) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm [&_.markdown-content]:space-y-1.5 [&_pre]:max-w-full [&_pre]:overflow-x-auto", children: renderMessage(message) }),
1147
+ attachments && /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkS6A6FSG7_cjs.cn(message && "mt-1.5"), children: attachments }),
1146
1148
  isLastOfRun && /* @__PURE__ */ jsxRuntime.jsxs(
1147
1149
  "div",
1148
1150
  {
@@ -1312,14 +1314,14 @@ function useArbiDocumentSync(workspaceId) {
1312
1314
  if (!workspaceId) return;
1313
1315
  if (client.isMessageType(msg, "batch_complete")) {
1314
1316
  if (msg.workspace_ext_id !== workspaceId) return;
1315
- void queryClient.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.documents(workspaceId) });
1316
- void queryClient.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.tags(workspaceId) });
1317
+ void queryClient.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.documents(workspaceId) });
1318
+ void queryClient.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.tags(workspaceId) });
1317
1319
  return;
1318
1320
  }
1319
1321
  if (client.isMessageType(msg, "task_update")) {
1320
1322
  if (msg.workspace_ext_id !== workspaceId) return;
1321
1323
  if (TERMINAL_STATUSES.has(msg.status)) {
1322
- void queryClient.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.documents(workspaceId) });
1324
+ void queryClient.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.documents(workspaceId) });
1323
1325
  }
1324
1326
  }
1325
1327
  });
@@ -1448,7 +1450,7 @@ function useShellWorkspaces(options) {
1448
1450
  }
1449
1451
  function useArbiShellWorkspaces(options = {}) {
1450
1452
  const arbi = chunkZMTLGO3K_cjs.useArbi();
1451
- const query = chunkUFXRLZJG_cjs.useWorkspaces();
1453
+ const query = chunkTLZVR72J_cjs.useWorkspaces();
1452
1454
  const { select, ...rest } = options;
1453
1455
  const defaultSelect = React.useCallback(
1454
1456
  (workspace) => arbi.selectWorkspace(workspace.id),
@@ -1465,7 +1467,7 @@ function useArbiShellWorkspaces(options = {}) {
1465
1467
  function useContacts(options) {
1466
1468
  const arbi = chunkZMTLGO3K_cjs.useArbi();
1467
1469
  return reactQuery.useQuery({
1468
- queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.contacts(),
1470
+ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.contacts(),
1469
1471
  queryFn: () => arbi.contacts.list(),
1470
1472
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
1471
1473
  });
@@ -1485,7 +1487,7 @@ function useAddContacts() {
1485
1487
  const qc = reactQuery.useQueryClient();
1486
1488
  return reactQuery.useMutation({
1487
1489
  mutationFn: (emails) => arbi.contacts.add(emails),
1488
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.contacts() })
1490
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.contacts() })
1489
1491
  });
1490
1492
  }
1491
1493
  function useRemoveContacts() {
@@ -1493,7 +1495,7 @@ function useRemoveContacts() {
1493
1495
  const qc = reactQuery.useQueryClient();
1494
1496
  return reactQuery.useMutation({
1495
1497
  mutationFn: (contactIds) => arbi.contacts.remove(contactIds),
1496
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.contacts() })
1498
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.contacts() })
1497
1499
  });
1498
1500
  }
1499
1501
  function toProfileView(profile) {
@@ -1505,7 +1507,7 @@ function toProfileView(profile) {
1505
1507
  function useProfile(options) {
1506
1508
  const arbi = chunkZMTLGO3K_cjs.useArbi();
1507
1509
  return reactQuery.useQuery({
1508
- queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.profile(),
1510
+ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.profile(),
1509
1511
  queryFn: () => {
1510
1512
  const profile = arbi.user.profile();
1511
1513
  return profile ? toProfileView(profile) : null;
@@ -1528,8 +1530,8 @@ function useUpdateProfile() {
1528
1530
  return profile ? toProfileView(profile) : null;
1529
1531
  },
1530
1532
  onSuccess: (profile) => {
1531
- qc.setQueryData(chunkUFXRLZJG_cjs.arbiQueryKeys.profile(), profile);
1532
- return qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.workspaces() });
1533
+ qc.setQueryData(chunkTLZVR72J_cjs.arbiQueryKeys.profile(), profile);
1534
+ return qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.workspaces() });
1533
1535
  }
1534
1536
  });
1535
1537
  }
@@ -1614,7 +1616,7 @@ function useConfirmEmailChange() {
1614
1616
  mutationFn: ({ newEmail, code }) => arbi.account.confirmEmailChange(newEmail, code),
1615
1617
  onSuccess: () => {
1616
1618
  const profile = arbi.user.profile();
1617
- qc.setQueryData(chunkUFXRLZJG_cjs.arbiQueryKeys.profile(), profile ? toProfileView(profile) : null);
1619
+ qc.setQueryData(chunkTLZVR72J_cjs.arbiQueryKeys.profile(), profile ? toProfileView(profile) : null);
1618
1620
  }
1619
1621
  });
1620
1622
  }
@@ -1783,7 +1785,7 @@ function toNotificationPreferences(stored, keys) {
1783
1785
  function useUserSettings(options) {
1784
1786
  const arbi = chunkZMTLGO3K_cjs.useArbi();
1785
1787
  return reactQuery.useQuery({
1786
- queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.userSettings(),
1788
+ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.userSettings(),
1787
1789
  queryFn: () => arbi.settings.get(),
1788
1790
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
1789
1791
  });
@@ -1796,18 +1798,18 @@ function useNotificationPreferences(keys, options) {
1796
1798
  const save = reactQuery.useMutation({
1797
1799
  mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
1798
1800
  onMutate: async (patch) => {
1799
- await qc.cancelQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.userSettings() });
1800
- const previous = qc.getQueryData(chunkUFXRLZJG_cjs.arbiQueryKeys.userSettings());
1801
+ await qc.cancelQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.userSettings() });
1802
+ const previous = qc.getQueryData(chunkTLZVR72J_cjs.arbiQueryKeys.userSettings());
1801
1803
  qc.setQueryData(
1802
- chunkUFXRLZJG_cjs.arbiQueryKeys.userSettings(),
1804
+ chunkTLZVR72J_cjs.arbiQueryKeys.userSettings(),
1803
1805
  (old) => old ? { ...old, email_notifications: { ...old.email_notifications, ...patch } } : old
1804
1806
  );
1805
1807
  return { previous };
1806
1808
  },
1807
1809
  onError: (_err, _patch, context) => {
1808
- qc.setQueryData(chunkUFXRLZJG_cjs.arbiQueryKeys.userSettings(), context?.previous);
1810
+ qc.setQueryData(chunkTLZVR72J_cjs.arbiQueryKeys.userSettings(), context?.previous);
1809
1811
  },
1810
- onSettled: () => qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.userSettings() })
1812
+ onSettled: () => qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.userSettings() })
1811
1813
  });
1812
1814
  const model = React.useMemo(() => toNotificationPreferences(stored, keys), [stored, keys]);
1813
1815
  const setAll = React.useCallback(
@@ -1833,7 +1835,7 @@ function useTerminateSession() {
1833
1835
  const qc = reactQuery.useQueryClient();
1834
1836
  return reactQuery.useMutation({
1835
1837
  mutationFn: (sessionId) => arbi.sessions.terminate(sessionId),
1836
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.sessions() })
1838
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.sessions() })
1837
1839
  });
1838
1840
  }
1839
1841
  function useLogoutAllSessions() {
@@ -1909,7 +1911,7 @@ function useDeleteAccountFlow({
1909
1911
  };
1910
1912
  }
1911
1913
  function useWorkspaceDocs(workspaceId) {
1912
- const { data: docs = [], isLoading, isError } = chunkUFXRLZJG_cjs.useDocuments(workspaceId);
1914
+ const { data: docs = [], isLoading, isError } = chunkTLZVR72J_cjs.useDocuments(workspaceId);
1913
1915
  const docIds = React.useMemo(
1914
1916
  () => docs.map((d) => d.external_id).filter((id) => !!id),
1915
1917
  [docs]
@@ -1917,7 +1919,7 @@ function useWorkspaceDocs(workspaceId) {
1917
1919
  return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
1918
1920
  }
1919
1921
  function useAiTask() {
1920
- const mutation = chunkUFXRLZJG_cjs.useAssistantQuery();
1922
+ const mutation = chunkTLZVR72J_cjs.useAssistantQuery();
1921
1923
  const [status, setStatus] = React.useState("idle");
1922
1924
  const [text, setText] = React.useState("");
1923
1925
  const [stepCount, setStepCount] = React.useState(0);
@@ -2131,7 +2133,7 @@ function AiAnswer({
2131
2133
  }
2132
2134
  ),
2133
2135
  hasText && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2134
- /* @__PURE__ */ jsxRuntime.jsx(chunkATX7FAO6_cjs.AiMarkdown, { isStreaming: running, children: text }),
2136
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2NSB2EKN_cjs.AiMarkdown, { isStreaming: running, children: text }),
2135
2137
  !running && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-t border-border pt-2.5", children: [
2136
2138
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs text-muted-foreground", children: [
2137
2139
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ShieldCheck, { className: "size-3.5 text-ai-accent" }),
@@ -2176,7 +2178,7 @@ function AiActionCard({
2176
2178
  const p = typeof prompt === "function" ? prompt() : prompt;
2177
2179
  void task.run(p, docIds);
2178
2180
  };
2179
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkATX7FAO6_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
2181
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunk2NSB2EKN_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
2180
2182
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
2181
2183
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
2182
2184
  /* @__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" }) }),
@@ -2186,7 +2188,7 @@ function AiActionCard({
2186
2188
  ] })
2187
2189
  ] }),
2188
2190
  /* @__PURE__ */ jsxRuntime.jsxs(
2189
- chunkATX7FAO6_cjs.Button,
2191
+ chunk2NSB2EKN_cjs.Button,
2190
2192
  {
2191
2193
  variant: task.isDone ? "outline" : "accent",
2192
2194
  size: "sm",
@@ -2318,11 +2320,11 @@ function ArtifactCanvas({
2318
2320
  children: active.title
2319
2321
  }
2320
2322
  ),
2321
- isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunkATX7FAO6_cjs.Badge, { variant: "accent", className: "gap-1", children: [
2323
+ isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunk2NSB2EKN_cjs.Badge, { variant: "accent", className: "gap-1", children: [
2322
2324
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.GitCompareArrows, { className: "size-3" }),
2323
2325
  " Redline"
2324
2326
  ] }),
2325
- /* @__PURE__ */ jsxRuntime.jsxs(chunkATX7FAO6_cjs.Badge, { variant: "secondary", children: [
2327
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk2NSB2EKN_cjs.Badge, { variant: "secondary", children: [
2326
2328
  "v",
2327
2329
  active.version
2328
2330
  ] }),
@@ -2378,7 +2380,7 @@ function ArtifactCanvas({
2378
2380
  animate: { opacity: 1, y: 0 },
2379
2381
  transition: { duration: 0.2 },
2380
2382
  className: "mx-auto max-w-2xl rounded-lg bg-card p-8 shadow-sm ring-1 ring-border",
2381
- 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(chunkATX7FAO6_cjs.AiMarkdown, { children: active.content })
2383
+ 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(chunk2NSB2EKN_cjs.AiMarkdown, { children: active.content })
2382
2384
  },
2383
2385
  active.doc_ext_id
2384
2386
  ) }) })
@@ -2395,7 +2397,7 @@ function MessageArtifactCard({
2395
2397
  const Icon = isImage ? lucideReact.Image : lucideReact.FileText;
2396
2398
  const statusText = isImage ? isComplete ? "Image ready" : "Generating\u2026" : isComplete ? "Draft ready" : "Drafting\u2026";
2397
2399
  return /* @__PURE__ */ jsxRuntime.jsxs(
2398
- chunkATX7FAO6_cjs.Card,
2400
+ chunk2NSB2EKN_cjs.Card,
2399
2401
  {
2400
2402
  variant: "outline",
2401
2403
  className: "mt-3 flex items-center gap-3 px-3 py-2.5",
@@ -2471,7 +2473,7 @@ function DocSearch({
2471
2473
  status === "done" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", "data-testid": "doc-search-results", children: [
2472
2474
  /* @__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` }),
2473
2475
  results.slice(0, 8).map((r, i) => /* @__PURE__ */ jsxRuntime.jsxs(
2474
- chunkATX7FAO6_cjs.Card,
2476
+ chunk2NSB2EKN_cjs.Card,
2475
2477
  {
2476
2478
  variant: "elevated",
2477
2479
  className: chunkS6A6FSG7_cjs.cn(
@@ -2484,7 +2486,7 @@ function DocSearch({
2484
2486
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-1 flex items-center gap-2", children: [
2485
2487
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 text-ai-accent" }),
2486
2488
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: r.docTitle ?? "Document" }),
2487
- r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkATX7FAO6_cjs.Badge, { variant: "secondary", children: [
2489
+ r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunk2NSB2EKN_cjs.Badge, { variant: "secondary", children: [
2488
2490
  "p.",
2489
2491
  r.page
2490
2492
  ] }),
@@ -2510,8 +2512,8 @@ function DocumentReview({
2510
2512
  onClose,
2511
2513
  className
2512
2514
  }) {
2513
- const parsedQuery = chunkUFXRLZJG_cjs.useParsedDocument(docId, stage);
2514
- const tagsQuery = chunkUFXRLZJG_cjs.useTags(workspaceId);
2515
+ const parsedQuery = chunkTLZVR72J_cjs.useParsedDocument(docId, stage);
2516
+ const tagsQuery = chunkTLZVR72J_cjs.useTags(workspaceId);
2515
2517
  const tagNameById = React__default.default.useMemo(() => {
2516
2518
  const map = /* @__PURE__ */ new Map();
2517
2519
  for (const t of tagsQuery.data ?? []) {
@@ -2578,7 +2580,7 @@ function DocumentReview({
2578
2580
  findings.length ? ` \xB7 ${findings.length} findings` : ""
2579
2581
  ] })
2580
2582
  ] }),
2581
- doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(chunkATX7FAO6_cjs.Badge, { variant: "secondary", children: doc.status }) : null,
2583
+ doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(chunk2NSB2EKN_cjs.Badge, { variant: "secondary", children: doc.status }) : null,
2582
2584
  onClose ? /* @__PURE__ */ jsxRuntime.jsx(
2583
2585
  "button",
2584
2586
  {
@@ -2615,7 +2617,7 @@ function DocumentReview({
2615
2617
  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",
2616
2618
  children: [
2617
2619
  /* @__PURE__ */ jsxRuntime.jsx(
2618
- chunkATX7FAO6_cjs.TagEntity,
2620
+ chunk2NSB2EKN_cjs.TagEntity,
2619
2621
  {
2620
2622
  size: "sm",
2621
2623
  tag: {
@@ -2660,7 +2662,7 @@ function DocumentReview({
2660
2662
  ),
2661
2663
  children: [
2662
2664
  highlighted ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1", children: /* @__PURE__ */ jsxRuntime.jsx(
2663
- chunkATX7FAO6_cjs.TagEntity,
2665
+ chunk2NSB2EKN_cjs.TagEntity,
2664
2666
  {
2665
2667
  size: "sm",
2666
2668
  tag: {
@@ -2669,7 +2671,7 @@ function DocumentReview({
2669
2671
  }
2670
2672
  }
2671
2673
  ) }) : null,
2672
- /* @__PURE__ */ jsxRuntime.jsx(chunkV4XELT62_cjs.MarkdownRenderer, { className: "prose prose-sm max-w-none dark:prose-invert", children: c.content })
2674
+ /* @__PURE__ */ jsxRuntime.jsx(chunkNA3FOYSF_cjs.MarkdownRenderer, { className: "prose prose-sm max-w-none dark:prose-invert", children: c.content })
2673
2675
  ]
2674
2676
  },
2675
2677
  cid ?? i
@@ -2709,7 +2711,7 @@ function ResultRow({
2709
2711
  onSelect
2710
2712
  }) {
2711
2713
  return /* @__PURE__ */ jsxRuntime.jsx(
2712
- chunkATX7FAO6_cjs.PassageCard,
2714
+ chunk2NSB2EKN_cjs.PassageCard,
2713
2715
  {
2714
2716
  onClick: onSelect,
2715
2717
  active: isActive,
@@ -2718,7 +2720,7 @@ function ResultRow({
2718
2720
  header: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2719
2721
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 shrink-0 text-ai-accent" }),
2720
2722
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: result.docTitle ?? "Document" }),
2721
- result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkATX7FAO6_cjs.Badge, { variant: "secondary", children: [
2723
+ result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunk2NSB2EKN_cjs.Badge, { variant: "secondary", children: [
2722
2724
  "p.",
2723
2725
  result.page
2724
2726
  ] })
@@ -2742,7 +2744,7 @@ function SemanticSearch({
2742
2744
  const { results, status, error, search, isRunning, query } = useSemanticSearch(docIds);
2743
2745
  const [value, setValue] = React.useState("");
2744
2746
  const [selected, setSelected] = React.useState(null);
2745
- const { data: docs = [] } = chunkUFXRLZJG_cjs.useDocuments(workspaceId, { enabled: !!workspaceId });
2747
+ const { data: docs = [] } = chunkTLZVR72J_cjs.useDocuments(workspaceId, { enabled: !!workspaceId });
2746
2748
  const docMap = React.useMemo(() => {
2747
2749
  const map = /* @__PURE__ */ new Map();
2748
2750
  for (const d of docs) if (d.external_id) map.set(d.external_id, d);
@@ -2828,7 +2830,7 @@ function SemanticSearch({
2828
2830
  "data-testid": "arbi-semantic-search-viewer",
2829
2831
  children: selected && selected.docId ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col gap-2", children: [
2830
2832
  /* @__PURE__ */ jsxRuntime.jsxs(
2831
- chunkATX7FAO6_cjs.Button,
2833
+ chunk2NSB2EKN_cjs.Button,
2832
2834
  {
2833
2835
  variant: "ghost",
2834
2836
  size: "sm",
@@ -2887,7 +2889,7 @@ Question: ${question}`,
2887
2889
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 space-y-3", "data-testid": "doc-qa", children: [
2888
2890
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
2889
2891
  /* @__PURE__ */ jsxRuntime.jsx(
2890
- chunkATX7FAO6_cjs.Input,
2892
+ chunk2NSB2EKN_cjs.Input,
2891
2893
  {
2892
2894
  value: q,
2893
2895
  onChange: (e) => setQ(e.target.value),
@@ -2898,7 +2900,7 @@ Question: ${question}`,
2898
2900
  }
2899
2901
  ),
2900
2902
  /* @__PURE__ */ jsxRuntime.jsx(
2901
- chunkATX7FAO6_cjs.Button,
2903
+ chunk2NSB2EKN_cjs.Button,
2902
2904
  {
2903
2905
  variant: "accent",
2904
2906
  size: "icon",
@@ -2910,7 +2912,7 @@ Question: ${question}`,
2910
2912
  }
2911
2913
  ),
2912
2914
  /* @__PURE__ */ jsxRuntime.jsxs(
2913
- chunkATX7FAO6_cjs.Button,
2915
+ chunk2NSB2EKN_cjs.Button,
2914
2916
  {
2915
2917
  variant: "outline",
2916
2918
  size: "sm",
@@ -3054,7 +3056,7 @@ var CitationRendererComponent = ({
3054
3056
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkS6A6FSG7_cjs.cn("citation-container", className), "data-testid": "citation-renderer", children: renderMarkdown({
3055
3057
  components: markdownComponents,
3056
3058
  isStreaming,
3057
- children: chunkV4XELT62_cjs.normalizeCitationMarkup(content)
3059
+ children: chunkNA3FOYSF_cjs.normalizeCitationMarkup(content)
3058
3060
  }) });
3059
3061
  };
3060
3062
  var CitationPopover = ({
@@ -3089,7 +3091,7 @@ var CitationPopover = ({
3089
3091
  return () => {
3090
3092
  if (!restoreFocusRef.current) return;
3091
3093
  restoreFocusRef.current = false;
3092
- if (triggerRef.current) chunkATX7FAO6_cjs.returnFocusToMark(triggerRef.current);
3094
+ if (triggerRef.current) chunk2NSB2EKN_cjs.returnFocusToMark(triggerRef.current);
3093
3095
  };
3094
3096
  }, [open]);
3095
3097
  React.useEffect(() => {
@@ -3290,7 +3292,7 @@ var CitationLink = ({
3290
3292
  triggerRef,
3291
3293
  children
3292
3294
  }) => /* @__PURE__ */ jsxRuntime.jsxs(
3293
- chunkATX7FAO6_cjs.MarkMenu,
3295
+ chunk2NSB2EKN_cjs.MarkMenu,
3294
3296
  {
3295
3297
  triggerRef,
3296
3298
  items,
@@ -3328,8 +3330,8 @@ var FileIcon = ({ size = 16, className = "" }) => {
3328
3330
  "path",
3329
3331
  {
3330
3332
  d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
3331
- fill: chunkATX7FAO6_cjs.FILE_TYPE_COLORS.generic,
3332
- stroke: chunkATX7FAO6_cjs.FILE_TYPE_COLORS.generic,
3333
+ fill: chunk2NSB2EKN_cjs.FILE_TYPE_COLORS.generic,
3334
+ stroke: chunk2NSB2EKN_cjs.FILE_TYPE_COLORS.generic,
3333
3335
  strokeWidth: "1",
3334
3336
  strokeLinecap: "round",
3335
3337
  strokeLinejoin: "round"
@@ -3340,7 +3342,7 @@ var FileIcon = ({ size = 16, className = "" }) => {
3340
3342
  {
3341
3343
  d: "M14 2v6h6",
3342
3344
  fill: "none",
3343
- stroke: chunkATX7FAO6_cjs.FILE_TYPE_COLORS.white,
3345
+ stroke: chunk2NSB2EKN_cjs.FILE_TYPE_COLORS.white,
3344
3346
  strokeWidth: "1",
3345
3347
  strokeLinecap: "round",
3346
3348
  strokeLinejoin: "round"
@@ -3696,7 +3698,7 @@ var ArbiBotIcon = ({ size = 24, className = "" }) => {
3696
3698
  );
3697
3699
  };
3698
3700
  function getNotificationTypeMeta(type) {
3699
- const WorkspaceIcon = chunkATX7FAO6_cjs.getEntityIcon("WORKSPACE");
3701
+ const WorkspaceIcon = chunk2NSB2EKN_cjs.getEntityIcon("WORKSPACE");
3700
3702
  switch (type) {
3701
3703
  case "agent_input_requested":
3702
3704
  return { Icon: lucideReact.MessageCircleMore, iconClassName: "text-primary", label: "Input needed" };
@@ -3816,7 +3818,7 @@ function describeActivity(content) {
3816
3818
  }
3817
3819
  default:
3818
3820
  return {
3819
- Icon: parsed.workspace_ext_id ? chunkATX7FAO6_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
3821
+ Icon: parsed.workspace_ext_id ? chunk2NSB2EKN_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
3820
3822
  iconClassName: "text-muted-foreground",
3821
3823
  title: humaniseEvent(parsed.event)
3822
3824
  };
@@ -3846,7 +3848,7 @@ function ActivityFeed({
3846
3848
  enabled,
3847
3849
  "data-testid": testId = "activity-feed"
3848
3850
  }) {
3849
- const { data, isLoading, isError } = chunkUFXRLZJG_cjs.useActivity({ limit, enabled });
3851
+ const { data, isLoading, isError } = chunkTLZVR72J_cjs.useActivity({ limit, enabled });
3850
3852
  if (isLoading) {
3851
3853
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkS6A6FSG7_cjs.cn("space-y-2", className), "data-testid": testId, "aria-busy": "true", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 py-1.5", children: [
3852
3854
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
@@ -3998,7 +4000,7 @@ function useDirectMessages(options) {
3998
4000
  enabled
3999
4001
  });
4000
4002
  const contactsQuery = reactQuery.useQuery({
4001
- queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.contacts(),
4003
+ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.contacts(),
4002
4004
  queryFn: () => arbi.contacts.list(),
4003
4005
  enabled
4004
4006
  });
@@ -4060,7 +4062,7 @@ function DmAvatar({ user, className, size = "lg" }) {
4060
4062
  const presence = useArbiWsStore((s) => s.presence[user.external_id]);
4061
4063
  const displayStatus = presence === void 0 ? void 0 : presence === "online" ? "connected" : "disconnected";
4062
4064
  return /* @__PURE__ */ jsxRuntime.jsx(
4063
- chunkATX7FAO6_cjs.UserEntity,
4065
+ chunk2NSB2EKN_cjs.UserEntity,
4064
4066
  {
4065
4067
  variant: "icon",
4066
4068
  size,
@@ -4070,7 +4072,7 @@ function DmAvatar({ user, className, size = "lg" }) {
4070
4072
  initials: userInitials(user),
4071
4073
  displayName: userDisplayName(user),
4072
4074
  picture: user.picture,
4073
- avatarStyle: chunkATX7FAO6_cjs.getEntityColorStyles(user.external_id),
4075
+ avatarStyle: chunk2NSB2EKN_cjs.getEntityColorStyles(user.external_id),
4074
4076
  isAgent: isAgentUser(user),
4075
4077
  displayStatus
4076
4078
  }
@@ -4125,10 +4127,10 @@ function ConversationList({
4125
4127
  children: userDisplayName(peer)
4126
4128
  }
4127
4129
  ),
4128
- c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunkATX7FAO6_cjs.AgentBadge, {}) : null)
4130
+ c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunk2NSB2EKN_cjs.AgentBadge, {}) : null)
4129
4131
  ] }),
4130
4132
  c.statusLabel ? /* @__PURE__ */ jsxRuntime.jsx(
4131
- chunkATX7FAO6_cjs.Badge,
4133
+ chunk2NSB2EKN_cjs.Badge,
4132
4134
  {
4133
4135
  variant: "outline",
4134
4136
  className: "shrink-0 rounded-full px-2 py-0 text-xs font-medium text-muted-foreground",
@@ -4139,7 +4141,7 @@ function ConversationList({
4139
4141
  // shouted louder than the message it was counting.
4140
4142
  // Enough to catch the eye scanning the list, no more.
4141
4143
  /* @__PURE__ */ jsxRuntime.jsx(
4142
- chunkATX7FAO6_cjs.Badge,
4144
+ chunk2NSB2EKN_cjs.Badge,
4143
4145
  {
4144
4146
  variant: "accent",
4145
4147
  className: chunkS6A6FSG7_cjs.cn(
@@ -4331,21 +4333,45 @@ function DmComposer({
4331
4333
  disabled,
4332
4334
  busy,
4333
4335
  onSend,
4336
+ allowAttachments,
4334
4337
  error,
4335
4338
  children,
4336
4339
  classNames
4337
4340
  }) {
4338
4341
  const [draft, setDraft] = React.useState("");
4342
+ const [files, setFiles] = React.useState([]);
4343
+ const [attachError, setAttachError] = React.useState(null);
4344
+ const [dragging, setDragging] = React.useState(false);
4339
4345
  const inputRef = React.useRef(null);
4346
+ const fileInputRef = React.useRef(null);
4347
+ const addFiles = (added) => {
4348
+ if (!allowAttachments || added.length === 0) return;
4349
+ const next = [...files, ...added];
4350
+ try {
4351
+ browser.dm.checkDmAttachmentLimits(next);
4352
+ setFiles(next);
4353
+ setAttachError(null);
4354
+ } catch (err) {
4355
+ setAttachError(err instanceof Error ? err.message : "Could not attach the file");
4356
+ }
4357
+ };
4358
+ const removeFile = (index) => {
4359
+ setFiles((current) => current.filter((_, i) => i !== index));
4360
+ setAttachError(null);
4361
+ };
4340
4362
  const submit = async () => {
4341
4363
  const text = draft.trim();
4342
- if (!text || disabled || busy) return;
4364
+ if (!text && files.length === 0 || disabled || busy) return;
4365
+ const sending = files;
4343
4366
  setDraft("");
4367
+ setFiles([]);
4368
+ setAttachError(null);
4344
4369
  try {
4345
- await onSend(text);
4370
+ await onSend(text, sending);
4346
4371
  inputRef.current?.focus();
4347
4372
  } catch {
4348
4373
  setDraft(text);
4374
+ setFiles(sending);
4349
4375
  }
4350
4376
  };
4351
4377
  const onKeyDown = (e) => {
@@ -4354,41 +4380,143 @@ function DmComposer({
4354
4380
  void submit();
4355
4381
  }
4356
4382
  };
4357
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-t border-border p-3", children: [
4358
- children,
4359
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-end gap-2", children: [
4360
- /* @__PURE__ */ jsxRuntime.jsx(
4361
- chunkATX7FAO6_cjs.Textarea,
4362
- {
4363
- ref: inputRef,
4364
- value: draft,
4365
- onChange: (e) => setDraft(e.target.value),
4366
- onKeyDown,
4367
- placeholder,
4368
- rows: 1,
4369
- disabled,
4370
- className: "max-h-40 min-h-[44px] resize-none",
4371
- "data-testid": "arbi-dm-input"
4372
- }
4383
+ const onPaste = (e) => {
4384
+ if (!allowAttachments) return;
4385
+ const pasted = Array.from(e.clipboardData?.files ?? []);
4386
+ if (pasted.length === 0) return;
4387
+ e.preventDefault();
4388
+ addFiles(pasted);
4389
+ };
4390
+ const hasFiles = (e) => Array.from(e.dataTransfer?.types ?? []).includes("Files");
4391
+ const dropHandlers = allowAttachments ? {
4392
+ onDragOver: (e) => {
4393
+ if (!hasFiles(e) || disabled) return;
4394
+ e.preventDefault();
4395
+ setDragging(true);
4396
+ },
4397
+ onDragLeave: (e) => {
4398
+ if (e.currentTarget.contains(e.relatedTarget)) return;
4399
+ setDragging(false);
4400
+ },
4401
+ onDrop: (e) => {
4402
+ setDragging(false);
4403
+ const dropped = Array.from(e.dataTransfer?.files ?? []);
4404
+ if (dropped.length === 0 || disabled) return;
4405
+ e.preventDefault();
4406
+ addFiles(dropped);
4407
+ }
4408
+ } : {};
4409
+ return /* @__PURE__ */ jsxRuntime.jsxs(
4410
+ "div",
4411
+ {
4412
+ className: chunkS6A6FSG7_cjs.cn(
4413
+ "border-t border-border p-3",
4414
+ dragging && "bg-muted/60 outline-dashed outline-2 -outline-offset-4 outline-primary"
4373
4415
  ),
4374
- /* @__PURE__ */ jsxRuntime.jsxs(
4375
- chunkATX7FAO6_cjs.Button,
4376
- {
4377
- type: "button",
4378
- onClick: () => void submit(),
4379
- disabled: disabled || busy || !draft.trim(),
4380
- className: chunkS6A6FSG7_cjs.cn(classNames?.sendButton),
4381
- "data-testid": "arbi-dm-send",
4382
- "aria-label": "Send message",
4383
- children: [
4384
- busy ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Send, { className: "size-4" }),
4385
- " Send"
4386
- ]
4387
- }
4388
- )
4389
- ] }),
4390
- error && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-xs text-destructive", "data-testid": "arbi-dm-error", children: error })
4391
- ] });
4416
+ "data-testid": "arbi-dm-composer",
4417
+ ...dropHandlers,
4418
+ children: [
4419
+ children,
4420
+ files.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "mb-2 flex flex-wrap gap-2", "aria-label": "Attached files", children: files.map((f, index) => /* @__PURE__ */ jsxRuntime.jsxs(
4421
+ "li",
4422
+ {
4423
+ "data-testid": "arbi-dm-attachment-chip",
4424
+ className: "flex max-w-full items-center gap-2 rounded-md border border-border/70 bg-muted/30 px-2.5 py-1.5 text-xs",
4425
+ children: [
4426
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Paperclip, { className: "size-3 shrink-0", "aria-hidden": "true" }),
4427
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children: f.name }),
4428
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 text-muted-foreground", children: browser.formatFileSize(f.size) }),
4429
+ /* @__PURE__ */ jsxRuntime.jsx(
4430
+ "button",
4431
+ {
4432
+ type: "button",
4433
+ disabled: busy,
4434
+ "aria-label": `Remove ${f.name}`,
4435
+ onClick: () => removeFile(index),
4436
+ className: "shrink-0 rounded focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
4437
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "size-3" })
4438
+ }
4439
+ )
4440
+ ]
4441
+ },
4442
+ `${f.name}-${index}`
4443
+ )) }),
4444
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-end gap-2", children: [
4445
+ allowAttachments && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4446
+ /* @__PURE__ */ jsxRuntime.jsx(
4447
+ chunk2NSB2EKN_cjs.Button,
4448
+ {
4449
+ type: "button",
4450
+ variant: "ghost",
4451
+ size: "icon",
4452
+ disabled: disabled || busy,
4453
+ onClick: () => fileInputRef.current?.click(),
4454
+ "aria-label": "Attach files",
4455
+ title: "Attach files (or paste / drop them here)",
4456
+ "data-testid": "arbi-dm-attach",
4457
+ className: "min-h-[44px] shrink-0",
4458
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Paperclip, { className: "size-4" })
4459
+ }
4460
+ ),
4461
+ /* @__PURE__ */ jsxRuntime.jsx(
4462
+ "input",
4463
+ {
4464
+ ref: fileInputRef,
4465
+ type: "file",
4466
+ multiple: true,
4467
+ hidden: true,
4468
+ "data-testid": "arbi-dm-file-input",
4469
+ onChange: (e) => {
4470
+ addFiles(Array.from(e.target.files ?? []));
4471
+ e.target.value = "";
4472
+ }
4473
+ }
4474
+ )
4475
+ ] }),
4476
+ /* @__PURE__ */ jsxRuntime.jsx(
4477
+ chunk2NSB2EKN_cjs.Textarea,
4478
+ {
4479
+ ref: inputRef,
4480
+ value: draft,
4481
+ onChange: (e) => setDraft(e.target.value),
4482
+ onKeyDown,
4483
+ onPaste,
4484
+ placeholder,
4485
+ rows: 1,
4486
+ disabled,
4487
+ className: "max-h-40 min-h-[44px] resize-none",
4488
+ "data-testid": "arbi-dm-input"
4489
+ }
4490
+ ),
4491
+ /* @__PURE__ */ jsxRuntime.jsxs(
4492
+ chunk2NSB2EKN_cjs.Button,
4493
+ {
4494
+ type: "button",
4495
+ onClick: () => void submit(),
4496
+ disabled: disabled || busy || !draft.trim() && files.length === 0,
4497
+ className: chunkS6A6FSG7_cjs.cn(classNames?.sendButton),
4498
+ "data-testid": "arbi-dm-send",
4499
+ "aria-label": "Send message",
4500
+ children: [
4501
+ busy ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Send, { className: "size-4" }),
4502
+ " Send"
4503
+ ]
4504
+ }
4505
+ )
4506
+ ] }),
4507
+ attachError && /* @__PURE__ */ jsxRuntime.jsx(
4508
+ "p",
4509
+ {
4510
+ className: "mt-2 text-xs text-destructive",
4511
+ role: "alert",
4512
+ "data-testid": "arbi-dm-attach-error",
4513
+ children: attachError
4514
+ }
4515
+ ),
4516
+ error && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-xs text-destructive", "data-testid": "arbi-dm-error", children: error })
4517
+ ]
4518
+ }
4519
+ );
4392
4520
  }
4393
4521
  var DEFAULT_START_BY_EMAIL_LABELS = {
4394
4522
  email: "Email address",
@@ -4440,9 +4568,9 @@ function StartByEmail({
4440
4568
  void submit();
4441
4569
  },
4442
4570
  children: [
4443
- /* @__PURE__ */ jsxRuntime.jsx(chunkATX7FAO6_cjs.Label, { htmlFor: `${uid}-email`, children: l.email }),
4571
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2NSB2EKN_cjs.Label, { htmlFor: `${uid}-email`, children: l.email }),
4444
4572
  /* @__PURE__ */ jsxRuntime.jsx(
4445
- chunkATX7FAO6_cjs.Input,
4573
+ chunk2NSB2EKN_cjs.Input,
4446
4574
  {
4447
4575
  id: `${uid}-email`,
4448
4576
  type: "email",
@@ -4456,9 +4584,9 @@ function StartByEmail({
4456
4584
  }
4457
4585
  ),
4458
4586
  email !== "" && !valid && /* @__PURE__ */ jsxRuntime.jsx("p", { id: `${uid}-bad`, className: "text-xs text-destructive", children: l.invalidEmail }),
4459
- /* @__PURE__ */ jsxRuntime.jsx(chunkATX7FAO6_cjs.Label, { htmlFor: `${uid}-text`, children: l.message }),
4587
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2NSB2EKN_cjs.Label, { htmlFor: `${uid}-text`, children: l.message }),
4460
4588
  /* @__PURE__ */ jsxRuntime.jsx(
4461
- chunkATX7FAO6_cjs.Textarea,
4589
+ chunk2NSB2EKN_cjs.Textarea,
4462
4590
  {
4463
4591
  id: `${uid}-text`,
4464
4592
  value: text,
@@ -4471,7 +4599,7 @@ function StartByEmail({
4471
4599
  ),
4472
4600
  error && /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-xs text-destructive", "data-testid": "arbi-dm-start-error", children: error }),
4473
4601
  /* @__PURE__ */ jsxRuntime.jsxs(
4474
- chunkATX7FAO6_cjs.Button,
4602
+ chunk2NSB2EKN_cjs.Button,
4475
4603
  {
4476
4604
  type: "submit",
4477
4605
  size: "sm",
@@ -4671,7 +4799,7 @@ function ImageCropper({
4671
4799
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
4672
4800
  /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Zoom" }),
4673
4801
  /* @__PURE__ */ jsxRuntime.jsx(
4674
- chunkATX7FAO6_cjs.Slider,
4802
+ chunk2NSB2EKN_cjs.Slider,
4675
4803
  {
4676
4804
  value: [zoom],
4677
4805
  onValueChange: ([v]) => setZoom(v ?? 1),
@@ -4748,8 +4876,8 @@ function ImageCropModal({
4748
4876
  setBusy(false);
4749
4877
  }
4750
4878
  };
4751
- return /* @__PURE__ */ jsxRuntime.jsx(chunkATX7FAO6_cjs.Dialog, { open, onOpenChange: (next) => !next ? onCancel() : void 0, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkATX7FAO6_cjs.DialogContent, { className: "sm:max-w-md", "data-testid": "image-crop-modal", children: [
4752
- /* @__PURE__ */ jsxRuntime.jsx(chunkATX7FAO6_cjs.DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkATX7FAO6_cjs.DialogTitle, { children: title }) }),
4879
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk2NSB2EKN_cjs.Dialog, { open, onOpenChange: (next) => !next ? onCancel() : void 0, children: /* @__PURE__ */ jsxRuntime.jsxs(chunk2NSB2EKN_cjs.DialogContent, { className: "sm:max-w-md", "data-testid": "image-crop-modal", children: [
4880
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2NSB2EKN_cjs.DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk2NSB2EKN_cjs.DialogTitle, { children: title }) }),
4753
4881
  image ? /* @__PURE__ */ jsxRuntime.jsx(
4754
4882
  ImageCropper,
4755
4883
  {
@@ -4760,9 +4888,9 @@ function ImageCropModal({
4760
4888
  onCropComplete: setArea
4761
4889
  }
4762
4890
  ) : null,
4763
- /* @__PURE__ */ jsxRuntime.jsxs(chunkATX7FAO6_cjs.DialogFooter, { className: "gap-2 sm:gap-2", children: [
4764
- /* @__PURE__ */ jsxRuntime.jsx(chunkATX7FAO6_cjs.Button, { variant: "ghost", onClick: onCancel, disabled: busy, children: "Cancel" }),
4765
- /* @__PURE__ */ jsxRuntime.jsxs(chunkATX7FAO6_cjs.Button, { onClick: handleSave, disabled: !area || busy, "data-testid": "image-crop-save", children: [
4891
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk2NSB2EKN_cjs.DialogFooter, { className: "gap-2 sm:gap-2", children: [
4892
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2NSB2EKN_cjs.Button, { variant: "ghost", onClick: onCancel, disabled: busy, children: "Cancel" }),
4893
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk2NSB2EKN_cjs.Button, { onClick: handleSave, disabled: !area || busy, "data-testid": "image-crop-save", children: [
4766
4894
  busy ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "mr-1 size-4 animate-spin" }) : null,
4767
4895
  saveLabel
4768
4896
  ] })
@@ -4828,8 +4956,8 @@ function CommandPalette({
4828
4956
  if (!q || task.isRunning) return;
4829
4957
  void task.run(buildAskPrompt(q), askDocIds, { model });
4830
4958
  };
4831
- return /* @__PURE__ */ jsxRuntime.jsx(chunkATX7FAO6_cjs.Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
4832
- chunkATX7FAO6_cjs.DialogContent,
4959
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk2NSB2EKN_cjs.Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
4960
+ chunk2NSB2EKN_cjs.DialogContent,
4833
4961
  {
4834
4962
  className: chunkS6A6FSG7_cjs.cn(
4835
4963
  "top-[12%] max-w-2xl translate-y-0 gap-0 overflow-hidden p-0",
@@ -4837,7 +4965,7 @@ function CommandPalette({
4837
4965
  ),
4838
4966
  "data-testid": testId,
4839
4967
  children: [
4840
- /* @__PURE__ */ jsxRuntime.jsx(chunkATX7FAO6_cjs.DialogTitle, { className: "sr-only", children: "Command palette" }),
4968
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2NSB2EKN_cjs.DialogTitle, { className: "sr-only", children: "Command palette" }),
4841
4969
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 border-b border-border px-4", children: [
4842
4970
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: chunkS6A6FSG7_cjs.cn("size-4 shrink-0 text-ai-accent", classNames?.leadingIcon) }),
4843
4971
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -4908,7 +5036,7 @@ function CommandPalette({
4908
5036
  }
4909
5037
  ),
4910
5038
  task.isDone && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-3 flex justify-end", children: /* @__PURE__ */ jsxRuntime.jsx(
4911
- chunkATX7FAO6_cjs.Button,
5039
+ chunk2NSB2EKN_cjs.Button,
4912
5040
  {
4913
5041
  variant: "outline",
4914
5042
  size: "sm",
@@ -5043,10 +5171,10 @@ function DocumentTable({
5043
5171
  extraColumns,
5044
5172
  className
5045
5173
  }) {
5046
- const query = chunkUFXRLZJG_cjs.useDocuments(workspaceId, { enabled: !documents });
5174
+ const query = chunkTLZVR72J_cjs.useDocuments(workspaceId, { enabled: !documents });
5047
5175
  const rows = documents ?? query.data ?? [];
5048
5176
  const isLoading = !documents && query.isLoading;
5049
- const tagsQuery = chunkUFXRLZJG_cjs.useTags(workspaceId);
5177
+ const tagsQuery = chunkTLZVR72J_cjs.useTags(workspaceId);
5050
5178
  const tagNameById = React__default.default.useMemo(() => {
5051
5179
  const map = /* @__PURE__ */ new Map();
5052
5180
  for (const t of tagsQuery.data ?? []) {
@@ -5106,7 +5234,7 @@ function DocumentTable({
5106
5234
  const doc = p.data;
5107
5235
  if (!doc) return null;
5108
5236
  return /* @__PURE__ */ jsxRuntime.jsx(
5109
- chunkATX7FAO6_cjs.DocumentEntity,
5237
+ chunk2NSB2EKN_cjs.DocumentEntity,
5110
5238
  {
5111
5239
  doc,
5112
5240
  size: "base",
@@ -5129,7 +5257,7 @@ function DocumentTable({
5129
5257
  cellRenderer: (p) => {
5130
5258
  const status = p.data?.status;
5131
5259
  if (!status) return null;
5132
- return /* @__PURE__ */ jsxRuntime.jsx(chunkATX7FAO6_cjs.Badge, { variant: STATUS_VARIANTS[status.toLowerCase()] ?? "secondary", children: status });
5260
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk2NSB2EKN_cjs.Badge, { variant: STATUS_VARIANTS[status.toLowerCase()] ?? "secondary", children: status });
5133
5261
  }
5134
5262
  },
5135
5263
  {
@@ -5143,7 +5271,7 @@ function DocumentTable({
5143
5271
  const doctags = p.data?.doctags ?? [];
5144
5272
  if (doctags.length === 0) return null;
5145
5273
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap items-center gap-1 py-1", children: doctags.map((dt) => /* @__PURE__ */ jsxRuntime.jsx(
5146
- chunkATX7FAO6_cjs.TagEntity,
5274
+ chunk2NSB2EKN_cjs.TagEntity,
5147
5275
  {
5148
5276
  size: "sm",
5149
5277
  tag: {
@@ -5227,7 +5355,7 @@ function DocumentCardMenu({
5227
5355
  const invalidateDocuments = () => {
5228
5356
  const workspaceId = arbi.getWorkspaceId();
5229
5357
  if (workspaceId) {
5230
- void queryClient.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.documents(workspaceId) });
5358
+ void queryClient.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.documents(workspaceId) });
5231
5359
  }
5232
5360
  };
5233
5361
  const download = reactQuery.useMutation({
@@ -5326,10 +5454,10 @@ function DocumentGallery({
5326
5454
  minTileWidth = 148,
5327
5455
  className
5328
5456
  }) {
5329
- const query = chunkUFXRLZJG_cjs.useDocuments(workspaceId, { enabled: !documents });
5457
+ const query = chunkTLZVR72J_cjs.useDocuments(workspaceId, { enabled: !documents });
5330
5458
  const rows = documents ?? query.data ?? [];
5331
5459
  const isLoading = !documents && query.isLoading;
5332
- const tagsQuery = chunkUFXRLZJG_cjs.useTags(workspaceId);
5460
+ const tagsQuery = chunkTLZVR72J_cjs.useTags(workspaceId);
5333
5461
  const tagNameById = React__default.default.useMemo(() => {
5334
5462
  const map = /* @__PURE__ */ new Map();
5335
5463
  for (const t of tagsQuery.data ?? []) {
@@ -5341,7 +5469,7 @@ function DocumentGallery({
5341
5469
  () => rows.map((d) => d.external_id).filter((id) => !!id),
5342
5470
  [rows]
5343
5471
  );
5344
- const thumbsQuery = chunkUFXRLZJG_cjs.useThumbnails(docIds);
5472
+ const thumbsQuery = chunkTLZVR72J_cjs.useThumbnails(docIds);
5345
5473
  const thumbs = thumbsQuery.data ?? {};
5346
5474
  const storeSelected = useArbiUiStore((s) => s.selectedDocIds);
5347
5475
  const storeSetSelected = useArbiUiStore((s) => s.setSelectedDocIds);
@@ -5377,7 +5505,7 @@ function DocumentGallery({
5377
5505
  setRenamingId(null);
5378
5506
  const activeWorkspace = workspaceId ?? arbi.getWorkspaceId();
5379
5507
  if (activeWorkspace) {
5380
- void queryClient.invalidateQueries({ queryKey: chunkUFXRLZJG_cjs.arbiQueryKeys.documents(activeWorkspace) });
5508
+ void queryClient.invalidateQueries({ queryKey: chunkTLZVR72J_cjs.arbiQueryKeys.documents(activeWorkspace) });
5381
5509
  }
5382
5510
  }
5383
5511
  });
@@ -5419,7 +5547,7 @@ function DocumentGallery({
5419
5547
  (dt) => tagNameById.get(dt.tag_ext_id) ?? dt.tag_ext_id.slice(0, 8)
5420
5548
  );
5421
5549
  return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-doc-id": id, "data-testid": "document-gallery-card", children: /* @__PURE__ */ jsxRuntime.jsx(
5422
- chunkATX7FAO6_cjs.DocumentCard,
5550
+ chunk2NSB2EKN_cjs.DocumentCard,
5423
5551
  {
5424
5552
  doc,
5425
5553
  thumbnailUrl: thumbs[id],
@@ -5456,7 +5584,7 @@ function VoiceNoteRecorder({
5456
5584
  isSaving = false,
5457
5585
  transcribe
5458
5586
  }) {
5459
- const recorder = chunkATX7FAO6_cjs.useAudioRecorder();
5587
+ const recorder = chunk2NSB2EKN_cjs.useAudioRecorder();
5460
5588
  const [transcript, setTranscript] = React.useState(null);
5461
5589
  const [isTranscribing, setIsTranscribing] = React.useState(false);
5462
5590
  React.useEffect(() => {
@@ -5488,7 +5616,7 @@ function VoiceNoteRecorder({
5488
5616
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col items-center justify-center gap-6 p-8", children: [
5489
5617
  recorder.state === "idle" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5490
5618
  /* @__PURE__ */ jsxRuntime.jsx(
5491
- chunkATX7FAO6_cjs.Button,
5619
+ chunk2NSB2EKN_cjs.Button,
5492
5620
  {
5493
5621
  type: "button",
5494
5622
  size: "lg",
@@ -5502,7 +5630,7 @@ function VoiceNoteRecorder({
5502
5630
  ] }),
5503
5631
  (recorder.state === "recording" || recorder.state === "paused") && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5504
5632
  /* @__PURE__ */ jsxRuntime.jsx(
5505
- chunkATX7FAO6_cjs.MicWaveformIndicator,
5633
+ chunk2NSB2EKN_cjs.MicWaveformIndicator,
5506
5634
  {
5507
5635
  level: recorder.level,
5508
5636
  elapsedMs: recorder.elapsedMs,
@@ -5511,7 +5639,7 @@ function VoiceNoteRecorder({
5511
5639
  ),
5512
5640
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
5513
5641
  recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsxs(
5514
- chunkATX7FAO6_cjs.Button,
5642
+ chunk2NSB2EKN_cjs.Button,
5515
5643
  {
5516
5644
  type: "button",
5517
5645
  variant: "outline",
@@ -5523,7 +5651,7 @@ function VoiceNoteRecorder({
5523
5651
  ]
5524
5652
  }
5525
5653
  ) : /* @__PURE__ */ jsxRuntime.jsxs(
5526
- chunkATX7FAO6_cjs.Button,
5654
+ chunk2NSB2EKN_cjs.Button,
5527
5655
  {
5528
5656
  type: "button",
5529
5657
  variant: "outline",
@@ -5535,7 +5663,7 @@ function VoiceNoteRecorder({
5535
5663
  ]
5536
5664
  }
5537
5665
  ),
5538
- /* @__PURE__ */ jsxRuntime.jsxs(chunkATX7FAO6_cjs.Button, { type: "button", onClick: recorder.stop, "data-testid": "voice-note-stop-button", children: [
5666
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk2NSB2EKN_cjs.Button, { type: "button", onClick: recorder.stop, "data-testid": "voice-note-stop-button", children: [
5539
5667
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "mr-1.5 h-3.5 w-3.5 fill-current" }),
5540
5668
  "Stop"
5541
5669
  ] })
@@ -5559,7 +5687,7 @@ function VoiceNoteRecorder({
5559
5687
  ),
5560
5688
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
5561
5689
  /* @__PURE__ */ jsxRuntime.jsxs(
5562
- chunkATX7FAO6_cjs.Button,
5690
+ chunk2NSB2EKN_cjs.Button,
5563
5691
  {
5564
5692
  type: "button",
5565
5693
  variant: "outline",
@@ -5573,7 +5701,7 @@ function VoiceNoteRecorder({
5573
5701
  }
5574
5702
  ),
5575
5703
  /* @__PURE__ */ jsxRuntime.jsxs(
5576
- chunkATX7FAO6_cjs.Button,
5704
+ chunk2NSB2EKN_cjs.Button,
5577
5705
  {
5578
5706
  type: "button",
5579
5707
  variant: "outline",
@@ -5587,7 +5715,7 @@ function VoiceNoteRecorder({
5587
5715
  }
5588
5716
  ),
5589
5717
  /* @__PURE__ */ jsxRuntime.jsxs(
5590
- chunkATX7FAO6_cjs.Button,
5718
+ chunk2NSB2EKN_cjs.Button,
5591
5719
  {
5592
5720
  type: "button",
5593
5721
  onClick: handleSave,
@@ -5624,7 +5752,7 @@ function DraftTitleControls({
5624
5752
  }
5625
5753
  ),
5626
5754
  /* @__PURE__ */ jsxRuntime.jsx(
5627
- chunkATX7FAO6_cjs.IconToggle,
5755
+ chunk2NSB2EKN_cjs.IconToggle,
5628
5756
  {
5629
5757
  icon: lucideReact.Sparkles,
5630
5758
  isActive: autoRename,
@@ -5658,7 +5786,7 @@ function useCameraStream(constraints = { video: true, audio: false }) {
5658
5786
  streamRef.current = media;
5659
5787
  setStream(media);
5660
5788
  } catch (err) {
5661
- setError(chunkATX7FAO6_cjs.classifyMediaError(err, "camera"));
5789
+ setError(chunk2NSB2EKN_cjs.classifyMediaError(err, "camera"));
5662
5790
  } finally {
5663
5791
  setIsStarting(false);
5664
5792
  }
@@ -5789,7 +5917,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5789
5917
  }
5790
5918
  ) }),
5791
5919
  /* @__PURE__ */ jsxRuntime.jsx(
5792
- chunkATX7FAO6_cjs.Button,
5920
+ chunk2NSB2EKN_cjs.Button,
5793
5921
  {
5794
5922
  type: "button",
5795
5923
  size: "lg",
@@ -5807,7 +5935,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5807
5935
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsxRuntime.jsx(chunkTMPDW7J5_cjs.ImageViewer, { blob: capturedBlob, alt: "Captured photo" }) }),
5808
5936
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
5809
5937
  /* @__PURE__ */ jsxRuntime.jsxs(
5810
- chunkATX7FAO6_cjs.Button,
5938
+ chunk2NSB2EKN_cjs.Button,
5811
5939
  {
5812
5940
  type: "button",
5813
5941
  variant: "outline",
@@ -5821,7 +5949,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5821
5949
  }
5822
5950
  ),
5823
5951
  /* @__PURE__ */ jsxRuntime.jsxs(
5824
- chunkATX7FAO6_cjs.Button,
5952
+ chunk2NSB2EKN_cjs.Button,
5825
5953
  {
5826
5954
  type: "button",
5827
5955
  variant: "outline",
@@ -5835,7 +5963,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5835
5963
  }
5836
5964
  ),
5837
5965
  /* @__PURE__ */ jsxRuntime.jsxs(
5838
- chunkATX7FAO6_cjs.Button,
5966
+ chunk2NSB2EKN_cjs.Button,
5839
5967
  {
5840
5968
  type: "button",
5841
5969
  onClick: handleSave,
@@ -5894,10 +6022,10 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5894
6022
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative inline-flex h-2 w-2 rounded-full bg-red-500" })
5895
6023
  ] }),
5896
6024
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-semibold uppercase tracking-wide text-red-500", children: "Rec" }),
5897
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunkATX7FAO6_cjs.formatElapsed(recorder.elapsedMs) })
6025
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunk2NSB2EKN_cjs.formatElapsed(recorder.elapsedMs) })
5898
6026
  ] }),
5899
6027
  recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsx(
5900
- chunkATX7FAO6_cjs.Button,
6028
+ chunk2NSB2EKN_cjs.Button,
5901
6029
  {
5902
6030
  type: "button",
5903
6031
  size: "lg",
@@ -5907,7 +6035,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5907
6035
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-5 w-5 fill-current" })
5908
6036
  }
5909
6037
  ) : /* @__PURE__ */ jsxRuntime.jsx(
5910
- chunkATX7FAO6_cjs.Button,
6038
+ chunk2NSB2EKN_cjs.Button,
5911
6039
  {
5912
6040
  type: "button",
5913
6041
  size: "lg",
@@ -5924,7 +6052,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5924
6052
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsxRuntime.jsx(chunkTMPDW7J5_cjs.VideoViewer, { blob: recorder.blob, title: "Captured video" }) }),
5925
6053
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
5926
6054
  /* @__PURE__ */ jsxRuntime.jsxs(
5927
- chunkATX7FAO6_cjs.Button,
6055
+ chunk2NSB2EKN_cjs.Button,
5928
6056
  {
5929
6057
  type: "button",
5930
6058
  variant: "outline",
@@ -5938,7 +6066,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5938
6066
  }
5939
6067
  ),
5940
6068
  /* @__PURE__ */ jsxRuntime.jsxs(
5941
- chunkATX7FAO6_cjs.Button,
6069
+ chunk2NSB2EKN_cjs.Button,
5942
6070
  {
5943
6071
  type: "button",
5944
6072
  variant: "outline",
@@ -5952,7 +6080,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5952
6080
  }
5953
6081
  ),
5954
6082
  /* @__PURE__ */ jsxRuntime.jsxs(
5955
- chunkATX7FAO6_cjs.Button,
6083
+ chunk2NSB2EKN_cjs.Button,
5956
6084
  {
5957
6085
  type: "button",
5958
6086
  onClick: handleSave,
@@ -5995,139 +6123,139 @@ function hasVideoTrack(blob) {
5995
6123
 
5996
6124
  Object.defineProperty(exports, "DEFAULT_USD_PER_CREDIT", {
5997
6125
  enumerable: true,
5998
- get: function () { return chunkUFXRLZJG_cjs.DEFAULT_USD_PER_CREDIT; }
6126
+ get: function () { return chunkTLZVR72J_cjs.DEFAULT_USD_PER_CREDIT; }
5999
6127
  });
6000
6128
  Object.defineProperty(exports, "arbiQueryKeys", {
6001
6129
  enumerable: true,
6002
- get: function () { return chunkUFXRLZJG_cjs.arbiQueryKeys; }
6130
+ get: function () { return chunkTLZVR72J_cjs.arbiQueryKeys; }
6003
6131
  });
6004
6132
  Object.defineProperty(exports, "cleanDraftMarkdown", {
6005
6133
  enumerable: true,
6006
- get: function () { return chunkUFXRLZJG_cjs.cleanDraftMarkdown; }
6134
+ get: function () { return chunkTLZVR72J_cjs.cleanDraftMarkdown; }
6007
6135
  });
6008
6136
  Object.defineProperty(exports, "cleanDraftWithReport", {
6009
6137
  enumerable: true,
6010
- get: function () { return chunkUFXRLZJG_cjs.cleanDraftWithReport; }
6138
+ get: function () { return chunkTLZVR72J_cjs.cleanDraftWithReport; }
6011
6139
  });
6012
6140
  Object.defineProperty(exports, "creditsToUsd", {
6013
6141
  enumerable: true,
6014
- get: function () { return chunkUFXRLZJG_cjs.creditsToUsd; }
6142
+ get: function () { return chunkTLZVR72J_cjs.creditsToUsd; }
6015
6143
  });
6016
6144
  Object.defineProperty(exports, "formatCredits", {
6017
6145
  enumerable: true,
6018
- get: function () { return chunkUFXRLZJG_cjs.formatCredits; }
6146
+ get: function () { return chunkTLZVR72J_cjs.formatCredits; }
6019
6147
  });
6020
6148
  Object.defineProperty(exports, "isUsageMetered", {
6021
6149
  enumerable: true,
6022
- get: function () { return chunkUFXRLZJG_cjs.isUsageMetered; }
6150
+ get: function () { return chunkTLZVR72J_cjs.isUsageMetered; }
6023
6151
  });
6024
6152
  Object.defineProperty(exports, "promoteBoldTitle", {
6025
6153
  enumerable: true,
6026
- get: function () { return chunkUFXRLZJG_cjs.promoteBoldTitle; }
6154
+ get: function () { return chunkTLZVR72J_cjs.promoteBoldTitle; }
6027
6155
  });
6028
6156
  Object.defineProperty(exports, "repairParsedStructure", {
6029
6157
  enumerable: true,
6030
- get: function () { return chunkUFXRLZJG_cjs.repairParsedStructure; }
6158
+ get: function () { return chunkTLZVR72J_cjs.repairParsedStructure; }
6031
6159
  });
6032
6160
  Object.defineProperty(exports, "repairParsedTitle", {
6033
6161
  enumerable: true,
6034
- get: function () { return chunkUFXRLZJG_cjs.repairParsedTitle; }
6162
+ get: function () { return chunkTLZVR72J_cjs.repairParsedTitle; }
6035
6163
  });
6036
6164
  Object.defineProperty(exports, "stripAgentPreamble", {
6037
6165
  enumerable: true,
6038
- get: function () { return chunkUFXRLZJG_cjs.stripAgentPreamble; }
6166
+ get: function () { return chunkTLZVR72J_cjs.stripAgentPreamble; }
6039
6167
  });
6040
6168
  Object.defineProperty(exports, "unescapeMarkdown", {
6041
6169
  enumerable: true,
6042
- get: function () { return chunkUFXRLZJG_cjs.unescapeMarkdown; }
6170
+ get: function () { return chunkTLZVR72J_cjs.unescapeMarkdown; }
6043
6171
  });
6044
6172
  Object.defineProperty(exports, "unwrapCitationLinks", {
6045
6173
  enumerable: true,
6046
- get: function () { return chunkUFXRLZJG_cjs.unwrapCitationLinks; }
6174
+ get: function () { return chunkTLZVR72J_cjs.unwrapCitationLinks; }
6047
6175
  });
6048
6176
  Object.defineProperty(exports, "useActivity", {
6049
6177
  enumerable: true,
6050
- get: function () { return chunkUFXRLZJG_cjs.useActivity; }
6178
+ get: function () { return chunkTLZVR72J_cjs.useActivity; }
6051
6179
  });
6052
6180
  Object.defineProperty(exports, "useAgents", {
6053
6181
  enumerable: true,
6054
- get: function () { return chunkUFXRLZJG_cjs.useAgents; }
6182
+ get: function () { return chunkTLZVR72J_cjs.useAgents; }
6055
6183
  });
6056
6184
  Object.defineProperty(exports, "useAssistantQuery", {
6057
6185
  enumerable: true,
6058
- get: function () { return chunkUFXRLZJG_cjs.useAssistantQuery; }
6186
+ get: function () { return chunkTLZVR72J_cjs.useAssistantQuery; }
6059
6187
  });
6060
6188
  Object.defineProperty(exports, "useConfigs", {
6061
6189
  enumerable: true,
6062
- get: function () { return chunkUFXRLZJG_cjs.useConfigs; }
6190
+ get: function () { return chunkTLZVR72J_cjs.useConfigs; }
6063
6191
  });
6064
6192
  Object.defineProperty(exports, "useConversationThreads", {
6065
6193
  enumerable: true,
6066
- get: function () { return chunkUFXRLZJG_cjs.useConversationThreads; }
6194
+ get: function () { return chunkTLZVR72J_cjs.useConversationThreads; }
6067
6195
  });
6068
6196
  Object.defineProperty(exports, "useConversations", {
6069
6197
  enumerable: true,
6070
- get: function () { return chunkUFXRLZJG_cjs.useConversations; }
6198
+ get: function () { return chunkTLZVR72J_cjs.useConversations; }
6071
6199
  });
6072
6200
  Object.defineProperty(exports, "useDeleteAgents", {
6073
6201
  enumerable: true,
6074
- get: function () { return chunkUFXRLZJG_cjs.useDeleteAgents; }
6202
+ get: function () { return chunkTLZVR72J_cjs.useDeleteAgents; }
6075
6203
  });
6076
6204
  Object.defineProperty(exports, "useDocuments", {
6077
6205
  enumerable: true,
6078
- get: function () { return chunkUFXRLZJG_cjs.useDocuments; }
6206
+ get: function () { return chunkTLZVR72J_cjs.useDocuments; }
6079
6207
  });
6080
6208
  Object.defineProperty(exports, "useFacts", {
6081
6209
  enumerable: true,
6082
- get: function () { return chunkUFXRLZJG_cjs.useFacts; }
6210
+ get: function () { return chunkTLZVR72J_cjs.useFacts; }
6083
6211
  });
6084
6212
  Object.defineProperty(exports, "useHealth", {
6085
6213
  enumerable: true,
6086
- get: function () { return chunkUFXRLZJG_cjs.useHealth; }
6214
+ get: function () { return chunkTLZVR72J_cjs.useHealth; }
6087
6215
  });
6088
6216
  Object.defineProperty(exports, "useParsedDocument", {
6089
6217
  enumerable: true,
6090
- get: function () { return chunkUFXRLZJG_cjs.useParsedDocument; }
6218
+ get: function () { return chunkTLZVR72J_cjs.useParsedDocument; }
6091
6219
  });
6092
6220
  Object.defineProperty(exports, "useProjectInvoices", {
6093
6221
  enumerable: true,
6094
- get: function () { return chunkUFXRLZJG_cjs.useProjectInvoices; }
6222
+ get: function () { return chunkTLZVR72J_cjs.useProjectInvoices; }
6095
6223
  });
6096
6224
  Object.defineProperty(exports, "useProjectUsage", {
6097
6225
  enumerable: true,
6098
- get: function () { return chunkUFXRLZJG_cjs.useProjectUsage; }
6226
+ get: function () { return chunkTLZVR72J_cjs.useProjectUsage; }
6099
6227
  });
6100
6228
  Object.defineProperty(exports, "useProjects", {
6101
6229
  enumerable: true,
6102
- get: function () { return chunkUFXRLZJG_cjs.useProjects; }
6230
+ get: function () { return chunkTLZVR72J_cjs.useProjects; }
6103
6231
  });
6104
6232
  Object.defineProperty(exports, "useProjectsUsage", {
6105
6233
  enumerable: true,
6106
- get: function () { return chunkUFXRLZJG_cjs.useProjectsUsage; }
6234
+ get: function () { return chunkTLZVR72J_cjs.useProjectsUsage; }
6107
6235
  });
6108
6236
  Object.defineProperty(exports, "useSessions", {
6109
6237
  enumerable: true,
6110
- get: function () { return chunkUFXRLZJG_cjs.useSessions; }
6238
+ get: function () { return chunkTLZVR72J_cjs.useSessions; }
6111
6239
  });
6112
6240
  Object.defineProperty(exports, "useTags", {
6113
6241
  enumerable: true,
6114
- get: function () { return chunkUFXRLZJG_cjs.useTags; }
6242
+ get: function () { return chunkTLZVR72J_cjs.useTags; }
6115
6243
  });
6116
6244
  Object.defineProperty(exports, "useThumbnails", {
6117
6245
  enumerable: true,
6118
- get: function () { return chunkUFXRLZJG_cjs.useThumbnails; }
6246
+ get: function () { return chunkTLZVR72J_cjs.useThumbnails; }
6119
6247
  });
6120
6248
  Object.defineProperty(exports, "useUserUsageToday", {
6121
6249
  enumerable: true,
6122
- get: function () { return chunkUFXRLZJG_cjs.useUserUsageToday; }
6250
+ get: function () { return chunkTLZVR72J_cjs.useUserUsageToday; }
6123
6251
  });
6124
6252
  Object.defineProperty(exports, "useWorkspaceUsers", {
6125
6253
  enumerable: true,
6126
- get: function () { return chunkUFXRLZJG_cjs.useWorkspaceUsers; }
6254
+ get: function () { return chunkTLZVR72J_cjs.useWorkspaceUsers; }
6127
6255
  });
6128
6256
  Object.defineProperty(exports, "useWorkspaces", {
6129
6257
  enumerable: true,
6130
- get: function () { return chunkUFXRLZJG_cjs.useWorkspaces; }
6258
+ get: function () { return chunkTLZVR72J_cjs.useWorkspaces; }
6131
6259
  });
6132
6260
  Object.defineProperty(exports, "DEFAULT_NOTIFY_TONE", {
6133
6261
  enumerable: true,
@@ -6167,587 +6295,587 @@ Object.defineProperty(exports, "useNotify", {
6167
6295
  });
6168
6296
  Object.defineProperty(exports, "AgentBadge", {
6169
6297
  enumerable: true,
6170
- get: function () { return chunkATX7FAO6_cjs.AgentBadge; }
6298
+ get: function () { return chunk2NSB2EKN_cjs.AgentBadge; }
6171
6299
  });
6172
6300
  Object.defineProperty(exports, "AiMarkdown", {
6173
6301
  enumerable: true,
6174
- get: function () { return chunkATX7FAO6_cjs.AiMarkdown; }
6302
+ get: function () { return chunk2NSB2EKN_cjs.AiMarkdown; }
6175
6303
  });
6176
6304
  Object.defineProperty(exports, "ArbiBotHeadIcon", {
6177
6305
  enumerable: true,
6178
- get: function () { return chunkATX7FAO6_cjs.ArbiBotHeadIcon; }
6306
+ get: function () { return chunk2NSB2EKN_cjs.ArbiBotHeadIcon; }
6179
6307
  });
6180
6308
  Object.defineProperty(exports, "AudIcon", {
6181
6309
  enumerable: true,
6182
- get: function () { return chunkATX7FAO6_cjs.AudIcon; }
6310
+ get: function () { return chunk2NSB2EKN_cjs.AudIcon; }
6183
6311
  });
6184
6312
  Object.defineProperty(exports, "Avatar", {
6185
6313
  enumerable: true,
6186
- get: function () { return chunkATX7FAO6_cjs.Avatar; }
6314
+ get: function () { return chunk2NSB2EKN_cjs.Avatar; }
6187
6315
  });
6188
6316
  Object.defineProperty(exports, "AvatarFallback", {
6189
6317
  enumerable: true,
6190
- get: function () { return chunkATX7FAO6_cjs.AvatarFallback; }
6318
+ get: function () { return chunk2NSB2EKN_cjs.AvatarFallback; }
6191
6319
  });
6192
6320
  Object.defineProperty(exports, "AvatarImage", {
6193
6321
  enumerable: true,
6194
- get: function () { return chunkATX7FAO6_cjs.AvatarImage; }
6322
+ get: function () { return chunk2NSB2EKN_cjs.AvatarImage; }
6195
6323
  });
6196
6324
  Object.defineProperty(exports, "BASE_COLORS", {
6197
6325
  enumerable: true,
6198
- get: function () { return chunkATX7FAO6_cjs.BASE_COLORS; }
6326
+ get: function () { return chunk2NSB2EKN_cjs.BASE_COLORS; }
6199
6327
  });
6200
6328
  Object.defineProperty(exports, "Badge", {
6201
6329
  enumerable: true,
6202
- get: function () { return chunkATX7FAO6_cjs.Badge; }
6330
+ get: function () { return chunk2NSB2EKN_cjs.Badge; }
6203
6331
  });
6204
6332
  Object.defineProperty(exports, "Button", {
6205
6333
  enumerable: true,
6206
- get: function () { return chunkATX7FAO6_cjs.Button; }
6334
+ get: function () { return chunk2NSB2EKN_cjs.Button; }
6207
6335
  });
6208
6336
  Object.defineProperty(exports, "Card", {
6209
6337
  enumerable: true,
6210
- get: function () { return chunkATX7FAO6_cjs.Card; }
6338
+ get: function () { return chunk2NSB2EKN_cjs.Card; }
6211
6339
  });
6212
6340
  Object.defineProperty(exports, "CardContent", {
6213
6341
  enumerable: true,
6214
- get: function () { return chunkATX7FAO6_cjs.CardContent; }
6342
+ get: function () { return chunk2NSB2EKN_cjs.CardContent; }
6215
6343
  });
6216
6344
  Object.defineProperty(exports, "CardDescription", {
6217
6345
  enumerable: true,
6218
- get: function () { return chunkATX7FAO6_cjs.CardDescription; }
6346
+ get: function () { return chunk2NSB2EKN_cjs.CardDescription; }
6219
6347
  });
6220
6348
  Object.defineProperty(exports, "CardFooter", {
6221
6349
  enumerable: true,
6222
- get: function () { return chunkATX7FAO6_cjs.CardFooter; }
6350
+ get: function () { return chunk2NSB2EKN_cjs.CardFooter; }
6223
6351
  });
6224
6352
  Object.defineProperty(exports, "CardHeader", {
6225
6353
  enumerable: true,
6226
- get: function () { return chunkATX7FAO6_cjs.CardHeader; }
6354
+ get: function () { return chunk2NSB2EKN_cjs.CardHeader; }
6227
6355
  });
6228
6356
  Object.defineProperty(exports, "CardTitle", {
6229
6357
  enumerable: true,
6230
- get: function () { return chunkATX7FAO6_cjs.CardTitle; }
6358
+ get: function () { return chunk2NSB2EKN_cjs.CardTitle; }
6231
6359
  });
6232
6360
  Object.defineProperty(exports, "Checkbox", {
6233
6361
  enumerable: true,
6234
- get: function () { return chunkATX7FAO6_cjs.Checkbox; }
6362
+ get: function () { return chunk2NSB2EKN_cjs.Checkbox; }
6235
6363
  });
6236
6364
  Object.defineProperty(exports, "Collapsible", {
6237
6365
  enumerable: true,
6238
- get: function () { return chunkATX7FAO6_cjs.Collapsible; }
6366
+ get: function () { return chunk2NSB2EKN_cjs.Collapsible; }
6239
6367
  });
6240
6368
  Object.defineProperty(exports, "CollapsibleContent", {
6241
6369
  enumerable: true,
6242
- get: function () { return chunkATX7FAO6_cjs.CollapsibleContent; }
6370
+ get: function () { return chunk2NSB2EKN_cjs.CollapsibleContent; }
6243
6371
  });
6244
6372
  Object.defineProperty(exports, "CollapsibleTrigger", {
6245
6373
  enumerable: true,
6246
- get: function () { return chunkATX7FAO6_cjs.CollapsibleTrigger; }
6374
+ get: function () { return chunk2NSB2EKN_cjs.CollapsibleTrigger; }
6247
6375
  });
6248
6376
  Object.defineProperty(exports, "Command", {
6249
6377
  enumerable: true,
6250
- get: function () { return chunkATX7FAO6_cjs.Command; }
6378
+ get: function () { return chunk2NSB2EKN_cjs.Command; }
6251
6379
  });
6252
6380
  Object.defineProperty(exports, "CommandDialog", {
6253
6381
  enumerable: true,
6254
- get: function () { return chunkATX7FAO6_cjs.CommandDialog; }
6382
+ get: function () { return chunk2NSB2EKN_cjs.CommandDialog; }
6255
6383
  });
6256
6384
  Object.defineProperty(exports, "CommandEmpty", {
6257
6385
  enumerable: true,
6258
- get: function () { return chunkATX7FAO6_cjs.CommandEmpty; }
6386
+ get: function () { return chunk2NSB2EKN_cjs.CommandEmpty; }
6259
6387
  });
6260
6388
  Object.defineProperty(exports, "CommandGroup", {
6261
6389
  enumerable: true,
6262
- get: function () { return chunkATX7FAO6_cjs.CommandGroup; }
6390
+ get: function () { return chunk2NSB2EKN_cjs.CommandGroup; }
6263
6391
  });
6264
6392
  Object.defineProperty(exports, "CommandInput", {
6265
6393
  enumerable: true,
6266
- get: function () { return chunkATX7FAO6_cjs.CommandInput; }
6394
+ get: function () { return chunk2NSB2EKN_cjs.CommandInput; }
6267
6395
  });
6268
6396
  Object.defineProperty(exports, "CommandItem", {
6269
6397
  enumerable: true,
6270
- get: function () { return chunkATX7FAO6_cjs.CommandItem; }
6398
+ get: function () { return chunk2NSB2EKN_cjs.CommandItem; }
6271
6399
  });
6272
6400
  Object.defineProperty(exports, "CommandList", {
6273
6401
  enumerable: true,
6274
- get: function () { return chunkATX7FAO6_cjs.CommandList; }
6402
+ get: function () { return chunk2NSB2EKN_cjs.CommandList; }
6275
6403
  });
6276
6404
  Object.defineProperty(exports, "CommandSeparator", {
6277
6405
  enumerable: true,
6278
- get: function () { return chunkATX7FAO6_cjs.CommandSeparator; }
6406
+ get: function () { return chunk2NSB2EKN_cjs.CommandSeparator; }
6279
6407
  });
6280
6408
  Object.defineProperty(exports, "CommandShortcut", {
6281
6409
  enumerable: true,
6282
- get: function () { return chunkATX7FAO6_cjs.CommandShortcut; }
6410
+ get: function () { return chunk2NSB2EKN_cjs.CommandShortcut; }
6283
6411
  });
6284
6412
  Object.defineProperty(exports, "Dialog", {
6285
6413
  enumerable: true,
6286
- get: function () { return chunkATX7FAO6_cjs.Dialog; }
6414
+ get: function () { return chunk2NSB2EKN_cjs.Dialog; }
6287
6415
  });
6288
6416
  Object.defineProperty(exports, "DialogClose", {
6289
6417
  enumerable: true,
6290
- get: function () { return chunkATX7FAO6_cjs.DialogClose; }
6418
+ get: function () { return chunk2NSB2EKN_cjs.DialogClose; }
6291
6419
  });
6292
6420
  Object.defineProperty(exports, "DialogContent", {
6293
6421
  enumerable: true,
6294
- get: function () { return chunkATX7FAO6_cjs.DialogContent; }
6422
+ get: function () { return chunk2NSB2EKN_cjs.DialogContent; }
6295
6423
  });
6296
6424
  Object.defineProperty(exports, "DialogDescription", {
6297
6425
  enumerable: true,
6298
- get: function () { return chunkATX7FAO6_cjs.DialogDescription; }
6426
+ get: function () { return chunk2NSB2EKN_cjs.DialogDescription; }
6299
6427
  });
6300
6428
  Object.defineProperty(exports, "DialogFooter", {
6301
6429
  enumerable: true,
6302
- get: function () { return chunkATX7FAO6_cjs.DialogFooter; }
6430
+ get: function () { return chunk2NSB2EKN_cjs.DialogFooter; }
6303
6431
  });
6304
6432
  Object.defineProperty(exports, "DialogHeader", {
6305
6433
  enumerable: true,
6306
- get: function () { return chunkATX7FAO6_cjs.DialogHeader; }
6434
+ get: function () { return chunk2NSB2EKN_cjs.DialogHeader; }
6307
6435
  });
6308
6436
  Object.defineProperty(exports, "DialogOverlay", {
6309
6437
  enumerable: true,
6310
- get: function () { return chunkATX7FAO6_cjs.DialogOverlay; }
6438
+ get: function () { return chunk2NSB2EKN_cjs.DialogOverlay; }
6311
6439
  });
6312
6440
  Object.defineProperty(exports, "DialogPortal", {
6313
6441
  enumerable: true,
6314
- get: function () { return chunkATX7FAO6_cjs.DialogPortal; }
6442
+ get: function () { return chunk2NSB2EKN_cjs.DialogPortal; }
6315
6443
  });
6316
6444
  Object.defineProperty(exports, "DialogTitle", {
6317
6445
  enumerable: true,
6318
- get: function () { return chunkATX7FAO6_cjs.DialogTitle; }
6446
+ get: function () { return chunk2NSB2EKN_cjs.DialogTitle; }
6319
6447
  });
6320
6448
  Object.defineProperty(exports, "DialogTrigger", {
6321
6449
  enumerable: true,
6322
- get: function () { return chunkATX7FAO6_cjs.DialogTrigger; }
6450
+ get: function () { return chunk2NSB2EKN_cjs.DialogTrigger; }
6323
6451
  });
6324
6452
  Object.defineProperty(exports, "DictateProvider", {
6325
6453
  enumerable: true,
6326
- get: function () { return chunkATX7FAO6_cjs.DictateProvider; }
6454
+ get: function () { return chunk2NSB2EKN_cjs.DictateProvider; }
6327
6455
  });
6328
6456
  Object.defineProperty(exports, "DocIcon", {
6329
6457
  enumerable: true,
6330
- get: function () { return chunkATX7FAO6_cjs.DocIcon; }
6458
+ get: function () { return chunk2NSB2EKN_cjs.DocIcon; }
6331
6459
  });
6332
6460
  Object.defineProperty(exports, "DocumentCard", {
6333
6461
  enumerable: true,
6334
- get: function () { return chunkATX7FAO6_cjs.DocumentCard; }
6462
+ get: function () { return chunk2NSB2EKN_cjs.DocumentCard; }
6335
6463
  });
6336
6464
  Object.defineProperty(exports, "DocumentEntity", {
6337
6465
  enumerable: true,
6338
- get: function () { return chunkATX7FAO6_cjs.DocumentEntity; }
6466
+ get: function () { return chunk2NSB2EKN_cjs.DocumentEntity; }
6339
6467
  });
6340
6468
  Object.defineProperty(exports, "ENTITY_MAPPINGS", {
6341
6469
  enumerable: true,
6342
- get: function () { return chunkATX7FAO6_cjs.ENTITY_MAPPINGS; }
6470
+ get: function () { return chunk2NSB2EKN_cjs.ENTITY_MAPPINGS; }
6343
6471
  });
6344
6472
  Object.defineProperty(exports, "EmlIcon", {
6345
6473
  enumerable: true,
6346
- get: function () { return chunkATX7FAO6_cjs.EmlIcon; }
6474
+ get: function () { return chunk2NSB2EKN_cjs.EmlIcon; }
6347
6475
  });
6348
6476
  Object.defineProperty(exports, "EntityIcon", {
6349
6477
  enumerable: true,
6350
- get: function () { return chunkATX7FAO6_cjs.EntityIcon; }
6478
+ get: function () { return chunk2NSB2EKN_cjs.EntityIcon; }
6351
6479
  });
6352
6480
  Object.defineProperty(exports, "EntityPill", {
6353
6481
  enumerable: true,
6354
- get: function () { return chunkATX7FAO6_cjs.EntityPill; }
6482
+ get: function () { return chunk2NSB2EKN_cjs.EntityPill; }
6355
6483
  });
6356
6484
  Object.defineProperty(exports, "FILE_TYPE_COLORS", {
6357
6485
  enumerable: true,
6358
- get: function () { return chunkATX7FAO6_cjs.FILE_TYPE_COLORS; }
6486
+ get: function () { return chunk2NSB2EKN_cjs.FILE_TYPE_COLORS; }
6359
6487
  });
6360
6488
  Object.defineProperty(exports, "HoverCard", {
6361
6489
  enumerable: true,
6362
- get: function () { return chunkATX7FAO6_cjs.HoverCard; }
6490
+ get: function () { return chunk2NSB2EKN_cjs.HoverCard; }
6363
6491
  });
6364
6492
  Object.defineProperty(exports, "HoverCardContent", {
6365
6493
  enumerable: true,
6366
- get: function () { return chunkATX7FAO6_cjs.HoverCardContent; }
6494
+ get: function () { return chunk2NSB2EKN_cjs.HoverCardContent; }
6367
6495
  });
6368
6496
  Object.defineProperty(exports, "HoverCardTrigger", {
6369
6497
  enumerable: true,
6370
- get: function () { return chunkATX7FAO6_cjs.HoverCardTrigger; }
6498
+ get: function () { return chunk2NSB2EKN_cjs.HoverCardTrigger; }
6371
6499
  });
6372
6500
  Object.defineProperty(exports, "HtmlIcon", {
6373
6501
  enumerable: true,
6374
- get: function () { return chunkATX7FAO6_cjs.HtmlIcon; }
6502
+ get: function () { return chunk2NSB2EKN_cjs.HtmlIcon; }
6375
6503
  });
6376
6504
  Object.defineProperty(exports, "IconToggle", {
6377
6505
  enumerable: true,
6378
- get: function () { return chunkATX7FAO6_cjs.IconToggle; }
6506
+ get: function () { return chunk2NSB2EKN_cjs.IconToggle; }
6379
6507
  });
6380
6508
  Object.defineProperty(exports, "ImgIcon", {
6381
6509
  enumerable: true,
6382
- get: function () { return chunkATX7FAO6_cjs.ImgIcon; }
6510
+ get: function () { return chunk2NSB2EKN_cjs.ImgIcon; }
6383
6511
  });
6384
6512
  Object.defineProperty(exports, "InlineMicButton", {
6385
6513
  enumerable: true,
6386
- get: function () { return chunkATX7FAO6_cjs.InlineMicButton; }
6514
+ get: function () { return chunk2NSB2EKN_cjs.InlineMicButton; }
6387
6515
  });
6388
6516
  Object.defineProperty(exports, "Input", {
6389
6517
  enumerable: true,
6390
- get: function () { return chunkATX7FAO6_cjs.Input; }
6518
+ get: function () { return chunk2NSB2EKN_cjs.Input; }
6391
6519
  });
6392
6520
  Object.defineProperty(exports, "Label", {
6393
6521
  enumerable: true,
6394
- get: function () { return chunkATX7FAO6_cjs.Label; }
6522
+ get: function () { return chunk2NSB2EKN_cjs.Label; }
6395
6523
  });
6396
6524
  Object.defineProperty(exports, "MarkMenu", {
6397
6525
  enumerable: true,
6398
- get: function () { return chunkATX7FAO6_cjs.MarkMenu; }
6526
+ get: function () { return chunk2NSB2EKN_cjs.MarkMenu; }
6399
6527
  });
6400
6528
  Object.defineProperty(exports, "MicRecordingOverlay", {
6401
6529
  enumerable: true,
6402
- get: function () { return chunkATX7FAO6_cjs.MicRecordingOverlay; }
6530
+ get: function () { return chunk2NSB2EKN_cjs.MicRecordingOverlay; }
6403
6531
  });
6404
6532
  Object.defineProperty(exports, "MicWaveformIndicator", {
6405
6533
  enumerable: true,
6406
- get: function () { return chunkATX7FAO6_cjs.MicWaveformIndicator; }
6534
+ get: function () { return chunk2NSB2EKN_cjs.MicWaveformIndicator; }
6407
6535
  });
6408
6536
  Object.defineProperty(exports, "NEUTRAL_GRAY", {
6409
6537
  enumerable: true,
6410
- get: function () { return chunkATX7FAO6_cjs.NEUTRAL_GRAY; }
6538
+ get: function () { return chunk2NSB2EKN_cjs.NEUTRAL_GRAY; }
6411
6539
  });
6412
6540
  Object.defineProperty(exports, "PLACEHOLDER_COLOR", {
6413
6541
  enumerable: true,
6414
- get: function () { return chunkATX7FAO6_cjs.PLACEHOLDER_COLOR; }
6542
+ get: function () { return chunk2NSB2EKN_cjs.PLACEHOLDER_COLOR; }
6415
6543
  });
6416
6544
  Object.defineProperty(exports, "PassageCard", {
6417
6545
  enumerable: true,
6418
- get: function () { return chunkATX7FAO6_cjs.PassageCard; }
6546
+ get: function () { return chunk2NSB2EKN_cjs.PassageCard; }
6419
6547
  });
6420
6548
  Object.defineProperty(exports, "PdfIcon", {
6421
6549
  enumerable: true,
6422
- get: function () { return chunkATX7FAO6_cjs.PdfIcon; }
6550
+ get: function () { return chunk2NSB2EKN_cjs.PdfIcon; }
6423
6551
  });
6424
6552
  Object.defineProperty(exports, "Popover", {
6425
6553
  enumerable: true,
6426
- get: function () { return chunkATX7FAO6_cjs.Popover; }
6554
+ get: function () { return chunk2NSB2EKN_cjs.Popover; }
6427
6555
  });
6428
6556
  Object.defineProperty(exports, "PopoverAnchor", {
6429
6557
  enumerable: true,
6430
- get: function () { return chunkATX7FAO6_cjs.PopoverAnchor; }
6558
+ get: function () { return chunk2NSB2EKN_cjs.PopoverAnchor; }
6431
6559
  });
6432
6560
  Object.defineProperty(exports, "PopoverContent", {
6433
6561
  enumerable: true,
6434
- get: function () { return chunkATX7FAO6_cjs.PopoverContent; }
6562
+ get: function () { return chunk2NSB2EKN_cjs.PopoverContent; }
6435
6563
  });
6436
6564
  Object.defineProperty(exports, "PopoverTrigger", {
6437
6565
  enumerable: true,
6438
- get: function () { return chunkATX7FAO6_cjs.PopoverTrigger; }
6566
+ get: function () { return chunk2NSB2EKN_cjs.PopoverTrigger; }
6439
6567
  });
6440
6568
  Object.defineProperty(exports, "PresenceLabel", {
6441
6569
  enumerable: true,
6442
- get: function () { return chunkATX7FAO6_cjs.PresenceLabel; }
6570
+ get: function () { return chunk2NSB2EKN_cjs.PresenceLabel; }
6443
6571
  });
6444
6572
  Object.defineProperty(exports, "Progress", {
6445
6573
  enumerable: true,
6446
- get: function () { return chunkATX7FAO6_cjs.Progress; }
6574
+ get: function () { return chunk2NSB2EKN_cjs.Progress; }
6447
6575
  });
6448
6576
  Object.defineProperty(exports, "ProjectEntity", {
6449
6577
  enumerable: true,
6450
- get: function () { return chunkATX7FAO6_cjs.ProjectEntity; }
6578
+ get: function () { return chunk2NSB2EKN_cjs.ProjectEntity; }
6451
6579
  });
6452
6580
  Object.defineProperty(exports, "RadioGroup", {
6453
6581
  enumerable: true,
6454
- get: function () { return chunkATX7FAO6_cjs.RadioGroup; }
6582
+ get: function () { return chunk2NSB2EKN_cjs.RadioGroup; }
6455
6583
  });
6456
6584
  Object.defineProperty(exports, "RadioGroupItem", {
6457
6585
  enumerable: true,
6458
- get: function () { return chunkATX7FAO6_cjs.RadioGroupItem; }
6586
+ get: function () { return chunk2NSB2EKN_cjs.RadioGroupItem; }
6459
6587
  });
6460
6588
  Object.defineProperty(exports, "RagDot", {
6461
6589
  enumerable: true,
6462
- get: function () { return chunkATX7FAO6_cjs.RagDot; }
6590
+ get: function () { return chunk2NSB2EKN_cjs.RagDot; }
6463
6591
  });
6464
6592
  Object.defineProperty(exports, "RelevanceDot", {
6465
6593
  enumerable: true,
6466
- get: function () { return chunkATX7FAO6_cjs.RelevanceDot; }
6594
+ get: function () { return chunk2NSB2EKN_cjs.RelevanceDot; }
6467
6595
  });
6468
6596
  Object.defineProperty(exports, "Select", {
6469
6597
  enumerable: true,
6470
- get: function () { return chunkATX7FAO6_cjs.Select; }
6598
+ get: function () { return chunk2NSB2EKN_cjs.Select; }
6471
6599
  });
6472
6600
  Object.defineProperty(exports, "SelectContent", {
6473
6601
  enumerable: true,
6474
- get: function () { return chunkATX7FAO6_cjs.SelectContent; }
6602
+ get: function () { return chunk2NSB2EKN_cjs.SelectContent; }
6475
6603
  });
6476
6604
  Object.defineProperty(exports, "SelectGroup", {
6477
6605
  enumerable: true,
6478
- get: function () { return chunkATX7FAO6_cjs.SelectGroup; }
6606
+ get: function () { return chunk2NSB2EKN_cjs.SelectGroup; }
6479
6607
  });
6480
6608
  Object.defineProperty(exports, "SelectItem", {
6481
6609
  enumerable: true,
6482
- get: function () { return chunkATX7FAO6_cjs.SelectItem; }
6610
+ get: function () { return chunk2NSB2EKN_cjs.SelectItem; }
6483
6611
  });
6484
6612
  Object.defineProperty(exports, "SelectLabel", {
6485
6613
  enumerable: true,
6486
- get: function () { return chunkATX7FAO6_cjs.SelectLabel; }
6614
+ get: function () { return chunk2NSB2EKN_cjs.SelectLabel; }
6487
6615
  });
6488
6616
  Object.defineProperty(exports, "SelectScrollDownButton", {
6489
6617
  enumerable: true,
6490
- get: function () { return chunkATX7FAO6_cjs.SelectScrollDownButton; }
6618
+ get: function () { return chunk2NSB2EKN_cjs.SelectScrollDownButton; }
6491
6619
  });
6492
6620
  Object.defineProperty(exports, "SelectScrollUpButton", {
6493
6621
  enumerable: true,
6494
- get: function () { return chunkATX7FAO6_cjs.SelectScrollUpButton; }
6622
+ get: function () { return chunk2NSB2EKN_cjs.SelectScrollUpButton; }
6495
6623
  });
6496
6624
  Object.defineProperty(exports, "SelectSeparator", {
6497
6625
  enumerable: true,
6498
- get: function () { return chunkATX7FAO6_cjs.SelectSeparator; }
6626
+ get: function () { return chunk2NSB2EKN_cjs.SelectSeparator; }
6499
6627
  });
6500
6628
  Object.defineProperty(exports, "SelectTrigger", {
6501
6629
  enumerable: true,
6502
- get: function () { return chunkATX7FAO6_cjs.SelectTrigger; }
6630
+ get: function () { return chunk2NSB2EKN_cjs.SelectTrigger; }
6503
6631
  });
6504
6632
  Object.defineProperty(exports, "SelectValue", {
6505
6633
  enumerable: true,
6506
- get: function () { return chunkATX7FAO6_cjs.SelectValue; }
6634
+ get: function () { return chunk2NSB2EKN_cjs.SelectValue; }
6507
6635
  });
6508
6636
  Object.defineProperty(exports, "Separator", {
6509
6637
  enumerable: true,
6510
- get: function () { return chunkATX7FAO6_cjs.Separator; }
6638
+ get: function () { return chunk2NSB2EKN_cjs.Separator; }
6511
6639
  });
6512
6640
  Object.defineProperty(exports, "Slider", {
6513
6641
  enumerable: true,
6514
- get: function () { return chunkATX7FAO6_cjs.Slider; }
6642
+ get: function () { return chunk2NSB2EKN_cjs.Slider; }
6515
6643
  });
6516
6644
  Object.defineProperty(exports, "StatusPill", {
6517
6645
  enumerable: true,
6518
- get: function () { return chunkATX7FAO6_cjs.StatusPill; }
6646
+ get: function () { return chunk2NSB2EKN_cjs.StatusPill; }
6519
6647
  });
6520
6648
  Object.defineProperty(exports, "Switch", {
6521
6649
  enumerable: true,
6522
- get: function () { return chunkATX7FAO6_cjs.Switch; }
6650
+ get: function () { return chunk2NSB2EKN_cjs.Switch; }
6523
6651
  });
6524
6652
  Object.defineProperty(exports, "TAG_TYPE_ICONS", {
6525
6653
  enumerable: true,
6526
- get: function () { return chunkATX7FAO6_cjs.TAG_TYPE_ICONS; }
6654
+ get: function () { return chunk2NSB2EKN_cjs.TAG_TYPE_ICONS; }
6527
6655
  });
6528
6656
  Object.defineProperty(exports, "TAG_TYPE_LABELS", {
6529
6657
  enumerable: true,
6530
- get: function () { return chunkATX7FAO6_cjs.TAG_TYPE_LABELS; }
6658
+ get: function () { return chunk2NSB2EKN_cjs.TAG_TYPE_LABELS; }
6531
6659
  });
6532
6660
  Object.defineProperty(exports, "Table", {
6533
6661
  enumerable: true,
6534
- get: function () { return chunkATX7FAO6_cjs.Table; }
6662
+ get: function () { return chunk2NSB2EKN_cjs.Table; }
6535
6663
  });
6536
6664
  Object.defineProperty(exports, "TableBody", {
6537
6665
  enumerable: true,
6538
- get: function () { return chunkATX7FAO6_cjs.TableBody; }
6666
+ get: function () { return chunk2NSB2EKN_cjs.TableBody; }
6539
6667
  });
6540
6668
  Object.defineProperty(exports, "TableCaption", {
6541
6669
  enumerable: true,
6542
- get: function () { return chunkATX7FAO6_cjs.TableCaption; }
6670
+ get: function () { return chunk2NSB2EKN_cjs.TableCaption; }
6543
6671
  });
6544
6672
  Object.defineProperty(exports, "TableCell", {
6545
6673
  enumerable: true,
6546
- get: function () { return chunkATX7FAO6_cjs.TableCell; }
6674
+ get: function () { return chunk2NSB2EKN_cjs.TableCell; }
6547
6675
  });
6548
6676
  Object.defineProperty(exports, "TableFooter", {
6549
6677
  enumerable: true,
6550
- get: function () { return chunkATX7FAO6_cjs.TableFooter; }
6678
+ get: function () { return chunk2NSB2EKN_cjs.TableFooter; }
6551
6679
  });
6552
6680
  Object.defineProperty(exports, "TableHead", {
6553
6681
  enumerable: true,
6554
- get: function () { return chunkATX7FAO6_cjs.TableHead; }
6682
+ get: function () { return chunk2NSB2EKN_cjs.TableHead; }
6555
6683
  });
6556
6684
  Object.defineProperty(exports, "TableHeader", {
6557
6685
  enumerable: true,
6558
- get: function () { return chunkATX7FAO6_cjs.TableHeader; }
6686
+ get: function () { return chunk2NSB2EKN_cjs.TableHeader; }
6559
6687
  });
6560
6688
  Object.defineProperty(exports, "TableRow", {
6561
6689
  enumerable: true,
6562
- get: function () { return chunkATX7FAO6_cjs.TableRow; }
6690
+ get: function () { return chunk2NSB2EKN_cjs.TableRow; }
6563
6691
  });
6564
6692
  Object.defineProperty(exports, "Tabs", {
6565
6693
  enumerable: true,
6566
- get: function () { return chunkATX7FAO6_cjs.Tabs; }
6694
+ get: function () { return chunk2NSB2EKN_cjs.Tabs; }
6567
6695
  });
6568
6696
  Object.defineProperty(exports, "TabsContent", {
6569
6697
  enumerable: true,
6570
- get: function () { return chunkATX7FAO6_cjs.TabsContent; }
6698
+ get: function () { return chunk2NSB2EKN_cjs.TabsContent; }
6571
6699
  });
6572
6700
  Object.defineProperty(exports, "TabsList", {
6573
6701
  enumerable: true,
6574
- get: function () { return chunkATX7FAO6_cjs.TabsList; }
6702
+ get: function () { return chunk2NSB2EKN_cjs.TabsList; }
6575
6703
  });
6576
6704
  Object.defineProperty(exports, "TabsTrigger", {
6577
6705
  enumerable: true,
6578
- get: function () { return chunkATX7FAO6_cjs.TabsTrigger; }
6706
+ get: function () { return chunk2NSB2EKN_cjs.TabsTrigger; }
6579
6707
  });
6580
6708
  Object.defineProperty(exports, "TagEntity", {
6581
6709
  enumerable: true,
6582
- get: function () { return chunkATX7FAO6_cjs.TagEntity; }
6710
+ get: function () { return chunk2NSB2EKN_cjs.TagEntity; }
6583
6711
  });
6584
6712
  Object.defineProperty(exports, "Textarea", {
6585
6713
  enumerable: true,
6586
- get: function () { return chunkATX7FAO6_cjs.Textarea; }
6714
+ get: function () { return chunk2NSB2EKN_cjs.Textarea; }
6587
6715
  });
6588
6716
  Object.defineProperty(exports, "ThreadVisibilityIcon", {
6589
6717
  enumerable: true,
6590
- get: function () { return chunkATX7FAO6_cjs.ThreadVisibilityIcon; }
6718
+ get: function () { return chunk2NSB2EKN_cjs.ThreadVisibilityIcon; }
6591
6719
  });
6592
6720
  Object.defineProperty(exports, "Toggle", {
6593
6721
  enumerable: true,
6594
- get: function () { return chunkATX7FAO6_cjs.Toggle; }
6722
+ get: function () { return chunk2NSB2EKN_cjs.Toggle; }
6595
6723
  });
6596
6724
  Object.defineProperty(exports, "ToggleGroup", {
6597
6725
  enumerable: true,
6598
- get: function () { return chunkATX7FAO6_cjs.ToggleGroup; }
6726
+ get: function () { return chunk2NSB2EKN_cjs.ToggleGroup; }
6599
6727
  });
6600
6728
  Object.defineProperty(exports, "ToggleGroupItem", {
6601
6729
  enumerable: true,
6602
- get: function () { return chunkATX7FAO6_cjs.ToggleGroupItem; }
6730
+ get: function () { return chunk2NSB2EKN_cjs.ToggleGroupItem; }
6603
6731
  });
6604
6732
  Object.defineProperty(exports, "Tooltip", {
6605
6733
  enumerable: true,
6606
- get: function () { return chunkATX7FAO6_cjs.Tooltip; }
6734
+ get: function () { return chunk2NSB2EKN_cjs.Tooltip; }
6607
6735
  });
6608
6736
  Object.defineProperty(exports, "TooltipContent", {
6609
6737
  enumerable: true,
6610
- get: function () { return chunkATX7FAO6_cjs.TooltipContent; }
6738
+ get: function () { return chunk2NSB2EKN_cjs.TooltipContent; }
6611
6739
  });
6612
6740
  Object.defineProperty(exports, "TooltipProvider", {
6613
6741
  enumerable: true,
6614
- get: function () { return chunkATX7FAO6_cjs.TooltipProvider; }
6742
+ get: function () { return chunk2NSB2EKN_cjs.TooltipProvider; }
6615
6743
  });
6616
6744
  Object.defineProperty(exports, "TooltipTrigger", {
6617
6745
  enumerable: true,
6618
- get: function () { return chunkATX7FAO6_cjs.TooltipTrigger; }
6746
+ get: function () { return chunk2NSB2EKN_cjs.TooltipTrigger; }
6619
6747
  });
6620
6748
  Object.defineProperty(exports, "TxtIcon", {
6621
6749
  enumerable: true,
6622
- get: function () { return chunkATX7FAO6_cjs.TxtIcon; }
6750
+ get: function () { return chunk2NSB2EKN_cjs.TxtIcon; }
6623
6751
  });
6624
6752
  Object.defineProperty(exports, "UserEntity", {
6625
6753
  enumerable: true,
6626
- get: function () { return chunkATX7FAO6_cjs.UserEntity; }
6754
+ get: function () { return chunk2NSB2EKN_cjs.UserEntity; }
6627
6755
  });
6628
6756
  Object.defineProperty(exports, "UserMenu", {
6629
6757
  enumerable: true,
6630
- get: function () { return chunkATX7FAO6_cjs.UserMenu; }
6758
+ get: function () { return chunk2NSB2EKN_cjs.UserMenu; }
6631
6759
  });
6632
6760
  Object.defineProperty(exports, "VISIBILITY_ICONS", {
6633
6761
  enumerable: true,
6634
- get: function () { return chunkATX7FAO6_cjs.VISIBILITY_ICONS; }
6762
+ get: function () { return chunk2NSB2EKN_cjs.VISIBILITY_ICONS; }
6635
6763
  });
6636
6764
  Object.defineProperty(exports, "VidIcon", {
6637
6765
  enumerable: true,
6638
- get: function () { return chunkATX7FAO6_cjs.VidIcon; }
6766
+ get: function () { return chunk2NSB2EKN_cjs.VidIcon; }
6639
6767
  });
6640
6768
  Object.defineProperty(exports, "VisibilityIcon", {
6641
6769
  enumerable: true,
6642
- get: function () { return chunkATX7FAO6_cjs.VisibilityIcon; }
6770
+ get: function () { return chunk2NSB2EKN_cjs.VisibilityIcon; }
6643
6771
  });
6644
6772
  Object.defineProperty(exports, "VisibilityToggle", {
6645
6773
  enumerable: true,
6646
- get: function () { return chunkATX7FAO6_cjs.VisibilityToggle; }
6774
+ get: function () { return chunk2NSB2EKN_cjs.VisibilityToggle; }
6647
6775
  });
6648
6776
  Object.defineProperty(exports, "XlsIcon", {
6649
6777
  enumerable: true,
6650
- get: function () { return chunkATX7FAO6_cjs.XlsIcon; }
6778
+ get: function () { return chunk2NSB2EKN_cjs.XlsIcon; }
6651
6779
  });
6652
6780
  Object.defineProperty(exports, "badgeVariants", {
6653
6781
  enumerable: true,
6654
- get: function () { return chunkATX7FAO6_cjs.badgeVariants; }
6782
+ get: function () { return chunk2NSB2EKN_cjs.badgeVariants; }
6655
6783
  });
6656
6784
  Object.defineProperty(exports, "buttonVariants", {
6657
6785
  enumerable: true,
6658
- get: function () { return chunkATX7FAO6_cjs.buttonVariants; }
6786
+ get: function () { return chunk2NSB2EKN_cjs.buttonVariants; }
6659
6787
  });
6660
6788
  Object.defineProperty(exports, "cardVariants", {
6661
6789
  enumerable: true,
6662
- get: function () { return chunkATX7FAO6_cjs.cardVariants; }
6790
+ get: function () { return chunk2NSB2EKN_cjs.cardVariants; }
6663
6791
  });
6664
6792
  Object.defineProperty(exports, "configureEntityRegistry", {
6665
6793
  enumerable: true,
6666
- get: function () { return chunkATX7FAO6_cjs.configureEntityRegistry; }
6794
+ get: function () { return chunk2NSB2EKN_cjs.configureEntityRegistry; }
6667
6795
  });
6668
6796
  Object.defineProperty(exports, "configureRagLabels", {
6669
6797
  enumerable: true,
6670
- get: function () { return chunkATX7FAO6_cjs.configureRagLabels; }
6798
+ get: function () { return chunk2NSB2EKN_cjs.configureRagLabels; }
6671
6799
  });
6672
6800
  Object.defineProperty(exports, "configureStatusRegistry", {
6673
6801
  enumerable: true,
6674
- get: function () { return chunkATX7FAO6_cjs.configureStatusRegistry; }
6802
+ get: function () { return chunk2NSB2EKN_cjs.configureStatusRegistry; }
6675
6803
  });
6676
6804
  Object.defineProperty(exports, "formatElapsed", {
6677
6805
  enumerable: true,
6678
- get: function () { return chunkATX7FAO6_cjs.formatElapsed; }
6806
+ get: function () { return chunk2NSB2EKN_cjs.formatElapsed; }
6679
6807
  });
6680
6808
  Object.defineProperty(exports, "getDocIcon", {
6681
6809
  enumerable: true,
6682
- get: function () { return chunkATX7FAO6_cjs.getDocIcon; }
6810
+ get: function () { return chunk2NSB2EKN_cjs.getDocIcon; }
6683
6811
  });
6684
6812
  Object.defineProperty(exports, "getEntityColor", {
6685
6813
  enumerable: true,
6686
- get: function () { return chunkATX7FAO6_cjs.getEntityColor; }
6814
+ get: function () { return chunk2NSB2EKN_cjs.getEntityColor; }
6687
6815
  });
6688
6816
  Object.defineProperty(exports, "getEntityColorStyles", {
6689
6817
  enumerable: true,
6690
- get: function () { return chunkATX7FAO6_cjs.getEntityColorStyles; }
6818
+ get: function () { return chunk2NSB2EKN_cjs.getEntityColorStyles; }
6691
6819
  });
6692
6820
  Object.defineProperty(exports, "getEntityIcon", {
6693
6821
  enumerable: true,
6694
- get: function () { return chunkATX7FAO6_cjs.getEntityIcon; }
6822
+ get: function () { return chunk2NSB2EKN_cjs.getEntityIcon; }
6695
6823
  });
6696
6824
  Object.defineProperty(exports, "getEntityLabel", {
6697
6825
  enumerable: true,
6698
- get: function () { return chunkATX7FAO6_cjs.getEntityLabel; }
6826
+ get: function () { return chunk2NSB2EKN_cjs.getEntityLabel; }
6699
6827
  });
6700
6828
  Object.defineProperty(exports, "getStatusVariant", {
6701
6829
  enumerable: true,
6702
- get: function () { return chunkATX7FAO6_cjs.getStatusVariant; }
6830
+ get: function () { return chunk2NSB2EKN_cjs.getStatusVariant; }
6703
6831
  });
6704
6832
  Object.defineProperty(exports, "getTagTypeIcon", {
6705
6833
  enumerable: true,
6706
- get: function () { return chunkATX7FAO6_cjs.getTagTypeIcon; }
6834
+ get: function () { return chunk2NSB2EKN_cjs.getTagTypeIcon; }
6707
6835
  });
6708
6836
  Object.defineProperty(exports, "getTagTypeLabel", {
6709
6837
  enumerable: true,
6710
- get: function () { return chunkATX7FAO6_cjs.getTagTypeLabel; }
6838
+ get: function () { return chunk2NSB2EKN_cjs.getTagTypeLabel; }
6711
6839
  });
6712
6840
  Object.defineProperty(exports, "getWorkspaceColor", {
6713
6841
  enumerable: true,
6714
- get: function () { return chunkATX7FAO6_cjs.getWorkspaceColor; }
6842
+ get: function () { return chunk2NSB2EKN_cjs.getWorkspaceColor; }
6715
6843
  });
6716
6844
  Object.defineProperty(exports, "toggleVariants", {
6717
6845
  enumerable: true,
6718
- get: function () { return chunkATX7FAO6_cjs.toggleVariants; }
6846
+ get: function () { return chunk2NSB2EKN_cjs.toggleVariants; }
6719
6847
  });
6720
6848
  Object.defineProperty(exports, "useAudioRecorder", {
6721
6849
  enumerable: true,
6722
- get: function () { return chunkATX7FAO6_cjs.useAudioRecorder; }
6850
+ get: function () { return chunk2NSB2EKN_cjs.useAudioRecorder; }
6723
6851
  });
6724
6852
  Object.defineProperty(exports, "MarkdownRenderer", {
6725
6853
  enumerable: true,
6726
- get: function () { return chunkV4XELT62_cjs.MarkdownRenderer; }
6854
+ get: function () { return chunkNA3FOYSF_cjs.MarkdownRenderer; }
6727
6855
  });
6728
6856
  Object.defineProperty(exports, "MarkdownStreamingContext", {
6729
6857
  enumerable: true,
6730
- get: function () { return chunkV4XELT62_cjs.MarkdownStreamingContext; }
6858
+ get: function () { return chunkNA3FOYSF_cjs.MarkdownStreamingContext; }
6731
6859
  });
6732
6860
  Object.defineProperty(exports, "closeOpenEmphasis", {
6733
6861
  enumerable: true,
6734
- get: function () { return chunkV4XELT62_cjs.closeOpenEmphasis; }
6862
+ get: function () { return chunkNA3FOYSF_cjs.closeOpenEmphasis; }
6735
6863
  });
6736
6864
  Object.defineProperty(exports, "markdownBaseComponents", {
6737
6865
  enumerable: true,
6738
- get: function () { return chunkV4XELT62_cjs.markdownBaseComponents; }
6866
+ get: function () { return chunkNA3FOYSF_cjs.markdownBaseComponents; }
6739
6867
  });
6740
6868
  Object.defineProperty(exports, "normalizeCitationMarkup", {
6741
6869
  enumerable: true,
6742
- get: function () { return chunkV4XELT62_cjs.normalizeCitationMarkup; }
6870
+ get: function () { return chunkNA3FOYSF_cjs.normalizeCitationMarkup; }
6743
6871
  });
6744
6872
  Object.defineProperty(exports, "splitMarkdownBlocks", {
6745
6873
  enumerable: true,
6746
- get: function () { return chunkV4XELT62_cjs.splitMarkdownBlocks; }
6874
+ get: function () { return chunkNA3FOYSF_cjs.splitMarkdownBlocks; }
6747
6875
  });
6748
6876
  Object.defineProperty(exports, "trimOpenCitation", {
6749
6877
  enumerable: true,
6750
- get: function () { return chunkV4XELT62_cjs.trimOpenCitation; }
6878
+ get: function () { return chunkNA3FOYSF_cjs.trimOpenCitation; }
6751
6879
  });
6752
6880
  Object.defineProperty(exports, "DropdownMenu", {
6753
6881
  enumerable: true,