xingyingyuzhui/dsh-session-actions
Project Overview项目介绍
This is a native plugin built exclusively for DeepSeek Harness Web, designed to add extra functionality to the existing session menu. It does not modify any of DSH's official core components, and appends four new action items after the default menu entries in the "⋯" menu on each session row. The four added actions are copy session ID, pin a session to top, export the full session as a Markdown file, and permanently delete a session. The plugin's UI automatically adapts to the current locale set in DSH, matching the rest of the interface.
Beyond extending the session menu, the plugin also adds a collapsible "Pinned" group above all workspaces in the DSH sidebar. Any session you pin stays in its original workspace, but also gets added to this top group for quick access. You can drag and drop pinned sessions within the group to reorder them, and the full list of pinned sessions is stored locally in ~/.dsh/dsh-session-actions/pins.json. To install the plugin via the DSH CLI, you first need to have a working DSH installation that can run the dsh web command on your local machine.
The standard installation command is dsh plugin --profile web add github:xingyingyuzhui/dsh-session-actions, and you just need to restart DSH Web after the command finishes to start using the plugin. If you want to develop or modify the plugin locally, you can install it via a path link with dsh plugin --profile web add link:/abs/path/to/dsh-session-actions. Uninstalling is just as simple, run dsh plugin --profile web remove dsh-session-actions to remove it completely. The plugin is released under the open-source MIT license, so you can use it, modify it, and redistribute it for free with no restrictions.
这是一款专为 DeepSeek Harness Web 开发的原生插件,用于增强会话菜单功能,全程不会修改 DSH 的官方原有组件。它会在原有会话行的「⋯」菜单末尾追加四个新操作项,分别是复制会话 ID、置顶会话、导出 Markdown 格式完整会话记录、永久删除会话。插件界面会跟随 DSH 的系统区域设置自动适配对应显示语言。
除了扩展原有会话菜单,插件还会在侧边栏所有工作区的上方添加一个可折叠的「置顶」分组,你置顶的会话会保留在原工作区中,同时也会显示在这个置顶分组里。用户可以直接在置顶分组内拖动调整会话的排序,所有置顶会话的列表会保存在本地用户目录的 ~/.dsh/dsh-session-actions/pins.json 文件中。
安装该插件的前置条件是本地已经配置好 DeepSeek Harness,可以正常运行 dsh web 命令,只需执行一行安装命令,安装完成后重启 DSH Web 即可使用。用户也可以通过本地路径链接的方式进行插件开发调试,卸载也可通过 DSH 插件命令完成。本插件采用 MIT 许可开源,完全免费使用。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-session-actions(xingyingyuzhui/dsh-session-actions)
仓库:https://github.com/xingyingyuzhui/dsh-session-actions
本站详情页:https://www.yhbd.top/plugins/xingyingyuzhui-dsh-session-actions/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 4 · 最近提交 2026-09-10 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
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:xingyingyuzhui/dsh-session-actions
把 xingyingyuzhui/dsh-session-actions 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-session-actions · 会话菜单增强
DeepSeek Harness Web 插件:在会话行「⋯」菜单末尾加上复制 ID、置顶、导出 Markdown、永久删除。侧栏所有工作区上方可以出现「置顶」分组。不改官方组件。
English UI follows the DSH locale.

菜单在官方「重命名 / 分叉 / 归档」下面追加:
| 项 | 作用 |
|---|---|
| 复制会话 ID | 把 session-… 写进剪贴板 |
| 置顶会话 | 钉到侧栏最上方的「置顶」分组;原工作区里仍保留 |
| 导出 Markdown | 导出结构化记录(思考、工具调用、用户/助手正文) |
| 删除会话 | 确认后永久删除该会话目录(不是归档;归档仍用官方菜单) |
置顶分组:默认可折叠(图钉 / 悬停实心三角),行上显示相对时间,悬停出 ⋯。置顶行可在组内拖动排序。置顶名单落在 ~/.dsh/dsh-session-actions/pins.json。
安装
前置:本机已能运行 dsh web。
dsh plugin --profile web add github:xingyingyuzhui/dsh-session-actions
装完重启 dsh web。
本地开发:
dsh plugin --profile web add link:/abs/path/to/dsh-session-actions
卸载
dsh plugin --profile web remove dsh-session-actions
开发
Client 源码在 session-*.mjs。改完后生成 client.js,不要手改那份产物:
npm run build
npm test
License
MIT
liangmianya/dsh-synapse
alaliqing/claude-paper
acryldev/acryl
omdsh-dev/dsh-annotation
Anionex/dsh-turn-rewind
Tyan66666/billion-context-dsh
qkycir-123/dsh-run2skill