@context-engine-bridge/context-engine-mcp-bridge 0.0.37 → 0.0.39

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 +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@context-engine-bridge/context-engine-mcp-bridge",
3
- "version": "0.0.37",
3
+ "version": "0.0.39",
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
@@ -187,8 +187,8 @@ async function _enrichWithLsp(result, lspConn, workspace) {
187
187
  debugLog("[ctxce] LSP enrich: JSON parse failed: " + String(e));
188
188
  return result;
189
189
  }
190
- if (!parsed.ok) return result;
191
190
  const target = _lspTarget(parsed);
191
+ if (!target.ok) return result;
192
192
  target._lsp_status = await _resolveLspStatus(target, lspConn, workspace);
193
193
  textBlock.text = JSON.stringify(parsed);
194
194
  return result;
@@ -1284,7 +1284,7 @@ async function createBridgeServer(options) {
1284
1284
  }
1285
1285
 
1286
1286
  try {
1287
- const result = await targetClient.callTool(
1287
+ let result = await targetClient.callTool(
1288
1288
  {
1289
1289
  name,
1290
1290
  arguments: args,