DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-tokstat

DeepSeek Harness settings-panel plugin for local usage, latency, throughput, and estimated-cost statistics, with an optional Python TUI.

VisionUI & ProductivityTerminal & TUIDeveloper ToolsSecurity & PolicyRemote Execution
0GitHub Stars0ForksUpdated2026-08-18

Install

$ dsh plugin --profile web-dev add https://github.com/kongjianguan/dsh-tokstat.git

Plugin 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.

source-grounded
dsh-tokstat installs into a DSH profile and adds a Statistics section to the DSH Web settings UI. It aggregates local session logs into token, TTFT, TPS, retry, failure, cache-hit, and estimated-cost views; the repository also includes a standalone Python terminal dashboard.

Key Capabilities

  • Adds a Statistics section to the DSH Web settings page.
  • Aggregates input, output, and cache-read tokens from DSH session logs.
  • Shows request counts, TTFT percentiles, TPS, duration, success rate, retries, failures, and cache-hit rate.
  • Provides views for overview, trends, models/providers, sessions, requests, and errors.
  • Estimates costs using a local YAML price table.
  • Includes a standalone Python TUI with configurable refresh interval and time range.
  • Serves plugin statistics through the local /tokstat/stats endpoint.

Useful For

  • Monitor local DSH token usage and estimated spend.
  • Compare model or provider latency and throughput.
  • Investigate retries, failed steps, and request-level behavior.
  • Review session-level usage and activity.

Who It Fits

  • DeepSeek Harness users running the Web UI.
  • Agent-heavy DSH users investigating request performance.
  • Users who want a local terminal dashboard for DSH session statistics.

Documented Limitations

  • Validated against the DSH 0.1.0-rc.6 session-log format; later DSH log-format changes may cause parsing issues or inaccurate values.
  • The Node plugin requires Node.js 23.6 or later; the TUI requires Python 3.11 or later plus its listed dependencies.
  • TTFT may be approximate when logs retain batched chunk events rather than individual token deltas.
  • Estimated costs depend on the local prices.yaml configuration; unpriced models display no cost.
  • Large data volumes can make overview and request-page refreshes slower.
  • The TUI is a separate Python program rather than an installed DSH plugin component.

DSH Compatibility

Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.

Not tested yetNo runtime compatibility tests have been published yet.

Security Signals

Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.

Dependency Counts

package.json declares 0 runtime, 1 development, 12 peer, and 0 optional dependencies.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
License Declared

GitHub reports the repository license as MIT.

info
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info

Source & Registry Notes

Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.

Source repository
kongjianguan/dsh-tokstat
Registry source
GitHub · dsh-plugin topic
Registry classification
Plugin
Source checked
3123a27 · 2026-08-18

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-08-18
Last release
No release detected
For maintainers

Maintaining this plugin?

This listing is generated from public repository data. If you maintain this project, you can review the information and share this listing with your users if you find it useful.

Add to README
Listed on DSHPlugin.app