ai-agent-config 2.5.7 → 2.5.8

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-agent-config",
3
- "version": "2.5.7",
3
+ "version": "2.5.8",
4
4
  "description": "Universal skill & workflow manager for AI coding assistants with bi-directional GitHub sync",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -69,16 +69,26 @@ function main() {
69
69
  command: "npx",
70
70
  args: ["-y", "@bitwarden/mcp-server"],
71
71
  env: {
72
- BW_CLIENTID: "${BW_CLIENTID}",
73
- BW_CLIENTSECRET: "${BW_CLIENTSECRET}",
72
+ BW_SESSION: "${BW_SESSION}",
73
+ BW_CLIENT_ID: "${BW_CLIENT_ID}",
74
+ BW_CLIENT_SECRET: "${BW_CLIENT_SECRET}",
74
75
  },
75
76
  };
76
77
  changed = true;
77
78
  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");
79
+ } else {
80
+ // Ensure correct env var names even if already exists
81
+ const bw = mcpConfig.mcpServers.bitwarden;
82
+ if (!bw.env.BW_SESSION || !bw.env.BW_CLIENT_ID || !bw.env.BW_CLIENT_SECRET || bw.disabled) {
83
+ bw.env = {
84
+ BW_SESSION: "${BW_SESSION}",
85
+ BW_CLIENT_ID: "${BW_CLIENT_ID}",
86
+ BW_CLIENT_SECRET: "${BW_CLIENT_SECRET}",
87
+ };
88
+ delete bw.disabled;
89
+ changed = true;
90
+ console.log("🔓 Bitwarden MCP server configuration repaired and enabled");
91
+ }
82
92
  }
83
93
 
84
94
  if (changed) {