Replies: 1 comment
|
已实现 ✅(2026-08-20) 这两个能力现已落地在 fork 的 master 上: 1. 永久删除会话(
2. 会话关闭与 close-then-delete — commit
提交:https://github.com/ywleeo/deepseek-harness/commits/master |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
会话目前只能「归档」(隐藏显示、保留日志与记账席位),无法真正删除。归档解决不了「一次性问答会话堆积、占用磁盘」的问题:日志文件会一直在
<root>/<project>/<session-id>/累积,直到用户手动带外删除。希望提供会话真删除能力:一次操作同时移除持久化日志、workspace 记账席位、归档集合成员、反馈伴随记录,并在所有客户端视图(分组、Ungrouped、搜索、单列表)中移除该行。验收与细节
session/deleted事件级联删除,不残留孤儿;session-not-found;当前正在打开的会话返回session-live(宿主目前无法安全销毁运行中的 agent,属有意边界,需后续支持 agent dispose 后再放开)。附件对象刻意不级联删除(恢复/fork 后的会话可能共享引用)。SessionPersistence.delete(id)(JSONL 删会话目录、SQLite 删行,coordinator 串行化 + 拒绝 live);deleteSession(清理 accounting + 归档集合,未知/实时分别报错);workspace.deleteSession+session/deleted事件 +host/session-removed帧;session/deleted,在同一按会话串行的操作尾上删除伴随行;All reactions