← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-session-guard

Session gating plugin for DeepSeek Harness that automatically pauses and resumes sessions during peak pricing windows.

UI & ProductivityDeveloper Tools
4GitHub Stars1ForksUpdated2026-10-01

Install

$ dsh plugin --profile web add [email protected]

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-session-guard is a DeepSeek Harness plugin designed to optimize token costs under DeepSeek peak/off-peak pricing. It introduces automated peak-hour session pausing, step-level request gating, weekend mode detection, official provider endpoint verification, session freezing controls, and automated backend retries with fail-open safety.

Key Capabilities

  • Automatic global session pausing during peak hours (China Standard Time) and auto-resumption during off-peak
  • Step-level gating at agent pre-step boundaries to hold requests before model calls
  • Weekend mode detection using IANA timezones to bypass peak pausing on weekends
  • Two-dimensional official provider matching to intercept only official DeepSeek endpoints while allowing local/third-party providers
  • Request-level hold and deferred queue with configurable maximum hold timeout
  • Session freeze, pause, resume, and cancel control integration via redundant sessionGuard service and HTTP RPC endpoints
  • Automatic backend retry with adaptive backoff for transient turn errors while respecting frozen/gated sessions
  • Web client status badge displaying current operational phase and dedicated pause/resume UI controls

Useful For

  • Minimizing API costs during DeepSeek peak-hour pricing windows by deferring non-urgent long-running tasks to off-peak periods
  • Freezing and locking individual sessions while maintaining input queues intact
  • Protecting background batch agent workflows with automatic error retries and peak deferral

Who It Fits

  • DeepSeek Harness users optimizing API expenditure under peak/off-peak pricing
  • Developers executing long-running agent workflows and autonomous tasks
  • Engineers integrating multi-provider routing alongside official DeepSeek endpoints

Documented Limitations

  • Compaction does not route through agent/request and is not intercepted by the plugin during peak hours
  • Japanese (ja) and Korean (ko) locales require DSH runtime support or forks that register those locale IDs
  • Does not modify provider routing or rewrite prompt tokens; it only pauses, holds, or releases requests
  • In-flight held step promises are in-memory and do not persist across DSH process restarts

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 1 runtime, 7 development, 5 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
drscrewdriver/dsh-session-guard
Registry source
GitHub · dsh-plugin topic
Registry classification
Plugin
Source checked
3c15f52 · 2026-10-25

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
4GitHub stars
Forks
1
Open issues
2
Last commit
2026-10-01
Last release
2026-10-22
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