Back to List
Notice:This resource is provided by a third-party author. Please review the code with AI tools or manually before use to ensure security and compatibility.
TypeScripthuangserva/claude-code-cli

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/Team 协作 l 7. 认证与策略 8. 辅助服务 等

47.3/100
504Forks: 1.2K
View on GitHub
Loading report...

Similar Projects

openclaw

93

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

TypeScript348.1K

n8n

97

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

TypeScript182.5K

opencode

84

The open source coding agent.

TypeScript137.2K

dify

94

Production-ready platform for agentic workflow development.

TypeScript135.9K
Back to List