Claude Code v2.1.285: claude --desktop, a provider allowlist, and time limits on background commands
1 month ago
What changed in Claude Code v2.1.285: claude --desktop opens the desktop app from your terminal, plugin settings move to the command line, admins can limit API providers and turn off WebFetch, deny rules hold over installed plugins, and background shell commands get a time limit.
Links
Ask about this presentation
Chapters
0:00claude --desktop
0:1501 Plugins and sessions
0:16Plugin settings from the command line
0:29Resume a background session
0:3902 Admin controls
0:40allowedProviders
0:52Turn off WebFetch
1:03Deny rules hold over installed plugins
1:1603 Changed defaults
1:17Background commands time out
1:271M context behind a custom base URL
1:40claude -p starts in auto mode
1:53widgets is a reserved MCP name
2:0504 Fixes
2:06Retries
2:17Hooks and cancelled commands
2:28Permission checks
2:4205 The VS Code extension
2:44VS Code
2:54The full changelog
Show transcriptHide transcript
Claude Code 2.1.285 adds a desktop flag. Run claude --desktop and the Claude desktop app opens on your current directory. Add continue, or resume with an ID, and it opens that session instead.
Plugins and sessions.
A new plugin configure command shows a plugin's options, flags the unset ones, and saves new values. Plugin install can now set a bundled MCP server's own settings, so it starts ready to use.
Resume now opens a session that is running in the background, instead of refusing it, and a prompt passed with its ID becomes that session's next turn.
Admin controls.
A new managed setting, allowed providers, limits which API providers a machine may use, from the Anthropic API and custom endpoints to Bedrock, Vertex AI and Foundry.
A new environment variable turns off the WebFetch tool. On Team and Enterprise plans, when the organization policy fails to load at startup, WebFetch waits until it does.
A plugin that approves every tool call could lift a deny rule. On managed machines and Team or Enterprise organizations, the rule now holds. A new admin option keeps personal mods from loading.
Changed defaults.
Background Bash and PowerShell commands now stop when they hit a time limit, 30 minutes by default and at most two hours, and Claude is told when one is stopped.
Sessions behind a custom Anthropic base URL now use the 1 million token context window on models that have one. If your gateway stops at 200 thousand tokens, set auto compact back to that.
Print mode and Python Agent SDK sessions on third-party providers, or with telemetry off, now start in auto mode when no permission mode is set. The permission mode flag still wins.
In cloud sessions and on self-hosted runners, the MCP server name widgets is now reserved. A server of yours with that name, or a close spelling, no longer loads, so rename it.
Fixes.
A failing request could be retried up to 21 times, and now the fallback shares one retry budget. Content filter blocks show their error right away, and sign-in stops hanging.
A synchronous hook no longer hangs when a background process it started keeps its output open. A cancelled command stays cancelled, and long sessions lose a one-second freeze.
PowerShell deny and ask rules now apply even when its command parser fails. Fork subagents keep their parent's permission mode, and an Artifact allow rule stops covering files outside your working directories.
The VS Code extension.
In VS Code, installing a plugin with options opens a form for the unset ones, and Claude can check the Problems panel's errors and warnings at any time.
This release also fixes Remote Control attachments, vim mode and the transcript view. Every change in 2.1.285 is in the Claude Code changelog on GitHub.
Up next
1:21Claude Code now loads skills from your MCP servers, and Code Mode runs on Bedrock
@claude-code
2 days ago
1:38Claude Code v2.1.330 draws charts for you with easel, and loops now run 30 days
@claude-code
1 week ago
1:36Claude Code v2.1.329 shows your scheduled tasks, loops and forks in /tasks
@claude-code
1 week ago
1:40Claude Code v2.1.328 brings auto mode to Bedrock, Foundry and Google Cloud
@claude-code
1 week ago
1:52Claude Code v2.1.327 makes /status list what is broken in your setup
@claude-code
1 week ago
1:29Claude Code v2.1.326 streams Remote Control replies to your phone as they are written
@claude-code
1 week ago
1:28Claude Code v2.1.325 now asks before sandboxed Bash commands run
@claude-code
2 weeks ago
1:49Claude Code's new Code Mode lets Claude write JavaScript to call its tools
@claude-code
2 weeks ago
1:29Claude Code v2.1.321 makes Fable 5.2 the default, with 1M context
@claude-code
2 weeks ago
1:52Claude Code v2.1.319 moves slow MCP tool calls to the background
@claude-code
3 weeks ago
1:39Claude Code v2.1.318 now tells you when your claude.ai sign-in ends
@claude-code
3 weeks ago
1:42Claude Code now asks before a tool call sends your email address
@claude-code
3 weeks ago