mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 04:03:31 +00:00
fix: surface agent stderr in RPC errors and default cwd for remote providers
This commit is contained in:
parent
f353e39fc6
commit
833b57deb1
15 changed files with 48 additions and 13 deletions
|
|
@ -16,7 +16,6 @@ console.log(`UI: ${client.inspectorUrl}`);
|
|||
|
||||
const session = await client.createSession({
|
||||
agent: detectAgent(),
|
||||
cwd: "/home/daytona",
|
||||
});
|
||||
|
||||
session.onEvent((event) => {
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ const client = await SandboxAgent.start({
|
|||
|
||||
const session = await client.createSession({
|
||||
agent: detectAgent(),
|
||||
cwd: "/home/user",
|
||||
});
|
||||
|
||||
session.onEvent((event) => {
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ console.log(`UI: ${client.inspectorUrl}`);
|
|||
|
||||
const session = await client.createSession({
|
||||
agent: detectAgent(),
|
||||
cwd: "/home/vercel-sandbox",
|
||||
});
|
||||
|
||||
session.onEvent((event) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue