Yu-tao-Li/dsh-pin 预览 preview

Yu-tao-Li/dsh-pin

固定DSH侧边栏对话:可固定至工作区顶部,或将会话提升至所有工作区上方的全局托盘——支持多固定、精确恢复,零依赖。

Project Overview项目介绍

dsh-pin is a native plugin built exclusively for DeepSeek Harness’s Web GUI interface. It extends the sidebar conversation management functionality by adding two levels of pinning for conversations: pinning a conversation within its current workspace, or pinning it globally at the top of all workspaces above all workspace groups. You can install dsh-pin either by searching for it directly in the in-app DSH plugin marketplace, or by running the CLI command dsh plugin --profile web add github:Yu-tao-Li/dsh-pin from your terminal. After installation, you just need to restart the dsh web process for the plugin to take effect.

When you hover over any conversation entry in the sidebar, the two pin buttons are injected into the DOM automatically. One button pins the conversation to the top of its current workspace, while the other pins it globally to the top pinned area above all workspaces, hiding the original entry in its workspace group. You can pin multiple conversations at once, switch a conversation between the two pin levels at any time, and unpin it by clicking the button again or the close icon in the global pinned area. This plugin is designed for DSH users who need important conversations easily accessible across workspaces.

dsh-pin uses DeepSeek Harness’s native ordering API, so it does not modify the core DSH codebase and has zero runtime dependencies. It is released under the open-source MIT license, so it is free to use and modify. It has some documented limitations: it only works on the DSH Web GUI, does not support workspace-level pinning for ungrouped conversations, and is not compatible with the flat conversation list mode. Global pinning is only effective per browser, while workspace-level pinning is persisted globally.

这是一款专为 DeepSeek Harness Web GUI 开发的原生插件,为侧边栏会话列表增加置顶功能。它支持两级置顶:可将会话置顶到当前工作区内,或全局置顶到所有工作区的最顶部,同时支持置顶多个会话,取消置顶时能精确还原会话原本位置,不影响其他置顶会话。可通过 DSH 插件市场搜索安装,或使用 CLI 命令添加,安装后重启 DSH Web 即可生效。

日常使用时,悬停侧边栏任意会话行,两个置顶按钮会自动出现。点击对应按钮即可设置置顶级别,随时点击另一按钮可切换置顶级别;再次点击按钮或点击置顶区的关闭图标即可取消置顶。这款插件适合需要快速访问重要会话,常在多个工作区间切换处理任务的 DSH 用户使用。

本插件使用 DSH 官方排序 API 开发,不修改 DSH 本体,零运行时依赖。代码开源遵循 MIT 许可,无使用成本。限制包括仅支持 Web GUI,不支持未分组会话的工作区级置顶,也不支持平铺列表模式;全局置顶仅对当前浏览器生效,工作区级置顶则全局持久。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:Yu-tao-Li/dsh-pin

把 Yu-tao-Li/dsh-pin 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

English

dsh-pin

CI version license platform stars

给 DeepSeek Harness 的侧边栏会话加上「置顶」——悬停任意会话,两个按钮:📌 置顶到本工作区、⌃⌃ 置顶到所有工作区最上面(会话进入侧边栏顶部的全局置顶区,悬浮在所有工作区组之上,组内原行自动隐藏);支持同时置顶多个会话;再点一次(或点置顶区的 ✕)取消置顶,精确还原该会话被置顶前的位置,不影响其他置顶会话。

① 置顶到所有工作区最上面:会话进入列表顶部的「已置顶」区(所有工作区组之上),组内原行隐藏;点置顶区里的行直接打开会话,✕ 取消 ② 悬停会话行:📌 工作区内置顶 / ⌃⌃ 全局置顶,随时可点
1 2

特性

  • 两级置顶(一个图标一个操作)——📌 把会话置顶到本工作区内(持久顺序,全局生效);⌃⌃ 把会话置顶到所有工作区最上面:会话进入侧边栏顶部的全局置顶区(悬浮在所有工作区组之上,组内原行隐藏),点击置顶区里的行直接打开该会话。两个按钮只出现在会话行上,各对应唯一一个操作。
  • 多会话置顶——可以同时置顶多个会话:工作区内置顶的在组内顶部依次堆叠,全局置顶的在置顶区里按最近置顶排序,各自保留 📌 标记与按钮高亮。点另一个按钮(📌↔⌃⌃)可改换置顶级别。
  • 精确还原(多置顶安全)——取消工作区内置顶时只移动该会话回到它被置顶前在当前列表中的位置(按 before/after 双锚点,前邻居优先),不会把整份旧快照盖回去、也不会挤掉仍在置顶的其他会话;宿主持久顺序与浏览器显示顺序双双还原;锚点失效时逐级回退(追到末尾),绝不丢位置。若它曾是唯一置顶,还会把排序模式切回置顶前的模式(如「最近更新」)。全局置顶是纯显示级置顶(不动任何顺序),取消即恢复,零副作用。旧版本(曾把全局置顶实现为“移动工作区”)遗留的置顶记录在取消时会自动回滚当时的顺序改动。
  • 沿用宿主官方顺序 API——工作区内置顶走 workspace.insertSessionBefore / workspace.insertBefore,与应用自带拖拽排序同一条通道;顺序持久化在 DSH 工作区注册表里,所有浏览器/客户端可见。不改 DSH 本体,零运行时依赖。
  • 跟随应用的排序语义——应用默认「最近更新」排序(按活跃度,且该模式下应用自己禁用拖拽)。dsh-pin 工作区内置顶时会自动切到「手动排序」让置顶可见;置顶状态(📌 标记、按钮高亮)实时同步。
  • 诚实的边界——「未分组」会话可以全局置顶,但无法工作区内置顶(该桶按应用设计没有手动顺序);平铺列表(“In one list”)没有手动顺序,按钮自动隐藏;RPC 失败有红色反馈;存储损坏自动降级为空。

安装

# 从 GitHub(--profile 指定装进哪个 profile)
dsh plugin --profile web add github:Yu-tao-Li/dsh-pin
# 或在 DSH 设置的插件市场(dshmarket)搜索 dsh-pin

重启 dsh web 生效。按钮出现在侧边栏会话行的悬停菜单里(⋯ 左侧)。

纯客户端插件:服务端半个是 no-op,所有排序走宿主现成的 RPC;不新增任何 HTTP 路由,无端口、无后端。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev chicheng-gate 下一个 Next dsh-llm-proxy →