dsh-shanhai-stats
A DeepSeek Harness web plugin that aggregates session usage into badges, trends, a yearly heatmap, and provider/model breakdowns.
Install
$ dsh plugin --profile web add github:cn-zhangpeng/dsh-shanhai-statsPlugin Overview & Capabilities
AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.
Key Capabilities
- Shows total token, cache-hit rate, usage count, model count, and consecutive-use-day badges.
- Charts input, cache-read, cache-write, and output token trends for selected date ranges.
- Displays a GitHub-style daily activity heatmap for the most recent 53 weeks.
- Groups usage details by provider or by provider-model combination.
- Backfills data by scanning workspace session history on activation.
- Processes subsequent session events incrementally, with sequence-gap detection and rereading.
- Includes sub-agent session events in aggregated usage.
- Adapts to light and dark themes using DSW design variables.
Useful For
- Review token usage trends in the DSH web interface.
- Compare usage across AI providers and models.
- Identify active days and recent usage patterns.
- Monitor cache-hit activity from recorded session usage events.
Who It Fits
- DeepSeek Harness web users
- Teams or individuals monitoring DSH session usage
- Developers using multiple providers or models in DSH
Documented Limitations
- The plugin aggregates DSH session-log events and does not calculate tokens itself.
- Daily data is retained in a sliding 53-week window; older history contributes only to totals, workspace, and model aggregates.
- Displayed total-token accounting includes input, output, cache-read, cache-write, and reasoning tokens as documented by the project.
- Initial activation scans local historical sessions, so completion may take time depending on history.
DSH Compatibility
Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.
Security Signals
Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.
package.json declares 0 runtime, 0 development, 0 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
GitHub reports the repository license as MIT.
A root package.json was captured and can be inspected by the registry.
Public GitHub source metadata is available for this registry snapshot.
Source & Registry Notes
Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.
- Source repository
- cn-zhangpeng/dsh-shanhai-stats
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- 82890fd · 2026-09-10
This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.
Repository Activity
- GitHub stars
- 0GitHub stars
- Forks
- 0
- Open issues
- 0
- Last commit
- 2026-09-10
- Last release
- No release detected
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
A bilingual DeepSeek Harness cost-tracking plugin with session and daily costs, budgets, pricing management, balance lookup, and coding-plan quota displays.
View plugin →Full context lifecycle management, visualization dashboard, and /context command for DeepSeek Harness.
View plugin →Generative UI plugin for DeepSeek Harness that renders interactive components and charts inline from assistant responses.
View plugin →Native skin marketplace and theme lifecycle manager embedded directly into DeepSeek Harness settings.
View plugin →