# ChinaSiro/claude-code-sourcemap

Repository: https://github.com/ChinaSiro/claude-code-sourcemap
Canonical: https://ross.abutalabs.com/products/claude-code-sourcemap
Homepage: https://linux.do/u/huo0
Language: TypeScript
License Family: other
Last push: 2026-03-31T08:30:55+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": 155, "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 9639, forks 14633 (observed 2026-08-28T04:10:36.484405+00:00)

## What it is
An unofficial repository of TypeScript source code reconstructed from the source map (cli.js.map) shipped inside Anthropic's @anthropic-ai/claude-code npm package, version 2.1.88. It restores roughly 4,756 files including tool implementations, commands, services, and agent coordination logic, and is intended for research and study only.

## Use cases
- study how claude code cli is implemented internally
- understand how an ai coding agent orchestrates tools like bash and file edit
- learn how mcp integration is implemented in a production cli agent
- research multi-agent coordinator patterns in claude code
- explore the plugin and skills system of claude code
- analyze how source maps can leak original sources from npm packages

## When to choose
- you want to read reconstructed source of claude code for research or learning
- you are studying agent tool orchestration, mcp, or plugin architecture in a real product
- you want to demonstrate the risks of shipping source maps in published npm packages

## When to avoid
- you need an official, supported claude code installation - use the official npm package instead
- you need a license to use, modify, or redistribute the code - the copyright belongs to Anthropic and none is granted
- you want production-ready software rather than a static research snapshot

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: developer-tools, cli, agent-framework, mcp, plugin-system
- domain: developer-tools, artificial-intelligence, large-language-models, tutorials
- platform: cli, cross-platform
- tags: claude-code, source-map, reverse-engineering, reconstructed-source, anthropic, typescript, research-only, unofficial, command-line, ai-agents, nodejs

## Member repositories
- ChinaSiro/claude-code-sourcemap (main) score 48

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:36.484405+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-29T17:21:20.461141+00:00, confidence not recorded.
  - readme: https://github.com/ChinaSiro/claude-code-sourcemap (fetched 2026-08-28T04:10:36.484405+00:00, sha d6a78962a73c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
