Back to directory

dsh-whale-report

Curated pickMaintenance: Active

senmuuuuw/dsh-whale-report

DeepTrace analytics: aggregates DSH session event logs into daily/weekly/monthly/yearly/custom reports — cost (official pricing), tokens, tool calls, retry bursts, dangerous ops, secret-pattern scan (presence only), session drilldown, PNG/HTML export; read-only

View on GitHub
$ dsh plugin --profile web add "github:SenmuuuuW/dsh-whale-report"

30

stars

3

forks

TypeScript

Language

MIT

License

2026-08-14

Created

2026-09-03

Last push

MIT-licensed, read-only DSH analytics plugin: turns session logs into cost / token / tool-call reports with deterministic findings, collaboration review and PNG / HTML / PDF export.

DSH integration

Native runtime

Author-claimed

Safety audit

Unaudited

Last verified

2026-09-06

License

MIT

01What can it help you accomplish?

  • Turn DSH session logs into daily / weekly / monthly / yearly / custom analytics reports

    Cost, tokens, tool calls, retry bursts, dangerous ops and a secret-pattern scan, with deterministic findings

    DSH users who want to see what their agent spent and did, per session and per period

  • Export a DeepTrace report for sharing or archiving

    Web panel report, PNG, printable HTML page, and PDF (A4) — plus a markdown report from the `whale_report` tool

    Teams reviewing agent spend and collaboration, or archiving period reports

02How to install into DeepSeek Harness

Prerequisites

  • DSH (DeepSeek Harness, web) environment; official compatible baseline DSH 0.1.1-rc.2 (peer `>=0.1.1-rc.2 <0.2.0`)
  • (optional) DSH-better-sidebar to surface the 深迹 Tab in the + menu; without it a floating button is the fallback

Installation steps

  1. 01

    Run `dsh plugin --profile web add "github:SenmuuuuW/dsh-whale-report"` to register into dsh web (recommended, full features)

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

  2. 02

    Restart dsh web so the host code takes effect; the client bundle auto-updates with the plugin

  3. 03

    (dependency only) `npm install dsh-whale-report@0.6.1` — installs the package but does NOT register it as a DSH plugin

    $ npm install dsh-whale-report@0.6.1

Verify the integration

  • Open the 深迹 Tab from the + menu in the DSH web sidebar (or the bottom-right floating button if better-sidebar is not installed)

Rollback

  • Uninstall via the dsh plugin manager; data goes through the official seam and uninstall is clean

03DSH integration and capability boundaries

DSH integrationNative runtime

DSH plugin registered into dsh web via `dsh plugin --profile web add` (official seam ctx.sessionQuery + storage domain)

  • Period reports (6 presets)

    DSH session event logs (official seam ctx.sessionQuery + storage domain)→daily / weekly / monthly / yearly / 24h-rolling / custom reports with baseline deltas

  • Cost & token accounting (read-only)

    session events→cost (official peak/off-peak pricing, historically correct), tokens, tool calls, retry bursts, dangerous ops, secret-pattern presence scan

  • Read-only by default; controlled Apply seam (shell.timeoutMs)

    deterministic findings (Repeated Tool Failure / Retry Waste / Peak Cost)→recommendation + evidence + verification plan; on approval, a single `shell.timeoutMs` change, then VERIFIED / NOT IMPROVED / INCONCLUSIVE

    only writes the `shell.timeoutMs` setting after user approval; no other config is changed automatically
  • Export (Web / PNG / HTML / PDF)

    canonical report→Web report, PNG (main report), printable HTML page, A4 PDF; `whale_report` tool returns markdown

04Who is it for? When not to use it?

Good for

  • DSH users who want to see what their agent spent and did, per session and per period
  • Teams reviewing agent spend and collaboration, or archiving period reports

Not for

  • Cost is an estimate, not the provider invoice — computed from official peak/off-peak pricing and real effective dates; final numbers follow the DeepSeek Platform bill.

05Compatibility, maintenance and safety notes

  • Cost is an estimate, not the provider invoice — computed from official peak/off-peak pricing and real effective dates; final numbers follow the DeepSeek Platform bill.
  • Apply supports only `shell.timeoutMs`: a single, user-approved, revertible change. No arbitrary config / shell / code mutation, no auto-rollback, no self-healing.
  • Read-only by default: never rewrites session history; secret scan records only pattern labels (no raw secrets); corrections store only category + count.
Not specified by the authorNot specified by the authorv0.6.1

readme_verified

06Frequently asked questions

How do I install DeepTrace into DeepSeek Harness?

Run `dsh plugin --profile web add "github:SenmuuuuW/dsh-whale-report"` then restart dsh web. It registers as a full-featured DSH plugin; the npm package alone only installs the engine, not the web UI or the `whale_report` tool.

What does DeepTrace measure?

It aggregates session event logs into cost (official peak/off-peak pricing, historically correct), tokens, tool calls, retry bursts, dangerous operations, a secret-pattern scan (presence only, no raw secrets) and session drilldown, across 6 report periods.

Is DeepTrace safe — does it change my data?

By default it is read-only and never rewrites session history. The only write it can make is a user-approved `shell.timeoutMs` adjustment; it does not auto-rollback and does no self-healing.

Are the cost numbers exact?

No — cost is an estimate from official peak/off-peak pricing and real effective dates, not your provider invoice. Final numbers follow the DeepSeek Platform bill.

How do I export a report?

Inside the panel you get a full Web report; you can also export the main report as PNG, a printable HTML page, or print the panel to PDF (A4). The `whale_report` tool can return a markdown report in chat.

08Data and sources

  • Author-claimedgithub.coma20003e6ddbd…

    **① DSH 插件安装(推荐,完整功能)** —— 注册进 dsh web

  • Author-claimedgithub.coma20003e6ddbd…

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

This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-09-06. Found an error? Submit a correction.

🏆

Best DeepSeek Harness Plugins

Twelve plugins worth installing first — picked from the whole catalog, across every category.

AD

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.