claude-code-sourcemap is a reconstructed TypeScript source code repository recovered from source map analysis of a published npm package.
This project addresses the challenge of understanding the internal structure and implementation of the claude-code command-line tool by extracting and reconstructing TypeScript source files from the source map embedded in the compiled npm package. The approach works by analyzing the sourcesContent field within the cli.js.map file to recover the original source code that was minified during publication.
Developers considering this repository should understand that it is an unofficial reconstruction created for research purposes only and does not represent the original internal development repository structure maintained by Anthropic. The recovered source spans thousands of files extracted from a single published package version. This tool is most useful for those studying how the claude-code CLI is implemented or conducting technical research into the tool's architecture, rather than for direct development or commercial use.
The project is a static archive of reconstructed source code with no active development activity indicated. It serves as a snapshot of a specific package version preserved for reference and research purposes.