
SenmuuuuW/dsh-whale-report
dsh-whale-report
dsh-whale-report is a community DeepSeek Harness plugin. Read the repository README before installing.
Install
npx @deepseek-ai/dsh plugin --profile web add "github:SenmuuuuW/dsh-whale-report"Restart `dsh web` after install. Bundle APIs can change during the developer preview.
README badge
[](https://dshhub.dev/plugins/dsh-whale-report)Paste this into your README. The star count updates with every catalog sync.
From the README
Excerpt from SenmuuuuW/dsh-whale-report, cleaned of badges and images.
<h1 align="center">深迹 · DeepTrace</h1>
<p align="center"><b>Your Agent, in numbers.</b></p>
<p align="center">Agent 可观测 → 诊断 → 改进 → 受控修改 → 回验:<br/>把 DSH 的 session、token、cost、tool call 与异常,转成可追踪的事实、确定性诊断、可执行建议,以及真正能被验证的改进。</p>
<span style="color:#4d6bfe;font-weight:700;font-family:ui-monospace,Menlo,monospace">6 PERIODS</span>
<span style="color:#33445f"> · </span>
<span style="color:#cbd5e1;font-family:ui-monospace,Menlo,monospace">DETERMINISTIC</span>
<span style="color:#33445f"> · </span>
<span style="color:#cbd5e1;font-family:ui-monospace,Menlo,monospace">4 IMPROVE RULES</span>
<span style="color:#33445f"> · </span>
<span style="color:#cbd5e1;font-family:ui-monospace,Menlo,monospace">APPLY + VERIFY</span>
<span style="color:#33445f"> · </span>
<span style="color:#cbd5e1;font-family:ui-monospace,Menlo,monospace">HISTORICAL PRICING</span>
<span style="color:#33445f"> · </span>
<span style="color:#cbd5e1;font-family:ui-monospace,Menlo,monospace">INCREMENTAL INDEX</span>
<span style="color:#33445f"> · </span>
<span style="color:#cbd5e1;font-family:ui-monospace,Menlo,monospace">FAULT ISOLATION</span>
<span style="color:#33445f"> · </span>
<span style="color:#cbd5e1;font-family:ui-monospace,Menlo,monospace">READ-ONLY BY DEFAULT</span>
<br/>
Why DeepTrace
Agent 跑完之后,真正难回答的问题不是"它做了什么",而是:
- 哪些 session 最贵?
- 为什么突然开始 retry?
- 哪些操作值得注意?
- 夜里到底跑了多少?
- 是哪次任务把成本拉高的?
- 这周有什么值得改的?
DeepTrace 不是 log viewer,也不是普通 dashboard——它把会话事件日志聚合成报告,让这些问题有答案。
The loop
<b style="color:#4d6bfe">TRACE</b><br/>
<span style="color:#33445f;font-size:12px">Sessions / tokens / cost / tools become queryable evidence.</span>
<td align="center" width="3%" style="color:#94a2b3">→</td>
<b style="color:#4d6bfe">DIAGNOSE</b><br/>
<span style="color:#33445f;font-size:12px">Deterministic findings locate failures, waste and cost anomalies.</span>
<td align="center" width="3%" style="color:#94a2b3">→</td>
<b style="color:#4d6bfe">IMPROVE</b><br/>
<span style="color:#33445f;font-size:12px">Recommendations include evidence and a verification plan.</span>
<td align="center" width="3%" style="color:#94a2b3">→</td>
<b style="color:#4d6bfe">APPLY</b><br/>
<span style="color:#33445f;font-size:12px">Only predefined safe changes can be applied after explicit approval.</span>
<td align="center" width="3%" style="color:#94a2b3">→</td>
<b style="color:#4d6bfe">VERIFY</b><br/>
<span style="color:#33445f;font-size:12px">Post-change evidence determines VERIFIED / NOT IMPROVED / INCONCLUSIVE.</span>
一次报告,走完整个闭环。Apply 只接受用户批准的、allowlisted 的、受控的修改;Apply 不是 autonomous optimization,self-healing 不在范围内。
v0.6.1 — Accounting Correctness
Correct history. Complete sessions.
这一版修的是"数字是否可信"。v0.6.1 release
Historical pricing
DeepSeek pricing 按真实生效日期回溯(Asia/Shanghai):
- before 2026-08-17:legacy flat pricing
- 2026-08-17 onward:peak / off-peak pricing
- 2026-08-23 onward:weekends fully off-peak
Complete session ingestion
- plugin 启动后新建的 sessions 会被 periodic reconcile 自动发现,不需要 restart
- repeated reconciliation 不重复计数
Resume history
- normal resume 保留完整历史;only true fork inherited seed is excluded
- 升级 v0.6.1 后,旧 v17 index 自动失效并重建(见 Semantic migration)
Semantic migration
…

