@datatechsolutions/ui 2.11.14 → 2.11.15
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/astrlabe/contracts.d.mts +15 -3
- package/dist/astrlabe/contracts.d.ts +15 -3
- package/dist/astrlabe/index.d.mts +9 -3
- package/dist/astrlabe/index.d.ts +9 -3
- package/dist/astrlabe/index.js +125 -102
- package/dist/astrlabe/index.js.map +1 -1
- package/dist/astrlabe/index.mjs +23 -4
- package/dist/astrlabe/index.mjs.map +1 -1
- package/dist/astrlabe/workflow-canvas.d.mts +1 -1
- package/dist/astrlabe/workflow-canvas.d.ts +1 -1
- package/dist/astrlabe/workflow-canvas.js +2 -2
- package/dist/astrlabe/workflow-canvas.mjs +1 -1
- package/dist/{chunk-OL7PEDJG.mjs → chunk-NTXIFTIQ.mjs} +217 -7
- package/dist/chunk-NTXIFTIQ.mjs.map +1 -0
- package/dist/{chunk-JT2JCLN5.js → chunk-WB5CWGXD.js} +215 -4
- package/dist/chunk-WB5CWGXD.js.map +1 -0
- package/dist/{workflow-canvas-BUpiBzxZ.d.ts → workflow-canvas-CEfOHTzN.d.ts} +13 -2
- package/dist/{workflow-canvas-CooSZh-g.d.mts → workflow-canvas-Dfj5MOAY.d.mts} +13 -2
- package/package.json +1 -1
- package/dist/chunk-JT2JCLN5.js.map +0 -1
- package/dist/chunk-OL7PEDJG.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ComponentProps } from 'react';
|
|
3
3
|
import { NodeTypes } from '@xyflow/react';
|
|
4
|
-
import { AgentConfig, AnswerNodeConfig, CodeNodeConfig, DocumentExtractorNodeConfig, EndNodeConfig, EntityNodeConfig, GroupNodeConfig, HttpRequestNodeConfig, IfElseNodeConfig, IterationNodeConfig, IterationStartNodeConfig, KnowledgeBaseNodeConfig, ListOperatorNodeConfig, NoteNodeConfig, ParameterExtractorNodeConfig, QuestionClassifierNodeConfig, AgentRule, RuleNodeConfig, StartNodeConfig, TemplateTransformNodeConfig, Subworkflow, VariableAggregatorNodeConfig, VariableAssignerNodeConfig, AgentModel, AgentTool, WorkflowGraph, LogicNodeConfig } from './astrlabe/contracts.js';
|
|
4
|
+
import { AgentConfig, AnswerNodeConfig, CodeNodeConfig, DocumentExtractorNodeConfig, EndNodeConfig, EntityNodeConfig, GroupNodeConfig, HttpRequestNodeConfig, IfElseNodeConfig, IterationNodeConfig, IterationStartNodeConfig, KnowledgeBaseNodeConfig, ListOperatorNodeConfig, ModelProviderNodeConfig, NoteNodeConfig, ParameterExtractorNodeConfig, QuestionClassifierNodeConfig, AgentRule, RuleNodeConfig, StartNodeConfig, TemplateTransformNodeConfig, Subworkflow, VariableAggregatorNodeConfig, VariableAssignerNodeConfig, AgentModel, AgentTool, WorkflowGraph, LogicNodeConfig } from './astrlabe/contracts.js';
|
|
5
5
|
|
|
6
6
|
type WorkflowCardDisplayMode = 'detailed' | 'compact';
|
|
7
7
|
type WorkflowEntityDefinition = {
|
|
@@ -19,6 +19,13 @@ type AgentWithPrompts = AgentConfig & {
|
|
|
19
19
|
promptCount: number;
|
|
20
20
|
activePromptVersion: number;
|
|
21
21
|
};
|
|
22
|
+
type ModelProviderNodeData = {
|
|
23
|
+
config?: ModelProviderNodeConfig;
|
|
24
|
+
label: string;
|
|
25
|
+
displayMode?: WorkflowCardDisplayMode;
|
|
26
|
+
onEdit?: (nodeId: string) => void;
|
|
27
|
+
onRemoveFromCanvas?: (nodeId: string) => void;
|
|
28
|
+
};
|
|
22
29
|
type AgentNodeTool = {
|
|
23
30
|
id: string;
|
|
24
31
|
name: string;
|
|
@@ -34,6 +41,10 @@ type AgentNodeData = {
|
|
|
34
41
|
agentTools?: AgentNodeTool[];
|
|
35
42
|
/** Model provider name for display */
|
|
36
43
|
providerName?: string;
|
|
44
|
+
/** Model provider node ID (for config reference) */
|
|
45
|
+
modelProviderId?: string;
|
|
46
|
+
/** Model provider display label (e.g. "AWS Bedrock us-east-1") */
|
|
47
|
+
modelProviderLabel?: string;
|
|
37
48
|
onSelect: (agentId: string) => void;
|
|
38
49
|
onRemoveFromCanvas?: (nodeId: string) => void;
|
|
39
50
|
};
|
|
@@ -248,4 +259,4 @@ type WorkspaceProps = {
|
|
|
248
259
|
} & Partial<BuilderCanvasProps>;
|
|
249
260
|
declare function Workspace({ locale, messages, className, workflowId, ...canvasProps }: WorkspaceProps): react_jsx_runtime.JSX.Element;
|
|
250
261
|
|
|
251
|
-
export { type AgentWithPrompts as A, type CodeNodeData as C, type DocumentExtractorNodeData as D, type EntityNodeData as E, type GroupNodeData as G, type HttpRequestNodeData as H, type IfElseNodeData as I, type KnowledgeBaseNodeData as K, type ListOperatorNodeData as L, type NoteNodeData as N, type ParameterExtractorNodeData as P, type QuestionClassifierNodeData as Q, type RuleNodeData as R, type StartNodeData as S, type ToolNodeData as T, type VariableAssignerNodeData as V, type WorkflowEntityDefinition as W, type AgentNodeData as a, type EndNodeData as b, type TemplateTransformNodeData as c, type IterationNodeData as d, type AnswerNodeData as e, type VariableAggregatorNodeData as f, type IterationStartNodeData as g, type WorkspaceProps as h, type AgentNodeTool as i, Workspace as j };
|
|
262
|
+
export { type AgentWithPrompts as A, type CodeNodeData as C, type DocumentExtractorNodeData as D, type EntityNodeData as E, type GroupNodeData as G, type HttpRequestNodeData as H, type IfElseNodeData as I, type KnowledgeBaseNodeData as K, type ListOperatorNodeData as L, type ModelProviderNodeData as M, type NoteNodeData as N, type ParameterExtractorNodeData as P, type QuestionClassifierNodeData as Q, type RuleNodeData as R, type StartNodeData as S, type ToolNodeData as T, type VariableAssignerNodeData as V, type WorkflowEntityDefinition as W, type AgentNodeData as a, type EndNodeData as b, type TemplateTransformNodeData as c, type IterationNodeData as d, type AnswerNodeData as e, type VariableAggregatorNodeData as f, type IterationStartNodeData as g, type WorkspaceProps as h, type AgentNodeTool as i, Workspace as j };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ComponentProps } from 'react';
|
|
3
3
|
import { NodeTypes } from '@xyflow/react';
|
|
4
|
-
import { AgentConfig, AnswerNodeConfig, CodeNodeConfig, DocumentExtractorNodeConfig, EndNodeConfig, EntityNodeConfig, GroupNodeConfig, HttpRequestNodeConfig, IfElseNodeConfig, IterationNodeConfig, IterationStartNodeConfig, KnowledgeBaseNodeConfig, ListOperatorNodeConfig, NoteNodeConfig, ParameterExtractorNodeConfig, QuestionClassifierNodeConfig, AgentRule, RuleNodeConfig, StartNodeConfig, TemplateTransformNodeConfig, Subworkflow, VariableAggregatorNodeConfig, VariableAssignerNodeConfig, AgentModel, AgentTool, WorkflowGraph, LogicNodeConfig } from './astrlabe/contracts.mjs';
|
|
4
|
+
import { AgentConfig, AnswerNodeConfig, CodeNodeConfig, DocumentExtractorNodeConfig, EndNodeConfig, EntityNodeConfig, GroupNodeConfig, HttpRequestNodeConfig, IfElseNodeConfig, IterationNodeConfig, IterationStartNodeConfig, KnowledgeBaseNodeConfig, ListOperatorNodeConfig, ModelProviderNodeConfig, NoteNodeConfig, ParameterExtractorNodeConfig, QuestionClassifierNodeConfig, AgentRule, RuleNodeConfig, StartNodeConfig, TemplateTransformNodeConfig, Subworkflow, VariableAggregatorNodeConfig, VariableAssignerNodeConfig, AgentModel, AgentTool, WorkflowGraph, LogicNodeConfig } from './astrlabe/contracts.mjs';
|
|
5
5
|
|
|
6
6
|
type WorkflowCardDisplayMode = 'detailed' | 'compact';
|
|
7
7
|
type WorkflowEntityDefinition = {
|
|
@@ -19,6 +19,13 @@ type AgentWithPrompts = AgentConfig & {
|
|
|
19
19
|
promptCount: number;
|
|
20
20
|
activePromptVersion: number;
|
|
21
21
|
};
|
|
22
|
+
type ModelProviderNodeData = {
|
|
23
|
+
config?: ModelProviderNodeConfig;
|
|
24
|
+
label: string;
|
|
25
|
+
displayMode?: WorkflowCardDisplayMode;
|
|
26
|
+
onEdit?: (nodeId: string) => void;
|
|
27
|
+
onRemoveFromCanvas?: (nodeId: string) => void;
|
|
28
|
+
};
|
|
22
29
|
type AgentNodeTool = {
|
|
23
30
|
id: string;
|
|
24
31
|
name: string;
|
|
@@ -34,6 +41,10 @@ type AgentNodeData = {
|
|
|
34
41
|
agentTools?: AgentNodeTool[];
|
|
35
42
|
/** Model provider name for display */
|
|
36
43
|
providerName?: string;
|
|
44
|
+
/** Model provider node ID (for config reference) */
|
|
45
|
+
modelProviderId?: string;
|
|
46
|
+
/** Model provider display label (e.g. "AWS Bedrock us-east-1") */
|
|
47
|
+
modelProviderLabel?: string;
|
|
37
48
|
onSelect: (agentId: string) => void;
|
|
38
49
|
onRemoveFromCanvas?: (nodeId: string) => void;
|
|
39
50
|
};
|
|
@@ -248,4 +259,4 @@ type WorkspaceProps = {
|
|
|
248
259
|
} & Partial<BuilderCanvasProps>;
|
|
249
260
|
declare function Workspace({ locale, messages, className, workflowId, ...canvasProps }: WorkspaceProps): react_jsx_runtime.JSX.Element;
|
|
250
261
|
|
|
251
|
-
export { type AgentWithPrompts as A, type CodeNodeData as C, type DocumentExtractorNodeData as D, type EntityNodeData as E, type GroupNodeData as G, type HttpRequestNodeData as H, type IfElseNodeData as I, type KnowledgeBaseNodeData as K, type ListOperatorNodeData as L, type NoteNodeData as N, type ParameterExtractorNodeData as P, type QuestionClassifierNodeData as Q, type RuleNodeData as R, type StartNodeData as S, type ToolNodeData as T, type VariableAssignerNodeData as V, type WorkflowEntityDefinition as W, type AgentNodeData as a, type EndNodeData as b, type TemplateTransformNodeData as c, type IterationNodeData as d, type AnswerNodeData as e, type VariableAggregatorNodeData as f, type IterationStartNodeData as g, type WorkspaceProps as h, type AgentNodeTool as i, Workspace as j };
|
|
262
|
+
export { type AgentWithPrompts as A, type CodeNodeData as C, type DocumentExtractorNodeData as D, type EntityNodeData as E, type GroupNodeData as G, type HttpRequestNodeData as H, type IfElseNodeData as I, type KnowledgeBaseNodeData as K, type ListOperatorNodeData as L, type ModelProviderNodeData as M, type NoteNodeData as N, type ParameterExtractorNodeData as P, type QuestionClassifierNodeData as Q, type RuleNodeData as R, type StartNodeData as S, type ToolNodeData as T, type VariableAssignerNodeData as V, type WorkflowEntityDefinition as W, type AgentNodeData as a, type EndNodeData as b, type TemplateTransformNodeData as c, type IterationNodeData as d, type AnswerNodeData as e, type VariableAggregatorNodeData as f, type IterationStartNodeData as g, type WorkspaceProps as h, type AgentNodeTool as i, Workspace as j };
|