@basegrid_tech/mcp 0.17.7 → 0.17.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/dist/index.js +1 -23
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -149,28 +149,6 @@ function getDbPath() {
|
|
|
149
149
|
import { execFileSync, execFile } from "child_process";
|
|
150
150
|
import fs2 from "fs";
|
|
151
151
|
import path2 from "path";
|
|
152
|
-
function getUserShellEnv() {
|
|
153
|
-
if (process.platform === "win32") return { ...process.env };
|
|
154
|
-
try {
|
|
155
|
-
const shell = process.env.SHELL || "/bin/zsh";
|
|
156
|
-
const output = execFileSync(shell, ["-ilc", "env"], {
|
|
157
|
-
encoding: "utf-8",
|
|
158
|
-
timeout: 5e3,
|
|
159
|
-
stdio: ["pipe", "pipe", "pipe"]
|
|
160
|
-
});
|
|
161
|
-
const env = {};
|
|
162
|
-
for (const line of output.split("\n")) {
|
|
163
|
-
const idx = line.indexOf("=");
|
|
164
|
-
if (idx > 0) {
|
|
165
|
-
env[line.substring(0, idx)] = line.substring(idx + 1);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
return env;
|
|
169
|
-
} catch {
|
|
170
|
-
return { ...process.env };
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
var resolvedEnv = getUserShellEnv();
|
|
174
152
|
var DEFAULT_NO_PROXY_HOSTS = [
|
|
175
153
|
"localhost",
|
|
176
154
|
"127.0.0.1",
|
|
@@ -4399,7 +4377,7 @@ console.warn = (...args) => _origError("[mcp:warn]", ...args);
|
|
|
4399
4377
|
console.error = (...args) => _origError("[mcp:error]", ...args);
|
|
4400
4378
|
async function main() {
|
|
4401
4379
|
configManager.init();
|
|
4402
|
-
const version = true ? "0.17.
|
|
4380
|
+
const version = true ? "0.17.8" : createRequire(import.meta.url)("../package.json").version;
|
|
4403
4381
|
const server = createMcpServer(version);
|
|
4404
4382
|
const transport = new StdioServerTransport();
|
|
4405
4383
|
await server.connect(transport);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basegrid_tech/mcp",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.8",
|
|
4
4
|
"description": "BaseGrid MCP server — task management, git, and workflow tools for AI coding agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"zod": "^4.3.6"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@basegrid/server": "0.17.
|
|
46
|
-
"@basegrid/shared": "0.17.
|
|
45
|
+
"@basegrid/server": "0.17.8",
|
|
46
|
+
"@basegrid/shared": "0.17.8",
|
|
47
47
|
"tsup": "^8.5.1",
|
|
48
48
|
"tsx": "^4.21.0",
|
|
49
49
|
"typescript": "^6.0.3"
|