@arbidocs/blocks 0.4.77 → 0.4.78
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 +289 -277
- package/dist/agents/index.js +5 -5
- package/dist/agents/tasks/WorkflowThreadStrip.d.ts +9 -4
- package/dist/agents/workflows/StepBarFrame.d.ts +75 -0
- package/dist/agents/workflows/WorkflowRunner.d.ts +5 -1
- package/dist/agents/workflows/WorkflowStepBar.d.ts +9 -11
- package/dist/agents/workflows/index.d.ts +2 -0
- package/dist/agents/workflows/stepWindow.d.ts +59 -0
- package/dist/chat/ChatPage.d.ts +1 -1
- package/dist/chat/chat-page-types.d.ts +5 -0
- package/dist/chat/index.cjs +124 -124
- package/dist/chat/index.js +2 -2
- package/dist/{chunk-HEVVT6IT.js → chunk-5OC5CGYX.js} +128 -124
- package/dist/chunk-5OC5CGYX.js.map +1 -0
- package/dist/chunk-CWAZNXC5.js +441 -0
- package/dist/chunk-CWAZNXC5.js.map +1 -0
- package/dist/{chunk-NIP5BOP7.js → chunk-EWSEQEPL.js} +5 -4
- package/dist/chunk-EWSEQEPL.js.map +1 -0
- package/dist/{chunk-UEU23PTW.js → chunk-ICBAFX5B.js} +3 -3
- package/dist/{chunk-UEU23PTW.js.map → chunk-ICBAFX5B.js.map} +1 -1
- package/dist/{chunk-EKIUMNCN.cjs → chunk-IF6VAYIA.cjs} +5 -5
- package/dist/{chunk-EKIUMNCN.cjs.map → chunk-IF6VAYIA.cjs.map} +1 -1
- package/dist/chunk-MLAHDAN5.cjs +450 -0
- package/dist/chunk-MLAHDAN5.cjs.map +1 -0
- package/dist/{chunk-HOD6OM7L.cjs → chunk-MP6FK43E.cjs} +5 -4
- package/dist/chunk-MP6FK43E.cjs.map +1 -0
- package/dist/{chunk-JFUN4D7D.cjs → chunk-SSDISIDW.cjs} +152 -148
- package/dist/chunk-SSDISIDW.cjs.map +1 -0
- package/dist/{chunk-3XR3IEGU.cjs → chunk-VFIZYSZB.cjs} +573 -168
- package/dist/chunk-VFIZYSZB.cjs.map +1 -0
- package/dist/{chunk-34UW6XUQ.js → chunk-WXRCMIAE.js} +567 -172
- package/dist/chunk-WXRCMIAE.js.map +1 -0
- package/dist/{chunk-GTXOV7IJ.cjs → chunk-XMBYDLZQ.cjs} +4 -4
- package/dist/{chunk-GTXOV7IJ.cjs.map → chunk-XMBYDLZQ.cjs.map} +1 -1
- package/dist/{chunk-OEM5ARVM.js → chunk-XQDM6T6C.js} +3 -3
- package/dist/{chunk-OEM5ARVM.js.map → chunk-XQDM6T6C.js.map} +1 -1
- package/dist/connect/index.cjs +209 -53
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +2 -0
- package/dist/connect/index.js +190 -36
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/ConnectedTagMatrix.d.ts +20 -0
- package/dist/connection/ConnectedWorkflowRunner.d.ts +13 -1
- package/dist/connection/WorkflowRunThread.d.ts +21 -0
- package/dist/facts/index.cjs +1 -1
- package/dist/facts/index.js +1 -1
- package/dist/files/index.cjs +1 -1
- package/dist/files/index.js +1 -1
- package/dist/home/index.cjs +1 -1
- package/dist/home/index.js +1 -1
- package/dist/index.cjs +492 -447
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +9 -8
- package/dist/index.js.map +1 -1
- package/dist/shell/index.cjs +1 -1
- package/dist/shell/index.js +1 -1
- package/dist/studio/index.cjs +4 -4
- package/dist/studio/index.js +3 -3
- package/dist/tags/TagMatrix.d.ts +64 -0
- package/dist/tags/index.d.ts +3 -0
- package/dist/tags/tagMatrixModel.d.ts +39 -0
- package/dist/workflow-canvas/index.cjs +48 -48
- package/dist/workflow-canvas/index.js +5 -5
- package/package.json +4 -4
- package/dist/chunk-34UW6XUQ.js.map +0 -1
- package/dist/chunk-3XR3IEGU.cjs.map +0 -1
- package/dist/chunk-HEVVT6IT.js.map +0 -1
- package/dist/chunk-HOD6OM7L.cjs.map +0 -1
- package/dist/chunk-JFUN4D7D.cjs.map +0 -1
- package/dist/chunk-NIP5BOP7.js.map +0 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `TagMatrix` bound to the connection: a parent label's children from `useTagMatrix`, cells saved
|
|
3
|
+
* with `useUpdateTagFields`, "Add row" creating a child label, the workspace's people for person
|
|
4
|
+
* columns, and the export filed in the workspace as a Markdown document (its id goes to
|
|
5
|
+
* `onExported`, so a host can open it or send it for signature).
|
|
6
|
+
*/
|
|
7
|
+
import { type TagMatrixProps } from '../tags/TagMatrix';
|
|
8
|
+
export interface ConnectedTagMatrixProps extends Pick<TagMatrixProps, 'onOpenDocument' | 'onOpenFact' | 'onOpenRow' | 'actions' | 'labels' | 'className' | 'testId'> {
|
|
9
|
+
/** The parent label whose children are the rows (`tag-…`). */
|
|
10
|
+
parentId: string;
|
|
11
|
+
/** How many documents and facts each row lists (the rest are counted). Default 3. */
|
|
12
|
+
linksLimit?: number;
|
|
13
|
+
/** The exported document's title; default the parent label's name. */
|
|
14
|
+
exportTitle?: string;
|
|
15
|
+
/** The snapshot was filed: its document id. Absent: no export button. */
|
|
16
|
+
onExported?: (documentId: string) => void;
|
|
17
|
+
/** Read only: no cell edits, no "Add row". */
|
|
18
|
+
readOnly?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare function ConnectedTagMatrix({ parentId, linksLimit, exportTitle, onExported, readOnly, ...props }: ConnectedTagMatrixProps): import("react").JSX.Element;
|
|
@@ -12,6 +12,10 @@ import { type UseWorkflowThreadOptions } from './useWorkflowThread';
|
|
|
12
12
|
import { type WorkflowRunnerDialogLabels } from './WorkflowRunnerDialogs';
|
|
13
13
|
export interface ConnectedWorkflowRunnerLabels {
|
|
14
14
|
notify: string;
|
|
15
|
+
/** An agent step's answer, in the thread layout: a link to it in the thread. */
|
|
16
|
+
showInThread: string;
|
|
17
|
+
/** The thread layout's panel toggle, when the panel folds (a narrow container). */
|
|
18
|
+
currentStep: string;
|
|
15
19
|
/** A finished step whose answer is still being fetched. */
|
|
16
20
|
loadingAnswer: string;
|
|
17
21
|
notified: string;
|
|
@@ -39,7 +43,15 @@ export interface ConnectedWorkflowRunnerProps extends Omit<WorkflowRunnerProps,
|
|
|
39
43
|
*/
|
|
40
44
|
actions?: Pick<WorkflowRunnerActions, 'sign' | 'openRedline' | 'openReview'>;
|
|
41
45
|
dialogLabels?: Partial<WorkflowRunnerDialogLabels>;
|
|
46
|
+
/**
|
|
47
|
+
* `thread` (default): once the run has its thread, the page is that thread, live (follow-ups,
|
|
48
|
+
* answers with their sources, documents), with the step bar on top and the current step in a
|
|
49
|
+
* compact panel beside it; steps' answers link to their message instead of being repeated.
|
|
50
|
+
* Before the thread exists (the first form), and with `guided`, it is the stepper: one step at
|
|
51
|
+
* a time, each answer shown in full.
|
|
52
|
+
*/
|
|
53
|
+
layout?: 'thread' | 'guided';
|
|
42
54
|
}
|
|
43
|
-
export declare function ConnectedWorkflowRunner({ workflow, options, onOpenConversation, emptyHint, connectedLabels, onOpenDocument, onOpenDraft, onOpenMessage, actions: hostActions, dialogLabels, testIdPrefix, ...runnerProps }: ConnectedWorkflowRunnerProps): import("react").JSX.Element;
|
|
55
|
+
export declare function ConnectedWorkflowRunner({ workflow, options, onOpenConversation, emptyHint, connectedLabels, onOpenDocument, onOpenDraft, onOpenMessage, actions: hostActions, dialogLabels, layout, testIdPrefix, ...runnerProps }: ConnectedWorkflowRunnerProps): import("react").JSX.Element;
|
|
44
56
|
/** A document's processing status as the upload step shows it; unknown stays unknown. */
|
|
45
57
|
export declare function fileStatus(status: string | null | undefined): WorkflowRunnerFile['status'];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A workflow run's thread, live and interactive: the blocks `ChatPage` held to the run's one
|
|
3
|
+
* conversation (people ask follow-ups, see the answers and their sources, open documents), with
|
|
4
|
+
* the current step's panel beside it (`aside`). Step messages show as their step's chip.
|
|
5
|
+
*/
|
|
6
|
+
import { type ReactNode } from 'react';
|
|
7
|
+
import type { ChatCitationTarget, ChatPageLabels } from '../chat/chat-page-types';
|
|
8
|
+
export interface WorkflowRunThreadProps {
|
|
9
|
+
conversationId: string;
|
|
10
|
+
workspaceId: string | undefined;
|
|
11
|
+
/** The current step's panel. */
|
|
12
|
+
aside?: ReactNode;
|
|
13
|
+
/** A step's title by id (step messages show it). */
|
|
14
|
+
stepTitle?: (stepId: string) => string | undefined;
|
|
15
|
+
/** Scroll to and mark this message (a step's answer). */
|
|
16
|
+
targetMessageId?: string;
|
|
17
|
+
onOpenCitation?: (target: ChatCitationTarget) => void;
|
|
18
|
+
labels?: Partial<ChatPageLabels>;
|
|
19
|
+
className?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare function WorkflowRunThread({ conversationId, workspaceId, aside, stepTitle, targetMessageId, onOpenCitation, labels, className, }: WorkflowRunThreadProps): import("react").JSX.Element;
|
package/dist/facts/index.cjs
CHANGED
|
@@ -8,9 +8,9 @@ var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
|
8
8
|
var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
|
|
9
9
|
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
10
10
|
var chunkIXALYQT7_cjs = require('../chunk-IXALYQT7.cjs');
|
|
11
|
-
require('../chunk-C54XEN5T.cjs');
|
|
12
11
|
require('../chunk-FX3K6LNZ.cjs');
|
|
13
12
|
var chunkPPCATBOY_cjs = require('../chunk-PPCATBOY.cjs');
|
|
13
|
+
require('../chunk-C54XEN5T.cjs');
|
|
14
14
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
15
15
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
16
16
|
require('../chunk-DES3K4SD.cjs');
|
package/dist/facts/index.js
CHANGED
|
@@ -7,9 +7,9 @@ import { SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
|
|
|
7
7
|
import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
8
8
|
export { DEFAULT_FILTER_INPUT_LABELS as DEFAULT_FACTS_FILTER_INPUT_LABELS, DEFAULT_FILTER_FIELDS as FACTS_SEARCH_FIELD_OPTIONS, FilterInput as FactsFilterInput } from '../chunk-YU2KUMGE.js';
|
|
9
9
|
import { GridView } from '../chunk-ZPLG7QYF.js';
|
|
10
|
-
import '../chunk-76JDDMSP.js';
|
|
11
10
|
import '../chunk-SLSBJRWW.js';
|
|
12
11
|
import { observeResize } from '../chunk-NPLYHR2E.js';
|
|
12
|
+
import '../chunk-76JDDMSP.js';
|
|
13
13
|
import { initials } from '../chunk-OXF2IFXG.js';
|
|
14
14
|
import { testIdOr } from '../chunk-7F6CBP3Z.js';
|
|
15
15
|
import '../chunk-VUNV25KB.js';
|
package/dist/files/index.cjs
CHANGED
|
@@ -11,9 +11,9 @@ var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
|
|
|
11
11
|
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
12
12
|
var chunkIXALYQT7_cjs = require('../chunk-IXALYQT7.cjs');
|
|
13
13
|
var chunkOB5F4577_cjs = require('../chunk-OB5F4577.cjs');
|
|
14
|
-
require('../chunk-C54XEN5T.cjs');
|
|
15
14
|
require('../chunk-FX3K6LNZ.cjs');
|
|
16
15
|
require('../chunk-PPCATBOY.cjs');
|
|
16
|
+
require('../chunk-C54XEN5T.cjs');
|
|
17
17
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
18
18
|
var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
|
|
19
19
|
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
package/dist/files/index.js
CHANGED
|
@@ -12,9 +12,9 @@ import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
|
12
12
|
import { GridView } from '../chunk-ZPLG7QYF.js';
|
|
13
13
|
export { GridView } from '../chunk-ZPLG7QYF.js';
|
|
14
14
|
import { ActionLink } from '../chunk-S7PSMMRG.js';
|
|
15
|
-
import '../chunk-76JDDMSP.js';
|
|
16
15
|
import '../chunk-SLSBJRWW.js';
|
|
17
16
|
import '../chunk-NPLYHR2E.js';
|
|
17
|
+
import '../chunk-76JDDMSP.js';
|
|
18
18
|
import { formatCount } from '../chunk-OXF2IFXG.js';
|
|
19
19
|
import { ShareControl } from '../chunk-K4BGOPGG.js';
|
|
20
20
|
import { ModalSection, ModalSectionTitle, ModalHeader } from '../chunk-TX2ZICS7.js';
|
package/dist/home/index.cjs
CHANGED
|
@@ -6,8 +6,8 @@ var chunkPCB2BPN3_cjs = require('../chunk-PCB2BPN3.cjs');
|
|
|
6
6
|
var chunkZ5VUZ6YD_cjs = require('../chunk-Z5VUZ6YD.cjs');
|
|
7
7
|
var chunk7D737FLE_cjs = require('../chunk-7D737FLE.cjs');
|
|
8
8
|
var chunkOB5F4577_cjs = require('../chunk-OB5F4577.cjs');
|
|
9
|
-
require('../chunk-C54XEN5T.cjs');
|
|
10
9
|
require('../chunk-PPCATBOY.cjs');
|
|
10
|
+
require('../chunk-C54XEN5T.cjs');
|
|
11
11
|
require('../chunk-KDG6FER6.cjs');
|
|
12
12
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
13
13
|
require('../chunk-DES3K4SD.cjs');
|
package/dist/home/index.js
CHANGED
|
@@ -5,8 +5,8 @@ import { SectionHeader, EmptyStrip, QuickActionDialogHeader } from '../chunk-DDF
|
|
|
5
5
|
export { AddFilesFirst, DEFAULT_ADD_FILES_FIRST_LABELS, DEFAULT_SCOPE_PICKER_LABELS, EmptyStrip, QuickActionDialogHeader, ScopePicker, SectionHeader, SectionLabel, StartTiles, useScopeSelection } from '../chunk-DDF5GPIJ.js';
|
|
6
6
|
export { FoldSection } from '../chunk-XD2M6LIG.js';
|
|
7
7
|
import { ActionLink } from '../chunk-S7PSMMRG.js';
|
|
8
|
-
import '../chunk-76JDDMSP.js';
|
|
9
8
|
import '../chunk-NPLYHR2E.js';
|
|
9
|
+
import '../chunk-76JDDMSP.js';
|
|
10
10
|
import '../chunk-OXF2IFXG.js';
|
|
11
11
|
import { testIdOr, prefixedTestId } from '../chunk-7F6CBP3Z.js';
|
|
12
12
|
import '../chunk-VUNV25KB.js';
|