Repository navigation
v2.1.331
2.1.331
Highlights:
- Removed system-prompt risky-action confirmation; agents may run previously blocked risky steps automatically
- Terminal sessions add Code Mode on cloud platforms, enabling code-focused workflows with syntax highlighting
- MCP tool calls no longer hang up to 30 minutes due to malformed local or WebSocket replies, avoiding stalls
CLI changelog
- Added Code Mode support in terminal sessions on Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry and Claude Platform on AWS
- Added oidc.groups_jsonpath to the Claude apps gateway, to read groups from the matching entries of a list of objects with a small subset of JSONPath (RFC 9535)
- Added an API connectivity section to claude doctor that reports whether the API can be reached, with the HTTP status or the error, or says why it wasn't tested
- Added a notice when tap-mode voice dictation stops by itself, after 15 seconds without recognized speech or at its 2-minute limit
- Added CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION to ask for uncompressed model responses behind a proxy that cuts compressed ones off; not advised yet for self-hosted runners or Remote Control
- Added CLAUDE_GATEWAY_IDP_CONNECT_BY_HOSTNAME=1 for Claude apps gateways: with oidc.use_proxy: true, sign-in requests hand the proxy an https IdP's hostname even with NO_PROXY set
- Added gen_ai.usage.*, gen_ai.response.model and gen_ai.operation.name to claude_code.llm_request trace spans; gen_ai.usage.input_tokens includes prompt cache tokens
- Added optionalDependencies to plugin manifests: plugins that install with the plugin listing them and can be disabled or uninstalled on their own
- Fixed MCP tool calls hanging for up to 30 minutes on some malformed replies from a local or WebSocket server
- Fixed PushNotification telling a headless run, such as a scheduled one, that the terminal was active in its first minute, instead of saying whether a mobile push was requested
- Fixed /install-github-app skipping the repository step after setup warnings when no repository was found, and Esc not going back from its workflow list and sign-in steps
- Fixed one-line tool results cut with no ellipsis in narrow windows, Markdown stars in the Auto mode tab of /permissions, and a hook's reason to stop a forked skill showing twice
- … +123 more CLI changelog entries
Source: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21331
Metadata
-
Time since 2.1.330 release: 2d 21h 43m 11s
-
Bundle file size: +1,986.4 kB (+2.3%)
-
Prompt files: +2 (+13.3%)
-
Prompt tokens: +1,494 (+6.1%)
Prompt token mix by kind:
- tools: 63.9%→66.5%
- system: 36.1%→33.5%
Files:
- metadata: 03f3437/meta/metadata.md#diff-a08dfa163baef97ea4f56d29009ac65f5f7dbc46e3a58e80d7aa06a2a2520899L10-R10
- prompt stats: 03f3437/meta/prompt-stats.md#diff-fa8e31336ece71d159f37b6fd4ed0c61939849140bd5c08c7ca793b5b2ae7f58L1-R1
System prompt changes
Notable changes:
- Claude no longer gets the explicit “executing actions with care” guardrail: assess blast radius/reversibility, default to confirming before destructive or shared-state actions (rm -rf, force-push, CI/CD edits, external posts), and prefer reversible steps. This reduces built-in caution.
Links:
Other prompt changes
- Added a new tool to launch an agent that handles complex, multi-step tasks.
Links: