@rethunk/mcp-multi-root-git 2.9.0 → 3.1.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/AGENTS.md +4 -6
- package/CHANGELOG.md +65 -0
- package/HUMANS.md +4 -4
- package/dist/server/batch-commit-tool.js +24 -15
- package/dist/server/coverage.js +5 -1
- package/dist/server/error-codes.js +6 -9
- package/dist/server/git-blame-tool.js +60 -16
- package/dist/server/git-branch-list-tool.js +1 -7
- package/dist/server/git-cherry-pick-tool.js +1 -1
- package/dist/server/git-diff-summary-tool.js +3 -3
- package/dist/server/git-diff-tool.js +1 -4
- package/dist/server/git-fetch-tool.js +3 -12
- package/dist/server/git-inventory-tool.js +4 -4
- package/dist/server/git-log-tool.js +2 -2
- package/dist/server/git-merge-tool.js +1 -1
- package/dist/server/git-parity-tool.js +2 -2
- package/dist/server/git-push-tool.js +1 -1
- package/dist/server/git-reflog-tool.js +1 -7
- package/dist/server/git-reset-soft-tool.js +1 -1
- package/dist/server/git-show-tool.js +2 -11
- package/dist/server/git-stash-tool.js +3 -12
- package/dist/server/git-status-tool.js +2 -2
- package/dist/server/git-tag-tool.js +1 -7
- package/dist/server/git-worktree-tool.js +3 -7
- package/dist/server/git.js +2 -8
- package/dist/server/list-presets-tool.js +2 -8
- package/dist/server/roots.js +41 -80
- package/dist/server/schemas.js +11 -19
- package/dist/server/tool-parameter-schemas.js +3 -3
- package/dist/server.js +1 -1
- package/docs/mcp-tools.md +117 -136
- package/package.json +6 -5
- package/schemas/batch_commit.json +7 -19
- package/schemas/git_blame.json +12 -10
- package/schemas/git_branch_list.json +2 -8
- package/schemas/git_cherry_pick.json +5 -17
- package/schemas/git_diff.json +7 -13
- package/schemas/git_diff_summary.json +2 -16
- package/schemas/git_fetch.json +1 -7
- package/schemas/git_inventory.json +18 -23
- package/schemas/git_log.json +24 -29
- package/schemas/git_merge.json +3 -15
- package/schemas/git_parity.json +18 -23
- package/schemas/git_push.json +1 -13
- package/schemas/git_reflog.json +1 -7
- package/schemas/git_reset_soft.json +2 -14
- package/schemas/git_show.json +1 -7
- package/schemas/git_stash_apply.json +3 -9
- package/schemas/git_stash_list.json +1 -7
- package/schemas/git_status.json +18 -23
- package/schemas/git_tag.json +1 -7
- package/schemas/git_worktree_add.json +4 -16
- package/schemas/git_worktree_list.json +1 -7
- package/schemas/git_worktree_remove.json +2 -14
- package/schemas/list_presets.json +18 -23
- package/tool-parameters.schema.json +122 -297
|
@@ -5,20 +5,9 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"workspaceRoot": {
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "Repo path. Default: first MCP root / cwd.",
|
|
9
9
|
"type": "string"
|
|
10
10
|
},
|
|
11
|
-
"rootIndex": {
|
|
12
|
-
"description": "0-based index into the MCP file roots list; ignored when workspaceRoot is set.",
|
|
13
|
-
"type": "integer",
|
|
14
|
-
"minimum": 0,
|
|
15
|
-
"maximum": 9007199254740991
|
|
16
|
-
},
|
|
17
|
-
"allWorkspaceRoots": {
|
|
18
|
-
"default": false,
|
|
19
|
-
"description": "Fan out across all MCP file roots.",
|
|
20
|
-
"type": "boolean"
|
|
21
|
-
},
|
|
22
11
|
"format": {
|
|
23
12
|
"default": "markdown",
|
|
24
13
|
"type": "string",
|
|
@@ -62,13 +51,13 @@
|
|
|
62
51
|
"from": {
|
|
63
52
|
"type": "integer",
|
|
64
53
|
"minimum": 1,
|
|
65
|
-
"maximum":
|
|
54
|
+
"maximum": 1000000,
|
|
66
55
|
"description": "Start line number (1-indexed)."
|
|
67
56
|
},
|
|
68
57
|
"to": {
|
|
69
58
|
"type": "integer",
|
|
70
59
|
"minimum": 1,
|
|
71
|
-
"maximum":
|
|
60
|
+
"maximum": 1000000,
|
|
72
61
|
"description": "End line number (1-indexed, inclusive)."
|
|
73
62
|
}
|
|
74
63
|
},
|
|
@@ -88,7 +77,7 @@
|
|
|
88
77
|
}
|
|
89
78
|
]
|
|
90
79
|
},
|
|
91
|
-
"description": "Paths to stage, relative to
|
|
80
|
+
"description": "Paths to stage, relative to git root. String or `{ path, lines }` for hunk-level staging. Deleted tracked files are staged via `git rm --cached`. Cannot combine `lines` with a deleted file."
|
|
92
81
|
}
|
|
93
82
|
},
|
|
94
83
|
"required": [
|
|
@@ -97,11 +86,11 @@
|
|
|
97
86
|
],
|
|
98
87
|
"additionalProperties": false
|
|
99
88
|
},
|
|
100
|
-
"description": "
|
|
89
|
+
"description": "Ordered list of commits to create."
|
|
101
90
|
},
|
|
102
91
|
"push": {
|
|
103
92
|
"default": "never",
|
|
104
|
-
"description": "`never` (default): no push. `after`: push
|
|
93
|
+
"description": "`never` (default): no push. `after`: push current branch to upstream after all commits succeed; fails with `push_no_upstream` if no upstream (commits are NOT rolled back).",
|
|
105
94
|
"type": "string",
|
|
106
95
|
"enum": [
|
|
107
96
|
"never",
|
|
@@ -110,12 +99,11 @@
|
|
|
110
99
|
},
|
|
111
100
|
"dryRun": {
|
|
112
101
|
"default": false,
|
|
113
|
-
"description": "
|
|
102
|
+
"description": "Stage files and return a preview without writing commits; unstages afterwards. Response is marked DRY RUN.",
|
|
114
103
|
"type": "boolean"
|
|
115
104
|
}
|
|
116
105
|
},
|
|
117
106
|
"required": [
|
|
118
|
-
"allWorkspaceRoots",
|
|
119
107
|
"format",
|
|
120
108
|
"commits",
|
|
121
109
|
"push",
|
package/schemas/git_blame.json
CHANGED
|
@@ -5,15 +5,9 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"workspaceRoot": {
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "Repo path. Default: first MCP root / cwd.",
|
|
9
9
|
"type": "string"
|
|
10
10
|
},
|
|
11
|
-
"rootIndex": {
|
|
12
|
-
"description": "0-based index into the MCP file roots list; ignored when workspaceRoot is set.",
|
|
13
|
-
"type": "integer",
|
|
14
|
-
"minimum": 0,
|
|
15
|
-
"maximum": 9007199254740991
|
|
16
|
-
},
|
|
17
11
|
"format": {
|
|
18
12
|
"default": "markdown",
|
|
19
13
|
"type": "string",
|
|
@@ -35,18 +29,26 @@
|
|
|
35
29
|
"description": "First line of the range to blame (1-based). Requires endLine.",
|
|
36
30
|
"type": "integer",
|
|
37
31
|
"minimum": 1,
|
|
38
|
-
"maximum":
|
|
32
|
+
"maximum": 1000000
|
|
39
33
|
},
|
|
40
34
|
"endLine": {
|
|
41
35
|
"description": "Last line of the range to blame (1-based, inclusive). Requires startLine.",
|
|
42
36
|
"type": "integer",
|
|
43
37
|
"minimum": 1,
|
|
44
|
-
"maximum":
|
|
38
|
+
"maximum": 1000000
|
|
39
|
+
},
|
|
40
|
+
"maxLines": {
|
|
41
|
+
"default": 2000,
|
|
42
|
+
"description": "Max blamed lines to return. Default: 2000.",
|
|
43
|
+
"type": "integer",
|
|
44
|
+
"minimum": 1,
|
|
45
|
+
"maximum": 10000
|
|
45
46
|
}
|
|
46
47
|
},
|
|
47
48
|
"required": [
|
|
48
49
|
"format",
|
|
49
|
-
"path"
|
|
50
|
+
"path",
|
|
51
|
+
"maxLines"
|
|
50
52
|
],
|
|
51
53
|
"additionalProperties": false
|
|
52
54
|
}
|
|
@@ -5,15 +5,9 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"workspaceRoot": {
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "Repo path. Default: first MCP root / cwd.",
|
|
9
9
|
"type": "string"
|
|
10
10
|
},
|
|
11
|
-
"rootIndex": {
|
|
12
|
-
"description": "0-based index into the MCP file roots list; ignored when workspaceRoot is set.",
|
|
13
|
-
"type": "integer",
|
|
14
|
-
"minimum": 0,
|
|
15
|
-
"maximum": 9007199254740991
|
|
16
|
-
},
|
|
17
11
|
"format": {
|
|
18
12
|
"default": "markdown",
|
|
19
13
|
"type": "string",
|
|
@@ -24,7 +18,7 @@
|
|
|
24
18
|
},
|
|
25
19
|
"includeRemotes": {
|
|
26
20
|
"default": false,
|
|
27
|
-
"description": "
|
|
21
|
+
"description": "Include remote-tracking branches from refs/remotes (symbolic origin/HEAD excluded).",
|
|
28
22
|
"type": "boolean"
|
|
29
23
|
}
|
|
30
24
|
},
|
|
@@ -5,20 +5,9 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"workspaceRoot": {
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "Repo path. Default: first MCP root / cwd.",
|
|
9
9
|
"type": "string"
|
|
10
10
|
},
|
|
11
|
-
"rootIndex": {
|
|
12
|
-
"description": "0-based index into the MCP file roots list; ignored when workspaceRoot is set.",
|
|
13
|
-
"type": "integer",
|
|
14
|
-
"minimum": 0,
|
|
15
|
-
"maximum": 9007199254740991
|
|
16
|
-
},
|
|
17
|
-
"allWorkspaceRoots": {
|
|
18
|
-
"default": false,
|
|
19
|
-
"description": "Fan out across all MCP file roots.",
|
|
20
|
-
"type": "boolean"
|
|
21
|
-
},
|
|
22
11
|
"format": {
|
|
23
12
|
"default": "markdown",
|
|
24
13
|
"type": "string",
|
|
@@ -35,7 +24,7 @@
|
|
|
35
24
|
"type": "string",
|
|
36
25
|
"minLength": 1
|
|
37
26
|
},
|
|
38
|
-
"description": "Sources
|
|
27
|
+
"description": "Sources: SHA, `A..B` range, or branch name (resolves to `onto..<branch>`)."
|
|
39
28
|
},
|
|
40
29
|
"onto": {
|
|
41
30
|
"description": "Destination branch. Defaults to the currently checked-out branch.",
|
|
@@ -43,22 +32,21 @@
|
|
|
43
32
|
},
|
|
44
33
|
"deleteMergedBranches": {
|
|
45
34
|
"default": false,
|
|
46
|
-
"description": "
|
|
35
|
+
"description": "Delete branch-kind sources locally after success. Protected names and remote refs unaffected.",
|
|
47
36
|
"type": "boolean"
|
|
48
37
|
},
|
|
49
38
|
"deleteMergedWorktrees": {
|
|
50
39
|
"default": false,
|
|
51
|
-
"description": "
|
|
40
|
+
"description": "Remove local worktrees on branch-kind sources after success. Protected tails skipped.",
|
|
52
41
|
"type": "boolean"
|
|
53
42
|
},
|
|
54
43
|
"strictMergedRefEquality": {
|
|
55
44
|
"default": false,
|
|
56
|
-
"description": "
|
|
45
|
+
"description": "false (default): delete branch when every commit is content-equivalent on destination (patch-id, normal cherry-pick outcome). true: require strict ref ancestry (`git branch -d` semantics — will refuse after cherry-pick due to SHA mismatch).",
|
|
57
46
|
"type": "boolean"
|
|
58
47
|
}
|
|
59
48
|
},
|
|
60
49
|
"required": [
|
|
61
|
-
"allWorkspaceRoots",
|
|
62
50
|
"format",
|
|
63
51
|
"sources",
|
|
64
52
|
"deleteMergedBranches",
|
package/schemas/git_diff.json
CHANGED
|
@@ -5,15 +5,9 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"workspaceRoot": {
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "Repo path. Default: first MCP root / cwd.",
|
|
9
9
|
"type": "string"
|
|
10
10
|
},
|
|
11
|
-
"rootIndex": {
|
|
12
|
-
"description": "0-based index into the MCP file roots list; ignored when workspaceRoot is set.",
|
|
13
|
-
"type": "integer",
|
|
14
|
-
"minimum": 0,
|
|
15
|
-
"maximum": 9007199254740991
|
|
16
|
-
},
|
|
17
11
|
"format": {
|
|
18
12
|
"default": "markdown",
|
|
19
13
|
"type": "string",
|
|
@@ -23,19 +17,19 @@
|
|
|
23
17
|
]
|
|
24
18
|
},
|
|
25
19
|
"base": {
|
|
26
|
-
"description": "Base ref (e.g. \"main\", \"HEAD~3\").
|
|
20
|
+
"description": "Base ref (e.g. \"main\", \"HEAD~3\"). Omit for unstaged changes.",
|
|
27
21
|
"type": "string"
|
|
28
22
|
},
|
|
29
23
|
"head": {
|
|
30
|
-
"description": "Head ref (e.g. \"feature-branch\").
|
|
24
|
+
"description": "Head ref (e.g. \"feature-branch\"). Defaults to HEAD. Used only when `base` is set.",
|
|
31
25
|
"type": "string"
|
|
32
26
|
},
|
|
33
27
|
"path": {
|
|
34
|
-
"description": "Scope
|
|
28
|
+
"description": "Scope to a single file. Unioned with `paths` if both given.",
|
|
35
29
|
"type": "string"
|
|
36
30
|
},
|
|
37
31
|
"paths": {
|
|
38
|
-
"description": "Scope
|
|
32
|
+
"description": "Scope to multiple files (must be within repo root). Unioned with `path` if both given.",
|
|
39
33
|
"type": "array",
|
|
40
34
|
"items": {
|
|
41
35
|
"type": "string"
|
|
@@ -43,11 +37,11 @@
|
|
|
43
37
|
},
|
|
44
38
|
"staged": {
|
|
45
39
|
"default": false,
|
|
46
|
-
"description": "
|
|
40
|
+
"description": "Show staged changes (`git diff --staged`). Ignored if `base` is set.",
|
|
47
41
|
"type": "boolean"
|
|
48
42
|
},
|
|
49
43
|
"unified": {
|
|
50
|
-
"description": "
|
|
44
|
+
"description": "Context lines around each change (`-U<n>`). Default: 3. Use 0 for no context.",
|
|
51
45
|
"type": "integer",
|
|
52
46
|
"minimum": 0,
|
|
53
47
|
"maximum": 100
|
|
@@ -5,23 +5,9 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"workspaceRoot": {
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "Repo path. Default: first MCP root / cwd.",
|
|
9
9
|
"type": "string"
|
|
10
10
|
},
|
|
11
|
-
"rootIndex": {
|
|
12
|
-
"description": "0-based index into the MCP file roots list; ignored when workspaceRoot is set.",
|
|
13
|
-
"type": "integer",
|
|
14
|
-
"minimum": 0,
|
|
15
|
-
"maximum": 9007199254740991
|
|
16
|
-
},
|
|
17
|
-
"absoluteGitRoots": {
|
|
18
|
-
"description": "Absolute paths to git repo roots. Use for many sibling clones under a non-git parent directory.",
|
|
19
|
-
"maxItems": 256,
|
|
20
|
-
"type": "array",
|
|
21
|
-
"items": {
|
|
22
|
-
"type": "string"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
11
|
"format": {
|
|
26
12
|
"default": "markdown",
|
|
27
13
|
"type": "string",
|
|
@@ -53,7 +39,7 @@
|
|
|
53
39
|
"maximum": 500
|
|
54
40
|
},
|
|
55
41
|
"excludePatterns": {
|
|
56
|
-
"description": "Glob patterns to exclude.
|
|
42
|
+
"description": "Glob patterns to exclude. Default: lock files, dist, vendor, etc.",
|
|
57
43
|
"type": "array",
|
|
58
44
|
"items": {
|
|
59
45
|
"type": "string"
|
package/schemas/git_fetch.json
CHANGED
|
@@ -5,15 +5,9 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"workspaceRoot": {
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "Repo path. Default: first MCP root / cwd.",
|
|
9
9
|
"type": "string"
|
|
10
10
|
},
|
|
11
|
-
"rootIndex": {
|
|
12
|
-
"description": "0-based index into the MCP file roots list; ignored when workspaceRoot is set.",
|
|
13
|
-
"type": "integer",
|
|
14
|
-
"minimum": 0,
|
|
15
|
-
"maximum": 9007199254740991
|
|
16
|
-
},
|
|
17
11
|
"format": {
|
|
18
12
|
"default": "markdown",
|
|
19
13
|
"type": "string",
|
|
@@ -4,28 +4,24 @@
|
|
|
4
4
|
"description": "Parameter schema for the 'git_inventory' MCP tool.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
|
-
"
|
|
8
|
-
"description": "
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"type": "array",
|
|
26
|
-
"items": {
|
|
27
|
-
"type": "string"
|
|
28
|
-
}
|
|
7
|
+
"root": {
|
|
8
|
+
"description": "Repo path, array of paths, or \"*\" for all MCP roots.",
|
|
9
|
+
"anyOf": [
|
|
10
|
+
{
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"maxItems": 256,
|
|
15
|
+
"type": "array",
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"type": "string",
|
|
22
|
+
"const": "*"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
29
25
|
},
|
|
30
26
|
"format": {
|
|
31
27
|
"default": "markdown",
|
|
@@ -65,7 +61,6 @@
|
|
|
65
61
|
}
|
|
66
62
|
},
|
|
67
63
|
"required": [
|
|
68
|
-
"allWorkspaceRoots",
|
|
69
64
|
"format",
|
|
70
65
|
"presetMerge",
|
|
71
66
|
"maxRoots"
|
package/schemas/git_log.json
CHANGED
|
@@ -4,32 +4,28 @@
|
|
|
4
4
|
"description": "Parameter schema for the 'git_log' MCP tool.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
|
-
"
|
|
8
|
-
"description": "
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"type": "array",
|
|
26
|
-
"items": {
|
|
27
|
-
"type": "string"
|
|
28
|
-
}
|
|
7
|
+
"root": {
|
|
8
|
+
"description": "Repo path, array of paths, or \"*\" for all MCP roots.",
|
|
9
|
+
"anyOf": [
|
|
10
|
+
{
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"maxItems": 256,
|
|
15
|
+
"type": "array",
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"type": "string",
|
|
22
|
+
"const": "*"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
29
25
|
},
|
|
30
26
|
"format": {
|
|
31
27
|
"default": "markdown",
|
|
32
|
-
"description": "`markdown` (default): headed sections per root. `json`:
|
|
28
|
+
"description": "`markdown` (default): headed sections per root. `json`: groups array. `oneline`: `<sha7> <subject>` per line; lowest-token option for post-commit verification.",
|
|
33
29
|
"type": "string",
|
|
34
30
|
"enum": [
|
|
35
31
|
"markdown",
|
|
@@ -38,27 +34,27 @@
|
|
|
38
34
|
]
|
|
39
35
|
},
|
|
40
36
|
"since": {
|
|
41
|
-
"description": "Passed to
|
|
37
|
+
"description": "Passed to `--since=`. ISO timestamp or git relative form (`48.hours`, `2.weeks.ago`). Default: `7.days`.",
|
|
42
38
|
"type": "string"
|
|
43
39
|
},
|
|
44
40
|
"paths": {
|
|
45
|
-
"description": "Limit to commits touching these paths (
|
|
41
|
+
"description": "Limit to commits touching these paths (`-- <paths>`).",
|
|
46
42
|
"type": "array",
|
|
47
43
|
"items": {
|
|
48
44
|
"type": "string"
|
|
49
45
|
}
|
|
50
46
|
},
|
|
51
47
|
"grep": {
|
|
52
|
-
"description": "Filter
|
|
48
|
+
"description": "Filter by commit message regex (git `--grep`, case-insensitive).",
|
|
53
49
|
"type": "string"
|
|
54
50
|
},
|
|
55
51
|
"author": {
|
|
56
|
-
"description": "Filter by author name or email (
|
|
52
|
+
"description": "Filter by author name or email (`--author=`).",
|
|
57
53
|
"type": "string"
|
|
58
54
|
},
|
|
59
55
|
"maxCommits": {
|
|
60
56
|
"default": 50,
|
|
61
|
-
"description": "
|
|
57
|
+
"description": "Max commits per root (hard cap 500, default 50).",
|
|
62
58
|
"type": "integer",
|
|
63
59
|
"minimum": 1,
|
|
64
60
|
"maximum": 500
|
|
@@ -69,7 +65,6 @@
|
|
|
69
65
|
}
|
|
70
66
|
},
|
|
71
67
|
"required": [
|
|
72
|
-
"allWorkspaceRoots",
|
|
73
68
|
"format",
|
|
74
69
|
"maxCommits"
|
|
75
70
|
],
|
package/schemas/git_merge.json
CHANGED
|
@@ -5,20 +5,9 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"workspaceRoot": {
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "Repo path. Default: first MCP root / cwd.",
|
|
9
9
|
"type": "string"
|
|
10
10
|
},
|
|
11
|
-
"rootIndex": {
|
|
12
|
-
"description": "0-based index into the MCP file roots list; ignored when workspaceRoot is set.",
|
|
13
|
-
"type": "integer",
|
|
14
|
-
"minimum": 0,
|
|
15
|
-
"maximum": 9007199254740991
|
|
16
|
-
},
|
|
17
|
-
"allWorkspaceRoots": {
|
|
18
|
-
"default": false,
|
|
19
|
-
"description": "Fan out across all MCP file roots.",
|
|
20
|
-
"type": "boolean"
|
|
21
|
-
},
|
|
22
11
|
"format": {
|
|
23
12
|
"default": "markdown",
|
|
24
13
|
"type": "string",
|
|
@@ -58,17 +47,16 @@
|
|
|
58
47
|
},
|
|
59
48
|
"deleteMergedBranches": {
|
|
60
49
|
"default": false,
|
|
61
|
-
"description": "
|
|
50
|
+
"description": "Delete each source branch locally after clean merge (`git branch -d`). Protected names and remote refs unaffected.",
|
|
62
51
|
"type": "boolean"
|
|
63
52
|
},
|
|
64
53
|
"deleteMergedWorktrees": {
|
|
65
54
|
"default": false,
|
|
66
|
-
"description": "
|
|
55
|
+
"description": "Remove local worktrees on source branches after clean merge (`git worktree remove`). Protected tails skipped.",
|
|
67
56
|
"type": "boolean"
|
|
68
57
|
}
|
|
69
58
|
},
|
|
70
59
|
"required": [
|
|
71
|
-
"allWorkspaceRoots",
|
|
72
60
|
"format",
|
|
73
61
|
"sources",
|
|
74
62
|
"strategy",
|
package/schemas/git_parity.json
CHANGED
|
@@ -4,28 +4,24 @@
|
|
|
4
4
|
"description": "Parameter schema for the 'git_parity' MCP tool.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
|
-
"
|
|
8
|
-
"description": "
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"type": "array",
|
|
26
|
-
"items": {
|
|
27
|
-
"type": "string"
|
|
28
|
-
}
|
|
7
|
+
"root": {
|
|
8
|
+
"description": "Repo path, array of paths, or \"*\" for all MCP roots.",
|
|
9
|
+
"anyOf": [
|
|
10
|
+
{
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"maxItems": 256,
|
|
15
|
+
"type": "array",
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"type": "string",
|
|
22
|
+
"const": "*"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
29
25
|
},
|
|
30
26
|
"format": {
|
|
31
27
|
"default": "markdown",
|
|
@@ -66,7 +62,6 @@
|
|
|
66
62
|
}
|
|
67
63
|
},
|
|
68
64
|
"required": [
|
|
69
|
-
"allWorkspaceRoots",
|
|
70
65
|
"format",
|
|
71
66
|
"presetMerge"
|
|
72
67
|
],
|
package/schemas/git_push.json
CHANGED
|
@@ -5,20 +5,9 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"workspaceRoot": {
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "Repo path. Default: first MCP root / cwd.",
|
|
9
9
|
"type": "string"
|
|
10
10
|
},
|
|
11
|
-
"rootIndex": {
|
|
12
|
-
"description": "0-based index into the MCP file roots list; ignored when workspaceRoot is set.",
|
|
13
|
-
"type": "integer",
|
|
14
|
-
"minimum": 0,
|
|
15
|
-
"maximum": 9007199254740991
|
|
16
|
-
},
|
|
17
|
-
"allWorkspaceRoots": {
|
|
18
|
-
"default": false,
|
|
19
|
-
"description": "Fan out across all MCP file roots.",
|
|
20
|
-
"type": "boolean"
|
|
21
|
-
},
|
|
22
11
|
"format": {
|
|
23
12
|
"default": "markdown",
|
|
24
13
|
"type": "string",
|
|
@@ -42,7 +31,6 @@
|
|
|
42
31
|
}
|
|
43
32
|
},
|
|
44
33
|
"required": [
|
|
45
|
-
"allWorkspaceRoots",
|
|
46
34
|
"format",
|
|
47
35
|
"setUpstream"
|
|
48
36
|
],
|
package/schemas/git_reflog.json
CHANGED
|
@@ -5,15 +5,9 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"workspaceRoot": {
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "Repo path. Default: first MCP root / cwd.",
|
|
9
9
|
"type": "string"
|
|
10
10
|
},
|
|
11
|
-
"rootIndex": {
|
|
12
|
-
"description": "0-based index into the MCP file roots list; ignored when workspaceRoot is set.",
|
|
13
|
-
"type": "integer",
|
|
14
|
-
"minimum": 0,
|
|
15
|
-
"maximum": 9007199254740991
|
|
16
|
-
},
|
|
17
11
|
"format": {
|
|
18
12
|
"default": "markdown",
|
|
19
13
|
"type": "string",
|
|
@@ -5,20 +5,9 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"workspaceRoot": {
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "Repo path. Default: first MCP root / cwd.",
|
|
9
9
|
"type": "string"
|
|
10
10
|
},
|
|
11
|
-
"rootIndex": {
|
|
12
|
-
"description": "0-based index into the MCP file roots list; ignored when workspaceRoot is set.",
|
|
13
|
-
"type": "integer",
|
|
14
|
-
"minimum": 0,
|
|
15
|
-
"maximum": 9007199254740991
|
|
16
|
-
},
|
|
17
|
-
"allWorkspaceRoots": {
|
|
18
|
-
"default": false,
|
|
19
|
-
"description": "Fan out across all MCP file roots.",
|
|
20
|
-
"type": "boolean"
|
|
21
|
-
},
|
|
22
11
|
"format": {
|
|
23
12
|
"default": "markdown",
|
|
24
13
|
"type": "string",
|
|
@@ -30,11 +19,10 @@
|
|
|
30
19
|
"ref": {
|
|
31
20
|
"type": "string",
|
|
32
21
|
"minLength": 1,
|
|
33
|
-
"description": "Commit to reset to
|
|
22
|
+
"description": "Commit to reset to: ancestor notation (`HEAD~1`, `HEAD~3`), branch name, or SHA."
|
|
34
23
|
}
|
|
35
24
|
},
|
|
36
25
|
"required": [
|
|
37
|
-
"allWorkspaceRoots",
|
|
38
26
|
"format",
|
|
39
27
|
"ref"
|
|
40
28
|
],
|