@rethunk/mcp-multi-root-git 2.3.1 → 2.3.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/AGENTS.md CHANGED
@@ -7,7 +7,8 @@ IDEs injecting this as context: do not re-link from rules.
7
7
  **Canonical docs — do not duplicate:**
8
8
  - Install + per-client wiring → [docs/install.md](docs/install.md)
9
9
  - Tools, JSON shape, resources, root resolution → [docs/mcp-tools.md](docs/mcp-tools.md)
10
- - Presets, dev, CI, publish → [HUMANS.md](HUMANS.md)
10
+ - Dev setup, CI, commit conventions → [CONTRIBUTING.md](CONTRIBUTING.md)
11
+ - Presets, auth, publish → [HUMANS.md](HUMANS.md)
11
12
 
12
13
  ## Implementation map
13
14
 
@@ -48,7 +49,7 @@ IDEs injecting this as context: do not re-link from rules.
48
49
 
49
50
  Local: `bun run build` | `bun run check` | `bun run test`. CI ([`ci.yml`](.github/workflows/ci.yml)) runs same on PRs + `main` after `bun install --frozen-lockfile`, uploads prerelease `npm pack` artifact. Tag `v*.*.*` matching `package.json` version → [`release.yml`](.github/workflows/release.yml) publishes to GitHub Packages as `@rethunk-ai/mcp-multi-root-git` + cuts GitHub Release. npmjs publish is manual (see [HUMANS.md](HUMANS.md)).
50
51
 
51
- Optional [`.githooks/`](.githooks): `bun run setup-hooks` once per clone. pre-commit=`check`; pre-push=frozen install + build + check.
52
+ Optional [`.githooks/`](.githooks): `bun run setup-hooks` once per clone. pre-commit=`check`; pre-push=frozen install + build + check + test.
52
53
 
53
54
  Path confinement: [`src/repo-paths.ts`](src/repo-paths.ts) — extend tests when changing.
54
55
 
package/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  All notable changes to `@rethunk/mcp-multi-root-git` are documented here. Format loosely follows [Keep a Changelog](https://keepachangelog.com); the project uses [Semantic Versioning](https://semver.org).
4
4
 
5
+ ## [2.3.2] — 2026-04-21
6
+
7
+ ### CI
8
+
9
+ - Coverage gate added: `bun run test:coverage` enforces an 80% line-coverage minimum in CI (`check` job).
10
+
11
+ ### Documentation
12
+
13
+ - **`CONTRIBUTING.md`** — new file; consolidates dev setup, hook table, commit conventions, CI description, PR checklist, path-confinement guidance, and how-to-add-a-tool guidance for mutating tools.
14
+ - **`HUMANS.md`** — Development section replaced with a pointer to `CONTRIBUTING.md`; preset file, `git_not_found`, install reference, and publishing steps remain.
15
+ - **`AGENTS.md`** — corrected pre-push hook description (missing `test` step) and updated canonical-docs link for dev/CI content.
16
+ - **`.cursor/rules/rethunk-git-mcp.mdc`** — removed stale "shell is fine for `git diff` / `git cherry-pick`" examples; both now have MCP tool equivalents (`git_diff_summary`, `git_cherry_pick`).
17
+
5
18
  ## [2.3.1] — 2026-04-21
6
19
 
7
20
  Documentation-only patch following the 2.3.0 release.
package/HUMANS.md CHANGED
@@ -84,19 +84,7 @@ If **`git`** is missing or not runnable, tools and the presets resource respond
84
84
 
85
85
  ## Development
86
86
 
87
- Requires **Bun ≥ 1.3.11** to build this repository (`packageManager` in `package.json`). **Published runtime** (Node/Bun/Git and how to launch the server): **[docs/install.md](docs/install.md)** — *Prerequisites*.
88
-
89
- ```bash
90
- bun install
91
- bun run build # rimraf dist + tsc → dist/server.js, dist/server/*.js, dist/repo-paths.js
92
- bun run check # Biome
93
- bun run check:fix # Biome --write
94
- bun run setup-hooks # once per clone: use .githooks (pre-commit: check; pre-push: CI parity)
95
- ```
96
-
97
- **Git hooks:** after `setup-hooks`, **pre-commit** runs `bun run check`; **pre-push** runs `bun install --frozen-lockfile`, `bun run build`, `bun run check`, and `bun run test` (same order as CI). Set **`SKIP_GIT_HOOKS=1`** or use **`--no-verify`** to bypass.
98
-
99
- **CI:** [`.github/workflows/ci.yml`](.github/workflows/ci.yml) runs on pull requests and pushes to `main`: **`actions/setup-node` with Node 24** (minimum 22 asserted), then `bun install --frozen-lockfile`, `bun run build`, `bun run check`, and `bun run test`. A follow-up job **`prerelease-pack`** builds the same tree and runs **`npm pack`**, then uploads a **prerelease `.tgz` artifact** (named with the commit SHA) you can download from the workflow run’s **Artifacts** section (retention 90 days). Match the check job locally before opening a PR.
87
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for dev setup, build commands, git hooks, commit conventions, CI, and how to add a tool.
100
88
 
101
89
  ## Publishing
102
90
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rethunk/mcp-multi-root-git",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "MCP stdio server: multi-root git status, inventory, and HEAD parity checks. Generic tools usable by any workspace.",
5
5
  "type": "module",
6
6
  "private": false,
@@ -32,6 +32,7 @@
32
32
  "check": "biome check .",
33
33
  "check:fix": "biome check --write .",
34
34
  "test": "bun test src/",
35
+ "test:coverage": "bun test src/ --coverage",
35
36
  "prepublishOnly": "bun run build && bun run check && bun run test",
36
37
  "setup-hooks": "git config core.hooksPath .githooks"
37
38
  },