Files
deepseek-harness/docs/persistence-changes/2026-09-14-workspace-changes-event.zh.md
T
creatixchu f800ea46e5 refactor(deliverables): group tool-present and workspace-changes under packages/deliverables
Both Host packages hand the turn's deliverables to the user and neither
is a filesystem capability, so they leave packages/fs for a new
packages/deliverables group. The Client package stays at
packages/client/ui-deliverables. Paths in tsconfig references and
aliases, gates, generated catalogs, READMEs, and the implemented notes
follow the move; archived notes and released schema records stay as
written.
2026-09-14 13:33:54 +08:00

1.4 KiB
Raw Blame History

description, kind
description kind
记录持久化类型更改及其兼容性确认。 persistence-change

2026-09-14-workspace-changes-event

English | 中文

概述

新增仅写日志的 workspace/changes 事件,记录顶层轮次改动的文件。

目录

声明

schemaVersion: 1
id: 2026-09-14-workspace-changes-event
baseline: false
changes:
  - root: "event:workspace/changes"
    previous: null
    after: "0a176529351301e438fc4d94ea0c80f0f105e33fd85a256d76178b0a6dda3061"
    decision: same-version

兼容性

同一 Session 格式版本内的新根类型。已有日志没有该事件,保持有效;早于它的读取方遇到它会拒绝该日志,与所有读取时必需的事件一致。该事件只由 Web bundle 的 workspace-changes 插件追加,模型永远看不到;Web 的改动文件卡片是唯一消费者,读取每轮最新的一条。

验证

pnpm exec vitest run packages/deliverables/workspace-changes packages/client/ui-deliverables:165 个测试通过;snapshots/web/changed-files-turn 通过 Web profile 回放了记录的事件。

开发备注

无。