@cyanheads/git-mcp-server 2.6.1 → 2.6.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 CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  <div align="center">
9
9
 
10
- [![Version](https://img.shields.io/badge/Version-2.6.1-blue.svg?style=flat-square)](./CHANGELOG.md) [![MCP Spec](https://img.shields.io/badge/MCP%20Spec-2025--11--25-8A2BE2.svg?style=flat-square)](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/docs/specification/2025-11-25/changelog.mdx) [![MCP SDK](https://img.shields.io/badge/MCP%20SDK-^1.24.3-green.svg?style=flat-square)](https://modelcontextprotocol.io/) [![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg?style=flat-square)](./LICENSE) [![Status](https://img.shields.io/badge/Status-Stable-brightgreen.svg?style=flat-square)](https://github.com/cyanheads/git-mcp-server/issues) [![TypeScript](https://img.shields.io/badge/TypeScript-^5.9.3-3178C6.svg?style=flat-square)](https://www.typescriptlang.org/) [![Bun](https://img.shields.io/badge/Bun-v1.2.21-blueviolet.svg?style=flat-square)](https://bun.sh/)
10
+ [![Version](https://img.shields.io/badge/Version-2.6.2-blue.svg?style=flat-square)](./CHANGELOG.md) [![MCP Spec](https://img.shields.io/badge/MCP%20Spec-2025--11--25-8A2BE2.svg?style=flat-square)](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/docs/specification/2025-11-25/changelog.mdx) [![MCP SDK](https://img.shields.io/badge/MCP%20SDK-^1.24.3-green.svg?style=flat-square)](https://modelcontextprotocol.io/) [![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg?style=flat-square)](./LICENSE) [![Status](https://img.shields.io/badge/Status-Stable-brightgreen.svg?style=flat-square)](https://github.com/cyanheads/git-mcp-server/issues) [![TypeScript](https://img.shields.io/badge/TypeScript-^5.9.3-3178C6.svg?style=flat-square)](https://www.typescriptlang.org/) [![Bun](https://img.shields.io/badge/Bun-v1.2.21-blueviolet.svg?style=flat-square)](https://bun.sh/)
11
11
 
12
12
  </div>
13
13
 
package/dist/index.js CHANGED
@@ -14356,7 +14356,7 @@ var package_default;
14356
14356
  var init_package = __esm(() => {
14357
14357
  package_default = {
14358
14358
  name: "@cyanheads/git-mcp-server",
14359
- version: "2.6.0",
14359
+ version: "2.6.2",
14360
14360
  mcpName: "io.github.cyanheads/git-mcp-server",
14361
14361
  description: "A secure and scalable Git MCP server enabling AI agents to perform comprehensive Git version control operations via STDIO and Streamable HTTP.",
14362
14362
  main: "dist/index.js",
@@ -186014,7 +186014,7 @@ var SuccessResponseSchema = exports_external.object({
186014
186014
  var FilePathSchema = exports_external.string().min(1).regex(/^[^/].*$/, "File path must be relative to repository root").regex(/^(?!.*\.\.).*$/, "File path cannot contain directory traversal").describe("File path relative to repository root.");
186015
186015
  var TagNameSchema = exports_external.string().min(1).max(255).regex(/^[^~^:?*\[\\]+$/, "Invalid tag name format").describe("Tag name (must follow git naming conventions).");
186016
186016
  var CommitMessageSchema = exports_external.string().min(1, "Commit message cannot be empty").max(1e4, "Commit message too long").describe("Commit message.");
186017
- var LimitSchema = exports_external.number().int().positive().max(1000).optional().describe("Maximum number of items to return (1-1000).");
186017
+ var LimitSchema = exports_external.number().int().min(1).max(1000).optional().describe("Maximum number of items to return (1-1000).");
186018
186018
  var SkipSchema = exports_external.number().int().nonnegative().optional().describe("Number of items to skip for pagination.");
186019
186019
  var VerboseSchema = exports_external.boolean().default(false).describe("Include verbose/detailed information in output.");
186020
186020
  var QuietSchema = exports_external.boolean().default(false).describe("Suppress informational output (errors only).");
@@ -186022,7 +186022,7 @@ var RecursiveSchema = exports_external.boolean().default(false).describe("Operat
186022
186022
  var AllSchema = exports_external.boolean().default(false).describe("Include all items (varies by operation).");
186023
186023
  var MergeStrategySchema = exports_external.enum(["ort", "recursive", "octopus", "ours", "subtree"]).optional().describe("Merge strategy to use (ort, recursive, octopus, ours, subtree).");
186024
186024
  var PruneSchema = exports_external.boolean().default(false).describe("Prune remote-tracking references that no longer exist on remote.");
186025
- var DepthSchema = exports_external.number().int().positive().optional().describe("Create a shallow clone with history truncated to N commits.");
186025
+ var DepthSchema = exports_external.number().int().min(1).optional().describe("Create a shallow clone with history truncated to N commits.");
186026
186026
  var SignSchema = exports_external.boolean().optional().describe("Sign the commit/tag with GPG.");
186027
186027
  var NoVerifySchema = exports_external.boolean().default(false).describe("Bypass pre-commit and commit-msg hooks.");
186028
186028
 
@@ -187867,7 +187867,7 @@ var InputSchema17 = exports_external.object({
187867
187867
  noCommit: exports_external.boolean().default(false).describe("Don't create commit (stage changes only)."),
187868
187868
  continueOperation: exports_external.boolean().default(false).describe("Continue cherry-pick after resolving conflicts."),
187869
187869
  abort: exports_external.boolean().default(false).describe("Abort cherry-pick operation."),
187870
- mainline: exports_external.number().int().positive().optional().describe("For merge commits, specify which parent to follow (1 for first parent, 2 for second, etc.)."),
187870
+ mainline: exports_external.number().int().min(1).optional().describe("For merge commits, specify which parent to follow (1 for first parent, 2 for second, etc.)."),
187871
187871
  strategy: MergeStrategySchema.describe("Merge strategy to use for cherry-pick."),
187872
187872
  signoff: exports_external.boolean().default(false).describe("Add Signed-off-by line to the commit message.")
187873
187873
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyanheads/git-mcp-server",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "mcpName": "io.github.cyanheads/git-mcp-server",
5
5
  "description": "A secure and scalable Git MCP server enabling AI agents to perform comprehensive Git version control operations via STDIO and Streamable HTTP.",
6
6
  "main": "dist/index.js",