dlw-machine-setup 0.8.10 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -1
- package/bin/installer.js +960 -182
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,11 +5,24 @@ NPM wrapper for the One-Shot Setup installer. This package runs a CLI wizard tha
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npx dlw-machine-setup@latest
|
|
8
|
+
npx dlw-machine-setup@latest # install (interactive wizard)
|
|
9
|
+
npx dlw-machine-setup@latest uninstall # remove a previous install
|
|
10
|
+
npx dlw-machine-setup@latest --help # show subcommands
|
|
9
11
|
```
|
|
10
12
|
|
|
11
13
|
Requires Node.js >=18. No additional runtime or binaries needed.
|
|
12
14
|
|
|
15
|
+
## Uninstall
|
|
16
|
+
|
|
17
|
+
The installer records every change it makes into `.one-shot-state.json` (a per-project rollback journal). Running `npx dlw-machine-setup@latest uninstall` from the project directory replays that journal in reverse:
|
|
18
|
+
|
|
19
|
+
- Files we created (e.g. `_ai-context/`, `factory/`, hook scripts under `.claude/hooks/`) are deleted.
|
|
20
|
+
- Files we modified (e.g. your `CLAUDE.md`, `.gitignore`, `.mcp.json`, `.claude/settings.json`) have only our marker blocks or owner-tagged entries stripped — user content is preserved.
|
|
21
|
+
- Globally-registered MCP servers (`claude mcp add`) are removed via `claude mcp remove`.
|
|
22
|
+
- The state file itself is deleted last.
|
|
23
|
+
|
|
24
|
+
The uninstaller shows a preview and asks for confirmation before making any changes.
|
|
25
|
+
|
|
13
26
|
## What It Does
|
|
14
27
|
|
|
15
28
|
The wizard guides you through:
|