dsh-live-token-stats
Live token stats, streaming TPS, and time-to-first-token monitor with BPE tokenization for DeepSeek Harness.
Install
$ dsh plugin --profile web add github:better-er/dsh-live-token-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
- Real-time streaming token estimation using built-in DeepSeek V4 BPE tokenizer or character density fallback
- Sliding-window token generation speed (TPS) tracking and overall average speed measurement
- Time-to-first-token (TTFT) measurement and stall/drowning duration tracking
- Interactive UI capsule and detailed expandable statistics panel below the conversation composer
- Post-stream reconciliation between estimated tokens and official provider usage metrics
- Dedicated authenticated RPC endpoint for real-time waterfall stats transmission
Useful For
- Monitoring inference latency and streaming throughput during active DeepSeek Harness sessions
- Detecting frozen or stalling generation streams (drowning detection)
- Auditing token consumption differences between raw text, reasoning traces, and tool calling overhead
Who It Fits
- DeepSeek Harness web client users seeking visibility into stream health and generation speeds
- Developers diagnosing latency, provider throttling, and token consumption accuracy
Documented Limitations
- Local token estimations for tool calls may deviate from provider billing due to provider-injected message templates and call IDs
- Requires a restart of DSH web profile after installation for the UI layer to mount
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 2 runtime, 23 development, 5 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.
package.json declares a prepare lifecycle script that may run during relevant package installation workflows.
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
- better-er/dsh-live-token-stats
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- b73fd5b · 2026-10-26
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
- 10GitHub stars
- Forks
- 1
- Open issues
- 1
- Last commit
- 2026-10-25
- Last release
- 2026-10-25
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Cost and token tracking plugin for DeepSeek Harness featuring session budgets, provider balances, and coding plan quotas.
View plugin →Generative UI plugin for DeepSeek Harness that renders interactive cards, charts, forms, and panels inline from dsh-ui code fences.
View plugin →Session lifecycle manager for DeepSeek Harness with search, restore, idle cleanup, and diagnosis.
View plugin →Whale Girl themed UI skin collection and manager plugin suite for DeepSeek Harness Web.
View plugin →