@lucern/mcp 1.0.10 → 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.
@@ -5164,6 +5164,15 @@ function createClientPlatformNamespaces(ctx) {
5164
5164
  bootstrap: {
5165
5165
  generateSessionHandoff: functionSurfaceClient.generateSessionHandoff
5166
5166
  },
5167
+ hybrid: {
5168
+ discover: functionSurfaceClient.hybridDiscover,
5169
+ hybridDiscover: functionSurfaceClient.hybridDiscover,
5170
+ resolveTopicSemantic: functionSurfaceClient.resolveTopicSemantic,
5171
+ expandGraphNeighborhood: functionSurfaceClient.expandGraphNeighborhood,
5172
+ findRelatedNodes: functionSurfaceClient.findRelatedNodes,
5173
+ analyzeGraphImpact: functionSurfaceClient.analyzeGraphImpact,
5174
+ detectGraphDrift: functionSurfaceClient.detectGraphDrift
5175
+ },
5167
5176
  embeddings: embeddingsClient,
5168
5177
  graphAnalysis: graphAnalysisClient,
5169
5178
  graphRecommendations: graphRecommendationsClient,
@@ -10604,7 +10613,7 @@ function createToolRegistryClient(config = {}) {
10604
10613
  }
10605
10614
 
10606
10615
  // ../sdk/src/version.ts
10607
- var LUCERN_SDK_VERSION = "1.0.10";
10616
+ var LUCERN_SDK_VERSION = "1.0.11";
10608
10617
 
10609
10618
  // ../sdk/src/workflowClient.ts
10610
10619
  function normalizeLensQuery(value) {
@@ -35909,16 +35918,13 @@ function createEvidenceHandlers(context) {
35909
35918
  }
35910
35919
 
35911
35920
  // src/handlers/functionSurface.ts
35912
- function camelCaseToolName(name) {
35913
- return name.replace(/_([a-z])/g, (_, value) => value.toUpperCase());
35914
- }
35915
35921
  function createFunctionSurfaceHandlers(context) {
35916
35922
  const functionSurface = createFunctionSurfaceClient(context.sdkConfig);
35917
35923
  return Object.fromEntries(
35918
35924
  FUNCTION_SURFACE_CONTRACTS.map((contract) => [
35919
35925
  contract.mcp.toolName,
35920
35926
  contractToHandler(contract.mcp, async (params) => {
35921
- const methodName = camelCaseToolName(contract.name);
35927
+ const methodName = contract.sdk.method;
35922
35928
  const method = functionSurface[methodName];
35923
35929
  if (typeof method !== "function") {
35924
35930
  throw new Error(
@@ -37605,7 +37611,7 @@ function createLucernStandaloneMcpServer(options) {
37605
37611
  });
37606
37612
  const server = new McpServer({
37607
37613
  name: "lucern-mcp",
37608
- version: "1.0.10"
37614
+ version: "1.0.11"
37609
37615
  });
37610
37616
  registerTools(server, runtime);
37611
37617
  const resources = registerResources(server, runtime, observationStore);