2026.3.31 claude code 意外把包含源码的文件上传到 npm 仓库,版本号是 2.1.88,其中 cli.js.map 文件有 57MB 的体积,claude code 的源码在该文件的 sourcesContent 字段里面,解压还原后有 70w 行代码
This repository archives the recovered TypeScript source code of Claude Code version 2.1.88, extracted after Anthropic accidentally published a 57 MB source map file (cli.js.map) to npm on March 31, 2026. The sourcesContent field within that map was used to reconstruct approximately 700,000 lines of readable source code before the package was pulled from the official npm registry. The recovered structure includes src/entrypoints/ for CLI initialization, src/commands/ covering built-in commands such as login, mcp, review, and tasks, src/components/ containing terminal UI built with React and Ink, src/services/ for core business logic, and src/utils/ for authentication and file operations. The code also exposes how Claude Code implements the Model Context Protocol internally and manages feature flags at build time. The repository is intended for researchers and developers studying Claude Code's CLI architecture, MCP integration patterns, and terminal rendering infrastructure, and carries a disclaimer that all original copyright remains with Anthropic.
- ✓Recently active
- ✓Healthy fork ratio
- ✓Clear description
- ✓Documented (README)
- !No standard license detected
git clone https://github.com/ponponon/claude_code_srcTools overview
What people ask about claude_code_src
What is ponponon/claude_code_src?
+
ponponon/claude_code_src is tools for the Claude AI ecosystem. 2026.3.31 claude code 意外把包含源码的文件上传到 npm 仓库,版本号是 2.1.88,其中 cli.js.map 文件有 57MB 的体积,claude code 的源码在该文件的 sourcesContent 字段里面,解压还原后有 70w 行代码 It has 2.3k GitHub stars and was last updated 1mo ago.
How do I install claude_code_src?
+
You can install claude_code_src by cloning the repository (https://github.com/ponponon/claude_code_src) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is ponponon/claude_code_src safe to use?
+
Our security agent has analyzed ponponon/claude_code_src and assigned a Trust Score of 67/100 (tier: OK). See the full breakdown of passed checks and flags on this page.
Who maintains ponponon/claude_code_src?
+
ponponon/claude_code_src is maintained by ponponon. The last recorded GitHub activity is from 1mo ago, with 6 open issues.
Are there alternatives to claude_code_src?
+
Yes. On ClaudeWave you can browse similar tools at /categories/tools, sorted by popularity or recent activity.
Deploy claude_code_src to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/ponponon-claude-code-src)<a href="https://claudewave.com/repo/ponponon-claude-code-src"><img src="https://claudewave.com/api/badge/ponponon-claude-code-src" alt="Featured on ClaudeWave: ponponon/claude_code_src" width="320" height="64" /></a>More Tools
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman
AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs, papers, images, or videos into a queryable knowledge graph. App code + database schema + infrastructure in one graph.
A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies