Linkifies Obsidian wiki targets and space-containing Markdown link paths in chat transcripts: resolves the note in the session workspace, opens it in the sidebar Markdown preview, or in the default app with Cmd-click.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-obsidian-wikilinks
# from a prebuilt release tarball
dsh plugin --profile web add -w "https://github.com/JoeyRedfield/dsh-obsidian-wikilinks/releases/download/v0.2.0/dsh-obsidian-wikilinks-0.2.0.tgz"
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:JoeyRedfield/dsh-obsidian-wikilinks
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
Turn [[wiki links]] in DeepSeek Harness chat transcripts into blue, clickable links that open the matching note. Bare Markdown links whose path contains spaces, which CommonMark refuses to parse, get the same treatment.
English | 中文
- Click → opens the note in the right sidebar Markdown preview (frontmatter renders as a field table).
- ⌘ / Ctrl / Alt + click → hands the file to the system default app — Obsidian, if it owns
.md. - Hover shows the resolved absolute path. Links that cannot be resolved get a red dashed style and a “note not found” tooltip instead of failing silently.
Resolution rules
[[target]] is parsed the Obsidian way:
- drop the
|alias,#headingand^blockparts; - try
targetas a path, then retry with.mdappended — both[[notes/foo]]and[[notes/foo.md]]work; - still unresolved? one workspace search by file name, and the first
.mdhit wins; - relative targets resolve against the session workspace root; absolute paths are used as-is.
![[image]] is an Obsidian embed, not a note link, and is left untouched.
Markdown links with spaces in the path
A CommonMark link destination cannot contain a space unless it is wrapped in <...>, so [label](学习/Agent 与自动化/笔记.md) is not a link at all — the whole [...](...) stays plain text, and even DSH's own file-link button never runs. This plugin catches that shape too: the label becomes the blue link and the destination is resolved exactly like a wiki target.
[上下文工程](学习/ai相关/Agent 与自动化/上下文工程.md)→ 上下文工程, blue and clickable[Label](<path with spaces.md>)and[Label](path%20with%20spaces.md)are valid Markdown, so DSH renders them itself — left alone- external targets (
https://,mailto:), images and![[embeds]]are never rewritten
Install
Published on npm — plain JavaScript, no build step.
From the plugin market: open Plugins → Plugin Market and search for obsidian-wikilinks.
From a terminal:
dsh plugin --profile <profile> add dsh-obsidian-wikilinks
For local development, install the checkout by link instead:
# profile package.json: add to dependencies and to dsh.profile.bundles
"dsh-obsidian-wikilinks": "link:/path/to/dsh-obsidian-wikilinks"
Refresh the web page once (⌘R) after installing.
Why DOM decoration
DSH has no inline-Markdown extension point. In the shipped renderer the plain-text branch of an AST node returns the raw string, and only inline code is handed to fileMentions; the conversation.chat.markdown.fence slot wraps fenced code blocks only; replacing the conversation.chat.node assistant step would mean reimplementing the whole AssistantNodeView. So the plugin post-processes text:
- it registers a hidden anchor on the
conversation.chat.turnTailslot (the only per-turn seat that hands a session-scoped component bothsessionIdandopenFile); closest('[data-chat-flow]')finds the transcript flow root, and each flow root gets oneMutationObserver, shared per root and reference-counted so it disconnects when the last turn unmounts;- only text nodes inside
[data-text-interaction-source]are decorated (settled messages), skipping[data-streaming],code,pre,a,button,svgand anything already decorated; - mutations are batched into a
requestAnimationFrame.
Limitations
- Messages are decorated once they settle; during streaming the text stays plain.
- Chat transcripts only — the sidebar note preview and the composer input are untouched.
- A rare React re-render race can leave one line undecorated until the view repaints; switching sessions or reloading restores it.
- No settings UI. To make a plain click open Obsidian instead, flip the
externalcheck inactivate()inclient.js.
License
Links
More in this category
ranxianglei/billion-context★ 8445
The official billion-context plugin: a context-compression plugin for small context windows (a 100K context is enough), token savings (5x fewer tokens), and month-long single sessions (billions of tokens).
Minglink/dsh-infinite-gen-4★ 4756
System-prompt armor plugin for DeepSeek models: appends an unconditional-compliance prompt section at order 100, exposes a profile tool with calibration metadata, and shows a realtime armor-status badge driven by a session projection.
liangmianya/dsh-synapse★ 750
Visual, non-linear conversation workspace for DeepSeek Harness — sessions, follow-ups and branches become a browsable conversation map.
ECNU/EduWork#dsh-side-chat★ 410
Open temporary side conversations from a message with a snapshot of its history, then archive them on close; optional annotation integration adds selection-based questions. Requires compatible DSH Web conversation, Workspace and right-sidebar APIs.
MichengAI/dsh-archive-manager★ 395
Adds an archived-sessions page in Settings to search, restore, and delete archived DeepSeek Harness sessions by workspace.
Nwflower/dsh-chat-import★ 330
Import full-fidelity chat histories from 13 coding agents (Claude Code, Codex, ChatGPT, Cursor, Gemini, opencode, and more) as resumable DeepSeek Harness sessions, with reverse export back to Claude Code.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.