@datatechsolutions/ui 2.10.9 → 2.11.1
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/package.json +2 -1
- package/dist/astrlabe/contracts.d.mts +0 -293
- package/dist/astrlabe/contracts.d.ts +0 -293
- package/dist/astrlabe/contracts.js +0 -5
- package/dist/astrlabe/contracts.js.map +0 -1
- package/dist/astrlabe/contracts.mjs +0 -4
- package/dist/astrlabe/contracts.mjs.map +0 -1
- package/dist/astrlabe/graph-node.d.mts +0 -28
- package/dist/astrlabe/graph-node.d.ts +0 -28
- package/dist/astrlabe/graph-node.js +0 -27
- package/dist/astrlabe/graph-node.js.map +0 -1
- package/dist/astrlabe/graph-node.mjs +0 -6
- package/dist/astrlabe/graph-node.mjs.map +0 -1
- package/dist/astrlabe/index.d.mts +0 -707
- package/dist/astrlabe/index.d.ts +0 -707
- package/dist/astrlabe/index.js +0 -3248
- package/dist/astrlabe/index.js.map +0 -1
- package/dist/astrlabe/index.mjs +0 -2957
- package/dist/astrlabe/index.mjs.map +0 -1
- package/dist/astrlabe/utils.d.mts +0 -71
- package/dist/astrlabe/utils.d.ts +0 -71
- package/dist/astrlabe/utils.js +0 -31
- package/dist/astrlabe/utils.js.map +0 -1
- package/dist/astrlabe/utils.mjs +0 -6
- package/dist/astrlabe/utils.mjs.map +0 -1
- package/dist/astrlabe/workflow-canvas.d.mts +0 -5
- package/dist/astrlabe/workflow-canvas.d.ts +0 -5
- package/dist/astrlabe/workflow-canvas.js +0 -20
- package/dist/astrlabe/workflow-canvas.js.map +0 -1
- package/dist/astrlabe/workflow-canvas.mjs +0 -11
- package/dist/astrlabe/workflow-canvas.mjs.map +0 -1
- package/dist/astrlabe/workflow-preview-canvas.d.mts +0 -10
- package/dist/astrlabe/workflow-preview-canvas.d.ts +0 -10
- package/dist/astrlabe/workflow-preview-canvas.js +0 -28
- package/dist/astrlabe/workflow-preview-canvas.js.map +0 -1
- package/dist/astrlabe/workflow-preview-canvas.mjs +0 -26
- package/dist/astrlabe/workflow-preview-canvas.mjs.map +0 -1
- package/dist/chunk-3GDQP6AS.mjs +0 -15
- package/dist/chunk-3GDQP6AS.mjs.map +0 -1
- package/dist/chunk-3GE3MBUZ.js +0 -279
- package/dist/chunk-3GE3MBUZ.js.map +0 -1
- package/dist/chunk-55H6WZQP.js +0 -5
- package/dist/chunk-55H6WZQP.js.map +0 -1
- package/dist/chunk-7VJ7CMMT.mjs +0 -96
- package/dist/chunk-7VJ7CMMT.mjs.map +0 -1
- package/dist/chunk-AM2TTPYM.mjs +0 -189
- package/dist/chunk-AM2TTPYM.mjs.map +0 -1
- package/dist/chunk-BLNXRUC4.mjs +0 -276
- package/dist/chunk-BLNXRUC4.mjs.map +0 -1
- package/dist/chunk-D2JF6C3E.mjs +0 -46
- package/dist/chunk-D2JF6C3E.mjs.map +0 -1
- package/dist/chunk-DFR6CMJH.js +0 -197
- package/dist/chunk-DFR6CMJH.js.map +0 -1
- package/dist/chunk-JB6RNAD2.mjs +0 -4
- package/dist/chunk-JB6RNAD2.mjs.map +0 -1
- package/dist/chunk-LTWL7B4K.mjs +0 -7167
- package/dist/chunk-LTWL7B4K.mjs.map +0 -1
- package/dist/chunk-OZNTQROP.mjs +0 -39
- package/dist/chunk-OZNTQROP.mjs.map +0 -1
- package/dist/chunk-P4YYEM4B.js +0 -44
- package/dist/chunk-P4YYEM4B.js.map +0 -1
- package/dist/chunk-QWG2FMUN.mjs +0 -60
- package/dist/chunk-QWG2FMUN.mjs.map +0 -1
- package/dist/chunk-S3GAARSA.js +0 -7228
- package/dist/chunk-S3GAARSA.js.map +0 -1
- package/dist/chunk-S7KHTUHA.js +0 -65
- package/dist/chunk-S7KHTUHA.js.map +0 -1
- package/dist/chunk-UPTU224P.js +0 -23923
- package/dist/chunk-UPTU224P.js.map +0 -1
- package/dist/chunk-UZ3CMNUJ.js +0 -49
- package/dist/chunk-UZ3CMNUJ.js.map +0 -1
- package/dist/chunk-VUNV25KB.js +0 -18
- package/dist/chunk-VUNV25KB.js.map +0 -1
- package/dist/chunk-WURR63IK.mjs +0 -23189
- package/dist/chunk-WURR63IK.mjs.map +0 -1
- package/dist/chunk-YXN2K77G.js +0 -102
- package/dist/chunk-YXN2K77G.js.map +0 -1
- package/dist/entity-drawer-D2H7ugi9.d.mts +0 -31
- package/dist/entity-drawer-D2H7ugi9.d.ts +0 -31
- package/dist/index.d.mts +0 -4791
- package/dist/index.d.ts +0 -4791
- package/dist/index.js +0 -2893
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -8
- package/dist/index.mjs.map +0 -1
- package/dist/lib/i18n-context.d.mts +0 -36
- package/dist/lib/i18n-context.d.ts +0 -36
- package/dist/lib/i18n-context.js +0 -30
- package/dist/lib/i18n-context.js.map +0 -1
- package/dist/lib/i18n-context.mjs +0 -5
- package/dist/lib/i18n-context.mjs.map +0 -1
- package/dist/lib/router-context.d.mts +0 -35
- package/dist/lib/router-context.d.ts +0 -35
- package/dist/lib/router-context.js +0 -26
- package/dist/lib/router-context.js.map +0 -1
- package/dist/lib/router-context.mjs +0 -5
- package/dist/lib/router-context.mjs.map +0 -1
- package/dist/navigation-ANFMVDVW.mjs +0 -2445
- package/dist/navigation-ANFMVDVW.mjs.map +0 -1
- package/dist/navigation-JQ2TJKKI.js +0 -2447
- package/dist/navigation-JQ2TJKKI.js.map +0 -1
- package/dist/use-haptic-2SHBMEY5.js +0 -18
- package/dist/use-haptic-2SHBMEY5.js.map +0 -1
- package/dist/use-haptic-4UCNQATC.mjs +0 -5
- package/dist/use-haptic-4UCNQATC.mjs.map +0 -1
- package/dist/workflow-canvas-CGeuIgBQ.d.ts +0 -241
- package/dist/workflow-canvas-at3LMbkg.d.mts +0 -241
package/dist/astrlabe/index.d.ts
DELETED
|
@@ -1,707 +0,0 @@
|
|
|
1
|
-
import { A as AgentWithPrompts, a as AgentNodeData, T as ToolNodeData, R as RuleNodeData, E as EntityNodeData, S as StartNodeData, b as EndNodeData, I as IfElseNodeData, C as CodeNodeData, H as HttpRequestNodeData, c as TemplateTransformNodeData, d as IterationNodeData, K as KnowledgeBaseNodeData, e as AnswerNodeData, Q as QuestionClassifierNodeData, P as ParameterExtractorNodeData, V as VariableAssignerNodeData, f as VariableAggregatorNodeData, D as DocumentExtractorNodeData, L as ListOperatorNodeData, g as IterationStartNodeData, N as NoteNodeData, G as GroupNodeData, W as WorkflowEntityDefinition, h as WorkspaceProps } from '../workflow-canvas-CGeuIgBQ.js';
|
|
2
|
-
export { i as Workspace } from '../workflow-canvas-CGeuIgBQ.js';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import { Workflow, WorkflowGraph, AgentModel, Subworkflow, AgentRule, LogicNodeConfig, AgentTool, WorkflowRun } from './contracts.js';
|
|
5
|
-
import * as React$1 from 'react';
|
|
6
|
-
import { ReactNode, ComponentProps } from 'react';
|
|
7
|
-
export { GraphNodeBadge, GraphNodeHeader, GraphNodeIconBubble, GraphNodeMeta } from './graph-node.js';
|
|
8
|
-
import { E as EntityDrawerMaxWidth, D as DynamicIslandConfirm$1 } from '../entity-drawer-D2H7ugi9.js';
|
|
9
|
-
import * as zustand from 'zustand';
|
|
10
|
-
import { Node, Edge } from '@xyflow/react';
|
|
11
|
-
import { LayoutDirection } from './utils.js';
|
|
12
|
-
export { AgentTier, applyDagreLayout, createDefaultLogicNodeConfig, getAgentTier, topologicalSortAgents, validateWorkflowGraph } from './utils.js';
|
|
13
|
-
|
|
14
|
-
type WorkspaceBootstrapPayload = {
|
|
15
|
-
workflow: Workflow | null;
|
|
16
|
-
graph: WorkflowGraph | null;
|
|
17
|
-
agents: AgentWithPrompts[];
|
|
18
|
-
models: AgentModel[];
|
|
19
|
-
tools: Subworkflow[];
|
|
20
|
-
rules: AgentRule[];
|
|
21
|
-
};
|
|
22
|
-
type WorkflowBuilderClient = {
|
|
23
|
-
publishableKey: string;
|
|
24
|
-
getWorkspaceBootstrap: (workflowId: string) => Promise<WorkspaceBootstrapPayload>;
|
|
25
|
-
};
|
|
26
|
-
type WorkflowBuilderProviderProps = {
|
|
27
|
-
publishableKey: string;
|
|
28
|
-
children: React.ReactNode;
|
|
29
|
-
};
|
|
30
|
-
declare function WorkflowBuilderProvider({ publishableKey, children, }: WorkflowBuilderProviderProps): react_jsx_runtime.JSX.Element;
|
|
31
|
-
declare function useWorkflowBuilderClient(): WorkflowBuilderClient;
|
|
32
|
-
declare function useWorkflowBuilderClientOptional(): WorkflowBuilderClient | null;
|
|
33
|
-
|
|
34
|
-
interface NodeCardProps {
|
|
35
|
-
/** React Flow selection state */
|
|
36
|
-
selected?: boolean;
|
|
37
|
-
/** Node type key for border colors (e.g. 'agent', 'tool', 'if_else') */
|
|
38
|
-
nodeType: string;
|
|
39
|
-
/** Width class — defaults to 'w-[260px]' */
|
|
40
|
-
width?: string;
|
|
41
|
-
/** Custom border class override (e.g. group node with dynamic colors) */
|
|
42
|
-
customBorder?: string;
|
|
43
|
-
/** Display variant — 'error' shows dashed amber border for missing entities */
|
|
44
|
-
variant?: 'default' | 'error';
|
|
45
|
-
/** Compact density mode for short-card view */
|
|
46
|
-
compact?: boolean;
|
|
47
|
-
/** Additional CSS classes */
|
|
48
|
-
className?: string;
|
|
49
|
-
/** Inline styles */
|
|
50
|
-
style?: React.CSSProperties;
|
|
51
|
-
/** Interactive attributes for div-based clickable nodes */
|
|
52
|
-
role?: string;
|
|
53
|
-
tabIndex?: number;
|
|
54
|
-
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
55
|
-
onKeyDown?: (event: React.KeyboardEvent<HTMLDivElement>) => void;
|
|
56
|
-
onDoubleClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
57
|
-
children: ReactNode;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Base card container for all standard flow nodes.
|
|
61
|
-
*
|
|
62
|
-
* Provides shared styling: rounded corners, border, glassmorphism surface,
|
|
63
|
-
* padding, selection/hover state ring, and group context for child hover effects.
|
|
64
|
-
*
|
|
65
|
-
* Nodes that do NOT use this: NoteFlowNode (custom bg/border), GroupFlowNode expanded (resizable container).
|
|
66
|
-
*/
|
|
67
|
-
declare function NodeCard({ selected, nodeType, width, customBorder, variant, compact, className, style, role, tabIndex, onClick, onKeyDown, onDoubleClick, children, }: NodeCardProps): react_jsx_runtime.JSX.Element;
|
|
68
|
-
|
|
69
|
-
declare const AgentFlowNode: React$1.NamedExoticComponent<{
|
|
70
|
-
id: string;
|
|
71
|
-
data: AgentNodeData;
|
|
72
|
-
selected?: boolean;
|
|
73
|
-
}>;
|
|
74
|
-
|
|
75
|
-
declare const ToolFlowNode: React$1.NamedExoticComponent<{
|
|
76
|
-
id: string;
|
|
77
|
-
data: ToolNodeData;
|
|
78
|
-
selected?: boolean;
|
|
79
|
-
}>;
|
|
80
|
-
|
|
81
|
-
declare const RuleFlowNode: React$1.NamedExoticComponent<{
|
|
82
|
-
id: string;
|
|
83
|
-
data: RuleNodeData;
|
|
84
|
-
selected?: boolean;
|
|
85
|
-
}>;
|
|
86
|
-
|
|
87
|
-
declare const EntityFlowNode: React$1.NamedExoticComponent<{
|
|
88
|
-
id: string;
|
|
89
|
-
data: EntityNodeData;
|
|
90
|
-
selected?: boolean;
|
|
91
|
-
}>;
|
|
92
|
-
|
|
93
|
-
declare const StartFlowNode: React$1.NamedExoticComponent<{
|
|
94
|
-
id: string;
|
|
95
|
-
data: StartNodeData;
|
|
96
|
-
selected?: boolean;
|
|
97
|
-
}>;
|
|
98
|
-
|
|
99
|
-
declare const EndFlowNode: React$1.NamedExoticComponent<{
|
|
100
|
-
id: string;
|
|
101
|
-
data: EndNodeData;
|
|
102
|
-
selected?: boolean;
|
|
103
|
-
}>;
|
|
104
|
-
|
|
105
|
-
declare const IfElseFlowNode: React$1.NamedExoticComponent<{
|
|
106
|
-
id: string;
|
|
107
|
-
data: IfElseNodeData;
|
|
108
|
-
selected?: boolean;
|
|
109
|
-
}>;
|
|
110
|
-
|
|
111
|
-
declare const CodeFlowNode: React$1.NamedExoticComponent<{
|
|
112
|
-
id: string;
|
|
113
|
-
data: CodeNodeData;
|
|
114
|
-
selected?: boolean;
|
|
115
|
-
}>;
|
|
116
|
-
|
|
117
|
-
declare const HttpRequestFlowNode: React$1.NamedExoticComponent<{
|
|
118
|
-
id: string;
|
|
119
|
-
data: HttpRequestNodeData;
|
|
120
|
-
selected?: boolean;
|
|
121
|
-
}>;
|
|
122
|
-
|
|
123
|
-
declare const TemplateTransformFlowNode: React$1.NamedExoticComponent<{
|
|
124
|
-
id: string;
|
|
125
|
-
data: TemplateTransformNodeData;
|
|
126
|
-
selected?: boolean;
|
|
127
|
-
}>;
|
|
128
|
-
|
|
129
|
-
declare const IterationFlowNode: React$1.NamedExoticComponent<{
|
|
130
|
-
id: string;
|
|
131
|
-
data: IterationNodeData;
|
|
132
|
-
selected?: boolean;
|
|
133
|
-
}>;
|
|
134
|
-
|
|
135
|
-
declare const KnowledgeBaseFlowNode: React$1.NamedExoticComponent<{
|
|
136
|
-
id: string;
|
|
137
|
-
data: KnowledgeBaseNodeData;
|
|
138
|
-
selected?: boolean;
|
|
139
|
-
}>;
|
|
140
|
-
|
|
141
|
-
declare const AnswerFlowNode: React$1.NamedExoticComponent<{
|
|
142
|
-
id: string;
|
|
143
|
-
data: AnswerNodeData;
|
|
144
|
-
selected?: boolean;
|
|
145
|
-
}>;
|
|
146
|
-
|
|
147
|
-
declare const QuestionClassifierFlowNode: React$1.NamedExoticComponent<{
|
|
148
|
-
id: string;
|
|
149
|
-
data: QuestionClassifierNodeData;
|
|
150
|
-
selected?: boolean;
|
|
151
|
-
}>;
|
|
152
|
-
|
|
153
|
-
declare const ParameterExtractorFlowNode: React$1.NamedExoticComponent<{
|
|
154
|
-
id: string;
|
|
155
|
-
data: ParameterExtractorNodeData;
|
|
156
|
-
selected?: boolean;
|
|
157
|
-
}>;
|
|
158
|
-
|
|
159
|
-
declare const VariableAssignerFlowNode: React$1.NamedExoticComponent<{
|
|
160
|
-
id: string;
|
|
161
|
-
data: VariableAssignerNodeData;
|
|
162
|
-
selected?: boolean;
|
|
163
|
-
}>;
|
|
164
|
-
|
|
165
|
-
declare const VariableAggregatorFlowNode: React$1.NamedExoticComponent<{
|
|
166
|
-
id: string;
|
|
167
|
-
data: VariableAggregatorNodeData;
|
|
168
|
-
selected?: boolean;
|
|
169
|
-
}>;
|
|
170
|
-
|
|
171
|
-
declare const DocumentExtractorFlowNode: React$1.NamedExoticComponent<{
|
|
172
|
-
id: string;
|
|
173
|
-
data: DocumentExtractorNodeData;
|
|
174
|
-
selected?: boolean;
|
|
175
|
-
}>;
|
|
176
|
-
|
|
177
|
-
declare const ListOperatorFlowNode: React$1.NamedExoticComponent<{
|
|
178
|
-
id: string;
|
|
179
|
-
data: ListOperatorNodeData;
|
|
180
|
-
selected?: boolean;
|
|
181
|
-
}>;
|
|
182
|
-
|
|
183
|
-
declare const IterationStartFlowNode: React$1.NamedExoticComponent<{
|
|
184
|
-
id: string;
|
|
185
|
-
data: IterationStartNodeData;
|
|
186
|
-
selected?: boolean;
|
|
187
|
-
}>;
|
|
188
|
-
|
|
189
|
-
declare const NoteFlowNode: React$1.NamedExoticComponent<{
|
|
190
|
-
id: string;
|
|
191
|
-
data: NoteNodeData;
|
|
192
|
-
selected?: boolean;
|
|
193
|
-
}>;
|
|
194
|
-
|
|
195
|
-
declare const GroupFlowNode: React$1.NamedExoticComponent<{
|
|
196
|
-
id: string;
|
|
197
|
-
data: GroupNodeData;
|
|
198
|
-
selected?: boolean;
|
|
199
|
-
}>;
|
|
200
|
-
|
|
201
|
-
type AgentDrawerProps = {
|
|
202
|
-
onSaved?: () => void;
|
|
203
|
-
};
|
|
204
|
-
declare function AgentDrawer({ onSaved }: AgentDrawerProps): react_jsx_runtime.JSX.Element | null;
|
|
205
|
-
|
|
206
|
-
type SubworkflowDrawerProps = {
|
|
207
|
-
/** Called when save/create is clicked — receives the merged subworkflow with updated graph */
|
|
208
|
-
onSaved?: (tool: Subworkflow) => void;
|
|
209
|
-
/** Called when maximize is clicked — navigate to full workflow editor */
|
|
210
|
-
onMaximize?: (subworkflowId: string) => void;
|
|
211
|
-
};
|
|
212
|
-
declare function SubworkflowDrawer({ onSaved, onMaximize }: SubworkflowDrawerProps): react_jsx_runtime.JSX.Element | null;
|
|
213
|
-
|
|
214
|
-
type DatasourceDefinition = {
|
|
215
|
-
id: string;
|
|
216
|
-
name: string;
|
|
217
|
-
dialect: string;
|
|
218
|
-
};
|
|
219
|
-
type LogicNodeDrawerProps = {
|
|
220
|
-
onSave: (nodeId: string, updatedConfig: LogicNodeConfig) => void;
|
|
221
|
-
entities?: WorkflowEntityDefinition[];
|
|
222
|
-
datasources?: DatasourceDefinition[];
|
|
223
|
-
onLoadTables?: (datasourceId: string) => Promise<string[]>;
|
|
224
|
-
onLoadSchema?: (datasourceId: string, table: string) => Promise<Array<{
|
|
225
|
-
name: string;
|
|
226
|
-
type: string;
|
|
227
|
-
nullable?: boolean;
|
|
228
|
-
}>>;
|
|
229
|
-
};
|
|
230
|
-
declare function LogicNodeDrawer({ onSave, entities, datasources, onLoadTables, onLoadSchema }: LogicNodeDrawerProps): react_jsx_runtime.JSX.Element | null;
|
|
231
|
-
|
|
232
|
-
type WorkspaceDrawerProps = {
|
|
233
|
-
open: boolean;
|
|
234
|
-
onClose: () => void;
|
|
235
|
-
title: string;
|
|
236
|
-
subtitle?: string;
|
|
237
|
-
icon?: ReactNode;
|
|
238
|
-
gradient?: string;
|
|
239
|
-
maxWidth?: EntityDrawerMaxWidth;
|
|
240
|
-
tabs?: ReactNode;
|
|
241
|
-
children: ReactNode;
|
|
242
|
-
};
|
|
243
|
-
declare function WorkspaceDrawer({ open, onClose, title, subtitle, icon, gradient, maxWidth, tabs, children, }: WorkspaceDrawerProps): react_jsx_runtime.JSX.Element;
|
|
244
|
-
|
|
245
|
-
type PipelineSettingsDrawerProps = {
|
|
246
|
-
onSave: (name: string, description: string) => Promise<void>;
|
|
247
|
-
};
|
|
248
|
-
declare function PipelineSettingsDrawer({ onSave }: PipelineSettingsDrawerProps): react_jsx_runtime.JSX.Element;
|
|
249
|
-
|
|
250
|
-
type NodePaletteProps = {
|
|
251
|
-
agents: AgentWithPrompts[];
|
|
252
|
-
tools: Subworkflow[];
|
|
253
|
-
agentTools?: AgentTool[];
|
|
254
|
-
rules: AgentRule[];
|
|
255
|
-
entities?: WorkflowEntityDefinition[];
|
|
256
|
-
onCreateAgent?: () => void;
|
|
257
|
-
onCreateTool?: () => void;
|
|
258
|
-
onCreateAgentTool?: () => void;
|
|
259
|
-
onCreateRule?: () => void;
|
|
260
|
-
onCreateDatasource?: () => void;
|
|
261
|
-
};
|
|
262
|
-
declare function NodePalette({ agents, tools, agentTools, rules, entities, onCreateAgent, onCreateTool, onCreateAgentTool, onCreateRule, onCreateDatasource }: NodePaletteProps): react_jsx_runtime.JSX.Element;
|
|
263
|
-
|
|
264
|
-
type WorkflowListBarProps = {
|
|
265
|
-
workflows: Workflow[];
|
|
266
|
-
activeWorkflowId: string | null;
|
|
267
|
-
isLoading: boolean;
|
|
268
|
-
onSelect: (workflow: Workflow) => void;
|
|
269
|
-
onCreate: () => void;
|
|
270
|
-
onDelete: (workflowId: string, workflowName: string) => void;
|
|
271
|
-
onConvertToSubworkflow?: (workflow: Workflow) => void;
|
|
272
|
-
};
|
|
273
|
-
declare function WorkflowListBar({ workflows, activeWorkflowId, isLoading, onSelect, onCreate, onDelete, onConvertToSubworkflow, }: WorkflowListBarProps): react_jsx_runtime.JSX.Element;
|
|
274
|
-
|
|
275
|
-
type WorkflowVersion = {
|
|
276
|
-
version: number;
|
|
277
|
-
publishedAt: string;
|
|
278
|
-
publishedBy: string;
|
|
279
|
-
nodeCount: number;
|
|
280
|
-
edgeCount: number;
|
|
281
|
-
};
|
|
282
|
-
type VersionHistoryPanelProps = {
|
|
283
|
-
open: boolean;
|
|
284
|
-
onClose: () => void;
|
|
285
|
-
workflowId: string;
|
|
286
|
-
currentVersion: number;
|
|
287
|
-
onPreview: (version: WorkflowVersion) => void;
|
|
288
|
-
onRestore: (version: WorkflowVersion) => void;
|
|
289
|
-
fetchVersions?: (workflowId: string) => Promise<WorkflowVersion[]>;
|
|
290
|
-
};
|
|
291
|
-
declare function VersionHistoryPanel({ open, onClose, workflowId, currentVersion, onPreview, onRestore, fetchVersions, }: VersionHistoryPanelProps): react_jsx_runtime.JSX.Element | null;
|
|
292
|
-
|
|
293
|
-
type RunPanelProps = {
|
|
294
|
-
open: boolean;
|
|
295
|
-
onClose: () => void;
|
|
296
|
-
onRun: () => void;
|
|
297
|
-
onStop: () => void;
|
|
298
|
-
};
|
|
299
|
-
declare function RunPanel({ open, onClose, onRun, onStop }: RunPanelProps): react_jsx_runtime.JSX.Element | null;
|
|
300
|
-
|
|
301
|
-
type VariableInspectorProps = {
|
|
302
|
-
open: boolean;
|
|
303
|
-
onClose: () => void;
|
|
304
|
-
};
|
|
305
|
-
declare function VariableInspector({ open, onClose }: VariableInspectorProps): react_jsx_runtime.JSX.Element | null;
|
|
306
|
-
|
|
307
|
-
type VariableValue = string | number | boolean | null;
|
|
308
|
-
type RunInputDialogProps = {
|
|
309
|
-
open: boolean;
|
|
310
|
-
onClose: () => void;
|
|
311
|
-
onRun: (inputVariables: Record<string, VariableValue>) => void;
|
|
312
|
-
};
|
|
313
|
-
declare function RunInputDialog({ open, onClose, onRun, }: RunInputDialogProps): react_jsx_runtime.JSX.Element | null;
|
|
314
|
-
|
|
315
|
-
type PreviewPanelProps = {
|
|
316
|
-
open: boolean;
|
|
317
|
-
onClose: () => void;
|
|
318
|
-
workflowId: string;
|
|
319
|
-
loadRuns: (workflowId: string) => Promise<WorkflowRun[]>;
|
|
320
|
-
};
|
|
321
|
-
declare function PreviewPanel({ open, onClose, workflowId, loadRuns }: PreviewPanelProps): react_jsx_runtime.JSX.Element | null;
|
|
322
|
-
|
|
323
|
-
type SaveStatusBadgeProps = {
|
|
324
|
-
status: 'idle' | 'saving' | 'saved';
|
|
325
|
-
};
|
|
326
|
-
declare function SaveStatusBadge({ status }: SaveStatusBadgeProps): react_jsx_runtime.JSX.Element | null;
|
|
327
|
-
|
|
328
|
-
type AutoSaveWorkspaceProps = Omit<WorkspaceProps, 'onGraphChange'> & {
|
|
329
|
-
onAutoSaveGraph: (graph: WorkflowGraph) => void;
|
|
330
|
-
onGraphSnapshot?: (graph: WorkflowGraph) => void;
|
|
331
|
-
};
|
|
332
|
-
declare const AutoSaveWorkspace: React$1.NamedExoticComponent<AutoSaveWorkspaceProps>;
|
|
333
|
-
|
|
334
|
-
type NodeContextMenuProps = {
|
|
335
|
-
position: {
|
|
336
|
-
x: number;
|
|
337
|
-
y: number;
|
|
338
|
-
};
|
|
339
|
-
targetId: string;
|
|
340
|
-
onClose: () => void;
|
|
341
|
-
onEdit: (nodeId: string) => void;
|
|
342
|
-
onDuplicate: (nodeId: string) => void;
|
|
343
|
-
onCopy: (nodeId: string) => void;
|
|
344
|
-
onDelete: (nodeId: string) => void;
|
|
345
|
-
};
|
|
346
|
-
declare function NodeContextMenu({ position, targetId, onClose, onEdit, onDuplicate, onCopy, onDelete }: NodeContextMenuProps): react_jsx_runtime.JSX.Element;
|
|
347
|
-
|
|
348
|
-
type AlignDirection = 'left' | 'right' | 'top' | 'bottom' | 'centerHorizontal' | 'centerVertical';
|
|
349
|
-
type DistributeDirection = 'horizontal' | 'vertical';
|
|
350
|
-
type SelectionContextMenuProps = {
|
|
351
|
-
position: {
|
|
352
|
-
x: number;
|
|
353
|
-
y: number;
|
|
354
|
-
};
|
|
355
|
-
onClose: () => void;
|
|
356
|
-
onCopy: () => void;
|
|
357
|
-
onDuplicate: () => void;
|
|
358
|
-
onDelete: () => void;
|
|
359
|
-
onGroupSelected: () => void;
|
|
360
|
-
onAlign: (direction: AlignDirection) => void;
|
|
361
|
-
onDistribute: (direction: DistributeDirection) => void;
|
|
362
|
-
};
|
|
363
|
-
|
|
364
|
-
declare function SelectionContextMenu({ position, onClose, onCopy, onDuplicate, onDelete, onGroupSelected, onAlign, onDistribute, }: SelectionContextMenuProps): react_jsx_runtime.JSX.Element;
|
|
365
|
-
|
|
366
|
-
type PanelContextMenuProps = {
|
|
367
|
-
position: {
|
|
368
|
-
x: number;
|
|
369
|
-
y: number;
|
|
370
|
-
};
|
|
371
|
-
onClose: () => void;
|
|
372
|
-
onPaste: () => void;
|
|
373
|
-
onSelectAll: () => void;
|
|
374
|
-
onFitView: () => void;
|
|
375
|
-
onAddNote: (flowPosition: {
|
|
376
|
-
x: number;
|
|
377
|
-
y: number;
|
|
378
|
-
}) => void;
|
|
379
|
-
flowPosition: {
|
|
380
|
-
x: number;
|
|
381
|
-
y: number;
|
|
382
|
-
};
|
|
383
|
-
hasClipboardContent: boolean;
|
|
384
|
-
};
|
|
385
|
-
declare function PanelContextMenu({ position, onClose, onPaste, onSelectAll, onFitView, onAddNote, flowPosition, hasClipboardContent }: PanelContextMenuProps): react_jsx_runtime.JSX.Element;
|
|
386
|
-
|
|
387
|
-
type DynamicIslandConfirmProps = ComponentProps<typeof DynamicIslandConfirm$1>;
|
|
388
|
-
declare function DynamicIslandConfirm(props: DynamicIslandConfirmProps): react_jsx_runtime.JSX.Element;
|
|
389
|
-
|
|
390
|
-
type DslExportModalProps = {
|
|
391
|
-
open: boolean;
|
|
392
|
-
onClose: () => void;
|
|
393
|
-
workflow: Workflow;
|
|
394
|
-
graph: WorkflowGraph;
|
|
395
|
-
};
|
|
396
|
-
declare function DslExportModal({ open, onClose, workflow, graph }: DslExportModalProps): react_jsx_runtime.JSX.Element | null;
|
|
397
|
-
|
|
398
|
-
type DslImportModalProps = {
|
|
399
|
-
open: boolean;
|
|
400
|
-
onClose: () => void;
|
|
401
|
-
onImport: (graph: WorkflowGraph) => void;
|
|
402
|
-
};
|
|
403
|
-
declare function DslImportModal({ open, onClose, onImport }: DslImportModalProps): react_jsx_runtime.JSX.Element | null;
|
|
404
|
-
|
|
405
|
-
type GraphSnapshot = {
|
|
406
|
-
nodes: Node[];
|
|
407
|
-
edges: Edge[];
|
|
408
|
-
};
|
|
409
|
-
type CanvasControlMode = 'pointer' | 'hand';
|
|
410
|
-
type ContextMenuState = {
|
|
411
|
-
type: 'node' | 'edge' | 'panel';
|
|
412
|
-
position: {
|
|
413
|
-
x: number;
|
|
414
|
-
y: number;
|
|
415
|
-
};
|
|
416
|
-
targetId?: string;
|
|
417
|
-
} | null;
|
|
418
|
-
type NodeRunResult = {
|
|
419
|
-
status: 'pending' | 'running' | 'success' | 'error';
|
|
420
|
-
data?: unknown;
|
|
421
|
-
error?: string;
|
|
422
|
-
durationMs?: number;
|
|
423
|
-
};
|
|
424
|
-
|
|
425
|
-
type WorkflowStoreState = {
|
|
426
|
-
nodes: Node[];
|
|
427
|
-
edges: Edge[];
|
|
428
|
-
past: GraphSnapshot[];
|
|
429
|
-
future: GraphSnapshot[];
|
|
430
|
-
clipboard: GraphSnapshot | null;
|
|
431
|
-
editingNodeId: string | null;
|
|
432
|
-
contextMenu: ContextMenuState;
|
|
433
|
-
controlMode: CanvasControlMode;
|
|
434
|
-
layoutDirection: LayoutDirection;
|
|
435
|
-
showVariableInspector: boolean;
|
|
436
|
-
showVersionHistory: boolean;
|
|
437
|
-
showRunPanel: boolean;
|
|
438
|
-
isRunning: boolean;
|
|
439
|
-
nodeResults: Record<string, NodeRunResult>;
|
|
440
|
-
selectedRunId: string | null;
|
|
441
|
-
previewPanelOpen: boolean;
|
|
442
|
-
};
|
|
443
|
-
type WorkflowStoreActions = {
|
|
444
|
-
setNodes: (updater: Node[] | ((nodes: Node[]) => Node[])) => void;
|
|
445
|
-
setEdges: (updater: Edge[] | ((edges: Edge[]) => Edge[])) => void;
|
|
446
|
-
takeSnapshot: () => void;
|
|
447
|
-
undo: () => void;
|
|
448
|
-
redo: () => void;
|
|
449
|
-
copy: () => void;
|
|
450
|
-
paste: (offset?: number) => void;
|
|
451
|
-
selectAll: () => void;
|
|
452
|
-
deselectAll: () => void;
|
|
453
|
-
setEditingNodeId: (nodeId: string | null) => void;
|
|
454
|
-
setContextMenu: (menu: ContextMenuState) => void;
|
|
455
|
-
setControlMode: (mode: CanvasControlMode) => void;
|
|
456
|
-
setLayoutDirection: (direction: LayoutDirection) => void;
|
|
457
|
-
toggleVariableInspector: () => void;
|
|
458
|
-
toggleVersionHistory: () => void;
|
|
459
|
-
toggleRunPanel: () => void;
|
|
460
|
-
setIsRunning: (running: boolean) => void;
|
|
461
|
-
setNodeResult: (nodeId: string, result: NodeRunResult) => void;
|
|
462
|
-
clearNodeResults: () => void;
|
|
463
|
-
setSelectedRunId: (runId: string | null) => void;
|
|
464
|
-
togglePreviewPanel: () => void;
|
|
465
|
-
reset: () => void;
|
|
466
|
-
};
|
|
467
|
-
type WorkflowStore = WorkflowStoreState & WorkflowStoreActions;
|
|
468
|
-
declare const useWorkflowStore: zustand.UseBoundStore<zustand.StoreApi<WorkflowStore>>;
|
|
469
|
-
|
|
470
|
-
type SubworkflowStoreState = {
|
|
471
|
-
/** The subworkflow being edited (null = drawer closed) */
|
|
472
|
-
tool: Subworkflow | null;
|
|
473
|
-
/** Whether the drawer is open */
|
|
474
|
-
open: boolean;
|
|
475
|
-
/** Editable fields */
|
|
476
|
-
name: string;
|
|
477
|
-
category: string;
|
|
478
|
-
description: string;
|
|
479
|
-
timeoutMs: number;
|
|
480
|
-
retryCount: number;
|
|
481
|
-
/** Whether there are unsaved changes */
|
|
482
|
-
dirty: boolean;
|
|
483
|
-
};
|
|
484
|
-
type SubworkflowStoreActions = {
|
|
485
|
-
/** Open the drawer with a subworkflow (empty toolId = create mode) */
|
|
486
|
-
openDrawer: (tool: Subworkflow) => void;
|
|
487
|
-
/** Close the drawer and reset state */
|
|
488
|
-
closeDrawer: () => void;
|
|
489
|
-
/** Update a field and mark dirty */
|
|
490
|
-
setName: (name: string) => void;
|
|
491
|
-
setCategory: (category: string) => void;
|
|
492
|
-
setDescription: (description: string) => void;
|
|
493
|
-
setTimeoutMs: (timeoutMs: number) => void;
|
|
494
|
-
setRetryCount: (retryCount: number) => void;
|
|
495
|
-
/** Mark as dirty (e.g. when graph changes) */
|
|
496
|
-
markDirty: () => void;
|
|
497
|
-
/** Mark as saved */
|
|
498
|
-
markSaved: () => void;
|
|
499
|
-
};
|
|
500
|
-
type SubworkflowStore = SubworkflowStoreState & SubworkflowStoreActions;
|
|
501
|
-
declare const useSubworkflowStore: zustand.UseBoundStore<zustand.StoreApi<SubworkflowStore>>;
|
|
502
|
-
|
|
503
|
-
type DrawerType = 'agent' | 'subworkflow' | 'logic-node' | 'pipeline-settings' | null;
|
|
504
|
-
type AgentDrawerData = {
|
|
505
|
-
agent: AgentWithPrompts;
|
|
506
|
-
models: AgentModel[];
|
|
507
|
-
isCreateMode: boolean;
|
|
508
|
-
};
|
|
509
|
-
type SubworkflowDrawerData = {
|
|
510
|
-
tool: Subworkflow;
|
|
511
|
-
};
|
|
512
|
-
type LogicNodeDrawerData = {
|
|
513
|
-
nodeId: string;
|
|
514
|
-
nodeLabel: string;
|
|
515
|
-
config: LogicNodeConfig;
|
|
516
|
-
};
|
|
517
|
-
type PipelineSettingsDrawerData = {
|
|
518
|
-
name: string;
|
|
519
|
-
description: string;
|
|
520
|
-
};
|
|
521
|
-
type DrawerStoreState = {
|
|
522
|
-
activeDrawer: DrawerType;
|
|
523
|
-
agentData: AgentDrawerData | null;
|
|
524
|
-
subworkflowData: SubworkflowDrawerData | null;
|
|
525
|
-
logicNodeData: LogicNodeDrawerData | null;
|
|
526
|
-
pipelineSettingsData: PipelineSettingsDrawerData | null;
|
|
527
|
-
};
|
|
528
|
-
type DrawerStoreActions = {
|
|
529
|
-
openAgentDrawer: (agent: AgentWithPrompts, models: AgentModel[], isCreateMode?: boolean) => void;
|
|
530
|
-
openSubworkflowDrawer: (tool: Subworkflow) => void;
|
|
531
|
-
openLogicNodeDrawer: (nodeId: string, nodeLabel: string, config: LogicNodeConfig) => void;
|
|
532
|
-
openPipelineSettingsDrawer: (name: string, description: string) => void;
|
|
533
|
-
closeDrawer: () => void;
|
|
534
|
-
};
|
|
535
|
-
type DrawerStore = DrawerStoreState & DrawerStoreActions;
|
|
536
|
-
declare const useDrawerStore: zustand.UseBoundStore<zustand.StoreApi<DrawerStore>>;
|
|
537
|
-
|
|
538
|
-
/**
|
|
539
|
-
* Workflow Store Selectors
|
|
540
|
-
* ========================
|
|
541
|
-
* Derived state hooks for granular subscriptions.
|
|
542
|
-
* Each selector subscribes only to the slice it needs,
|
|
543
|
-
* preventing unnecessary re-renders in consuming components.
|
|
544
|
-
*/
|
|
545
|
-
declare const useCanUndo: () => boolean;
|
|
546
|
-
declare const useCanRedo: () => boolean;
|
|
547
|
-
declare const useHasCopied: () => boolean;
|
|
548
|
-
declare const useContextMenu: () => {
|
|
549
|
-
type: "node" | "edge" | "panel";
|
|
550
|
-
position: {
|
|
551
|
-
x: number;
|
|
552
|
-
y: number;
|
|
553
|
-
};
|
|
554
|
-
targetId?: string;
|
|
555
|
-
} | null;
|
|
556
|
-
declare const useEditingNodeId: () => string | null;
|
|
557
|
-
declare const useSelectedNodeCount: () => number;
|
|
558
|
-
declare const useIsRunning: () => boolean;
|
|
559
|
-
declare const useNodeResults: () => Record<string, NodeRunResult>;
|
|
560
|
-
|
|
561
|
-
type UseUndoRedoReturn = {
|
|
562
|
-
undo: () => void;
|
|
563
|
-
redo: () => void;
|
|
564
|
-
canUndo: boolean;
|
|
565
|
-
canRedo: boolean;
|
|
566
|
-
takeSnapshot: () => void;
|
|
567
|
-
};
|
|
568
|
-
declare function useUndoRedo(nodes: Node[], edges: Edge[], setNodes: (nodes: Node[]) => void, setEdges: (edges: Edge[]) => void, maxHistory?: number): UseUndoRedoReturn;
|
|
569
|
-
|
|
570
|
-
type UseClipboardReturn = {
|
|
571
|
-
copy: () => void;
|
|
572
|
-
paste: () => void;
|
|
573
|
-
hasCopied: boolean;
|
|
574
|
-
};
|
|
575
|
-
declare function useClipboard(nodes: Node[], edges: Edge[], setNodes: (updater: (nodes: Node[]) => Node[]) => void, setEdges: (updater: (edges: Edge[]) => Edge[]) => void, takeSnapshot: () => void): UseClipboardReturn;
|
|
576
|
-
|
|
577
|
-
type UseCanvasShortcutsOptions = {
|
|
578
|
-
undo: () => void;
|
|
579
|
-
redo: () => void;
|
|
580
|
-
copy: () => void;
|
|
581
|
-
paste: () => void;
|
|
582
|
-
canUndo: boolean;
|
|
583
|
-
canRedo: boolean;
|
|
584
|
-
selectAll: () => void;
|
|
585
|
-
fitView: () => void;
|
|
586
|
-
};
|
|
587
|
-
declare function useCanvasShortcuts({ undo, redo, copy, paste, canUndo, canRedo, selectAll, fitView, }: UseCanvasShortcutsOptions): void;
|
|
588
|
-
|
|
589
|
-
/**
|
|
590
|
-
* Help Lines Hook
|
|
591
|
-
* ===============
|
|
592
|
-
* Detects alignment between the currently dragged node and
|
|
593
|
-
* all other nodes on the canvas. When edges (left, center, right,
|
|
594
|
-
* top, center-y, bottom) are within a 5px threshold, returns
|
|
595
|
-
* horizontal and/or vertical guide line positions for visual feedback.
|
|
596
|
-
*/
|
|
597
|
-
|
|
598
|
-
type NodeDragHandler = (event: React.MouseEvent, node: Node, nodes: Node[]) => void;
|
|
599
|
-
type HelpLinePosition = {
|
|
600
|
-
horizontal: number | null;
|
|
601
|
-
vertical: number | null;
|
|
602
|
-
};
|
|
603
|
-
/**
|
|
604
|
-
* Basic help lines hook. Returns a drag handler factory that accepts
|
|
605
|
-
* the full node list for alignment detection.
|
|
606
|
-
*
|
|
607
|
-
* Example:
|
|
608
|
-
* const { helpLines, createDragHandler, onNodeDragStop } = useHelpLines()
|
|
609
|
-
* const onNodeDrag = createDragHandler(nodes)
|
|
610
|
-
*/
|
|
611
|
-
declare function useHelpLines(): {
|
|
612
|
-
helpLines: HelpLinePosition;
|
|
613
|
-
createDragHandler: (allNodes: Node[]) => NodeDragHandler;
|
|
614
|
-
onNodeDragStop: NodeDragHandler;
|
|
615
|
-
};
|
|
616
|
-
|
|
617
|
-
/**
|
|
618
|
-
* Agent framework icons — LangChain, CrewAI, Google ADK, Anthropic Claude Agent SDK.
|
|
619
|
-
* SVG paths sourced from simple-icons where available.
|
|
620
|
-
*/
|
|
621
|
-
type AgentFramework = 'langchain' | 'crewai' | 'google-adk' | 'anthropic' | 'strands' | 'openai' | 'custom';
|
|
622
|
-
type FrameworkIconProps = {
|
|
623
|
-
className?: string;
|
|
624
|
-
};
|
|
625
|
-
declare function LangChainIcon({ className }: FrameworkIconProps): react_jsx_runtime.JSX.Element;
|
|
626
|
-
declare function CrewAIIcon({ className }: FrameworkIconProps): react_jsx_runtime.JSX.Element;
|
|
627
|
-
declare function AnthropicIcon({ className }: FrameworkIconProps): react_jsx_runtime.JSX.Element;
|
|
628
|
-
declare function GoogleADKIcon({ className }: FrameworkIconProps): react_jsx_runtime.JSX.Element;
|
|
629
|
-
declare function StrandsIcon({ className }: FrameworkIconProps): react_jsx_runtime.JSX.Element;
|
|
630
|
-
declare function OpenAIIcon({ className }: FrameworkIconProps): react_jsx_runtime.JSX.Element;
|
|
631
|
-
/** Color + label metadata for each framework */
|
|
632
|
-
declare const FRAMEWORK_META: Record<AgentFramework, {
|
|
633
|
-
label: string;
|
|
634
|
-
color: string;
|
|
635
|
-
badgeColor: string;
|
|
636
|
-
IconComponent: (props: FrameworkIconProps) => React.ReactNode;
|
|
637
|
-
}>;
|
|
638
|
-
/** Get the framework icon + metadata for a given framework key */
|
|
639
|
-
declare function getFrameworkMeta(framework: string | undefined): {
|
|
640
|
-
label: string;
|
|
641
|
-
color: string;
|
|
642
|
-
badgeColor: string;
|
|
643
|
-
IconComponent: (props: FrameworkIconProps) => React.ReactNode;
|
|
644
|
-
};
|
|
645
|
-
/** Check if a model ID is compatible with a framework */
|
|
646
|
-
declare function isModelCompatibleWithFramework(modelId: string, framework: AgentFramework): boolean;
|
|
647
|
-
/** Filter models to only those compatible with a framework */
|
|
648
|
-
declare function getCompatibleModels<T extends {
|
|
649
|
-
id: string;
|
|
650
|
-
}>(models: T[], framework: AgentFramework): T[];
|
|
651
|
-
/** Get the first compatible framework for a given model, or 'custom' as fallback */
|
|
652
|
-
declare function getDefaultFrameworkForModel(modelId: string): AgentFramework;
|
|
653
|
-
|
|
654
|
-
type AgentToolNodeData = {
|
|
655
|
-
agentTool: AgentTool;
|
|
656
|
-
order?: number;
|
|
657
|
-
displayMode?: 'detailed' | 'compact';
|
|
658
|
-
onEdit?: (agentTool: AgentTool) => void;
|
|
659
|
-
onToggle?: (agentTool: AgentTool) => void;
|
|
660
|
-
onRemoveFromCanvas?: (nodeId: string) => void;
|
|
661
|
-
label?: string;
|
|
662
|
-
};
|
|
663
|
-
declare const AgentToolFlowNode: React$1.NamedExoticComponent<{
|
|
664
|
-
id: string;
|
|
665
|
-
data: AgentToolNodeData;
|
|
666
|
-
selected?: boolean;
|
|
667
|
-
}>;
|
|
668
|
-
|
|
669
|
-
/**
|
|
670
|
-
* Model provider icons for AWS Bedrock models.
|
|
671
|
-
* Anthropic (Claude), Amazon (Nova), Meta (Llama).
|
|
672
|
-
*/
|
|
673
|
-
type IconProps = {
|
|
674
|
-
className?: string;
|
|
675
|
-
};
|
|
676
|
-
declare function AnthropicModelIcon({ className }: IconProps): react_jsx_runtime.JSX.Element;
|
|
677
|
-
declare function AmazonNovaIcon({ className }: IconProps): react_jsx_runtime.JSX.Element;
|
|
678
|
-
declare function MetaLlamaIcon({ className }: IconProps): react_jsx_runtime.JSX.Element;
|
|
679
|
-
/** Returns the icon component and color for a model ID */
|
|
680
|
-
declare function getModelIcon(modelId: string): {
|
|
681
|
-
IconComponent: (props: IconProps) => React.ReactNode;
|
|
682
|
-
color: string;
|
|
683
|
-
providerLabel: string;
|
|
684
|
-
};
|
|
685
|
-
|
|
686
|
-
declare const LOGIC_NODE_GRADIENTS: Record<string, string>;
|
|
687
|
-
declare const LOGIC_NODE_BADGE_COLORS: Record<string, string>;
|
|
688
|
-
declare const LOGIC_ICON_MAP: Record<string, React.ComponentType<{
|
|
689
|
-
className?: string;
|
|
690
|
-
}>>;
|
|
691
|
-
declare const MINIMAP_NODE_COLORS: Record<string, string>;
|
|
692
|
-
declare const LOGIC_NODE_HANDLE_COLORS: Record<string, string>;
|
|
693
|
-
|
|
694
|
-
/**
|
|
695
|
-
* Entity Visual Helpers
|
|
696
|
-
* =====================
|
|
697
|
-
* Generic appearance helpers for entity nodes independent of hardcoded entity types.
|
|
698
|
-
*/
|
|
699
|
-
declare function getEntityIcon(entityKey: string | undefined): React.ComponentType<{
|
|
700
|
-
className?: string;
|
|
701
|
-
}>;
|
|
702
|
-
declare function getEntityGradient(entityKey: string | undefined): string;
|
|
703
|
-
declare function getEntityBadgeColor(entityKey: string | undefined): string;
|
|
704
|
-
declare function getEntityHandleColor(entityKey: string | undefined): string;
|
|
705
|
-
declare function getEntityMinimapColor(entityKey: string | undefined): string;
|
|
706
|
-
|
|
707
|
-
export { AgentDrawer, AgentFlowNode, type AgentFramework, AgentNodeData, AgentToolFlowNode, AgentWithPrompts, AmazonNovaIcon, AnswerFlowNode, AnswerNodeData, AnthropicIcon, AnthropicModelIcon, AutoSaveWorkspace, type AutoSaveWorkspaceProps, CodeFlowNode, CodeNodeData, CrewAIIcon, DocumentExtractorFlowNode, DocumentExtractorNodeData, DslExportModal, DslImportModal, DynamicIslandConfirm, type DynamicIslandConfirmProps, EndFlowNode, EndNodeData, EntityFlowNode, EntityNodeData, FRAMEWORK_META, GoogleADKIcon, GroupFlowNode, GroupNodeData, HttpRequestFlowNode, HttpRequestNodeData, IfElseFlowNode, IfElseNodeData, IterationFlowNode, IterationNodeData, IterationStartFlowNode, IterationStartNodeData, KnowledgeBaseFlowNode, KnowledgeBaseNodeData, LOGIC_ICON_MAP, LOGIC_NODE_BADGE_COLORS, LOGIC_NODE_GRADIENTS, LOGIC_NODE_HANDLE_COLORS, LangChainIcon, LayoutDirection, ListOperatorFlowNode, ListOperatorNodeData, LogicNodeDrawer, MINIMAP_NODE_COLORS, MetaLlamaIcon, NodeCard, NodeContextMenu, NodePalette, type NodeRunResult, NoteFlowNode, NoteNodeData, OpenAIIcon, PanelContextMenu, ParameterExtractorFlowNode, ParameterExtractorNodeData, PipelineSettingsDrawer, PreviewPanel, type PreviewPanelProps, QuestionClassifierFlowNode, QuestionClassifierNodeData, RuleFlowNode, RuleNodeData, RunInputDialog, type RunInputDialogProps, RunPanel, SaveStatusBadge, type SaveStatusBadgeProps, SelectionContextMenu, StartFlowNode, StartNodeData, StrandsIcon, SubworkflowDrawer, TemplateTransformFlowNode, TemplateTransformNodeData, ToolFlowNode, ToolNodeData, VariableAggregatorFlowNode, VariableAggregatorNodeData, VariableAssignerFlowNode, VariableAssignerNodeData, VariableInspector, VersionHistoryPanel, type WorkflowBuilderClient, WorkflowBuilderProvider, type WorkflowBuilderProviderProps, WorkflowGraph, WorkflowListBar, type WorkflowStore, type WorkspaceBootstrapPayload, WorkspaceDrawer, WorkspaceProps, getCompatibleModels, getDefaultFrameworkForModel, getEntityBadgeColor, getEntityGradient, getEntityHandleColor, getEntityIcon, getEntityMinimapColor, getFrameworkMeta, getModelIcon, isModelCompatibleWithFramework, useCanRedo, useCanUndo, useCanvasShortcuts, useClipboard, useContextMenu, useDrawerStore, useEditingNodeId, useHasCopied, useHelpLines, useIsRunning, useNodeResults, useSelectedNodeCount, useSubworkflowStore, useUndoRedo, useWorkflowBuilderClient, useWorkflowBuilderClientOptional, useWorkflowStore };
|