bugzero 0.0.57 → 0.0.58
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 +16 -1
- package/dist/index.js +1329 -1165
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -212,7 +212,7 @@ bugzero hunt --no-ai-report
|
|
|
212
212
|
### `bugzero rescue`
|
|
213
213
|
Run the full AI-powered repair loop. Detects build failures, generates precise code patches, applies them, and verifies the result.
|
|
214
214
|
|
|
215
|
-
When it fixes your project, `rescue` prints a diff of exactly what changed in each file, so you can review it at once. The original of every edited file is kept next to it as `<file>.opspilot.bak
|
|
215
|
+
When it fixes your project, `rescue` prints a diff of exactly what changed in each file, so you can review it at once. The original of every edited file is kept next to it as `<file>.opspilot.bak`, and `bugzero undo` puts everything back.
|
|
216
216
|
|
|
217
217
|
```bash
|
|
218
218
|
bugzero rescue --path /path/to/your/project
|
|
@@ -241,6 +241,21 @@ The whole proposed fix is shown at once, because a fix that spans several files
|
|
|
241
241
|
|
|
242
242
|
</details>
|
|
243
243
|
|
|
244
|
+
### `bugzero undo`
|
|
245
|
+
Puts back every file BugZero changed, from the backups saved next to them, and removes those backups.
|
|
246
|
+
|
|
247
|
+
```bash
|
|
248
|
+
bugzero undo --path /path/to/your/project
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
`rescue` tells you to run it after it changes files, including when it changes files and still fails. A file you edited after BugZero fixed it is left alone and reported, with its backup kept, so your own work is not lost; add `--force` to restore it anyway. Use `--dry-run` to see what would be restored without changing anything. Backups inside `node_modules` and `.git` are ignored. `undo` exits with 1 if any file was left as it was.
|
|
252
|
+
|
|
253
|
+
| Flag | Short | Default | Description |
|
|
254
|
+
|---|---|---|---|
|
|
255
|
+
| `--path <dir>` | `-p` | `.` | Path to the target project |
|
|
256
|
+
| `--dry-run` | | `false` | Show what would be restored without changing anything |
|
|
257
|
+
| `--force` | | `false` | Also restore files edited after BugZero fixed them (those edits are lost) |
|
|
258
|
+
|
|
244
259
|
### `bugzero vibe`
|
|
245
260
|
Interactively select which AI model to use. Fetches the current model list from OpenRouter, lets you pick one, and saves the selection to a local `.bugzerorc` config file.
|
|
246
261
|
|