igel-qe-core 1.0.2 → 1.0.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/cli/index.js CHANGED
@@ -13,6 +13,7 @@ program
13
13
  .description("Bootstrap the Python AI Platform Layer")
14
14
  .option("--with-copilot", "Auto-configure for GitHub Copilot in VS Code")
15
15
  .option("--with-cline", "Auto-configure for Cline")
16
+ .option("--with-antigravity", "Auto-configure for Antigravity (Gemini Code Assist)")
16
17
  .option("--with-all", "Auto-configure all supported platforms")
17
18
  .action(async (options) => {
18
19
  console.log(chalk.blue("Initializing IGEL QE AI Platform..."));
@@ -37,7 +38,10 @@ program
37
38
  if (options.withCline || options.withAll) {
38
39
  await setupPlatform('cline');
39
40
  }
40
- console.log(`You can now use GitHub Copilot or Cline to invoke MCP tools or run commands via this CLI.`);
41
+ if (options.withAntigravity || options.withAll) {
42
+ await setupPlatform('antigravity');
43
+ }
44
+ console.log(`You can now use GitHub Copilot, Cline, or Antigravity to invoke MCP tools or run commands via this CLI.`);
41
45
  });
42
46
  program
43
47
  .command("sync")
@@ -56,6 +56,30 @@ export async function setupPlatform(platform) {
56
56
  fs.writeFileSync(clineConfigPath, JSON.stringify(settings, null, 2));
57
57
  console.log(chalk.green(`✓ Successfully configured Cline MCP in ${clineConfigPath}`));
58
58
  }
59
+ else if (platform === 'antigravity') {
60
+ // Setup for Antigravity (Gemini Code Assist / AI)
61
+ let vscodeSettingsPath = path.join(homeDir, 'AppData', 'Roaming', 'Code', 'User', 'settings.json');
62
+ if (process.platform !== 'win32') {
63
+ vscodeSettingsPath = path.join(homeDir, '.config', 'Code', 'User', 'settings.json');
64
+ }
65
+ let settings = {};
66
+ if (fs.existsSync(vscodeSettingsPath)) {
67
+ const raw = fs.readFileSync(vscodeSettingsPath, 'utf8');
68
+ try {
69
+ settings = JSON.parse(raw);
70
+ }
71
+ catch (e) { /* ignore */ }
72
+ }
73
+ else {
74
+ fs.mkdirSync(path.dirname(vscodeSettingsPath), { recursive: true });
75
+ }
76
+ if (!settings['gemini.mcp.servers']) {
77
+ settings['gemini.mcp.servers'] = {};
78
+ }
79
+ settings['gemini.mcp.servers']['igel-qe'] = mcpServerConfig;
80
+ fs.writeFileSync(vscodeSettingsPath, JSON.stringify(settings, null, 2));
81
+ console.log(chalk.green(`✓ Successfully configured Antigravity MCP in ${vscodeSettingsPath}`));
82
+ }
59
83
  else {
60
84
  console.log(chalk.yellow(`Platform '${platform}' is not currently supported for auto-setup.`));
61
85
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igel-qe-core",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "IGEL QE Developer Experience Layer (CLI & MCP)",
5
5
  "type": "module",
6
6
  "publishConfig": {