This Week in Sandbox SDK

2025-12-11
Sandbox

This Week in Sandbox SDK

Week 2 · December 2025

Cloudflare
OpenCodeNew Integration

Run OpenCode on remote sandboxes. Access via CLI, TS SDK or the Web UI.

let-it-slide
/Greeting
+New session
L
Session○ 14%
+
Understanding repo structure
Understanding repo structure
○○ReadREADME.md
○○ReadDESIGN.md
○○Readpackage.json
Ask anything... "How do environment variables work?"
BuildClaude Haiku 4.5 (latest)·Anthropic: Cloudflare AI Gateway
Response
Gathering thoughts...
Reading files...

Process Readiness

Know exactly when your process is ready with waitForPort() and waitForLog()

start
:8787
waitForPort
"Accepting connections"
ready!
sleep(5000)no more guessing

Promises Kept

runCode() now resolves JS/TS promises correctly. Get actual values, not empty objects.

[1]
const data = await fetch(url)
data.json()
-{}promise not resolved
+{ users: [...] }