$ cat /analysis/claude-code/v2.1.88/summary.md
Inside Claude Code
An interactive architecture study based on the March 2026 source analysis. 1,902 TypeScript files. 28 subsystems. Every tool, command, and hidden feature — mapped.
1,902
TypeScript Files
207
Commands
184
Tools
28
Subsystems
44
Feature Flags
// disclaimer: This is an educational study tool, not a source distribution site. All analysis is based on publicly available community research of the leaked npm source maps.
## Timeline
Feb 2025
First source leak
Source maps included in npm package — quickly patched.
Mar 31, 2026
Second leak — v2.1.88
npm .map file exposes full TypeScript source. Community analysis begins within hours.
Apr 2026
Community analysis
Multiple deep dives published. Architecture documented. Feature flags cataloged.
## What Leaked
package: @anthropic-ai/claude-code@2.1.88
artifact: cli.mjs.map (npm source map)
contents: Full TypeScript source — components, tools, commands, services, system prompts
prior_leak: Feb 2025 — similar .map exposure, quickly patched
system_prompts: Assembled client-side, not server-side
## Explore
>_
Architecture Deep Dive
Bootstrap flow, runtime loop, tool system, command registry, permissions
##
Hidden Features
44 feature flags — shipped, unshipped, and internal-only
$$
Interactive Explorer
Search and filter all 207 commands and 184 tools
%%
Subsystems Map
28 subsystems from 389-file components to 1-file voice module
??
Code Archaeology
460 eslint-disables, hex-encoded ducks, and the 803KB main.tsx
!!
Lessons for Builders
Architecture patterns, tool design, and multi-agent strategies to steal