mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-16 06:02:46 +00:00
chore: update examples to use bypass permissions and remove inspect.sandboxagent.dev
This commit is contained in:
parent
63cef16adf
commit
daffabf74c
5 changed files with 43 additions and 379 deletions
|
|
@ -60,12 +60,6 @@ if (isMainModule) {
|
|||
process.exit(0);
|
||||
});
|
||||
|
||||
// When running as root in a container, Claude requires interactive permission prompts
|
||||
// (bypass mode is not supported). Set autoApprovePermissions: true to auto-approve,
|
||||
// or leave false for interactive prompts.
|
||||
await runPrompt({
|
||||
baseUrl,
|
||||
autoApprovePermissions: process.env.AUTO_APPROVE_PERMISSIONS === "true",
|
||||
});
|
||||
await runPrompt(baseUrl);
|
||||
await cleanup();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue