prreviewbuddy 0.88.1 → 0.90.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/CHANGELOG.md +56 -0
- package/README.md +15 -0
- package/dist/main.js +23730 -320
- package/dist/{delete_review-CeiSTV7u.js → mcp_tools-CSj5vcSE.js} +3055 -2282
- package/dist/server.js +894 -225
- package/package.json +1 -1
- package/static/settings.js +1 -1
- package/static/shell.css +95 -0
- package/static/workspace.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.90.0
|
|
4
|
+
|
|
5
|
+
**Connect your coding agent from Settings.** A new **AI integrations** section in Settings shows,
|
|
6
|
+
for Claude Code and Codex, whether each can use PR Review Buddy, and connects it in one step. You
|
|
7
|
+
see the exact command before it runs, and it is the agent's own `mcp add`, so nothing edits the
|
|
8
|
+
agent's files directly. **Verify connection** starts the registered server and lists its tools;
|
|
9
|
+
**Disconnect** removes it. Verify checks that what answers is PR Review Buddy with all of its
|
|
10
|
+
tools, started with the variables the agent's config gives it. A Codex registration switched off
|
|
11
|
+
in its config shows as **Turned off**. A registration that points at another copy of PR Review Buddy, often an
|
|
12
|
+
older install, shows as such, and **Replace** points it at this one, putting the old registration
|
|
13
|
+
back if the agent refuses the new one. **Copy command** gives the same command to run yourself.
|
|
14
|
+
|
|
15
|
+
What is registered is the full path of the `prreviewbuddy` that runs this workspace, checked to be
|
|
16
|
+
this version first, because an agent started from a desktop app may not see your shell's `PATH`
|
|
17
|
+
and could otherwise start an older copy. Connect manages each agent's default configuration; a
|
|
18
|
+
Claude Code profile kept in its own directory gets a command to run for it instead. Copy command
|
|
19
|
+
pins the config the row names, so a shell that selects another profile does not write there.
|
|
20
|
+
|
|
21
|
+
After a finished review, once the guided tour has been answered, the review page mentions AI
|
|
22
|
+
integrations once, and only when an agent is installed and none is connected yet. **Not now**
|
|
23
|
+
puts it away for good. Help has a new **Coding agents** topic covering what an agent can and cannot
|
|
24
|
+
do, connecting, verifying and troubleshooting. The manual commands in the docs and in
|
|
25
|
+
`prreviewbuddy help mcp` now register the full path too.
|
|
26
|
+
|
|
27
|
+
## 0.89.0
|
|
28
|
+
|
|
29
|
+
**Coding agents can use PR Review Buddy directly.** `prreviewbuddy mcp serve` is a local MCP server
|
|
30
|
+
for Claude Code, Codex and other MCP clients. An agent can start a review, follow it, read its
|
|
31
|
+
findings, re-check it after fixing them, and ask Buddy AI about the change, without opening a
|
|
32
|
+
browser. PR Review Buddy still does the analysis with the agent you configured, in an isolated
|
|
33
|
+
checkout, and every review it starts is in the workspace as usual. Nothing is added to an agent's
|
|
34
|
+
settings unless you add it: `claude mcp add --scope user pr-review-buddy -- prreviewbuddy mcp serve`,
|
|
35
|
+
or `codex mcp add pr-review-buddy -- prreviewbuddy mcp serve`.
|
|
36
|
+
|
|
37
|
+
**Reviews as JSON.** `--json` on `review`, and on the new `show`, `findings`, `finding`, `status` and
|
|
38
|
+
`ask` commands, writes one JSON document to stdout and nothing else. Findings come in pages of
|
|
39
|
+
compact records, filtered by kind, open or closed, and grade, and each has a `finding_id` that stays
|
|
40
|
+
the same across every update of its review. A finding is identified by its review and its
|
|
41
|
+
`finding_id` together. `review --json --no-wait` starts the work in the
|
|
42
|
+
background and answers at once. `ask --json --no-wait` does the same for a question and returns
|
|
43
|
+
its `ask_id`; `status <review> --ask <ask_id>` returns the answer once there is one.
|
|
44
|
+
`review --review <review> --resume` carries on an analysis that stopped. The contract and its versioning are in `docs/agent-interface.md`.
|
|
45
|
+
|
|
46
|
+
**Exit codes say what went wrong.** Every command now uses one table: 2 for a usage error, 3 for a
|
|
47
|
+
review that does not exist, 4 for an operation declined, 5 for an analysis that failed, 6 when the
|
|
48
|
+
workspace server cannot be reached, 7 for a timeout and 8 for a command refused inside an agent run.
|
|
49
|
+
Failures that exited 1 still exit non-zero, with the same message. A review that finds problems
|
|
50
|
+
exits 0.
|
|
51
|
+
|
|
52
|
+
**An agent run cannot start a review.** Every agent PR Review Buddy starts runs marked, and in that
|
|
53
|
+
environment the CLI and the MCP server read reviews but refuse to start reviews, updates or
|
|
54
|
+
questions, on top of the flags that already keep PR Review Buddy's MCP server out of a nested session.
|
|
55
|
+
|
|
56
|
+
Not covered by `--json` yet: lens reviews, several pull requests at once, `--reanalyse` and
|
|
57
|
+
`--delete`.
|
|
58
|
+
|
|
3
59
|
## 0.88.1
|
|
4
60
|
|
|
5
61
|
**One change to a review at a time, from anywhere on the Reviews list.** While a change made from a
|
package/README.md
CHANGED
|
@@ -91,6 +91,21 @@ prreviewbuddy help every command
|
|
|
91
91
|
Run `prreviewbuddy help` for the full command reference, and `prreviewbuddy review --help` for
|
|
92
92
|
every option a review takes. How reviews, updates and lenses work is under Help in the workspace.
|
|
93
93
|
|
|
94
|
+
## Use it from your coding agent
|
|
95
|
+
|
|
96
|
+
PR Review Buddy can be a tool your coding agent calls: it starts the review, reads the findings,
|
|
97
|
+
fixes what is real and checks again, while you can still open every review in the browser.
|
|
98
|
+
|
|
99
|
+
Connect it from **Settings → AI integrations** in the workspace, or by hand:
|
|
100
|
+
|
|
101
|
+
```
|
|
102
|
+
claude mcp add --scope user pr-review-buddy -- "$(command -v prreviewbuddy)" mcp serve
|
|
103
|
+
codex mcp add pr-review-buddy -- "$(command -v prreviewbuddy)" mcp serve
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Then ask: "Review my changes with PR Review Buddy and fix the real problems." Scripts can use the
|
|
107
|
+
same reviews as JSON: `prreviewbuddy review --json`, `prreviewbuddy findings <review> --json`.
|
|
108
|
+
|
|
94
109
|
## What you need
|
|
95
110
|
|
|
96
111
|
- **Node 20 or newer**, and **git**.
|