mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 13:22:07 +00:00
Implement the Sandboxfile runtime that can actually execute sandboxes: - Sandbox class manages the full lifecycle of sandbox environments - Process spawning for RUN, DEV, SERVICE, and TEST directives - Secret loading from environment variables - Network access validation (deny-all by default) - Output file extraction with glob patterns - Log file tailing - CLI tool (bun-sandbox) for running sandboxes Commands: - bun-sandbox run [file] - Run full sandbox lifecycle - bun-sandbox test [file] - Run only tests - bun-sandbox infer [dir] - Infer Sandboxfile from project - bun-sandbox validate [file] - Validate Sandboxfile syntax The runtime is packaged as packages/bun-sandbox for standalone use. Includes 14 integration tests covering all major functionality. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>