@arbidocs/react 0.4.4 → 0.4.5

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 (70) hide show
  1. package/README.md +11 -0
  2. package/dist/artifacts/index.cjs +458 -0
  3. package/dist/artifacts/index.cjs.map +1 -0
  4. package/dist/artifacts/index.d.cts +276 -0
  5. package/dist/artifacts/index.d.ts +276 -0
  6. package/dist/artifacts/index.js +434 -0
  7. package/dist/artifacts/index.js.map +1 -0
  8. package/dist/artifacts/redline-core.cjs +20 -0
  9. package/dist/artifacts/redline-core.cjs.map +1 -0
  10. package/dist/artifacts/redline-core.d.cts +36 -0
  11. package/dist/artifacts/redline-core.d.ts +36 -0
  12. package/dist/artifacts/redline-core.js +3 -0
  13. package/dist/artifacts/redline-core.js.map +1 -0
  14. package/dist/chunk-2DXS7L7M.cjs +302 -0
  15. package/dist/chunk-2DXS7L7M.cjs.map +1 -0
  16. package/dist/{chunk-ORKGCXG3.cjs → chunk-7BDGLRQX.cjs} +123 -427
  17. package/dist/chunk-7BDGLRQX.cjs.map +1 -0
  18. package/dist/chunk-7V7B7OEM.cjs +318 -0
  19. package/dist/chunk-7V7B7OEM.cjs.map +1 -0
  20. package/dist/{chunk-MIJRORQL.js → chunk-DVRJFLE7.js} +8 -302
  21. package/dist/chunk-DVRJFLE7.js.map +1 -0
  22. package/dist/{chunk-EJ2BMHYK.js → chunk-FSMIN5VX.js} +4 -3
  23. package/dist/chunk-FSMIN5VX.js.map +1 -0
  24. package/dist/chunk-H7ZZQ4ZV.js +305 -0
  25. package/dist/chunk-H7ZZQ4ZV.js.map +1 -0
  26. package/dist/{chunk-JKO3NR5L.js → chunk-HDCRPPBW.js} +5 -23
  27. package/dist/chunk-HDCRPPBW.js.map +1 -0
  28. package/dist/chunk-J4MX2W4H.js +26 -0
  29. package/dist/chunk-J4MX2W4H.js.map +1 -0
  30. package/dist/{chunk-6ALMBER7.js → chunk-N5SVBDLC.js} +4 -9
  31. package/dist/chunk-N5SVBDLC.js.map +1 -0
  32. package/dist/{chunk-RZQACYNQ.cjs → chunk-OBNTJEEO.cjs} +14 -20
  33. package/dist/chunk-OBNTJEEO.cjs.map +1 -0
  34. package/dist/{chunk-BXP6S34V.cjs → chunk-PGLV23SB.cjs} +13 -12
  35. package/dist/chunk-PGLV23SB.cjs.map +1 -0
  36. package/dist/chunk-RKWNX32A.js +299 -0
  37. package/dist/chunk-RKWNX32A.js.map +1 -0
  38. package/dist/chunk-S6A6FSG7.cjs +13 -0
  39. package/dist/chunk-S6A6FSG7.cjs.map +1 -0
  40. package/dist/chunk-SN5YV6FF.js +11 -0
  41. package/dist/chunk-SN5YV6FF.js.map +1 -0
  42. package/dist/{chunk-7IOCMCC5.cjs → chunk-TMPDW7J5.cjs} +3 -23
  43. package/dist/chunk-TMPDW7J5.cjs.map +1 -0
  44. package/dist/chunk-VJWAP2HJ.cjs +303 -0
  45. package/dist/chunk-VJWAP2HJ.cjs.map +1 -0
  46. package/dist/chunk-ZMTLGO3K.cjs +29 -0
  47. package/dist/chunk-ZMTLGO3K.cjs.map +1 -0
  48. package/dist/chunk-ZY53R6I4.js +276 -0
  49. package/dist/chunk-ZY53R6I4.js.map +1 -0
  50. package/dist/index.cjs +497 -690
  51. package/dist/index.cjs.map +1 -1
  52. package/dist/index.js +17 -282
  53. package/dist/index.js.map +1 -1
  54. package/dist/shell/index.cjs +8 -7
  55. package/dist/shell/index.js +3 -2
  56. package/dist/ui/index.cjs +156 -154
  57. package/dist/ui/index.js +4 -2
  58. package/dist/viewers/index.cjs +9 -8
  59. package/dist/viewers/index.cjs.map +1 -1
  60. package/dist/viewers/index.js +3 -2
  61. package/dist/viewers/index.js.map +1 -1
  62. package/package.json +19 -3
  63. package/dist/chunk-6ALMBER7.js.map +0 -1
  64. package/dist/chunk-7IOCMCC5.cjs.map +0 -1
  65. package/dist/chunk-BXP6S34V.cjs.map +0 -1
  66. package/dist/chunk-EJ2BMHYK.js.map +0 -1
  67. package/dist/chunk-JKO3NR5L.js.map +0 -1
  68. package/dist/chunk-MIJRORQL.js.map +0 -1
  69. package/dist/chunk-ORKGCXG3.cjs.map +0 -1
  70. package/dist/chunk-RZQACYNQ.cjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,16 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var chunkBXP6S34V_cjs = require('./chunk-BXP6S34V.cjs');
4
- var chunkORKGCXG3_cjs = require('./chunk-ORKGCXG3.cjs');
5
- var chunkRZQACYNQ_cjs = require('./chunk-RZQACYNQ.cjs');
6
- var chunk7IOCMCC5_cjs = require('./chunk-7IOCMCC5.cjs');
3
+ var chunk2DXS7L7M_cjs = require('./chunk-2DXS7L7M.cjs');
4
+ var chunkPGLV23SB_cjs = require('./chunk-PGLV23SB.cjs');
5
+ var chunk7BDGLRQX_cjs = require('./chunk-7BDGLRQX.cjs');
6
+ var chunk7V7B7OEM_cjs = require('./chunk-7V7B7OEM.cjs');
7
+ var chunkOBNTJEEO_cjs = require('./chunk-OBNTJEEO.cjs');
8
+ var chunkS6A6FSG7_cjs = require('./chunk-S6A6FSG7.cjs');
9
+ var chunkTMPDW7J5_cjs = require('./chunk-TMPDW7J5.cjs');
10
+ var chunkZMTLGO3K_cjs = require('./chunk-ZMTLGO3K.cjs');
7
11
  var React = require('react');
8
- var reactQuery = require('@tanstack/react-query');
9
12
  var lucideReact = require('lucide-react');
10
13
  var jsxRuntime = require('react/jsx-runtime');
11
14
  var browser = require('@arbidocs/sdk/browser');
12
15
  var client = require('@arbidocs/client');
13
16
  var zustand = require('zustand');
17
+ var reactQuery = require('@tanstack/react-query');
14
18
  var diff = require('diff');
15
19
  var framerMotion = require('framer-motion');
16
20
  var reactDom = require('react-dom');
@@ -25,278 +29,6 @@ var React__default = /*#__PURE__*/_interopDefault(React);
25
29
  var ReactMarkdown__default = /*#__PURE__*/_interopDefault(ReactMarkdown);
26
30
  var Cropper__default = /*#__PURE__*/_interopDefault(Cropper);
27
31
 
28
- // src/credits.ts
29
- var DEFAULT_USD_PER_CREDIT = 0.01;
30
- function formatCredits(credits, options = {}) {
31
- const { unit = true, locale = "en-US" } = options;
32
- const whole = Math.round(Number.isFinite(credits) ? credits : 0);
33
- const digits = whole.toLocaleString(locale);
34
- return unit ? `${digits} ${whole === 1 ? "credit" : "credits"}` : digits;
35
- }
36
- function creditsToUsd(credits, usdPerCredit = DEFAULT_USD_PER_CREDIT) {
37
- return credits * usdPerCredit;
38
- }
39
- function isUsageMetered(usage, subscription) {
40
- const empty = usage.total_spend === 0 && usage.total_tokens === 0 && usage.total_requests === 0;
41
- return !(empty && subscription === "dev");
42
- }
43
-
44
- // src/hooks.ts
45
- var arbiQueryKeys = {
46
- workspaces: () => ["arbi", "workspaces"],
47
- documents: (workspaceId) => ["arbi", "documents", workspaceId],
48
- conversations: (workspaceId) => ["arbi", "conversations", workspaceId],
49
- tags: (workspaceId) => ["arbi", "tags", workspaceId],
50
- thumbnails: (docIds) => ["arbi", "thumbnails", [...docIds].sort().join(",")],
51
- parsedDoc: (docId, stage) => ["arbi", "parsedDoc", docId, stage],
52
- agents: () => ["arbi", "agents"],
53
- sessions: () => ["arbi", "sessions"],
54
- health: () => ["arbi", "health"],
55
- tasks: () => ["arbi", "tasks"],
56
- facts: (workspaceId) => ["arbi", "facts", workspaceId],
57
- configs: () => ["arbi", "configs"],
58
- activity: () => ["arbi", "activity"],
59
- projects: () => ["arbi", "projects"],
60
- projectUsage: (projectExtId, monthsBack) => ["arbi", "projectUsage", projectExtId, monthsBack],
61
- projectInvoices: (projectExtId) => ["arbi", "projectInvoices", projectExtId],
62
- userUsageToday: () => ["arbi", "userUsageToday"],
63
- contacts: () => ["arbi", "contacts"],
64
- skills: () => ["arbi", "skills"],
65
- taskRuns: (taskId) => ["arbi", "taskRuns", taskId],
66
- /** An agent's pinned config; `undefined` = the library default config. */
67
- agentConfig: (agentExtId) => ["arbi", "agentConfig", agentExtId ?? "default"],
68
- agentWorkspaces: (agentExtId) => ["arbi", "agentWorkspaces", agentExtId],
69
- models: () => ["arbi", "models"]
70
- };
71
- function useWorkspaces(options) {
72
- const arbi = chunk7IOCMCC5_cjs.useArbi();
73
- return reactQuery.useQuery({
74
- queryKey: arbiQueryKeys.workspaces(),
75
- queryFn: () => arbi.workspaces.list(),
76
- enabled: options?.enabled ?? arbi.isLoggedIn
77
- });
78
- }
79
- function useDocuments(workspaceId, options) {
80
- const arbi = chunk7IOCMCC5_cjs.useArbi();
81
- return reactQuery.useQuery({
82
- queryKey: arbiQueryKeys.documents(workspaceId ?? ""),
83
- queryFn: () => arbi.documents.list(),
84
- enabled: (options?.enabled ?? true) && !!workspaceId && arbi.hasWorkspace
85
- });
86
- }
87
- function useConversations(workspaceId, options) {
88
- const arbi = chunk7IOCMCC5_cjs.useArbi();
89
- return reactQuery.useQuery({
90
- queryKey: arbiQueryKeys.conversations(workspaceId ?? ""),
91
- queryFn: () => arbi.conversations.list(),
92
- enabled: (options?.enabled ?? true) && !!workspaceId && arbi.hasWorkspace
93
- });
94
- }
95
- function useTags(workspaceId, options) {
96
- const arbi = chunk7IOCMCC5_cjs.useArbi();
97
- return reactQuery.useQuery({
98
- queryKey: arbiQueryKeys.tags(workspaceId ?? ""),
99
- queryFn: () => arbi.tags.list(),
100
- enabled: (options?.enabled ?? true) && !!workspaceId && arbi.hasWorkspace
101
- });
102
- }
103
- function useThumbnails(docIds, options) {
104
- const arbi = chunk7IOCMCC5_cjs.useArbi();
105
- return reactQuery.useQuery({
106
- queryKey: arbiQueryKeys.thumbnails(docIds),
107
- queryFn: () => arbi.documents.getThumbnails(docIds),
108
- enabled: (options?.enabled ?? true) && docIds.length > 0 && arbi.hasWorkspace,
109
- staleTime: 5 * 6e4
110
- });
111
- }
112
- function useParsedDocument(docId, stage = "final", options) {
113
- const arbi = chunk7IOCMCC5_cjs.useArbi();
114
- return reactQuery.useQuery({
115
- queryKey: arbiQueryKeys.parsedDoc(docId ?? "", stage),
116
- queryFn: () => arbi.documents.getParsedContent(docId, stage),
117
- enabled: (options?.enabled ?? true) && !!docId && arbi.hasWorkspace
118
- });
119
- }
120
- function useAssistantQuery() {
121
- const arbi = chunk7IOCMCC5_cjs.useArbi();
122
- return reactQuery.useMutation({
123
- mutationFn: ({ question, ...options }) => arbi.assistant.query(question, options)
124
- });
125
- }
126
- function useAgents(options) {
127
- const arbi = chunk7IOCMCC5_cjs.useArbi();
128
- return reactQuery.useQuery({
129
- queryKey: arbiQueryKeys.agents(),
130
- queryFn: () => arbi.agents.list(),
131
- enabled: options?.enabled ?? arbi.isLoggedIn
132
- });
133
- }
134
- function useDeleteAgents() {
135
- const arbi = chunk7IOCMCC5_cjs.useArbi();
136
- return reactQuery.useMutation({
137
- mutationFn: ({ agentExtIds }) => arbi.agents.delete(agentExtIds)
138
- });
139
- }
140
- function useSessions(options) {
141
- const arbi = chunk7IOCMCC5_cjs.useArbi();
142
- return reactQuery.useQuery({
143
- queryKey: arbiQueryKeys.sessions(),
144
- queryFn: () => arbi.sessions.list(),
145
- enabled: options?.enabled ?? arbi.isLoggedIn
146
- });
147
- }
148
- function useHealth(options) {
149
- const arbi = chunk7IOCMCC5_cjs.useArbi();
150
- return reactQuery.useQuery({
151
- queryKey: arbiQueryKeys.health(),
152
- queryFn: () => arbi.health.check(),
153
- enabled: options?.enabled
154
- });
155
- }
156
- function useTasks(options) {
157
- const arbi = chunk7IOCMCC5_cjs.useArbi();
158
- return reactQuery.useQuery({
159
- queryKey: arbiQueryKeys.tasks(),
160
- queryFn: () => arbi.tasks.list(),
161
- enabled: options?.enabled ?? arbi.isLoggedIn
162
- });
163
- }
164
- function useFacts(workspaceId, options) {
165
- const arbi = chunk7IOCMCC5_cjs.useArbi();
166
- return reactQuery.useQuery({
167
- queryKey: arbiQueryKeys.facts(workspaceId ?? ""),
168
- queryFn: () => arbi.facts.list({ pinnedOnly: options?.pinnedOnly }),
169
- enabled: (options?.enabled ?? true) && !!workspaceId && arbi.hasWorkspace
170
- });
171
- }
172
- function useConfigs(options) {
173
- const arbi = chunk7IOCMCC5_cjs.useArbi();
174
- return reactQuery.useQuery({
175
- queryKey: arbiQueryKeys.configs(),
176
- queryFn: () => arbi.agentConfig.list(),
177
- enabled: options?.enabled ?? arbi.isLoggedIn
178
- });
179
- }
180
- function useActivity(options) {
181
- const arbi = chunk7IOCMCC5_cjs.useArbi();
182
- return reactQuery.useQuery({
183
- queryKey: arbiQueryKeys.activity(),
184
- queryFn: () => arbi.dm.listActivity({ limit: options?.limit, offset: options?.offset }),
185
- enabled: options?.enabled ?? arbi.isLoggedIn
186
- });
187
- }
188
- function useProjects(options) {
189
- const arbi = chunk7IOCMCC5_cjs.useArbi();
190
- return reactQuery.useQuery({
191
- queryKey: arbiQueryKeys.projects(),
192
- queryFn: () => arbi.projects.list(),
193
- enabled: options?.enabled ?? arbi.isLoggedIn
194
- });
195
- }
196
- function useProjectUsage(projectExtId, monthsBack = 0, options) {
197
- const arbi = chunk7IOCMCC5_cjs.useArbi();
198
- const usage = reactQuery.useQuery({
199
- queryKey: arbiQueryKeys.projectUsage(projectExtId ?? "", monthsBack),
200
- queryFn: () => arbi.projects.usage(projectExtId, monthsBack),
201
- enabled: (options?.enabled ?? true) && !!projectExtId && arbi.isLoggedIn
202
- });
203
- const projects = useProjects({ enabled: !!projectExtId && (options?.enabled ?? true) });
204
- const subscription = projects.data?.find((p) => p.external_id === projectExtId)?.subscription;
205
- const metered = usage.data ? isUsageMetered(usage.data, subscription) : void 0;
206
- return { ...usage, metered };
207
- }
208
- function useProjectsUsage(projectExtIds, monthsBack = 0, options) {
209
- const arbi = chunk7IOCMCC5_cjs.useArbi();
210
- const enabled = (options?.enabled ?? true) && arbi.isLoggedIn;
211
- const projects = useProjects({ enabled: enabled && projectExtIds.length > 0 });
212
- const results = reactQuery.useQueries({
213
- queries: projectExtIds.map((id) => ({
214
- queryKey: arbiQueryKeys.projectUsage(id, monthsBack),
215
- queryFn: () => arbi.projects.usage(id, monthsBack),
216
- enabled: enabled && !!id
217
- }))
218
- });
219
- const signature = results.map((r) => `${r.status}:${r.dataUpdatedAt ?? 0}`).join("|") + `#${projects.dataUpdatedAt}`;
220
- return React.useMemo(() => {
221
- const dailyMap = /* @__PURE__ */ new Map();
222
- const modelMap = /* @__PURE__ */ new Map();
223
- let totalCredits = 0;
224
- let anyData = false;
225
- let anyMetered = false;
226
- let totalTokens = 0;
227
- let totalRequests = 0;
228
- results.forEach((r, i) => {
229
- const d = r.data;
230
- if (!d) return;
231
- anyData = true;
232
- const subscription = projects.data?.find(
233
- (p) => p.external_id === projectExtIds[i]
234
- )?.subscription;
235
- if (isUsageMetered(d, subscription)) anyMetered = true;
236
- totalCredits += d.total_spend ?? 0;
237
- totalTokens += d.total_tokens ?? 0;
238
- totalRequests += d.total_requests ?? 0;
239
- for (const day of d.daily ?? []) {
240
- const cur = dailyMap.get(day.date) ?? {
241
- date: day.date,
242
- credits: 0,
243
- totalTokens: 0,
244
- apiRequests: 0
245
- };
246
- cur.credits += day.spend ?? 0;
247
- cur.totalTokens += day.total_tokens ?? 0;
248
- cur.apiRequests += day.api_requests ?? 0;
249
- dailyMap.set(day.date, cur);
250
- }
251
- for (const [model, mg] of Object.entries(d.model_groups ?? {})) {
252
- const cur = modelMap.get(model) ?? {
253
- model,
254
- credits: 0,
255
- totalTokens: 0,
256
- promptTokens: 0,
257
- completionTokens: 0,
258
- successfulRequests: 0
259
- };
260
- cur.credits += mg.spend ?? 0;
261
- cur.totalTokens += mg.total_tokens ?? 0;
262
- cur.promptTokens += mg.prompt_tokens ?? 0;
263
- cur.completionTokens += mg.completion_tokens ?? 0;
264
- cur.successfulRequests += mg.successful_requests ?? 0;
265
- modelMap.set(model, cur);
266
- }
267
- });
268
- return {
269
- totalCredits,
270
- totalTokens,
271
- totalRequests,
272
- daily: [...dailyMap.values()].sort((a, b) => a.date.localeCompare(b.date)),
273
- modelGroups: [...modelMap.values()].sort(
274
- (a, b) => b.credits - a.credits || b.totalTokens - a.totalTokens
275
- ),
276
- metered: !anyData || anyMetered,
277
- isLoading: results.some((r) => r.isLoading),
278
- isError: results.some((r) => r.isError)
279
- };
280
- }, [signature]);
281
- }
282
- function useProjectInvoices(projectExtId, options) {
283
- const arbi = chunk7IOCMCC5_cjs.useArbi();
284
- return reactQuery.useQuery({
285
- queryKey: arbiQueryKeys.projectInvoices(projectExtId ?? ""),
286
- queryFn: () => arbi.projects.invoices(projectExtId),
287
- enabled: (options?.enabled ?? true) && !!projectExtId && arbi.isLoggedIn
288
- });
289
- }
290
- function useUserUsageToday(options) {
291
- const arbi = chunk7IOCMCC5_cjs.useArbi();
292
- return reactQuery.useQuery({
293
- queryKey: arbiQueryKeys.userUsageToday(),
294
- queryFn: () => arbi.user.usageToday(),
295
- enabled: options?.enabled ?? arbi.isLoggedIn
296
- });
297
- }
298
-
299
- // src/chat/useArbiChat.ts
300
32
  var counter = 0;
301
33
  var nextId = (prefix) => `${prefix}-${Date.now().toString(36)}-${(counter++).toString(36)}`;
302
34
  var emptyThread = () => ({
@@ -316,9 +48,9 @@ function titleFromQuestion(question, maxLength = 48) {
316
48
  var messageOf = (e, fallback) => e instanceof Error ? e.message : fallback;
317
49
  function useArbiChat(options = {}) {
318
50
  const { workspaceId, model, titleLength = 48 } = options;
319
- const arbi = chunk7IOCMCC5_cjs.useArbi();
320
- const { data: docs = [], isLoading: isLoadingDocuments, refetch } = useDocuments(workspaceId);
321
- const query = useAssistantQuery();
51
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
52
+ const { data: docs = [], isLoading: isLoadingDocuments, refetch } = chunk2DXS7L7M_cjs.useDocuments(workspaceId);
53
+ const query = chunk2DXS7L7M_cjs.useAssistantQuery();
322
54
  const { mutateAsync } = query;
323
55
  const [threads, setThreads] = React.useState(() => [emptyThread()]);
324
56
  const [activeId, setActiveId] = React.useState(() => threads[0].id);
@@ -548,12 +280,12 @@ var ChatBubble = React.memo(function ChatBubble2({
548
280
  }
549
281
  );
550
282
  }
551
- const bubbleRadius = chunkRZQACYNQ_cjs.cn(
283
+ const bubbleRadius = chunkS6A6FSG7_cjs.cn(
552
284
  "rounded-2xl",
553
285
  isSent && isLastOfRun && "rounded-br-sm",
554
286
  !isSent && isLastOfRun && "rounded-bl-sm"
555
287
  );
556
- const bubbleSurface = isSent ? chunkRZQACYNQ_cjs.cn("bg-ai-accent-soft text-foreground chat-bubble-sent", classNames?.ownBubble) : chunkRZQACYNQ_cjs.cn("border border-border bg-card text-card-foreground", classNames?.peerBubble);
288
+ const bubbleSurface = isSent ? chunkS6A6FSG7_cjs.cn("bg-ai-accent-soft text-foreground chat-bubble-sent", classNames?.ownBubble) : chunkS6A6FSG7_cjs.cn("border border-border bg-card text-card-foreground", classNames?.peerBubble);
557
289
  const highlightClass = highlighted && "ring-2 ring-blue-400 dark:ring-blue-600";
558
290
  const copyLinkButton = onCopyLink && /* @__PURE__ */ jsxRuntime.jsx(
559
291
  "button",
@@ -561,7 +293,7 @@ var ChatBubble = React.memo(function ChatBubble2({
561
293
  onClick: onCopyLink,
562
294
  onFocus: () => setIsFocused(true),
563
295
  onBlur: () => setIsFocused(false),
564
- className: chunkRZQACYNQ_cjs.cn(
296
+ className: chunkS6A6FSG7_cjs.cn(
565
297
  "self-end p-1 transition-opacity focus:outline-none focus-visible:ring-1 focus-visible:ring-ring rounded",
566
298
  showActions ? "opacity-100 text-foreground" : "opacity-0 text-muted-foreground"
567
299
  ),
@@ -574,7 +306,7 @@ var ChatBubble = React.memo(function ChatBubble2({
574
306
  {
575
307
  id,
576
308
  "data-testid": testId,
577
- className: chunkRZQACYNQ_cjs.cn(
309
+ className: chunkS6A6FSG7_cjs.cn(
578
310
  "flex w-full items-end",
579
311
  isLastOfRun ? "mb-2" : "mb-0.5",
580
312
  isSent ? "justify-end" : "justify-start"
@@ -590,7 +322,7 @@ var ChatBubble = React.memo(function ChatBubble2({
590
322
  onClick: onDelete,
591
323
  onFocus: () => setIsFocused(true),
592
324
  onBlur: () => setIsFocused(false),
593
- className: chunkRZQACYNQ_cjs.cn(
325
+ className: chunkS6A6FSG7_cjs.cn(
594
326
  "self-end p-1 transition-opacity focus:outline-none focus-visible:ring-1 focus-visible:ring-ring rounded",
595
327
  showActions ? "opacity-100 text-destructive" : "opacity-0 text-muted-foreground"
596
328
  ),
@@ -602,7 +334,7 @@ var ChatBubble = React.memo(function ChatBubble2({
602
334
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col max-w-[80%] md:max-w-[60%]", children: /* @__PURE__ */ jsxRuntime.jsxs(
603
335
  "div",
604
336
  {
605
- className: chunkRZQACYNQ_cjs.cn(
337
+ className: chunkS6A6FSG7_cjs.cn(
606
338
  "px-3.5 py-2 break-words shadow-sm transition-shadow",
607
339
  bubbleRadius,
608
340
  bubbleSurface,
@@ -613,7 +345,7 @@ var ChatBubble = React.memo(function ChatBubble2({
613
345
  isLastOfRun && /* @__PURE__ */ jsxRuntime.jsxs(
614
346
  "div",
615
347
  {
616
- className: chunkRZQACYNQ_cjs.cn(
348
+ className: chunkS6A6FSG7_cjs.cn(
617
349
  "flex items-center gap-1.5 mt-0.5",
618
350
  isSent ? "justify-end" : "justify-start"
619
351
  ),
@@ -634,7 +366,7 @@ var ChatBubble = React.memo(function ChatBubble2({
634
366
  onClick: onDelete,
635
367
  onFocus: () => setIsFocused(true),
636
368
  onBlur: () => setIsFocused(false),
637
- className: chunkRZQACYNQ_cjs.cn(
369
+ className: chunkS6A6FSG7_cjs.cn(
638
370
  "self-end p-1 transition-opacity focus:outline-none focus-visible:ring-1 focus-visible:ring-ring rounded",
639
371
  showActions ? "opacity-100 text-destructive" : "opacity-0 text-muted-foreground"
640
372
  ),
@@ -667,7 +399,7 @@ function useArbiWsContext() {
667
399
  return ctx;
668
400
  }
669
401
  function ArbiWebSocketProvider({ enabled = true, children }) {
670
- const arbi = chunk7IOCMCC5_cjs.useArbi();
402
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
671
403
  const subscribersRef = React.useRef(/* @__PURE__ */ new Set());
672
404
  const setStatus = useArbiWsStore((s) => s.setStatus);
673
405
  const applyTaskUpdate = useArbiWsStore((s) => s.applyTaskUpdate);
@@ -779,14 +511,14 @@ function useArbiDocumentSync(workspaceId) {
779
511
  if (!workspaceId) return;
780
512
  if (client.isMessageType(msg, "batch_complete")) {
781
513
  if (msg.workspace_ext_id !== workspaceId) return;
782
- void queryClient.invalidateQueries({ queryKey: arbiQueryKeys.documents(workspaceId) });
783
- void queryClient.invalidateQueries({ queryKey: arbiQueryKeys.tags(workspaceId) });
514
+ void queryClient.invalidateQueries({ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.documents(workspaceId) });
515
+ void queryClient.invalidateQueries({ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.tags(workspaceId) });
784
516
  return;
785
517
  }
786
518
  if (client.isMessageType(msg, "task_update")) {
787
519
  if (msg.workspace_ext_id !== workspaceId) return;
788
520
  if (TERMINAL_STATUSES.has(msg.status)) {
789
- void queryClient.invalidateQueries({ queryKey: arbiQueryKeys.documents(workspaceId) });
521
+ void queryClient.invalidateQueries({ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.documents(workspaceId) });
790
522
  }
791
523
  }
792
524
  });
@@ -914,8 +646,8 @@ function useShellWorkspaces(options) {
914
646
  };
915
647
  }
916
648
  function useArbiShellWorkspaces(options = {}) {
917
- const arbi = chunk7IOCMCC5_cjs.useArbi();
918
- const query = useWorkspaces();
649
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
650
+ const query = chunk2DXS7L7M_cjs.useWorkspaces();
919
651
  const { select, ...rest } = options;
920
652
  const defaultSelect = React.useCallback(
921
653
  (workspace) => arbi.selectWorkspace(workspace.id),
@@ -930,75 +662,75 @@ function useArbiShellWorkspaces(options = {}) {
930
662
  });
931
663
  }
932
664
  function useCreateTask() {
933
- const arbi = chunk7IOCMCC5_cjs.useArbi();
665
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
934
666
  const qc = reactQuery.useQueryClient();
935
667
  return reactQuery.useMutation({
936
668
  mutationFn: (body) => arbi.tasks.create(body),
937
- onSuccess: () => qc.invalidateQueries({ queryKey: arbiQueryKeys.tasks() })
669
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.tasks() })
938
670
  });
939
671
  }
940
672
  function useUpdateTask() {
941
- const arbi = chunk7IOCMCC5_cjs.useArbi();
673
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
942
674
  const qc = reactQuery.useQueryClient();
943
675
  return reactQuery.useMutation({
944
676
  mutationFn: ({ taskId, patch }) => arbi.tasks.update(taskId, patch),
945
- onSuccess: () => qc.invalidateQueries({ queryKey: arbiQueryKeys.tasks() })
677
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.tasks() })
946
678
  });
947
679
  }
948
680
  function useRunTask() {
949
- const arbi = chunk7IOCMCC5_cjs.useArbi();
681
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
950
682
  const qc = reactQuery.useQueryClient();
951
683
  return reactQuery.useMutation({
952
684
  mutationFn: (taskId) => arbi.tasks.runWithAuth(taskId),
953
685
  onSuccess: (_task, taskId) => Promise.all([
954
- qc.invalidateQueries({ queryKey: arbiQueryKeys.tasks() }),
955
- qc.invalidateQueries({ queryKey: arbiQueryKeys.taskRuns(taskId) })
686
+ qc.invalidateQueries({ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.tasks() }),
687
+ qc.invalidateQueries({ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.taskRuns(taskId) })
956
688
  ])
957
689
  });
958
690
  }
959
691
  function useDeleteTask() {
960
- const arbi = chunk7IOCMCC5_cjs.useArbi();
692
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
961
693
  const qc = reactQuery.useQueryClient();
962
694
  return reactQuery.useMutation({
963
695
  mutationFn: (taskId) => arbi.tasks.delete(taskId),
964
- onSuccess: () => qc.invalidateQueries({ queryKey: arbiQueryKeys.tasks() })
696
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.tasks() })
965
697
  });
966
698
  }
967
699
  function useTaskRuns(taskId, options) {
968
- const arbi = chunk7IOCMCC5_cjs.useArbi();
700
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
969
701
  return reactQuery.useQuery({
970
- queryKey: arbiQueryKeys.taskRuns(taskId ?? ""),
702
+ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.taskRuns(taskId ?? ""),
971
703
  queryFn: () => arbi.tasks.listRuns(taskId),
972
704
  enabled: (options?.enabled ?? true) && !!taskId && arbi.isLoggedIn,
973
705
  refetchInterval: (q) => q.state.data?.some((r) => r.status === "running") ? 3e3 : false
974
706
  });
975
707
  }
976
708
  function useCreateAgent() {
977
- const arbi = chunk7IOCMCC5_cjs.useArbi();
709
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
978
710
  const qc = reactQuery.useQueryClient();
979
711
  return reactQuery.useMutation({
980
712
  mutationFn: (name) => arbi.agents.create(name),
981
- onSuccess: () => qc.invalidateQueries({ queryKey: arbiQueryKeys.agents() })
713
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.agents() })
982
714
  });
983
715
  }
984
716
  function useAgentConfig(agentExtId, options) {
985
- const arbi = chunk7IOCMCC5_cjs.useArbi();
717
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
986
718
  return reactQuery.useQuery({
987
- queryKey: arbiQueryKeys.agentConfig(agentExtId),
719
+ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.agentConfig(agentExtId),
988
720
  queryFn: async () => agentExtId ? await arbi.agents.getConfig(agentExtId) : await arbi.agentConfig.get("default"),
989
721
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
990
722
  });
991
723
  }
992
724
  function useAgentModels(options) {
993
- const arbi = chunk7IOCMCC5_cjs.useArbi();
725
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
994
726
  return reactQuery.useQuery({
995
- queryKey: arbiQueryKeys.models(),
727
+ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.models(),
996
728
  queryFn: async () => (await arbi.agentConfig.getModels()).models.map((m) => m.model_name),
997
729
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
998
730
  });
999
731
  }
1000
732
  function useSaveAgentConfig() {
1001
- const arbi = chunk7IOCMCC5_cjs.useArbi();
733
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
1002
734
  const qc = reactQuery.useQueryClient();
1003
735
  return reactQuery.useMutation({
1004
736
  mutationFn: async ({ agentExtId, title, sections }) => {
@@ -1015,21 +747,21 @@ function useSaveAgentConfig() {
1015
747
  });
1016
748
  },
1017
749
  onSuccess: (_saved, { agentExtId }) => Promise.all([
1018
- qc.invalidateQueries({ queryKey: arbiQueryKeys.configs() }),
1019
- qc.invalidateQueries({ queryKey: arbiQueryKeys.agentConfig(agentExtId) })
750
+ qc.invalidateQueries({ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.configs() }),
751
+ qc.invalidateQueries({ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.agentConfig(agentExtId) })
1020
752
  ])
1021
753
  });
1022
754
  }
1023
755
  function useAgentWorkspaces(agentExtId, options) {
1024
- const arbi = chunk7IOCMCC5_cjs.useArbi();
756
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
1025
757
  return reactQuery.useQuery({
1026
- queryKey: arbiQueryKeys.agentWorkspaces(agentExtId ?? ""),
758
+ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.agentWorkspaces(agentExtId ?? ""),
1027
759
  queryFn: () => arbi.agents.listWorkspaces(agentExtId),
1028
760
  enabled: (options?.enabled ?? true) && !!agentExtId && arbi.isLoggedIn
1029
761
  });
1030
762
  }
1031
763
  function useGrantAgentAccess() {
1032
- const arbi = chunk7IOCMCC5_cjs.useArbi();
764
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
1033
765
  const qc = reactQuery.useQueryClient();
1034
766
  return reactQuery.useMutation({
1035
767
  mutationFn: async ({
@@ -1044,11 +776,11 @@ function useGrantAgentAccess() {
1044
776
  if (!agent?.email) throw new Error("The agent's address is unknown.");
1045
777
  return arbi.workspaces.grantAccess({ workspaceId, emails: [agent.email] });
1046
778
  },
1047
- onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: arbiQueryKeys.agentWorkspaces(agentExtId) })
779
+ onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
1048
780
  });
1049
781
  }
1050
782
  function useRevokeAgentAccess() {
1051
- const arbi = chunk7IOCMCC5_cjs.useArbi();
783
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
1052
784
  const qc = reactQuery.useQueryClient();
1053
785
  return reactQuery.useMutation({
1054
786
  mutationFn: async ({
@@ -1063,22 +795,22 @@ function useRevokeAgentAccess() {
1063
795
  if (previous && previous !== workspaceId) await arbi.selectWorkspace(previous);
1064
796
  }
1065
797
  },
1066
- onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: arbiQueryKeys.agentWorkspaces(agentExtId) })
798
+ onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
1067
799
  });
1068
800
  }
1069
801
  function useSkills(options) {
1070
- const arbi = chunk7IOCMCC5_cjs.useArbi();
802
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
1071
803
  return reactQuery.useQuery({
1072
- queryKey: [...arbiQueryKeys.skills(), options?.includeHidden ?? false],
804
+ queryKey: [...chunk2DXS7L7M_cjs.arbiQueryKeys.skills(), options?.includeHidden ?? false],
1073
805
  queryFn: () => arbi.assistant.listSkills({ includeHidden: options?.includeHidden }),
1074
806
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn,
1075
807
  staleTime: 3e4
1076
808
  });
1077
809
  }
1078
810
  function useContacts(options) {
1079
- const arbi = chunk7IOCMCC5_cjs.useArbi();
811
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
1080
812
  return reactQuery.useQuery({
1081
- queryKey: arbiQueryKeys.contacts(),
813
+ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.contacts(),
1082
814
  queryFn: () => arbi.contacts.list(),
1083
815
  enabled: (options?.enabled ?? true) && arbi.isLoggedIn
1084
816
  });
@@ -1094,23 +826,23 @@ function usePendingContacts(options) {
1094
826
  return { ...contacts, pending };
1095
827
  }
1096
828
  function useAddContacts() {
1097
- const arbi = chunk7IOCMCC5_cjs.useArbi();
829
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
1098
830
  const qc = reactQuery.useQueryClient();
1099
831
  return reactQuery.useMutation({
1100
832
  mutationFn: (emails) => arbi.contacts.add(emails),
1101
- onSuccess: () => qc.invalidateQueries({ queryKey: arbiQueryKeys.contacts() })
833
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.contacts() })
1102
834
  });
1103
835
  }
1104
836
  function useRemoveContacts() {
1105
- const arbi = chunk7IOCMCC5_cjs.useArbi();
837
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
1106
838
  const qc = reactQuery.useQueryClient();
1107
839
  return reactQuery.useMutation({
1108
840
  mutationFn: (contactIds) => arbi.contacts.remove(contactIds),
1109
- onSuccess: () => qc.invalidateQueries({ queryKey: arbiQueryKeys.contacts() })
841
+ onSuccess: () => qc.invalidateQueries({ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.contacts() })
1110
842
  });
1111
843
  }
1112
844
  function useWorkspaceDocs(workspaceId) {
1113
- const { data: docs = [], isLoading, isError } = useDocuments(workspaceId);
845
+ const { data: docs = [], isLoading, isError } = chunk2DXS7L7M_cjs.useDocuments(workspaceId);
1114
846
  const docIds = React.useMemo(
1115
847
  () => docs.map((d) => d.external_id).filter((id) => !!id),
1116
848
  [docs]
@@ -1118,7 +850,7 @@ function useWorkspaceDocs(workspaceId) {
1118
850
  return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
1119
851
  }
1120
852
  function useAiTask() {
1121
- const mutation = useAssistantQuery();
853
+ const mutation = chunk2DXS7L7M_cjs.useAssistantQuery();
1122
854
  const [status, setStatus] = React.useState("idle");
1123
855
  const [text, setText] = React.useState("");
1124
856
  const [stepCount, setStepCount] = React.useState(0);
@@ -1207,7 +939,7 @@ function useAiTask() {
1207
939
  };
1208
940
  }
1209
941
  function useSemanticSearch(docIds) {
1210
- const arbi = chunk7IOCMCC5_cjs.useArbi();
942
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
1211
943
  const [query, setQuery] = React.useState("");
1212
944
  const mutation = reactQuery.useMutation({
1213
945
  mutationFn: async ({ query: q, mode }) => {
@@ -1305,9 +1037,9 @@ function AiAnswer({
1305
1037
  setTimeout(() => setCopied(false), 1600);
1306
1038
  };
1307
1039
  if (status === "idle" && !hasText) {
1308
- return emptyHint ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: chunkRZQACYNQ_cjs.cn("text-sm text-muted-foreground", className), "data-testid": `${testId}-empty`, children: emptyHint }) : null;
1040
+ return emptyHint ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: chunkS6A6FSG7_cjs.cn("text-sm text-muted-foreground", className), "data-testid": `${testId}-empty`, children: emptyHint }) : null;
1309
1041
  }
1310
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkRZQACYNQ_cjs.cn("space-y-3", className), "data-testid": testId, "data-status": status, children: [
1042
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkS6A6FSG7_cjs.cn("space-y-3", className), "data-testid": testId, "data-status": status, children: [
1311
1043
  running && /* @__PURE__ */ jsxRuntime.jsxs(
1312
1044
  "div",
1313
1045
  {
@@ -1331,7 +1063,7 @@ function AiAnswer({
1331
1063
  }
1332
1064
  ),
1333
1065
  hasText && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1334
- /* @__PURE__ */ jsxRuntime.jsx(chunkORKGCXG3_cjs.AiMarkdown, { isStreaming: running, children: text }),
1066
+ /* @__PURE__ */ jsxRuntime.jsx(chunk7BDGLRQX_cjs.AiMarkdown, { isStreaming: running, children: text }),
1335
1067
  !running && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-t border-border pt-2.5", children: [
1336
1068
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs text-muted-foreground", children: [
1337
1069
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ShieldCheck, { className: "size-3.5 text-ai-accent" }),
@@ -1376,7 +1108,7 @@ function AiActionCard({
1376
1108
  const p = typeof prompt === "function" ? prompt() : prompt;
1377
1109
  void task.run(p, docIds);
1378
1110
  };
1379
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkORKGCXG3_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
1111
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunk7BDGLRQX_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
1380
1112
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
1381
1113
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
1382
1114
  /* @__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" }) }),
@@ -1386,7 +1118,7 @@ function AiActionCard({
1386
1118
  ] })
1387
1119
  ] }),
1388
1120
  /* @__PURE__ */ jsxRuntime.jsxs(
1389
- chunkORKGCXG3_cjs.Button,
1121
+ chunk7BDGLRQX_cjs.Button,
1390
1122
  {
1391
1123
  variant: task.isDone ? "outline" : "accent",
1392
1124
  size: "sm",
@@ -1433,7 +1165,7 @@ function ArtifactCanvas({
1433
1165
  return /* @__PURE__ */ jsxRuntime.jsxs(
1434
1166
  "div",
1435
1167
  {
1436
- className: chunkRZQACYNQ_cjs.cn(
1168
+ className: chunkS6A6FSG7_cjs.cn(
1437
1169
  "flex h-full min-h-[280px] flex-col items-center justify-center rounded-xl border border-destructive/30 bg-destructive/5 p-8 text-center",
1438
1170
  className
1439
1171
  ),
@@ -1449,7 +1181,7 @@ function ArtifactCanvas({
1449
1181
  return /* @__PURE__ */ jsxRuntime.jsxs(
1450
1182
  "div",
1451
1183
  {
1452
- className: chunkRZQACYNQ_cjs.cn(
1184
+ className: chunkS6A6FSG7_cjs.cn(
1453
1185
  "flex h-full min-h-[280px] flex-col items-center justify-center rounded-xl border border-border bg-ai-surface/40 p-8 text-center",
1454
1186
  className
1455
1187
  ),
@@ -1470,7 +1202,7 @@ function ArtifactCanvas({
1470
1202
  return /* @__PURE__ */ jsxRuntime.jsxs(
1471
1203
  "div",
1472
1204
  {
1473
- className: chunkRZQACYNQ_cjs.cn(
1205
+ className: chunkS6A6FSG7_cjs.cn(
1474
1206
  "flex h-full min-h-[280px] flex-col items-center justify-center rounded-xl border border-dashed border-border bg-secondary/30 p-8 text-center",
1475
1207
  className
1476
1208
  ),
@@ -1502,7 +1234,7 @@ function ArtifactCanvas({
1502
1234
  return /* @__PURE__ */ jsxRuntime.jsxs(
1503
1235
  "div",
1504
1236
  {
1505
- className: chunkRZQACYNQ_cjs.cn(
1237
+ className: chunkS6A6FSG7_cjs.cn(
1506
1238
  "flex h-full flex-col overflow-hidden rounded-xl border border-border bg-card",
1507
1239
  className
1508
1240
  ),
@@ -1518,11 +1250,11 @@ function ArtifactCanvas({
1518
1250
  children: active.title
1519
1251
  }
1520
1252
  ),
1521
- isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunkORKGCXG3_cjs.Badge, { variant: "accent", className: "gap-1", children: [
1253
+ isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunk7BDGLRQX_cjs.Badge, { variant: "accent", className: "gap-1", children: [
1522
1254
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.GitCompareArrows, { className: "size-3" }),
1523
1255
  " Redline"
1524
1256
  ] }),
1525
- /* @__PURE__ */ jsxRuntime.jsxs(chunkORKGCXG3_cjs.Badge, { variant: "secondary", children: [
1257
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk7BDGLRQX_cjs.Badge, { variant: "secondary", children: [
1526
1258
  "v",
1527
1259
  active.version
1528
1260
  ] }),
@@ -1563,7 +1295,7 @@ function ArtifactCanvas({
1563
1295
  "button",
1564
1296
  {
1565
1297
  onClick: () => setActiveId(a.doc_ext_id),
1566
- className: chunkRZQACYNQ_cjs.cn(
1298
+ className: chunkS6A6FSG7_cjs.cn(
1567
1299
  "shrink-0 rounded-md px-2.5 py-1 text-xs font-medium",
1568
1300
  a.doc_ext_id === active.doc_ext_id ? "bg-ai-accent-soft text-ai-accent" : "text-muted-foreground hover:bg-accent"
1569
1301
  ),
@@ -1578,7 +1310,7 @@ function ArtifactCanvas({
1578
1310
  animate: { opacity: 1, y: 0 },
1579
1311
  transition: { duration: 0.2 },
1580
1312
  className: "mx-auto max-w-2xl rounded-lg bg-card p-8 shadow-sm ring-1 ring-border",
1581
- 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(chunkORKGCXG3_cjs.AiMarkdown, { children: active.content })
1313
+ 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(chunk7BDGLRQX_cjs.AiMarkdown, { children: active.content })
1582
1314
  },
1583
1315
  active.doc_ext_id
1584
1316
  ) }) })
@@ -1595,7 +1327,7 @@ function MessageArtifactCard({
1595
1327
  const Icon = isImage ? lucideReact.Image : lucideReact.FileText;
1596
1328
  const statusText = isImage ? isComplete ? "Image ready" : "Generating\u2026" : isComplete ? "Draft ready" : "Drafting\u2026";
1597
1329
  return /* @__PURE__ */ jsxRuntime.jsxs(
1598
- chunkORKGCXG3_cjs.Card,
1330
+ chunk7BDGLRQX_cjs.Card,
1599
1331
  {
1600
1332
  variant: "outline",
1601
1333
  className: "mt-3 flex items-center gap-3 px-3 py-2.5",
@@ -1638,7 +1370,7 @@ function DocSearch({
1638
1370
  const submit = () => {
1639
1371
  if (value.trim()) void search(value, "hybrid");
1640
1372
  };
1641
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkRZQACYNQ_cjs.cn("space-y-3", className), "data-testid": "doc-search", children: [
1373
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkS6A6FSG7_cjs.cn("space-y-3", className), "data-testid": "doc-search", children: [
1642
1374
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
1643
1375
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { className: "pointer-events-none absolute left-3 top-1/2 size-4 -translate-y-1/2 text-muted-foreground" }),
1644
1376
  isRunning && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "absolute right-3 top-1/2 size-4 -translate-y-1/2 animate-spin text-ai-accent" }),
@@ -1671,10 +1403,10 @@ function DocSearch({
1671
1403
  status === "done" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", "data-testid": "doc-search-results", children: [
1672
1404
  /* @__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` }),
1673
1405
  results.slice(0, 8).map((r, i) => /* @__PURE__ */ jsxRuntime.jsxs(
1674
- chunkORKGCXG3_cjs.Card,
1406
+ chunk7BDGLRQX_cjs.Card,
1675
1407
  {
1676
1408
  variant: "elevated",
1677
- className: chunkRZQACYNQ_cjs.cn(
1409
+ className: chunkS6A6FSG7_cjs.cn(
1678
1410
  "rounded-xl p-3",
1679
1411
  onOpenDoc && r.docId && "cursor-pointer transition-colors hover:border-ai-accent/40"
1680
1412
  ),
@@ -1684,7 +1416,7 @@ function DocSearch({
1684
1416
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-1 flex items-center gap-2", children: [
1685
1417
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 text-ai-accent" }),
1686
1418
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: r.docTitle ?? "Document" }),
1687
- r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkORKGCXG3_cjs.Badge, { variant: "secondary", children: [
1419
+ r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunk7BDGLRQX_cjs.Badge, { variant: "secondary", children: [
1688
1420
  "p.",
1689
1421
  r.page
1690
1422
  ] }),
@@ -1710,8 +1442,8 @@ function DocumentReview({
1710
1442
  onClose,
1711
1443
  className
1712
1444
  }) {
1713
- const parsedQuery = useParsedDocument(docId, stage);
1714
- const tagsQuery = useTags(workspaceId);
1445
+ const parsedQuery = chunk2DXS7L7M_cjs.useParsedDocument(docId, stage);
1446
+ const tagsQuery = chunk2DXS7L7M_cjs.useTags(workspaceId);
1715
1447
  const tagNameById = React__default.default.useMemo(() => {
1716
1448
  const map = /* @__PURE__ */ new Map();
1717
1449
  for (const t of tagsQuery.data ?? []) {
@@ -1765,7 +1497,7 @@ function DocumentReview({
1765
1497
  "div",
1766
1498
  {
1767
1499
  "data-testid": "document-review",
1768
- className: chunkRZQACYNQ_cjs.cn(
1500
+ className: chunkS6A6FSG7_cjs.cn(
1769
1501
  "flex h-full min-h-0 flex-col overflow-hidden rounded-lg border bg-card",
1770
1502
  className
1771
1503
  ),
@@ -1778,7 +1510,7 @@ function DocumentReview({
1778
1510
  findings.length ? ` \xB7 ${findings.length} findings` : ""
1779
1511
  ] })
1780
1512
  ] }),
1781
- doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(chunkORKGCXG3_cjs.Badge, { variant: "secondary", children: doc.status }) : null,
1513
+ doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(chunk7BDGLRQX_cjs.Badge, { variant: "secondary", children: doc.status }) : null,
1782
1514
  onClose ? /* @__PURE__ */ jsxRuntime.jsx(
1783
1515
  "button",
1784
1516
  {
@@ -1815,7 +1547,7 @@ function DocumentReview({
1815
1547
  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",
1816
1548
  children: [
1817
1549
  /* @__PURE__ */ jsxRuntime.jsx(
1818
- chunkORKGCXG3_cjs.TagEntity,
1550
+ chunk7BDGLRQX_cjs.TagEntity,
1819
1551
  {
1820
1552
  size: "sm",
1821
1553
  tag: {
@@ -1849,7 +1581,7 @@ function DocumentReview({
1849
1581
  {
1850
1582
  "data-chunk-id": cid,
1851
1583
  "data-testid": isActive ? "review-chunk-active" : highlighted ? "review-chunk-cited" : "review-chunk",
1852
- className: chunkRZQACYNQ_cjs.cn(
1584
+ className: chunkS6A6FSG7_cjs.cn(
1853
1585
  "scroll-mt-4 rounded-md px-2 py-1 transition-colors",
1854
1586
  highlighted && "bg-[var(--color-ai-accent-soft,theme(colors.amber.100))] ring-1 ring-inset ring-border",
1855
1587
  // The externally-selected search passage wins the
@@ -1860,7 +1592,7 @@ function DocumentReview({
1860
1592
  ),
1861
1593
  children: [
1862
1594
  highlighted ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1", children: /* @__PURE__ */ jsxRuntime.jsx(
1863
- chunkORKGCXG3_cjs.TagEntity,
1595
+ chunk7BDGLRQX_cjs.TagEntity,
1864
1596
  {
1865
1597
  size: "sm",
1866
1598
  tag: {
@@ -1869,7 +1601,7 @@ function DocumentReview({
1869
1601
  }
1870
1602
  }
1871
1603
  ) }) : null,
1872
- /* @__PURE__ */ jsxRuntime.jsx(chunkORKGCXG3_cjs.MarkdownRenderer, { className: "prose prose-sm max-w-none dark:prose-invert", children: c.content })
1604
+ /* @__PURE__ */ jsxRuntime.jsx(chunk7V7B7OEM_cjs.MarkdownRenderer, { className: "prose prose-sm max-w-none dark:prose-invert", children: c.content })
1873
1605
  ]
1874
1606
  },
1875
1607
  cid ?? i
@@ -1909,7 +1641,7 @@ function ResultRow({
1909
1641
  onSelect
1910
1642
  }) {
1911
1643
  return /* @__PURE__ */ jsxRuntime.jsx(
1912
- chunkORKGCXG3_cjs.PassageCard,
1644
+ chunk7BDGLRQX_cjs.PassageCard,
1913
1645
  {
1914
1646
  onClick: onSelect,
1915
1647
  active: isActive,
@@ -1918,7 +1650,7 @@ function ResultRow({
1918
1650
  header: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1919
1651
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 shrink-0 text-ai-accent" }),
1920
1652
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: result.docTitle ?? "Document" }),
1921
- result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkORKGCXG3_cjs.Badge, { variant: "secondary", children: [
1653
+ result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunk7BDGLRQX_cjs.Badge, { variant: "secondary", children: [
1922
1654
  "p.",
1923
1655
  result.page
1924
1656
  ] })
@@ -1942,7 +1674,7 @@ function SemanticSearch({
1942
1674
  const { results, status, error, search, isRunning, query } = useSemanticSearch(docIds);
1943
1675
  const [value, setValue] = React.useState("");
1944
1676
  const [selected, setSelected] = React.useState(null);
1945
- const { data: docs = [] } = useDocuments(workspaceId, { enabled: !!workspaceId });
1677
+ const { data: docs = [] } = chunk2DXS7L7M_cjs.useDocuments(workspaceId, { enabled: !!workspaceId });
1946
1678
  const docMap = React.useMemo(() => {
1947
1679
  const map = /* @__PURE__ */ new Map();
1948
1680
  for (const d of docs) if (d.external_id) map.set(d.external_id, d);
@@ -1957,11 +1689,11 @@ function SemanticSearch({
1957
1689
  }, [value, search, searchMode]);
1958
1690
  const selectedDoc = selected?.docId ? docMap.get(selected.docId) : void 0;
1959
1691
  const hasResults = status === "done" && results.length > 0;
1960
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": testId, className: chunkRZQACYNQ_cjs.cn("flex min-h-0 flex-col gap-4 md:flex-row", className), children: [
1692
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": testId, className: chunkS6A6FSG7_cjs.cn("flex min-h-0 flex-col gap-4 md:flex-row", className), children: [
1961
1693
  /* @__PURE__ */ jsxRuntime.jsxs(
1962
1694
  "div",
1963
1695
  {
1964
- className: chunkRZQACYNQ_cjs.cn(
1696
+ className: chunkS6A6FSG7_cjs.cn(
1965
1697
  "flex min-h-0 flex-col gap-3 md:w-[22rem] md:shrink-0",
1966
1698
  selected && "hidden md:flex"
1967
1699
  ),
@@ -2024,11 +1756,11 @@ function SemanticSearch({
2024
1756
  /* @__PURE__ */ jsxRuntime.jsx(
2025
1757
  "div",
2026
1758
  {
2027
- className: chunkRZQACYNQ_cjs.cn("min-h-0 min-w-0 flex-1", !selected && "hidden md:block"),
1759
+ className: chunkS6A6FSG7_cjs.cn("min-h-0 min-w-0 flex-1", !selected && "hidden md:block"),
2028
1760
  "data-testid": "arbi-semantic-search-viewer",
2029
1761
  children: selected && selected.docId ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col gap-2", children: [
2030
1762
  /* @__PURE__ */ jsxRuntime.jsxs(
2031
- chunkORKGCXG3_cjs.Button,
1763
+ chunk7BDGLRQX_cjs.Button,
2032
1764
  {
2033
1765
  variant: "ghost",
2034
1766
  size: "sm",
@@ -2087,7 +1819,7 @@ Question: ${question}`,
2087
1819
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 space-y-3", "data-testid": "doc-qa", children: [
2088
1820
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
2089
1821
  /* @__PURE__ */ jsxRuntime.jsx(
2090
- chunkORKGCXG3_cjs.Input,
1822
+ chunk7BDGLRQX_cjs.Input,
2091
1823
  {
2092
1824
  value: q,
2093
1825
  onChange: (e) => setQ(e.target.value),
@@ -2098,7 +1830,7 @@ Question: ${question}`,
2098
1830
  }
2099
1831
  ),
2100
1832
  /* @__PURE__ */ jsxRuntime.jsx(
2101
- chunkORKGCXG3_cjs.Button,
1833
+ chunk7BDGLRQX_cjs.Button,
2102
1834
  {
2103
1835
  variant: "accent",
2104
1836
  size: "icon",
@@ -2110,7 +1842,7 @@ Question: ${question}`,
2110
1842
  }
2111
1843
  ),
2112
1844
  /* @__PURE__ */ jsxRuntime.jsxs(
2113
- chunkORKGCXG3_cjs.Button,
1845
+ chunk7BDGLRQX_cjs.Button,
2114
1846
  {
2115
1847
  variant: "outline",
2116
1848
  size: "sm",
@@ -2246,10 +1978,10 @@ var CitationRendererComponent = ({
2246
1978
  onDismissCitation,
2247
1979
  notify2
2248
1980
  ]);
2249
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkRZQACYNQ_cjs.cn("citation-container", className), "data-testid": "citation-renderer", children: renderMarkdown({
1981
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkS6A6FSG7_cjs.cn("citation-container", className), "data-testid": "citation-renderer", children: renderMarkdown({
2250
1982
  components: markdownComponents,
2251
1983
  isStreaming,
2252
- children: chunkORKGCXG3_cjs.normalizeCitationMarkup(content)
1984
+ children: chunk7V7B7OEM_cjs.normalizeCitationMarkup(content)
2253
1985
  }) });
2254
1986
  };
2255
1987
  var CitationPopover = ({
@@ -2440,7 +2172,7 @@ var CitationPopover = ({
2440
2172
  {
2441
2173
  "data-testid": `citation-chunk-${chunk.metadata.chunk_ext_id}`,
2442
2174
  onClick: () => onChunkClick(chunk),
2443
- className: chunkRZQACYNQ_cjs.cn(
2175
+ className: chunkS6A6FSG7_cjs.cn(
2444
2176
  "w-full text-left text-sm rounded-md px-2 py-1.5 pointer-coarse:min-h-11 pointer-coarse:py-3 transition-colors flex items-start gap-2 mb-1 last:mb-0",
2445
2177
  isSelected ? "bg-ai-soft text-foreground ring-1 ring-ai-accent/40" : "text-muted-foreground hover:text-primary hover:bg-muted"
2446
2178
  ),
@@ -2474,7 +2206,7 @@ var CitationLink = ({
2474
2206
  triggerRef,
2475
2207
  children
2476
2208
  }) => /* @__PURE__ */ jsxRuntime.jsxs(
2477
- chunkORKGCXG3_cjs.MarkMenu,
2209
+ chunk7BDGLRQX_cjs.MarkMenu,
2478
2210
  {
2479
2211
  triggerRef,
2480
2212
  items,
@@ -2483,7 +2215,7 @@ var CitationLink = ({
2483
2215
  testId: `citation-link-${citationNum}`,
2484
2216
  tabIndex: isStreaming ? -1 : 0,
2485
2217
  "data-mark-kind": "citation",
2486
- className: chunkRZQACYNQ_cjs.cn(
2218
+ className: chunkS6A6FSG7_cjs.cn(
2487
2219
  "cited-text relative rounded-sm px-0.5 transition-colors",
2488
2220
  // 44px touch hit area without changing the text layout.
2489
2221
  "pointer-coarse:after:absolute pointer-coarse:after:content-[''] pointer-coarse:after:-inset-x-3 pointer-coarse:after:-inset-y-4",
@@ -2512,8 +2244,8 @@ var DocIcon = ({ size = 16, className = "" }) => {
2512
2244
  "path",
2513
2245
  {
2514
2246
  d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
2515
- fill: chunkORKGCXG3_cjs.FILE_TYPE_COLORS.doc,
2516
- stroke: chunkORKGCXG3_cjs.FILE_TYPE_COLORS.doc,
2247
+ fill: chunk7BDGLRQX_cjs.FILE_TYPE_COLORS.doc,
2248
+ stroke: chunk7BDGLRQX_cjs.FILE_TYPE_COLORS.doc,
2517
2249
  strokeWidth: "1",
2518
2250
  strokeLinecap: "round",
2519
2251
  strokeLinejoin: "round"
@@ -2524,7 +2256,7 @@ var DocIcon = ({ size = 16, className = "" }) => {
2524
2256
  {
2525
2257
  d: "M14 2v6h6",
2526
2258
  fill: "none",
2527
- stroke: chunkORKGCXG3_cjs.FILE_TYPE_COLORS.white,
2259
+ stroke: chunk7BDGLRQX_cjs.FILE_TYPE_COLORS.white,
2528
2260
  strokeWidth: "1",
2529
2261
  strokeLinecap: "round",
2530
2262
  strokeLinejoin: "round"
@@ -2562,8 +2294,8 @@ var HtmlIcon = ({ size = 16, className = "" }) => {
2562
2294
  "path",
2563
2295
  {
2564
2296
  d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
2565
- fill: chunkORKGCXG3_cjs.FILE_TYPE_COLORS.html,
2566
- stroke: chunkORKGCXG3_cjs.FILE_TYPE_COLORS.html,
2297
+ fill: chunk7BDGLRQX_cjs.FILE_TYPE_COLORS.html,
2298
+ stroke: chunk7BDGLRQX_cjs.FILE_TYPE_COLORS.html,
2567
2299
  strokeWidth: "1",
2568
2300
  strokeLinecap: "round",
2569
2301
  strokeLinejoin: "round"
@@ -2574,7 +2306,7 @@ var HtmlIcon = ({ size = 16, className = "" }) => {
2574
2306
  {
2575
2307
  d: "M14 2v6h6",
2576
2308
  fill: "none",
2577
- stroke: chunkORKGCXG3_cjs.FILE_TYPE_COLORS.white,
2309
+ stroke: chunk7BDGLRQX_cjs.FILE_TYPE_COLORS.white,
2578
2310
  strokeWidth: "1",
2579
2311
  strokeLinecap: "round",
2580
2312
  strokeLinejoin: "round"
@@ -2612,8 +2344,8 @@ var TxtIcon = ({ size = 16, className = "" }) => {
2612
2344
  "path",
2613
2345
  {
2614
2346
  d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
2615
- fill: chunkORKGCXG3_cjs.FILE_TYPE_COLORS.txt,
2616
- stroke: chunkORKGCXG3_cjs.FILE_TYPE_COLORS.txt,
2347
+ fill: chunk7BDGLRQX_cjs.FILE_TYPE_COLORS.txt,
2348
+ stroke: chunk7BDGLRQX_cjs.FILE_TYPE_COLORS.txt,
2617
2349
  strokeWidth: "1",
2618
2350
  strokeLinecap: "round",
2619
2351
  strokeLinejoin: "round"
@@ -2624,7 +2356,7 @@ var TxtIcon = ({ size = 16, className = "" }) => {
2624
2356
  {
2625
2357
  d: "M14 2v6h6",
2626
2358
  fill: "none",
2627
- stroke: chunkORKGCXG3_cjs.FILE_TYPE_COLORS.white,
2359
+ stroke: chunk7BDGLRQX_cjs.FILE_TYPE_COLORS.white,
2628
2360
  strokeWidth: "1",
2629
2361
  strokeLinecap: "round",
2630
2362
  strokeLinejoin: "round"
@@ -2662,8 +2394,8 @@ var XlsIcon = ({ size = 16, className = "" }) => {
2662
2394
  "path",
2663
2395
  {
2664
2396
  d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
2665
- fill: chunkORKGCXG3_cjs.FILE_TYPE_COLORS.xls,
2666
- stroke: chunkORKGCXG3_cjs.FILE_TYPE_COLORS.xls,
2397
+ fill: chunk7BDGLRQX_cjs.FILE_TYPE_COLORS.xls,
2398
+ stroke: chunk7BDGLRQX_cjs.FILE_TYPE_COLORS.xls,
2667
2399
  strokeWidth: "1",
2668
2400
  strokeLinecap: "round",
2669
2401
  strokeLinejoin: "round"
@@ -2674,7 +2406,7 @@ var XlsIcon = ({ size = 16, className = "" }) => {
2674
2406
  {
2675
2407
  d: "M14 2v6h6",
2676
2408
  fill: "none",
2677
- stroke: chunkORKGCXG3_cjs.FILE_TYPE_COLORS.white,
2409
+ stroke: chunk7BDGLRQX_cjs.FILE_TYPE_COLORS.white,
2678
2410
  strokeWidth: "1",
2679
2411
  strokeLinecap: "round",
2680
2412
  strokeLinejoin: "round"
@@ -2712,8 +2444,8 @@ var FileIcon = ({ size = 16, className = "" }) => {
2712
2444
  "path",
2713
2445
  {
2714
2446
  d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
2715
- fill: chunkORKGCXG3_cjs.FILE_TYPE_COLORS.generic,
2716
- stroke: chunkORKGCXG3_cjs.FILE_TYPE_COLORS.generic,
2447
+ fill: chunk7BDGLRQX_cjs.FILE_TYPE_COLORS.generic,
2448
+ stroke: chunk7BDGLRQX_cjs.FILE_TYPE_COLORS.generic,
2717
2449
  strokeWidth: "1",
2718
2450
  strokeLinecap: "round",
2719
2451
  strokeLinejoin: "round"
@@ -2724,7 +2456,7 @@ var FileIcon = ({ size = 16, className = "" }) => {
2724
2456
  {
2725
2457
  d: "M14 2v6h6",
2726
2458
  fill: "none",
2727
- stroke: chunkORKGCXG3_cjs.FILE_TYPE_COLORS.white,
2459
+ stroke: chunk7BDGLRQX_cjs.FILE_TYPE_COLORS.white,
2728
2460
  strokeWidth: "1",
2729
2461
  strokeLinecap: "round",
2730
2462
  strokeLinejoin: "round"
@@ -3080,7 +2812,7 @@ var ArbiBotIcon = ({ size = 24, className = "" }) => {
3080
2812
  );
3081
2813
  };
3082
2814
  function getNotificationTypeMeta(type) {
3083
- const WorkspaceIcon = chunkORKGCXG3_cjs.getEntityIcon("WORKSPACE");
2815
+ const WorkspaceIcon = chunk7BDGLRQX_cjs.getEntityIcon("WORKSPACE");
3084
2816
  switch (type) {
3085
2817
  case "user_message":
3086
2818
  return { Icon: lucideReact.MessageCircleMore, iconClassName: "text-primary", label: "Message" };
@@ -3195,7 +2927,7 @@ function describeActivity(content) {
3195
2927
  }
3196
2928
  default:
3197
2929
  return {
3198
- Icon: parsed.workspace_ext_id ? chunkORKGCXG3_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
2930
+ Icon: parsed.workspace_ext_id ? chunk7BDGLRQX_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
3199
2931
  iconClassName: "text-muted-foreground",
3200
2932
  title: humaniseEvent(parsed.event)
3201
2933
  };
@@ -3225,22 +2957,22 @@ function ActivityFeed({
3225
2957
  enabled,
3226
2958
  "data-testid": testId = "activity-feed"
3227
2959
  }) {
3228
- const { data, isLoading, isError } = useActivity({ limit, enabled });
2960
+ const { data, isLoading, isError } = chunk2DXS7L7M_cjs.useActivity({ limit, enabled });
3229
2961
  if (isLoading) {
3230
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkRZQACYNQ_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: [
2962
+ 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: [
3231
2963
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
3232
2964
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-3 flex-1 animate-pulse rounded bg-muted" })
3233
2965
  ] }, i)) });
3234
2966
  }
3235
2967
  if (isError) {
3236
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkRZQACYNQ_cjs.cn("text-sm text-muted-foreground", className), "data-testid": testId, children: "Couldn\u2019t load activity." });
2968
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkS6A6FSG7_cjs.cn("text-sm text-muted-foreground", className), "data-testid": testId, children: "Couldn\u2019t load activity." });
3237
2969
  }
3238
2970
  const items = data ?? [];
3239
2971
  if (items.length === 0) {
3240
2972
  return /* @__PURE__ */ jsxRuntime.jsxs(
3241
2973
  "div",
3242
2974
  {
3243
- className: chunkRZQACYNQ_cjs.cn("flex items-center gap-2 text-sm text-muted-foreground", className),
2975
+ className: chunkS6A6FSG7_cjs.cn("flex items-center gap-2 text-sm text-muted-foreground", className),
3244
2976
  "data-testid": testId,
3245
2977
  children: [
3246
2978
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Activity, { className: "h-4 w-4 shrink-0" }),
@@ -3249,7 +2981,7 @@ function ActivityFeed({
3249
2981
  }
3250
2982
  );
3251
2983
  }
3252
- return /* @__PURE__ */ jsxRuntime.jsx("ul", { className: chunkRZQACYNQ_cjs.cn("divide-y divide-border", className), "data-testid": testId, children: items.map((item) => {
2984
+ return /* @__PURE__ */ jsxRuntime.jsx("ul", { className: chunkS6A6FSG7_cjs.cn("divide-y divide-border", className), "data-testid": testId, children: items.map((item) => {
3253
2985
  const desc = describeActivity(item.content);
3254
2986
  return /* @__PURE__ */ jsxRuntime.jsxs(
3255
2987
  "li",
@@ -3257,7 +2989,7 @@ function ActivityFeed({
3257
2989
  className: "flex items-center gap-3 py-2",
3258
2990
  "data-testid": "activity-feed-item",
3259
2991
  children: [
3260
- /* @__PURE__ */ jsxRuntime.jsx(desc.Icon, { className: chunkRZQACYNQ_cjs.cn("h-4 w-4 shrink-0", desc.iconClassName) }),
2992
+ /* @__PURE__ */ jsxRuntime.jsx(desc.Icon, { className: chunkS6A6FSG7_cjs.cn("h-4 w-4 shrink-0", desc.iconClassName) }),
3261
2993
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-0 flex-1 truncate text-sm text-foreground", children: desc.title }),
3262
2994
  /* @__PURE__ */ jsxRuntime.jsx("time", { className: "shrink-0 text-xs tabular-nums text-muted-foreground", children: formatRelative(item.created_at) })
3263
2995
  ]
@@ -3340,7 +3072,7 @@ function groupConversations(notifications, myExtId) {
3340
3072
  return conversations;
3341
3073
  }
3342
3074
  function useDirectMessages(options) {
3343
- const arbi = chunk7IOCMCC5_cjs.useArbi();
3075
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
3344
3076
  const queryClient = reactQuery.useQueryClient();
3345
3077
  const enabled = options?.enabled ?? arbi.isLoggedIn;
3346
3078
  const query = reactQuery.useQuery({
@@ -3349,7 +3081,7 @@ function useDirectMessages(options) {
3349
3081
  enabled
3350
3082
  });
3351
3083
  const contactsQuery = reactQuery.useQuery({
3352
- queryKey: arbiQueryKeys.contacts(),
3084
+ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.contacts(),
3353
3085
  queryFn: () => arbi.contacts.list(),
3354
3086
  enabled
3355
3087
  });
@@ -3411,7 +3143,7 @@ function DmAvatar({ user, className, size = "lg" }) {
3411
3143
  const presence = useArbiWsStore((s) => s.presence[user.external_id]);
3412
3144
  const displayStatus = presence === void 0 ? void 0 : presence === "online" ? "connected" : "disconnected";
3413
3145
  return /* @__PURE__ */ jsxRuntime.jsx(
3414
- chunkORKGCXG3_cjs.UserEntity,
3146
+ chunk7BDGLRQX_cjs.UserEntity,
3415
3147
  {
3416
3148
  variant: "icon",
3417
3149
  size,
@@ -3421,7 +3153,7 @@ function DmAvatar({ user, className, size = "lg" }) {
3421
3153
  initials: userInitials(user),
3422
3154
  displayName: userDisplayName(user),
3423
3155
  picture: user.picture,
3424
- avatarStyle: chunkORKGCXG3_cjs.getEntityColorStyles(user.external_id),
3156
+ avatarStyle: chunk7BDGLRQX_cjs.getEntityColorStyles(user.external_id),
3425
3157
  isAgent: isAgentUser(user),
3426
3158
  displayStatus
3427
3159
  }
@@ -3440,7 +3172,7 @@ function ConversationList({
3440
3172
  return /* @__PURE__ */ jsxRuntime.jsxs(
3441
3173
  "aside",
3442
3174
  {
3443
- className: chunkRZQACYNQ_cjs.cn(
3175
+ className: chunkS6A6FSG7_cjs.cn(
3444
3176
  "flex min-h-0 flex-col border-b border-border md:w-80 md:shrink-0 md:border-b-0 md:border-r",
3445
3177
  className
3446
3178
  ),
@@ -3469,17 +3201,17 @@ function ConversationList({
3469
3201
  /* @__PURE__ */ jsxRuntime.jsx(
3470
3202
  "span",
3471
3203
  {
3472
- className: chunkRZQACYNQ_cjs.cn(
3204
+ className: chunkS6A6FSG7_cjs.cn(
3473
3205
  "truncate text-sm text-foreground",
3474
3206
  unread ? "font-bold" : "font-semibold"
3475
3207
  ),
3476
3208
  children: userDisplayName(peer)
3477
3209
  }
3478
3210
  ),
3479
- c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunkORKGCXG3_cjs.AgentBadge, {}) : null)
3211
+ c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunk7BDGLRQX_cjs.AgentBadge, {}) : null)
3480
3212
  ] }),
3481
3213
  c.statusLabel ? /* @__PURE__ */ jsxRuntime.jsx(
3482
- chunkORKGCXG3_cjs.Badge,
3214
+ chunk7BDGLRQX_cjs.Badge,
3483
3215
  {
3484
3216
  variant: "outline",
3485
3217
  className: "shrink-0 rounded-full px-2 py-0 text-xs font-medium text-muted-foreground",
@@ -3490,10 +3222,10 @@ function ConversationList({
3490
3222
  // shouted louder than the message it was counting.
3491
3223
  // Enough to catch the eye scanning the list, no more.
3492
3224
  /* @__PURE__ */ jsxRuntime.jsx(
3493
- chunkORKGCXG3_cjs.Badge,
3225
+ chunk7BDGLRQX_cjs.Badge,
3494
3226
  {
3495
3227
  variant: "accent",
3496
- className: chunkRZQACYNQ_cjs.cn(
3228
+ className: chunkS6A6FSG7_cjs.cn(
3497
3229
  "min-w-[1.125rem] justify-center rounded-full px-1 py-0 text-xs font-medium leading-[1.125rem] shadow-none",
3498
3230
  classNames?.unreadBadge
3499
3231
  ),
@@ -3519,18 +3251,18 @@ function ConversationList({
3519
3251
  /* @__PURE__ */ jsxRuntime.jsx(
3520
3252
  "p",
3521
3253
  {
3522
- className: chunkRZQACYNQ_cjs.cn(
3254
+ className: chunkS6A6FSG7_cjs.cn(
3523
3255
  "min-w-0 flex-1 truncate text-xs",
3524
3256
  unread ? "font-medium text-foreground" : "text-muted-foreground"
3525
3257
  ),
3526
3258
  children: c.subtitle ?? preview
3527
3259
  }
3528
3260
  ),
3529
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 text-xs text-muted-foreground", children: lastMessage ? chunkBXP6S34V_cjs.formatRelativeTime(lastMessage.createdAt) : "" })
3261
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 text-xs text-muted-foreground", children: lastMessage ? chunkPGLV23SB_cjs.formatRelativeTime(lastMessage.createdAt) : "" })
3530
3262
  ] })
3531
3263
  ] })
3532
3264
  ] });
3533
- const rowClass = chunkRZQACYNQ_cjs.cn(
3265
+ const rowClass = chunkS6A6FSG7_cjs.cn(
3534
3266
  // Each row is its own opaque surface. Left transparent it takes
3535
3267
  // the panel's colour, and the chips stop reading as cards at all
3536
3268
  // — which is the whole point of them.
@@ -3617,7 +3349,7 @@ function MessageBubble({
3617
3349
  isLastOfRun,
3618
3350
  senderName: message.isMine ? "You" : userDisplayName(message.sender),
3619
3351
  classNames,
3620
- formatTimestamp: chunkBXP6S34V_cjs.formatRelativeTime
3352
+ formatTimestamp: chunkPGLV23SB_cjs.formatRelativeTime
3621
3353
  }
3622
3354
  );
3623
3355
  }
@@ -3659,7 +3391,7 @@ function MessageThread({
3659
3391
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "truncate text-xs text-muted-foreground", children: peer.email })
3660
3392
  ] })
3661
3393
  ] }),
3662
- /* @__PURE__ */ jsxRuntime.jsx(chunkRZQACYNQ_cjs.ScrollArea, { className: "min-h-0 flex-1 bg-background", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col px-4 py-4", "data-testid": "arbi-dm-thread", children: [
3394
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOBNTJEEO_cjs.ScrollArea, { className: "min-h-0 flex-1 bg-background", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col px-4 py-4", "data-testid": "arbi-dm-thread", children: [
3663
3395
  items.map(({ message: m, isLastOfRun, isFirstOfDay }) => /* @__PURE__ */ jsxRuntime.jsxs(React.Fragment, { children: [
3664
3396
  isFirstOfDay && formatDay && /* @__PURE__ */ jsxRuntime.jsx(DateSeparator, { children: formatDay(m.createdAt) }),
3665
3397
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -3709,7 +3441,7 @@ function DmComposer({
3709
3441
  children,
3710
3442
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-end gap-2", children: [
3711
3443
  /* @__PURE__ */ jsxRuntime.jsx(
3712
- chunkORKGCXG3_cjs.Textarea,
3444
+ chunk7BDGLRQX_cjs.Textarea,
3713
3445
  {
3714
3446
  ref: inputRef,
3715
3447
  value: draft,
@@ -3723,12 +3455,12 @@ function DmComposer({
3723
3455
  }
3724
3456
  ),
3725
3457
  /* @__PURE__ */ jsxRuntime.jsxs(
3726
- chunkORKGCXG3_cjs.Button,
3458
+ chunk7BDGLRQX_cjs.Button,
3727
3459
  {
3728
3460
  type: "button",
3729
3461
  onClick: () => void submit(),
3730
3462
  disabled: disabled || busy || !draft.trim(),
3731
- className: chunkRZQACYNQ_cjs.cn(classNames?.sendButton),
3463
+ className: chunkS6A6FSG7_cjs.cn(classNames?.sendButton),
3732
3464
  "data-testid": "arbi-dm-send",
3733
3465
  "aria-label": "Send message",
3734
3466
  children: [
@@ -3785,15 +3517,15 @@ function StartByEmail({
3785
3517
  "form",
3786
3518
  {
3787
3519
  "data-testid": "arbi-dm-start",
3788
- className: chunkRZQACYNQ_cjs.cn("flex flex-col gap-2 border-b border-border px-4 py-3", className),
3520
+ className: chunkS6A6FSG7_cjs.cn("flex flex-col gap-2 border-b border-border px-4 py-3", className),
3789
3521
  onSubmit: (e) => {
3790
3522
  e.preventDefault();
3791
3523
  void submit();
3792
3524
  },
3793
3525
  children: [
3794
- /* @__PURE__ */ jsxRuntime.jsx(chunkORKGCXG3_cjs.Label, { htmlFor: `${uid}-email`, children: l.email }),
3526
+ /* @__PURE__ */ jsxRuntime.jsx(chunk7BDGLRQX_cjs.Label, { htmlFor: `${uid}-email`, children: l.email }),
3795
3527
  /* @__PURE__ */ jsxRuntime.jsx(
3796
- chunkORKGCXG3_cjs.Input,
3528
+ chunk7BDGLRQX_cjs.Input,
3797
3529
  {
3798
3530
  id: `${uid}-email`,
3799
3531
  type: "email",
@@ -3807,9 +3539,9 @@ function StartByEmail({
3807
3539
  }
3808
3540
  ),
3809
3541
  email !== "" && !valid && /* @__PURE__ */ jsxRuntime.jsx("p", { id: `${uid}-bad`, className: "text-xs text-destructive", children: l.invalidEmail }),
3810
- /* @__PURE__ */ jsxRuntime.jsx(chunkORKGCXG3_cjs.Label, { htmlFor: `${uid}-text`, children: l.message }),
3542
+ /* @__PURE__ */ jsxRuntime.jsx(chunk7BDGLRQX_cjs.Label, { htmlFor: `${uid}-text`, children: l.message }),
3811
3543
  /* @__PURE__ */ jsxRuntime.jsx(
3812
- chunkORKGCXG3_cjs.Textarea,
3544
+ chunk7BDGLRQX_cjs.Textarea,
3813
3545
  {
3814
3546
  id: `${uid}-text`,
3815
3547
  value: text,
@@ -3822,12 +3554,12 @@ function StartByEmail({
3822
3554
  ),
3823
3555
  error && /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-xs text-destructive", "data-testid": "arbi-dm-start-error", children: error }),
3824
3556
  /* @__PURE__ */ jsxRuntime.jsxs(
3825
- chunkORKGCXG3_cjs.Button,
3557
+ chunk7BDGLRQX_cjs.Button,
3826
3558
  {
3827
3559
  type: "submit",
3828
3560
  size: "sm",
3829
3561
  disabled: !valid || !text.trim() || busy,
3830
- className: chunkRZQACYNQ_cjs.cn("self-end", classNames?.sendButton),
3562
+ className: chunkS6A6FSG7_cjs.cn("self-end", classNames?.sendButton),
3831
3563
  "data-testid": "arbi-dm-start-send",
3832
3564
  children: [
3833
3565
  busy ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin", "aria-hidden": true }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Send, { className: "size-4", "aria-hidden": true }),
@@ -3892,7 +3624,7 @@ function DirectMessages({
3892
3624
  {
3893
3625
  "data-testid": "arbi-dm",
3894
3626
  style: { height: "calc(100vh - 16rem)", minHeight: "28rem" },
3895
- className: chunkRZQACYNQ_cjs.cn(
3627
+ className: chunkS6A6FSG7_cjs.cn(
3896
3628
  "relative flex flex-col overflow-hidden rounded-xl border border-border bg-card md:flex-row",
3897
3629
  className
3898
3630
  ),
@@ -3973,7 +3705,7 @@ function ImageCropper({
3973
3705
  },
3974
3706
  [onCropComplete, activeAspect]
3975
3707
  );
3976
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkRZQACYNQ_cjs.cn("flex flex-col gap-3", className), children: [
3708
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkS6A6FSG7_cjs.cn("flex flex-col gap-3", className), children: [
3977
3709
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative h-72 w-full overflow-hidden rounded-md bg-foreground/95", children: /* @__PURE__ */ jsxRuntime.jsx(
3978
3710
  Cropper__default.default,
3979
3711
  {
@@ -3999,7 +3731,7 @@ function ImageCropper({
3999
3731
  type: "button",
4000
3732
  onClick: () => setActiveAspect(opt.value),
4001
3733
  "data-testid": `image-cropper-aspect-${opt.label}`,
4002
- className: chunkRZQACYNQ_cjs.cn(
3734
+ className: chunkS6A6FSG7_cjs.cn(
4003
3735
  "rounded-md px-2 py-1 text-xs font-medium transition-colors",
4004
3736
  on ? "bg-primary text-primary-foreground" : "text-muted-foreground hover:bg-accent hover:text-foreground"
4005
3737
  ),
@@ -4012,7 +3744,7 @@ function ImageCropper({
4012
3744
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
4013
3745
  /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Zoom" }),
4014
3746
  /* @__PURE__ */ jsxRuntime.jsx(
4015
- chunkORKGCXG3_cjs.Slider,
3747
+ chunk7BDGLRQX_cjs.Slider,
4016
3748
  {
4017
3749
  value: [zoom],
4018
3750
  onValueChange: ([v]) => setZoom(v ?? 1),
@@ -4089,8 +3821,8 @@ function ImageCropModal({
4089
3821
  setBusy(false);
4090
3822
  }
4091
3823
  };
4092
- return /* @__PURE__ */ jsxRuntime.jsx(chunkORKGCXG3_cjs.Dialog, { open, onOpenChange: (next) => !next ? onCancel() : void 0, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkORKGCXG3_cjs.DialogContent, { className: "sm:max-w-md", "data-testid": "image-crop-modal", children: [
4093
- /* @__PURE__ */ jsxRuntime.jsx(chunkORKGCXG3_cjs.DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkORKGCXG3_cjs.DialogTitle, { children: title }) }),
3824
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk7BDGLRQX_cjs.Dialog, { open, onOpenChange: (next) => !next ? onCancel() : void 0, children: /* @__PURE__ */ jsxRuntime.jsxs(chunk7BDGLRQX_cjs.DialogContent, { className: "sm:max-w-md", "data-testid": "image-crop-modal", children: [
3825
+ /* @__PURE__ */ jsxRuntime.jsx(chunk7BDGLRQX_cjs.DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk7BDGLRQX_cjs.DialogTitle, { children: title }) }),
4094
3826
  image ? /* @__PURE__ */ jsxRuntime.jsx(
4095
3827
  ImageCropper,
4096
3828
  {
@@ -4101,9 +3833,9 @@ function ImageCropModal({
4101
3833
  onCropComplete: setArea
4102
3834
  }
4103
3835
  ) : null,
4104
- /* @__PURE__ */ jsxRuntime.jsxs(chunkORKGCXG3_cjs.DialogFooter, { className: "gap-2 sm:gap-2", children: [
4105
- /* @__PURE__ */ jsxRuntime.jsx(chunkORKGCXG3_cjs.Button, { variant: "ghost", onClick: onCancel, disabled: busy, children: "Cancel" }),
4106
- /* @__PURE__ */ jsxRuntime.jsxs(chunkORKGCXG3_cjs.Button, { onClick: handleSave, disabled: !area || busy, "data-testid": "image-crop-save", children: [
3836
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk7BDGLRQX_cjs.DialogFooter, { className: "gap-2 sm:gap-2", children: [
3837
+ /* @__PURE__ */ jsxRuntime.jsx(chunk7BDGLRQX_cjs.Button, { variant: "ghost", onClick: onCancel, disabled: busy, children: "Cancel" }),
3838
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk7BDGLRQX_cjs.Button, { onClick: handleSave, disabled: !area || busy, "data-testid": "image-crop-save", children: [
4107
3839
  busy ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "mr-1 size-4 animate-spin" }) : null,
4108
3840
  saveLabel
4109
3841
  ] })
@@ -4169,18 +3901,18 @@ function CommandPalette({
4169
3901
  if (!q || task.isRunning) return;
4170
3902
  void task.run(buildAskPrompt(q), askDocIds, { model });
4171
3903
  };
4172
- return /* @__PURE__ */ jsxRuntime.jsx(chunkORKGCXG3_cjs.Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
4173
- chunkORKGCXG3_cjs.DialogContent,
3904
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk7BDGLRQX_cjs.Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
3905
+ chunk7BDGLRQX_cjs.DialogContent,
4174
3906
  {
4175
- className: chunkRZQACYNQ_cjs.cn(
3907
+ className: chunkS6A6FSG7_cjs.cn(
4176
3908
  "top-[12%] max-w-2xl translate-y-0 gap-0 overflow-hidden p-0",
4177
3909
  classNames?.dialog
4178
3910
  ),
4179
3911
  "data-testid": testId,
4180
3912
  children: [
4181
- /* @__PURE__ */ jsxRuntime.jsx(chunkORKGCXG3_cjs.DialogTitle, { className: "sr-only", children: "Command palette" }),
3913
+ /* @__PURE__ */ jsxRuntime.jsx(chunk7BDGLRQX_cjs.DialogTitle, { className: "sr-only", children: "Command palette" }),
4182
3914
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 border-b border-border px-4", children: [
4183
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: chunkRZQACYNQ_cjs.cn("size-4 shrink-0 text-ai-accent", classNames?.leadingIcon) }),
3915
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: chunkS6A6FSG7_cjs.cn("size-4 shrink-0 text-ai-accent", classNames?.leadingIcon) }),
4184
3916
  /* @__PURE__ */ jsxRuntime.jsx(
4185
3917
  "input",
4186
3918
  {
@@ -4194,7 +3926,7 @@ function CommandPalette({
4194
3926
  }
4195
3927
  },
4196
3928
  placeholder,
4197
- className: chunkRZQACYNQ_cjs.cn(
3929
+ className: chunkS6A6FSG7_cjs.cn(
4198
3930
  "h-14 flex-1 bg-transparent text-base outline-none placeholder:text-muted-foreground",
4199
3931
  classNames?.input
4200
3932
  ),
@@ -4209,7 +3941,7 @@ function CommandPalette({
4209
3941
  {
4210
3942
  type: "button",
4211
3943
  onClick: ask,
4212
- className: chunkRZQACYNQ_cjs.cn(
3944
+ className: chunkS6A6FSG7_cjs.cn(
4213
3945
  "mb-1 flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-left hover:bg-accent",
4214
3946
  classNames?.askAction
4215
3947
  ),
@@ -4218,7 +3950,7 @@ function CommandPalette({
4218
3950
  /* @__PURE__ */ jsxRuntime.jsx(
4219
3951
  "span",
4220
3952
  {
4221
- className: chunkRZQACYNQ_cjs.cn(
3953
+ className: chunkS6A6FSG7_cjs.cn(
4222
3954
  "flex size-8 items-center justify-center rounded-md bg-ai-surface text-ai-accent",
4223
3955
  classNames?.askChip
4224
3956
  ),
@@ -4249,7 +3981,7 @@ function CommandPalette({
4249
3981
  }
4250
3982
  ),
4251
3983
  task.isDone && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-3 flex justify-end", children: /* @__PURE__ */ jsxRuntime.jsx(
4252
- chunkORKGCXG3_cjs.Button,
3984
+ chunk7BDGLRQX_cjs.Button,
4253
3985
  {
4254
3986
  variant: "outline",
4255
3987
  size: "sm",
@@ -4267,7 +3999,7 @@ function CommandPalette({
4267
3999
  {
4268
4000
  type: "button",
4269
4001
  onClick: () => go(item.to),
4270
- className: chunkRZQACYNQ_cjs.cn(
4002
+ className: chunkS6A6FSG7_cjs.cn(
4271
4003
  "flex w-full items-center gap-3 rounded-lg px-3 py-2 text-left hover:bg-accent",
4272
4004
  classNames?.navItem
4273
4005
  ),
@@ -4384,10 +4116,10 @@ function DocumentTable({
4384
4116
  extraColumns,
4385
4117
  className
4386
4118
  }) {
4387
- const query = useDocuments(workspaceId, { enabled: !documents });
4119
+ const query = chunk2DXS7L7M_cjs.useDocuments(workspaceId, { enabled: !documents });
4388
4120
  const rows = documents ?? query.data ?? [];
4389
4121
  const isLoading = !documents && query.isLoading;
4390
- const tagsQuery = useTags(workspaceId);
4122
+ const tagsQuery = chunk2DXS7L7M_cjs.useTags(workspaceId);
4391
4123
  const tagNameById = React__default.default.useMemo(() => {
4392
4124
  const map = /* @__PURE__ */ new Map();
4393
4125
  for (const t of tagsQuery.data ?? []) {
@@ -4447,7 +4179,7 @@ function DocumentTable({
4447
4179
  const doc = p.data;
4448
4180
  if (!doc) return null;
4449
4181
  return /* @__PURE__ */ jsxRuntime.jsx(
4450
- chunkORKGCXG3_cjs.DocumentEntity,
4182
+ chunk7BDGLRQX_cjs.DocumentEntity,
4451
4183
  {
4452
4184
  doc,
4453
4185
  size: "base",
@@ -4470,7 +4202,7 @@ function DocumentTable({
4470
4202
  cellRenderer: (p) => {
4471
4203
  const status = p.data?.status;
4472
4204
  if (!status) return null;
4473
- return /* @__PURE__ */ jsxRuntime.jsx(chunkORKGCXG3_cjs.Badge, { variant: STATUS_VARIANTS[status.toLowerCase()] ?? "secondary", children: status });
4205
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk7BDGLRQX_cjs.Badge, { variant: STATUS_VARIANTS[status.toLowerCase()] ?? "secondary", children: status });
4474
4206
  }
4475
4207
  },
4476
4208
  {
@@ -4484,7 +4216,7 @@ function DocumentTable({
4484
4216
  const doctags = p.data?.doctags ?? [];
4485
4217
  if (doctags.length === 0) return null;
4486
4218
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap items-center gap-1 py-1", children: doctags.map((dt) => /* @__PURE__ */ jsxRuntime.jsx(
4487
- chunkORKGCXG3_cjs.TagEntity,
4219
+ chunk7BDGLRQX_cjs.TagEntity,
4488
4220
  {
4489
4221
  size: "sm",
4490
4222
  tag: {
@@ -4563,12 +4295,12 @@ function DocumentCardMenu({
4563
4295
  canDelete = true,
4564
4296
  testId = "document-card-menu"
4565
4297
  }) {
4566
- const arbi = chunk7IOCMCC5_cjs.useArbi();
4298
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
4567
4299
  const queryClient = reactQuery.useQueryClient();
4568
4300
  const invalidateDocuments = () => {
4569
4301
  const workspaceId = arbi.getWorkspaceId();
4570
4302
  if (workspaceId) {
4571
- void queryClient.invalidateQueries({ queryKey: arbiQueryKeys.documents(workspaceId) });
4303
+ void queryClient.invalidateQueries({ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.documents(workspaceId) });
4572
4304
  }
4573
4305
  };
4574
4306
  const download = reactQuery.useMutation({
@@ -4590,8 +4322,8 @@ function DocumentCardMenu({
4590
4322
  mutationFn: () => arbi.documents.delete([docId]),
4591
4323
  onSuccess: invalidateDocuments
4592
4324
  });
4593
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkRZQACYNQ_cjs.DropdownMenu, { children: [
4594
- /* @__PURE__ */ jsxRuntime.jsx(chunkRZQACYNQ_cjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
4325
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkOBNTJEEO_cjs.DropdownMenu, { children: [
4326
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOBNTJEEO_cjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
4595
4327
  "button",
4596
4328
  {
4597
4329
  type: "button",
@@ -4602,17 +4334,17 @@ function DocumentCardMenu({
4602
4334
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.MoreHorizontal, { className: "size-4" })
4603
4335
  }
4604
4336
  ) }),
4605
- /* @__PURE__ */ jsxRuntime.jsxs(chunkRZQACYNQ_cjs.DropdownMenuContent, { align: "start", onClick: (e) => e.stopPropagation(), className: "w-44", children: [
4606
- onOpen && /* @__PURE__ */ jsxRuntime.jsxs(chunkRZQACYNQ_cjs.DropdownMenuItem, { onSelect: onOpen, "data-testid": `${testId}-open`, children: [
4337
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkOBNTJEEO_cjs.DropdownMenuContent, { align: "start", onClick: (e) => e.stopPropagation(), className: "w-44", children: [
4338
+ onOpen && /* @__PURE__ */ jsxRuntime.jsxs(chunkOBNTJEEO_cjs.DropdownMenuItem, { onSelect: onOpen, "data-testid": `${testId}-open`, children: [
4607
4339
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.SquarePen, { className: "mr-2 size-4" }),
4608
4340
  "Open"
4609
4341
  ] }),
4610
- onRename && /* @__PURE__ */ jsxRuntime.jsxs(chunkRZQACYNQ_cjs.DropdownMenuItem, { onSelect: onRename, "data-testid": `${testId}-rename`, children: [
4342
+ onRename && /* @__PURE__ */ jsxRuntime.jsxs(chunkOBNTJEEO_cjs.DropdownMenuItem, { onSelect: onRename, "data-testid": `${testId}-rename`, children: [
4611
4343
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Pencil, { className: "mr-2 size-4" }),
4612
4344
  "Rename"
4613
4345
  ] }),
4614
4346
  /* @__PURE__ */ jsxRuntime.jsxs(
4615
- chunkRZQACYNQ_cjs.DropdownMenuItem,
4347
+ chunkOBNTJEEO_cjs.DropdownMenuItem,
4616
4348
  {
4617
4349
  onSelect: () => download.mutate(),
4618
4350
  disabled: download.isPending,
@@ -4624,9 +4356,9 @@ function DocumentCardMenu({
4624
4356
  }
4625
4357
  ),
4626
4358
  canDelete && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4627
- /* @__PURE__ */ jsxRuntime.jsx(chunkRZQACYNQ_cjs.DropdownMenuSeparator, {}),
4359
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOBNTJEEO_cjs.DropdownMenuSeparator, {}),
4628
4360
  /* @__PURE__ */ jsxRuntime.jsxs(
4629
- chunkRZQACYNQ_cjs.DropdownMenuItem,
4361
+ chunkOBNTJEEO_cjs.DropdownMenuItem,
4630
4362
  {
4631
4363
  onSelect: () => remove.mutate(),
4632
4364
  disabled: remove.isPending,
@@ -4667,10 +4399,10 @@ function DocumentGallery({
4667
4399
  minTileWidth = 148,
4668
4400
  className
4669
4401
  }) {
4670
- const query = useDocuments(workspaceId, { enabled: !documents });
4402
+ const query = chunk2DXS7L7M_cjs.useDocuments(workspaceId, { enabled: !documents });
4671
4403
  const rows = documents ?? query.data ?? [];
4672
4404
  const isLoading = !documents && query.isLoading;
4673
- const tagsQuery = useTags(workspaceId);
4405
+ const tagsQuery = chunk2DXS7L7M_cjs.useTags(workspaceId);
4674
4406
  const tagNameById = React__default.default.useMemo(() => {
4675
4407
  const map = /* @__PURE__ */ new Map();
4676
4408
  for (const t of tagsQuery.data ?? []) {
@@ -4682,7 +4414,7 @@ function DocumentGallery({
4682
4414
  () => rows.map((d) => d.external_id).filter((id) => !!id),
4683
4415
  [rows]
4684
4416
  );
4685
- const thumbsQuery = useThumbnails(docIds);
4417
+ const thumbsQuery = chunk2DXS7L7M_cjs.useThumbnails(docIds);
4686
4418
  const thumbs = thumbsQuery.data ?? {};
4687
4419
  const storeSelected = useArbiUiStore((s) => s.selectedDocIds);
4688
4420
  const storeSetSelected = useArbiUiStore((s) => s.setSelectedDocIds);
@@ -4707,7 +4439,7 @@ function DocumentGallery({
4707
4439
  },
4708
4440
  [onOpenDocument, setViewingDocId]
4709
4441
  );
4710
- const arbi = chunk7IOCMCC5_cjs.useArbi();
4442
+ const arbi = chunkZMTLGO3K_cjs.useArbi();
4711
4443
  const queryClient = reactQuery.useQueryClient();
4712
4444
  const [renamingId, setRenamingId] = React__default.default.useState(null);
4713
4445
  const rename = reactQuery.useMutation({
@@ -4718,7 +4450,7 @@ function DocumentGallery({
4718
4450
  setRenamingId(null);
4719
4451
  const activeWorkspace = workspaceId ?? arbi.getWorkspaceId();
4720
4452
  if (activeWorkspace) {
4721
- void queryClient.invalidateQueries({ queryKey: arbiQueryKeys.documents(activeWorkspace) });
4453
+ void queryClient.invalidateQueries({ queryKey: chunk2DXS7L7M_cjs.arbiQueryKeys.documents(activeWorkspace) });
4722
4454
  }
4723
4455
  }
4724
4456
  });
@@ -4726,7 +4458,7 @@ function DocumentGallery({
4726
4458
  return /* @__PURE__ */ jsxRuntime.jsx(
4727
4459
  "div",
4728
4460
  {
4729
- className: chunkRZQACYNQ_cjs.cn(
4461
+ className: chunkS6A6FSG7_cjs.cn(
4730
4462
  "flex items-center justify-center p-8 text-sm text-muted-foreground",
4731
4463
  className
4732
4464
  ),
@@ -4738,7 +4470,7 @@ function DocumentGallery({
4738
4470
  return /* @__PURE__ */ jsxRuntime.jsx(
4739
4471
  "div",
4740
4472
  {
4741
- className: chunkRZQACYNQ_cjs.cn(
4473
+ className: chunkS6A6FSG7_cjs.cn(
4742
4474
  "flex items-center justify-center p-8 text-sm text-muted-foreground",
4743
4475
  className
4744
4476
  ),
@@ -4750,7 +4482,7 @@ function DocumentGallery({
4750
4482
  "div",
4751
4483
  {
4752
4484
  "data-testid": "document-gallery",
4753
- className: chunkRZQACYNQ_cjs.cn("grid gap-3", className),
4485
+ className: chunkS6A6FSG7_cjs.cn("grid gap-3", className),
4754
4486
  style: { gridTemplateColumns: `repeat(auto-fill, minmax(${minTileWidth}px, 1fr))` },
4755
4487
  children: rows.map((doc) => {
4756
4488
  const id = doc.external_id;
@@ -4760,7 +4492,7 @@ function DocumentGallery({
4760
4492
  (dt) => tagNameById.get(dt.tag_ext_id) ?? dt.tag_ext_id.slice(0, 8)
4761
4493
  );
4762
4494
  return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-doc-id": id, "data-testid": "document-gallery-card", children: /* @__PURE__ */ jsxRuntime.jsx(
4763
- chunkORKGCXG3_cjs.DocumentCard,
4495
+ chunk7BDGLRQX_cjs.DocumentCard,
4764
4496
  {
4765
4497
  doc,
4766
4498
  thumbnailUrl: thumbs[id],
@@ -4797,7 +4529,7 @@ function VoiceNoteRecorder({
4797
4529
  isSaving = false,
4798
4530
  transcribe
4799
4531
  }) {
4800
- const recorder = chunkORKGCXG3_cjs.useAudioRecorder();
4532
+ const recorder = chunk7BDGLRQX_cjs.useAudioRecorder();
4801
4533
  const [transcript, setTranscript] = React.useState(null);
4802
4534
  const [isTranscribing, setIsTranscribing] = React.useState(false);
4803
4535
  React.useEffect(() => {
@@ -4829,7 +4561,7 @@ function VoiceNoteRecorder({
4829
4561
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col items-center justify-center gap-6 p-8", children: [
4830
4562
  recorder.state === "idle" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4831
4563
  /* @__PURE__ */ jsxRuntime.jsx(
4832
- chunkORKGCXG3_cjs.Button,
4564
+ chunk7BDGLRQX_cjs.Button,
4833
4565
  {
4834
4566
  type: "button",
4835
4567
  size: "lg",
@@ -4843,7 +4575,7 @@ function VoiceNoteRecorder({
4843
4575
  ] }),
4844
4576
  (recorder.state === "recording" || recorder.state === "paused") && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4845
4577
  /* @__PURE__ */ jsxRuntime.jsx(
4846
- chunkORKGCXG3_cjs.MicWaveformIndicator,
4578
+ chunk7BDGLRQX_cjs.MicWaveformIndicator,
4847
4579
  {
4848
4580
  level: recorder.level,
4849
4581
  elapsedMs: recorder.elapsedMs,
@@ -4852,7 +4584,7 @@ function VoiceNoteRecorder({
4852
4584
  ),
4853
4585
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
4854
4586
  recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsxs(
4855
- chunkORKGCXG3_cjs.Button,
4587
+ chunk7BDGLRQX_cjs.Button,
4856
4588
  {
4857
4589
  type: "button",
4858
4590
  variant: "outline",
@@ -4864,7 +4596,7 @@ function VoiceNoteRecorder({
4864
4596
  ]
4865
4597
  }
4866
4598
  ) : /* @__PURE__ */ jsxRuntime.jsxs(
4867
- chunkORKGCXG3_cjs.Button,
4599
+ chunk7BDGLRQX_cjs.Button,
4868
4600
  {
4869
4601
  type: "button",
4870
4602
  variant: "outline",
@@ -4876,14 +4608,14 @@ function VoiceNoteRecorder({
4876
4608
  ]
4877
4609
  }
4878
4610
  ),
4879
- /* @__PURE__ */ jsxRuntime.jsxs(chunkORKGCXG3_cjs.Button, { type: "button", onClick: recorder.stop, "data-testid": "voice-note-stop-button", children: [
4611
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk7BDGLRQX_cjs.Button, { type: "button", onClick: recorder.stop, "data-testid": "voice-note-stop-button", children: [
4880
4612
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "mr-1.5 h-3.5 w-3.5 fill-current" }),
4881
4613
  "Stop"
4882
4614
  ] })
4883
4615
  ] })
4884
4616
  ] }),
4885
4617
  recorder.state === "stopped" && recorder.blob && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4886
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsxRuntime.jsx(chunk7IOCMCC5_cjs.AudioViewer, { blob: recorder.blob, title }) }),
4618
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsxRuntime.jsx(chunkTMPDW7J5_cjs.AudioViewer, { blob: recorder.blob, title }) }),
4887
4619
  (isTranscribing || transcript) && /* @__PURE__ */ jsxRuntime.jsx(
4888
4620
  "div",
4889
4621
  {
@@ -4900,7 +4632,7 @@ function VoiceNoteRecorder({
4900
4632
  ),
4901
4633
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
4902
4634
  /* @__PURE__ */ jsxRuntime.jsxs(
4903
- chunkORKGCXG3_cjs.Button,
4635
+ chunk7BDGLRQX_cjs.Button,
4904
4636
  {
4905
4637
  type: "button",
4906
4638
  variant: "outline",
@@ -4914,7 +4646,7 @@ function VoiceNoteRecorder({
4914
4646
  }
4915
4647
  ),
4916
4648
  /* @__PURE__ */ jsxRuntime.jsxs(
4917
- chunkORKGCXG3_cjs.Button,
4649
+ chunk7BDGLRQX_cjs.Button,
4918
4650
  {
4919
4651
  type: "button",
4920
4652
  variant: "outline",
@@ -4928,7 +4660,7 @@ function VoiceNoteRecorder({
4928
4660
  }
4929
4661
  ),
4930
4662
  /* @__PURE__ */ jsxRuntime.jsxs(
4931
- chunkORKGCXG3_cjs.Button,
4663
+ chunk7BDGLRQX_cjs.Button,
4932
4664
  {
4933
4665
  type: "button",
4934
4666
  onClick: handleSave,
@@ -4965,7 +4697,7 @@ function DraftTitleControls({
4965
4697
  }
4966
4698
  ),
4967
4699
  /* @__PURE__ */ jsxRuntime.jsx(
4968
- chunkORKGCXG3_cjs.IconToggle,
4700
+ chunk7BDGLRQX_cjs.IconToggle,
4969
4701
  {
4970
4702
  icon: lucideReact.Sparkles,
4971
4703
  isActive: autoRename,
@@ -4999,7 +4731,7 @@ function useCameraStream(constraints = { video: true, audio: false }) {
4999
4731
  streamRef.current = media;
5000
4732
  setStream(media);
5001
4733
  } catch (err) {
5002
- setError(chunkORKGCXG3_cjs.classifyMediaError(err, "camera"));
4734
+ setError(chunk7BDGLRQX_cjs.classifyMediaError(err, "camera"));
5003
4735
  } finally {
5004
4736
  setIsStarting(false);
5005
4737
  }
@@ -5130,7 +4862,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5130
4862
  }
5131
4863
  ) }),
5132
4864
  /* @__PURE__ */ jsxRuntime.jsx(
5133
- chunkORKGCXG3_cjs.Button,
4865
+ chunk7BDGLRQX_cjs.Button,
5134
4866
  {
5135
4867
  type: "button",
5136
4868
  size: "lg",
@@ -5145,10 +4877,10 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5145
4877
  captureError && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-red-text", children: captureError })
5146
4878
  ] }),
5147
4879
  capturedBlob && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5148
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsxRuntime.jsx(chunk7IOCMCC5_cjs.ImageViewer, { blob: capturedBlob, alt: "Captured photo" }) }),
4880
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsxRuntime.jsx(chunkTMPDW7J5_cjs.ImageViewer, { blob: capturedBlob, alt: "Captured photo" }) }),
5149
4881
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
5150
4882
  /* @__PURE__ */ jsxRuntime.jsxs(
5151
- chunkORKGCXG3_cjs.Button,
4883
+ chunk7BDGLRQX_cjs.Button,
5152
4884
  {
5153
4885
  type: "button",
5154
4886
  variant: "outline",
@@ -5162,7 +4894,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5162
4894
  }
5163
4895
  ),
5164
4896
  /* @__PURE__ */ jsxRuntime.jsxs(
5165
- chunkORKGCXG3_cjs.Button,
4897
+ chunk7BDGLRQX_cjs.Button,
5166
4898
  {
5167
4899
  type: "button",
5168
4900
  variant: "outline",
@@ -5176,7 +4908,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5176
4908
  }
5177
4909
  ),
5178
4910
  /* @__PURE__ */ jsxRuntime.jsxs(
5179
- chunkORKGCXG3_cjs.Button,
4911
+ chunk7BDGLRQX_cjs.Button,
5180
4912
  {
5181
4913
  type: "button",
5182
4914
  onClick: handleSave,
@@ -5235,10 +4967,10 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5235
4967
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative inline-flex h-2 w-2 rounded-full bg-red-500" })
5236
4968
  ] }),
5237
4969
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-semibold uppercase tracking-wide text-red-500", children: "Rec" }),
5238
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunkORKGCXG3_cjs.formatElapsed(recorder.elapsedMs) })
4970
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunk7BDGLRQX_cjs.formatElapsed(recorder.elapsedMs) })
5239
4971
  ] }),
5240
4972
  recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsx(
5241
- chunkORKGCXG3_cjs.Button,
4973
+ chunk7BDGLRQX_cjs.Button,
5242
4974
  {
5243
4975
  type: "button",
5244
4976
  size: "lg",
@@ -5248,7 +4980,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5248
4980
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-5 w-5 fill-current" })
5249
4981
  }
5250
4982
  ) : /* @__PURE__ */ jsxRuntime.jsx(
5251
- chunkORKGCXG3_cjs.Button,
4983
+ chunk7BDGLRQX_cjs.Button,
5252
4984
  {
5253
4985
  type: "button",
5254
4986
  size: "lg",
@@ -5262,10 +4994,10 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5262
4994
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: recorder.state === "recording" ? "Tap to stop recording" : camera.isStarting ? "Starting camera\u2026" : camera.stream ? "Tap to start recording" : "Waiting for camera access\u2026" })
5263
4995
  ] }),
5264
4996
  recorder.state === "stopped" && recorder.blob && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5265
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsxRuntime.jsx(chunk7IOCMCC5_cjs.VideoViewer, { blob: recorder.blob, title: "Captured video" }) }),
4997
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsxRuntime.jsx(chunkTMPDW7J5_cjs.VideoViewer, { blob: recorder.blob, title: "Captured video" }) }),
5266
4998
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
5267
4999
  /* @__PURE__ */ jsxRuntime.jsxs(
5268
- chunkORKGCXG3_cjs.Button,
5000
+ chunk7BDGLRQX_cjs.Button,
5269
5001
  {
5270
5002
  type: "button",
5271
5003
  variant: "outline",
@@ -5279,7 +5011,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5279
5011
  }
5280
5012
  ),
5281
5013
  /* @__PURE__ */ jsxRuntime.jsxs(
5282
- chunkORKGCXG3_cjs.Button,
5014
+ chunk7BDGLRQX_cjs.Button,
5283
5015
  {
5284
5016
  type: "button",
5285
5017
  variant: "outline",
@@ -5293,7 +5025,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
5293
5025
  }
5294
5026
  ),
5295
5027
  /* @__PURE__ */ jsxRuntime.jsxs(
5296
- chunkORKGCXG3_cjs.Button,
5028
+ chunk7BDGLRQX_cjs.Button,
5297
5029
  {
5298
5030
  type: "button",
5299
5031
  onClick: handleSave,
@@ -5334,673 +5066,773 @@ function hasVideoTrack(blob) {
5334
5066
  });
5335
5067
  }
5336
5068
 
5069
+ Object.defineProperty(exports, "DEFAULT_USD_PER_CREDIT", {
5070
+ enumerable: true,
5071
+ get: function () { return chunk2DXS7L7M_cjs.DEFAULT_USD_PER_CREDIT; }
5072
+ });
5073
+ Object.defineProperty(exports, "arbiQueryKeys", {
5074
+ enumerable: true,
5075
+ get: function () { return chunk2DXS7L7M_cjs.arbiQueryKeys; }
5076
+ });
5077
+ Object.defineProperty(exports, "creditsToUsd", {
5078
+ enumerable: true,
5079
+ get: function () { return chunk2DXS7L7M_cjs.creditsToUsd; }
5080
+ });
5081
+ Object.defineProperty(exports, "formatCredits", {
5082
+ enumerable: true,
5083
+ get: function () { return chunk2DXS7L7M_cjs.formatCredits; }
5084
+ });
5085
+ Object.defineProperty(exports, "isUsageMetered", {
5086
+ enumerable: true,
5087
+ get: function () { return chunk2DXS7L7M_cjs.isUsageMetered; }
5088
+ });
5089
+ Object.defineProperty(exports, "useActivity", {
5090
+ enumerable: true,
5091
+ get: function () { return chunk2DXS7L7M_cjs.useActivity; }
5092
+ });
5093
+ Object.defineProperty(exports, "useAgents", {
5094
+ enumerable: true,
5095
+ get: function () { return chunk2DXS7L7M_cjs.useAgents; }
5096
+ });
5097
+ Object.defineProperty(exports, "useAssistantQuery", {
5098
+ enumerable: true,
5099
+ get: function () { return chunk2DXS7L7M_cjs.useAssistantQuery; }
5100
+ });
5101
+ Object.defineProperty(exports, "useConfigs", {
5102
+ enumerable: true,
5103
+ get: function () { return chunk2DXS7L7M_cjs.useConfigs; }
5104
+ });
5105
+ Object.defineProperty(exports, "useConversations", {
5106
+ enumerable: true,
5107
+ get: function () { return chunk2DXS7L7M_cjs.useConversations; }
5108
+ });
5109
+ Object.defineProperty(exports, "useDeleteAgents", {
5110
+ enumerable: true,
5111
+ get: function () { return chunk2DXS7L7M_cjs.useDeleteAgents; }
5112
+ });
5113
+ Object.defineProperty(exports, "useDocuments", {
5114
+ enumerable: true,
5115
+ get: function () { return chunk2DXS7L7M_cjs.useDocuments; }
5116
+ });
5117
+ Object.defineProperty(exports, "useFacts", {
5118
+ enumerable: true,
5119
+ get: function () { return chunk2DXS7L7M_cjs.useFacts; }
5120
+ });
5121
+ Object.defineProperty(exports, "useHealth", {
5122
+ enumerable: true,
5123
+ get: function () { return chunk2DXS7L7M_cjs.useHealth; }
5124
+ });
5125
+ Object.defineProperty(exports, "useParsedDocument", {
5126
+ enumerable: true,
5127
+ get: function () { return chunk2DXS7L7M_cjs.useParsedDocument; }
5128
+ });
5129
+ Object.defineProperty(exports, "useProjectInvoices", {
5130
+ enumerable: true,
5131
+ get: function () { return chunk2DXS7L7M_cjs.useProjectInvoices; }
5132
+ });
5133
+ Object.defineProperty(exports, "useProjectUsage", {
5134
+ enumerable: true,
5135
+ get: function () { return chunk2DXS7L7M_cjs.useProjectUsage; }
5136
+ });
5137
+ Object.defineProperty(exports, "useProjects", {
5138
+ enumerable: true,
5139
+ get: function () { return chunk2DXS7L7M_cjs.useProjects; }
5140
+ });
5141
+ Object.defineProperty(exports, "useProjectsUsage", {
5142
+ enumerable: true,
5143
+ get: function () { return chunk2DXS7L7M_cjs.useProjectsUsage; }
5144
+ });
5145
+ Object.defineProperty(exports, "useSessions", {
5146
+ enumerable: true,
5147
+ get: function () { return chunk2DXS7L7M_cjs.useSessions; }
5148
+ });
5149
+ Object.defineProperty(exports, "useTags", {
5150
+ enumerable: true,
5151
+ get: function () { return chunk2DXS7L7M_cjs.useTags; }
5152
+ });
5153
+ Object.defineProperty(exports, "useTasks", {
5154
+ enumerable: true,
5155
+ get: function () { return chunk2DXS7L7M_cjs.useTasks; }
5156
+ });
5157
+ Object.defineProperty(exports, "useThumbnails", {
5158
+ enumerable: true,
5159
+ get: function () { return chunk2DXS7L7M_cjs.useThumbnails; }
5160
+ });
5161
+ Object.defineProperty(exports, "useUserUsageToday", {
5162
+ enumerable: true,
5163
+ get: function () { return chunk2DXS7L7M_cjs.useUserUsageToday; }
5164
+ });
5165
+ Object.defineProperty(exports, "useWorkspaces", {
5166
+ enumerable: true,
5167
+ get: function () { return chunk2DXS7L7M_cjs.useWorkspaces; }
5168
+ });
5337
5169
  Object.defineProperty(exports, "DEFAULT_NOTIFY_TONE", {
5338
5170
  enumerable: true,
5339
- get: function () { return chunkBXP6S34V_cjs.DEFAULT_NOTIFY_TONE; }
5171
+ get: function () { return chunkPGLV23SB_cjs.DEFAULT_NOTIFY_TONE; }
5340
5172
  });
5341
5173
  Object.defineProperty(exports, "NotificationBell", {
5342
5174
  enumerable: true,
5343
- get: function () { return chunkBXP6S34V_cjs.NotificationBell; }
5175
+ get: function () { return chunkPGLV23SB_cjs.NotificationBell; }
5344
5176
  });
5345
5177
  Object.defineProperty(exports, "Toaster", {
5346
5178
  enumerable: true,
5347
- get: function () { return chunkBXP6S34V_cjs.Toaster; }
5179
+ get: function () { return chunkPGLV23SB_cjs.Toaster; }
5348
5180
  });
5349
5181
  Object.defineProperty(exports, "formatRelativeTime", {
5350
5182
  enumerable: true,
5351
- get: function () { return chunkBXP6S34V_cjs.formatRelativeTime; }
5183
+ get: function () { return chunkPGLV23SB_cjs.formatRelativeTime; }
5352
5184
  });
5353
5185
  Object.defineProperty(exports, "notify", {
5354
5186
  enumerable: true,
5355
- get: function () { return chunkBXP6S34V_cjs.notify; }
5187
+ get: function () { return chunkPGLV23SB_cjs.notify; }
5356
5188
  });
5357
5189
  Object.defineProperty(exports, "seedNotifications", {
5358
5190
  enumerable: true,
5359
- get: function () { return chunkBXP6S34V_cjs.seedNotifications; }
5191
+ get: function () { return chunkPGLV23SB_cjs.seedNotifications; }
5360
5192
  });
5361
5193
  Object.defineProperty(exports, "selectUnread", {
5362
5194
  enumerable: true,
5363
- get: function () { return chunkBXP6S34V_cjs.selectUnread; }
5195
+ get: function () { return chunkPGLV23SB_cjs.selectUnread; }
5364
5196
  });
5365
5197
  Object.defineProperty(exports, "toast", {
5366
5198
  enumerable: true,
5367
- get: function () { return chunkBXP6S34V_cjs.toast; }
5199
+ get: function () { return chunkPGLV23SB_cjs.toast; }
5368
5200
  });
5369
5201
  Object.defineProperty(exports, "useNotify", {
5370
5202
  enumerable: true,
5371
- get: function () { return chunkBXP6S34V_cjs.useNotify; }
5203
+ get: function () { return chunkPGLV23SB_cjs.useNotify; }
5372
5204
  });
5373
5205
  Object.defineProperty(exports, "AgentBadge", {
5374
5206
  enumerable: true,
5375
- get: function () { return chunkORKGCXG3_cjs.AgentBadge; }
5207
+ get: function () { return chunk7BDGLRQX_cjs.AgentBadge; }
5376
5208
  });
5377
5209
  Object.defineProperty(exports, "AiMarkdown", {
5378
5210
  enumerable: true,
5379
- get: function () { return chunkORKGCXG3_cjs.AiMarkdown; }
5211
+ get: function () { return chunk7BDGLRQX_cjs.AiMarkdown; }
5380
5212
  });
5381
5213
  Object.defineProperty(exports, "ArbiBotHeadIcon", {
5382
5214
  enumerable: true,
5383
- get: function () { return chunkORKGCXG3_cjs.ArbiBotHeadIcon; }
5215
+ get: function () { return chunk7BDGLRQX_cjs.ArbiBotHeadIcon; }
5384
5216
  });
5385
5217
  Object.defineProperty(exports, "AudIcon", {
5386
5218
  enumerable: true,
5387
- get: function () { return chunkORKGCXG3_cjs.AudIcon; }
5219
+ get: function () { return chunk7BDGLRQX_cjs.AudIcon; }
5388
5220
  });
5389
5221
  Object.defineProperty(exports, "Avatar", {
5390
5222
  enumerable: true,
5391
- get: function () { return chunkORKGCXG3_cjs.Avatar; }
5223
+ get: function () { return chunk7BDGLRQX_cjs.Avatar; }
5392
5224
  });
5393
5225
  Object.defineProperty(exports, "AvatarFallback", {
5394
5226
  enumerable: true,
5395
- get: function () { return chunkORKGCXG3_cjs.AvatarFallback; }
5227
+ get: function () { return chunk7BDGLRQX_cjs.AvatarFallback; }
5396
5228
  });
5397
5229
  Object.defineProperty(exports, "AvatarImage", {
5398
5230
  enumerable: true,
5399
- get: function () { return chunkORKGCXG3_cjs.AvatarImage; }
5231
+ get: function () { return chunk7BDGLRQX_cjs.AvatarImage; }
5400
5232
  });
5401
5233
  Object.defineProperty(exports, "BASE_COLORS", {
5402
5234
  enumerable: true,
5403
- get: function () { return chunkORKGCXG3_cjs.BASE_COLORS; }
5235
+ get: function () { return chunk7BDGLRQX_cjs.BASE_COLORS; }
5404
5236
  });
5405
5237
  Object.defineProperty(exports, "Badge", {
5406
5238
  enumerable: true,
5407
- get: function () { return chunkORKGCXG3_cjs.Badge; }
5239
+ get: function () { return chunk7BDGLRQX_cjs.Badge; }
5408
5240
  });
5409
5241
  Object.defineProperty(exports, "Button", {
5410
5242
  enumerable: true,
5411
- get: function () { return chunkORKGCXG3_cjs.Button; }
5243
+ get: function () { return chunk7BDGLRQX_cjs.Button; }
5412
5244
  });
5413
5245
  Object.defineProperty(exports, "Card", {
5414
5246
  enumerable: true,
5415
- get: function () { return chunkORKGCXG3_cjs.Card; }
5247
+ get: function () { return chunk7BDGLRQX_cjs.Card; }
5416
5248
  });
5417
5249
  Object.defineProperty(exports, "CardContent", {
5418
5250
  enumerable: true,
5419
- get: function () { return chunkORKGCXG3_cjs.CardContent; }
5251
+ get: function () { return chunk7BDGLRQX_cjs.CardContent; }
5420
5252
  });
5421
5253
  Object.defineProperty(exports, "CardDescription", {
5422
5254
  enumerable: true,
5423
- get: function () { return chunkORKGCXG3_cjs.CardDescription; }
5255
+ get: function () { return chunk7BDGLRQX_cjs.CardDescription; }
5424
5256
  });
5425
5257
  Object.defineProperty(exports, "CardFooter", {
5426
5258
  enumerable: true,
5427
- get: function () { return chunkORKGCXG3_cjs.CardFooter; }
5259
+ get: function () { return chunk7BDGLRQX_cjs.CardFooter; }
5428
5260
  });
5429
5261
  Object.defineProperty(exports, "CardHeader", {
5430
5262
  enumerable: true,
5431
- get: function () { return chunkORKGCXG3_cjs.CardHeader; }
5263
+ get: function () { return chunk7BDGLRQX_cjs.CardHeader; }
5432
5264
  });
5433
5265
  Object.defineProperty(exports, "CardTitle", {
5434
5266
  enumerable: true,
5435
- get: function () { return chunkORKGCXG3_cjs.CardTitle; }
5267
+ get: function () { return chunk7BDGLRQX_cjs.CardTitle; }
5436
5268
  });
5437
5269
  Object.defineProperty(exports, "Checkbox", {
5438
5270
  enumerable: true,
5439
- get: function () { return chunkORKGCXG3_cjs.Checkbox; }
5271
+ get: function () { return chunk7BDGLRQX_cjs.Checkbox; }
5440
5272
  });
5441
5273
  Object.defineProperty(exports, "Collapsible", {
5442
5274
  enumerable: true,
5443
- get: function () { return chunkORKGCXG3_cjs.Collapsible; }
5275
+ get: function () { return chunk7BDGLRQX_cjs.Collapsible; }
5444
5276
  });
5445
5277
  Object.defineProperty(exports, "CollapsibleContent", {
5446
5278
  enumerable: true,
5447
- get: function () { return chunkORKGCXG3_cjs.CollapsibleContent; }
5279
+ get: function () { return chunk7BDGLRQX_cjs.CollapsibleContent; }
5448
5280
  });
5449
5281
  Object.defineProperty(exports, "CollapsibleTrigger", {
5450
5282
  enumerable: true,
5451
- get: function () { return chunkORKGCXG3_cjs.CollapsibleTrigger; }
5283
+ get: function () { return chunk7BDGLRQX_cjs.CollapsibleTrigger; }
5452
5284
  });
5453
5285
  Object.defineProperty(exports, "Command", {
5454
5286
  enumerable: true,
5455
- get: function () { return chunkORKGCXG3_cjs.Command; }
5287
+ get: function () { return chunk7BDGLRQX_cjs.Command; }
5456
5288
  });
5457
5289
  Object.defineProperty(exports, "CommandDialog", {
5458
5290
  enumerable: true,
5459
- get: function () { return chunkORKGCXG3_cjs.CommandDialog; }
5291
+ get: function () { return chunk7BDGLRQX_cjs.CommandDialog; }
5460
5292
  });
5461
5293
  Object.defineProperty(exports, "CommandEmpty", {
5462
5294
  enumerable: true,
5463
- get: function () { return chunkORKGCXG3_cjs.CommandEmpty; }
5295
+ get: function () { return chunk7BDGLRQX_cjs.CommandEmpty; }
5464
5296
  });
5465
5297
  Object.defineProperty(exports, "CommandGroup", {
5466
5298
  enumerable: true,
5467
- get: function () { return chunkORKGCXG3_cjs.CommandGroup; }
5299
+ get: function () { return chunk7BDGLRQX_cjs.CommandGroup; }
5468
5300
  });
5469
5301
  Object.defineProperty(exports, "CommandInput", {
5470
5302
  enumerable: true,
5471
- get: function () { return chunkORKGCXG3_cjs.CommandInput; }
5303
+ get: function () { return chunk7BDGLRQX_cjs.CommandInput; }
5472
5304
  });
5473
5305
  Object.defineProperty(exports, "CommandItem", {
5474
5306
  enumerable: true,
5475
- get: function () { return chunkORKGCXG3_cjs.CommandItem; }
5307
+ get: function () { return chunk7BDGLRQX_cjs.CommandItem; }
5476
5308
  });
5477
5309
  Object.defineProperty(exports, "CommandList", {
5478
5310
  enumerable: true,
5479
- get: function () { return chunkORKGCXG3_cjs.CommandList; }
5311
+ get: function () { return chunk7BDGLRQX_cjs.CommandList; }
5480
5312
  });
5481
5313
  Object.defineProperty(exports, "CommandSeparator", {
5482
5314
  enumerable: true,
5483
- get: function () { return chunkORKGCXG3_cjs.CommandSeparator; }
5315
+ get: function () { return chunk7BDGLRQX_cjs.CommandSeparator; }
5484
5316
  });
5485
5317
  Object.defineProperty(exports, "CommandShortcut", {
5486
5318
  enumerable: true,
5487
- get: function () { return chunkORKGCXG3_cjs.CommandShortcut; }
5319
+ get: function () { return chunk7BDGLRQX_cjs.CommandShortcut; }
5488
5320
  });
5489
5321
  Object.defineProperty(exports, "Dialog", {
5490
5322
  enumerable: true,
5491
- get: function () { return chunkORKGCXG3_cjs.Dialog; }
5323
+ get: function () { return chunk7BDGLRQX_cjs.Dialog; }
5492
5324
  });
5493
5325
  Object.defineProperty(exports, "DialogClose", {
5494
5326
  enumerable: true,
5495
- get: function () { return chunkORKGCXG3_cjs.DialogClose; }
5327
+ get: function () { return chunk7BDGLRQX_cjs.DialogClose; }
5496
5328
  });
5497
5329
  Object.defineProperty(exports, "DialogContent", {
5498
5330
  enumerable: true,
5499
- get: function () { return chunkORKGCXG3_cjs.DialogContent; }
5331
+ get: function () { return chunk7BDGLRQX_cjs.DialogContent; }
5500
5332
  });
5501
5333
  Object.defineProperty(exports, "DialogDescription", {
5502
5334
  enumerable: true,
5503
- get: function () { return chunkORKGCXG3_cjs.DialogDescription; }
5335
+ get: function () { return chunk7BDGLRQX_cjs.DialogDescription; }
5504
5336
  });
5505
5337
  Object.defineProperty(exports, "DialogFooter", {
5506
5338
  enumerable: true,
5507
- get: function () { return chunkORKGCXG3_cjs.DialogFooter; }
5339
+ get: function () { return chunk7BDGLRQX_cjs.DialogFooter; }
5508
5340
  });
5509
5341
  Object.defineProperty(exports, "DialogHeader", {
5510
5342
  enumerable: true,
5511
- get: function () { return chunkORKGCXG3_cjs.DialogHeader; }
5343
+ get: function () { return chunk7BDGLRQX_cjs.DialogHeader; }
5512
5344
  });
5513
5345
  Object.defineProperty(exports, "DialogOverlay", {
5514
5346
  enumerable: true,
5515
- get: function () { return chunkORKGCXG3_cjs.DialogOverlay; }
5347
+ get: function () { return chunk7BDGLRQX_cjs.DialogOverlay; }
5516
5348
  });
5517
5349
  Object.defineProperty(exports, "DialogPortal", {
5518
5350
  enumerable: true,
5519
- get: function () { return chunkORKGCXG3_cjs.DialogPortal; }
5351
+ get: function () { return chunk7BDGLRQX_cjs.DialogPortal; }
5520
5352
  });
5521
5353
  Object.defineProperty(exports, "DialogTitle", {
5522
5354
  enumerable: true,
5523
- get: function () { return chunkORKGCXG3_cjs.DialogTitle; }
5355
+ get: function () { return chunk7BDGLRQX_cjs.DialogTitle; }
5524
5356
  });
5525
5357
  Object.defineProperty(exports, "DialogTrigger", {
5526
5358
  enumerable: true,
5527
- get: function () { return chunkORKGCXG3_cjs.DialogTrigger; }
5359
+ get: function () { return chunk7BDGLRQX_cjs.DialogTrigger; }
5528
5360
  });
5529
5361
  Object.defineProperty(exports, "DictateProvider", {
5530
5362
  enumerable: true,
5531
- get: function () { return chunkORKGCXG3_cjs.DictateProvider; }
5363
+ get: function () { return chunk7BDGLRQX_cjs.DictateProvider; }
5532
5364
  });
5533
5365
  Object.defineProperty(exports, "DocumentCard", {
5534
5366
  enumerable: true,
5535
- get: function () { return chunkORKGCXG3_cjs.DocumentCard; }
5367
+ get: function () { return chunk7BDGLRQX_cjs.DocumentCard; }
5536
5368
  });
5537
5369
  Object.defineProperty(exports, "DocumentEntity", {
5538
5370
  enumerable: true,
5539
- get: function () { return chunkORKGCXG3_cjs.DocumentEntity; }
5371
+ get: function () { return chunk7BDGLRQX_cjs.DocumentEntity; }
5540
5372
  });
5541
5373
  Object.defineProperty(exports, "ENTITY_MAPPINGS", {
5542
5374
  enumerable: true,
5543
- get: function () { return chunkORKGCXG3_cjs.ENTITY_MAPPINGS; }
5375
+ get: function () { return chunk7BDGLRQX_cjs.ENTITY_MAPPINGS; }
5544
5376
  });
5545
5377
  Object.defineProperty(exports, "EmlIcon", {
5546
5378
  enumerable: true,
5547
- get: function () { return chunkORKGCXG3_cjs.EmlIcon; }
5379
+ get: function () { return chunk7BDGLRQX_cjs.EmlIcon; }
5548
5380
  });
5549
5381
  Object.defineProperty(exports, "EntityIcon", {
5550
5382
  enumerable: true,
5551
- get: function () { return chunkORKGCXG3_cjs.EntityIcon; }
5383
+ get: function () { return chunk7BDGLRQX_cjs.EntityIcon; }
5552
5384
  });
5553
5385
  Object.defineProperty(exports, "EntityPill", {
5554
5386
  enumerable: true,
5555
- get: function () { return chunkORKGCXG3_cjs.EntityPill; }
5387
+ get: function () { return chunk7BDGLRQX_cjs.EntityPill; }
5556
5388
  });
5557
5389
  Object.defineProperty(exports, "FILE_TYPE_COLORS", {
5558
5390
  enumerable: true,
5559
- get: function () { return chunkORKGCXG3_cjs.FILE_TYPE_COLORS; }
5391
+ get: function () { return chunk7BDGLRQX_cjs.FILE_TYPE_COLORS; }
5560
5392
  });
5561
5393
  Object.defineProperty(exports, "HoverCard", {
5562
5394
  enumerable: true,
5563
- get: function () { return chunkORKGCXG3_cjs.HoverCard; }
5395
+ get: function () { return chunk7BDGLRQX_cjs.HoverCard; }
5564
5396
  });
5565
5397
  Object.defineProperty(exports, "HoverCardContent", {
5566
5398
  enumerable: true,
5567
- get: function () { return chunkORKGCXG3_cjs.HoverCardContent; }
5399
+ get: function () { return chunk7BDGLRQX_cjs.HoverCardContent; }
5568
5400
  });
5569
5401
  Object.defineProperty(exports, "HoverCardTrigger", {
5570
5402
  enumerable: true,
5571
- get: function () { return chunkORKGCXG3_cjs.HoverCardTrigger; }
5403
+ get: function () { return chunk7BDGLRQX_cjs.HoverCardTrigger; }
5572
5404
  });
5573
5405
  Object.defineProperty(exports, "IconToggle", {
5574
5406
  enumerable: true,
5575
- get: function () { return chunkORKGCXG3_cjs.IconToggle; }
5407
+ get: function () { return chunk7BDGLRQX_cjs.IconToggle; }
5576
5408
  });
5577
5409
  Object.defineProperty(exports, "ImgIcon", {
5578
5410
  enumerable: true,
5579
- get: function () { return chunkORKGCXG3_cjs.ImgIcon; }
5411
+ get: function () { return chunk7BDGLRQX_cjs.ImgIcon; }
5580
5412
  });
5581
5413
  Object.defineProperty(exports, "InlineMicButton", {
5582
5414
  enumerable: true,
5583
- get: function () { return chunkORKGCXG3_cjs.InlineMicButton; }
5415
+ get: function () { return chunk7BDGLRQX_cjs.InlineMicButton; }
5584
5416
  });
5585
5417
  Object.defineProperty(exports, "Input", {
5586
5418
  enumerable: true,
5587
- get: function () { return chunkORKGCXG3_cjs.Input; }
5419
+ get: function () { return chunk7BDGLRQX_cjs.Input; }
5588
5420
  });
5589
5421
  Object.defineProperty(exports, "Label", {
5590
5422
  enumerable: true,
5591
- get: function () { return chunkORKGCXG3_cjs.Label; }
5423
+ get: function () { return chunk7BDGLRQX_cjs.Label; }
5592
5424
  });
5593
5425
  Object.defineProperty(exports, "MarkMenu", {
5594
5426
  enumerable: true,
5595
- get: function () { return chunkORKGCXG3_cjs.MarkMenu; }
5596
- });
5597
- Object.defineProperty(exports, "MarkdownRenderer", {
5598
- enumerable: true,
5599
- get: function () { return chunkORKGCXG3_cjs.MarkdownRenderer; }
5600
- });
5601
- Object.defineProperty(exports, "MarkdownStreamingContext", {
5602
- enumerable: true,
5603
- get: function () { return chunkORKGCXG3_cjs.MarkdownStreamingContext; }
5427
+ get: function () { return chunk7BDGLRQX_cjs.MarkMenu; }
5604
5428
  });
5605
5429
  Object.defineProperty(exports, "MicRecordingOverlay", {
5606
5430
  enumerable: true,
5607
- get: function () { return chunkORKGCXG3_cjs.MicRecordingOverlay; }
5431
+ get: function () { return chunk7BDGLRQX_cjs.MicRecordingOverlay; }
5608
5432
  });
5609
5433
  Object.defineProperty(exports, "MicWaveformIndicator", {
5610
5434
  enumerable: true,
5611
- get: function () { return chunkORKGCXG3_cjs.MicWaveformIndicator; }
5435
+ get: function () { return chunk7BDGLRQX_cjs.MicWaveformIndicator; }
5612
5436
  });
5613
5437
  Object.defineProperty(exports, "NEUTRAL_GRAY", {
5614
5438
  enumerable: true,
5615
- get: function () { return chunkORKGCXG3_cjs.NEUTRAL_GRAY; }
5439
+ get: function () { return chunk7BDGLRQX_cjs.NEUTRAL_GRAY; }
5616
5440
  });
5617
5441
  Object.defineProperty(exports, "PLACEHOLDER_COLOR", {
5618
5442
  enumerable: true,
5619
- get: function () { return chunkORKGCXG3_cjs.PLACEHOLDER_COLOR; }
5443
+ get: function () { return chunk7BDGLRQX_cjs.PLACEHOLDER_COLOR; }
5620
5444
  });
5621
5445
  Object.defineProperty(exports, "PassageCard", {
5622
5446
  enumerable: true,
5623
- get: function () { return chunkORKGCXG3_cjs.PassageCard; }
5447
+ get: function () { return chunk7BDGLRQX_cjs.PassageCard; }
5624
5448
  });
5625
5449
  Object.defineProperty(exports, "PdfIcon", {
5626
5450
  enumerable: true,
5627
- get: function () { return chunkORKGCXG3_cjs.PdfIcon; }
5451
+ get: function () { return chunk7BDGLRQX_cjs.PdfIcon; }
5628
5452
  });
5629
5453
  Object.defineProperty(exports, "Popover", {
5630
5454
  enumerable: true,
5631
- get: function () { return chunkORKGCXG3_cjs.Popover; }
5455
+ get: function () { return chunk7BDGLRQX_cjs.Popover; }
5632
5456
  });
5633
5457
  Object.defineProperty(exports, "PopoverAnchor", {
5634
5458
  enumerable: true,
5635
- get: function () { return chunkORKGCXG3_cjs.PopoverAnchor; }
5459
+ get: function () { return chunk7BDGLRQX_cjs.PopoverAnchor; }
5636
5460
  });
5637
5461
  Object.defineProperty(exports, "PopoverContent", {
5638
5462
  enumerable: true,
5639
- get: function () { return chunkORKGCXG3_cjs.PopoverContent; }
5463
+ get: function () { return chunk7BDGLRQX_cjs.PopoverContent; }
5640
5464
  });
5641
5465
  Object.defineProperty(exports, "PopoverTrigger", {
5642
5466
  enumerable: true,
5643
- get: function () { return chunkORKGCXG3_cjs.PopoverTrigger; }
5467
+ get: function () { return chunk7BDGLRQX_cjs.PopoverTrigger; }
5644
5468
  });
5645
5469
  Object.defineProperty(exports, "PresenceLabel", {
5646
5470
  enumerable: true,
5647
- get: function () { return chunkORKGCXG3_cjs.PresenceLabel; }
5471
+ get: function () { return chunk7BDGLRQX_cjs.PresenceLabel; }
5648
5472
  });
5649
5473
  Object.defineProperty(exports, "Progress", {
5650
5474
  enumerable: true,
5651
- get: function () { return chunkORKGCXG3_cjs.Progress; }
5475
+ get: function () { return chunk7BDGLRQX_cjs.Progress; }
5652
5476
  });
5653
5477
  Object.defineProperty(exports, "ProjectEntity", {
5654
5478
  enumerable: true,
5655
- get: function () { return chunkORKGCXG3_cjs.ProjectEntity; }
5479
+ get: function () { return chunk7BDGLRQX_cjs.ProjectEntity; }
5656
5480
  });
5657
5481
  Object.defineProperty(exports, "RadioGroup", {
5658
5482
  enumerable: true,
5659
- get: function () { return chunkORKGCXG3_cjs.RadioGroup; }
5483
+ get: function () { return chunk7BDGLRQX_cjs.RadioGroup; }
5660
5484
  });
5661
5485
  Object.defineProperty(exports, "RadioGroupItem", {
5662
5486
  enumerable: true,
5663
- get: function () { return chunkORKGCXG3_cjs.RadioGroupItem; }
5487
+ get: function () { return chunk7BDGLRQX_cjs.RadioGroupItem; }
5664
5488
  });
5665
5489
  Object.defineProperty(exports, "RagDot", {
5666
5490
  enumerable: true,
5667
- get: function () { return chunkORKGCXG3_cjs.RagDot; }
5491
+ get: function () { return chunk7BDGLRQX_cjs.RagDot; }
5668
5492
  });
5669
5493
  Object.defineProperty(exports, "RelevanceDot", {
5670
5494
  enumerable: true,
5671
- get: function () { return chunkORKGCXG3_cjs.RelevanceDot; }
5495
+ get: function () { return chunk7BDGLRQX_cjs.RelevanceDot; }
5672
5496
  });
5673
5497
  Object.defineProperty(exports, "Select", {
5674
5498
  enumerable: true,
5675
- get: function () { return chunkORKGCXG3_cjs.Select; }
5499
+ get: function () { return chunk7BDGLRQX_cjs.Select; }
5676
5500
  });
5677
5501
  Object.defineProperty(exports, "SelectContent", {
5678
5502
  enumerable: true,
5679
- get: function () { return chunkORKGCXG3_cjs.SelectContent; }
5503
+ get: function () { return chunk7BDGLRQX_cjs.SelectContent; }
5680
5504
  });
5681
5505
  Object.defineProperty(exports, "SelectGroup", {
5682
5506
  enumerable: true,
5683
- get: function () { return chunkORKGCXG3_cjs.SelectGroup; }
5507
+ get: function () { return chunk7BDGLRQX_cjs.SelectGroup; }
5684
5508
  });
5685
5509
  Object.defineProperty(exports, "SelectItem", {
5686
5510
  enumerable: true,
5687
- get: function () { return chunkORKGCXG3_cjs.SelectItem; }
5511
+ get: function () { return chunk7BDGLRQX_cjs.SelectItem; }
5688
5512
  });
5689
5513
  Object.defineProperty(exports, "SelectLabel", {
5690
5514
  enumerable: true,
5691
- get: function () { return chunkORKGCXG3_cjs.SelectLabel; }
5515
+ get: function () { return chunk7BDGLRQX_cjs.SelectLabel; }
5692
5516
  });
5693
5517
  Object.defineProperty(exports, "SelectScrollDownButton", {
5694
5518
  enumerable: true,
5695
- get: function () { return chunkORKGCXG3_cjs.SelectScrollDownButton; }
5519
+ get: function () { return chunk7BDGLRQX_cjs.SelectScrollDownButton; }
5696
5520
  });
5697
5521
  Object.defineProperty(exports, "SelectScrollUpButton", {
5698
5522
  enumerable: true,
5699
- get: function () { return chunkORKGCXG3_cjs.SelectScrollUpButton; }
5523
+ get: function () { return chunk7BDGLRQX_cjs.SelectScrollUpButton; }
5700
5524
  });
5701
5525
  Object.defineProperty(exports, "SelectSeparator", {
5702
5526
  enumerable: true,
5703
- get: function () { return chunkORKGCXG3_cjs.SelectSeparator; }
5527
+ get: function () { return chunk7BDGLRQX_cjs.SelectSeparator; }
5704
5528
  });
5705
5529
  Object.defineProperty(exports, "SelectTrigger", {
5706
5530
  enumerable: true,
5707
- get: function () { return chunkORKGCXG3_cjs.SelectTrigger; }
5531
+ get: function () { return chunk7BDGLRQX_cjs.SelectTrigger; }
5708
5532
  });
5709
5533
  Object.defineProperty(exports, "SelectValue", {
5710
5534
  enumerable: true,
5711
- get: function () { return chunkORKGCXG3_cjs.SelectValue; }
5535
+ get: function () { return chunk7BDGLRQX_cjs.SelectValue; }
5712
5536
  });
5713
5537
  Object.defineProperty(exports, "Separator", {
5714
5538
  enumerable: true,
5715
- get: function () { return chunkORKGCXG3_cjs.Separator; }
5539
+ get: function () { return chunk7BDGLRQX_cjs.Separator; }
5716
5540
  });
5717
5541
  Object.defineProperty(exports, "Slider", {
5718
5542
  enumerable: true,
5719
- get: function () { return chunkORKGCXG3_cjs.Slider; }
5543
+ get: function () { return chunk7BDGLRQX_cjs.Slider; }
5720
5544
  });
5721
5545
  Object.defineProperty(exports, "StatusPill", {
5722
5546
  enumerable: true,
5723
- get: function () { return chunkORKGCXG3_cjs.StatusPill; }
5547
+ get: function () { return chunk7BDGLRQX_cjs.StatusPill; }
5724
5548
  });
5725
5549
  Object.defineProperty(exports, "Switch", {
5726
5550
  enumerable: true,
5727
- get: function () { return chunkORKGCXG3_cjs.Switch; }
5551
+ get: function () { return chunk7BDGLRQX_cjs.Switch; }
5728
5552
  });
5729
5553
  Object.defineProperty(exports, "TAG_TYPE_ICONS", {
5730
5554
  enumerable: true,
5731
- get: function () { return chunkORKGCXG3_cjs.TAG_TYPE_ICONS; }
5555
+ get: function () { return chunk7BDGLRQX_cjs.TAG_TYPE_ICONS; }
5732
5556
  });
5733
5557
  Object.defineProperty(exports, "TAG_TYPE_LABELS", {
5734
5558
  enumerable: true,
5735
- get: function () { return chunkORKGCXG3_cjs.TAG_TYPE_LABELS; }
5559
+ get: function () { return chunk7BDGLRQX_cjs.TAG_TYPE_LABELS; }
5736
5560
  });
5737
5561
  Object.defineProperty(exports, "Table", {
5738
5562
  enumerable: true,
5739
- get: function () { return chunkORKGCXG3_cjs.Table; }
5563
+ get: function () { return chunk7BDGLRQX_cjs.Table; }
5740
5564
  });
5741
5565
  Object.defineProperty(exports, "TableBody", {
5742
5566
  enumerable: true,
5743
- get: function () { return chunkORKGCXG3_cjs.TableBody; }
5567
+ get: function () { return chunk7BDGLRQX_cjs.TableBody; }
5744
5568
  });
5745
5569
  Object.defineProperty(exports, "TableCaption", {
5746
5570
  enumerable: true,
5747
- get: function () { return chunkORKGCXG3_cjs.TableCaption; }
5571
+ get: function () { return chunk7BDGLRQX_cjs.TableCaption; }
5748
5572
  });
5749
5573
  Object.defineProperty(exports, "TableCell", {
5750
5574
  enumerable: true,
5751
- get: function () { return chunkORKGCXG3_cjs.TableCell; }
5575
+ get: function () { return chunk7BDGLRQX_cjs.TableCell; }
5752
5576
  });
5753
5577
  Object.defineProperty(exports, "TableFooter", {
5754
5578
  enumerable: true,
5755
- get: function () { return chunkORKGCXG3_cjs.TableFooter; }
5579
+ get: function () { return chunk7BDGLRQX_cjs.TableFooter; }
5756
5580
  });
5757
5581
  Object.defineProperty(exports, "TableHead", {
5758
5582
  enumerable: true,
5759
- get: function () { return chunkORKGCXG3_cjs.TableHead; }
5583
+ get: function () { return chunk7BDGLRQX_cjs.TableHead; }
5760
5584
  });
5761
5585
  Object.defineProperty(exports, "TableHeader", {
5762
5586
  enumerable: true,
5763
- get: function () { return chunkORKGCXG3_cjs.TableHeader; }
5587
+ get: function () { return chunk7BDGLRQX_cjs.TableHeader; }
5764
5588
  });
5765
5589
  Object.defineProperty(exports, "TableRow", {
5766
5590
  enumerable: true,
5767
- get: function () { return chunkORKGCXG3_cjs.TableRow; }
5591
+ get: function () { return chunk7BDGLRQX_cjs.TableRow; }
5768
5592
  });
5769
5593
  Object.defineProperty(exports, "Tabs", {
5770
5594
  enumerable: true,
5771
- get: function () { return chunkORKGCXG3_cjs.Tabs; }
5595
+ get: function () { return chunk7BDGLRQX_cjs.Tabs; }
5772
5596
  });
5773
5597
  Object.defineProperty(exports, "TabsContent", {
5774
5598
  enumerable: true,
5775
- get: function () { return chunkORKGCXG3_cjs.TabsContent; }
5599
+ get: function () { return chunk7BDGLRQX_cjs.TabsContent; }
5776
5600
  });
5777
5601
  Object.defineProperty(exports, "TabsList", {
5778
5602
  enumerable: true,
5779
- get: function () { return chunkORKGCXG3_cjs.TabsList; }
5603
+ get: function () { return chunk7BDGLRQX_cjs.TabsList; }
5780
5604
  });
5781
5605
  Object.defineProperty(exports, "TabsTrigger", {
5782
5606
  enumerable: true,
5783
- get: function () { return chunkORKGCXG3_cjs.TabsTrigger; }
5607
+ get: function () { return chunk7BDGLRQX_cjs.TabsTrigger; }
5784
5608
  });
5785
5609
  Object.defineProperty(exports, "TagEntity", {
5786
5610
  enumerable: true,
5787
- get: function () { return chunkORKGCXG3_cjs.TagEntity; }
5611
+ get: function () { return chunk7BDGLRQX_cjs.TagEntity; }
5788
5612
  });
5789
5613
  Object.defineProperty(exports, "Textarea", {
5790
5614
  enumerable: true,
5791
- get: function () { return chunkORKGCXG3_cjs.Textarea; }
5615
+ get: function () { return chunk7BDGLRQX_cjs.Textarea; }
5792
5616
  });
5793
5617
  Object.defineProperty(exports, "Toggle", {
5794
5618
  enumerable: true,
5795
- get: function () { return chunkORKGCXG3_cjs.Toggle; }
5619
+ get: function () { return chunk7BDGLRQX_cjs.Toggle; }
5796
5620
  });
5797
5621
  Object.defineProperty(exports, "ToggleGroup", {
5798
5622
  enumerable: true,
5799
- get: function () { return chunkORKGCXG3_cjs.ToggleGroup; }
5623
+ get: function () { return chunk7BDGLRQX_cjs.ToggleGroup; }
5800
5624
  });
5801
5625
  Object.defineProperty(exports, "ToggleGroupItem", {
5802
5626
  enumerable: true,
5803
- get: function () { return chunkORKGCXG3_cjs.ToggleGroupItem; }
5627
+ get: function () { return chunk7BDGLRQX_cjs.ToggleGroupItem; }
5804
5628
  });
5805
5629
  Object.defineProperty(exports, "Tooltip", {
5806
5630
  enumerable: true,
5807
- get: function () { return chunkORKGCXG3_cjs.Tooltip; }
5631
+ get: function () { return chunk7BDGLRQX_cjs.Tooltip; }
5808
5632
  });
5809
5633
  Object.defineProperty(exports, "TooltipContent", {
5810
5634
  enumerable: true,
5811
- get: function () { return chunkORKGCXG3_cjs.TooltipContent; }
5635
+ get: function () { return chunk7BDGLRQX_cjs.TooltipContent; }
5812
5636
  });
5813
5637
  Object.defineProperty(exports, "TooltipProvider", {
5814
5638
  enumerable: true,
5815
- get: function () { return chunkORKGCXG3_cjs.TooltipProvider; }
5639
+ get: function () { return chunk7BDGLRQX_cjs.TooltipProvider; }
5816
5640
  });
5817
5641
  Object.defineProperty(exports, "TooltipTrigger", {
5818
5642
  enumerable: true,
5819
- get: function () { return chunkORKGCXG3_cjs.TooltipTrigger; }
5643
+ get: function () { return chunk7BDGLRQX_cjs.TooltipTrigger; }
5820
5644
  });
5821
5645
  Object.defineProperty(exports, "UserEntity", {
5822
5646
  enumerable: true,
5823
- get: function () { return chunkORKGCXG3_cjs.UserEntity; }
5647
+ get: function () { return chunk7BDGLRQX_cjs.UserEntity; }
5824
5648
  });
5825
5649
  Object.defineProperty(exports, "UserMenu", {
5826
5650
  enumerable: true,
5827
- get: function () { return chunkORKGCXG3_cjs.UserMenu; }
5651
+ get: function () { return chunk7BDGLRQX_cjs.UserMenu; }
5828
5652
  });
5829
5653
  Object.defineProperty(exports, "VISIBILITY_ICONS", {
5830
5654
  enumerable: true,
5831
- get: function () { return chunkORKGCXG3_cjs.VISIBILITY_ICONS; }
5655
+ get: function () { return chunk7BDGLRQX_cjs.VISIBILITY_ICONS; }
5832
5656
  });
5833
5657
  Object.defineProperty(exports, "VidIcon", {
5834
5658
  enumerable: true,
5835
- get: function () { return chunkORKGCXG3_cjs.VidIcon; }
5659
+ get: function () { return chunk7BDGLRQX_cjs.VidIcon; }
5836
5660
  });
5837
5661
  Object.defineProperty(exports, "VisibilityIcon", {
5838
5662
  enumerable: true,
5839
- get: function () { return chunkORKGCXG3_cjs.VisibilityIcon; }
5663
+ get: function () { return chunk7BDGLRQX_cjs.VisibilityIcon; }
5840
5664
  });
5841
5665
  Object.defineProperty(exports, "badgeVariants", {
5842
5666
  enumerable: true,
5843
- get: function () { return chunkORKGCXG3_cjs.badgeVariants; }
5667
+ get: function () { return chunk7BDGLRQX_cjs.badgeVariants; }
5844
5668
  });
5845
5669
  Object.defineProperty(exports, "buttonVariants", {
5846
5670
  enumerable: true,
5847
- get: function () { return chunkORKGCXG3_cjs.buttonVariants; }
5671
+ get: function () { return chunk7BDGLRQX_cjs.buttonVariants; }
5848
5672
  });
5849
5673
  Object.defineProperty(exports, "cardVariants", {
5850
5674
  enumerable: true,
5851
- get: function () { return chunkORKGCXG3_cjs.cardVariants; }
5675
+ get: function () { return chunk7BDGLRQX_cjs.cardVariants; }
5852
5676
  });
5853
5677
  Object.defineProperty(exports, "configureEntityRegistry", {
5854
5678
  enumerable: true,
5855
- get: function () { return chunkORKGCXG3_cjs.configureEntityRegistry; }
5679
+ get: function () { return chunk7BDGLRQX_cjs.configureEntityRegistry; }
5856
5680
  });
5857
5681
  Object.defineProperty(exports, "configureRagLabels", {
5858
5682
  enumerable: true,
5859
- get: function () { return chunkORKGCXG3_cjs.configureRagLabels; }
5683
+ get: function () { return chunk7BDGLRQX_cjs.configureRagLabels; }
5860
5684
  });
5861
5685
  Object.defineProperty(exports, "configureStatusRegistry", {
5862
5686
  enumerable: true,
5863
- get: function () { return chunkORKGCXG3_cjs.configureStatusRegistry; }
5687
+ get: function () { return chunk7BDGLRQX_cjs.configureStatusRegistry; }
5864
5688
  });
5865
5689
  Object.defineProperty(exports, "formatElapsed", {
5866
5690
  enumerable: true,
5867
- get: function () { return chunkORKGCXG3_cjs.formatElapsed; }
5691
+ get: function () { return chunk7BDGLRQX_cjs.formatElapsed; }
5868
5692
  });
5869
5693
  Object.defineProperty(exports, "getDocIcon", {
5870
5694
  enumerable: true,
5871
- get: function () { return chunkORKGCXG3_cjs.getDocIcon; }
5695
+ get: function () { return chunk7BDGLRQX_cjs.getDocIcon; }
5872
5696
  });
5873
5697
  Object.defineProperty(exports, "getEntityColor", {
5874
5698
  enumerable: true,
5875
- get: function () { return chunkORKGCXG3_cjs.getEntityColor; }
5699
+ get: function () { return chunk7BDGLRQX_cjs.getEntityColor; }
5876
5700
  });
5877
5701
  Object.defineProperty(exports, "getEntityColorStyles", {
5878
5702
  enumerable: true,
5879
- get: function () { return chunkORKGCXG3_cjs.getEntityColorStyles; }
5703
+ get: function () { return chunk7BDGLRQX_cjs.getEntityColorStyles; }
5880
5704
  });
5881
5705
  Object.defineProperty(exports, "getEntityIcon", {
5882
5706
  enumerable: true,
5883
- get: function () { return chunkORKGCXG3_cjs.getEntityIcon; }
5707
+ get: function () { return chunk7BDGLRQX_cjs.getEntityIcon; }
5884
5708
  });
5885
5709
  Object.defineProperty(exports, "getEntityLabel", {
5886
5710
  enumerable: true,
5887
- get: function () { return chunkORKGCXG3_cjs.getEntityLabel; }
5711
+ get: function () { return chunk7BDGLRQX_cjs.getEntityLabel; }
5888
5712
  });
5889
5713
  Object.defineProperty(exports, "getStatusVariant", {
5890
5714
  enumerable: true,
5891
- get: function () { return chunkORKGCXG3_cjs.getStatusVariant; }
5715
+ get: function () { return chunk7BDGLRQX_cjs.getStatusVariant; }
5892
5716
  });
5893
5717
  Object.defineProperty(exports, "getTagTypeIcon", {
5894
5718
  enumerable: true,
5895
- get: function () { return chunkORKGCXG3_cjs.getTagTypeIcon; }
5719
+ get: function () { return chunk7BDGLRQX_cjs.getTagTypeIcon; }
5896
5720
  });
5897
5721
  Object.defineProperty(exports, "getTagTypeLabel", {
5898
5722
  enumerable: true,
5899
- get: function () { return chunkORKGCXG3_cjs.getTagTypeLabel; }
5723
+ get: function () { return chunk7BDGLRQX_cjs.getTagTypeLabel; }
5900
5724
  });
5901
5725
  Object.defineProperty(exports, "getWorkspaceColor", {
5902
5726
  enumerable: true,
5903
- get: function () { return chunkORKGCXG3_cjs.getWorkspaceColor; }
5727
+ get: function () { return chunk7BDGLRQX_cjs.getWorkspaceColor; }
5904
5728
  });
5905
- Object.defineProperty(exports, "markdownBaseComponents", {
5729
+ Object.defineProperty(exports, "toggleVariants", {
5906
5730
  enumerable: true,
5907
- get: function () { return chunkORKGCXG3_cjs.markdownBaseComponents; }
5731
+ get: function () { return chunk7BDGLRQX_cjs.toggleVariants; }
5908
5732
  });
5909
- Object.defineProperty(exports, "normalizeCitationMarkup", {
5733
+ Object.defineProperty(exports, "useAudioRecorder", {
5910
5734
  enumerable: true,
5911
- get: function () { return chunkORKGCXG3_cjs.normalizeCitationMarkup; }
5735
+ get: function () { return chunk7BDGLRQX_cjs.useAudioRecorder; }
5912
5736
  });
5913
- Object.defineProperty(exports, "splitMarkdownBlocks", {
5737
+ Object.defineProperty(exports, "MarkdownRenderer", {
5914
5738
  enumerable: true,
5915
- get: function () { return chunkORKGCXG3_cjs.splitMarkdownBlocks; }
5739
+ get: function () { return chunk7V7B7OEM_cjs.MarkdownRenderer; }
5916
5740
  });
5917
- Object.defineProperty(exports, "toggleVariants", {
5741
+ Object.defineProperty(exports, "MarkdownStreamingContext", {
5918
5742
  enumerable: true,
5919
- get: function () { return chunkORKGCXG3_cjs.toggleVariants; }
5743
+ get: function () { return chunk7V7B7OEM_cjs.MarkdownStreamingContext; }
5920
5744
  });
5921
- Object.defineProperty(exports, "useAudioRecorder", {
5745
+ Object.defineProperty(exports, "markdownBaseComponents", {
5746
+ enumerable: true,
5747
+ get: function () { return chunk7V7B7OEM_cjs.markdownBaseComponents; }
5748
+ });
5749
+ Object.defineProperty(exports, "normalizeCitationMarkup", {
5750
+ enumerable: true,
5751
+ get: function () { return chunk7V7B7OEM_cjs.normalizeCitationMarkup; }
5752
+ });
5753
+ Object.defineProperty(exports, "splitMarkdownBlocks", {
5922
5754
  enumerable: true,
5923
- get: function () { return chunkORKGCXG3_cjs.useAudioRecorder; }
5755
+ get: function () { return chunk7V7B7OEM_cjs.splitMarkdownBlocks; }
5924
5756
  });
5925
5757
  Object.defineProperty(exports, "DropdownMenu", {
5926
5758
  enumerable: true,
5927
- get: function () { return chunkRZQACYNQ_cjs.DropdownMenu; }
5759
+ get: function () { return chunkOBNTJEEO_cjs.DropdownMenu; }
5928
5760
  });
5929
5761
  Object.defineProperty(exports, "DropdownMenuCheckboxItem", {
5930
5762
  enumerable: true,
5931
- get: function () { return chunkRZQACYNQ_cjs.DropdownMenuCheckboxItem; }
5763
+ get: function () { return chunkOBNTJEEO_cjs.DropdownMenuCheckboxItem; }
5932
5764
  });
5933
5765
  Object.defineProperty(exports, "DropdownMenuContent", {
5934
5766
  enumerable: true,
5935
- get: function () { return chunkRZQACYNQ_cjs.DropdownMenuContent; }
5767
+ get: function () { return chunkOBNTJEEO_cjs.DropdownMenuContent; }
5936
5768
  });
5937
5769
  Object.defineProperty(exports, "DropdownMenuGroup", {
5938
5770
  enumerable: true,
5939
- get: function () { return chunkRZQACYNQ_cjs.DropdownMenuGroup; }
5771
+ get: function () { return chunkOBNTJEEO_cjs.DropdownMenuGroup; }
5940
5772
  });
5941
5773
  Object.defineProperty(exports, "DropdownMenuItem", {
5942
5774
  enumerable: true,
5943
- get: function () { return chunkRZQACYNQ_cjs.DropdownMenuItem; }
5775
+ get: function () { return chunkOBNTJEEO_cjs.DropdownMenuItem; }
5944
5776
  });
5945
5777
  Object.defineProperty(exports, "DropdownMenuLabel", {
5946
5778
  enumerable: true,
5947
- get: function () { return chunkRZQACYNQ_cjs.DropdownMenuLabel; }
5779
+ get: function () { return chunkOBNTJEEO_cjs.DropdownMenuLabel; }
5948
5780
  });
5949
5781
  Object.defineProperty(exports, "DropdownMenuPortal", {
5950
5782
  enumerable: true,
5951
- get: function () { return chunkRZQACYNQ_cjs.DropdownMenuPortal; }
5783
+ get: function () { return chunkOBNTJEEO_cjs.DropdownMenuPortal; }
5952
5784
  });
5953
5785
  Object.defineProperty(exports, "DropdownMenuRadioGroup", {
5954
5786
  enumerable: true,
5955
- get: function () { return chunkRZQACYNQ_cjs.DropdownMenuRadioGroup; }
5787
+ get: function () { return chunkOBNTJEEO_cjs.DropdownMenuRadioGroup; }
5956
5788
  });
5957
5789
  Object.defineProperty(exports, "DropdownMenuRadioItem", {
5958
5790
  enumerable: true,
5959
- get: function () { return chunkRZQACYNQ_cjs.DropdownMenuRadioItem; }
5791
+ get: function () { return chunkOBNTJEEO_cjs.DropdownMenuRadioItem; }
5960
5792
  });
5961
5793
  Object.defineProperty(exports, "DropdownMenuSeparator", {
5962
5794
  enumerable: true,
5963
- get: function () { return chunkRZQACYNQ_cjs.DropdownMenuSeparator; }
5795
+ get: function () { return chunkOBNTJEEO_cjs.DropdownMenuSeparator; }
5964
5796
  });
5965
5797
  Object.defineProperty(exports, "DropdownMenuShortcut", {
5966
5798
  enumerable: true,
5967
- get: function () { return chunkRZQACYNQ_cjs.DropdownMenuShortcut; }
5799
+ get: function () { return chunkOBNTJEEO_cjs.DropdownMenuShortcut; }
5968
5800
  });
5969
5801
  Object.defineProperty(exports, "DropdownMenuSub", {
5970
5802
  enumerable: true,
5971
- get: function () { return chunkRZQACYNQ_cjs.DropdownMenuSub; }
5803
+ get: function () { return chunkOBNTJEEO_cjs.DropdownMenuSub; }
5972
5804
  });
5973
5805
  Object.defineProperty(exports, "DropdownMenuSubContent", {
5974
5806
  enumerable: true,
5975
- get: function () { return chunkRZQACYNQ_cjs.DropdownMenuSubContent; }
5807
+ get: function () { return chunkOBNTJEEO_cjs.DropdownMenuSubContent; }
5976
5808
  });
5977
5809
  Object.defineProperty(exports, "DropdownMenuSubTrigger", {
5978
5810
  enumerable: true,
5979
- get: function () { return chunkRZQACYNQ_cjs.DropdownMenuSubTrigger; }
5811
+ get: function () { return chunkOBNTJEEO_cjs.DropdownMenuSubTrigger; }
5980
5812
  });
5981
5813
  Object.defineProperty(exports, "DropdownMenuTrigger", {
5982
5814
  enumerable: true,
5983
- get: function () { return chunkRZQACYNQ_cjs.DropdownMenuTrigger; }
5815
+ get: function () { return chunkOBNTJEEO_cjs.DropdownMenuTrigger; }
5984
5816
  });
5985
5817
  Object.defineProperty(exports, "ScrollArea", {
5986
5818
  enumerable: true,
5987
- get: function () { return chunkRZQACYNQ_cjs.ScrollArea; }
5819
+ get: function () { return chunkOBNTJEEO_cjs.ScrollArea; }
5988
5820
  });
5989
5821
  Object.defineProperty(exports, "ScrollBar", {
5990
5822
  enumerable: true,
5991
- get: function () { return chunkRZQACYNQ_cjs.ScrollBar; }
5823
+ get: function () { return chunkOBNTJEEO_cjs.ScrollBar; }
5992
5824
  });
5993
5825
  Object.defineProperty(exports, "cn", {
5994
5826
  enumerable: true,
5995
- get: function () { return chunkRZQACYNQ_cjs.cn; }
5827
+ get: function () { return chunkS6A6FSG7_cjs.cn; }
5996
5828
  });
5997
5829
  Object.defineProperty(exports, "ArbiProvider", {
5998
5830
  enumerable: true,
5999
- get: function () { return chunk7IOCMCC5_cjs.ArbiProvider; }
5831
+ get: function () { return chunkZMTLGO3K_cjs.ArbiProvider; }
6000
5832
  });
6001
5833
  Object.defineProperty(exports, "useArbi", {
6002
5834
  enumerable: true,
6003
- get: function () { return chunk7IOCMCC5_cjs.useArbi; }
5835
+ get: function () { return chunkZMTLGO3K_cjs.useArbi; }
6004
5836
  });
6005
5837
  Object.defineProperty(exports, "Arbi", {
6006
5838
  enumerable: true,
@@ -6030,7 +5862,6 @@ exports.CommandPaletteProvider = CommandPaletteProvider;
6030
5862
  exports.ConversationList = ConversationList;
6031
5863
  exports.DEFAULT_ASPECT_OPTIONS = DEFAULT_ASPECT_OPTIONS;
6032
5864
  exports.DEFAULT_START_BY_EMAIL_LABELS = DEFAULT_START_BY_EMAIL_LABELS;
6033
- exports.DEFAULT_USD_PER_CREDIT = DEFAULT_USD_PER_CREDIT;
6034
5865
  exports.DateSeparator = DateSeparator;
6035
5866
  exports.DirectMessages = DirectMessages;
6036
5867
  exports.DmAvatar = DmAvatar;
@@ -6067,19 +5898,15 @@ exports.VideoCapture = VideoCapture;
6067
5898
  exports.VoiceNoteRecorder = VoiceNoteRecorder;
6068
5899
  exports.XlsIcon = XlsIcon;
6069
5900
  exports.annotateThread = annotateThread;
6070
- exports.arbiQueryKeys = arbiQueryKeys;
6071
5901
  exports.captureFrameAsBlob = captureFrameAsBlob;
6072
- exports.creditsToUsd = creditsToUsd;
6073
5902
  exports.cropImage = cropImage;
6074
5903
  exports.dayKey = dayKey;
6075
5904
  exports.describeActivity = describeActivity;
6076
- exports.formatCredits = formatCredits;
6077
5905
  exports.getNotificationTypeMeta = getNotificationTypeMeta;
6078
5906
  exports.getWorkspaceActionText = getWorkspaceActionText;
6079
5907
  exports.getWorkspaceKind = getWorkspaceKind;
6080
5908
  exports.getWorkspaceSentPhrase = getWorkspaceSentPhrase;
6081
5909
  exports.hasVideoTrack = hasVideoTrack;
6082
- exports.isUsageMetered = isUsageMetered;
6083
5910
  exports.isWorkspaceNotificationType = isWorkspaceNotificationType;
6084
5911
  exports.parseActivityContent = parseActivityContent;
6085
5912
  exports.pickRecentWorkspaces = pickRecentWorkspaces;
@@ -6089,12 +5916,10 @@ exports.textToArtifact = textToArtifact;
6089
5916
  exports.titleFromQuestion = titleFromQuestion;
6090
5917
  exports.toRedlineMarkdown = toRedlineMarkdown;
6091
5918
  exports.toShellWorkspace = toShellWorkspace;
6092
- exports.useActivity = useActivity;
6093
5919
  exports.useAddContacts = useAddContacts;
6094
5920
  exports.useAgentConfig = useAgentConfig;
6095
5921
  exports.useAgentModels = useAgentModels;
6096
5922
  exports.useAgentWorkspaces = useAgentWorkspaces;
6097
- exports.useAgents = useAgents;
6098
5923
  exports.useAiTask = useAiTask;
6099
5924
  exports.useArbiChat = useArbiChat;
6100
5925
  exports.useArbiConnected = useArbiConnected;
@@ -6108,44 +5933,26 @@ exports.useArbiWsStatus = useArbiWsStatus;
6108
5933
  exports.useArbiWsStore = useArbiWsStore;
6109
5934
  exports.useArbiWsTask = useArbiWsTask;
6110
5935
  exports.useArbiWsTasks = useArbiWsTasks;
6111
- exports.useAssistantQuery = useAssistantQuery;
6112
5936
  exports.useCameraStream = useCameraStream;
6113
5937
  exports.useCommandPalette = useCommandPalette;
6114
- exports.useConfigs = useConfigs;
6115
5938
  exports.useContacts = useContacts;
6116
- exports.useConversations = useConversations;
6117
5939
  exports.useCreateAgent = useCreateAgent;
6118
5940
  exports.useCreateTask = useCreateTask;
6119
- exports.useDeleteAgents = useDeleteAgents;
6120
5941
  exports.useDeleteTask = useDeleteTask;
6121
5942
  exports.useDirectMessages = useDirectMessages;
6122
- exports.useDocuments = useDocuments;
6123
- exports.useFacts = useFacts;
6124
5943
  exports.useGrantAgentAccess = useGrantAgentAccess;
6125
- exports.useHealth = useHealth;
6126
- exports.useParsedDocument = useParsedDocument;
6127
5944
  exports.usePendingContacts = usePendingContacts;
6128
- exports.useProjectInvoices = useProjectInvoices;
6129
- exports.useProjectUsage = useProjectUsage;
6130
- exports.useProjects = useProjects;
6131
- exports.useProjectsUsage = useProjectsUsage;
6132
5945
  exports.useRemoveContacts = useRemoveContacts;
6133
5946
  exports.useRevokeAgentAccess = useRevokeAgentAccess;
6134
5947
  exports.useRunTask = useRunTask;
6135
5948
  exports.useSaveAgentConfig = useSaveAgentConfig;
6136
5949
  exports.useSemanticSearch = useSemanticSearch;
6137
- exports.useSessions = useSessions;
6138
5950
  exports.useShellWorkspaces = useShellWorkspaces;
6139
5951
  exports.useSkills = useSkills;
6140
- exports.useTags = useTags;
6141
5952
  exports.useTaskRuns = useTaskRuns;
6142
- exports.useTasks = useTasks;
6143
- exports.useThumbnails = useThumbnails;
6144
5953
  exports.useUpdateTask = useUpdateTask;
6145
- exports.useUserUsageToday = useUserUsageToday;
6146
5954
  exports.useVideoRecorder = useVideoRecorder;
6147
5955
  exports.useWorkspaceDocs = useWorkspaceDocs;
6148
- exports.useWorkspaces = useWorkspaces;
6149
5956
  exports.userDisplayName = userDisplayName;
6150
5957
  exports.userInitials = userInitials;
6151
5958
  //# sourceMappingURL=index.cjs.map