@arbidocs/blocks 0.4.19 → 0.4.21
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/agents/definitions/AgentCard.d.ts +4 -1
- package/dist/agents/index.cjs +207 -207
- package/dist/agents/index.js +1 -1
- package/dist/agents/tasks/taskColumns.d.ts +2 -2
- package/dist/chat/ChatPage.d.ts +1 -1
- package/dist/chat/chat-page-types.d.ts +2 -0
- package/dist/chat/index.cjs +132 -132
- package/dist/chat/index.js +2 -2
- package/dist/{chunk-S74WZNK7.js → chunk-2T2ZMOA6.js} +3 -3
- package/dist/{chunk-S74WZNK7.js.map → chunk-2T2ZMOA6.js.map} +1 -1
- package/dist/{chunk-C2V6HQKG.cjs → chunk-54WQYICJ.cjs} +5 -5
- package/dist/{chunk-C2V6HQKG.cjs.map → chunk-54WQYICJ.cjs.map} +1 -1
- package/dist/{chunk-ABSII3ND.js → chunk-B6N5UXQX.js} +3 -3
- package/dist/{chunk-ABSII3ND.js.map → chunk-B6N5UXQX.js.map} +1 -1
- package/dist/{chunk-ZPOLKYR2.cjs → chunk-BTDL4Q27.cjs} +4 -4
- package/dist/{chunk-ZPOLKYR2.cjs.map → chunk-BTDL4Q27.cjs.map} +1 -1
- package/dist/{chunk-Q7AEHSMA.js → chunk-C7SMJ6GJ.js} +25 -8
- package/dist/chunk-C7SMJ6GJ.js.map +1 -0
- package/dist/{chunk-PRVKJ5XL.cjs → chunk-J22DXUJY.cjs} +4 -3
- package/dist/chunk-J22DXUJY.cjs.map +1 -0
- package/dist/{chunk-UVIOQUJA.js → chunk-JLPYOPCX.js} +4 -3
- package/dist/chunk-JLPYOPCX.js.map +1 -0
- package/dist/{chunk-BSRUZ272.cjs → chunk-MLSRLLU7.cjs} +24 -7
- package/dist/chunk-MLSRLLU7.cjs.map +1 -0
- package/dist/connect/index.cjs +20 -20
- package/dist/connect/index.js +3 -3
- package/dist/index.cjs +339 -339
- package/dist/index.js +3 -3
- package/dist/studio/index.cjs +4 -4
- package/dist/studio/index.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-BSRUZ272.cjs.map +0 -1
- package/dist/chunk-PRVKJ5XL.cjs.map +0 -1
- package/dist/chunk-Q7AEHSMA.js.map +0 -1
- package/dist/chunk-UVIOQUJA.js.map +0 -1
package/dist/connect/index.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkYVIOCITQ_cjs = require('../chunk-YVIOCITQ.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkBTDL4Q27_cjs = require('../chunk-BTDL4Q27.cjs');
|
|
6
6
|
var chunkQVBZESYQ_cjs = require('../chunk-QVBZESYQ.cjs');
|
|
7
7
|
require('../chunk-ADOKTJHV.cjs');
|
|
8
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-J22DXUJY.cjs');
|
|
9
9
|
require('../chunk-VGOFFCMT.cjs');
|
|
10
10
|
require('../chunk-PPCATBOY.cjs');
|
|
11
11
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
@@ -20,7 +20,7 @@ var lucideReact = require('lucide-react');
|
|
|
20
20
|
var ui = require('@arbidocs/react/ui');
|
|
21
21
|
|
|
22
22
|
function ConnectionBoundWebSocket({ children }) {
|
|
23
|
-
const { status } =
|
|
23
|
+
const { status } = chunkBTDL4Q27_cjs.useConnection();
|
|
24
24
|
return /* @__PURE__ */ jsxRuntime.jsx(react$1.ArbiWebSocketProvider, { enabled: status === "authenticated", children });
|
|
25
25
|
}
|
|
26
26
|
function ArbiAppProvider({
|
|
@@ -33,7 +33,7 @@ function ArbiAppProvider({
|
|
|
33
33
|
})
|
|
34
34
|
);
|
|
35
35
|
const providerUrl = config.apiUrl || config.demoApiUrl || "https://demo.arbi.local";
|
|
36
|
-
return /* @__PURE__ */ jsxRuntime.jsx(reactQuery.QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsxRuntime.jsx(react$1.ArbiProvider, { url: providerUrl, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
36
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactQuery.QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsxRuntime.jsx(react$1.ArbiProvider, { url: providerUrl, children: /* @__PURE__ */ jsxRuntime.jsx(chunkBTDL4Q27_cjs.ConnectionProvider, { config, children: /* @__PURE__ */ jsxRuntime.jsx(ConnectionBoundWebSocket, { children }) }) }) });
|
|
37
37
|
}
|
|
38
38
|
var StreamedArtifactEditor = react.lazy(() => import('../StreamedArtifactEditor-L2AZZORU.cjs'));
|
|
39
39
|
function StreamedArtifact({
|
|
@@ -107,7 +107,7 @@ function StreamedArtifact({
|
|
|
107
107
|
);
|
|
108
108
|
}
|
|
109
109
|
function useConnectedShellWorkspaces(options = {}) {
|
|
110
|
-
const { workspaceId, setWorkspace } =
|
|
110
|
+
const { workspaceId, setWorkspace } = chunkBTDL4Q27_cjs.useConnection();
|
|
111
111
|
const query = react$1.useWorkspaces();
|
|
112
112
|
return react$1.useShellWorkspaces({
|
|
113
113
|
...options,
|
|
@@ -132,7 +132,7 @@ function ConnectedProfileCard({ notify, title = "Profile" }) {
|
|
|
132
132
|
const updateProfile = react$1.useUpdateProfile();
|
|
133
133
|
const requestEmailChange = react$1.useRequestEmailChange();
|
|
134
134
|
const confirmEmailChange = react$1.useConfirmEmailChange();
|
|
135
|
-
const { user } =
|
|
135
|
+
const { user } = chunkBTDL4Q27_cjs.useConnection();
|
|
136
136
|
const name = react$1.useNameEditor({
|
|
137
137
|
givenName: profile?.givenName,
|
|
138
138
|
familyName: profile?.familyName,
|
|
@@ -370,7 +370,7 @@ function ConnectedLogoutDialog({
|
|
|
370
370
|
isOnline = true,
|
|
371
371
|
renderSessionIcon
|
|
372
372
|
}) {
|
|
373
|
-
const { logout } =
|
|
373
|
+
const { logout } = chunkBTDL4Q27_cjs.useConnection();
|
|
374
374
|
const sessions = react$1.useSessions({ enabled: open });
|
|
375
375
|
const logoutAll = react$1.useLogoutAllSessions();
|
|
376
376
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -396,7 +396,7 @@ function ConnectedLogoutDialog({
|
|
|
396
396
|
function ConnectedDangerZone({ notify, renderSubscriptionLink }) {
|
|
397
397
|
const [zoneOpen, setZoneOpen] = react.useState(false);
|
|
398
398
|
const [dialogOpen, setDialogOpen] = react.useState(false);
|
|
399
|
-
const { user, logout } =
|
|
399
|
+
const { user, logout } = chunkBTDL4Q27_cjs.useConnection();
|
|
400
400
|
const remove = react$1.useDeleteAccount();
|
|
401
401
|
const flow = react$1.useDeleteAccountFlow({
|
|
402
402
|
userEmail: user?.email ?? "",
|
|
@@ -447,51 +447,51 @@ function ConnectedDangerZone({ notify, renderSubscriptionLink }) {
|
|
|
447
447
|
|
|
448
448
|
Object.defineProperty(exports, "ConnectedAssistantDock", {
|
|
449
449
|
enumerable: true,
|
|
450
|
-
get: function () { return
|
|
450
|
+
get: function () { return chunkBTDL4Q27_cjs.ConnectedAssistantDock; }
|
|
451
451
|
});
|
|
452
452
|
Object.defineProperty(exports, "ConnectionProvider", {
|
|
453
453
|
enumerable: true,
|
|
454
|
-
get: function () { return
|
|
454
|
+
get: function () { return chunkBTDL4Q27_cjs.ConnectionProvider; }
|
|
455
455
|
});
|
|
456
456
|
Object.defineProperty(exports, "SESSION_EXPIRED_MESSAGE", {
|
|
457
457
|
enumerable: true,
|
|
458
|
-
get: function () { return
|
|
458
|
+
get: function () { return chunkBTDL4Q27_cjs.SESSION_EXPIRED_MESSAGE; }
|
|
459
459
|
});
|
|
460
460
|
Object.defineProperty(exports, "isAuthenticated", {
|
|
461
461
|
enumerable: true,
|
|
462
|
-
get: function () { return
|
|
462
|
+
get: function () { return chunkBTDL4Q27_cjs.isAuthenticated; }
|
|
463
463
|
});
|
|
464
464
|
Object.defineProperty(exports, "redlineStats", {
|
|
465
465
|
enumerable: true,
|
|
466
|
-
get: function () { return
|
|
466
|
+
get: function () { return chunkBTDL4Q27_cjs.redlineStats; }
|
|
467
467
|
});
|
|
468
468
|
Object.defineProperty(exports, "textToArtifact", {
|
|
469
469
|
enumerable: true,
|
|
470
|
-
get: function () { return
|
|
470
|
+
get: function () { return chunkBTDL4Q27_cjs.textToArtifact; }
|
|
471
471
|
});
|
|
472
472
|
Object.defineProperty(exports, "toRedlineMarkdown", {
|
|
473
473
|
enumerable: true,
|
|
474
|
-
get: function () { return
|
|
474
|
+
get: function () { return chunkBTDL4Q27_cjs.toRedlineMarkdown; }
|
|
475
475
|
});
|
|
476
476
|
Object.defineProperty(exports, "useConnectedAiTask", {
|
|
477
477
|
enumerable: true,
|
|
478
|
-
get: function () { return
|
|
478
|
+
get: function () { return chunkBTDL4Q27_cjs.useConnectedAiTask; }
|
|
479
479
|
});
|
|
480
480
|
Object.defineProperty(exports, "useConnectedChat", {
|
|
481
481
|
enumerable: true,
|
|
482
|
-
get: function () { return
|
|
482
|
+
get: function () { return chunkBTDL4Q27_cjs.useConnectedChat; }
|
|
483
483
|
});
|
|
484
484
|
Object.defineProperty(exports, "useConnection", {
|
|
485
485
|
enumerable: true,
|
|
486
|
-
get: function () { return
|
|
486
|
+
get: function () { return chunkBTDL4Q27_cjs.useConnection; }
|
|
487
487
|
});
|
|
488
488
|
Object.defineProperty(exports, "useSemanticSearch", {
|
|
489
489
|
enumerable: true,
|
|
490
|
-
get: function () { return
|
|
490
|
+
get: function () { return chunkBTDL4Q27_cjs.useSemanticSearch; }
|
|
491
491
|
});
|
|
492
492
|
Object.defineProperty(exports, "useWorkspaceDocs", {
|
|
493
493
|
enumerable: true,
|
|
494
|
-
get: function () { return
|
|
494
|
+
get: function () { return chunkBTDL4Q27_cjs.useWorkspaceDocs; }
|
|
495
495
|
});
|
|
496
496
|
exports.ArbiAppProvider = ArbiAppProvider;
|
|
497
497
|
exports.ConnectedDangerZone = ConnectedDangerZone;
|
package/dist/connect/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
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
|
-
import { ConnectionProvider, useConnection } from '../chunk-
|
|
4
|
-
export { ConnectedAssistantDock, ConnectionProvider, SESSION_EXPIRED_MESSAGE, isAuthenticated, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useConnection, useSemanticSearch, useWorkspaceDocs } from '../chunk-
|
|
3
|
+
import { ConnectionProvider, useConnection } from '../chunk-2T2ZMOA6.js';
|
|
4
|
+
export { ConnectedAssistantDock, ConnectionProvider, SESSION_EXPIRED_MESSAGE, isAuthenticated, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useConnection, useSemanticSearch, useWorkspaceDocs } from '../chunk-2T2ZMOA6.js';
|
|
5
5
|
import { StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
|
|
6
6
|
import '../chunk-VILAPTCB.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-JLPYOPCX.js';
|
|
8
8
|
import '../chunk-KZJAG7T3.js';
|
|
9
9
|
import '../chunk-NPLYHR2E.js';
|
|
10
10
|
import { initials } from '../chunk-OXF2IFXG.js';
|