← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-usage-guard

Sanitizes token-usage metrics to prevent DeepSeek Harness session history corruption caused by malformed provider data.

UI & ProductivityDeveloper ToolsRemote Execution
0GitHub Stars0ForksUpdated2026-10-14

Install

$ dsh plugin --profile web add @goodandready/dsh-usage-guard

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-usage-guard intercepts and sanitizes session token-usage events at runtime in DeepSeek Harness. When third-party LLM providers, proxies, or local models return non-standard, negative, or NaN token counters, standard arithmetic breaks session replay schema validation. This plugin borrows standard vendor aliases, rounds floating-point tokens, replaces corrupt counters with safe zeros, and clamps token spikes, preventing chat crashes and instantly restoring previously locked sessions without modifying raw disk logs.

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.

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, 0 development, 2 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
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
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