by oboard
Runnable ClaudeCode source code
# Add to your Claude Code skills
git clone https://github.com/oboard/claude-code-rev
This repository is a restored Claude Code source tree reconstructed primarily from source maps and missing-module backfilling.
It is not the original upstream repository state. Some files were unrecoverable from source maps and have been replaced with compatibility shims or degraded implementations so the project can install and run again.
bun install succeeds.bun run version succeeds.bun run dev now routes through the restored CLI bootstrap instead of the temporary dev-entry shim.bun run dev --help shows the full command tree from the restored CLI.Recent restoration work has recovered several pieces beyond the initial source-map import:
claude-api and verify has been rewritten from placeholder files into usable reference docsRemaining gaps are mostly private/native integrations where the original implementation was not recoverable from source maps, so those areas still rely on shims or reduced behavior.
Source maps do not contain a full original repository:
This repository fills those gaps enough to produce a usable, runnable restored workspace.
Requirements:
Install dependencies:
bun install
Run the restored CLI:
bun run dev
Print the restored version:
bun run version

这个仓库是一个主要通过 source map 逆向还原、再补齐缺失模块后得到的 Claude Code 源码树。
它并不是上游仓库的原始状态。部分文件无法仅凭 source map 恢复,因此目前仍包含兼容 shim 或降级实现,以便项目可以重新安装并运行。
bun install 可以成功执行。bun run version 可以成功执行。bun run dev 现在会通过还原后的真实 CLI bootstrap 启动,而不是临时的 dev-entry。bun run dev --help 可以显示还原后的完整命令树。最近一轮恢复工作已经补回了最初 source-map 导入之外的几个关键部分:
claude-api 和 verify 的 bundled skill 内容已经从占位文件恢复为可用参考文档当前剩余缺口主要集中在私有或原生集成部分,这些实现无法仅凭 source map 完整恢复,因此这些区域仍依赖 shim 或降级行为。
source map 本身并不能包含完整的原始仓库:
这个仓库的目标是把这些缺口补到“可用、可运行”的程度,形成一个可继续修复的恢复工作区。
环境要求:
安装依赖:
bun install
运行恢复后的 CLI:
bun run dev
输出恢复后的版本号:
bun run version
No comments yet. Be the first to share your thoughts!