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.
- 1,906 files
- 515,029 lines of TypeScript
- Version: 2.1.88
- Extracted from:
@anthropic-ai/claude-codenpm package →cli.js.map(59.8MB)
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 filesThe source map (cli.js.map) contains a sourcesContent array with the full, unobfuscated original TypeScript for every source file.
All intellectual property belongs to Anthropic. This repository is for educational and research purposes only.