Zed 推出代码级版本控制 DeltaDB
推荐指数 63.0 NO. 013 · 2026.08.06
发布2026/08/05Score68Comments9
为什么值得看
DeltaDB 是 Zed 编辑器团队的新产品,将版本控制粒度从 commit 下沉到每一次编辑操作,并自动关联产生该代码的 AI 对话上下文。对用 AI 写代码的团队来说,这意味着终于能追溯"这句代码是哪轮 prompt 产出的"。
编辑判断
传统 Git 的 commit 粒度对 AI 编程场景已经不够用了——你可能和 Claude 聊了 20 轮才出一个能跑的函数,但 Git 只记最终结果。DeltaDB 的竞品其实是 Cursor 的 Composer 历史、Windsurf 的 Cascade 回放,以及各类 prompt 管理工具如 PromptLayer。
DeltaDB 的独特之处在于把"代码状态"和"对话状态"做了原生绑定,而不是事后手动关联。如果你团队已经在用 AI 写核心代码但还在用 Git blame 猜某行代码的出处,这是目前唯一把这个问题当一等公民来解的方案。
不过需要警惕的是:这种细粒度历史对存储和同步都是挑战,Zed 目前只开放 Early Access,实际性能和对大型代码库的 scaling 能力还有待验证。建议先在小项目试水,别急着迁移主力 repo。
社区反馈
意见分歧 9 条评论
核心争论:DeltaDB 是创新工具还是 VC 驱动的伪需求,Zed 应专注基础还是 AI 功能
相关内容
Software Is Made Between Commits — Zed's Blog Zed 官方博客介绍 DeltaDB,将其定义为基于统一抽象的新型版本控制系统,将开发者与 AI 代理的对话及工作树编辑转化为共享产物。 Sequoia Backs Zed's Vision for Collaborative Coding 红杉资本领投 Zed 3200 万美元 B 轮融资,文章阐述 DeltaDB 核心理念:协作是持续对话而非离散提交,需捕捉代码塑造中的完整交流。 DeltaDB — Early Access Zed 官方早期访问页面,展示 DeltaDB 实时协作特性:队友可在工作进行中加入、与代理对话并添加注释,无需等待提交推送。
Looks like a great feature/product/functionality. I hope that Zed editor will make it work with LLMs/agents that run in the terminal, not just the Zen Agent itself. Is it even possible? I use OMP.sh agent running in Zed terminal.
It supports anything with ACP. So it can actually run Codex and Claude Code, not just the Zed Agent. Looks like omp supports ACP, so all you have to do is specify a Custom Agent in Zed and it should just work. https://omp.sh/docs/acp https://zed.dev/docs/ai&#x
This is the killer Zed feature, IMO, that they support almost any agent via extensions. I deleted Cursor but still use the agent via Zed because it’s a lot nicer experience, Zed never had popups telling me Grok is half off. I also use OpenRouter and Zed.dev with it, that’s three providers out of doz