{"id":50292227,"url":"https://github.com/oratis/deepcode","last_synced_at":"2026-05-28T06:16:00.714Z","repository":{"id":360729659,"uuid":"1251330559","full_name":"oratis/deepcode","owner":"oratis","description":"claude code, but much cheaper, powered by deepseek","archived":false,"fork":false,"pushed_at":"2026-05-27T16:54:46.000Z","size":270,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-27T17:24:38.523Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oratis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-27T13:24:34.000Z","updated_at":"2026-05-27T16:54:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/oratis/deepcode","commit_stats":null,"previous_names":["oratis/deepcode"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/oratis/deepcode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oratis%2Fdeepcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oratis%2Fdeepcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oratis%2Fdeepcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oratis%2Fdeepcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oratis","download_url":"https://codeload.github.com/oratis/deepcode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oratis%2Fdeepcode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33596537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-28T06:16:00.619Z","updated_at":"2026-05-28T06:16:00.699Z","avatar_url":"https://github.com/oratis.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# DeepCode\n\n**Claude Code 的 DeepSeek 版** —— 完整复刻 Claude Code 全部能力，底层 LLM 切换到 **DeepSeek**\n\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n[![Status](https://img.shields.io/badge/status-pre--alpha-orange.svg)](docs/DEVELOPMENT_PLAN.md)\n\n\u003c/div\u003e\n\n---\n\n\u003e **当前状态**：📐 **设计阶段（M0）**。开发方案 v0.5 与视觉设计 v0.4 已锁定，工程实现尚未开始。  \n\u003e 不要把这个 repo 当作可用产品 —— 它现在只是设计文档与 mockup。\n\n## 这是什么\n\n如果你在用 **Claude Code**（Anthropic 的 AI 编程 CLI / 桌面客户端）但希望底层模型用 **DeepSeek** 而不是 Claude，DeepCode 就是为你做的。\n\n我们的目标是：\n\n- ✅ **完整复刻** Claude Code 的全部能力 —— 工具调用 / MCP / 子代理 / hooks / skills / plugins / harness / sandbox / checkpointing / 输出风格 / effort levels\n- ✅ **两种形态**：Node.js CLI + Mac 客户端（v1.1+ 追加 VS Code + JetBrains 扩展）\n- ✅ **零迁移成本**：settings.json / hooks / MCP servers / 自定义命令格式与 Claude Code 1:1 对齐；用户可直接从 Claude Code 导入配置\n- ✅ **Mac 客户端自动更新**：Claude Code 式 \"Relaunch to update vX.Y.Z\" 浮层\n- ✅ **GitHub Releases** 作为唯一发布渠道，签名 + 公证 + 三通道（stable / beta / nightly）\n\n## 为什么不做（v1）\n\n诚实声明范围边界：\n\n- ❌ **图像输入**（v1 / v1.1 早期）：DeepSeek 无 vision 模型。等官方出 vision 或决策接 Qwen-VL fallback\n- ❌ **Windows GUI**：CLI 在 WSL2 跑 Linux 版即可；不出 Windows 安装\n- ❌ **Managed/MDM 配置层**：v1 不是企业产品\n- ❌ **多账号 / 多 provider 切换 UI**：架构留扩展点，v1 仅 DeepSeek\n- ❌ **云同步 / 协作 / 远程会话**：DeepCode 是本地工具\n\n完整 WON'T 列表见 `docs/DEVELOPMENT_PLAN.md` §0.2。\n\n## 怎么用（pre-alpha 设计稿，尚不可用）\n\n实际可用后的预期：\n\n```bash\n# 安装 CLI\nnpm i -g deepcode-cli\n\n# 首次启动 — 填入 DeepSeek API Key\ndeepcode\n\n# 一次性 headless 模式（CI 用）\ndeepcode -p \"fix the bug in src/auth.ts\"\n\n# 切到 plan mode\ndeepcode --mode plan\n\n# 切到 R1 + Deep effort\ndeepcode --model deepseek-reasoner --effort high\n```\n\nMac 客户端：拖入 Applications → 首启完成 onboarding（3 步：介绍 / 填 key / 选模型）。\n\n详见 `docs/DEVELOPMENT_PLAN.md` §5 CLI 安装路径与全套 flags。\n\n## 文档地图\n\n| 文件                                                                         | 内容                                                                                                                                                                    | 必读?  |\n| ---------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ |\n| [docs/DEVELOPMENT_PLAN.md](docs/DEVELOPMENT_PLAN.md)                         | **整体开发方案 v0.5**（1500+ 行，含 §3.x 关键模块、§6 里程碑、§7 风险）                                                                                                 | ✅     |\n| [docs/VISUAL_DESIGN.html](docs/VISUAL_DESIGN.html)                           | **视觉设计 v0.4**（11 屏 mockup：onboarding / CLI REPL / Mac 主视图 / composer / 文件面板 / 命令面板 / plan mode / plugins / settings / MCP manager / 自动更新 banner） | ✅     |\n| [docs/design/sandbox-plan-worktree.md](docs/design/sandbox-plan-worktree.md) | sandbox × plan mode × worktree 三者关系矩阵 + 状态机 + 测试场景                                                                                                         | ✅     |\n| [docs/design/plugin-security.md](docs/design/plugin-security.md)             | plugin 安全模型：威胁模型 / sandbox 子进程 / hash pin / 信任 ladder / kill switch                                                                                       | ✅     |\n| [docs/design/effort-levels.md](docs/design/effort-levels.md)                 | effort 5 档到 DeepSeek API 参数映射 + M1 实测计划                                                                                                                       | ✅     |\n| [CONTRIBUTING.md](CONTRIBUTING.md)                                           | 贡献指南 / 开发环境 / commit message 规范 / 测试要求                                                                                                                    | 贡献者 |\n\n## 现在的进度\n\n✅ **M0 · 完成**\n\n- [x] 开发方案 v0.5 (15 周 v1 + 4 周 v1.1)\n- [x] 视觉设计 v0.4（11 屏）\n- [x] 3 份必出设计文档（sandbox×plan×worktree / plugin 安全 / effort levels）\n- [x] CONTRIBUTING.md / SECURITY.md\n- [x] README skeleton（本文件）\n- [x] monorepo 骨架（pnpm workspaces / TS project references / Vitest / Prettier / GHA CI）\n- [x] `pnpm install \u0026\u0026 pnpm typecheck \u0026\u0026 pnpm build \u0026\u0026 pnpm test` 全绿\n- [ ] 第一份 BEHAVIOR_PARITY.md 框架（M3 开始填）\n\n⏸ **M1 · 内核 MVP**（next）：DeepSeekProvider + agent loop + 6 P0 工具 + sessions(jsonl) + 文件快照 + trust dialog 基础。详见 `docs/DEVELOPMENT_PLAN.md` §6 里程碑表。\n\n## 命名由来\n\n- **Deep** = DeepSeek 的 Deep + 深度思考的 Deep\n- **Code** = 编程\n- Logo：纯白猫头剪影（两尖耳 + 圆头），承载于品牌蓝 (`#4D6BFE`) 渐变方块\n\n## 致谢\n\n- **Anthropic** 的 [Claude Code](https://github.com/anthropics/claude-code) —— 我们的对齐基准\n- **DeepSeek** —— 提供模型与 API\n- **[LISA](https://github.com/oratis/LISA)** —— 内核 agent loop / MCP client / 工具实现的设计蓝本\n- MCP 生态社区 —— Model Context Protocol 协议本身\n\n## 许可\n\n[MIT](LICENSE)\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n📬 [GitHub Issues](https://github.com/oratis/deepcode/issues) · [Discussions](https://github.com/oratis/deepcode/discussions)\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foratis%2Fdeepcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foratis%2Fdeepcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foratis%2Fdeepcode/lists"}