Illustration drawn by RepoMasters from the repo’s ID and its language color. Credits
AlphaUncommon

huangserva/claude-code-cli

这是 Claude Code 的 CLI 客户端主体(src/ 目录),即整个终端交互层的源码。具体包含: 1. CLI 入口与命令解析 — main.tsx(4684行)、entrypoints/(CLI 模式、SDK 模式、MCP 模式) 2. 终端 UI 渲染 — components/(144 个组件,用 React + Ink 渲染终端界面) 3. 工具系统 — tools/(43 个工具,Bash、文件读写编辑、Grep、Glob、Web 搜索等) 4. API 通信层 — services/api/(与 Anthropic 后端通信) 5. MCP 协议 6. 多 Agent/…

Owner
huangserva (personal account)
Stars
Stars: 631
Forks
Forks: 1,299
Language
TypeScript
License
None
Created
2026
Tier
Alpha (250 to 699 ★) What this tier means
View on GitHub

More repos by huangserva

All 6 repos by huangserva

Nearby in TypeScript

All TypeScript repos