How to use dsh-session-persistence-jsonl
JSONL durable session persistence backend for the DeepSeek Harness
This article is auto-derived from indexed fields (wiki / faq / compatibility_json), not freshly AI-generated.
This article is derived from the plugin's already-indexed fields (wiki / faq / compatibility_json / readme), not freshly generated by AI. Source field is noted at the end of each section.
Quick start
JSONL durable session persistence backend for the DeepSeek Harness
— source: plugins.ai_summary
Install & verify
dsh plugin --profile web add npm:@deepseek-ai/dsh-session-persistence-jsonl
Run the command above in your DSH Web Profile. Then enable the plugin in the plugin list.
— source: plugins.install
Key points
- Contiguous-seq.
appendrejects a batch whose firstseqdoes not continue the stored log, and rejects non-JSON-serializableevent.datanaming the offending event type. - The flat-file storage layout does not load — use a separate root or move pre-release artifacts into the project/session directory layout before loading.
- Compressed files are not directly line-readable — use the backend to load them, or select
compression: 'none'before writing a fresh root when external line readers are required. - Nothing deletes session files — logs accumulate under
rootuntil removed externally (the seam has no deletion API). - POSIX materialization requires hard-link support — first append uses
link()so same-id races fail instead of overwriting a committed log; Windows uses write-through rename without replacement.
— source: plugin_wiki.readme_en (fallback readme_raw)
Pitfalls
Review the upstream repo before installing. This guide is auto-derived from indexed fields and may lag the latest release. If anything contradicts the official docs, treat the upstream source as authoritative.
— source: general rule