main.tsx Entry Point

Description

CLI entry point of Claude Code, ~4,684 lines / ~785KB bundle (803KB source); hosts main(), run(), entrypoint initialization, migrations, settings loading, startup telemetry, and the dispatch wiring that launches the REPL or non-interactive mode.

Key claims

Relations

Sources

src-20260419-f46b0a2fccd9