@arbidocs/react 0.4.71 → 0.4.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/annotations/index.cjs +48 -48
  2. package/dist/annotations/index.js +2 -2
  3. package/dist/artifacts/index.cjs +7 -7
  4. package/dist/artifacts/index.js +2 -2
  5. package/dist/{chunk-6TFD5OS5.cjs → chunk-GE5TAR7Y.cjs} +3 -2
  6. package/dist/chunk-GE5TAR7Y.cjs.map +1 -0
  7. package/dist/{chunk-3QF5DNAP.js → chunk-IHTBAY57.js} +3 -3
  8. package/dist/{chunk-3QF5DNAP.js.map → chunk-IHTBAY57.js.map} +1 -1
  9. package/dist/{chunk-6ERJUIMQ.js → chunk-IQ5TYPVU.js} +3 -2
  10. package/dist/chunk-IQ5TYPVU.js.map +1 -0
  11. package/dist/{chunk-ULU5LEWF.cjs → chunk-L2PXZWJM.cjs} +25 -25
  12. package/dist/{chunk-ULU5LEWF.cjs.map → chunk-L2PXZWJM.cjs.map} +1 -1
  13. package/dist/{chunk-V4CXOPLB.js → chunk-MHCN7OST.js} +19 -7
  14. package/dist/{chunk-V4CXOPLB.js.map → chunk-MHCN7OST.js.map} +1 -1
  15. package/dist/{chunk-BTRIS3HY.cjs → chunk-QJRP2LLQ.cjs} +19 -6
  16. package/dist/chunk-QJRP2LLQ.cjs.map +1 -0
  17. package/dist/{chunk-LQ5YHB7W.cjs → chunk-WYZJLZ67.cjs} +6 -4
  18. package/dist/chunk-WYZJLZ67.cjs.map +1 -0
  19. package/dist/{chunk-WS6DF5X4.js → chunk-YNNAJJ5Z.js} +6 -4
  20. package/dist/chunk-YNNAJJ5Z.js.map +1 -0
  21. package/dist/document-tools/index.cjs +6 -6
  22. package/dist/document-tools/index.js +3 -3
  23. package/dist/{index-BWv_FKi3.d.cts → index-BVMBElCu.d.cts} +82 -1
  24. package/dist/{index-BWv_FKi3.d.ts → index-BVMBElCu.d.ts} +82 -1
  25. package/dist/index.cjs +641 -314
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.d.cts +281 -5
  28. package/dist/index.d.ts +281 -5
  29. package/dist/index.js +324 -11
  30. package/dist/index.js.map +1 -1
  31. package/dist/ui/index.cjs +129 -125
  32. package/dist/ui/index.d.cts +1 -1
  33. package/dist/ui/index.d.ts +1 -1
  34. package/dist/ui/index.js +2 -2
  35. package/package.json +4 -3
  36. package/dist/chunk-6ERJUIMQ.js.map +0 -1
  37. package/dist/chunk-6TFD5OS5.cjs.map +0 -1
  38. package/dist/chunk-BTRIS3HY.cjs.map +0 -1
  39. package/dist/chunk-LQ5YHB7W.cjs.map +0 -1
  40. package/dist/chunk-WS6DF5X4.js.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var chunk6TFD5OS5_cjs = require('./chunk-6TFD5OS5.cjs');
3
+ var chunkGE5TAR7Y_cjs = require('./chunk-GE5TAR7Y.cjs');
4
4
  var chunk5DCRIWCA_cjs = require('./chunk-5DCRIWCA.cjs');
5
5
  var chunkF7KQVVD2_cjs = require('./chunk-F7KQVVD2.cjs');
6
- var chunkBTRIS3HY_cjs = require('./chunk-BTRIS3HY.cjs');
6
+ var chunkTMPDW7J5_cjs = require('./chunk-TMPDW7J5.cjs');
7
+ var chunkIIT7DMQL_cjs = require('./chunk-IIT7DMQL.cjs');
8
+ var chunkQJRP2LLQ_cjs = require('./chunk-QJRP2LLQ.cjs');
7
9
  var chunk5SZ2J2WT_cjs = require('./chunk-5SZ2J2WT.cjs');
8
- var chunkLQ5YHB7W_cjs = require('./chunk-LQ5YHB7W.cjs');
10
+ var chunkWYZJLZ67_cjs = require('./chunk-WYZJLZ67.cjs');
9
11
  var chunkZ3LLUO32_cjs = require('./chunk-Z3LLUO32.cjs');
10
12
  var chunkHUZB36QU_cjs = require('./chunk-HUZB36QU.cjs');
11
13
  var chunkHJDR5HEO_cjs = require('./chunk-HJDR5HEO.cjs');
12
14
  var chunkS6A6FSG7_cjs = require('./chunk-S6A6FSG7.cjs');
13
- var chunkTMPDW7J5_cjs = require('./chunk-TMPDW7J5.cjs');
14
- var chunkIIT7DMQL_cjs = require('./chunk-IIT7DMQL.cjs');
15
15
  var React = require('react');
16
16
  var reactQuery = require('@tanstack/react-query');
17
17
  var browser = require('@arbidocs/sdk/browser');
@@ -41,7 +41,7 @@ function useUpdateConversation() {
41
41
  conversationId,
42
42
  patch
43
43
  }) => arbi.conversations.update(conversationId, patch),
44
- onSuccess: () => qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.allConversations() })
44
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.allConversations() })
45
45
  });
46
46
  }
47
47
  function useCreateWork() {
@@ -49,7 +49,7 @@ function useCreateWork() {
49
49
  const qc = reactQuery.useQueryClient();
50
50
  return reactQuery.useMutation({
51
51
  mutationFn: (body) => arbi.conversations.createWork(body),
52
- onSuccess: () => qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.allConversations() })
52
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.allConversations() })
53
53
  });
54
54
  }
55
55
  function useRunConversation() {
@@ -57,7 +57,18 @@ function useRunConversation() {
57
57
  const qc = reactQuery.useQueryClient();
58
58
  return reactQuery.useMutation({
59
59
  mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
60
- onSuccess: () => qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.allConversations() })
60
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.allConversations() })
61
+ });
62
+ }
63
+ function useActOnStep() {
64
+ const arbi = chunkIIT7DMQL_cjs.useArbi();
65
+ const qc = reactQuery.useQueryClient();
66
+ return reactQuery.useMutation({
67
+ mutationFn: ({
68
+ conversationId,
69
+ body
70
+ }) => arbi.conversations.actOnStep(conversationId, body),
71
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.allConversations() })
61
72
  });
62
73
  }
63
74
  function usePlanWork() {
@@ -69,7 +80,7 @@ function usePlanWork() {
69
80
  function useConversationPendingAuth(conversationId, options) {
70
81
  const arbi = chunkIIT7DMQL_cjs.useArbi();
71
82
  return reactQuery.useQuery({
72
- queryKey: [...chunk6TFD5OS5_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "pending-auth"],
83
+ queryKey: [...chunkGE5TAR7Y_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "pending-auth"],
73
84
  queryFn: () => arbi.conversations.pendingAuth(conversationId),
74
85
  enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
75
86
  retry: false
@@ -78,7 +89,7 @@ function useConversationPendingAuth(conversationId, options) {
78
89
  function useConversationActivity(conversationId, options) {
79
90
  const arbi = chunkIIT7DMQL_cjs.useArbi();
80
91
  return reactQuery.useQuery({
81
- queryKey: [...chunk6TFD5OS5_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "activity"],
92
+ queryKey: [...chunkGE5TAR7Y_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "activity"],
82
93
  queryFn: () => arbi.conversations.activity(conversationId),
83
94
  enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
84
95
  refetchInterval: options?.live ? 2500 : false
@@ -87,7 +98,7 @@ function useConversationActivity(conversationId, options) {
87
98
  function useWorkflows(options) {
88
99
  const arbi = chunkIIT7DMQL_cjs.useArbi();
89
100
  return reactQuery.useQuery({
90
- queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.workflows(),
101
+ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.workflows(),
91
102
  queryFn: () => arbi.workflows.list(),
92
103
  refetchInterval: options?.live ? 15e3 : false,
93
104
  enabled: options?.enabled ?? arbi.isLoggedIn
@@ -98,7 +109,7 @@ function useCreateWorkflow() {
98
109
  const qc = reactQuery.useQueryClient();
99
110
  return reactQuery.useMutation({
100
111
  mutationFn: (body) => arbi.workflows.create(body),
101
- onSuccess: () => qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.workflows() })
112
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.workflows() })
102
113
  });
103
114
  }
104
115
  function useUpdateWorkflow() {
@@ -109,7 +120,7 @@ function useUpdateWorkflow() {
109
120
  workflowId,
110
121
  patch
111
122
  }) => arbi.workflows.update(workflowId, patch),
112
- onSuccess: () => qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.workflows() })
123
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.workflows() })
113
124
  });
114
125
  }
115
126
  function useDeleteWorkflow() {
@@ -117,7 +128,7 @@ function useDeleteWorkflow() {
117
128
  const qc = reactQuery.useQueryClient();
118
129
  return reactQuery.useMutation({
119
130
  mutationFn: (workflowId) => arbi.workflows.delete(workflowId),
120
- onSuccess: () => qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.workflows() })
131
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.workflows() })
121
132
  });
122
133
  }
123
134
  function useRunWorkflow() {
@@ -126,8 +137,8 @@ function useRunWorkflow() {
126
137
  return reactQuery.useMutation({
127
138
  mutationFn: (workflowId) => arbi.workflows.run(workflowId),
128
139
  onSuccess: () => Promise.all([
129
- qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.workflows() }),
130
- qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.allConversations() })
140
+ qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.workflows() }),
141
+ qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.allConversations() })
131
142
  ])
132
143
  });
133
144
  }
@@ -136,13 +147,13 @@ function useCreateAgent() {
136
147
  const qc = reactQuery.useQueryClient();
137
148
  return reactQuery.useMutation({
138
149
  mutationFn: (name) => arbi.agents.create(name),
139
- onSuccess: () => qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.agents() })
150
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.agents() })
140
151
  });
141
152
  }
142
153
  function useAgentConfig(agentExtId, options) {
143
154
  const arbi = chunkIIT7DMQL_cjs.useArbi();
144
155
  return reactQuery.useQuery({
145
- queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.agentConfig(agentExtId),
156
+ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.agentConfig(agentExtId),
146
157
  queryFn: async () => agentExtId ? await arbi.agents.getConfig(agentExtId) : await arbi.agentConfig.get("default"),
147
158
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
148
159
  });
@@ -150,7 +161,7 @@ function useAgentConfig(agentExtId, options) {
150
161
  function useAgentModels(options) {
151
162
  const arbi = chunkIIT7DMQL_cjs.useArbi();
152
163
  return reactQuery.useQuery({
153
- queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.models(),
164
+ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.models(),
154
165
  queryFn: async () => (await arbi.agentConfig.getModels()).models.map((m) => m.model_name),
155
166
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
156
167
  });
@@ -173,17 +184,17 @@ function useSaveAgentConfig() {
173
184
  });
174
185
  },
175
186
  onSuccess: (_saved, { agentExtId }) => Promise.all([
176
- qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.configs() }),
177
- qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.agentConfig(agentExtId) }),
187
+ qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.configs() }),
188
+ qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.agentConfig(agentExtId) }),
178
189
  // The agent list shows the pinned persona/model, so it refreshes too.
179
- qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.agents() })
190
+ qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.agents() })
180
191
  ])
181
192
  });
182
193
  }
183
194
  function useAgentWorkspaces(agentExtId, options) {
184
195
  const arbi = chunkIIT7DMQL_cjs.useArbi();
185
196
  return reactQuery.useQuery({
186
- queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.agentWorkspaces(agentExtId ?? ""),
197
+ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.agentWorkspaces(agentExtId ?? ""),
187
198
  queryFn: () => arbi.agents.listWorkspaces(agentExtId),
188
199
  enabled: (options?.enabled ?? true) && !!agentExtId && arbi.isLoggedIn
189
200
  });
@@ -204,7 +215,7 @@ function useGrantAgentAccess() {
204
215
  if (!agent?.email) throw new Error("The agent's address is unknown.");
205
216
  return arbi.workspaces.grantAccess({ workspaceId, emails: [agent.email] });
206
217
  },
207
- onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
218
+ onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
208
219
  });
209
220
  }
210
221
  function useRevokeAgentAccess() {
@@ -223,13 +234,13 @@ function useRevokeAgentAccess() {
223
234
  if (previous && previous !== workspaceId) await arbi.selectWorkspace(previous);
224
235
  }
225
236
  },
226
- onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
237
+ onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
227
238
  });
228
239
  }
229
240
  function useSkills(options) {
230
241
  const arbi = chunkIIT7DMQL_cjs.useArbi();
231
242
  return reactQuery.useQuery({
232
- queryKey: [...chunk6TFD5OS5_cjs.arbiQueryKeys.skills(), options?.includeHidden ?? false],
243
+ queryKey: [...chunkGE5TAR7Y_cjs.arbiQueryKeys.skills(), options?.includeHidden ?? false],
233
244
  queryFn: () => arbi.assistant.listSkills({ includeHidden: options?.includeHidden }),
234
245
  refetchInterval: options?.live ? 5e3 : false,
235
246
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn,
@@ -260,7 +271,7 @@ function useUploadSkillFiles() {
260
271
  }
261
272
  return results;
262
273
  },
263
- onSuccess: () => qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.skills() })
274
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.skills() })
264
275
  });
265
276
  }
266
277
  function useStartWorkQuery() {
@@ -287,7 +298,7 @@ function useStartWorkQuery() {
287
298
  `The run ${response.id} started, but its thread is not available yet. Do not submit it again.`
288
299
  );
289
300
  },
290
- onSuccess: () => qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.allConversations() })
301
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.allConversations() })
291
302
  });
292
303
  }
293
304
  function useAgentSession(agentId, options) {
@@ -441,8 +452,8 @@ function useArbiChat(options = {}) {
441
452
  const recoveryIntervalMs = streamRecovery?.intervalMs ?? 3e3;
442
453
  const recoveryTimeoutMs = streamRecovery?.timeoutMs ?? 12e4;
443
454
  const arbi = chunkIIT7DMQL_cjs.useArbi();
444
- const { data: docs = [], isLoading: isLoadingDocuments, refetch } = chunk6TFD5OS5_cjs.useDocuments(workspaceId);
445
- const ordinaryHistory = chunk6TFD5OS5_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
455
+ const { data: docs = [], isLoading: isLoadingDocuments, refetch } = chunkGE5TAR7Y_cjs.useDocuments(workspaceId);
456
+ const ordinaryHistory = chunkGE5TAR7Y_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
446
457
  const agentHistory = useAgentChats(agentId);
447
458
  const stored = React.useMemo(
448
459
  () => agentId ? (agentHistory.data ?? []).filter((chat) => chat.workspace_ext_id === workspaceId).map((chat) => ({
@@ -457,7 +468,7 @@ function useArbiChat(options = {}) {
457
468
  );
458
469
  const isLoadingThreads = agentId ? agentHistory.isLoading : ordinaryHistory.isLoading;
459
470
  const refetchConversations = agentId ? agentHistory.refetch : ordinaryHistory.refetch;
460
- const query = chunk6TFD5OS5_cjs.useAssistantQuery();
471
+ const query = chunkGE5TAR7Y_cjs.useAssistantQuery();
461
472
  const { mutateAsync } = query;
462
473
  const [stagedFiles, setStagedFiles] = React.useState([]);
463
474
  const [threads, setThreads] = React.useState(() => [emptyThread()]);
@@ -517,7 +528,7 @@ function useArbiChat(options = {}) {
517
528
  (conversation) => conversation.external_id === active.conversationId && conversation.status === "generating"
518
529
  ) || active.messages.some((message) => message.status === "streaming");
519
530
  const needsLoad = !!active.conversationId && !active.isLoaded;
520
- const loaded = chunk6TFD5OS5_cjs.useConversationThreads(workspaceId, active.conversationId ?? void 0, {
531
+ const loaded = chunkGE5TAR7Y_cjs.useConversationThreads(workspaceId, active.conversationId ?? void 0, {
521
532
  enabled: needsLoad || liveHistory && !isRunning && !isPostingComment,
522
533
  live: liveHistory
523
534
  });
@@ -1296,14 +1307,14 @@ function useArbiDocumentSync(workspaceId) {
1296
1307
  if (!workspaceId) return;
1297
1308
  if (client.isMessageType(msg, "batch_complete")) {
1298
1309
  if (msg.workspace_ext_id !== workspaceId) return;
1299
- void queryClient.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.documents(workspaceId) });
1300
- void queryClient.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.tags(workspaceId) });
1310
+ void queryClient.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.documents(workspaceId) });
1311
+ void queryClient.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.tags(workspaceId) });
1301
1312
  return;
1302
1313
  }
1303
1314
  if (client.isMessageType(msg, "task_update")) {
1304
1315
  if (msg.workspace_ext_id !== workspaceId) return;
1305
1316
  if (TERMINAL_STATUSES.has(msg.status)) {
1306
- void queryClient.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.documents(workspaceId) });
1317
+ void queryClient.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.documents(workspaceId) });
1307
1318
  }
1308
1319
  }
1309
1320
  });
@@ -1432,7 +1443,7 @@ function useShellWorkspaces(options) {
1432
1443
  }
1433
1444
  function useArbiShellWorkspaces(options = {}) {
1434
1445
  const arbi = chunkIIT7DMQL_cjs.useArbi();
1435
- const query = chunk6TFD5OS5_cjs.useWorkspaces();
1446
+ const query = chunkGE5TAR7Y_cjs.useWorkspaces();
1436
1447
  const { select, ...rest } = options;
1437
1448
  const defaultSelect = React.useCallback(
1438
1449
  (workspace) => arbi.selectWorkspace(workspace.id),
@@ -1449,7 +1460,7 @@ function useArbiShellWorkspaces(options = {}) {
1449
1460
  function useContacts(options) {
1450
1461
  const arbi = chunkIIT7DMQL_cjs.useArbi();
1451
1462
  return reactQuery.useQuery({
1452
- queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.contacts(),
1463
+ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.contacts(),
1453
1464
  queryFn: () => arbi.contacts.list(),
1454
1465
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
1455
1466
  });
@@ -1469,7 +1480,7 @@ function useAddContacts() {
1469
1480
  const qc = reactQuery.useQueryClient();
1470
1481
  return reactQuery.useMutation({
1471
1482
  mutationFn: (emails) => arbi.contacts.add(emails),
1472
- onSuccess: () => qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.contacts() })
1483
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.contacts() })
1473
1484
  });
1474
1485
  }
1475
1486
  function useRemoveContacts() {
@@ -1477,7 +1488,7 @@ function useRemoveContacts() {
1477
1488
  const qc = reactQuery.useQueryClient();
1478
1489
  return reactQuery.useMutation({
1479
1490
  mutationFn: (contactIds) => arbi.contacts.remove(contactIds),
1480
- onSuccess: () => qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.contacts() })
1491
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.contacts() })
1481
1492
  });
1482
1493
  }
1483
1494
  function toProfileView(profile) {
@@ -1489,7 +1500,7 @@ function toProfileView(profile) {
1489
1500
  function useProfile(options) {
1490
1501
  const arbi = chunkIIT7DMQL_cjs.useArbi();
1491
1502
  return reactQuery.useQuery({
1492
- queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.profile(),
1503
+ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.profile(),
1493
1504
  queryFn: () => {
1494
1505
  const profile = arbi.user.profile();
1495
1506
  return profile ? toProfileView(profile) : null;
@@ -1512,8 +1523,9 @@ function useUpdateProfile() {
1512
1523
  return profile ? toProfileView(profile) : null;
1513
1524
  },
1514
1525
  onSuccess: (profile) => {
1515
- qc.setQueryData(chunk6TFD5OS5_cjs.arbiQueryKeys.profile(), profile);
1516
- return qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.workspaces() });
1526
+ qc.setQueryData(chunkGE5TAR7Y_cjs.arbiQueryKeys.profile(), profile);
1527
+ void qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.identity() });
1528
+ return qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.workspaces() });
1517
1529
  }
1518
1530
  });
1519
1531
  }
@@ -1598,7 +1610,7 @@ function useConfirmEmailChange() {
1598
1610
  mutationFn: ({ newEmail, code }) => arbi.account.confirmEmailChange(newEmail, code),
1599
1611
  onSuccess: () => {
1600
1612
  const profile = arbi.user.profile();
1601
- qc.setQueryData(chunk6TFD5OS5_cjs.arbiQueryKeys.profile(), profile ? toProfileView(profile) : null);
1613
+ qc.setQueryData(chunkGE5TAR7Y_cjs.arbiQueryKeys.profile(), profile ? toProfileView(profile) : null);
1602
1614
  }
1603
1615
  });
1604
1616
  }
@@ -1767,7 +1779,7 @@ function toNotificationPreferences(stored, keys) {
1767
1779
  function useUserSettings(options) {
1768
1780
  const arbi = chunkIIT7DMQL_cjs.useArbi();
1769
1781
  return reactQuery.useQuery({
1770
- queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.userSettings(),
1782
+ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.userSettings(),
1771
1783
  queryFn: () => arbi.settings.get(),
1772
1784
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
1773
1785
  });
@@ -1780,18 +1792,18 @@ function useNotificationPreferences(keys, options) {
1780
1792
  const save = reactQuery.useMutation({
1781
1793
  mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
1782
1794
  onMutate: async (patch) => {
1783
- await qc.cancelQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.userSettings() });
1784
- const previous = qc.getQueryData(chunk6TFD5OS5_cjs.arbiQueryKeys.userSettings());
1795
+ await qc.cancelQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.userSettings() });
1796
+ const previous = qc.getQueryData(chunkGE5TAR7Y_cjs.arbiQueryKeys.userSettings());
1785
1797
  qc.setQueryData(
1786
- chunk6TFD5OS5_cjs.arbiQueryKeys.userSettings(),
1798
+ chunkGE5TAR7Y_cjs.arbiQueryKeys.userSettings(),
1787
1799
  (old) => old ? { ...old, email_notifications: { ...old.email_notifications, ...patch } } : old
1788
1800
  );
1789
1801
  return { previous };
1790
1802
  },
1791
1803
  onError: (_err, _patch, context) => {
1792
- qc.setQueryData(chunk6TFD5OS5_cjs.arbiQueryKeys.userSettings(), context?.previous);
1804
+ qc.setQueryData(chunkGE5TAR7Y_cjs.arbiQueryKeys.userSettings(), context?.previous);
1793
1805
  },
1794
- onSettled: () => qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.userSettings() })
1806
+ onSettled: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.userSettings() })
1795
1807
  });
1796
1808
  const model = React.useMemo(() => toNotificationPreferences(stored, keys), [stored, keys]);
1797
1809
  const setAll = React.useCallback(
@@ -1817,7 +1829,7 @@ function useTerminateSession() {
1817
1829
  const qc = reactQuery.useQueryClient();
1818
1830
  return reactQuery.useMutation({
1819
1831
  mutationFn: (sessionId) => arbi.sessions.terminate(sessionId),
1820
- onSuccess: () => qc.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.sessions() })
1832
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.sessions() })
1821
1833
  });
1822
1834
  }
1823
1835
  function useLogoutAllSessions() {
@@ -1892,8 +1904,309 @@ function useDeleteAccountFlow({
1892
1904
  onClose: close
1893
1905
  };
1894
1906
  }
1907
+
1908
+ // src/account/didit.ts
1909
+ var sdkPromise = null;
1910
+ function loadDidit() {
1911
+ sdkPromise ??= import('@didit-protocol/sdk-web').then((m) => m.DiditSdk);
1912
+ sdkPromise.catch(() => {
1913
+ sdkPromise = null;
1914
+ });
1915
+ return sdkPromise;
1916
+ }
1917
+ async function mountDiditVerification({
1918
+ url,
1919
+ containerId,
1920
+ onResult
1921
+ }) {
1922
+ const Sdk = await loadDidit();
1923
+ const sdk = Sdk.shared;
1924
+ sdk.onComplete = onResult;
1925
+ await sdk.startVerification({
1926
+ url,
1927
+ configuration: {
1928
+ embedded: true,
1929
+ embeddedContainerId: containerId,
1930
+ showCloseButton: false,
1931
+ closeModalOnComplete: true
1932
+ }
1933
+ });
1934
+ return () => {
1935
+ sdk.onComplete = void 0;
1936
+ sdk.destroy();
1937
+ };
1938
+ }
1939
+
1940
+ // src/account/identity.ts
1941
+ function problemOf(error, fallback) {
1942
+ const code = browser.identityErrorCode(error) ?? error?.code;
1943
+ const message = error instanceof Error && error.message ? error.message : fallback;
1944
+ return { code: typeof code === "string" ? code : void 0, message };
1945
+ }
1946
+ function identityStepFor(status) {
1947
+ if (!status) return "pay";
1948
+ if (["name_mismatch", "in_review", "verified"].includes(status.state)) return "result";
1949
+ if (status.state === "declined") return status.attempts_left > 0 ? "result" : "pay";
1950
+ if (status.state === "in_progress" || status.attempts_left > 0) return "verify";
1951
+ return "pay";
1952
+ }
1953
+ function formatIdentityPrice(status) {
1954
+ let amount;
1955
+ try {
1956
+ amount = new Intl.NumberFormat("en-GB", {
1957
+ style: "currency",
1958
+ currency: status.currency
1959
+ }).format(status.price_pence / 100);
1960
+ } catch {
1961
+ amount = `${(status.price_pence / 100).toFixed(2)} ${status.currency}`;
1962
+ }
1963
+ return `${amount} incl. VAT`;
1964
+ }
1965
+ function useIdentityVerificationFlow(api, {
1966
+ enabled = true,
1967
+ onVerifiedChange,
1968
+ onNameAccepted,
1969
+ formatPrice = formatIdentityPrice
1970
+ } = {}) {
1971
+ const qc = reactQuery.useQueryClient();
1972
+ const apiRef = React.useRef(api);
1973
+ apiRef.current = api;
1974
+ const query = reactQuery.useQuery({
1975
+ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.identity(),
1976
+ queryFn: () => apiRef.current.status(),
1977
+ enabled,
1978
+ staleTime: 6e4
1979
+ });
1980
+ const status = query.data;
1981
+ const [isOpen, setIsOpen] = React.useState(false);
1982
+ const [step, setStep] = React.useState("pay");
1983
+ const [busy, setBusy] = React.useState(null);
1984
+ const [problem, setProblem] = React.useState(null);
1985
+ const [paymentUrl, setPaymentUrl] = React.useState(null);
1986
+ const [sessionUrl, setSessionUrl] = React.useState(null);
1987
+ const [container, setContainer] = React.useState(null);
1988
+ const [embedFailed, setEmbedFailed] = React.useState(false);
1989
+ const verifyContainerId = `didit-${React.useId().replace(/[^a-zA-Z0-9_-]/g, "")}`;
1990
+ const lastVerified = React.useRef(void 0);
1991
+ const apply = React.useCallback(
1992
+ (next) => {
1993
+ qc.setQueryData(chunkGE5TAR7Y_cjs.arbiQueryKeys.identity(), next);
1994
+ if (lastVerified.current !== void 0 && lastVerified.current !== next.verified) {
1995
+ onVerifiedChange?.(next.verified);
1996
+ }
1997
+ lastVerified.current = next.verified;
1998
+ return next;
1999
+ },
2000
+ [qc, onVerifiedChange]
2001
+ );
2002
+ React.useEffect(() => {
2003
+ if (status && lastVerified.current === void 0) lastVerified.current = status.verified;
2004
+ }, [status]);
2005
+ const run = React.useCallback(
2006
+ async (kind, fallback, fn) => {
2007
+ setBusy(kind);
2008
+ setProblem(null);
2009
+ try {
2010
+ return await fn();
2011
+ } catch (e) {
2012
+ setProblem(problemOf(e, fallback));
2013
+ return void 0;
2014
+ } finally {
2015
+ setBusy(null);
2016
+ }
2017
+ },
2018
+ []
2019
+ );
2020
+ const isOpenRef = React.useRef(false);
2021
+ const closeRef = React.useRef(() => {
2022
+ });
2023
+ const startVerifyRef = React.useRef(async () => {
2024
+ });
2025
+ const refresh = React.useCallback(async () => {
2026
+ const next = await run(
2027
+ "refresh",
2028
+ "Could not read the verification result",
2029
+ () => apiRef.current.refresh()
2030
+ );
2031
+ if (!next) return;
2032
+ apply(next);
2033
+ if (next.state === "in_progress") return;
2034
+ setSessionUrl(null);
2035
+ const nextStep = next.state === "declined" ? "result" : identityStepFor(next);
2036
+ if (nextStep === "verify" && isOpenRef.current) void startVerifyRef.current();
2037
+ else setStep(nextStep);
2038
+ }, [run, apply]);
2039
+ const refreshedOnLoad = React.useRef(false);
2040
+ React.useEffect(() => {
2041
+ if (refreshedOnLoad.current || !status) return;
2042
+ refreshedOnLoad.current = true;
2043
+ if (status.state === "in_progress" || status.state === "in_review") void refresh();
2044
+ }, [status, refresh]);
2045
+ const startVerify = React.useCallback(async () => {
2046
+ setStep("verify");
2047
+ setEmbedFailed(false);
2048
+ const url = await run(
2049
+ "start",
2050
+ "Could not start identity verification",
2051
+ () => apiRef.current.startSession()
2052
+ );
2053
+ if (url) {
2054
+ setSessionUrl(url);
2055
+ return;
2056
+ }
2057
+ setStep("pay");
2058
+ }, [run]);
2059
+ startVerifyRef.current = startVerify;
2060
+ React.useEffect(() => {
2061
+ if (!isOpen || step !== "verify" || !sessionUrl || !container || embedFailed) return;
2062
+ let teardown;
2063
+ let cancelled = false;
2064
+ mountDiditVerification({
2065
+ url: sessionUrl,
2066
+ containerId: container.id,
2067
+ onResult: (result) => {
2068
+ if (result.type === "failed" && result.error?.type === "cameraAccessDenied") {
2069
+ setEmbedFailed(true);
2070
+ return;
2071
+ }
2072
+ if (result.type === "cancelled") {
2073
+ closeRef.current();
2074
+ return;
2075
+ }
2076
+ void refresh();
2077
+ }
2078
+ }).then((stop) => {
2079
+ if (cancelled) stop();
2080
+ else teardown = stop;
2081
+ }).catch(() => setEmbedFailed(true));
2082
+ return () => {
2083
+ cancelled = true;
2084
+ teardown?.();
2085
+ };
2086
+ }, [isOpen, step, sessionUrl, container, embedFailed, refresh]);
2087
+ const [waitingInTab, setWaitingInTab] = React.useState(false);
2088
+ React.useEffect(() => {
2089
+ if (!waitingInTab || typeof window === "undefined") return;
2090
+ const onFocus = () => void refresh();
2091
+ window.addEventListener("focus", onFocus);
2092
+ return () => window.removeEventListener("focus", onFocus);
2093
+ }, [waitingInTab, refresh]);
2094
+ const open = React.useCallback(() => {
2095
+ isOpenRef.current = true;
2096
+ setProblem(null);
2097
+ setPaymentUrl(status?.pending_payment_url ?? null);
2098
+ const first = identityStepFor(status);
2099
+ setStep(first);
2100
+ setIsOpen(true);
2101
+ if (first === "verify") void startVerify();
2102
+ }, [status, startVerify]);
2103
+ const close = React.useCallback(() => {
2104
+ isOpenRef.current = false;
2105
+ setIsOpen(false);
2106
+ setSessionUrl(null);
2107
+ setWaitingInTab(false);
2108
+ setEmbedFailed(false);
2109
+ setProblem(null);
2110
+ }, []);
2111
+ closeRef.current = close;
2112
+ const pay = React.useCallback(async () => {
2113
+ const result = await run(
2114
+ "pay",
2115
+ "Payment could not be completed",
2116
+ () => apiRef.current.purchase()
2117
+ );
2118
+ if (!result) return;
2119
+ if (result.status === "requires_action") {
2120
+ setPaymentUrl(result.payment_url ?? null);
2121
+ return;
2122
+ }
2123
+ setPaymentUrl(null);
2124
+ void query.refetch();
2125
+ void startVerify();
2126
+ }, [run, query, startVerify]);
2127
+ const acceptName = React.useCallback(async () => {
2128
+ const offered = status;
2129
+ const next = await run(
2130
+ "accept",
2131
+ "Could not change your name",
2132
+ () => apiRef.current.acceptName()
2133
+ );
2134
+ if (!next) return;
2135
+ apply(next);
2136
+ if (offered?.document_given_name) {
2137
+ onNameAccepted?.({
2138
+ givenName: offered.document_given_name,
2139
+ familyName: offered.document_family_name ?? null
2140
+ });
2141
+ }
2142
+ }, [run, apply, status, onNameAccepted]);
2143
+ const remove = React.useCallback(async () => {
2144
+ const next = await run(
2145
+ "remove",
2146
+ "Could not remove the verification",
2147
+ () => apiRef.current.remove()
2148
+ );
2149
+ if (next) apply(next);
2150
+ }, [run, apply]);
2151
+ const price = React.useMemo(() => status ? formatPrice(status) : null, [status, formatPrice]);
2152
+ return {
2153
+ status,
2154
+ isLoading: query.isLoading,
2155
+ price,
2156
+ isOpen,
2157
+ open,
2158
+ close,
2159
+ step,
2160
+ busy,
2161
+ problem,
2162
+ paymentUrl,
2163
+ pay: () => void pay(),
2164
+ recheckPayment: () => void startVerify(),
2165
+ verifyContainerId,
2166
+ verifyContainerRef: setContainer,
2167
+ embedFailed,
2168
+ openInNewTab: () => {
2169
+ if (!sessionUrl || typeof window === "undefined") return;
2170
+ window.open(sessionUrl, "_blank", "noopener");
2171
+ setWaitingInTab(true);
2172
+ },
2173
+ checkResult: () => void refresh(),
2174
+ retry: () => void startVerify(),
2175
+ acceptName: () => void acceptName(),
2176
+ keepName: close,
2177
+ remove: () => void remove()
2178
+ };
2179
+ }
2180
+ function useIdentityVerification(options = {}) {
2181
+ const arbi = chunkIIT7DMQL_cjs.useArbi();
2182
+ const qc = reactQuery.useQueryClient();
2183
+ const api = React.useMemo(
2184
+ () => ({
2185
+ status: () => arbi.identity.status(),
2186
+ purchase: () => arbi.identity.purchase(),
2187
+ startSession: () => arbi.identity.startSession(),
2188
+ refresh: () => arbi.identity.refresh(),
2189
+ acceptName: () => arbi.identity.acceptName(),
2190
+ remove: () => arbi.identity.remove()
2191
+ }),
2192
+ [arbi]
2193
+ );
2194
+ const { onVerifiedChange, onNameAccepted } = options;
2195
+ return useIdentityVerificationFlow(api, {
2196
+ enabled: arbi.isLoggedIn,
2197
+ onVerifiedChange: (verified) => {
2198
+ void qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.profile() });
2199
+ onVerifiedChange?.(verified);
2200
+ },
2201
+ onNameAccepted: (name) => {
2202
+ void qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.profile() });
2203
+ void qc.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.workspaces() });
2204
+ onNameAccepted?.(name);
2205
+ }
2206
+ });
2207
+ }
1895
2208
  function useWorkspaceDocs(workspaceId) {
1896
- const { data: docs = [], isLoading, isError } = chunk6TFD5OS5_cjs.useDocuments(workspaceId);
2209
+ const { data: docs = [], isLoading, isError } = chunkGE5TAR7Y_cjs.useDocuments(workspaceId);
1897
2210
  const docIds = React.useMemo(
1898
2211
  () => docs.map((d) => d.external_id).filter((id) => !!id),
1899
2212
  [docs]
@@ -1901,7 +2214,7 @@ function useWorkspaceDocs(workspaceId) {
1901
2214
  return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
1902
2215
  }
1903
2216
  function useAiTask() {
1904
- const mutation = chunk6TFD5OS5_cjs.useAssistantQuery();
2217
+ const mutation = chunkGE5TAR7Y_cjs.useAssistantQuery();
1905
2218
  const [status, setStatus] = React.useState("idle");
1906
2219
  const [text, setText] = React.useState("");
1907
2220
  const [stepCount, setStepCount] = React.useState(0);
@@ -2115,7 +2428,7 @@ function AiAnswer({
2115
2428
  }
2116
2429
  ),
2117
2430
  hasText && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2118
- /* @__PURE__ */ jsxRuntime.jsx(chunkBTRIS3HY_cjs.AiMarkdown, { isStreaming: running, children: text }),
2431
+ /* @__PURE__ */ jsxRuntime.jsx(chunkQJRP2LLQ_cjs.AiMarkdown, { isStreaming: running, children: text }),
2119
2432
  !running && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-t border-border pt-2.5", children: [
2120
2433
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs text-muted-foreground", children: [
2121
2434
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ShieldCheck, { className: "size-3.5 text-ai-accent" }),
@@ -2160,7 +2473,7 @@ function AiActionCard({
2160
2473
  const p = typeof prompt === "function" ? prompt() : prompt;
2161
2474
  void task.run(p, docIds);
2162
2475
  };
2163
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkBTRIS3HY_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
2476
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkQJRP2LLQ_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
2164
2477
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
2165
2478
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
2166
2479
  /* @__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" }) }),
@@ -2170,7 +2483,7 @@ function AiActionCard({
2170
2483
  ] })
2171
2484
  ] }),
2172
2485
  /* @__PURE__ */ jsxRuntime.jsxs(
2173
- chunkLQ5YHB7W_cjs.Button,
2486
+ chunkWYZJLZ67_cjs.Button,
2174
2487
  {
2175
2488
  variant: task.isDone ? "outline" : "accent",
2176
2489
  size: "sm",
@@ -2302,11 +2615,11 @@ function ArtifactCanvas({
2302
2615
  children: active.title
2303
2616
  }
2304
2617
  ),
2305
- isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunkBTRIS3HY_cjs.Badge, { variant: "accent", className: "gap-1", children: [
2618
+ isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunkQJRP2LLQ_cjs.Badge, { variant: "accent", className: "gap-1", children: [
2306
2619
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.GitCompareArrows, { className: "size-3" }),
2307
2620
  " Redline"
2308
2621
  ] }),
2309
- /* @__PURE__ */ jsxRuntime.jsxs(chunkBTRIS3HY_cjs.Badge, { variant: "secondary", children: [
2622
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkQJRP2LLQ_cjs.Badge, { variant: "secondary", children: [
2310
2623
  "v",
2311
2624
  active.version
2312
2625
  ] }),
@@ -2362,7 +2675,7 @@ function ArtifactCanvas({
2362
2675
  animate: { opacity: 1, y: 0 },
2363
2676
  transition: { duration: 0.2 },
2364
2677
  className: "mx-auto max-w-2xl rounded-lg bg-card p-8 shadow-sm ring-1 ring-border",
2365
- 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(chunkBTRIS3HY_cjs.AiMarkdown, { children: active.content })
2678
+ 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(chunkQJRP2LLQ_cjs.AiMarkdown, { children: active.content })
2366
2679
  },
2367
2680
  active.doc_ext_id
2368
2681
  ) }) })
@@ -2379,7 +2692,7 @@ function MessageArtifactCard({
2379
2692
  const Icon = isImage ? lucideReact.Image : lucideReact.FileText;
2380
2693
  const statusText = isImage ? isComplete ? "Image ready" : "Generating\u2026" : isComplete ? "Draft ready" : "Drafting\u2026";
2381
2694
  return /* @__PURE__ */ jsxRuntime.jsxs(
2382
- chunkBTRIS3HY_cjs.Card,
2695
+ chunkQJRP2LLQ_cjs.Card,
2383
2696
  {
2384
2697
  variant: "outline",
2385
2698
  className: "mt-3 flex items-center gap-3 px-3 py-2.5",
@@ -2455,7 +2768,7 @@ function DocSearch({
2455
2768
  status === "done" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", "data-testid": "doc-search-results", children: [
2456
2769
  /* @__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` }),
2457
2770
  results.slice(0, 8).map((r, i) => /* @__PURE__ */ jsxRuntime.jsxs(
2458
- chunkBTRIS3HY_cjs.Card,
2771
+ chunkQJRP2LLQ_cjs.Card,
2459
2772
  {
2460
2773
  variant: "elevated",
2461
2774
  className: chunkS6A6FSG7_cjs.cn(
@@ -2468,7 +2781,7 @@ function DocSearch({
2468
2781
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-1 flex items-center gap-2", children: [
2469
2782
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 text-ai-accent" }),
2470
2783
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: r.docTitle ?? "Document" }),
2471
- r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkBTRIS3HY_cjs.Badge, { variant: "secondary", children: [
2784
+ r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkQJRP2LLQ_cjs.Badge, { variant: "secondary", children: [
2472
2785
  "p.",
2473
2786
  r.page
2474
2787
  ] }),
@@ -2494,8 +2807,8 @@ function DocumentReview({
2494
2807
  onClose,
2495
2808
  className
2496
2809
  }) {
2497
- const parsedQuery = chunk6TFD5OS5_cjs.useParsedDocument(docId, stage);
2498
- const tagsQuery = chunk6TFD5OS5_cjs.useTags(workspaceId);
2810
+ const parsedQuery = chunkGE5TAR7Y_cjs.useParsedDocument(docId, stage);
2811
+ const tagsQuery = chunkGE5TAR7Y_cjs.useTags(workspaceId);
2499
2812
  const tagNameById = React__default.default.useMemo(() => {
2500
2813
  const map = /* @__PURE__ */ new Map();
2501
2814
  for (const t of tagsQuery.data ?? []) {
@@ -2562,7 +2875,7 @@ function DocumentReview({
2562
2875
  findings.length ? ` \xB7 ${findings.length} findings` : ""
2563
2876
  ] })
2564
2877
  ] }),
2565
- doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(chunkBTRIS3HY_cjs.Badge, { variant: "secondary", children: doc.status }) : null,
2878
+ doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(chunkQJRP2LLQ_cjs.Badge, { variant: "secondary", children: doc.status }) : null,
2566
2879
  onClose ? /* @__PURE__ */ jsxRuntime.jsx(
2567
2880
  "button",
2568
2881
  {
@@ -2599,7 +2912,7 @@ function DocumentReview({
2599
2912
  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",
2600
2913
  children: [
2601
2914
  /* @__PURE__ */ jsxRuntime.jsx(
2602
- chunkBTRIS3HY_cjs.TagEntity,
2915
+ chunkQJRP2LLQ_cjs.TagEntity,
2603
2916
  {
2604
2917
  size: "sm",
2605
2918
  tag: {
@@ -2644,7 +2957,7 @@ function DocumentReview({
2644
2957
  ),
2645
2958
  children: [
2646
2959
  highlighted ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1", children: /* @__PURE__ */ jsxRuntime.jsx(
2647
- chunkBTRIS3HY_cjs.TagEntity,
2960
+ chunkQJRP2LLQ_cjs.TagEntity,
2648
2961
  {
2649
2962
  size: "sm",
2650
2963
  tag: {
@@ -2693,7 +3006,7 @@ function ResultRow({
2693
3006
  onSelect
2694
3007
  }) {
2695
3008
  return /* @__PURE__ */ jsxRuntime.jsx(
2696
- chunkBTRIS3HY_cjs.PassageCard,
3009
+ chunkQJRP2LLQ_cjs.PassageCard,
2697
3010
  {
2698
3011
  onClick: onSelect,
2699
3012
  active: isActive,
@@ -2702,7 +3015,7 @@ function ResultRow({
2702
3015
  header: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2703
3016
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 shrink-0 text-ai-accent" }),
2704
3017
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: result.docTitle ?? "Document" }),
2705
- result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkBTRIS3HY_cjs.Badge, { variant: "secondary", children: [
3018
+ result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkQJRP2LLQ_cjs.Badge, { variant: "secondary", children: [
2706
3019
  "p.",
2707
3020
  result.page
2708
3021
  ] })
@@ -2726,7 +3039,7 @@ function SemanticSearch({
2726
3039
  const { results, status, error, search, isRunning, query } = useSemanticSearch(docIds);
2727
3040
  const [value, setValue] = React.useState("");
2728
3041
  const [selected, setSelected] = React.useState(null);
2729
- const { data: docs = [] } = chunk6TFD5OS5_cjs.useDocuments(workspaceId, { enabled: !!workspaceId });
3042
+ const { data: docs = [] } = chunkGE5TAR7Y_cjs.useDocuments(workspaceId, { enabled: !!workspaceId });
2730
3043
  const docMap = React.useMemo(() => {
2731
3044
  const map = /* @__PURE__ */ new Map();
2732
3045
  for (const d of docs) if (d.external_id) map.set(d.external_id, d);
@@ -2812,7 +3125,7 @@ function SemanticSearch({
2812
3125
  "data-testid": "arbi-semantic-search-viewer",
2813
3126
  children: selected && selected.docId ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col gap-2", children: [
2814
3127
  /* @__PURE__ */ jsxRuntime.jsxs(
2815
- chunkLQ5YHB7W_cjs.Button,
3128
+ chunkWYZJLZ67_cjs.Button,
2816
3129
  {
2817
3130
  variant: "ghost",
2818
3131
  size: "sm",
@@ -2871,7 +3184,7 @@ Question: ${question}`,
2871
3184
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 space-y-3", "data-testid": "doc-qa", children: [
2872
3185
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
2873
3186
  /* @__PURE__ */ jsxRuntime.jsx(
2874
- chunkBTRIS3HY_cjs.Input,
3187
+ chunkQJRP2LLQ_cjs.Input,
2875
3188
  {
2876
3189
  value: q,
2877
3190
  onChange: (e) => setQ(e.target.value),
@@ -2882,7 +3195,7 @@ Question: ${question}`,
2882
3195
  }
2883
3196
  ),
2884
3197
  /* @__PURE__ */ jsxRuntime.jsx(
2885
- chunkLQ5YHB7W_cjs.Button,
3198
+ chunkWYZJLZ67_cjs.Button,
2886
3199
  {
2887
3200
  variant: "accent",
2888
3201
  size: "icon",
@@ -2894,7 +3207,7 @@ Question: ${question}`,
2894
3207
  }
2895
3208
  ),
2896
3209
  /* @__PURE__ */ jsxRuntime.jsxs(
2897
- chunkLQ5YHB7W_cjs.Button,
3210
+ chunkWYZJLZ67_cjs.Button,
2898
3211
  {
2899
3212
  variant: "outline",
2900
3213
  size: "sm",
@@ -3073,7 +3386,7 @@ var CitationPopover = ({
3073
3386
  return () => {
3074
3387
  if (!restoreFocusRef.current) return;
3075
3388
  restoreFocusRef.current = false;
3076
- if (triggerRef.current) chunkBTRIS3HY_cjs.returnFocusToMark(triggerRef.current);
3389
+ if (triggerRef.current) chunkQJRP2LLQ_cjs.returnFocusToMark(triggerRef.current);
3077
3390
  };
3078
3391
  }, [open]);
3079
3392
  React.useEffect(() => {
@@ -3274,7 +3587,7 @@ var CitationLink = ({
3274
3587
  triggerRef,
3275
3588
  children
3276
3589
  }) => /* @__PURE__ */ jsxRuntime.jsxs(
3277
- chunkBTRIS3HY_cjs.MarkMenu,
3590
+ chunkQJRP2LLQ_cjs.MarkMenu,
3278
3591
  {
3279
3592
  triggerRef,
3280
3593
  items,
@@ -3312,8 +3625,8 @@ var FileIcon = ({ size = 16, className = "" }) => {
3312
3625
  "path",
3313
3626
  {
3314
3627
  d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
3315
- fill: chunkBTRIS3HY_cjs.FILE_TYPE_COLORS.generic,
3316
- stroke: chunkBTRIS3HY_cjs.FILE_TYPE_COLORS.generic,
3628
+ fill: chunkQJRP2LLQ_cjs.FILE_TYPE_COLORS.generic,
3629
+ stroke: chunkQJRP2LLQ_cjs.FILE_TYPE_COLORS.generic,
3317
3630
  strokeWidth: "1",
3318
3631
  strokeLinecap: "round",
3319
3632
  strokeLinejoin: "round"
@@ -3324,7 +3637,7 @@ var FileIcon = ({ size = 16, className = "" }) => {
3324
3637
  {
3325
3638
  d: "M14 2v6h6",
3326
3639
  fill: "none",
3327
- stroke: chunkBTRIS3HY_cjs.FILE_TYPE_COLORS.white,
3640
+ stroke: chunkQJRP2LLQ_cjs.FILE_TYPE_COLORS.white,
3328
3641
  strokeWidth: "1",
3329
3642
  strokeLinecap: "round",
3330
3643
  strokeLinejoin: "round"
@@ -3680,7 +3993,7 @@ var ArbiBotIcon = ({ size = 24, className = "" }) => {
3680
3993
  );
3681
3994
  };
3682
3995
  function getNotificationTypeMeta(type) {
3683
- const WorkspaceIcon = chunkBTRIS3HY_cjs.getEntityIcon("WORKSPACE");
3996
+ const WorkspaceIcon = chunkQJRP2LLQ_cjs.getEntityIcon("WORKSPACE");
3684
3997
  switch (type) {
3685
3998
  case "agent_input_requested":
3686
3999
  return { Icon: lucideReact.MessageCircleMore, iconClassName: "text-primary", label: "Input needed" };
@@ -3800,7 +4113,7 @@ function describeActivity(content) {
3800
4113
  }
3801
4114
  default:
3802
4115
  return {
3803
- Icon: parsed.workspace_ext_id ? chunkBTRIS3HY_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
4116
+ Icon: parsed.workspace_ext_id ? chunkQJRP2LLQ_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
3804
4117
  iconClassName: "text-muted-foreground",
3805
4118
  title: humaniseEvent(parsed.event)
3806
4119
  };
@@ -3830,7 +4143,7 @@ function ActivityFeed({
3830
4143
  enabled,
3831
4144
  "data-testid": testId = "activity-feed"
3832
4145
  }) {
3833
- const { data, isLoading, isError } = chunk6TFD5OS5_cjs.useActivity({ limit, enabled });
4146
+ const { data, isLoading, isError } = chunkGE5TAR7Y_cjs.useActivity({ limit, enabled });
3834
4147
  if (isLoading) {
3835
4148
  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: [
3836
4149
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
@@ -3981,7 +4294,7 @@ function useDirectMessages(options) {
3981
4294
  enabled
3982
4295
  });
3983
4296
  const contactsQuery = reactQuery.useQuery({
3984
- queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.contacts(),
4297
+ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.contacts(),
3985
4298
  queryFn: () => arbi.contacts.list(),
3986
4299
  enabled
3987
4300
  });
@@ -4043,7 +4356,7 @@ function DmAvatar({ user, className, size = "lg" }) {
4043
4356
  const presence = useArbiWsStore((s) => s.presence[user.external_id]);
4044
4357
  const displayStatus = presence === void 0 ? void 0 : presence === "online" ? "connected" : "disconnected";
4045
4358
  return /* @__PURE__ */ jsxRuntime.jsx(
4046
- chunkBTRIS3HY_cjs.UserEntity,
4359
+ chunkQJRP2LLQ_cjs.UserEntity,
4047
4360
  {
4048
4361
  variant: "icon",
4049
4362
  size,
@@ -4053,7 +4366,7 @@ function DmAvatar({ user, className, size = "lg" }) {
4053
4366
  initials: userInitials(user),
4054
4367
  displayName: userDisplayName(user),
4055
4368
  picture: user.picture,
4056
- avatarStyle: chunkBTRIS3HY_cjs.getEntityColorStyles(user.external_id),
4369
+ avatarStyle: chunkQJRP2LLQ_cjs.getEntityColorStyles(user.external_id),
4057
4370
  isAgent: isAgentUser(user),
4058
4371
  displayStatus
4059
4372
  }
@@ -4108,10 +4421,10 @@ function ConversationList({
4108
4421
  children: userDisplayName(peer)
4109
4422
  }
4110
4423
  ),
4111
- c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunkBTRIS3HY_cjs.AgentBadge, {}) : null)
4424
+ c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunkQJRP2LLQ_cjs.AgentBadge, {}) : null)
4112
4425
  ] }),
4113
4426
  c.statusLabel ? /* @__PURE__ */ jsxRuntime.jsx(
4114
- chunkBTRIS3HY_cjs.Badge,
4427
+ chunkQJRP2LLQ_cjs.Badge,
4115
4428
  {
4116
4429
  variant: "outline",
4117
4430
  className: "shrink-0 rounded-full px-2 py-0 text-xs font-medium text-muted-foreground",
@@ -4122,7 +4435,7 @@ function ConversationList({
4122
4435
  // shouted louder than the message it was counting.
4123
4436
  // Enough to catch the eye scanning the list, no more.
4124
4437
  /* @__PURE__ */ jsxRuntime.jsx(
4125
- chunkBTRIS3HY_cjs.Badge,
4438
+ chunkQJRP2LLQ_cjs.Badge,
4126
4439
  {
4127
4440
  variant: "accent",
4128
4441
  className: chunkS6A6FSG7_cjs.cn(
@@ -4425,7 +4738,7 @@ function DmComposer({
4425
4738
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-end gap-2", children: [
4426
4739
  allowAttachments && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4427
4740
  /* @__PURE__ */ jsxRuntime.jsx(
4428
- chunkLQ5YHB7W_cjs.Button,
4741
+ chunkWYZJLZ67_cjs.Button,
4429
4742
  {
4430
4743
  type: "button",
4431
4744
  variant: "ghost",
@@ -4455,7 +4768,7 @@ function DmComposer({
4455
4768
  )
4456
4769
  ] }),
4457
4770
  /* @__PURE__ */ jsxRuntime.jsx(
4458
- chunkBTRIS3HY_cjs.Textarea,
4771
+ chunkQJRP2LLQ_cjs.Textarea,
4459
4772
  {
4460
4773
  ref: inputRef,
4461
4774
  value: draft,
@@ -4470,7 +4783,7 @@ function DmComposer({
4470
4783
  }
4471
4784
  ),
4472
4785
  /* @__PURE__ */ jsxRuntime.jsxs(
4473
- chunkLQ5YHB7W_cjs.Button,
4786
+ chunkWYZJLZ67_cjs.Button,
4474
4787
  {
4475
4788
  type: "button",
4476
4789
  onClick: () => void submit(),
@@ -4549,9 +4862,9 @@ function StartByEmail({
4549
4862
  void submit();
4550
4863
  },
4551
4864
  children: [
4552
- /* @__PURE__ */ jsxRuntime.jsx(chunkBTRIS3HY_cjs.Label, { htmlFor: `${uid}-email`, children: l.email }),
4865
+ /* @__PURE__ */ jsxRuntime.jsx(chunkQJRP2LLQ_cjs.Label, { htmlFor: `${uid}-email`, children: l.email }),
4553
4866
  /* @__PURE__ */ jsxRuntime.jsx(
4554
- chunkBTRIS3HY_cjs.Input,
4867
+ chunkQJRP2LLQ_cjs.Input,
4555
4868
  {
4556
4869
  id: `${uid}-email`,
4557
4870
  type: "email",
@@ -4565,9 +4878,9 @@ function StartByEmail({
4565
4878
  }
4566
4879
  ),
4567
4880
  email !== "" && !valid && /* @__PURE__ */ jsxRuntime.jsx("p", { id: `${uid}-bad`, className: "text-xs text-destructive", children: l.invalidEmail }),
4568
- /* @__PURE__ */ jsxRuntime.jsx(chunkBTRIS3HY_cjs.Label, { htmlFor: `${uid}-text`, children: l.message }),
4881
+ /* @__PURE__ */ jsxRuntime.jsx(chunkQJRP2LLQ_cjs.Label, { htmlFor: `${uid}-text`, children: l.message }),
4569
4882
  /* @__PURE__ */ jsxRuntime.jsx(
4570
- chunkBTRIS3HY_cjs.Textarea,
4883
+ chunkQJRP2LLQ_cjs.Textarea,
4571
4884
  {
4572
4885
  id: `${uid}-text`,
4573
4886
  value: text,
@@ -4580,7 +4893,7 @@ function StartByEmail({
4580
4893
  ),
4581
4894
  error && /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-xs text-destructive", "data-testid": "arbi-dm-start-error", children: error }),
4582
4895
  /* @__PURE__ */ jsxRuntime.jsxs(
4583
- chunkLQ5YHB7W_cjs.Button,
4896
+ chunkWYZJLZ67_cjs.Button,
4584
4897
  {
4585
4898
  type: "submit",
4586
4899
  size: "sm",
@@ -4780,7 +5093,7 @@ function ImageCropper({
4780
5093
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
4781
5094
  /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Zoom" }),
4782
5095
  /* @__PURE__ */ jsxRuntime.jsx(
4783
- chunkBTRIS3HY_cjs.Slider,
5096
+ chunkQJRP2LLQ_cjs.Slider,
4784
5097
  {
4785
5098
  value: [zoom],
4786
5099
  onValueChange: ([v]) => setZoom(v ?? 1),
@@ -4857,8 +5170,8 @@ function ImageCropModal({
4857
5170
  setBusy(false);
4858
5171
  }
4859
5172
  };
4860
- return /* @__PURE__ */ jsxRuntime.jsx(chunkLQ5YHB7W_cjs.Dialog, { open, onOpenChange: (next) => !next ? onCancel() : void 0, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkLQ5YHB7W_cjs.DialogContent, { className: "sm:max-w-md", "data-testid": "image-crop-modal", children: [
4861
- /* @__PURE__ */ jsxRuntime.jsx(chunkLQ5YHB7W_cjs.DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkLQ5YHB7W_cjs.DialogTitle, { children: title }) }),
5173
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkWYZJLZ67_cjs.Dialog, { open, onOpenChange: (next) => !next ? onCancel() : void 0, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkWYZJLZ67_cjs.DialogContent, { className: "sm:max-w-md", "data-testid": "image-crop-modal", children: [
5174
+ /* @__PURE__ */ jsxRuntime.jsx(chunkWYZJLZ67_cjs.DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkWYZJLZ67_cjs.DialogTitle, { children: title }) }),
4862
5175
  image ? /* @__PURE__ */ jsxRuntime.jsx(
4863
5176
  ImageCropper,
4864
5177
  {
@@ -4869,9 +5182,9 @@ function ImageCropModal({
4869
5182
  onCropComplete: setArea
4870
5183
  }
4871
5184
  ) : null,
4872
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLQ5YHB7W_cjs.DialogFooter, { className: "gap-2 sm:gap-2", children: [
4873
- /* @__PURE__ */ jsxRuntime.jsx(chunkLQ5YHB7W_cjs.Button, { variant: "ghost", onClick: onCancel, disabled: busy, children: "Cancel" }),
4874
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLQ5YHB7W_cjs.Button, { onClick: handleSave, disabled: !area || busy, "data-testid": "image-crop-save", children: [
5185
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkWYZJLZ67_cjs.DialogFooter, { className: "gap-2 sm:gap-2", children: [
5186
+ /* @__PURE__ */ jsxRuntime.jsx(chunkWYZJLZ67_cjs.Button, { variant: "ghost", onClick: onCancel, disabled: busy, children: "Cancel" }),
5187
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkWYZJLZ67_cjs.Button, { onClick: handleSave, disabled: !area || busy, "data-testid": "image-crop-save", children: [
4875
5188
  busy ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "mr-1 size-4 animate-spin" }) : null,
4876
5189
  saveLabel
4877
5190
  ] })
@@ -4937,8 +5250,8 @@ function CommandPalette({
4937
5250
  if (!q || task.isRunning) return;
4938
5251
  void task.run(buildAskPrompt(q), askDocIds, { model });
4939
5252
  };
4940
- return /* @__PURE__ */ jsxRuntime.jsx(chunkLQ5YHB7W_cjs.Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
4941
- chunkLQ5YHB7W_cjs.DialogContent,
5253
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkWYZJLZ67_cjs.Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
5254
+ chunkWYZJLZ67_cjs.DialogContent,
4942
5255
  {
4943
5256
  className: chunkS6A6FSG7_cjs.cn(
4944
5257
  "top-[12%] max-w-2xl translate-y-0 gap-0 overflow-hidden p-0",
@@ -4946,7 +5259,7 @@ function CommandPalette({
4946
5259
  ),
4947
5260
  "data-testid": testId,
4948
5261
  children: [
4949
- /* @__PURE__ */ jsxRuntime.jsx(chunkLQ5YHB7W_cjs.DialogTitle, { className: "sr-only", children: "Command palette" }),
5262
+ /* @__PURE__ */ jsxRuntime.jsx(chunkWYZJLZ67_cjs.DialogTitle, { className: "sr-only", children: "Command palette" }),
4950
5263
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 border-b border-border px-4", children: [
4951
5264
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: chunkS6A6FSG7_cjs.cn("size-4 shrink-0 text-ai-accent", classNames?.leadingIcon) }),
4952
5265
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -5017,7 +5330,7 @@ function CommandPalette({
5017
5330
  }
5018
5331
  ),
5019
5332
  task.isDone && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-3 flex justify-end", children: /* @__PURE__ */ jsxRuntime.jsx(
5020
- chunkLQ5YHB7W_cjs.Button,
5333
+ chunkWYZJLZ67_cjs.Button,
5021
5334
  {
5022
5335
  variant: "outline",
5023
5336
  size: "sm",
@@ -5152,10 +5465,10 @@ function DocumentTable({
5152
5465
  extraColumns,
5153
5466
  className
5154
5467
  }) {
5155
- const query = chunk6TFD5OS5_cjs.useDocuments(workspaceId, { enabled: !documents });
5468
+ const query = chunkGE5TAR7Y_cjs.useDocuments(workspaceId, { enabled: !documents });
5156
5469
  const rows = documents ?? query.data ?? [];
5157
5470
  const isLoading = !documents && query.isLoading;
5158
- const tagsQuery = chunk6TFD5OS5_cjs.useTags(workspaceId);
5471
+ const tagsQuery = chunkGE5TAR7Y_cjs.useTags(workspaceId);
5159
5472
  const tagNameById = React__default.default.useMemo(() => {
5160
5473
  const map = /* @__PURE__ */ new Map();
5161
5474
  for (const t of tagsQuery.data ?? []) {
@@ -5215,7 +5528,7 @@ function DocumentTable({
5215
5528
  const doc = p.data;
5216
5529
  if (!doc) return null;
5217
5530
  return /* @__PURE__ */ jsxRuntime.jsx(
5218
- chunkBTRIS3HY_cjs.DocumentEntity,
5531
+ chunkQJRP2LLQ_cjs.DocumentEntity,
5219
5532
  {
5220
5533
  doc,
5221
5534
  size: "base",
@@ -5238,7 +5551,7 @@ function DocumentTable({
5238
5551
  cellRenderer: (p) => {
5239
5552
  const status = p.data?.status;
5240
5553
  if (!status) return null;
5241
- return /* @__PURE__ */ jsxRuntime.jsx(chunkBTRIS3HY_cjs.Badge, { variant: STATUS_VARIANTS[status.toLowerCase()] ?? "secondary", children: status });
5554
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkQJRP2LLQ_cjs.Badge, { variant: STATUS_VARIANTS[status.toLowerCase()] ?? "secondary", children: status });
5242
5555
  }
5243
5556
  },
5244
5557
  {
@@ -5252,7 +5565,7 @@ function DocumentTable({
5252
5565
  const doctags = p.data?.doctags ?? [];
5253
5566
  if (doctags.length === 0) return null;
5254
5567
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap items-center gap-1 py-1", children: doctags.map((dt) => /* @__PURE__ */ jsxRuntime.jsx(
5255
- chunkBTRIS3HY_cjs.TagEntity,
5568
+ chunkQJRP2LLQ_cjs.TagEntity,
5256
5569
  {
5257
5570
  size: "sm",
5258
5571
  tag: {
@@ -5336,7 +5649,7 @@ function DocumentCardMenu({
5336
5649
  const invalidateDocuments = () => {
5337
5650
  const workspaceId = arbi.getWorkspaceId();
5338
5651
  if (workspaceId) {
5339
- void queryClient.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.documents(workspaceId) });
5652
+ void queryClient.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.documents(workspaceId) });
5340
5653
  }
5341
5654
  };
5342
5655
  const download = reactQuery.useMutation({
@@ -5435,10 +5748,10 @@ function DocumentGallery({
5435
5748
  minTileWidth = 148,
5436
5749
  className
5437
5750
  }) {
5438
- const query = chunk6TFD5OS5_cjs.useDocuments(workspaceId, { enabled: !documents });
5751
+ const query = chunkGE5TAR7Y_cjs.useDocuments(workspaceId, { enabled: !documents });
5439
5752
  const rows = documents ?? query.data ?? [];
5440
5753
  const isLoading = !documents && query.isLoading;
5441
- const tagsQuery = chunk6TFD5OS5_cjs.useTags(workspaceId);
5754
+ const tagsQuery = chunkGE5TAR7Y_cjs.useTags(workspaceId);
5442
5755
  const tagNameById = React__default.default.useMemo(() => {
5443
5756
  const map = /* @__PURE__ */ new Map();
5444
5757
  for (const t of tagsQuery.data ?? []) {
@@ -5450,7 +5763,7 @@ function DocumentGallery({
5450
5763
  () => rows.map((d) => d.external_id).filter((id) => !!id),
5451
5764
  [rows]
5452
5765
  );
5453
- const thumbsQuery = chunk6TFD5OS5_cjs.useThumbnails(docIds);
5766
+ const thumbsQuery = chunkGE5TAR7Y_cjs.useThumbnails(docIds);
5454
5767
  const thumbs = thumbsQuery.data ?? {};
5455
5768
  const storeSelected = useArbiUiStore((s) => s.selectedDocIds);
5456
5769
  const storeSetSelected = useArbiUiStore((s) => s.setSelectedDocIds);
@@ -5486,7 +5799,7 @@ function DocumentGallery({
5486
5799
  setRenamingId(null);
5487
5800
  const activeWorkspace = workspaceId ?? arbi.getWorkspaceId();
5488
5801
  if (activeWorkspace) {
5489
- void queryClient.invalidateQueries({ queryKey: chunk6TFD5OS5_cjs.arbiQueryKeys.documents(activeWorkspace) });
5802
+ void queryClient.invalidateQueries({ queryKey: chunkGE5TAR7Y_cjs.arbiQueryKeys.documents(activeWorkspace) });
5490
5803
  }
5491
5804
  }
5492
5805
  });
@@ -5528,7 +5841,7 @@ function DocumentGallery({
5528
5841
  (dt) => tagNameById.get(dt.tag_ext_id) ?? dt.tag_ext_id.slice(0, 8)
5529
5842
  );
5530
5843
  return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-doc-id": id, "data-testid": "document-gallery-card", children: /* @__PURE__ */ jsxRuntime.jsx(
5531
- chunkBTRIS3HY_cjs.DocumentCard,
5844
+ chunkQJRP2LLQ_cjs.DocumentCard,
5532
5845
  {
5533
5846
  doc,
5534
5847
  thumbnailUrl: thumbs[id],
@@ -5565,7 +5878,7 @@ function VoiceNoteRecorder({
5565
5878
  isSaving = false,
5566
5879
  transcribe
5567
5880
  }) {
5568
- const recorder = chunkBTRIS3HY_cjs.useAudioRecorder();
5881
+ const recorder = chunkQJRP2LLQ_cjs.useAudioRecorder();
5569
5882
  const [transcript, setTranscript] = React.useState(null);
5570
5883
  const [isTranscribing, setIsTranscribing] = React.useState(false);
5571
5884
  React.useEffect(() => {
@@ -5597,7 +5910,7 @@ function VoiceNoteRecorder({
5597
5910
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col items-center justify-center gap-6 p-8", children: [
5598
5911
  recorder.state === "idle" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5599
5912
  /* @__PURE__ */ jsxRuntime.jsx(
5600
- chunkLQ5YHB7W_cjs.Button,
5913
+ chunkWYZJLZ67_cjs.Button,
5601
5914
  {
5602
5915
  type: "button",
5603
5916
  size: "lg",
@@ -5611,7 +5924,7 @@ function VoiceNoteRecorder({
5611
5924
  ] }),
5612
5925
  (recorder.state === "recording" || recorder.state === "paused") && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5613
5926
  /* @__PURE__ */ jsxRuntime.jsx(
5614
- chunkBTRIS3HY_cjs.MicWaveformIndicator,
5927
+ chunkQJRP2LLQ_cjs.MicWaveformIndicator,
5615
5928
  {
5616
5929
  level: recorder.level,
5617
5930
  elapsedMs: recorder.elapsedMs,
@@ -5620,7 +5933,7 @@ function VoiceNoteRecorder({
5620
5933
  ),
5621
5934
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
5622
5935
  recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsxs(
5623
- chunkLQ5YHB7W_cjs.Button,
5936
+ chunkWYZJLZ67_cjs.Button,
5624
5937
  {
5625
5938
  type: "button",
5626
5939
  variant: "outline",
@@ -5632,7 +5945,7 @@ function VoiceNoteRecorder({
5632
5945
  ]
5633
5946
  }
5634
5947
  ) : /* @__PURE__ */ jsxRuntime.jsxs(
5635
- chunkLQ5YHB7W_cjs.Button,
5948
+ chunkWYZJLZ67_cjs.Button,
5636
5949
  {
5637
5950
  type: "button",
5638
5951
  variant: "outline",
@@ -5644,7 +5957,7 @@ function VoiceNoteRecorder({
5644
5957
  ]
5645
5958
  }
5646
5959
  ),
5647
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLQ5YHB7W_cjs.Button, { type: "button", onClick: recorder.stop, "data-testid": "voice-note-stop-button", children: [
5960
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkWYZJLZ67_cjs.Button, { type: "button", onClick: recorder.stop, "data-testid": "voice-note-stop-button", children: [
5648
5961
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "mr-1.5 h-3.5 w-3.5 fill-current" }),
5649
5962
  "Stop"
5650
5963
  ] })
@@ -5668,7 +5981,7 @@ function VoiceNoteRecorder({
5668
5981
  ),
5669
5982
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
5670
5983
  /* @__PURE__ */ jsxRuntime.jsxs(
5671
- chunkLQ5YHB7W_cjs.Button,
5984
+ chunkWYZJLZ67_cjs.Button,
5672
5985
  {
5673
5986
  type: "button",
5674
5987
  variant: "outline",
@@ -5682,7 +5995,7 @@ function VoiceNoteRecorder({
5682
5995
  }
5683
5996
  ),
5684
5997
  /* @__PURE__ */ jsxRuntime.jsxs(
5685
- chunkLQ5YHB7W_cjs.Button,
5998
+ chunkWYZJLZ67_cjs.Button,
5686
5999
  {
5687
6000
  type: "button",
5688
6001
  variant: "outline",
@@ -5696,7 +6009,7 @@ function VoiceNoteRecorder({
5696
6009
  }
5697
6010
  ),
5698
6011
  /* @__PURE__ */ jsxRuntime.jsxs(
5699
- chunkLQ5YHB7W_cjs.Button,
6012
+ chunkWYZJLZ67_cjs.Button,
5700
6013
  {
5701
6014
  type: "button",
5702
6015
  onClick: handleSave,
@@ -5733,7 +6046,7 @@ function DraftTitleControls({
5733
6046
  }
5734
6047
  ),
5735
6048
  /* @__PURE__ */ jsxRuntime.jsx(
5736
- chunkBTRIS3HY_cjs.IconToggle,
6049
+ chunkQJRP2LLQ_cjs.IconToggle,
5737
6050
  {
5738
6051
  icon: lucideReact.Sparkles,
5739
6052
  isActive: autoRename,
@@ -5767,7 +6080,7 @@ function useCameraStream(constraints = { video: true, audio: false }) {
5767
6080
  streamRef.current = media;
5768
6081
  setStream(media);
5769
6082
  } catch (err) {
5770
- setError(chunkBTRIS3HY_cjs.classifyMediaError(err, "camera"));
6083
+ setError(chunkQJRP2LLQ_cjs.classifyMediaError(err, "camera"));
5771
6084
  } finally {
5772
6085
  setIsStarting(false);
5773
6086
  }
@@ -5898,7 +6211,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5898
6211
  }
5899
6212
  ) }),
5900
6213
  /* @__PURE__ */ jsxRuntime.jsx(
5901
- chunkLQ5YHB7W_cjs.Button,
6214
+ chunkWYZJLZ67_cjs.Button,
5902
6215
  {
5903
6216
  type: "button",
5904
6217
  size: "lg",
@@ -5916,7 +6229,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5916
6229
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsxRuntime.jsx(chunkTMPDW7J5_cjs.ImageViewer, { blob: capturedBlob, alt: "Captured photo" }) }),
5917
6230
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
5918
6231
  /* @__PURE__ */ jsxRuntime.jsxs(
5919
- chunkLQ5YHB7W_cjs.Button,
6232
+ chunkWYZJLZ67_cjs.Button,
5920
6233
  {
5921
6234
  type: "button",
5922
6235
  variant: "outline",
@@ -5930,7 +6243,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5930
6243
  }
5931
6244
  ),
5932
6245
  /* @__PURE__ */ jsxRuntime.jsxs(
5933
- chunkLQ5YHB7W_cjs.Button,
6246
+ chunkWYZJLZ67_cjs.Button,
5934
6247
  {
5935
6248
  type: "button",
5936
6249
  variant: "outline",
@@ -5944,7 +6257,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5944
6257
  }
5945
6258
  ),
5946
6259
  /* @__PURE__ */ jsxRuntime.jsxs(
5947
- chunkLQ5YHB7W_cjs.Button,
6260
+ chunkWYZJLZ67_cjs.Button,
5948
6261
  {
5949
6262
  type: "button",
5950
6263
  onClick: handleSave,
@@ -6003,10 +6316,10 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
6003
6316
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative inline-flex h-2 w-2 rounded-full bg-red-500" })
6004
6317
  ] }),
6005
6318
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-semibold uppercase tracking-wide text-red-500", children: "Rec" }),
6006
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunkBTRIS3HY_cjs.formatElapsed(recorder.elapsedMs) })
6319
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunkQJRP2LLQ_cjs.formatElapsed(recorder.elapsedMs) })
6007
6320
  ] }),
6008
6321
  recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsx(
6009
- chunkLQ5YHB7W_cjs.Button,
6322
+ chunkWYZJLZ67_cjs.Button,
6010
6323
  {
6011
6324
  type: "button",
6012
6325
  size: "lg",
@@ -6016,7 +6329,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
6016
6329
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-5 w-5 fill-current" })
6017
6330
  }
6018
6331
  ) : /* @__PURE__ */ jsxRuntime.jsx(
6019
- chunkLQ5YHB7W_cjs.Button,
6332
+ chunkWYZJLZ67_cjs.Button,
6020
6333
  {
6021
6334
  type: "button",
6022
6335
  size: "lg",
@@ -6033,7 +6346,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
6033
6346
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsxRuntime.jsx(chunkTMPDW7J5_cjs.VideoViewer, { blob: recorder.blob, title: "Captured video" }) }),
6034
6347
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
6035
6348
  /* @__PURE__ */ jsxRuntime.jsxs(
6036
- chunkLQ5YHB7W_cjs.Button,
6349
+ chunkWYZJLZ67_cjs.Button,
6037
6350
  {
6038
6351
  type: "button",
6039
6352
  variant: "outline",
@@ -6047,7 +6360,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
6047
6360
  }
6048
6361
  ),
6049
6362
  /* @__PURE__ */ jsxRuntime.jsxs(
6050
- chunkLQ5YHB7W_cjs.Button,
6363
+ chunkWYZJLZ67_cjs.Button,
6051
6364
  {
6052
6365
  type: "button",
6053
6366
  variant: "outline",
@@ -6061,7 +6374,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
6061
6374
  }
6062
6375
  ),
6063
6376
  /* @__PURE__ */ jsxRuntime.jsxs(
6064
- chunkLQ5YHB7W_cjs.Button,
6377
+ chunkWYZJLZ67_cjs.Button,
6065
6378
  {
6066
6379
  type: "button",
6067
6380
  onClick: handleSave,
@@ -6104,107 +6417,107 @@ function hasVideoTrack(blob) {
6104
6417
 
6105
6418
  Object.defineProperty(exports, "DEFAULT_USD_PER_CREDIT", {
6106
6419
  enumerable: true,
6107
- get: function () { return chunk6TFD5OS5_cjs.DEFAULT_USD_PER_CREDIT; }
6420
+ get: function () { return chunkGE5TAR7Y_cjs.DEFAULT_USD_PER_CREDIT; }
6108
6421
  });
6109
6422
  Object.defineProperty(exports, "arbiQueryKeys", {
6110
6423
  enumerable: true,
6111
- get: function () { return chunk6TFD5OS5_cjs.arbiQueryKeys; }
6424
+ get: function () { return chunkGE5TAR7Y_cjs.arbiQueryKeys; }
6112
6425
  });
6113
6426
  Object.defineProperty(exports, "creditsToUsd", {
6114
6427
  enumerable: true,
6115
- get: function () { return chunk6TFD5OS5_cjs.creditsToUsd; }
6428
+ get: function () { return chunkGE5TAR7Y_cjs.creditsToUsd; }
6116
6429
  });
6117
6430
  Object.defineProperty(exports, "formatCredits", {
6118
6431
  enumerable: true,
6119
- get: function () { return chunk6TFD5OS5_cjs.formatCredits; }
6432
+ get: function () { return chunkGE5TAR7Y_cjs.formatCredits; }
6120
6433
  });
6121
6434
  Object.defineProperty(exports, "isUsageMetered", {
6122
6435
  enumerable: true,
6123
- get: function () { return chunk6TFD5OS5_cjs.isUsageMetered; }
6436
+ get: function () { return chunkGE5TAR7Y_cjs.isUsageMetered; }
6124
6437
  });
6125
6438
  Object.defineProperty(exports, "useActivity", {
6126
6439
  enumerable: true,
6127
- get: function () { return chunk6TFD5OS5_cjs.useActivity; }
6440
+ get: function () { return chunkGE5TAR7Y_cjs.useActivity; }
6128
6441
  });
6129
6442
  Object.defineProperty(exports, "useAgents", {
6130
6443
  enumerable: true,
6131
- get: function () { return chunk6TFD5OS5_cjs.useAgents; }
6444
+ get: function () { return chunkGE5TAR7Y_cjs.useAgents; }
6132
6445
  });
6133
6446
  Object.defineProperty(exports, "useAssistantQuery", {
6134
6447
  enumerable: true,
6135
- get: function () { return chunk6TFD5OS5_cjs.useAssistantQuery; }
6448
+ get: function () { return chunkGE5TAR7Y_cjs.useAssistantQuery; }
6136
6449
  });
6137
6450
  Object.defineProperty(exports, "useConfigs", {
6138
6451
  enumerable: true,
6139
- get: function () { return chunk6TFD5OS5_cjs.useConfigs; }
6452
+ get: function () { return chunkGE5TAR7Y_cjs.useConfigs; }
6140
6453
  });
6141
6454
  Object.defineProperty(exports, "useConversationThreads", {
6142
6455
  enumerable: true,
6143
- get: function () { return chunk6TFD5OS5_cjs.useConversationThreads; }
6456
+ get: function () { return chunkGE5TAR7Y_cjs.useConversationThreads; }
6144
6457
  });
6145
6458
  Object.defineProperty(exports, "useConversations", {
6146
6459
  enumerable: true,
6147
- get: function () { return chunk6TFD5OS5_cjs.useConversations; }
6460
+ get: function () { return chunkGE5TAR7Y_cjs.useConversations; }
6148
6461
  });
6149
6462
  Object.defineProperty(exports, "useDeleteAgents", {
6150
6463
  enumerable: true,
6151
- get: function () { return chunk6TFD5OS5_cjs.useDeleteAgents; }
6464
+ get: function () { return chunkGE5TAR7Y_cjs.useDeleteAgents; }
6152
6465
  });
6153
6466
  Object.defineProperty(exports, "useDocuments", {
6154
6467
  enumerable: true,
6155
- get: function () { return chunk6TFD5OS5_cjs.useDocuments; }
6468
+ get: function () { return chunkGE5TAR7Y_cjs.useDocuments; }
6156
6469
  });
6157
6470
  Object.defineProperty(exports, "useFacts", {
6158
6471
  enumerable: true,
6159
- get: function () { return chunk6TFD5OS5_cjs.useFacts; }
6472
+ get: function () { return chunkGE5TAR7Y_cjs.useFacts; }
6160
6473
  });
6161
6474
  Object.defineProperty(exports, "useHealth", {
6162
6475
  enumerable: true,
6163
- get: function () { return chunk6TFD5OS5_cjs.useHealth; }
6476
+ get: function () { return chunkGE5TAR7Y_cjs.useHealth; }
6164
6477
  });
6165
6478
  Object.defineProperty(exports, "useParsedDocument", {
6166
6479
  enumerable: true,
6167
- get: function () { return chunk6TFD5OS5_cjs.useParsedDocument; }
6480
+ get: function () { return chunkGE5TAR7Y_cjs.useParsedDocument; }
6168
6481
  });
6169
6482
  Object.defineProperty(exports, "useProjectInvoices", {
6170
6483
  enumerable: true,
6171
- get: function () { return chunk6TFD5OS5_cjs.useProjectInvoices; }
6484
+ get: function () { return chunkGE5TAR7Y_cjs.useProjectInvoices; }
6172
6485
  });
6173
6486
  Object.defineProperty(exports, "useProjectUsage", {
6174
6487
  enumerable: true,
6175
- get: function () { return chunk6TFD5OS5_cjs.useProjectUsage; }
6488
+ get: function () { return chunkGE5TAR7Y_cjs.useProjectUsage; }
6176
6489
  });
6177
6490
  Object.defineProperty(exports, "useProjects", {
6178
6491
  enumerable: true,
6179
- get: function () { return chunk6TFD5OS5_cjs.useProjects; }
6492
+ get: function () { return chunkGE5TAR7Y_cjs.useProjects; }
6180
6493
  });
6181
6494
  Object.defineProperty(exports, "useProjectsUsage", {
6182
6495
  enumerable: true,
6183
- get: function () { return chunk6TFD5OS5_cjs.useProjectsUsage; }
6496
+ get: function () { return chunkGE5TAR7Y_cjs.useProjectsUsage; }
6184
6497
  });
6185
6498
  Object.defineProperty(exports, "useSessions", {
6186
6499
  enumerable: true,
6187
- get: function () { return chunk6TFD5OS5_cjs.useSessions; }
6500
+ get: function () { return chunkGE5TAR7Y_cjs.useSessions; }
6188
6501
  });
6189
6502
  Object.defineProperty(exports, "useTags", {
6190
6503
  enumerable: true,
6191
- get: function () { return chunk6TFD5OS5_cjs.useTags; }
6504
+ get: function () { return chunkGE5TAR7Y_cjs.useTags; }
6192
6505
  });
6193
6506
  Object.defineProperty(exports, "useThumbnails", {
6194
6507
  enumerable: true,
6195
- get: function () { return chunk6TFD5OS5_cjs.useThumbnails; }
6508
+ get: function () { return chunkGE5TAR7Y_cjs.useThumbnails; }
6196
6509
  });
6197
6510
  Object.defineProperty(exports, "useUserUsageToday", {
6198
6511
  enumerable: true,
6199
- get: function () { return chunk6TFD5OS5_cjs.useUserUsageToday; }
6512
+ get: function () { return chunkGE5TAR7Y_cjs.useUserUsageToday; }
6200
6513
  });
6201
6514
  Object.defineProperty(exports, "useWorkspaceUsers", {
6202
6515
  enumerable: true,
6203
- get: function () { return chunk6TFD5OS5_cjs.useWorkspaceUsers; }
6516
+ get: function () { return chunkGE5TAR7Y_cjs.useWorkspaceUsers; }
6204
6517
  });
6205
6518
  Object.defineProperty(exports, "useWorkspaces", {
6206
6519
  enumerable: true,
6207
- get: function () { return chunk6TFD5OS5_cjs.useWorkspaces; }
6520
+ get: function () { return chunkGE5TAR7Y_cjs.useWorkspaces; }
6208
6521
  });
6209
6522
  Object.defineProperty(exports, "cleanDraftMarkdown", {
6210
6523
  enumerable: true,
@@ -6274,513 +6587,533 @@ Object.defineProperty(exports, "useNotify", {
6274
6587
  enumerable: true,
6275
6588
  get: function () { return chunkF7KQVVD2_cjs.useNotify; }
6276
6589
  });
6590
+ Object.defineProperty(exports, "ArbiProvider", {
6591
+ enumerable: true,
6592
+ get: function () { return chunkIIT7DMQL_cjs.ArbiProvider; }
6593
+ });
6594
+ Object.defineProperty(exports, "useArbi", {
6595
+ enumerable: true,
6596
+ get: function () { return chunkIIT7DMQL_cjs.useArbi; }
6597
+ });
6598
+ Object.defineProperty(exports, "useDeploymentDomain", {
6599
+ enumerable: true,
6600
+ get: function () { return chunkIIT7DMQL_cjs.useDeploymentDomain; }
6601
+ });
6277
6602
  Object.defineProperty(exports, "AgentBadge", {
6278
6603
  enumerable: true,
6279
- get: function () { return chunkBTRIS3HY_cjs.AgentBadge; }
6604
+ get: function () { return chunkQJRP2LLQ_cjs.AgentBadge; }
6280
6605
  });
6281
6606
  Object.defineProperty(exports, "AiMarkdown", {
6282
6607
  enumerable: true,
6283
- get: function () { return chunkBTRIS3HY_cjs.AiMarkdown; }
6608
+ get: function () { return chunkQJRP2LLQ_cjs.AiMarkdown; }
6284
6609
  });
6285
6610
  Object.defineProperty(exports, "ArbiBotHeadIcon", {
6286
6611
  enumerable: true,
6287
- get: function () { return chunkBTRIS3HY_cjs.ArbiBotHeadIcon; }
6612
+ get: function () { return chunkQJRP2LLQ_cjs.ArbiBotHeadIcon; }
6288
6613
  });
6289
6614
  Object.defineProperty(exports, "AudIcon", {
6290
6615
  enumerable: true,
6291
- get: function () { return chunkBTRIS3HY_cjs.AudIcon; }
6616
+ get: function () { return chunkQJRP2LLQ_cjs.AudIcon; }
6292
6617
  });
6293
6618
  Object.defineProperty(exports, "Avatar", {
6294
6619
  enumerable: true,
6295
- get: function () { return chunkBTRIS3HY_cjs.Avatar; }
6620
+ get: function () { return chunkQJRP2LLQ_cjs.Avatar; }
6296
6621
  });
6297
6622
  Object.defineProperty(exports, "AvatarFallback", {
6298
6623
  enumerable: true,
6299
- get: function () { return chunkBTRIS3HY_cjs.AvatarFallback; }
6624
+ get: function () { return chunkQJRP2LLQ_cjs.AvatarFallback; }
6300
6625
  });
6301
6626
  Object.defineProperty(exports, "AvatarImage", {
6302
6627
  enumerable: true,
6303
- get: function () { return chunkBTRIS3HY_cjs.AvatarImage; }
6628
+ get: function () { return chunkQJRP2LLQ_cjs.AvatarImage; }
6304
6629
  });
6305
6630
  Object.defineProperty(exports, "BASE_COLORS", {
6306
6631
  enumerable: true,
6307
- get: function () { return chunkBTRIS3HY_cjs.BASE_COLORS; }
6632
+ get: function () { return chunkQJRP2LLQ_cjs.BASE_COLORS; }
6308
6633
  });
6309
6634
  Object.defineProperty(exports, "Badge", {
6310
6635
  enumerable: true,
6311
- get: function () { return chunkBTRIS3HY_cjs.Badge; }
6636
+ get: function () { return chunkQJRP2LLQ_cjs.Badge; }
6312
6637
  });
6313
6638
  Object.defineProperty(exports, "Card", {
6314
6639
  enumerable: true,
6315
- get: function () { return chunkBTRIS3HY_cjs.Card; }
6640
+ get: function () { return chunkQJRP2LLQ_cjs.Card; }
6316
6641
  });
6317
6642
  Object.defineProperty(exports, "CardContent", {
6318
6643
  enumerable: true,
6319
- get: function () { return chunkBTRIS3HY_cjs.CardContent; }
6644
+ get: function () { return chunkQJRP2LLQ_cjs.CardContent; }
6320
6645
  });
6321
6646
  Object.defineProperty(exports, "CardDescription", {
6322
6647
  enumerable: true,
6323
- get: function () { return chunkBTRIS3HY_cjs.CardDescription; }
6648
+ get: function () { return chunkQJRP2LLQ_cjs.CardDescription; }
6324
6649
  });
6325
6650
  Object.defineProperty(exports, "CardFooter", {
6326
6651
  enumerable: true,
6327
- get: function () { return chunkBTRIS3HY_cjs.CardFooter; }
6652
+ get: function () { return chunkQJRP2LLQ_cjs.CardFooter; }
6328
6653
  });
6329
6654
  Object.defineProperty(exports, "CardHeader", {
6330
6655
  enumerable: true,
6331
- get: function () { return chunkBTRIS3HY_cjs.CardHeader; }
6656
+ get: function () { return chunkQJRP2LLQ_cjs.CardHeader; }
6332
6657
  });
6333
6658
  Object.defineProperty(exports, "CardTitle", {
6334
6659
  enumerable: true,
6335
- get: function () { return chunkBTRIS3HY_cjs.CardTitle; }
6660
+ get: function () { return chunkQJRP2LLQ_cjs.CardTitle; }
6336
6661
  });
6337
6662
  Object.defineProperty(exports, "Checkbox", {
6338
6663
  enumerable: true,
6339
- get: function () { return chunkBTRIS3HY_cjs.Checkbox; }
6664
+ get: function () { return chunkQJRP2LLQ_cjs.Checkbox; }
6340
6665
  });
6341
6666
  Object.defineProperty(exports, "Collapsible", {
6342
6667
  enumerable: true,
6343
- get: function () { return chunkBTRIS3HY_cjs.Collapsible; }
6668
+ get: function () { return chunkQJRP2LLQ_cjs.Collapsible; }
6344
6669
  });
6345
6670
  Object.defineProperty(exports, "CollapsibleContent", {
6346
6671
  enumerable: true,
6347
- get: function () { return chunkBTRIS3HY_cjs.CollapsibleContent; }
6672
+ get: function () { return chunkQJRP2LLQ_cjs.CollapsibleContent; }
6348
6673
  });
6349
6674
  Object.defineProperty(exports, "CollapsibleTrigger", {
6350
6675
  enumerable: true,
6351
- get: function () { return chunkBTRIS3HY_cjs.CollapsibleTrigger; }
6676
+ get: function () { return chunkQJRP2LLQ_cjs.CollapsibleTrigger; }
6352
6677
  });
6353
6678
  Object.defineProperty(exports, "Command", {
6354
6679
  enumerable: true,
6355
- get: function () { return chunkBTRIS3HY_cjs.Command; }
6680
+ get: function () { return chunkQJRP2LLQ_cjs.Command; }
6356
6681
  });
6357
6682
  Object.defineProperty(exports, "CommandDialog", {
6358
6683
  enumerable: true,
6359
- get: function () { return chunkBTRIS3HY_cjs.CommandDialog; }
6684
+ get: function () { return chunkQJRP2LLQ_cjs.CommandDialog; }
6360
6685
  });
6361
6686
  Object.defineProperty(exports, "CommandEmpty", {
6362
6687
  enumerable: true,
6363
- get: function () { return chunkBTRIS3HY_cjs.CommandEmpty; }
6688
+ get: function () { return chunkQJRP2LLQ_cjs.CommandEmpty; }
6364
6689
  });
6365
6690
  Object.defineProperty(exports, "CommandGroup", {
6366
6691
  enumerable: true,
6367
- get: function () { return chunkBTRIS3HY_cjs.CommandGroup; }
6692
+ get: function () { return chunkQJRP2LLQ_cjs.CommandGroup; }
6368
6693
  });
6369
6694
  Object.defineProperty(exports, "CommandInput", {
6370
6695
  enumerable: true,
6371
- get: function () { return chunkBTRIS3HY_cjs.CommandInput; }
6696
+ get: function () { return chunkQJRP2LLQ_cjs.CommandInput; }
6372
6697
  });
6373
6698
  Object.defineProperty(exports, "CommandItem", {
6374
6699
  enumerable: true,
6375
- get: function () { return chunkBTRIS3HY_cjs.CommandItem; }
6700
+ get: function () { return chunkQJRP2LLQ_cjs.CommandItem; }
6376
6701
  });
6377
6702
  Object.defineProperty(exports, "CommandList", {
6378
6703
  enumerable: true,
6379
- get: function () { return chunkBTRIS3HY_cjs.CommandList; }
6704
+ get: function () { return chunkQJRP2LLQ_cjs.CommandList; }
6380
6705
  });
6381
6706
  Object.defineProperty(exports, "CommandSeparator", {
6382
6707
  enumerable: true,
6383
- get: function () { return chunkBTRIS3HY_cjs.CommandSeparator; }
6708
+ get: function () { return chunkQJRP2LLQ_cjs.CommandSeparator; }
6384
6709
  });
6385
6710
  Object.defineProperty(exports, "CommandShortcut", {
6386
6711
  enumerable: true,
6387
- get: function () { return chunkBTRIS3HY_cjs.CommandShortcut; }
6712
+ get: function () { return chunkQJRP2LLQ_cjs.CommandShortcut; }
6388
6713
  });
6389
6714
  Object.defineProperty(exports, "DictateProvider", {
6390
6715
  enumerable: true,
6391
- get: function () { return chunkBTRIS3HY_cjs.DictateProvider; }
6716
+ get: function () { return chunkQJRP2LLQ_cjs.DictateProvider; }
6392
6717
  });
6393
6718
  Object.defineProperty(exports, "DocIcon", {
6394
6719
  enumerable: true,
6395
- get: function () { return chunkBTRIS3HY_cjs.DocIcon; }
6720
+ get: function () { return chunkQJRP2LLQ_cjs.DocIcon; }
6396
6721
  });
6397
6722
  Object.defineProperty(exports, "DocumentCard", {
6398
6723
  enumerable: true,
6399
- get: function () { return chunkBTRIS3HY_cjs.DocumentCard; }
6724
+ get: function () { return chunkQJRP2LLQ_cjs.DocumentCard; }
6400
6725
  });
6401
6726
  Object.defineProperty(exports, "DocumentEntity", {
6402
6727
  enumerable: true,
6403
- get: function () { return chunkBTRIS3HY_cjs.DocumentEntity; }
6728
+ get: function () { return chunkQJRP2LLQ_cjs.DocumentEntity; }
6404
6729
  });
6405
6730
  Object.defineProperty(exports, "ENTITY_MAPPINGS", {
6406
6731
  enumerable: true,
6407
- get: function () { return chunkBTRIS3HY_cjs.ENTITY_MAPPINGS; }
6732
+ get: function () { return chunkQJRP2LLQ_cjs.ENTITY_MAPPINGS; }
6408
6733
  });
6409
6734
  Object.defineProperty(exports, "EmlIcon", {
6410
6735
  enumerable: true,
6411
- get: function () { return chunkBTRIS3HY_cjs.EmlIcon; }
6736
+ get: function () { return chunkQJRP2LLQ_cjs.EmlIcon; }
6412
6737
  });
6413
6738
  Object.defineProperty(exports, "EntityIcon", {
6414
6739
  enumerable: true,
6415
- get: function () { return chunkBTRIS3HY_cjs.EntityIcon; }
6740
+ get: function () { return chunkQJRP2LLQ_cjs.EntityIcon; }
6416
6741
  });
6417
6742
  Object.defineProperty(exports, "EntityPill", {
6418
6743
  enumerable: true,
6419
- get: function () { return chunkBTRIS3HY_cjs.EntityPill; }
6744
+ get: function () { return chunkQJRP2LLQ_cjs.EntityPill; }
6420
6745
  });
6421
6746
  Object.defineProperty(exports, "FILE_TYPE_COLORS", {
6422
6747
  enumerable: true,
6423
- get: function () { return chunkBTRIS3HY_cjs.FILE_TYPE_COLORS; }
6748
+ get: function () { return chunkQJRP2LLQ_cjs.FILE_TYPE_COLORS; }
6424
6749
  });
6425
6750
  Object.defineProperty(exports, "HoverCard", {
6426
6751
  enumerable: true,
6427
- get: function () { return chunkBTRIS3HY_cjs.HoverCard; }
6752
+ get: function () { return chunkQJRP2LLQ_cjs.HoverCard; }
6428
6753
  });
6429
6754
  Object.defineProperty(exports, "HoverCardContent", {
6430
6755
  enumerable: true,
6431
- get: function () { return chunkBTRIS3HY_cjs.HoverCardContent; }
6756
+ get: function () { return chunkQJRP2LLQ_cjs.HoverCardContent; }
6432
6757
  });
6433
6758
  Object.defineProperty(exports, "HoverCardTrigger", {
6434
6759
  enumerable: true,
6435
- get: function () { return chunkBTRIS3HY_cjs.HoverCardTrigger; }
6760
+ get: function () { return chunkQJRP2LLQ_cjs.HoverCardTrigger; }
6436
6761
  });
6437
6762
  Object.defineProperty(exports, "HtmlIcon", {
6438
6763
  enumerable: true,
6439
- get: function () { return chunkBTRIS3HY_cjs.HtmlIcon; }
6764
+ get: function () { return chunkQJRP2LLQ_cjs.HtmlIcon; }
6440
6765
  });
6441
6766
  Object.defineProperty(exports, "IconToggle", {
6442
6767
  enumerable: true,
6443
- get: function () { return chunkBTRIS3HY_cjs.IconToggle; }
6768
+ get: function () { return chunkQJRP2LLQ_cjs.IconToggle; }
6444
6769
  });
6445
6770
  Object.defineProperty(exports, "ImgIcon", {
6446
6771
  enumerable: true,
6447
- get: function () { return chunkBTRIS3HY_cjs.ImgIcon; }
6772
+ get: function () { return chunkQJRP2LLQ_cjs.ImgIcon; }
6448
6773
  });
6449
6774
  Object.defineProperty(exports, "InlineMicButton", {
6450
6775
  enumerable: true,
6451
- get: function () { return chunkBTRIS3HY_cjs.InlineMicButton; }
6776
+ get: function () { return chunkQJRP2LLQ_cjs.InlineMicButton; }
6452
6777
  });
6453
6778
  Object.defineProperty(exports, "Input", {
6454
6779
  enumerable: true,
6455
- get: function () { return chunkBTRIS3HY_cjs.Input; }
6780
+ get: function () { return chunkQJRP2LLQ_cjs.Input; }
6456
6781
  });
6457
6782
  Object.defineProperty(exports, "Label", {
6458
6783
  enumerable: true,
6459
- get: function () { return chunkBTRIS3HY_cjs.Label; }
6784
+ get: function () { return chunkQJRP2LLQ_cjs.Label; }
6460
6785
  });
6461
6786
  Object.defineProperty(exports, "MarkMenu", {
6462
6787
  enumerable: true,
6463
- get: function () { return chunkBTRIS3HY_cjs.MarkMenu; }
6788
+ get: function () { return chunkQJRP2LLQ_cjs.MarkMenu; }
6464
6789
  });
6465
6790
  Object.defineProperty(exports, "MicRecordingOverlay", {
6466
6791
  enumerable: true,
6467
- get: function () { return chunkBTRIS3HY_cjs.MicRecordingOverlay; }
6792
+ get: function () { return chunkQJRP2LLQ_cjs.MicRecordingOverlay; }
6468
6793
  });
6469
6794
  Object.defineProperty(exports, "MicWaveformIndicator", {
6470
6795
  enumerable: true,
6471
- get: function () { return chunkBTRIS3HY_cjs.MicWaveformIndicator; }
6796
+ get: function () { return chunkQJRP2LLQ_cjs.MicWaveformIndicator; }
6472
6797
  });
6473
6798
  Object.defineProperty(exports, "NEUTRAL_GRAY", {
6474
6799
  enumerable: true,
6475
- get: function () { return chunkBTRIS3HY_cjs.NEUTRAL_GRAY; }
6800
+ get: function () { return chunkQJRP2LLQ_cjs.NEUTRAL_GRAY; }
6476
6801
  });
6477
6802
  Object.defineProperty(exports, "PLACEHOLDER_COLOR", {
6478
6803
  enumerable: true,
6479
- get: function () { return chunkBTRIS3HY_cjs.PLACEHOLDER_COLOR; }
6804
+ get: function () { return chunkQJRP2LLQ_cjs.PLACEHOLDER_COLOR; }
6480
6805
  });
6481
6806
  Object.defineProperty(exports, "PassageCard", {
6482
6807
  enumerable: true,
6483
- get: function () { return chunkBTRIS3HY_cjs.PassageCard; }
6808
+ get: function () { return chunkQJRP2LLQ_cjs.PassageCard; }
6484
6809
  });
6485
6810
  Object.defineProperty(exports, "PdfIcon", {
6486
6811
  enumerable: true,
6487
- get: function () { return chunkBTRIS3HY_cjs.PdfIcon; }
6812
+ get: function () { return chunkQJRP2LLQ_cjs.PdfIcon; }
6488
6813
  });
6489
6814
  Object.defineProperty(exports, "Popover", {
6490
6815
  enumerable: true,
6491
- get: function () { return chunkBTRIS3HY_cjs.Popover; }
6816
+ get: function () { return chunkQJRP2LLQ_cjs.Popover; }
6492
6817
  });
6493
6818
  Object.defineProperty(exports, "PopoverAnchor", {
6494
6819
  enumerable: true,
6495
- get: function () { return chunkBTRIS3HY_cjs.PopoverAnchor; }
6820
+ get: function () { return chunkQJRP2LLQ_cjs.PopoverAnchor; }
6496
6821
  });
6497
6822
  Object.defineProperty(exports, "PopoverContent", {
6498
6823
  enumerable: true,
6499
- get: function () { return chunkBTRIS3HY_cjs.PopoverContent; }
6824
+ get: function () { return chunkQJRP2LLQ_cjs.PopoverContent; }
6500
6825
  });
6501
6826
  Object.defineProperty(exports, "PopoverTrigger", {
6502
6827
  enumerable: true,
6503
- get: function () { return chunkBTRIS3HY_cjs.PopoverTrigger; }
6828
+ get: function () { return chunkQJRP2LLQ_cjs.PopoverTrigger; }
6504
6829
  });
6505
6830
  Object.defineProperty(exports, "PresenceLabel", {
6506
6831
  enumerable: true,
6507
- get: function () { return chunkBTRIS3HY_cjs.PresenceLabel; }
6832
+ get: function () { return chunkQJRP2LLQ_cjs.PresenceLabel; }
6508
6833
  });
6509
6834
  Object.defineProperty(exports, "Progress", {
6510
6835
  enumerable: true,
6511
- get: function () { return chunkBTRIS3HY_cjs.Progress; }
6836
+ get: function () { return chunkQJRP2LLQ_cjs.Progress; }
6512
6837
  });
6513
6838
  Object.defineProperty(exports, "ProjectEntity", {
6514
6839
  enumerable: true,
6515
- get: function () { return chunkBTRIS3HY_cjs.ProjectEntity; }
6840
+ get: function () { return chunkQJRP2LLQ_cjs.ProjectEntity; }
6516
6841
  });
6517
6842
  Object.defineProperty(exports, "RadioGroup", {
6518
6843
  enumerable: true,
6519
- get: function () { return chunkBTRIS3HY_cjs.RadioGroup; }
6844
+ get: function () { return chunkQJRP2LLQ_cjs.RadioGroup; }
6520
6845
  });
6521
6846
  Object.defineProperty(exports, "RadioGroupItem", {
6522
6847
  enumerable: true,
6523
- get: function () { return chunkBTRIS3HY_cjs.RadioGroupItem; }
6848
+ get: function () { return chunkQJRP2LLQ_cjs.RadioGroupItem; }
6524
6849
  });
6525
6850
  Object.defineProperty(exports, "RagDot", {
6526
6851
  enumerable: true,
6527
- get: function () { return chunkBTRIS3HY_cjs.RagDot; }
6852
+ get: function () { return chunkQJRP2LLQ_cjs.RagDot; }
6528
6853
  });
6529
6854
  Object.defineProperty(exports, "RelevanceDot", {
6530
6855
  enumerable: true,
6531
- get: function () { return chunkBTRIS3HY_cjs.RelevanceDot; }
6856
+ get: function () { return chunkQJRP2LLQ_cjs.RelevanceDot; }
6532
6857
  });
6533
6858
  Object.defineProperty(exports, "Select", {
6534
6859
  enumerable: true,
6535
- get: function () { return chunkBTRIS3HY_cjs.Select; }
6860
+ get: function () { return chunkQJRP2LLQ_cjs.Select; }
6536
6861
  });
6537
6862
  Object.defineProperty(exports, "SelectContent", {
6538
6863
  enumerable: true,
6539
- get: function () { return chunkBTRIS3HY_cjs.SelectContent; }
6864
+ get: function () { return chunkQJRP2LLQ_cjs.SelectContent; }
6540
6865
  });
6541
6866
  Object.defineProperty(exports, "SelectGroup", {
6542
6867
  enumerable: true,
6543
- get: function () { return chunkBTRIS3HY_cjs.SelectGroup; }
6868
+ get: function () { return chunkQJRP2LLQ_cjs.SelectGroup; }
6544
6869
  });
6545
6870
  Object.defineProperty(exports, "SelectItem", {
6546
6871
  enumerable: true,
6547
- get: function () { return chunkBTRIS3HY_cjs.SelectItem; }
6872
+ get: function () { return chunkQJRP2LLQ_cjs.SelectItem; }
6548
6873
  });
6549
6874
  Object.defineProperty(exports, "SelectLabel", {
6550
6875
  enumerable: true,
6551
- get: function () { return chunkBTRIS3HY_cjs.SelectLabel; }
6876
+ get: function () { return chunkQJRP2LLQ_cjs.SelectLabel; }
6552
6877
  });
6553
6878
  Object.defineProperty(exports, "SelectScrollDownButton", {
6554
6879
  enumerable: true,
6555
- get: function () { return chunkBTRIS3HY_cjs.SelectScrollDownButton; }
6880
+ get: function () { return chunkQJRP2LLQ_cjs.SelectScrollDownButton; }
6556
6881
  });
6557
6882
  Object.defineProperty(exports, "SelectScrollUpButton", {
6558
6883
  enumerable: true,
6559
- get: function () { return chunkBTRIS3HY_cjs.SelectScrollUpButton; }
6884
+ get: function () { return chunkQJRP2LLQ_cjs.SelectScrollUpButton; }
6560
6885
  });
6561
6886
  Object.defineProperty(exports, "SelectSeparator", {
6562
6887
  enumerable: true,
6563
- get: function () { return chunkBTRIS3HY_cjs.SelectSeparator; }
6888
+ get: function () { return chunkQJRP2LLQ_cjs.SelectSeparator; }
6564
6889
  });
6565
6890
  Object.defineProperty(exports, "SelectTrigger", {
6566
6891
  enumerable: true,
6567
- get: function () { return chunkBTRIS3HY_cjs.SelectTrigger; }
6892
+ get: function () { return chunkQJRP2LLQ_cjs.SelectTrigger; }
6568
6893
  });
6569
6894
  Object.defineProperty(exports, "SelectValue", {
6570
6895
  enumerable: true,
6571
- get: function () { return chunkBTRIS3HY_cjs.SelectValue; }
6896
+ get: function () { return chunkQJRP2LLQ_cjs.SelectValue; }
6572
6897
  });
6573
6898
  Object.defineProperty(exports, "Separator", {
6574
6899
  enumerable: true,
6575
- get: function () { return chunkBTRIS3HY_cjs.Separator; }
6900
+ get: function () { return chunkQJRP2LLQ_cjs.Separator; }
6576
6901
  });
6577
6902
  Object.defineProperty(exports, "Slider", {
6578
6903
  enumerable: true,
6579
- get: function () { return chunkBTRIS3HY_cjs.Slider; }
6904
+ get: function () { return chunkQJRP2LLQ_cjs.Slider; }
6580
6905
  });
6581
6906
  Object.defineProperty(exports, "StatusPill", {
6582
6907
  enumerable: true,
6583
- get: function () { return chunkBTRIS3HY_cjs.StatusPill; }
6908
+ get: function () { return chunkQJRP2LLQ_cjs.StatusPill; }
6584
6909
  });
6585
6910
  Object.defineProperty(exports, "Switch", {
6586
6911
  enumerable: true,
6587
- get: function () { return chunkBTRIS3HY_cjs.Switch; }
6912
+ get: function () { return chunkQJRP2LLQ_cjs.Switch; }
6588
6913
  });
6589
6914
  Object.defineProperty(exports, "TAG_TYPE_ICONS", {
6590
6915
  enumerable: true,
6591
- get: function () { return chunkBTRIS3HY_cjs.TAG_TYPE_ICONS; }
6916
+ get: function () { return chunkQJRP2LLQ_cjs.TAG_TYPE_ICONS; }
6592
6917
  });
6593
6918
  Object.defineProperty(exports, "TAG_TYPE_LABELS", {
6594
6919
  enumerable: true,
6595
- get: function () { return chunkBTRIS3HY_cjs.TAG_TYPE_LABELS; }
6920
+ get: function () { return chunkQJRP2LLQ_cjs.TAG_TYPE_LABELS; }
6596
6921
  });
6597
6922
  Object.defineProperty(exports, "Table", {
6598
6923
  enumerable: true,
6599
- get: function () { return chunkBTRIS3HY_cjs.Table; }
6924
+ get: function () { return chunkQJRP2LLQ_cjs.Table; }
6600
6925
  });
6601
6926
  Object.defineProperty(exports, "TableBody", {
6602
6927
  enumerable: true,
6603
- get: function () { return chunkBTRIS3HY_cjs.TableBody; }
6928
+ get: function () { return chunkQJRP2LLQ_cjs.TableBody; }
6604
6929
  });
6605
6930
  Object.defineProperty(exports, "TableCaption", {
6606
6931
  enumerable: true,
6607
- get: function () { return chunkBTRIS3HY_cjs.TableCaption; }
6932
+ get: function () { return chunkQJRP2LLQ_cjs.TableCaption; }
6608
6933
  });
6609
6934
  Object.defineProperty(exports, "TableCell", {
6610
6935
  enumerable: true,
6611
- get: function () { return chunkBTRIS3HY_cjs.TableCell; }
6936
+ get: function () { return chunkQJRP2LLQ_cjs.TableCell; }
6612
6937
  });
6613
6938
  Object.defineProperty(exports, "TableFooter", {
6614
6939
  enumerable: true,
6615
- get: function () { return chunkBTRIS3HY_cjs.TableFooter; }
6940
+ get: function () { return chunkQJRP2LLQ_cjs.TableFooter; }
6616
6941
  });
6617
6942
  Object.defineProperty(exports, "TableHead", {
6618
6943
  enumerable: true,
6619
- get: function () { return chunkBTRIS3HY_cjs.TableHead; }
6944
+ get: function () { return chunkQJRP2LLQ_cjs.TableHead; }
6620
6945
  });
6621
6946
  Object.defineProperty(exports, "TableHeader", {
6622
6947
  enumerable: true,
6623
- get: function () { return chunkBTRIS3HY_cjs.TableHeader; }
6948
+ get: function () { return chunkQJRP2LLQ_cjs.TableHeader; }
6624
6949
  });
6625
6950
  Object.defineProperty(exports, "TableRow", {
6626
6951
  enumerable: true,
6627
- get: function () { return chunkBTRIS3HY_cjs.TableRow; }
6952
+ get: function () { return chunkQJRP2LLQ_cjs.TableRow; }
6628
6953
  });
6629
6954
  Object.defineProperty(exports, "Tabs", {
6630
6955
  enumerable: true,
6631
- get: function () { return chunkBTRIS3HY_cjs.Tabs; }
6956
+ get: function () { return chunkQJRP2LLQ_cjs.Tabs; }
6632
6957
  });
6633
6958
  Object.defineProperty(exports, "TabsContent", {
6634
6959
  enumerable: true,
6635
- get: function () { return chunkBTRIS3HY_cjs.TabsContent; }
6960
+ get: function () { return chunkQJRP2LLQ_cjs.TabsContent; }
6636
6961
  });
6637
6962
  Object.defineProperty(exports, "TabsList", {
6638
6963
  enumerable: true,
6639
- get: function () { return chunkBTRIS3HY_cjs.TabsList; }
6964
+ get: function () { return chunkQJRP2LLQ_cjs.TabsList; }
6640
6965
  });
6641
6966
  Object.defineProperty(exports, "TabsTrigger", {
6642
6967
  enumerable: true,
6643
- get: function () { return chunkBTRIS3HY_cjs.TabsTrigger; }
6968
+ get: function () { return chunkQJRP2LLQ_cjs.TabsTrigger; }
6644
6969
  });
6645
6970
  Object.defineProperty(exports, "TagEntity", {
6646
6971
  enumerable: true,
6647
- get: function () { return chunkBTRIS3HY_cjs.TagEntity; }
6972
+ get: function () { return chunkQJRP2LLQ_cjs.TagEntity; }
6648
6973
  });
6649
6974
  Object.defineProperty(exports, "Textarea", {
6650
6975
  enumerable: true,
6651
- get: function () { return chunkBTRIS3HY_cjs.Textarea; }
6976
+ get: function () { return chunkQJRP2LLQ_cjs.Textarea; }
6652
6977
  });
6653
6978
  Object.defineProperty(exports, "ThreadVisibilityIcon", {
6654
6979
  enumerable: true,
6655
- get: function () { return chunkBTRIS3HY_cjs.ThreadVisibilityIcon; }
6980
+ get: function () { return chunkQJRP2LLQ_cjs.ThreadVisibilityIcon; }
6656
6981
  });
6657
6982
  Object.defineProperty(exports, "Toggle", {
6658
6983
  enumerable: true,
6659
- get: function () { return chunkBTRIS3HY_cjs.Toggle; }
6984
+ get: function () { return chunkQJRP2LLQ_cjs.Toggle; }
6660
6985
  });
6661
6986
  Object.defineProperty(exports, "ToggleGroup", {
6662
6987
  enumerable: true,
6663
- get: function () { return chunkBTRIS3HY_cjs.ToggleGroup; }
6988
+ get: function () { return chunkQJRP2LLQ_cjs.ToggleGroup; }
6664
6989
  });
6665
6990
  Object.defineProperty(exports, "ToggleGroupItem", {
6666
6991
  enumerable: true,
6667
- get: function () { return chunkBTRIS3HY_cjs.ToggleGroupItem; }
6992
+ get: function () { return chunkQJRP2LLQ_cjs.ToggleGroupItem; }
6668
6993
  });
6669
6994
  Object.defineProperty(exports, "Tooltip", {
6670
6995
  enumerable: true,
6671
- get: function () { return chunkBTRIS3HY_cjs.Tooltip; }
6996
+ get: function () { return chunkQJRP2LLQ_cjs.Tooltip; }
6672
6997
  });
6673
6998
  Object.defineProperty(exports, "TooltipContent", {
6674
6999
  enumerable: true,
6675
- get: function () { return chunkBTRIS3HY_cjs.TooltipContent; }
7000
+ get: function () { return chunkQJRP2LLQ_cjs.TooltipContent; }
6676
7001
  });
6677
7002
  Object.defineProperty(exports, "TooltipProvider", {
6678
7003
  enumerable: true,
6679
- get: function () { return chunkBTRIS3HY_cjs.TooltipProvider; }
7004
+ get: function () { return chunkQJRP2LLQ_cjs.TooltipProvider; }
6680
7005
  });
6681
7006
  Object.defineProperty(exports, "TooltipTrigger", {
6682
7007
  enumerable: true,
6683
- get: function () { return chunkBTRIS3HY_cjs.TooltipTrigger; }
7008
+ get: function () { return chunkQJRP2LLQ_cjs.TooltipTrigger; }
6684
7009
  });
6685
7010
  Object.defineProperty(exports, "TxtIcon", {
6686
7011
  enumerable: true,
6687
- get: function () { return chunkBTRIS3HY_cjs.TxtIcon; }
7012
+ get: function () { return chunkQJRP2LLQ_cjs.TxtIcon; }
6688
7013
  });
6689
7014
  Object.defineProperty(exports, "UserEntity", {
6690
7015
  enumerable: true,
6691
- get: function () { return chunkBTRIS3HY_cjs.UserEntity; }
7016
+ get: function () { return chunkQJRP2LLQ_cjs.UserEntity; }
6692
7017
  });
6693
7018
  Object.defineProperty(exports, "UserMenu", {
6694
7019
  enumerable: true,
6695
- get: function () { return chunkBTRIS3HY_cjs.UserMenu; }
7020
+ get: function () { return chunkQJRP2LLQ_cjs.UserMenu; }
6696
7021
  });
6697
7022
  Object.defineProperty(exports, "VISIBILITY_ICONS", {
6698
7023
  enumerable: true,
6699
- get: function () { return chunkBTRIS3HY_cjs.VISIBILITY_ICONS; }
7024
+ get: function () { return chunkQJRP2LLQ_cjs.VISIBILITY_ICONS; }
7025
+ });
7026
+ Object.defineProperty(exports, "VerifiedBadge", {
7027
+ enumerable: true,
7028
+ get: function () { return chunkQJRP2LLQ_cjs.VerifiedBadge; }
6700
7029
  });
6701
7030
  Object.defineProperty(exports, "VidIcon", {
6702
7031
  enumerable: true,
6703
- get: function () { return chunkBTRIS3HY_cjs.VidIcon; }
7032
+ get: function () { return chunkQJRP2LLQ_cjs.VidIcon; }
6704
7033
  });
6705
7034
  Object.defineProperty(exports, "VisibilityIcon", {
6706
7035
  enumerable: true,
6707
- get: function () { return chunkBTRIS3HY_cjs.VisibilityIcon; }
7036
+ get: function () { return chunkQJRP2LLQ_cjs.VisibilityIcon; }
6708
7037
  });
6709
7038
  Object.defineProperty(exports, "VisibilityToggle", {
6710
7039
  enumerable: true,
6711
- get: function () { return chunkBTRIS3HY_cjs.VisibilityToggle; }
7040
+ get: function () { return chunkQJRP2LLQ_cjs.VisibilityToggle; }
6712
7041
  });
6713
7042
  Object.defineProperty(exports, "XlsIcon", {
6714
7043
  enumerable: true,
6715
- get: function () { return chunkBTRIS3HY_cjs.XlsIcon; }
7044
+ get: function () { return chunkQJRP2LLQ_cjs.XlsIcon; }
6716
7045
  });
6717
7046
  Object.defineProperty(exports, "badgeVariants", {
6718
7047
  enumerable: true,
6719
- get: function () { return chunkBTRIS3HY_cjs.badgeVariants; }
7048
+ get: function () { return chunkQJRP2LLQ_cjs.badgeVariants; }
6720
7049
  });
6721
7050
  Object.defineProperty(exports, "cardVariants", {
6722
7051
  enumerable: true,
6723
- get: function () { return chunkBTRIS3HY_cjs.cardVariants; }
7052
+ get: function () { return chunkQJRP2LLQ_cjs.cardVariants; }
7053
+ });
7054
+ Object.defineProperty(exports, "classifyMediaError", {
7055
+ enumerable: true,
7056
+ get: function () { return chunkQJRP2LLQ_cjs.classifyMediaError; }
6724
7057
  });
6725
7058
  Object.defineProperty(exports, "configureEntityRegistry", {
6726
7059
  enumerable: true,
6727
- get: function () { return chunkBTRIS3HY_cjs.configureEntityRegistry; }
7060
+ get: function () { return chunkQJRP2LLQ_cjs.configureEntityRegistry; }
6728
7061
  });
6729
7062
  Object.defineProperty(exports, "configureRagLabels", {
6730
7063
  enumerable: true,
6731
- get: function () { return chunkBTRIS3HY_cjs.configureRagLabels; }
7064
+ get: function () { return chunkQJRP2LLQ_cjs.configureRagLabels; }
6732
7065
  });
6733
7066
  Object.defineProperty(exports, "configureStatusRegistry", {
6734
7067
  enumerable: true,
6735
- get: function () { return chunkBTRIS3HY_cjs.configureStatusRegistry; }
7068
+ get: function () { return chunkQJRP2LLQ_cjs.configureStatusRegistry; }
6736
7069
  });
6737
7070
  Object.defineProperty(exports, "formatElapsed", {
6738
7071
  enumerable: true,
6739
- get: function () { return chunkBTRIS3HY_cjs.formatElapsed; }
7072
+ get: function () { return chunkQJRP2LLQ_cjs.formatElapsed; }
6740
7073
  });
6741
7074
  Object.defineProperty(exports, "getDocIcon", {
6742
7075
  enumerable: true,
6743
- get: function () { return chunkBTRIS3HY_cjs.getDocIcon; }
7076
+ get: function () { return chunkQJRP2LLQ_cjs.getDocIcon; }
6744
7077
  });
6745
7078
  Object.defineProperty(exports, "getEntityColor", {
6746
7079
  enumerable: true,
6747
- get: function () { return chunkBTRIS3HY_cjs.getEntityColor; }
7080
+ get: function () { return chunkQJRP2LLQ_cjs.getEntityColor; }
6748
7081
  });
6749
7082
  Object.defineProperty(exports, "getEntityColorStyles", {
6750
7083
  enumerable: true,
6751
- get: function () { return chunkBTRIS3HY_cjs.getEntityColorStyles; }
7084
+ get: function () { return chunkQJRP2LLQ_cjs.getEntityColorStyles; }
6752
7085
  });
6753
7086
  Object.defineProperty(exports, "getEntityIcon", {
6754
7087
  enumerable: true,
6755
- get: function () { return chunkBTRIS3HY_cjs.getEntityIcon; }
7088
+ get: function () { return chunkQJRP2LLQ_cjs.getEntityIcon; }
6756
7089
  });
6757
7090
  Object.defineProperty(exports, "getEntityLabel", {
6758
7091
  enumerable: true,
6759
- get: function () { return chunkBTRIS3HY_cjs.getEntityLabel; }
7092
+ get: function () { return chunkQJRP2LLQ_cjs.getEntityLabel; }
6760
7093
  });
6761
7094
  Object.defineProperty(exports, "getStatusVariant", {
6762
7095
  enumerable: true,
6763
- get: function () { return chunkBTRIS3HY_cjs.getStatusVariant; }
7096
+ get: function () { return chunkQJRP2LLQ_cjs.getStatusVariant; }
6764
7097
  });
6765
7098
  Object.defineProperty(exports, "getTagTypeIcon", {
6766
7099
  enumerable: true,
6767
- get: function () { return chunkBTRIS3HY_cjs.getTagTypeIcon; }
7100
+ get: function () { return chunkQJRP2LLQ_cjs.getTagTypeIcon; }
6768
7101
  });
6769
7102
  Object.defineProperty(exports, "getTagTypeLabel", {
6770
7103
  enumerable: true,
6771
- get: function () { return chunkBTRIS3HY_cjs.getTagTypeLabel; }
7104
+ get: function () { return chunkQJRP2LLQ_cjs.getTagTypeLabel; }
6772
7105
  });
6773
7106
  Object.defineProperty(exports, "getWorkspaceColor", {
6774
7107
  enumerable: true,
6775
- get: function () { return chunkBTRIS3HY_cjs.getWorkspaceColor; }
7108
+ get: function () { return chunkQJRP2LLQ_cjs.getWorkspaceColor; }
6776
7109
  });
6777
7110
  Object.defineProperty(exports, "toggleVariants", {
6778
7111
  enumerable: true,
6779
- get: function () { return chunkBTRIS3HY_cjs.toggleVariants; }
7112
+ get: function () { return chunkQJRP2LLQ_cjs.toggleVariants; }
6780
7113
  });
6781
7114
  Object.defineProperty(exports, "useAudioRecorder", {
6782
7115
  enumerable: true,
6783
- get: function () { return chunkBTRIS3HY_cjs.useAudioRecorder; }
7116
+ get: function () { return chunkQJRP2LLQ_cjs.useAudioRecorder; }
6784
7117
  });
6785
7118
  Object.defineProperty(exports, "MarkdownRenderer", {
6786
7119
  enumerable: true,
@@ -6800,51 +7133,51 @@ Object.defineProperty(exports, "splitMarkdownBlocks", {
6800
7133
  });
6801
7134
  Object.defineProperty(exports, "Button", {
6802
7135
  enumerable: true,
6803
- get: function () { return chunkLQ5YHB7W_cjs.Button; }
7136
+ get: function () { return chunkWYZJLZ67_cjs.Button; }
6804
7137
  });
6805
7138
  Object.defineProperty(exports, "Dialog", {
6806
7139
  enumerable: true,
6807
- get: function () { return chunkLQ5YHB7W_cjs.Dialog; }
7140
+ get: function () { return chunkWYZJLZ67_cjs.Dialog; }
6808
7141
  });
6809
7142
  Object.defineProperty(exports, "DialogClose", {
6810
7143
  enumerable: true,
6811
- get: function () { return chunkLQ5YHB7W_cjs.DialogClose; }
7144
+ get: function () { return chunkWYZJLZ67_cjs.DialogClose; }
6812
7145
  });
6813
7146
  Object.defineProperty(exports, "DialogContent", {
6814
7147
  enumerable: true,
6815
- get: function () { return chunkLQ5YHB7W_cjs.DialogContent; }
7148
+ get: function () { return chunkWYZJLZ67_cjs.DialogContent; }
6816
7149
  });
6817
7150
  Object.defineProperty(exports, "DialogDescription", {
6818
7151
  enumerable: true,
6819
- get: function () { return chunkLQ5YHB7W_cjs.DialogDescription; }
7152
+ get: function () { return chunkWYZJLZ67_cjs.DialogDescription; }
6820
7153
  });
6821
7154
  Object.defineProperty(exports, "DialogFooter", {
6822
7155
  enumerable: true,
6823
- get: function () { return chunkLQ5YHB7W_cjs.DialogFooter; }
7156
+ get: function () { return chunkWYZJLZ67_cjs.DialogFooter; }
6824
7157
  });
6825
7158
  Object.defineProperty(exports, "DialogHeader", {
6826
7159
  enumerable: true,
6827
- get: function () { return chunkLQ5YHB7W_cjs.DialogHeader; }
7160
+ get: function () { return chunkWYZJLZ67_cjs.DialogHeader; }
6828
7161
  });
6829
7162
  Object.defineProperty(exports, "DialogOverlay", {
6830
7163
  enumerable: true,
6831
- get: function () { return chunkLQ5YHB7W_cjs.DialogOverlay; }
7164
+ get: function () { return chunkWYZJLZ67_cjs.DialogOverlay; }
6832
7165
  });
6833
7166
  Object.defineProperty(exports, "DialogPortal", {
6834
7167
  enumerable: true,
6835
- get: function () { return chunkLQ5YHB7W_cjs.DialogPortal; }
7168
+ get: function () { return chunkWYZJLZ67_cjs.DialogPortal; }
6836
7169
  });
6837
7170
  Object.defineProperty(exports, "DialogTitle", {
6838
7171
  enumerable: true,
6839
- get: function () { return chunkLQ5YHB7W_cjs.DialogTitle; }
7172
+ get: function () { return chunkWYZJLZ67_cjs.DialogTitle; }
6840
7173
  });
6841
7174
  Object.defineProperty(exports, "DialogTrigger", {
6842
7175
  enumerable: true,
6843
- get: function () { return chunkLQ5YHB7W_cjs.DialogTrigger; }
7176
+ get: function () { return chunkWYZJLZ67_cjs.DialogTrigger; }
6844
7177
  });
6845
7178
  Object.defineProperty(exports, "buttonVariants", {
6846
7179
  enumerable: true,
6847
- get: function () { return chunkLQ5YHB7W_cjs.buttonVariants; }
7180
+ get: function () { return chunkWYZJLZ67_cjs.buttonVariants; }
6848
7181
  });
6849
7182
  Object.defineProperty(exports, "closeOpenEmphasis", {
6850
7183
  enumerable: true,
@@ -6938,18 +7271,6 @@ Object.defineProperty(exports, "cn", {
6938
7271
  enumerable: true,
6939
7272
  get: function () { return chunkS6A6FSG7_cjs.cn; }
6940
7273
  });
6941
- Object.defineProperty(exports, "ArbiProvider", {
6942
- enumerable: true,
6943
- get: function () { return chunkIIT7DMQL_cjs.ArbiProvider; }
6944
- });
6945
- Object.defineProperty(exports, "useArbi", {
6946
- enumerable: true,
6947
- get: function () { return chunkIIT7DMQL_cjs.useArbi; }
6948
- });
6949
- Object.defineProperty(exports, "useDeploymentDomain", {
6950
- enumerable: true,
6951
- get: function () { return chunkIIT7DMQL_cjs.useDeploymentDomain; }
6952
- });
6953
7274
  Object.defineProperty(exports, "Arbi", {
6954
7275
  enumerable: true,
6955
7276
  get: function () { return browser.Arbi; }
@@ -7016,12 +7337,15 @@ exports.captureFrameAsBlob = captureFrameAsBlob;
7016
7337
  exports.cropImage = cropImage;
7017
7338
  exports.dayKey = dayKey;
7018
7339
  exports.describeActivity = describeActivity;
7340
+ exports.formatIdentityPrice = formatIdentityPrice;
7019
7341
  exports.getNotificationTypeMeta = getNotificationTypeMeta;
7020
7342
  exports.getWorkspaceActionText = getWorkspaceActionText;
7021
7343
  exports.getWorkspaceKind = getWorkspaceKind;
7022
7344
  exports.getWorkspaceSentPhrase = getWorkspaceSentPhrase;
7023
7345
  exports.hasVideoTrack = hasVideoTrack;
7346
+ exports.identityStepFor = identityStepFor;
7024
7347
  exports.isWorkspaceNotificationType = isWorkspaceNotificationType;
7348
+ exports.mountDiditVerification = mountDiditVerification;
7025
7349
  exports.parseActivityContent = parseActivityContent;
7026
7350
  exports.parseDeleteAccountBlockers = parseDeleteAccountBlockers;
7027
7351
  exports.pickRecentWorkspaces = pickRecentWorkspaces;
@@ -7034,6 +7358,7 @@ exports.toNotificationPreferences = toNotificationPreferences;
7034
7358
  exports.toProfileView = toProfileView;
7035
7359
  exports.toRedlineMarkdown = toRedlineMarkdown;
7036
7360
  exports.toShellWorkspace = toShellWorkspace;
7361
+ exports.useActOnStep = useActOnStep;
7037
7362
  exports.useAddContacts = useAddContacts;
7038
7363
  exports.useAgentChats = useAgentChats;
7039
7364
  exports.useAgentConfig = useAgentConfig;
@@ -7071,6 +7396,8 @@ exports.useDeleteWorkflow = useDeleteWorkflow;
7071
7396
  exports.useDirectMessages = useDirectMessages;
7072
7397
  exports.useEmailChange = useEmailChange;
7073
7398
  exports.useGrantAgentAccess = useGrantAgentAccess;
7399
+ exports.useIdentityVerification = useIdentityVerification;
7400
+ exports.useIdentityVerificationFlow = useIdentityVerificationFlow;
7074
7401
  exports.useLogoutAllSessions = useLogoutAllSessions;
7075
7402
  exports.useNameEditor = useNameEditor;
7076
7403
  exports.useNotificationPreferences = useNotificationPreferences;