dsh-usage-guard
Sanitizes token-usage metrics to prevent DeepSeek Harness session history corruption caused by malformed provider data.
Install
$ dsh plugin --profile web add @goodandready/dsh-usage-guardPlugin 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
- Intercepts session projections at runtime to prevent NaN arithmetic pollution
- Restores corrupted existing sessions dynamically during replay
- Resolves vendor field aliases from OpenAI, Google Gemini, and Ollama APIs
- Validates integer soundness, rounds float counters, and clamps abnormally large step token spikes
- Provides a native Web UI settings card with live telemetry and diagnostic reporting
Useful For
- Recovering DeepSeek Harness chat sessions broken by NaN or malformed token usage errors
- Using non-standard LLM proxy gateways or community model routers safely
- Preventing session history corruption when connecting local inference engines such as Ollama
Who It Fits
- DeepSeek Harness users connecting diverse third-party or local model providers
- Developers dealing with corrupted session history errors caused by schema validation failures
- System administrators operating DSH instances with custom reverse proxies
Documented Limitations
- Does not rewrite raw event logs on disk; protection operates in-memory at runtime
- Requires restarting the DSH Web UI after installation to activate interceptors
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, 2 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
- GooDAnDReaDY/dsh-usage-guard
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- cbda464 · 2026-10-22
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-10-14
- Last release
- 2026-10-14
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Security red-teaming and prompt rule management plugin for DeepSeek Harness web and desktop profiles.
View plugin →Vision routing and pixel-level tools for text-only DeepSeek Harness agents with built-in free fallback.
View plugin →DeepSeek Harness integration for ego-lite Chromium browser, providing 33 structured automation tools and a real-time visual watch panel.
View plugin →Persistent multi-model agent teams with dynamic DAG orchestration, run monitoring, and token insights for DeepSeek Harness.
View plugin →