Xliecc/dsh-session-theme

Xliecc★ 0JavaScript最后同步: 2026-08-20

在 GitHub 打开

DSH web plugin: show every session's theme in the left sidebar on load

README 摘要

dsh-session-theme English 简体中文 DSH web plugin: the left sidebar shows every session's theme right on page load — no need to click into a conversation first. The problem In the DSH sidebar, sessions you haven't opened yet show no theme — just the workspace folder name (or a placeholder id). The theme only appears after you click into the session. Root cause: for "cold" sessions (never opened in this process), session.list only reads the projection cache's zero-I/O rows ( cachedSnapshot ). If a session's title projection was never checkpointed, its list row has no title , so the sidebar falls back to the folder name. Only opening the session (which triggers the full cold-read ladder) recovers the title. How it works At startup the plugin runs the projection cache's cold-read ladder ( coldSnapshot ) for every persisted session: it refolds the title projection from the stored log and durably writes it back to the cache . After that, every row returned by session.list carries a title projection → the sidebar natively shows each session's real theme, no click required. - Only "cold" sessions are processed (not opened in this process); sessions that are already loaded already carry live p…

在 GitHub 查看完整 README →
皮肤/UIdeepseek-harnessdshdsh-pluginpluginsidebar

分类