# pengchengneo/Claude-Code

可运行的Claude Code源码

Repository: https://github.com/pengchengneo/Claude-Code
Canonical: https://ross.abutalabs.com/products/pengchengneo-claude-code
Language: TypeScript
License Family: other
Last push: 2026-04-01T04:32:24+00:00

## Health v2 (maintenance only)
Score: 48/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 75, release rhythm 35, longevity 11
- inputs: {"age_days": 155, "days_push": 154, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, young, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1761, forks 2599 (observed 2026-08-28T04:05:32.636050+00:00)

## What it is
An unofficial reconstruction of the full TypeScript source code of Anthropic's Claude Code CLI, recovered from the npm package's source maps and runnable locally with Bun. It also documents hidden, feature-flagged capabilities discovered in the source, such as a virtual pet system, persistent assistant mode, cloud planning, and multi-agent orchestration.

## Use cases
- study how Claude Code CLI works internally
- run Claude Code from source locally
- learn how AI coding agents are architected
- explore hidden feature-flagged capabilities in Claude Code
- understand multi-agent orchestration patterns
- research terminal AI assistant design

## When to choose
- you want to read or research the internals of Claude Code
- you need a locally runnable version of the Claude Code source for study
- you're curious about undocumented features gated behind compile flags

## When to avoid
- you want an officially supported Claude Code installation for daily work
- you need a license-clean dependency (the source is Anthropic's copyrighted code)
- you need production stability or official support

## Facets
- artifact type: learning-resource
- maturity: experimental
- function: cli, agent-framework, llm-inference, developer-tools
- domain: developer-tools, large-language-models, tutorials
- platform: cli, bun, cross-platform
- tags: claude-code, reverse-engineered-source, source-map-recovery, unofficial, anthropic, coding-assistant, research, hidden-features, typescript, command-line, ai-agents, nodejs

## Member repositories
- pengchengneo/Claude-Code (main) score 48

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:32.636050+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:27:12.092912+00:00, confidence not recorded.
  - readme: https://github.com/pengchengneo/Claude-Code (fetched 2026-08-28T04:05:32.636050+00:00, sha ea69c998bea4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
