Fix sandbox#8
Merged
Merged
Conversation
…e/sandbox v0.7.4 - Swap @cloudflare/sandbox from workspace fork (v0.0.7) to official npm (v0.7.4) - Update @cloudflare/containers to v0.0.30 and wrangler to v4.67.0 - Create SandboxDO extending official Sandbox class with lifecycle hooks - Create languageCommands.ts map replacing 12 individual runner files - Rewrite CodeRun.service.ts and Sandbox.service.ts to use getSandbox() API - Slim Dockerfile based on cloudflare/sandbox:0.7.4 with language runtimes - Use tsx instead of ts-node for TypeScript execution - Add SANDBOX_OVERHAUL.md phased checklist for remaining work Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add POST /stop endpoint using sandbox.killAllProcesses() - Add POST /run/stream SSE endpoint using sandbox.execStream() - Add runCodeStream() method to CodeRunService with SSE error wrapping - Add Stop button (destructive variant) that replaces Run while executing - Wire AbortController into /run fetch so Stop immediately cancels the request - Suppress AbortError from global mutation error handler and execution history - Remove debug console.log from /run route Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add GET /terminal WebSocket route using proxyTerminal() from SDK - Create Terminal component with xterm.js, FitAddon, and SandboxAddon - Light theme terminal with connection state indicator overlay - Register terminal panel in Dockview with RiTerminalBoxLine icon - Add terminal panel below code-output in both host and guest views - Install @xterm/xterm, @xterm/addon-fit, @cloudflare/sandbox in web app Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add FileSyncService that continuously syncs Yjs document file contents to the sandbox filesystem, so the terminal sees exactly what the editor has. Includes initial full sync on load, debounced content writes (500ms), and structural change handling (add/delete/rename/move). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add cloudflared binary to sandbox Dockerfile, implement tunnel-based preview URLs via PreviewService for local development, and configure Vite templates with allowedHosts to accept tunnel hostnames. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Restore separate output panel showing only latest execution result (empty state, loading spinner, plain stdout with stderr in red). Run/Stop button toggles based on loading state and hides for web frameworks. Fix compiled language paths (./ prefix on absolute paths), replace killAllProcesses with selective process killing to avoid destroying the sandbox container, and remove unused runCommands.ts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Store the preview URL in Yjs doc instead of local React state so all room participants see the running preview iframe immediately. On start, write URL to Yjs; on stop, clear it. New participants read the existing URL on mount and subscribe to changes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add text-left to the button wrapper in InstructionEditor to override browser default centered text. Add a code block toggle button to the TipTap toolbar alongside the existing inline code button. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Auto-fix import ordering (biome), formatter fixes, remove the unused code field from /run and /run/stream validators since code is now read from the sandbox filesystem. Fix language type in useRunRoomCode. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Biome auto-fixed import ordering and formatting across API and web. Includes previously uncommitted sandbox overhaul changes: CodeRun service cleanup, SandboxDO updates, language commands reformatting, multiFileTemplates fixes, and removal of SANDBOX_OVERHAUL.md tracker. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
coderscreen-web | c2a0329 | Feb 22 2026, 06:02 PM |
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Vercel blocks deploys with next-mdx-remote@5.0.0 due to a security vulnerability. Updated to v6.0.0 which resolves the CVE. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The toast component imports sonner but it wasn't listed in package.json, causing Cloudflare web builds to fail. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
No description provided.