@lucern/mcp 1.0.9 → 1.0.11

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/dist/index.js CHANGED
@@ -27161,6 +27161,15 @@ function createClientPlatformNamespaces(ctx) {
27161
27161
  bootstrap: {
27162
27162
  generateSessionHandoff: functionSurfaceClient.generateSessionHandoff
27163
27163
  },
27164
+ hybrid: {
27165
+ discover: functionSurfaceClient.hybridDiscover,
27166
+ hybridDiscover: functionSurfaceClient.hybridDiscover,
27167
+ resolveTopicSemantic: functionSurfaceClient.resolveTopicSemantic,
27168
+ expandGraphNeighborhood: functionSurfaceClient.expandGraphNeighborhood,
27169
+ findRelatedNodes: functionSurfaceClient.findRelatedNodes,
27170
+ analyzeGraphImpact: functionSurfaceClient.analyzeGraphImpact,
27171
+ detectGraphDrift: functionSurfaceClient.detectGraphDrift
27172
+ },
27164
27173
  embeddings: embeddingsClient,
27165
27174
  graphAnalysis: graphAnalysisClient,
27166
27175
  graphRecommendations: graphRecommendationsClient,
@@ -32601,7 +32610,7 @@ function createToolRegistryClient(config = {}) {
32601
32610
  }
32602
32611
 
32603
32612
  // ../sdk/src/version.ts
32604
- var LUCERN_SDK_VERSION = "1.0.9";
32613
+ var LUCERN_SDK_VERSION = "1.0.11";
32605
32614
 
32606
32615
  // ../sdk/src/workflowClient.ts
32607
32616
  function normalizeLensQuery(value) {
@@ -36231,16 +36240,13 @@ function createEvidenceHandlers(context) {
36231
36240
  }
36232
36241
 
36233
36242
  // src/handlers/functionSurface.ts
36234
- function camelCaseToolName(name) {
36235
- return name.replace(/_([a-z])/g, (_, value) => value.toUpperCase());
36236
- }
36237
36243
  function createFunctionSurfaceHandlers(context) {
36238
36244
  const functionSurface = createFunctionSurfaceClient(context.sdkConfig);
36239
36245
  return Object.fromEntries(
36240
36246
  FUNCTION_SURFACE_CONTRACTS.map((contract) => [
36241
36247
  contract.mcp.toolName,
36242
36248
  contractToHandler(contract.mcp, async (params) => {
36243
- const methodName = camelCaseToolName(contract.name);
36249
+ const methodName = contract.sdk.method;
36244
36250
  const method = functionSurface[methodName];
36245
36251
  if (typeof method !== "function") {
36246
36252
  throw new Error(
@@ -37936,7 +37942,7 @@ function createLucernStandaloneMcpServer(options) {
37936
37942
  });
37937
37943
  const server = new McpServer({
37938
37944
  name: "lucern-mcp",
37939
- version: "1.0.9"
37945
+ version: "1.0.11"
37940
37946
  });
37941
37947
  registerTools(server, runtime);
37942
37948
  const resources = registerResources(server, runtime, observationStore);