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-workflow-ran

v0.1.1

Published

DSH 工作流插件包:file-organizer(按文件类型自动整理文件夹并生成报告)等命名工作流。安装后 /workflow file-organizer "路径" 即可使用。

Readme

dsh-workflow-ran

DSH(DeepSeek Harness)工作流插件包。安装后即可使用 file-organizer 命名工作流:

/workflow file-organizer "D:\xwf66666666\dsh-1\下载"

包含的工作流

| 工作流 | 说明 | | --- | --- | | file-organizer | 智能文件整理:扫描指定文件夹顶层文件,按类型(图片/文档/压缩包/其他)移动到对应子文件夹,并生成 整理报告.md |

安装

本包声明了 dsh.bundle(package.json → dsh.bundle.patch: ./cordis.patch.yml),安装后 DSH 会自动把它加入 profile 的插件层并加载,无需手动加行。

方式一:dsh plugin 命令(推荐)

dsh plugin --profile <profile> add dsh-workflow-ran
# 等价于在 profile 目录里执行:pnpm add dsh-workflow-ran
# 安装后 dsh 自动核对依赖:声明了 dsh.bundle 的包自动加入 dsh.profile.bundles 并激活

方式二:手动配置

在 profile / 工作区的 cordis.patch.yml 里加一行:

plugins:
  - id: dsh-workflow-ran

然后 pnpm install(确保 dsh-workflow-ranpackage.json 依赖里)。

使用

安装并重启后:

  • /workflow list —— 应能看到 file-organizer
  • /workflow file-organizer "文件夹路径" —— 整理该文件夹(只动顶层文件,不动子文件夹;生成 整理报告.md

工作原理

DSH 的命名工作流由部署从工作区 .dsh/workflows/*.workflow.json 发现。本插件激活时,会把包内 workflows/ 目录下的 *.workflow.json 安装到已注册工作区的 .dsh/workflows/(与 DSH 自身的 workflow_manage save 机制一致),随后 /workflow 即可按名字调用。

插件配置(可选)

plugins:
  - id: dsh-workflow-ran
    config:
      installDir: "D:/custom/workflows-dir"  # 自定义安装目录(默认自动探测工作区)
      force: true                            # 覆盖已存在的同名工作流(默认 false 不覆盖)

扩展

想加新工作流(如 weekly-report / backup / cleaner),往本包 workflows/ 目录放一个 dsh.workflow 格式的 JSON(manifest + source),升版本号发布即可;用户重新安装/升级后自动生效。

开发

npm run check   # 语法检查
npm test        # 单测 + cordis 挂载测试

License

MIT