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

@s7952452/ai-workflow-dsh

v0.3.0

Published

DSH-native ai-workflow habits, skills and compaction reminder

Readme

ai-workflow DSH 插件

DSH 原生的短核心习惯、四个可选技能与压缩后恢复提醒。安装即生效,不需要任何配置。

安装

dsh plugin --profile web add @s7952452/ai-workflow-dsh     # 或 dsh plugin --profile web add /abs/ai-workflow-dsh-0.3.0.tgz

包内 cordis.patch.yml 只插入一行且默认启用。卸载用 dsh plugin --profile web remove @s7952452/ai-workflow-dsh,不写用户目录、无残留。

提供什么

| 贡献 | 接口 | 覆盖范围 | |---|---|---| | 习惯正文 | 根作用域 systemPrompt.section | 每个工作区、每个会话、含子 Agent;位于系统提示,不参与上下文压缩 | | 四个技能 | ctx.skills.register 运行时条目 | 同上,模型按需加载;正文自包含,不依赖文件根 | | 压缩提醒 | session/event + agent/pre-step | 每次成功压缩后一次(含手动 /compact 与溢出恢复) |

失效可见性

每会话首次 agent/pre-step 做一次活体体检:习惯是否真的被渲染、技能是否真的在目录里、提醒钩子是否真的被调用、宿主版本是否已验证。全部正常时不产生任何输出;异常时在该会话注入一行 notice(每个错误码每进程一次),并在宿主日志留下 ai-workflow: <CODE>。

需要详情时在任意会话输入 /ai-workflow:

ai-workflow 0.3.0 状态
宿主  DSH 0.1.6-alpha.2(未验证;已验证到 0.1.5-rc.2)
✓ 习惯  已注册;本会话渲染 12 次,累计 340 次
✓ 技能  已注册 4 个(运行时报文;被文件覆盖时见下方提示)
✓ 提醒  pre-step 148 次,压缩 3 次,已投递 3 次

宿主升级后据此前瞻:任意会话出现的 notice 与 /ai-workflow 报告说明哪一项失效;npm run verify:dsh-live 可在隔离 DSH_HOME 中做真实会话断言。

配置(全部可选)

| 字段 | 默认 | 说明 | |---|---|---| | recovery | true | 设为 false 关闭压缩后提醒,习惯与技能不受影响 | | recordTool | true | 设为 false 不在技能正文里附加记录工具说明 |

边界

不修改宿主组合、不写用户目录、不注册工具门禁、不创建 followup、不在任务结束后续行。技能同名冲突时宿主原生文件版本优先,体检报告会显式列出被覆盖的技能。