dsh-plugin-obsidian-push: Push DSH Session Transcripts to Obsidian

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 is YYYY-MM-DD-<short session id>.md, located at vaultDir/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.

  1. Install Plugin
    dsh plugin --profile web add github:121212165/dsh-plugin-obsidian-push
  1. Update cordis.patch.yml
    Merge the content of the cordis.patch.yml from 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.

  2. 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

  • vaultDir must be configured.
  • cordis.patch.yml needs to be updated and dsh restarted.
  • pnpm must be in the PATH.
  • Depends on dsh-plugin-transcript as 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.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye