DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-session-repair

s

dsh-session-repair

Manifest valid

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

hasBundlePatch

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.

Comments

Loading…

Similar plugins

dsh-session-repair

by Equinox7379

Session log repair tool for DSH: scans zstd session logs for unknown event types and marks them ignorable with a compliant frame rewrite (backup included). Read-only scan by default.

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Aug 15, 2026

dsh plugin --profile web add dsh-session-repair

by Zn-Dk

Diagnose and safely repair corrupted DSH session history: raw zstd/JSONL validation, tool-call ID repair, single-slot pre-repair backup, restore, and an audit trail.

Sessions & MessagesManifest valid

★ 4

↓ 447/wk

MIT

TypeScript

Sep 29, 2026

dsh plugin --profile web add dsh-session-repair

by zzdhsxk

Repairs legacy DSH session logs that the current build refuses to migrate, recovering missing tool-call ids and names from the log itself and verifying each repair against the real v0 to v3 migration

Sessions & MessagesManifest valid

★ 1

MIT

JavaScript

Sep 11, 2026

dsh plugin --profile web add dsh-session-migration-repair

by Coprexist

Recover deleted or corrupted dsh sessions (session.jsonl.zstd) and memory (memory.db) from the raw disk, and repair rebuilt sessions that fail to resume via the /session-repair command in the web UI.

Tools & CapabilitiesSessions & MessagesManifest valid

★ 1

MIT

JavaScript

Aug 18, 2026

dsh plugin --profile web add dsh-session-recovery

by nateyu

A DeepSeek Harness settings plugin. It lists and deletes sessions the sidebar hides: archived sessions, or blank sessions whose log has no turn/start. A session whose log cannot be read is listed too,

Manifest valid

★ 0

MIT

JavaScript

Sep 11, 2026

dsh plugin --profile web add dsh-session-vault

Session management for DSH: archive/restore, batch & conditional delete, AI auto-rename, interrupted-session auto-resume, workspace grouping, undo last message, repair damaged session logs (seq-gap/EI

Sessions & MessagesManifest valid

★ 0

NOASSERTION

HTML

dsh plugin --profile web add dsh-session-conductor