Skip to content

SenmuuuuW/dsh-whale-report

141Last commit Aug 15, 2026

dsh-whale-report DSH plugin

DeepTrace is not a log viewer or a common dashboard. It aggregates session event logs into a deterministic report, providing insights like cost, retry bursts, dangerous operations, and activity patterns. The report is generated locally with zero token consumption, ensuring reproducibility.

How to install the dsh-whale-report DSH plugin

dsh plugin --profile web add "github:SenmuuuuW/dsh-whale-report

Copying does not run this command. Review the repository and version before installing the dsh-whale-report DSH plugin.

dsh-whale-report DSH plugin data source

dsh-whale-report DSH plugin snapshot date: Aug 16, 2026

discovered

What the dsh-whale-report DSH plugin can do

  • Cost breakdown by model and session using official pricing with 6h cache
  • Token statistics: input, output, cache read, reasoning, split by model
  • Activity analysis: 24h distribution, night owl index, daily sequence
  • Tool call summary with grouping by tool family
  • Retry burst detection: same command repeated ≥3 times with error sample
  • Dangerous operation classification: red (irreversible) and yellow (caution) levels
  • Secret scan: detect 6 common key patterns, report presence only, no storage
  • Session drilldown: sessions sorted by cost with retry, danger, model attribution
  • Baseline comparison: auto-stored per period, show delta (cost, sessions, cache hit rate)
  • Provider balance: real-time balance for model platforms (DeepSeek supported)

Where the dsh-whale-report DSH plugin fits

  • Identify which sessions are the most expensive
  • Analyze why retry bursts occur and when
  • Monitor night-time activity and agent workload
  • Generate daily, weekly, monthly, or custom date range reports
  • Export reports as PNG, HTML, or PDF for sharing or archiving

Who the dsh-whale-report DSH plugin is for

  • DSH users who want to monitor their Agent's cost and efficiency
  • Developers and teams who need to inspect session behavior, anomalies, and usage patterns

dsh-whale-report DSH plugin limitations

  • Session jump is not yet implemented: report provides Session ID copy, but not one-click navigation back to the original session
  • Historical trend is limited to 'previous period' comparison; no multi-period trend curve yet
  • Cost is an estimate calculated from official pricing pages; refer to platform billing for accuracy

dsh-whale-report DSH plugin: from the repository README

Quoted from the SenmuuuuW/dsh-whale-report README, the upstream source of the dsh-whale-report DSH plugin. Copyright remains with the original authors.

Agent 跑完之后,真正难回答的问题不是"它做了什么",而是: - 哪些 session 最贵? - 为什么突然开始 retry? - 哪些操作值得注意? - 夜里到底跑了多少? - 是哪次任务把成本拉高的? DeepTrace 不是 log viewer,也不是普通 dashboard——它把会话事件日志聚合成报告,让这些问题有答案。 ## The loop <table align="center"> <tr> <td align="center" width="30%" style="background:#f5f8f9;border:1px solid #d9e3e8;border-radius:12px;padding:16px 14px"> <b style="color:#4d6bfe">SEE</b><br/> <span style="color:#33445f;font-size:13px">总览成本、调用、模型与异常</span> </td> <td align="center" width="5%" style="color:#94a2b3">→</td> <td align="center" width="30%" style="background:#f5f8f9;border:1px solid #d9e3e8;border-radius:12px;padding:16px 14px"> <b style="color:#4d6bfe">NOTICE</b><br/> <span style="color:#33445f;font-size:13px">Findings + Whale Note 指出值得看的问题</span> </td> <td align="center" width="5%" style="color:#94a2b3">→</td> <td align="center" width="30%" style="background:#f5f8f9;border:1px solid #d9e3e8;border-radius:12px;padding:16px 14px"> <b style="color:#4d6bfe">TRACE</b><br/> <span style="color:#33445f;font-size:13px">Session Drilldown 追到具体会话复盘</span> </td> </tr> </table> 一次报告,走完整个闭环。 ## Product <img src="docs/images/overview-

Read the full READMERepository license: MIT

dsh-whale-report DSH plugin questions

How do I install DeepTrace?

Run `dsh plugin --profile web add "github:SenmuuuuW/dsh-whale-report"` in your DSH environment. Restart the DSH web server to activate the host code. The client bundle updates automatically with the plugin.

How do I generate a report with DeepTrace?

You can open the 'DeepTrace' tab in the sidebar (if you have better-sidebar installed) or use the floating button at the bottom-right corner. Alternatively, type 'give me a weekly report' in the chat and the whale_report tool will output a markdown report.

Does DeepTrace cost tokens to generate reports?

No. The report generation is entirely local and deterministic, using zero tokens. It reads session event logs from the local storage and aggregates them with built-in rules.

Is my data private when using DeepTrace?

Yes. DeepTrace is read-only: it never modifies session history. The API only serves localhost loopback plus same-origin. Secret scan only detects presence of patterns, never stores the secret text. Dangerous operations only store the first line of the command.

How do I export a report?

DeepTrace supports exporting as PNG (full report or session drilldown), HTML (printable page), and PDF (from browser print dialog). The export uses the same visual style as the panel.