@insforge/mcp 1.2.4-deployment.6 → 1.2.4-deployment.7

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.
@@ -7,6 +7,7 @@ import { promises as fs } from "fs";
7
7
  import { exec } from "child_process";
8
8
  import { promisify } from "util";
9
9
  import { tmpdir } from "os";
10
+ import path from "path";
10
11
  import archiver from "archiver";
11
12
 
12
13
  // src/shared/response-handler.ts
@@ -2028,6 +2029,7 @@ To: Your current project directory
2028
2029
  },
2029
2030
  withUsageTracking("create-deployment", async ({ sourceDirectory, projectSettings, envVars, meta }) => {
2030
2031
  try {
2032
+ const resolvedSourceDir = path.resolve(sourceDirectory);
2031
2033
  const createResponse = await fetch2(`${API_BASE_URL}/api/deployments`, {
2032
2034
  method: "POST",
2033
2035
  headers: {
@@ -2055,7 +2057,7 @@ To: Your current project directory
2055
2057
  ".env.local",
2056
2058
  ".DS_Store"
2057
2059
  ];
2058
- archive.directory(sourceDirectory, false, (entry) => {
2060
+ archive.directory(resolvedSourceDir, false, (entry) => {
2059
2061
  const normalizedName = entry.name.replace(/\\/g, "/");
2060
2062
  for (const pattern of excludePatterns) {
2061
2063
  if (normalizedName.startsWith(pattern + "/") || normalizedName === pattern || normalizedName.endsWith("/" + pattern) || normalizedName.includes("/" + pattern + "/")) {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  registerInsforgeTools
4
- } from "./chunk-AE5PW7UP.js";
4
+ } from "./chunk-UC5S2WUP.js";
5
5
 
6
6
  // src/http/server.ts
7
7
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  registerInsforgeTools
4
- } from "./chunk-AE5PW7UP.js";
4
+ } from "./chunk-UC5S2WUP.js";
5
5
 
6
6
  // src/stdio/index.ts
7
7
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insforge/mcp",
3
- "version": "1.2.4-deployment.6",
3
+ "version": "1.2.4-deployment.7",
4
4
  "description": "MCP (Model Context Protocol) server for Insforge backend-as-a-service",
5
5
  "mcpName": "io.github.InsForge/insforge-mcp",
6
6
  "type": "module",