Understand the Claude Code source structure
masterThis repository is a reconstruction of the @anthropic-ai/claude-code v2.1.88 source code, recovered from source maps. The project follows a modular architecture organized under the src/ directory:
src/entrypoints/: Contains CLI entry points and initialization logic.src/commands/: The command system, including commands likelogin,mcp,review, andtasks.src/components/: Terminal UI components built using React + Ink.src/services/: Core business logic, including strategies, synchronization, and remote capabilities.src/hooks/: State management for interactive terminal sessions.src/utils/: Utility functions for authentication, file operations, and process management.src/ink/: Custom infrastructure for terminal rendering.