Skip to content

v2.1.331

Choose a tag to compare

@marckrenn marckrenn released this 23 Nov 21:55
· 90 commits to main since this release

2.1.331

(☝ Click to see full diff.)

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:

System prompt changes

Notable changes:

  1. 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:

  1. f15001f/cc-prompt.md#diff-b0a16d13c25d701124251a8943c92de0ff67deacae73de1e83107722f5e5d7f1L67

Other prompt changes

  1. Added a new tool to launch an agent that handles complex, multi-step tasks.

Links:

  1. 8f41b6c/system-prompts/tool-description-launch-new-handle-complex-multi.md#diff-f9c65488006fcb18d293ebca17f2420fa5b869c7f4fca44e5a4b8ec47d6cad2fR26