Commit Graph
6 Commits
Author SHA1 Message Date
James Murdza 49ca13a6c8 Merge branch 'refs/heads/main' into feat/deploy 2024-07-17 13:30:34 -04:00
James Murdza dead84ac4d fix: make server url an environment variable 2024-07-17 13:29:43 -04:00
James Murdza 2163b1dfb7 Merge pull request #2 from jamesmurdza/fix-editor
Fix problems with editor when changing tabs
2024-07-17 11:07:36 -04:00
James Murdza 08d562ee54 chore: remove unused variable reactDefinitionFile 2024-07-17 10:49:58 -04:00
James MurdzaandAkhilesh Rangani 9f0b6a8fdc Implement secure cloud sandboxes with E2B (#35)
* chore: rename utils.ts to fileoperations.ts

* feat: replace node-pty with E2B sandboxes

* added debounced function in the editor

* fix: move socket connection to useRef

* fix: wait until terminals are killed to close the container

* fix: ensure container remains open until all owner connections are closed

* fix: sync files to container instead of local file system

* fix: set project file permissions so that they belong to the terminal user

* fix: use the container URL for the preview panel

* fix: count only the current user's sandboxes towards the limit

* fix: remove hardcoded reference to localhost

* fix: add error handling to the backend

* docs: add information about E2B

---------

Co-authored-by: Akhilesh Rangani <[email protected]>
2024-06-27 23:39:03 -07:00
James Murdza 664a0098a6 fix: add missing values and instructions to config files 2024-06-01 22:36:38 -04:00