@arbidocs/react 0.4.133 → 0.4.135

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,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkE5XFVK4I_cjs = require('./chunk-E5XFVK4I.cjs');
4
3
  var chunkTYUQFRHF_cjs = require('./chunk-TYUQFRHF.cjs');
4
+ var chunk2BQSLXEY_cjs = require('./chunk-2BQSLXEY.cjs');
5
5
  var chunkZWFMFOGP_cjs = require('./chunk-ZWFMFOGP.cjs');
6
6
  require('./chunk-VOFNX4P6.cjs');
7
7
  var chunk6PPWZILQ_cjs = require('./chunk-6PPWZILQ.cjs');
8
- var chunk65WT5PHA_cjs = require('./chunk-65WT5PHA.cjs');
9
- var chunkOC7F5SNA_cjs = require('./chunk-OC7F5SNA.cjs');
8
+ var chunkW2YC7ZSN_cjs = require('./chunk-W2YC7ZSN.cjs');
10
9
  var chunkWYZJLZ67_cjs = require('./chunk-WYZJLZ67.cjs');
10
+ var chunkOC7F5SNA_cjs = require('./chunk-OC7F5SNA.cjs');
11
11
  var chunkZ3LLUO32_cjs = require('./chunk-Z3LLUO32.cjs');
12
12
  var chunkHUZB36QU_cjs = require('./chunk-HUZB36QU.cjs');
13
13
  var chunkHJDR5HEO_cjs = require('./chunk-HJDR5HEO.cjs');
@@ -43,7 +43,7 @@ function useUpdateConversation() {
43
43
  conversationId,
44
44
  patch
45
45
  }) => arbi.conversations.update(conversationId, patch),
46
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.allConversations() })
46
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.allConversations() })
47
47
  });
48
48
  }
49
49
  function useCreateWork() {
@@ -51,7 +51,7 @@ function useCreateWork() {
51
51
  const qc = reactQuery.useQueryClient();
52
52
  return reactQuery.useMutation({
53
53
  mutationFn: (body) => arbi.conversations.createWork(body),
54
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.allConversations() })
54
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.allConversations() })
55
55
  });
56
56
  }
57
57
  function useRunConversation() {
@@ -59,7 +59,7 @@ function useRunConversation() {
59
59
  const qc = reactQuery.useQueryClient();
60
60
  return reactQuery.useMutation({
61
61
  mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
62
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.allConversations() })
62
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.allConversations() })
63
63
  });
64
64
  }
65
65
  function useActOnStep() {
@@ -70,7 +70,7 @@ function useActOnStep() {
70
70
  conversationId,
71
71
  body
72
72
  }) => arbi.conversations.actOnStep(conversationId, body),
73
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.allConversations() })
73
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.allConversations() })
74
74
  });
75
75
  }
76
76
  function useSendBackStep() {
@@ -83,7 +83,7 @@ function useSendBackStep() {
83
83
  to,
84
84
  note
85
85
  }) => arbi.conversations.sendBackStep(conversationId, step, { to, note }),
86
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.allConversations() })
86
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.allConversations() })
87
87
  });
88
88
  }
89
89
  function usePlanWork() {
@@ -95,7 +95,7 @@ function usePlanWork() {
95
95
  function useConversationPendingAuth(conversationId, options) {
96
96
  const arbi = chunkR2MF7YCW_cjs.useArbi();
97
97
  return reactQuery.useQuery({
98
- queryKey: [...chunkE5XFVK4I_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "pending-auth"],
98
+ queryKey: [...chunk2BQSLXEY_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "pending-auth"],
99
99
  queryFn: () => arbi.conversations.pendingAuth(conversationId),
100
100
  enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
101
101
  retry: false
@@ -104,7 +104,7 @@ function useConversationPendingAuth(conversationId, options) {
104
104
  function useConversationActivity(conversationId, options) {
105
105
  const arbi = chunkR2MF7YCW_cjs.useArbi();
106
106
  return reactQuery.useQuery({
107
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.conversationActivity(conversationId ?? ""),
107
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.conversationActivity(conversationId ?? ""),
108
108
  queryFn: () => arbi.conversations.activity(conversationId),
109
109
  enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
110
110
  refetchInterval: options?.live ? 2500 : false
@@ -113,7 +113,7 @@ function useConversationActivity(conversationId, options) {
113
113
  function useWorkflows(options) {
114
114
  const arbi = chunkR2MF7YCW_cjs.useArbi();
115
115
  return reactQuery.useQuery({
116
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.workflows(),
116
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.workflows(),
117
117
  queryFn: () => arbi.workflows.list(),
118
118
  // A clock or event can fire while the list is open, without a write here.
119
119
  refetchInterval: options?.live ? 1e4 : false,
@@ -123,7 +123,7 @@ function useWorkflows(options) {
123
123
  function useWorkflowRuns(workflowId) {
124
124
  const arbi = chunkR2MF7YCW_cjs.useArbi();
125
125
  return reactQuery.useQuery({
126
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.workflowRuns(workflowId ?? ""),
126
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.workflowRuns(workflowId ?? ""),
127
127
  queryFn: () => arbi.workflows.runs(workflowId),
128
128
  enabled: !!workflowId && arbi.isLoggedIn,
129
129
  refetchInterval: 3e3,
@@ -136,7 +136,7 @@ function useCreateWorkflow() {
136
136
  const qc = reactQuery.useQueryClient();
137
137
  return reactQuery.useMutation({
138
138
  mutationFn: (body) => arbi.workflows.create(body),
139
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.workflows() })
139
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.workflows() })
140
140
  });
141
141
  }
142
142
  function useUpdateWorkflow() {
@@ -147,7 +147,7 @@ function useUpdateWorkflow() {
147
147
  workflowId,
148
148
  patch
149
149
  }) => arbi.workflows.update(workflowId, patch),
150
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.workflows() })
150
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.workflows() })
151
151
  });
152
152
  }
153
153
  function useDeleteWorkflow() {
@@ -155,18 +155,18 @@ function useDeleteWorkflow() {
155
155
  const qc = reactQuery.useQueryClient();
156
156
  return reactQuery.useMutation({
157
157
  mutationFn: (workflowId) => arbi.workflows.delete(workflowId),
158
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.workflows() })
158
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.workflows() })
159
159
  });
160
160
  }
161
161
  function useRunWorkflow() {
162
162
  const arbi = chunkR2MF7YCW_cjs.useArbi();
163
163
  const qc = reactQuery.useQueryClient();
164
164
  return reactQuery.useMutation({
165
- mutationKey: chunkE5XFVK4I_cjs.arbiMutationKeys.runWorkflow(),
165
+ mutationKey: chunk2BQSLXEY_cjs.arbiMutationKeys.runWorkflow(),
166
166
  mutationFn: (workflowId) => arbi.workflows.run(workflowId),
167
167
  onSuccess: () => Promise.all([
168
- qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.workflows() }),
169
- qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.allConversations() })
168
+ qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.workflows() }),
169
+ qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.allConversations() })
170
170
  ])
171
171
  });
172
172
  }
@@ -175,7 +175,7 @@ function useCreateAgent() {
175
175
  const qc = reactQuery.useQueryClient();
176
176
  return reactQuery.useMutation({
177
177
  mutationFn: (name) => arbi.agents.create(name),
178
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.agents() })
178
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.agents() })
179
179
  });
180
180
  }
181
181
  function useGenerateAgentAvatar() {
@@ -183,13 +183,13 @@ function useGenerateAgentAvatar() {
183
183
  const qc = reactQuery.useQueryClient();
184
184
  return reactQuery.useMutation({
185
185
  mutationFn: ({ agentExtId, prompt }) => arbi.agents.generateAvatar(agentExtId, prompt),
186
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.agents() })
186
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.agents() })
187
187
  });
188
188
  }
189
189
  function useAuthorizeLimits(options) {
190
190
  const arbi = chunkR2MF7YCW_cjs.useArbi();
191
191
  return reactQuery.useQuery({
192
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.authorizeLimits(),
192
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.authorizeLimits(),
193
193
  queryFn: () => arbi.agents.authorizeLimits(),
194
194
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
195
195
  });
@@ -197,7 +197,7 @@ function useAuthorizeLimits(options) {
197
197
  function useMcpTools(options) {
198
198
  const arbi = chunkR2MF7YCW_cjs.useArbi();
199
199
  return reactQuery.useQuery({
200
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.mcpTools(),
200
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.mcpTools(),
201
201
  queryFn: () => arbi.health.mcpTools(),
202
202
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
203
203
  });
@@ -205,7 +205,7 @@ function useMcpTools(options) {
205
205
  function useAgentConfig(agentExtId, options) {
206
206
  const arbi = chunkR2MF7YCW_cjs.useArbi();
207
207
  return reactQuery.useQuery({
208
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.agentConfig(agentExtId),
208
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.agentConfig(agentExtId),
209
209
  queryFn: async () => agentExtId ? await arbi.agents.getConfig(agentExtId) : await arbi.agentConfig.get("default"),
210
210
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
211
211
  });
@@ -213,7 +213,7 @@ function useAgentConfig(agentExtId, options) {
213
213
  function useAgentModels(options) {
214
214
  const arbi = chunkR2MF7YCW_cjs.useArbi();
215
215
  return reactQuery.useQuery({
216
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.models(),
216
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.models(),
217
217
  queryFn: async () => (await arbi.agentConfig.getModels()).models.map((m) => m.model_name),
218
218
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
219
219
  });
@@ -236,17 +236,17 @@ function useSaveAgentConfig() {
236
236
  });
237
237
  },
238
238
  onSuccess: (_saved, { agentExtId }) => Promise.all([
239
- qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.configs() }),
240
- qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.agentConfig(agentExtId) }),
239
+ qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.configs() }),
240
+ qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.agentConfig(agentExtId) }),
241
241
  // The agent list shows the pinned persona/model, so it refreshes too.
242
- qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.agents() })
242
+ qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.agents() })
243
243
  ])
244
244
  });
245
245
  }
246
246
  function useAgentWorkspaces(agentExtId, options) {
247
247
  const arbi = chunkR2MF7YCW_cjs.useArbi();
248
248
  return reactQuery.useQuery({
249
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.agentWorkspaces(agentExtId ?? ""),
249
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.agentWorkspaces(agentExtId ?? ""),
250
250
  queryFn: () => arbi.agents.listWorkspaces(agentExtId),
251
251
  enabled: (options?.enabled ?? true) && !!agentExtId && arbi.isLoggedIn
252
252
  });
@@ -267,7 +267,7 @@ function useGrantAgentAccess() {
267
267
  if (!agent?.email) throw new Error("The agent's address is unknown.");
268
268
  return arbi.workspaces.grantAccess({ workspaceId, emails: [agent.email] });
269
269
  },
270
- onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
270
+ onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
271
271
  });
272
272
  }
273
273
  function useRevokeAgentAccess() {
@@ -286,13 +286,13 @@ function useRevokeAgentAccess() {
286
286
  if (previous && previous !== workspaceId) await arbi.selectWorkspace(previous);
287
287
  }
288
288
  },
289
- onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
289
+ onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
290
290
  });
291
291
  }
292
292
  function useSkills(options) {
293
293
  const arbi = chunkR2MF7YCW_cjs.useArbi();
294
294
  return reactQuery.useQuery({
295
- queryKey: [...chunkE5XFVK4I_cjs.arbiQueryKeys.skills(), options?.includeHidden ?? false],
295
+ queryKey: [...chunk2BQSLXEY_cjs.arbiQueryKeys.skills(), options?.includeHidden ?? false],
296
296
  queryFn: () => arbi.assistant.listSkills({ includeHidden: options?.includeHidden }),
297
297
  refetchInterval: options?.live ? 5e3 : false,
298
298
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn,
@@ -323,7 +323,7 @@ function useUploadSkillFiles() {
323
323
  }
324
324
  return results;
325
325
  },
326
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.skills() })
326
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.skills() })
327
327
  });
328
328
  }
329
329
  function useStartWorkQuery() {
@@ -350,13 +350,13 @@ function useStartWorkQuery() {
350
350
  `The run ${response.id} started, but its thread is not available yet. Do not submit it again.`
351
351
  );
352
352
  },
353
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.allConversations() })
353
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.allConversations() })
354
354
  });
355
355
  }
356
356
  function useAgentSession(agentId, options) {
357
357
  const arbi = chunkR2MF7YCW_cjs.useArbi();
358
358
  return reactQuery.useQuery({
359
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.agentSession(agentId ?? ""),
359
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.agentSession(agentId ?? ""),
360
360
  queryFn: () => arbi.agents.getSession(agentId),
361
361
  enabled: !!agentId && arbi.isLoggedIn && (options?.enabled ?? true),
362
362
  refetchInterval: 5e3
@@ -365,7 +365,7 @@ function useAgentSession(agentId, options) {
365
365
  function useAgentChats(agentId) {
366
366
  const arbi = chunkR2MF7YCW_cjs.useArbi();
367
367
  return reactQuery.useQuery({
368
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.agentChats(agentId ?? ""),
368
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.agentChats(agentId ?? ""),
369
369
  queryFn: () => arbi.agents.listChats(agentId),
370
370
  enabled: !!agentId && arbi.isLoggedIn,
371
371
  refetchInterval: 5e3
@@ -374,10 +374,10 @@ function useAgentChats(agentId) {
374
374
  function refreshAgentSession(qc, agentId) {
375
375
  return Promise.all(
376
376
  [
377
- chunkE5XFVK4I_cjs.arbiQueryKeys.agentSession(agentId),
378
- chunkE5XFVK4I_cjs.arbiQueryKeys.agentWorkspaces(agentId),
379
- chunkE5XFVK4I_cjs.arbiQueryKeys.agentChats(agentId),
380
- chunkE5XFVK4I_cjs.arbiQueryKeys.sessions()
377
+ chunk2BQSLXEY_cjs.arbiQueryKeys.agentSession(agentId),
378
+ chunk2BQSLXEY_cjs.arbiQueryKeys.agentWorkspaces(agentId),
379
+ chunk2BQSLXEY_cjs.arbiQueryKeys.agentChats(agentId),
380
+ chunk2BQSLXEY_cjs.arbiQueryKeys.sessions()
381
381
  ].map((queryKey) => qc.invalidateQueries({ queryKey }))
382
382
  );
383
383
  }
@@ -524,8 +524,8 @@ function useArbiChat(options = {}) {
524
524
  const recoveryIntervalMs = streamRecovery?.intervalMs ?? 3e3;
525
525
  const recoveryTimeoutMs = streamRecovery?.timeoutMs ?? 12e4;
526
526
  const arbi = chunkR2MF7YCW_cjs.useArbi();
527
- const { data: docs = [], isLoading: isLoadingDocuments, refetch } = chunkE5XFVK4I_cjs.useDocuments(workspaceId);
528
- const ordinaryHistory = chunkE5XFVK4I_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
527
+ const { data: docs = [], isLoading: isLoadingDocuments, refetch } = chunk2BQSLXEY_cjs.useDocuments(workspaceId);
528
+ const ordinaryHistory = chunk2BQSLXEY_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
529
529
  const agentHistory = useAgentChats(agentId);
530
530
  const stored = React.useMemo(
531
531
  () => agentId ? (agentHistory.data ?? []).filter((chat) => chat.workspace_ext_id === workspaceId).map((chat) => ({
@@ -540,7 +540,7 @@ function useArbiChat(options = {}) {
540
540
  );
541
541
  const isLoadingThreads = agentId ? agentHistory.isLoading : ordinaryHistory.isLoading;
542
542
  const refetchConversations = agentId ? agentHistory.refetch : ordinaryHistory.refetch;
543
- const query = chunkE5XFVK4I_cjs.useAssistantQuery();
543
+ const query = chunk2BQSLXEY_cjs.useAssistantQuery();
544
544
  const { mutateAsync } = query;
545
545
  const [stagedFiles, setStagedFiles] = React.useState([]);
546
546
  const [threads, setThreads] = React.useState(() => [emptyThread()]);
@@ -600,7 +600,7 @@ function useArbiChat(options = {}) {
600
600
  (conversation) => conversation.external_id === active.conversationId && conversation.status === "generating"
601
601
  ) || active.messages.some((message) => message.status === "streaming");
602
602
  const needsLoad = !!active.conversationId && !active.isLoaded;
603
- const loaded = chunkE5XFVK4I_cjs.useConversationThreads(workspaceId, active.conversationId ?? void 0, {
603
+ const loaded = chunk2BQSLXEY_cjs.useConversationThreads(workspaceId, active.conversationId ?? void 0, {
604
604
  enabled: needsLoad || liveHistory && !isRunning && !isPostingComment,
605
605
  live: liveHistory
606
606
  });
@@ -1381,14 +1381,14 @@ function useArbiDocumentSync(workspaceId) {
1381
1381
  if (!workspaceId) return;
1382
1382
  if (client.isMessageType(msg, "batch_complete")) {
1383
1383
  if (msg.workspace_ext_id !== workspaceId) return;
1384
- void queryClient.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.documents(workspaceId) });
1385
- void queryClient.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.tags(workspaceId) });
1384
+ void queryClient.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.documents(workspaceId) });
1385
+ void queryClient.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.tags(workspaceId) });
1386
1386
  return;
1387
1387
  }
1388
1388
  if (client.isMessageType(msg, "task_update")) {
1389
1389
  if (msg.workspace_ext_id !== workspaceId) return;
1390
1390
  if (TERMINAL_STATUSES.has(msg.status)) {
1391
- void queryClient.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.documents(workspaceId) });
1391
+ void queryClient.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.documents(workspaceId) });
1392
1392
  }
1393
1393
  }
1394
1394
  });
@@ -1517,7 +1517,7 @@ function useShellWorkspaces(options) {
1517
1517
  }
1518
1518
  function useArbiShellWorkspaces(options = {}) {
1519
1519
  const arbi = chunkR2MF7YCW_cjs.useArbi();
1520
- const query = chunkE5XFVK4I_cjs.useWorkspaces();
1520
+ const query = chunk2BQSLXEY_cjs.useWorkspaces();
1521
1521
  const { select, ...rest } = options;
1522
1522
  const defaultSelect = React.useCallback(
1523
1523
  (workspace) => arbi.selectWorkspace(workspace.id),
@@ -1531,41 +1531,98 @@ function useArbiShellWorkspaces(options = {}) {
1531
1531
  select: select ?? defaultSelect
1532
1532
  });
1533
1533
  }
1534
+ function useFacts(workspaceId, options) {
1535
+ const arbi = chunkR2MF7YCW_cjs.useArbi();
1536
+ const { enabled = true, ...filter } = options ?? {};
1537
+ const workspace = workspaceId ?? (arbi.hasWorkspace ? arbi.getWorkspaceId() : "");
1538
+ return reactQuery.useQuery({
1539
+ queryKey: [...chunk2BQSLXEY_cjs.arbiQueryKeys.facts(workspace), filter],
1540
+ queryFn: () => arbi.facts.list(filter),
1541
+ enabled: enabled && !!workspace && arbi.hasWorkspace,
1542
+ staleTime: 3e4
1543
+ });
1544
+ }
1545
+ function useRefreshFacts() {
1546
+ const qc = reactQuery.useQueryClient();
1547
+ return () => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.allFacts() });
1548
+ }
1549
+ function useCreateFact() {
1550
+ const arbi = chunkR2MF7YCW_cjs.useArbi();
1551
+ const refresh = useRefreshFacts();
1552
+ return reactQuery.useMutation({
1553
+ mutationFn: (body) => arbi.facts.create(body),
1554
+ onSuccess: refresh
1555
+ });
1556
+ }
1557
+ function useCreateFacts() {
1558
+ const arbi = chunkR2MF7YCW_cjs.useArbi();
1559
+ const refresh = useRefreshFacts();
1560
+ return reactQuery.useMutation({
1561
+ mutationFn: (body) => arbi.facts.createBatch(body),
1562
+ onSuccess: refresh
1563
+ });
1564
+ }
1565
+ function useUpdateFact() {
1566
+ const arbi = chunkR2MF7YCW_cjs.useArbi();
1567
+ const refresh = useRefreshFacts();
1568
+ return reactQuery.useMutation({
1569
+ mutationFn: ({ factId, patch }) => arbi.facts.update(factId, patch),
1570
+ onSuccess: refresh
1571
+ });
1572
+ }
1573
+ function useDeleteFact() {
1574
+ const arbi = chunkR2MF7YCW_cjs.useArbi();
1575
+ const refresh = useRefreshFacts();
1576
+ return reactQuery.useMutation({
1577
+ mutationFn: (factId) => arbi.facts.delete(factId),
1578
+ onSuccess: refresh
1579
+ });
1580
+ }
1581
+ function useSearchFacts() {
1582
+ const arbi = chunkR2MF7YCW_cjs.useArbi();
1583
+ return reactQuery.useMutation({
1584
+ mutationFn: (body) => arbi.facts.search(body)
1585
+ });
1586
+ }
1587
+ function openWorkspaceId(arbi) {
1588
+ return arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
1589
+ }
1534
1590
  function invalidateTagData(qc, workspaceId) {
1535
1591
  return Promise.all([
1536
- qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.tags(workspaceId) }),
1537
- qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.facts(workspaceId) })
1592
+ qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.tags(workspaceId) }),
1593
+ qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.facts(workspaceId) })
1538
1594
  ]);
1539
1595
  }
1540
1596
  function useInvalidateTagData() {
1541
1597
  const arbi = chunkR2MF7YCW_cjs.useArbi();
1542
1598
  const qc = reactQuery.useQueryClient();
1543
1599
  return React.useCallback(() => {
1544
- const workspaceId = arbi.getWorkspaceId();
1600
+ const workspaceId = openWorkspaceId(arbi);
1545
1601
  return workspaceId ? invalidateTagData(qc, workspaceId) : Promise.resolve();
1546
1602
  }, [arbi, qc]);
1547
1603
  }
1548
1604
  function useTagKindSchema(kind, options) {
1549
1605
  const arbi = chunkR2MF7YCW_cjs.useArbi();
1550
- const workspaceId = arbi.getWorkspaceId() ?? "";
1606
+ const workspaceId = openWorkspaceId(arbi) ?? "";
1551
1607
  return reactQuery.useQuery({
1552
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.tagKind(workspaceId, kind ?? ""),
1608
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.tagKind(workspaceId, kind ?? ""),
1553
1609
  queryFn: () => arbi.tagKinds.get(kind),
1554
- enabled: (options?.enabled ?? true) && !!kind && !!workspaceId && arbi.hasWorkspace
1610
+ enabled: (options?.enabled ?? true) && !!kind && !!workspaceId
1555
1611
  });
1556
1612
  }
1557
1613
  function useUpdateTagKindSchema() {
1558
1614
  const arbi = chunkR2MF7YCW_cjs.useArbi();
1559
1615
  const qc = reactQuery.useQueryClient();
1560
1616
  return reactQuery.useMutation({
1617
+ mutationKey: chunk2BQSLXEY_cjs.arbiMutationKeys.updateTagKindSchema(),
1561
1618
  mutationFn: ({
1562
1619
  kind,
1563
1620
  fields
1564
1621
  }) => arbi.tagKinds.update(kind, fields),
1565
1622
  onSuccess: (schema) => {
1566
- const workspaceId = arbi.getWorkspaceId();
1623
+ const workspaceId = openWorkspaceId(arbi);
1567
1624
  if (!workspaceId) return;
1568
- qc.setQueryData(chunkE5XFVK4I_cjs.arbiQueryKeys.tagKind(workspaceId, schema.kind), schema);
1625
+ qc.setQueryData(chunk2BQSLXEY_cjs.arbiQueryKeys.tagKind(workspaceId, schema.kind), schema);
1569
1626
  return invalidateTagData(qc, workspaceId);
1570
1627
  }
1571
1628
  });
@@ -1584,7 +1641,7 @@ function useSetTagValues() {
1584
1641
  function useFilteredProjects(filters, options) {
1585
1642
  const arbi = chunkR2MF7YCW_cjs.useArbi();
1586
1643
  return reactQuery.useQuery({
1587
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.projectsFiltered(filters.stage, filters.leadUser),
1644
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.projectsFiltered(filters.stage, filters.leadUser),
1588
1645
  queryFn: () => arbi.projects.list(filters),
1589
1646
  enabled: options?.enabled ?? arbi.isLoggedIn
1590
1647
  });
@@ -1597,14 +1654,14 @@ function useUpdateProjectFields() {
1597
1654
  projectExtId,
1598
1655
  patch
1599
1656
  }) => arbi.projects.update(projectExtId, patch),
1600
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.projects() })
1657
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.projects() })
1601
1658
  });
1602
1659
  }
1603
1660
  function useProjectEvents(projectExtId, options) {
1604
1661
  const arbi = chunkR2MF7YCW_cjs.useArbi();
1605
1662
  return reactQuery.useQuery({
1606
1663
  queryKey: [
1607
- ...chunkE5XFVK4I_cjs.arbiQueryKeys.projectEvents(projectExtId ?? ""),
1664
+ ...chunk2BQSLXEY_cjs.arbiQueryKeys.projectEvents(projectExtId ?? ""),
1608
1665
  options?.kind ?? "all",
1609
1666
  options?.limit ?? "default"
1610
1667
  ],
@@ -1615,7 +1672,7 @@ function useProjectEvents(projectExtId, options) {
1615
1672
  function useConversationUsage(conversationId, options) {
1616
1673
  const arbi = chunkR2MF7YCW_cjs.useArbi();
1617
1674
  return reactQuery.useQuery({
1618
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.conversationUsage(conversationId ?? ""),
1675
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.conversationUsage(conversationId ?? ""),
1619
1676
  queryFn: () => arbi.conversations.usage(conversationId),
1620
1677
  enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
1621
1678
  refetchInterval: options?.live ? 1e4 : false
@@ -1624,7 +1681,7 @@ function useConversationUsage(conversationId, options) {
1624
1681
  function useProjectConversationUsage(projectExtId, monthsBack = 0, options) {
1625
1682
  const arbi = chunkR2MF7YCW_cjs.useArbi();
1626
1683
  return reactQuery.useQuery({
1627
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.projectConversationUsage(projectExtId ?? "", monthsBack),
1684
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.projectConversationUsage(projectExtId ?? "", monthsBack),
1628
1685
  queryFn: () => arbi.projects.usageByConversation(projectExtId, monthsBack),
1629
1686
  enabled: (options?.enabled ?? true) && !!projectExtId && arbi.isLoggedIn
1630
1687
  });
@@ -1632,7 +1689,7 @@ function useProjectConversationUsage(projectExtId, monthsBack = 0, options) {
1632
1689
  function useContacts(options) {
1633
1690
  const arbi = chunkR2MF7YCW_cjs.useArbi();
1634
1691
  return reactQuery.useQuery({
1635
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.contacts(),
1692
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.contacts(),
1636
1693
  queryFn: () => arbi.contacts.list(),
1637
1694
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
1638
1695
  });
@@ -1647,7 +1704,7 @@ function usePendingContacts(options) {
1647
1704
  }
1648
1705
  function useInvalidateContacts() {
1649
1706
  const qc = reactQuery.useQueryClient();
1650
- return () => qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.contacts() });
1707
+ return () => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.contacts() });
1651
1708
  }
1652
1709
  function useInviteContacts() {
1653
1710
  const arbi = chunkR2MF7YCW_cjs.useArbi();
@@ -1776,11 +1833,11 @@ function useProfile(options) {
1776
1833
  const { client, enabled } = useAccountClient();
1777
1834
  const qc = reactQuery.useQueryClient();
1778
1835
  React.useEffect(
1779
- () => client.onProfileChange(() => qc.setQueryData(chunkE5XFVK4I_cjs.arbiQueryKeys.profile(), client.profile())),
1836
+ () => client.onProfileChange(() => qc.setQueryData(chunk2BQSLXEY_cjs.arbiQueryKeys.profile(), client.profile())),
1780
1837
  [client, qc]
1781
1838
  );
1782
1839
  return reactQuery.useQuery({
1783
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.profile(),
1840
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.profile(),
1784
1841
  queryFn: () => client.profile(),
1785
1842
  enabled: (options?.enabled ?? true) && enabled,
1786
1843
  staleTime: Infinity
@@ -1795,9 +1852,9 @@ function useUpdateProfile() {
1795
1852
  return client.profile();
1796
1853
  },
1797
1854
  onSuccess: (profile) => {
1798
- qc.setQueryData(chunkE5XFVK4I_cjs.arbiQueryKeys.profile(), profile);
1799
- void qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.identity() });
1800
- return qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.workspaces() });
1855
+ qc.setQueryData(chunk2BQSLXEY_cjs.arbiQueryKeys.profile(), profile);
1856
+ void qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.identity() });
1857
+ return qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.workspaces() });
1801
1858
  }
1802
1859
  });
1803
1860
  }
@@ -1880,7 +1937,7 @@ function useConfirmEmailChange() {
1880
1937
  const qc = reactQuery.useQueryClient();
1881
1938
  return reactQuery.useMutation({
1882
1939
  mutationFn: ({ newEmail, code }) => client.confirmEmailChange(newEmail, code),
1883
- onSuccess: () => qc.setQueryData(chunkE5XFVK4I_cjs.arbiQueryKeys.profile(), client.profile())
1940
+ onSuccess: () => qc.setQueryData(chunk2BQSLXEY_cjs.arbiQueryKeys.profile(), client.profile())
1884
1941
  });
1885
1942
  }
1886
1943
  function useEmailChange({
@@ -2048,7 +2105,7 @@ function toNotificationPreferences(stored, keys) {
2048
2105
  function useUserSettings(options) {
2049
2106
  const arbi = chunkR2MF7YCW_cjs.useArbi();
2050
2107
  return reactQuery.useQuery({
2051
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.userSettings(),
2108
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.userSettings(),
2052
2109
  queryFn: () => arbi.settings.get(),
2053
2110
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
2054
2111
  });
@@ -2061,18 +2118,18 @@ function useNotificationPreferences(keys, options) {
2061
2118
  const save = reactQuery.useMutation({
2062
2119
  mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
2063
2120
  onMutate: async (patch) => {
2064
- await qc.cancelQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.userSettings() });
2065
- const previous = qc.getQueryData(chunkE5XFVK4I_cjs.arbiQueryKeys.userSettings());
2121
+ await qc.cancelQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.userSettings() });
2122
+ const previous = qc.getQueryData(chunk2BQSLXEY_cjs.arbiQueryKeys.userSettings());
2066
2123
  qc.setQueryData(
2067
- chunkE5XFVK4I_cjs.arbiQueryKeys.userSettings(),
2124
+ chunk2BQSLXEY_cjs.arbiQueryKeys.userSettings(),
2068
2125
  (old) => old ? { ...old, email_notifications: { ...old.email_notifications, ...patch } } : old
2069
2126
  );
2070
2127
  return { previous };
2071
2128
  },
2072
2129
  onError: (_err, _patch, context) => {
2073
- qc.setQueryData(chunkE5XFVK4I_cjs.arbiQueryKeys.userSettings(), context?.previous);
2130
+ qc.setQueryData(chunk2BQSLXEY_cjs.arbiQueryKeys.userSettings(), context?.previous);
2074
2131
  },
2075
- onSettled: () => qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.userSettings() })
2132
+ onSettled: () => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.userSettings() })
2076
2133
  });
2077
2134
  const model = React.useMemo(() => toNotificationPreferences(stored, keys), [stored, keys]);
2078
2135
  const setAll = React.useCallback(
@@ -2099,18 +2156,18 @@ function useRelevanceSave() {
2099
2156
  return reactQuery.useMutation({
2100
2157
  mutationFn: (patch) => arbi.settings.update(patch),
2101
2158
  onMutate: async (patch) => {
2102
- await qc.cancelQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.userSettings() });
2103
- const previous = qc.getQueryData(chunkE5XFVK4I_cjs.arbiQueryKeys.userSettings());
2159
+ await qc.cancelQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.userSettings() });
2160
+ const previous = qc.getQueryData(chunk2BQSLXEY_cjs.arbiQueryKeys.userSettings());
2104
2161
  qc.setQueryData(
2105
- chunkE5XFVK4I_cjs.arbiQueryKeys.userSettings(),
2162
+ chunk2BQSLXEY_cjs.arbiQueryKeys.userSettings(),
2106
2163
  (old) => old ? { ...old, ...patch } : old
2107
2164
  );
2108
2165
  return { previous };
2109
2166
  },
2110
2167
  onError: (_err, _patch, context) => {
2111
- qc.setQueryData(chunkE5XFVK4I_cjs.arbiQueryKeys.userSettings(), context?.previous);
2168
+ qc.setQueryData(chunk2BQSLXEY_cjs.arbiQueryKeys.userSettings(), context?.previous);
2112
2169
  },
2113
- onSettled: () => qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.userSettings() })
2170
+ onSettled: () => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.userSettings() })
2114
2171
  });
2115
2172
  }
2116
2173
  function useWorkspaceNotificationLevel(workspaceId, options) {
@@ -2121,7 +2178,7 @@ function useWorkspaceNotificationLevel(workspaceId, options) {
2121
2178
  const setLevel = React.useCallback(
2122
2179
  (next) => {
2123
2180
  if (!workspaceId) return;
2124
- const current = qc.getQueryData(chunkE5XFVK4I_cjs.arbiQueryKeys.userSettings()) ?? settings.data;
2181
+ const current = qc.getQueryData(chunk2BQSLXEY_cjs.arbiQueryKeys.userSettings()) ?? settings.data;
2125
2182
  save.mutate(browser.settings.workspaceLevelPatch(current, workspaceId, next));
2126
2183
  },
2127
2184
  [qc, save, settings.data, workspaceId]
@@ -2142,7 +2199,7 @@ function useFollowThread(conversationId, options) {
2142
2199
  const setFollowing = React.useCallback(
2143
2200
  (on, callbacks) => {
2144
2201
  if (!conversationId) return;
2145
- const current = qc.getQueryData(chunkE5XFVK4I_cjs.arbiQueryKeys.userSettings()) ?? settings.data;
2202
+ const current = qc.getQueryData(chunk2BQSLXEY_cjs.arbiQueryKeys.userSettings()) ?? settings.data;
2146
2203
  save.mutate(
2147
2204
  {
2148
2205
  followed_threads: browser.settings.withMembership(
@@ -2167,7 +2224,7 @@ function useFollowThread(conversationId, options) {
2167
2224
  function useSessions(options) {
2168
2225
  const { client, enabled } = useAccountClient();
2169
2226
  return reactQuery.useQuery({
2170
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.sessions(),
2227
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.sessions(),
2171
2228
  queryFn: () => client.listSessions(),
2172
2229
  enabled: (options?.enabled ?? true) && enabled
2173
2230
  });
@@ -2177,7 +2234,7 @@ function useTerminateSession() {
2177
2234
  const qc = reactQuery.useQueryClient();
2178
2235
  return reactQuery.useMutation({
2179
2236
  mutationFn: (sessionId) => client.terminateSession(sessionId),
2180
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.sessions() })
2237
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.sessions() })
2181
2238
  });
2182
2239
  }
2183
2240
  function useSignOut() {
@@ -2320,7 +2377,7 @@ function useIdentityVerificationFlow(api, {
2320
2377
  const apiRef = React.useRef(api);
2321
2378
  apiRef.current = api;
2322
2379
  const query = reactQuery.useQuery({
2323
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.identity(),
2380
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.identity(),
2324
2381
  queryFn: () => apiRef.current.status(),
2325
2382
  enabled,
2326
2383
  staleTime: 6e4
@@ -2338,7 +2395,7 @@ function useIdentityVerificationFlow(api, {
2338
2395
  const lastVerified = React.useRef(void 0);
2339
2396
  const apply = React.useCallback(
2340
2397
  (next) => {
2341
- qc.setQueryData(chunkE5XFVK4I_cjs.arbiQueryKeys.identity(), next);
2398
+ qc.setQueryData(chunk2BQSLXEY_cjs.arbiQueryKeys.identity(), next);
2342
2399
  if (lastVerified.current !== void 0 && lastVerified.current !== next.verified) {
2343
2400
  onVerifiedChange?.(next.verified);
2344
2401
  }
@@ -2533,12 +2590,12 @@ function useIdentityVerification(options = {}) {
2533
2590
  enabled,
2534
2591
  formatPrice,
2535
2592
  onVerifiedChange: (verified) => {
2536
- void qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.profile() });
2593
+ void qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.profile() });
2537
2594
  onVerifiedChange?.(verified);
2538
2595
  },
2539
2596
  onNameAccepted: (name) => {
2540
- void qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.profile() });
2541
- void qc.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.workspaces() });
2597
+ void qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.profile() });
2598
+ void qc.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.workspaces() });
2542
2599
  onNameAccepted?.(name);
2543
2600
  }
2544
2601
  });
@@ -2956,7 +3013,7 @@ function useMailDraftReplaced(draftId, onReplaced) {
2956
3013
  }, [draftId]);
2957
3014
  }
2958
3015
  function useWorkspaceDocs(workspaceId) {
2959
- const { data: docs = [], isLoading, isError } = chunkE5XFVK4I_cjs.useDocuments(workspaceId);
3016
+ const { data: docs = [], isLoading, isError } = chunk2BQSLXEY_cjs.useDocuments(workspaceId);
2960
3017
  const docIds = React.useMemo(
2961
3018
  () => docs.map((d) => d.external_id).filter((id) => !!id),
2962
3019
  [docs]
@@ -2964,7 +3021,7 @@ function useWorkspaceDocs(workspaceId) {
2964
3021
  return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
2965
3022
  }
2966
3023
  function useAiTask() {
2967
- const mutation = chunkE5XFVK4I_cjs.useAssistantQuery();
3024
+ const mutation = chunk2BQSLXEY_cjs.useAssistantQuery();
2968
3025
  const [status, setStatus] = React.useState("idle");
2969
3026
  const [text, setText] = React.useState("");
2970
3027
  const [stepCount, setStepCount] = React.useState(0);
@@ -3178,7 +3235,7 @@ function AiAnswer({
3178
3235
  }
3179
3236
  ),
3180
3237
  hasText && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
3181
- /* @__PURE__ */ jsxRuntime.jsx(chunk65WT5PHA_cjs.AiMarkdown, { isStreaming: running, children: text }),
3238
+ /* @__PURE__ */ jsxRuntime.jsx(chunkW2YC7ZSN_cjs.AiMarkdown, { isStreaming: running, children: text }),
3182
3239
  !running && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-t border-border pt-2.5", children: [
3183
3240
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs text-muted-foreground", children: [
3184
3241
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ShieldCheck, { className: "size-3.5 text-ai-accent" }),
@@ -3223,7 +3280,7 @@ function AiActionCard({
3223
3280
  const p = typeof prompt === "function" ? prompt() : prompt;
3224
3281
  void task.run(p, docIds);
3225
3282
  };
3226
- return /* @__PURE__ */ jsxRuntime.jsxs(chunk65WT5PHA_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
3283
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkW2YC7ZSN_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
3227
3284
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
3228
3285
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
3229
3286
  /* @__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" }) }),
@@ -3365,11 +3422,11 @@ function ArtifactCanvas({
3365
3422
  children: active.title
3366
3423
  }
3367
3424
  ),
3368
- isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunk65WT5PHA_cjs.Badge, { variant: "accent", className: "gap-1", children: [
3425
+ isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunkW2YC7ZSN_cjs.Badge, { variant: "accent", className: "gap-1", children: [
3369
3426
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.GitCompareArrows, { className: "size-3" }),
3370
3427
  " Redline"
3371
3428
  ] }),
3372
- /* @__PURE__ */ jsxRuntime.jsxs(chunk65WT5PHA_cjs.Badge, { variant: "secondary", children: [
3429
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkW2YC7ZSN_cjs.Badge, { variant: "secondary", children: [
3373
3430
  "v",
3374
3431
  active.version
3375
3432
  ] }),
@@ -3425,7 +3482,7 @@ function ArtifactCanvas({
3425
3482
  animate: { opacity: 1, y: 0 },
3426
3483
  transition: { duration: 0.2 },
3427
3484
  className: "mx-auto max-w-2xl rounded-lg bg-card p-8 shadow-sm ring-1 ring-border",
3428
- 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(chunk65WT5PHA_cjs.AiMarkdown, { children: active.content })
3485
+ 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(chunkW2YC7ZSN_cjs.AiMarkdown, { children: active.content })
3429
3486
  },
3430
3487
  active.doc_ext_id
3431
3488
  ) }) })
@@ -3469,7 +3526,7 @@ function MessageArtifactCard({
3469
3526
  const labels = labelsFor(mode);
3470
3527
  const Icon = labels.Icon;
3471
3528
  return /* @__PURE__ */ jsxRuntime.jsxs(
3472
- chunk65WT5PHA_cjs.Card,
3529
+ chunkW2YC7ZSN_cjs.Card,
3473
3530
  {
3474
3531
  variant: "outline",
3475
3532
  className: "mt-3 flex items-center gap-3 px-3 py-2.5",
@@ -3545,7 +3602,7 @@ function DocSearch({
3545
3602
  status === "done" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", "data-testid": "doc-search-results", children: [
3546
3603
  /* @__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` }),
3547
3604
  results.slice(0, 8).map((r, i) => /* @__PURE__ */ jsxRuntime.jsxs(
3548
- chunk65WT5PHA_cjs.Card,
3605
+ chunkW2YC7ZSN_cjs.Card,
3549
3606
  {
3550
3607
  variant: "elevated",
3551
3608
  className: chunkS6A6FSG7_cjs.cn(
@@ -3558,7 +3615,7 @@ function DocSearch({
3558
3615
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-1 flex items-center gap-2", children: [
3559
3616
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 text-ai-accent" }),
3560
3617
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: r.docTitle ?? "Document" }),
3561
- r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunk65WT5PHA_cjs.Badge, { variant: "secondary", children: [
3618
+ r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkW2YC7ZSN_cjs.Badge, { variant: "secondary", children: [
3562
3619
  "p.",
3563
3620
  r.page
3564
3621
  ] }),
@@ -3584,8 +3641,8 @@ function DocumentReview({
3584
3641
  onClose,
3585
3642
  className
3586
3643
  }) {
3587
- const parsedQuery = chunkE5XFVK4I_cjs.useParsedDocument(docId, stage);
3588
- const tagsQuery = chunkE5XFVK4I_cjs.useTags(workspaceId);
3644
+ const parsedQuery = chunk2BQSLXEY_cjs.useParsedDocument(docId, stage);
3645
+ const tagsQuery = chunk2BQSLXEY_cjs.useTags(workspaceId);
3589
3646
  const tagNameById = React__default.default.useMemo(() => {
3590
3647
  const map = /* @__PURE__ */ new Map();
3591
3648
  for (const t of tagsQuery.data ?? []) {
@@ -3652,7 +3709,7 @@ function DocumentReview({
3652
3709
  findings.length ? ` \xB7 ${findings.length} findings` : ""
3653
3710
  ] })
3654
3711
  ] }),
3655
- doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(chunk65WT5PHA_cjs.Badge, { variant: "secondary", children: doc.status }) : null,
3712
+ doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(chunkW2YC7ZSN_cjs.Badge, { variant: "secondary", children: doc.status }) : null,
3656
3713
  onClose ? /* @__PURE__ */ jsxRuntime.jsx(
3657
3714
  "button",
3658
3715
  {
@@ -3689,7 +3746,7 @@ function DocumentReview({
3689
3746
  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",
3690
3747
  children: [
3691
3748
  /* @__PURE__ */ jsxRuntime.jsx(
3692
- chunk65WT5PHA_cjs.TagEntity,
3749
+ chunkW2YC7ZSN_cjs.TagEntity,
3693
3750
  {
3694
3751
  size: "sm",
3695
3752
  tag: {
@@ -3734,7 +3791,7 @@ function DocumentReview({
3734
3791
  ),
3735
3792
  children: [
3736
3793
  highlighted ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1", children: /* @__PURE__ */ jsxRuntime.jsx(
3737
- chunk65WT5PHA_cjs.TagEntity,
3794
+ chunkW2YC7ZSN_cjs.TagEntity,
3738
3795
  {
3739
3796
  size: "sm",
3740
3797
  tag: {
@@ -3783,7 +3840,7 @@ function ResultRow({
3783
3840
  onSelect
3784
3841
  }) {
3785
3842
  return /* @__PURE__ */ jsxRuntime.jsx(
3786
- chunk65WT5PHA_cjs.PassageCard,
3843
+ chunkW2YC7ZSN_cjs.PassageCard,
3787
3844
  {
3788
3845
  onClick: onSelect,
3789
3846
  active: isActive,
@@ -3792,7 +3849,7 @@ function ResultRow({
3792
3849
  header: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
3793
3850
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 shrink-0 text-ai-accent" }),
3794
3851
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: result.docTitle ?? "Document" }),
3795
- result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunk65WT5PHA_cjs.Badge, { variant: "secondary", children: [
3852
+ result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkW2YC7ZSN_cjs.Badge, { variant: "secondary", children: [
3796
3853
  "p.",
3797
3854
  result.page
3798
3855
  ] })
@@ -3816,7 +3873,7 @@ function SemanticSearch({
3816
3873
  const { results, status, error, search, isRunning, query } = useSemanticSearch(docIds);
3817
3874
  const [value, setValue] = React.useState("");
3818
3875
  const [selected, setSelected] = React.useState(null);
3819
- const { data: docs = [] } = chunkE5XFVK4I_cjs.useDocuments(workspaceId, { enabled: !!workspaceId });
3876
+ const { data: docs = [] } = chunk2BQSLXEY_cjs.useDocuments(workspaceId, { enabled: !!workspaceId });
3820
3877
  const docMap = React.useMemo(() => {
3821
3878
  const map = /* @__PURE__ */ new Map();
3822
3879
  for (const d of docs) if (d.external_id) map.set(d.external_id, d);
@@ -3961,7 +4018,7 @@ Question: ${question}`,
3961
4018
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 space-y-3", "data-testid": "doc-qa", children: [
3962
4019
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
3963
4020
  /* @__PURE__ */ jsxRuntime.jsx(
3964
- chunk65WT5PHA_cjs.Input,
4021
+ chunkW2YC7ZSN_cjs.Input,
3965
4022
  {
3966
4023
  value: q,
3967
4024
  onChange: (e) => setQ(e.target.value),
@@ -4163,7 +4220,7 @@ var CitationPopover = ({
4163
4220
  return () => {
4164
4221
  if (!restoreFocusRef.current) return;
4165
4222
  restoreFocusRef.current = false;
4166
- if (triggerRef.current) chunk65WT5PHA_cjs.returnFocusToMark(triggerRef.current);
4223
+ if (triggerRef.current) chunkW2YC7ZSN_cjs.returnFocusToMark(triggerRef.current);
4167
4224
  };
4168
4225
  }, [open]);
4169
4226
  React.useEffect(() => {
@@ -4364,7 +4421,7 @@ var CitationLink = ({
4364
4421
  triggerRef,
4365
4422
  children
4366
4423
  }) => /* @__PURE__ */ jsxRuntime.jsxs(
4367
- chunk65WT5PHA_cjs.MarkMenu,
4424
+ chunkW2YC7ZSN_cjs.MarkMenu,
4368
4425
  {
4369
4426
  triggerRef,
4370
4427
  items,
@@ -4405,8 +4462,8 @@ var FileIcon = ({ size = 16, className = "" }) => {
4405
4462
  "path",
4406
4463
  {
4407
4464
  d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
4408
- fill: chunk65WT5PHA_cjs.FILE_TYPE_COLORS.generic,
4409
- stroke: chunk65WT5PHA_cjs.FILE_TYPE_COLORS.generic,
4465
+ fill: chunkW2YC7ZSN_cjs.FILE_TYPE_COLORS.generic,
4466
+ stroke: chunkW2YC7ZSN_cjs.FILE_TYPE_COLORS.generic,
4410
4467
  strokeWidth: "1",
4411
4468
  strokeLinecap: "round",
4412
4469
  strokeLinejoin: "round"
@@ -4417,7 +4474,7 @@ var FileIcon = ({ size = 16, className = "" }) => {
4417
4474
  {
4418
4475
  d: "M14 2v6h6",
4419
4476
  fill: "none",
4420
- stroke: chunk65WT5PHA_cjs.FILE_TYPE_COLORS.white,
4477
+ stroke: chunkW2YC7ZSN_cjs.FILE_TYPE_COLORS.white,
4421
4478
  strokeWidth: "1",
4422
4479
  strokeLinecap: "round",
4423
4480
  strokeLinejoin: "round"
@@ -4755,7 +4812,7 @@ var ArbiBotIcon = ({ size = 24, className = "" }) => {
4755
4812
  );
4756
4813
  };
4757
4814
  function getNotificationTypeMeta(type) {
4758
- const WorkspaceIcon = chunk65WT5PHA_cjs.getEntityIcon("WORKSPACE");
4815
+ const WorkspaceIcon = chunkW2YC7ZSN_cjs.getEntityIcon("WORKSPACE");
4759
4816
  switch (type) {
4760
4817
  case "agent_input_requested":
4761
4818
  return { Icon: lucideReact.MessageCircleMore, iconClassName: "text-primary", label: "Input needed" };
@@ -4888,7 +4945,7 @@ function describeActivity(content) {
4888
4945
  }
4889
4946
  default:
4890
4947
  return {
4891
- Icon: parsed.workspace_ext_id ? chunk65WT5PHA_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
4948
+ Icon: parsed.workspace_ext_id ? chunkW2YC7ZSN_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
4892
4949
  iconClassName: "text-muted-foreground",
4893
4950
  title: humaniseEvent(parsed.event)
4894
4951
  };
@@ -4918,7 +4975,7 @@ function ActivityFeed({
4918
4975
  enabled,
4919
4976
  "data-testid": testId = "activity-feed"
4920
4977
  }) {
4921
- const { data, isLoading, isError } = chunkE5XFVK4I_cjs.useActivity({ limit, enabled });
4978
+ const { data, isLoading, isError } = chunk2BQSLXEY_cjs.useActivity({ limit, enabled });
4922
4979
  if (isLoading) {
4923
4980
  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: [
4924
4981
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
@@ -5076,7 +5133,7 @@ function useDirectMessages(options) {
5076
5133
  enabled
5077
5134
  });
5078
5135
  const contactsQuery = reactQuery.useQuery({
5079
- queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.contacts(),
5136
+ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.contacts(),
5080
5137
  queryFn: () => arbi.contacts.list(),
5081
5138
  enabled
5082
5139
  });
@@ -5162,7 +5219,7 @@ function DmAvatar({ user, className, size = "lg" }) {
5162
5219
  const presence = useArbiWsStore((s) => s.presence[user.external_id]);
5163
5220
  const displayStatus = presence === void 0 ? void 0 : presence === "online" ? "connected" : "disconnected";
5164
5221
  return /* @__PURE__ */ jsxRuntime.jsx(
5165
- chunk65WT5PHA_cjs.UserEntity,
5222
+ chunkW2YC7ZSN_cjs.UserEntity,
5166
5223
  {
5167
5224
  variant: "icon",
5168
5225
  size,
@@ -5172,7 +5229,7 @@ function DmAvatar({ user, className, size = "lg" }) {
5172
5229
  initials: userInitials(user),
5173
5230
  displayName: userDisplayName(user),
5174
5231
  picture: user.picture,
5175
- avatarStyle: chunk65WT5PHA_cjs.getEntityColorStyles(user.external_id),
5232
+ avatarStyle: chunkW2YC7ZSN_cjs.getEntityColorStyles(user.external_id),
5176
5233
  isAgent: isAgentUser(user),
5177
5234
  displayStatus
5178
5235
  }
@@ -5228,10 +5285,10 @@ function ConversationList({
5228
5285
  children: c.title ?? userDisplayName(peer)
5229
5286
  }
5230
5287
  ),
5231
- c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunk65WT5PHA_cjs.AgentBadge, {}) : null)
5288
+ c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunkW2YC7ZSN_cjs.AgentBadge, {}) : null)
5232
5289
  ] }),
5233
5290
  c.statusLabel ? /* @__PURE__ */ jsxRuntime.jsx(
5234
- chunk65WT5PHA_cjs.Badge,
5291
+ chunkW2YC7ZSN_cjs.Badge,
5235
5292
  {
5236
5293
  variant: "outline",
5237
5294
  className: "shrink-0 rounded-full px-2 py-0 text-xs font-medium text-muted-foreground",
@@ -5242,7 +5299,7 @@ function ConversationList({
5242
5299
  // shouted louder than the message it was counting.
5243
5300
  // Enough to catch the eye scanning the list, no more.
5244
5301
  /* @__PURE__ */ jsxRuntime.jsx(
5245
- chunk65WT5PHA_cjs.Badge,
5302
+ chunkW2YC7ZSN_cjs.Badge,
5246
5303
  {
5247
5304
  variant: "accent",
5248
5305
  className: chunkS6A6FSG7_cjs.cn(
@@ -5567,7 +5624,7 @@ function DmComposer({
5567
5624
  )
5568
5625
  ] }),
5569
5626
  /* @__PURE__ */ jsxRuntime.jsx(
5570
- chunk65WT5PHA_cjs.Textarea,
5627
+ chunkW2YC7ZSN_cjs.Textarea,
5571
5628
  {
5572
5629
  ref: inputRef,
5573
5630
  value: draft,
@@ -5661,9 +5718,9 @@ function StartByEmail({
5661
5718
  void submit();
5662
5719
  },
5663
5720
  children: [
5664
- /* @__PURE__ */ jsxRuntime.jsx(chunk65WT5PHA_cjs.Label, { htmlFor: `${uid}-email`, children: l.email }),
5721
+ /* @__PURE__ */ jsxRuntime.jsx(chunkW2YC7ZSN_cjs.Label, { htmlFor: `${uid}-email`, children: l.email }),
5665
5722
  /* @__PURE__ */ jsxRuntime.jsx(
5666
- chunk65WT5PHA_cjs.Input,
5723
+ chunkW2YC7ZSN_cjs.Input,
5667
5724
  {
5668
5725
  id: `${uid}-email`,
5669
5726
  type: "email",
@@ -5677,9 +5734,9 @@ function StartByEmail({
5677
5734
  }
5678
5735
  ),
5679
5736
  email !== "" && !valid && /* @__PURE__ */ jsxRuntime.jsx("p", { id: `${uid}-bad`, className: "text-xs text-destructive", children: l.invalidEmail }),
5680
- /* @__PURE__ */ jsxRuntime.jsx(chunk65WT5PHA_cjs.Label, { htmlFor: `${uid}-text`, children: l.message }),
5737
+ /* @__PURE__ */ jsxRuntime.jsx(chunkW2YC7ZSN_cjs.Label, { htmlFor: `${uid}-text`, children: l.message }),
5681
5738
  /* @__PURE__ */ jsxRuntime.jsx(
5682
- chunk65WT5PHA_cjs.Textarea,
5739
+ chunkW2YC7ZSN_cjs.Textarea,
5683
5740
  {
5684
5741
  id: `${uid}-text`,
5685
5742
  value: text,
@@ -5896,7 +5953,7 @@ function ImageCropper({
5896
5953
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
5897
5954
  /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Zoom" }),
5898
5955
  /* @__PURE__ */ jsxRuntime.jsx(
5899
- chunk65WT5PHA_cjs.Slider,
5956
+ chunkW2YC7ZSN_cjs.Slider,
5900
5957
  {
5901
5958
  value: [zoom],
5902
5959
  onValueChange: ([v]) => setZoom(v ?? 1),
@@ -6345,10 +6402,10 @@ function DocumentTable({
6345
6402
  extraColumns,
6346
6403
  className
6347
6404
  }) {
6348
- const query = chunkE5XFVK4I_cjs.useDocuments(workspaceId, { enabled: !documents });
6405
+ const query = chunk2BQSLXEY_cjs.useDocuments(workspaceId, { enabled: !documents });
6349
6406
  const rows = documents ?? query.data ?? [];
6350
6407
  const isLoading = !documents && query.isLoading;
6351
- const tagsQuery = chunkE5XFVK4I_cjs.useTags(workspaceId);
6408
+ const tagsQuery = chunk2BQSLXEY_cjs.useTags(workspaceId);
6352
6409
  const tagNameById = React__default.default.useMemo(() => {
6353
6410
  const map = /* @__PURE__ */ new Map();
6354
6411
  for (const t of tagsQuery.data ?? []) {
@@ -6408,7 +6465,7 @@ function DocumentTable({
6408
6465
  const doc = p.data;
6409
6466
  if (!doc) return null;
6410
6467
  return /* @__PURE__ */ jsxRuntime.jsx(
6411
- chunk65WT5PHA_cjs.DocumentEntity,
6468
+ chunkW2YC7ZSN_cjs.DocumentEntity,
6412
6469
  {
6413
6470
  doc,
6414
6471
  size: "base",
@@ -6431,7 +6488,7 @@ function DocumentTable({
6431
6488
  cellRenderer: (p) => {
6432
6489
  const status = p.data?.status;
6433
6490
  if (!status) return null;
6434
- return /* @__PURE__ */ jsxRuntime.jsx(chunk65WT5PHA_cjs.Badge, { variant: STATUS_VARIANTS[status.toLowerCase()] ?? "secondary", children: status });
6491
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkW2YC7ZSN_cjs.Badge, { variant: STATUS_VARIANTS[status.toLowerCase()] ?? "secondary", children: status });
6435
6492
  }
6436
6493
  },
6437
6494
  {
@@ -6445,7 +6502,7 @@ function DocumentTable({
6445
6502
  const doctags = p.data?.doctags ?? [];
6446
6503
  if (doctags.length === 0) return null;
6447
6504
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap items-center gap-1 py-1", children: doctags.map((dt) => /* @__PURE__ */ jsxRuntime.jsx(
6448
- chunk65WT5PHA_cjs.TagEntity,
6505
+ chunkW2YC7ZSN_cjs.TagEntity,
6449
6506
  {
6450
6507
  size: "sm",
6451
6508
  tag: {
@@ -6529,7 +6586,7 @@ function DocumentCardMenu({
6529
6586
  const invalidateDocuments = () => {
6530
6587
  const workspaceId = arbi.getWorkspaceId();
6531
6588
  if (workspaceId) {
6532
- void queryClient.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.documents(workspaceId) });
6589
+ void queryClient.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.documents(workspaceId) });
6533
6590
  }
6534
6591
  };
6535
6592
  const download = reactQuery.useMutation({
@@ -6628,10 +6685,10 @@ function DocumentGallery({
6628
6685
  minTileWidth = 148,
6629
6686
  className
6630
6687
  }) {
6631
- const query = chunkE5XFVK4I_cjs.useDocuments(workspaceId, { enabled: !documents });
6688
+ const query = chunk2BQSLXEY_cjs.useDocuments(workspaceId, { enabled: !documents });
6632
6689
  const rows = documents ?? query.data ?? [];
6633
6690
  const isLoading = !documents && query.isLoading;
6634
- const tagsQuery = chunkE5XFVK4I_cjs.useTags(workspaceId);
6691
+ const tagsQuery = chunk2BQSLXEY_cjs.useTags(workspaceId);
6635
6692
  const tagNameById = React__default.default.useMemo(() => {
6636
6693
  const map = /* @__PURE__ */ new Map();
6637
6694
  for (const t of tagsQuery.data ?? []) {
@@ -6643,7 +6700,7 @@ function DocumentGallery({
6643
6700
  () => rows.map((d) => d.external_id).filter((id) => !!id),
6644
6701
  [rows]
6645
6702
  );
6646
- const thumbsQuery = chunkE5XFVK4I_cjs.useThumbnails(docIds);
6703
+ const thumbsQuery = chunk2BQSLXEY_cjs.useThumbnails(docIds);
6647
6704
  const thumbs = thumbsQuery.data ?? {};
6648
6705
  const session = useArbiSessionStore();
6649
6706
  const storeSelected = useArbiSessionState((s) => s.selectedDocumentIds);
@@ -6679,7 +6736,7 @@ function DocumentGallery({
6679
6736
  setRenamingId(null);
6680
6737
  const activeWorkspace = workspaceId ?? arbi.getWorkspaceId();
6681
6738
  if (activeWorkspace) {
6682
- void queryClient.invalidateQueries({ queryKey: chunkE5XFVK4I_cjs.arbiQueryKeys.documents(activeWorkspace) });
6739
+ void queryClient.invalidateQueries({ queryKey: chunk2BQSLXEY_cjs.arbiQueryKeys.documents(activeWorkspace) });
6683
6740
  }
6684
6741
  }
6685
6742
  });
@@ -6721,7 +6778,7 @@ function DocumentGallery({
6721
6778
  (dt) => tagNameById.get(dt.tag_ext_id) ?? dt.tag_ext_id.slice(0, 8)
6722
6779
  );
6723
6780
  return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-doc-id": id, "data-testid": "document-gallery-card", children: /* @__PURE__ */ jsxRuntime.jsx(
6724
- chunk65WT5PHA_cjs.DocumentCard,
6781
+ chunkW2YC7ZSN_cjs.DocumentCard,
6725
6782
  {
6726
6783
  doc,
6727
6784
  thumbnailUrl: thumbs[id],
@@ -6758,7 +6815,7 @@ function VoiceNoteRecorder({
6758
6815
  isSaving = false,
6759
6816
  transcribe
6760
6817
  }) {
6761
- const recorder = chunk65WT5PHA_cjs.useAudioRecorder();
6818
+ const recorder = chunkW2YC7ZSN_cjs.useAudioRecorder();
6762
6819
  const [transcript, setTranscript] = React.useState(null);
6763
6820
  const [isTranscribing, setIsTranscribing] = React.useState(false);
6764
6821
  React.useEffect(() => {
@@ -6804,7 +6861,7 @@ function VoiceNoteRecorder({
6804
6861
  ] }),
6805
6862
  (recorder.state === "recording" || recorder.state === "paused") && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6806
6863
  /* @__PURE__ */ jsxRuntime.jsx(
6807
- chunk65WT5PHA_cjs.MicWaveformIndicator,
6864
+ chunkW2YC7ZSN_cjs.MicWaveformIndicator,
6808
6865
  {
6809
6866
  level: recorder.level,
6810
6867
  elapsedMs: recorder.elapsedMs,
@@ -6926,7 +6983,7 @@ function DraftTitleControls({
6926
6983
  }
6927
6984
  ),
6928
6985
  /* @__PURE__ */ jsxRuntime.jsx(
6929
- chunk65WT5PHA_cjs.IconToggle,
6986
+ chunkW2YC7ZSN_cjs.IconToggle,
6930
6987
  {
6931
6988
  icon: lucideReact.Sparkles,
6932
6989
  isActive: autoRename,
@@ -6960,7 +7017,7 @@ function useCameraStream(constraints = { video: true, audio: false }) {
6960
7017
  streamRef.current = media;
6961
7018
  setStream(media);
6962
7019
  } catch (err) {
6963
- setError(chunk65WT5PHA_cjs.classifyMediaError(err, "camera"));
7020
+ setError(chunkW2YC7ZSN_cjs.classifyMediaError(err, "camera"));
6964
7021
  } finally {
6965
7022
  setIsStarting(false);
6966
7023
  }
@@ -7196,7 +7253,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
7196
7253
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative inline-flex h-2 w-2 rounded-full bg-red-500" })
7197
7254
  ] }),
7198
7255
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-semibold uppercase tracking-wide text-red-500", children: "Rec" }),
7199
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunk65WT5PHA_cjs.formatElapsed(recorder.elapsedMs) })
7256
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunkW2YC7ZSN_cjs.formatElapsed(recorder.elapsedMs) })
7200
7257
  ] }),
7201
7258
  recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsx(
7202
7259
  chunkWYZJLZ67_cjs.Button,
@@ -7297,119 +7354,115 @@ function hasVideoTrack(blob) {
7297
7354
 
7298
7355
  Object.defineProperty(exports, "PROJECT_CREATION_DENIED_REASON", {
7299
7356
  enumerable: true,
7300
- get: function () { return chunkE5XFVK4I_cjs.PROJECT_CREATION_DENIED_REASON; }
7357
+ get: function () { return chunk2BQSLXEY_cjs.PROJECT_CREATION_DENIED_REASON; }
7301
7358
  });
7302
7359
  Object.defineProperty(exports, "arbiMutationKeys", {
7303
7360
  enumerable: true,
7304
- get: function () { return chunkE5XFVK4I_cjs.arbiMutationKeys; }
7361
+ get: function () { return chunk2BQSLXEY_cjs.arbiMutationKeys; }
7305
7362
  });
7306
7363
  Object.defineProperty(exports, "arbiQueryKeys", {
7307
7364
  enumerable: true,
7308
- get: function () { return chunkE5XFVK4I_cjs.arbiQueryKeys; }
7365
+ get: function () { return chunk2BQSLXEY_cjs.arbiQueryKeys; }
7309
7366
  });
7310
7367
  Object.defineProperty(exports, "isUsageMetered", {
7311
7368
  enumerable: true,
7312
- get: function () { return chunkE5XFVK4I_cjs.isUsageMetered; }
7369
+ get: function () { return chunk2BQSLXEY_cjs.isUsageMetered; }
7313
7370
  });
7314
7371
  Object.defineProperty(exports, "useActivity", {
7315
7372
  enumerable: true,
7316
- get: function () { return chunkE5XFVK4I_cjs.useActivity; }
7373
+ get: function () { return chunk2BQSLXEY_cjs.useActivity; }
7317
7374
  });
7318
7375
  Object.defineProperty(exports, "useAgents", {
7319
7376
  enumerable: true,
7320
- get: function () { return chunkE5XFVK4I_cjs.useAgents; }
7377
+ get: function () { return chunk2BQSLXEY_cjs.useAgents; }
7321
7378
  });
7322
7379
  Object.defineProperty(exports, "useAssistantQuery", {
7323
7380
  enumerable: true,
7324
- get: function () { return chunkE5XFVK4I_cjs.useAssistantQuery; }
7381
+ get: function () { return chunk2BQSLXEY_cjs.useAssistantQuery; }
7325
7382
  });
7326
7383
  Object.defineProperty(exports, "useCanCreateProjects", {
7327
7384
  enumerable: true,
7328
- get: function () { return chunkE5XFVK4I_cjs.useCanCreateProjects; }
7385
+ get: function () { return chunk2BQSLXEY_cjs.useCanCreateProjects; }
7329
7386
  });
7330
7387
  Object.defineProperty(exports, "useConfigs", {
7331
7388
  enumerable: true,
7332
- get: function () { return chunkE5XFVK4I_cjs.useConfigs; }
7389
+ get: function () { return chunk2BQSLXEY_cjs.useConfigs; }
7333
7390
  });
7334
7391
  Object.defineProperty(exports, "useConversationThreads", {
7335
7392
  enumerable: true,
7336
- get: function () { return chunkE5XFVK4I_cjs.useConversationThreads; }
7393
+ get: function () { return chunk2BQSLXEY_cjs.useConversationThreads; }
7337
7394
  });
7338
7395
  Object.defineProperty(exports, "useConversations", {
7339
7396
  enumerable: true,
7340
- get: function () { return chunkE5XFVK4I_cjs.useConversations; }
7397
+ get: function () { return chunk2BQSLXEY_cjs.useConversations; }
7341
7398
  });
7342
7399
  Object.defineProperty(exports, "useCurrentUser", {
7343
7400
  enumerable: true,
7344
- get: function () { return chunkE5XFVK4I_cjs.useCurrentUser; }
7401
+ get: function () { return chunk2BQSLXEY_cjs.useCurrentUser; }
7345
7402
  });
7346
7403
  Object.defineProperty(exports, "useDeleteAgents", {
7347
7404
  enumerable: true,
7348
- get: function () { return chunkE5XFVK4I_cjs.useDeleteAgents; }
7405
+ get: function () { return chunk2BQSLXEY_cjs.useDeleteAgents; }
7349
7406
  });
7350
7407
  Object.defineProperty(exports, "useDocuments", {
7351
7408
  enumerable: true,
7352
- get: function () { return chunkE5XFVK4I_cjs.useDocuments; }
7353
- });
7354
- Object.defineProperty(exports, "useFacts", {
7355
- enumerable: true,
7356
- get: function () { return chunkE5XFVK4I_cjs.useFacts; }
7409
+ get: function () { return chunk2BQSLXEY_cjs.useDocuments; }
7357
7410
  });
7358
7411
  Object.defineProperty(exports, "useFirmPool", {
7359
7412
  enumerable: true,
7360
- get: function () { return chunkE5XFVK4I_cjs.useFirmPool; }
7413
+ get: function () { return chunk2BQSLXEY_cjs.useFirmPool; }
7361
7414
  });
7362
7415
  Object.defineProperty(exports, "useHealth", {
7363
7416
  enumerable: true,
7364
- get: function () { return chunkE5XFVK4I_cjs.useHealth; }
7417
+ get: function () { return chunk2BQSLXEY_cjs.useHealth; }
7365
7418
  });
7366
7419
  Object.defineProperty(exports, "useParsedDocument", {
7367
7420
  enumerable: true,
7368
- get: function () { return chunkE5XFVK4I_cjs.useParsedDocument; }
7421
+ get: function () { return chunk2BQSLXEY_cjs.useParsedDocument; }
7369
7422
  });
7370
7423
  Object.defineProperty(exports, "useProjectInvoices", {
7371
7424
  enumerable: true,
7372
- get: function () { return chunkE5XFVK4I_cjs.useProjectInvoices; }
7425
+ get: function () { return chunk2BQSLXEY_cjs.useProjectInvoices; }
7373
7426
  });
7374
7427
  Object.defineProperty(exports, "useProjectUsage", {
7375
7428
  enumerable: true,
7376
- get: function () { return chunkE5XFVK4I_cjs.useProjectUsage; }
7429
+ get: function () { return chunk2BQSLXEY_cjs.useProjectUsage; }
7377
7430
  });
7378
7431
  Object.defineProperty(exports, "useProjects", {
7379
7432
  enumerable: true,
7380
- get: function () { return chunkE5XFVK4I_cjs.useProjects; }
7433
+ get: function () { return chunk2BQSLXEY_cjs.useProjects; }
7381
7434
  });
7382
7435
  Object.defineProperty(exports, "useProjectsUsage", {
7383
7436
  enumerable: true,
7384
- get: function () { return chunkE5XFVK4I_cjs.useProjectsUsage; }
7437
+ get: function () { return chunk2BQSLXEY_cjs.useProjectsUsage; }
7385
7438
  });
7386
7439
  Object.defineProperty(exports, "useTags", {
7387
7440
  enumerable: true,
7388
- get: function () { return chunkE5XFVK4I_cjs.useTags; }
7441
+ get: function () { return chunk2BQSLXEY_cjs.useTags; }
7389
7442
  });
7390
7443
  Object.defineProperty(exports, "useThumbnails", {
7391
7444
  enumerable: true,
7392
- get: function () { return chunkE5XFVK4I_cjs.useThumbnails; }
7445
+ get: function () { return chunk2BQSLXEY_cjs.useThumbnails; }
7393
7446
  });
7394
7447
  Object.defineProperty(exports, "useTopUpFirmPool", {
7395
7448
  enumerable: true,
7396
- get: function () { return chunkE5XFVK4I_cjs.useTopUpFirmPool; }
7449
+ get: function () { return chunk2BQSLXEY_cjs.useTopUpFirmPool; }
7397
7450
  });
7398
7451
  Object.defineProperty(exports, "useUserUsageToday", {
7399
7452
  enumerable: true,
7400
- get: function () { return chunkE5XFVK4I_cjs.useUserUsageToday; }
7453
+ get: function () { return chunk2BQSLXEY_cjs.useUserUsageToday; }
7401
7454
  });
7402
7455
  Object.defineProperty(exports, "useWorkspaceActivity", {
7403
7456
  enumerable: true,
7404
- get: function () { return chunkE5XFVK4I_cjs.useWorkspaceActivity; }
7457
+ get: function () { return chunk2BQSLXEY_cjs.useWorkspaceActivity; }
7405
7458
  });
7406
7459
  Object.defineProperty(exports, "useWorkspaceUsers", {
7407
7460
  enumerable: true,
7408
- get: function () { return chunkE5XFVK4I_cjs.useWorkspaceUsers; }
7461
+ get: function () { return chunk2BQSLXEY_cjs.useWorkspaceUsers; }
7409
7462
  });
7410
7463
  Object.defineProperty(exports, "useWorkspaces", {
7411
7464
  enumerable: true,
7412
- get: function () { return chunkE5XFVK4I_cjs.useWorkspaces; }
7465
+ get: function () { return chunk2BQSLXEY_cjs.useWorkspaces; }
7413
7466
  });
7414
7467
  Object.defineProperty(exports, "cleanDraftMarkdown", {
7415
7468
  enumerable: true,
@@ -7481,603 +7534,575 @@ Object.defineProperty(exports, "useNotify", {
7481
7534
  });
7482
7535
  Object.defineProperty(exports, "AUDIO_MIME_PREFERENCE", {
7483
7536
  enumerable: true,
7484
- get: function () { return chunk65WT5PHA_cjs.AUDIO_MIME_PREFERENCE; }
7537
+ get: function () { return chunkW2YC7ZSN_cjs.AUDIO_MIME_PREFERENCE; }
7485
7538
  });
7486
7539
  Object.defineProperty(exports, "AgentBadge", {
7487
7540
  enumerable: true,
7488
- get: function () { return chunk65WT5PHA_cjs.AgentBadge; }
7541
+ get: function () { return chunkW2YC7ZSN_cjs.AgentBadge; }
7489
7542
  });
7490
7543
  Object.defineProperty(exports, "AiMarkdown", {
7491
7544
  enumerable: true,
7492
- get: function () { return chunk65WT5PHA_cjs.AiMarkdown; }
7545
+ get: function () { return chunkW2YC7ZSN_cjs.AiMarkdown; }
7493
7546
  });
7494
7547
  Object.defineProperty(exports, "ArbiBotHeadIcon", {
7495
7548
  enumerable: true,
7496
- get: function () { return chunk65WT5PHA_cjs.ArbiBotHeadIcon; }
7549
+ get: function () { return chunkW2YC7ZSN_cjs.ArbiBotHeadIcon; }
7497
7550
  });
7498
7551
  Object.defineProperty(exports, "ArbiIcon", {
7499
7552
  enumerable: true,
7500
- get: function () { return chunk65WT5PHA_cjs.ArbiIcon; }
7553
+ get: function () { return chunkW2YC7ZSN_cjs.ArbiIcon; }
7501
7554
  });
7502
7555
  Object.defineProperty(exports, "AudIcon", {
7503
7556
  enumerable: true,
7504
- get: function () { return chunk65WT5PHA_cjs.AudIcon; }
7557
+ get: function () { return chunkW2YC7ZSN_cjs.AudIcon; }
7505
7558
  });
7506
7559
  Object.defineProperty(exports, "Avatar", {
7507
7560
  enumerable: true,
7508
- get: function () { return chunk65WT5PHA_cjs.Avatar; }
7561
+ get: function () { return chunkW2YC7ZSN_cjs.Avatar; }
7509
7562
  });
7510
7563
  Object.defineProperty(exports, "AvatarFallback", {
7511
7564
  enumerable: true,
7512
- get: function () { return chunk65WT5PHA_cjs.AvatarFallback; }
7565
+ get: function () { return chunkW2YC7ZSN_cjs.AvatarFallback; }
7513
7566
  });
7514
7567
  Object.defineProperty(exports, "AvatarImage", {
7515
7568
  enumerable: true,
7516
- get: function () { return chunk65WT5PHA_cjs.AvatarImage; }
7569
+ get: function () { return chunkW2YC7ZSN_cjs.AvatarImage; }
7517
7570
  });
7518
7571
  Object.defineProperty(exports, "BASE_COLORS", {
7519
7572
  enumerable: true,
7520
- get: function () { return chunk65WT5PHA_cjs.BASE_COLORS; }
7573
+ get: function () { return chunkW2YC7ZSN_cjs.BASE_COLORS; }
7521
7574
  });
7522
7575
  Object.defineProperty(exports, "Badge", {
7523
7576
  enumerable: true,
7524
- get: function () { return chunk65WT5PHA_cjs.Badge; }
7577
+ get: function () { return chunkW2YC7ZSN_cjs.Badge; }
7525
7578
  });
7526
7579
  Object.defineProperty(exports, "Card", {
7527
7580
  enumerable: true,
7528
- get: function () { return chunk65WT5PHA_cjs.Card; }
7581
+ get: function () { return chunkW2YC7ZSN_cjs.Card; }
7529
7582
  });
7530
7583
  Object.defineProperty(exports, "CardContent", {
7531
7584
  enumerable: true,
7532
- get: function () { return chunk65WT5PHA_cjs.CardContent; }
7585
+ get: function () { return chunkW2YC7ZSN_cjs.CardContent; }
7533
7586
  });
7534
7587
  Object.defineProperty(exports, "CardDescription", {
7535
7588
  enumerable: true,
7536
- get: function () { return chunk65WT5PHA_cjs.CardDescription; }
7589
+ get: function () { return chunkW2YC7ZSN_cjs.CardDescription; }
7537
7590
  });
7538
7591
  Object.defineProperty(exports, "CardFooter", {
7539
7592
  enumerable: true,
7540
- get: function () { return chunk65WT5PHA_cjs.CardFooter; }
7593
+ get: function () { return chunkW2YC7ZSN_cjs.CardFooter; }
7541
7594
  });
7542
7595
  Object.defineProperty(exports, "CardHeader", {
7543
7596
  enumerable: true,
7544
- get: function () { return chunk65WT5PHA_cjs.CardHeader; }
7597
+ get: function () { return chunkW2YC7ZSN_cjs.CardHeader; }
7545
7598
  });
7546
7599
  Object.defineProperty(exports, "CardTitle", {
7547
7600
  enumerable: true,
7548
- get: function () { return chunk65WT5PHA_cjs.CardTitle; }
7601
+ get: function () { return chunkW2YC7ZSN_cjs.CardTitle; }
7549
7602
  });
7550
7603
  Object.defineProperty(exports, "Checkbox", {
7551
7604
  enumerable: true,
7552
- get: function () { return chunk65WT5PHA_cjs.Checkbox; }
7605
+ get: function () { return chunkW2YC7ZSN_cjs.Checkbox; }
7553
7606
  });
7554
7607
  Object.defineProperty(exports, "Collapsible", {
7555
7608
  enumerable: true,
7556
- get: function () { return chunk65WT5PHA_cjs.Collapsible; }
7609
+ get: function () { return chunkW2YC7ZSN_cjs.Collapsible; }
7557
7610
  });
7558
7611
  Object.defineProperty(exports, "CollapsibleContent", {
7559
7612
  enumerable: true,
7560
- get: function () { return chunk65WT5PHA_cjs.CollapsibleContent; }
7613
+ get: function () { return chunkW2YC7ZSN_cjs.CollapsibleContent; }
7561
7614
  });
7562
7615
  Object.defineProperty(exports, "CollapsibleTrigger", {
7563
7616
  enumerable: true,
7564
- get: function () { return chunk65WT5PHA_cjs.CollapsibleTrigger; }
7617
+ get: function () { return chunkW2YC7ZSN_cjs.CollapsibleTrigger; }
7565
7618
  });
7566
7619
  Object.defineProperty(exports, "Command", {
7567
7620
  enumerable: true,
7568
- get: function () { return chunk65WT5PHA_cjs.Command; }
7621
+ get: function () { return chunkW2YC7ZSN_cjs.Command; }
7569
7622
  });
7570
7623
  Object.defineProperty(exports, "CommandDialog", {
7571
7624
  enumerable: true,
7572
- get: function () { return chunk65WT5PHA_cjs.CommandDialog; }
7625
+ get: function () { return chunkW2YC7ZSN_cjs.CommandDialog; }
7573
7626
  });
7574
7627
  Object.defineProperty(exports, "CommandEmpty", {
7575
7628
  enumerable: true,
7576
- get: function () { return chunk65WT5PHA_cjs.CommandEmpty; }
7629
+ get: function () { return chunkW2YC7ZSN_cjs.CommandEmpty; }
7577
7630
  });
7578
7631
  Object.defineProperty(exports, "CommandGroup", {
7579
7632
  enumerable: true,
7580
- get: function () { return chunk65WT5PHA_cjs.CommandGroup; }
7633
+ get: function () { return chunkW2YC7ZSN_cjs.CommandGroup; }
7581
7634
  });
7582
7635
  Object.defineProperty(exports, "CommandInput", {
7583
7636
  enumerable: true,
7584
- get: function () { return chunk65WT5PHA_cjs.CommandInput; }
7637
+ get: function () { return chunkW2YC7ZSN_cjs.CommandInput; }
7585
7638
  });
7586
7639
  Object.defineProperty(exports, "CommandItem", {
7587
7640
  enumerable: true,
7588
- get: function () { return chunk65WT5PHA_cjs.CommandItem; }
7641
+ get: function () { return chunkW2YC7ZSN_cjs.CommandItem; }
7589
7642
  });
7590
7643
  Object.defineProperty(exports, "CommandList", {
7591
7644
  enumerable: true,
7592
- get: function () { return chunk65WT5PHA_cjs.CommandList; }
7645
+ get: function () { return chunkW2YC7ZSN_cjs.CommandList; }
7593
7646
  });
7594
7647
  Object.defineProperty(exports, "CommandSeparator", {
7595
7648
  enumerable: true,
7596
- get: function () { return chunk65WT5PHA_cjs.CommandSeparator; }
7649
+ get: function () { return chunkW2YC7ZSN_cjs.CommandSeparator; }
7597
7650
  });
7598
7651
  Object.defineProperty(exports, "CommandShortcut", {
7599
7652
  enumerable: true,
7600
- get: function () { return chunk65WT5PHA_cjs.CommandShortcut; }
7653
+ get: function () { return chunkW2YC7ZSN_cjs.CommandShortcut; }
7601
7654
  });
7602
7655
  Object.defineProperty(exports, "DEFAULT_SEGMENTER_CONFIG", {
7603
7656
  enumerable: true,
7604
- get: function () { return chunk65WT5PHA_cjs.DEFAULT_SEGMENTER_CONFIG; }
7657
+ get: function () { return chunkW2YC7ZSN_cjs.DEFAULT_SEGMENTER_CONFIG; }
7605
7658
  });
7606
7659
  Object.defineProperty(exports, "DebouncedInput", {
7607
7660
  enumerable: true,
7608
- get: function () { return chunk65WT5PHA_cjs.DebouncedInput; }
7661
+ get: function () { return chunkW2YC7ZSN_cjs.DebouncedInput; }
7609
7662
  });
7610
7663
  Object.defineProperty(exports, "DictateProvider", {
7611
7664
  enumerable: true,
7612
- get: function () { return chunk65WT5PHA_cjs.DictateProvider; }
7665
+ get: function () { return chunkW2YC7ZSN_cjs.DictateProvider; }
7613
7666
  });
7614
7667
  Object.defineProperty(exports, "DocIcon", {
7615
7668
  enumerable: true,
7616
- get: function () { return chunk65WT5PHA_cjs.DocIcon; }
7669
+ get: function () { return chunkW2YC7ZSN_cjs.DocIcon; }
7617
7670
  });
7618
7671
  Object.defineProperty(exports, "DocumentCard", {
7619
7672
  enumerable: true,
7620
- get: function () { return chunk65WT5PHA_cjs.DocumentCard; }
7673
+ get: function () { return chunkW2YC7ZSN_cjs.DocumentCard; }
7621
7674
  });
7622
7675
  Object.defineProperty(exports, "DocumentEntity", {
7623
7676
  enumerable: true,
7624
- get: function () { return chunk65WT5PHA_cjs.DocumentEntity; }
7677
+ get: function () { return chunkW2YC7ZSN_cjs.DocumentEntity; }
7625
7678
  });
7626
7679
  Object.defineProperty(exports, "ENTITY_MAPPINGS", {
7627
7680
  enumerable: true,
7628
- get: function () { return chunk65WT5PHA_cjs.ENTITY_MAPPINGS; }
7681
+ get: function () { return chunkW2YC7ZSN_cjs.ENTITY_MAPPINGS; }
7629
7682
  });
7630
7683
  Object.defineProperty(exports, "EmlIcon", {
7631
7684
  enumerable: true,
7632
- get: function () { return chunk65WT5PHA_cjs.EmlIcon; }
7685
+ get: function () { return chunkW2YC7ZSN_cjs.EmlIcon; }
7633
7686
  });
7634
7687
  Object.defineProperty(exports, "EntityIcon", {
7635
7688
  enumerable: true,
7636
- get: function () { return chunk65WT5PHA_cjs.EntityIcon; }
7689
+ get: function () { return chunkW2YC7ZSN_cjs.EntityIcon; }
7637
7690
  });
7638
7691
  Object.defineProperty(exports, "EntityPill", {
7639
7692
  enumerable: true,
7640
- get: function () { return chunk65WT5PHA_cjs.EntityPill; }
7693
+ get: function () { return chunkW2YC7ZSN_cjs.EntityPill; }
7641
7694
  });
7642
7695
  Object.defineProperty(exports, "FILE_TYPE_COLORS", {
7643
7696
  enumerable: true,
7644
- get: function () { return chunk65WT5PHA_cjs.FILE_TYPE_COLORS; }
7697
+ get: function () { return chunkW2YC7ZSN_cjs.FILE_TYPE_COLORS; }
7645
7698
  });
7646
7699
  Object.defineProperty(exports, "HoverCard", {
7647
7700
  enumerable: true,
7648
- get: function () { return chunk65WT5PHA_cjs.HoverCard; }
7701
+ get: function () { return chunkW2YC7ZSN_cjs.HoverCard; }
7649
7702
  });
7650
7703
  Object.defineProperty(exports, "HoverCardContent", {
7651
7704
  enumerable: true,
7652
- get: function () { return chunk65WT5PHA_cjs.HoverCardContent; }
7705
+ get: function () { return chunkW2YC7ZSN_cjs.HoverCardContent; }
7653
7706
  });
7654
7707
  Object.defineProperty(exports, "HoverCardTrigger", {
7655
7708
  enumerable: true,
7656
- get: function () { return chunk65WT5PHA_cjs.HoverCardTrigger; }
7709
+ get: function () { return chunkW2YC7ZSN_cjs.HoverCardTrigger; }
7657
7710
  });
7658
7711
  Object.defineProperty(exports, "HtmlIcon", {
7659
7712
  enumerable: true,
7660
- get: function () { return chunk65WT5PHA_cjs.HtmlIcon; }
7713
+ get: function () { return chunkW2YC7ZSN_cjs.HtmlIcon; }
7661
7714
  });
7662
7715
  Object.defineProperty(exports, "INITIAL_SEGMENTER_STATE", {
7663
7716
  enumerable: true,
7664
- get: function () { return chunk65WT5PHA_cjs.INITIAL_SEGMENTER_STATE; }
7717
+ get: function () { return chunkW2YC7ZSN_cjs.INITIAL_SEGMENTER_STATE; }
7665
7718
  });
7666
7719
  Object.defineProperty(exports, "IconToggle", {
7667
7720
  enumerable: true,
7668
- get: function () { return chunk65WT5PHA_cjs.IconToggle; }
7721
+ get: function () { return chunkW2YC7ZSN_cjs.IconToggle; }
7669
7722
  });
7670
7723
  Object.defineProperty(exports, "ImgIcon", {
7671
7724
  enumerable: true,
7672
- get: function () { return chunk65WT5PHA_cjs.ImgIcon; }
7725
+ get: function () { return chunkW2YC7ZSN_cjs.ImgIcon; }
7673
7726
  });
7674
7727
  Object.defineProperty(exports, "InlineMicButton", {
7675
7728
  enumerable: true,
7676
- get: function () { return chunk65WT5PHA_cjs.InlineMicButton; }
7729
+ get: function () { return chunkW2YC7ZSN_cjs.InlineMicButton; }
7677
7730
  });
7678
7731
  Object.defineProperty(exports, "Input", {
7679
7732
  enumerable: true,
7680
- get: function () { return chunk65WT5PHA_cjs.Input; }
7733
+ get: function () { return chunkW2YC7ZSN_cjs.Input; }
7681
7734
  });
7682
7735
  Object.defineProperty(exports, "Label", {
7683
7736
  enumerable: true,
7684
- get: function () { return chunk65WT5PHA_cjs.Label; }
7737
+ get: function () { return chunkW2YC7ZSN_cjs.Label; }
7685
7738
  });
7686
7739
  Object.defineProperty(exports, "MarkMenu", {
7687
7740
  enumerable: true,
7688
- get: function () { return chunk65WT5PHA_cjs.MarkMenu; }
7741
+ get: function () { return chunkW2YC7ZSN_cjs.MarkMenu; }
7689
7742
  });
7690
7743
  Object.defineProperty(exports, "MicRecordingOverlay", {
7691
7744
  enumerable: true,
7692
- get: function () { return chunk65WT5PHA_cjs.MicRecordingOverlay; }
7745
+ get: function () { return chunkW2YC7ZSN_cjs.MicRecordingOverlay; }
7693
7746
  });
7694
7747
  Object.defineProperty(exports, "MicWaveformIndicator", {
7695
7748
  enumerable: true,
7696
- get: function () { return chunk65WT5PHA_cjs.MicWaveformIndicator; }
7749
+ get: function () { return chunkW2YC7ZSN_cjs.MicWaveformIndicator; }
7697
7750
  });
7698
7751
  Object.defineProperty(exports, "NEUTRAL_GRAY", {
7699
7752
  enumerable: true,
7700
- get: function () { return chunk65WT5PHA_cjs.NEUTRAL_GRAY; }
7753
+ get: function () { return chunkW2YC7ZSN_cjs.NEUTRAL_GRAY; }
7701
7754
  });
7702
7755
  Object.defineProperty(exports, "PLACEHOLDER_COLOR", {
7703
7756
  enumerable: true,
7704
- get: function () { return chunk65WT5PHA_cjs.PLACEHOLDER_COLOR; }
7757
+ get: function () { return chunkW2YC7ZSN_cjs.PLACEHOLDER_COLOR; }
7705
7758
  });
7706
7759
  Object.defineProperty(exports, "PassageCard", {
7707
7760
  enumerable: true,
7708
- get: function () { return chunk65WT5PHA_cjs.PassageCard; }
7761
+ get: function () { return chunkW2YC7ZSN_cjs.PassageCard; }
7709
7762
  });
7710
7763
  Object.defineProperty(exports, "PdfIcon", {
7711
7764
  enumerable: true,
7712
- get: function () { return chunk65WT5PHA_cjs.PdfIcon; }
7765
+ get: function () { return chunkW2YC7ZSN_cjs.PdfIcon; }
7713
7766
  });
7714
7767
  Object.defineProperty(exports, "Popover", {
7715
7768
  enumerable: true,
7716
- get: function () { return chunk65WT5PHA_cjs.Popover; }
7769
+ get: function () { return chunkW2YC7ZSN_cjs.Popover; }
7717
7770
  });
7718
7771
  Object.defineProperty(exports, "PopoverAnchor", {
7719
7772
  enumerable: true,
7720
- get: function () { return chunk65WT5PHA_cjs.PopoverAnchor; }
7773
+ get: function () { return chunkW2YC7ZSN_cjs.PopoverAnchor; }
7721
7774
  });
7722
7775
  Object.defineProperty(exports, "PopoverClose", {
7723
7776
  enumerable: true,
7724
- get: function () { return chunk65WT5PHA_cjs.PopoverClose; }
7777
+ get: function () { return chunkW2YC7ZSN_cjs.PopoverClose; }
7725
7778
  });
7726
7779
  Object.defineProperty(exports, "PopoverContent", {
7727
7780
  enumerable: true,
7728
- get: function () { return chunk65WT5PHA_cjs.PopoverContent; }
7781
+ get: function () { return chunkW2YC7ZSN_cjs.PopoverContent; }
7729
7782
  });
7730
7783
  Object.defineProperty(exports, "PopoverTrigger", {
7731
7784
  enumerable: true,
7732
- get: function () { return chunk65WT5PHA_cjs.PopoverTrigger; }
7785
+ get: function () { return chunkW2YC7ZSN_cjs.PopoverTrigger; }
7733
7786
  });
7734
7787
  Object.defineProperty(exports, "PresenceLabel", {
7735
7788
  enumerable: true,
7736
- get: function () { return chunk65WT5PHA_cjs.PresenceLabel; }
7789
+ get: function () { return chunkW2YC7ZSN_cjs.PresenceLabel; }
7737
7790
  });
7738
7791
  Object.defineProperty(exports, "Progress", {
7739
7792
  enumerable: true,
7740
- get: function () { return chunk65WT5PHA_cjs.Progress; }
7793
+ get: function () { return chunkW2YC7ZSN_cjs.Progress; }
7741
7794
  });
7742
7795
  Object.defineProperty(exports, "ProjectEntity", {
7743
7796
  enumerable: true,
7744
- get: function () { return chunk65WT5PHA_cjs.ProjectEntity; }
7797
+ get: function () { return chunkW2YC7ZSN_cjs.ProjectEntity; }
7745
7798
  });
7746
7799
  Object.defineProperty(exports, "RadioGroup", {
7747
7800
  enumerable: true,
7748
- get: function () { return chunk65WT5PHA_cjs.RadioGroup; }
7801
+ get: function () { return chunkW2YC7ZSN_cjs.RadioGroup; }
7749
7802
  });
7750
7803
  Object.defineProperty(exports, "RadioGroupItem", {
7751
7804
  enumerable: true,
7752
- get: function () { return chunk65WT5PHA_cjs.RadioGroupItem; }
7805
+ get: function () { return chunkW2YC7ZSN_cjs.RadioGroupItem; }
7753
7806
  });
7754
7807
  Object.defineProperty(exports, "RagDot", {
7755
7808
  enumerable: true,
7756
- get: function () { return chunk65WT5PHA_cjs.RagDot; }
7809
+ get: function () { return chunkW2YC7ZSN_cjs.RagDot; }
7757
7810
  });
7758
7811
  Object.defineProperty(exports, "RelevanceDot", {
7759
7812
  enumerable: true,
7760
- get: function () { return chunk65WT5PHA_cjs.RelevanceDot; }
7813
+ get: function () { return chunkW2YC7ZSN_cjs.RelevanceDot; }
7761
7814
  });
7762
7815
  Object.defineProperty(exports, "Select", {
7763
7816
  enumerable: true,
7764
- get: function () { return chunk65WT5PHA_cjs.Select; }
7817
+ get: function () { return chunkW2YC7ZSN_cjs.Select; }
7765
7818
  });
7766
7819
  Object.defineProperty(exports, "SelectContent", {
7767
7820
  enumerable: true,
7768
- get: function () { return chunk65WT5PHA_cjs.SelectContent; }
7821
+ get: function () { return chunkW2YC7ZSN_cjs.SelectContent; }
7769
7822
  });
7770
7823
  Object.defineProperty(exports, "SelectGroup", {
7771
7824
  enumerable: true,
7772
- get: function () { return chunk65WT5PHA_cjs.SelectGroup; }
7825
+ get: function () { return chunkW2YC7ZSN_cjs.SelectGroup; }
7773
7826
  });
7774
7827
  Object.defineProperty(exports, "SelectItem", {
7775
7828
  enumerable: true,
7776
- get: function () { return chunk65WT5PHA_cjs.SelectItem; }
7829
+ get: function () { return chunkW2YC7ZSN_cjs.SelectItem; }
7777
7830
  });
7778
7831
  Object.defineProperty(exports, "SelectLabel", {
7779
7832
  enumerable: true,
7780
- get: function () { return chunk65WT5PHA_cjs.SelectLabel; }
7833
+ get: function () { return chunkW2YC7ZSN_cjs.SelectLabel; }
7781
7834
  });
7782
7835
  Object.defineProperty(exports, "SelectScrollDownButton", {
7783
7836
  enumerable: true,
7784
- get: function () { return chunk65WT5PHA_cjs.SelectScrollDownButton; }
7837
+ get: function () { return chunkW2YC7ZSN_cjs.SelectScrollDownButton; }
7785
7838
  });
7786
7839
  Object.defineProperty(exports, "SelectScrollUpButton", {
7787
7840
  enumerable: true,
7788
- get: function () { return chunk65WT5PHA_cjs.SelectScrollUpButton; }
7841
+ get: function () { return chunkW2YC7ZSN_cjs.SelectScrollUpButton; }
7789
7842
  });
7790
7843
  Object.defineProperty(exports, "SelectSeparator", {
7791
7844
  enumerable: true,
7792
- get: function () { return chunk65WT5PHA_cjs.SelectSeparator; }
7845
+ get: function () { return chunkW2YC7ZSN_cjs.SelectSeparator; }
7793
7846
  });
7794
7847
  Object.defineProperty(exports, "SelectTrigger", {
7795
7848
  enumerable: true,
7796
- get: function () { return chunk65WT5PHA_cjs.SelectTrigger; }
7849
+ get: function () { return chunkW2YC7ZSN_cjs.SelectTrigger; }
7797
7850
  });
7798
7851
  Object.defineProperty(exports, "SelectValue", {
7799
7852
  enumerable: true,
7800
- get: function () { return chunk65WT5PHA_cjs.SelectValue; }
7853
+ get: function () { return chunkW2YC7ZSN_cjs.SelectValue; }
7801
7854
  });
7802
7855
  Object.defineProperty(exports, "Separator", {
7803
7856
  enumerable: true,
7804
- get: function () { return chunk65WT5PHA_cjs.Separator; }
7857
+ get: function () { return chunkW2YC7ZSN_cjs.Separator; }
7805
7858
  });
7806
7859
  Object.defineProperty(exports, "ShieldIcon", {
7807
7860
  enumerable: true,
7808
- get: function () { return chunk65WT5PHA_cjs.ShieldIcon; }
7861
+ get: function () { return chunkW2YC7ZSN_cjs.ShieldIcon; }
7809
7862
  });
7810
7863
  Object.defineProperty(exports, "Slider", {
7811
7864
  enumerable: true,
7812
- get: function () { return chunk65WT5PHA_cjs.Slider; }
7865
+ get: function () { return chunkW2YC7ZSN_cjs.Slider; }
7813
7866
  });
7814
7867
  Object.defineProperty(exports, "StatusPill", {
7815
7868
  enumerable: true,
7816
- get: function () { return chunk65WT5PHA_cjs.StatusPill; }
7869
+ get: function () { return chunkW2YC7ZSN_cjs.StatusPill; }
7817
7870
  });
7818
7871
  Object.defineProperty(exports, "Switch", {
7819
7872
  enumerable: true,
7820
- get: function () { return chunk65WT5PHA_cjs.Switch; }
7873
+ get: function () { return chunkW2YC7ZSN_cjs.Switch; }
7821
7874
  });
7822
7875
  Object.defineProperty(exports, "TAG_TYPE_ICONS", {
7823
7876
  enumerable: true,
7824
- get: function () { return chunk65WT5PHA_cjs.TAG_TYPE_ICONS; }
7877
+ get: function () { return chunkW2YC7ZSN_cjs.TAG_TYPE_ICONS; }
7825
7878
  });
7826
7879
  Object.defineProperty(exports, "TAG_TYPE_LABELS", {
7827
7880
  enumerable: true,
7828
- get: function () { return chunk65WT5PHA_cjs.TAG_TYPE_LABELS; }
7881
+ get: function () { return chunkW2YC7ZSN_cjs.TAG_TYPE_LABELS; }
7829
7882
  });
7830
7883
  Object.defineProperty(exports, "Table", {
7831
7884
  enumerable: true,
7832
- get: function () { return chunk65WT5PHA_cjs.Table; }
7885
+ get: function () { return chunkW2YC7ZSN_cjs.Table; }
7833
7886
  });
7834
7887
  Object.defineProperty(exports, "TableBody", {
7835
7888
  enumerable: true,
7836
- get: function () { return chunk65WT5PHA_cjs.TableBody; }
7889
+ get: function () { return chunkW2YC7ZSN_cjs.TableBody; }
7837
7890
  });
7838
7891
  Object.defineProperty(exports, "TableCaption", {
7839
7892
  enumerable: true,
7840
- get: function () { return chunk65WT5PHA_cjs.TableCaption; }
7893
+ get: function () { return chunkW2YC7ZSN_cjs.TableCaption; }
7841
7894
  });
7842
7895
  Object.defineProperty(exports, "TableCell", {
7843
7896
  enumerable: true,
7844
- get: function () { return chunk65WT5PHA_cjs.TableCell; }
7897
+ get: function () { return chunkW2YC7ZSN_cjs.TableCell; }
7845
7898
  });
7846
7899
  Object.defineProperty(exports, "TableFooter", {
7847
7900
  enumerable: true,
7848
- get: function () { return chunk65WT5PHA_cjs.TableFooter; }
7901
+ get: function () { return chunkW2YC7ZSN_cjs.TableFooter; }
7849
7902
  });
7850
7903
  Object.defineProperty(exports, "TableHead", {
7851
7904
  enumerable: true,
7852
- get: function () { return chunk65WT5PHA_cjs.TableHead; }
7905
+ get: function () { return chunkW2YC7ZSN_cjs.TableHead; }
7853
7906
  });
7854
7907
  Object.defineProperty(exports, "TableHeader", {
7855
7908
  enumerable: true,
7856
- get: function () { return chunk65WT5PHA_cjs.TableHeader; }
7909
+ get: function () { return chunkW2YC7ZSN_cjs.TableHeader; }
7857
7910
  });
7858
7911
  Object.defineProperty(exports, "TableRow", {
7859
7912
  enumerable: true,
7860
- get: function () { return chunk65WT5PHA_cjs.TableRow; }
7913
+ get: function () { return chunkW2YC7ZSN_cjs.TableRow; }
7861
7914
  });
7862
7915
  Object.defineProperty(exports, "Tabs", {
7863
7916
  enumerable: true,
7864
- get: function () { return chunk65WT5PHA_cjs.Tabs; }
7917
+ get: function () { return chunkW2YC7ZSN_cjs.Tabs; }
7865
7918
  });
7866
7919
  Object.defineProperty(exports, "TabsContent", {
7867
7920
  enumerable: true,
7868
- get: function () { return chunk65WT5PHA_cjs.TabsContent; }
7921
+ get: function () { return chunkW2YC7ZSN_cjs.TabsContent; }
7869
7922
  });
7870
7923
  Object.defineProperty(exports, "TabsList", {
7871
7924
  enumerable: true,
7872
- get: function () { return chunk65WT5PHA_cjs.TabsList; }
7925
+ get: function () { return chunkW2YC7ZSN_cjs.TabsList; }
7873
7926
  });
7874
7927
  Object.defineProperty(exports, "TabsTrigger", {
7875
7928
  enumerable: true,
7876
- get: function () { return chunk65WT5PHA_cjs.TabsTrigger; }
7929
+ get: function () { return chunkW2YC7ZSN_cjs.TabsTrigger; }
7877
7930
  });
7878
7931
  Object.defineProperty(exports, "TagEntity", {
7879
7932
  enumerable: true,
7880
- get: function () { return chunk65WT5PHA_cjs.TagEntity; }
7933
+ get: function () { return chunkW2YC7ZSN_cjs.TagEntity; }
7881
7934
  });
7882
7935
  Object.defineProperty(exports, "Textarea", {
7883
7936
  enumerable: true,
7884
- get: function () { return chunk65WT5PHA_cjs.Textarea; }
7937
+ get: function () { return chunkW2YC7ZSN_cjs.Textarea; }
7885
7938
  });
7886
7939
  Object.defineProperty(exports, "ThreadVisibilityIcon", {
7887
7940
  enumerable: true,
7888
- get: function () { return chunk65WT5PHA_cjs.ThreadVisibilityIcon; }
7941
+ get: function () { return chunkW2YC7ZSN_cjs.ThreadVisibilityIcon; }
7889
7942
  });
7890
7943
  Object.defineProperty(exports, "Toggle", {
7891
7944
  enumerable: true,
7892
- get: function () { return chunk65WT5PHA_cjs.Toggle; }
7945
+ get: function () { return chunkW2YC7ZSN_cjs.Toggle; }
7893
7946
  });
7894
7947
  Object.defineProperty(exports, "ToggleGroup", {
7895
7948
  enumerable: true,
7896
- get: function () { return chunk65WT5PHA_cjs.ToggleGroup; }
7949
+ get: function () { return chunkW2YC7ZSN_cjs.ToggleGroup; }
7897
7950
  });
7898
7951
  Object.defineProperty(exports, "ToggleGroupItem", {
7899
7952
  enumerable: true,
7900
- get: function () { return chunk65WT5PHA_cjs.ToggleGroupItem; }
7953
+ get: function () { return chunkW2YC7ZSN_cjs.ToggleGroupItem; }
7901
7954
  });
7902
7955
  Object.defineProperty(exports, "Tooltip", {
7903
7956
  enumerable: true,
7904
- get: function () { return chunk65WT5PHA_cjs.Tooltip; }
7957
+ get: function () { return chunkW2YC7ZSN_cjs.Tooltip; }
7905
7958
  });
7906
7959
  Object.defineProperty(exports, "TooltipContent", {
7907
7960
  enumerable: true,
7908
- get: function () { return chunk65WT5PHA_cjs.TooltipContent; }
7961
+ get: function () { return chunkW2YC7ZSN_cjs.TooltipContent; }
7909
7962
  });
7910
7963
  Object.defineProperty(exports, "TooltipProvider", {
7911
7964
  enumerable: true,
7912
- get: function () { return chunk65WT5PHA_cjs.TooltipProvider; }
7965
+ get: function () { return chunkW2YC7ZSN_cjs.TooltipProvider; }
7913
7966
  });
7914
7967
  Object.defineProperty(exports, "TooltipTrigger", {
7915
7968
  enumerable: true,
7916
- get: function () { return chunk65WT5PHA_cjs.TooltipTrigger; }
7969
+ get: function () { return chunkW2YC7ZSN_cjs.TooltipTrigger; }
7917
7970
  });
7918
7971
  Object.defineProperty(exports, "TxtIcon", {
7919
7972
  enumerable: true,
7920
- get: function () { return chunk65WT5PHA_cjs.TxtIcon; }
7973
+ get: function () { return chunkW2YC7ZSN_cjs.TxtIcon; }
7921
7974
  });
7922
7975
  Object.defineProperty(exports, "UserEntity", {
7923
7976
  enumerable: true,
7924
- get: function () { return chunk65WT5PHA_cjs.UserEntity; }
7977
+ get: function () { return chunkW2YC7ZSN_cjs.UserEntity; }
7925
7978
  });
7926
7979
  Object.defineProperty(exports, "UserMenu", {
7927
7980
  enumerable: true,
7928
- get: function () { return chunk65WT5PHA_cjs.UserMenu; }
7981
+ get: function () { return chunkW2YC7ZSN_cjs.UserMenu; }
7929
7982
  });
7930
7983
  Object.defineProperty(exports, "VIDEO_MIME_PREFERENCE", {
7931
7984
  enumerable: true,
7932
- get: function () { return chunk65WT5PHA_cjs.VIDEO_MIME_PREFERENCE; }
7985
+ get: function () { return chunkW2YC7ZSN_cjs.VIDEO_MIME_PREFERENCE; }
7933
7986
  });
7934
7987
  Object.defineProperty(exports, "VISIBILITY_ICONS", {
7935
7988
  enumerable: true,
7936
- get: function () { return chunk65WT5PHA_cjs.VISIBILITY_ICONS; }
7989
+ get: function () { return chunkW2YC7ZSN_cjs.VISIBILITY_ICONS; }
7937
7990
  });
7938
7991
  Object.defineProperty(exports, "VerifiedBadge", {
7939
7992
  enumerable: true,
7940
- get: function () { return chunk65WT5PHA_cjs.VerifiedBadge; }
7993
+ get: function () { return chunkW2YC7ZSN_cjs.VerifiedBadge; }
7941
7994
  });
7942
7995
  Object.defineProperty(exports, "VidIcon", {
7943
7996
  enumerable: true,
7944
- get: function () { return chunk65WT5PHA_cjs.VidIcon; }
7997
+ get: function () { return chunkW2YC7ZSN_cjs.VidIcon; }
7945
7998
  });
7946
7999
  Object.defineProperty(exports, "VisibilityIcon", {
7947
8000
  enumerable: true,
7948
- get: function () { return chunk65WT5PHA_cjs.VisibilityIcon; }
8001
+ get: function () { return chunkW2YC7ZSN_cjs.VisibilityIcon; }
7949
8002
  });
7950
8003
  Object.defineProperty(exports, "VisibilityToggle", {
7951
8004
  enumerable: true,
7952
- get: function () { return chunk65WT5PHA_cjs.VisibilityToggle; }
8005
+ get: function () { return chunkW2YC7ZSN_cjs.VisibilityToggle; }
7953
8006
  });
7954
8007
  Object.defineProperty(exports, "XlsIcon", {
7955
8008
  enumerable: true,
7956
- get: function () { return chunk65WT5PHA_cjs.XlsIcon; }
8009
+ get: function () { return chunkW2YC7ZSN_cjs.XlsIcon; }
7957
8010
  });
7958
8011
  Object.defineProperty(exports, "agentAvatarColors", {
7959
8012
  enumerable: true,
7960
- get: function () { return chunk65WT5PHA_cjs.agentAvatarColors; }
8013
+ get: function () { return chunkW2YC7ZSN_cjs.agentAvatarColors; }
7961
8014
  });
7962
8015
  Object.defineProperty(exports, "badgeVariants", {
7963
8016
  enumerable: true,
7964
- get: function () { return chunk65WT5PHA_cjs.badgeVariants; }
8017
+ get: function () { return chunkW2YC7ZSN_cjs.badgeVariants; }
7965
8018
  });
7966
8019
  Object.defineProperty(exports, "cardVariants", {
7967
8020
  enumerable: true,
7968
- get: function () { return chunk65WT5PHA_cjs.cardVariants; }
8021
+ get: function () { return chunkW2YC7ZSN_cjs.cardVariants; }
7969
8022
  });
7970
8023
  Object.defineProperty(exports, "classifyMediaError", {
7971
8024
  enumerable: true,
7972
- get: function () { return chunk65WT5PHA_cjs.classifyMediaError; }
8025
+ get: function () { return chunkW2YC7ZSN_cjs.classifyMediaError; }
7973
8026
  });
7974
8027
  Object.defineProperty(exports, "configureEntityRegistry", {
7975
8028
  enumerable: true,
7976
- get: function () { return chunk65WT5PHA_cjs.configureEntityRegistry; }
8029
+ get: function () { return chunkW2YC7ZSN_cjs.configureEntityRegistry; }
7977
8030
  });
7978
8031
  Object.defineProperty(exports, "configureRagLabels", {
7979
8032
  enumerable: true,
7980
- get: function () { return chunk65WT5PHA_cjs.configureRagLabels; }
8033
+ get: function () { return chunkW2YC7ZSN_cjs.configureRagLabels; }
7981
8034
  });
7982
8035
  Object.defineProperty(exports, "configureStatusRegistry", {
7983
8036
  enumerable: true,
7984
- get: function () { return chunk65WT5PHA_cjs.configureStatusRegistry; }
8037
+ get: function () { return chunkW2YC7ZSN_cjs.configureStatusRegistry; }
7985
8038
  });
7986
8039
  Object.defineProperty(exports, "createChunkedRecorder", {
7987
8040
  enumerable: true,
7988
- get: function () { return chunk65WT5PHA_cjs.createChunkedRecorder; }
8041
+ get: function () { return chunkW2YC7ZSN_cjs.createChunkedRecorder; }
7989
8042
  });
7990
8043
  Object.defineProperty(exports, "flushSegmenter", {
7991
8044
  enumerable: true,
7992
- get: function () { return chunk65WT5PHA_cjs.flushSegmenter; }
8045
+ get: function () { return chunkW2YC7ZSN_cjs.flushSegmenter; }
7993
8046
  });
7994
8047
  Object.defineProperty(exports, "formatElapsed", {
7995
8048
  enumerable: true,
7996
- get: function () { return chunk65WT5PHA_cjs.formatElapsed; }
8049
+ get: function () { return chunkW2YC7ZSN_cjs.formatElapsed; }
7997
8050
  });
7998
8051
  Object.defineProperty(exports, "getDocIcon", {
7999
8052
  enumerable: true,
8000
- get: function () { return chunk65WT5PHA_cjs.getDocIcon; }
8053
+ get: function () { return chunkW2YC7ZSN_cjs.getDocIcon; }
8001
8054
  });
8002
8055
  Object.defineProperty(exports, "getEntityColor", {
8003
8056
  enumerable: true,
8004
- get: function () { return chunk65WT5PHA_cjs.getEntityColor; }
8057
+ get: function () { return chunkW2YC7ZSN_cjs.getEntityColor; }
8005
8058
  });
8006
8059
  Object.defineProperty(exports, "getEntityColorStyles", {
8007
8060
  enumerable: true,
8008
- get: function () { return chunk65WT5PHA_cjs.getEntityColorStyles; }
8061
+ get: function () { return chunkW2YC7ZSN_cjs.getEntityColorStyles; }
8009
8062
  });
8010
8063
  Object.defineProperty(exports, "getEntityIcon", {
8011
8064
  enumerable: true,
8012
- get: function () { return chunk65WT5PHA_cjs.getEntityIcon; }
8065
+ get: function () { return chunkW2YC7ZSN_cjs.getEntityIcon; }
8013
8066
  });
8014
8067
  Object.defineProperty(exports, "getEntityLabel", {
8015
8068
  enumerable: true,
8016
- get: function () { return chunk65WT5PHA_cjs.getEntityLabel; }
8069
+ get: function () { return chunkW2YC7ZSN_cjs.getEntityLabel; }
8017
8070
  });
8018
8071
  Object.defineProperty(exports, "getStatusVariant", {
8019
8072
  enumerable: true,
8020
- get: function () { return chunk65WT5PHA_cjs.getStatusVariant; }
8073
+ get: function () { return chunkW2YC7ZSN_cjs.getStatusVariant; }
8021
8074
  });
8022
8075
  Object.defineProperty(exports, "getTagTypeIcon", {
8023
8076
  enumerable: true,
8024
- get: function () { return chunk65WT5PHA_cjs.getTagTypeIcon; }
8077
+ get: function () { return chunkW2YC7ZSN_cjs.getTagTypeIcon; }
8025
8078
  });
8026
8079
  Object.defineProperty(exports, "getTagTypeLabel", {
8027
8080
  enumerable: true,
8028
- get: function () { return chunk65WT5PHA_cjs.getTagTypeLabel; }
8081
+ get: function () { return chunkW2YC7ZSN_cjs.getTagTypeLabel; }
8029
8082
  });
8030
8083
  Object.defineProperty(exports, "getWorkspaceColor", {
8031
8084
  enumerable: true,
8032
- get: function () { return chunk65WT5PHA_cjs.getWorkspaceColor; }
8085
+ get: function () { return chunkW2YC7ZSN_cjs.getWorkspaceColor; }
8033
8086
  });
8034
8087
  Object.defineProperty(exports, "levelFromRms", {
8035
8088
  enumerable: true,
8036
- get: function () { return chunk65WT5PHA_cjs.levelFromRms; }
8089
+ get: function () { return chunkW2YC7ZSN_cjs.levelFromRms; }
8037
8090
  });
8038
8091
  Object.defineProperty(exports, "pickRecorderMimeType", {
8039
8092
  enumerable: true,
8040
- get: function () { return chunk65WT5PHA_cjs.pickRecorderMimeType; }
8093
+ get: function () { return chunkW2YC7ZSN_cjs.pickRecorderMimeType; }
8041
8094
  });
8042
8095
  Object.defineProperty(exports, "stepSegmenter", {
8043
8096
  enumerable: true,
8044
- get: function () { return chunk65WT5PHA_cjs.stepSegmenter; }
8097
+ get: function () { return chunkW2YC7ZSN_cjs.stepSegmenter; }
8045
8098
  });
8046
8099
  Object.defineProperty(exports, "toggleVariants", {
8047
8100
  enumerable: true,
8048
- get: function () { return chunk65WT5PHA_cjs.toggleVariants; }
8101
+ get: function () { return chunkW2YC7ZSN_cjs.toggleVariants; }
8049
8102
  });
8050
8103
  Object.defineProperty(exports, "useAudioRecorder", {
8051
8104
  enumerable: true,
8052
- get: function () { return chunk65WT5PHA_cjs.useAudioRecorder; }
8053
- });
8054
- Object.defineProperty(exports, "MarkdownCode", {
8055
- enumerable: true,
8056
- get: function () { return chunkOC7F5SNA_cjs.MarkdownCode; }
8057
- });
8058
- Object.defineProperty(exports, "MarkdownLink", {
8059
- enumerable: true,
8060
- get: function () { return chunkOC7F5SNA_cjs.MarkdownLink; }
8061
- });
8062
- Object.defineProperty(exports, "MarkdownRenderer", {
8063
- enumerable: true,
8064
- get: function () { return chunkOC7F5SNA_cjs.MarkdownRenderer; }
8065
- });
8066
- Object.defineProperty(exports, "MarkdownStreamingContext", {
8067
- enumerable: true,
8068
- get: function () { return chunkOC7F5SNA_cjs.MarkdownStreamingContext; }
8069
- });
8070
- Object.defineProperty(exports, "markdownBaseComponents", {
8071
- enumerable: true,
8072
- get: function () { return chunkOC7F5SNA_cjs.markdownBaseComponents; }
8073
- });
8074
- Object.defineProperty(exports, "markdownSanitizeSchema", {
8075
- enumerable: true,
8076
- get: function () { return chunkOC7F5SNA_cjs.markdownSanitizeSchema; }
8077
- });
8078
- Object.defineProperty(exports, "splitMarkdownBlocks", {
8079
- enumerable: true,
8080
- get: function () { return chunkOC7F5SNA_cjs.splitMarkdownBlocks; }
8105
+ get: function () { return chunkW2YC7ZSN_cjs.useAudioRecorder; }
8081
8106
  });
8082
8107
  Object.defineProperty(exports, "Button", {
8083
8108
  enumerable: true,
@@ -8127,6 +8152,34 @@ Object.defineProperty(exports, "buttonVariants", {
8127
8152
  enumerable: true,
8128
8153
  get: function () { return chunkWYZJLZ67_cjs.buttonVariants; }
8129
8154
  });
8155
+ Object.defineProperty(exports, "MarkdownCode", {
8156
+ enumerable: true,
8157
+ get: function () { return chunkOC7F5SNA_cjs.MarkdownCode; }
8158
+ });
8159
+ Object.defineProperty(exports, "MarkdownLink", {
8160
+ enumerable: true,
8161
+ get: function () { return chunkOC7F5SNA_cjs.MarkdownLink; }
8162
+ });
8163
+ Object.defineProperty(exports, "MarkdownRenderer", {
8164
+ enumerable: true,
8165
+ get: function () { return chunkOC7F5SNA_cjs.MarkdownRenderer; }
8166
+ });
8167
+ Object.defineProperty(exports, "MarkdownStreamingContext", {
8168
+ enumerable: true,
8169
+ get: function () { return chunkOC7F5SNA_cjs.MarkdownStreamingContext; }
8170
+ });
8171
+ Object.defineProperty(exports, "markdownBaseComponents", {
8172
+ enumerable: true,
8173
+ get: function () { return chunkOC7F5SNA_cjs.markdownBaseComponents; }
8174
+ });
8175
+ Object.defineProperty(exports, "markdownSanitizeSchema", {
8176
+ enumerable: true,
8177
+ get: function () { return chunkOC7F5SNA_cjs.markdownSanitizeSchema; }
8178
+ });
8179
+ Object.defineProperty(exports, "splitMarkdownBlocks", {
8180
+ enumerable: true,
8181
+ get: function () { return chunkOC7F5SNA_cjs.splitMarkdownBlocks; }
8182
+ });
8130
8183
  Object.defineProperty(exports, "closeOpenEmphasis", {
8131
8184
  enumerable: true,
8132
8185
  get: function () { return chunkZ3LLUO32_cjs.closeOpenEmphasis; }
@@ -8393,16 +8446,20 @@ exports.useConversationPendingAuth = useConversationPendingAuth;
8393
8446
  exports.useConversationUsage = useConversationUsage;
8394
8447
  exports.useCreateAgent = useCreateAgent;
8395
8448
  exports.useCreateContact = useCreateContact;
8449
+ exports.useCreateFact = useCreateFact;
8450
+ exports.useCreateFacts = useCreateFacts;
8396
8451
  exports.useCreateWork = useCreateWork;
8397
8452
  exports.useCreateWorkflow = useCreateWorkflow;
8398
8453
  exports.useCurrentSessionId = useCurrentSessionId;
8399
8454
  exports.useDeleteAccount = useDeleteAccount;
8400
8455
  exports.useDeleteAccountFlow = useDeleteAccountFlow;
8401
8456
  exports.useDeleteContact = useDeleteContact;
8457
+ exports.useDeleteFact = useDeleteFact;
8402
8458
  exports.useDeleteWorkflow = useDeleteWorkflow;
8403
8459
  exports.useDirectMessages = useDirectMessages;
8404
8460
  exports.useDisconnectMailAccount = useDisconnectMailAccount;
8405
8461
  exports.useEmailChange = useEmailChange;
8462
+ exports.useFacts = useFacts;
8406
8463
  exports.useFilteredProjects = useFilteredProjects;
8407
8464
  exports.useFollowThread = useFollowThread;
8408
8465
  exports.useGenerateAgentAvatar = useGenerateAgentAvatar;
@@ -8440,6 +8497,7 @@ exports.useRunConversation = useRunConversation;
8440
8497
  exports.useRunWorkflow = useRunWorkflow;
8441
8498
  exports.useSaveAgentConfig = useSaveAgentConfig;
8442
8499
  exports.useSaveMailDraft = useSaveMailDraft;
8500
+ exports.useSearchFacts = useSearchFacts;
8443
8501
  exports.useSemanticSearch = useSemanticSearch;
8444
8502
  exports.useSendBackStep = useSendBackStep;
8445
8503
  exports.useSendMail = useSendMail;
@@ -8454,6 +8512,7 @@ exports.useTagKindSchema = useTagKindSchema;
8454
8512
  exports.useTerminateSession = useTerminateSession;
8455
8513
  exports.useUpdateContact = useUpdateContact;
8456
8514
  exports.useUpdateConversation = useUpdateConversation;
8515
+ exports.useUpdateFact = useUpdateFact;
8457
8516
  exports.useUpdateMailMessage = useUpdateMailMessage;
8458
8517
  exports.useUpdateProfile = useUpdateProfile;
8459
8518
  exports.useUpdateProjectFields = useUpdateProjectFields;