@datatechsolutions/ui 2.11.47 → 2.11.48

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.
Files changed (35) hide show
  1. package/dist/astrlabe/index.js +108 -108
  2. package/dist/astrlabe/index.mjs +2 -2
  3. package/dist/astrlabe/workflow-canvas.js +2 -2
  4. package/dist/astrlabe/workflow-canvas.mjs +1 -1
  5. package/dist/{chunk-5KDFTL4I.js → chunk-NWELMK3Y.js} +3 -2
  6. package/dist/chunk-NWELMK3Y.js.map +1 -0
  7. package/dist/{chunk-KDNDLSDW.mjs → chunk-XDS3RWPA.mjs} +3 -2
  8. package/dist/chunk-XDS3RWPA.mjs.map +1 -0
  9. package/package.json +1 -1
  10. package/dist/astrlabe/contracts.d.mts +0 -309
  11. package/dist/astrlabe/contracts.d.ts +0 -309
  12. package/dist/astrlabe/graph-node.d.mts +0 -28
  13. package/dist/astrlabe/graph-node.d.ts +0 -28
  14. package/dist/astrlabe/index.d.mts +0 -749
  15. package/dist/astrlabe/index.d.ts +0 -749
  16. package/dist/astrlabe/utils.d.mts +0 -71
  17. package/dist/astrlabe/utils.d.ts +0 -71
  18. package/dist/astrlabe/workflow-canvas.d.mts +0 -5
  19. package/dist/astrlabe/workflow-canvas.d.ts +0 -5
  20. package/dist/astrlabe/workflow-preview-canvas.d.mts +0 -10
  21. package/dist/astrlabe/workflow-preview-canvas.d.ts +0 -10
  22. package/dist/brand/index.d.mts +0 -85
  23. package/dist/brand/index.d.ts +0 -85
  24. package/dist/chunk-5KDFTL4I.js.map +0 -1
  25. package/dist/chunk-KDNDLSDW.mjs.map +0 -1
  26. package/dist/dynamic-island-confirm-Bw24Ll2r.d.mts +0 -114
  27. package/dist/dynamic-island-confirm-Bw24Ll2r.d.ts +0 -114
  28. package/dist/index.d.mts +0 -4673
  29. package/dist/index.d.ts +0 -4673
  30. package/dist/lib/i18n-context.d.mts +0 -36
  31. package/dist/lib/i18n-context.d.ts +0 -36
  32. package/dist/lib/router-context.d.mts +0 -35
  33. package/dist/lib/router-context.d.ts +0 -35
  34. package/dist/workflow-canvas-D4928AfA.d.mts +0 -273
  35. package/dist/workflow-canvas-NSxfr5dy.d.ts +0 -273
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datatechsolutions/ui",
3
- "version": "2.11.47",
3
+ "version": "2.11.48",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -1,309 +0,0 @@
1
- /**
2
- * Core Contracts
3
- * ==============
4
- * Self-contained workflow contracts for embeddable usage.
5
- * No dependency on shared-domain.
6
- */
7
- type WorkflowNodeType = 'agent' | 'tool' | 'agent_tool' | 'rule' | 'start' | 'end' | 'if_else' | 'code' | 'http_request' | 'template_transform' | 'iteration' | 'knowledge_base' | 'answer' | 'question_classifier' | 'parameter_extractor' | 'variable_assigner' | 'variable_aggregator' | 'document_extractor' | 'list_operator' | 'iteration_start' | 'note' | 'entity' | 'datasource' | 'model_provider' | 'group';
8
- type StartNodeConfig = {
9
- type: 'start';
10
- inputVariables: string[];
11
- };
12
- type EndNodeConfig = {
13
- type: 'end';
14
- outputVariables: string[];
15
- };
16
- type IfElseNodeConfig = {
17
- type: 'if_else';
18
- conditions: Array<{
19
- variable: string;
20
- operator: string;
21
- value: string;
22
- }>;
23
- logicalOperator: 'and' | 'or';
24
- };
25
- type CodeNodeConfig = {
26
- type: 'code';
27
- language: 'javascript' | 'python' | 'typescript';
28
- code: string;
29
- };
30
- type HttpRequestNodeConfig = {
31
- type: 'http_request';
32
- method: 'GET' | 'POST' | 'PUT' | 'DELETE';
33
- url: string;
34
- headers: Record<string, string>;
35
- body: string;
36
- timeoutMs: number;
37
- };
38
- type TemplateTransformNodeConfig = {
39
- type: 'template_transform';
40
- template: string;
41
- outputVariable: string;
42
- };
43
- type IterationNodeConfig = {
44
- type: 'iteration';
45
- iteratorVariable: string;
46
- maxIterations: number;
47
- };
48
- type KnowledgeBaseNodeConfig = {
49
- type: 'knowledge_base';
50
- sourceId: string;
51
- topK: number;
52
- similarityThreshold: number;
53
- };
54
- type AnswerNodeConfig = {
55
- type: 'answer';
56
- outputTemplate: string;
57
- outputVariables: string[];
58
- };
59
- type QuestionClassifierNodeConfig = {
60
- type: 'question_classifier';
61
- modelId: string;
62
- instructions: string;
63
- categories: Array<{
64
- id: string;
65
- name: string;
66
- description: string;
67
- }>;
68
- };
69
- type ParameterExtractorNodeConfig = {
70
- type: 'parameter_extractor';
71
- modelId: string;
72
- parameters: Array<{
73
- name: string;
74
- type: 'string' | 'number' | 'boolean' | 'array';
75
- description: string;
76
- required: boolean;
77
- }>;
78
- };
79
- type VariableAssignerNodeConfig = {
80
- type: 'variable_assigner';
81
- assignments: Array<{
82
- target: string;
83
- source: string;
84
- }>;
85
- };
86
- type VariableAggregatorNodeConfig = {
87
- type: 'variable_aggregator';
88
- inputVariables: string[];
89
- outputVariable: string;
90
- aggregationMode: 'array' | 'object' | 'concatenate';
91
- };
92
- type DocumentExtractorNodeConfig = {
93
- type: 'document_extractor';
94
- extractionMode: 'text' | 'table' | 'structured';
95
- outputVariable: string;
96
- };
97
- type ListOperatorNodeConfig = {
98
- type: 'list_operator';
99
- operation: 'filter' | 'map' | 'sort' | 'limit' | 'deduplicate' | 'flatten';
100
- inputVariable: string;
101
- outputVariable: string;
102
- condition?: string;
103
- sortKey?: string;
104
- sortOrder?: 'asc' | 'desc';
105
- limitCount?: number;
106
- };
107
- type IterationStartNodeConfig = {
108
- type: 'iteration_start';
109
- iteratorVariable: string;
110
- itemVariable: string;
111
- indexVariable: string;
112
- };
113
- type NoteNodeConfig = {
114
- type: 'note';
115
- text: string;
116
- color: 'yellow' | 'blue' | 'green' | 'pink' | 'purple';
117
- width: number;
118
- height: number;
119
- };
120
- type GroupNodeConfig = {
121
- type: 'group';
122
- label: string;
123
- description?: string;
124
- color: 'indigo' | 'teal' | 'amber' | 'rose' | 'slate';
125
- isExpanded: boolean;
126
- width: number;
127
- height: number;
128
- collapsedWidth: number;
129
- collapsedHeight: number;
130
- };
131
- type EntityNodeConfig = {
132
- type: 'entity';
133
- entityMasterId: string;
134
- selectedFields: string[];
135
- filterVariables: Record<string, string>;
136
- outputVariable: string;
137
- limit: number;
138
- };
139
- type DatasourceNodeConfig = {
140
- type: 'datasource';
141
- datasourceId: string;
142
- dialect: string;
143
- table: string;
144
- selectedColumns: string[];
145
- filterVariables: Record<string, string>;
146
- outputVariable: string;
147
- limit: number;
148
- };
149
- type RuleNodeConfig = {
150
- type: 'rule';
151
- entityId?: string;
152
- outputVariable?: string;
153
- priceVariable?: string;
154
- contextVariables?: Record<string, string>;
155
- };
156
- type ModelProviderType = 'aws_bedrock' | 'openai_api' | 'google_vertex' | 'azure_openai' | 'anthropic_api' | 'groq' | 'mistral' | 'huggingface' | 'ollama' | 'custom';
157
- type ModelProviderNodeConfig = {
158
- type: 'model_provider';
159
- /** References astrlabe.model_provider_connections.id when persisted */
160
- connectionId?: string;
161
- /** References astrlabe.model_providers.slug */
162
- providerType: ModelProviderType;
163
- name?: string;
164
- region?: string;
165
- endpoint?: string;
166
- credentialRef?: string;
167
- apiKeyRef?: string;
168
- modelFilter?: string[];
169
- };
170
- type LogicNodeConfig = StartNodeConfig | EndNodeConfig | IfElseNodeConfig | CodeNodeConfig | HttpRequestNodeConfig | TemplateTransformNodeConfig | IterationNodeConfig | KnowledgeBaseNodeConfig | AnswerNodeConfig | QuestionClassifierNodeConfig | ParameterExtractorNodeConfig | VariableAssignerNodeConfig | VariableAggregatorNodeConfig | DocumentExtractorNodeConfig | ListOperatorNodeConfig | IterationStartNodeConfig | NoteNodeConfig | GroupNodeConfig | EntityNodeConfig | DatasourceNodeConfig | RuleNodeConfig | ModelProviderNodeConfig;
171
- type WorkflowNodeData = {
172
- entityId: string;
173
- label: string;
174
- config?: LogicNodeConfig;
175
- errorStrategy?: 'fail_graph' | 'fail_branch' | 'continue';
176
- };
177
- type WorkflowNode = {
178
- id: string;
179
- type: WorkflowNodeType;
180
- position: {
181
- x: number;
182
- y: number;
183
- };
184
- data: WorkflowNodeData;
185
- parentId?: string;
186
- extent?: 'parent';
187
- style?: {
188
- width?: number;
189
- height?: number;
190
- };
191
- };
192
- type WorkflowEdge = {
193
- id: string;
194
- source: string;
195
- target: string;
196
- sourceHandle: string | null;
197
- targetHandle: string | null;
198
- };
199
- type WorkflowViewport = {
200
- x: number;
201
- y: number;
202
- zoom: number;
203
- };
204
- type WorkflowGraph = {
205
- nodes: WorkflowNode[];
206
- edges: WorkflowEdge[];
207
- viewport?: WorkflowViewport;
208
- };
209
- type Workflow = {
210
- id: string;
211
- organizationId: string;
212
- name: string;
213
- description?: string;
214
- graph: WorkflowGraph;
215
- publishedGraph: WorkflowGraph | null;
216
- version: number;
217
- isDraft?: boolean;
218
- createdAt: Date | string;
219
- updatedAt: Date | string;
220
- };
221
- type WorkflowNodeStatus = 'pending' | 'running' | 'success' | 'error' | 'skipped';
222
- type VariableValue = string | number | boolean | null | VariableValue[] | {
223
- [key: string]: VariableValue;
224
- };
225
- type NodeExecutionResult = {
226
- nodeId: string;
227
- nodeType: WorkflowNodeType;
228
- status: WorkflowNodeStatus;
229
- inputs?: Record<string, VariableValue>;
230
- outputs: Record<string, VariableValue>;
231
- error?: string;
232
- durationMs: number;
233
- startedAt: string;
234
- completedAt: string;
235
- };
236
- type WorkflowRunStatus = 'pending' | 'running' | 'completed' | 'failed' | 'cancelled';
237
- type WorkflowRun = {
238
- id: string;
239
- workflowId: string;
240
- organizationId: string;
241
- status: WorkflowRunStatus;
242
- inputVariables: Record<string, VariableValue>;
243
- outputVariables: Record<string, VariableValue>;
244
- nodeResults: NodeExecutionResult[];
245
- error: string | null;
246
- totalDurationMs: number | null;
247
- triggeredBy: string;
248
- graphSnapshot: WorkflowGraph;
249
- createdAt: string;
250
- updatedAt: string;
251
- };
252
- type AgentConfig = {
253
- agentId: string;
254
- id?: string;
255
- name: string;
256
- role?: string;
257
- modelId?: string;
258
- modelProviderId?: string;
259
- order?: number;
260
- temperature?: number;
261
- maxTokens?: number;
262
- enabled?: boolean;
263
- [key: string]: unknown;
264
- };
265
- type AgentModel = {
266
- id: string;
267
- name: string;
268
- provider: string;
269
- enabled: boolean;
270
- };
271
- type WorkflowTool = {
272
- toolId: string;
273
- name: string;
274
- category?: string;
275
- icon?: string;
276
- endpoint?: string;
277
- method?: 'GET' | 'POST' | 'PUT' | 'DELETE';
278
- enabled: boolean;
279
- [key: string]: unknown;
280
- };
281
- type AgentTool = {
282
- agentToolId: string;
283
- name: string;
284
- description?: string;
285
- category?: 'search' | 'code' | 'file' | 'web' | 'math' | 'custom';
286
- icon?: string;
287
- enabled: boolean;
288
- compatibleFrameworks?: string[];
289
- parameters?: Array<{
290
- name: string;
291
- type: string;
292
- description: string;
293
- required: boolean;
294
- }>;
295
- [key: string]: unknown;
296
- };
297
- type AgentRule = {
298
- ruleId: string;
299
- name: string;
300
- description?: string;
301
- enabled: boolean;
302
- order?: number;
303
- condition?: Record<string, unknown>;
304
- conditions?: Array<Record<string, unknown>>;
305
- actions?: Array<Record<string, unknown>>;
306
- [key: string]: unknown;
307
- };
308
-
309
- export type { AgentConfig, AgentModel, AgentRule, AgentTool, AnswerNodeConfig, CodeNodeConfig, DatasourceNodeConfig, DocumentExtractorNodeConfig, EndNodeConfig, EntityNodeConfig, GroupNodeConfig, HttpRequestNodeConfig, IfElseNodeConfig, IterationNodeConfig, IterationStartNodeConfig, KnowledgeBaseNodeConfig, ListOperatorNodeConfig, LogicNodeConfig, ModelProviderNodeConfig, ModelProviderType, NodeExecutionResult, NoteNodeConfig, ParameterExtractorNodeConfig, QuestionClassifierNodeConfig, RuleNodeConfig, StartNodeConfig, TemplateTransformNodeConfig, VariableAggregatorNodeConfig, VariableAssignerNodeConfig, VariableValue, Workflow, WorkflowEdge, WorkflowGraph, WorkflowNode, WorkflowNodeData, WorkflowNodeStatus, WorkflowNodeType, WorkflowRun, WorkflowRunStatus, WorkflowTool, WorkflowViewport };
@@ -1,309 +0,0 @@
1
- /**
2
- * Core Contracts
3
- * ==============
4
- * Self-contained workflow contracts for embeddable usage.
5
- * No dependency on shared-domain.
6
- */
7
- type WorkflowNodeType = 'agent' | 'tool' | 'agent_tool' | 'rule' | 'start' | 'end' | 'if_else' | 'code' | 'http_request' | 'template_transform' | 'iteration' | 'knowledge_base' | 'answer' | 'question_classifier' | 'parameter_extractor' | 'variable_assigner' | 'variable_aggregator' | 'document_extractor' | 'list_operator' | 'iteration_start' | 'note' | 'entity' | 'datasource' | 'model_provider' | 'group';
8
- type StartNodeConfig = {
9
- type: 'start';
10
- inputVariables: string[];
11
- };
12
- type EndNodeConfig = {
13
- type: 'end';
14
- outputVariables: string[];
15
- };
16
- type IfElseNodeConfig = {
17
- type: 'if_else';
18
- conditions: Array<{
19
- variable: string;
20
- operator: string;
21
- value: string;
22
- }>;
23
- logicalOperator: 'and' | 'or';
24
- };
25
- type CodeNodeConfig = {
26
- type: 'code';
27
- language: 'javascript' | 'python' | 'typescript';
28
- code: string;
29
- };
30
- type HttpRequestNodeConfig = {
31
- type: 'http_request';
32
- method: 'GET' | 'POST' | 'PUT' | 'DELETE';
33
- url: string;
34
- headers: Record<string, string>;
35
- body: string;
36
- timeoutMs: number;
37
- };
38
- type TemplateTransformNodeConfig = {
39
- type: 'template_transform';
40
- template: string;
41
- outputVariable: string;
42
- };
43
- type IterationNodeConfig = {
44
- type: 'iteration';
45
- iteratorVariable: string;
46
- maxIterations: number;
47
- };
48
- type KnowledgeBaseNodeConfig = {
49
- type: 'knowledge_base';
50
- sourceId: string;
51
- topK: number;
52
- similarityThreshold: number;
53
- };
54
- type AnswerNodeConfig = {
55
- type: 'answer';
56
- outputTemplate: string;
57
- outputVariables: string[];
58
- };
59
- type QuestionClassifierNodeConfig = {
60
- type: 'question_classifier';
61
- modelId: string;
62
- instructions: string;
63
- categories: Array<{
64
- id: string;
65
- name: string;
66
- description: string;
67
- }>;
68
- };
69
- type ParameterExtractorNodeConfig = {
70
- type: 'parameter_extractor';
71
- modelId: string;
72
- parameters: Array<{
73
- name: string;
74
- type: 'string' | 'number' | 'boolean' | 'array';
75
- description: string;
76
- required: boolean;
77
- }>;
78
- };
79
- type VariableAssignerNodeConfig = {
80
- type: 'variable_assigner';
81
- assignments: Array<{
82
- target: string;
83
- source: string;
84
- }>;
85
- };
86
- type VariableAggregatorNodeConfig = {
87
- type: 'variable_aggregator';
88
- inputVariables: string[];
89
- outputVariable: string;
90
- aggregationMode: 'array' | 'object' | 'concatenate';
91
- };
92
- type DocumentExtractorNodeConfig = {
93
- type: 'document_extractor';
94
- extractionMode: 'text' | 'table' | 'structured';
95
- outputVariable: string;
96
- };
97
- type ListOperatorNodeConfig = {
98
- type: 'list_operator';
99
- operation: 'filter' | 'map' | 'sort' | 'limit' | 'deduplicate' | 'flatten';
100
- inputVariable: string;
101
- outputVariable: string;
102
- condition?: string;
103
- sortKey?: string;
104
- sortOrder?: 'asc' | 'desc';
105
- limitCount?: number;
106
- };
107
- type IterationStartNodeConfig = {
108
- type: 'iteration_start';
109
- iteratorVariable: string;
110
- itemVariable: string;
111
- indexVariable: string;
112
- };
113
- type NoteNodeConfig = {
114
- type: 'note';
115
- text: string;
116
- color: 'yellow' | 'blue' | 'green' | 'pink' | 'purple';
117
- width: number;
118
- height: number;
119
- };
120
- type GroupNodeConfig = {
121
- type: 'group';
122
- label: string;
123
- description?: string;
124
- color: 'indigo' | 'teal' | 'amber' | 'rose' | 'slate';
125
- isExpanded: boolean;
126
- width: number;
127
- height: number;
128
- collapsedWidth: number;
129
- collapsedHeight: number;
130
- };
131
- type EntityNodeConfig = {
132
- type: 'entity';
133
- entityMasterId: string;
134
- selectedFields: string[];
135
- filterVariables: Record<string, string>;
136
- outputVariable: string;
137
- limit: number;
138
- };
139
- type DatasourceNodeConfig = {
140
- type: 'datasource';
141
- datasourceId: string;
142
- dialect: string;
143
- table: string;
144
- selectedColumns: string[];
145
- filterVariables: Record<string, string>;
146
- outputVariable: string;
147
- limit: number;
148
- };
149
- type RuleNodeConfig = {
150
- type: 'rule';
151
- entityId?: string;
152
- outputVariable?: string;
153
- priceVariable?: string;
154
- contextVariables?: Record<string, string>;
155
- };
156
- type ModelProviderType = 'aws_bedrock' | 'openai_api' | 'google_vertex' | 'azure_openai' | 'anthropic_api' | 'groq' | 'mistral' | 'huggingface' | 'ollama' | 'custom';
157
- type ModelProviderNodeConfig = {
158
- type: 'model_provider';
159
- /** References astrlabe.model_provider_connections.id when persisted */
160
- connectionId?: string;
161
- /** References astrlabe.model_providers.slug */
162
- providerType: ModelProviderType;
163
- name?: string;
164
- region?: string;
165
- endpoint?: string;
166
- credentialRef?: string;
167
- apiKeyRef?: string;
168
- modelFilter?: string[];
169
- };
170
- type LogicNodeConfig = StartNodeConfig | EndNodeConfig | IfElseNodeConfig | CodeNodeConfig | HttpRequestNodeConfig | TemplateTransformNodeConfig | IterationNodeConfig | KnowledgeBaseNodeConfig | AnswerNodeConfig | QuestionClassifierNodeConfig | ParameterExtractorNodeConfig | VariableAssignerNodeConfig | VariableAggregatorNodeConfig | DocumentExtractorNodeConfig | ListOperatorNodeConfig | IterationStartNodeConfig | NoteNodeConfig | GroupNodeConfig | EntityNodeConfig | DatasourceNodeConfig | RuleNodeConfig | ModelProviderNodeConfig;
171
- type WorkflowNodeData = {
172
- entityId: string;
173
- label: string;
174
- config?: LogicNodeConfig;
175
- errorStrategy?: 'fail_graph' | 'fail_branch' | 'continue';
176
- };
177
- type WorkflowNode = {
178
- id: string;
179
- type: WorkflowNodeType;
180
- position: {
181
- x: number;
182
- y: number;
183
- };
184
- data: WorkflowNodeData;
185
- parentId?: string;
186
- extent?: 'parent';
187
- style?: {
188
- width?: number;
189
- height?: number;
190
- };
191
- };
192
- type WorkflowEdge = {
193
- id: string;
194
- source: string;
195
- target: string;
196
- sourceHandle: string | null;
197
- targetHandle: string | null;
198
- };
199
- type WorkflowViewport = {
200
- x: number;
201
- y: number;
202
- zoom: number;
203
- };
204
- type WorkflowGraph = {
205
- nodes: WorkflowNode[];
206
- edges: WorkflowEdge[];
207
- viewport?: WorkflowViewport;
208
- };
209
- type Workflow = {
210
- id: string;
211
- organizationId: string;
212
- name: string;
213
- description?: string;
214
- graph: WorkflowGraph;
215
- publishedGraph: WorkflowGraph | null;
216
- version: number;
217
- isDraft?: boolean;
218
- createdAt: Date | string;
219
- updatedAt: Date | string;
220
- };
221
- type WorkflowNodeStatus = 'pending' | 'running' | 'success' | 'error' | 'skipped';
222
- type VariableValue = string | number | boolean | null | VariableValue[] | {
223
- [key: string]: VariableValue;
224
- };
225
- type NodeExecutionResult = {
226
- nodeId: string;
227
- nodeType: WorkflowNodeType;
228
- status: WorkflowNodeStatus;
229
- inputs?: Record<string, VariableValue>;
230
- outputs: Record<string, VariableValue>;
231
- error?: string;
232
- durationMs: number;
233
- startedAt: string;
234
- completedAt: string;
235
- };
236
- type WorkflowRunStatus = 'pending' | 'running' | 'completed' | 'failed' | 'cancelled';
237
- type WorkflowRun = {
238
- id: string;
239
- workflowId: string;
240
- organizationId: string;
241
- status: WorkflowRunStatus;
242
- inputVariables: Record<string, VariableValue>;
243
- outputVariables: Record<string, VariableValue>;
244
- nodeResults: NodeExecutionResult[];
245
- error: string | null;
246
- totalDurationMs: number | null;
247
- triggeredBy: string;
248
- graphSnapshot: WorkflowGraph;
249
- createdAt: string;
250
- updatedAt: string;
251
- };
252
- type AgentConfig = {
253
- agentId: string;
254
- id?: string;
255
- name: string;
256
- role?: string;
257
- modelId?: string;
258
- modelProviderId?: string;
259
- order?: number;
260
- temperature?: number;
261
- maxTokens?: number;
262
- enabled?: boolean;
263
- [key: string]: unknown;
264
- };
265
- type AgentModel = {
266
- id: string;
267
- name: string;
268
- provider: string;
269
- enabled: boolean;
270
- };
271
- type WorkflowTool = {
272
- toolId: string;
273
- name: string;
274
- category?: string;
275
- icon?: string;
276
- endpoint?: string;
277
- method?: 'GET' | 'POST' | 'PUT' | 'DELETE';
278
- enabled: boolean;
279
- [key: string]: unknown;
280
- };
281
- type AgentTool = {
282
- agentToolId: string;
283
- name: string;
284
- description?: string;
285
- category?: 'search' | 'code' | 'file' | 'web' | 'math' | 'custom';
286
- icon?: string;
287
- enabled: boolean;
288
- compatibleFrameworks?: string[];
289
- parameters?: Array<{
290
- name: string;
291
- type: string;
292
- description: string;
293
- required: boolean;
294
- }>;
295
- [key: string]: unknown;
296
- };
297
- type AgentRule = {
298
- ruleId: string;
299
- name: string;
300
- description?: string;
301
- enabled: boolean;
302
- order?: number;
303
- condition?: Record<string, unknown>;
304
- conditions?: Array<Record<string, unknown>>;
305
- actions?: Array<Record<string, unknown>>;
306
- [key: string]: unknown;
307
- };
308
-
309
- export type { AgentConfig, AgentModel, AgentRule, AgentTool, AnswerNodeConfig, CodeNodeConfig, DatasourceNodeConfig, DocumentExtractorNodeConfig, EndNodeConfig, EntityNodeConfig, GroupNodeConfig, HttpRequestNodeConfig, IfElseNodeConfig, IterationNodeConfig, IterationStartNodeConfig, KnowledgeBaseNodeConfig, ListOperatorNodeConfig, LogicNodeConfig, ModelProviderNodeConfig, ModelProviderType, NodeExecutionResult, NoteNodeConfig, ParameterExtractorNodeConfig, QuestionClassifierNodeConfig, RuleNodeConfig, StartNodeConfig, TemplateTransformNodeConfig, VariableAggregatorNodeConfig, VariableAssignerNodeConfig, VariableValue, Workflow, WorkflowEdge, WorkflowGraph, WorkflowNode, WorkflowNodeData, WorkflowNodeStatus, WorkflowNodeType, WorkflowRun, WorkflowRunStatus, WorkflowTool, WorkflowViewport };
@@ -1,28 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactNode } from 'react';
3
-
4
- interface GraphNodeIconBubbleProps {
5
- children: ReactNode;
6
- className?: string;
7
- }
8
- declare function GraphNodeIconBubble({ children, className }: GraphNodeIconBubbleProps): react_jsx_runtime.JSX.Element;
9
- interface GraphNodeHeaderProps {
10
- icon: ReactNode;
11
- title: string;
12
- description?: string;
13
- compact?: boolean;
14
- iconClassName?: string;
15
- }
16
- declare function GraphNodeHeader({ icon, title, description, compact, iconClassName, }: GraphNodeHeaderProps): react_jsx_runtime.JSX.Element;
17
- interface GraphNodeMetaProps {
18
- compact?: boolean;
19
- children: ReactNode;
20
- }
21
- declare function GraphNodeMeta({ compact, children }: GraphNodeMetaProps): react_jsx_runtime.JSX.Element | null;
22
- interface GraphNodeBadgeProps {
23
- children: ReactNode;
24
- className?: string;
25
- }
26
- declare function GraphNodeBadge({ children, className }: GraphNodeBadgeProps): react_jsx_runtime.JSX.Element;
27
-
28
- export { GraphNodeBadge, GraphNodeHeader, GraphNodeIconBubble, GraphNodeMeta };
@@ -1,28 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactNode } from 'react';
3
-
4
- interface GraphNodeIconBubbleProps {
5
- children: ReactNode;
6
- className?: string;
7
- }
8
- declare function GraphNodeIconBubble({ children, className }: GraphNodeIconBubbleProps): react_jsx_runtime.JSX.Element;
9
- interface GraphNodeHeaderProps {
10
- icon: ReactNode;
11
- title: string;
12
- description?: string;
13
- compact?: boolean;
14
- iconClassName?: string;
15
- }
16
- declare function GraphNodeHeader({ icon, title, description, compact, iconClassName, }: GraphNodeHeaderProps): react_jsx_runtime.JSX.Element;
17
- interface GraphNodeMetaProps {
18
- compact?: boolean;
19
- children: ReactNode;
20
- }
21
- declare function GraphNodeMeta({ compact, children }: GraphNodeMetaProps): react_jsx_runtime.JSX.Element | null;
22
- interface GraphNodeBadgeProps {
23
- children: ReactNode;
24
- className?: string;
25
- }
26
- declare function GraphNodeBadge({ children, className }: GraphNodeBadgeProps): react_jsx_runtime.JSX.Element;
27
-
28
- export { GraphNodeBadge, GraphNodeHeader, GraphNodeIconBubble, GraphNodeMeta };