Claude Code 2.1.63: Memory Leaks, HTTP Hooks

Claude Code 2.1.63 ships HTTP hooks for external integrations, crushes a dozen memory leaks in long-running sessions, and adds new slash commands. Major stability win.

Claude Code 2.1.63: Memory Leaks, HTTP Hooks

TL;DR

  • HTTP hooks let you POST to external URLs instead of running shell commands
  • Massive memory leak fixes for long-running sessions and MCP servers
  • New `/simplify` and `/batch` slash commands bundled in
  • VSCode: session management improvements and remote history fix

New

  • /simplify and /batch slash commands — bundled commands now available by default
  • HTTP hooks — POST JSON to external URLs and receive JSON responses instead of shell commands
  • Manual URL paste fallback for MCP OAuth — if localhost redirect fails, paste the callback URL to complete authentication
  • "Always copy full response" option — skip the code block picker in `/copy` and copy the entire response directly
  • VSCode session management — rename and remove actions added to the sessions list
  • Improved /model command — now shows the currently active model in the slash command menu

Fixed

  • Local slash command output (like `/cost`) appearing as user-sent messages instead of system messages
  • File count cache ignoring glob ignore patterns
  • VSCode remote sessions not appearing in conversation history
  • Race condition in REPL bridge causing message ordering issues during initial connection
  • `/clear` not resetting cached skills, causing stale content to persist in new conversations
  • Memory leaks: listener leak in bridge polling loop, MCP OAuth flow cleanup, interactive permission handler, bash command prefix cache, MCP tool/resource cache on reconnect, IDE host IP detection cache, WebSocket listener on transport reconnect, git root detection cache, JSON parsing cache, long-running teammates retaining messages, MCP server fetch caches on disconnect, and progress message payloads in subagent sessions

Improvements

  • Project configs and auto memory now shared across git worktrees of the same repository
  • Added `ENABLE_CLAUDEAI_MCP_SERVERS=false` env var to opt out from making claude.ai MCP servers available
  • Memory usage optimized in long sessions with subagents by stripping heavy progress message payloads during context compaction

Update Claude Code via your IDE's extension manager or see the full release notes.

Source: Claude Code