@railtownai/railtracks-visualizer 0.0.14 → 0.0.16

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.
Files changed (63) hide show
  1. package/LICENSE +2 -2
  2. package/README.md +9 -1
  3. package/dist/cjs/index.js +162 -1
  4. package/dist/cjs/index.js.map +1 -1
  5. package/dist/esm/index.js +162 -1
  6. package/dist/esm/index.js.map +1 -1
  7. package/dist/types/App.d.ts.map +1 -1
  8. package/dist/types/{AgenticFlowVisualizer.d.ts → components/AgenticFlowVisualizer.d.ts} +3 -2
  9. package/dist/types/components/AgenticFlowVisualizer.d.ts.map +1 -0
  10. package/dist/types/components/Edge.d.ts +0 -1
  11. package/dist/types/components/Edge.d.ts.map +1 -1
  12. package/dist/types/components/FileSelector.d.ts.map +1 -1
  13. package/dist/types/components/Node.d.ts +13 -7
  14. package/dist/types/components/Node.d.ts.map +1 -1
  15. package/dist/types/components/Timeline.d.ts +3 -4
  16. package/dist/types/components/Timeline.d.ts.map +1 -1
  17. package/dist/types/components/Visualizer.d.ts.map +1 -0
  18. package/dist/types/components/icons/AnthropicIcon.d.ts +7 -0
  19. package/dist/types/components/icons/AnthropicIcon.d.ts.map +1 -0
  20. package/dist/types/components/icons/GoogleIcon.d.ts +7 -0
  21. package/dist/types/components/icons/GoogleIcon.d.ts.map +1 -0
  22. package/dist/types/components/icons/OpenAIIcon.d.ts +7 -0
  23. package/dist/types/components/icons/OpenAIIcon.d.ts.map +1 -0
  24. package/dist/types/components/icons/index.d.ts +4 -0
  25. package/dist/types/components/icons/index.d.ts.map +1 -0
  26. package/dist/types/components/ui/badge.d.ts +7 -0
  27. package/dist/types/components/ui/badge.d.ts.map +1 -0
  28. package/dist/types/components/ui/checkbox.d.ts +5 -0
  29. package/dist/types/components/ui/checkbox.d.ts.map +1 -0
  30. package/dist/types/components/ui/drawer.d.ts +25 -0
  31. package/dist/types/components/ui/drawer.d.ts.map +1 -0
  32. package/dist/types/components/ui/json-tree.d.ts +12 -0
  33. package/dist/types/components/ui/json-tree.d.ts.map +1 -0
  34. package/dist/types/components/ui/select.d.ts +14 -0
  35. package/dist/types/components/ui/select.d.ts.map +1 -0
  36. package/dist/types/components/ui/sheet.d.ts +26 -0
  37. package/dist/types/components/ui/sheet.d.ts.map +1 -0
  38. package/dist/types/dto/AgentRun.d.ts +20 -0
  39. package/dist/types/dto/AgentRun.d.ts.map +1 -0
  40. package/dist/types/dto/AgentRunEdge.d.ts +19 -0
  41. package/dist/types/dto/AgentRunEdge.d.ts.map +1 -0
  42. package/dist/types/dto/AgentRunNode.d.ts +35 -0
  43. package/dist/types/dto/AgentRunNode.d.ts.map +1 -0
  44. package/dist/types/dto/AgentSession.d.ts +3 -0
  45. package/dist/types/dto/AgentSession.d.ts.map +1 -0
  46. package/dist/types/hooks/index.d.ts +4 -1
  47. package/dist/types/hooks/index.d.ts.map +1 -1
  48. package/dist/types/hooks/useFlowData.d.ts +3 -66
  49. package/dist/types/hooks/useFlowData.d.ts.map +1 -1
  50. package/dist/types/index.d.ts +15 -9
  51. package/dist/types/index.d.ts.map +1 -1
  52. package/dist/types/lib/index.d.ts +3 -0
  53. package/dist/types/lib/index.d.ts.map +1 -0
  54. package/dist/types/lib/layout.d.ts +15 -0
  55. package/dist/types/lib/layout.d.ts.map +1 -0
  56. package/dist/types/lib/utils.d.ts +28 -0
  57. package/dist/types/lib/utils.d.ts.map +1 -0
  58. package/package.json +44 -14
  59. package/dist/types/AgenticFlowVisualizer.d.ts.map +0 -1
  60. package/dist/types/Visualizer.d.ts.map +0 -1
  61. package/dist/types/components/VerticalTimeline.d.ts +0 -14
  62. package/dist/types/components/VerticalTimeline.d.ts.map +0 -1
  63. /package/dist/types/{Visualizer.d.ts → components/Visualizer.d.ts} +0 -0
package/LICENSE CHANGED
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright [yyyy] [name of copyright owner]
189
+ Copyright 2025 Railtown AI
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.
@@ -198,4 +198,4 @@
198
198
  distributed under the License is distributed on an "AS IS" BASIS,
199
199
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
200
  See the License for the specific language governing permissions and
201
- limitations under the License.
201
+ limitations under the License.
package/README.md CHANGED
@@ -45,10 +45,18 @@ A React-based visualizer for RailTracks agentic flows
45
45
  - **Responsive Design**: Works on different screen sizes
46
46
  - **Inspection Panel**: Detailed view of nodes and edges
47
47
  - **Playback Controls**: Play/pause timeline progression
48
+ - **Portable Styling**: Uses emotion for self-contained, portable styles
49
+
50
+ ## 🔧 Development
51
+
52
+ 1. `npm install`
53
+ 2. `npm run build`
54
+ 3. `npm test`
55
+ 4. `npm start` - This should open up Storybook UI at `http://localhost:6006`
48
56
 
49
57
  ## 📄 License
50
58
 
51
- Apache-2.0
59
+ See [LICENSE](LICENSE)
52
60
 
53
61
  ## 📞 Support
54
62