Discover and explore top open-source AI tools and projects—updated daily.
ponpononClaude Code CLI architecture reconstruction
New!
Top 22.6% on SourcePulse
This repository reconstructs the source code for @anthropic-ai/claude-code version 2.1.88, recovered from a large source map file inadvertently published to npm. It targets developers and researchers analyzing the CLI architecture, command system, and Model Context Protocol (MCP) implementation of this specific Claude Code release. The project provides access to ~700,000 lines of previously unavailable source code for in-depth study.
How It Works
The project extracts source code from the cli.js.map file associated with @anthropic-ai/claude-code@2.1.88, hosted on a Tencent cloud npm mirror. This 57MB source map contains the complete source code within its sourcesContent field. The repository unpacks and organizes this code into a structured directory, mirroring the original project's organization. Key components include CLI entry points, command system, React+Ink terminal UI, services, hooks, and utilities, enabling detailed examination of the CLI's internal design.
Quick Start & Requirements
npm install -g https://mirrors.cloud.tencent.com/npm/@anthropic-ai/claude-code/-/claude-code-2.1.88.tgz (via Tencent mirror).npm, Node.js.1 day ago
Inactive