@railtownai/railtracks-visualizer 0.0.71 → 0.0.73
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/cjs/index.js +5171 -2082
- package/dist/esm/index.js +5109 -2022
- package/dist/types/agenthub/components/EvaluationsTable.d.ts +8 -0
- package/dist/types/components/icons/AzureIcon.d.ts +7 -0
- package/dist/types/components/icons/index.d.ts +1 -0
- package/dist/types/components/nodes/ErrorOutput.d.ts +2 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +31 -39
|
@@ -49,5 +49,13 @@ export interface EvaluationsTableProps {
|
|
|
49
49
|
error: string;
|
|
50
50
|
onRetry?: () => void;
|
|
51
51
|
}) => React.ReactNode;
|
|
52
|
+
/** Pre-selected session IDs (e.g. from deeplink URL). */
|
|
53
|
+
initialSessionIds?: string[];
|
|
54
|
+
/** Called when session filter changes (e.g. to update URL). */
|
|
55
|
+
onSessionFilterChange?: (sessionIds: string[]) => void;
|
|
56
|
+
/** Pre-selected evaluation names (e.g. from deeplink URL). */
|
|
57
|
+
initialNameFilter?: string[];
|
|
58
|
+
/** Called when evaluation name filter changes (e.g. to update URL). */
|
|
59
|
+
onNameFilterChange?: (names: string[]) => void;
|
|
52
60
|
}
|
|
53
61
|
export declare const EvaluationsTable: React.FC<EvaluationsTableProps>;
|
|
@@ -17,6 +17,8 @@ export interface ToolErrorOutput {
|
|
|
17
17
|
export declare function parseErrorOutput(output: unknown): ToolErrorOutput | null;
|
|
18
18
|
export interface ErrorOutputProps {
|
|
19
19
|
error: ToolErrorOutput;
|
|
20
|
+
/** When true, the traceback block starts expanded (useful in Storybook). */
|
|
21
|
+
defaultShowTraceback?: boolean;
|
|
20
22
|
}
|
|
21
23
|
/**
|
|
22
24
|
* Renders a failed node/tool output distinctly from a regular returned object:
|
package/dist/types/index.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export type { AgentRun } from "./dto/AgentRun";
|
|
|
28
28
|
export type { SessionListItem } from "./agenthub/hooks/useSessions";
|
|
29
29
|
export type { AgentRunNode } from "./dto/AgentRunNode";
|
|
30
30
|
export type { AgentRunEdge } from "./dto/AgentRunEdge";
|
|
31
|
-
export { OpenAIIcon, AnthropicIcon, GoogleIcon, AppleIcon, OllamaIcon } from "./components/icons";
|
|
31
|
+
export { OpenAIIcon, AnthropicIcon, GoogleIcon, AppleIcon, OllamaIcon, AzureIcon } from "./components/icons";
|
|
32
32
|
export * from "./lib";
|
|
33
33
|
export { SafeThemeProvider, useSafeTheme } from "./lib/SafeThemeProvider";
|
|
34
34
|
export { createSafeTheme, getSafeColor, getSafeSpacing, getSafeThemeValue } from "./lib/utils";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@railtownai/railtracks-visualizer",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.73",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Railtown AI",
|
|
6
6
|
"description": "A visualizer for Railtracks agentic flows",
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@emotion/react": "11.14.0",
|
|
44
44
|
"@emotion/styled": "11.14.1",
|
|
45
|
-
"@radix-ui/react-dialog": "1.1.
|
|
45
|
+
"@radix-ui/react-dialog": "1.1.17",
|
|
46
46
|
"@railtownai/railtracks-timeline": "0.0.23",
|
|
47
|
-
"@xyflow/react": "12.
|
|
48
|
-
"antd": "6.
|
|
49
|
-
"lucide-react": "1.
|
|
47
|
+
"@xyflow/react": "12.11.1",
|
|
48
|
+
"antd": "6.4.5",
|
|
49
|
+
"lucide-react": "1.21.0",
|
|
50
50
|
"moment": "2.30.1",
|
|
51
51
|
"react-countup": "6.5.3",
|
|
52
52
|
"react-hotkeys-hook": "^4.6.2",
|
|
53
|
-
"react-router-dom": "7.
|
|
53
|
+
"react-router-dom": "7.18.0",
|
|
54
54
|
"react-textarea-autosize": "8.5.9",
|
|
55
55
|
"vaul": "1.1.2"
|
|
56
56
|
},
|
|
@@ -62,9 +62,11 @@
|
|
|
62
62
|
"build": "npm run build:types && npm run build:lib && npm run build:spa",
|
|
63
63
|
"clean": "rm -rf dist build test-results .railtracks/ui/*",
|
|
64
64
|
"dev": "rm -rf .railtracks/ui/* && vite build && cp -r build/* .railtracks/ui",
|
|
65
|
-
"
|
|
65
|
+
"format": "oxfmt .",
|
|
66
|
+
"format:check": "oxfmt --check .",
|
|
67
|
+
"lint:fix": "oxlint --fix && oxfmt .",
|
|
66
68
|
"lint:license": "license-checker --summary --excludePrivatePackages --failOn 'AGPL-1.0;AGPL-3.0;EPL-1.0;EPL-2.0;GPL-1.0;GPL-2.0;GPL-3.0;LGPL-2.0;LGPL-2.1;LGPL-3.0;'",
|
|
67
|
-
"lint": "
|
|
69
|
+
"lint": "oxlint",
|
|
68
70
|
"start": "storybook dev -p 6006",
|
|
69
71
|
"storybook:build": "cross-env NODE_ENV=production storybook build",
|
|
70
72
|
"storybook:deploy": "gh-pages -d storybook-static",
|
|
@@ -77,50 +79,40 @@
|
|
|
77
79
|
"electron:start": "cross-env VITE_API_ORIGIN=http://localhost:3030 npm run build:spa && electron electron/main.js"
|
|
78
80
|
},
|
|
79
81
|
"devDependencies": {
|
|
80
|
-
"@chromatic-com/storybook": "5.1
|
|
81
|
-
"@rollup/plugin-commonjs": "29.0.
|
|
82
|
+
"@chromatic-com/storybook": "5.2.1",
|
|
83
|
+
"@rollup/plugin-commonjs": "29.0.3",
|
|
82
84
|
"@rollup/plugin-json": "6.1.0",
|
|
83
85
|
"@rollup/plugin-node-resolve": "16.0.3",
|
|
84
|
-
"@rollup/plugin-swc": "0.4.
|
|
86
|
+
"@rollup/plugin-swc": "0.4.1",
|
|
85
87
|
"@rollup/plugin-terser": "1.0.0",
|
|
86
|
-
"@storybook/addon-a11y": "10.
|
|
87
|
-
"@storybook/addon-docs": "10.
|
|
88
|
-
"@storybook/addon-onboarding": "10.
|
|
89
|
-
"@storybook/react-vite": "10.
|
|
88
|
+
"@storybook/addon-a11y": "10.4.6",
|
|
89
|
+
"@storybook/addon-docs": "10.4.6",
|
|
90
|
+
"@storybook/addon-onboarding": "10.4.6",
|
|
91
|
+
"@storybook/react-vite": "10.4.6",
|
|
90
92
|
"@testing-library/jest-dom": "6.9.1",
|
|
91
93
|
"@testing-library/react": "16.3.2",
|
|
92
94
|
"@testing-library/user-event": "14.6.1",
|
|
93
|
-
"@types/node": "
|
|
95
|
+
"@types/node": "26.0.1",
|
|
94
96
|
"@types/react": "18.3.27",
|
|
95
97
|
"@types/react-dom": "18.3.7",
|
|
96
|
-
"@vitejs/plugin-react-swc": "4.3.
|
|
98
|
+
"@vitejs/plugin-react-swc": "4.3.1",
|
|
97
99
|
"clsx": "2.1.1",
|
|
98
|
-
"concurrently": "
|
|
100
|
+
"concurrently": "10.0.3",
|
|
99
101
|
"cross-env": "10.1.0",
|
|
100
|
-
"electron": "
|
|
102
|
+
"electron": "42.5.0",
|
|
101
103
|
"gh-pages": "6.3.0",
|
|
102
|
-
"jsdom": "29.
|
|
104
|
+
"jsdom": "29.1.1",
|
|
103
105
|
"license-checker": "25.0.1",
|
|
104
|
-
"npm-check-updates": "
|
|
105
|
-
"
|
|
106
|
-
"
|
|
106
|
+
"npm-check-updates": "22.2.7",
|
|
107
|
+
"oxfmt": "0.56.0",
|
|
108
|
+
"oxlint": "1.71.0",
|
|
109
|
+
"rollup": "4.62.2",
|
|
107
110
|
"rollup-plugin-postcss": "4.0.2",
|
|
108
|
-
"storybook": "10.
|
|
111
|
+
"storybook": "10.4.6",
|
|
109
112
|
"typescript": "6.0.3",
|
|
110
|
-
"uuid": "
|
|
111
|
-
"vite": "8.0
|
|
112
|
-
"vitest": "4.1.
|
|
113
|
-
"wait-on": "
|
|
114
|
-
},
|
|
115
|
-
"prettier": {
|
|
116
|
-
"singleQuote": false,
|
|
117
|
-
"trailingComma": "none",
|
|
118
|
-
"arrowParens": "always",
|
|
119
|
-
"printWidth": 120,
|
|
120
|
-
"tabWidth": 2,
|
|
121
|
-
"useTabs": false,
|
|
122
|
-
"semi": true,
|
|
123
|
-
"endOfLine": "auto",
|
|
124
|
-
"bracketSpacing": true
|
|
113
|
+
"uuid": "14.0.1",
|
|
114
|
+
"vite": "8.1.0",
|
|
115
|
+
"vitest": "4.1.9",
|
|
116
|
+
"wait-on": "9.0.10"
|
|
125
117
|
}
|
|
126
118
|
}
|