Skip to content

bugbug9999/claude-code

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Claude Code (Reconstructed Local Build)

This repository contains a reconstructed and locally executable version of the Claude Code CLI source code. The initial src/ directory was obtained from a leak/dump of the underlying codebase that powers Anthropic's Claude Code agentic CLI tool.

Because the original leak only contained the raw src/ directory, this repository has been heavily reverse-engineered and patched to allow it to compile and run outside of Anthropic's internal monorepo environments.

Prerequisites

  • Bun (JavaScript runtime and package manager)

Running Locally

To install the dependencies and start the CLI in development/watch mode:

# 1. Install dependencies mapped in package.json
bun install

# 2. Run the main CLI entrypoint in watch mode
bun run dev

Alternatively, you can run the primary entrypoint directly:

bun run src/entrypoints/cli.tsx

Disclaimer

This codebase is provided for educational and research purposes to understand the architecture of agentic code assistants. The core intelligent functionality inevitably relies on Anthropic's external LLMs and cloud infrastructure. Certain features (like internal Chrome MCP tools or Workflow execution) are stubbed and non-functional.

About

Claude code study

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 100.0%