-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit_diff_summary.json
More file actions
69 lines (69 loc) · 1.9 KB
/
git_diff_summary.json
File metadata and controls
69 lines (69 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "@rethunk/mcp-multi-root-git: git_diff_summary",
"description": "Parameter schema for the 'git_diff_summary' MCP tool.",
"type": "object",
"properties": {
"workspaceRoot": {
"description": "Highest-priority override.",
"type": "string"
},
"rootIndex": {
"description": "0-based index into the MCP file roots list; ignored when workspaceRoot is set.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"absoluteGitRoots": {
"description": "Absolute paths to git repo roots. Use for many sibling clones under a non-git parent directory.",
"maxItems": 256,
"type": "array",
"items": {
"type": "string"
}
},
"format": {
"default": "markdown",
"type": "string",
"enum": [
"markdown",
"json"
]
},
"range": {
"description": "Diff range. Examples: \"staged\", \"HEAD~3..HEAD\", \"main...feature\". Default: unstaged changes.",
"type": "string"
},
"fileFilter": {
"description": "Glob pattern to restrict output to matching files, e.g. \"*.ts\", \"src/**\".",
"type": "string"
},
"maxLinesPerFile": {
"default": 50,
"description": "Max diff lines to include per file. Default: 50.",
"type": "integer",
"minimum": 1,
"maximum": 2000
},
"maxFiles": {
"default": 30,
"description": "Max files to include in output. Default: 30.",
"type": "integer",
"minimum": 1,
"maximum": 500
},
"excludePatterns": {
"description": "Glob patterns to exclude. Defaults to common noise: lock files, dist, vendor, etc.",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"format",
"maxLinesPerFile",
"maxFiles"
],
"additionalProperties": false
}