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

@little_monkey/dsh-notify-user

v0.3.1

Published

NotifyUser-style periodic progress updates for DSH conversations.

Readme

DSH NotifyUser

在 DSH 会话里加入 Kimi Code 风格的周期性进展播报:模型用 notify_user 工具发布进度,harness 在连续多轮没有更新时通过 runtime context 提醒模型补发。

当前范围

M0–M3:Host 半(工具 + 提示词 + nudge)+ 对话内进度行(latest 展开/旧行折叠、时间、Markdown 正文、error 降级)+ turnTail 常驻摘要。

外部可见性(M4)

工作步骤展示处于「简洁/标准/详细」时,运行中的过程组只显示组头,进度行会被一起折叠。为此新增一条输入框上方的进度条,挂在 conversation.input.dock(id: notify-user-progress,order 15,与 todo/goal/queue 同一区域),完全在 Chat 流之外:

  • 只在「本会话有运行中的轮次」且「最后一轮存在成功的 notify_user」时渲染,否则返回 null,不占位;
  • 一行显示脉冲圆点 + 「最新进展」+ 标题 + 时间,点击展开 Markdown 正文;新的一条更新会重新收起;
  • 轮次结束后自动隐藏,历史仍由 in-flow 进度行与 turnTail 承担;
  • 几何直接复用宿主给自己的 dock 配方(抄自 TodoPanel.module.css):width: calc(100% - 2×--dsh-composer-side-clearance - 4×--dsh-composer-dock-inset)、max-width: calc(--dsh-composer-card-max-width - 4×inset)、margin: 0 auto,表面用 --dsw-specific-menu + --dsw-elevation-panel + --dsw-radius-lg,因此左右边缘与输入框卡片严丝合缝;
  • 只读槽位公开契约:sessionId(standard prop)、useSessionStatus 判运行中、useChat 取 timeline.turnOrder 最后一条轮次的节点。工具调用节点的参数在 root.argsRaw(扁平字段,readArgsRaw 兼容旧的 root.call.argsRaw)。

配置

| 字段 | 默认 | 说明 | |---|---|---| | enabled | true | 关闭后不注册工具、guidance 与 nudge | | nudgeRounds | 8 | 连续多少轮无更新后提醒(默认对齐 Kimi) | | nudgeCooldownRounds | 8 | 再次提醒的冷却轮数 |

已知差异

  • 进度行是 Turn process group 内的工具行,不是 Kimi 式独立对话行。
  • DSH 默认(detailed)会在 turn 结束后折叠进程组;后续用 conversation.chat.turnTail 提供常驻入口(Phase 1.5)。
  • 子 agent 的更新不并入父会话。
  • PTC preset 下 notify_user 仍是 run_code 的子调用(root.subCalls 里的 call_...:ptc:N),in-flow 不独立成行;但输入框上方进度条、turnTail 摘要与「最新一条自动展开」都按 subCalls 递归查找(深度上限 64),PTC 会话同样能看到最新进展。
  • 关闭 enabled 只阻止新调用,历史 transcript 里已有的进度行仍会渲染。

卸载

plugin_manager action=remove_bundle(或对应 profile 操作)后刷新页面。