genexus-mcp 2.17.0 → 2.18.0

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/cli/lib/config.js CHANGED
@@ -421,7 +421,7 @@ function createConfigFile(kbPath, gxPath) {
421
421
 
422
422
  const changed = !existing || JSON.stringify(existing) !== JSON.stringify(nextConfig);
423
423
  if (changed) {
424
- fs.writeFileSync(targetConfigPath, JSON.stringify(nextConfig, null, 2));
424
+ writeFileAtomic(targetConfigPath, JSON.stringify(nextConfig, null, 2));
425
425
  }
426
426
 
427
427
  return {
@@ -1064,7 +1064,7 @@ function writeKbCatalog(configPath, { kbs, activeKb, kbPath }) {
1064
1064
  else delete cfg.Environment.ActiveKb;
1065
1065
  if (kbPath) cfg.Environment.KBPath = kbPath;
1066
1066
  else delete cfg.Environment.KBPath;
1067
- fs.writeFileSync(configPath, JSON.stringify(cfg, null, 2));
1067
+ writeFileAtomic(configPath, JSON.stringify(cfg, null, 2));
1068
1068
  }
1069
1069
 
1070
1070
  function addKbToConfig(configPath, name, kbPath) {
@@ -1165,7 +1165,7 @@ function applyLauncherConfigOrExit({ cwd, stderr, quiet }) {
1165
1165
  log(`[genexus-mcp] Generating default config.json for KB at: ${cwd}`);
1166
1166
 
1167
1167
  const defaultConfig = generateConfig(foundGxPath, cwd);
1168
- fs.writeFileSync(cwdConfigPath, JSON.stringify(defaultConfig, null, 2));
1168
+ writeFileAtomic(cwdConfigPath, JSON.stringify(defaultConfig, null, 2));
1169
1169
  process.env.GX_CONFIG_PATH = cwdConfigPath;
1170
1170
 
1171
1171
  return { ok: true };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genexus-mcp",
3
- "version": "2.17.0",
3
+ "version": "2.18.0",
4
4
  "mcpName": "io.github.lennix1337/genexus",
5
5
  "description": "GeneXus 18 MCP server — read, edit, and analyze GeneXus knowledge base objects (transactions, web panels, procedures, SDTs) directly from Claude, Cursor, and other AI agents over the Model Context Protocol.",
6
6
  "keywords": [
@@ -31,6 +31,7 @@
31
31
  ],
32
32
  "scripts": {
33
33
  "test": "node --test cli/run.test.js",
34
+ "lint": "eslint cli scripts eslint.config.js",
34
35
  "prepack": "node scripts/clean-package.js"
35
36
  },
36
37
  "bin": {
@@ -56,5 +57,9 @@
56
57
  "bugs": {
57
58
  "url": "https://github.com/lennix1337/Genexus18MCP/issues"
58
59
  },
59
- "homepage": "https://github.com/lennix1337/Genexus18MCP#readme"
60
+ "homepage": "https://github.com/lennix1337/Genexus18MCP#readme",
61
+ "devDependencies": {
62
+ "@eslint/js": "^9.39.5",
63
+ "eslint": "^9.39.5"
64
+ }
60
65
  }
@@ -7,7 +7,7 @@
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v8.0": {},
9
9
  ".NETCoreApp,Version=v8.0/win-x64": {
10
- "GxMcp.Gateway/2.17.0": {
10
+ "GxMcp.Gateway/2.18.0": {
11
11
  "dependencies": {
12
12
  "Newtonsoft.Json": "13.0.3",
13
13
  "System.Management": "10.0.5",
@@ -66,7 +66,7 @@
66
66
  }
67
67
  },
68
68
  "libraries": {
69
- "GxMcp.Gateway/2.17.0": {
69
+ "GxMcp.Gateway/2.18.0": {
70
70
  "type": "project",
71
71
  "serviceable": false,
72
72
  "sha512": ""
Binary file
Binary file
@@ -2,16 +2,16 @@
2
2
  "Environment": {
3
3
  "KBPath": "C:\\\\KBs\\\\YourKB"
4
4
  },
5
- "GeneXus": {
6
- "WorkerExecutable": "C:\\Projetos\\Genexus18MCP\\publish\\\\worker\\\\GxMcp.Worker.exe",
7
- "InstallationPath": "C:\\\\Program Files (x86)\\\\GeneXus\\\\GeneXus18"
8
- },
9
5
  "Server": {
10
6
  "HttpPort": 5000,
11
7
  "McpStdio": true
12
8
  },
13
9
  "Logging": {
14
- "Level": "Debug",
15
- "Path": "logs"
10
+ "Path": "logs",
11
+ "Level": "Debug"
12
+ },
13
+ "GeneXus": {
14
+ "InstallationPath": "C:\\\\Program Files (x86)\\\\GeneXus\\\\GeneXus18",
15
+ "WorkerExecutable": "C:\\Projetos\\Genexus18MCP\\publish\\\\worker\\\\GxMcp.Worker.exe"
16
16
  }
17
17
  }
Binary file