@railtownai/railtracks-visualizer 0.0.37 → 0.0.38
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/README.md +2 -2
- package/dist/cjs/index.js +130 -152
- package/dist/esm/index.js +131 -153
- package/dist/types/components/AgenticFlowVisualizer.d.ts +4 -1
- package/dist/types/components/nodes/NodeDetailsPopover.d.ts +0 -1
- package/dist/types/components/nodes/constants.d.ts +1 -0
- package/dist/types/dto/AgentRun.d.ts +1 -1
- package/package.json +19 -26
|
@@ -11,13 +11,16 @@ export interface AgenticFlowVisualizerProps {
|
|
|
11
11
|
x: number;
|
|
12
12
|
y: number;
|
|
13
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* Disable automatic fitting of nodes to viewport when panning to a specific node
|
|
16
|
+
*/
|
|
14
17
|
disableAutoFit?: boolean;
|
|
15
18
|
defaultAutoFitDuration?: number;
|
|
16
19
|
defaultAutoFitDelay?: number;
|
|
17
20
|
showTimeline?: boolean;
|
|
18
21
|
minNodeSpacing?: number;
|
|
19
22
|
onInspect?: (nodeData: any) => void;
|
|
20
|
-
panToNodeId?: string;
|
|
23
|
+
panToNodeId?: string | null;
|
|
21
24
|
}
|
|
22
25
|
declare const AgenticFlowVisualizer: React.FC<AgenticFlowVisualizerProps>;
|
|
23
26
|
export default AgenticFlowVisualizer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const NODE_MAX_WIDTH = 500;
|
|
@@ -6,7 +6,7 @@ import { AgentRunStep } from "./AgentRunStep";
|
|
|
6
6
|
* Represents a complete agent execution run with its nodes, edges, and metadata
|
|
7
7
|
*
|
|
8
8
|
* This interface defines the structure for agent flow data that can be visualized
|
|
9
|
-
* in the
|
|
9
|
+
* in the Railtracks UI. It contains the execution graph (nodes and edges) along
|
|
10
10
|
* with timing information and session metadata.
|
|
11
11
|
*/
|
|
12
12
|
export interface AgentRun {
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@railtownai/railtracks-visualizer",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.38",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Railtown AI",
|
|
6
|
-
"description": "A visualizer for
|
|
6
|
+
"description": "A visualizer for Railtracks agentic flows",
|
|
7
7
|
"main": "dist/cjs/index.js",
|
|
8
8
|
"module": "dist/esm/index.js",
|
|
9
9
|
"types": "dist/types/index.d.ts",
|
|
@@ -40,15 +40,14 @@
|
|
|
40
40
|
"react-dom": "^18.3.1"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@ant-design/plots": "2.6.5",
|
|
44
43
|
"@emotion/react": "11.14.0",
|
|
45
44
|
"@emotion/styled": "11.14.1",
|
|
46
45
|
"@radix-ui/react-checkbox": "1.3.3",
|
|
47
46
|
"@radix-ui/react-dialog": "1.1.15",
|
|
48
47
|
"@radix-ui/react-select": "2.2.6",
|
|
49
|
-
"@railtownai/railtracks-timeline": "0.0.
|
|
50
|
-
"@xyflow/react": "12.9.
|
|
51
|
-
"lucide-react": "0.
|
|
48
|
+
"@railtownai/railtracks-timeline": "0.0.22",
|
|
49
|
+
"@xyflow/react": "12.9.2",
|
|
50
|
+
"lucide-react": "0.553.0",
|
|
52
51
|
"moment": "2.30.1",
|
|
53
52
|
"react-countup": "6.5.3",
|
|
54
53
|
"react-textarea-autosize": "8.5.9",
|
|
@@ -74,42 +73,36 @@
|
|
|
74
73
|
"up": "ncu -u -x react -x react-dom -x @types/react -x @types/react-dom"
|
|
75
74
|
},
|
|
76
75
|
"devDependencies": {
|
|
77
|
-
"@chromatic-com/storybook": "4.1.
|
|
78
|
-
"@rollup/plugin-commonjs": "
|
|
76
|
+
"@chromatic-com/storybook": "4.1.2",
|
|
77
|
+
"@rollup/plugin-commonjs": "29.0.0",
|
|
79
78
|
"@rollup/plugin-json": "6.1.0",
|
|
80
79
|
"@rollup/plugin-node-resolve": "16.0.3",
|
|
81
80
|
"@rollup/plugin-swc": "0.4.0",
|
|
82
81
|
"@rollup/plugin-terser": "0.4.4",
|
|
83
|
-
"@storybook/addon-a11y": "
|
|
84
|
-
"@storybook/addon-docs": "
|
|
85
|
-
"@storybook/addon-onboarding": "
|
|
86
|
-
"@storybook/
|
|
87
|
-
"@storybook/react-vite": "9.1.13",
|
|
82
|
+
"@storybook/addon-a11y": "10.0.7",
|
|
83
|
+
"@storybook/addon-docs": "10.0.7",
|
|
84
|
+
"@storybook/addon-onboarding": "10.0.7",
|
|
85
|
+
"@storybook/react-vite": "10.0.7",
|
|
88
86
|
"@testing-library/jest-dom": "6.9.1",
|
|
89
87
|
"@testing-library/react": "16.3.0",
|
|
90
88
|
"@testing-library/user-event": "14.6.1",
|
|
91
|
-
"@types/node": "24.
|
|
89
|
+
"@types/node": "24.10.0",
|
|
92
90
|
"@types/react": "18.2.79",
|
|
93
91
|
"@types/react-dom": "18.2.25",
|
|
94
|
-
"@vitejs/plugin-react-swc": "4.1
|
|
95
|
-
"@vitest/browser": "3.2.4",
|
|
96
|
-
"@vitest/coverage-v8": "3.2.4",
|
|
97
|
-
"class-variance-authority": "0.7.1",
|
|
92
|
+
"@vitejs/plugin-react-swc": "4.2.1",
|
|
98
93
|
"clsx": "2.1.1",
|
|
99
94
|
"cross-env": "^10.1.0",
|
|
100
95
|
"gh-pages": "6.3.0",
|
|
101
|
-
"jsdom": "27.0
|
|
96
|
+
"jsdom": "27.1.0",
|
|
102
97
|
"license-checker": "25.0.1",
|
|
103
|
-
"npm-check-updates": "19.1.
|
|
104
|
-
"playwright": "^1.56.1",
|
|
98
|
+
"npm-check-updates": "19.1.2",
|
|
105
99
|
"prettier": "3.6.2",
|
|
106
|
-
"rollup": "4.
|
|
100
|
+
"rollup": "4.53.1",
|
|
107
101
|
"rollup-plugin-postcss": "4.0.2",
|
|
108
|
-
"storybook": "
|
|
109
|
-
"tslib": "2.8.1",
|
|
102
|
+
"storybook": "10.0.7",
|
|
110
103
|
"typescript": "5.9.3",
|
|
111
|
-
"vite": "7.
|
|
112
|
-
"vitest": "
|
|
104
|
+
"vite": "7.2.2",
|
|
105
|
+
"vitest": "4.0.8"
|
|
113
106
|
},
|
|
114
107
|
"prettier": {
|
|
115
108
|
"singleQuote": false,
|