npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dsh-session-delete-local

v1.3.8

Published

Delete DeepSeek Harness sessions from Desktop and Web with a preview and explicit confirmation.

Readme

DeepSeek Harness 会话删除插件

DeepSeek Harness TypeScript pnpm Node.js MIT

为 DeepSeek Harness 桌面版和 Web 版添加会话永久删除功能。

删除会话弹窗:路径默认折叠,确认后才能删除

功能

  • 会话行 … → 删除会话…,支持已归档会话,确认前可查看删除路径。
  • 默认包含子智能体和分叉;存在派生会话时不能只删除父会话。
  • “工作区”标题行最右侧的垃圾桶可扫描并清理已删除会话的残留。

安装

适配 DeepSeek Harness 0.2.1-rc.2 / rc.3 / rc.5,支持从 npm 安装或下载安装包。rc.5 会拒绝加载仅声明兼容 rc.2 / rc.3 的旧插件;请更新至 1.3.8 或更高兼容版本。

从 npm 安装

# 桌面版
dsh plugin --profile desktop add dsh-session-delete-local

# Web 版:在服务端安装
dsh plugin --profile web add dsh-session-delete-local

下载安装

在 GitHub Actions 的 Verify 构建中,打开最新成功的构建,下载 Artifacts → dsh-session-delete-local(需登录 GitHub)。解压下载的 ZIP,得到 .tgz 安装包;仅在 Windows、macOS、Linux 的 Node.js 22、24 检查全部通过后生成。

# 桌面版:替换为下载文件的绝对路径和实际版本
dsh plugin --profile desktop add file:/absolute/path/dsh-session-delete-local-1.3.8.tgz

# Web 版:将安装包放到服务端,在服务端执行
dsh plugin --profile web add file:/absolute/path/dsh-session-delete-local-1.3.8.tgz

安装或更新后重启应用 / Web 服务。

限制

  • 永久删除,不提供应用内恢复。 仅清理已识别的会话数据,保留工作区文件、共享附件和外部备份。详见 清理范围。
  • 运行中或被占用的会话不能删除;操作前关闭共用同一存储的其他实例。Web 版操作服务端数据。
  • 仅支持内置 JSONL 后端(含 Zstandard 压缩日志);Windows / Linux 尚未实机验证。

开发与发布

要求 Node.js ≥ 22.18、pnpm 11.5.0。

pnpm install --frozen-lockfile
pnpm verify               # 格式、类型、构建和单元测试
pnpm pack --pack-destination artifacts  # 校验、构建并生成本地安装包
pnpm release --dry-run    # 校验并预览 npm 包
pnpm release              # 登录 npm 后校验、构建并发布

再次发布前更新 package.json 的 version。开发规范和集成测试见 CONTRIBUTING.md。

MIT