DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
S

@snow-the/dsh-session-repair

Session Repair

Scans and repairs DSH session logs: re-encodes single-frame corrupt zstd files back to the multi-frame layout and marks unknown event types (e.g. llm/failover) as ignorable so older harnesses can load newer logs.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:snow-The/dsh-session-repair#8736826ff17af25a68924f4e8a5348aad644a6d4
READMECompatibilityVersions

Compatibility and provenance

Session Repair is published as @snow-the/dsh-session-repair and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
10/19/2026

Versions

0.1.0stable
10/19/2026
Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
11/1/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

README

dsh-session-repair

Scans and repairs DSH session logs (~/.dsh/sessions/**/session.jsonl.zstd).

Fixes

  • Single-frame corrupt logs — a session file re-compressed as one zstd frame breaks the harness at boot (first frame is not exactly one header line). The plugin rebuilds the log in the canonical multi-frame layout: one JSON line per zstd frame.
  • Unknown event types — events written by newer harness builds (e.g. llm/failover) make older harnesses refuse the whole log (SessionFormatUnsupportedError). The plugin marks such events "ignorable": true (the event is kept; the harness skips it).

Tools

  • session_repair_scan — read-only report of every session log: zstd frame count, line count, header validity, parse errors, unknown event types.
  • session_repair_fix — repairs problem logs (or one sessionId). Backs up each file as <file>.bak-repair-<timestamp> before replacing it, then verifies the rebuilt layout (frames == lines). Restart the harness afterwards.

Requirements

  • zstd CLI on PATH (Debian/Ubuntu: apt install zstd).
  • The known-type allowlist is conservative; pass extraKnownTypes to fix if a type is actually known to the running harness.

Safety

  • Never writes in place: backup → rebuild to temp → verify → atomic rename.
  • Scan is strictly read-only.