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

@stackstackstack/dsh-loader-smoke

v0.1.7

Published

Shared subprocess and direct-agent harness for keyless real-Loader example smoke tests

Readme

@stackstackstack/dsh-loader-smoke

English | 中文

用于测试通过 Cordis Loader 启动应用和 cordis.yml 的共享子进程 harness。resolveExampleLaunch 选择本地 src mode(tsx 和根 tsconfig 路径)或 CI lib mode(普通 Node 和包导出);选择依据为显式 mode 或 DSH_EXAMPLE_MODE。

runLoaderSmoke 接受可执行文件路径和配置路径、可选的完整可执行文件参数、环境变量覆盖、标准输入、运行前准备和清理前检查。它负责隔离工作目录、DSH 主目录、诊断、截止时间、终止、EOF 和清理;进程以零状态退出后返回两个流,失败时则返回拒绝并附带两个流。

runFixtureTurn 通过恰好一个已配置的根 agent(智能体)驱动一项任务,在该任务进入持久收件箱后转发规范事件,刷写会话,并返回最终 assistant 文本和累计用量。示例本地 driver 继续负责配置、渲染和断言。

这是支持层测试基础设施,而非产品 API。

模型体验

无,因为测试 harness 仅提交调用方测试的普通用户任务,并将提示词和工具组装交由已加载的树负责。

KV Cache 影响

除已加载树本身的影响外,无其他影响;该 helper 既不更改请求前缀,也不跨运行保留状态。

已知限制与暂缓事项

  • 构建模式需要事先构建:配置还必须能够通过 examples/node_modules 向上解析每个命名包。
  • 捕获的 stdout 和 stderr 仅受 execa 默认 100 MB maxBuffer 约束:失控子进程会在该上限处被终止,而不是在冒烟测试自选的预算处。
  • 超时只终止直接子进程:有故障的 fixture(测试前置数据)spawn 的进程树可能比冒烟测试存活更久,需要外部清理。