You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bundle DreamNode git-init template into the plugin, not the InterBrain repo
Root cause of "ENOENT .git/udd" on fresh installs: the template path
keyed off <vault>/InterBrain/src/features/dreamnode/DreamNode-template/
— but on a fresh install the daemon clones the InterBrain DreamNode
from `main`, which is docs-only and has NO `src/` tree. The template
never resolved, so every DreamNode creation (including the auto-created
sender Dreamer node on invite-accept) failed.
Fix: the template now ships INSIDE the plugin install dir.
- assemble-plugin.mjs stages src/features/dreamnode/DreamNode-template/
→ repo-root DreamNode-template/ (gitignored, like main.js)
- copy-plugin-resources.mjs carries it into the Tauri resource bundle
- install_managed copies it into <vault>/.obsidian/plugins/<id>/
DreamNode-template/ (new copy_dir_recursive helper)
- ensure_plugin_health treats a managed dir missing the template as
unhealthy → re-stages it (so older installs self-heal on next
daemon startup)
- git-dreamnode-service.ts templatePath → <pluginDir>/DreamNode-template
Now DreamNode creation works on any fresh install regardless of which
branch the InterBrain DreamNode repo was cloned from.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments