@arbidocs/blocks 0.4.12 → 0.4.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{StreamedArtifactEditor-6ETUHNQN.js → StreamedArtifactEditor-7JHF4JIY.js} +3 -3
- package/dist/{StreamedArtifactEditor-6ETUHNQN.js.map → StreamedArtifactEditor-7JHF4JIY.js.map} +1 -1
- package/dist/{StreamedArtifactEditor-5BMNWSS4.cjs → StreamedArtifactEditor-L2AZZORU.cjs} +4 -4
- package/dist/{StreamedArtifactEditor-5BMNWSS4.cjs.map → StreamedArtifactEditor-L2AZZORU.cjs.map} +1 -1
- package/dist/agents/index.cjs +1 -1
- package/dist/agents/index.js +1 -1
- package/dist/artifacts/editor/index.cjs +3 -3
- package/dist/artifacts/editor/index.js +1 -1
- package/dist/{chunk-557EU3G4.js → chunk-JLOYWXRB.js} +3 -3
- package/dist/{chunk-557EU3G4.js.map → chunk-JLOYWXRB.js.map} +1 -1
- package/dist/{chunk-HSFGOA6V.js → chunk-NEFHQHQV.js} +18 -3
- package/dist/chunk-NEFHQHQV.js.map +1 -0
- package/dist/{chunk-RUNQFXPH.cjs → chunk-QS4RV3MA.cjs} +17 -2
- package/dist/chunk-QS4RV3MA.cjs.map +1 -0
- package/dist/{chunk-DCEI37AX.cjs → chunk-YVIOCITQ.cjs} +3 -3
- package/dist/{chunk-DCEI37AX.cjs.map → chunk-YVIOCITQ.cjs.map} +1 -1
- package/dist/connect/index.cjs +23 -23
- package/dist/connect/index.js +3 -3
- package/dist/facts/index.cjs +1 -1
- package/dist/facts/index.js +1 -1
- package/dist/files/index.cjs +2 -2
- package/dist/files/index.js +2 -2
- package/dist/index.cjs +216 -216
- package/dist/index.js +4 -4
- package/dist/settings/index.cjs +31 -31
- package/dist/settings/index.js +2 -2
- package/dist/shell/index.cjs +1 -1
- package/dist/shell/index.js +1 -1
- package/dist/workspaces/index.cjs +1 -1
- package/dist/workspaces/index.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-HSFGOA6V.js.map +0 -1
- package/dist/chunk-RUNQFXPH.cjs.map +0 -1
package/dist/connect/index.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkYVIOCITQ_cjs = require('../chunk-YVIOCITQ.cjs');
|
|
5
5
|
var chunkZPOLKYR2_cjs = require('../chunk-ZPOLKYR2.cjs');
|
|
6
6
|
var chunkQVBZESYQ_cjs = require('../chunk-QVBZESYQ.cjs');
|
|
7
7
|
require('../chunk-ADOKTJHV.cjs');
|
|
8
|
-
require('../chunk-DCDVWPMB.cjs');
|
|
9
8
|
require('../chunk-PRVKJ5XL.cjs');
|
|
10
9
|
require('../chunk-VGOFFCMT.cjs');
|
|
11
10
|
require('../chunk-PPCATBOY.cjs');
|
|
12
11
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
12
|
+
require('../chunk-DCDVWPMB.cjs');
|
|
13
13
|
require('../chunk-MHVNT4J3.cjs');
|
|
14
14
|
var react = require('react');
|
|
15
15
|
var reactQuery = require('@tanstack/react-query');
|
|
@@ -35,7 +35,7 @@ function ArbiAppProvider({
|
|
|
35
35
|
const providerUrl = config.apiUrl || config.demoApiUrl || "https://demo.arbi.local";
|
|
36
36
|
return /* @__PURE__ */ jsxRuntime.jsx(reactQuery.QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsxRuntime.jsx(react$1.ArbiProvider, { url: providerUrl, children: /* @__PURE__ */ jsxRuntime.jsx(chunkZPOLKYR2_cjs.ConnectionProvider, { config, children: /* @__PURE__ */ jsxRuntime.jsx(ConnectionBoundWebSocket, { children }) }) }) });
|
|
37
37
|
}
|
|
38
|
-
var StreamedArtifactEditor = react.lazy(() => import('../StreamedArtifactEditor-
|
|
38
|
+
var StreamedArtifactEditor = react.lazy(() => import('../StreamedArtifactEditor-L2AZZORU.cjs'));
|
|
39
39
|
function StreamedArtifact({
|
|
40
40
|
artifacts: artifacts$1,
|
|
41
41
|
workspaceId,
|
|
@@ -179,12 +179,12 @@ function ConnectedProfileCard({ notify, title = "Profile" }) {
|
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
181
|
const display = profile?.fullName || user?.name || "Unnamed";
|
|
182
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
183
|
-
|
|
182
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkYVIOCITQ_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.UserCircle, {}), title, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
183
|
+
chunkYVIOCITQ_cjs.ProfileCard,
|
|
184
184
|
{
|
|
185
185
|
avatar: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
186
186
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
187
|
-
|
|
187
|
+
chunkYVIOCITQ_cjs.AvatarPicker,
|
|
188
188
|
{
|
|
189
189
|
pictureUrl: profile?.picture ?? user?.picture,
|
|
190
190
|
initials: chunkKDG6FER6_cjs.initials(display),
|
|
@@ -242,10 +242,10 @@ function ConnectedSecuritySection({
|
|
|
242
242
|
},
|
|
243
243
|
onClose: () => setOpen(false)
|
|
244
244
|
});
|
|
245
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
246
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
245
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkYVIOCITQ_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.KeyRound, {}), title: "Security", children: [
|
|
246
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkYVIOCITQ_cjs.SettingsCard, { padding: "sm", children: [
|
|
247
247
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
248
|
-
|
|
248
|
+
chunkYVIOCITQ_cjs.SettingsActionRow,
|
|
249
249
|
{
|
|
250
250
|
title: "Change password",
|
|
251
251
|
description: "Used to sign in and to encrypt your data. Changing it re-encrypts everything in your account.",
|
|
@@ -256,7 +256,7 @@ function ConnectedSecuritySection({
|
|
|
256
256
|
children
|
|
257
257
|
] }),
|
|
258
258
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
259
|
-
|
|
259
|
+
chunkYVIOCITQ_cjs.PasswordChangeDialog,
|
|
260
260
|
{
|
|
261
261
|
open,
|
|
262
262
|
onClose: form.onCancel,
|
|
@@ -280,23 +280,23 @@ function ConnectedSecuritySection({
|
|
|
280
280
|
] });
|
|
281
281
|
}
|
|
282
282
|
function ConnectedNotificationPreferences({
|
|
283
|
-
categories =
|
|
283
|
+
categories = chunkYVIOCITQ_cjs.EMAIL_NOTIFICATION_CATEGORIES,
|
|
284
284
|
title = "Notifications"
|
|
285
285
|
}) {
|
|
286
286
|
const keys = react.useMemo(
|
|
287
|
-
() => categories ===
|
|
287
|
+
() => categories === chunkYVIOCITQ_cjs.EMAIL_NOTIFICATION_CATEGORIES ? chunkYVIOCITQ_cjs.EMAIL_NOTIFICATION_KEYS : categories.map((c) => c.key),
|
|
288
288
|
[categories]
|
|
289
289
|
);
|
|
290
290
|
const prefs = react$1.useNotificationPreferences(keys);
|
|
291
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
292
|
-
|
|
291
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkYVIOCITQ_cjs.SettingsSection, { title, children: /* @__PURE__ */ jsxRuntime.jsx(chunkYVIOCITQ_cjs.SettingsCard, { className: "space-y-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
292
|
+
chunkYVIOCITQ_cjs.NotificationCategoryList,
|
|
293
293
|
{
|
|
294
294
|
masterId: "emailNotifications",
|
|
295
295
|
masterTitle: "Email Notifications",
|
|
296
296
|
masterDescription: "Email me about activity when I\u2019m away",
|
|
297
297
|
masterChecked: prefs.masterChecked,
|
|
298
298
|
onMasterChange: prefs.setAll,
|
|
299
|
-
categories:
|
|
299
|
+
categories: chunkYVIOCITQ_cjs.toNotificationCategories(prefs.checked, categories),
|
|
300
300
|
onCategoryChange: prefs.setCategory
|
|
301
301
|
}
|
|
302
302
|
) }) });
|
|
@@ -310,14 +310,14 @@ function ConnectedSessionsRow({
|
|
|
310
310
|
const sessions = react$1.useSessions({ enabled: open });
|
|
311
311
|
const currentSessionId = react$1.useCurrentSessionId();
|
|
312
312
|
const terminate = react$1.useTerminateSession();
|
|
313
|
-
const views =
|
|
313
|
+
const views = chunkYVIOCITQ_cjs.toActiveSessionViews(sessions.data ?? [], {
|
|
314
314
|
currentSessionId,
|
|
315
315
|
terminatingId: terminate.isPending ? terminate.variables : null,
|
|
316
316
|
renderIcon: renderSessionIcon
|
|
317
317
|
});
|
|
318
318
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
319
319
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
320
|
-
|
|
320
|
+
chunkYVIOCITQ_cjs.SettingsRow,
|
|
321
321
|
{
|
|
322
322
|
label: "Active sessions",
|
|
323
323
|
description: "Devices and agents currently signed in to your account.",
|
|
@@ -339,7 +339,7 @@ function ConnectedSessionsRow({
|
|
|
339
339
|
}
|
|
340
340
|
),
|
|
341
341
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
342
|
-
|
|
342
|
+
chunkYVIOCITQ_cjs.ActiveSessionsDialog,
|
|
343
343
|
{
|
|
344
344
|
open,
|
|
345
345
|
onOpenChange: setOpen,
|
|
@@ -374,7 +374,7 @@ function ConnectedLogoutDialog({
|
|
|
374
374
|
const sessions = react$1.useSessions({ enabled: open });
|
|
375
375
|
const logoutAll = react$1.useLogoutAllSessions();
|
|
376
376
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
377
|
-
|
|
377
|
+
chunkYVIOCITQ_cjs.LogoutDialog,
|
|
378
378
|
{
|
|
379
379
|
open,
|
|
380
380
|
onClose,
|
|
@@ -388,7 +388,7 @@ function ConnectedLogoutDialog({
|
|
|
388
388
|
},
|
|
389
389
|
canLogoutAll: true,
|
|
390
390
|
isOnline,
|
|
391
|
-
sessions:
|
|
391
|
+
sessions: chunkYVIOCITQ_cjs.toLogoutSessionViews(sessions.data ?? []),
|
|
392
392
|
renderSessionIcon
|
|
393
393
|
}
|
|
394
394
|
);
|
|
@@ -407,7 +407,7 @@ function ConnectedDangerZone({ notify, renderSubscriptionLink }) {
|
|
|
407
407
|
});
|
|
408
408
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
409
409
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
410
|
-
|
|
410
|
+
chunkYVIOCITQ_cjs.SettingsDangerZone,
|
|
411
411
|
{
|
|
412
412
|
isOpen: zoneOpen,
|
|
413
413
|
onToggle: () => setZoneOpen((o) => !o),
|
|
@@ -427,12 +427,12 @@ function ConnectedDangerZone({ notify, renderSubscriptionLink }) {
|
|
|
427
427
|
}
|
|
428
428
|
),
|
|
429
429
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
430
|
-
|
|
430
|
+
chunkYVIOCITQ_cjs.DeleteAccountDialog,
|
|
431
431
|
{
|
|
432
432
|
open: dialogOpen,
|
|
433
433
|
onClose: flow.onClose,
|
|
434
434
|
step: flow.step,
|
|
435
|
-
blockers:
|
|
435
|
+
blockers: chunkYVIOCITQ_cjs.toDeleteBlockerViews(flow.blockers, renderSubscriptionLink),
|
|
436
436
|
onContinue: flow.onContinue,
|
|
437
437
|
onBack: flow.onBack,
|
|
438
438
|
userEmail: user?.email ?? "",
|
package/dist/connect/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { SettingsSection, ProfileCard, AvatarPicker, SettingsCard, SettingsActionRow, PasswordChangeDialog, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews } from '../chunk-
|
|
2
|
+
import { SettingsSection, ProfileCard, AvatarPicker, SettingsCard, SettingsActionRow, PasswordChangeDialog, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews } from '../chunk-JLOYWXRB.js';
|
|
3
3
|
import { ConnectionProvider, useConnection } from '../chunk-S74WZNK7.js';
|
|
4
4
|
export { ConnectedAssistantDock, ConnectionProvider, SESSION_EXPIRED_MESSAGE, isAuthenticated, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useConnection, useSemanticSearch, useWorkspaceDocs } from '../chunk-S74WZNK7.js';
|
|
5
5
|
import { StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
|
|
6
6
|
import '../chunk-VILAPTCB.js';
|
|
7
|
-
import '../chunk-TJMKFY5P.js';
|
|
8
7
|
import '../chunk-UVIOQUJA.js';
|
|
9
8
|
import '../chunk-KZJAG7T3.js';
|
|
10
9
|
import '../chunk-NPLYHR2E.js';
|
|
11
10
|
import { initials } from '../chunk-OXF2IFXG.js';
|
|
11
|
+
import '../chunk-TJMKFY5P.js';
|
|
12
12
|
import '../chunk-7F6CBP3Z.js';
|
|
13
13
|
import { lazy, useState, Suspense, useMemo } from 'react';
|
|
14
14
|
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
@@ -34,7 +34,7 @@ function ArbiAppProvider({
|
|
|
34
34
|
const providerUrl = config.apiUrl || config.demoApiUrl || "https://demo.arbi.local";
|
|
35
35
|
return /* @__PURE__ */ jsx(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsx(ArbiProvider, { url: providerUrl, children: /* @__PURE__ */ jsx(ConnectionProvider, { config, children: /* @__PURE__ */ jsx(ConnectionBoundWebSocket, { children }) }) }) });
|
|
36
36
|
}
|
|
37
|
-
var StreamedArtifactEditor = lazy(() => import('../StreamedArtifactEditor-
|
|
37
|
+
var StreamedArtifactEditor = lazy(() => import('../StreamedArtifactEditor-7JHF4JIY.js'));
|
|
38
38
|
function StreamedArtifact({
|
|
39
39
|
artifacts,
|
|
40
40
|
workspaceId,
|
package/dist/facts/index.cjs
CHANGED
|
@@ -6,8 +6,8 @@ var chunkOUW6G4O2_cjs = require('../chunk-OUW6G4O2.cjs');
|
|
|
6
6
|
var chunkVPPX5XUF_cjs = require('../chunk-VPPX5XUF.cjs');
|
|
7
7
|
var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
|
|
8
8
|
var chunk5B4PXAKI_cjs = require('../chunk-5B4PXAKI.cjs');
|
|
9
|
-
require('../chunk-C54XEN5T.cjs');
|
|
10
9
|
require('../chunk-FX3K6LNZ.cjs');
|
|
10
|
+
require('../chunk-C54XEN5T.cjs');
|
|
11
11
|
var chunkPPCATBOY_cjs = require('../chunk-PPCATBOY.cjs');
|
|
12
12
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
13
13
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
package/dist/facts/index.js
CHANGED
|
@@ -4,8 +4,8 @@ import { SearchHit } from '../chunk-A2YAC22G.js';
|
|
|
4
4
|
import { formatSpan, TimelineCalendar, TimelineGantt } from '../chunk-4EZVCGRL.js';
|
|
5
5
|
import { SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
|
|
6
6
|
import { TabHeader } from '../chunk-UBNVIIBT.js';
|
|
7
|
-
import '../chunk-76JDDMSP.js';
|
|
8
7
|
import '../chunk-SLSBJRWW.js';
|
|
8
|
+
import '../chunk-76JDDMSP.js';
|
|
9
9
|
import { observeResize } from '../chunk-NPLYHR2E.js';
|
|
10
10
|
import { initials } from '../chunk-OXF2IFXG.js';
|
|
11
11
|
import { testIdOr } from '../chunk-7F6CBP3Z.js';
|
package/dist/files/index.cjs
CHANGED
|
@@ -6,13 +6,13 @@ var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
|
|
|
6
6
|
var chunkVFUWWH52_cjs = require('../chunk-VFUWWH52.cjs');
|
|
7
7
|
var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
|
|
8
8
|
var chunkOB5F4577_cjs = require('../chunk-OB5F4577.cjs');
|
|
9
|
+
require('../chunk-FX3K6LNZ.cjs');
|
|
9
10
|
require('../chunk-C54XEN5T.cjs');
|
|
10
11
|
var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
|
|
11
12
|
var chunk2ZTONLT5_cjs = require('../chunk-2ZTONLT5.cjs');
|
|
12
|
-
require('../chunk-FX3K6LNZ.cjs');
|
|
13
|
-
require('../chunk-DCDVWPMB.cjs');
|
|
14
13
|
require('../chunk-PPCATBOY.cjs');
|
|
15
14
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
15
|
+
require('../chunk-DCDVWPMB.cjs');
|
|
16
16
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
17
17
|
var react = require('react');
|
|
18
18
|
var lucideReact = require('lucide-react');
|
package/dist/files/index.js
CHANGED
|
@@ -6,13 +6,13 @@ import { TONE_SURFACE, ToneBadge } from '../chunk-DPLRHEJZ.js';
|
|
|
6
6
|
import { SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
|
|
7
7
|
export { DEFAULT_SELECTION_BAR_LABELS, SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
|
|
8
8
|
import { ActionLink } from '../chunk-S7PSMMRG.js';
|
|
9
|
+
import '../chunk-SLSBJRWW.js';
|
|
9
10
|
import '../chunk-76JDDMSP.js';
|
|
10
11
|
import { ShareControl } from '../chunk-K4BGOPGG.js';
|
|
11
12
|
import { ModalSection, ModalSectionTitle, ModalHeader } from '../chunk-CPMNAJLF.js';
|
|
12
|
-
import '../chunk-SLSBJRWW.js';
|
|
13
|
-
import '../chunk-TJMKFY5P.js';
|
|
14
13
|
import '../chunk-NPLYHR2E.js';
|
|
15
14
|
import { formatCount } from '../chunk-OXF2IFXG.js';
|
|
15
|
+
import '../chunk-TJMKFY5P.js';
|
|
16
16
|
import { testIdOr } from '../chunk-7F6CBP3Z.js';
|
|
17
17
|
import { memo, useState, useRef, useEffect, forwardRef, useMemo, useCallback } from 'react';
|
|
18
18
|
import { Check, Ban, Plus, Pencil, PencilLine, Loader2, UploadCloud, X, SlidersHorizontal, Folder, LoaderCircle, Sparkles, AlertCircle, FolderOpen, Upload, FileText, FolderPlus, Globe, Download, FolderUp, Users, XCircle, AlertTriangle, CheckCircle2, Share2, ImagePlus, Crop, ChevronLeft, ChevronRight, ZoomIn, CopyX, Minus, Tags, StickyNote, Columns2, Copy, ChevronDown, BookMarked, ExternalLink, Square, RefreshCw, Settings, Unplug, CalendarDays, CheckCircle, CircleSlash, Hourglass, Mail, CornerDownRight, CornerRightDown, Blend, MoreVertical, SquarePen, BookOpen, MessagesSquare, FolderInput, Trash2, NotebookPen, MoreHorizontal, ArrowRightFromLine, ArrowDownToLine, Tag, Bot, Calendar, Search, Hash, List, SquareCheckBig, Columns3, Save, Undo2, CheckIcon, ArrowUpDown, FileX, ChevronsUpDown, Table2, ArrowRightLeft } from 'lucide-react';
|