- Replaced NodeVM usage with a new createCodeExecutionSandbox function for improved sandbox management.
- Enhanced JavaScript code execution with executeJavaScriptCode function, allowing for better handling of libraries and output streaming.
- Updated multiple components to utilize the new sandboxing approach, ensuring consistent execution environment.
- Added validation for UUIDs and URLs in various tools to enhance input safety.
- Refactored input handling in CustomFunction and IfElseFunction to streamline variable management.
* Base changes for ServerSide Events (instead of socket.io)
* lint fixes
* adding of interface and separate methods for streaming events
* lint
* first draft, handles both internal and external prediction end points.
* lint fixes
* additional internal end point for streaming and associated changes
* return streamresponse as true to build agent flow
* 1) JSON formatting for internal events
2) other fixes
* 1) convert internal event to metadata to maintain consistency with external response
* fix action and metadata streaming
* fix for error when agent flow is aborted
* prevent subflows from streaming and other code cleanup
* prevent streaming from enclosed tools
* add fix for preventing chaintool streaming
* update lock file
* add open when hidden to sse
* Streaming errors
* Streaming errors
* add fix for showing error message
* add code interpreter
* add artifacts to view message dialog
* Update pnpm-lock.yaml
---------
Co-authored-by: Vinod Paidimarry <vinodkiran@outlook.in>