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

@yiln-dsh/dsh-plugin-sandbox-guidance

v0.1.1

Published

DSH Host plugin that explains non-widening sandbox failures to the model and user without changing execution policy.

Readme

@yiln-dsh/dsh-plugin-sandbox-guidance

A Host-only DSH plugin that explains one confusing sandbox failure to the model: when a bash call asks for a mode that is not strictly wider than the current sandbox mode.

It does not change sandbox policy, bypass approval, rewrite tool arguments, or replace the built-in bash executor. The native failure remains an error and the command remains unexecuted.

Behavior

The plugin adds a systemPrompt section that tells the model to omit sandbox_permissions and justification during ordinary calls, and to explain this failure instead of repeating it blindly. It also listens to tools/post-execute and replaces only the matching bash failure text with a diagnostic containing:

  • the fact that bash did not run;
  • the requested sandbox mode;
  • the current effective mode;
  • whether the retry should omit sandbox_permissions or request a genuinely wider mode.

Other bash failures pass through unchanged.

When a sandbox denial genuinely requires more access, the injected guidance instructs the model to retry the exact command once with the narrowest wider mode and a non-empty justification, allowing DSH's native approval flow to ask the user. It does not ask for approval in chat first.

Install

The published package is @yiln-dsh/[email protected].

dsh plugin --profile web add @yiln-dsh/dsh-plugin-sandbox-guidance@latest

Restart dsh web after installing the package so the Host composition loads the new row.

Limitations

tools/pre-execute and tools/post-execute receive immutable tool arguments. This plugin can explain a failure and guide the next model step, but it cannot silently convert an invalid escalation into a valid one. Removing the strict sandbox check still requires a DSH core patch or fork.

Layout

| File | Content | | --- | --- | | index.js | Host system prompt section and bash failure diagnostic. | | cordis.patch.yml | Composition patch that mounts the Host row. |