mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 22:03:48 +00:00
884 B
884 B
Examples Instructions
Docker Isolation
- Docker examples must behave like standalone sandboxes.
- Do not bind mount host files or host directories into Docker example containers.
- If an example needs tools, skills, or MCP servers, install them inside the container during setup.
Testing Examples (ACP v2)
Examples should be validated against v2 endpoints:
- Start the example:
SANDBOX_AGENT_DEV=1 pnpm start - Create an ACP client by POSTing
initializeto/v2/rpcwithx-acp-agent: mock(or another installed agent). - Capture
x-acp-connection-idfrom the response headers. - Open SSE stream:
GET /v2/rpcwithx-acp-connection-id. - Send
session/newthensession/promptviaPOST /v2/rpcwith the same connection id. - Close connection via
DELETE /v2/rpcwithx-acp-connection-id.
v1 reminder:
/v1/*is removed and returns410 Gone.