@contextstream/mcp-server 0.3.55 → 0.3.57

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/dist/index.js +5 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -11948,8 +11948,9 @@ Code: ${device.user_code}`);
11948
11948
  }
11949
11949
  apiKey = createdKey.secret_key.trim();
11950
11950
  apiKeySource = "browser";
11951
+ const maskedNewKey = maskApiKey(apiKey);
11951
11952
  console.log(`
11952
- Created API key: ${maskApiKey(apiKey)}
11953
+ Created API key: ${maskedNewKey}
11953
11954
  `);
11954
11955
  }
11955
11956
  }
@@ -11962,12 +11963,13 @@ Created API key: ${maskApiKey(apiKey)}
11962
11963
  throw new Error(`Authentication failed. Check your API key. (${message})`);
11963
11964
  }
11964
11965
  const email = typeof me?.data?.email === "string" ? me.data.email : typeof me?.email === "string" ? me.email : void 0;
11965
- console.log(`Authenticated as: ${email || "unknown user"} (${maskApiKey(apiKey)})
11966
+ const maskedKey = maskApiKey(apiKey);
11967
+ console.log(`Authenticated as: ${email || "unknown user"} (${maskedKey})
11966
11968
  `);
11967
11969
  if (!dryRun && (apiKeySource === "browser" || apiKeySource === "paste")) {
11968
11970
  try {
11969
11971
  const saved = await writeSavedCredentials({ apiUrl, apiKey, email });
11970
- console.log(`Saved API key for future runs: ${saved.path} (${maskApiKey(apiKey)})
11972
+ console.log(`Saved API key for future runs: ${saved.path} (${maskedKey})
11971
11973
  `);
11972
11974
  } catch (err) {
11973
11975
  const msg = err instanceof Error ? err.message : String(err);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contextstream/mcp-server",
3
- "version": "0.3.55",
3
+ "version": "0.3.57",
4
4
  "description": "MCP server exposing ContextStream public API - code context, memory, search, and AI tools for developers",
5
5
  "type": "module",
6
6
  "license": "MIT",