MCPcopy Index your code
hub / github.com/alex000kim/claude-code

github.com/alex000kim/claude-code @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
11,802 symbols 42,349 edges 1,902 files 1,595 documented · 14%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Claude Code Source Leak Analysis

On March 31, 2026, Anthropic accidentally shipped a source map file in the Claude Code npm package, exposing the complete readable source code of their CLI tool.

Blog post: alex000kim.com/posts/2026-03-31-claude-code-source-leak

Extension points exported contracts — how you extend this code

IParsedCommand (Interface)
(no doc) [4 implementers]
src/utils/bash/ParsedCommand.ts
Props (Interface)
(no doc)
src/components/ContextVisualization.tsx
InstallProps (Interface)
(no doc)
src/commands/install.tsx
Diagnostic (Interface)
(no doc)
src/services/diagnosticTracking.ts
IDEPathConverter (Interface)
(no doc) [2 implementers]
src/utils/idePathConversion.ts
TeleportResumeWrapperProps (Interface)
(no doc)
src/components/TeleportResumeWrapper.tsx
CheckExistingSecretStepProps (Interface)
(no doc)
src/commands/install-github-app/CheckExistingSecretStep.tsx
DiagnosticFile (Interface)
(no doc)
src/services/diagnosticTracking.ts

Core symbols most depended-on inside this repo

logForDebugging
called by 2724
src/utils/debug.ts
logEvent
called by 1088
src/services/analytics/index.ts
has
called by 699
src/utils/fileStateCache.ts
logError
called by 623
src/utils/log.ts
set
called by 501
src/utils/fileStateCache.ts
max
called by 437
src/utils/fileStateCache.ts
lazySchema
called by 410
src/utils/lazySchema.ts
jsonStringify
called by 367
src/utils/slowOperations.ts

Shape

Function 10,431
Method 1,031
Class 256
Interface 83
Enum 1

Languages

TypeScript100%

Modules by API surface

src/bootstrap/state.ts212 symbols
src/utils/sessionStorage.ts156 symbols
src/native-ts/yoga-layout/index.ts144 symbols
src/utils/messages.ts122 symbols
src/utils/Cursor.ts105 symbols
src/utils/bash/bashParser.ts84 symbols
src/utils/attachments.ts74 symbols
src/utils/auth.ts69 symbols
src/utils/hooks.ts67 symbols
src/services/mcp/client.ts67 symbols
src/utils/sandbox/sandbox-adapter.ts59 symbols
src/ink/ink.tsx54 symbols

For agents

$ claude mcp add claude-code \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact