Switch language한국어
Back to the list

Inside Claude Code’s leaked source: swarms, daemons, and 44 features Anthropic kept behind flags

TL;DR AI

Key summary

2 min read
  1. Anthropic shipped Claude Code v2.1.88 with a 59.8 MB source map that exposed 512,000 lines of unobfuscated TypeScript across about 1,900 files.

  2. Anthropic pulled the npm package within hours, citing a packaging issue caused by human error; GitHub mirrors had already appeared before removal.

  3. The Register reported the original repository was forked over 41,500 times before the uploader replaced it with a Python port.

  4. The codebase includes a Tamagotchi-style pet system and 187 "spinner verbs" identified by Wes Bos (examples: Ruminating, Philosophising, Flibbertigibbeting, Photosynthesizing).

  5. The leaked source shows an agent operating-system architecture similar to CrewAI/Google ADK/LangGraph/AWS Strands; the tool system has 40+ separate modules with permission gates, and the base tool definition spans about 29,000 lines of TypeScript for a syscall-like layer.

Read the original