AMAZINGINDEX.COM 日报快照
51.2
VOL. 2026.08
2026.08.06
← 返回 2026.08.06 日报
日报快照 · Daily Snapshot
NO. 013

Zed 推出代码级版本控制 DeltaDB

#ARTICLE HackerNews 2026.08.06
推荐指数 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 功能

g42gregory

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.

randomblock1

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

ok_dad

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

替代方案: gitjjIntelliJ Local HistoryEntire
查看原文 →