Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 860 Bytes

File metadata and controls

24 lines (16 loc) · 860 Bytes

Claude Code Source

Complete TypeScript source code of Anthropic's Claude Code CLI (v2.1.88), extracted from the cli.js.map source map file shipped in the npm package on March 31, 2026.

Stats

  • 1,906 files
  • 515,029 lines of TypeScript
  • Version: 2.1.88
  • Extracted from: @anthropic-ai/claude-code npm package → cli.js.map (59.8MB)

How This Was Extracted

npm pack @anthropic-ai/claude-code@2.1.88 --registry https://registry.npmjs.org
tar -xzf anthropic-ai-claude-code-2.1.88.tgz
# Parse cli.js.map → extract sourcesContent → write to files

The source map (cli.js.map) contains a sourcesContent array with the full, unobfuscated original TypeScript for every source file.

Disclaimer

All intellectual property belongs to Anthropic. This repository is for educational and research purposes only.