What
A program that runs Claude Code inside it, called a host, can send a set_permission_mode request to change the permission mode. That request now accepts an internal field, answers_bypass_switch_back, with one of two values:
bypass_nowbypass_always
Claude Code accepts this field only from the process that owns its standard input, meaning the program that started it and feeds it input.
Why
Bypass permissions mode lets Claude run tools without asking first. A host can now answer the question about switching to that mode on your behalf, and the bypass_always answer is saved for later launches.
Names in the bundleset_permission_modeanswers_bypass_switch_back
Documented inclaude-code/agent-sdk/permissions