44 lines
1.3 KiB
Markdown
44 lines
1.3 KiB
Markdown
# herdrMario
|
|
|
|
Source of the `ovis-composer` Herdr mod (Unified Prompt Experience).
|
|
|
|
- `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
|
|
|
|
## Install
|
|
|
|
```powershell
|
|
.\scripts\install.ps1
|
|
```
|
|
|
|
Idempotent. An existing real `mods\ovis-composer` directory is renamed to
|
|
`ovis-composer.bak-20261119` (never deleted), a junction to `mod\ovis-composer`
|
|
takes its place, and the layout is copied to `~\.config\herdr-app\layouts\`
|
|
(existing file backed up once as `.bak-20261119`).
|
|
|
|
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
|
|
|
|
```powershell
|
|
.\scripts\install.ps1 -Uninstall
|
|
```
|
|
|
|
Removes the junction (the repo files stay), restores the `.bak-20261119` mod
|
|
directory, layout and `keys.json` backups, and switches to the `main` layout.
|