beyondlong

我发现 `@anthropic-ai/claude-code@2.1.88` 的 npm 包里曾经带有 `cli.js.map`,于是基于这份 source map,恢复出了一套可阅读的 TypeScript 源码目录。

11
13
100% credibility
Found Apr 07, 2026 at 11 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

Claude Code is a terminal-based AI assistant that helps users understand, edit, review, and manage code projects through natural language commands and remote control features.

How It Works

1
🖥️ Open Claude Code in your project

Launch the helpful coding assistant right in your folder where your code lives.

2
💬 Ask about your code

Type a question like 'explain this function' and see friendly AI suggestions appear.

3
Get smart code help

Claude reads your files, spots issues, and offers fixes that feel just right for your project.

4
✏️ Edit with simple commands

Say 'fix this bug' or 'add a feature' and watch changes happen safely with previews.

5
Continue anywhere
📱
On mobile

Pick up coding on your phone with the same conversation.

🖥️
On web

Switch to browser for bigger screen and easy sharing.

Code magic complete

Your project is improved, bugs fixed, and you're ready to build more with AI by your side.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 11 to 11 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is claude_code_sources?

This repo recovers readable TypeScript sources from the `@anthropic-ai/claude-code@2.1.88` npm package using a leaked source map from `cli.js.map`, giving developers a deobfuscated view of Claude Code's internals. Claude Code is Anthropic's AI-powered coding assistant with a REPL, slash commands like `/init` and `/compact`, and tool integrations for git, tasks, and sessions. Users get a clean TypeScript codebase to study settings, commands, and bridges without digging through minified npm bundles.

Why is it gaining traction?

With official sources unavailable, it scratches the itch for devs reverse-engineering Claude's code settings sources to customize workflows or debug integrations. The hook is instant access to real implementation details—like cost tracking, history management, and bridge APIs—without waiting for Anthropic disclosures. Early adopters value peeking under the hood of a production AI CLI used in terminals worldwide.

Who should use this?

Claude power users tweaking session configs or building plugins; AI tooling hackers extending npm-based agents; reverse engineers analyzing Anthropic's TypeScript patterns for git ops, REPLs, or MCP servers.

Verdict

Grab it if you're knee-deep in Claude code settings sources and need a TypeScript reference—11 stars and 1.0% credibility reflect its niche, fresh status, but sparse docs mean verifying changes yourself. Solid for experimentation, skip for production forks until more battle-tested.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.