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 v2.0.14 Home All releases olderv2.0.13 v2.0.15newer
Claude Code v2.0.14

Platform-Aware User Directory Detection

What: Added cross-platform support for detecting standard user directories (Desktop, Documents, Downloads) with platform-specific environment variable handling.

How it works:

  • Windows: Uses USERPROFILE environment variable
  • Linux/WSL: Respects XDG directory specifications (XDG_DESKTOP_DIR, XDG_DOCUMENTS_DIR, XDG_DOWNLOAD_DIR)
  • macOS: Uses standard home directory paths
  • Unknown platforms: Falls back to default paths with a warning

Details:

  • Automatically detects the operating system and applies appropriate path resolution
  • Provides directory categorization to identify if a path is "home", "desktop", "documents", "downloads", or "other"
  • Evidence: Im1() at line 301093 and Yi0() at line 455838 in v2.0.14

See this entry in the whole of v2.0.14 →