Skip to content
Tools · Dec 2, 2026

Claude Code v2.1.327 adds confirmation prompts, stdin JSON input, and session management fixes

Anthropic’s CLI coding assistant gets safer repository changes, stdin-based JSON input for tokens, and stability improvements for sessions and remote control.

Trust80
HypeLow hype

1 source · cross-referenced

ShareXLinkedInEmail
TL;DR
  • Adds a confirmation prompt before /install-github-app alters a repository to reduce unintended changes.
  • Introduces claude mcp add-json <name> to read server JSON from stdin, keeping tokens out of the command line.
  • Fixes session resume issues, remote control server stops, and plugin-related regressions in v2.1.327.

Anthropic released v2.1.327 of Claude Code, a CLI coding assistant, with changes aimed at safer repository modifications and improved session handling. The update adds a confirmation prompt before the /install-github-app command alters a repository, reducing the risk of unintended changes.

A new command, claude mcp add-json <name>, allows reading a server’s JSON configuration from stdin, which helps keep tokens off the command line and improves credential hygiene during MCP server setup.

The changelog also addresses session stability, including fixes for issues where resumed sessions lost earlier messages or failed to load prior context after interruptions. Remote control sessions now correctly stop the server in worktree mode without deleting git-ignored files like .env, and self-hosted runners no longer delete non-empty directories set via GIT_CONFIG_GLOBAL.

Additional fixes target plugin interactions, such as preventing agents passed with --agents from being dropped when plugins load or reload, and ensuring plugin agents are not lost when resuming sessions from the --resume picker.

The release resolves regressions introduced in prior versions, including cases where /export would overwrite existing files without prompting and where commands remained active after pressing Stop when approval arrived post-restart in cloud and self-hosted runner sessions.

Session management improvements include preventing tasks created after /clear from being lost and ensuring cleared tasks do not reappear upon resume. The update also fixes display issues, such as screens freezing after out-of-memory errors or brief display faults, and prevents hangs when processing messages with thousands of @ mentions by limiting lookups to the first 100 mentions.

Security and reliability fixes span permission handling, proxy configurations, and edge cases in auto mode, including stricter enforcement of --disallowedTools rules and correct handling of wildcard PowerShell allow rules.

Claude Code v2.1.327 is an immutable release, with only the title and notes subject to modification after publication.

Sources
  1. 01GitHub · anthropics/claude-code releases — v2.1.327
Also on Tools

Stories may contain errors. Dispatch is assembled with AI assistance and curated by human editors; despite the trust-score filter, mistakes happen. We correct publicly — every article links to its revision history. Nothing here is financial, legal, or medical advice. Verify before relying on any claim.

© 2026 Dispatch. No ads. No sponsorships. No paid placement. Reader-supported via Ko-fi.

Built by a person who cares about honest AI news.