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

@harness-desktop/dsh-spill-local

v1.0.0

Published

Local-filesystem implementation of the DeepSeek Harness spill storage seam (private session-scoped files)

Readme

@harness-desktop/dsh-spill-local

English | 中文

@harness-desktop/dsh-spill 存储 seam 的本地文件系统实现。它注册为 ctx.spillStore,将工具产生的过大文本持久化到私有的会话级文件;定位信息是文件路径,取回指引会告诉模型对该路径使用 readgrep

存储布局

文件存放在 <root>/session-<hash>/​<random>-<safeName>

  • root:使用配置中的 root(解析为绝对路径);如果省略,则在操作系统临时目录下延迟创建每进程私有(0700)目录。可预测且任何用户均可读取的根目录会让其他本地用户读取 spill 工具输出,或在其中预置符号链接。
  • session-<hash>:截短的 sha256(sessionId) 前缀,用于将同一会话的 spill 文件归在一起,以便未来的清理操作可按会话删除。
  • <random>-<safeName>:不可预测的十六进制前缀(防止在共享根目录中预置符号链接),加上经过清理的调用方 suggestedName,使其成为单个安全路径段(防路径遍历;与 JSONL 持久化后端的 encodeSegment 一致)。写入操作采用排他方式,且权限仅限所有者(open(path, 'wx', 0o600)):如果路径已经存在,无论是否为符号链接,操作都会失败,因此预置的目标无法重定向写入。

配置

| 键 | 默认值 | 含义 | |---|---|---| | root | 私有 0700 临时目录 | spill 文件的根目录。设置后可将这些文件保存在已知位置。 |

saveText 在发生真实存储故障(权限、ENOSPC)时返回拒绝;spill 策略会按尽力而为原则处理该拒绝,并保留内联结果。词汇见 seam README,设计见工具输出 spill Agent Note

模型体验

通过渲染本地路径以及 read/grep 取回指引的 spill 消费方间接影响模型。

KV Cache 影响

不会直接导致 KV Cache 失效;请求前缀变更由上述消费方负责。

已知限制与暂缓事项

  • 本地 spill 文件会持续存在,直到外部清理为止:该后端不提供会话生命周期删除或按时间保留的策略,因为已持久化、已恢复和 fork 后的会话可能仍在引用某个路径。
  • 定位信息需要与其位于同一文件系统的消费方:远程或虚拟部署需要另一个 SpillStore 后端,其定位信息和取回指引在该环境中有明确含义。