About This Analysis
cc.openonion.aiWhat this site is, how it was made, and who made it.
What Is This Site?
This is a deep-dive analysis of Claude Code v2.1.88 (codename Tengu) — the AI coding assistant built by Anthropic. We extracted the full TypeScript source from the npm package's source map and did a thorough code archaeology pass.
The result: 10 pages covering architecture, the query loop, tools, permissions, agents, services, context & memory, and the hidden easter eggs buried in 512K lines of TypeScript.
How It Was Made
Claude Code ships as a compiled npm package. The source map (cli.js.map) contains the full original TypeScript, which we extracted and analyzed using static analysis and manual reading.
Method: extract → grep for patterns → trace call graphs → document findings → build this site. No automated code generation was used for the analysis itself.
Disclaimer
Made By
We build tools for AI-native developers. ConnectOnion is an open-source Python/TypeScript SDK for building AI agents. This analysis is our gift to the Claude Code community.
Ready to explore?
Start with Architecture for the big picture, or Fun Facts if you just want to be delighted.