@context-engine-bridge/context-engine-mcp-bridge 0.0.64 → 0.0.66

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/mcpServer.js +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@context-engine-bridge/context-engine-mcp-bridge",
3
- "version": "0.0.64",
3
+ "version": "0.0.66",
4
4
  "description": "Context Engine MCP bridge (http/stdio proxy combining indexer + memory servers)",
5
5
  "bin": {
6
6
  "ctxce": "bin/ctxce.js",
package/src/mcpServer.js CHANGED
@@ -1788,8 +1788,9 @@ function _findWorkspaceDirByCollection(collection) {
1788
1788
  for (const dir of dirs) {
1789
1789
  if (dir === "." || dir === ".." || dir.includes("/") || dir.includes("\0")) continue;
1790
1790
  const dirPath = path.join(wsRoot, dir);
1791
+ let realDir;
1791
1792
  try {
1792
- const realDir = fs.realpathSync(dirPath);
1793
+ realDir = fs.realpathSync(dirPath);
1793
1794
  if (realDir !== realWsRoot && !realDir.startsWith(realWsRoot + path.sep)) continue;
1794
1795
  if (!fs.lstatSync(realDir).isDirectory()) continue;
1795
1796
  } catch (_) { continue; }
@@ -1905,6 +1906,8 @@ function _mergeResults(primaryText, additionalTexts) {
1905
1906
  } else {
1906
1907
  pInner.results_json = pResults;
1907
1908
  }
1909
+ } else if (!pResults && aResults) {
1910
+ pInner.results_json = [...aResults];
1908
1911
  }
1909
1912
 
1910
1913
  if (typeof pInner.total === "number" && typeof aInner.total === "number") {