Preface¶
DeepSeek Harness (DSH) session logs are typically stored in JSONL format. To consolidate conversation content into retrievable and manageable long-term memory, Obsidian is a commonly used solution for local knowledge bases. The dsh-plugin-obsidian-push plugin serves to render DSH archived session transcripts as Markdown files, complete with YAML frontmatter, and push them to a designated Obsidian vault.
What is this?¶
This is a DSH plugin used to push archived session transcripts to an Obsidian vault. It is maintained by user 121212165 and licensed under MIT. The plugin implements idempotent deduplication based on content hashes, ensuring that repeated runs do not create duplicate files, while also supporting the reading of YAML frontmatter properties.
Core Features¶
/obsidian-push [sessionId|all]: Renders one or all sessions into Markdown files. The filename format isYYYY-MM-DD-<short session id>.md, located atvaultDir/subfolder/./archive: Executes a one-step operation for the entire chain, consisting of three steps: Archive check (comparing transcripts with Markdown), Obsidian push (with status reports), and Retrieval surface report (checking retrievability).- Idempotent: Deduplicates based on content hashes, updating only changed sessions. Unchanged sessions are skipped.
- YAML frontmatter: Supports fields such as title, date, session, and tags, facilitating direct reading by the Obsidian properties panel.
- Short ID Fix: Supports filtering by full ID, arbitrary prefix, or 8-bit/12-bit short IDs.
- Read-only Sidecar: Does not write to the transcript’s JSONL; only writes Markdown to the vault.
Installation & Configuration¶
The installation process requires pnpm to be in the PATH and the vaultDir to be configured.
- Install Plugin
dsh plugin --profile web add github:121212165/dsh-plugin-obsidian-push
-
Update cordis.patch.yml
Merge the content of thecordis.patch.ymlfrom the root of this repository into$DSH_HOME/profiles/web/cordis.patch.yml. By default, this file is[]. Note that you should not simply append to it (which would cause YAML parsing errors); instead, replace the entire file or merge into the same array. -
Restart DSH
Both the configuration layer and the client need to be restarted for changes to take effect.
Typical Usage¶
After installation is complete, you can use the following commands:
# Install
dsh plugin --profile web add github:121212165/dsh-plugin-obsidian-push
# Push specific session
/obsidian-push [sessionId]
# Push all sessions
/obsidian-push all
# Execute full archive chain (Archive check → Push → Retrieval surface)
/archive
Notes¶
vaultDirmust be configured.cordis.patch.ymlneeds to be updated anddshrestarted.pnpmmust be in the PATH.- Depends on
dsh-plugin-transcriptas the data source sidecar. - Loading path is shared, not live-mounted.
Ecosystem Background¶
The DSH philosophy is “Everything is a plugin.” The community directory is an independent site and has no official affiliation with DeepSeek or Hithink RoyalFlush. This plugin belongs to the DSH plugin family.