@datatechsolutions/ui 2.11.12 → 2.11.13

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.
@@ -19,11 +19,21 @@ type AgentWithPrompts = AgentConfig & {
19
19
  promptCount: number;
20
20
  activePromptVersion: number;
21
21
  };
22
+ type AgentNodeTool = {
23
+ id: string;
24
+ name: string;
25
+ category?: string;
26
+ enabled: boolean;
27
+ };
22
28
  type AgentNodeData = {
23
29
  agent: AgentWithPrompts;
24
30
  order: number;
25
31
  selected: boolean;
26
32
  displayMode?: WorkflowCardDisplayMode;
33
+ /** Agent tools assigned to this agent */
34
+ agentTools?: AgentNodeTool[];
35
+ /** Model provider name for display */
36
+ providerName?: string;
27
37
  onSelect: (agentId: string) => void;
28
38
  onRemoveFromCanvas?: (nodeId: string) => void;
29
39
  };
@@ -238,4 +248,4 @@ type WorkspaceProps = {
238
248
  } & Partial<BuilderCanvasProps>;
239
249
  declare function Workspace({ locale, messages, className, workflowId, ...canvasProps }: WorkspaceProps): react_jsx_runtime.JSX.Element;
240
250
 
241
- 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, Workspace as i };
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 };
@@ -19,11 +19,21 @@ type AgentWithPrompts = AgentConfig & {
19
19
  promptCount: number;
20
20
  activePromptVersion: number;
21
21
  };
22
+ type AgentNodeTool = {
23
+ id: string;
24
+ name: string;
25
+ category?: string;
26
+ enabled: boolean;
27
+ };
22
28
  type AgentNodeData = {
23
29
  agent: AgentWithPrompts;
24
30
  order: number;
25
31
  selected: boolean;
26
32
  displayMode?: WorkflowCardDisplayMode;
33
+ /** Agent tools assigned to this agent */
34
+ agentTools?: AgentNodeTool[];
35
+ /** Model provider name for display */
36
+ providerName?: string;
27
37
  onSelect: (agentId: string) => void;
28
38
  onRemoveFromCanvas?: (nodeId: string) => void;
29
39
  };
@@ -238,4 +248,4 @@ type WorkspaceProps = {
238
248
  } & Partial<BuilderCanvasProps>;
239
249
  declare function Workspace({ locale, messages, className, workflowId, ...canvasProps }: WorkspaceProps): react_jsx_runtime.JSX.Element;
240
250
 
241
- 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, Workspace as i };
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datatechsolutions/ui",
3
- "version": "2.11.12",
3
+ "version": "2.11.13",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",