@arbidocs/blocks 0.4.121 → 0.4.123
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-IZWYNFMM.cjs → StreamedArtifactEditor-DNBDUNP2.cjs} +5 -5
- package/dist/{StreamedArtifactEditor-IZWYNFMM.cjs.map → StreamedArtifactEditor-DNBDUNP2.cjs.map} +1 -1
- package/dist/{StreamedArtifactEditor-HTNPG4NB.js → StreamedArtifactEditor-WDHPTWX7.js} +3 -3
- package/dist/{StreamedArtifactEditor-HTNPG4NB.js.map → StreamedArtifactEditor-WDHPTWX7.js.map} +1 -1
- package/dist/agents/index.cjs +392 -328
- package/dist/agents/index.js +11 -11
- package/dist/agents/tasks/ConversationListView.d.ts +2 -1
- package/dist/agents/tasks/ConversationTurnSpeaker.d.ts +3 -1
- package/dist/agents/tasks/TaskFlow.d.ts +17 -0
- package/dist/agents/tasks/ThreadLauncher.d.ts +51 -0
- package/dist/agents/tasks/ThreadStatusLine.d.ts +33 -0
- package/dist/agents/tasks/WorkflowRunStatus.d.ts +32 -0
- package/dist/agents/tasks/WorkflowThreadStrip.d.ts +29 -3
- package/dist/agents/tasks/compact-thread-activity.d.ts +5 -2
- package/dist/agents/tasks/index.d.ts +3 -0
- package/dist/agents/workflows/StepBarFrame.d.ts +18 -17
- package/dist/agents/workflows/StepChip.d.ts +37 -0
- package/dist/agents/workflows/StepDocuments.d.ts +64 -0
- package/dist/agents/workflows/WorkflowStepBar.d.ts +1 -2
- package/dist/agents/workflows/index.d.ts +2 -0
- package/dist/agents/workflows/stepKinds.d.ts +24 -0
- package/dist/artifacts/VersionTimeline.d.ts +7 -0
- package/dist/artifacts/index.cjs +21 -21
- package/dist/artifacts/index.js +1 -1
- package/dist/calls/index.cjs +1 -1
- package/dist/calls/index.js +1 -1
- package/dist/chat/ChatPage.d.ts +1 -1
- package/dist/chat/DraftingDocChip.d.ts +22 -0
- package/dist/chat/WorkflowStepChip.d.ts +23 -5
- package/dist/chat/chat-page-types.d.ts +18 -2
- package/dist/chat/flashMessage.d.ts +6 -0
- package/dist/chat/index.cjs +144 -131
- package/dist/chat/index.d.ts +2 -0
- package/dist/chat/index.js +4 -3
- package/dist/{chunk-UDK553WP.cjs → chunk-4VCKYR4D.cjs} +4 -4
- package/dist/{chunk-UDK553WP.cjs.map → chunk-4VCKYR4D.cjs.map} +1 -1
- package/dist/{chunk-5JVPLVDT.cjs → chunk-7FZWNDPU.cjs} +163 -837
- package/dist/chunk-7FZWNDPU.cjs.map +1 -0
- package/dist/chunk-7HAM7Y5U.js +907 -0
- package/dist/chunk-7HAM7Y5U.js.map +1 -0
- package/dist/{chunk-TCNYKDYE.js → chunk-CXLVI3SB.js} +73 -40
- package/dist/chunk-CXLVI3SB.js.map +1 -0
- package/dist/chunk-HM23LXUP.cjs +976 -0
- package/dist/chunk-HM23LXUP.cjs.map +1 -0
- package/dist/{chunk-WN64RF46.js → chunk-HQH35JWC.js} +3 -3
- package/dist/{chunk-WN64RF46.js.map → chunk-HQH35JWC.js.map} +1 -1
- package/dist/{chunk-DFHDWO6U.js → chunk-MD7RVFKA.js} +132 -752
- package/dist/chunk-MD7RVFKA.js.map +1 -0
- package/dist/{chunk-65HZ36MY.js → chunk-OTDGTBAS.js} +20 -3
- package/dist/chunk-OTDGTBAS.js.map +1 -0
- package/dist/{chunk-5Y7JRY7Y.js → chunk-P5ST47VY.js} +3 -3
- package/dist/{chunk-5Y7JRY7Y.js.map → chunk-P5ST47VY.js.map} +1 -1
- package/dist/{chunk-N5S6JG7S.js → chunk-RARHNGKM.js} +735 -187
- package/dist/chunk-RARHNGKM.js.map +1 -0
- package/dist/{chunk-4MRQKBD2.js → chunk-SOZNA52K.js} +3 -3
- package/dist/{chunk-4MRQKBD2.js.map → chunk-SOZNA52K.js.map} +1 -1
- package/dist/{chunk-GIEHWHVO.cjs → chunk-U2F4SSJR.cjs} +5 -5
- package/dist/{chunk-GIEHWHVO.cjs.map → chunk-U2F4SSJR.cjs.map} +1 -1
- package/dist/{chunk-SCLMCCMU.cjs → chunk-V4V2CVNE.cjs} +778 -224
- package/dist/chunk-V4V2CVNE.cjs.map +1 -0
- package/dist/{chunk-CK4C3IQR.cjs → chunk-VMZXFYHK.cjs} +47 -6
- package/dist/chunk-VMZXFYHK.cjs.map +1 -0
- package/dist/{chunk-SVJQWLOF.cjs → chunk-W4GXDARU.cjs} +20 -3
- package/dist/chunk-W4GXDARU.cjs.map +1 -0
- package/dist/{chunk-S2KVJYBD.cjs → chunk-WV4IDVDQ.cjs} +76 -43
- package/dist/chunk-WV4IDVDQ.cjs.map +1 -0
- package/dist/{chunk-2FUJXMGO.js → chunk-Y4X3RBFI.js} +44 -6
- package/dist/{chunk-CK4C3IQR.cjs.map → chunk-Y4X3RBFI.js.map} +1 -1
- package/dist/{chunk-NYHGG2IA.cjs → chunk-ZV3BKLFY.cjs} +3 -3
- package/dist/{chunk-NYHGG2IA.cjs.map → chunk-ZV3BKLFY.cjs.map} +1 -1
- package/dist/collaboration/index.cjs +10 -10
- package/dist/collaboration/index.js +2 -2
- package/dist/connect/index.cjs +66 -49
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +36 -19
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/WorkflowRunThread.d.ts +4 -4
- package/dist/connection/ai.d.ts +2 -0
- package/dist/document-tools/index.cjs +1 -1
- package/dist/document-tools/index.js +1 -1
- package/dist/facts/index.cjs +2 -2
- package/dist/facts/index.js +2 -2
- package/dist/files/index.cjs +3 -3
- package/dist/files/index.js +3 -3
- package/dist/home/index.cjs +17 -17
- package/dist/home/index.js +3 -3
- package/dist/index.cjs +790 -714
- package/dist/index.js +19 -19
- package/dist/settings/index.cjs +12 -12
- package/dist/settings/index.js +4 -4
- package/dist/shell/index.cjs +10 -10
- package/dist/shell/index.js +2 -2
- package/dist/site/index.cjs +5 -5
- package/dist/site/index.js +1 -1
- package/dist/studio/index.cjs +6 -5
- package/dist/studio/index.cjs.map +1 -1
- package/dist/studio/index.js +5 -4
- package/dist/studio/index.js.map +1 -1
- package/dist/workflow-canvas/WorkflowCanvas.d.ts +0 -9
- package/dist/workflow-canvas/edit.d.ts +2 -11
- package/dist/workflow-canvas/index.cjs +65 -89
- package/dist/workflow-canvas/index.cjs.map +1 -1
- package/dist/workflow-canvas/index.js +16 -40
- package/dist/workflow-canvas/index.js.map +1 -1
- package/dist/workspaces/index.cjs +1 -1
- package/dist/workspaces/index.js +1 -1
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +4 -4
- package/src/blocks.css +168 -0
- package/src/workflow-canvas/canvas.css +2 -40
- package/dist/chunk-2FUJXMGO.js.map +0 -1
- package/dist/chunk-5JVPLVDT.cjs.map +0 -1
- package/dist/chunk-65HZ36MY.js.map +0 -1
- package/dist/chunk-B4SRYJLM.cjs +0 -107
- package/dist/chunk-B4SRYJLM.cjs.map +0 -1
- package/dist/chunk-DFHDWO6U.js.map +0 -1
- package/dist/chunk-HOXKR26S.js +0 -103
- package/dist/chunk-HOXKR26S.js.map +0 -1
- package/dist/chunk-N5S6JG7S.js.map +0 -1
- package/dist/chunk-S2KVJYBD.cjs.map +0 -1
- package/dist/chunk-SCLMCCMU.cjs.map +0 -1
- package/dist/chunk-SVJQWLOF.cjs.map +0 -1
- package/dist/chunk-TCNYKDYE.js.map +0 -1
package/dist/connect/index.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { FilesFilterBar, FolderFilterButton, FolderPickerRow } from '../chunk-7RJTEWYM.js';
|
|
3
2
|
import { SettingsSection, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, SettingsCard, SettingsActionRow, PasswordChangeDialog, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews } from '../chunk-GFYGYME3.js';
|
|
4
|
-
import { useWorkspaceDocs } from '../chunk-
|
|
5
|
-
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-
|
|
3
|
+
import { useWorkspaceDocs } from '../chunk-HQH35JWC.js';
|
|
4
|
+
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-HQH35JWC.js';
|
|
6
5
|
import { ConnectedNativeDocxEditor } from '../chunk-SHASZLGD.js';
|
|
7
6
|
import { ConnectionProvider, useConnection } from '../chunk-OYMWV45N.js';
|
|
8
7
|
export { ConnectionProvider, SESSION_EXPIRED_MESSAGE, isAuthenticated, useConnection } from '../chunk-OYMWV45N.js';
|
|
@@ -10,26 +9,27 @@ import { SignDocumentDialog } from '../chunk-2YOVK524.js';
|
|
|
10
9
|
import '../chunk-GYAUJ4KT.js';
|
|
11
10
|
import '../chunk-BDSKKIFZ.js';
|
|
12
11
|
import '../chunk-HFZ45FD3.js';
|
|
13
|
-
import {
|
|
12
|
+
import { FilesFilterBar, FolderFilterButton, FolderPickerRow } from '../chunk-7RJTEWYM.js';
|
|
13
|
+
import { WorkspaceActivityList, WorkspaceNotificationMenu, ThreadFollowMenuItem, ThreadFollowButton, TagTable, tagTableDocx } from '../chunk-SOZNA52K.js';
|
|
14
14
|
import { PlainMailBodyEditor, draftMailCompose, replyMailCompose, emptyMailCompose, MailGrid, MailMessageView, MailDocumentPicker, parseMailRecipients } from '../chunk-IXTQYFIF.js';
|
|
15
15
|
import { DOCX_MIME_TYPE } from '../chunk-QXMR5YHC.js';
|
|
16
16
|
import '../chunk-AF6RDAJF.js';
|
|
17
|
-
import {
|
|
18
|
-
import '../chunk-
|
|
17
|
+
import { WorkflowStepBar, WorkflowRunner, fromPlanSteps, toPlanSteps, useWorkflowView } from '../chunk-MD7RVFKA.js';
|
|
18
|
+
import '../chunk-XD2M6LIG.js';
|
|
19
19
|
import { TriStateFilterMenu } from '../chunk-6S5FLMWG.js';
|
|
20
|
-
import '../chunk-
|
|
20
|
+
import '../chunk-EVUEIBNU.js';
|
|
21
21
|
import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
22
22
|
import '../chunk-N5YEF3LC.js';
|
|
23
|
-
import '../chunk-XD2M6LIG.js';
|
|
24
23
|
import { StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
|
|
25
24
|
import '../chunk-VILAPTCB.js';
|
|
26
|
-
import {
|
|
25
|
+
import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
26
|
+
import { ModalScaffold } from '../chunk-TX2ZICS7.js';
|
|
27
|
+
import { ChatPage } from '../chunk-CXLVI3SB.js';
|
|
27
28
|
import '../chunk-7XF5SFJ2.js';
|
|
28
|
-
import '../chunk-
|
|
29
|
+
import { splitDocRef, stepLevels, stepDocuments, stepKindOf, initialRunInputs, workflowSteps, stepStatesFromActivity, runThreadTitle, stepFields } from '../chunk-7HAM7Y5U.js';
|
|
29
30
|
import '../chunk-AA3PT6KR.js';
|
|
31
|
+
import '../chunk-AUS3KBHJ.js';
|
|
30
32
|
import '../chunk-SLSBJRWW.js';
|
|
31
|
-
import { ModalScaffold } from '../chunk-TX2ZICS7.js';
|
|
32
|
-
import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
33
33
|
import '../chunk-NPLYHR2E.js';
|
|
34
34
|
import '../chunk-7F6CBP3Z.js';
|
|
35
35
|
import { initials } from '../chunk-OXF2IFXG.js';
|
|
@@ -220,7 +220,7 @@ function ConnectedSkillUpload() {
|
|
|
220
220
|
upload.error && /* @__PURE__ */ jsx("p", { role: "alert", className: "text-sm text-destructive", children: upload.error.message })
|
|
221
221
|
] });
|
|
222
222
|
}
|
|
223
|
-
var StreamedArtifactEditor = lazy(() => import('../StreamedArtifactEditor-
|
|
223
|
+
var StreamedArtifactEditor = lazy(() => import('../StreamedArtifactEditor-WDHPTWX7.js'));
|
|
224
224
|
function StreamedArtifact({
|
|
225
225
|
artifacts,
|
|
226
226
|
workspaceId,
|
|
@@ -528,7 +528,7 @@ function WorkflowRunThread({
|
|
|
528
528
|
conversationId,
|
|
529
529
|
workspaceId,
|
|
530
530
|
aside,
|
|
531
|
-
|
|
531
|
+
stepOf,
|
|
532
532
|
targetMessageId,
|
|
533
533
|
onOpenCitation,
|
|
534
534
|
labels,
|
|
@@ -548,7 +548,7 @@ function WorkflowRunThread({
|
|
|
548
548
|
documentsRequired: false,
|
|
549
549
|
aside,
|
|
550
550
|
asideBreakpoint: 52,
|
|
551
|
-
|
|
551
|
+
workflowStepOf: stepOf,
|
|
552
552
|
targetMessageId,
|
|
553
553
|
onOpenCitation,
|
|
554
554
|
labels,
|
|
@@ -1035,7 +1035,24 @@ function ConnectedWorkflowRunner({
|
|
|
1035
1035
|
{
|
|
1036
1036
|
conversationId,
|
|
1037
1037
|
workspaceId: wsId,
|
|
1038
|
-
|
|
1038
|
+
stepOf: (id) => {
|
|
1039
|
+
const step = view.steps.find((s) => s.id === id);
|
|
1040
|
+
if (!step) return void 0;
|
|
1041
|
+
const states = Object.fromEntries(
|
|
1042
|
+
view.steps.flatMap((s) => {
|
|
1043
|
+
const state = view.stateOf(s.id);
|
|
1044
|
+
return state ? [[s.id, state]] : [];
|
|
1045
|
+
})
|
|
1046
|
+
);
|
|
1047
|
+
const ref = stepDocuments(view.steps, states, id).at(-1);
|
|
1048
|
+
const open = actions.openDocument ?? actions.openRedline;
|
|
1049
|
+
return {
|
|
1050
|
+
title: step.title,
|
|
1051
|
+
kind: stepKindOf(step),
|
|
1052
|
+
phase: view.phaseOf(id),
|
|
1053
|
+
document: ref && open ? { name: nameOfDoc(splitDocRef(ref).id) ?? ref, onOpen: () => open(ref) } : void 0
|
|
1054
|
+
};
|
|
1055
|
+
},
|
|
1039
1056
|
targetMessageId: target,
|
|
1040
1057
|
onOpenCitation: openCitation,
|
|
1041
1058
|
labels: { workflows: l.currentStep },
|
|
@@ -1801,9 +1818,9 @@ function mapWorkNotification(note) {
|
|
|
1801
1818
|
}
|
|
1802
1819
|
const titles = {
|
|
1803
1820
|
mention: `${sender} mentioned you in a conversation`,
|
|
1804
|
-
workspace_access_request: `${sender} needs workspace access to run a
|
|
1805
|
-
conversation_ready: `${sender}
|
|
1806
|
-
conversation_done: `${sender} marked a
|
|
1821
|
+
workspace_access_request: `${sender} needs workspace access to run a thread`,
|
|
1822
|
+
conversation_ready: note.sender.external_id === note.recipient.external_id ? "Your thread is ready" : `${sender}\u2019s thread is ready`,
|
|
1823
|
+
conversation_done: `${sender} marked a thread done`
|
|
1807
1824
|
};
|
|
1808
1825
|
const title = titles[note.type];
|
|
1809
1826
|
if (!title || !note.workspace_ext_id || !note.conversation_ext_id?.match(/^con-[a-zA-Z0-9]+$/))
|