{"repo":"Tinkeringg-Lab/claude-code","free":true,"listed":false,"github":"https://github.com/Tinkeringg-Lab/claude-code","clone":"git clone https://github.com/Tinkeringg-Lab/claude-code.git","description":"An independent Python feature port of Claude Code, entirely rewritting from scratch using oh-my-codex. Educational Purpose only.","language":"TypeScript","stars":212,"topics":["anthropic","anthropic-claude","claude","claude-code","claude-cowork","claude-skills","codex","coding-agent","open-claude-code","claude-code-open"],"license":null,"category":"cli-tools","readme_excerpt":"Claude Code — Leaked Source (2026-03-31) On March 31, 2026, the full source code of Anthropic's Claude Code CLI was leaked via a .map file exposed in their npm registry. --- How It Leaked Chaofan Shou (@Fried rice) discovered the leak and posted it publicly: \"Claude code source code has been leaked via a map file in their npm registry!\" — @Fried rice, March 31, 2026 The source map file in the published npm package contained a reference to the full, unobfuscated TypeScript source, which was downloadable as a zip archive from Anthropic's R2 storage bucket. --- Overview Claude Code is Anthropic's official CLI tool that lets you interact with Claude directly from the terminal to perform software engineering tasks — editing files, running commands, searching codebases, managing git workflows, and more. This repository contains the leaked src/ directory. - Leaked on : 2026-03-31 - Language : TypeScript - Runtime : Bun - Terminal UI : React + Ink (React for CLI) - Scale : 1,900 files, 512,000+ lines of code --- Directory Structure --- Core Architecture 1. Tool System ( src/tools/ ) Every tool Claude Code can invoke is implemented as a self-contained module. Each tool defines its input schema, permission model, and execution logic. Tool Description --- --- BashTool Shell command execution FileReadTool File reading (images, PDFs, notebooks) FileWriteTool File creation / overwrite FileEditTool Partial file modification (string replacement) GlobTool File pattern matching search GrepTool","default_branch":null,"files":null,"tree":[],"storefront":"/r/Tinkeringg-Lab","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Tinkeringg-Lab/claude-code/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}