mirror of
https://github.com/Ar9av/obsidian-wiki.git
synced 2026-09-14 20:36:34 +08:00
27bcfea185
The fill flow always used whatever ~/.obsidian-wiki/config resolved to, so answering a work questionnaire from the work vault meant re-pointing the wiki-switch symlink for everything else too. This is the extension's equivalent of the @name override. The host gains a `vaults` request that lists the active-config default plus every ~/.obsidian-wiki/config.<name> profile with its resolved path and an existence flag, and `fill` accepts a vault name. Named resolution never falls back to the default: silently answering from the wrong vault is exactly what picking a vault is meant to prevent. The popup remembers the choice per browser profile, disables profiles whose path is gone, and resets to the default (loudly) if the remembered one disappears. If the host is not installed the picker stays on its single default option, so fill behaves as before.