Files
msd-core/docs/manual-update.md
Jakub Zych 6cfa0c55d2 refactor: drop 12 runtimes, keep Claude, Codex, OpenCode, Cursor, ZCode, Antigravity
Removes kilo, kimi, kimi-code, copilot, windsurf, augment, trae, qwen, hermes,
cline, codebuddy and pi end to end: capability descriptors, installer branches
and converters (bin/install.js 14.9k -> 11.2k lines), TypeScript converters,
hook surfaces and runtime homes, review lanes qwen/kimi-code, the two pi
migrations, Kimi payload normalization in the hook guards, dead hostBehaviors
vocabulary, launcher home probes, fixtures, runtime-specific tests and the
prose that presented them as supported.

Installer output for the six kept runtimes is byte-identical to before the
prune. The Kimi tool-vocabulary tests in workflow-guard, read-guard and
read-injection-scanner are left in place pending a decision.
2026-10-06 20:02:40 +02:00

58 lines
1.7 KiB
Markdown

# Manual Update (Non-npm Install)
Use this procedure when `npx @golem15/msd-core@latest` is unavailable — e.g. during a publish outage or if you are working directly from the source repo.
## Prerequisites
- Node.js installed
- This repo cloned locally (`git clone https://git.golem15.com/golem15/msd-core`)
## Steps
```bash
# 1. Pull latest code
git pull --rebase origin main
# 2. Build the hooks dist (required — hooks/dist/ is generated, not checked in as source)
node scripts/build-hooks.js
# 3. Run the installer directly
node bin/install.js --claude --global
# 4. Clear the update cache so the statusline indicator resets
rm -f ~/.cache/msd/msd-update-check.json
```
**Step 5 — Restart your runtime** to pick up the new commands and agents.
## Runtime flags
Replace `--claude` with the flag for your runtime:
| Runtime | Flag |
|---|---|
| Claude Code | `--claude` |
| OpenCode | `--opencode` |
| Codex | `--codex` |
| Cursor | `--cursor` |
| All runtimes | `--all` |
Use `--local` instead of `--global` for a project-scoped install.
## What the installer replaces
The installer performs a clean wipe-and-replace of MSD-managed directories only:
- `~/.claude/msd-core/` — workflows, references, templates
- `~/.claude/commands/msd/` — slash commands
- `~/.claude/agents/msd-*.md` — MSD agents
- `~/.claude/hooks/dist/` — compiled hooks
**What is preserved:**
- Custom agents not prefixed with `msd-`
- Custom commands outside `commands/msd/`
- Your `CLAUDE.md` files
- Custom hooks
Locally modified MSD files are automatically backed up to `msd-local-patches/` before the install. Run `/msd-update --reapply` after updating to merge your modifications back in.