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

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.
@@ -2043,18 +2043,29 @@ To: Your current project directory
2043
2043
  archive.on("data", (chunk) => chunks.push(chunk));
2044
2044
  archive.on("end", () => resolve(Buffer.concat(chunks)));
2045
2045
  archive.on("error", (err) => reject(err));
2046
- archive.glob("**/*", {
2047
- cwd: sourceDirectory,
2048
- ignore: [
2049
- "node_modules/**",
2050
- ".git/**",
2051
- ".next/**",
2052
- "dist/**",
2053
- ".env.local",
2054
- ".DS_Store"
2055
- ],
2056
- dot: true
2057
- // Include dotfiles like .env
2046
+ archive.on("warning", (err) => {
2047
+ console.warn("Archiver warning:", err.message);
2048
+ });
2049
+ const excludePatterns = [
2050
+ "node_modules",
2051
+ ".git",
2052
+ ".next",
2053
+ "dist",
2054
+ "build",
2055
+ ".env.local",
2056
+ ".DS_Store"
2057
+ ];
2058
+ archive.directory(sourceDirectory, false, (entry) => {
2059
+ const normalizedName = entry.name.replace(/\\/g, "/");
2060
+ for (const pattern of excludePatterns) {
2061
+ if (normalizedName.startsWith(pattern + "/") || normalizedName === pattern || normalizedName.endsWith("/" + pattern) || normalizedName.includes("/" + pattern + "/")) {
2062
+ return false;
2063
+ }
2064
+ }
2065
+ if (normalizedName.endsWith(".log")) {
2066
+ return false;
2067
+ }
2068
+ return entry;
2058
2069
  });
2059
2070
  archive.finalize();
2060
2071
  });
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  registerInsforgeTools
4
- } from "./chunk-LLO6ZJQR.js";
4
+ } from "./chunk-AE5PW7UP.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-LLO6ZJQR.js";
4
+ } from "./chunk-AE5PW7UP.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.5",
3
+ "version": "1.2.4-deployment.6",
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",