@datatechsolutions/ui 2.7.117 → 2.7.119
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/{chunk-OQAZ2BIC.mjs → chunk-55S2KOTZ.mjs} +2 -2
- package/dist/{chunk-OQAZ2BIC.mjs.map → chunk-55S2KOTZ.mjs.map} +1 -1
- package/dist/{chunk-MGR7H5X2.mjs → chunk-6KYBGBI4.mjs} +18 -3
- package/dist/chunk-6KYBGBI4.mjs.map +1 -0
- package/dist/{chunk-UZHWA7CM.js → chunk-DOO5ICHD.js} +35 -9
- package/dist/chunk-DOO5ICHD.js.map +1 -0
- package/dist/{chunk-5YIUJXPD.js → chunk-E42PD4X6.js} +2 -2
- package/dist/{chunk-5YIUJXPD.js.map → chunk-E42PD4X6.js.map} +1 -1
- package/dist/{chunk-FAAXHLWI.js → chunk-F4FMGGHO.js} +18 -2
- package/dist/chunk-F4FMGGHO.js.map +1 -0
- package/dist/{chunk-2KZEO34C.mjs → chunk-MAYOV7OM.mjs} +29 -3
- package/dist/chunk-MAYOV7OM.mjs.map +1 -0
- package/dist/workflow/index.d.mts +3 -3
- package/dist/workflow/index.d.ts +3 -3
- package/dist/workflow/index.js +133 -123
- package/dist/workflow/index.js.map +1 -1
- package/dist/workflow/index.mjs +12 -6
- package/dist/workflow/index.mjs.map +1 -1
- package/dist/workflow/utils.d.mts +13 -1
- package/dist/workflow/utils.d.ts +13 -1
- package/dist/workflow/utils.js +10 -6
- package/dist/workflow/utils.mjs +2 -2
- package/dist/workflow/workflow-canvas.d.mts +1 -1
- package/dist/workflow/workflow-canvas.d.ts +1 -1
- package/dist/workflow/workflow-canvas.js +3 -3
- package/dist/workflow/workflow-canvas.mjs +2 -2
- package/dist/{workflow-canvas-AmdoIvqQ.d.ts → workflow-canvas-B3k03HVM.d.mts} +2 -1
- package/dist/{workflow-canvas-CBA_3y6P.d.mts → workflow-canvas-CVkbfTQu.d.ts} +2 -1
- package/package.json +1 -1
- package/dist/chunk-2KZEO34C.mjs.map +0 -1
- package/dist/chunk-FAAXHLWI.js.map +0 -1
- package/dist/chunk-MGR7H5X2.mjs.map +0 -1
- package/dist/chunk-UZHWA7CM.js.map +0 -1
|
@@ -56,4 +56,16 @@ declare function validateWorkflowGraph(graph: WorkflowGraph): ValidationResult;
|
|
|
56
56
|
*/
|
|
57
57
|
declare function topologicalSortAgents(graph: WorkflowGraph): string[];
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
/**
|
|
60
|
+
* Agent ELO Tier
|
|
61
|
+
* ==============
|
|
62
|
+
* Derives difficulty tier from agent ELO rating.
|
|
63
|
+
* Used in node palette, agent flow node, and agent drawer.
|
|
64
|
+
*/
|
|
65
|
+
type AgentTier = {
|
|
66
|
+
key: 'beginner' | 'intermediate' | 'advanced' | 'expert';
|
|
67
|
+
pillColor: string;
|
|
68
|
+
};
|
|
69
|
+
declare function getAgentTier(elo: number | undefined): AgentTier;
|
|
70
|
+
|
|
71
|
+
export { type AgentTier, type LayoutDirection, applyDagreLayout, createDefaultLogicNodeConfig, getAgentTier, topologicalSortAgents, validateWorkflowGraph };
|
package/dist/workflow/utils.d.ts
CHANGED
|
@@ -56,4 +56,16 @@ declare function validateWorkflowGraph(graph: WorkflowGraph): ValidationResult;
|
|
|
56
56
|
*/
|
|
57
57
|
declare function topologicalSortAgents(graph: WorkflowGraph): string[];
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
/**
|
|
60
|
+
* Agent ELO Tier
|
|
61
|
+
* ==============
|
|
62
|
+
* Derives difficulty tier from agent ELO rating.
|
|
63
|
+
* Used in node palette, agent flow node, and agent drawer.
|
|
64
|
+
*/
|
|
65
|
+
type AgentTier = {
|
|
66
|
+
key: 'beginner' | 'intermediate' | 'advanced' | 'expert';
|
|
67
|
+
pillColor: string;
|
|
68
|
+
};
|
|
69
|
+
declare function getAgentTier(elo: number | undefined): AgentTier;
|
|
70
|
+
|
|
71
|
+
export { type AgentTier, type LayoutDirection, applyDagreLayout, createDefaultLogicNodeConfig, getAgentTier, topologicalSortAgents, validateWorkflowGraph };
|
package/dist/workflow/utils.js
CHANGED
|
@@ -1,26 +1,30 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunkE42PD4X6_js = require('../chunk-E42PD4X6.js');
|
|
5
|
+
var chunkF4FMGGHO_js = require('../chunk-F4FMGGHO.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "topologicalSortAgents", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkE42PD4X6_js.topologicalSortAgents; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "validateWorkflowGraph", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkE42PD4X6_js.validateWorkflowGraph; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "applyDagreLayout", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkF4FMGGHO_js.applyDagreLayout; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "createDefaultLogicNodeConfig", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkF4FMGGHO_js.createDefaultLogicNodeConfig; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "getAgentTier", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunkF4FMGGHO_js.getAgentTier; }
|
|
24
28
|
});
|
|
25
29
|
//# sourceMappingURL=utils.js.map
|
|
26
30
|
//# sourceMappingURL=utils.js.map
|
package/dist/workflow/utils.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { topologicalSortAgents, validateWorkflowGraph } from '../chunk-
|
|
3
|
-
export { applyDagreLayout, createDefaultLogicNodeConfig } from '../chunk-
|
|
2
|
+
export { topologicalSortAgents, validateWorkflowGraph } from '../chunk-55S2KOTZ.mjs';
|
|
3
|
+
export { applyDagreLayout, createDefaultLogicNodeConfig, getAgentTier } from '../chunk-6KYBGBI4.mjs';
|
|
4
4
|
//# sourceMappingURL=utils.mjs.map
|
|
5
5
|
//# sourceMappingURL=utils.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'react/jsx-runtime';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { i as Workspace, h as WorkspaceProps } from '../workflow-canvas-
|
|
3
|
+
export { i as Workspace, h as WorkspaceProps } from '../workflow-canvas-B3k03HVM.mjs';
|
|
4
4
|
import '@xyflow/react';
|
|
5
5
|
import './contracts.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'react/jsx-runtime';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { i as Workspace, h as WorkspaceProps } from '../workflow-canvas-
|
|
3
|
+
export { i as Workspace, h as WorkspaceProps } from '../workflow-canvas-CVkbfTQu.js';
|
|
4
4
|
import '@xyflow/react';
|
|
5
5
|
import './contracts.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkDOO5ICHD_js = require('../chunk-DOO5ICHD.js');
|
|
5
5
|
require('../chunk-YRY7HFKG.js');
|
|
6
6
|
require('../chunk-NJ6PBGQM.js');
|
|
7
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-F4FMGGHO.js');
|
|
8
8
|
require('../chunk-UZ3CMNUJ.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "Workspace", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkDOO5ICHD_js.Workspace; }
|
|
15
15
|
});
|
|
16
16
|
//# sourceMappingURL=workflow-canvas.js.map
|
|
17
17
|
//# sourceMappingURL=workflow-canvas.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { Workspace } from '../chunk-
|
|
2
|
+
export { Workspace } from '../chunk-MAYOV7OM.mjs';
|
|
3
3
|
import '../chunk-URTWMG3V.mjs';
|
|
4
4
|
import '../chunk-UBCSCLUW.mjs';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-6KYBGBI4.mjs';
|
|
6
6
|
import '../chunk-D2JF6C3E.mjs';
|
|
7
7
|
//# sourceMappingURL=workflow-canvas.mjs.map
|
|
8
8
|
//# sourceMappingURL=workflow-canvas.mjs.map
|
|
@@ -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, WorkflowGraph, LogicNodeConfig } from './workflow/contracts.
|
|
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 './workflow/contracts.mjs';
|
|
5
5
|
|
|
6
6
|
type WorkflowCardDisplayMode = 'detailed' | 'compact';
|
|
7
7
|
type WorkflowEntityDefinition = {
|
|
@@ -208,6 +208,7 @@ type WorkflowCanvasProps = {
|
|
|
208
208
|
agents: AgentWithPrompts[];
|
|
209
209
|
models: AgentModel[];
|
|
210
210
|
tools?: Subworkflow[];
|
|
211
|
+
agentTools?: AgentTool[];
|
|
211
212
|
rules?: AgentRule[];
|
|
212
213
|
entities?: WorkflowEntityDefinition[];
|
|
213
214
|
initialGraph?: WorkflowGraph | null;
|
|
@@ -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, WorkflowGraph, LogicNodeConfig } from './workflow/contracts.
|
|
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 './workflow/contracts.js';
|
|
5
5
|
|
|
6
6
|
type WorkflowCardDisplayMode = 'detailed' | 'compact';
|
|
7
7
|
type WorkflowEntityDefinition = {
|
|
@@ -208,6 +208,7 @@ type WorkflowCanvasProps = {
|
|
|
208
208
|
agents: AgentWithPrompts[];
|
|
209
209
|
models: AgentModel[];
|
|
210
210
|
tools?: Subworkflow[];
|
|
211
|
+
agentTools?: AgentTool[];
|
|
211
212
|
rules?: AgentRule[];
|
|
212
213
|
entities?: WorkflowEntityDefinition[];
|
|
213
214
|
initialGraph?: WorkflowGraph | null;
|