Skip to main content
ClaudeWave
ponponon avatar
ponponon

claude_code_src

View on GitHub

2026.3.31 claude code 意外把包含源码的文件上传到 npm 仓库,版本号是 2.1.88,其中 cli.js.map 文件有 57MB 的体积,claude code 的源码在该文件的 sourcesContent 字段里面,解压还原后有 70w 行代码

Tools2.3k stars3.5k forksTypeScriptUpdated 1mo ago
Editor's note

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.

ClaudeWave Trust Score
67/100
· OK
Passed
  • Recently active
  • Healthy fork ratio
  • Clear description
  • Documented (README)
Flags
  • !No standard license detected
Last scanned: 6/11/2026
Get started
Method: Clone
Terminal
git clone https://github.com/ponponon/claude_code_src
1. Clone the repository.
2. Follow the README for installation and usage instructions.

Tools overview

README preview not available. Visit the repo on GitHub for full documentation.

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.

Featured on ClaudeWave: ponponon/claude_code_src
[![Featured on ClaudeWave](https://claudewave.com/api/badge/ponponon-claude-code-src)](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