6 6
7> Run auto mode on Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry, prompt before writing files that can run code in acceptEdits mode, list installed plugins with /plugin list, and require an approved version range for managed deployments.7> Run auto mode on Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry, prompt before writing files that can run code in acceptEdits mode, list installed plugins with /plugin list, and require an approved version range for managed deployments.
8 8
9<div className="digest-meta">9Releases [v2.1.158 → v2.1.165](/docs/en/changelog#2-1-158)
10 <span>Releases <a href="/docs/en/changelog#2-1-158">v2.1.158 → v2.1.165</a></span>104 features · June 1–5
11 <span>4 features · June 1–5</span>
12</div>
13 11
14<div className="digest-feature">12Auto mode on Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry
15 <div className="digest-feature-header">13v2.1.158
16 <span className="digest-feature-title">Auto mode on Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry</span>
17 <span className="digest-feature-pill">v2.1.158</span>
18 </div>
19 14
20 <p className="digest-feature-lede">Auto mode is now available on Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry for Opus 4.7 and Opus 4.8, replacing permission prompts with background safety checks on third-party providers. Opt in by setting <code>CLAUDE\_CODE\_ENABLE\_AUTO\_MODE=1</code>.</p>15Auto mode is now available on Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry for Opus 4.7 and Opus 4.8, replacing permission prompts with background safety checks on third-party providers. Opt in by setting `CLAUDE_CODE_ENABLE_AUTO_MODE=1`.
21 16
22 <p className="digest-feature-try">Opt in on a third-party provider, then cycle to auto mode with Shift+Tab:</p>17Opt in on a third-party provider, then cycle to auto mode with Shift+Tab:
23 18
24 ```bash terminal theme={null}19```bash terminal theme={null}
25 export CLAUDE_CODE_ENABLE_AUTO_MODE=120export CLAUDE_CODE_ENABLE_AUTO_MODE=1
26 ```21```
27 22
28 <a className="digest-feature-link" href="/docs/en/permission-modes#enable-auto-mode-on-bedrock-agent-platform-or-foundry">Auto mode on third-party providers</a>23[Auto mode on third-party providers](/docs/en/permission-modes#enable-auto-mode-on-bedrock-agent-platform-or-foundry)
29</div>
30 24
31<div className="digest-feature">25Safer automatic edits
32 <div className="digest-feature-header">26v2.1.160
33 <span className="digest-feature-title">Safer automatic edits</span>
34 <span className="digest-feature-pill">v2.1.160</span>
35 </div>
36 27
37 <p className="digest-feature-lede">Claude Code now prompts before writing files that can run code, even in <code>acceptEdits</code> mode. The protected set covers shell startup files such as <code>.zshenv</code> and <code>.bash\_login</code>, git config under <code>\~/.config/git/</code>, and build-tool configs such as <code>.npmrc</code>, <code>.bazelrc</code>, and <code>.pre-commit-config.yaml</code>. These writes are never auto-approved in any mode except <code>bypassPermissions</code>.</p>28Claude Code now prompts before writing files that can run code, even in `acceptEdits` mode. The protected set covers shell startup files such as `.zshenv` and `.bash_login`, git config under `~/.config/git/`, and build-tool configs such as `.npmrc`, `.bazelrc`, and `.pre-commit-config.yaml`. These writes are never auto-approved in any mode except `bypassPermissions`.
38 29
39 <p className="digest-feature-try">Work in acceptEdits mode; Claude now pauses before writing these files:</p>30Work in acceptEdits mode; Claude now pauses before writing these files:
40 31
41 ```bash terminal theme={null}32```bash terminal theme={null}
42 claude --permission-mode acceptEdits33claude --permission-mode acceptEdits
43 ```34```
44 35
45 <a className="digest-feature-link" href="/docs/en/permission-modes#protected-paths">Protected paths</a>36[Protected paths](/docs/en/permission-modes#protected-paths)
46</div>
47 37
48<div className="digest-feature">38List installed plugins with /plugin list
49 <div className="digest-feature-header">39v2.1.163
50 <span className="digest-feature-title">List installed plugins with /plugin list</span>
51 <span className="digest-feature-pill">v2.1.163</span>
52 </div>
53 40
54 <p className="digest-feature-lede">The new <code>/plugin list</code> command prints your installed plugins inline, without opening the <code>/plugin</code> menu, and is also available as <code>claude plugin list</code> from the shell. In the interactive form, add `--enabled` or `--disabled` to show only plugins in that state.</p>41The new `/plugin list` command prints your installed plugins inline, without opening the `/plugin` menu, and is also available as `claude plugin list` from the shell. In the interactive form, add `--enabled` or `--disabled` to show only plugins in that state.
55 42
56 <p className="digest-feature-try">List the plugins that are currently turned on:</p>43List the plugins that are currently turned on:
57 44
58 ```text Claude Code theme={null}45```text Claude Code theme={null}
59 > /plugin list --enabled46> /plugin list --enabled
60 ```47```
61 48
62 <a className="digest-feature-link" href="/docs/en/plugins/cli-reference#plugin-list">Plugin commands</a>49[Plugin commands](/docs/en/plugins/cli-reference#plugin-list)
63</div>
64 50
65<div className="digest-feature">51Version requirements for managed deployments
66 <div className="digest-feature-header">52v2.1.163
67 <span className="digest-feature-title">Version requirements for managed deployments</span>
68 <span className="digest-feature-pill">v2.1.163</span>
69 </div>
70 53
71 <p className="digest-feature-lede">Two managed settings, <code>requiredMinimumVersion</code> and <code>requiredMaximumVersion</code>, let your organization require an approved Claude Code version range. A client outside the range exits at startup and tells the user to update through the organization's method. <code>claude update</code>, <code>claude install</code>, and <code>claude doctor</code> keep working so users can still recover.</p>54Two managed settings, `requiredMinimumVersion` and `requiredMaximumVersion`, let your organization require an approved Claude Code version range. A client outside the range exits at startup and tells the user to update through the organization's method. `claude update`, `claude install`, and `claude doctor` keep working so users can still recover.
72 55
73 <p className="digest-feature-try">Add a floor to your managed settings so older clients refuse to start:</p>56Add a floor to your managed settings so older clients refuse to start:
74 57
75 ```json managed-settings.json theme={null}58```json managed-settings.json theme={null}
76 {59{
77 "requiredMinimumVersion": "2.1.163"60 "requiredMinimumVersion": "2.1.163"
78 }61}
79 ```62```
80 63
81 <a className="digest-feature-link" href="/docs/en/admin-setup#decide-what-to-enforce">Decide what to enforce</a>64[Decide what to enforce](/docs/en/admin-setup#decide-what-to-enforce)
82</div>65
83 66Other wins
84<div className="digest-wins">67
85 <p className="digest-wins-title">Other wins</p>68The trigger keyword for [dynamic workflows](/docs/en/workflows) changed from `workflow` to `ultracode`; asking for a workflow in your own words still works, and the keyword is highlighted in violet in the prompt[Stop and SubagentStop hooks](/docs/en/hooks) can return `hookSpecificOutput.additionalContext` to give Claude feedback and keep the turn going instead of being treated as an error`claude mcp` list, get, and add no longer print secrets: environment-variable references are not expanded, and credential headers and URL secrets are redactedA failed Bash command in a parallel tool batch no longer cancels the others; each tool returns its own result independentlyEditing a file no longer needs a separate Read first when you viewed it with a single-file `grep`, `egrep`, or `fgrep`Clicking a command in the autocomplete menu now fills it into your prompt instead of running it immediately; press Enter to runListing `Grep` or `Glob` in `--tools` now provides the dedicated search tools on native builds with embedded search, instead of silently ignoring those names`/effort` now confirms when your chosen level will persist as the default for new sessions`OTEL_RESOURCE_ATTRIBUTES` values are now attached as labels on metric datapoints, so you can slice usage metrics by custom dimensions like team or repoWindsurf is renamed to Devin Desktop in `/ide`, `/terminal-setup`, and `/scroll-speed`, following the editor's rebrand`/btw` gains a `c to copy` shortcut that copies the raw markdown answer to the clipboard
86
87 <div className="digest-wins-grid">
88 <div>The trigger keyword for <a href="/docs/en/workflows">dynamic workflows</a> changed from <code>workflow</code> to <code>ultracode</code>; asking for a workflow in your own words still works, and the keyword is highlighted in violet in the prompt</div>
89 <div><a href="/docs/en/hooks">Stop and SubagentStop hooks</a> can return <code>hookSpecificOutput.additionalContext</code> to give Claude feedback and keep the turn going instead of being treated as an error</div>
90 <div><code>claude mcp</code> list, get, and add no longer print secrets: environment-variable references are not expanded, and credential headers and URL secrets are redacted</div>
91 <div>A failed Bash command in a parallel tool batch no longer cancels the others; each tool returns its own result independently</div>
92 <div>Editing a file no longer needs a separate Read first when you viewed it with a single-file <code>grep</code>, <code>egrep</code>, or <code>fgrep</code></div>
93 <div>Clicking a command in the autocomplete menu now fills it into your prompt instead of running it immediately; press Enter to run</div>
94 <div>Listing <code>Grep</code> or <code>Glob</code> in `--tools` now provides the dedicated search tools on native builds with embedded search, instead of silently ignoring those names</div>
95 <div><code>/effort</code> now confirms when your chosen level will persist as the default for new sessions</div>
96 <div><code>OTEL\_RESOURCE\_ATTRIBUTES</code> values are now attached as labels on metric datapoints, so you can slice usage metrics by custom dimensions like team or repo</div>
97 <div>Windsurf is renamed to Devin Desktop in <code>/ide</code>, <code>/terminal-setup</code>, and <code>/scroll-speed</code>, following the editor's rebrand</div>
98 <div><code>/btw</code> gains a <code>c to copy</code> shortcut that copies the raw markdown answer to the clipboard</div>
99 </div>
100</div>
101 69
102[Full changelog for v2.1.158–v2.1.165 →](/docs/en/changelog#2-1-158)70[Full changelog for v2.1.158–v2.1.165 →](/docs/en/changelog#2-1-158)