dshbase

Plugin directory / Developer / dsh-session-admin

dsh-session-admin

Verified · install-tested on dsh robin758

✓ Actively maintained 2 contributors Builds on 1 official DSH packages

View on GitHub ↗ ← Back to plugin directory

0Stars
0Forks
0Open issues
—Language
2026-08-16Last push
Cross-platformPlatform

What it does

A plugin in the Developer category for DeepSeek Harness.

✅
Our take
Works — verified, early-stage project

A plugin in the Developer category for DeepSeek Harness. It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

dsh-session-admin

DeepSeek Harness(DSH)会话管理插件:在 Web 设置面板统一管理所有会话(现存 + 归档),支持归档 / 取消归档 / 永久删除 / 搜索 / 批量操作。

功能特性

  • 📋 查看全部会话:一次列出磁盘上的所有会话(现存 + 已归档),含标题、工作区、时间;
  • 🗄️ 归档 / 取消归档:一键归档不常用的会话,或随时从归档中恢复;
  • 🗑️ 永久删除:删除会话目录(不可恢复),操作前有二次确认,防止误删;
  • 🔍 搜索:按关键词快速过滤会话列表;
  • ☑️ 批量操作:多选后批量归档 / 取消归档 / 删除。

适用场景

DSH Web(dsh web)的会话存储在 ~/.dsh/sessions/<工作区编码>/<会话id>/ 下,官方界面只能看到当前工作区的会话,且缺少批量管理能力。本插件在 设置 → 会话管理 面板提供全局视图与管理操作。

安装

从 GitHub 源码安装(推荐):

dsh plugin --profile web add github:robin758/dsh-session-admin
# 指定版本(推荐,便于锁定):
dsh plugin --profile web add "github:robin758/dsh-session-admin#v0.0.6"

本地开发安装:

cd dsh-session-admin
pnpm pack
dsh plugin --profile web add ./dsh-session-admin-0.0.6.tgz

安装后重启 web 服务加载插件:

launchctl kickstart -k gui/$(id -u)/com.deepseek.dsh

使用

  1. 启动 DSH Web;
  2. 进入 设置 → 会话管理;
  3. 浏览所有会话:顶部输入框搜索;勾选会话后可批量归档 / 取消归档 / 删除;
  4. 删除会弹出二次确认;删除为永久删除,不可恢复。

HTTP API

Method Path 说明
GET /plugins/dsh-session-admin/list 列出磁盘上的全部会话(现存 + 归档)
POST /plugins/dsh-session-admin/archive 归档一个会话
POST /plugins/dsh-session-admin/unarchive 取消归档一个会话
POST /plugins/dsh-session-admin/delete 永久删除一个会话
POST /plugins/dsh-session-admin/batch 批量归档 / 取消归档 / 删除

变更类接口仅接受 loopback + 同源请求(Origin 与 Host 一致),否则返回 403,防止第三方网站误触发。

配置

bundle patch 中的 config 可覆盖(profile 层可再覆盖):

- insert:
    - id: dsh-session-admin
      name: dsh-session-admin
      config: {}

从源码开发

git clone <repo-url>
cd dsh-session-admin
pnpm install          # 仅需 peerDependency @deepseek-ai/cordis

插件为纯 ESM、无构建步骤,lib/index.js(host 端)+ lib/client.js(Web 端)直接运行。

License

MIT

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-session-admin for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:robin758/dsh-session-admin

Headless (CLI) profile:

dsh plugin --profile headless add github:robin758/dsh-session-admin

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7819 plugins →