
alooshxl/dsh-session-pins
30最近提交 2026年8月13日
dsh-session-pins DSH 插件
Session Pins 让你在侧边栏底部固定的菜单中固定、取消固定和打开会话。固定信息存储在浏览器 localStorage 中,页面刷新后依然保留。插件同时支持宽侧边栏和窄侧边栏模式,显示固定数量和无固定时的空状态。
如何安装 dsh-session-pins DSH 插件
dsh plugin --profile web add github:alooshxl/dsh-session-pins#v0.1.0复制不会执行命令。安装 dsh-session-pins DSH 插件前请核对仓库和版本。
dsh-session-pins DSH 插件数据来源
dsh-session-pins DSH 插件快照日期:2026年8月16日
discovered
dsh-session-pins DSH 插件能做什么
- 从侧边栏底部操作固定当前会话(非空白、非子代理)。
- 直接从菜单中取消固定会话,或使用“取消固定当前会话”选项。
- 打开固定会话到当前工作区,前提是该会话未被存档、非子代理、且未失效。
- 在侧边栏底部操作上显示持久的固定计数。
- 支持宽侧边栏(带标签)和窄侧边栏(仅图标加提示)。
- 在 localStorage 中存储最多 100 个固定,键名为 `dsh.session-pins.v1`。
dsh-session-pins DSH 插件适合哪些场景
- 将最重要的会话固定在侧边栏,无需滚动会话列表即可快速访问。
- 在研究或编码过程中快速切换几个常用会话。
- 维护一组经常参考的精选会话。
- 误关闭的固定会话可通过菜单重新打开,避免丢失。
dsh-session-pins DSH 插件适合谁
- 管理多个会话的 DeepSeek Harness 用户,希望快速访问关键会话。
- 使用 DeepSeek Harness 网页配置的开发者与研究人员,需要会话整理功能。
dsh-session-pins DSH 插件的限制
- 固定信息仅限浏览器本地存储,不会跨设备、浏览器配置文件或不同源同步。
- 需要 DeepSeek Harness 0.1.0-rc.6 版本;后续候选版本可能破坏兼容性。
- 无法固定空白或子代理当前会话;之前存储的子代理固定可删除,但无法打开。
- 由于 Harness 版本限制,无法打开已存档会话;插件会隐藏打开按钮并说明原因。
- 如果 localStorage 被阻止或抛出异常,固定信息在内存中保留至当前页面,刷新后丢失。
dsh-session-pins DSH 插件的仓库 README 摘录
以下文字摘自 dsh-session-pins DSH 插件的上游仓库 alooshxl/dsh-session-pins 的 README,版权归原作者,仅作引用。
`@dsh-external/dsh-session-pins` adds a persistent pinned-session menu to the DeepSeek Harness web sidebar. The plugin answers [DeepSeek Harness Discussion #63](https://github.com/deepseek-ai/deepseek-harness/discussions/63), which asks to keep valuable sessions easy to reach. Harness does not expose a public session-row action slot, and replacing the stock session browser would couple a plugin to private UI source. Session Pins therefore contributes one root-scoped action through the public `sidebar.footer.action` slot. It does not patch or replace the host. ## Compatibility status The source, automated contracts, and package artifacts target `@deepseek-ai/dsh@0.1.0-rc.6`. DeepSeek Harness is in developer preview, so a new release candidate may break this plugin until compatibility is reviewed. The automated suite includes an isolated, keyless rc.6 profile smoke: it installs this repository through the published CLI, composes the plugin row, boots on an ephemeral loopback port, reads the root boot manifest, and fetches the package-name browser module route. Task 7's manual wide/rail visual acceptance remains pending and is not claimed here. ## User experience - **Wide sideba
阅读完整 README仓库许可: MIT
dsh-session-pins DSH 插件常见问题
如何固定一个会话?
确保当前会话不是空白且不是子代理会话。然后点击侧边栏底部的固定图标(带有“固定会话”标签),当前会话就会被添加到固定列表的顶部。如果菜单中出现了“固定当前会话”选项,也可以直接点击它。
为什么无法打开已存档的固定会话?
DeepSeek Harness 0.1.0-rc.6 在尝试通过 `sessions.open()` 打开已存档会话时会立即清除该 ID,并且没有公开的取消存档操作。因此,Session Pins 故意为存档的固定隐藏了“打开”按钮,并显示说明限制的文字。你仍然可以取消固定或返回。
固定信息会跨设备同步吗?
不会。固定信息仅存储在浏览器的 localStorage 中,键名为 `dsh.session-pins.v1`。它们不会跨设备、浏览器配置文件或不同源同步。每个浏览器和配置文件拥有独立的固定列表。如果你需要在另一台设备上使用相同的固定会话,必须在那里重新固定。
如何升级插件到新版本?
再次使用 `dsh plugin --profile web add` 命令并指定新的 Git 标签,例如 `dsh plugin --profile web add github:alooshxl/dsh-session-pins#v0.1.1`。不要使用 `update` 命令来切换 Git 引用。如果你希望不可变安装,请将标签替换为完整的提交 SHA。
如果我打开一个已被删除的固定会话会发生什么?
如果会话已不存在(失效 ID),该固定会显示为“不可用:id”,并且“打开”按钮会被隐藏。你仍然可以取消固定或返回。如果由于其他原因打开失败,菜单会保持可用,显示错误消息,并且取消固定选项仍然可用。