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

dsh-bash-wsl

v0.1.0

Published

Route the Windows-side DeepSeek Harness bash tool into WSL: run bash in the WSL distro with automatic workdir mapping from D:\... to /mnt/d/...

Downloads

233

Readme

dsh-bash-wsl

把 Windows 侧 DeepSeek Harness 的 bash 工具路由到 WSL:命令在 WSL 发行版内执行,工作目录自动从 D:\Build 映射为 /mnt/d/Build

安装

dsh plugin --profile web add -w link:<仓库路径>
# 或运行时注入:dev_inject_plugin <仓库绝对路径>

配置

- insert:
    - id: dsh-bash-wsl
      name: dsh-bash-wsl
      config:
        distro: Ubuntu   # WSL 发行版名(缺省 Ubuntu)

原理

注册一个独立的 bash 工具,跑 wsl.exe -d <发行版> --cd <wsl工作目录> -e bash -c <cmd>,并把 Windows 工作目录 (D:\...)映射为 WSL 路径(/mnt/d/...)。不占用 ctx.shell(Windows 侧已被 pwsh 执行器占用),bashpwsh 共存。

架构见 docs/design.md,完整需求见 dev/REQUIREMENTS.md

与 dsh-plugin-bash-wsl 的区别

更完整的同类插件 dsh-plugin-bash-wsl 已经提供持久化 WSL shell、Git Bash、bwrap 沙箱和 doctor 诊断。本插件刻意走极简、零依赖的相反路线:

| | dsh-bash-wsl | dsh-plugin-bash-wsl | |---|---|---| | 一次性 WSL 命令 | ✅ bash | ✅ wsl_bash | | 持久化 shell | ❌ | ✅ bash | | Git Bash | ❌ | ✅ git_bash | | 沙箱(bwrap) | ❌ | ✅ | | doctor 诊断 | ❌ | ✅ | | WSL 内额外依赖 | 无 | bwrap / script / realpath |

想要最轻量、自动 /mnt 路径映射、且不在 WSL 里装额外依赖时,选本插件。