@andrebuzeli/git-mcp 15.11.0 → 15.11.3

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
@@ -23,6 +23,7 @@ Servidor MCP (Model Context Protocol) para operações Git locais sem git instal
23
23
  ## Tools
24
24
 
25
25
  - git-workflow: init, status, add, remove, commit, ensure-remotes, push
26
+ - git-update: status -> add -> commit -> push (all-in-one)
26
27
  - git-remote: list, ensure
27
28
  - git-branches: list, create, delete, rename, checkout
28
29
  - git-tags: list, create, delete, push
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andrebuzeli/git-mcp",
3
- "version": "15.11.0",
3
+ "version": "15.11.3",
4
4
  "private": false,
5
5
  "description": "MCP server para Git com operações locais e sincronização paralela GitHub/Gitea",
6
6
  "license": "MIT",
@@ -26,4 +26,4 @@
26
26
  "archiver": "^7.0.0",
27
27
  "axios": "^1.7.7"
28
28
  }
29
- }
29
+ }
@@ -92,9 +92,9 @@ ${context.notAdded?.map(f => `- ${f}`).join("\n") || "Nenhum"}
92
92
  ## Instruções
93
93
 
94
94
  Forneça um resumo do status atual e sugira próximos passos. UTILIZANDO APENAS AS TOOLS DO GIT-MCP:
95
- - Use \`git-workflow\` para add, commit, push
96
- - Use \`git-branches\` para gerenciar branches
97
- - Use \`git-status\` apenas para consulta`
95
+ - **PREFERENCIAL**: Use \`git-update\` para atualizar o projeto (add+commit+push em uma chamada)
96
+ - Use \`git-workflow\` para operações individuais (add, commit, push separados)
97
+ - Use \`git-branches\` para gerenciar branches`
98
98
  }
99
99
  }]
100
100
  },
@@ -195,14 +195,14 @@ ${context.staged?.length > 0
195
195
  ? `Crie um commit com as mudanças staged. ${userMessage ? `Use a mensagem fornecida pelo usuário: "${userMessage}"` : "Se não houver mensagem do usuário, sugira uma mensagem descritiva baseada nas mudanças."}
196
196
 
197
197
  UTILIZANDO APENAS AS TOOLS DO GIT-MCP:
198
- - Use \`git-workflow commit\` com a mensagem apropriada
199
- - NÃO configure email (o usuário não quer isso)
200
- - Se houver arquivos modificados não staged, sugira usar \`git-workflow add\` primeiro`
201
- : `Não há arquivos staged para commit. Execute primeiro: \`git-workflow add\` com os arquivos desejados.
198
+ - **PREFERENCIAL**: Use \`git-update\` com a mensagem para fazer add+commit+push de uma vez
199
+ - Alternativa: Use \`git-workflow commit\` para apenas commitar (sem push)
200
+ - NÃO configure email (o usuário não quer isso)`
201
+ : `Não há arquivos staged para commit.
202
202
 
203
203
  UTILIZANDO APENAS AS TOOLS DO GIT-MCP:
204
- - Use \`git-workflow add\` para adicionar arquivos ao staging
205
- - Depois use \`git-workflow commit\` para criar o commit`}`
204
+ - **PREFERENCIAL**: Use \`git-update\` com a mensagem para add+commit+push automaticamente
205
+ - Alternativa: Use \`git-workflow add\` seguido de \`git-workflow commit\``}`
206
206
  }
207
207
  }];
208
208
  }
@@ -230,10 +230,10 @@ ${context.remotes?.map(r => `- **${r.name}**: ${r.url}`).join("\n") || "Nenhum"}
230
230
  ## Instruções
231
231
 
232
232
  Envie os commits locais para os remotes (GitHub/Gitea). UTILIZANDO APENAS AS TOOLS DO GIT-MCP:
233
- - Use \`git-workflow push\` para enviar para todos os remotes em paralelo
233
+ - **PREFERENCIAL**: Use \`git-update\` se ainda mudanças para commitar (faz add+commit+push)
234
+ - Use \`git-workflow push\` para enviar commits já feitos para todos os remotes
234
235
  - ${forceFlag ? "Use force=true se necessário (foi solicitado)" : "Use force=true apenas se push for rejeitado"}
235
- - Se não houver remotes configurados, use \`git-remote ensure\` primeiro
236
- - Se não houver commits para enviar, informe o usuário`
236
+ - Se não houver remotes configurados, use \`git-remote ensure\` primeiro`
237
237
  }
238
238
  }];
239
239
  }