@justmpm/firebase-audit 0.4.2 → 0.4.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/dist/{chunk-SKD4TKFU.js → chunk-IXMAWDJH.js} +5 -5
- package/dist/index.js +1 -1
- package/dist/mcp-cli.js +1 -1
- package/dist/mcp.js +1 -1
- package/package.json +1 -1
|
@@ -42,7 +42,7 @@ function createMcpServer() {
|
|
|
42
42
|
version: pkg.version
|
|
43
43
|
});
|
|
44
44
|
server.registerTool(
|
|
45
|
-
"
|
|
45
|
+
"skill",
|
|
46
46
|
{
|
|
47
47
|
title: "Firebase Audit Skill (guia do agente)",
|
|
48
48
|
description: "LEIA ANTES de auditar: sequ\xEAncia obrigat\xF3ria, travas (nunca mude o contrato para esconder finding, nunca afirme sem evid\xEAncia, nunca diga 'unused') e Emulador. Retorna o guia oficial da vers\xE3o instalada + modelo de contrato. Sempre sincronizado \u2014 dispensa skill copiada.",
|
|
@@ -66,7 +66,7 @@ function createMcpServer() {
|
|
|
66
66
|
}
|
|
67
67
|
);
|
|
68
68
|
server.registerTool(
|
|
69
|
-
"
|
|
69
|
+
"scan",
|
|
70
70
|
{
|
|
71
71
|
title: "Firebase Audit Scan",
|
|
72
72
|
description: "Audita projeto Firebase (c\xF3digo + firestore.rules + \xEDndices + contrato). Static-first, nunca inventa certeza (CONFIRMED/PROBABLE/NOT_OBSERVED/UNKNOWN). Use para descobrir regras p\xFAblicas, Admin em cliente, permiss\xF5es sem contrato.",
|
|
@@ -96,7 +96,7 @@ function createMcpServer() {
|
|
|
96
96
|
}
|
|
97
97
|
);
|
|
98
98
|
server.registerTool(
|
|
99
|
-
"
|
|
99
|
+
"check",
|
|
100
100
|
{
|
|
101
101
|
title: "Firebase Audit Check (strict)",
|
|
102
102
|
description: "Alias de scan --strict: exige contrato e falha (exit 2 no CLI) se houver ERROR. Use no CI.",
|
|
@@ -125,7 +125,7 @@ function createMcpServer() {
|
|
|
125
125
|
}
|
|
126
126
|
);
|
|
127
127
|
server.registerTool(
|
|
128
|
-
"
|
|
128
|
+
"verify",
|
|
129
129
|
{
|
|
130
130
|
title: "Firebase Audit Verify (Emulator)",
|
|
131
131
|
description: "Gera matriz role\xD7opera\xE7\xE3o\xD7path e avalia coverage do :ruleCoverage. Requer Emulator (firebase emulators:exec). Nunca afirma cobertura sem teste real.",
|
|
@@ -160,7 +160,7 @@ function createMcpServer() {
|
|
|
160
160
|
}
|
|
161
161
|
);
|
|
162
162
|
server.registerTool(
|
|
163
|
-
"
|
|
163
|
+
"drift",
|
|
164
164
|
{
|
|
165
165
|
title: "Firebase Audit Drift (\xEDndices)",
|
|
166
166
|
description: "Compara \xEDndices locais vs implantados. Retorna MATCHED/LOCAL_ONLY/REMOTE_ONLY. Nunca diz 'unused', apenas NOT_OBSERVED.",
|
package/dist/index.js
CHANGED
package/dist/mcp-cli.js
CHANGED
package/dist/mcp.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justmpm/firebase-audit",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Auditor de consistência e segurança para projetos Firebase: código + Rules + índices + contrato vs comportamento. Static-first, nunca inventa certeza.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"firebase",
|