mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 09:01:17 +00:00
fix: use correct provider home dirs and make SSE failures non-fatal
- E2B: /home/user, Daytona: /home/daytona, Vercel: /home/vercel-sandbox, ComputeSDK: /home - Docker-based examples keep /root (correct) - Add missing install-agent steps to Daytona example and doc - Make SSE loop failure non-fatal in acp-http-client transport
This commit is contained in:
parent
8a1d17f165
commit
89933c5f80
7 changed files with 14 additions and 6 deletions
|
|
@ -31,7 +31,7 @@ console.log("Waiting for server...");
|
|||
await waitForHealth({ baseUrl });
|
||||
|
||||
const client = await SandboxAgent.connect({ baseUrl });
|
||||
const session = await client.createSession({ agent: detectAgent(), sessionInit: { cwd: "/root", mcpServers: [] } });
|
||||
const session = await client.createSession({ agent: detectAgent(), sessionInit: { cwd: "/home/user", mcpServers: [] } });
|
||||
const sessionId = session.id;
|
||||
|
||||
console.log(` UI: ${buildInspectorUrl({ baseUrl, sessionId })}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue