@arbidocs/react 0.4.128 → 0.4.130

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist/artifacts/index.cjs +72 -55
  2. package/dist/artifacts/index.cjs.map +1 -1
  3. package/dist/artifacts/index.d.cts +17 -1
  4. package/dist/artifacts/index.d.ts +17 -1
  5. package/dist/artifacts/index.js +20 -7
  6. package/dist/artifacts/index.js.map +1 -1
  7. package/dist/{chunk-GX75JCPR.cjs → chunk-65WT5PHA.cjs} +361 -189
  8. package/dist/chunk-65WT5PHA.cjs.map +1 -0
  9. package/dist/chunk-6JSXDLIQ.js +101 -0
  10. package/dist/chunk-6JSXDLIQ.js.map +1 -0
  11. package/dist/{chunk-F7KQVVD2.cjs → chunk-6PPWZILQ.cjs} +28 -15
  12. package/dist/chunk-6PPWZILQ.cjs.map +1 -0
  13. package/dist/{chunk-EKRRORFO.js → chunk-C44GO33B.js} +105 -46
  14. package/dist/chunk-C44GO33B.js.map +1 -0
  15. package/dist/{chunk-5PQO46PE.js → chunk-J3BYHBKW.js} +358 -189
  16. package/dist/chunk-J3BYHBKW.js.map +1 -0
  17. package/dist/{chunk-G6FHNURH.js → chunk-NNWMHMEC.js} +60 -3
  18. package/dist/chunk-NNWMHMEC.js.map +1 -0
  19. package/dist/{chunk-TBELZWGV.cjs → chunk-OC7F5SNA.cjs} +108 -44
  20. package/dist/chunk-OC7F5SNA.cjs.map +1 -0
  21. package/dist/{chunk-ECOSGMTW.js → chunk-PPRKQK4P.js} +28 -15
  22. package/dist/chunk-PPRKQK4P.js.map +1 -0
  23. package/dist/chunk-S7J5SCTZ.cjs +110 -0
  24. package/dist/chunk-S7J5SCTZ.cjs.map +1 -0
  25. package/dist/{chunk-AFGE55RQ.cjs → chunk-UN3AZUXX.cjs} +2 -11
  26. package/dist/chunk-UN3AZUXX.cjs.map +1 -0
  27. package/dist/{chunk-5WXNTCI3.js → chunk-XV7EOUQM.js} +3 -11
  28. package/dist/chunk-XV7EOUQM.js.map +1 -0
  29. package/dist/{chunk-5DCRIWCA.cjs → chunk-ZWFMFOGP.cjs} +68 -2
  30. package/dist/chunk-ZWFMFOGP.cjs.map +1 -0
  31. package/dist/document-tools/index.cjs +73 -126
  32. package/dist/document-tools/index.cjs.map +1 -1
  33. package/dist/document-tools/index.d.cts +16 -4
  34. package/dist/document-tools/index.d.ts +16 -4
  35. package/dist/document-tools/index.js +28 -105
  36. package/dist/document-tools/index.js.map +1 -1
  37. package/dist/{index-B1O2cqOo.d.cts → index-2Y2MVegs.d.cts} +85 -6
  38. package/dist/{index-B1O2cqOo.d.ts → index-2Y2MVegs.d.ts} +85 -6
  39. package/dist/{index-C7OqcKY3.d.ts → index-D8NvRj3J.d.cts} +16 -7
  40. package/dist/{index-C7OqcKY3.d.cts → index-D8NvRj3J.d.ts} +16 -7
  41. package/dist/index.cjs +589 -391
  42. package/dist/index.cjs.map +1 -1
  43. package/dist/index.d.cts +248 -96
  44. package/dist/index.d.ts +248 -96
  45. package/dist/index.js +245 -78
  46. package/dist/index.js.map +1 -1
  47. package/dist/shell/index.cjs +10 -6
  48. package/dist/shell/index.d.cts +1 -1
  49. package/dist/shell/index.d.ts +1 -1
  50. package/dist/shell/index.js +1 -1
  51. package/dist/ui/index.cjs +144 -120
  52. package/dist/ui/index.d.cts +2 -1
  53. package/dist/ui/index.d.ts +2 -1
  54. package/dist/ui/index.js +2 -2
  55. package/dist/viewers/index.cjs +91 -0
  56. package/dist/viewers/index.cjs.map +1 -1
  57. package/dist/viewers/index.d.cts +62 -1
  58. package/dist/viewers/index.d.ts +62 -1
  59. package/dist/viewers/index.js +90 -1
  60. package/dist/viewers/index.js.map +1 -1
  61. package/package.json +8 -3
  62. package/dist/chunk-5DCRIWCA.cjs.map +0 -1
  63. package/dist/chunk-5PQO46PE.js.map +0 -1
  64. package/dist/chunk-5WXNTCI3.js.map +0 -1
  65. package/dist/chunk-74UTKIWQ.js +0 -62
  66. package/dist/chunk-74UTKIWQ.js.map +0 -1
  67. package/dist/chunk-AFGE55RQ.cjs.map +0 -1
  68. package/dist/chunk-ECOSGMTW.js.map +0 -1
  69. package/dist/chunk-EKRRORFO.js.map +0 -1
  70. package/dist/chunk-F7KQVVD2.cjs.map +0 -1
  71. package/dist/chunk-G6FHNURH.js.map +0 -1
  72. package/dist/chunk-GX75JCPR.cjs.map +0 -1
  73. package/dist/chunk-NUFEZBA5.cjs +0 -72
  74. package/dist/chunk-NUFEZBA5.cjs.map +0 -1
  75. package/dist/chunk-TBELZWGV.cjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkAFGE55RQ_cjs = require('./chunk-AFGE55RQ.cjs');
4
- var chunk5DCRIWCA_cjs = require('./chunk-5DCRIWCA.cjs');
5
- var chunkF7KQVVD2_cjs = require('./chunk-F7KQVVD2.cjs');
6
- var chunkGX75JCPR_cjs = require('./chunk-GX75JCPR.cjs');
7
- var chunkTBELZWGV_cjs = require('./chunk-TBELZWGV.cjs');
3
+ var chunkUN3AZUXX_cjs = require('./chunk-UN3AZUXX.cjs');
4
+ var chunkS7J5SCTZ_cjs = require('./chunk-S7J5SCTZ.cjs');
5
+ var chunkZWFMFOGP_cjs = require('./chunk-ZWFMFOGP.cjs');
6
+ require('./chunk-VOFNX4P6.cjs');
7
+ var chunk6PPWZILQ_cjs = require('./chunk-6PPWZILQ.cjs');
8
+ var chunk65WT5PHA_cjs = require('./chunk-65WT5PHA.cjs');
9
+ var chunkOC7F5SNA_cjs = require('./chunk-OC7F5SNA.cjs');
8
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');
@@ -41,7 +43,7 @@ function useUpdateConversation() {
41
43
  conversationId,
42
44
  patch
43
45
  }) => arbi.conversations.update(conversationId, patch),
44
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.allConversations() })
46
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.allConversations() })
45
47
  });
46
48
  }
47
49
  function useCreateWork() {
@@ -49,7 +51,7 @@ function useCreateWork() {
49
51
  const qc = reactQuery.useQueryClient();
50
52
  return reactQuery.useMutation({
51
53
  mutationFn: (body) => arbi.conversations.createWork(body),
52
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.allConversations() })
54
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.allConversations() })
53
55
  });
54
56
  }
55
57
  function useRunConversation() {
@@ -57,7 +59,7 @@ function useRunConversation() {
57
59
  const qc = reactQuery.useQueryClient();
58
60
  return reactQuery.useMutation({
59
61
  mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
60
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.allConversations() })
62
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.allConversations() })
61
63
  });
62
64
  }
63
65
  function useActOnStep() {
@@ -68,7 +70,7 @@ function useActOnStep() {
68
70
  conversationId,
69
71
  body
70
72
  }) => arbi.conversations.actOnStep(conversationId, body),
71
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.allConversations() })
73
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.allConversations() })
72
74
  });
73
75
  }
74
76
  function useSendBackStep() {
@@ -81,7 +83,7 @@ function useSendBackStep() {
81
83
  to,
82
84
  note
83
85
  }) => arbi.conversations.sendBackStep(conversationId, step, { to, note }),
84
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.allConversations() })
86
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.allConversations() })
85
87
  });
86
88
  }
87
89
  function usePlanWork() {
@@ -93,7 +95,7 @@ function usePlanWork() {
93
95
  function useConversationPendingAuth(conversationId, options) {
94
96
  const arbi = chunkXIDDXD5Y_cjs.useArbi();
95
97
  return reactQuery.useQuery({
96
- queryKey: [...chunkAFGE55RQ_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "pending-auth"],
98
+ queryKey: [...chunkUN3AZUXX_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "pending-auth"],
97
99
  queryFn: () => arbi.conversations.pendingAuth(conversationId),
98
100
  enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
99
101
  retry: false
@@ -102,7 +104,7 @@ function useConversationPendingAuth(conversationId, options) {
102
104
  function useConversationActivity(conversationId, options) {
103
105
  const arbi = chunkXIDDXD5Y_cjs.useArbi();
104
106
  return reactQuery.useQuery({
105
- queryKey: [...chunkAFGE55RQ_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "activity"],
107
+ queryKey: [...chunkUN3AZUXX_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "activity"],
106
108
  queryFn: () => arbi.conversations.activity(conversationId),
107
109
  enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
108
110
  refetchInterval: options?.live ? 2500 : false
@@ -111,7 +113,7 @@ function useConversationActivity(conversationId, options) {
111
113
  function useWorkflows(options) {
112
114
  const arbi = chunkXIDDXD5Y_cjs.useArbi();
113
115
  return reactQuery.useQuery({
114
- queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.workflows(),
116
+ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.workflows(),
115
117
  queryFn: () => arbi.workflows.list(),
116
118
  refetchInterval: options?.live ? 15e3 : false,
117
119
  enabled: options?.enabled ?? arbi.isLoggedIn
@@ -122,7 +124,7 @@ function useCreateWorkflow() {
122
124
  const qc = reactQuery.useQueryClient();
123
125
  return reactQuery.useMutation({
124
126
  mutationFn: (body) => arbi.workflows.create(body),
125
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.workflows() })
127
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.workflows() })
126
128
  });
127
129
  }
128
130
  function useUpdateWorkflow() {
@@ -133,7 +135,7 @@ function useUpdateWorkflow() {
133
135
  workflowId,
134
136
  patch
135
137
  }) => arbi.workflows.update(workflowId, patch),
136
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.workflows() })
138
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.workflows() })
137
139
  });
138
140
  }
139
141
  function useDeleteWorkflow() {
@@ -141,7 +143,7 @@ function useDeleteWorkflow() {
141
143
  const qc = reactQuery.useQueryClient();
142
144
  return reactQuery.useMutation({
143
145
  mutationFn: (workflowId) => arbi.workflows.delete(workflowId),
144
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.workflows() })
146
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.workflows() })
145
147
  });
146
148
  }
147
149
  function useRunWorkflow() {
@@ -150,8 +152,8 @@ function useRunWorkflow() {
150
152
  return reactQuery.useMutation({
151
153
  mutationFn: (workflowId) => arbi.workflows.run(workflowId),
152
154
  onSuccess: () => Promise.all([
153
- qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.workflows() }),
154
- qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.allConversations() })
155
+ qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.workflows() }),
156
+ qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.allConversations() })
155
157
  ])
156
158
  });
157
159
  }
@@ -160,13 +162,13 @@ function useCreateAgent() {
160
162
  const qc = reactQuery.useQueryClient();
161
163
  return reactQuery.useMutation({
162
164
  mutationFn: (name) => arbi.agents.create(name),
163
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.agents() })
165
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.agents() })
164
166
  });
165
167
  }
166
168
  function useAgentConfig(agentExtId, options) {
167
169
  const arbi = chunkXIDDXD5Y_cjs.useArbi();
168
170
  return reactQuery.useQuery({
169
- queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.agentConfig(agentExtId),
171
+ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.agentConfig(agentExtId),
170
172
  queryFn: async () => agentExtId ? await arbi.agents.getConfig(agentExtId) : await arbi.agentConfig.get("default"),
171
173
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
172
174
  });
@@ -174,7 +176,7 @@ function useAgentConfig(agentExtId, options) {
174
176
  function useAgentModels(options) {
175
177
  const arbi = chunkXIDDXD5Y_cjs.useArbi();
176
178
  return reactQuery.useQuery({
177
- queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.models(),
179
+ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.models(),
178
180
  queryFn: async () => (await arbi.agentConfig.getModels()).models.map((m) => m.model_name),
179
181
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
180
182
  });
@@ -197,17 +199,17 @@ function useSaveAgentConfig() {
197
199
  });
198
200
  },
199
201
  onSuccess: (_saved, { agentExtId }) => Promise.all([
200
- qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.configs() }),
201
- qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.agentConfig(agentExtId) }),
202
+ qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.configs() }),
203
+ qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.agentConfig(agentExtId) }),
202
204
  // The agent list shows the pinned persona/model, so it refreshes too.
203
- qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.agents() })
205
+ qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.agents() })
204
206
  ])
205
207
  });
206
208
  }
207
209
  function useAgentWorkspaces(agentExtId, options) {
208
210
  const arbi = chunkXIDDXD5Y_cjs.useArbi();
209
211
  return reactQuery.useQuery({
210
- queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.agentWorkspaces(agentExtId ?? ""),
212
+ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.agentWorkspaces(agentExtId ?? ""),
211
213
  queryFn: () => arbi.agents.listWorkspaces(agentExtId),
212
214
  enabled: (options?.enabled ?? true) && !!agentExtId && arbi.isLoggedIn
213
215
  });
@@ -228,7 +230,7 @@ function useGrantAgentAccess() {
228
230
  if (!agent?.email) throw new Error("The agent's address is unknown.");
229
231
  return arbi.workspaces.grantAccess({ workspaceId, emails: [agent.email] });
230
232
  },
231
- onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
233
+ onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
232
234
  });
233
235
  }
234
236
  function useRevokeAgentAccess() {
@@ -247,13 +249,13 @@ function useRevokeAgentAccess() {
247
249
  if (previous && previous !== workspaceId) await arbi.selectWorkspace(previous);
248
250
  }
249
251
  },
250
- onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
252
+ onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
251
253
  });
252
254
  }
253
255
  function useSkills(options) {
254
256
  const arbi = chunkXIDDXD5Y_cjs.useArbi();
255
257
  return reactQuery.useQuery({
256
- queryKey: [...chunkAFGE55RQ_cjs.arbiQueryKeys.skills(), options?.includeHidden ?? false],
258
+ queryKey: [...chunkUN3AZUXX_cjs.arbiQueryKeys.skills(), options?.includeHidden ?? false],
257
259
  queryFn: () => arbi.assistant.listSkills({ includeHidden: options?.includeHidden }),
258
260
  refetchInterval: options?.live ? 5e3 : false,
259
261
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn,
@@ -284,7 +286,7 @@ function useUploadSkillFiles() {
284
286
  }
285
287
  return results;
286
288
  },
287
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.skills() })
289
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.skills() })
288
290
  });
289
291
  }
290
292
  function useStartWorkQuery() {
@@ -311,7 +313,7 @@ function useStartWorkQuery() {
311
313
  `The run ${response.id} started, but its thread is not available yet. Do not submit it again.`
312
314
  );
313
315
  },
314
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.allConversations() })
316
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.allConversations() })
315
317
  });
316
318
  }
317
319
  function useAgentSession(agentId, options) {
@@ -475,8 +477,8 @@ function useArbiChat(options = {}) {
475
477
  const recoveryIntervalMs = streamRecovery?.intervalMs ?? 3e3;
476
478
  const recoveryTimeoutMs = streamRecovery?.timeoutMs ?? 12e4;
477
479
  const arbi = chunkXIDDXD5Y_cjs.useArbi();
478
- const { data: docs = [], isLoading: isLoadingDocuments, refetch } = chunkAFGE55RQ_cjs.useDocuments(workspaceId);
479
- const ordinaryHistory = chunkAFGE55RQ_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
480
+ const { data: docs = [], isLoading: isLoadingDocuments, refetch } = chunkUN3AZUXX_cjs.useDocuments(workspaceId);
481
+ const ordinaryHistory = chunkUN3AZUXX_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
480
482
  const agentHistory = useAgentChats(agentId);
481
483
  const stored = React.useMemo(
482
484
  () => agentId ? (agentHistory.data ?? []).filter((chat) => chat.workspace_ext_id === workspaceId).map((chat) => ({
@@ -491,7 +493,7 @@ function useArbiChat(options = {}) {
491
493
  );
492
494
  const isLoadingThreads = agentId ? agentHistory.isLoading : ordinaryHistory.isLoading;
493
495
  const refetchConversations = agentId ? agentHistory.refetch : ordinaryHistory.refetch;
494
- const query = chunkAFGE55RQ_cjs.useAssistantQuery();
496
+ const query = chunkUN3AZUXX_cjs.useAssistantQuery();
495
497
  const { mutateAsync } = query;
496
498
  const [stagedFiles, setStagedFiles] = React.useState([]);
497
499
  const [threads, setThreads] = React.useState(() => [emptyThread()]);
@@ -551,7 +553,7 @@ function useArbiChat(options = {}) {
551
553
  (conversation) => conversation.external_id === active.conversationId && conversation.status === "generating"
552
554
  ) || active.messages.some((message) => message.status === "streaming");
553
555
  const needsLoad = !!active.conversationId && !active.isLoaded;
554
- const loaded = chunkAFGE55RQ_cjs.useConversationThreads(workspaceId, active.conversationId ?? void 0, {
556
+ const loaded = chunkUN3AZUXX_cjs.useConversationThreads(workspaceId, active.conversationId ?? void 0, {
555
557
  enabled: needsLoad || liveHistory && !isRunning && !isPostingComment,
556
558
  live: liveHistory
557
559
  });
@@ -1332,14 +1334,14 @@ function useArbiDocumentSync(workspaceId) {
1332
1334
  if (!workspaceId) return;
1333
1335
  if (client.isMessageType(msg, "batch_complete")) {
1334
1336
  if (msg.workspace_ext_id !== workspaceId) return;
1335
- void queryClient.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.documents(workspaceId) });
1336
- void queryClient.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.tags(workspaceId) });
1337
+ void queryClient.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.documents(workspaceId) });
1338
+ void queryClient.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.tags(workspaceId) });
1337
1339
  return;
1338
1340
  }
1339
1341
  if (client.isMessageType(msg, "task_update")) {
1340
1342
  if (msg.workspace_ext_id !== workspaceId) return;
1341
1343
  if (TERMINAL_STATUSES.has(msg.status)) {
1342
- void queryClient.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.documents(workspaceId) });
1344
+ void queryClient.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.documents(workspaceId) });
1343
1345
  }
1344
1346
  }
1345
1347
  });
@@ -1468,7 +1470,7 @@ function useShellWorkspaces(options) {
1468
1470
  }
1469
1471
  function useArbiShellWorkspaces(options = {}) {
1470
1472
  const arbi = chunkXIDDXD5Y_cjs.useArbi();
1471
- const query = chunkAFGE55RQ_cjs.useWorkspaces();
1473
+ const query = chunkUN3AZUXX_cjs.useWorkspaces();
1472
1474
  const { select, ...rest } = options;
1473
1475
  const defaultSelect = React.useCallback(
1474
1476
  (workspace) => arbi.selectWorkspace(workspace.id),
@@ -1484,8 +1486,8 @@ function useArbiShellWorkspaces(options = {}) {
1484
1486
  }
1485
1487
  function invalidateTagData(qc, workspaceId) {
1486
1488
  return Promise.all([
1487
- qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.tags(workspaceId) }),
1488
- qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.facts(workspaceId) })
1489
+ qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.tags(workspaceId) }),
1490
+ qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.facts(workspaceId) })
1489
1491
  ]);
1490
1492
  }
1491
1493
  function useInvalidateTagData() {
@@ -1500,7 +1502,7 @@ function useTagKindSchema(kind, options) {
1500
1502
  const arbi = chunkXIDDXD5Y_cjs.useArbi();
1501
1503
  const workspaceId = arbi.getWorkspaceId() ?? "";
1502
1504
  return reactQuery.useQuery({
1503
- queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.tagKind(workspaceId, kind ?? ""),
1505
+ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.tagKind(workspaceId, kind ?? ""),
1504
1506
  queryFn: () => arbi.tagKinds.get(kind),
1505
1507
  enabled: (options?.enabled ?? true) && !!kind && !!workspaceId && arbi.hasWorkspace
1506
1508
  });
@@ -1516,7 +1518,7 @@ function useUpdateTagKindSchema() {
1516
1518
  onSuccess: (schema) => {
1517
1519
  const workspaceId = arbi.getWorkspaceId();
1518
1520
  if (!workspaceId) return;
1519
- qc.setQueryData(chunkAFGE55RQ_cjs.arbiQueryKeys.tagKind(workspaceId, schema.kind), schema);
1521
+ qc.setQueryData(chunkUN3AZUXX_cjs.arbiQueryKeys.tagKind(workspaceId, schema.kind), schema);
1520
1522
  return invalidateTagData(qc, workspaceId);
1521
1523
  }
1522
1524
  });
@@ -1535,7 +1537,7 @@ function useSetTagValues() {
1535
1537
  function useFilteredProjects(filters, options) {
1536
1538
  const arbi = chunkXIDDXD5Y_cjs.useArbi();
1537
1539
  return reactQuery.useQuery({
1538
- queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.projectsFiltered(filters.stage, filters.leadUser),
1540
+ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.projectsFiltered(filters.stage, filters.leadUser),
1539
1541
  queryFn: () => arbi.projects.list(filters),
1540
1542
  enabled: options?.enabled ?? arbi.isLoggedIn
1541
1543
  });
@@ -1548,14 +1550,14 @@ function useUpdateProjectFields() {
1548
1550
  projectExtId,
1549
1551
  patch
1550
1552
  }) => arbi.projects.update(projectExtId, patch),
1551
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.projects() })
1553
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.projects() })
1552
1554
  });
1553
1555
  }
1554
1556
  function useProjectEvents(projectExtId, options) {
1555
1557
  const arbi = chunkXIDDXD5Y_cjs.useArbi();
1556
1558
  return reactQuery.useQuery({
1557
1559
  queryKey: [
1558
- ...chunkAFGE55RQ_cjs.arbiQueryKeys.projectEvents(projectExtId ?? ""),
1560
+ ...chunkUN3AZUXX_cjs.arbiQueryKeys.projectEvents(projectExtId ?? ""),
1559
1561
  options?.kind ?? "all",
1560
1562
  options?.limit ?? "default"
1561
1563
  ],
@@ -1566,7 +1568,7 @@ function useProjectEvents(projectExtId, options) {
1566
1568
  function useConversationUsage(conversationId, options) {
1567
1569
  const arbi = chunkXIDDXD5Y_cjs.useArbi();
1568
1570
  return reactQuery.useQuery({
1569
- queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.conversationUsage(conversationId ?? ""),
1571
+ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.conversationUsage(conversationId ?? ""),
1570
1572
  queryFn: () => arbi.conversations.usage(conversationId),
1571
1573
  enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
1572
1574
  refetchInterval: options?.live ? 1e4 : false
@@ -1575,7 +1577,7 @@ function useConversationUsage(conversationId, options) {
1575
1577
  function useProjectConversationUsage(projectExtId, monthsBack = 0, options) {
1576
1578
  const arbi = chunkXIDDXD5Y_cjs.useArbi();
1577
1579
  return reactQuery.useQuery({
1578
- queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.projectConversationUsage(projectExtId ?? "", monthsBack),
1580
+ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.projectConversationUsage(projectExtId ?? "", monthsBack),
1579
1581
  queryFn: () => arbi.projects.usageByConversation(projectExtId, monthsBack),
1580
1582
  enabled: (options?.enabled ?? true) && !!projectExtId && arbi.isLoggedIn
1581
1583
  });
@@ -1583,7 +1585,7 @@ function useProjectConversationUsage(projectExtId, monthsBack = 0, options) {
1583
1585
  function useContacts(options) {
1584
1586
  const arbi = chunkXIDDXD5Y_cjs.useArbi();
1585
1587
  return reactQuery.useQuery({
1586
- queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.contacts(),
1588
+ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.contacts(),
1587
1589
  queryFn: () => arbi.contacts.list(),
1588
1590
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
1589
1591
  });
@@ -1598,7 +1600,7 @@ function usePendingContacts(options) {
1598
1600
  }
1599
1601
  function useInvalidateContacts() {
1600
1602
  const qc = reactQuery.useQueryClient();
1601
- return () => qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.contacts() });
1603
+ return () => qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.contacts() });
1602
1604
  }
1603
1605
  function useInviteContacts() {
1604
1606
  const arbi = chunkXIDDXD5Y_cjs.useArbi();
@@ -1632,6 +1634,91 @@ function useDeleteContact() {
1632
1634
  onSuccess: () => invalidate()
1633
1635
  });
1634
1636
  }
1637
+ var AccountClientContext = React.createContext(null);
1638
+ function arbiProfile(arbi) {
1639
+ const profile = arbi.user.profile();
1640
+ return profile ? toProfileView(profile) : null;
1641
+ }
1642
+ function arbiAccountClient(arbi, overrides = {}) {
1643
+ return {
1644
+ profile: () => arbiProfile(arbi),
1645
+ onProfileChange: (listener) => arbi.user.onProfileChange(() => listener()),
1646
+ updateProfile: async (vars) => {
1647
+ await arbi.profile.update({
1648
+ ...vars.givenName !== void 0 && { given_name: vars.givenName.trim() },
1649
+ ...vars.familyName !== void 0 && { family_name: vars.familyName.trim() },
1650
+ ...vars.picture !== void 0 && { picture: vars.picture }
1651
+ });
1652
+ },
1653
+ requestEmailChange: (newEmail) => arbi.account.requestEmailChange(newEmail),
1654
+ confirmEmailChange: async (newEmail, code) => {
1655
+ await arbi.account.confirmEmailChange(newEmail, code);
1656
+ },
1657
+ changePassword: (vars) => arbi.account.changePassword(vars),
1658
+ listSessions: () => arbi.sessions.list(),
1659
+ currentSessionId: () => arbi.sessions.currentId(),
1660
+ terminateSession: (sessionId) => arbi.sessions.terminate(sessionId),
1661
+ signOut: async ({ everywhere } = {}) => {
1662
+ if (everywhere) await arbi.sessions.logoutAll();
1663
+ else await arbi.logout();
1664
+ },
1665
+ requestDeletion: () => arbi.account.requestDeletion(),
1666
+ identity: {
1667
+ status: () => arbi.identity.status(),
1668
+ purchase: () => arbi.identity.purchase(),
1669
+ startSession: () => arbi.identity.startSession(),
1670
+ refresh: () => arbi.identity.refresh(),
1671
+ acceptName: () => arbi.identity.acceptName(),
1672
+ remove: () => arbi.identity.remove()
1673
+ },
1674
+ ...overrides
1675
+ };
1676
+ }
1677
+ var NO_ACCOUNT_ERROR = "The account needs an <AccountClientProvider> or an <ArbiProvider> above it";
1678
+ var refuse = () => Promise.reject(new Error(NO_ACCOUNT_ERROR));
1679
+ var NO_ACCOUNT = {
1680
+ client: {
1681
+ profile: () => null,
1682
+ onProfileChange: () => () => {
1683
+ },
1684
+ updateProfile: refuse,
1685
+ requestEmailChange: refuse,
1686
+ confirmEmailChange: refuse,
1687
+ changePassword: refuse,
1688
+ listSessions: refuse,
1689
+ currentSessionId: () => null,
1690
+ terminateSession: refuse,
1691
+ signOut: refuse,
1692
+ requestDeletion: refuse,
1693
+ identity: {
1694
+ status: refuse,
1695
+ purchase: refuse,
1696
+ startSession: refuse,
1697
+ refresh: refuse,
1698
+ acceptName: refuse,
1699
+ remove: refuse
1700
+ }
1701
+ },
1702
+ enabled: false
1703
+ };
1704
+ function AccountClientProvider({
1705
+ client,
1706
+ enabled = true,
1707
+ children
1708
+ }) {
1709
+ const value = React.useMemo(() => ({ client, enabled }), [client, enabled]);
1710
+ return /* @__PURE__ */ jsxRuntime.jsx(AccountClientContext.Provider, { value, children });
1711
+ }
1712
+ function useAccountClient() {
1713
+ const provided = React.useContext(AccountClientContext);
1714
+ const arbi = React.useContext(chunkXIDDXD5Y_cjs.ArbiContext);
1715
+ const fallback = React.useMemo(() => arbi ? arbiAccountClient(arbi) : null, [arbi]);
1716
+ if (provided) return provided;
1717
+ if (!arbi || !fallback) return NO_ACCOUNT;
1718
+ return { client: fallback, enabled: arbi.isLoggedIn };
1719
+ }
1720
+
1721
+ // src/account/profile.ts
1635
1722
  function toProfileView(profile) {
1636
1723
  return {
1637
1724
  ...profile,
@@ -1639,34 +1726,31 @@ function toProfileView(profile) {
1639
1726
  };
1640
1727
  }
1641
1728
  function useProfile(options) {
1642
- const arbi = chunkXIDDXD5Y_cjs.useArbi();
1729
+ const { client, enabled } = useAccountClient();
1730
+ const qc = reactQuery.useQueryClient();
1731
+ React.useEffect(
1732
+ () => client.onProfileChange(() => qc.setQueryData(chunkUN3AZUXX_cjs.arbiQueryKeys.profile(), client.profile())),
1733
+ [client, qc]
1734
+ );
1643
1735
  return reactQuery.useQuery({
1644
- queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.profile(),
1645
- queryFn: () => {
1646
- const profile = arbi.user.profile();
1647
- return profile ? toProfileView(profile) : null;
1648
- },
1649
- enabled: (options?.enabled ?? true) && arbi.isLoggedIn,
1736
+ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.profile(),
1737
+ queryFn: () => client.profile(),
1738
+ enabled: (options?.enabled ?? true) && enabled,
1650
1739
  staleTime: Infinity
1651
1740
  });
1652
1741
  }
1653
1742
  function useUpdateProfile() {
1654
- const arbi = chunkXIDDXD5Y_cjs.useArbi();
1743
+ const { client } = useAccountClient();
1655
1744
  const qc = reactQuery.useQueryClient();
1656
1745
  return reactQuery.useMutation({
1657
1746
  mutationFn: async (vars) => {
1658
- await arbi.profile.update({
1659
- ...vars.givenName !== void 0 && { given_name: vars.givenName.trim() },
1660
- ...vars.familyName !== void 0 && { family_name: vars.familyName.trim() },
1661
- ...vars.picture !== void 0 && { picture: vars.picture }
1662
- });
1663
- const profile = arbi.user.profile();
1664
- return profile ? toProfileView(profile) : null;
1747
+ await client.updateProfile(vars);
1748
+ return client.profile();
1665
1749
  },
1666
1750
  onSuccess: (profile) => {
1667
- qc.setQueryData(chunkAFGE55RQ_cjs.arbiQueryKeys.profile(), profile);
1668
- void qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.identity() });
1669
- return qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.workspaces() });
1751
+ qc.setQueryData(chunkUN3AZUXX_cjs.arbiQueryKeys.profile(), profile);
1752
+ void qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.identity() });
1753
+ return qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.workspaces() });
1670
1754
  }
1671
1755
  });
1672
1756
  }
@@ -1739,20 +1823,17 @@ function useAvatarCrop({
1739
1823
  };
1740
1824
  }
1741
1825
  function useRequestEmailChange() {
1742
- const arbi = chunkXIDDXD5Y_cjs.useArbi();
1826
+ const { client } = useAccountClient();
1743
1827
  return reactQuery.useMutation({
1744
- mutationFn: (newEmail) => arbi.account.requestEmailChange(newEmail)
1828
+ mutationFn: (newEmail) => client.requestEmailChange(newEmail)
1745
1829
  });
1746
1830
  }
1747
1831
  function useConfirmEmailChange() {
1748
- const arbi = chunkXIDDXD5Y_cjs.useArbi();
1832
+ const { client } = useAccountClient();
1749
1833
  const qc = reactQuery.useQueryClient();
1750
1834
  return reactQuery.useMutation({
1751
- mutationFn: ({ newEmail, code }) => arbi.account.confirmEmailChange(newEmail, code),
1752
- onSuccess: () => {
1753
- const profile = arbi.user.profile();
1754
- qc.setQueryData(chunkAFGE55RQ_cjs.arbiQueryKeys.profile(), profile ? toProfileView(profile) : null);
1755
- }
1835
+ mutationFn: ({ newEmail, code }) => client.confirmEmailChange(newEmail, code),
1836
+ onSuccess: () => qc.setQueryData(chunkUN3AZUXX_cjs.arbiQueryKeys.profile(), client.profile())
1756
1837
  });
1757
1838
  }
1758
1839
  function useEmailChange({
@@ -1816,9 +1897,9 @@ function useEmailChange({
1816
1897
  };
1817
1898
  }
1818
1899
  function usePasswordChange() {
1819
- const arbi = chunkXIDDXD5Y_cjs.useArbi();
1900
+ const { client } = useAccountClient();
1820
1901
  return reactQuery.useMutation({
1821
- mutationFn: (vars) => arbi.account.changePassword(vars)
1902
+ mutationFn: (vars) => client.changePassword(vars)
1822
1903
  });
1823
1904
  }
1824
1905
  var DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES = {
@@ -1920,7 +2001,7 @@ function toNotificationPreferences(stored, keys) {
1920
2001
  function useUserSettings(options) {
1921
2002
  const arbi = chunkXIDDXD5Y_cjs.useArbi();
1922
2003
  return reactQuery.useQuery({
1923
- queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.userSettings(),
2004
+ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.userSettings(),
1924
2005
  queryFn: () => arbi.settings.get(),
1925
2006
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
1926
2007
  });
@@ -1933,18 +2014,18 @@ function useNotificationPreferences(keys, options) {
1933
2014
  const save = reactQuery.useMutation({
1934
2015
  mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
1935
2016
  onMutate: async (patch) => {
1936
- await qc.cancelQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.userSettings() });
1937
- const previous = qc.getQueryData(chunkAFGE55RQ_cjs.arbiQueryKeys.userSettings());
2017
+ await qc.cancelQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.userSettings() });
2018
+ const previous = qc.getQueryData(chunkUN3AZUXX_cjs.arbiQueryKeys.userSettings());
1938
2019
  qc.setQueryData(
1939
- chunkAFGE55RQ_cjs.arbiQueryKeys.userSettings(),
2020
+ chunkUN3AZUXX_cjs.arbiQueryKeys.userSettings(),
1940
2021
  (old) => old ? { ...old, email_notifications: { ...old.email_notifications, ...patch } } : old
1941
2022
  );
1942
2023
  return { previous };
1943
2024
  },
1944
2025
  onError: (_err, _patch, context) => {
1945
- qc.setQueryData(chunkAFGE55RQ_cjs.arbiQueryKeys.userSettings(), context?.previous);
2026
+ qc.setQueryData(chunkUN3AZUXX_cjs.arbiQueryKeys.userSettings(), context?.previous);
1946
2027
  },
1947
- onSettled: () => qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.userSettings() })
2028
+ onSettled: () => qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.userSettings() })
1948
2029
  });
1949
2030
  const model = React.useMemo(() => toNotificationPreferences(stored, keys), [stored, keys]);
1950
2031
  const setAll = React.useCallback(
@@ -1971,18 +2052,18 @@ function useRelevanceSave() {
1971
2052
  return reactQuery.useMutation({
1972
2053
  mutationFn: (patch) => arbi.settings.update(patch),
1973
2054
  onMutate: async (patch) => {
1974
- await qc.cancelQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.userSettings() });
1975
- const previous = qc.getQueryData(chunkAFGE55RQ_cjs.arbiQueryKeys.userSettings());
2055
+ await qc.cancelQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.userSettings() });
2056
+ const previous = qc.getQueryData(chunkUN3AZUXX_cjs.arbiQueryKeys.userSettings());
1976
2057
  qc.setQueryData(
1977
- chunkAFGE55RQ_cjs.arbiQueryKeys.userSettings(),
2058
+ chunkUN3AZUXX_cjs.arbiQueryKeys.userSettings(),
1978
2059
  (old) => old ? { ...old, ...patch } : old
1979
2060
  );
1980
2061
  return { previous };
1981
2062
  },
1982
2063
  onError: (_err, _patch, context) => {
1983
- qc.setQueryData(chunkAFGE55RQ_cjs.arbiQueryKeys.userSettings(), context?.previous);
2064
+ qc.setQueryData(chunkUN3AZUXX_cjs.arbiQueryKeys.userSettings(), context?.previous);
1984
2065
  },
1985
- onSettled: () => qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.userSettings() })
2066
+ onSettled: () => qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.userSettings() })
1986
2067
  });
1987
2068
  }
1988
2069
  function useWorkspaceNotificationLevel(workspaceId, options) {
@@ -1993,7 +2074,7 @@ function useWorkspaceNotificationLevel(workspaceId, options) {
1993
2074
  const setLevel = React.useCallback(
1994
2075
  (next) => {
1995
2076
  if (!workspaceId) return;
1996
- const current = qc.getQueryData(chunkAFGE55RQ_cjs.arbiQueryKeys.userSettings()) ?? settings.data;
2077
+ const current = qc.getQueryData(chunkUN3AZUXX_cjs.arbiQueryKeys.userSettings()) ?? settings.data;
1997
2078
  save.mutate(browser.settings.workspaceLevelPatch(current, workspaceId, next));
1998
2079
  },
1999
2080
  [qc, save, settings.data, workspaceId]
@@ -2014,7 +2095,7 @@ function useFollowThread(conversationId, options) {
2014
2095
  const setFollowing = React.useCallback(
2015
2096
  (on) => {
2016
2097
  if (!conversationId) return;
2017
- const current = qc.getQueryData(chunkAFGE55RQ_cjs.arbiQueryKeys.userSettings()) ?? settings.data;
2098
+ const current = qc.getQueryData(chunkUN3AZUXX_cjs.arbiQueryKeys.userSettings()) ?? settings.data;
2018
2099
  save.mutate({
2019
2100
  followed_threads: browser.settings.withMembership(current?.followed_threads, conversationId, on)
2020
2101
  });
@@ -2029,24 +2110,32 @@ function useFollowThread(conversationId, options) {
2029
2110
  error: save.error
2030
2111
  };
2031
2112
  }
2113
+ function useSessions(options) {
2114
+ const { client, enabled } = useAccountClient();
2115
+ return reactQuery.useQuery({
2116
+ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.sessions(),
2117
+ queryFn: () => client.listSessions(),
2118
+ enabled: (options?.enabled ?? true) && enabled
2119
+ });
2120
+ }
2032
2121
  function useTerminateSession() {
2033
- const arbi = chunkXIDDXD5Y_cjs.useArbi();
2122
+ const { client } = useAccountClient();
2034
2123
  const qc = reactQuery.useQueryClient();
2035
2124
  return reactQuery.useMutation({
2036
- mutationFn: (sessionId) => arbi.sessions.terminate(sessionId),
2037
- onSuccess: () => qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.sessions() })
2125
+ mutationFn: (sessionId) => client.terminateSession(sessionId),
2126
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.sessions() })
2038
2127
  });
2039
2128
  }
2040
- function useLogoutAllSessions() {
2041
- const arbi = chunkXIDDXD5Y_cjs.useArbi();
2129
+ function useSignOut() {
2130
+ const { client } = useAccountClient();
2042
2131
  const qc = reactQuery.useQueryClient();
2043
2132
  return reactQuery.useMutation({
2044
- mutationFn: () => arbi.sessions.logoutAll(),
2045
- onSuccess: () => qc.clear()
2133
+ mutationFn: (options = {}) => client.signOut(options),
2134
+ onSettled: () => qc.clear()
2046
2135
  });
2047
2136
  }
2048
2137
  function useCurrentSessionId() {
2049
- return chunkXIDDXD5Y_cjs.useArbi().sessions.currentId();
2138
+ return useAccountClient().client.currentSessionId();
2050
2139
  }
2051
2140
  function parseDeleteAccountBlockers(error) {
2052
2141
  const body = error?.apiError ?? error;
@@ -2061,8 +2150,8 @@ function parseDeleteAccountBlockers(error) {
2061
2150
  return [];
2062
2151
  }
2063
2152
  function useDeleteAccount() {
2064
- const arbi = chunkXIDDXD5Y_cjs.useArbi();
2065
- return reactQuery.useMutation({ mutationFn: () => arbi.account.requestDeletion() });
2153
+ const { client } = useAccountClient();
2154
+ return reactQuery.useMutation({ mutationFn: () => client.requestDeletion() });
2066
2155
  }
2067
2156
  function useDeleteAccountFlow({
2068
2157
  userEmail,
@@ -2177,7 +2266,7 @@ function useIdentityVerificationFlow(api, {
2177
2266
  const apiRef = React.useRef(api);
2178
2267
  apiRef.current = api;
2179
2268
  const query = reactQuery.useQuery({
2180
- queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.identity(),
2269
+ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.identity(),
2181
2270
  queryFn: () => apiRef.current.status(),
2182
2271
  enabled,
2183
2272
  staleTime: 6e4
@@ -2195,7 +2284,7 @@ function useIdentityVerificationFlow(api, {
2195
2284
  const lastVerified = React.useRef(void 0);
2196
2285
  const apply = React.useCallback(
2197
2286
  (next) => {
2198
- qc.setQueryData(chunkAFGE55RQ_cjs.arbiQueryKeys.identity(), next);
2287
+ qc.setQueryData(chunkUN3AZUXX_cjs.arbiQueryKeys.identity(), next);
2199
2288
  if (lastVerified.current !== void 0 && lastVerified.current !== next.verified) {
2200
2289
  onVerifiedChange?.(next.verified);
2201
2290
  }
@@ -2383,33 +2472,30 @@ function useIdentityVerificationFlow(api, {
2383
2472
  };
2384
2473
  }
2385
2474
  function useIdentityVerification(options = {}) {
2386
- const arbi = chunkXIDDXD5Y_cjs.useArbi();
2475
+ const { client, enabled } = useAccountClient();
2387
2476
  const qc = reactQuery.useQueryClient();
2388
- const api = React.useMemo(
2389
- () => ({
2390
- status: () => arbi.identity.status(),
2391
- purchase: () => arbi.identity.purchase(),
2392
- startSession: () => arbi.identity.startSession(),
2393
- refresh: () => arbi.identity.refresh(),
2394
- acceptName: () => arbi.identity.acceptName(),
2395
- remove: () => arbi.identity.remove()
2396
- }),
2397
- [arbi]
2398
- );
2399
- const { onVerifiedChange, onNameAccepted } = options;
2400
- return useIdentityVerificationFlow(api, {
2401
- enabled: arbi.isLoggedIn,
2477
+ const { onVerifiedChange, onNameAccepted, formatPrice } = options;
2478
+ return useIdentityVerificationFlow(client.identity, {
2479
+ enabled,
2480
+ formatPrice,
2402
2481
  onVerifiedChange: (verified) => {
2403
- void qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.profile() });
2482
+ void qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.profile() });
2404
2483
  onVerifiedChange?.(verified);
2405
2484
  },
2406
2485
  onNameAccepted: (name) => {
2407
- void qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.profile() });
2408
- void qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.workspaces() });
2486
+ void qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.profile() });
2487
+ void qc.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.workspaces() });
2409
2488
  onNameAccepted?.(name);
2410
2489
  }
2411
2490
  });
2412
2491
  }
2492
+ async function downloadRecoveryFile(params) {
2493
+ const file = await client.createRecoveryFile({
2494
+ ...params,
2495
+ origin: params.origin ?? window.location.origin
2496
+ });
2497
+ chunkS7J5SCTZ_cjs.downloadBlob(new Blob([file.html], { type: "text/html" }), file.filename);
2498
+ }
2413
2499
 
2414
2500
  // src/mail/client.ts
2415
2501
  var MailOfflineUnavailableError = class extends Error {
@@ -2816,7 +2902,7 @@ function useMailDraftReplaced(draftId, onReplaced) {
2816
2902
  }, [draftId]);
2817
2903
  }
2818
2904
  function useWorkspaceDocs(workspaceId) {
2819
- const { data: docs = [], isLoading, isError } = chunkAFGE55RQ_cjs.useDocuments(workspaceId);
2905
+ const { data: docs = [], isLoading, isError } = chunkUN3AZUXX_cjs.useDocuments(workspaceId);
2820
2906
  const docIds = React.useMemo(
2821
2907
  () => docs.map((d) => d.external_id).filter((id) => !!id),
2822
2908
  [docs]
@@ -2824,7 +2910,7 @@ function useWorkspaceDocs(workspaceId) {
2824
2910
  return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
2825
2911
  }
2826
2912
  function useAiTask() {
2827
- const mutation = chunkAFGE55RQ_cjs.useAssistantQuery();
2913
+ const mutation = chunkUN3AZUXX_cjs.useAssistantQuery();
2828
2914
  const [status, setStatus] = React.useState("idle");
2829
2915
  const [text, setText] = React.useState("");
2830
2916
  const [stepCount, setStepCount] = React.useState(0);
@@ -3038,7 +3124,7 @@ function AiAnswer({
3038
3124
  }
3039
3125
  ),
3040
3126
  hasText && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
3041
- /* @__PURE__ */ jsxRuntime.jsx(chunkGX75JCPR_cjs.AiMarkdown, { isStreaming: running, children: text }),
3127
+ /* @__PURE__ */ jsxRuntime.jsx(chunk65WT5PHA_cjs.AiMarkdown, { isStreaming: running, children: text }),
3042
3128
  !running && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-t border-border pt-2.5", children: [
3043
3129
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs text-muted-foreground", children: [
3044
3130
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ShieldCheck, { className: "size-3.5 text-ai-accent" }),
@@ -3083,7 +3169,7 @@ function AiActionCard({
3083
3169
  const p = typeof prompt === "function" ? prompt() : prompt;
3084
3170
  void task.run(p, docIds);
3085
3171
  };
3086
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkGX75JCPR_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
3172
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunk65WT5PHA_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
3087
3173
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
3088
3174
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
3089
3175
  /* @__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" }) }),
@@ -3225,11 +3311,11 @@ function ArtifactCanvas({
3225
3311
  children: active.title
3226
3312
  }
3227
3313
  ),
3228
- isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunkGX75JCPR_cjs.Badge, { variant: "accent", className: "gap-1", children: [
3314
+ isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunk65WT5PHA_cjs.Badge, { variant: "accent", className: "gap-1", children: [
3229
3315
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.GitCompareArrows, { className: "size-3" }),
3230
3316
  " Redline"
3231
3317
  ] }),
3232
- /* @__PURE__ */ jsxRuntime.jsxs(chunkGX75JCPR_cjs.Badge, { variant: "secondary", children: [
3318
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk65WT5PHA_cjs.Badge, { variant: "secondary", children: [
3233
3319
  "v",
3234
3320
  active.version
3235
3321
  ] }),
@@ -3285,7 +3371,7 @@ function ArtifactCanvas({
3285
3371
  animate: { opacity: 1, y: 0 },
3286
3372
  transition: { duration: 0.2 },
3287
3373
  className: "mx-auto max-w-2xl rounded-lg bg-card p-8 shadow-sm ring-1 ring-border",
3288
- 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(chunkGX75JCPR_cjs.AiMarkdown, { children: active.content })
3374
+ children: active.mode === "html" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm", dangerouslySetInnerHTML: { __html: active.content } }) : active.mode === "text" ? /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap font-mono text-xs text-foreground", children: active.content }) : /* @__PURE__ */ jsxRuntime.jsx(chunk65WT5PHA_cjs.AiMarkdown, { children: active.content })
3289
3375
  },
3290
3376
  active.doc_ext_id
3291
3377
  ) }) })
@@ -3329,7 +3415,7 @@ function MessageArtifactCard({
3329
3415
  const labels = labelsFor(mode);
3330
3416
  const Icon = labels.Icon;
3331
3417
  return /* @__PURE__ */ jsxRuntime.jsxs(
3332
- chunkGX75JCPR_cjs.Card,
3418
+ chunk65WT5PHA_cjs.Card,
3333
3419
  {
3334
3420
  variant: "outline",
3335
3421
  className: "mt-3 flex items-center gap-3 px-3 py-2.5",
@@ -3405,7 +3491,7 @@ function DocSearch({
3405
3491
  status === "done" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", "data-testid": "doc-search-results", children: [
3406
3492
  /* @__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` }),
3407
3493
  results.slice(0, 8).map((r, i) => /* @__PURE__ */ jsxRuntime.jsxs(
3408
- chunkGX75JCPR_cjs.Card,
3494
+ chunk65WT5PHA_cjs.Card,
3409
3495
  {
3410
3496
  variant: "elevated",
3411
3497
  className: chunkS6A6FSG7_cjs.cn(
@@ -3418,7 +3504,7 @@ function DocSearch({
3418
3504
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-1 flex items-center gap-2", children: [
3419
3505
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 text-ai-accent" }),
3420
3506
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: r.docTitle ?? "Document" }),
3421
- r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkGX75JCPR_cjs.Badge, { variant: "secondary", children: [
3507
+ r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunk65WT5PHA_cjs.Badge, { variant: "secondary", children: [
3422
3508
  "p.",
3423
3509
  r.page
3424
3510
  ] }),
@@ -3444,8 +3530,8 @@ function DocumentReview({
3444
3530
  onClose,
3445
3531
  className
3446
3532
  }) {
3447
- const parsedQuery = chunkAFGE55RQ_cjs.useParsedDocument(docId, stage);
3448
- const tagsQuery = chunkAFGE55RQ_cjs.useTags(workspaceId);
3533
+ const parsedQuery = chunkUN3AZUXX_cjs.useParsedDocument(docId, stage);
3534
+ const tagsQuery = chunkUN3AZUXX_cjs.useTags(workspaceId);
3449
3535
  const tagNameById = React__default.default.useMemo(() => {
3450
3536
  const map = /* @__PURE__ */ new Map();
3451
3537
  for (const t of tagsQuery.data ?? []) {
@@ -3512,7 +3598,7 @@ function DocumentReview({
3512
3598
  findings.length ? ` \xB7 ${findings.length} findings` : ""
3513
3599
  ] })
3514
3600
  ] }),
3515
- doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(chunkGX75JCPR_cjs.Badge, { variant: "secondary", children: doc.status }) : null,
3601
+ doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(chunk65WT5PHA_cjs.Badge, { variant: "secondary", children: doc.status }) : null,
3516
3602
  onClose ? /* @__PURE__ */ jsxRuntime.jsx(
3517
3603
  "button",
3518
3604
  {
@@ -3549,7 +3635,7 @@ function DocumentReview({
3549
3635
  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",
3550
3636
  children: [
3551
3637
  /* @__PURE__ */ jsxRuntime.jsx(
3552
- chunkGX75JCPR_cjs.TagEntity,
3638
+ chunk65WT5PHA_cjs.TagEntity,
3553
3639
  {
3554
3640
  size: "sm",
3555
3641
  tag: {
@@ -3594,7 +3680,7 @@ function DocumentReview({
3594
3680
  ),
3595
3681
  children: [
3596
3682
  highlighted ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1", children: /* @__PURE__ */ jsxRuntime.jsx(
3597
- chunkGX75JCPR_cjs.TagEntity,
3683
+ chunk65WT5PHA_cjs.TagEntity,
3598
3684
  {
3599
3685
  size: "sm",
3600
3686
  tag: {
@@ -3603,7 +3689,7 @@ function DocumentReview({
3603
3689
  }
3604
3690
  }
3605
3691
  ) }) : null,
3606
- /* @__PURE__ */ jsxRuntime.jsx(chunkTBELZWGV_cjs.MarkdownRenderer, { className: "prose prose-sm max-w-none dark:prose-invert", children: c.content })
3692
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOC7F5SNA_cjs.MarkdownRenderer, { className: "prose prose-sm max-w-none dark:prose-invert", children: c.content })
3607
3693
  ]
3608
3694
  },
3609
3695
  cid ?? i
@@ -3643,7 +3729,7 @@ function ResultRow({
3643
3729
  onSelect
3644
3730
  }) {
3645
3731
  return /* @__PURE__ */ jsxRuntime.jsx(
3646
- chunkGX75JCPR_cjs.PassageCard,
3732
+ chunk65WT5PHA_cjs.PassageCard,
3647
3733
  {
3648
3734
  onClick: onSelect,
3649
3735
  active: isActive,
@@ -3652,7 +3738,7 @@ function ResultRow({
3652
3738
  header: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
3653
3739
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 shrink-0 text-ai-accent" }),
3654
3740
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: result.docTitle ?? "Document" }),
3655
- result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkGX75JCPR_cjs.Badge, { variant: "secondary", children: [
3741
+ result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunk65WT5PHA_cjs.Badge, { variant: "secondary", children: [
3656
3742
  "p.",
3657
3743
  result.page
3658
3744
  ] })
@@ -3676,7 +3762,7 @@ function SemanticSearch({
3676
3762
  const { results, status, error, search, isRunning, query } = useSemanticSearch(docIds);
3677
3763
  const [value, setValue] = React.useState("");
3678
3764
  const [selected, setSelected] = React.useState(null);
3679
- const { data: docs = [] } = chunkAFGE55RQ_cjs.useDocuments(workspaceId, { enabled: !!workspaceId });
3765
+ const { data: docs = [] } = chunkUN3AZUXX_cjs.useDocuments(workspaceId, { enabled: !!workspaceId });
3680
3766
  const docMap = React.useMemo(() => {
3681
3767
  const map = /* @__PURE__ */ new Map();
3682
3768
  for (const d of docs) if (d.external_id) map.set(d.external_id, d);
@@ -3821,7 +3907,7 @@ Question: ${question}`,
3821
3907
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 space-y-3", "data-testid": "doc-qa", children: [
3822
3908
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
3823
3909
  /* @__PURE__ */ jsxRuntime.jsx(
3824
- chunkGX75JCPR_cjs.Input,
3910
+ chunk65WT5PHA_cjs.Input,
3825
3911
  {
3826
3912
  value: q,
3827
3913
  onChange: (e) => setQ(e.target.value),
@@ -4023,7 +4109,7 @@ var CitationPopover = ({
4023
4109
  return () => {
4024
4110
  if (!restoreFocusRef.current) return;
4025
4111
  restoreFocusRef.current = false;
4026
- if (triggerRef.current) chunkGX75JCPR_cjs.returnFocusToMark(triggerRef.current);
4112
+ if (triggerRef.current) chunk65WT5PHA_cjs.returnFocusToMark(triggerRef.current);
4027
4113
  };
4028
4114
  }, [open]);
4029
4115
  React.useEffect(() => {
@@ -4224,7 +4310,7 @@ var CitationLink = ({
4224
4310
  triggerRef,
4225
4311
  children
4226
4312
  }) => /* @__PURE__ */ jsxRuntime.jsxs(
4227
- chunkGX75JCPR_cjs.MarkMenu,
4313
+ chunk65WT5PHA_cjs.MarkMenu,
4228
4314
  {
4229
4315
  triggerRef,
4230
4316
  items,
@@ -4265,8 +4351,8 @@ var FileIcon = ({ size = 16, className = "" }) => {
4265
4351
  "path",
4266
4352
  {
4267
4353
  d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
4268
- fill: chunkGX75JCPR_cjs.FILE_TYPE_COLORS.generic,
4269
- stroke: chunkGX75JCPR_cjs.FILE_TYPE_COLORS.generic,
4354
+ fill: chunk65WT5PHA_cjs.FILE_TYPE_COLORS.generic,
4355
+ stroke: chunk65WT5PHA_cjs.FILE_TYPE_COLORS.generic,
4270
4356
  strokeWidth: "1",
4271
4357
  strokeLinecap: "round",
4272
4358
  strokeLinejoin: "round"
@@ -4277,7 +4363,7 @@ var FileIcon = ({ size = 16, className = "" }) => {
4277
4363
  {
4278
4364
  d: "M14 2v6h6",
4279
4365
  fill: "none",
4280
- stroke: chunkGX75JCPR_cjs.FILE_TYPE_COLORS.white,
4366
+ stroke: chunk65WT5PHA_cjs.FILE_TYPE_COLORS.white,
4281
4367
  strokeWidth: "1",
4282
4368
  strokeLinecap: "round",
4283
4369
  strokeLinejoin: "round"
@@ -4615,7 +4701,7 @@ var ArbiBotIcon = ({ size = 24, className = "" }) => {
4615
4701
  );
4616
4702
  };
4617
4703
  function getNotificationTypeMeta(type) {
4618
- const WorkspaceIcon = chunkGX75JCPR_cjs.getEntityIcon("WORKSPACE");
4704
+ const WorkspaceIcon = chunk65WT5PHA_cjs.getEntityIcon("WORKSPACE");
4619
4705
  switch (type) {
4620
4706
  case "agent_input_requested":
4621
4707
  return { Icon: lucideReact.MessageCircleMore, iconClassName: "text-primary", label: "Input needed" };
@@ -4644,6 +4730,9 @@ function getNotificationTypeMeta(type) {
4644
4730
  return { Icon: lucideReact.FileText, iconClassName: "text-primary", label: "Document" };
4645
4731
  case "contact_accepted":
4646
4732
  return { Icon: lucideReact.UserCheck, iconClassName: "text-green-500", label: "Invitation" };
4733
+ case "deployment_user_invited":
4734
+ case "deployment_user_registered":
4735
+ return { Icon: lucideReact.UserPlus, iconClassName: "text-primary", label: "Users" };
4647
4736
  case "signup_reward":
4648
4737
  return { Icon: lucideReact.PartyPopper, iconClassName: "text-green-600", label: "Signup bonus" };
4649
4738
  case "referral_reward":
@@ -4745,7 +4834,7 @@ function describeActivity(content) {
4745
4834
  }
4746
4835
  default:
4747
4836
  return {
4748
- Icon: parsed.workspace_ext_id ? chunkGX75JCPR_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
4837
+ Icon: parsed.workspace_ext_id ? chunk65WT5PHA_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
4749
4838
  iconClassName: "text-muted-foreground",
4750
4839
  title: humaniseEvent(parsed.event)
4751
4840
  };
@@ -4775,7 +4864,7 @@ function ActivityFeed({
4775
4864
  enabled,
4776
4865
  "data-testid": testId = "activity-feed"
4777
4866
  }) {
4778
- const { data, isLoading, isError } = chunkAFGE55RQ_cjs.useActivity({ limit, enabled });
4867
+ const { data, isLoading, isError } = chunkUN3AZUXX_cjs.useActivity({ limit, enabled });
4779
4868
  if (isLoading) {
4780
4869
  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: [
4781
4870
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
@@ -4933,7 +5022,7 @@ function useDirectMessages(options) {
4933
5022
  enabled
4934
5023
  });
4935
5024
  const contactsQuery = reactQuery.useQuery({
4936
- queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.contacts(),
5025
+ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.contacts(),
4937
5026
  queryFn: () => arbi.contacts.list(),
4938
5027
  enabled
4939
5028
  });
@@ -5019,7 +5108,7 @@ function DmAvatar({ user, className, size = "lg" }) {
5019
5108
  const presence = useArbiWsStore((s) => s.presence[user.external_id]);
5020
5109
  const displayStatus = presence === void 0 ? void 0 : presence === "online" ? "connected" : "disconnected";
5021
5110
  return /* @__PURE__ */ jsxRuntime.jsx(
5022
- chunkGX75JCPR_cjs.UserEntity,
5111
+ chunk65WT5PHA_cjs.UserEntity,
5023
5112
  {
5024
5113
  variant: "icon",
5025
5114
  size,
@@ -5029,7 +5118,7 @@ function DmAvatar({ user, className, size = "lg" }) {
5029
5118
  initials: userInitials(user),
5030
5119
  displayName: userDisplayName(user),
5031
5120
  picture: user.picture,
5032
- avatarStyle: chunkGX75JCPR_cjs.getEntityColorStyles(user.external_id),
5121
+ avatarStyle: chunk65WT5PHA_cjs.getEntityColorStyles(user.external_id),
5033
5122
  isAgent: isAgentUser(user),
5034
5123
  displayStatus
5035
5124
  }
@@ -5085,10 +5174,10 @@ function ConversationList({
5085
5174
  children: c.title ?? userDisplayName(peer)
5086
5175
  }
5087
5176
  ),
5088
- c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunkGX75JCPR_cjs.AgentBadge, {}) : null)
5177
+ c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunk65WT5PHA_cjs.AgentBadge, {}) : null)
5089
5178
  ] }),
5090
5179
  c.statusLabel ? /* @__PURE__ */ jsxRuntime.jsx(
5091
- chunkGX75JCPR_cjs.Badge,
5180
+ chunk65WT5PHA_cjs.Badge,
5092
5181
  {
5093
5182
  variant: "outline",
5094
5183
  className: "shrink-0 rounded-full px-2 py-0 text-xs font-medium text-muted-foreground",
@@ -5099,7 +5188,7 @@ function ConversationList({
5099
5188
  // shouted louder than the message it was counting.
5100
5189
  // Enough to catch the eye scanning the list, no more.
5101
5190
  /* @__PURE__ */ jsxRuntime.jsx(
5102
- chunkGX75JCPR_cjs.Badge,
5191
+ chunk65WT5PHA_cjs.Badge,
5103
5192
  {
5104
5193
  variant: "accent",
5105
5194
  className: chunkS6A6FSG7_cjs.cn(
@@ -5135,7 +5224,7 @@ function ConversationList({
5135
5224
  children: c.subtitle ?? preview
5136
5225
  }
5137
5226
  ),
5138
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 text-xs text-muted-foreground", children: lastMessage ? chunkF7KQVVD2_cjs.formatRelativeTime(lastMessage.createdAt) : "" })
5227
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 text-xs text-muted-foreground", children: lastMessage ? chunk6PPWZILQ_cjs.formatRelativeTime(lastMessage.createdAt) : "" })
5139
5228
  ] })
5140
5229
  ] })
5141
5230
  ] });
@@ -5219,7 +5308,7 @@ function MessageBubble({
5219
5308
  isLastOfRun,
5220
5309
  senderName: message.isMine ? "You" : userDisplayName(message.sender),
5221
5310
  classNames,
5222
- formatTimestamp: chunkF7KQVVD2_cjs.formatRelativeTime
5311
+ formatTimestamp: chunk6PPWZILQ_cjs.formatRelativeTime
5223
5312
  }
5224
5313
  );
5225
5314
  }
@@ -5424,7 +5513,7 @@ function DmComposer({
5424
5513
  )
5425
5514
  ] }),
5426
5515
  /* @__PURE__ */ jsxRuntime.jsx(
5427
- chunkGX75JCPR_cjs.Textarea,
5516
+ chunk65WT5PHA_cjs.Textarea,
5428
5517
  {
5429
5518
  ref: inputRef,
5430
5519
  value: draft,
@@ -5518,9 +5607,9 @@ function StartByEmail({
5518
5607
  void submit();
5519
5608
  },
5520
5609
  children: [
5521
- /* @__PURE__ */ jsxRuntime.jsx(chunkGX75JCPR_cjs.Label, { htmlFor: `${uid}-email`, children: l.email }),
5610
+ /* @__PURE__ */ jsxRuntime.jsx(chunk65WT5PHA_cjs.Label, { htmlFor: `${uid}-email`, children: l.email }),
5522
5611
  /* @__PURE__ */ jsxRuntime.jsx(
5523
- chunkGX75JCPR_cjs.Input,
5612
+ chunk65WT5PHA_cjs.Input,
5524
5613
  {
5525
5614
  id: `${uid}-email`,
5526
5615
  type: "email",
@@ -5534,9 +5623,9 @@ function StartByEmail({
5534
5623
  }
5535
5624
  ),
5536
5625
  email !== "" && !valid && /* @__PURE__ */ jsxRuntime.jsx("p", { id: `${uid}-bad`, className: "text-xs text-destructive", children: l.invalidEmail }),
5537
- /* @__PURE__ */ jsxRuntime.jsx(chunkGX75JCPR_cjs.Label, { htmlFor: `${uid}-text`, children: l.message }),
5626
+ /* @__PURE__ */ jsxRuntime.jsx(chunk65WT5PHA_cjs.Label, { htmlFor: `${uid}-text`, children: l.message }),
5538
5627
  /* @__PURE__ */ jsxRuntime.jsx(
5539
- chunkGX75JCPR_cjs.Textarea,
5628
+ chunk65WT5PHA_cjs.Textarea,
5540
5629
  {
5541
5630
  id: `${uid}-text`,
5542
5631
  value: text,
@@ -5753,7 +5842,7 @@ function ImageCropper({
5753
5842
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
5754
5843
  /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Zoom" }),
5755
5844
  /* @__PURE__ */ jsxRuntime.jsx(
5756
- chunkGX75JCPR_cjs.Slider,
5845
+ chunk65WT5PHA_cjs.Slider,
5757
5846
  {
5758
5847
  value: [zoom],
5759
5848
  onValueChange: ([v]) => setZoom(v ?? 1),
@@ -6086,12 +6175,89 @@ function CommandPaletteProvider({
6086
6175
  /* @__PURE__ */ jsxRuntime.jsx(CommandPalette, { open: isOpen, onOpenChange: setIsOpen, ...paletteProps })
6087
6176
  ] });
6088
6177
  }
6089
- var useArbiUiStore = zustand.create((set) => ({
6090
- selectedDocIds: [],
6091
- setSelectedDocIds: (ids) => set({ selectedDocIds: ids }),
6092
- viewingDocId: null,
6093
- setViewingDocId: (id) => set({ viewingDocId: id })
6094
- }));
6178
+
6179
+ // src/session/store.ts
6180
+ var EMPTY_SESSION_STATE = {
6181
+ workspaceId: null,
6182
+ conversationId: null,
6183
+ viewingDocument: null,
6184
+ selectedDocumentIds: [],
6185
+ generating: {},
6186
+ paMode: false,
6187
+ conversationDocuments: {}
6188
+ };
6189
+ var selectViewingDocumentId = (state) => state.viewingDocument ? chunkZWFMFOGP_cjs.parseVersionRef(state.viewingDocument.id).docId : null;
6190
+ var selectIsGenerating = (conversationId) => (state) => !!conversationId && !!state.generating[conversationId]?.isGenerating;
6191
+ function nextViewingDocument(current, input) {
6192
+ if (!input) return null;
6193
+ const same = current?.id === input.id;
6194
+ return {
6195
+ id: input.id,
6196
+ page: input.page !== void 0 ? input.page : same ? current?.page ?? null : null,
6197
+ passageId: input.passageId !== void 0 ? input.passageId : current?.passageId ?? null
6198
+ };
6199
+ }
6200
+ function createArbiSessionStore(initial = {}) {
6201
+ let state = { ...EMPTY_SESSION_STATE, ...initial };
6202
+ const listeners = /* @__PURE__ */ new Set();
6203
+ const update = (patch) => {
6204
+ state = { ...state, ...patch };
6205
+ listeners.forEach((listener) => listener());
6206
+ };
6207
+ return {
6208
+ getState: () => state,
6209
+ subscribe: (listener) => {
6210
+ listeners.add(listener);
6211
+ return () => listeners.delete(listener);
6212
+ },
6213
+ setWorkspaceId: (workspaceId) => {
6214
+ if (state.workspaceId !== workspaceId) update({ workspaceId });
6215
+ },
6216
+ setConversationId: (conversationId) => {
6217
+ if (state.conversationId !== conversationId) update({ conversationId });
6218
+ },
6219
+ setViewingDocument: (input) => update({ viewingDocument: nextViewingDocument(state.viewingDocument, input) }),
6220
+ setSelectedDocumentIds: (ids) => update({ selectedDocumentIds: ids }),
6221
+ setConversationGenerating: (conversationId, isGenerating) => {
6222
+ const current = state.generating[conversationId];
6223
+ update({
6224
+ generating: {
6225
+ ...state.generating,
6226
+ [conversationId]: {
6227
+ isGenerating,
6228
+ error: isGenerating ? null : current?.error ?? null,
6229
+ startTime: isGenerating ? Date.now() : null
6230
+ }
6231
+ }
6232
+ });
6233
+ },
6234
+ setPaMode: (paMode) => {
6235
+ if (state.paMode !== paMode) update({ paMode });
6236
+ },
6237
+ setConversationDocuments: (conversationId, documents) => update({
6238
+ conversationDocuments: { ...state.conversationDocuments, [conversationId]: documents }
6239
+ })
6240
+ };
6241
+ }
6242
+ var ArbiSessionStoreContext = React.createContext(null);
6243
+ var moduleDefault = null;
6244
+ var defaultStore = () => moduleDefault ??= createArbiSessionStore();
6245
+ function ArbiSessionStateProvider({
6246
+ store,
6247
+ children
6248
+ }) {
6249
+ const enclosing = React.useContext(ArbiSessionStoreContext);
6250
+ const [own] = React.useState(createArbiSessionStore);
6251
+ return /* @__PURE__ */ jsxRuntime.jsx(ArbiSessionStoreContext.Provider, { value: store ?? enclosing ?? own, children });
6252
+ }
6253
+ function useArbiSessionStore() {
6254
+ return React.useContext(ArbiSessionStoreContext) ?? defaultStore();
6255
+ }
6256
+ function useArbiSessionState(selector) {
6257
+ const store = useArbiSessionStore();
6258
+ const select = () => selector(store.getState());
6259
+ return React.useSyncExternalStore(store.subscribe, select, select);
6260
+ }
6095
6261
  agGridCommunity.ModuleRegistry.registerModules([agGridCommunity.AllCommunityModule]);
6096
6262
  function formatBytes(bytes) {
6097
6263
  if (bytes == null || Number.isNaN(bytes)) return "\u2014";
@@ -6125,10 +6291,10 @@ function DocumentTable({
6125
6291
  extraColumns,
6126
6292
  className
6127
6293
  }) {
6128
- const query = chunkAFGE55RQ_cjs.useDocuments(workspaceId, { enabled: !documents });
6294
+ const query = chunkUN3AZUXX_cjs.useDocuments(workspaceId, { enabled: !documents });
6129
6295
  const rows = documents ?? query.data ?? [];
6130
6296
  const isLoading = !documents && query.isLoading;
6131
- const tagsQuery = chunkAFGE55RQ_cjs.useTags(workspaceId);
6297
+ const tagsQuery = chunkUN3AZUXX_cjs.useTags(workspaceId);
6132
6298
  const tagNameById = React__default.default.useMemo(() => {
6133
6299
  const map = /* @__PURE__ */ new Map();
6134
6300
  for (const t of tagsQuery.data ?? []) {
@@ -6136,19 +6302,19 @@ function DocumentTable({
6136
6302
  }
6137
6303
  return map;
6138
6304
  }, [tagsQuery.data]);
6139
- const storeSelected = useArbiUiStore((s) => s.selectedDocIds);
6140
- const storeSetSelected = useArbiUiStore((s) => s.setSelectedDocIds);
6141
- const viewingDocId = useArbiUiStore((s) => s.viewingDocId);
6142
- const setViewingDocId = useArbiUiStore((s) => s.setViewingDocId);
6305
+ const session = useArbiSessionStore();
6306
+ const storeSelected = useArbiSessionState((s) => s.selectedDocumentIds);
6307
+ const storeSetSelected = session.setSelectedDocumentIds;
6308
+ const viewingDocId = useArbiSessionState(selectViewingDocumentId);
6143
6309
  const effectiveSelected = selectedIds ?? storeSelected;
6144
6310
  const emitSelection = onSelectionChange ?? storeSetSelected;
6145
6311
  const gridApiRef = React__default.default.useRef(null);
6146
6312
  const openDocument = React__default.default.useCallback(
6147
6313
  (id) => {
6148
- setViewingDocId(id);
6314
+ session.setViewingDocument({ id });
6149
6315
  onOpenDocument?.(id);
6150
6316
  },
6151
- [onOpenDocument, setViewingDocId]
6317
+ [onOpenDocument, session]
6152
6318
  );
6153
6319
  const applySelection = React__default.default.useCallback(() => {
6154
6320
  const api = gridApiRef.current;
@@ -6188,7 +6354,7 @@ function DocumentTable({
6188
6354
  const doc = p.data;
6189
6355
  if (!doc) return null;
6190
6356
  return /* @__PURE__ */ jsxRuntime.jsx(
6191
- chunkGX75JCPR_cjs.DocumentEntity,
6357
+ chunk65WT5PHA_cjs.DocumentEntity,
6192
6358
  {
6193
6359
  doc,
6194
6360
  size: "base",
@@ -6211,7 +6377,7 @@ function DocumentTable({
6211
6377
  cellRenderer: (p) => {
6212
6378
  const status = p.data?.status;
6213
6379
  if (!status) return null;
6214
- return /* @__PURE__ */ jsxRuntime.jsx(chunkGX75JCPR_cjs.Badge, { variant: STATUS_VARIANTS[status.toLowerCase()] ?? "secondary", children: status });
6380
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk65WT5PHA_cjs.Badge, { variant: STATUS_VARIANTS[status.toLowerCase()] ?? "secondary", children: status });
6215
6381
  }
6216
6382
  },
6217
6383
  {
@@ -6225,7 +6391,7 @@ function DocumentTable({
6225
6391
  const doctags = p.data?.doctags ?? [];
6226
6392
  if (doctags.length === 0) return null;
6227
6393
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap items-center gap-1 py-1", children: doctags.map((dt) => /* @__PURE__ */ jsxRuntime.jsx(
6228
- chunkGX75JCPR_cjs.TagEntity,
6394
+ chunk65WT5PHA_cjs.TagEntity,
6229
6395
  {
6230
6396
  size: "sm",
6231
6397
  tag: {
@@ -6309,7 +6475,7 @@ function DocumentCardMenu({
6309
6475
  const invalidateDocuments = () => {
6310
6476
  const workspaceId = arbi.getWorkspaceId();
6311
6477
  if (workspaceId) {
6312
- void queryClient.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.documents(workspaceId) });
6478
+ void queryClient.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.documents(workspaceId) });
6313
6479
  }
6314
6480
  };
6315
6481
  const download = reactQuery.useMutation({
@@ -6408,10 +6574,10 @@ function DocumentGallery({
6408
6574
  minTileWidth = 148,
6409
6575
  className
6410
6576
  }) {
6411
- const query = chunkAFGE55RQ_cjs.useDocuments(workspaceId, { enabled: !documents });
6577
+ const query = chunkUN3AZUXX_cjs.useDocuments(workspaceId, { enabled: !documents });
6412
6578
  const rows = documents ?? query.data ?? [];
6413
6579
  const isLoading = !documents && query.isLoading;
6414
- const tagsQuery = chunkAFGE55RQ_cjs.useTags(workspaceId);
6580
+ const tagsQuery = chunkUN3AZUXX_cjs.useTags(workspaceId);
6415
6581
  const tagNameById = React__default.default.useMemo(() => {
6416
6582
  const map = /* @__PURE__ */ new Map();
6417
6583
  for (const t of tagsQuery.data ?? []) {
@@ -6423,12 +6589,12 @@ function DocumentGallery({
6423
6589
  () => rows.map((d) => d.external_id).filter((id) => !!id),
6424
6590
  [rows]
6425
6591
  );
6426
- const thumbsQuery = chunkAFGE55RQ_cjs.useThumbnails(docIds);
6592
+ const thumbsQuery = chunkUN3AZUXX_cjs.useThumbnails(docIds);
6427
6593
  const thumbs = thumbsQuery.data ?? {};
6428
- const storeSelected = useArbiUiStore((s) => s.selectedDocIds);
6429
- const storeSetSelected = useArbiUiStore((s) => s.setSelectedDocIds);
6430
- const viewingDocId = useArbiUiStore((s) => s.viewingDocId);
6431
- const setViewingDocId = useArbiUiStore((s) => s.setViewingDocId);
6594
+ const session = useArbiSessionStore();
6595
+ const storeSelected = useArbiSessionState((s) => s.selectedDocumentIds);
6596
+ const storeSetSelected = session.setSelectedDocumentIds;
6597
+ const viewingDocId = useArbiSessionState(selectViewingDocumentId);
6432
6598
  const effectiveSelected = selectedIds ?? storeSelected;
6433
6599
  const emitSelection = onSelectionChange ?? storeSetSelected;
6434
6600
  const selectedSet = React__default.default.useMemo(() => new Set(effectiveSelected), [effectiveSelected]);
@@ -6443,10 +6609,10 @@ function DocumentGallery({
6443
6609
  );
6444
6610
  const openDocument = React__default.default.useCallback(
6445
6611
  (id) => {
6446
- setViewingDocId(id);
6612
+ session.setViewingDocument({ id });
6447
6613
  onOpenDocument?.(id);
6448
6614
  },
6449
- [onOpenDocument, setViewingDocId]
6615
+ [onOpenDocument, session]
6450
6616
  );
6451
6617
  const arbi = chunkXIDDXD5Y_cjs.useArbi();
6452
6618
  const queryClient = reactQuery.useQueryClient();
@@ -6459,7 +6625,7 @@ function DocumentGallery({
6459
6625
  setRenamingId(null);
6460
6626
  const activeWorkspace = workspaceId ?? arbi.getWorkspaceId();
6461
6627
  if (activeWorkspace) {
6462
- void queryClient.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.documents(activeWorkspace) });
6628
+ void queryClient.invalidateQueries({ queryKey: chunkUN3AZUXX_cjs.arbiQueryKeys.documents(activeWorkspace) });
6463
6629
  }
6464
6630
  }
6465
6631
  });
@@ -6501,7 +6667,7 @@ function DocumentGallery({
6501
6667
  (dt) => tagNameById.get(dt.tag_ext_id) ?? dt.tag_ext_id.slice(0, 8)
6502
6668
  );
6503
6669
  return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-doc-id": id, "data-testid": "document-gallery-card", children: /* @__PURE__ */ jsxRuntime.jsx(
6504
- chunkGX75JCPR_cjs.DocumentCard,
6670
+ chunk65WT5PHA_cjs.DocumentCard,
6505
6671
  {
6506
6672
  doc,
6507
6673
  thumbnailUrl: thumbs[id],
@@ -6538,7 +6704,7 @@ function VoiceNoteRecorder({
6538
6704
  isSaving = false,
6539
6705
  transcribe
6540
6706
  }) {
6541
- const recorder = chunkGX75JCPR_cjs.useAudioRecorder();
6707
+ const recorder = chunk65WT5PHA_cjs.useAudioRecorder();
6542
6708
  const [transcript, setTranscript] = React.useState(null);
6543
6709
  const [isTranscribing, setIsTranscribing] = React.useState(false);
6544
6710
  React.useEffect(() => {
@@ -6584,7 +6750,7 @@ function VoiceNoteRecorder({
6584
6750
  ] }),
6585
6751
  (recorder.state === "recording" || recorder.state === "paused") && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6586
6752
  /* @__PURE__ */ jsxRuntime.jsx(
6587
- chunkGX75JCPR_cjs.MicWaveformIndicator,
6753
+ chunk65WT5PHA_cjs.MicWaveformIndicator,
6588
6754
  {
6589
6755
  level: recorder.level,
6590
6756
  elapsedMs: recorder.elapsedMs,
@@ -6706,7 +6872,7 @@ function DraftTitleControls({
6706
6872
  }
6707
6873
  ),
6708
6874
  /* @__PURE__ */ jsxRuntime.jsx(
6709
- chunkGX75JCPR_cjs.IconToggle,
6875
+ chunk65WT5PHA_cjs.IconToggle,
6710
6876
  {
6711
6877
  icon: lucideReact.Sparkles,
6712
6878
  isActive: autoRename,
@@ -6740,7 +6906,7 @@ function useCameraStream(constraints = { video: true, audio: false }) {
6740
6906
  streamRef.current = media;
6741
6907
  setStream(media);
6742
6908
  } catch (err) {
6743
- setError(chunkGX75JCPR_cjs.classifyMediaError(err, "camera"));
6909
+ setError(chunk65WT5PHA_cjs.classifyMediaError(err, "camera"));
6744
6910
  } finally {
6745
6911
  setIsStarting(false);
6746
6912
  }
@@ -6976,7 +7142,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
6976
7142
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative inline-flex h-2 w-2 rounded-full bg-red-500" })
6977
7143
  ] }),
6978
7144
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-semibold uppercase tracking-wide text-red-500", children: "Rec" }),
6979
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunkGX75JCPR_cjs.formatElapsed(recorder.elapsedMs) })
7145
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunk65WT5PHA_cjs.formatElapsed(recorder.elapsedMs) })
6980
7146
  ] }),
6981
7147
  recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsx(
6982
7148
  chunkWYZJLZ67_cjs.Button,
@@ -7077,763 +7243,783 @@ function hasVideoTrack(blob) {
7077
7243
 
7078
7244
  Object.defineProperty(exports, "PROJECT_CREATION_DENIED_REASON", {
7079
7245
  enumerable: true,
7080
- get: function () { return chunkAFGE55RQ_cjs.PROJECT_CREATION_DENIED_REASON; }
7246
+ get: function () { return chunkUN3AZUXX_cjs.PROJECT_CREATION_DENIED_REASON; }
7081
7247
  });
7082
7248
  Object.defineProperty(exports, "arbiQueryKeys", {
7083
7249
  enumerable: true,
7084
- get: function () { return chunkAFGE55RQ_cjs.arbiQueryKeys; }
7250
+ get: function () { return chunkUN3AZUXX_cjs.arbiQueryKeys; }
7085
7251
  });
7086
7252
  Object.defineProperty(exports, "isUsageMetered", {
7087
7253
  enumerable: true,
7088
- get: function () { return chunkAFGE55RQ_cjs.isUsageMetered; }
7254
+ get: function () { return chunkUN3AZUXX_cjs.isUsageMetered; }
7089
7255
  });
7090
7256
  Object.defineProperty(exports, "useActivity", {
7091
7257
  enumerable: true,
7092
- get: function () { return chunkAFGE55RQ_cjs.useActivity; }
7258
+ get: function () { return chunkUN3AZUXX_cjs.useActivity; }
7093
7259
  });
7094
7260
  Object.defineProperty(exports, "useAgents", {
7095
7261
  enumerable: true,
7096
- get: function () { return chunkAFGE55RQ_cjs.useAgents; }
7262
+ get: function () { return chunkUN3AZUXX_cjs.useAgents; }
7097
7263
  });
7098
7264
  Object.defineProperty(exports, "useAssistantQuery", {
7099
7265
  enumerable: true,
7100
- get: function () { return chunkAFGE55RQ_cjs.useAssistantQuery; }
7266
+ get: function () { return chunkUN3AZUXX_cjs.useAssistantQuery; }
7101
7267
  });
7102
7268
  Object.defineProperty(exports, "useCanCreateProjects", {
7103
7269
  enumerable: true,
7104
- get: function () { return chunkAFGE55RQ_cjs.useCanCreateProjects; }
7270
+ get: function () { return chunkUN3AZUXX_cjs.useCanCreateProjects; }
7105
7271
  });
7106
7272
  Object.defineProperty(exports, "useConfigs", {
7107
7273
  enumerable: true,
7108
- get: function () { return chunkAFGE55RQ_cjs.useConfigs; }
7274
+ get: function () { return chunkUN3AZUXX_cjs.useConfigs; }
7109
7275
  });
7110
7276
  Object.defineProperty(exports, "useConversationThreads", {
7111
7277
  enumerable: true,
7112
- get: function () { return chunkAFGE55RQ_cjs.useConversationThreads; }
7278
+ get: function () { return chunkUN3AZUXX_cjs.useConversationThreads; }
7113
7279
  });
7114
7280
  Object.defineProperty(exports, "useConversations", {
7115
7281
  enumerable: true,
7116
- get: function () { return chunkAFGE55RQ_cjs.useConversations; }
7282
+ get: function () { return chunkUN3AZUXX_cjs.useConversations; }
7117
7283
  });
7118
7284
  Object.defineProperty(exports, "useCurrentUser", {
7119
7285
  enumerable: true,
7120
- get: function () { return chunkAFGE55RQ_cjs.useCurrentUser; }
7286
+ get: function () { return chunkUN3AZUXX_cjs.useCurrentUser; }
7121
7287
  });
7122
7288
  Object.defineProperty(exports, "useDeleteAgents", {
7123
7289
  enumerable: true,
7124
- get: function () { return chunkAFGE55RQ_cjs.useDeleteAgents; }
7290
+ get: function () { return chunkUN3AZUXX_cjs.useDeleteAgents; }
7125
7291
  });
7126
7292
  Object.defineProperty(exports, "useDocuments", {
7127
7293
  enumerable: true,
7128
- get: function () { return chunkAFGE55RQ_cjs.useDocuments; }
7294
+ get: function () { return chunkUN3AZUXX_cjs.useDocuments; }
7129
7295
  });
7130
7296
  Object.defineProperty(exports, "useFacts", {
7131
7297
  enumerable: true,
7132
- get: function () { return chunkAFGE55RQ_cjs.useFacts; }
7298
+ get: function () { return chunkUN3AZUXX_cjs.useFacts; }
7133
7299
  });
7134
7300
  Object.defineProperty(exports, "useFirmPool", {
7135
7301
  enumerable: true,
7136
- get: function () { return chunkAFGE55RQ_cjs.useFirmPool; }
7302
+ get: function () { return chunkUN3AZUXX_cjs.useFirmPool; }
7137
7303
  });
7138
7304
  Object.defineProperty(exports, "useHealth", {
7139
7305
  enumerable: true,
7140
- get: function () { return chunkAFGE55RQ_cjs.useHealth; }
7306
+ get: function () { return chunkUN3AZUXX_cjs.useHealth; }
7141
7307
  });
7142
7308
  Object.defineProperty(exports, "useParsedDocument", {
7143
7309
  enumerable: true,
7144
- get: function () { return chunkAFGE55RQ_cjs.useParsedDocument; }
7310
+ get: function () { return chunkUN3AZUXX_cjs.useParsedDocument; }
7145
7311
  });
7146
7312
  Object.defineProperty(exports, "useProjectInvoices", {
7147
7313
  enumerable: true,
7148
- get: function () { return chunkAFGE55RQ_cjs.useProjectInvoices; }
7314
+ get: function () { return chunkUN3AZUXX_cjs.useProjectInvoices; }
7149
7315
  });
7150
7316
  Object.defineProperty(exports, "useProjectUsage", {
7151
7317
  enumerable: true,
7152
- get: function () { return chunkAFGE55RQ_cjs.useProjectUsage; }
7318
+ get: function () { return chunkUN3AZUXX_cjs.useProjectUsage; }
7153
7319
  });
7154
7320
  Object.defineProperty(exports, "useProjects", {
7155
7321
  enumerable: true,
7156
- get: function () { return chunkAFGE55RQ_cjs.useProjects; }
7322
+ get: function () { return chunkUN3AZUXX_cjs.useProjects; }
7157
7323
  });
7158
7324
  Object.defineProperty(exports, "useProjectsUsage", {
7159
7325
  enumerable: true,
7160
- get: function () { return chunkAFGE55RQ_cjs.useProjectsUsage; }
7161
- });
7162
- Object.defineProperty(exports, "useSessions", {
7163
- enumerable: true,
7164
- get: function () { return chunkAFGE55RQ_cjs.useSessions; }
7326
+ get: function () { return chunkUN3AZUXX_cjs.useProjectsUsage; }
7165
7327
  });
7166
7328
  Object.defineProperty(exports, "useTags", {
7167
7329
  enumerable: true,
7168
- get: function () { return chunkAFGE55RQ_cjs.useTags; }
7330
+ get: function () { return chunkUN3AZUXX_cjs.useTags; }
7169
7331
  });
7170
7332
  Object.defineProperty(exports, "useThumbnails", {
7171
7333
  enumerable: true,
7172
- get: function () { return chunkAFGE55RQ_cjs.useThumbnails; }
7334
+ get: function () { return chunkUN3AZUXX_cjs.useThumbnails; }
7173
7335
  });
7174
7336
  Object.defineProperty(exports, "useTopUpFirmPool", {
7175
7337
  enumerable: true,
7176
- get: function () { return chunkAFGE55RQ_cjs.useTopUpFirmPool; }
7338
+ get: function () { return chunkUN3AZUXX_cjs.useTopUpFirmPool; }
7177
7339
  });
7178
7340
  Object.defineProperty(exports, "useUserUsageToday", {
7179
7341
  enumerable: true,
7180
- get: function () { return chunkAFGE55RQ_cjs.useUserUsageToday; }
7342
+ get: function () { return chunkUN3AZUXX_cjs.useUserUsageToday; }
7181
7343
  });
7182
7344
  Object.defineProperty(exports, "useWorkspaceActivity", {
7183
7345
  enumerable: true,
7184
- get: function () { return chunkAFGE55RQ_cjs.useWorkspaceActivity; }
7346
+ get: function () { return chunkUN3AZUXX_cjs.useWorkspaceActivity; }
7185
7347
  });
7186
7348
  Object.defineProperty(exports, "useWorkspaceUsers", {
7187
7349
  enumerable: true,
7188
- get: function () { return chunkAFGE55RQ_cjs.useWorkspaceUsers; }
7350
+ get: function () { return chunkUN3AZUXX_cjs.useWorkspaceUsers; }
7189
7351
  });
7190
7352
  Object.defineProperty(exports, "useWorkspaces", {
7191
7353
  enumerable: true,
7192
- get: function () { return chunkAFGE55RQ_cjs.useWorkspaces; }
7354
+ get: function () { return chunkUN3AZUXX_cjs.useWorkspaces; }
7193
7355
  });
7194
7356
  Object.defineProperty(exports, "cleanDraftMarkdown", {
7195
7357
  enumerable: true,
7196
- get: function () { return chunk5DCRIWCA_cjs.cleanDraftMarkdown; }
7358
+ get: function () { return chunkZWFMFOGP_cjs.cleanDraftMarkdown; }
7197
7359
  });
7198
7360
  Object.defineProperty(exports, "cleanDraftWithReport", {
7199
7361
  enumerable: true,
7200
- get: function () { return chunk5DCRIWCA_cjs.cleanDraftWithReport; }
7362
+ get: function () { return chunkZWFMFOGP_cjs.cleanDraftWithReport; }
7201
7363
  });
7202
7364
  Object.defineProperty(exports, "promoteBoldTitle", {
7203
7365
  enumerable: true,
7204
- get: function () { return chunk5DCRIWCA_cjs.promoteBoldTitle; }
7366
+ get: function () { return chunkZWFMFOGP_cjs.promoteBoldTitle; }
7205
7367
  });
7206
7368
  Object.defineProperty(exports, "repairParsedStructure", {
7207
7369
  enumerable: true,
7208
- get: function () { return chunk5DCRIWCA_cjs.repairParsedStructure; }
7370
+ get: function () { return chunkZWFMFOGP_cjs.repairParsedStructure; }
7209
7371
  });
7210
7372
  Object.defineProperty(exports, "repairParsedTitle", {
7211
7373
  enumerable: true,
7212
- get: function () { return chunk5DCRIWCA_cjs.repairParsedTitle; }
7374
+ get: function () { return chunkZWFMFOGP_cjs.repairParsedTitle; }
7213
7375
  });
7214
7376
  Object.defineProperty(exports, "stripAgentPreamble", {
7215
7377
  enumerable: true,
7216
- get: function () { return chunk5DCRIWCA_cjs.stripAgentPreamble; }
7378
+ get: function () { return chunkZWFMFOGP_cjs.stripAgentPreamble; }
7217
7379
  });
7218
7380
  Object.defineProperty(exports, "unescapeMarkdown", {
7219
7381
  enumerable: true,
7220
- get: function () { return chunk5DCRIWCA_cjs.unescapeMarkdown; }
7382
+ get: function () { return chunkZWFMFOGP_cjs.unescapeMarkdown; }
7221
7383
  });
7222
7384
  Object.defineProperty(exports, "unwrapCitationLinks", {
7223
7385
  enumerable: true,
7224
- get: function () { return chunk5DCRIWCA_cjs.unwrapCitationLinks; }
7386
+ get: function () { return chunkZWFMFOGP_cjs.unwrapCitationLinks; }
7225
7387
  });
7226
7388
  Object.defineProperty(exports, "DEFAULT_NOTIFY_TONE", {
7227
7389
  enumerable: true,
7228
- get: function () { return chunkF7KQVVD2_cjs.DEFAULT_NOTIFY_TONE; }
7390
+ get: function () { return chunk6PPWZILQ_cjs.DEFAULT_NOTIFY_TONE; }
7229
7391
  });
7230
7392
  Object.defineProperty(exports, "NotificationBell", {
7231
7393
  enumerable: true,
7232
- get: function () { return chunkF7KQVVD2_cjs.NotificationBell; }
7394
+ get: function () { return chunk6PPWZILQ_cjs.NotificationBell; }
7233
7395
  });
7234
7396
  Object.defineProperty(exports, "Toaster", {
7235
7397
  enumerable: true,
7236
- get: function () { return chunkF7KQVVD2_cjs.Toaster; }
7398
+ get: function () { return chunk6PPWZILQ_cjs.Toaster; }
7237
7399
  });
7238
7400
  Object.defineProperty(exports, "formatRelativeTime", {
7239
7401
  enumerable: true,
7240
- get: function () { return chunkF7KQVVD2_cjs.formatRelativeTime; }
7402
+ get: function () { return chunk6PPWZILQ_cjs.formatRelativeTime; }
7241
7403
  });
7242
7404
  Object.defineProperty(exports, "notify", {
7243
7405
  enumerable: true,
7244
- get: function () { return chunkF7KQVVD2_cjs.notify; }
7406
+ get: function () { return chunk6PPWZILQ_cjs.notify; }
7245
7407
  });
7246
7408
  Object.defineProperty(exports, "seedNotifications", {
7247
7409
  enumerable: true,
7248
- get: function () { return chunkF7KQVVD2_cjs.seedNotifications; }
7410
+ get: function () { return chunk6PPWZILQ_cjs.seedNotifications; }
7249
7411
  });
7250
7412
  Object.defineProperty(exports, "selectUnread", {
7251
7413
  enumerable: true,
7252
- get: function () { return chunkF7KQVVD2_cjs.selectUnread; }
7414
+ get: function () { return chunk6PPWZILQ_cjs.selectUnread; }
7253
7415
  });
7254
7416
  Object.defineProperty(exports, "toast", {
7255
7417
  enumerable: true,
7256
- get: function () { return chunkF7KQVVD2_cjs.toast; }
7418
+ get: function () { return chunk6PPWZILQ_cjs.toast; }
7257
7419
  });
7258
7420
  Object.defineProperty(exports, "useNotify", {
7259
7421
  enumerable: true,
7260
- get: function () { return chunkF7KQVVD2_cjs.useNotify; }
7422
+ get: function () { return chunk6PPWZILQ_cjs.useNotify; }
7261
7423
  });
7262
7424
  Object.defineProperty(exports, "AUDIO_MIME_PREFERENCE", {
7263
7425
  enumerable: true,
7264
- get: function () { return chunkGX75JCPR_cjs.AUDIO_MIME_PREFERENCE; }
7426
+ get: function () { return chunk65WT5PHA_cjs.AUDIO_MIME_PREFERENCE; }
7265
7427
  });
7266
7428
  Object.defineProperty(exports, "AgentBadge", {
7267
7429
  enumerable: true,
7268
- get: function () { return chunkGX75JCPR_cjs.AgentBadge; }
7430
+ get: function () { return chunk65WT5PHA_cjs.AgentBadge; }
7269
7431
  });
7270
7432
  Object.defineProperty(exports, "AiMarkdown", {
7271
7433
  enumerable: true,
7272
- get: function () { return chunkGX75JCPR_cjs.AiMarkdown; }
7434
+ get: function () { return chunk65WT5PHA_cjs.AiMarkdown; }
7273
7435
  });
7274
7436
  Object.defineProperty(exports, "ArbiBotHeadIcon", {
7275
7437
  enumerable: true,
7276
- get: function () { return chunkGX75JCPR_cjs.ArbiBotHeadIcon; }
7438
+ get: function () { return chunk65WT5PHA_cjs.ArbiBotHeadIcon; }
7277
7439
  });
7278
7440
  Object.defineProperty(exports, "ArbiIcon", {
7279
7441
  enumerable: true,
7280
- get: function () { return chunkGX75JCPR_cjs.ArbiIcon; }
7442
+ get: function () { return chunk65WT5PHA_cjs.ArbiIcon; }
7281
7443
  });
7282
7444
  Object.defineProperty(exports, "AudIcon", {
7283
7445
  enumerable: true,
7284
- get: function () { return chunkGX75JCPR_cjs.AudIcon; }
7446
+ get: function () { return chunk65WT5PHA_cjs.AudIcon; }
7285
7447
  });
7286
7448
  Object.defineProperty(exports, "Avatar", {
7287
7449
  enumerable: true,
7288
- get: function () { return chunkGX75JCPR_cjs.Avatar; }
7450
+ get: function () { return chunk65WT5PHA_cjs.Avatar; }
7289
7451
  });
7290
7452
  Object.defineProperty(exports, "AvatarFallback", {
7291
7453
  enumerable: true,
7292
- get: function () { return chunkGX75JCPR_cjs.AvatarFallback; }
7454
+ get: function () { return chunk65WT5PHA_cjs.AvatarFallback; }
7293
7455
  });
7294
7456
  Object.defineProperty(exports, "AvatarImage", {
7295
7457
  enumerable: true,
7296
- get: function () { return chunkGX75JCPR_cjs.AvatarImage; }
7458
+ get: function () { return chunk65WT5PHA_cjs.AvatarImage; }
7297
7459
  });
7298
7460
  Object.defineProperty(exports, "BASE_COLORS", {
7299
7461
  enumerable: true,
7300
- get: function () { return chunkGX75JCPR_cjs.BASE_COLORS; }
7462
+ get: function () { return chunk65WT5PHA_cjs.BASE_COLORS; }
7301
7463
  });
7302
7464
  Object.defineProperty(exports, "Badge", {
7303
7465
  enumerable: true,
7304
- get: function () { return chunkGX75JCPR_cjs.Badge; }
7466
+ get: function () { return chunk65WT5PHA_cjs.Badge; }
7305
7467
  });
7306
7468
  Object.defineProperty(exports, "Card", {
7307
7469
  enumerable: true,
7308
- get: function () { return chunkGX75JCPR_cjs.Card; }
7470
+ get: function () { return chunk65WT5PHA_cjs.Card; }
7309
7471
  });
7310
7472
  Object.defineProperty(exports, "CardContent", {
7311
7473
  enumerable: true,
7312
- get: function () { return chunkGX75JCPR_cjs.CardContent; }
7474
+ get: function () { return chunk65WT5PHA_cjs.CardContent; }
7313
7475
  });
7314
7476
  Object.defineProperty(exports, "CardDescription", {
7315
7477
  enumerable: true,
7316
- get: function () { return chunkGX75JCPR_cjs.CardDescription; }
7478
+ get: function () { return chunk65WT5PHA_cjs.CardDescription; }
7317
7479
  });
7318
7480
  Object.defineProperty(exports, "CardFooter", {
7319
7481
  enumerable: true,
7320
- get: function () { return chunkGX75JCPR_cjs.CardFooter; }
7482
+ get: function () { return chunk65WT5PHA_cjs.CardFooter; }
7321
7483
  });
7322
7484
  Object.defineProperty(exports, "CardHeader", {
7323
7485
  enumerable: true,
7324
- get: function () { return chunkGX75JCPR_cjs.CardHeader; }
7486
+ get: function () { return chunk65WT5PHA_cjs.CardHeader; }
7325
7487
  });
7326
7488
  Object.defineProperty(exports, "CardTitle", {
7327
7489
  enumerable: true,
7328
- get: function () { return chunkGX75JCPR_cjs.CardTitle; }
7490
+ get: function () { return chunk65WT5PHA_cjs.CardTitle; }
7329
7491
  });
7330
7492
  Object.defineProperty(exports, "Checkbox", {
7331
7493
  enumerable: true,
7332
- get: function () { return chunkGX75JCPR_cjs.Checkbox; }
7494
+ get: function () { return chunk65WT5PHA_cjs.Checkbox; }
7333
7495
  });
7334
7496
  Object.defineProperty(exports, "Collapsible", {
7335
7497
  enumerable: true,
7336
- get: function () { return chunkGX75JCPR_cjs.Collapsible; }
7498
+ get: function () { return chunk65WT5PHA_cjs.Collapsible; }
7337
7499
  });
7338
7500
  Object.defineProperty(exports, "CollapsibleContent", {
7339
7501
  enumerable: true,
7340
- get: function () { return chunkGX75JCPR_cjs.CollapsibleContent; }
7502
+ get: function () { return chunk65WT5PHA_cjs.CollapsibleContent; }
7341
7503
  });
7342
7504
  Object.defineProperty(exports, "CollapsibleTrigger", {
7343
7505
  enumerable: true,
7344
- get: function () { return chunkGX75JCPR_cjs.CollapsibleTrigger; }
7506
+ get: function () { return chunk65WT5PHA_cjs.CollapsibleTrigger; }
7345
7507
  });
7346
7508
  Object.defineProperty(exports, "Command", {
7347
7509
  enumerable: true,
7348
- get: function () { return chunkGX75JCPR_cjs.Command; }
7510
+ get: function () { return chunk65WT5PHA_cjs.Command; }
7349
7511
  });
7350
7512
  Object.defineProperty(exports, "CommandDialog", {
7351
7513
  enumerable: true,
7352
- get: function () { return chunkGX75JCPR_cjs.CommandDialog; }
7514
+ get: function () { return chunk65WT5PHA_cjs.CommandDialog; }
7353
7515
  });
7354
7516
  Object.defineProperty(exports, "CommandEmpty", {
7355
7517
  enumerable: true,
7356
- get: function () { return chunkGX75JCPR_cjs.CommandEmpty; }
7518
+ get: function () { return chunk65WT5PHA_cjs.CommandEmpty; }
7357
7519
  });
7358
7520
  Object.defineProperty(exports, "CommandGroup", {
7359
7521
  enumerable: true,
7360
- get: function () { return chunkGX75JCPR_cjs.CommandGroup; }
7522
+ get: function () { return chunk65WT5PHA_cjs.CommandGroup; }
7361
7523
  });
7362
7524
  Object.defineProperty(exports, "CommandInput", {
7363
7525
  enumerable: true,
7364
- get: function () { return chunkGX75JCPR_cjs.CommandInput; }
7526
+ get: function () { return chunk65WT5PHA_cjs.CommandInput; }
7365
7527
  });
7366
7528
  Object.defineProperty(exports, "CommandItem", {
7367
7529
  enumerable: true,
7368
- get: function () { return chunkGX75JCPR_cjs.CommandItem; }
7530
+ get: function () { return chunk65WT5PHA_cjs.CommandItem; }
7369
7531
  });
7370
7532
  Object.defineProperty(exports, "CommandList", {
7371
7533
  enumerable: true,
7372
- get: function () { return chunkGX75JCPR_cjs.CommandList; }
7534
+ get: function () { return chunk65WT5PHA_cjs.CommandList; }
7373
7535
  });
7374
7536
  Object.defineProperty(exports, "CommandSeparator", {
7375
7537
  enumerable: true,
7376
- get: function () { return chunkGX75JCPR_cjs.CommandSeparator; }
7538
+ get: function () { return chunk65WT5PHA_cjs.CommandSeparator; }
7377
7539
  });
7378
7540
  Object.defineProperty(exports, "CommandShortcut", {
7379
7541
  enumerable: true,
7380
- get: function () { return chunkGX75JCPR_cjs.CommandShortcut; }
7542
+ get: function () { return chunk65WT5PHA_cjs.CommandShortcut; }
7381
7543
  });
7382
7544
  Object.defineProperty(exports, "DEFAULT_SEGMENTER_CONFIG", {
7383
7545
  enumerable: true,
7384
- get: function () { return chunkGX75JCPR_cjs.DEFAULT_SEGMENTER_CONFIG; }
7546
+ get: function () { return chunk65WT5PHA_cjs.DEFAULT_SEGMENTER_CONFIG; }
7547
+ });
7548
+ Object.defineProperty(exports, "DebouncedInput", {
7549
+ enumerable: true,
7550
+ get: function () { return chunk65WT5PHA_cjs.DebouncedInput; }
7385
7551
  });
7386
7552
  Object.defineProperty(exports, "DictateProvider", {
7387
7553
  enumerable: true,
7388
- get: function () { return chunkGX75JCPR_cjs.DictateProvider; }
7554
+ get: function () { return chunk65WT5PHA_cjs.DictateProvider; }
7389
7555
  });
7390
7556
  Object.defineProperty(exports, "DocIcon", {
7391
7557
  enumerable: true,
7392
- get: function () { return chunkGX75JCPR_cjs.DocIcon; }
7558
+ get: function () { return chunk65WT5PHA_cjs.DocIcon; }
7393
7559
  });
7394
7560
  Object.defineProperty(exports, "DocumentCard", {
7395
7561
  enumerable: true,
7396
- get: function () { return chunkGX75JCPR_cjs.DocumentCard; }
7562
+ get: function () { return chunk65WT5PHA_cjs.DocumentCard; }
7397
7563
  });
7398
7564
  Object.defineProperty(exports, "DocumentEntity", {
7399
7565
  enumerable: true,
7400
- get: function () { return chunkGX75JCPR_cjs.DocumentEntity; }
7566
+ get: function () { return chunk65WT5PHA_cjs.DocumentEntity; }
7401
7567
  });
7402
7568
  Object.defineProperty(exports, "ENTITY_MAPPINGS", {
7403
7569
  enumerable: true,
7404
- get: function () { return chunkGX75JCPR_cjs.ENTITY_MAPPINGS; }
7570
+ get: function () { return chunk65WT5PHA_cjs.ENTITY_MAPPINGS; }
7405
7571
  });
7406
7572
  Object.defineProperty(exports, "EmlIcon", {
7407
7573
  enumerable: true,
7408
- get: function () { return chunkGX75JCPR_cjs.EmlIcon; }
7574
+ get: function () { return chunk65WT5PHA_cjs.EmlIcon; }
7409
7575
  });
7410
7576
  Object.defineProperty(exports, "EntityIcon", {
7411
7577
  enumerable: true,
7412
- get: function () { return chunkGX75JCPR_cjs.EntityIcon; }
7578
+ get: function () { return chunk65WT5PHA_cjs.EntityIcon; }
7413
7579
  });
7414
7580
  Object.defineProperty(exports, "EntityPill", {
7415
7581
  enumerable: true,
7416
- get: function () { return chunkGX75JCPR_cjs.EntityPill; }
7582
+ get: function () { return chunk65WT5PHA_cjs.EntityPill; }
7417
7583
  });
7418
7584
  Object.defineProperty(exports, "FILE_TYPE_COLORS", {
7419
7585
  enumerable: true,
7420
- get: function () { return chunkGX75JCPR_cjs.FILE_TYPE_COLORS; }
7586
+ get: function () { return chunk65WT5PHA_cjs.FILE_TYPE_COLORS; }
7421
7587
  });
7422
7588
  Object.defineProperty(exports, "HoverCard", {
7423
7589
  enumerable: true,
7424
- get: function () { return chunkGX75JCPR_cjs.HoverCard; }
7590
+ get: function () { return chunk65WT5PHA_cjs.HoverCard; }
7425
7591
  });
7426
7592
  Object.defineProperty(exports, "HoverCardContent", {
7427
7593
  enumerable: true,
7428
- get: function () { return chunkGX75JCPR_cjs.HoverCardContent; }
7594
+ get: function () { return chunk65WT5PHA_cjs.HoverCardContent; }
7429
7595
  });
7430
7596
  Object.defineProperty(exports, "HoverCardTrigger", {
7431
7597
  enumerable: true,
7432
- get: function () { return chunkGX75JCPR_cjs.HoverCardTrigger; }
7598
+ get: function () { return chunk65WT5PHA_cjs.HoverCardTrigger; }
7433
7599
  });
7434
7600
  Object.defineProperty(exports, "HtmlIcon", {
7435
7601
  enumerable: true,
7436
- get: function () { return chunkGX75JCPR_cjs.HtmlIcon; }
7602
+ get: function () { return chunk65WT5PHA_cjs.HtmlIcon; }
7437
7603
  });
7438
7604
  Object.defineProperty(exports, "INITIAL_SEGMENTER_STATE", {
7439
7605
  enumerable: true,
7440
- get: function () { return chunkGX75JCPR_cjs.INITIAL_SEGMENTER_STATE; }
7606
+ get: function () { return chunk65WT5PHA_cjs.INITIAL_SEGMENTER_STATE; }
7441
7607
  });
7442
7608
  Object.defineProperty(exports, "IconToggle", {
7443
7609
  enumerable: true,
7444
- get: function () { return chunkGX75JCPR_cjs.IconToggle; }
7610
+ get: function () { return chunk65WT5PHA_cjs.IconToggle; }
7445
7611
  });
7446
7612
  Object.defineProperty(exports, "ImgIcon", {
7447
7613
  enumerable: true,
7448
- get: function () { return chunkGX75JCPR_cjs.ImgIcon; }
7614
+ get: function () { return chunk65WT5PHA_cjs.ImgIcon; }
7449
7615
  });
7450
7616
  Object.defineProperty(exports, "InlineMicButton", {
7451
7617
  enumerable: true,
7452
- get: function () { return chunkGX75JCPR_cjs.InlineMicButton; }
7618
+ get: function () { return chunk65WT5PHA_cjs.InlineMicButton; }
7453
7619
  });
7454
7620
  Object.defineProperty(exports, "Input", {
7455
7621
  enumerable: true,
7456
- get: function () { return chunkGX75JCPR_cjs.Input; }
7622
+ get: function () { return chunk65WT5PHA_cjs.Input; }
7457
7623
  });
7458
7624
  Object.defineProperty(exports, "Label", {
7459
7625
  enumerable: true,
7460
- get: function () { return chunkGX75JCPR_cjs.Label; }
7626
+ get: function () { return chunk65WT5PHA_cjs.Label; }
7461
7627
  });
7462
7628
  Object.defineProperty(exports, "MarkMenu", {
7463
7629
  enumerable: true,
7464
- get: function () { return chunkGX75JCPR_cjs.MarkMenu; }
7630
+ get: function () { return chunk65WT5PHA_cjs.MarkMenu; }
7465
7631
  });
7466
7632
  Object.defineProperty(exports, "MicRecordingOverlay", {
7467
7633
  enumerable: true,
7468
- get: function () { return chunkGX75JCPR_cjs.MicRecordingOverlay; }
7634
+ get: function () { return chunk65WT5PHA_cjs.MicRecordingOverlay; }
7469
7635
  });
7470
7636
  Object.defineProperty(exports, "MicWaveformIndicator", {
7471
7637
  enumerable: true,
7472
- get: function () { return chunkGX75JCPR_cjs.MicWaveformIndicator; }
7638
+ get: function () { return chunk65WT5PHA_cjs.MicWaveformIndicator; }
7473
7639
  });
7474
7640
  Object.defineProperty(exports, "NEUTRAL_GRAY", {
7475
7641
  enumerable: true,
7476
- get: function () { return chunkGX75JCPR_cjs.NEUTRAL_GRAY; }
7642
+ get: function () { return chunk65WT5PHA_cjs.NEUTRAL_GRAY; }
7477
7643
  });
7478
7644
  Object.defineProperty(exports, "PLACEHOLDER_COLOR", {
7479
7645
  enumerable: true,
7480
- get: function () { return chunkGX75JCPR_cjs.PLACEHOLDER_COLOR; }
7646
+ get: function () { return chunk65WT5PHA_cjs.PLACEHOLDER_COLOR; }
7481
7647
  });
7482
7648
  Object.defineProperty(exports, "PassageCard", {
7483
7649
  enumerable: true,
7484
- get: function () { return chunkGX75JCPR_cjs.PassageCard; }
7650
+ get: function () { return chunk65WT5PHA_cjs.PassageCard; }
7485
7651
  });
7486
7652
  Object.defineProperty(exports, "PdfIcon", {
7487
7653
  enumerable: true,
7488
- get: function () { return chunkGX75JCPR_cjs.PdfIcon; }
7654
+ get: function () { return chunk65WT5PHA_cjs.PdfIcon; }
7489
7655
  });
7490
7656
  Object.defineProperty(exports, "Popover", {
7491
7657
  enumerable: true,
7492
- get: function () { return chunkGX75JCPR_cjs.Popover; }
7658
+ get: function () { return chunk65WT5PHA_cjs.Popover; }
7493
7659
  });
7494
7660
  Object.defineProperty(exports, "PopoverAnchor", {
7495
7661
  enumerable: true,
7496
- get: function () { return chunkGX75JCPR_cjs.PopoverAnchor; }
7662
+ get: function () { return chunk65WT5PHA_cjs.PopoverAnchor; }
7497
7663
  });
7498
7664
  Object.defineProperty(exports, "PopoverClose", {
7499
7665
  enumerable: true,
7500
- get: function () { return chunkGX75JCPR_cjs.PopoverClose; }
7666
+ get: function () { return chunk65WT5PHA_cjs.PopoverClose; }
7501
7667
  });
7502
7668
  Object.defineProperty(exports, "PopoverContent", {
7503
7669
  enumerable: true,
7504
- get: function () { return chunkGX75JCPR_cjs.PopoverContent; }
7670
+ get: function () { return chunk65WT5PHA_cjs.PopoverContent; }
7505
7671
  });
7506
7672
  Object.defineProperty(exports, "PopoverTrigger", {
7507
7673
  enumerable: true,
7508
- get: function () { return chunkGX75JCPR_cjs.PopoverTrigger; }
7674
+ get: function () { return chunk65WT5PHA_cjs.PopoverTrigger; }
7509
7675
  });
7510
7676
  Object.defineProperty(exports, "PresenceLabel", {
7511
7677
  enumerable: true,
7512
- get: function () { return chunkGX75JCPR_cjs.PresenceLabel; }
7678
+ get: function () { return chunk65WT5PHA_cjs.PresenceLabel; }
7513
7679
  });
7514
7680
  Object.defineProperty(exports, "Progress", {
7515
7681
  enumerable: true,
7516
- get: function () { return chunkGX75JCPR_cjs.Progress; }
7682
+ get: function () { return chunk65WT5PHA_cjs.Progress; }
7517
7683
  });
7518
7684
  Object.defineProperty(exports, "ProjectEntity", {
7519
7685
  enumerable: true,
7520
- get: function () { return chunkGX75JCPR_cjs.ProjectEntity; }
7686
+ get: function () { return chunk65WT5PHA_cjs.ProjectEntity; }
7521
7687
  });
7522
7688
  Object.defineProperty(exports, "RadioGroup", {
7523
7689
  enumerable: true,
7524
- get: function () { return chunkGX75JCPR_cjs.RadioGroup; }
7690
+ get: function () { return chunk65WT5PHA_cjs.RadioGroup; }
7525
7691
  });
7526
7692
  Object.defineProperty(exports, "RadioGroupItem", {
7527
7693
  enumerable: true,
7528
- get: function () { return chunkGX75JCPR_cjs.RadioGroupItem; }
7694
+ get: function () { return chunk65WT5PHA_cjs.RadioGroupItem; }
7529
7695
  });
7530
7696
  Object.defineProperty(exports, "RagDot", {
7531
7697
  enumerable: true,
7532
- get: function () { return chunkGX75JCPR_cjs.RagDot; }
7698
+ get: function () { return chunk65WT5PHA_cjs.RagDot; }
7533
7699
  });
7534
7700
  Object.defineProperty(exports, "RelevanceDot", {
7535
7701
  enumerable: true,
7536
- get: function () { return chunkGX75JCPR_cjs.RelevanceDot; }
7702
+ get: function () { return chunk65WT5PHA_cjs.RelevanceDot; }
7537
7703
  });
7538
7704
  Object.defineProperty(exports, "Select", {
7539
7705
  enumerable: true,
7540
- get: function () { return chunkGX75JCPR_cjs.Select; }
7706
+ get: function () { return chunk65WT5PHA_cjs.Select; }
7541
7707
  });
7542
7708
  Object.defineProperty(exports, "SelectContent", {
7543
7709
  enumerable: true,
7544
- get: function () { return chunkGX75JCPR_cjs.SelectContent; }
7710
+ get: function () { return chunk65WT5PHA_cjs.SelectContent; }
7545
7711
  });
7546
7712
  Object.defineProperty(exports, "SelectGroup", {
7547
7713
  enumerable: true,
7548
- get: function () { return chunkGX75JCPR_cjs.SelectGroup; }
7714
+ get: function () { return chunk65WT5PHA_cjs.SelectGroup; }
7549
7715
  });
7550
7716
  Object.defineProperty(exports, "SelectItem", {
7551
7717
  enumerable: true,
7552
- get: function () { return chunkGX75JCPR_cjs.SelectItem; }
7718
+ get: function () { return chunk65WT5PHA_cjs.SelectItem; }
7553
7719
  });
7554
7720
  Object.defineProperty(exports, "SelectLabel", {
7555
7721
  enumerable: true,
7556
- get: function () { return chunkGX75JCPR_cjs.SelectLabel; }
7722
+ get: function () { return chunk65WT5PHA_cjs.SelectLabel; }
7557
7723
  });
7558
7724
  Object.defineProperty(exports, "SelectScrollDownButton", {
7559
7725
  enumerable: true,
7560
- get: function () { return chunkGX75JCPR_cjs.SelectScrollDownButton; }
7726
+ get: function () { return chunk65WT5PHA_cjs.SelectScrollDownButton; }
7561
7727
  });
7562
7728
  Object.defineProperty(exports, "SelectScrollUpButton", {
7563
7729
  enumerable: true,
7564
- get: function () { return chunkGX75JCPR_cjs.SelectScrollUpButton; }
7730
+ get: function () { return chunk65WT5PHA_cjs.SelectScrollUpButton; }
7565
7731
  });
7566
7732
  Object.defineProperty(exports, "SelectSeparator", {
7567
7733
  enumerable: true,
7568
- get: function () { return chunkGX75JCPR_cjs.SelectSeparator; }
7734
+ get: function () { return chunk65WT5PHA_cjs.SelectSeparator; }
7569
7735
  });
7570
7736
  Object.defineProperty(exports, "SelectTrigger", {
7571
7737
  enumerable: true,
7572
- get: function () { return chunkGX75JCPR_cjs.SelectTrigger; }
7738
+ get: function () { return chunk65WT5PHA_cjs.SelectTrigger; }
7573
7739
  });
7574
7740
  Object.defineProperty(exports, "SelectValue", {
7575
7741
  enumerable: true,
7576
- get: function () { return chunkGX75JCPR_cjs.SelectValue; }
7742
+ get: function () { return chunk65WT5PHA_cjs.SelectValue; }
7577
7743
  });
7578
7744
  Object.defineProperty(exports, "Separator", {
7579
7745
  enumerable: true,
7580
- get: function () { return chunkGX75JCPR_cjs.Separator; }
7746
+ get: function () { return chunk65WT5PHA_cjs.Separator; }
7747
+ });
7748
+ Object.defineProperty(exports, "ShieldIcon", {
7749
+ enumerable: true,
7750
+ get: function () { return chunk65WT5PHA_cjs.ShieldIcon; }
7581
7751
  });
7582
7752
  Object.defineProperty(exports, "Slider", {
7583
7753
  enumerable: true,
7584
- get: function () { return chunkGX75JCPR_cjs.Slider; }
7754
+ get: function () { return chunk65WT5PHA_cjs.Slider; }
7585
7755
  });
7586
7756
  Object.defineProperty(exports, "StatusPill", {
7587
7757
  enumerable: true,
7588
- get: function () { return chunkGX75JCPR_cjs.StatusPill; }
7758
+ get: function () { return chunk65WT5PHA_cjs.StatusPill; }
7589
7759
  });
7590
7760
  Object.defineProperty(exports, "Switch", {
7591
7761
  enumerable: true,
7592
- get: function () { return chunkGX75JCPR_cjs.Switch; }
7762
+ get: function () { return chunk65WT5PHA_cjs.Switch; }
7593
7763
  });
7594
7764
  Object.defineProperty(exports, "TAG_TYPE_ICONS", {
7595
7765
  enumerable: true,
7596
- get: function () { return chunkGX75JCPR_cjs.TAG_TYPE_ICONS; }
7766
+ get: function () { return chunk65WT5PHA_cjs.TAG_TYPE_ICONS; }
7597
7767
  });
7598
7768
  Object.defineProperty(exports, "TAG_TYPE_LABELS", {
7599
7769
  enumerable: true,
7600
- get: function () { return chunkGX75JCPR_cjs.TAG_TYPE_LABELS; }
7770
+ get: function () { return chunk65WT5PHA_cjs.TAG_TYPE_LABELS; }
7601
7771
  });
7602
7772
  Object.defineProperty(exports, "Table", {
7603
7773
  enumerable: true,
7604
- get: function () { return chunkGX75JCPR_cjs.Table; }
7774
+ get: function () { return chunk65WT5PHA_cjs.Table; }
7605
7775
  });
7606
7776
  Object.defineProperty(exports, "TableBody", {
7607
7777
  enumerable: true,
7608
- get: function () { return chunkGX75JCPR_cjs.TableBody; }
7778
+ get: function () { return chunk65WT5PHA_cjs.TableBody; }
7609
7779
  });
7610
7780
  Object.defineProperty(exports, "TableCaption", {
7611
7781
  enumerable: true,
7612
- get: function () { return chunkGX75JCPR_cjs.TableCaption; }
7782
+ get: function () { return chunk65WT5PHA_cjs.TableCaption; }
7613
7783
  });
7614
7784
  Object.defineProperty(exports, "TableCell", {
7615
7785
  enumerable: true,
7616
- get: function () { return chunkGX75JCPR_cjs.TableCell; }
7786
+ get: function () { return chunk65WT5PHA_cjs.TableCell; }
7617
7787
  });
7618
7788
  Object.defineProperty(exports, "TableFooter", {
7619
7789
  enumerable: true,
7620
- get: function () { return chunkGX75JCPR_cjs.TableFooter; }
7790
+ get: function () { return chunk65WT5PHA_cjs.TableFooter; }
7621
7791
  });
7622
7792
  Object.defineProperty(exports, "TableHead", {
7623
7793
  enumerable: true,
7624
- get: function () { return chunkGX75JCPR_cjs.TableHead; }
7794
+ get: function () { return chunk65WT5PHA_cjs.TableHead; }
7625
7795
  });
7626
7796
  Object.defineProperty(exports, "TableHeader", {
7627
7797
  enumerable: true,
7628
- get: function () { return chunkGX75JCPR_cjs.TableHeader; }
7798
+ get: function () { return chunk65WT5PHA_cjs.TableHeader; }
7629
7799
  });
7630
7800
  Object.defineProperty(exports, "TableRow", {
7631
7801
  enumerable: true,
7632
- get: function () { return chunkGX75JCPR_cjs.TableRow; }
7802
+ get: function () { return chunk65WT5PHA_cjs.TableRow; }
7633
7803
  });
7634
7804
  Object.defineProperty(exports, "Tabs", {
7635
7805
  enumerable: true,
7636
- get: function () { return chunkGX75JCPR_cjs.Tabs; }
7806
+ get: function () { return chunk65WT5PHA_cjs.Tabs; }
7637
7807
  });
7638
7808
  Object.defineProperty(exports, "TabsContent", {
7639
7809
  enumerable: true,
7640
- get: function () { return chunkGX75JCPR_cjs.TabsContent; }
7810
+ get: function () { return chunk65WT5PHA_cjs.TabsContent; }
7641
7811
  });
7642
7812
  Object.defineProperty(exports, "TabsList", {
7643
7813
  enumerable: true,
7644
- get: function () { return chunkGX75JCPR_cjs.TabsList; }
7814
+ get: function () { return chunk65WT5PHA_cjs.TabsList; }
7645
7815
  });
7646
7816
  Object.defineProperty(exports, "TabsTrigger", {
7647
7817
  enumerable: true,
7648
- get: function () { return chunkGX75JCPR_cjs.TabsTrigger; }
7818
+ get: function () { return chunk65WT5PHA_cjs.TabsTrigger; }
7649
7819
  });
7650
7820
  Object.defineProperty(exports, "TagEntity", {
7651
7821
  enumerable: true,
7652
- get: function () { return chunkGX75JCPR_cjs.TagEntity; }
7822
+ get: function () { return chunk65WT5PHA_cjs.TagEntity; }
7653
7823
  });
7654
7824
  Object.defineProperty(exports, "Textarea", {
7655
7825
  enumerable: true,
7656
- get: function () { return chunkGX75JCPR_cjs.Textarea; }
7826
+ get: function () { return chunk65WT5PHA_cjs.Textarea; }
7657
7827
  });
7658
7828
  Object.defineProperty(exports, "ThreadVisibilityIcon", {
7659
7829
  enumerable: true,
7660
- get: function () { return chunkGX75JCPR_cjs.ThreadVisibilityIcon; }
7830
+ get: function () { return chunk65WT5PHA_cjs.ThreadVisibilityIcon; }
7661
7831
  });
7662
7832
  Object.defineProperty(exports, "Toggle", {
7663
7833
  enumerable: true,
7664
- get: function () { return chunkGX75JCPR_cjs.Toggle; }
7834
+ get: function () { return chunk65WT5PHA_cjs.Toggle; }
7665
7835
  });
7666
7836
  Object.defineProperty(exports, "ToggleGroup", {
7667
7837
  enumerable: true,
7668
- get: function () { return chunkGX75JCPR_cjs.ToggleGroup; }
7838
+ get: function () { return chunk65WT5PHA_cjs.ToggleGroup; }
7669
7839
  });
7670
7840
  Object.defineProperty(exports, "ToggleGroupItem", {
7671
7841
  enumerable: true,
7672
- get: function () { return chunkGX75JCPR_cjs.ToggleGroupItem; }
7842
+ get: function () { return chunk65WT5PHA_cjs.ToggleGroupItem; }
7673
7843
  });
7674
7844
  Object.defineProperty(exports, "Tooltip", {
7675
7845
  enumerable: true,
7676
- get: function () { return chunkGX75JCPR_cjs.Tooltip; }
7846
+ get: function () { return chunk65WT5PHA_cjs.Tooltip; }
7677
7847
  });
7678
7848
  Object.defineProperty(exports, "TooltipContent", {
7679
7849
  enumerable: true,
7680
- get: function () { return chunkGX75JCPR_cjs.TooltipContent; }
7850
+ get: function () { return chunk65WT5PHA_cjs.TooltipContent; }
7681
7851
  });
7682
7852
  Object.defineProperty(exports, "TooltipProvider", {
7683
7853
  enumerable: true,
7684
- get: function () { return chunkGX75JCPR_cjs.TooltipProvider; }
7854
+ get: function () { return chunk65WT5PHA_cjs.TooltipProvider; }
7685
7855
  });
7686
7856
  Object.defineProperty(exports, "TooltipTrigger", {
7687
7857
  enumerable: true,
7688
- get: function () { return chunkGX75JCPR_cjs.TooltipTrigger; }
7858
+ get: function () { return chunk65WT5PHA_cjs.TooltipTrigger; }
7689
7859
  });
7690
7860
  Object.defineProperty(exports, "TxtIcon", {
7691
7861
  enumerable: true,
7692
- get: function () { return chunkGX75JCPR_cjs.TxtIcon; }
7862
+ get: function () { return chunk65WT5PHA_cjs.TxtIcon; }
7693
7863
  });
7694
7864
  Object.defineProperty(exports, "UserEntity", {
7695
7865
  enumerable: true,
7696
- get: function () { return chunkGX75JCPR_cjs.UserEntity; }
7866
+ get: function () { return chunk65WT5PHA_cjs.UserEntity; }
7697
7867
  });
7698
7868
  Object.defineProperty(exports, "UserMenu", {
7699
7869
  enumerable: true,
7700
- get: function () { return chunkGX75JCPR_cjs.UserMenu; }
7870
+ get: function () { return chunk65WT5PHA_cjs.UserMenu; }
7701
7871
  });
7702
7872
  Object.defineProperty(exports, "VIDEO_MIME_PREFERENCE", {
7703
7873
  enumerable: true,
7704
- get: function () { return chunkGX75JCPR_cjs.VIDEO_MIME_PREFERENCE; }
7874
+ get: function () { return chunk65WT5PHA_cjs.VIDEO_MIME_PREFERENCE; }
7705
7875
  });
7706
7876
  Object.defineProperty(exports, "VISIBILITY_ICONS", {
7707
7877
  enumerable: true,
7708
- get: function () { return chunkGX75JCPR_cjs.VISIBILITY_ICONS; }
7878
+ get: function () { return chunk65WT5PHA_cjs.VISIBILITY_ICONS; }
7709
7879
  });
7710
7880
  Object.defineProperty(exports, "VerifiedBadge", {
7711
7881
  enumerable: true,
7712
- get: function () { return chunkGX75JCPR_cjs.VerifiedBadge; }
7882
+ get: function () { return chunk65WT5PHA_cjs.VerifiedBadge; }
7713
7883
  });
7714
7884
  Object.defineProperty(exports, "VidIcon", {
7715
7885
  enumerable: true,
7716
- get: function () { return chunkGX75JCPR_cjs.VidIcon; }
7886
+ get: function () { return chunk65WT5PHA_cjs.VidIcon; }
7717
7887
  });
7718
7888
  Object.defineProperty(exports, "VisibilityIcon", {
7719
7889
  enumerable: true,
7720
- get: function () { return chunkGX75JCPR_cjs.VisibilityIcon; }
7890
+ get: function () { return chunk65WT5PHA_cjs.VisibilityIcon; }
7721
7891
  });
7722
7892
  Object.defineProperty(exports, "VisibilityToggle", {
7723
7893
  enumerable: true,
7724
- get: function () { return chunkGX75JCPR_cjs.VisibilityToggle; }
7894
+ get: function () { return chunk65WT5PHA_cjs.VisibilityToggle; }
7725
7895
  });
7726
7896
  Object.defineProperty(exports, "XlsIcon", {
7727
7897
  enumerable: true,
7728
- get: function () { return chunkGX75JCPR_cjs.XlsIcon; }
7898
+ get: function () { return chunk65WT5PHA_cjs.XlsIcon; }
7899
+ });
7900
+ Object.defineProperty(exports, "agentAvatarColors", {
7901
+ enumerable: true,
7902
+ get: function () { return chunk65WT5PHA_cjs.agentAvatarColors; }
7729
7903
  });
7730
7904
  Object.defineProperty(exports, "badgeVariants", {
7731
7905
  enumerable: true,
7732
- get: function () { return chunkGX75JCPR_cjs.badgeVariants; }
7906
+ get: function () { return chunk65WT5PHA_cjs.badgeVariants; }
7733
7907
  });
7734
7908
  Object.defineProperty(exports, "cardVariants", {
7735
7909
  enumerable: true,
7736
- get: function () { return chunkGX75JCPR_cjs.cardVariants; }
7910
+ get: function () { return chunk65WT5PHA_cjs.cardVariants; }
7737
7911
  });
7738
7912
  Object.defineProperty(exports, "classifyMediaError", {
7739
7913
  enumerable: true,
7740
- get: function () { return chunkGX75JCPR_cjs.classifyMediaError; }
7914
+ get: function () { return chunk65WT5PHA_cjs.classifyMediaError; }
7741
7915
  });
7742
7916
  Object.defineProperty(exports, "configureEntityRegistry", {
7743
7917
  enumerable: true,
7744
- get: function () { return chunkGX75JCPR_cjs.configureEntityRegistry; }
7918
+ get: function () { return chunk65WT5PHA_cjs.configureEntityRegistry; }
7745
7919
  });
7746
7920
  Object.defineProperty(exports, "configureRagLabels", {
7747
7921
  enumerable: true,
7748
- get: function () { return chunkGX75JCPR_cjs.configureRagLabels; }
7922
+ get: function () { return chunk65WT5PHA_cjs.configureRagLabels; }
7749
7923
  });
7750
7924
  Object.defineProperty(exports, "configureStatusRegistry", {
7751
7925
  enumerable: true,
7752
- get: function () { return chunkGX75JCPR_cjs.configureStatusRegistry; }
7926
+ get: function () { return chunk65WT5PHA_cjs.configureStatusRegistry; }
7753
7927
  });
7754
7928
  Object.defineProperty(exports, "createChunkedRecorder", {
7755
7929
  enumerable: true,
7756
- get: function () { return chunkGX75JCPR_cjs.createChunkedRecorder; }
7930
+ get: function () { return chunk65WT5PHA_cjs.createChunkedRecorder; }
7757
7931
  });
7758
7932
  Object.defineProperty(exports, "flushSegmenter", {
7759
7933
  enumerable: true,
7760
- get: function () { return chunkGX75JCPR_cjs.flushSegmenter; }
7934
+ get: function () { return chunk65WT5PHA_cjs.flushSegmenter; }
7761
7935
  });
7762
7936
  Object.defineProperty(exports, "formatElapsed", {
7763
7937
  enumerable: true,
7764
- get: function () { return chunkGX75JCPR_cjs.formatElapsed; }
7938
+ get: function () { return chunk65WT5PHA_cjs.formatElapsed; }
7765
7939
  });
7766
7940
  Object.defineProperty(exports, "getDocIcon", {
7767
7941
  enumerable: true,
7768
- get: function () { return chunkGX75JCPR_cjs.getDocIcon; }
7942
+ get: function () { return chunk65WT5PHA_cjs.getDocIcon; }
7769
7943
  });
7770
7944
  Object.defineProperty(exports, "getEntityColor", {
7771
7945
  enumerable: true,
7772
- get: function () { return chunkGX75JCPR_cjs.getEntityColor; }
7946
+ get: function () { return chunk65WT5PHA_cjs.getEntityColor; }
7773
7947
  });
7774
7948
  Object.defineProperty(exports, "getEntityColorStyles", {
7775
7949
  enumerable: true,
7776
- get: function () { return chunkGX75JCPR_cjs.getEntityColorStyles; }
7950
+ get: function () { return chunk65WT5PHA_cjs.getEntityColorStyles; }
7777
7951
  });
7778
7952
  Object.defineProperty(exports, "getEntityIcon", {
7779
7953
  enumerable: true,
7780
- get: function () { return chunkGX75JCPR_cjs.getEntityIcon; }
7954
+ get: function () { return chunk65WT5PHA_cjs.getEntityIcon; }
7781
7955
  });
7782
7956
  Object.defineProperty(exports, "getEntityLabel", {
7783
7957
  enumerable: true,
7784
- get: function () { return chunkGX75JCPR_cjs.getEntityLabel; }
7958
+ get: function () { return chunk65WT5PHA_cjs.getEntityLabel; }
7785
7959
  });
7786
7960
  Object.defineProperty(exports, "getStatusVariant", {
7787
7961
  enumerable: true,
7788
- get: function () { return chunkGX75JCPR_cjs.getStatusVariant; }
7962
+ get: function () { return chunk65WT5PHA_cjs.getStatusVariant; }
7789
7963
  });
7790
7964
  Object.defineProperty(exports, "getTagTypeIcon", {
7791
7965
  enumerable: true,
7792
- get: function () { return chunkGX75JCPR_cjs.getTagTypeIcon; }
7966
+ get: function () { return chunk65WT5PHA_cjs.getTagTypeIcon; }
7793
7967
  });
7794
7968
  Object.defineProperty(exports, "getTagTypeLabel", {
7795
7969
  enumerable: true,
7796
- get: function () { return chunkGX75JCPR_cjs.getTagTypeLabel; }
7970
+ get: function () { return chunk65WT5PHA_cjs.getTagTypeLabel; }
7797
7971
  });
7798
7972
  Object.defineProperty(exports, "getWorkspaceColor", {
7799
7973
  enumerable: true,
7800
- get: function () { return chunkGX75JCPR_cjs.getWorkspaceColor; }
7974
+ get: function () { return chunk65WT5PHA_cjs.getWorkspaceColor; }
7801
7975
  });
7802
7976
  Object.defineProperty(exports, "levelFromRms", {
7803
7977
  enumerable: true,
7804
- get: function () { return chunkGX75JCPR_cjs.levelFromRms; }
7978
+ get: function () { return chunk65WT5PHA_cjs.levelFromRms; }
7805
7979
  });
7806
7980
  Object.defineProperty(exports, "pickRecorderMimeType", {
7807
7981
  enumerable: true,
7808
- get: function () { return chunkGX75JCPR_cjs.pickRecorderMimeType; }
7982
+ get: function () { return chunk65WT5PHA_cjs.pickRecorderMimeType; }
7809
7983
  });
7810
7984
  Object.defineProperty(exports, "stepSegmenter", {
7811
7985
  enumerable: true,
7812
- get: function () { return chunkGX75JCPR_cjs.stepSegmenter; }
7986
+ get: function () { return chunk65WT5PHA_cjs.stepSegmenter; }
7813
7987
  });
7814
7988
  Object.defineProperty(exports, "toggleVariants", {
7815
7989
  enumerable: true,
7816
- get: function () { return chunkGX75JCPR_cjs.toggleVariants; }
7990
+ get: function () { return chunk65WT5PHA_cjs.toggleVariants; }
7817
7991
  });
7818
7992
  Object.defineProperty(exports, "useAudioRecorder", {
7819
7993
  enumerable: true,
7820
- get: function () { return chunkGX75JCPR_cjs.useAudioRecorder; }
7994
+ get: function () { return chunk65WT5PHA_cjs.useAudioRecorder; }
7995
+ });
7996
+ Object.defineProperty(exports, "MarkdownCode", {
7997
+ enumerable: true,
7998
+ get: function () { return chunkOC7F5SNA_cjs.MarkdownCode; }
7999
+ });
8000
+ Object.defineProperty(exports, "MarkdownLink", {
8001
+ enumerable: true,
8002
+ get: function () { return chunkOC7F5SNA_cjs.MarkdownLink; }
7821
8003
  });
7822
8004
  Object.defineProperty(exports, "MarkdownRenderer", {
7823
8005
  enumerable: true,
7824
- get: function () { return chunkTBELZWGV_cjs.MarkdownRenderer; }
8006
+ get: function () { return chunkOC7F5SNA_cjs.MarkdownRenderer; }
7825
8007
  });
7826
8008
  Object.defineProperty(exports, "MarkdownStreamingContext", {
7827
8009
  enumerable: true,
7828
- get: function () { return chunkTBELZWGV_cjs.MarkdownStreamingContext; }
8010
+ get: function () { return chunkOC7F5SNA_cjs.MarkdownStreamingContext; }
7829
8011
  });
7830
8012
  Object.defineProperty(exports, "markdownBaseComponents", {
7831
8013
  enumerable: true,
7832
- get: function () { return chunkTBELZWGV_cjs.markdownBaseComponents; }
8014
+ get: function () { return chunkOC7F5SNA_cjs.markdownBaseComponents; }
8015
+ });
8016
+ Object.defineProperty(exports, "markdownSanitizeSchema", {
8017
+ enumerable: true,
8018
+ get: function () { return chunkOC7F5SNA_cjs.markdownSanitizeSchema; }
7833
8019
  });
7834
8020
  Object.defineProperty(exports, "splitMarkdownBlocks", {
7835
8021
  enumerable: true,
7836
- get: function () { return chunkTBELZWGV_cjs.splitMarkdownBlocks; }
8022
+ get: function () { return chunkOC7F5SNA_cjs.splitMarkdownBlocks; }
7837
8023
  });
7838
8024
  Object.defineProperty(exports, "Button", {
7839
8025
  enumerable: true,
@@ -8015,11 +8201,13 @@ Object.defineProperty(exports, "isMessageType", {
8015
8201
  enumerable: true,
8016
8202
  get: function () { return client.isMessageType; }
8017
8203
  });
8204
+ exports.AccountClientProvider = AccountClientProvider;
8018
8205
  exports.ActivityFeed = ActivityFeed;
8019
8206
  exports.AiActionCard = AiActionCard;
8020
8207
  exports.AiAnswer = AiAnswer;
8021
8208
  exports.AppleIcon = AppleIcon;
8022
8209
  exports.ArbiBotIcon = ArbiBotIcon;
8210
+ exports.ArbiSessionStateProvider = ArbiSessionStateProvider;
8023
8211
  exports.ArbiWebSocketProvider = ArbiWebSocketProvider;
8024
8212
  exports.ArtifactCanvas = ArtifactCanvas;
8025
8213
  exports.ChatBubble = ChatBubble;
@@ -8042,6 +8230,7 @@ exports.DocumentGallery = DocumentGallery;
8042
8230
  exports.DocumentReview = DocumentReview;
8043
8231
  exports.DocumentTable = DocumentTable;
8044
8232
  exports.DraftTitleControls = DraftTitleControls;
8233
+ exports.EMPTY_SESSION_STATE = EMPTY_SESSION_STATE;
8045
8234
  exports.FileIcon = FileIcon;
8046
8235
  exports.FireworksIcon = FireworksIcon;
8047
8236
  exports.GeminiIcon = GeminiIcon;
@@ -8070,13 +8259,16 @@ exports.accountPath = accountPath;
8070
8259
  exports.aliasTakenMessage = aliasTakenMessage;
8071
8260
  exports.annotateThread = annotateThread;
8072
8261
  exports.announceMailDraftReplaced = announceMailDraftReplaced;
8262
+ exports.arbiAccountClient = arbiAccountClient;
8073
8263
  exports.arbiMailClient = arbiMailClient;
8074
8264
  exports.captureFrameAsBlob = captureFrameAsBlob;
8265
+ exports.createArbiSessionStore = createArbiSessionStore;
8075
8266
  exports.createMailClient = createMailClient;
8076
8267
  exports.cropImage = cropImage;
8077
8268
  exports.dayKey = dayKey;
8078
8269
  exports.defaultMailAlias = defaultMailAlias;
8079
8270
  exports.describeActivity = describeActivity;
8271
+ exports.downloadRecoveryFile = downloadRecoveryFile;
8080
8272
  exports.fileAttachment = fileAttachment;
8081
8273
  exports.formatIdentityPrice = formatIdentityPrice;
8082
8274
  exports.getNotificationTypeMeta = getNotificationTypeMeta;
@@ -8093,11 +8285,14 @@ exports.mailJson = mailJson;
8093
8285
  exports.mailQueryKeys = mailQueryKeys;
8094
8286
  exports.mountDiditVerification = mountDiditVerification;
8095
8287
  exports.nextAliasSuggestion = nextAliasSuggestion;
8288
+ exports.nextViewingDocument = nextViewingDocument;
8096
8289
  exports.parseActivityContent = parseActivityContent;
8097
8290
  exports.parseDeleteAccountBlockers = parseDeleteAccountBlockers;
8098
8291
  exports.pickRecentWorkspaces = pickRecentWorkspaces;
8099
8292
  exports.redlineStats = redlineStats;
8100
8293
  exports.resolveActiveWorkspace = resolveActiveWorkspace;
8294
+ exports.selectIsGenerating = selectIsGenerating;
8295
+ exports.selectViewingDocumentId = selectViewingDocumentId;
8101
8296
  exports.textToArtifact = textToArtifact;
8102
8297
  exports.titleFromQuestion = titleFromQuestion;
8103
8298
  exports.toChatCitations = toChatCitations;
@@ -8105,6 +8300,7 @@ exports.toNotificationPreferences = toNotificationPreferences;
8105
8300
  exports.toProfileView = toProfileView;
8106
8301
  exports.toRedlineMarkdown = toRedlineMarkdown;
8107
8302
  exports.toShellWorkspace = toShellWorkspace;
8303
+ exports.useAccountClient = useAccountClient;
8108
8304
  exports.useActOnStep = useActOnStep;
8109
8305
  exports.useAgentChats = useAgentChats;
8110
8306
  exports.useAgentConfig = useAgentConfig;
@@ -8115,8 +8311,9 @@ exports.useAiTask = useAiTask;
8115
8311
  exports.useArbiChat = useArbiChat;
8116
8312
  exports.useArbiConnected = useArbiConnected;
8117
8313
  exports.useArbiDocumentSync = useArbiDocumentSync;
8314
+ exports.useArbiSessionState = useArbiSessionState;
8315
+ exports.useArbiSessionStore = useArbiSessionStore;
8118
8316
  exports.useArbiShellWorkspaces = useArbiShellWorkspaces;
8119
- exports.useArbiUiStore = useArbiUiStore;
8120
8317
  exports.useArbiWebSocket = useArbiWebSocket;
8121
8318
  exports.useArbiWsContext = useArbiWsContext;
8122
8319
  exports.useArbiWsMessage = useArbiWsMessage;
@@ -8154,7 +8351,6 @@ exports.useIdentityVerification = useIdentityVerification;
8154
8351
  exports.useIdentityVerificationFlow = useIdentityVerificationFlow;
8155
8352
  exports.useInvalidateTagData = useInvalidateTagData;
8156
8353
  exports.useInviteContacts = useInviteContacts;
8157
- exports.useLogoutAllSessions = useLogoutAllSessions;
8158
8354
  exports.useMailAccounts = useMailAccounts;
8159
8355
  exports.useMailCache = useMailCache;
8160
8356
  exports.useMailClient = useMailClient;
@@ -8186,8 +8382,10 @@ exports.useSaveMailDraft = useSaveMailDraft;
8186
8382
  exports.useSemanticSearch = useSemanticSearch;
8187
8383
  exports.useSendBackStep = useSendBackStep;
8188
8384
  exports.useSendMail = useSendMail;
8385
+ exports.useSessions = useSessions;
8189
8386
  exports.useSetTagValues = useSetTagValues;
8190
8387
  exports.useShellWorkspaces = useShellWorkspaces;
8388
+ exports.useSignOut = useSignOut;
8191
8389
  exports.useSkills = useSkills;
8192
8390
  exports.useStartAgentSession = useStartAgentSession;
8193
8391
  exports.useStartWorkQuery = useStartWorkQuery;