Equinox7379 / dsh-daily-brief

Listed

Daily activity brief for DSH: per-session turns/messages/tool-call stats. Read-only.

masterToolSession View source

Installation

npx -y @deepseek-ai/dsh plugin --profile web add github:Equinox7379/dsh-daily-brief

This installation command is an unverified starting point generated from the GitHub repository address.

README

Maintainer-authored documentation snapshot.

View on GitHub ↗
Commit b150bc8Synced Aug 18, 2026

dsh-daily-brief

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

Repository information

Language
JavaScript
License
MIT
Last updated
Aug 14, 2026, 3:54 AM

Install deliberately

Review source code, permissions, lifecycle hooks, dependencies and network access. Test untrusted plugins in an isolated environment.