docs: add SDK modes (embedded vs server) to CLAUDE.md

This commit is contained in:
Nathan Flurry 2026-01-25 13:38:09 -08:00
parent 52f0188517
commit 6e1b13c242

View file

@ -1,5 +1,12 @@
# Instructions # Instructions
## SDK Modes
There are two ways to work with the SDKs:
- **Embedded**: Spawns the `sandbox-agent` server as a subprocess on a unique port and communicates with it locally. Useful for local development or when running the SDK and agent in the same environment.
- **Server**: Connects to a remotely running `sandbox-agent` server. The server is typically running inside a sandbox (e.g., Docker, E2B, Daytona, Vercel Sandboxes) and the SDK connects to it over HTTP.
## Agent Schemas ## Agent Schemas
Agent schemas (Claude Code, Codex, OpenCode, Amp) are available for reference in `resources/agent-schemas/dist/`. Agent schemas (Claude Code, Codex, OpenCode, Amp) are available for reference in `resources/agent-schemas/dist/`.