Semidia/dsh-session-manager

Plugin插件 Native原生 ⭐ 2 MIT Sessions & Context会话与上下文

Project Overview项目介绍

This is a native client plugin built exclusively for the DeepSeek Harness (DSH) web client. It adds a custom right-click context menu to conversation rows on the DSH sidebar, plus a dedicated Session Manager entry in the sidebar footer. The plugin was created to address common user requests for more session management options than the stock three-dot menu provides, since DSH 0.1.0-rc.6 does not expose a public extension slot for session row actions. To install the plugin, you run the DSH plugin CLI command dsh plugin --profile web add github:Semidia/dsh-session-manager#v0.1.1 on your local machine. After running the install command, you must restart the dsh web process and hard-refresh your browser page to activate the plugin.

When you interact with DSH after installing this plugin, you can right-click any conversation in the sidebar to pull up the full custom action menu. Available actions include pinning or unpinning chats, marking chats as read or unread, renaming, archiving, forking to a new chat, opening the working directory in file explorer, and copying various types of session data like path, title, ID, and deep link. The sidebar footer entry gives you quick access to common actions for the currently active session, like exporting the session to a ZIP file. The pinned state of chats is stored in your browser’s localStorage, and it shares that storage with the separate dsh-session-pins plugin.

This plugin targets DSH version 0.1.0-rc.6, and it relies on specific public DSH slot contracts that may change in future DSH releases. It adds a one-line additive patch to add a data-session-id attribute to session rows, which is required because no public API currently exposes which session a row represents. If you upgrade your DSH installation, you will need to re-apply this one-line patch after the upgrade, as DSH overwrites the modified file during updates. It is distributed under the open-source MIT license, and the deep link features rely on the companion dsh-deeplink plugin for full functionality.

这是专为DeepSeek Harness(DSH)网页端打造的原生插件,为侧边栏对话行增加了右键上下文菜单,同时在侧边栏底部添加了「会话管理器」入口。它解决了用户提出的默认三点菜单功能太少的需求,因为当前0.1.0-rc.6版本的DSH没有给会话行开放公开的操作扩展插槽。

用户使用时,右键点击侧边栏任意一个会话行即可调出完整操作菜单,支持固定/取消固定、标记已读/未读、重命名、归档、分叉到新对话、打开文件资源管理器、复制路径、标题ID、深度链接等多种操作。侧边栏底部的入口则针对当前会话提供快速操作入口。

可通过DSH插件命令行工具直接安装,安装后需要重启dsh web并强制刷新页面。该插件目前仅适配DSH 0.1.0-rc.6版本,未来DSH更新后可能需要重新应用一行补丁,采用MIT许可开源分发,部分深度链接功能依赖配套插件dsh-deeplink。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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:Semidia/dsh-session-manager#v0.1.1

把 Semidia/dsh-session-manager 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH Session Manager

A client plugin for DeepSeek Harness web that adds a right-click context menu on sidebar conversation rows and a Session manager entry at the sidebar footer.

It answers the frequent request "the three-dot menu has too few options compared to Codex". The stock three-dot menu is hard-coded (no public session-row action slot in 0.1.0-rc.6), so this plugin works around it instead: right-click any session row for a full action menu, and use the footer button for the current session.

Features

Right-click a conversation in the sidebar:

Action Backing
Pin / Unpin chat localStorage (dsh.session-pins.v1) — shared with dsh-session-pins
Mark as unread / read Local state (dsh.session-unread.v1) with a dot on the row; opening a session marks it read
Rename chat Official sessions.binding(id).session.rename() + a rename dialog
Archive chat Official workspaces.archiveSession()
Continue in new chat Official sessions.fork() then open the child
Open in file explorer Official workspaces.openPath() on the session's workspace
Copy working directory Workspace path from the workspaces store
Copy session title / ID Clipboard (writeClipboard)
Copy deep link Copies <origin>/?session=<id> — opens the session when dsh-deeplink is installed
Open in new window window.open(.../?session=<id>) — needs dsh-deeplink to land on the session

Sidebar footer "Session manager" (current session): export session ZIP, archive, fork, copy title / ID.

Not implemented (no backend in rc.6): continue in a new working tree, delete-session.

Install

dsh plugin --profile web add github:Semidia/dsh-session-manager#v0.1.1
# recommended companion for deep links:
dsh plugin --profile web add github:qyw233/dsh-deeplink#main
dsh web

Restart dsh web once after adding, then hard-refresh the page. No official package is patched except one additive data-session-id attribute on the session row (see below).

How it works

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

← 上一个 Prev DSH-Plugin 下一个 Next dsh-verification →