@zink_ning/dsh-ui-state
界面状态持久化——官方左侧边栏开合与宽度跨重启恢复(自渲染 DOM,官方 client 通道)
AI 分析
核心用途是跨重启自动记忆并恢复左侧边栏的开合状态、宽度以及每个会话的滚动位置。适合需要保持界面布局一致性的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zink-ning/dsh-ui-state說明文件
閱讀完整 README ↗配置存储
ui-state:
sidebarCollapsed: false # 用户显式折叠后为 true
sidebarWidth: 360 # 最近一次展开宽度
chatScroll: # 按会话保存的非底部阅读位置(自动维护,可手删)
"":
anchorKey: "..."
anchorTop: 120
scrollTop: 480
updatedAt: 1750000000000