dsh-optimizer
DeepSeek Harness plugin for auditing, archiving, and cleaning sessions, with a managed history-pagination patch and an Optimization settings page.
Install
$ dsh plugin --profile <profile> add github:mengyihh233/dsh-optimizerPlugin 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
- Audits session counts, disk usage, empty sessions, large sessions, and chunk proportions.
- Archives selected old or large sessions by moving them to ~/.dsh/sessions-archive/.
- Lists cleanup candidates and requires confirmation before moving empty or damaged sessions to the archive.
- Manages status, application, and reversion of a history-pagination patch for dsh-host-apiproxy.
- Adds an Optimization settings section with scan, individual remediation, bulk optimization, and operation logs.
Useful For
- Investigating slow switching for long DSH conversations.
- Reducing active session-directory size by archiving inactive large sessions.
- Reviewing and moving empty or damaged session directories without direct deletion.
- Applying or reverting the plugin's assistant/chunk-skipping history patch.
Who It Fits
- DeepSeek Harness users with many or large local sessions.
- DSH users experiencing slow long-session switching.
- Administrators comfortable restarting DSH web and managing deployment-file patches.
Documented Limitations
- The history patch modifies a deployed dsh-host-apiproxy file and must be reapplied after DSH upgrades overwrite that file.
- Deployment-root discovery may fail on non-Windows or unusual installation paths; the README directs users to set DSH_DEPLOY_ROOT.
- optimizer_audit reports chunk proportion as a line-level approximation rather than an exact expanded-event measurement.
- Archive and cleanup operations move sessions to an archive directory; users must manually move them back to restore them.
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, 4 development, 2 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
GitHub did not report an SPDX license for this repository snapshot.
A root package.json was captured and can be inspected by the registry.
package.json declares a prepare lifecycle script that may run during relevant package installation workflows.
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
- mengyihh233/dsh-optimizer
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- e29c4cb · 2026-08-18
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
- 1GitHub stars
- Forks
- 0
- Open issues
- 0
- Last commit
- 2026-08-18
- Last release
- No release detected
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
DSH undo and crash-recovery plugin with snapshots, rollback, Safe Mode, and offline Windows tools.
View plugin →Vision routing and pixel-level visual tool suite for DeepSeek Harness agents with built-in free fallbacks.
View plugin →Sandbox-first automatic permission policy and intelligent risk classification for DeepSeek Harness.
View plugin →Traceable, searchable, cross-session knowledge graph memory engine for DeepSeek Harness.
View plugin →