@flemist/mcp-project-tools 3.0.5 → 3.0.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.
package/build/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Command as u } from "commander";
2
- import { S as c, a as p, b as f, A as g, p as m, s as d } from "./startMcpServer-B-t6kivp.js";
2
+ import { S as c, a as p, b as f, A as g, p as m, s as d } from "./startMcpServer-ISTWJwdU.js";
3
3
  import * as i from "path";
4
4
  import * as C from "fs";
5
5
  import h from "deepmerge";
package/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { s } from "./startMcpServer-B-t6kivp.js";
1
+ import { s } from "./startMcpServer-ISTWJwdU.js";
2
2
  export {
3
3
  s as startMcpServer
4
4
  };
@@ -712,7 +712,7 @@ function Ee(t) {
712
712
  U && (N = U);
713
713
  }
714
714
  }
715
- return ($ || N.countFiles + N.countDirs + N.countLinks > 1) && (N.countLinks += 1, await x(
715
+ return ($ || N.countFiles + N.countDirs + N.countLinks >= 1) && (N.countLinks += 1, await x(
716
716
  v,
717
717
  D,
718
718
  N,
@@ -739,7 +739,7 @@ function Ee(t) {
739
739
  });
740
740
  }
741
741
  }
742
- return ($ || N.countFiles + N.countDirs + N.countLinks > 1) && (D.isDirectory() ? N.countDirs += 1 : D.isFile() && (N.countFiles += 1), await x(
742
+ return ($ || N.countFiles + N.countDirs + N.countLinks >= 1) && (D.isDirectory() ? N.countDirs += 1 : D.isFile() && (N.countFiles += 1), await x(
743
743
  v,
744
744
  D,
745
745
  N,
@@ -817,7 +817,7 @@ function Oe({
817
817
  `Invalid glob pattern: "${e}". The syntax '${e.substring(0, 2)}' is not supported. Valid glob patterns use: * (match any characters), ** (match any directories), ? (match single character), [abc] (character class), ! (negate pattern), ^ (exclude if included). Examples of valid patterns: "*.js", "src/**/*.ts", "!node_modules", "^dist". Avoid starting with '!' after '^' or multiple special prefixes.`
818
818
  );
819
819
  e.startsWith("/") && (e = "." + e);
820
- const i = r ? T.resolve(r, e).replace(/\\/g, "/") : e;
820
+ const i = r ? T.resolve(r, e).replace(/\\/g, "/") : e.replace(/\\/g, "/");
821
821
  if (!i)
822
822
  return;
823
823
  let u;
@@ -995,7 +995,7 @@ function Yt(t, r) {
995
995
  }
996
996
  return e;
997
997
  }
998
- const Vt = "3.0.5", Zt = {
998
+ const Vt = "3.0.6", Zt = {
999
999
  version: Vt
1000
1000
  }, ds = "Project Tools", fs = "project-tools", hs = Zt.version, ms = "d00f70240703039df14c76176a055bce6b5484d2b552ba2c89820f03b8e5e60d", me = 25e3;
1001
1001
  function pe(t) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flemist/mcp-project-tools",
3
- "version": "3.0.5",
3
+ "version": "3.0.6",
4
4
  "description": "MCP project tools",
5
5
  "publishConfig": {
6
6
  "access": "public"