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 of v0.2.36 Home All releases olderv0.2.35 v0.2.37newer
Claude Code v0.2.36

Improvements

Auto-Compact Enhancement

The /compact command has been significantly improved:

  • Better conversation summarization using a more sophisticated prompt template
  • Improved error handling with clearer user messages
  • The summary now includes structured sections:
  1. Primary Request and Intent
  2. Key Technical Concepts
  3. Files and Code Sections
  4. Problem Solving
  5. Pending Tasks
  6. Current Work
  7. Next Step Recommendation

Error messages are now more helpful:

  • "Not enough messages to compact." - when conversation is too short
  • "Conversation too long. Press esc to go up a few messages and try again." - when hitting API limits
  • "API Error: Request was aborted." - for network issues

Diff Display Improvements

The code diff display now supports:

  • Option to hide line numbers with the hideLineNumbers parameter
  • Option to skip unchanged lines with the skipUnchanged parameter
  • Enhanced word-level diff highlighting for better readability

File Reading Enhancements

  • New token counting for file content to prevent API overload
  • Better error messages when files exceed size limits:
  • Size-based: "File content (XKB) exceeds maximum allowed size (YKB)"
  • Token-based: "File content (X tokens) exceeds maximum allowed tokens (Y)"
  • Improved handling of large file reads with streaming support

Shell Improvements

The persistent shell has been optimized:

  • Better tracking of working directory changes with a "dirty" flag
  • Reduced unnecessary pwd calls for better performance
  • Enhanced logging for debugging shell operations
  • Fixed initialization timeout for shell configuration loading

Platform Detection

New environment detection capabilities:

  • isWslEnvironment: Detects if running in WSL
  • isNpmFromWindowsPath: Detects if npm is being run from Windows path in WSL

Configuration

New configuration option added:

  • autoCompactEnabled: Control automatic conversation compacting (default: true)

See this entry in the whole of v0.2.36 →