DeepSeek Harness Plugin

xingyingyuzhui/dsh-session-actions

Stars ★ 4 Category Sessions & Messages Added 2026-08-17

Session row menu extras for DeepSeek Harness: pin sessions, copy session id, export structured Markdown, and permanently delete sessions.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:xingyingyuzhui/dsh-session-actions

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

This plugin publishes its README in Chinese only.

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

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.