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.

パッケージ
@dsh-external/dsh-obsidian-file-opener
互換性
未検証
バージョン
0.4.0
ライセンス
MIT
最終更新
2026/10/30

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Wang-Chuming/dsh-obsidian-file-opener

ドキュメント

README 全文を読む ↗

Where the configuration comes from

The Host half resolves its settings once at startup, in this order:

  1. the bundle row's config: block (the packaged cordis.patch.yml ships without one);
  2. ~/.dsh/obsidian-file-opener.config.json — the recommended place for your vault path;
  3. 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.

FieldDefaultMeaning
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.
testPathHOME.mdTarget of the first-load self-test, relative to vaultRoot.
selftesttrueRun the end-to-end self-test once per browser (it opens Obsidian once).
diagFile~/.dsh/obsidian-file-opener.diag.jsonlJSONL diagnostic log.
configFile~/.dsh/obsidian-file-opener.config.jsonWhere 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.