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

@ -32,10 +32,5 @@ const cleanup = async () => {
process.once("SIGINT", cleanup);
process.once("SIGTERM", cleanup);
// 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();

View file

@ -33,10 +33,5 @@ const cleanup = async () => {
process.once("SIGINT", cleanup);
process.once("SIGTERM", cleanup);
// 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();