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-attachment

v1.0.0

Published

Durable immutable attachment storage seam for the DeepSeek Harness

Readme

@harness-desktop/dsh-attachment

English | 中文

持久附件服务边界。ctx.attachments 校验并以原子方式提交不可变图片字节,随后返回可序列化的 ImageAttachmentRef;消费方绝不会在会话事件中持久保存浏览器路径、对象 URL、提供方 URL 或 base64。

未发送的输入区图片仍是由浏览器持有的临时草稿。validateImage 运行相同的准入策略,但不执行持久化;批量写入方会先校验每个成员,避免某个格式错误的成员使较早的成员成为无引用对象。saveImage 会在发布任何模型可见的会话事件前提交每张已接受的图片,readImage 则根据已记录的元数据校验内容寻址对象。调用方可以取消 readImage;实现会在后端读取与校验工作的边界观察取消,并保留取消语义,而不会将其转换为存储失败。

模型体验

该包通过角色无关的核心 ImageBlock,以及解析其持久引用的提供方适配器,间接影响模型。

KV 缓存影响

添加图片会改变提供方请求,因此会使受影响的请求后缀失效。

已知限制与待完成工作

  • 第一版仅接受 PNG、JPEG、WebP 和 GIF。
  • 保留策略与垃圾回收尚未实现,因为恢复和 fork 后的会话可能共享不可变对象。
  • 通用文件、音频、视频和持久的未发送草稿需要单独的生命周期与提供方契约。