ai-agent-config 2.5.6 → 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.6",
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": {
@@ -62,23 +62,41 @@ function main() {
62
62
  }
63
63
  }
64
64
 
65
- // Add Bitwarden MCP server (enabled by default)
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",
69
70
  args: ["-y", "@bitwarden/mcp-server"],
70
71
  env: {
71
- BW_CLIENTID: "${BW_CLIENTID}",
72
- BW_CLIENTSECRET: "${BW_CLIENTSECRET}",
72
+ BW_SESSION: "${BW_SESSION}",
73
+ BW_CLIENT_ID: "${BW_CLIENT_ID}",
74
+ BW_CLIENT_SECRET: "${BW_CLIENT_SECRET}",
73
75
  },
74
76
  };
77
+ changed = true;
78
+ console.log("🔐 Bitwarden MCP server added to Antigravity (✓ enabled)");
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
+ }
92
+ }
75
93
 
94
+ if (changed) {
76
95
  fs.writeFileSync(
77
96
  antigravityMcpPath,
78
97
  JSON.stringify(mcpConfig, null, 2),
79
98
  "utf-8"
80
99
  );
81
- console.log("🔐 Bitwarden MCP server added to Antigravity (✓ enabled)");
82
100
  console.log(" Config: ~/.gemini/antigravity/mcp_config.json\n");
83
101
  }
84
102
  } catch (error) {