[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-cloudflare-sandbox-migrate-to-next":3,"mdc--ry1a7-key":37,"related-repo-cloudflare-sandbox-migrate-to-next":2818,"related-org-cloudflare-sandbox-migrate-to-next":2930},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":32,"sourceUrl":35,"mdContent":36},"sandbox-migrate-to-next","migrate Cloudflare Sandbox to SDK 1.0","Use when porting a Cloudflare Sandbox app from stable @cloudflare\u002Fsandbox to @cloudflare\u002Fsandbox@next (Sandbox SDK 1.0 preview), or when the user asks to migrate or upgrade to Sandbox 1.0 \u002F @next. Not for day-to-day stable work (sandbox-stable) or new @next apps (sandbox-next).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"cloudflare","Cloudflare","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fcloudflare.jpg",[12,14,17,20],{"name":9,"slug":8,"type":13},"tag",{"name":15,"slug":16,"type":13},"Sandboxing","sandboxing",{"name":18,"slug":19,"type":13},"Migration","migration",{"name":21,"slug":22,"type":13},"Code Execution","code-execution",2112,"https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fskills","2026-08-09T04:33:22.575638",null,192,[29,8,30,31],"agents","skills","workers",{"repoUrl":24,"stars":23,"forks":27,"topics":33,"description":34},[29,8,30,31],"Skills for teaching agents how to build on Cloudflare.","https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fskills\u002Ftree\u002FHEAD\u002Fskills\u002Fsandbox-migrate-to-next","---\nname: sandbox-migrate-to-next\ndescription: Use when porting a Cloudflare Sandbox app from stable @cloudflare\u002Fsandbox to @cloudflare\u002Fsandbox@next (Sandbox SDK 1.0 preview), or when the user asks to migrate or upgrade to Sandbox 1.0 \u002F @next. Not for day-to-day stable work (sandbox-stable) or new @next apps (sandbox-next).\n---\n\n# Migrate stable → Sandbox SDK 1.0 preview (`@next`)\n\n**Perform** the port. Follow the steps in order. Depth lives in docs—fetch the linked page when a step needs detail.\n\nHuman guide: [Migrate](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Fmigrate\u002F) · [1.0 preview](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002F)\n\n**New projects** should start on `@next` (**`sandbox-next`**), not this skill. **Day-to-day stable work** → **`sandbox-stable`**. Deprecated-API cleanup **without** moving to `@next` → [2026 deprecation guide](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002F2026-deprecation\u002F) first if needed.\n\nExisting apps should migrate **when you can**, so you are ready when 1.0 becomes the stable release. Do **not** force production cutover without the user agreeing.\n\n**Prefer installed `@next` types and the migrate doc over memory.**\n\n## Workflow\n\n1. **Review** hard rules and the replacement map  \n2. **Audit** the codebase; list hits and target shapes  \n3. **Clarify** with the user (cutover, bridge, Python image, unclear sites)  \n4. **Upgrade** package, image, and code  \n5. **Validate**  \n\nStop after any step that needs a user decision.\n\n## Hard rules\n\n- Worker package and container image must be the **same** `@next` line.  \n- Production cutover uses **immediate** container rollout. Stable and `@next` control protocols are incompatible both ways; gradual rollout leaves a broken mixed window. In-flight container work can stop.  \n- After cutover, `await sandbox.exec(...)` means process **started**, not command **finished**.  \n- Argv is as-is (no implicit shell). Shell syntax needs an explicit shell binary.  \n- Process handles have **no stdin** → terminals for interactive input.  \n- Observation `timeout` \u002F `AbortSignal` cancel the **wait only**, not the process.  \n- No single retry loop for every error.  \n- Do not invent APIs (`gitCheckout` on core, process stdin, string-exec completion helper).  \n- Self-deployed bridge stays on **stable** (not part of the preview line yet).  \n\n## Replacement map\n\n| Stable | `@next` |\n| ------ | ------- |\n| `SANDBOX_TRANSPORT` \u002F `transport` \u002F `setTransport` | Remove — RPC only |\n| `await sandbox.exec(\"cmd\")` → buffered result | `await sandbox.exec(argv)` → handle, then `output` \u002F waits |\n| `execStream` \u002F `startProcess` | Same handle: `logs`, `waitFor*`, `kill` |\n| Default \u002F named sessions | Gone — `cwd`\u002F`env` per launch, or one shell script |\n| `sandbox.terminal(request)` \u002F session terminal | `createTerminal` + `terminal.connect(request)` |\n| xterm `sessionId` | `terminalId` |\n| Interpreter methods on `Sandbox` | `withInterpreter` → `sandbox.interpreter.*` |\n| `gitCheckout` | argv `git` via `exec` |\n| String kill signals | Numeric only |\n| Files, mounts, backups, ports, tunnels, `proxyToSandbox` | Mostly unchanged (ignore session\u002Ftransport bits on stable pages) |\n\nDepth: [Migrate](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Fmigrate\u002F) · after port, day-to-day → **`sandbox-next`**\n\n## Audit\n\n```sh\nrg 'SANDBOX_TRANSPORT|transport:|setTransport|enableDefaultSession|createSession|getSession|deleteSession|execStream\\(|startProcess\\(|killProcess\\(|sandbox\\.terminal\\(|sessionId|gitCheckout\\(|SandboxTransport|ExecutionSession'\n```\n\nAlso: string `exec(`, `cd` then a later `exec`, bare `createCodeContext` \u002F `runCode` on `Sandbox`.\n\n## Clarify (ask when needed)\n\n- OK to cut production with `--containers-rollout=immediate` (live processes\u002Fterminals\u002Fstreams may stop)?  \n- Self-deployed bridge? Leave on stable.  \n- Python interpreter → **`-python`** image variant?  \n- Call sites not covered by the map?  \n\n## Upgrade\n\n### Package and image\n\n```sh\nnpm install @cloudflare\u002Fsandbox@next\n```\n\n```dockerfile\nFROM cloudflare\u002Fsandbox:next\n# Python: cloudflare\u002Fsandbox:next-python\n```\n\nSame prerelease tag on Worker and image when not on floating `next`.\n\n### Code by area\n\nApply replacements from the map. For each area, implement from the doc—not from stable habits:\n\n| Area | Doc |\n| ---- | --- |\n| Commands \u002F handles \u002F waits | [Processes](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Fprocesses\u002F) · [Processes API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Fapi\u002Fprocesses\u002F) |\n| `cwd` \u002F `env` \u002F secrets | [Environment](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Fenvironment\u002F) · [Outbound traffic](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Foutbound-traffic\u002F) |\n| Drop sessions | [Migrate](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Fmigrate\u002F) · [Lifecycle](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Flifecycle\u002F) |\n| Terminals | [Terminals](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Fterminals\u002F) |\n| Interpreter | [Interpreter](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Finterpreter\u002F) |\n| Errors | [Errors](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Ferrors\u002F) |\n| Durable job across requests | [Process execution — lifetime \u002F durability](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Fprocesses\u002F) |\n\n**Commands (shape):**\n\n```ts\n\u002F\u002F Before (stable)\nconst result = await sandbox.exec(\"npm test\");\n\n\u002F\u002F After (@next)\nconst process = await sandbox.exec([\"\u002Fbin\u002Fbash\", \"-lc\", \"npm test\"]);\nconst result = await process.output({ encoding: \"utf8\" });\n```\n\n```ts\nconst server = await sandbox.exec([\"\u002Fbin\u002Fbash\", \"-lc\", \"npm run dev\"], {\n  cwd: \"\u002Fworkspace\u002Fapp\",\n});\nawait server.waitForPort(3000, { timeout: 60_000 });\nawait server.kill(); \u002F\u002F numeric; default 15\n```\n\n**Terminals (shape):**\n\n```ts\nconst terminal = await sandbox.createTerminal({ command: [\"bash\"], cwd: \"\u002Fworkspace\" });\nconst t = await sandbox.getTerminal(terminal.id);\nif (!t) return new Response(\"terminal gone\", { status: 410 });\nreturn t.connect(request, { cursor, cols, rows });\n```\n\n**Interpreter (shape):**\n\n```ts\nimport { Sandbox as BaseSandbox } from \"@cloudflare\u002Fsandbox\";\nimport { withInterpreter } from \"@cloudflare\u002Fsandbox\u002Finterpreter\";\n\nexport class Sandbox extends BaseSandbox\u003CEnv> {\n  interpreter = withInterpreter(this);\n}\n```\n\n**Git (shape):**\n\n```ts\nconst clone = await sandbox.exec(\n  [\"git\", \"clone\", \"--depth\", \"1\", \"--\", repoUrl, \"\u002Fworkspace\u002Frepo\"],\n  { cwd: \"\u002Fworkspace\" },\n);\nconst result = await clone.output({ encoding: \"utf8\" });\n```\n\nDelete transport settings entirely. Remove session APIs. Isolate users with **separate sandbox IDs**.\n\n### Deploy cutover\n\nStaging\u002Fbranch first. Production is **one** deploy of matching Worker + image:\n\n```sh\nnpx wrangler deploy --containers-rollout=immediate\n```\n\nLeave `rollout_active_grace_period` at default `0` (or set `0` if raised). After cutover, pre-deploy process\u002Fterminal IDs are invalid. Details: [Migrate](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Fmigrate\u002F) · [Container rollouts](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcontainers\u002Fplatform-details\u002Frollouts\u002F)\n\n## Validate\n\n1. Lockfile + Dockerfile on the same `@next` line  \n2. Typecheck against `@next`  \n3. Smoke argv `exec` + `output({ encoding: \"utf8\" })`  \n4. Smoke long process \u002F terminal \u002F interpreter if used  \n5. Errors distinguished: unavailable \u002F interrupted-RPC \u002F stale \u002F local wait  \n6. No live secrets in sandbox env  \n7. Grep again for removed APIs  \n8. Production used `--containers-rollout=immediate`  \n\nThen day-to-day work uses **`sandbox-next`**.\n\n## Red flags — stop and fix\n\n- Mixing `@next` Worker with stable image (or reverse)  \n- Gradual container rollout for this cutover  \n- Treating `await exec` as command completion  \n- Assuming `cd` \u002F exports persist across `exec` calls  \n- One retry wrapper for every error  \n- Inventing `gitCheckout`, process stdin, or undocumented APIs  \n- Keeping pre-cutover process\u002Fterminal IDs after deploy  \n- Forcing production cutover without user agreement  \n- Putting live secrets in `setEnvVars` \u002F launch `env`  \n",{"data":38,"body":39},{"name":4,"description":6},{"type":40,"children":41},"root",[42,60,72,95,163,182,197,204,257,262,268,412,418,733,753,758,798,846,852,894,899,906,931,957,969,975,980,1157,1165,1444,1693,1701,2025,2033,2228,2236,2518,2529,2535,2547,2577,2618,2623,2695,2709,2715,2812],{"type":43,"tag":44,"props":45,"children":47},"element","h1",{"id":46},"migrate-stable-sandbox-sdk-10-preview-next",[48,51,58],{"type":49,"value":50},"text","Migrate stable → Sandbox SDK 1.0 preview (",{"type":43,"tag":52,"props":53,"children":55},"code",{"className":54},[],[56],{"type":49,"value":57},"@next",{"type":49,"value":59},")",{"type":43,"tag":61,"props":62,"children":63},"p",{},[64,70],{"type":43,"tag":65,"props":66,"children":67},"strong",{},[68],{"type":49,"value":69},"Perform",{"type":49,"value":71}," the port. Follow the steps in order. Depth lives in docs—fetch the linked page when a step needs detail.",{"type":43,"tag":61,"props":73,"children":74},{},[75,77,86,88],{"type":49,"value":76},"Human guide: ",{"type":43,"tag":78,"props":79,"children":83},"a",{"href":80,"rel":81},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Fmigrate\u002F",[82],"nofollow",[84],{"type":49,"value":85},"Migrate",{"type":49,"value":87}," · ",{"type":43,"tag":78,"props":89,"children":92},{"href":90,"rel":91},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002F",[82],[93],{"type":49,"value":94},"1.0 preview",{"type":43,"tag":61,"props":96,"children":97},{},[98,103,105,110,112,121,123,128,130,139,141,146,148,153,154,161],{"type":43,"tag":65,"props":99,"children":100},{},[101],{"type":49,"value":102},"New projects",{"type":49,"value":104}," should start on ",{"type":43,"tag":52,"props":106,"children":108},{"className":107},[],[109],{"type":49,"value":57},{"type":49,"value":111}," (",{"type":43,"tag":65,"props":113,"children":114},{},[115],{"type":43,"tag":52,"props":116,"children":118},{"className":117},[],[119],{"type":49,"value":120},"sandbox-next",{"type":49,"value":122},"), not this skill. ",{"type":43,"tag":65,"props":124,"children":125},{},[126],{"type":49,"value":127},"Day-to-day stable work",{"type":49,"value":129}," → ",{"type":43,"tag":65,"props":131,"children":132},{},[133],{"type":43,"tag":52,"props":134,"children":136},{"className":135},[],[137],{"type":49,"value":138},"sandbox-stable",{"type":49,"value":140},". Deprecated-API cleanup ",{"type":43,"tag":65,"props":142,"children":143},{},[144],{"type":49,"value":145},"without",{"type":49,"value":147}," moving to ",{"type":43,"tag":52,"props":149,"children":151},{"className":150},[],[152],{"type":49,"value":57},{"type":49,"value":129},{"type":43,"tag":78,"props":155,"children":158},{"href":156,"rel":157},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002F2026-deprecation\u002F",[82],[159],{"type":49,"value":160},"2026 deprecation guide",{"type":49,"value":162}," first if needed.",{"type":43,"tag":61,"props":164,"children":165},{},[166,168,173,175,180],{"type":49,"value":167},"Existing apps should migrate ",{"type":43,"tag":65,"props":169,"children":170},{},[171],{"type":49,"value":172},"when you can",{"type":49,"value":174},", so you are ready when 1.0 becomes the stable release. Do ",{"type":43,"tag":65,"props":176,"children":177},{},[178],{"type":49,"value":179},"not",{"type":49,"value":181}," force production cutover without the user agreeing.",{"type":43,"tag":61,"props":183,"children":184},{},[185],{"type":43,"tag":65,"props":186,"children":187},{},[188,190,195],{"type":49,"value":189},"Prefer installed ",{"type":43,"tag":52,"props":191,"children":193},{"className":192},[],[194],{"type":49,"value":57},{"type":49,"value":196}," types and the migrate doc over memory.",{"type":43,"tag":198,"props":199,"children":201},"h2",{"id":200},"workflow",[202],{"type":49,"value":203},"Workflow",{"type":43,"tag":205,"props":206,"children":207},"ol",{},[208,219,229,239,249],{"type":43,"tag":209,"props":210,"children":211},"li",{},[212,217],{"type":43,"tag":65,"props":213,"children":214},{},[215],{"type":49,"value":216},"Review",{"type":49,"value":218}," hard rules and the replacement map",{"type":43,"tag":209,"props":220,"children":221},{},[222,227],{"type":43,"tag":65,"props":223,"children":224},{},[225],{"type":49,"value":226},"Audit",{"type":49,"value":228}," the codebase; list hits and target shapes",{"type":43,"tag":209,"props":230,"children":231},{},[232,237],{"type":43,"tag":65,"props":233,"children":234},{},[235],{"type":49,"value":236},"Clarify",{"type":49,"value":238}," with the user (cutover, bridge, Python image, unclear sites)",{"type":43,"tag":209,"props":240,"children":241},{},[242,247],{"type":43,"tag":65,"props":243,"children":244},{},[245],{"type":49,"value":246},"Upgrade",{"type":49,"value":248}," package, image, and code",{"type":43,"tag":209,"props":250,"children":251},{},[252],{"type":43,"tag":65,"props":253,"children":254},{},[255],{"type":49,"value":256},"Validate",{"type":43,"tag":61,"props":258,"children":259},{},[260],{"type":49,"value":261},"Stop after any step that needs a user decision.",{"type":43,"tag":198,"props":263,"children":265},{"id":264},"hard-rules",[266],{"type":49,"value":267},"Hard rules",{"type":43,"tag":269,"props":270,"children":271},"ul",{},[272,291,310,337,342,354,382,387,400],{"type":43,"tag":209,"props":273,"children":274},{},[275,277,282,284,289],{"type":49,"value":276},"Worker package and container image must be the ",{"type":43,"tag":65,"props":278,"children":279},{},[280],{"type":49,"value":281},"same",{"type":49,"value":283}," ",{"type":43,"tag":52,"props":285,"children":287},{"className":286},[],[288],{"type":49,"value":57},{"type":49,"value":290}," line.",{"type":43,"tag":209,"props":292,"children":293},{},[294,296,301,303,308],{"type":49,"value":295},"Production cutover uses ",{"type":43,"tag":65,"props":297,"children":298},{},[299],{"type":49,"value":300},"immediate",{"type":49,"value":302}," container rollout. Stable and ",{"type":43,"tag":52,"props":304,"children":306},{"className":305},[],[307],{"type":49,"value":57},{"type":49,"value":309}," control protocols are incompatible both ways; gradual rollout leaves a broken mixed window. In-flight container work can stop.",{"type":43,"tag":209,"props":311,"children":312},{},[313,315,321,323,328,330,335],{"type":49,"value":314},"After cutover, ",{"type":43,"tag":52,"props":316,"children":318},{"className":317},[],[319],{"type":49,"value":320},"await sandbox.exec(...)",{"type":49,"value":322}," means process ",{"type":43,"tag":65,"props":324,"children":325},{},[326],{"type":49,"value":327},"started",{"type":49,"value":329},", not command ",{"type":43,"tag":65,"props":331,"children":332},{},[333],{"type":49,"value":334},"finished",{"type":49,"value":336},".",{"type":43,"tag":209,"props":338,"children":339},{},[340],{"type":49,"value":341},"Argv is as-is (no implicit shell). Shell syntax needs an explicit shell binary.",{"type":43,"tag":209,"props":343,"children":344},{},[345,347,352],{"type":49,"value":346},"Process handles have ",{"type":43,"tag":65,"props":348,"children":349},{},[350],{"type":49,"value":351},"no stdin",{"type":49,"value":353}," → terminals for interactive input.",{"type":43,"tag":209,"props":355,"children":356},{},[357,359,365,367,373,375,380],{"type":49,"value":358},"Observation ",{"type":43,"tag":52,"props":360,"children":362},{"className":361},[],[363],{"type":49,"value":364},"timeout",{"type":49,"value":366}," \u002F ",{"type":43,"tag":52,"props":368,"children":370},{"className":369},[],[371],{"type":49,"value":372},"AbortSignal",{"type":49,"value":374}," cancel the ",{"type":43,"tag":65,"props":376,"children":377},{},[378],{"type":49,"value":379},"wait only",{"type":49,"value":381},", not the process.",{"type":43,"tag":209,"props":383,"children":384},{},[385],{"type":49,"value":386},"No single retry loop for every error.",{"type":43,"tag":209,"props":388,"children":389},{},[390,392,398],{"type":49,"value":391},"Do not invent APIs (",{"type":43,"tag":52,"props":393,"children":395},{"className":394},[],[396],{"type":49,"value":397},"gitCheckout",{"type":49,"value":399}," on core, process stdin, string-exec completion helper).",{"type":43,"tag":209,"props":401,"children":402},{},[403,405,410],{"type":49,"value":404},"Self-deployed bridge stays on ",{"type":43,"tag":65,"props":406,"children":407},{},[408],{"type":49,"value":409},"stable",{"type":49,"value":411}," (not part of the preview line yet).",{"type":43,"tag":198,"props":413,"children":415},{"id":414},"replacement-map",[416],{"type":49,"value":417},"Replacement map",{"type":43,"tag":419,"props":420,"children":421},"table",{},[422,444],{"type":43,"tag":423,"props":424,"children":425},"thead",{},[426],{"type":43,"tag":427,"props":428,"children":429},"tr",{},[430,436],{"type":43,"tag":431,"props":432,"children":433},"th",{},[434],{"type":49,"value":435},"Stable",{"type":43,"tag":431,"props":437,"children":438},{},[439],{"type":43,"tag":52,"props":440,"children":442},{"className":441},[],[443],{"type":49,"value":57},{"type":43,"tag":445,"props":446,"children":447},"tbody",{},[448,480,513,558,587,618,641,671,701,714],{"type":43,"tag":427,"props":449,"children":450},{},[451,475],{"type":43,"tag":452,"props":453,"children":454},"td",{},[455,461,462,468,469],{"type":43,"tag":52,"props":456,"children":458},{"className":457},[],[459],{"type":49,"value":460},"SANDBOX_TRANSPORT",{"type":49,"value":366},{"type":43,"tag":52,"props":463,"children":465},{"className":464},[],[466],{"type":49,"value":467},"transport",{"type":49,"value":366},{"type":43,"tag":52,"props":470,"children":472},{"className":471},[],[473],{"type":49,"value":474},"setTransport",{"type":43,"tag":452,"props":476,"children":477},{},[478],{"type":49,"value":479},"Remove — RPC only",{"type":43,"tag":427,"props":481,"children":482},{},[483,494],{"type":43,"tag":452,"props":484,"children":485},{},[486,492],{"type":43,"tag":52,"props":487,"children":489},{"className":488},[],[490],{"type":49,"value":491},"await sandbox.exec(\"cmd\")",{"type":49,"value":493}," → buffered result",{"type":43,"tag":452,"props":495,"children":496},{},[497,503,505,511],{"type":43,"tag":52,"props":498,"children":500},{"className":499},[],[501],{"type":49,"value":502},"await sandbox.exec(argv)",{"type":49,"value":504}," → handle, then ",{"type":43,"tag":52,"props":506,"children":508},{"className":507},[],[509],{"type":49,"value":510},"output",{"type":49,"value":512}," \u002F waits",{"type":43,"tag":427,"props":514,"children":515},{},[516,532],{"type":43,"tag":452,"props":517,"children":518},{},[519,525,526],{"type":43,"tag":52,"props":520,"children":522},{"className":521},[],[523],{"type":49,"value":524},"execStream",{"type":49,"value":366},{"type":43,"tag":52,"props":527,"children":529},{"className":528},[],[530],{"type":49,"value":531},"startProcess",{"type":43,"tag":452,"props":533,"children":534},{},[535,537,543,545,551,552],{"type":49,"value":536},"Same handle: ",{"type":43,"tag":52,"props":538,"children":540},{"className":539},[],[541],{"type":49,"value":542},"logs",{"type":49,"value":544},", ",{"type":43,"tag":52,"props":546,"children":548},{"className":547},[],[549],{"type":49,"value":550},"waitFor*",{"type":49,"value":544},{"type":43,"tag":52,"props":553,"children":555},{"className":554},[],[556],{"type":49,"value":557},"kill",{"type":43,"tag":427,"props":559,"children":560},{},[561,566],{"type":43,"tag":452,"props":562,"children":563},{},[564],{"type":49,"value":565},"Default \u002F named sessions",{"type":43,"tag":452,"props":567,"children":568},{},[569,571,577,579,585],{"type":49,"value":570},"Gone — ",{"type":43,"tag":52,"props":572,"children":574},{"className":573},[],[575],{"type":49,"value":576},"cwd",{"type":49,"value":578},"\u002F",{"type":43,"tag":52,"props":580,"children":582},{"className":581},[],[583],{"type":49,"value":584},"env",{"type":49,"value":586}," per launch, or one shell script",{"type":43,"tag":427,"props":588,"children":589},{},[590,601],{"type":43,"tag":452,"props":591,"children":592},{},[593,599],{"type":43,"tag":52,"props":594,"children":596},{"className":595},[],[597],{"type":49,"value":598},"sandbox.terminal(request)",{"type":49,"value":600}," \u002F session terminal",{"type":43,"tag":452,"props":602,"children":603},{},[604,610,612],{"type":43,"tag":52,"props":605,"children":607},{"className":606},[],[608],{"type":49,"value":609},"createTerminal",{"type":49,"value":611}," + ",{"type":43,"tag":52,"props":613,"children":615},{"className":614},[],[616],{"type":49,"value":617},"terminal.connect(request)",{"type":43,"tag":427,"props":619,"children":620},{},[621,632],{"type":43,"tag":452,"props":622,"children":623},{},[624,626],{"type":49,"value":625},"xterm ",{"type":43,"tag":52,"props":627,"children":629},{"className":628},[],[630],{"type":49,"value":631},"sessionId",{"type":43,"tag":452,"props":633,"children":634},{},[635],{"type":43,"tag":52,"props":636,"children":638},{"className":637},[],[639],{"type":49,"value":640},"terminalId",{"type":43,"tag":427,"props":642,"children":643},{},[644,655],{"type":43,"tag":452,"props":645,"children":646},{},[647,649],{"type":49,"value":648},"Interpreter methods on ",{"type":43,"tag":52,"props":650,"children":652},{"className":651},[],[653],{"type":49,"value":654},"Sandbox",{"type":43,"tag":452,"props":656,"children":657},{},[658,664,665],{"type":43,"tag":52,"props":659,"children":661},{"className":660},[],[662],{"type":49,"value":663},"withInterpreter",{"type":49,"value":129},{"type":43,"tag":52,"props":666,"children":668},{"className":667},[],[669],{"type":49,"value":670},"sandbox.interpreter.*",{"type":43,"tag":427,"props":672,"children":673},{},[674,682],{"type":43,"tag":452,"props":675,"children":676},{},[677],{"type":43,"tag":52,"props":678,"children":680},{"className":679},[],[681],{"type":49,"value":397},{"type":43,"tag":452,"props":683,"children":684},{},[685,687,693,695],{"type":49,"value":686},"argv ",{"type":43,"tag":52,"props":688,"children":690},{"className":689},[],[691],{"type":49,"value":692},"git",{"type":49,"value":694}," via ",{"type":43,"tag":52,"props":696,"children":698},{"className":697},[],[699],{"type":49,"value":700},"exec",{"type":43,"tag":427,"props":702,"children":703},{},[704,709],{"type":43,"tag":452,"props":705,"children":706},{},[707],{"type":49,"value":708},"String kill signals",{"type":43,"tag":452,"props":710,"children":711},{},[712],{"type":49,"value":713},"Numeric only",{"type":43,"tag":427,"props":715,"children":716},{},[717,728],{"type":43,"tag":452,"props":718,"children":719},{},[720,722],{"type":49,"value":721},"Files, mounts, backups, ports, tunnels, ",{"type":43,"tag":52,"props":723,"children":725},{"className":724},[],[726],{"type":49,"value":727},"proxyToSandbox",{"type":43,"tag":452,"props":729,"children":730},{},[731],{"type":49,"value":732},"Mostly unchanged (ignore session\u002Ftransport bits on stable pages)",{"type":43,"tag":61,"props":734,"children":735},{},[736,738,743,745],{"type":49,"value":737},"Depth: ",{"type":43,"tag":78,"props":739,"children":741},{"href":80,"rel":740},[82],[742],{"type":49,"value":85},{"type":49,"value":744}," · after port, day-to-day → ",{"type":43,"tag":65,"props":746,"children":747},{},[748],{"type":43,"tag":52,"props":749,"children":751},{"className":750},[],[752],{"type":49,"value":120},{"type":43,"tag":198,"props":754,"children":756},{"id":755},"audit",[757],{"type":49,"value":226},{"type":43,"tag":759,"props":760,"children":765},"pre",{"className":761,"code":762,"language":763,"meta":764,"style":764},"language-sh shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","rg 'SANDBOX_TRANSPORT|transport:|setTransport|enableDefaultSession|createSession|getSession|deleteSession|execStream\\(|startProcess\\(|killProcess\\(|sandbox\\.terminal\\(|sessionId|gitCheckout\\(|SandboxTransport|ExecutionSession'\n","sh","",[766],{"type":43,"tag":52,"props":767,"children":768},{"__ignoreMap":764},[769],{"type":43,"tag":770,"props":771,"children":774},"span",{"class":772,"line":773},"line",1,[775,781,787,793],{"type":43,"tag":770,"props":776,"children":778},{"style":777},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[779],{"type":49,"value":780},"rg",{"type":43,"tag":770,"props":782,"children":784},{"style":783},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[785],{"type":49,"value":786}," '",{"type":43,"tag":770,"props":788,"children":790},{"style":789},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[791],{"type":49,"value":792},"SANDBOX_TRANSPORT|transport:|setTransport|enableDefaultSession|createSession|getSession|deleteSession|execStream\\(|startProcess\\(|killProcess\\(|sandbox\\.terminal\\(|sessionId|gitCheckout\\(|SandboxTransport|ExecutionSession",{"type":43,"tag":770,"props":794,"children":795},{"style":783},[796],{"type":49,"value":797},"'\n",{"type":43,"tag":61,"props":799,"children":800},{},[801,803,809,810,816,818,823,825,831,832,838,840,845],{"type":49,"value":802},"Also: string ",{"type":43,"tag":52,"props":804,"children":806},{"className":805},[],[807],{"type":49,"value":808},"exec(",{"type":49,"value":544},{"type":43,"tag":52,"props":811,"children":813},{"className":812},[],[814],{"type":49,"value":815},"cd",{"type":49,"value":817}," then a later ",{"type":43,"tag":52,"props":819,"children":821},{"className":820},[],[822],{"type":49,"value":700},{"type":49,"value":824},", bare ",{"type":43,"tag":52,"props":826,"children":828},{"className":827},[],[829],{"type":49,"value":830},"createCodeContext",{"type":49,"value":366},{"type":43,"tag":52,"props":833,"children":835},{"className":834},[],[836],{"type":49,"value":837},"runCode",{"type":49,"value":839}," on ",{"type":43,"tag":52,"props":841,"children":843},{"className":842},[],[844],{"type":49,"value":654},{"type":49,"value":336},{"type":43,"tag":198,"props":847,"children":849},{"id":848},"clarify-ask-when-needed",[850],{"type":49,"value":851},"Clarify (ask when needed)",{"type":43,"tag":269,"props":853,"children":854},{},[855,868,873,889],{"type":43,"tag":209,"props":856,"children":857},{},[858,860,866],{"type":49,"value":859},"OK to cut production with ",{"type":43,"tag":52,"props":861,"children":863},{"className":862},[],[864],{"type":49,"value":865},"--containers-rollout=immediate",{"type":49,"value":867}," (live processes\u002Fterminals\u002Fstreams may stop)?",{"type":43,"tag":209,"props":869,"children":870},{},[871],{"type":49,"value":872},"Self-deployed bridge? Leave on stable.",{"type":43,"tag":209,"props":874,"children":875},{},[876,878,887],{"type":49,"value":877},"Python interpreter → ",{"type":43,"tag":65,"props":879,"children":880},{},[881],{"type":43,"tag":52,"props":882,"children":884},{"className":883},[],[885],{"type":49,"value":886},"-python",{"type":49,"value":888}," image variant?",{"type":43,"tag":209,"props":890,"children":891},{},[892],{"type":49,"value":893},"Call sites not covered by the map?",{"type":43,"tag":198,"props":895,"children":897},{"id":896},"upgrade",[898],{"type":49,"value":246},{"type":43,"tag":900,"props":901,"children":903},"h3",{"id":902},"package-and-image",[904],{"type":49,"value":905},"Package and image",{"type":43,"tag":759,"props":907,"children":909},{"className":761,"code":908,"language":763,"meta":764,"style":764},"npm install @cloudflare\u002Fsandbox@next\n",[910],{"type":43,"tag":52,"props":911,"children":912},{"__ignoreMap":764},[913],{"type":43,"tag":770,"props":914,"children":915},{"class":772,"line":773},[916,921,926],{"type":43,"tag":770,"props":917,"children":918},{"style":777},[919],{"type":49,"value":920},"npm",{"type":43,"tag":770,"props":922,"children":923},{"style":789},[924],{"type":49,"value":925}," install",{"type":43,"tag":770,"props":927,"children":928},{"style":789},[929],{"type":49,"value":930}," @cloudflare\u002Fsandbox@next\n",{"type":43,"tag":759,"props":932,"children":936},{"className":933,"code":934,"language":935,"meta":764,"style":764},"language-dockerfile shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","FROM cloudflare\u002Fsandbox:next\n# Python: cloudflare\u002Fsandbox:next-python\n","dockerfile",[937],{"type":43,"tag":52,"props":938,"children":939},{"__ignoreMap":764},[940,948],{"type":43,"tag":770,"props":941,"children":942},{"class":772,"line":773},[943],{"type":43,"tag":770,"props":944,"children":945},{},[946],{"type":49,"value":947},"FROM cloudflare\u002Fsandbox:next\n",{"type":43,"tag":770,"props":949,"children":951},{"class":772,"line":950},2,[952],{"type":43,"tag":770,"props":953,"children":954},{},[955],{"type":49,"value":956},"# Python: cloudflare\u002Fsandbox:next-python\n",{"type":43,"tag":61,"props":958,"children":959},{},[960,962,968],{"type":49,"value":961},"Same prerelease tag on Worker and image when not on floating ",{"type":43,"tag":52,"props":963,"children":965},{"className":964},[],[966],{"type":49,"value":967},"next",{"type":49,"value":336},{"type":43,"tag":900,"props":970,"children":972},{"id":971},"code-by-area",[973],{"type":49,"value":974},"Code by area",{"type":43,"tag":61,"props":976,"children":977},{},[978],{"type":49,"value":979},"Apply replacements from the map. For each area, implement from the doc—not from stable habits:",{"type":43,"tag":419,"props":981,"children":982},{},[983,999],{"type":43,"tag":423,"props":984,"children":985},{},[986],{"type":43,"tag":427,"props":987,"children":988},{},[989,994],{"type":43,"tag":431,"props":990,"children":991},{},[992],{"type":49,"value":993},"Area",{"type":43,"tag":431,"props":995,"children":996},{},[997],{"type":49,"value":998},"Doc",{"type":43,"tag":445,"props":1000,"children":1001},{},[1002,1028,1065,1089,1106,1123,1140],{"type":43,"tag":427,"props":1003,"children":1004},{},[1005,1010],{"type":43,"tag":452,"props":1006,"children":1007},{},[1008],{"type":49,"value":1009},"Commands \u002F handles \u002F waits",{"type":43,"tag":452,"props":1011,"children":1012},{},[1013,1020,1021],{"type":43,"tag":78,"props":1014,"children":1017},{"href":1015,"rel":1016},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Fprocesses\u002F",[82],[1018],{"type":49,"value":1019},"Processes",{"type":49,"value":87},{"type":43,"tag":78,"props":1022,"children":1025},{"href":1023,"rel":1024},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Fapi\u002Fprocesses\u002F",[82],[1026],{"type":49,"value":1027},"Processes API",{"type":43,"tag":427,"props":1029,"children":1030},{},[1031,1047],{"type":43,"tag":452,"props":1032,"children":1033},{},[1034,1039,1040,1045],{"type":43,"tag":52,"props":1035,"children":1037},{"className":1036},[],[1038],{"type":49,"value":576},{"type":49,"value":366},{"type":43,"tag":52,"props":1041,"children":1043},{"className":1042},[],[1044],{"type":49,"value":584},{"type":49,"value":1046}," \u002F secrets",{"type":43,"tag":452,"props":1048,"children":1049},{},[1050,1057,1058],{"type":43,"tag":78,"props":1051,"children":1054},{"href":1052,"rel":1053},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Fenvironment\u002F",[82],[1055],{"type":49,"value":1056},"Environment",{"type":49,"value":87},{"type":43,"tag":78,"props":1059,"children":1062},{"href":1060,"rel":1061},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Foutbound-traffic\u002F",[82],[1063],{"type":49,"value":1064},"Outbound traffic",{"type":43,"tag":427,"props":1066,"children":1067},{},[1068,1073],{"type":43,"tag":452,"props":1069,"children":1070},{},[1071],{"type":49,"value":1072},"Drop sessions",{"type":43,"tag":452,"props":1074,"children":1075},{},[1076,1081,1082],{"type":43,"tag":78,"props":1077,"children":1079},{"href":80,"rel":1078},[82],[1080],{"type":49,"value":85},{"type":49,"value":87},{"type":43,"tag":78,"props":1083,"children":1086},{"href":1084,"rel":1085},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Flifecycle\u002F",[82],[1087],{"type":49,"value":1088},"Lifecycle",{"type":43,"tag":427,"props":1090,"children":1091},{},[1092,1097],{"type":43,"tag":452,"props":1093,"children":1094},{},[1095],{"type":49,"value":1096},"Terminals",{"type":43,"tag":452,"props":1098,"children":1099},{},[1100],{"type":43,"tag":78,"props":1101,"children":1104},{"href":1102,"rel":1103},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Fterminals\u002F",[82],[1105],{"type":49,"value":1096},{"type":43,"tag":427,"props":1107,"children":1108},{},[1109,1114],{"type":43,"tag":452,"props":1110,"children":1111},{},[1112],{"type":49,"value":1113},"Interpreter",{"type":43,"tag":452,"props":1115,"children":1116},{},[1117],{"type":43,"tag":78,"props":1118,"children":1121},{"href":1119,"rel":1120},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Finterpreter\u002F",[82],[1122],{"type":49,"value":1113},{"type":43,"tag":427,"props":1124,"children":1125},{},[1126,1131],{"type":43,"tag":452,"props":1127,"children":1128},{},[1129],{"type":49,"value":1130},"Errors",{"type":43,"tag":452,"props":1132,"children":1133},{},[1134],{"type":43,"tag":78,"props":1135,"children":1138},{"href":1136,"rel":1137},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Ferrors\u002F",[82],[1139],{"type":49,"value":1130},{"type":43,"tag":427,"props":1141,"children":1142},{},[1143,1148],{"type":43,"tag":452,"props":1144,"children":1145},{},[1146],{"type":49,"value":1147},"Durable job across requests",{"type":43,"tag":452,"props":1149,"children":1150},{},[1151],{"type":43,"tag":78,"props":1152,"children":1154},{"href":1015,"rel":1153},[82],[1155],{"type":49,"value":1156},"Process execution — lifetime \u002F durability",{"type":43,"tag":61,"props":1158,"children":1159},{},[1160],{"type":43,"tag":65,"props":1161,"children":1162},{},[1163],{"type":49,"value":1164},"Commands (shape):",{"type":43,"tag":759,"props":1166,"children":1170},{"className":1167,"code":1168,"language":1169,"meta":764,"style":764},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F Before (stable)\nconst result = await sandbox.exec(\"npm test\");\n\n\u002F\u002F After (@next)\nconst process = await sandbox.exec([\"\u002Fbin\u002Fbash\", \"-lc\", \"npm test\"]);\nconst result = await process.output({ encoding: \"utf8\" });\n","ts",[1171],{"type":43,"tag":52,"props":1172,"children":1173},{"__ignoreMap":764},[1174,1183,1251,1261,1270,1365],{"type":43,"tag":770,"props":1175,"children":1176},{"class":772,"line":773},[1177],{"type":43,"tag":770,"props":1178,"children":1180},{"style":1179},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1181],{"type":49,"value":1182},"\u002F\u002F Before (stable)\n",{"type":43,"tag":770,"props":1184,"children":1185},{"class":772,"line":950},[1186,1192,1198,1203,1209,1214,1218,1223,1228,1233,1238,1242,1246],{"type":43,"tag":770,"props":1187,"children":1189},{"style":1188},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1190],{"type":49,"value":1191},"const",{"type":43,"tag":770,"props":1193,"children":1195},{"style":1194},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[1196],{"type":49,"value":1197}," result ",{"type":43,"tag":770,"props":1199,"children":1200},{"style":783},[1201],{"type":49,"value":1202},"=",{"type":43,"tag":770,"props":1204,"children":1206},{"style":1205},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[1207],{"type":49,"value":1208}," await",{"type":43,"tag":770,"props":1210,"children":1211},{"style":1194},[1212],{"type":49,"value":1213}," sandbox",{"type":43,"tag":770,"props":1215,"children":1216},{"style":783},[1217],{"type":49,"value":336},{"type":43,"tag":770,"props":1219,"children":1221},{"style":1220},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[1222],{"type":49,"value":700},{"type":43,"tag":770,"props":1224,"children":1225},{"style":1194},[1226],{"type":49,"value":1227},"(",{"type":43,"tag":770,"props":1229,"children":1230},{"style":783},[1231],{"type":49,"value":1232},"\"",{"type":43,"tag":770,"props":1234,"children":1235},{"style":789},[1236],{"type":49,"value":1237},"npm test",{"type":43,"tag":770,"props":1239,"children":1240},{"style":783},[1241],{"type":49,"value":1232},{"type":43,"tag":770,"props":1243,"children":1244},{"style":1194},[1245],{"type":49,"value":59},{"type":43,"tag":770,"props":1247,"children":1248},{"style":783},[1249],{"type":49,"value":1250},";\n",{"type":43,"tag":770,"props":1252,"children":1254},{"class":772,"line":1253},3,[1255],{"type":43,"tag":770,"props":1256,"children":1258},{"emptyLinePlaceholder":1257},true,[1259],{"type":49,"value":1260},"\n",{"type":43,"tag":770,"props":1262,"children":1264},{"class":772,"line":1263},4,[1265],{"type":43,"tag":770,"props":1266,"children":1267},{"style":1179},[1268],{"type":49,"value":1269},"\u002F\u002F After (@next)\n",{"type":43,"tag":770,"props":1271,"children":1273},{"class":772,"line":1272},5,[1274,1278,1283,1287,1291,1295,1299,1303,1308,1312,1317,1321,1326,1331,1336,1340,1344,1348,1352,1356,1361],{"type":43,"tag":770,"props":1275,"children":1276},{"style":1188},[1277],{"type":49,"value":1191},{"type":43,"tag":770,"props":1279,"children":1280},{"style":1194},[1281],{"type":49,"value":1282}," process ",{"type":43,"tag":770,"props":1284,"children":1285},{"style":783},[1286],{"type":49,"value":1202},{"type":43,"tag":770,"props":1288,"children":1289},{"style":1205},[1290],{"type":49,"value":1208},{"type":43,"tag":770,"props":1292,"children":1293},{"style":1194},[1294],{"type":49,"value":1213},{"type":43,"tag":770,"props":1296,"children":1297},{"style":783},[1298],{"type":49,"value":336},{"type":43,"tag":770,"props":1300,"children":1301},{"style":1220},[1302],{"type":49,"value":700},{"type":43,"tag":770,"props":1304,"children":1305},{"style":1194},[1306],{"type":49,"value":1307},"([",{"type":43,"tag":770,"props":1309,"children":1310},{"style":783},[1311],{"type":49,"value":1232},{"type":43,"tag":770,"props":1313,"children":1314},{"style":789},[1315],{"type":49,"value":1316},"\u002Fbin\u002Fbash",{"type":43,"tag":770,"props":1318,"children":1319},{"style":783},[1320],{"type":49,"value":1232},{"type":43,"tag":770,"props":1322,"children":1323},{"style":783},[1324],{"type":49,"value":1325},",",{"type":43,"tag":770,"props":1327,"children":1328},{"style":783},[1329],{"type":49,"value":1330}," \"",{"type":43,"tag":770,"props":1332,"children":1333},{"style":789},[1334],{"type":49,"value":1335},"-lc",{"type":43,"tag":770,"props":1337,"children":1338},{"style":783},[1339],{"type":49,"value":1232},{"type":43,"tag":770,"props":1341,"children":1342},{"style":783},[1343],{"type":49,"value":1325},{"type":43,"tag":770,"props":1345,"children":1346},{"style":783},[1347],{"type":49,"value":1330},{"type":43,"tag":770,"props":1349,"children":1350},{"style":789},[1351],{"type":49,"value":1237},{"type":43,"tag":770,"props":1353,"children":1354},{"style":783},[1355],{"type":49,"value":1232},{"type":43,"tag":770,"props":1357,"children":1358},{"style":1194},[1359],{"type":49,"value":1360},"])",{"type":43,"tag":770,"props":1362,"children":1363},{"style":783},[1364],{"type":49,"value":1250},{"type":43,"tag":770,"props":1366,"children":1368},{"class":772,"line":1367},6,[1369,1373,1377,1381,1385,1390,1394,1398,1402,1407,1413,1418,1422,1427,1431,1436,1440],{"type":43,"tag":770,"props":1370,"children":1371},{"style":1188},[1372],{"type":49,"value":1191},{"type":43,"tag":770,"props":1374,"children":1375},{"style":1194},[1376],{"type":49,"value":1197},{"type":43,"tag":770,"props":1378,"children":1379},{"style":783},[1380],{"type":49,"value":1202},{"type":43,"tag":770,"props":1382,"children":1383},{"style":1205},[1384],{"type":49,"value":1208},{"type":43,"tag":770,"props":1386,"children":1387},{"style":1194},[1388],{"type":49,"value":1389}," process",{"type":43,"tag":770,"props":1391,"children":1392},{"style":783},[1393],{"type":49,"value":336},{"type":43,"tag":770,"props":1395,"children":1396},{"style":1220},[1397],{"type":49,"value":510},{"type":43,"tag":770,"props":1399,"children":1400},{"style":1194},[1401],{"type":49,"value":1227},{"type":43,"tag":770,"props":1403,"children":1404},{"style":783},[1405],{"type":49,"value":1406},"{",{"type":43,"tag":770,"props":1408,"children":1410},{"style":1409},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[1411],{"type":49,"value":1412}," encoding",{"type":43,"tag":770,"props":1414,"children":1415},{"style":783},[1416],{"type":49,"value":1417},":",{"type":43,"tag":770,"props":1419,"children":1420},{"style":783},[1421],{"type":49,"value":1330},{"type":43,"tag":770,"props":1423,"children":1424},{"style":789},[1425],{"type":49,"value":1426},"utf8",{"type":43,"tag":770,"props":1428,"children":1429},{"style":783},[1430],{"type":49,"value":1232},{"type":43,"tag":770,"props":1432,"children":1433},{"style":783},[1434],{"type":49,"value":1435}," }",{"type":43,"tag":770,"props":1437,"children":1438},{"style":1194},[1439],{"type":49,"value":59},{"type":43,"tag":770,"props":1441,"children":1442},{"style":783},[1443],{"type":49,"value":1250},{"type":43,"tag":759,"props":1445,"children":1447},{"className":1167,"code":1446,"language":1169,"meta":764,"style":764},"const server = await sandbox.exec([\"\u002Fbin\u002Fbash\", \"-lc\", \"npm run dev\"], {\n  cwd: \"\u002Fworkspace\u002Fapp\",\n});\nawait server.waitForPort(3000, { timeout: 60_000 });\nawait server.kill(); \u002F\u002F numeric; default 15\n",[1448],{"type":43,"tag":52,"props":1449,"children":1450},{"__ignoreMap":764},[1451,1546,1576,1592,1659],{"type":43,"tag":770,"props":1452,"children":1453},{"class":772,"line":773},[1454,1458,1463,1467,1471,1475,1479,1483,1487,1491,1495,1499,1503,1507,1511,1515,1519,1523,1528,1532,1537,1541],{"type":43,"tag":770,"props":1455,"children":1456},{"style":1188},[1457],{"type":49,"value":1191},{"type":43,"tag":770,"props":1459,"children":1460},{"style":1194},[1461],{"type":49,"value":1462}," server ",{"type":43,"tag":770,"props":1464,"children":1465},{"style":783},[1466],{"type":49,"value":1202},{"type":43,"tag":770,"props":1468,"children":1469},{"style":1205},[1470],{"type":49,"value":1208},{"type":43,"tag":770,"props":1472,"children":1473},{"style":1194},[1474],{"type":49,"value":1213},{"type":43,"tag":770,"props":1476,"children":1477},{"style":783},[1478],{"type":49,"value":336},{"type":43,"tag":770,"props":1480,"children":1481},{"style":1220},[1482],{"type":49,"value":700},{"type":43,"tag":770,"props":1484,"children":1485},{"style":1194},[1486],{"type":49,"value":1307},{"type":43,"tag":770,"props":1488,"children":1489},{"style":783},[1490],{"type":49,"value":1232},{"type":43,"tag":770,"props":1492,"children":1493},{"style":789},[1494],{"type":49,"value":1316},{"type":43,"tag":770,"props":1496,"children":1497},{"style":783},[1498],{"type":49,"value":1232},{"type":43,"tag":770,"props":1500,"children":1501},{"style":783},[1502],{"type":49,"value":1325},{"type":43,"tag":770,"props":1504,"children":1505},{"style":783},[1506],{"type":49,"value":1330},{"type":43,"tag":770,"props":1508,"children":1509},{"style":789},[1510],{"type":49,"value":1335},{"type":43,"tag":770,"props":1512,"children":1513},{"style":783},[1514],{"type":49,"value":1232},{"type":43,"tag":770,"props":1516,"children":1517},{"style":783},[1518],{"type":49,"value":1325},{"type":43,"tag":770,"props":1520,"children":1521},{"style":783},[1522],{"type":49,"value":1330},{"type":43,"tag":770,"props":1524,"children":1525},{"style":789},[1526],{"type":49,"value":1527},"npm run dev",{"type":43,"tag":770,"props":1529,"children":1530},{"style":783},[1531],{"type":49,"value":1232},{"type":43,"tag":770,"props":1533,"children":1534},{"style":1194},[1535],{"type":49,"value":1536},"]",{"type":43,"tag":770,"props":1538,"children":1539},{"style":783},[1540],{"type":49,"value":1325},{"type":43,"tag":770,"props":1542,"children":1543},{"style":783},[1544],{"type":49,"value":1545}," {\n",{"type":43,"tag":770,"props":1547,"children":1548},{"class":772,"line":950},[1549,1554,1558,1562,1567,1571],{"type":43,"tag":770,"props":1550,"children":1551},{"style":1409},[1552],{"type":49,"value":1553},"  cwd",{"type":43,"tag":770,"props":1555,"children":1556},{"style":783},[1557],{"type":49,"value":1417},{"type":43,"tag":770,"props":1559,"children":1560},{"style":783},[1561],{"type":49,"value":1330},{"type":43,"tag":770,"props":1563,"children":1564},{"style":789},[1565],{"type":49,"value":1566},"\u002Fworkspace\u002Fapp",{"type":43,"tag":770,"props":1568,"children":1569},{"style":783},[1570],{"type":49,"value":1232},{"type":43,"tag":770,"props":1572,"children":1573},{"style":783},[1574],{"type":49,"value":1575},",\n",{"type":43,"tag":770,"props":1577,"children":1578},{"class":772,"line":1253},[1579,1584,1588],{"type":43,"tag":770,"props":1580,"children":1581},{"style":783},[1582],{"type":49,"value":1583},"}",{"type":43,"tag":770,"props":1585,"children":1586},{"style":1194},[1587],{"type":49,"value":59},{"type":43,"tag":770,"props":1589,"children":1590},{"style":783},[1591],{"type":49,"value":1250},{"type":43,"tag":770,"props":1593,"children":1594},{"class":772,"line":1263},[1595,1600,1605,1609,1614,1618,1624,1628,1633,1638,1642,1647,1651,1655],{"type":43,"tag":770,"props":1596,"children":1597},{"style":1205},[1598],{"type":49,"value":1599},"await",{"type":43,"tag":770,"props":1601,"children":1602},{"style":1194},[1603],{"type":49,"value":1604}," server",{"type":43,"tag":770,"props":1606,"children":1607},{"style":783},[1608],{"type":49,"value":336},{"type":43,"tag":770,"props":1610,"children":1611},{"style":1220},[1612],{"type":49,"value":1613},"waitForPort",{"type":43,"tag":770,"props":1615,"children":1616},{"style":1194},[1617],{"type":49,"value":1227},{"type":43,"tag":770,"props":1619,"children":1621},{"style":1620},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1622],{"type":49,"value":1623},"3000",{"type":43,"tag":770,"props":1625,"children":1626},{"style":783},[1627],{"type":49,"value":1325},{"type":43,"tag":770,"props":1629,"children":1630},{"style":783},[1631],{"type":49,"value":1632}," {",{"type":43,"tag":770,"props":1634,"children":1635},{"style":1409},[1636],{"type":49,"value":1637}," timeout",{"type":43,"tag":770,"props":1639,"children":1640},{"style":783},[1641],{"type":49,"value":1417},{"type":43,"tag":770,"props":1643,"children":1644},{"style":1620},[1645],{"type":49,"value":1646}," 60_000",{"type":43,"tag":770,"props":1648,"children":1649},{"style":783},[1650],{"type":49,"value":1435},{"type":43,"tag":770,"props":1652,"children":1653},{"style":1194},[1654],{"type":49,"value":59},{"type":43,"tag":770,"props":1656,"children":1657},{"style":783},[1658],{"type":49,"value":1250},{"type":43,"tag":770,"props":1660,"children":1661},{"class":772,"line":1272},[1662,1666,1670,1674,1678,1683,1688],{"type":43,"tag":770,"props":1663,"children":1664},{"style":1205},[1665],{"type":49,"value":1599},{"type":43,"tag":770,"props":1667,"children":1668},{"style":1194},[1669],{"type":49,"value":1604},{"type":43,"tag":770,"props":1671,"children":1672},{"style":783},[1673],{"type":49,"value":336},{"type":43,"tag":770,"props":1675,"children":1676},{"style":1220},[1677],{"type":49,"value":557},{"type":43,"tag":770,"props":1679,"children":1680},{"style":1194},[1681],{"type":49,"value":1682},"()",{"type":43,"tag":770,"props":1684,"children":1685},{"style":783},[1686],{"type":49,"value":1687},";",{"type":43,"tag":770,"props":1689,"children":1690},{"style":1179},[1691],{"type":49,"value":1692}," \u002F\u002F numeric; default 15\n",{"type":43,"tag":61,"props":1694,"children":1695},{},[1696],{"type":43,"tag":65,"props":1697,"children":1698},{},[1699],{"type":49,"value":1700},"Terminals (shape):",{"type":43,"tag":759,"props":1702,"children":1704},{"className":1167,"code":1703,"language":1169,"meta":764,"style":764},"const terminal = await sandbox.createTerminal({ command: [\"bash\"], cwd: \"\u002Fworkspace\" });\nconst t = await sandbox.getTerminal(terminal.id);\nif (!t) return new Response(\"terminal gone\", { status: 410 });\nreturn t.connect(request, { cursor, cols, rows });\n",[1705],{"type":43,"tag":52,"props":1706,"children":1707},{"__ignoreMap":764},[1708,1817,1868,1956],{"type":43,"tag":770,"props":1709,"children":1710},{"class":772,"line":773},[1711,1715,1720,1724,1728,1732,1736,1740,1744,1748,1753,1757,1762,1766,1771,1775,1779,1783,1788,1792,1796,1801,1805,1809,1813],{"type":43,"tag":770,"props":1712,"children":1713},{"style":1188},[1714],{"type":49,"value":1191},{"type":43,"tag":770,"props":1716,"children":1717},{"style":1194},[1718],{"type":49,"value":1719}," terminal ",{"type":43,"tag":770,"props":1721,"children":1722},{"style":783},[1723],{"type":49,"value":1202},{"type":43,"tag":770,"props":1725,"children":1726},{"style":1205},[1727],{"type":49,"value":1208},{"type":43,"tag":770,"props":1729,"children":1730},{"style":1194},[1731],{"type":49,"value":1213},{"type":43,"tag":770,"props":1733,"children":1734},{"style":783},[1735],{"type":49,"value":336},{"type":43,"tag":770,"props":1737,"children":1738},{"style":1220},[1739],{"type":49,"value":609},{"type":43,"tag":770,"props":1741,"children":1742},{"style":1194},[1743],{"type":49,"value":1227},{"type":43,"tag":770,"props":1745,"children":1746},{"style":783},[1747],{"type":49,"value":1406},{"type":43,"tag":770,"props":1749,"children":1750},{"style":1409},[1751],{"type":49,"value":1752}," command",{"type":43,"tag":770,"props":1754,"children":1755},{"style":783},[1756],{"type":49,"value":1417},{"type":43,"tag":770,"props":1758,"children":1759},{"style":1194},[1760],{"type":49,"value":1761}," [",{"type":43,"tag":770,"props":1763,"children":1764},{"style":783},[1765],{"type":49,"value":1232},{"type":43,"tag":770,"props":1767,"children":1768},{"style":789},[1769],{"type":49,"value":1770},"bash",{"type":43,"tag":770,"props":1772,"children":1773},{"style":783},[1774],{"type":49,"value":1232},{"type":43,"tag":770,"props":1776,"children":1777},{"style":1194},[1778],{"type":49,"value":1536},{"type":43,"tag":770,"props":1780,"children":1781},{"style":783},[1782],{"type":49,"value":1325},{"type":43,"tag":770,"props":1784,"children":1785},{"style":1409},[1786],{"type":49,"value":1787}," cwd",{"type":43,"tag":770,"props":1789,"children":1790},{"style":783},[1791],{"type":49,"value":1417},{"type":43,"tag":770,"props":1793,"children":1794},{"style":783},[1795],{"type":49,"value":1330},{"type":43,"tag":770,"props":1797,"children":1798},{"style":789},[1799],{"type":49,"value":1800},"\u002Fworkspace",{"type":43,"tag":770,"props":1802,"children":1803},{"style":783},[1804],{"type":49,"value":1232},{"type":43,"tag":770,"props":1806,"children":1807},{"style":783},[1808],{"type":49,"value":1435},{"type":43,"tag":770,"props":1810,"children":1811},{"style":1194},[1812],{"type":49,"value":59},{"type":43,"tag":770,"props":1814,"children":1815},{"style":783},[1816],{"type":49,"value":1250},{"type":43,"tag":770,"props":1818,"children":1819},{"class":772,"line":950},[1820,1824,1829,1833,1837,1841,1845,1850,1855,1859,1864],{"type":43,"tag":770,"props":1821,"children":1822},{"style":1188},[1823],{"type":49,"value":1191},{"type":43,"tag":770,"props":1825,"children":1826},{"style":1194},[1827],{"type":49,"value":1828}," t ",{"type":43,"tag":770,"props":1830,"children":1831},{"style":783},[1832],{"type":49,"value":1202},{"type":43,"tag":770,"props":1834,"children":1835},{"style":1205},[1836],{"type":49,"value":1208},{"type":43,"tag":770,"props":1838,"children":1839},{"style":1194},[1840],{"type":49,"value":1213},{"type":43,"tag":770,"props":1842,"children":1843},{"style":783},[1844],{"type":49,"value":336},{"type":43,"tag":770,"props":1846,"children":1847},{"style":1220},[1848],{"type":49,"value":1849},"getTerminal",{"type":43,"tag":770,"props":1851,"children":1852},{"style":1194},[1853],{"type":49,"value":1854},"(terminal",{"type":43,"tag":770,"props":1856,"children":1857},{"style":783},[1858],{"type":49,"value":336},{"type":43,"tag":770,"props":1860,"children":1861},{"style":1194},[1862],{"type":49,"value":1863},"id)",{"type":43,"tag":770,"props":1865,"children":1866},{"style":783},[1867],{"type":49,"value":1250},{"type":43,"tag":770,"props":1869,"children":1870},{"class":772,"line":1253},[1871,1876,1880,1885,1890,1895,1900,1905,1909,1913,1918,1922,1926,1930,1935,1939,1944,1948,1952],{"type":43,"tag":770,"props":1872,"children":1873},{"style":1205},[1874],{"type":49,"value":1875},"if",{"type":43,"tag":770,"props":1877,"children":1878},{"style":1194},[1879],{"type":49,"value":111},{"type":43,"tag":770,"props":1881,"children":1882},{"style":783},[1883],{"type":49,"value":1884},"!",{"type":43,"tag":770,"props":1886,"children":1887},{"style":1194},[1888],{"type":49,"value":1889},"t) ",{"type":43,"tag":770,"props":1891,"children":1892},{"style":1205},[1893],{"type":49,"value":1894},"return",{"type":43,"tag":770,"props":1896,"children":1897},{"style":783},[1898],{"type":49,"value":1899}," new",{"type":43,"tag":770,"props":1901,"children":1902},{"style":1220},[1903],{"type":49,"value":1904}," Response",{"type":43,"tag":770,"props":1906,"children":1907},{"style":1194},[1908],{"type":49,"value":1227},{"type":43,"tag":770,"props":1910,"children":1911},{"style":783},[1912],{"type":49,"value":1232},{"type":43,"tag":770,"props":1914,"children":1915},{"style":789},[1916],{"type":49,"value":1917},"terminal gone",{"type":43,"tag":770,"props":1919,"children":1920},{"style":783},[1921],{"type":49,"value":1232},{"type":43,"tag":770,"props":1923,"children":1924},{"style":783},[1925],{"type":49,"value":1325},{"type":43,"tag":770,"props":1927,"children":1928},{"style":783},[1929],{"type":49,"value":1632},{"type":43,"tag":770,"props":1931,"children":1932},{"style":1409},[1933],{"type":49,"value":1934}," status",{"type":43,"tag":770,"props":1936,"children":1937},{"style":783},[1938],{"type":49,"value":1417},{"type":43,"tag":770,"props":1940,"children":1941},{"style":1620},[1942],{"type":49,"value":1943}," 410",{"type":43,"tag":770,"props":1945,"children":1946},{"style":783},[1947],{"type":49,"value":1435},{"type":43,"tag":770,"props":1949,"children":1950},{"style":1194},[1951],{"type":49,"value":59},{"type":43,"tag":770,"props":1953,"children":1954},{"style":783},[1955],{"type":49,"value":1250},{"type":43,"tag":770,"props":1957,"children":1958},{"class":772,"line":1263},[1959,1963,1968,1972,1977,1982,1986,1990,1995,1999,2004,2008,2013,2017,2021],{"type":43,"tag":770,"props":1960,"children":1961},{"style":1205},[1962],{"type":49,"value":1894},{"type":43,"tag":770,"props":1964,"children":1965},{"style":1194},[1966],{"type":49,"value":1967}," t",{"type":43,"tag":770,"props":1969,"children":1970},{"style":783},[1971],{"type":49,"value":336},{"type":43,"tag":770,"props":1973,"children":1974},{"style":1220},[1975],{"type":49,"value":1976},"connect",{"type":43,"tag":770,"props":1978,"children":1979},{"style":1194},[1980],{"type":49,"value":1981},"(request",{"type":43,"tag":770,"props":1983,"children":1984},{"style":783},[1985],{"type":49,"value":1325},{"type":43,"tag":770,"props":1987,"children":1988},{"style":783},[1989],{"type":49,"value":1632},{"type":43,"tag":770,"props":1991,"children":1992},{"style":1194},[1993],{"type":49,"value":1994}," cursor",{"type":43,"tag":770,"props":1996,"children":1997},{"style":783},[1998],{"type":49,"value":1325},{"type":43,"tag":770,"props":2000,"children":2001},{"style":1194},[2002],{"type":49,"value":2003}," cols",{"type":43,"tag":770,"props":2005,"children":2006},{"style":783},[2007],{"type":49,"value":1325},{"type":43,"tag":770,"props":2009,"children":2010},{"style":1194},[2011],{"type":49,"value":2012}," rows ",{"type":43,"tag":770,"props":2014,"children":2015},{"style":783},[2016],{"type":49,"value":1583},{"type":43,"tag":770,"props":2018,"children":2019},{"style":1194},[2020],{"type":49,"value":59},{"type":43,"tag":770,"props":2022,"children":2023},{"style":783},[2024],{"type":49,"value":1250},{"type":43,"tag":61,"props":2026,"children":2027},{},[2028],{"type":43,"tag":65,"props":2029,"children":2030},{},[2031],{"type":49,"value":2032},"Interpreter (shape):",{"type":43,"tag":759,"props":2034,"children":2036},{"className":1167,"code":2035,"language":1169,"meta":764,"style":764},"import { Sandbox as BaseSandbox } from \"@cloudflare\u002Fsandbox\";\nimport { withInterpreter } from \"@cloudflare\u002Fsandbox\u002Finterpreter\";\n\nexport class Sandbox extends BaseSandbox\u003CEnv> {\n  interpreter = withInterpreter(this);\n}\n",[2037],{"type":43,"tag":52,"props":2038,"children":2039},{"__ignoreMap":764},[2040,2093,2134,2141,2186,2220],{"type":43,"tag":770,"props":2041,"children":2042},{"class":772,"line":773},[2043,2048,2052,2057,2062,2067,2071,2076,2080,2085,2089],{"type":43,"tag":770,"props":2044,"children":2045},{"style":1205},[2046],{"type":49,"value":2047},"import",{"type":43,"tag":770,"props":2049,"children":2050},{"style":783},[2051],{"type":49,"value":1632},{"type":43,"tag":770,"props":2053,"children":2054},{"style":1194},[2055],{"type":49,"value":2056}," Sandbox",{"type":43,"tag":770,"props":2058,"children":2059},{"style":1205},[2060],{"type":49,"value":2061}," as",{"type":43,"tag":770,"props":2063,"children":2064},{"style":1194},[2065],{"type":49,"value":2066}," BaseSandbox",{"type":43,"tag":770,"props":2068,"children":2069},{"style":783},[2070],{"type":49,"value":1435},{"type":43,"tag":770,"props":2072,"children":2073},{"style":1205},[2074],{"type":49,"value":2075}," from",{"type":43,"tag":770,"props":2077,"children":2078},{"style":783},[2079],{"type":49,"value":1330},{"type":43,"tag":770,"props":2081,"children":2082},{"style":789},[2083],{"type":49,"value":2084},"@cloudflare\u002Fsandbox",{"type":43,"tag":770,"props":2086,"children":2087},{"style":783},[2088],{"type":49,"value":1232},{"type":43,"tag":770,"props":2090,"children":2091},{"style":783},[2092],{"type":49,"value":1250},{"type":43,"tag":770,"props":2094,"children":2095},{"class":772,"line":950},[2096,2100,2104,2109,2113,2117,2121,2126,2130],{"type":43,"tag":770,"props":2097,"children":2098},{"style":1205},[2099],{"type":49,"value":2047},{"type":43,"tag":770,"props":2101,"children":2102},{"style":783},[2103],{"type":49,"value":1632},{"type":43,"tag":770,"props":2105,"children":2106},{"style":1194},[2107],{"type":49,"value":2108}," withInterpreter",{"type":43,"tag":770,"props":2110,"children":2111},{"style":783},[2112],{"type":49,"value":1435},{"type":43,"tag":770,"props":2114,"children":2115},{"style":1205},[2116],{"type":49,"value":2075},{"type":43,"tag":770,"props":2118,"children":2119},{"style":783},[2120],{"type":49,"value":1330},{"type":43,"tag":770,"props":2122,"children":2123},{"style":789},[2124],{"type":49,"value":2125},"@cloudflare\u002Fsandbox\u002Finterpreter",{"type":43,"tag":770,"props":2127,"children":2128},{"style":783},[2129],{"type":49,"value":1232},{"type":43,"tag":770,"props":2131,"children":2132},{"style":783},[2133],{"type":49,"value":1250},{"type":43,"tag":770,"props":2135,"children":2136},{"class":772,"line":1253},[2137],{"type":43,"tag":770,"props":2138,"children":2139},{"emptyLinePlaceholder":1257},[2140],{"type":49,"value":1260},{"type":43,"tag":770,"props":2142,"children":2143},{"class":772,"line":1263},[2144,2149,2154,2158,2163,2167,2172,2177,2182],{"type":43,"tag":770,"props":2145,"children":2146},{"style":1205},[2147],{"type":49,"value":2148},"export",{"type":43,"tag":770,"props":2150,"children":2151},{"style":1188},[2152],{"type":49,"value":2153}," class",{"type":43,"tag":770,"props":2155,"children":2156},{"style":777},[2157],{"type":49,"value":2056},{"type":43,"tag":770,"props":2159,"children":2160},{"style":1188},[2161],{"type":49,"value":2162}," extends",{"type":43,"tag":770,"props":2164,"children":2165},{"style":777},[2166],{"type":49,"value":2066},{"type":43,"tag":770,"props":2168,"children":2169},{"style":783},[2170],{"type":49,"value":2171},"\u003C",{"type":43,"tag":770,"props":2173,"children":2174},{"style":777},[2175],{"type":49,"value":2176},"Env",{"type":43,"tag":770,"props":2178,"children":2179},{"style":783},[2180],{"type":49,"value":2181},">",{"type":43,"tag":770,"props":2183,"children":2184},{"style":783},[2185],{"type":49,"value":1545},{"type":43,"tag":770,"props":2187,"children":2188},{"class":772,"line":1272},[2189,2194,2199,2203,2207,2212,2216],{"type":43,"tag":770,"props":2190,"children":2191},{"style":1409},[2192],{"type":49,"value":2193},"  interpreter",{"type":43,"tag":770,"props":2195,"children":2196},{"style":783},[2197],{"type":49,"value":2198}," =",{"type":43,"tag":770,"props":2200,"children":2201},{"style":1409},[2202],{"type":49,"value":2108},{"type":43,"tag":770,"props":2204,"children":2205},{"style":1194},[2206],{"type":49,"value":1227},{"type":43,"tag":770,"props":2208,"children":2209},{"style":783},[2210],{"type":49,"value":2211},"this",{"type":43,"tag":770,"props":2213,"children":2214},{"style":1194},[2215],{"type":49,"value":59},{"type":43,"tag":770,"props":2217,"children":2218},{"style":783},[2219],{"type":49,"value":1250},{"type":43,"tag":770,"props":2221,"children":2222},{"class":772,"line":1367},[2223],{"type":43,"tag":770,"props":2224,"children":2225},{"style":783},[2226],{"type":49,"value":2227},"}\n",{"type":43,"tag":61,"props":2229,"children":2230},{},[2231],{"type":43,"tag":65,"props":2232,"children":2233},{},[2234],{"type":49,"value":2235},"Git (shape):",{"type":43,"tag":759,"props":2237,"children":2239},{"className":1167,"code":2238,"language":1169,"meta":764,"style":764},"const clone = await sandbox.exec(\n  [\"git\", \"clone\", \"--depth\", \"1\", \"--\", repoUrl, \"\u002Fworkspace\u002Frepo\"],\n  { cwd: \"\u002Fworkspace\" },\n);\nconst result = await clone.output({ encoding: \"utf8\" });\n",[2240],{"type":43,"tag":52,"props":2241,"children":2242},{"__ignoreMap":764},[2243,2280,2402,2435,2446],{"type":43,"tag":770,"props":2244,"children":2245},{"class":772,"line":773},[2246,2250,2255,2259,2263,2267,2271,2275],{"type":43,"tag":770,"props":2247,"children":2248},{"style":1188},[2249],{"type":49,"value":1191},{"type":43,"tag":770,"props":2251,"children":2252},{"style":1194},[2253],{"type":49,"value":2254}," clone ",{"type":43,"tag":770,"props":2256,"children":2257},{"style":783},[2258],{"type":49,"value":1202},{"type":43,"tag":770,"props":2260,"children":2261},{"style":1205},[2262],{"type":49,"value":1208},{"type":43,"tag":770,"props":2264,"children":2265},{"style":1194},[2266],{"type":49,"value":1213},{"type":43,"tag":770,"props":2268,"children":2269},{"style":783},[2270],{"type":49,"value":336},{"type":43,"tag":770,"props":2272,"children":2273},{"style":1220},[2274],{"type":49,"value":700},{"type":43,"tag":770,"props":2276,"children":2277},{"style":1194},[2278],{"type":49,"value":2279},"(\n",{"type":43,"tag":770,"props":2281,"children":2282},{"class":772,"line":950},[2283,2288,2292,2296,2300,2304,2308,2313,2317,2321,2325,2330,2334,2338,2342,2347,2351,2355,2359,2364,2368,2372,2377,2381,2385,2390,2394,2398],{"type":43,"tag":770,"props":2284,"children":2285},{"style":1194},[2286],{"type":49,"value":2287},"  [",{"type":43,"tag":770,"props":2289,"children":2290},{"style":783},[2291],{"type":49,"value":1232},{"type":43,"tag":770,"props":2293,"children":2294},{"style":789},[2295],{"type":49,"value":692},{"type":43,"tag":770,"props":2297,"children":2298},{"style":783},[2299],{"type":49,"value":1232},{"type":43,"tag":770,"props":2301,"children":2302},{"style":783},[2303],{"type":49,"value":1325},{"type":43,"tag":770,"props":2305,"children":2306},{"style":783},[2307],{"type":49,"value":1330},{"type":43,"tag":770,"props":2309,"children":2310},{"style":789},[2311],{"type":49,"value":2312},"clone",{"type":43,"tag":770,"props":2314,"children":2315},{"style":783},[2316],{"type":49,"value":1232},{"type":43,"tag":770,"props":2318,"children":2319},{"style":783},[2320],{"type":49,"value":1325},{"type":43,"tag":770,"props":2322,"children":2323},{"style":783},[2324],{"type":49,"value":1330},{"type":43,"tag":770,"props":2326,"children":2327},{"style":789},[2328],{"type":49,"value":2329},"--depth",{"type":43,"tag":770,"props":2331,"children":2332},{"style":783},[2333],{"type":49,"value":1232},{"type":43,"tag":770,"props":2335,"children":2336},{"style":783},[2337],{"type":49,"value":1325},{"type":43,"tag":770,"props":2339,"children":2340},{"style":783},[2341],{"type":49,"value":1330},{"type":43,"tag":770,"props":2343,"children":2344},{"style":789},[2345],{"type":49,"value":2346},"1",{"type":43,"tag":770,"props":2348,"children":2349},{"style":783},[2350],{"type":49,"value":1232},{"type":43,"tag":770,"props":2352,"children":2353},{"style":783},[2354],{"type":49,"value":1325},{"type":43,"tag":770,"props":2356,"children":2357},{"style":783},[2358],{"type":49,"value":1330},{"type":43,"tag":770,"props":2360,"children":2361},{"style":789},[2362],{"type":49,"value":2363},"--",{"type":43,"tag":770,"props":2365,"children":2366},{"style":783},[2367],{"type":49,"value":1232},{"type":43,"tag":770,"props":2369,"children":2370},{"style":783},[2371],{"type":49,"value":1325},{"type":43,"tag":770,"props":2373,"children":2374},{"style":1194},[2375],{"type":49,"value":2376}," repoUrl",{"type":43,"tag":770,"props":2378,"children":2379},{"style":783},[2380],{"type":49,"value":1325},{"type":43,"tag":770,"props":2382,"children":2383},{"style":783},[2384],{"type":49,"value":1330},{"type":43,"tag":770,"props":2386,"children":2387},{"style":789},[2388],{"type":49,"value":2389},"\u002Fworkspace\u002Frepo",{"type":43,"tag":770,"props":2391,"children":2392},{"style":783},[2393],{"type":49,"value":1232},{"type":43,"tag":770,"props":2395,"children":2396},{"style":1194},[2397],{"type":49,"value":1536},{"type":43,"tag":770,"props":2399,"children":2400},{"style":783},[2401],{"type":49,"value":1575},{"type":43,"tag":770,"props":2403,"children":2404},{"class":772,"line":1253},[2405,2410,2414,2418,2422,2426,2430],{"type":43,"tag":770,"props":2406,"children":2407},{"style":783},[2408],{"type":49,"value":2409},"  {",{"type":43,"tag":770,"props":2411,"children":2412},{"style":1409},[2413],{"type":49,"value":1787},{"type":43,"tag":770,"props":2415,"children":2416},{"style":783},[2417],{"type":49,"value":1417},{"type":43,"tag":770,"props":2419,"children":2420},{"style":783},[2421],{"type":49,"value":1330},{"type":43,"tag":770,"props":2423,"children":2424},{"style":789},[2425],{"type":49,"value":1800},{"type":43,"tag":770,"props":2427,"children":2428},{"style":783},[2429],{"type":49,"value":1232},{"type":43,"tag":770,"props":2431,"children":2432},{"style":783},[2433],{"type":49,"value":2434}," },\n",{"type":43,"tag":770,"props":2436,"children":2437},{"class":772,"line":1263},[2438,2442],{"type":43,"tag":770,"props":2439,"children":2440},{"style":1194},[2441],{"type":49,"value":59},{"type":43,"tag":770,"props":2443,"children":2444},{"style":783},[2445],{"type":49,"value":1250},{"type":43,"tag":770,"props":2447,"children":2448},{"class":772,"line":1272},[2449,2453,2457,2461,2465,2470,2474,2478,2482,2486,2490,2494,2498,2502,2506,2510,2514],{"type":43,"tag":770,"props":2450,"children":2451},{"style":1188},[2452],{"type":49,"value":1191},{"type":43,"tag":770,"props":2454,"children":2455},{"style":1194},[2456],{"type":49,"value":1197},{"type":43,"tag":770,"props":2458,"children":2459},{"style":783},[2460],{"type":49,"value":1202},{"type":43,"tag":770,"props":2462,"children":2463},{"style":1205},[2464],{"type":49,"value":1208},{"type":43,"tag":770,"props":2466,"children":2467},{"style":1194},[2468],{"type":49,"value":2469}," clone",{"type":43,"tag":770,"props":2471,"children":2472},{"style":783},[2473],{"type":49,"value":336},{"type":43,"tag":770,"props":2475,"children":2476},{"style":1220},[2477],{"type":49,"value":510},{"type":43,"tag":770,"props":2479,"children":2480},{"style":1194},[2481],{"type":49,"value":1227},{"type":43,"tag":770,"props":2483,"children":2484},{"style":783},[2485],{"type":49,"value":1406},{"type":43,"tag":770,"props":2487,"children":2488},{"style":1409},[2489],{"type":49,"value":1412},{"type":43,"tag":770,"props":2491,"children":2492},{"style":783},[2493],{"type":49,"value":1417},{"type":43,"tag":770,"props":2495,"children":2496},{"style":783},[2497],{"type":49,"value":1330},{"type":43,"tag":770,"props":2499,"children":2500},{"style":789},[2501],{"type":49,"value":1426},{"type":43,"tag":770,"props":2503,"children":2504},{"style":783},[2505],{"type":49,"value":1232},{"type":43,"tag":770,"props":2507,"children":2508},{"style":783},[2509],{"type":49,"value":1435},{"type":43,"tag":770,"props":2511,"children":2512},{"style":1194},[2513],{"type":49,"value":59},{"type":43,"tag":770,"props":2515,"children":2516},{"style":783},[2517],{"type":49,"value":1250},{"type":43,"tag":61,"props":2519,"children":2520},{},[2521,2523,2528],{"type":49,"value":2522},"Delete transport settings entirely. Remove session APIs. Isolate users with ",{"type":43,"tag":65,"props":2524,"children":2525},{},[2526],{"type":49,"value":2527},"separate sandbox IDs",{"type":49,"value":336},{"type":43,"tag":900,"props":2530,"children":2532},{"id":2531},"deploy-cutover",[2533],{"type":49,"value":2534},"Deploy cutover",{"type":43,"tag":61,"props":2536,"children":2537},{},[2538,2540,2545],{"type":49,"value":2539},"Staging\u002Fbranch first. Production is ",{"type":43,"tag":65,"props":2541,"children":2542},{},[2543],{"type":49,"value":2544},"one",{"type":49,"value":2546}," deploy of matching Worker + image:",{"type":43,"tag":759,"props":2548,"children":2550},{"className":761,"code":2549,"language":763,"meta":764,"style":764},"npx wrangler deploy --containers-rollout=immediate\n",[2551],{"type":43,"tag":52,"props":2552,"children":2553},{"__ignoreMap":764},[2554],{"type":43,"tag":770,"props":2555,"children":2556},{"class":772,"line":773},[2557,2562,2567,2572],{"type":43,"tag":770,"props":2558,"children":2559},{"style":777},[2560],{"type":49,"value":2561},"npx",{"type":43,"tag":770,"props":2563,"children":2564},{"style":789},[2565],{"type":49,"value":2566}," wrangler",{"type":43,"tag":770,"props":2568,"children":2569},{"style":789},[2570],{"type":49,"value":2571}," deploy",{"type":43,"tag":770,"props":2573,"children":2574},{"style":789},[2575],{"type":49,"value":2576}," --containers-rollout=immediate\n",{"type":43,"tag":61,"props":2578,"children":2579},{},[2580,2582,2588,2590,2596,2598,2603,2605,2610,2611],{"type":49,"value":2581},"Leave ",{"type":43,"tag":52,"props":2583,"children":2585},{"className":2584},[],[2586],{"type":49,"value":2587},"rollout_active_grace_period",{"type":49,"value":2589}," at default ",{"type":43,"tag":52,"props":2591,"children":2593},{"className":2592},[],[2594],{"type":49,"value":2595},"0",{"type":49,"value":2597}," (or set ",{"type":43,"tag":52,"props":2599,"children":2601},{"className":2600},[],[2602],{"type":49,"value":2595},{"type":49,"value":2604}," if raised). After cutover, pre-deploy process\u002Fterminal IDs are invalid. Details: ",{"type":43,"tag":78,"props":2606,"children":2608},{"href":80,"rel":2607},[82],[2609],{"type":49,"value":85},{"type":49,"value":87},{"type":43,"tag":78,"props":2612,"children":2615},{"href":2613,"rel":2614},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcontainers\u002Fplatform-details\u002Frollouts\u002F",[82],[2616],{"type":49,"value":2617},"Container rollouts",{"type":43,"tag":198,"props":2619,"children":2621},{"id":2620},"validate",[2622],{"type":49,"value":256},{"type":43,"tag":205,"props":2624,"children":2625},{},[2626,2638,2648,2665,2670,2675,2680,2685],{"type":43,"tag":209,"props":2627,"children":2628},{},[2629,2631,2636],{"type":49,"value":2630},"Lockfile + Dockerfile on the same ",{"type":43,"tag":52,"props":2632,"children":2634},{"className":2633},[],[2635],{"type":49,"value":57},{"type":49,"value":2637}," line",{"type":43,"tag":209,"props":2639,"children":2640},{},[2641,2643],{"type":49,"value":2642},"Typecheck against ",{"type":43,"tag":52,"props":2644,"children":2646},{"className":2645},[],[2647],{"type":49,"value":57},{"type":43,"tag":209,"props":2649,"children":2650},{},[2651,2653,2658,2659],{"type":49,"value":2652},"Smoke argv ",{"type":43,"tag":52,"props":2654,"children":2656},{"className":2655},[],[2657],{"type":49,"value":700},{"type":49,"value":611},{"type":43,"tag":52,"props":2660,"children":2662},{"className":2661},[],[2663],{"type":49,"value":2664},"output({ encoding: \"utf8\" })",{"type":43,"tag":209,"props":2666,"children":2667},{},[2668],{"type":49,"value":2669},"Smoke long process \u002F terminal \u002F interpreter if used",{"type":43,"tag":209,"props":2671,"children":2672},{},[2673],{"type":49,"value":2674},"Errors distinguished: unavailable \u002F interrupted-RPC \u002F stale \u002F local wait",{"type":43,"tag":209,"props":2676,"children":2677},{},[2678],{"type":49,"value":2679},"No live secrets in sandbox env",{"type":43,"tag":209,"props":2681,"children":2682},{},[2683],{"type":49,"value":2684},"Grep again for removed APIs",{"type":43,"tag":209,"props":2686,"children":2687},{},[2688,2690],{"type":49,"value":2689},"Production used ",{"type":43,"tag":52,"props":2691,"children":2693},{"className":2692},[],[2694],{"type":49,"value":865},{"type":43,"tag":61,"props":2696,"children":2697},{},[2698,2700,2708],{"type":49,"value":2699},"Then day-to-day work uses ",{"type":43,"tag":65,"props":2701,"children":2702},{},[2703],{"type":43,"tag":52,"props":2704,"children":2706},{"className":2705},[],[2707],{"type":49,"value":120},{"type":49,"value":336},{"type":43,"tag":198,"props":2710,"children":2712},{"id":2711},"red-flags-stop-and-fix",[2713],{"type":49,"value":2714},"Red flags — stop and fix",{"type":43,"tag":269,"props":2716,"children":2717},{},[2718,2730,2735,2748,2767,2772,2784,2789,2794],{"type":43,"tag":209,"props":2719,"children":2720},{},[2721,2723,2728],{"type":49,"value":2722},"Mixing ",{"type":43,"tag":52,"props":2724,"children":2726},{"className":2725},[],[2727],{"type":49,"value":57},{"type":49,"value":2729}," Worker with stable image (or reverse)",{"type":43,"tag":209,"props":2731,"children":2732},{},[2733],{"type":49,"value":2734},"Gradual container rollout for this cutover",{"type":43,"tag":209,"props":2736,"children":2737},{},[2738,2740,2746],{"type":49,"value":2739},"Treating ",{"type":43,"tag":52,"props":2741,"children":2743},{"className":2742},[],[2744],{"type":49,"value":2745},"await exec",{"type":49,"value":2747}," as command completion",{"type":43,"tag":209,"props":2749,"children":2750},{},[2751,2753,2758,2760,2765],{"type":49,"value":2752},"Assuming ",{"type":43,"tag":52,"props":2754,"children":2756},{"className":2755},[],[2757],{"type":49,"value":815},{"type":49,"value":2759}," \u002F exports persist across ",{"type":43,"tag":52,"props":2761,"children":2763},{"className":2762},[],[2764],{"type":49,"value":700},{"type":49,"value":2766}," calls",{"type":43,"tag":209,"props":2768,"children":2769},{},[2770],{"type":49,"value":2771},"One retry wrapper for every error",{"type":43,"tag":209,"props":2773,"children":2774},{},[2775,2777,2782],{"type":49,"value":2776},"Inventing ",{"type":43,"tag":52,"props":2778,"children":2780},{"className":2779},[],[2781],{"type":49,"value":397},{"type":49,"value":2783},", process stdin, or undocumented APIs",{"type":43,"tag":209,"props":2785,"children":2786},{},[2787],{"type":49,"value":2788},"Keeping pre-cutover process\u002Fterminal IDs after deploy",{"type":43,"tag":209,"props":2790,"children":2791},{},[2792],{"type":49,"value":2793},"Forcing production cutover without user agreement",{"type":43,"tag":209,"props":2795,"children":2796},{},[2797,2799,2805,2807],{"type":49,"value":2798},"Putting live secrets in ",{"type":43,"tag":52,"props":2800,"children":2802},{"className":2801},[],[2803],{"type":49,"value":2804},"setEnvVars",{"type":49,"value":2806}," \u002F launch ",{"type":43,"tag":52,"props":2808,"children":2810},{"className":2809},[],[2811],{"type":49,"value":584},{"type":43,"tag":2813,"props":2814,"children":2815},"style",{},[2816],{"type":49,"value":2817},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2819,"total":2929},[2820,2839,2853,2866,2892,2909,2922],{"slug":2821,"name":2821,"fn":2822,"description":2823,"org":2824,"tags":2825,"stars":23,"repoUrl":24,"updatedAt":2838},"agents-sdk","build AI agents on Cloudflare Workers","Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, chat applications, voice agents, or browser automation. Covers Agent class, state management, callable RPC, Workflows, durable execution, queues, retries, observability, and React hooks. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2826,2828,2829,2832,2835],{"name":2827,"slug":29,"type":13},"Agents",{"name":9,"slug":8,"type":13},{"name":2830,"slug":2831,"type":13},"Cloudflare Workers","cloudflare-workers",{"name":2833,"slug":2834,"type":13},"MCP","mcp",{"name":2836,"slug":2837,"type":13},"WebSockets","websockets","2026-04-06T18:07:36.660888",{"slug":8,"name":8,"fn":2840,"description":2841,"org":2842,"tags":2843,"stars":23,"repoUrl":24,"updatedAt":2852},"build on the full Cloudflare platform","Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), feature flags (Flagship), networking (Tunnel, Spectrum), security (WAF, DDoS), and infrastructure-as-code (Terraform, Pulumi). Use for any Cloudflare development task. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2844,2845,2846,2849],{"name":9,"slug":8,"type":13},{"name":2830,"slug":2831,"type":13},{"name":2847,"slug":2848,"type":13},"Serverless","serverless",{"name":2850,"slug":2851,"type":13},"Storage","storage","2026-04-06T18:07:35.399081",{"slug":2854,"name":2854,"fn":2855,"description":2856,"org":2857,"tags":2858,"stars":23,"repoUrl":24,"updatedAt":2865},"cloudflare-email-service","manage transactional emails with Cloudflare","Send and receive transactional emails with Cloudflare Email Service (Email Sending + Email Routing). Use when building email sending (Workers binding or REST API), email routing, Agents SDK email handling, or integrating email into any app — Workers, Node.js, Python, Go, etc. Also use for email deliverability, SPF\u002FDKIM\u002FDMARC, wrangler email setup, MCP email tools, or when a coding agent needs to send emails. Even for simple requests like \"add email to my Worker\" — this skill has critical config details.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2859,2860,2861,2864],{"name":9,"slug":8,"type":13},{"name":2830,"slug":2831,"type":13},{"name":2862,"slug":2863,"type":13},"Email","email",{"name":2847,"slug":2848,"type":13},"2026-04-16T05:02:38.301955",{"slug":2867,"name":2867,"fn":2868,"description":2869,"org":2870,"tags":2871,"stars":23,"repoUrl":24,"updatedAt":2891},"cloudflare-one","configure and manage Cloudflare One Zero Trust","Guides Cloudflare One Zero Trust and SASE work across Access, Gateway, WARP, Tunnel, Cloudflare WAN, DLP, CASB, device posture, and identity. Use when designing, configuring, troubleshooting, or reviewing Cloudflare One deployments. Retrieval-first: use current Cloudflare docs\u002FAPI schemas instead of embedded product docs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2872,2875,2876,2879,2882,2885,2888],{"name":2873,"slug":2874,"type":13},"Access Control","access-control",{"name":9,"slug":8,"type":13},{"name":2877,"slug":2878,"type":13},"Infrastructure","infrastructure",{"name":2880,"slug":2881,"type":13},"Networking","networking",{"name":2883,"slug":2884,"type":13},"SASE","sase",{"name":2886,"slug":2887,"type":13},"Security","security",{"name":2889,"slug":2890,"type":13},"Zero Trust","zero-trust","2026-06-15T09:51:34.015251",{"slug":2893,"name":2893,"fn":2894,"description":2895,"org":2896,"tags":2897,"stars":23,"repoUrl":24,"updatedAt":2908},"cloudflare-one-migrations","plan migrations to Cloudflare One","Plans migrations from Zscaler ZIA\u002FZPA, Palo Alto, legacy VPN, SWG, or SASE stacks to Cloudflare One. Use for migration assessments, policy mapping, rollout plans, and parity\u002Fgap analysis.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2898,2899,2900,2901,2904,2905],{"name":9,"slug":8,"type":13},{"name":18,"slug":19,"type":13},{"name":2880,"slug":2881,"type":13},{"name":2902,"slug":2903,"type":13},"Risk Assessment","risk-assessment",{"name":2886,"slug":2887,"type":13},{"name":2906,"slug":2907,"type":13},"Strategy","strategy","2026-06-15T09:51:35.348691",{"slug":2910,"name":2910,"fn":2911,"description":2912,"org":2913,"tags":2914,"stars":23,"repoUrl":24,"updatedAt":2921},"durable-objects","build Cloudflare Durable Objects","Create and review Cloudflare Durable Objects. Use when building stateful coordination (chat rooms, multiplayer games, booking systems), implementing RPC methods, SQLite storage, alarms, WebSockets, or reviewing DO code for best practices. Covers Workers integration, wrangler config, and testing with Vitest. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2915,2916,2917,2920],{"name":9,"slug":8,"type":13},{"name":2830,"slug":2831,"type":13},{"name":2918,"slug":2919,"type":13},"State Management","state-management",{"name":2836,"slug":2837,"type":13},"2026-04-06T18:07:39.148434",{"slug":4,"name":4,"fn":5,"description":6,"org":2923,"tags":2924,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2925,2926,2927,2928],{"name":9,"slug":8,"type":13},{"name":21,"slug":22,"type":13},{"name":18,"slug":19,"type":13},{"name":15,"slug":16,"type":13},13,{"items":2931,"total":3101},[2932,2947,2961,2976,2989,3003,3017,3031,3048,3065,3078,3093],{"slug":2933,"name":2933,"fn":2934,"description":2935,"org":2936,"tags":2937,"stars":2944,"repoUrl":2945,"updatedAt":2946},"code-review","review code changes for quality and risk","Review code changes for correctness, clarity, and risk. Use when the user asks for a review, a second opinion on a diff, or feedback on code they wrote.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2938,2939,2941],{"name":9,"slug":8,"type":13},{"name":2940,"slug":2933,"type":13},"Code Review",{"name":2942,"slug":2943,"type":13},"Engineering","engineering",5284,"https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fagents","2026-06-08T08:19:41.621858",{"slug":2948,"name":2948,"fn":2949,"description":2950,"org":2951,"tags":2952,"stars":2944,"repoUrl":2945,"updatedAt":2960},"debug-plan","create systematic debugging plans","Create a systematic debugging plan for a bug report. Use when the user asks how to investigate a failure, regression, or unexpected behavior.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2953,2956,2959],{"name":2954,"slug":2955,"type":13},"Code Analysis","code-analysis",{"name":2957,"slug":2958,"type":13},"Debugging","debugging",{"name":2942,"slug":2943,"type":13},"2026-05-30T06:16:58.837407",{"slug":2962,"name":2962,"fn":2963,"description":2964,"org":2965,"tags":2966,"stars":2944,"repoUrl":2945,"updatedAt":2975},"escalation","escalate customer issues to human agents","Decide when and how to escalate a customer conversation to a human agent. Use when a request is high-risk, the customer is frustrated, or the issue is outside what you can resolve.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2967,2970,2973],{"name":2968,"slug":2969,"type":13},"Communications","communications",{"name":2971,"slug":2972,"type":13},"Customer Support","customer-support",{"name":2974,"slug":2962,"type":13},"Escalation","2026-06-08T08:19:43.130686",{"slug":2977,"name":2977,"fn":2978,"description":2979,"org":2980,"tags":2981,"stars":2944,"repoUrl":2945,"updatedAt":2988},"pirate-voice","rewrite text in pirate voice","Rewrite or answer in a playful pirate voice. Use when the user asks for pirate tone, nautical phrasing, or says to talk like a pirate.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2982,2985],{"name":2983,"slug":2984,"type":13},"Creative","creative",{"name":2986,"slug":2987,"type":13},"Writing","writing","2026-05-30T06:17:00.080367",{"slug":2990,"name":2990,"fn":2991,"description":2992,"org":2993,"tags":2994,"stars":2944,"repoUrl":2945,"updatedAt":3002},"release-notes","draft product release notes","Draft short release notes from a list of changes. Use when the user asks for changelogs, release notes, or a concise product update.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2995,2998,3001],{"name":2996,"slug":2997,"type":13},"Content Creation","content-creation",{"name":2999,"slug":3000,"type":13},"Documentation","documentation",{"name":2986,"slug":2987,"type":13},"2026-05-30T06:17:01.278643",{"slug":3004,"name":3004,"fn":3005,"description":3006,"org":3007,"tags":3008,"stars":2944,"repoUrl":2945,"updatedAt":3016},"test-plan","produce focused test plans","Produce a focused test plan for a change. Use when the user asks how to test a feature, what cases to cover, or for a QA checklist before shipping.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3009,3010,3013],{"name":2942,"slug":2943,"type":13},{"name":3011,"slug":3012,"type":13},"QA","qa",{"name":3014,"slug":3015,"type":13},"Testing","testing","2026-05-30T06:17:02.479863",{"slug":3018,"name":3018,"fn":3019,"description":3020,"org":3021,"tags":3022,"stars":2944,"repoUrl":2945,"updatedAt":3030},"workspace-digest","summarize files in the shared workspace","Summarize the files saved in this assistant's shared workspace. Use when the user asks what is in their workspace, for a file inventory, or a digest of saved work.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3023,3024,3027],{"name":2999,"slug":3000,"type":13},{"name":3025,"slug":3026,"type":13},"Knowledge Management","knowledge-management",{"name":3028,"slug":3029,"type":13},"Summarization","summarization","2026-06-07T07:51:27.265303",{"slug":3032,"name":3032,"fn":3033,"description":3034,"org":3035,"tags":3036,"stars":3045,"repoUrl":3046,"updatedAt":3047},"cloudflare-bundler-apps","author Cloudflare Worker Bundler applications","Author Cloudflare Worker Bundler-compatible apps that build and preview correctly inside a space. Use this skill whenever you scaffold, modify, or deploy a project that will be built with `@cloudflare\u002Fworker-bundler` (i.e. anything served from `\u002Fspace\u002F:name\u002Fpreview\u002F:branch\u002F`). Covers wrangler config, project layout, static asset rules, server entry conventions, npm dependency limits, and the most common cause of blank previews (JSX in browser scripts).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3037,3038,3039,3042],{"name":9,"slug":8,"type":13},{"name":2830,"slug":2831,"type":13},{"name":3040,"slug":3041,"type":13},"Deployment","deployment",{"name":3043,"slug":3044,"type":13},"Web Development","web-development",5193,"https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fvibesdk","2026-06-16T09:45:57.551207",{"slug":3049,"name":3049,"fn":3050,"description":3051,"org":3052,"tags":3053,"stars":3045,"repoUrl":3046,"updatedAt":3064},"frontend-design","create production-grade frontend interfaces","Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML\u002FCSS layouts, or when styling\u002Fbeautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3054,3057,3060,3063],{"name":3055,"slug":3056,"type":13},"Design","design",{"name":3058,"slug":3059,"type":13},"Frontend","frontend",{"name":3061,"slug":3062,"type":13},"HTML","html",{"name":3043,"slug":3044,"type":13},"2026-06-16T09:46:01.852741",{"slug":3066,"name":3066,"fn":3067,"description":3068,"org":3069,"tags":3070,"stars":3045,"repoUrl":3046,"updatedAt":3077},"frontend-design-landing-page","build marketing landing pages","Marketing landing page and conversion-focused product page reference. Use this skill when building hero sections, feature grids, pricing pages, testimonials, CTAs, footers, navigation bars, or any public-facing marketing surface. Covers a warm, professional, developer-friendly design language (cream backgrounds, generous whitespace, pill CTAs, corner-bracket card decorations) and a complete token set, animation system, and copy-paste component snippets. NOT for product\u002Fdashboard UIs — use frontend-design-saas for those.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3071,3072,3073,3076],{"name":3058,"slug":3059,"type":13},{"name":3061,"slug":3062,"type":13},{"name":3074,"slug":3075,"type":13},"Marketing","marketing",{"name":3043,"slug":3044,"type":13},"2026-06-16T09:46:00.515859",{"slug":3079,"name":3079,"fn":3080,"description":3081,"org":3082,"tags":3083,"stars":3045,"repoUrl":3046,"updatedAt":3092},"frontend-design-saas","build SaaS dashboard and product UIs","S-tier SaaS dashboard and product UI reference. Use this skill when building application shells, data tables, settings panels, billing pages, dashboards, auth flows, admin tools, or any internal\u002Fcustomer-facing SaaS product UI. Inspired by Stripe, Linear, Vercel, Airbnb, Notion. Covers neutral-led design tokens, sidebar+content shells, dense data UIs, form-heavy configuration pages, command palettes, empty states, and the accessibility (WCAG AA+) bar these products clear.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3084,3085,3086,3089],{"name":3055,"slug":3056,"type":13},{"name":3058,"slug":3059,"type":13},{"name":3087,"slug":3088,"type":13},"SaaS","saas",{"name":3090,"slug":3091,"type":13},"UI Components","ui-components","2026-06-16T09:45:58.956063",{"slug":2821,"name":2821,"fn":2822,"description":2823,"org":3094,"tags":3095,"stars":23,"repoUrl":24,"updatedAt":2838},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3096,3097,3098,3099,3100],{"name":2827,"slug":29,"type":13},{"name":9,"slug":8,"type":13},{"name":2830,"slug":2831,"type":13},{"name":2833,"slug":2834,"type":13},{"name":2836,"slug":2837,"type":13},24]