@andrebuzeli/git-mcp 3.1.1 → 3.2.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/README.md CHANGED
@@ -324,3 +324,4 @@ Este projeto está licenciado sob a Licença MIT - veja o arquivo [LICENSE](LICE
324
324
  ---
325
325
 
326
326
  **Feito com ❤️ para desenvolvedores que querem automação Git poderosa sem complexidade.**
327
+
package/dist/server.d.ts CHANGED
@@ -1,3 +1,48 @@
1
+ /**
2
+ * RESOURCES MCP - Documentação e informações estáticas
3
+ *
4
+ * TIPOS DE RESOURCES:
5
+ * - documentação: Regras de uso, melhores práticas
6
+ * - exemplos: Casos de uso práticos
7
+ * - configuração: Como configurar providers
8
+ * - troubleshooting: Solução de problemas comuns
9
+ */
10
+ declare const resources: {
11
+ uri: string;
12
+ name: string;
13
+ description: string;
14
+ mimeType: string;
15
+ }[];
16
+ /**
17
+ * PROMPTS MCP - Templates de uso pré-definidos
18
+ *
19
+ * TIPOS DE PROMPTS:
20
+ * - setup: Configuração inicial
21
+ * - workflow: Workflows específicos
22
+ * - troubleshooting: Diagnóstico e correção
23
+ * - examples: Exemplos práticos
24
+ */
25
+ declare const prompts: {
26
+ name: string;
27
+ description: string;
28
+ arguments: {
29
+ name: string;
30
+ description: string;
31
+ required: boolean;
32
+ }[];
33
+ }[];
34
+ /**
35
+ * CONTENT FUNCTIONS - Para Resources e Prompts
36
+ */
37
+ declare const getResourceContent: (uri: string) => string;
38
+ /**
39
+ * VALIDAÇÃO GLOBAL - Project Path obrigatório
40
+ *
41
+ * TODA tool DEVE validar projectPath antes de executar qualquer operação
42
+ * Isso garante que todas as operações sejam executadas dentro do projeto correto
43
+ */
44
+ declare const validateProjectPath: (args: any, toolName: string) => void;
45
+ declare const getPromptContent: (name: string, args: any) => string;
1
46
  /**
2
47
  * Servidor MCP principal para Gitea
3
48
  *
@@ -17,6 +62,7 @@
17
62
  * - Configure handlers antes de conectar
18
63
  * - Implemente graceful shutdown
19
64
  */
65
+ export { getResourceContent, getPromptContent, validateProjectPath, resources, prompts };
20
66
  export declare class GiteaMCPServer {
21
67
  private server;
22
68
  constructor();
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AA+FA;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,cAAc;IACzB,OAAO,CAAC,MAAM,CAAS;;IAavB;;;;;;;;;;;;;;;;;OAiBG;IACH,OAAO,CAAC,aAAa;IAuDrB;;;;;;;;;;;;;;;;;;OAkBG;IACG,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;IA8D1B;;;;;;;;;;;;OAYG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAG7B"}
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AA8DA;;;;;;;;GAQG;AACH,QAAA,MAAM,SAAS;;;;;GAqCd,CAAC;AAEF;;;;;;;;GAQG;AACH,QAAA,MAAM,OAAO;;;;;;;;GAgFZ,CAAC;AA0CF;;GAEG;AACH,QAAA,MAAM,kBAAkB,GAAI,KAAK,MAAM,KAAG,MAoezC,CAAC;AAEF;;;;;GAKG;AACH,QAAA,MAAM,mBAAmB,GAAI,MAAM,GAAG,EAAE,UAAU,MAAM,KAAG,IA0B1D,CAAC;AAEF,QAAA,MAAM,gBAAgB,GAAI,MAAM,MAAM,EAAE,MAAM,GAAG,KAAG,MAkEnD,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC;AAEzF,qBAAa,cAAc;IACzB,OAAO,CAAC,MAAM,CAAS;;IAavB;;;;;;;;;;;;;;;;;OAiBG;IACH,OAAO,CAAC,aAAa;IAsHrB;;;;;;;;;;;;;;;;;;OAkBG;IACG,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;IA8D1B;;;;;;;;;;;;OAYG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAG7B"}