dsh-toolcall-id-repair: Fixing Session Deadlock Caused by Empty tool_call IDs from OpenAI-Compatible Upstreams
When used with an OpenAI-compatible upstream that omits `tool_calls` id, DeepSeek Harness 0.2.x may allow empty strings to pass stream validation while still violating session format v4, preventing a turn from appending `tool`/`result` entries. The plugin `@dsh-local/dsh-toolcall-id-repair` (v0.1.1) backfills empty ids in the `llm/stream` stage and ships `repair-session.py` to synchronously rewrite all three id locations, along with `verify-session.mjs` to invoke the harness's native validation. Installation is supported via DSH Store or `cordis.patch.yml`; alternatively, `guard-plugin.js` can be manually mounted.
Read Moredsh-session-fix: Scanning and repairing tool_use / tool_result pairing errors in DSH sessions
dsh-session-fix is a DSH community plugin that scans and repairs mismatches between tool_use and tool_result within session.v4.jsonl.zstd caused by incorrect assistant message block ordering. It repositions text/reasoning content before tool-calls, recompresses only the modified frames, and automatically creates backups before repair to allow rollback. Tested in environments with Node ≥22.15 and DSH 0.2.1-rc; install via `pnpm add github:CalamitySpiritKite/dsh-session-fix` in the profile directory and restart to use.
Read Moredsh-session-attachment-repair: Fix message sending failure due to missing local attachments
This document introduces the DSH plugin dsh-session-attachment-repair maintained by chenkui-luo. When images or file objects referenced in session histories have disappeared from the local attachment library, replaying history on each message can fail during the preparation phase. The plugin shares repair_session.mjs with the Skill of the same name, offering scanning, health checks, backups, replacement of dangling references with text placeholders, per-node validation, and rollback. On the Web UI, install it via dsh plugin and manage it under Settings → Session Attachment Repair. No data leaves the local machine. Requires Node ≥ 22.15, and you must restart the server to re-verify after any writes.
Read Moredsh-session-surgeon: Fix unresolvable DSH sessions and enable new sessions to reference old sessions
`dsh-session-surgeon` is an MIT-licensed DSH plugin designed to address issues where DeepSeek Harness sessions fail to load and context inheritance problems occur. It provides session repair, inspection, export, and ID copying functionalities and is compatible with `@deepseek-ai/dsh@0.1.0-rc.6`. Core features include providing entry points for "Copy Session ID", "Inspect", and "Dry-Run Repair" in the DSH session menu and sidebar, supporting browsing, repairing, previewing, and exporting JSONL. The plugin is capable of fixing errors such as sequence gaps, torn zstd frames, lone surrogates, and missing message IDs, while inspection only issues warnings without fabricating results.
Read More