Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ export function ClaudeCodeSettings() {
<PermissionsSettings />

<SettingRow
label="Bypass Permissions mode"
description="Skips all permission rules. PostHog Code will run every tool without asking for approval"
label="Auto-accept permissions"
description="Skip all permission prompts. Claude will run bash commands, edit files, browse the web and use any tool without asking first"
noBorder
>
<Switch
Expand All @@ -195,8 +195,9 @@ export function ClaudeCodeSettings() {
<Warning weight="fill" />
</Callout.Icon>
<Callout.Text>
Bypass Permissions mode is enabled. All permission rules are
ignored.
Auto-accept is enabled. All actions (shell commands, file edits, web
requests) run without approval. Use shift+tab to cycle to this mode
per session.
</Callout.Text>
</Callout.Root>
)}
Expand All @@ -210,24 +211,24 @@ export function ClaudeCodeSettings() {
<Flex align="center" gap="2">
<Warning size={20} weight="fill" color="var(--red-9)" />
<Text color="red" weight="bold">
Enable Bypass Permissions mode
Enable auto-accept permissions
</Text>
</Flex>
</AlertDialog.Title>
<AlertDialog.Description size="2">
<Flex direction="column" gap="3">
<Text color="red" weight="medium">
In Bypass Permissions mode, PostHog Code will not ask for your
approval before running potentially dangerous commands.
With auto-accept enabled, Claude will execute every action
without asking — including shell commands, file edits, web
requests and any installed MCP tools.
</Text>
<Text>
This mode should only be used in a sandboxed container/VM that
has restricted internet access and can easily be restored if
damaged.
This mode is intended for sandboxed environments (containers or
VMs) with restricted network access that can be easily restored.
</Text>
<Text weight="medium">
By proceeding, you accept all responsibility for actions taken
while running in Bypass Permissions mode.
while auto-accept is enabled.
</Text>
</Flex>
</AlertDialog.Description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export function buildExitPlanModePermissionOptions(): PermissionOption[] {
if (ALLOW_BYPASS) {
options.push({
kind: "allow_always",
name: "Yes, bypass all permissions",
name: "Yes, auto-accept all permissions",
optionId: "bypassPermissions",
});
}
Expand Down
4 changes: 2 additions & 2 deletions packages/agent/src/execution-mode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ const availableModes: ModeInfo[] = [
if (ALLOW_BYPASS) {
availableModes.push({
id: "bypassPermissions",
name: "Bypass Permissions",
description: "Bypass all permission checks",
name: "Auto-accept Permissions",
description: "Auto-accept all permission requests",
});
}

Expand Down
Loading