Development & Runtime

dsh-daily-brief

equinox7379/dsh-daily-brief · ★ 0

equinox7379

DeepSeek Harness plugin that counts live-session activity (turns, user messages, assistant replies, tool calls) over the last N days for daily-brief questions.

README body is shown in Chinese.

License
MIT
Added
2026-08-23
Maintenance
active
Install kind
github

No manifest check is available; listing does not imply compatibility or security review.

安装

dsh plugin --profile web add github:equinox7379/dsh-daily-brief

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

For install and environment setup, plus plugin development tutorials, see DSH community docs ↗

README

Source README · body: zh · Read Chinese README

Table of contents
  1. 用途
  2. 用法
  3. 可靠性
  4. 安装
  5. License

DeepSeek Harness 插件:统计 live 会话在最近 N 天内的活动量(回合、用户消息、助手回复、工具调用),供日报类问题使用。

用途

跨会话汇总当日工作量。所有数据来自内存中的 live 会话事件,不读磁盘、不改写任何东西。

用法

  • 工具:daily_brief
  • 参数:days(默认 1)、sessionId(可选,只看某个会话)

示例(用户说「今日日报」后,AI 调用工具得到):

{ "windowDays": 1,
  "totals": { "turns": 23, "userMessages": 12, "assistantMessages": 23, "toolCalls": 86, "toolResults": 86 },
  "sessions": [ { "sessionId": "…", "cwd": "E:\\Yes", "turns": 20, "toolCalls": 79 } ] }

可靠性

  • 只读:仅遍历 sessions.list() 的事件数组;
  • 服务缺失或会话异常时返回空结果,不抛错;
  • 零运行时依赖、无自定义会话事件、无 HTTP 路由。

安装

dsh plugin --profile web add link:/path/to/dsh-daily-brief
# 重启 dsh web

License

MIT