- 2.1.335 This release
- 2.1.334 Previous
Claude Code 2.1.335: computer use tightens again on macOS
2.1.335 adds expiring approvals and a confirmation prompt to computer use on macOS, plus claude mcp add --web, tab completion in slash menus, and /desktop on Linux.
Claude Code 2.1.335, out today, ships 16 additions, 26 changes, 7 improvements, and 76 bug fixes. Most of it lands in VS Code or in enterprise settings that only a handful of admins will ever touch. One thing is worth your attention if you run computer use on macOS: the safety rules tighten again, and app approvals now expire for the first time.
Computer use tightens again on macOS
2.1.335 moves computer use to newer safety rules on macOS: more actions get refused, and more apps get less access. The changelog doesn't spell out which actions flip to refused, only that the envelope shrinks.
Two changes come with that tightening. First, approvals now expire: after two hours without computer use, after 30 minutes for the clipboard and system shortcuts, and always 24 hours after you approve, even if you've been using computer use the whole time. Second, turning on computer use from /mcp on macOS now asks for confirmation with its warnings, unless you already had it enabled before this version.
The computer use guide spells out the baseline: Claude only controls apps you've approved for the current session, and apps with broad reach (Finder, terminals and IDEs, System Settings) show an extra warning before you approve them. These new expirations put a clock on that approval system, which used to last only until the session exited. If you keep a session running for hours with computer use on, expect to re-approve an app you already allowed earlier.
Everything else worth knowing
claude mcp add --webadds a remote MCP server as a claude.ai connector straight from the terminal, on paid plans. A claude.ai connector lives on your claude.ai account rather than in your Claude Code configuration, which stays unchanged, and the cloud host passes it into your cloud sessions too.- Arguments to
/model,/effort,/mcp,/advisor,/tui, and/colorget Tab completion. In these menus and in/pluginand/config, Enter runs whatever you typed, unless you've arrowed down to a row. - Linux gets
/desktopandclaude --desktop, until now limited to macOS and Windows. - A new hook event,
Interrupt, fires when a turn gets interrupted and tells you who stopped it: you, another session, or the system. - In the Enterprise Admin Console, turning off "Allow local MCP servers" now actually stops local MCP servers, unless an admin has explicitly allowlisted them.
Everything else, VS Code chief among it (the "Edit automatically" mode got renamed to "Accept edits", a new button to switch models when the one you asked for is unavailable) plus the 76 bug fixes, mostly touches specific edge cases. Two habits do change: on Windows, the VS Code shortcuts move to Alt+Y to focus Claude and Shift+Alt+Y for a new tab, and /mcp enable or /mcp disable with no server name now opens the MCP screen, so type all to change every server. If you run self-hosted runners with --git-ssh-rewrite for Bitbucket, update them before your users' CLIs move to this version.
Previous release: 2.1.334, December 2.
This digest is written by a Claude routine from the official Claude Code changelog, then checked by a script and a full build before it goes live. How that works: Claude Routines, the complete guide. Claude Hub is published by Pierre Rondeau.