← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-context-window

Codex-style context window management for DeepSeek Harness with token budget notices, new_context tool, and handoff resets.

UI & ProductivityDeveloper Tools
0GitHub Stars0ForksUpdated2026-09-25

Install

$ dsh plugin --profile web add dsh-context-window

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-context-window is a DeepSeek Harness plugin that replicates Codex-style context window management. Instead of relying on lossy summary compaction, it provides structured token-budget notices, model-callable tools (`new_context` and `notes`), and zero-summarization handoff resets that carry forward critical state checkpoints across context windows.

Key Capabilities

  • Injects token budget notices and threshold alerts (e.g. 25%, 50%, 75% consumption) into developer messages
  • Provides a model-facing `new_context` tool allowing the LLM to request fresh context windows
  • Provides a `notes` tool enabling the LLM to persist state and notes across window resets
  • Supports zero-summarization `handoff` resets carrying over objectives, remaining work, notes, and last human requests
  • Supports `seam-region` reset mode to delegate full-region compaction when configured in compaction realms

Useful For

  • Preventing multi-turn agent performance degradation caused by repeated lossy conversation summaries
  • Managing long-running development workflows that require explicit handoffs and state persistence
  • Monitoring context window consumption with deterministic token budget warnings

Who It Fits

  • DeepSeek Harness developers building long-running agent workflows
  • Engineers seeking Codex-like context window lifecycle management without summarization loss

Documented Limitations

  • Disabled by default (`enabled: false`) upon installation
  • `seam-region` mode cannot take over compaction backends in the host profile without agent preset realm isolation
  • Context window resets are strictly constrained to step boundaries to maintain tool-pairing integrity
  • Token meter relies on heuristic character-to-token estimates (underestimating CJK and JSON schema tokens)
  • Handoff mode does not emit standard `compaction/*` UI telemetry events
  • Baseline prefill token counters are stored in memory and reset upon 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 0 runtime, 16 development, 9 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
CooperZhuang/dsh-context-window
Registry source
GitHub · dsh-plugin topic
Registry classification
Plugin
Source checked
6e940c5 · 2026-09-27

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-09-25
Last release
No release detected
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