@arbidocs/blocks 0.4.79 → 0.4.80
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/index.cjs +281 -281
- package/dist/agents/index.js +6 -6
- package/dist/agents/workflows/StepBarFrame.d.ts +8 -2
- package/dist/agents/workflows/stepWindow.d.ts +7 -0
- package/dist/chat/index.cjs +125 -125
- package/dist/chat/index.js +3 -3
- package/dist/{chunk-YGUKTFKW.cjs → chunk-2FEQGDW2.cjs} +27 -11
- package/dist/chunk-2FEQGDW2.cjs.map +1 -0
- package/dist/{chunk-BMOL5DN6.js → chunk-A5WCK6ZG.js} +8 -8
- package/dist/chunk-A5WCK6ZG.js.map +1 -0
- package/dist/{chunk-IF6VAYIA.cjs → chunk-C3DRLFU7.cjs} +5 -5
- package/dist/{chunk-IF6VAYIA.cjs.map → chunk-C3DRLFU7.cjs.map} +1 -1
- package/dist/{chunk-O35LRB3P.js → chunk-E367ZUHE.js} +3 -3
- package/dist/{chunk-O35LRB3P.js.map → chunk-E367ZUHE.js.map} +1 -1
- package/dist/{chunk-XMBYDLZQ.cjs → chunk-HUJLKDWX.cjs} +4 -4
- package/dist/{chunk-XMBYDLZQ.cjs.map → chunk-HUJLKDWX.cjs.map} +1 -1
- package/dist/{chunk-ICBAFX5B.js → chunk-LBE36YNZ.js} +3 -3
- package/dist/{chunk-ICBAFX5B.js.map → chunk-LBE36YNZ.js.map} +1 -1
- package/dist/{chunk-3YET6D5E.cjs → chunk-LGDX34UR.cjs} +45 -45
- package/dist/chunk-LGDX34UR.cjs.map +1 -0
- package/dist/{chunk-5XVWGJ2H.cjs → chunk-MFDGNUKX.cjs} +3 -3
- package/dist/{chunk-5XVWGJ2H.cjs.map → chunk-MFDGNUKX.cjs.map} +1 -1
- package/dist/{chunk-MP6FK43E.cjs → chunk-O5NDG4EA.cjs} +3 -3
- package/dist/{chunk-MP6FK43E.cjs.map → chunk-O5NDG4EA.cjs.map} +1 -1
- package/dist/{chunk-DDF5GPIJ.js → chunk-P5ST47VY.js} +3 -3
- package/dist/{chunk-DDF5GPIJ.js.map → chunk-P5ST47VY.js.map} +1 -1
- package/dist/{chunk-EWSEQEPL.js → chunk-PFA43QNX.js} +3 -3
- package/dist/{chunk-EWSEQEPL.js.map → chunk-PFA43QNX.js.map} +1 -1
- package/dist/{chunk-6GXF62XN.js → chunk-QFA3NCWL.js} +26 -12
- package/dist/chunk-QFA3NCWL.js.map +1 -0
- package/dist/{chunk-CWAZNXC5.js → chunk-SWSVPQNB.js} +30 -8
- package/dist/chunk-SWSVPQNB.js.map +1 -0
- package/dist/{chunk-MLAHDAN5.cjs → chunk-UA2AMDR6.cjs} +30 -8
- package/dist/chunk-UA2AMDR6.cjs.map +1 -0
- package/dist/{chunk-XQDM6T6C.js → chunk-WDD255XQ.js} +3 -3
- package/dist/{chunk-XQDM6T6C.js.map → chunk-WDD255XQ.js.map} +1 -1
- package/dist/{chunk-Z5VUZ6YD.cjs → chunk-ZV3BKLFY.cjs} +3 -3
- package/dist/{chunk-Z5VUZ6YD.cjs.map → chunk-ZV3BKLFY.cjs.map} +1 -1
- package/dist/connect/index.cjs +68 -64
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +1 -1
- package/dist/connect/index.js +18 -14
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/ConnectedWorkflowRunner.d.ts +16 -1
- package/dist/facts/index.cjs +2 -2
- package/dist/facts/index.js +2 -2
- package/dist/files/index.cjs +4 -4
- package/dist/files/index.js +4 -4
- package/dist/home/index.cjs +18 -18
- package/dist/home/index.js +4 -4
- package/dist/index.cjs +644 -644
- package/dist/index.js +14 -14
- package/dist/retrieval/index.cjs +1 -1
- package/dist/retrieval/index.js +1 -1
- package/dist/settings/index.cjs +36 -36
- package/dist/settings/index.js +3 -3
- package/dist/shell/index.cjs +1 -1
- package/dist/shell/index.js +1 -1
- package/dist/studio/index.cjs +5 -5
- package/dist/studio/index.js +4 -4
- package/dist/workflow-canvas/index.cjs +49 -49
- package/dist/workflow-canvas/index.js +6 -6
- package/dist/workspaces/index.cjs +1 -1
- package/dist/workspaces/index.js +1 -1
- package/package.json +4 -4
- package/dist/chunk-3YET6D5E.cjs.map +0 -1
- package/dist/chunk-6GXF62XN.js.map +0 -1
- package/dist/chunk-BMOL5DN6.js.map +0 -1
- package/dist/chunk-CWAZNXC5.js.map +0 -1
- package/dist/chunk-MLAHDAN5.cjs.map +0 -1
- package/dist/chunk-YGUKTFKW.cjs.map +0 -1
package/dist/connect/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export { ConnectedTaskAccessRequest } from '../connection/ConnectedTaskAccessReq
|
|
|
9
9
|
export { ConnectedSkillUpload } from '../connection/ConnectedSkillUpload';
|
|
10
10
|
export { useConnectedAiTask, useConnectedChat, ConnectedAssistantDock, useWorkspaceDocs, useSemanticSearch, toRedlineMarkdown, redlineStats, textToArtifact, type AiTaskStatus, type AiRunOptions, type SearchChunk, type ArtifactEvent, } from '../connection/ai';
|
|
11
11
|
export { StreamedArtifact, type StreamedArtifactProps } from '../connection/StreamedArtifact';
|
|
12
|
-
export { ConnectedWorkflowRunner, DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS, type ConnectedWorkflowRunnerProps, type ConnectedWorkflowRunnerLabels, } from '../connection/ConnectedWorkflowRunner';
|
|
12
|
+
export { ConnectedWorkflowRunner, DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS, type ConnectedWorkflowRunnerProps, type ConnectedWorkflowRunnerLabels, type WorkflowRunnerDocument, } from '../connection/ConnectedWorkflowRunner';
|
|
13
13
|
export { WorkflowRunThread, type WorkflowRunThreadProps } from '../connection/WorkflowRunThread';
|
|
14
14
|
export { ConnectedTagMatrix, type ConnectedTagMatrixProps } from '../connection/ConnectedTagMatrix';
|
|
15
15
|
export { useConnectedShellWorkspaces, type UseConnectedShellWorkspacesOptions, } from '../connection/useConnectedShellWorkspaces';
|
package/dist/connect/index.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use client";
|
|
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-
|
|
3
|
-
import { useWorkspaceDocs } from '../chunk-
|
|
4
|
-
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-
|
|
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-E367ZUHE.js';
|
|
3
|
+
import { useWorkspaceDocs } from '../chunk-WDD255XQ.js';
|
|
4
|
+
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-WDD255XQ.js';
|
|
5
5
|
import { ConnectedNativeDocxEditor } from '../chunk-A24C6BNA.js';
|
|
6
6
|
import { ConnectionProvider, useConnection } from '../chunk-OYMWV45N.js';
|
|
7
7
|
export { ConnectionProvider, SESSION_EXPIRED_MESSAGE, isAuthenticated, useConnection } from '../chunk-OYMWV45N.js';
|
|
8
8
|
import { SignDocumentDialog } from '../chunk-FE4ULGOR.js';
|
|
9
9
|
import '../chunk-OPA2Y6YZ.js';
|
|
10
|
-
import { TagMatrix, tagMatrixMarkdown } from '../chunk-
|
|
11
|
-
import { splitDocRef, WorkflowStepBar, stepLevels, WorkflowRunner, initialRunInputs, workflowSteps, fromPlanSteps, stepStatesFromActivity, toPlanSteps, runThreadTitle, useWorkflowView, stepFields } from '../chunk-
|
|
10
|
+
import { TagMatrix, tagMatrixMarkdown } from '../chunk-SWSVPQNB.js';
|
|
11
|
+
import { splitDocRef, WorkflowStepBar, stepLevels, WorkflowRunner, initialRunInputs, workflowSteps, fromPlanSteps, stepStatesFromActivity, toPlanSteps, runThreadTitle, useWorkflowView, stepFields } from '../chunk-QFA3NCWL.js';
|
|
12
12
|
import '../chunk-EVUEIBNU.js';
|
|
13
13
|
import '../chunk-XD2M6LIG.js';
|
|
14
14
|
import { StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
|
|
15
15
|
import '../chunk-VILAPTCB.js';
|
|
16
|
-
import {
|
|
17
|
-
import { ChatPage } from '../chunk-EWSEQEPL.js';
|
|
16
|
+
import { ChatPage } from '../chunk-PFA43QNX.js';
|
|
18
17
|
import '../chunk-KZJAG7T3.js';
|
|
19
18
|
import '../chunk-HOXKR26S.js';
|
|
20
19
|
import '../chunk-AA3PT6KR.js';
|
|
21
20
|
import '../chunk-NPLYHR2E.js';
|
|
22
|
-
import {
|
|
21
|
+
import { ModalScaffold } from '../chunk-TX2ZICS7.js';
|
|
23
22
|
import '../chunk-7F6CBP3Z.js';
|
|
23
|
+
import { initials } from '../chunk-OXF2IFXG.js';
|
|
24
24
|
import '../chunk-VUNV25KB.js';
|
|
25
25
|
import { lazy, useState, Suspense, useEffect, useRef, useCallback, useMemo } from 'react';
|
|
26
26
|
import { QueryClient, QueryClientProvider, useQueryClient, useQuery } from '@tanstack/react-query';
|
|
@@ -598,6 +598,7 @@ function ConnectedWorkflowRunner({
|
|
|
598
598
|
actions: hostActions,
|
|
599
599
|
dialogLabels,
|
|
600
600
|
layout = "thread",
|
|
601
|
+
fileFilter,
|
|
601
602
|
testIdPrefix = "workflow-run",
|
|
602
603
|
...runnerProps
|
|
603
604
|
}) {
|
|
@@ -659,12 +660,7 @@ function ConnectedWorkflowRunner({
|
|
|
659
660
|
},
|
|
660
661
|
[arbi, ensureWorkspaceOpen, refetch]
|
|
661
662
|
);
|
|
662
|
-
const files = docs
|
|
663
|
-
id: d.external_id,
|
|
664
|
-
name: d.file_name ?? d.external_id,
|
|
665
|
-
status: fileStatus(d.status),
|
|
666
|
-
addedFor: added[d.external_id]
|
|
667
|
-
}));
|
|
663
|
+
const files = runnerFiles(docs, added, fileFilter);
|
|
668
664
|
const reading = files.some((f) => f.addedFor && f.status === "processing");
|
|
669
665
|
useEffect(() => {
|
|
670
666
|
if (!reading) return;
|
|
@@ -804,6 +800,14 @@ function ConnectedWorkflowRunner({
|
|
|
804
800
|
] });
|
|
805
801
|
}
|
|
806
802
|
var READ_POLL_MS = 3e3;
|
|
803
|
+
function runnerFiles(docs, added, fileFilter) {
|
|
804
|
+
return docs.filter((d) => !fileFilter || added[d.external_id] || fileFilter(d)).map((d) => ({
|
|
805
|
+
id: d.external_id,
|
|
806
|
+
name: d.file_name ?? d.external_id,
|
|
807
|
+
status: fileStatus(d.status),
|
|
808
|
+
addedFor: added[d.external_id]
|
|
809
|
+
}));
|
|
810
|
+
}
|
|
807
811
|
function fileStatus(status) {
|
|
808
812
|
const s = status?.toLowerCase();
|
|
809
813
|
if (!s) return void 0;
|