Add E2B terminal backend - #34492
Closed
vsokolovskii wants to merge 1 commit into
Closed
Conversation
Collaborator
|
Competing with #18348 — both add E2B cloud sandbox terminal backend. This PR appears to be a more complete resubmission. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
terminal.backend: e2b,TERMINAL_E2B_TEMPLATE, setup/doctor/status/config schema, and lazy dependency installationTesting
python3 -m py_compile tools/environments/e2b.py tools/terminal_tool.py tools/file_tools.py tools/code_execution_tool.py tools/approval.py tools/skills_tool.py tools/env_probe.py agent/prompt_builder.py hermes_cli/setup.py hermes_cli/status.py hermes_cli/doctor.py hermes_cli/config.py hermes_cli/web_server.py tests/tools/test_terminal_requirements.py tests/hermes_cli/test_setup.py.venv/bin/python -m pytest tests/tools/test_terminal_requirements.py tests/hermes_cli/test_setup.py::test_e2b_setup_saves_api_key_and_template tests/tools/test_command_guards.py::TestContainerSkip::test_e2b_skips_both tests/tools/test_hardline_blocklist.py::test_container_backends_still_bypass tests/tools/test_hardline_blocklist.py::test_sudo_stdin_guard_container_bypass tests/test_project_metadata.py::test_lazy_installable_extras_excluded_from_all tests/agent/test_prompt_builder.py::TestEnvironmentHints::test_remote_backend_list_covers_known_sandboxes tests/hermes_cli/test_web_server.py::TestBuildSchemaFromConfig::test_overrides_applied/home/user,user,e2b.local,E2B_SANDBOX=true,E2B_SANDBOX_ID, andE2B_TEMPLATE_ID