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-period-report

v0.2.1

Published

Free-interval session reports for DeepSeek Harness: AI-narrated daily/weekly/monthly digests over any date range, with every-N-days scheduled reminders that generate the report and pop a system notification (macOS Notification Center / Linux notify-send).

Readme

dsh-period-report

English | 中文

DeepSeek Harness 的自由周期会话报告插件:从会话库生成AI 叙事工作报告(日报 / 周报 / 月报 / 任意自定义时间段),并可设置周期提醒(“每隔 N 天 · HH:MM · 自起始日期起”),到点自动生成报告并弹系统通知。

功能

  • 可视化界面(v0.2.0) —— 设置页新增 Session Report 入口(报告生成器 + 提醒配置),提醒以右下角卡片弹出并支持大窗口阅读全文。

  • 任意日期区间 —— 选择开始/结束日期,报告精确覆盖该时间段(单日、2 天、7 天、整月……自由设定)

  • AI 叙事摘要 —— 调用部署默认模型生成自然语言摘要(今日数据 / 今日主线 / 今日回顾 / 明日建议),像人写的日报;关闭 AI 或不可用时自动回退为模板主线

  • 完整统计 —— 活跃/新建会话、用户/助手消息、工具调用、轮次、步骤、Token 用量(输入/输出/缓存读/缓存写/推理)、轮次结果、常用工具

  • 逐会话明细 —— 标题、id、工作目录、活跃时间段、消息/工具/轮次数、首条请求

  • 周期提醒 —— 周期长度自由:intervalDays: 1 = 每天、7 = 每周、2 = 每隔两天……以 anchorDate 为锚点,在 hour:minute 触发,每个周期只提醒一次;range: previous 报告已结束的上一周期(如 09:00 看昨日日报),current 报告进行中的周期

  • 系统通知 —— macOS 通知中心横幅(osascript)/ Linux notify-send;完整报告同时保存到 ~/.dsh/dsh-period-report/reports/,GUI 关闭也不丢

  • 中英双语 —— 报告支持中文(zh)与英文(en)

  • 配置持久化 —— ~/.dsh/dsh-period-report.json(权限 0600)

安装

dsh plugin --profile web add github:zhengjy01/dsh-period-report

本地开发:

dsh plugin --profile web add link:/path/to/dsh-period-report

工具

report_generate

生成任意日期区间的报告。

| 参数 | 类型 | 说明 | | --- | --- | --- | | startDate | string(必填) | 开始日期 YYYY-MM-DD(含当天) | | endDate | string(必填) | 结束日期 YYYY-MM-DD(含当天) | | includeSubagents | boolean | 是否包含子代理会话(默认 false) | | withUsage | boolean | 是否统计 Token 用量(默认 true;关闭可加快生成) | | language | string | zh 或 en(默认 zh) | | narrate | boolean | AI 叙事摘要(默认 true;关闭用模板,更快) |

返回完整 Markdown 报告。

report_config

查看或修改定时提醒配置(持久化于 ~/.dsh/dsh-period-report.json)。

| 参数 | 类型 | 说明 | | --- | --- | --- | | enabled | boolean | 启用/停用定时提醒 | | anchorDate | string | 起始日期 YYYY-MM-DD,周期从该日起算 | | intervalDays | number | 每隔 N 天提醒一次(1-90,7 即每周) | | hour / minute | number | 提醒时刻 | | range | string | previous(报告上一周期,默认)或 current | | language | string | 报告语言 zh / en | | narrate | boolean | AI 叙事摘要开关 |

不带参数调用即返回当前配置。

示例

“从 2026-06-01 起每隔 2 天早上 9 点提醒我,中文日报。”

→ report_config:{ "enabled": true, "anchorDate": "2026-06-01", "intervalDays": 2, "hour": 9, "minute": 0, "range": "previous" }

06-01、06-03、06-05 … 的 09:00 各提醒一次,每次报告上一个 2 天周期;系统通知显示摘要与报告文件路径。

许可

MIT