zhengjy01/dsh-period-report ↗★ 0
dsh-period-report
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).
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhengjy01/dsh-period-report说明文档
阅读完整 README ↗dsh-period-report
DeepSeek Harness 的自由周期会话报告插件:从会话库生成AI 叙事工作报告(日报 / 周报 / 月报 / 任意自定义时间段),并可设置周期提醒(“每隔 N 天 · HH:MM · 自起始日期起”),到点自动生成报告并弹系统通知。
功能
- 任意日期区间 —— 选择开始/结束日期,报告精确覆盖该时间段(单日、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) |