Skip to content

Commit d391607

Browse files
committed
chore(release): cut @jsonbored/gittensory-mcp v0.7.0
Bumps the package version, LATEST_RECOMMENDED_MCP_VERSION, and the CLI's self-reported version in lockstep, regenerates the changelog from the 250 commits since mcp-v0.6.0, and updates the version-pinned test fixtures to match. Also widens the release scripts' git() maxBuffer (default 1MB) — the growing backlog since the last tag now exceeds it and was failing changelog generation with ENOBUFS.
1 parent 470d5fe commit d391607

12 files changed

Lines changed: 292 additions & 28 deletions

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/gittensory-mcp/CHANGELOG.md

Lines changed: 264 additions & 0 deletions
Large diffs are not rendered by default.

packages/gittensory-mcp/bin/gittensory-mcp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { buildBranchAnalysisPayload, collectLocalDiff, collectLocalBranchMetadat
1111
const defaultApiUrl = "https://gittensory-api.aethereal.dev";
1212
const legacyDefaultApiUrls = new Set(["https://gittensory-api.zeronode.workers.dev"]);
1313
const packageName = "@jsonbored/gittensory-mcp";
14-
const packageVersion = "0.6.0";
14+
const packageVersion = "0.7.0";
1515
const npmRegistryUrl = (process.env.GITTENSORY_NPM_REGISTRY_URL ?? "https://registry.npmjs.org").replace(/\/+$/, "");
1616
const upgradeCommand = `npm install -g ${packageName}@latest`;
1717
const npxFallbackCommand = `npx ${packageName}@latest <command>`;

packages/gittensory-mcp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jsonbored/gittensory-mcp",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"license": "AGPL-3.0-only",
55
"type": "module",
66
"description": "Local stdio MCP wrapper for the Gittensory Gittensor base-agent.",

scripts/check-mcp-release-due.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function readCommitFiles(sha) {
7373
}
7474

7575
function git(args) {
76-
return execFileSync("git", args, { encoding: "utf8" });
76+
return execFileSync("git", args, { encoding: "utf8", maxBuffer: 1024 * 1024 * 200 });
7777
}
7878

7979
async function upsertIssue(report) {

scripts/generate-mcp-changelog.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function todayIsoDate() {
162162
}
163163

164164
function git(args) {
165-
return execFileSync("git", args, { encoding: "utf8" });
165+
return execFileSync("git", args, { encoding: "utf8", maxBuffer: 1024 * 1024 * 200 });
166166
}
167167

168168
function escapeRegExp(value) {

src/services/mcp-compatibility.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const GITTENSORY_API_VERSION = "0.1.0";
22
export const GITTENSORY_MCP_PACKAGE_NAME = "@jsonbored/gittensory-mcp";
33
export const MINIMUM_SUPPORTED_MCP_VERSION = "0.5.0";
4-
export const LATEST_RECOMMENDED_MCP_VERSION = "0.6.0";
4+
export const LATEST_RECOMMENDED_MCP_VERSION = "0.7.0";
55

66
export type McpCompatibilityStatus = "current" | "stale" | "incompatible" | "unknown";
77

test/integration/api.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ describe("api routes", () => {
9797
status: "ok",
9898
service: "gittensory-api",
9999
minMcpVersion: "0.5.0",
100-
latestRecommendedMcpVersion: "0.6.0",
100+
latestRecommendedMcpVersion: "0.7.0",
101101
});
102102

103103
const compatibility = await app.request("/v1/mcp/compatibility", {}, env);
@@ -110,8 +110,8 @@ describe("api routes", () => {
110110
mcp: {
111111
packageName: "@jsonbored/gittensory-mcp",
112112
minimumSupportedVersion: "0.5.0",
113-
latestRecommendedVersion: "0.6.0",
114-
latestPackageVersion: "0.6.0",
113+
latestRecommendedVersion: "0.7.0",
114+
latestPackageVersion: "0.7.0",
115115
},
116116
compatibilityWarnings: [],
117117
breakingChanges: [],
@@ -3928,7 +3928,7 @@ describe("api routes", () => {
39283928
expect(mcpCompatibilityBody).toMatchObject({
39293929
adoption: expect.objectContaining({
39303930
minimumSupportedVersion: "0.5.0",
3931-
latestRecommendedVersion: "0.6.0",
3931+
latestRecommendedVersion: "0.7.0",
39323932
staleEvents: 1,
39333933
incompatibleEvents: 3,
39343934
totalEvents: 4,
@@ -5817,7 +5817,7 @@ describe("api routes", () => {
58175817
protocolVersion: "2025-03-26",
58185818
compatibilityStatus: "incompatible",
58195819
minimumSupportedVersion: "0.5.0",
5820-
latestRecommendedVersion: "0.6.0",
5820+
latestRecommendedVersion: "0.7.0",
58215821
}),
58225822
}),
58235823
]),

test/unit/mcp-cli-basics.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ describe("gittensory-mcp CLI — basics", () => {
118118
});
119119

120120
it("reports the package version via version, --version, and -v", () => {
121-
const expected = "@jsonbored/gittensory-mcp/0.6.0";
121+
const expected = "@jsonbored/gittensory-mcp/0.7.0";
122122
for (const flag of ["version", "--version", "-v"]) {
123123
const plain = run([flag]).trim();
124124
expect(plain).toContain(expected);
@@ -131,7 +131,7 @@ describe("gittensory-mcp CLI — basics", () => {
131131
it("emits machine-readable version output with --json", () => {
132132
const payload = JSON.parse(run(["version", "--json"])) as { name: string; version: string; apiVersion: string; node: string };
133133
expect(payload.name).toBe("@jsonbored/gittensory-mcp");
134-
expect(payload.version).toBe("0.6.0");
134+
expect(payload.version).toBe("0.7.0");
135135
expect(payload.apiVersion).toBe("0.1.0");
136136
expect(payload.node).toBe(process.version);
137137
});

test/unit/mcp-cli-doctor.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ describe("gittensory-mcp CLI — doctor", () => {
146146

147147
it("reports a current install without upgrade guidance", async () => {
148148
tempDir = mkdtempSync(join(tmpdir(), "gittensory-cli-"));
149-
const url = await startFixtureServer({ latestVersion: "0.6.0", minMcpVersion: "0.5.0" });
149+
const url = await startFixtureServer({ latestVersion: "0.7.0", minMcpVersion: "0.5.0" });
150150
const payload = JSON.parse(
151151
await runAsync(["status", "--json"], {
152152
GITTENSORY_API_URL: url,
@@ -166,7 +166,7 @@ describe("gittensory-mcp CLI — doctor", () => {
166166
status: "compatible",
167167
source: "compatibility_endpoint",
168168
minVersion: "0.5.0",
169-
latestRecommendedVersion: "0.6.0",
169+
latestRecommendedVersion: "0.7.0",
170170
apiVersion: "0.1.0",
171171
});
172172
});
@@ -186,8 +186,8 @@ describe("gittensory-mcp CLI — doctor", () => {
186186
expect(ahead.package).toMatchObject({ state: "ahead", updateAvailable: false });
187187
await closeFixtureServer();
188188

189-
// Local 0.6.0 vs a higher-core prerelease 0.7.0-rc.1 -> stale.
190-
const staleUrl = await startFixtureServer({ latestVersion: "0.7.0-rc.1" });
189+
// Local 0.7.0 vs a higher-core prerelease 0.8.0-rc.1 -> stale.
190+
const staleUrl = await startFixtureServer({ latestVersion: "0.8.0-rc.1" });
191191
const stale = JSON.parse(
192192
await runAsync(["status", "--json"], {
193193
GITTENSORY_API_URL: staleUrl,
@@ -282,7 +282,7 @@ describe("gittensory-mcp CLI — doctor", () => {
282282

283283
it("uses API recommended package metadata when the npm registry is unavailable", async () => {
284284
tempDir = mkdtempSync(join(tmpdir(), "gittensory-cli-"));
285-
const url = await startFixtureServer({ npmStatus: 500, latestRecommendedMcpVersion: "0.7.0" });
285+
const url = await startFixtureServer({ npmStatus: 500, latestRecommendedMcpVersion: "0.8.0" });
286286
const payload = JSON.parse(
287287
await runAsync(["status", "--json"], {
288288
GITTENSORY_API_URL: url,
@@ -294,7 +294,7 @@ describe("gittensory-mcp CLI — doctor", () => {
294294
expect(payload.package).toMatchObject({
295295
state: "stale",
296296
latestStatus: "api",
297-
latestVersion: "0.7.0",
297+
latestVersion: "0.8.0",
298298
upgradeCommand: "npm install -g @jsonbored/gittensory-mcp@latest",
299299
});
300300
});

0 commit comments

Comments
 (0)