@rethunk/mcp-multi-root-git 3.1.0 → 4.0.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.
Files changed (66) hide show
  1. package/AGENTS.md +21 -15
  2. package/CHANGELOG.md +114 -39
  3. package/HUMANS.md +20 -39
  4. package/README.md +30 -13
  5. package/dist/repo-paths.js +57 -13
  6. package/dist/server/batch-commit-tool.js +187 -46
  7. package/dist/server/error-codes.js +25 -7
  8. package/dist/server/git-blame-tool.js +6 -3
  9. package/dist/server/git-branch-tool.js +151 -0
  10. package/dist/server/git-cherry-pick-tool.js +220 -11
  11. package/dist/server/git-conflicts-tool.js +230 -0
  12. package/dist/server/git-diff-summary-tool.js +36 -25
  13. package/dist/server/git-diff-tool.js +55 -27
  14. package/dist/server/git-grep-tool.js +188 -0
  15. package/dist/server/git-inventory-tool.js +26 -6
  16. package/dist/server/git-log-tool.js +35 -4
  17. package/dist/server/git-merge-tool.js +70 -12
  18. package/dist/server/git-parity-tool.js +13 -4
  19. package/dist/server/git-push-tool.js +3 -1
  20. package/dist/server/git-refs.js +48 -17
  21. package/dist/server/git-revert-tool.js +160 -0
  22. package/dist/server/git-show-tool.js +7 -3
  23. package/dist/server/git-stash-tool.js +110 -67
  24. package/dist/server/git-tag-tool.js +7 -6
  25. package/dist/server/git-worktree-tool.js +65 -53
  26. package/dist/server/git.js +116 -24
  27. package/dist/server/inventory.js +90 -32
  28. package/dist/server/presets-resource.js +37 -20
  29. package/dist/server/presets.js +87 -15
  30. package/dist/server/roots.js +13 -1
  31. package/dist/server/schemas.js +9 -2
  32. package/dist/server/test-harness.js +11 -4
  33. package/dist/server/tool-parameter-schemas.js +44 -55
  34. package/dist/server/tools.js +36 -17
  35. package/dist/server.js +1 -1
  36. package/docs/install.md +52 -5
  37. package/docs/mcp-tools.md +385 -178
  38. package/package.json +6 -6
  39. package/schemas/batch_commit.json +2 -2
  40. package/schemas/git_blame.json +1 -1
  41. package/schemas/git_branch.json +54 -0
  42. package/schemas/git_cherry_pick.json +12 -2
  43. package/schemas/git_cherry_pick_continue.json +34 -0
  44. package/schemas/{git_reflog.json → git_conflicts.json} +12 -12
  45. package/schemas/git_diff.json +11 -3
  46. package/schemas/git_grep.json +85 -0
  47. package/schemas/git_inventory.json +19 -5
  48. package/schemas/git_log.json +7 -6
  49. package/schemas/git_merge.json +2 -2
  50. package/schemas/git_parity.json +0 -5
  51. package/schemas/git_revert.json +47 -0
  52. package/schemas/git_show.json +1 -1
  53. package/schemas/git_stash_push.json +47 -0
  54. package/schemas/git_status.json +0 -5
  55. package/schemas/git_worktree_add.json +1 -1
  56. package/schemas/git_worktree_remove.json +1 -1
  57. package/schemas/index.json +28 -23
  58. package/schemas/list_presets.json +0 -5
  59. package/tool-parameters.schema.json +326 -167
  60. package/dist/server/git-branch-list-tool.js +0 -132
  61. package/dist/server/git-fetch-tool.js +0 -257
  62. package/dist/server/git-reflog-tool.js +0 -120
  63. package/schemas/git_branch_list.json +0 -30
  64. package/schemas/git_fetch.json +0 -46
  65. package/schemas/git_stash_list.json +0 -24
  66. package/schemas/git_worktree_list.json +0 -24
@@ -29,6 +29,11 @@
29
29
  "file": "git_log.json",
30
30
  "description": "Parameter schema for the 'git_log' MCP tool."
31
31
  },
32
+ {
33
+ "name": "git_grep",
34
+ "file": "git_grep.json",
35
+ "description": "Parameter schema for the 'git_grep' MCP tool."
36
+ },
32
37
  {
33
38
  "name": "git_diff_summary",
34
39
  "file": "git_diff_summary.json",
@@ -45,35 +50,15 @@
45
50
  "description": "Parameter schema for the 'git_show' MCP tool."
46
51
  },
47
52
  {
48
- "name": "git_worktree_list",
49
- "file": "git_worktree_list.json",
50
- "description": "Parameter schema for the 'git_worktree_list' MCP tool."
51
- },
52
- {
53
- "name": "git_stash_list",
54
- "file": "git_stash_list.json",
55
- "description": "Parameter schema for the 'git_stash_list' MCP tool."
53
+ "name": "git_conflicts",
54
+ "file": "git_conflicts.json",
55
+ "description": "Parameter schema for the 'git_conflicts' MCP tool."
56
56
  },
57
57
  {
58
58
  "name": "git_blame",
59
59
  "file": "git_blame.json",
60
60
  "description": "Parameter schema for the 'git_blame' MCP tool."
61
61
  },
62
- {
63
- "name": "git_branch_list",
64
- "file": "git_branch_list.json",
65
- "description": "Parameter schema for the 'git_branch_list' MCP tool."
66
- },
67
- {
68
- "name": "git_reflog",
69
- "file": "git_reflog.json",
70
- "description": "Parameter schema for the 'git_reflog' MCP tool."
71
- },
72
- {
73
- "name": "git_fetch",
74
- "file": "git_fetch.json",
75
- "description": "Parameter schema for the 'git_fetch' MCP tool."
76
- },
77
62
  {
78
63
  "name": "batch_commit",
79
64
  "file": "batch_commit.json",
@@ -94,16 +79,31 @@
94
79
  "file": "git_cherry_pick.json",
95
80
  "description": "Parameter schema for the 'git_cherry_pick' MCP tool."
96
81
  },
82
+ {
83
+ "name": "git_cherry_pick_continue",
84
+ "file": "git_cherry_pick_continue.json",
85
+ "description": "Parameter schema for the 'git_cherry_pick_continue' MCP tool."
86
+ },
97
87
  {
98
88
  "name": "git_reset_soft",
99
89
  "file": "git_reset_soft.json",
100
90
  "description": "Parameter schema for the 'git_reset_soft' MCP tool."
101
91
  },
92
+ {
93
+ "name": "git_revert",
94
+ "file": "git_revert.json",
95
+ "description": "Parameter schema for the 'git_revert' MCP tool."
96
+ },
102
97
  {
103
98
  "name": "git_tag",
104
99
  "file": "git_tag.json",
105
100
  "description": "Parameter schema for the 'git_tag' MCP tool."
106
101
  },
102
+ {
103
+ "name": "git_branch",
104
+ "file": "git_branch.json",
105
+ "description": "Parameter schema for the 'git_branch' MCP tool."
106
+ },
107
107
  {
108
108
  "name": "git_worktree_add",
109
109
  "file": "git_worktree_add.json",
@@ -118,6 +118,11 @@
118
118
  "name": "git_stash_apply",
119
119
  "file": "git_stash_apply.json",
120
120
  "description": "Parameter schema for the 'git_stash_apply' MCP tool."
121
+ },
122
+ {
123
+ "name": "git_stash_push",
124
+ "file": "git_stash_push.json",
125
+ "description": "Parameter schema for the 'git_stash_push' MCP tool."
121
126
  }
122
127
  ]
123
128
  }
@@ -11,15 +11,10 @@
11
11
  "type": "string"
12
12
  },
13
13
  {
14
- "maxItems": 256,
15
14
  "type": "array",
16
15
  "items": {
17
16
  "type": "string"
18
17
  }
19
- },
20
- {
21
- "type": "string",
22
- "const": "*"
23
18
  }
24
19
  ]
25
20
  },