@gyeonghokim/gerrit-cli 1.0.0 → 2.0.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 +8 -8
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://github.com/GyeongHoKim/gerrit-mcp-server/actions/workflows/ci.yml)
|
|
6
6
|
[](https://www.npmjs.com/package/@gyeonghokim/gerrit-mcp-server)
|
|
7
|
-
[](https://go.dev)
|
|
8
8
|
[](LICENSE)
|
|
9
9
|
|
|
10
10
|
Connect your AI coding agent to Gerrit code review.
|
|
@@ -18,7 +18,7 @@ you want to spend:
|
|
|
18
18
|
| | What it is | Context cost |
|
|
19
19
|
| --- | --- | --- |
|
|
20
20
|
| **`gerrit-cli` + skill** | A command-line binary, plus an [agent skill](skills/gerrit-cli/SKILL.md) that teaches an agent to drive it | One line, until the skill triggers |
|
|
21
|
-
| **`gerrit-mcp-server`** | A [Model Context Protocol](https://modelcontextprotocol.io) server over **stdio** |
|
|
21
|
+
| **`gerrit-mcp-server`** | A [Model Context Protocol](https://modelcontextprotocol.io) server over **stdio** | 23 tool schemas, for the whole session |
|
|
22
22
|
|
|
23
23
|
The skill route is the lighter one and works with any agent that reads skills. The MCP server needs
|
|
24
24
|
no shell access and works with any MCP client: Claude Code, Codex, Cursor, Zed, Continue, or your
|
|
@@ -242,6 +242,7 @@ The same asymmetry applies to operations your Gerrit is too old for — see
|
|
|
242
242
|
| `get_file_diff` | Diff for one file in a change |
|
|
243
243
|
| `list_change_comments` | Published comments on a change |
|
|
244
244
|
| `list_draft_comments` | Your unpublished draft comments |
|
|
245
|
+
| `list_change_messages` | Change Log messages on a change, automated ones included |
|
|
245
246
|
| `changes_submitted_together` | Changes that would submit alongside this one |
|
|
246
247
|
| `suggest_reviewers` | Reviewer suggestions for a change |
|
|
247
248
|
| `get_bugs_from_cl` | Bug ids referenced in the commit message |
|
|
@@ -265,8 +266,8 @@ responses inside a sensible token budget, and handing an agent raw Gerrit JSON w
|
|
|
265
266
|
| `delete_draft_comments` | Delete every draft on a change |
|
|
266
267
|
| `add_reviewer` | Add a reviewer or CC |
|
|
267
268
|
| `set_topic` | Set or clear the topic |
|
|
268
|
-
| `set_ready_for_review` | Take a change out of WIP
|
|
269
|
-
| `set_work_in_progress` | Mark a change WIP
|
|
269
|
+
| `set_ready_for_review` | Take a change out of WIP |
|
|
270
|
+
| `set_work_in_progress` | Mark a change WIP |
|
|
270
271
|
| `create_change` | Create a change |
|
|
271
272
|
| `abandon_change` | Abandon a change |
|
|
272
273
|
| `revert_change` | Revert a change |
|
|
@@ -289,15 +290,14 @@ stdout and everything else to stderr, so the answer is safe to pipe.
|
|
|
289
290
|
|
|
290
291
|
## Supported Gerrit versions
|
|
291
292
|
|
|
292
|
-
Built and tested against the Gerrit **3.14** REST API. Supported down to **2.
|
|
293
|
+
Built and tested against the Gerrit **3.14** REST API. Supported down to **2.16**, the oldest
|
|
294
|
+
release with an official Docker image.
|
|
293
295
|
|
|
294
296
|
Almost everything works unchanged on an old host — including the draft comment endpoints, which
|
|
295
|
-
earlier versions of this document blamed.
|
|
297
|
+
earlier versions of this document blamed. One write operation genuinely does not exist:
|
|
296
298
|
|
|
297
299
|
| Operation | Needs |
|
|
298
300
|
| --- | --- |
|
|
299
|
-
| `set_work_in_progress` / `set-work-in-progress` | Gerrit 2.15+ |
|
|
300
|
-
| `set_ready_for_review` / `set-ready-for-review` | Gerrit 2.15+ |
|
|
301
301
|
| `revert_submission` / `revert-submission` | Gerrit 3.2+ |
|
|
302
302
|
|
|
303
303
|
The two frontends handle that the same way they handle write access. `gerrit-mcp-server` asks the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gyeonghokim/gerrit-cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Command-line client for Gerrit code review, and the binary behind the gerrit-cli agent skill.",
|
|
5
5
|
"license": "Elastic-2.0",
|
|
6
6
|
"author": "GyeongHoKim",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"node": ">=18"
|
|
35
35
|
},
|
|
36
36
|
"optionalDependencies": {
|
|
37
|
-
"@gyeonghokim/gerrit-mcp-server-linux-x64": "
|
|
38
|
-
"@gyeonghokim/gerrit-mcp-server-linux-arm64": "
|
|
39
|
-
"@gyeonghokim/gerrit-mcp-server-darwin-x64": "
|
|
40
|
-
"@gyeonghokim/gerrit-mcp-server-darwin-arm64": "
|
|
41
|
-
"@gyeonghokim/gerrit-mcp-server-win32-x64": "
|
|
37
|
+
"@gyeonghokim/gerrit-mcp-server-linux-x64": "2.0.0",
|
|
38
|
+
"@gyeonghokim/gerrit-mcp-server-linux-arm64": "2.0.0",
|
|
39
|
+
"@gyeonghokim/gerrit-mcp-server-darwin-x64": "2.0.0",
|
|
40
|
+
"@gyeonghokim/gerrit-mcp-server-darwin-arm64": "2.0.0",
|
|
41
|
+
"@gyeonghokim/gerrit-mcp-server-win32-x64": "2.0.0"
|
|
42
42
|
}
|
|
43
43
|
}
|