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

@chushiz/dsh-archive-manager

v0.5.0

Published

DSH profile-bundle plugin: browse archived sessions, restore (un-archive) one to continue the conversation, or hard-delete its on-disk JSONL log directory. Integrates into the Settings panel.

Readme

dsh-archive-manager

English · 中文

npm package DSH Web Plugin License: MIT

DeepSeek Harness Web GUI 的归档会话管理插件,位于 设置 > 归档会话。harness 内置的"归档"是单向的:只隐藏会话、没有取消归档。本插件补齐浏览、恢复、删除:

  • 浏览 —— 按工作区分组列出已归档会话,支持标题 / 目录 / id / 预设 / 会话正文全文搜索。
  • 全文搜索 —— 基于 harness 的 sessionQuery SQLite FTS5 索引:用户消息、AI 回复、工具调用与参数、todo 全部可搜;命中高亮、关键词居中短窗口、每会话最多 5 条,可按类型筛选。
  • 批量操作 —— 多选复选框 + 顶部批量删除;删除前自动停掉活着的 agent,避免文件占用。
  • 对话预览 —— 点击标题展开最近 4 句对话(用户-AI 交替),无需恢复即可判断是否为目标会话。
  • 恢复并打开 —— 取消归档并打开,可查看历史、继续对话。
  • 删除 —— 物理移除会话日志目录,不可逆

搜索:类型筛选 + 关键词高亮

预览:点击标题展开 4 句对话

host:   归档集合 + 持久化标题/元数据  --archiveManager 服务--> 浏览器
client: 设置页"归档会话"(工作区分组 + 全文搜索 + 恢复并打开 + 删除)

安装

dsh plugin --profile web add @chushiz/dsh-archive-manager

安装后重启 dsh web,在 设置 > 归档会话 中使用。

兼容性

| dsh 版本 | 状态 | | --- | --- | | >= 0.1.0-rc.7 | ✅ 支持(FTS5 搜索 + 服务直连) | | < 0.1.0-rc.7 | ⚠️ 未验证(依赖 sessionQuery.searchSessionswebServer 载体) |

  • Node.js ^22.19 || >=24(随 dsh 要求)
  • 无 FTS 后端(openAt: never)时自动回退逐会话扫描;服务未代理到浏览器时自动回退 HTTP API

权限边界

  • host 侧操作工作区注册表的归档集合持久化状态:list 只读、unarchive 反向归档、delete 经 shell 移除日志目录;不写日志、不注册面向模型的工具。
  • client 侧注册设置页 settings.section,通过 archiveManager 服务调用以上操作。

License

MIT