@andrebuzeli/git-mcp 2.27.3 → 2.27.4
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/dist/server.d.ts.map +1 -1
- package/dist/server.js +9 -61
- package/dist/server.js.map +1 -1
- package/dist/tools/git-reset.d.ts +2 -2
- package/dist/tools/git-revert.d.ts +2 -2
- package/dist/tools/git-sync.d.ts +4 -4
- package/package.json +1 -1
package/dist/server.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAwFA;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,cAAc;IACzB,OAAO,CAAC,MAAM,CAAS;;IAavB;;;;;;;;;;;;;;;;;OAiBG;IACH,OAAO,CAAC,aAAa;IAuDrB;;;;;;;;;;;;;;;;;;OAkBG;IACG,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;IA6D1B;;;;;;;;;;;;OAYG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAG7B"}
|
package/dist/server.js
CHANGED
|
@@ -7,9 +7,9 @@ const types_js_1 = require("@modelcontextprotocol/sdk/types.js");
|
|
|
7
7
|
const config_js_1 = require("./config.js");
|
|
8
8
|
const index_js_2 = require("./providers/index.js");
|
|
9
9
|
/**
|
|
10
|
-
* Importação de todas as ferramentas MCP disponíveis (
|
|
10
|
+
* Importação de todas as ferramentas MCP disponíveis (18 tools)
|
|
11
11
|
*
|
|
12
|
-
* GIT CORE (
|
|
12
|
+
* GIT CORE (18 tools) - Funcionam com GitHub + Gitea:
|
|
13
13
|
* - git-repositories: Gerenciamento de repositórios
|
|
14
14
|
* - git-commits: Operações com commits
|
|
15
15
|
* - git-branches: Operações com branches
|
|
@@ -21,33 +21,15 @@ const index_js_2 = require("./providers/index.js");
|
|
|
21
21
|
* - git-pulls: Pull requests e merges
|
|
22
22
|
* - git-releases: Gerenciamento de releases
|
|
23
23
|
* - git-webhooks: Gerenciamento de webhooks
|
|
24
|
-
* - git-rebase: Operações de rebase
|
|
25
24
|
* - git-reset: Operações de reset
|
|
26
25
|
* - git-revert: Operações de revert
|
|
27
26
|
* - git-stash: Gerenciamento de stash
|
|
28
27
|
* - git-config: Configuração do Git
|
|
29
28
|
* - git-remote: Gerenciamento de remotes
|
|
30
|
-
*
|
|
31
|
-
* GIT AVANÇADO (5 tools) - Funcionam com GitHub + Gitea:
|
|
32
|
-
* - git-cherry-pick: Cherry-pick de commits
|
|
33
|
-
* - git-submodule: Gerenciamento de submódulos
|
|
34
|
-
* - git-worktree: Gerenciamento de worktrees
|
|
35
29
|
* - git-archive: Criação de arquivos
|
|
36
|
-
* - git-
|
|
37
|
-
*
|
|
38
|
-
* GITHUB EXCLUSIVO (10 tools) - Apenas GitHub:
|
|
39
|
-
* - gh-workflows: GitHub Actions workflows
|
|
40
|
-
* - gh-actions: GitHub Actions runs
|
|
41
|
-
* - gh-deployments: GitHub Deployments
|
|
42
|
-
* - gh-security: GitHub Security
|
|
43
|
-
* - gh-analytics: GitHub Analytics
|
|
44
|
-
* - gh-code-review: GitHub Code Review
|
|
45
|
-
* - gh-gists: GitHub Gists
|
|
46
|
-
* - gh-codespaces: GitHub Codespaces
|
|
47
|
-
* - gh-projects: GitHub Projects
|
|
48
|
-
* - gh-sync: GitHub Sync
|
|
30
|
+
* - git-sync: Sincronização de repositórios
|
|
49
31
|
*/
|
|
50
|
-
// Git Core Tools (
|
|
32
|
+
// Git Core Tools (18)
|
|
51
33
|
const git_repositories_js_1 = require("./tools/git-repositories.js");
|
|
52
34
|
const git_commits_js_1 = require("./tools/git-commits.js");
|
|
53
35
|
const git_branches_js_1 = require("./tools/git-branches.js");
|
|
@@ -59,31 +41,15 @@ const git_issues_js_1 = require("./tools/git-issues.js");
|
|
|
59
41
|
const git_pulls_js_1 = require("./tools/git-pulls.js");
|
|
60
42
|
const git_releases_js_1 = require("./tools/git-releases.js");
|
|
61
43
|
const git_webhooks_js_1 = require("./tools/git-webhooks.js");
|
|
62
|
-
const git_rebase_js_1 = require("./tools/git-rebase.js");
|
|
63
44
|
const git_reset_js_1 = require("./tools/git-reset.js");
|
|
64
45
|
const git_revert_js_1 = require("./tools/git-revert.js");
|
|
65
46
|
const git_stash_js_1 = require("./tools/git-stash.js");
|
|
66
47
|
const git_config_js_1 = require("./tools/git-config.js");
|
|
67
48
|
const git_remote_js_1 = require("./tools/git-remote.js");
|
|
68
|
-
// Git Avançado Tools (5)
|
|
69
|
-
const git_cherry_pick_js_1 = require("./tools/git-cherry-pick.js");
|
|
70
|
-
const git_submodule_js_1 = require("./tools/git-submodule.js");
|
|
71
|
-
const git_worktree_js_1 = require("./tools/git-worktree.js");
|
|
72
49
|
const git_archive_js_1 = require("./tools/git-archive.js");
|
|
73
|
-
const
|
|
74
|
-
// GitHub Exclusivo Tools (10)
|
|
75
|
-
const gh_workflows_js_1 = require("./tools/gh-workflows.js");
|
|
76
|
-
const gh_actions_js_1 = require("./tools/gh-actions.js");
|
|
77
|
-
const gh_deployments_js_1 = require("./tools/gh-deployments.js");
|
|
78
|
-
const gh_security_js_1 = require("./tools/gh-security.js");
|
|
79
|
-
const gh_analytics_js_1 = require("./tools/gh-analytics.js");
|
|
80
|
-
const gh_code_review_js_1 = require("./tools/gh-code-review.js");
|
|
81
|
-
const gh_gists_js_1 = require("./tools/gh-gists.js");
|
|
82
|
-
const gh_codespaces_js_1 = require("./tools/gh-codespaces.js");
|
|
83
|
-
const gh_projects_js_1 = require("./tools/gh-projects.js");
|
|
84
|
-
const gh_sync_js_1 = require("./tools/gh-sync.js");
|
|
50
|
+
const git_sync_js_1 = require("./tools/git-sync.js");
|
|
85
51
|
/**
|
|
86
|
-
* Array de todas as ferramentas disponíveis (
|
|
52
|
+
* Array de todas as ferramentas disponíveis (18 tools)
|
|
87
53
|
*
|
|
88
54
|
* ESTRUTURA:
|
|
89
55
|
* - Cada tool deve implementar a interface Tool
|
|
@@ -91,9 +57,7 @@ const gh_sync_js_1 = require("./tools/gh-sync.js");
|
|
|
91
57
|
* - Handler deve ser assíncrono e retornar resultado
|
|
92
58
|
*
|
|
93
59
|
* ORGANIZAÇÃO:
|
|
94
|
-
* - Git Core (
|
|
95
|
-
* - Git Avançado (5): Funcionam com GitHub + Gitea
|
|
96
|
-
* - GitHub Exclusivo (10): Apenas GitHub
|
|
60
|
+
* - Git Core (18): Funcionam com GitHub + Gitea
|
|
97
61
|
*
|
|
98
62
|
* USO:
|
|
99
63
|
* - Para listagem de tools disponíveis
|
|
@@ -101,7 +65,7 @@ const gh_sync_js_1 = require("./tools/gh-sync.js");
|
|
|
101
65
|
* - Para validação de parâmetros
|
|
102
66
|
*/
|
|
103
67
|
const tools = [
|
|
104
|
-
// Git Core Tools (
|
|
68
|
+
// Git Core Tools (18) - GitHub + Gitea
|
|
105
69
|
git_repositories_js_1.gitRepositoriesTool,
|
|
106
70
|
git_commits_js_1.commitsTool,
|
|
107
71
|
git_branches_js_1.branchesTool,
|
|
@@ -113,29 +77,13 @@ const tools = [
|
|
|
113
77
|
git_pulls_js_1.pullsTool,
|
|
114
78
|
git_releases_js_1.releasesTool,
|
|
115
79
|
git_webhooks_js_1.webhooksTool,
|
|
116
|
-
git_rebase_js_1.gitRebaseTool,
|
|
117
80
|
git_reset_js_1.gitResetTool,
|
|
118
81
|
git_revert_js_1.gitRevertTool,
|
|
119
82
|
git_stash_js_1.gitStashTool,
|
|
120
83
|
git_config_js_1.gitConfigTool,
|
|
121
84
|
git_remote_js_1.gitRemoteTool,
|
|
122
|
-
// Git Avançado Tools (5) - GitHub + Gitea
|
|
123
|
-
git_cherry_pick_js_1.gitCherryPickTool,
|
|
124
|
-
git_submodule_js_1.gitSubmoduleTool,
|
|
125
|
-
git_worktree_js_1.gitWorktreeTool,
|
|
126
85
|
git_archive_js_1.gitArchiveTool,
|
|
127
|
-
|
|
128
|
-
// GitHub Exclusivo Tools (10) - Apenas GitHub
|
|
129
|
-
gh_workflows_js_1.workflowsTool,
|
|
130
|
-
gh_actions_js_1.actionsTool,
|
|
131
|
-
gh_deployments_js_1.deploymentsTool,
|
|
132
|
-
gh_security_js_1.securityTool,
|
|
133
|
-
gh_analytics_js_1.analyticsTool,
|
|
134
|
-
gh_code_review_js_1.codeReviewTool,
|
|
135
|
-
gh_gists_js_1.ghGistsTool,
|
|
136
|
-
gh_codespaces_js_1.ghCodespacesTool,
|
|
137
|
-
gh_projects_js_1.ghProjectsTool,
|
|
138
|
-
gh_sync_js_1.ghSyncTool
|
|
86
|
+
git_sync_js_1.gitSyncTool
|
|
139
87
|
];
|
|
140
88
|
/**
|
|
141
89
|
* Servidor MCP principal para Gitea
|
package/dist/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":";;;AAAA,wEAAmE;AACnE,wEAAiF;AACjF,iEAAmG;AACnG,2CAAqC;AACrC,mDAAuF;AAEvF
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":";;;AAAA,wEAAmE;AACnE,wEAAiF;AACjF,iEAAmG;AACnG,2CAAqC;AACrC,mDAAuF;AAEvF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,sBAAsB;AACtB,qEAAkE;AAClE,2DAAqD;AACrD,6DAAuD;AACvD,qDAA+C;AAC/C,uDAAiD;AACjD,yEAAkE;AAClE,iEAA2D;AAC3D,yDAAmD;AACnD,uDAAiD;AACjD,6DAAuD;AACvD,6DAAuD;AACvD,uDAAoD;AACpD,yDAAsD;AACtD,uDAAoD;AACpD,yDAAsD;AACtD,yDAAsD;AACtD,2DAAwD;AACxD,qDAAkD;AAElD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,KAAK,GAAG;IACZ,uCAAuC;IACvC,yCAAmB;IACn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AC,4CAA4C,EAAE,aAAa,CAAC,CAAC;gBAC3E,4DAA4D;YAC9D,CAAC;QACH,CAAC;QAED,MAAM,SAAS,GAAG,IAAI,+BAAoB,EAAE,CAAC;QAC7C,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAErC,IAAI,GAAG,CAAC,KAAK,EAAE,CAAC;YACd,6BAA6B;QAC/B,CAAC;IACH,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,KAAK;QACT,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;IAC5B,CAAC;CACF;AAvLD,wCAuLC;AAED;;;;;;;;;;;;;;;;;GAiBG;AAEH,+CAA+C;AAC/C,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,IAAI,EAAE;IAC9B,uBAAuB;IACvB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC;AAEH,gDAAgD;AAChD,OAAO,CAAC,EAAE,CAAC,oBAAoB,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,EAAE;IACnD,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IACrE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC;AAEH,qCAAqC;AACrC,OAAO,CAAC,EAAE,CAAC,mBAAmB,EAAE,CAAC,KAAK,EAAE,EAAE;IACxC,OAAO,CAAC,KAAK,CAAC,qBAAqB,EAAE,KAAK,CAAC,CAAC;IAC5C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
|
@@ -38,18 +38,18 @@ declare const GitResetInputSchema: z.ZodObject<{
|
|
|
38
38
|
action: "soft" | "mixed" | "hard" | "reset-to-commit" | "reset-branch";
|
|
39
39
|
projectPath: string;
|
|
40
40
|
branch_name?: string | undefined;
|
|
41
|
-
target_branch?: string | undefined;
|
|
42
41
|
commit_hash?: string | undefined;
|
|
43
42
|
reset_type?: "soft" | "mixed" | "hard" | undefined;
|
|
43
|
+
target_branch?: string | undefined;
|
|
44
44
|
}, {
|
|
45
45
|
provider: "gitea" | "github";
|
|
46
46
|
repo: string;
|
|
47
47
|
action: "soft" | "mixed" | "hard" | "reset-to-commit" | "reset-branch";
|
|
48
48
|
projectPath: string;
|
|
49
49
|
branch_name?: string | undefined;
|
|
50
|
-
target_branch?: string | undefined;
|
|
51
50
|
commit_hash?: string | undefined;
|
|
52
51
|
reset_type?: "soft" | "mixed" | "hard" | undefined;
|
|
52
|
+
target_branch?: string | undefined;
|
|
53
53
|
}>;
|
|
54
54
|
export type GitResetInput = z.infer<typeof GitResetInputSchema>;
|
|
55
55
|
declare const GitResetResultSchema: z.ZodObject<{
|
|
@@ -41,11 +41,11 @@ declare const GitRevertInputSchema: z.ZodObject<{
|
|
|
41
41
|
action: "revert-commit" | "revert-merge" | "revert-range";
|
|
42
42
|
projectPath: string;
|
|
43
43
|
message?: string | undefined;
|
|
44
|
-
commit_range?: string | undefined;
|
|
45
44
|
commit_hash?: string | undefined;
|
|
46
45
|
no_commit?: boolean | undefined;
|
|
47
46
|
merge_commit_hash?: string | undefined;
|
|
48
47
|
mainline?: number | undefined;
|
|
48
|
+
commit_range?: string | undefined;
|
|
49
49
|
strategy?: "ours" | "theirs" | undefined;
|
|
50
50
|
}, {
|
|
51
51
|
provider: "gitea" | "github";
|
|
@@ -53,11 +53,11 @@ declare const GitRevertInputSchema: z.ZodObject<{
|
|
|
53
53
|
action: "revert-commit" | "revert-merge" | "revert-range";
|
|
54
54
|
projectPath: string;
|
|
55
55
|
message?: string | undefined;
|
|
56
|
-
commit_range?: string | undefined;
|
|
57
56
|
commit_hash?: string | undefined;
|
|
58
57
|
no_commit?: boolean | undefined;
|
|
59
58
|
merge_commit_hash?: string | undefined;
|
|
60
59
|
mainline?: number | undefined;
|
|
60
|
+
commit_range?: string | undefined;
|
|
61
61
|
strategy?: "ours" | "theirs" | undefined;
|
|
62
62
|
}>;
|
|
63
63
|
export type GitRevertInput = z.infer<typeof GitRevertInputSchema>;
|
package/dist/tools/git-sync.d.ts
CHANGED
|
@@ -56,9 +56,9 @@ declare const GitSyncInputSchema: z.ZodObject<{
|
|
|
56
56
|
repo: string;
|
|
57
57
|
};
|
|
58
58
|
strategy?: "timestamp" | "source-wins" | "skip-conflicts" | undefined;
|
|
59
|
-
dry_run?: boolean | undefined;
|
|
60
59
|
direction?: "one-way" | "two-way" | undefined;
|
|
61
|
-
include?: ("issues" | "labels" | "git" | "
|
|
60
|
+
include?: ("issues" | "labels" | "git" | "milestones" | "releases" | "pulls")[] | undefined;
|
|
61
|
+
dry_run?: boolean | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
action: "status" | "configure" | "one-shot";
|
|
64
64
|
target: {
|
|
@@ -70,9 +70,9 @@ declare const GitSyncInputSchema: z.ZodObject<{
|
|
|
70
70
|
repo: string;
|
|
71
71
|
};
|
|
72
72
|
strategy?: "timestamp" | "source-wins" | "skip-conflicts" | undefined;
|
|
73
|
-
dry_run?: boolean | undefined;
|
|
74
73
|
direction?: "one-way" | "two-way" | undefined;
|
|
75
|
-
include?: ("issues" | "labels" | "git" | "
|
|
74
|
+
include?: ("issues" | "labels" | "git" | "milestones" | "releases" | "pulls")[] | undefined;
|
|
75
|
+
dry_run?: boolean | undefined;
|
|
76
76
|
}>;
|
|
77
77
|
export type GitSyncInput = z.infer<typeof GitSyncInputSchema>;
|
|
78
78
|
declare const GitSyncResultSchema: z.ZodObject<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@andrebuzeli/git-mcp",
|
|
3
|
-
"version": "2.27.
|
|
3
|
+
"version": "2.27.4",
|
|
4
4
|
"description": "MCP server for Gitea and GitHub integration with 32 comprehensive DevOps tools - 100% AUTO-SUFFICIENT: Complete Git/GitHub functionality with ALL methods implemented, GitOperations class, FileOperations, TerminalOperations, Project Upload, Git Initialize - NO external dependencies, NO terminal commands, FULLY IMPLEMENTED",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|