What
Claude Code has permission modes that decide how often it stops to ask before acting. bypassPermissions skips those checks, and auto mode is a more guarded alternative. New code lets a session that was launched in bypassPermissions start in auto mode instead, then switch back if the user asks. It shows the notice "Started in auto mode instead of bypass permissions" along with the shift+tab key to switch back. This is reachable only when a host app, a program that embeds Claude Code such as the VS Code extension or an SDK integration, sends the matching fields or requests.
offersBypassSwitchBackandkeepsBypassHeldare two new internal true/false fields in the SDK setup message (the first message a host sends). They let the VS Code extension start abypassPermissionslaunch in auto mode, with abypass_auto_switchresponse so it can switch back. Both are honoured only on the first setup message, only from the process that owns Claude Code's input, and only in the VS Code extension.- The VS Code panel has a switch-back dialog with choices such as
bypass_nowandbypass_always. holdsBypassis now included in the permission-rules payload sent when opening the agents view. It is set whenbypassAutoSwitch.isHeldis true, and the payload is now built even when there are no allow, deny or added-directory rules.bypassReasonis a new prompt case and feedback survey (bypassReasonSurvey) that asks the user for a reason for using bypass.log_host_eventsis a new control-request type in the SDK protocol. The list of supported features currently marks it as not offered.- A separate helper removes
CLAUDE_CHROME_PERMISSION_MODEfrom a configuration's environment settings.
Why
In practice, a host app could open a session in auto mode even when bypass was requested, keep track of whether bypass is being held, and ask the user why before switching back. Ordinary terminal users only meet this if their host app turns it on.
tengu_glittery_puppy Not enough to sayNothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.
This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.330: not a boolean we can read
These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.
Read once, for one account on one subscription tier, against v2.1.330. It isn't a statement about your account. What a flag value here can and cannot tell you