fix: surface agent stderr in RPC errors & add defaultCwd param (#278)

This commit is contained in:
ABC 2026-03-25 00:49:35 -04:00 committed by GitHub
commit e9fabbfe64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 48 additions and 13 deletions

View file

@ -16,7 +16,6 @@ console.log(`UI: ${client.inspectorUrl}`);
const session = await client.createSession({
agent: detectAgent(),
cwd: "/home/daytona",
});
session.onEvent((event) => {

View file

@ -14,7 +14,6 @@ const client = await SandboxAgent.start({
const session = await client.createSession({
agent: detectAgent(),
cwd: "/home/user",
});
session.onEvent((event) => {

View file

@ -19,7 +19,6 @@ console.log(`UI: ${client.inspectorUrl}`);
const session = await client.createSession({
agent: detectAgent(),
cwd: "/home/vercel-sandbox",
});
session.onEvent((event) => {