Skip to content
dsh.fish
Bundle

dsh-daily-brief

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

Source
Equinox7379
stars
1 stars
License
MIT
Updated
Updated 2 days ago

Readme

# dsh-daily-brief

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

## 用途

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

## 用法

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

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

```json
{ "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 路由。

## 安装

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

## License

MIT

Install

dsh plugin --profile web add github:Equinox7379/dsh-daily-brief#b150bc868217d9d24c16438d5b0b7964e5f28420

Profile: web

Source