refactor: split daytona example into two variants

- daytona.ts (default): Installs sandbox-agent at runtime. Faster to
  start but installs on each run. Use for quick testing.
- daytona-with-snapshot.ts: Builds custom image with sandbox-agent
  pre-installed. Slow first run (~2-3 min) but fast subsequent runs.
  Use for repeated development.

Run with: pnpm start (default) or pnpm start:snapshot
This commit is contained in:
Nathan Flurry 2026-01-29 10:04:02 -08:00
parent 387ab0840d
commit 136926b445
3 changed files with 51 additions and 7 deletions

View file

@ -4,6 +4,7 @@
"type": "module",
"scripts": {
"start": "tsx src/daytona.ts",
"start:snapshot": "tsx src/daytona-with-snapshot.ts",
"typecheck": "tsc --noEmit"
},
"dependencies": {