---
agent:
  instructions: "Search published articles with space-separated keywords. All terms must occur in the article text. Results are Markdown excerpts with canonical links, newest first."
  endpoint: "https://www.zaihua.news/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://www.zaihua.news/docs/api/#agent-search"
---

# GitHub 出现 Claude Code 非官方还原仓库，称从公开 npm 包还原 4756 个文件

Source: https://www.zaihua.news/article/40621/

[返回新闻流](https://www.zaihua.news/)
2026年3月31日 · 17:33 · [在花新闻](https://www.zaihua.news/about/)

# GitHub 出现 Claude Code 非官方还原仓库，称从公开 npm 包还原 4756 个文件

GitHub 上出现名为 claude-code-sourcemap 的非官方仓库，项目通过公开 npm 包 @anthropic-ai/claude-code 附带的 source map 文件 cli.js.map 中的 sourcesContent 字段，还原出 Claude Code 2.1.88 的 TypeScript 源码，共 4756 个文件，其中包括 1884 个 .ts 与 .tsx 源文件。

仓库说明写明，这一内容系根据公开发布包与 source map 分析整理，不代表官方原始内部开发仓库结构，仅供研究使用。页面列出的还原目录涵盖 CLI 入口、工具、命令、服务、插件、语音交互和 Vim 模式等模块，并注明源码版权归 Anthropic 所有。

[GitHub](https://github.com/ChinaSiro/claude-code-sourcemap)

警告：不要试图使用 Claude Code 链接此仓库！上报的信息中包括的 remote url 的 hash！识别后可能导致账户风险！

🌸 [在花频道｜](http://t.me/ZaiHuaPd)[茶馆讨论｜](http://t.me/zaihuachat)[投稿通道](http://t.me/ZaiHuabot)

[上一条B站 4 月 1 日零点起下线“猜你喜欢”算法](https://www.zaihua.news/article/40620/)[下一条 Meta 测试 Instagram Plus 订阅服务 付费用户可秘密查看 Stories](https://www.zaihua.news/article/40622/)
