e2b-dev / E2B

Secure open source cloud runtime for AI apps & AI agents
https://e2b.dev/docs
Apache License 2.0
7.02k stars 458 forks source link

Improve SDK communication with sandbox and Sandbox lifecycle handling #384

Closed ValentaTomas closed 4 months ago

ValentaTomas commented 5 months ago

Switch the communication between SDKs and Sandboxes from WebSocket and get rid of the lifecycle management via periodic refresh in the background in favor of setting an explicit timeout.

changeset-bot[bot] commented 5 months ago

⚠️ No Changeset found

Latest commit: 3fcac8d549ad62cc716132571ee10ce69194370b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

ValentaTomas commented 4 months ago

We opened a new PR that includes changes from this one — https://github.com/e2b-dev/E2B/pull/389