rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
snow-The/dsh-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.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:snow-The/dsh-session-repair
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Scans and repairs DSH session logs (~/.dsh/sessions/**/session.jsonl.zstd).
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.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).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.zstd CLI on PATH (Debian/Ubuntu: apt install zstd).extraKnownTypes to fix if a type is
actually known to the running harness.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。