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

@lynn123411/dsh-ask-user-grilling

v0.2.4

Published

DSH delivery adaptations for grilling rounds: ask_user_grilling (sole question tool / forced multi-select / round-end supplement / stem guidance). Does not modify any skill file.

Readme

@lynn123411/dsh-ask-user-grilling

DSH 侧的 grilling 适配层(输送机制):把 Matt Pocock 的 grilling 流程在 DSH 里的提问环节做成工具级硬约束。本插件只提供 ask_user_grilling,不提供任何 plan-mode 工具——共识达成后不自动进入 plan mode,交还用户决定下一步。分工:本插件负责「在 DSH 里怎么问」的工具层;grilling 纪律文案里散文预告 + 表单投递写在工具描述与 matt-* 预设 vendor 的 skills/grilling/SKILL.md 里(matt-ptc 另含 PTC 投递指引),子代理停轮纪律只写在工具描述里(软纪律、无硬拦)、不进 SKILL(避免诱导模型派遣子代理),preset persona 保持原厂原样不做任何修改。注意区分:本插件不设子代理硬闸门,但 DSH 服务侧另有硬校验——子代理自身调用提问会抛 DELEGATED_CALLER,详见「特性」第 1 条。

⚠️ 安装约束:本插件是 preset 工具行消费的 Cordis 插件,严禁加入 profile package.jsondsh.profile.bundles(bundle 层必须在包内声明 dsh.bundle,本插件没有,加入会导致启动报错)。只需通过 pnpm add / dsh plugin --profile web add 进入 dependencies 即可,preset 的工具行会直接从 node_modules 解析本包。

特性

  • ask_user_grilling:本 preset 唯一的提问工具(grilling 轮次与一切其他提问都走它——tool-ask-user 行已从三份 preset 删除)。
    • 子代理等齐(软纪律,无硬拦):若本轮派了子代理且下轮依赖其结论,优先结束当前回合、等全部结算后再问——事实没回就先问只会浪费一轮;父代理在子代理运行时照常提问(本插件不设硬闸门);
    • 子代理不能自行提问(DSH 服务侧硬校验,非本插件所为):子代理自身调用任何提问工具都会被 dsh-user-questionsagents.roots() 校验拒绝并抛 DELEGATED_CALLER——提问者必须是「运行根」,被另一个活代理拥有的子代理没有人类答者、否则会永久阻塞。父代理可正常提问。子代理应把未决问题写进最终结果,由父代理代为提问。(已在 0.1.5-rc.1 上对真实 UserQuestionService 实测:非根代理 → DELEGATED_CALLER;根代理 → 正常 resolve。)
    • 强制多选:所有问题一律多选(schema 不提供关闭开关;此行为刻意不写入工具描述——模型若知道只能多选,会为避免互斥选项而影响出题质量,见「描述即纪律」);
    • 补充机制:每题末尾的补充输入框由 UI 自动渲染、轮末补充题由代码自动追加,两者都不依赖模型也不写入描述(模型自加补充项只会与它们重复);仅当轮末补充输入非空时才应再开一轮;
    • 题干引导:要求题干只含问题本身、不重复选项文本(仅模型侧引导,不做硬校验——避免误伤自然提及选项名称的题干);
    • 描述即纪律:工具描述保持精简,只承载工具必知项(以 lib/index.js 实物为准:唯一提问工具路由、散文预告 + 同一回合一次投递、字段映射与推荐标记、id 规则、勿自加收尾题、子代理等齐软纪律(无硬闸门));投递协议细节由技能旁注 DSH delivery 承载,不与工具描述重复;停轮纪律不在技能里写,只由本工具描述现教(软纪律,无硬闸门)。
  • 轮次收尾不自动进入 plan mode:grilling 达成共识后由用户决定继续方式(直接执行、或需要方案时自行 /plan on)。

安装

dsh plugin --profile web add @lynn123411/dsh-ask-user-grilling

已发布至 npm,供三个 matt 预设(matt-standard / matt-ptc / matt-cordis)使用(preset 的工具行直接消费本包)。

本地开发:临时联调可将本目录复制到 ~/.dsh/profiles/web/node_modules/@lynn123411/dsh-ask-user-grilling/(preset 的工具行会直接从 node_modules 解析),但裸拷贝是未注册状态:pnpm install / dsh plugin add|remove 等任何 profile 同步都会把它当 extraneous 清掉,并导致三份 matt preset 从模式选择里消失(2026-09-08 真实事故,见 patches/matt-presets-bootstrap/README.md §四)——“被清重拷”只是重复踩坑。注意:不要把它加进 profile package.jsondsh.profile.bundles(bundle 层必须在包内声明 dsh.bundle,否则启动报错)。含未发布改点时调完即发版,再用 pnpm add 回装为注册版本。