chore: update examples to use bypass permissions and remove inspect.sandboxagent.dev

This commit is contained in:
Nathan Flurry 2026-02-01 22:43:28 -08:00
parent 63cef16adf
commit daffabf74c
5 changed files with 43 additions and 379 deletions

View file

@ -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();
}