therain2020/dsh-obsidian-sync--packages-bundle-obsidian-sync-bundle ↗★ 0

dsh-bundle-obsidian-sync

将 Obsidian 同步插件挂载进 DSH 组合的配置包,本身不含功能。 仅为挂载层,需配合对应插件使用;想接入 Obsidian 同步的用户可装。

包名
dsh-bundle-obsidian-sync
兼容性
待验证
版本
0.1.0
最近更新
2026年8月21日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:therain2020/dsh-obsidian-sync#bc5b4d25a02083a882ddcb3b0e9f980697529afe&path:packages/bundle/obsidian-sync-bundle

dsh-bundle-obsidian-sync

The profile bundle for dsh-plugin-obsidian-sync. Its substance is cordis.patch.yml — a patch layer that inserts the plugin's row into a dsh composition.

A bundle is any npm package whose manifest declares:

{ "dsh": { "bundle": { "patch": "./cordis.patch.yml" } } }

Installing it

pnpm run pack:bundle                      # from the repository root
dsh plugin --profile  add ./example-dsh-bundle-obsidian-sync-0.0.0.tgz
dsh --profile  --dump-config        # confirm the row landed

dsh plugin appends this package to the profile's dsh.profile.bundles, and every later boot applies the patch. The plugin package comes along as this bundle's dependency, which is what makes its bare name resolvable from the profile.

Layer position

Bundle layers sit below both user layers, so a user can always override or disable the row from $DSH_HOME/profiles//cordis.patch.yml or $DSH_HOME/cordis.patch.yml without editing this package. Keep the row id stable: renaming it orphans those overrides silently, because a patch naming an unknown id is only a stderr warning.

Full layer order and the config-replacement semantics are in docs/loading-into-dsh.md.