megareviewer 0.2.0 → 0.2.2
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 +7 -5
- package/dist/server.js +663 -257
- package/dist/web/assets/{core-B6rr2vvd.js → core-DJjWJ2Ix.js} +1 -1
- package/dist/web/assets/index-DzcRED5K.js +67 -0
- package/dist/web/assets/index-HaWLAWXZ.css +1 -0
- package/dist/web/index.html +2 -2
- package/package.json +4 -4
- package/dist/web/assets/index-ClcSjEKy.css +0 -1
- package/dist/web/assets/index-DwjurLQh.js +0 -65
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# megareviewer
|
|
2
2
|
|
|
3
|
-
Turns a GitHub or Bitbucket Cloud pull request into a guided review.
|
|
3
|
+
Turns a GitHub or Bitbucket Cloud pull request into a guided review. Changes are ordered as a tour that follows the call graph, with each test next to the code it tests. Risky changes (dependencies, schemas, auth, CI, removed tests) stand out, and mechanical ones are collapsed with proof. Your review is posted back to the PR.
|
|
4
|
+
|
|
5
|
+
With `--ai`, Claude adds what the PR was asked to do next to what the code actually does, a guided tour, and the decisions the code makes for you to approve or reject.
|
|
4
6
|
|
|
5
7
|
## Run
|
|
6
8
|
|
|
@@ -10,7 +12,7 @@ Needs Node 22.13 or later.
|
|
|
10
12
|
npx megareviewer
|
|
11
13
|
```
|
|
12
14
|
|
|
13
|
-
It starts a server on `127.0.0.1` and opens the review UI in your browser. `--port <n>` picks the port, `--no-open` skips the browser.
|
|
15
|
+
It starts a server on `127.0.0.1` and opens the review UI in your browser. `--port <n>` picks the port, `--no-open` skips the browser, and `--ai` turns on the Claude analysis.
|
|
14
16
|
|
|
15
17
|
```bash
|
|
16
18
|
npx megareviewer doctor
|
|
@@ -20,7 +22,7 @@ npx megareviewer doctor
|
|
|
20
22
|
|
|
21
23
|
## Credentials
|
|
22
24
|
|
|
23
|
-
Set them as environment variables. You need at least one git host
|
|
25
|
+
Set them as environment variables. You need at least one git host.
|
|
24
26
|
|
|
25
27
|
**GitHub.** The first one found is used:
|
|
26
28
|
|
|
@@ -39,7 +41,7 @@ Set them as environment variables. You need at least one git host and Anthropic.
|
|
|
39
41
|
| `BITBUCKET_USERNAME` + `BITBUCKET_APP_PASSWORD` | Used instead of the two above when they aren't set: your Bitbucket username and an app password with Account: read, Repositories: read and Pull requests: write. Atlassian removed app passwords in July 2026, so they only work where Bitbucket still accepts them |
|
|
40
42
|
| `BITBUCKET_WORKSPACE` | Optional. The workspace whose PRs the picker lists. It scans the 50 most recently updated repositories; a pasted PR URL always works |
|
|
41
43
|
|
|
42
|
-
**Anthropic.** `ANTHROPIC_API_KEY`, or a profile from `ant auth login`. Analyses use Claude
|
|
44
|
+
**Anthropic.** Only for `--ai`: `ANTHROPIC_API_KEY`, or a profile from `ant auth login`. Analyses use Claude Haiku 5.5 and are billed to your account.
|
|
43
45
|
|
|
44
46
|
**Jira.** Optional: without it, ticket keys are shown but not fetched.
|
|
45
47
|
|
|
@@ -51,7 +53,7 @@ Set them as environment variables. You need at least one git host and Anthropic.
|
|
|
51
53
|
|
|
52
54
|
## Privacy
|
|
53
55
|
|
|
54
|
-
|
|
56
|
+
Without `--ai`, your code goes nowhere but your machine and your git host. With it, your code also goes to Anthropic's API, for the analysis. Nothing is sent to us, and there is no telemetry. Credentials stay in the local server process and never reach the browser. Analyses and verdicts are stored in `~/.megareviewer` (`MEGAREVIEWER_HOME` to move it).
|
|
55
57
|
|
|
56
58
|
## Contributing
|
|
57
59
|
|