xingyingyuzhui/dsh-session-actions 预览 preview

xingyingyuzhui/dsh-session-actions

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

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 许可开源,完全免费使用。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 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

← 上一个 Prev dsh-conversation-landmarks 下一个 Next dsh-mcp-lazy →