ponponon/claude_code_src resource
2026.3.31 claude code 意外把包含源码的文件上传到 npm 仓库,版本号是 2.1.88,其中 cli.js.map 文件有 57MB 的体积,claude code 的源码在该文件的 sourcesContent 字段里面,解压还原后有 70w 行代码 observed · 2026-08-28
Health v2 · maintenance only
53/100
- Activity 77
- Release rhythm 45
- Longevity 11
Flags: young no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 155
- days_rel: 154
- days_push: 140
- n_releases_24m: 1
Adoption not part of the score
2335 stars · 3528 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A reconstructed source tree of Anthropic's Claude Code CLI (version 2.1.88), recovered from the sourcesContent field of the cli.js.map source map accidentally published to npm. It preserves the original src/ layout (entrypoints, commands, components, services, hooks, utils, ink) for reading and studying the CLI's architecture.
Use cases
- study how claude code implements its cli architecture
- read the source of claude code's command system
- learn how mcp is integrated in a real cli agent tool
- understand how react and ink build terminal uis
- explore feature flag and plugin loading patterns in a production cli
- recover claude code 2.1.88 source for archival and analysis
When to choose
- you want to read or research the internal architecture of claude code
- you need the archived 2.1.88 source because it was pulled from npm
- you are studying terminal UI, MCP integration, or CLI command loading patterns
When to avoid
- you want an officially supported or runnable claude code installation
- you need code you can legally redistribute or use commercially
- you expect a maintained project with a license, package., or working build
Facets
learning-resource · maturity experimental
developer-tools cli mcp agent-framework chatbot developer-tools artificial-intelligence large-language-models tutorials cli cross-platform claude-code source-recovery source-map reverse-engineering typescript ink react archived-source research-only command-line ai-agents nodejs
1 source
- readme: https://github.com/ponponon/claude_code_src · fetched 2026-08-28 · 35303faa6392
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ponponon/claude_code_src | main | 53 |
For agents
markdown · JSON · MCP: product_card(name="ponponon/claude_code_src")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem