@lucern/mcp 0.3.0-alpha.7 → 0.3.0-alpha.8

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/gateway.js CHANGED
@@ -7356,15 +7356,15 @@ var IDENTITY_WHOAMI = {
7356
7356
  };
7357
7357
  var COMPILE_CONTEXT = {
7358
7358
  name: "compile_context",
7359
- description: "Compile a focused reasoning context for a topic. Like `git log --graph --decorate` for the reasoning substrate \u2014 returns the canonical Pillar 3 context pack through the public API shape.",
7359
+ description: "Compile a focused reasoning context. If topicId is omitted, Lucern resolves the best topic from the query. Like `git log --graph --decorate` for the reasoning substrate \u2014 returns the canonical Pillar 3 context pack through the public API shape.",
7360
7360
  parameters: {
7361
7361
  topicId: {
7362
7362
  type: "string",
7363
- description: "Topic scope ID to compile"
7363
+ description: "Optional topic scope ID. Omit to resolve the topic from query."
7364
7364
  },
7365
7365
  query: {
7366
7366
  type: "string",
7367
- description: "Optional focus query used to rank context items"
7367
+ description: "Focus query used to resolve the topic and rank context items. Required when topicId is omitted."
7368
7368
  },
7369
7369
  budget: {
7370
7370
  type: "number",
@@ -7388,7 +7388,7 @@ var COMPILE_CONTEXT = {
7388
7388
  description: "Include related ontological entities in the compiled result"
7389
7389
  }
7390
7390
  },
7391
- required: ["topicId"],
7391
+ required: [],
7392
7392
  response: {
7393
7393
  description: "Compiled context pack for the requested topic",
7394
7394
  fields: {
@@ -9887,7 +9887,7 @@ var contextContracts = [
9887
9887
  path: "/context/compile",
9888
9888
  sdkNamespace: "context",
9889
9889
  sdkMethod: "compileContext",
9890
- summary: "Compile a focused reasoning context for a topic.",
9890
+ summary: "Compile a focused reasoning context, resolving topic from query when omitted.",
9891
9891
  convex: {
9892
9892
  module: "contextCompiler",
9893
9893
  functionName: "compile",