@datatechsolutions/ui 2.7.117 → 2.7.118

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.
@@ -56,4 +56,16 @@ declare function validateWorkflowGraph(graph: WorkflowGraph): ValidationResult;
56
56
  */
57
57
  declare function topologicalSortAgents(graph: WorkflowGraph): string[];
58
58
 
59
- export { type LayoutDirection, applyDagreLayout, createDefaultLogicNodeConfig, topologicalSortAgents, validateWorkflowGraph };
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 };
@@ -56,4 +56,16 @@ declare function validateWorkflowGraph(graph: WorkflowGraph): ValidationResult;
56
56
  */
57
57
  declare function topologicalSortAgents(graph: WorkflowGraph): string[];
58
58
 
59
- export { type LayoutDirection, applyDagreLayout, createDefaultLogicNodeConfig, topologicalSortAgents, validateWorkflowGraph };
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 };
@@ -1,26 +1,30 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunk5YIUJXPD_js = require('../chunk-5YIUJXPD.js');
5
- var chunkFAAXHLWI_js = require('../chunk-FAAXHLWI.js');
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 chunk5YIUJXPD_js.topologicalSortAgents; }
11
+ get: function () { return chunkE42PD4X6_js.topologicalSortAgents; }
12
12
  });
13
13
  Object.defineProperty(exports, "validateWorkflowGraph", {
14
14
  enumerable: true,
15
- get: function () { return chunk5YIUJXPD_js.validateWorkflowGraph; }
15
+ get: function () { return chunkE42PD4X6_js.validateWorkflowGraph; }
16
16
  });
17
17
  Object.defineProperty(exports, "applyDagreLayout", {
18
18
  enumerable: true,
19
- get: function () { return chunkFAAXHLWI_js.applyDagreLayout; }
19
+ get: function () { return chunkF4FMGGHO_js.applyDagreLayout; }
20
20
  });
21
21
  Object.defineProperty(exports, "createDefaultLogicNodeConfig", {
22
22
  enumerable: true,
23
- get: function () { return chunkFAAXHLWI_js.createDefaultLogicNodeConfig; }
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
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- export { topologicalSortAgents, validateWorkflowGraph } from '../chunk-OQAZ2BIC.mjs';
3
- export { applyDagreLayout, createDefaultLogicNodeConfig } from '../chunk-MGR7H5X2.mjs';
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,17 +1,17 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkUZHWA7CM_js = require('../chunk-UZHWA7CM.js');
4
+ var chunkJOLZ453P_js = require('../chunk-JOLZ453P.js');
5
5
  require('../chunk-YRY7HFKG.js');
6
6
  require('../chunk-NJ6PBGQM.js');
7
- require('../chunk-FAAXHLWI.js');
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 chunkUZHWA7CM_js.Workspace; }
14
+ get: function () { return chunkJOLZ453P_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-2KZEO34C.mjs';
2
+ export { Workspace } from '../chunk-4ESKCNPI.mjs';
3
3
  import '../chunk-URTWMG3V.mjs';
4
4
  import '../chunk-UBCSCLUW.mjs';
5
- import '../chunk-MGR7H5X2.mjs';
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datatechsolutions/ui",
3
- "version": "2.7.117",
3
+ "version": "2.7.118",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",