-
Notifications
You must be signed in to change notification settings - Fork 67
Feat: Application layer for sandbox details/inspect view #78
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
ben-fornefeld
merged 76 commits into
main
from
implement-application-layer-and-state-abstractions-e2b-2463
Jul 30, 2025
Merged
Changes from 68 commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
c3c80c6
remove: envd gen + chore: fix test ts issues
ben-fornefeld 8454a21
chore: move/rename server context
ben-fornefeld 4ca841c
add: fs context,store & events-manager
ben-fornefeld 4c3ff78
update: e2b sdk to fix isolatedModules errors
ben-fornefeld 1abe664
chore: rename feature folder
ben-fornefeld 6250725
chore: rename context
ben-fornefeld 3243011
add: sandbox context
ben-fornefeld 97fd559
chore: re-organize files
ben-fornefeld 9f7ccb0
refactor: move sandbox connection to sandbox context
ben-fornefeld 57d53c0
chore: syntax
ben-fornefeld 7ce857e
improve: watchHandle event handling
ben-fornefeld f37c626
add: mermaid overview chart
ben-fornefeld 99bd9f3
refactor: mermaid chart
ben-fornefeld 364dbdc
chore: cleanup mermaid chart
ben-fornefeld 01b2083
refactor: sandbox inspect application layer to use a single watch han…
ben-fornefeld fbea1c6
refactor: prepare state layer for react
ben-fornefeld b3714a0
refactor: server side sandbox connection handling
ben-fornefeld 27c2f01
chore: reduce watch route timeout to 10 min
ben-fornefeld 2bda457
chore: re-organize/comment pools
ben-fornefeld a52f616
fix: correctly close SandboxPool connections in WatchDirPool and callers
ben-fornefeld 15fbe44
refactor: inspect context to correctly populate store based on seedEn…
ben-fornefeld b98f927
feat: add E2B_DOMAIN to environment configuration and enhance watch r…
ben-fornefeld 7e0665f
fix: missing test env
ben-fornefeld ee28b6f
improve: loggign & watchDir release in watch route
ben-fornefeld 4391c6a
improve: sandbox inspect watch route and pooling
ben-fornefeld 7531f78
refactor: handle sandbox connection client side but fetch root + deta…
ben-fornefeld 528d267
remove: rename E2B_DOMAIN env to NEXT_PUBLIC_E2B_DOMAIN for client si…
ben-fornefeld dfb18dd
fix: connect to correct sandboxId on client and pass secure connectio…
ben-fornefeld 90b2b40
feat: load directory debounce and unlimited watchDir timeout
ben-fornefeld 5363cec
feat: add sorting direction state and normalize order on node insert …
ben-fornefeld fbac823
chore: update e2b sdk
ben-fornefeld a3bb3f5
fix: missing test env
ben-fornefeld 6d41d94
fix: debounce to not act as a delay on first call
ben-fornefeld 5ed78d0
chore: clean up sandbox root fetch
ben-fornefeld 46281d9
chore: refactor events-manager -> sandbox-manager
ben-fornefeld 3c217a3
chore: clean-up sandbox context
ben-fornefeld 078f144
refactor: sandbox-manager debounce handling
ben-fornefeld a1f335d
feat: file viewing / content loading state
ben-fornefeld 6b91c0c
refactor: file node selection state + refresh file after write event
ben-fornefeld a50f99a
refactor: selection / state
ben-fornefeld 8d098f4
feat: add content / file hooks
ben-fornefeld 446cffb
refactor: await file read after selection
ben-fornefeld 345074e
refactor: ensure file / node states are using separate store props
ben-fornefeld e550d5f
fix: useFile return
ben-fornefeld f6e5b70
refactor: handle different file content encodings
ben-fornefeld c2c9662
fix: stable reference children caching
ben-fornefeld bfa119b
refactor: filesystem store
ben-fornefeld 5c26e97
feat: add resetSelected operation and update file selection logic
ben-fornefeld 25162d8
chore: move file content state logic to filesystem utility and remove…
ben-fornefeld 2d67890
fix: update import path for determineFileContentState to filesystem u…
ben-fornefeld ffa1c1f
feat: implement debounced file read logic in SandboxManager
ben-fornefeld b5e0184
feat: add file download functionality and improve file content state …
ben-fornefeld 966d09f
feat: enhance error handling in SandboxManager with user-friendly mes…
ben-fornefeld 225add9
feat: implement loaded state management for filesystem nodes in Sandb…
ben-fornefeld a868d92
fix: update useFilesystemNode hook to return undefined instead of thr…
ben-fornefeld 22b9877
refactor: improve directory loading state management in SandboxInspec…
ben-fornefeld 776a5b7
fix: enhance user feedback for aborted requests in SandboxManager err…
ben-fornefeld d7c039b
fix: update file download logic to use node name and open in new tab
ben-fornefeld ada637d
fix: update file reading logic in SandboxManager to use blob format a…
ben-fornefeld 7536f91
chore: remove outdated overview diagram from dashboard sandbox
ben-fornefeld 97cc291
fix: enhance error handling in SandboxManager to detect directory-rel…
ben-fornefeld 1142756
feat: add Content Security Policy header to enhance security in Next.…
ben-fornefeld a028a85
refactor: move fumadocs roots to archive + add env configs for CSP he…
ben-fornefeld c8a2483
fix: add Supabase URL to CSP img-src directive
ben-fornefeld 3947550
chore: add GitHub and Google avatar URLs to CSP image sources
ben-fornefeld 3cbcfb2
chore: configure ESLint directories and clean up TypeScript paths
ben-fornefeld d1608e0
feat: add frame-src CSP header support with configurable sources
ben-fornefeld 76e6785
chore: remove deprecated files and clean up archive structure
ben-fornefeld c5cc1a2
Apply suggestion from @Copilot
ben-fornefeld 960e960
chore: remove optional Content Security Policy configurations from en…
ben-fornefeld ef175af
Merge branch 'implement-application-layer-and-state-abstractions-e2b-…
ben-fornefeld 392c71d
chore: add 'pathe' dependency and refactor path utility functions for…
ben-fornefeld b0732b9
feat: enhance SandboxManager to support secure sandbox environments w…
ben-fornefeld cde833b
feat: enhance SandboxManager to support secure sandbox environments w…
ben-fornefeld b73c04d
refactor: simplify setSelected method in SandboxInspectProvider and u…
ben-fornefeld c6f88ea
chore: update tsconfig.json to remove 'archive' from excluded directo…
ben-fornefeld 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| archive/ |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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.