xiaomiba0904/dsh-obsidian-export ↗★ 1
dsh-obsidian-export
DeepSeek Harness (DSH) plugin: export conversations to an Obsidian vault, plus read/search/list/tags/backlinks tools and automatic vault discovery.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xiaomiba0904/dsh-obsidian-export说明文档
阅读完整 README ↗dsh-obsidian-export
DeepSeek Harness (DSH) plugin that integrates with an Obsidian vault (no Obsidian-app dependency — a vault is just a folder of Markdown files), offering a model-facing toolset: export conversations, plus common vault operations read / search / list / tags / backlinks.
Tools
| tool | purpose |
|---|---|
obsidian_export | export a DSH conversation to the vault as Markdown, with per-session dedupe / create / skip / update / overwrite semantics |
obsidian_read | read a note; returns body + parsed frontmatter, first H1 title, [[wikilink]] targets, #tags |
obsidian_search | search the vault — field filename (paths) or content (full-text) — and narrow by tags |
obsidian_list | list Markdown notes and folders under a vault path (recursive, optional subpath) |
obsidian_tags | aggregate distinct #tags used across the vault, with note counts |
obsidian_backlinks | find notes that [[link]] a given target (for graph traversal) |
obsidian_export — export + dedup
- Reads a session from the persistence seam (
ctx.sessionPersistence) — current session by default, orsessionId, or imports an exportedsession.jsonl/session.jsonl.zstdviapath. - Renders a transcript (user / assistant / tool calls) + a
_dashboard.mdoverview, and refreshes a vault_index.md. - Tracks each session's content hash in
/.dsh-obsidian/manifest.json, so it can tell whether the target exists and whether content changed.
Export modes (判断"是否重复 / 更新 / 覆盖")
| mode | new session | content changed | content unchanged |
|---|---|---|---|
auto (default) | create | update (rewrite in place) |