Repository navigation
Replies: 1 comment
|
一条佐证,说明这个「名义上非权威、实际是权威」的落差已经在外面造成了影响。 我们这边有一份第三方修复工具(dsh-session-surgeon),它处理 #8812 那个空闲修剪器尾巴时的指引里写着:如果修完以后界面还显示被修剪掉的旧文本,就删掉那条会话的 关于你建议的第 1 条(列表从会话存储/头部构建),可以给一个现成的证据:会话列表确实只需要头部。我们的 另外一个和修复有关的边角:我们故意不对这个缓存下判定(#8010 那个「末尾整帧丢失看不见」的场景里,它是唯一在盘的见证)。三条实测理由都写在 |
Uh oh!
There was an error while loading. Please reload this page.
Summary
@deepseek-ai/dsh-session-projection-cachedocuments itself as "a fold shortcut, never an authority". But if~/.dsh/storages/session_projcache/is empty or missing, the Desktop sidebar shows "No sessions yet" and no workspaces at all, even though every session is still intact under~/.dsh/sessions/. Putting the matching cache records back brings the sessions back. So in practice the cache is authoritative for the session list.Environment
Steps to reproduce
~/.dsh/sessions).~/.dsh/storages/session_projcachesomewhere else.session-<id>.jsonrecords matching existing sessions, and start again. All workspaces and sessions show up again.Why this matters
Suggested fixes
cachedSnapshot()returningundefinedshould mean "no preview", not "no session").All reactions