Claude Code 2.1.300 Release
Claude Code 2.1.300 adds virtualText decorations for mods, cache telemetry metrics, agent transcript viewing, RTL text support, the /advisor tool on AWS, OpenTelemetry GenAI attributes, workflow agent prompt rewriting, mod hooks for prompt changes, Slack Connect channels, voice clip support, and numerous improvements to session management, compression, and permission workflows.
Added
- Added
virtualTextto a mod's prompt decorations: text drawn in the prompt box that never enters the draft or the submitted prompt - Added
cache_creation_5m_tokensandcache_creation_1h_tokensto the OpenTelemetryapi_requestevent, splitting cache writes by lifetime - Added
$.ui.view({ agentId })for mods: shows an agent's transcript in the main view when you ask, and$.ui.view({})goes back - Added a
dirprop on a mod'sTextfor right-to-left text: on Windows and in VS Code's terminal its rows read in that direction and sit flush right - Added
/advisoron Claude Platform on AWS; no advisor runs until you pick one with/advisor,advisorModelor--advisor, andCLAUDE_CODE_DISABLE_ADVISOR_TOOL=1turns it off - Added OpenTelemetry GenAI semantic-convention attributes to trace spans, such as
gen_ai.provider.name,gen_ai.conversation.id,gen_ai.tool.nameanderror.type - Added support for rewriting a workflow agent's
promptandmodelin theagent.spawnmod hook, which could only refuse workflow agents before - Added the
prompt.changemod hook, raised when the prompt box's text changes without a typed edit: a recalled history entry, a clear, an undo, or a plugin's fill - [VSCode] Added the
claudeCode.attachSelectionsetting to stop text selected in the editor from being added to your messages - [Claude Tag] Added support for Slack Connect channels: an Owner or Claude Tag admin can let Claude in Slack answer in channels shared with another organization; it's off by default
- [Claude Tag] Added a private Allow once / Deny card in Slack threads for connector actions that need your approval, so Claude asks instead of refusing; others only see that it's waiting on you
- [Claude Tag] Added support for Slack voice clips in Claude in Slack: Claude reads Slack's transcript of a clip when Slack has one
Changed
- Changed
CLAUDE_CODE_PROVIDER_MANAGED_BY_HOSTsessions to ignore CA-bundle, tool-proxy, git TLS and git config variables likeSSL_CERT_FILEin settings; under Claude Desktop, only in project settings - Changed exit to force-kill background commands still running 1.5 seconds after being asked to stop; in fullscreen mode they could previously be left running
- Changed Claude Desktop's Code tab to apply managed settings when
forceLoginGatewayUrlnames an Anthropic-operated gateway that serves the session's hostname; that gateway must be reachable at start - Changed
claude gatewayto stop at start, naming the key, on adesktop:policy key that Claude Desktop cannot use from a gateway, where it earlier started with a warning - Changed large requests to api.anthropic.com to use gzip compression even when telemetry is disabled; set
CLAUDE_CODE_GZIP_REQUEST_BODIES=0to turn it off - Changed the
claude-apiskill to leave Managed Agents sessions in place unless you ask to archive or delete them - Changed background sessions to resume a carried workflow through the Workflow tool's approval instead of running it from the handoff file
- Changed local session transcripts to also record each API request's system prompt, tools and parameters, so a transcript you choose to share can reproduce a request exactly
- Changed the
/sandboxmode options to read "Sandbox commands" instead of "Sandbox BashTool" - Changed
PermissionRequesthooks in Cowork cloud sessions: asetModeupdate in a hook's allow is now ignored; the rest of the approval still applies - Changed hooks:
updatedInputfrom PreToolUse and PermissionRequest hooks is now validated like Claude's own input: unknown keys are dropped, and input the tool rejects denies the call - Removed the
--sandboxand--no-sandboxflags fromclaude remote-control, which had no effect; passing either now exits with an error. Setsandbox.enabledin settings to sandbox sessions - [Claude Tag] Changed access bundles an admin attached to a Slack channel to keep applying once the channel becomes a Slack Connect channel, with no need to remove and re-attach them
Improved
- Improved WebFetch in Cowork cloud sessions to tell Claude that a page failed moments ago instead of fetching it again
- Improved mod sharing in the built-in
plugin-authoringskill: Claude scans a mod's files for keys before opening them, and asks before scanning a folder outside the project - Improved the note Claude 3 models get about an @-mentioned PDF, so they less often answer without reading it
- Improved artifact updates: Claude now applies a small change and republishes the artifact in one call, and makes larger edits and republishes within a single response
Source: original entry ↗
More from Claude Code
Follow Claude Code to get its new changes in your feed and email digest.
Claude Code 2.1.299 Release
Major update adding file mention environment variables, idle token compaction for prompt caching, new APIs for mods and plugins (including image attachment handling and session identity), improved agent and skill controls, better tool management for eval runs, and numerous behavioral changes to plugin hooks, MCP requests, and session handling.
Claude Code 2.1.296
This release adds new configuration options for managed policies, subagent behavior, workflow models, and retry handling. It includes improvements to the Claude apps gateway, Desktop Code tab settings, file reading capabilities, and session management across cloud and self-hosted environments. Pricing for Sonnet 5.5 cache reads has been updated to $0.10 per million tokens, and various UI and behavior refinements have been made to Claude Tag, VSCode, Chrome, and Slack integrations.
Claude Code 2.1.295 Release
This release adds onFailure blocking for hooks, Program Status Protocol support for terminal status display, upstream timeout configuration, improved tool descriptions, and numerous UX enhancements including file handling in chat, better error messages, and protocol improvements across VSCode, Claude Tag, and MCP integrations.