@arbidocs/blocks 0.4.115 → 0.4.117
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 +207 -207
- package/dist/agents/index.js +2 -2
- package/dist/{chunk-FXUQZFAN.cjs → chunk-226AULED.cjs} +3 -3
- package/dist/{chunk-FXUQZFAN.cjs.map → chunk-226AULED.cjs.map} +1 -1
- package/dist/{chunk-6Z7DLJU2.js → chunk-JXZDGTJG.js} +3 -3
- package/dist/{chunk-6Z7DLJU2.js.map → chunk-JXZDGTJG.js.map} +1 -1
- package/dist/connection/ConnectedWorkflowBuilder.d.ts +21 -3
- 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 +253 -253
- package/dist/index.js +3 -3
- package/dist/retrieval/index.cjs +1 -1
- package/dist/retrieval/index.js +1 -1
- package/dist/settings/FirmPool.d.ts +14 -3
- package/dist/settings/index.cjs +29 -8
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.js +29 -8
- package/dist/settings/index.js.map +1 -1
- package/dist/shell/index.cjs +1 -1
- package/dist/shell/index.js +1 -1
- package/dist/studio/index.cjs +1 -1
- package/dist/studio/index.js +1 -1
- package/dist/workflow-canvas/index.cjs +9 -10
- package/dist/workflow-canvas/index.cjs.map +1 -1
- package/dist/workflow-canvas/index.js +2 -3
- package/dist/workflow-canvas/index.js.map +1 -1
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +4 -4
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* `@arbidocs/blocks/workflow-canvas` (it brings the graph library).
|
|
7
7
|
*/
|
|
8
8
|
import { type ReactNode } from 'react';
|
|
9
|
+
import type { components } from '@arbidocs/client';
|
|
9
10
|
import { type StepComposeOptions, type WorkflowDefinition } from '../agents';
|
|
10
11
|
import { type WorkflowBuilderProps } from '../workflow-canvas/WorkflowBuilder';
|
|
11
12
|
import { type WorkflowBuilderValue } from '../workflow-canvas/trigger';
|
|
@@ -20,11 +21,28 @@ export interface ConnectedWorkflowBuilderLabels {
|
|
|
20
21
|
failed: string;
|
|
21
22
|
}
|
|
22
23
|
export declare const DEFAULT_CONNECTED_WORKFLOW_BUILDER_LABELS: ConnectedWorkflowBuilderLabels;
|
|
24
|
+
/**
|
|
25
|
+
* A workspace event a workflow can start on: a notification type (what the API's `event_kind` check
|
|
26
|
+
* accepts), except those the workflow engine emits itself, which the API refuses as a trigger (422).
|
|
27
|
+
*/
|
|
28
|
+
export type WorkflowEventKind = Exclude<components['schemas']['NotificationType'], 'workflow_failed'>;
|
|
23
29
|
/** Workspace events a workflow can start on (notification types), in plain words. */
|
|
24
|
-
export declare const DEFAULT_WORKFLOW_EVENT_KINDS: {
|
|
25
|
-
value:
|
|
30
|
+
export declare const DEFAULT_WORKFLOW_EVENT_KINDS: ({
|
|
31
|
+
value: "conversation_done";
|
|
32
|
+
label: string;
|
|
33
|
+
} | {
|
|
34
|
+
value: "conversation_ready";
|
|
35
|
+
label: string;
|
|
36
|
+
} | {
|
|
37
|
+
value: "mention";
|
|
38
|
+
label: string;
|
|
39
|
+
} | {
|
|
40
|
+
value: "workflow_completed";
|
|
41
|
+
label: string;
|
|
42
|
+
} | {
|
|
43
|
+
value: "workflow_signal";
|
|
26
44
|
label: string;
|
|
27
|
-
}[];
|
|
45
|
+
})[];
|
|
28
46
|
export interface ConnectedWorkflowBuilderProps extends Pick<StepComposeOptions, 'compose'>, Pick<WorkflowBuilderProps, 'renderIcon' | 'labels' | 'canvasLabels' | 'inspectorLabels' | 'triggerLabels' | 'testId' | 'className'> {
|
|
29
47
|
/** A saved workflow to edit (`wfl-…`). */
|
|
30
48
|
workflowId?: string;
|
package/dist/facts/index.cjs
CHANGED
|
@@ -10,10 +10,10 @@ var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
|
|
|
10
10
|
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
11
11
|
var chunkC2CWWEHO_cjs = require('../chunk-C2CWWEHO.cjs');
|
|
12
12
|
var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
13
|
+
require('../chunk-C54XEN5T.cjs');
|
|
13
14
|
require('../chunk-FX3K6LNZ.cjs');
|
|
14
15
|
var chunkPPCATBOY_cjs = require('../chunk-PPCATBOY.cjs');
|
|
15
16
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
16
|
-
require('../chunk-C54XEN5T.cjs');
|
|
17
17
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
18
18
|
require('../chunk-DES3K4SD.cjs');
|
|
19
19
|
var lucideReact = require('lucide-react');
|
package/dist/facts/index.js
CHANGED
|
@@ -10,10 +10,10 @@ import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
|
10
10
|
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';
|
|
11
11
|
import { GridView } from '../chunk-N5YEF3LC.js';
|
|
12
12
|
import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
13
|
+
import '../chunk-76JDDMSP.js';
|
|
13
14
|
import '../chunk-SLSBJRWW.js';
|
|
14
15
|
import { observeResize } from '../chunk-NPLYHR2E.js';
|
|
15
16
|
import { testIdOr } from '../chunk-7F6CBP3Z.js';
|
|
16
|
-
import '../chunk-76JDDMSP.js';
|
|
17
17
|
import { initials } from '../chunk-OXF2IFXG.js';
|
|
18
18
|
import '../chunk-VUNV25KB.js';
|
|
19
19
|
import { PencilLine, Check, MoreVertical, Pencil, Trash2, CalendarDays, X, Columns3, ChevronDown, RotateCcw, Milestone, CalendarClock, Scale, Lightbulb, ArrowRight, Loader2, Info, Paperclip, Tags, MoreHorizontal, FolderUp, BookMarked, Plus, Search, CheckCircle2, CornerDownLeft, Quote, ChevronLeft, ChevronRight, Table2, CalendarRange, GanttChartSquare } from 'lucide-react';
|
package/dist/files/index.cjs
CHANGED
|
@@ -15,10 +15,10 @@ var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
|
|
|
15
15
|
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
16
16
|
var chunkC2CWWEHO_cjs = require('../chunk-C2CWWEHO.cjs');
|
|
17
17
|
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
18
|
+
require('../chunk-C54XEN5T.cjs');
|
|
18
19
|
require('../chunk-FX3K6LNZ.cjs');
|
|
19
20
|
require('../chunk-PPCATBOY.cjs');
|
|
20
21
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
21
|
-
require('../chunk-C54XEN5T.cjs');
|
|
22
22
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
23
23
|
require('../chunk-DES3K4SD.cjs');
|
|
24
24
|
var classVarianceAuthority = require('class-variance-authority');
|
package/dist/files/index.js
CHANGED
|
@@ -16,10 +16,10 @@ import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
|
16
16
|
import { GridView } from '../chunk-N5YEF3LC.js';
|
|
17
17
|
export { GridView } from '../chunk-N5YEF3LC.js';
|
|
18
18
|
import { ModalSection, ModalSectionTitle, ModalHeader } from '../chunk-TX2ZICS7.js';
|
|
19
|
+
import '../chunk-76JDDMSP.js';
|
|
19
20
|
import '../chunk-SLSBJRWW.js';
|
|
20
21
|
import '../chunk-NPLYHR2E.js';
|
|
21
22
|
import { testIdOr, prefixedTestId } from '../chunk-7F6CBP3Z.js';
|
|
22
|
-
import '../chunk-76JDDMSP.js';
|
|
23
23
|
import { formatCount } from '../chunk-OXF2IFXG.js';
|
|
24
24
|
import '../chunk-VUNV25KB.js';
|
|
25
25
|
import { cva } from 'class-variance-authority';
|
package/dist/home/index.cjs
CHANGED
|
@@ -6,9 +6,9 @@ var chunkPCB2BPN3_cjs = require('../chunk-PCB2BPN3.cjs');
|
|
|
6
6
|
var chunkZV3BKLFY_cjs = require('../chunk-ZV3BKLFY.cjs');
|
|
7
7
|
var chunk7D737FLE_cjs = require('../chunk-7D737FLE.cjs');
|
|
8
8
|
var chunkOB5F4577_cjs = require('../chunk-OB5F4577.cjs');
|
|
9
|
+
require('../chunk-C54XEN5T.cjs');
|
|
9
10
|
require('../chunk-PPCATBOY.cjs');
|
|
10
11
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
11
|
-
require('../chunk-C54XEN5T.cjs');
|
|
12
12
|
require('../chunk-KDG6FER6.cjs');
|
|
13
13
|
require('../chunk-DES3K4SD.cjs');
|
|
14
14
|
var lucideReact = require('lucide-react');
|
package/dist/home/index.js
CHANGED
|
@@ -5,9 +5,9 @@ import { SectionHeader, EmptyStrip, QuickActionDialogHeader } from '../chunk-P5S
|
|
|
5
5
|
export { AddFilesFirst, DEFAULT_ADD_FILES_FIRST_LABELS, DEFAULT_SCOPE_PICKER_LABELS, EmptyStrip, QuickActionDialogHeader, ScopePicker, SectionHeader, SectionLabel, StartTiles, useScopeSelection } from '../chunk-P5ST47VY.js';
|
|
6
6
|
export { FoldSection } from '../chunk-XD2M6LIG.js';
|
|
7
7
|
import { ActionLink } from '../chunk-S7PSMMRG.js';
|
|
8
|
+
import '../chunk-76JDDMSP.js';
|
|
8
9
|
import '../chunk-NPLYHR2E.js';
|
|
9
10
|
import { testIdOr, prefixedTestId } from '../chunk-7F6CBP3Z.js';
|
|
10
|
-
import '../chunk-76JDDMSP.js';
|
|
11
11
|
import '../chunk-OXF2IFXG.js';
|
|
12
12
|
import '../chunk-VUNV25KB.js';
|
|
13
13
|
import { Plus, PartyPopper, X, Trash2 } from 'lucide-react';
|