What
Managed settings are settings an organization pushes out to Claude Code. Each entry in them now carries an underCode field.
- When
underCodeis true, the settings handed to the desktop app's sessions (desktopSessionPayload) are built from a transformed copy of the CLI settings. The copy is produced by an internal helper (yut). - Otherwise the old rule still applies. The desktop payload is only sent when
serve_to_desktopis true and the settings are not empty.
Why
In practice, an entry can now reach desktop sessions without being marked serve_to_desktop. Administrators who manage settings for desktop users have a second way to deliver them.
Names in the bundleunderCodeserve_to_desktop
Documented inclaude-code/claude-apps-gateway-config
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up serve_to_desktop, on Claude apps gateway configuration.
`serve_to_desktop: true` is a legacy way to offer a policy's `cli` settings to the Code tab. It has no effect when Claude Desktop connects through [`bootstrapUrl`](#claude-desktop-overlay). While your policies use `cli`, a boot warning tha…claude-apps-gateway-config see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up serve_to_desktop, on Claude apps gateway configuration.