Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All releases Home olderv2.1.49 v2.1.51newer

Claude Code v2.1.50

18 entries read diff v2.1.49 → v2.1.50 Markdown

This release introduces the new /diff command for viewing uncommitted changes and per-turn diffs, adds VCS-agnostic worktree isolation through configurable hooks (WorktreeCreate/WorktreeRemove), and includes improved handling for MCP servers that are still connecting. Several internal improvements enhance system sleep detection for WebSocket connections and add better logging for sandbox symlink handling on Linux.

Find
Pick an entry · j / k steps through
12 entries

Changesopen

/diff Command#

What

A new slash command to view uncommitted changes and per-turn file diffs directly in the CLI.

Usage
/diff
Details
  • Opens a dialog showing uncommitted changes in your repository
  • Displays per-turn diffs showing what changed during each interaction
  • Provides a clear visual summary of file modifications
Evidence

Diff dialog slash command (search for "View uncommitted changes and per-turn diffs")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

VCS-Agnostic Worktree Isolation via Hooks#

What

Custom hooks for creating and removing worktrees, enabling worktree isolation to work with any version control system—not just Git.

Usage

Configure hooks in your settings.json:

{
  "hooks": {
    "WorktreeCreate": [{
      "command": "your-worktree-create-script"
    }],
    "WorktreeRemove": [{
      "command": "your-worktree-remove-script"
    }]
  }
}
Details
  • WorktreeCreate hook receives JSON input with name (suggested worktree slug); stdout should contain the absolute path to the created worktree
  • WorktreeRemove hook receives JSON input with worktree_path (absolute path to worktree); exit code 0 indicates successful removal
  • Enables worktree isolation for non-Git VCS systems (Mercurial, SVN, etc.)
  • Error messages guide users when hooks are missing or fail
Evidence

Hook types and error messages (search for "WorktreeCreate", "WorktreeRemove", "Configure WorktreeCreate/WorktreeRemove hooks")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

/agents Command for Listing Configured Agents#

What

A new command to list all configured agents with their sources and status.

Usage
/agents
Details
  • Shows agents grouped by source (User, Project, Local, Managed, Plugin, CLI arg, Built-in)
  • Displays which agents are shadowed/overridden by higher-priority sources
  • Shows model and memory settings for each agent
Evidence

Agent listing function (search for "List configured agents", "No agents found.", "shadowed by")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Agent Worktree Isolation Option#

What

Agents can now specify an isolation field to run in an isolated worktree.

Usage

Agents can be configured with isolation: "worktree" to run in a temporary git worktree or hook-based worktree for isolated work.

Details
  • Creates an isolated copy of the repository for the agent to work on
  • Supports both Git worktrees and custom hook-based worktrees
  • Useful for agents that need to make changes without affecting the main working directory
Evidence

Isolation parsing in agent frontmatter (search for "isolation", "Isolation mode")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

Pending MCP Server Notification in ToolSearch#

What

When searching for deferred tools, if some MCP servers are still connecting, the tool now reports which servers are pending.

Details
  • Results include pending_mcp_servers field when servers are still initializing
  • Message indicates servers are connecting and tools will become available shortly
Evidence

Pending server handling (search for "Some MCP servers are still connecting", "pending_mcp_servers")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

System Sleep Detection for WebSocket Connections#

What

Improved reconnection handling when the system wakes from sleep.

Details
  • Detects large time gaps between reconnection attempts indicating system sleep
  • Resets the reconnection budget after sleep to avoid exhausting retries
  • Adds periodic keep-alive frames for more reliable connection maintenance
Evidence

Sleep detection logic (search for "Detected system sleep", "resetting reconnection budget")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Improved Bash Command Prefix Suggestions#

What

More intelligent command prefix extraction for permission rules, with support for suggesting editable prefixes.

Details
  • Uses @withfig/autocomplete specs for better understanding of command structure
  • Supports pyright, timeout, sleep, alias, nohup, time, and srun commands with proper argument parsing
  • Permission prompts can show "Yes, and don't ask again for" with editable command prefix
Evidence

Fig autocomplete integration (search for "@withfig/autocomplete", "command prefix (e.g., npm run:*)")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Enhanced Memory Prompts#

What

Clearer organization of memory guidance with separate sections for explicit user requests.

Details
  • Added "Explicit user requests" section for remember/forget instructions
  • More concise guidance on when to save memories
  • Removed redundant "when in doubt" guidance
Evidence

Memory prompt changes (search for "## Explicit user requests:")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

macOS Sandbox Unix Socket Permissions#

What

More granular Unix socket permissions in the macOS sandbox.

Details
  • Changed from broad network* permission to specific network-bind and network-outbound for Unix sockets
  • Adds AF_UNIX socket domain permission explicitly
  • Improves security by limiting socket access to specific paths
Evidence

Sandbox socket rules (search for "(allow system-socket (socket-domain AF_UNIX))")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

Improved Session Resume Telemetry#

What

Better tracking of session resume performance and success/failure.

Details
  • Tracks resume duration in milliseconds
  • Reports success/failure status for session resume operations
  • Helps identify performance issues with session loading
Evidence

Resume telemetry (search for "tengu_session_resumed", "resume_duration_ms")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

CLAUDE_CODE_SIMPLE Mode Improvements#

What

Enhanced behavior for CLAUDE_CODE_SIMPLE environment variable.

Details
  • Disables attachments when CLAUDE_CODE_SIMPLE is set
  • Skips memory file loading for simplified operation
  • Adds CWD and Date to system prompt in simple mode
Evidence

Simple mode checks (search for "CLAUDE_CODE_SIMPLE")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

1 entry

Bug Fixesopen

#

Feature flag
tengu_code_diff_cli On for this account, and not off by default

The flag server returned on for the one account this site reads, and nothing in this release compiles it off by default. The compiled default is shown below, and says which it is when we cannot read one: a fifth of gates compile in a string or a number rather than on or off, and most published releases have no gate table behind them at all. No client can see what the server returns for your account.

This account: on · anonymous baseline: on · compiled default in v2.1.50: no gate table built for this version

These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.

Read once, for one account on one subscription tier, against v2.1.50. It isn't a statement about your account. What a flag value here can and cannot tell you

  • Fixed issue where GitHub issue/PR references with fewer than 3 digits (e.g., #12) were incorrectly linkified; now only references with 3+ digits are processed (search for /(?<!\w)#(\d{3,})\b/)
  • Fixed duplicate MCP tools when connecting to multiple servers that provide tools with the same name (search for "wG([...Y6.mcp.tools" — deduplication by name)
  • Fixed memory leak in ring buffer clear() method that wasn't resetting the buffer array (search for "this.buffer.length = 0")
  • Removed "Penguin mode promo" discount display that was showing in the fast mode UI (search for removal of Bl4 component)
  • Fixed cleanup of LSP diagnostics that had already been sent as attachments (search for "if (J.attachmentSent) j96.delete(O)")
  • Removed the code diff footer feature flag and setting (codeDiffFooterEnabled) that was behind tengu_code_diff_cli - this functionality is now handled by the new /diff command
1 entry

Notesopen

#

The /diff command replaces the previous code diff footer that was shown at the bottom of the chat. Users who relied on the footer can now use /diff to view the same information on demand.

Verbatim
Official · Anthropic

Anthropic’s official release notes

Published verbatim by Anthropic for v2.1.50. Text is unmodified from the upstream changelog. Everything else on this page came out of the bundle instead, which is why the two lists don't match.

  • Added support for startupTimeout configuration for LSP servers
  • Added WorktreeCreate and WorktreeRemove hook events, enabling custom VCS setup and teardown when agent worktree isolation creates or removes worktrees.
  • Fixed a bug where resumed sessions could be invisible when the working directory involved symlinks, because the session storage path was resolved at different times during startup. Also fixed session data loss on SSH disconnect by flushing session data before hooks and analytics in the graceful shutdown sequence.
  • Linux: Fixed native modules not loading on systems with glibc older than 2.30 (e.g., RHEL 8)
  • Fixed memory leak in agent teams where completed teammate tasks were never garbage collected from session state
  • Fixed CLAUDE_CODE_SIMPLE to fully strip down skills, session memory, custom agents, and CLAUDE.md token counting
  • Fixed /mcp reconnect freezing the CLI when given a server name that doesn't exist
  • Fixed memory leak where completed task state objects were never removed from AppState
  • Added support for isolation: worktree in agent definitions, allowing agents to declaratively run in isolated git worktrees.
  • CLAUDE_CODE_SIMPLE mode now also disables MCP tools, attachments, hooks, and CLAUDE.md file loading for a fully minimal experience.
  • Fixed bug where MCP tools were not discovered when tool search is enabled and a prompt is passed in as a launch argument
  • Improved memory usage during long sessions by clearing internal caches after compaction
  • Added claude agents CLI command to list all configured agents
  • Improved memory usage during long sessions by clearing large tool results after they have been processed
  • Fixed a memory leak where LSP diagnostic data was never cleaned up after delivery, causing unbounded memory growth in long sessions
  • Fixed a memory leak where completed task output was not freed from memory, reducing memory usage in long sessions with many tasks
  • Improved startup performance for headless mode (-p flag) by deferring Yoga WASM and UI component imports
  • Fixed prompt suggestion cache regression that reduced cache hit rates
  • Fixed unbounded memory growth in long sessions by capping file history snapshots
  • Added CLAUDE_CODE_DISABLE_1M_CONTEXT environment variable to disable 1M context window support
  • Opus 4.6 (fast mode) now includes the full 1M context window
  • VSCode: Added /extra-usage command support in VS Code sessions
  • Fixed memory leak where TaskOutput retained recent lines after cleanup
  • Fixed memory leak in CircularBuffer where cleared items were retained in the backing array
  • Fixed memory leak in shell command execution where ChildProcess and AbortController references were retained after cleanup
System prompt

The system prompt was not captured for this release, so this page cannot say whether it moved.