dsh-session-guard
Session gating plugin for DeepSeek Harness that automatically pauses and resumes sessions during peak pricing windows.
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.
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.
Security Signals
Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.
package.json declares 1 runtime, 7 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.
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
- 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
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Persistent multi-model agent teams with dynamic DAG orchestration, run monitoring, and token insights for DeepSeek Harness.
View plugin →Native SQLite-backed task management and project board bundle with Web UI and Agent workflow tools for DeepSeek Harness.
View plugin →Task board and workflow bundle embedding 27 mattpocock skills for DeepSeek Harness.
View plugin →Comprehensive long-term memory, self-evolution, skills, task management, and multi-agent dispatch bundle for DeepSeek Harness.
View plugin →