Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Export ReadyCMD class (#992)

Mish Ushakovffd1258adb7d
diff --git a/.changeset/early-trainers-repeat.md b/.changeset/early-trainers-repeat.md
new file mode 100644
index 000000000..e9c61d8c0
--- /dev/null
+++ b/.changeset/early-trainers-repeat.md
@@ -0,0 +1,6 @@
+---
+'@e2b/python-sdk': patch
+'e2b': patch
+---
+
+export ReadyCmd class
diff --git a/packages/js-sdk/src/index.ts b/packages/js-sdk/src/index.ts
index 041d02e70..8d1ca5694 100644
--- a/packages/js-sdk/src/index.ts
+++ b/packages/js-sdk/src/index.ts
@@ -67,6 +67,7 @@ export default Sandbox
export * from './template'
export {
+ ReadyCmd,
waitForPort,
waitForURL,
waitForProcess,
diff --git a/packages/python-sdk/e2b/__init__.py b/packages/python-sdk/e2b/__init__.py
index c1170791c..c7956818a 100644
--- a/packages/python-sdk/e2b/__init__.py
+++ b/packages/python-sdk/e2b/__init__.py
@@ -85,6 +85,7 @@ from .template.logger import (
)
from .template.main import TemplateBase, TemplateClass
from .template.readycmd import (
+ ReadyCmd,
wait_for_file,
wait_for_url,
wait_for_port,
@@ -149,6 +150,7 @@ __all__ = [
"TemplateBase",
"TemplateClass",
"CopyItem",
+ "ReadyCmd",
"wait_for_file",
"wait_for_url",
"wait_for_port",