Overview
dsh-open-obsidian
README / EN
Package documentation
Registry summary
dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.
Read the full README on GitHubLIMITATIONS
Known limitations
**1. "Open a closed vault without disturbing me" is not fully achievable.** Obsidian itself does not support this: it creates a new vault window with Electron's `show()` (which activates) rather than `showInactive()`, and ships no focus-related flag anywhere (verified by reading its own `app.asar`; `showInactive` appears zero times). What this plugin does instead is push the new window to the back and take the foreground back. In practice you may still see a **~0.1 s flicker about two times out of three** when opening a vault that was not already open. There is no third option — an external process cannot prevent Obsidian's own window from activating, only correct it afterwards. **Turn off 静默打开 if you would rather have the window come to the front normally.** **2. It uses DSH internal APIs** — the web-server route registration, session events, the settings slot, and `__ModuleLoader__`. DSH is evolving quickly; a DSH upgrade can break this plugin until it is updated. Issues are welcome.
