feat: install.ps1 -Reload, switch layout at the end, document the junction reload
Co-Authored-By: Ovis Fast (Claude) <[email protected]>
This commit is contained in:
1 parent
65b66f86cd
commit
cb7f7b58f5
2 files changed
+37
-4
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
Source of the `ovis-composer` Herdr mod (Unified Prompt Experience).
|
||||
|
||||
- `mod/ovis-composer/` - the mod (ES modules, hot-reloaded by Herdr)
|
||||
- `mod/ovis-composer/` - the mod (ES modules; Herdr does not see changes behind the junction - see Reload)
|
||||
- `layouts/ovis-composer.json` - its layout
|
||||
- `tests/` - Node tests for the pure modules (`npm test`)
|
||||
- `docs/superpowers/` - spec and plan
|
||||
@@ -18,8 +18,20 @@ Idempotent. An existing real `mods\ovis-composer` directory is renamed to
|
||||
takes its place, and the layout is copied to `~\.config\herdr-app\layouts\`
|
||||
(existing file backed up once as `.bak-20261119`).
|
||||
|
||||
Then switch: `herdr-app do layout.switch '{"name":"ovis-composer"}'` and check
|
||||
with `herdr-app check <mods>\ovis-composer` and `herdr-app status`.
|
||||
The script ends with `herdr-app do layout.switch '{"name":"ovis-composer"}'`.
|
||||
Check with `herdr-app check <mods>\ovis-composer` and `herdr-app status`.
|
||||
|
||||
## Reload
|
||||
|
||||
Herdr does **not** see changes to the mod files behind the junction: a running
|
||||
copy keeps the code it loaded. After every edit of `mod\ovis-composer`:
|
||||
|
||||
```powershell
|
||||
.\scripts\install.ps1 -Reload
|
||||
```
|
||||
|
||||
It removes the junction and makes it again (the repo files stay), and Herdr
|
||||
loads the mod from scratch.
|
||||
|
||||
## Uninstall
|
||||
|
||||
|
||||
Reference in new issue
Block a user