-
Notifications
You must be signed in to change notification settings - Fork 46k
feat(copilot): E2B cloud sandbox — unified file tools, persistent execution, output truncation #12212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat(copilot): E2B cloud sandbox — unified file tools, persistent execution, output truncation #12212
Changes from 7 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
aa4ed81
fix(copilot): inject actual working directory into SDK system prompt
majdyz a092c24
Merge branch 'master' of github.com:Significant-Gravitas/AutoGPT into…
majdyz 224a8ca
fix(copilot): guard cwd precompute and remove unrelated frontend changes
majdyz a5d6e7d
fix(copilot): move makedirs into early cwd try/except
majdyz 15bdb09
fix(copilot): replace _precomputed_cwd with sdk_cwd directly
majdyz cfb0afb
feat(copilot): add E2B cloud sandbox integration for persistent bash …
majdyz 5167948
fix(copilot): guard e2b integration test against pytest collection crash
majdyz 7d98f1b
fix(copilot): address CodeRabbit review comments
majdyz cb35d46
fix(copilot/e2b): path traversal guard + race-free sandbox creation
majdyz bb59655
merge: resolve conflict with master (cwd inside try/finally)
majdyz 408155e
feat(copilot): route file tools through E2B sandbox when active
majdyz 600851b
fix(copilot): make workspace_files tests async to match _resolve_writ…
majdyz e1b2a31
fix(copilot): use integer timeouts for E2B sandbox commands
majdyz 70da86b
fix(copilot): harden E2B file tools and sandbox path handling
majdyz 03fdc28
fix(copilot): validate sandbox path boundaries and cast timeout to int
majdyz d3d5b88
fix(copilot): remove dead sync code, fix config description, align lo…
majdyz 5fb5f4e
Merge remote-tracking branch 'origin/dev' into feat/improve-copilot-file
majdyz ae8e669
fix(copilot): simplify E2B file tools, harden DB sanitization, add ou…
majdyz 47c21b2
fix(copilot): disable SDK built-in Read in E2B mode
majdyz b5957ca
fix(copilot): harden file access — session-scoped tool-results, share…
majdyz 08973c5
fix(copilot): prevent duplicate sandbox creation on lock contention
majdyz e594aff
fix(copilot): clean up e2b_file_tools imports, remove manual test
majdyz 08287f0
fix(copilot): set _current_project_dir in security_hooks_test
majdyz 008146b
fix(copilot): add defense-in-depth to _read_local and path validation…
majdyz 3ff7327
fix(copilot): cap MCP tool response size to prevent SDK buffer overflow
majdyz 76b1232
fix(copilot): centralize MCP tool truncation and stash, improve front…
majdyz 0e2e0b5
fix(copilot): cleanup — E2B default on, revert unrelated frontend cha…
majdyz a14e88b
fix(copilot): simplify e2b_sandbox.py, move imports to top-level
majdyz 3959aff
fix(copilot): clean up e2b_file_tools — merge MCP helpers, reduce boi…
majdyz a3dc0e1
fix(copilot): deduplicate E2B_WORKDIR, move imports to top-level, add…
majdyz 69073d1
fix(copilot): add error handling for sandbox write in _save_to_path
majdyz 060661b
fix(copilot): add error handling for local write in _save_to_path
majdyz 7ee1e8b
fix(copilot): read sandbox files as bytes with utf-8 decode fallback
majdyz 85dfaf1
fix(copilot): try reconnecting before raising on lock contention
majdyz 97097fe
Merge remote-tracking branch 'origin/dev' into feat/improve-copilot-file
majdyz a878261
fix(copilot): address reviewer should-fix items
majdyz 0b3faa7
feat(copilot): add kill_sandbox() for explicit E2B cleanup on session…
majdyz bc57672
fix(copilot): address reviewer v7 should-fix items
majdyz 41da564
test(copilot): add kill_sandbox timeout test
majdyz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.