Commit graph

16 commits

Author SHA1 Message Date
Nathan Flurry
ab210fa38a refactor: move example tests to tests/ directories 2026-01-29 10:05:24 -08:00
Nathan Flurry
136926b445 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
2026-01-29 10:04:02 -08:00
Nathan Flurry
387ab0840d fix: update daytona example with correct install URL and timeout
- Fix install URL from latest to 0.1.3
- Add 180s timeout for sandbox creation
- Add autoStopInterval: 0 to prevent auto-stop
- Add log message explaining first run may be slow
2026-01-29 10:03:07 -08:00
Nathan Flurry
bd8f6b9c97
refactor: consolidate example client code into shared package (#31)
Move common sandbox agent client code into examples/shared to reduce
duplication across example projects (daytona, docker, e2b).
2026-01-29 07:19:20 -08:00
Nathan Flurry
3552ff0683 fix: update Daytona SDK executeCommand result type 2026-01-28 04:34:25 -08:00
Nathan Flurry
9e9514f2e8 chore: update examples to use Alpine and improve test script
- Docker example uses Alpine for musl compatibility with 0.1.x releases
- Update test script binary path and E2B provider
- Minor example updates
2026-01-28 04:29:08 -08:00
Nathan Flurry
cbd36eeca8 fix: detect musl/glibc at runtime for correct Claude binary download
Previously used cfg!(target_env = "musl") which checks compile-time,
causing musl-compiled sandbox-agent to always download musl binaries
even on glibc systems like Debian/E2B.

Now checks for /lib/ld-musl-*.so.1 at runtime to detect the actual
system libc and download the correct Claude binary variant.
2026-01-28 04:19:35 -08:00
Nathan Flurry
0bbe92b344 wip examples and content 2026-01-28 02:56:22 -08:00
Nathan Flurry
8af152f0b3 fix(examples): use SDK to install agents instead of CLI command 2026-01-28 02:31:43 -08:00
Nathan Flurry
5dd8a13845 fix: add OpenSSL build for musl in runtime Dockerfile 2026-01-28 01:23:51 -08:00
Nathan Flurry
6aa591bd91 chore: sync workspace changes 2026-01-28 01:13:50 -08:00
Nathan Flurry
8a91b8e9aa feat: move api cli commands under api subcommand 2026-01-28 01:11:57 -08:00
Nathan Flurry
6d6f6d0272 refactor: split examples into separate packages and update Claude plan mode
- Restructure examples into individual packages per provider (daytona, docker, e2b, vercel) with shared utilities in @sandbox-agent/example-shared
- Make Claude plan mode prompt-only (no longer requires permissionMode=plan)
- Claude now defaults to bypass permission mode
- Add agent_file_edit_flow test for file editing capabilities
- Fix Daytona file permission setting to use executeCommand
2026-01-27 22:50:31 -08:00
Nathan Flurry
30c4ad6b39 chore: update landing and inspector content 2026-01-27 22:29:35 -08:00
Nathan Flurry
b49776145b fix: add docker-setup action, runtime Dockerfile, and align release workflow
- Add .github/actions/docker-setup composite action (from rivet)
- Add docker/runtime/Dockerfile for Docker image builds
- Update release.yaml to match rivet patterns:
  - Use corepack enable instead of pnpm/action-setup
  - Add reuse_engine_version input
  - Add Docker job with Depot runners
  - Use --no-frozen-lockfile for pnpm install
  - Add id-token permission for setup job
2026-01-27 19:29:54 -08:00
Nathan Flurry
29b159ca20 wip 2026-01-27 13:56:09 -08:00