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-worknow

v0.1.3

Published

Standalone DeepSeek Harness plugin for Cursor auth, ZenTao workflows, DingTalk notifications, and scheduled due tracking.

Readme

dsh-worknow

dsh-worknow 是一个可独立使用的 DeepSeek Harness 插件,内置:

  • Cursor 一键浏览器登录(PKCE + /auth/poll 自动落凭证)
  • 内置 Cursor LLM(provider worknow-cursor):模型发现 + Agent 对话,无需安装 dsh-cursor-subscription
  • 禅道任务/BUG 查询、创建与更新(登录态全局共享,过期自动重登)
  • 任务 / Bug 共用快到期分档(默认 24/3/1 小时);统计指派人可多选(本人 + 禅道用户)
  • 钉钉通知二选一:群自定义机器人 Webhook,或 企业内部应用工作通知(Client ID + Secret + AgentId + 接收人 userid 或手机号;不发群)
  • 侧栏底部「禅道提醒」锚定弹层(非会话 Tab);配置与运行历史为全局一份
  • 定时统计与轮询均为固定模板(不经 AI):按用户 → 已到期/各档 → 条目;任务与 Bug 分开发送
  • Bug 至少提醒一次:新建(放宽创建窗口)或别人重新指派给你时,按「指派人」去重推送「待处理Bug」;到期/新增推送也会记为已提醒,避免重复
  • 新增任务/BUG 去重提醒(亦分消息;去重全局一份)
  • Slash 均为 runtime skill(zentao-*,不以 dsh- 开头)→ Agent → 工具(不含 schedule)
  • 设置弹窗三个配置 Tab:Cursor / 禅道 / 钉钉
  • 禅道/钉钉/Cursor 连接与禅道提醒定时均为全局:关闭对话不会删除定时

安装(Desktop 2.0.5+)

只走应用内「添加插件」,填写:

[email protected]

(推荐带版本号;也可填 dsh-worknow。安装程序会自动拉取依赖 dingtalk-stream。)

不要对 desktop profile 使用系统里的 pnpm / dsh plugin(Desktop 自带 pnpm 11;系统 pnpm 10 会把 store 写成 v10,再次用官方安装会报 ERR_PNPM_UNEXPECTED_STORE)。

若已安装旧插件 dsh-gd-work,先移除或停用。存储域是新库 dsh_worknow,不会自动迁移。

安装完成后重启 Desktop,侧栏底部点「禅道提醒」应弹出配置面板。

非 desktop 的自建 profile 可用:

dsh plugin --profile <name> add [email protected]

安装失败排查

ERR_PNPM_UNEXPECTED_STORE(v10 / v11 store 不一致)

  1. 完全退出 DeepSeek Harness
  2. 删除本机目录:%USERPROFILE%\.dsh\profiles\desktop\node_modules
  3. 重新打开 Desktop,再用「添加插件」安装 [email protected]

也可在仓库执行(会调用 Desktop 自带 pnpm 11 重链 store,需本机已安装 DeepSeek Harness):

node scripts/repair-desktop-profile.mjs --add [email protected]

提示装到了别的版本 / 供应链观察期:对话框里写精确版本 [email protected](不要装 0.0.0-stage,那是 npm 发布占位,已废弃)。

镜像尚未同步:官方安装源选 npm 官方,或等中国大陆镜像同步后再装;包地址 https://www.npmjs.com/package/dsh-worknow

从本仓库开发安装

pnpm install && pnpm build

再把本仓库目录填进「添加插件」。不要用系统 pnpm 去改 ~\.dsh\profiles\desktop。

禅道提醒(全局一份 · 侧栏弹层)

  1. 点击侧栏底部「禅道提醒」打开锚定弹层(无需当前会话;不占会话顶栏 Tab)
  2. 弹层内可:Switch 启停、任务/BUG 勾选、指派人多选、统计策略、轮询频率、立即扫描、运行历史(时区固定 Asia/Shanghai)
  3. 切会话 / 关会话:同一份配置与历史仍在;定时不依赖某个会话存活
  4. 没有 /zentao-schedule skill/工具;定时只走侧栏 UI

示例(其它能力):

/zentao-summary
/zentao-create-task
/zentao-update-task

钉钉正文为 Markdown,条目可点击跳转到 {禅道}/index.php?m=task&f=view&taskID={id} 或 …&m=bug&f=view&bugID={id}。

  • 统计策略:到点推送每人总计/快到期/已到期汇总(任务/Bug 各一条钉钉消息)
  • 轮询:快到期分档增量提醒 + 新建提醒(与统计策略模板不同)
  • 指派人与分档在「设置 → 禅道」配置

内置 Skills(对话里输入 / 即可)

均为 runtime skill:进入 Agent 后由模型调工具,缺参会先用中文追问。定时提醒不走 Skill,只用侧栏「禅道提醒」。

| Skill | 做什么 | |---|---| | /zentao-summary | 统计任务/Bug 数量与工时,或汇总到期/快到期。问到期→worknow_due_summary;问数量/工时→worknow_zentao_stats | | /zentao-create-task | 创建任务(执行、类型、模块、描述、需求、名称、指派、起止日期等齐参后再创建) | | /zentao-create-bug | 创建 Bug(至少产品 ID + 标题) | | /zentao-update-task | 更新已有任务(需 taskID;改名称/截止/指派/状态等) | | /zentao-update-bug | 更新已有 Bug(需 bugID;改标题/严重程度/截止等) |

说明:工具别名还有 zentao-stats 等,可直接被 Agent 调用;对话入口以表中 5 个 Skill 为准。

核心工具

  • worknow_setup(可选,与「设置 → 禅道/钉钉」写入同一份配置)/ worknow_status
  • worknow_due_summary(到期专用,未完成项)/ worknow_zentao_stats(按指标与时间范围聚合,默认含全部状态任务/Bug)
  • worknow_create_task / worknow_create_bug
  • worknow_update_task / worknow_update_bug
  • 别名:对应的 zentao-* 工具名(含 zentao-stats;无 schedule 工具)
  • 禅道提醒:侧栏弹层 UI + Host schedule/* RPC(非 chat 工具)

钉钉配置

  • Webhook:在群里添加自定义机器人,填 Webhook URL(可选加签 Secret)。
  • 机器人应用(工作通知):填开放平台 Client ID / Client Secret / AgentId,以及 接收人(userid 或手机号任填其一,可混填、多人逗号分隔)。发送前手机会自动换成 userid。需开通「根据手机号获取成员」权限。

userid 怎么查: 钉钉管理后台 → 通讯录 → 员工详情(管理员可见)。

可用设置页「发送测试消息」验证。

安全说明

  • 不明文输出 token/secret;设置页对密钥脱敏显示。
  • Cursor 凭证与禅道 session 仅存本机;定时默认关闭。