{"version":"2.1.336","anchor":"two-new-desktop-host-env-vars-claude-code-joyful-dove-and-c","canonical_anchor":"two-new-desktop-host-env-vars-claude-code-joyful-dove-and-c","heading":"Desktop and Cowork get two new switches for drawing diffs and permission cards","tier":"use","area":"Desktop App","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/two-new-desktop-host-env-vars-claude-code-joyful-dove-and-c","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Desktop and Cowork get two new switches for drawing diffs and permission cards\n\nTwo new environment variables let the Desktop and Cowork apps draw Bash and Edit diffs themselves and adjust permission cards\n\n**What**\n\nThe Desktop and Cowork apps run Claude Code inside themselves and pass it settings through environment variables, named values a program reads when it starts. Two new ones are now accepted:\n\n- `CLAUDE_CODE_JOYFUL_DOVE` tells Claude Code that the app draws the changes from Bash and Edit itself. It only applies when the app's code tabs own the session. Claude Code removes the variable from its environment once it has read it.\n\n- `CLAUDE_CODE_COWORK_SAVE_CARDS` feeds into when a permission card is shown. A permission card asks you to approve a tool. It only applies when another setting is \"ask\".\n\nNeither does anything unless the app sets it.\n\n**Why**\n\nThese switches are for the Desktop and Cowork apps. People using Claude Code in a terminal will not see them.\n\n- Area: Desktop App\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}