Wang-Chuming/dsh-obsidian-file-opener ↗★ 0
@dsh-external/dsh-obsidian-file-opener
One-click file opener for DeepSeek Harness: clicking a vault file reference opens notes in the Obsidian app and configured types (for example .tex) in VS Code with their project folder, instead of the in-app preview.
설치
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Wang-Chuming/dsh-obsidian-file-openerWhere the configuration comes from
The Host half resolves its settings once at startup, in this order:
- the bundle row's
config:block (the packagedcordis.patch.ymlships without one); ~/.dsh/obsidian-file-opener.config.json— the recommended place for your vault path;- the defaults in the table below.
With no vaultRoot from either source the plugin loads but stays inert: the config route
answers ok: false and the client keeps the shipped in-app preview for every file.
Configuration
Recommended: ~/.dsh/obsidian-file-opener.config.json.
| Field | Default | Meaning |
|---|---|---|
vaultRoot | (required) | Absolute path of the Obsidian vault (~ allowed). Empty ⇒ the bridge loads but stays inert. |
vaultName | '' | Vault name as Obsidian shows it. Empty ⇒ obsidian://open?path=… instead of ?vault=…&file=…. |
extensions | ['.md'] | Which vault files are taken away from the in-app preview. Empty array ⇒ every vault file. |
testPath | HOME.md | Target of the first-load self-test, relative to vaultRoot. |
selftest | true | Run the end-to-end self-test once per browser (it opens Obsidian once). |
diagFile | ~/.dsh/obsidian-file-opener.diag.jsonl | JSONL diagnostic log. |
configFile | ~/.dsh/obsidian-file-opener.config.json | Where the JSON config is read from. Can also be set with the DSH_OBSIDIAN_FILE_OPENER_CONFIG environment variable. |
openers | [] | Rules that take a vault file away from both Obsidian and the preview: { app, extensions, root? }. app is currently vscode; root (optional) is the folder opened as the workspace when the clicked file lives inside it. Rules win over extensions. |
The bundle row's own config: block wins over the JSON file field by field; the packaged
cordis.patch.yml ships without config: on purpose, so plugin updates never touch your
settings. cordis.patch.example.yml documents the inline form, and the header of
cordis.patch.yml shows how a profile-level patch can override a single field.