ai-agent-config 2.5.6 → 2.5.7
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/package.json +1 -1
- package/scripts/postinstall.js +10 -2
package/package.json
CHANGED
package/scripts/postinstall.js
CHANGED
|
@@ -62,7 +62,8 @@ function main() {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
// Add Bitwarden MCP server
|
|
65
|
+
// Add/Enable Bitwarden MCP server
|
|
66
|
+
let changed = false;
|
|
66
67
|
if (!mcpConfig.mcpServers.bitwarden) {
|
|
67
68
|
mcpConfig.mcpServers.bitwarden = {
|
|
68
69
|
command: "npx",
|
|
@@ -72,13 +73,20 @@ function main() {
|
|
|
72
73
|
BW_CLIENTSECRET: "${BW_CLIENTSECRET}",
|
|
73
74
|
},
|
|
74
75
|
};
|
|
76
|
+
changed = true;
|
|
77
|
+
console.log("🔐 Bitwarden MCP server added to Antigravity (✓ enabled)");
|
|
78
|
+
} else if (mcpConfig.mcpServers.bitwarden.disabled) {
|
|
79
|
+
delete mcpConfig.mcpServers.bitwarden.disabled;
|
|
80
|
+
changed = true;
|
|
81
|
+
console.log("🔓 Bitwarden MCP server enabled in Antigravity");
|
|
82
|
+
}
|
|
75
83
|
|
|
84
|
+
if (changed) {
|
|
76
85
|
fs.writeFileSync(
|
|
77
86
|
antigravityMcpPath,
|
|
78
87
|
JSON.stringify(mcpConfig, null, 2),
|
|
79
88
|
"utf-8"
|
|
80
89
|
);
|
|
81
|
-
console.log("🔐 Bitwarden MCP server added to Antigravity (✓ enabled)");
|
|
82
90
|
console.log(" Config: ~/.gemini/antigravity/mcp_config.json\n");
|
|
83
91
|
}
|
|
84
92
|
} catch (error) {
|