@lucern/events 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/types.js CHANGED
@@ -7354,15 +7354,15 @@ var IDENTITY_WHOAMI = {
7354
7354
  };
7355
7355
  var COMPILE_CONTEXT = {
7356
7356
  name: "compile_context",
7357
- 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.",
7357
+ 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.",
7358
7358
  parameters: {
7359
7359
  topicId: {
7360
7360
  type: "string",
7361
- description: "Topic scope ID to compile"
7361
+ description: "Optional topic scope ID. Omit to resolve the topic from query."
7362
7362
  },
7363
7363
  query: {
7364
7364
  type: "string",
7365
- description: "Optional focus query used to rank context items"
7365
+ description: "Focus query used to resolve the topic and rank context items. Required when topicId is omitted."
7366
7366
  },
7367
7367
  budget: {
7368
7368
  type: "number",
@@ -7386,7 +7386,7 @@ var COMPILE_CONTEXT = {
7386
7386
  description: "Include related ontological entities in the compiled result"
7387
7387
  }
7388
7388
  },
7389
- required: ["topicId"],
7389
+ required: [],
7390
7390
  response: {
7391
7391
  description: "Compiled context pack for the requested topic",
7392
7392
  fields: {
@@ -9885,7 +9885,7 @@ var contextContracts = [
9885
9885
  path: "/context/compile",
9886
9886
  sdkNamespace: "context",
9887
9887
  sdkMethod: "compileContext",
9888
- summary: "Compile a focused reasoning context for a topic.",
9888
+ summary: "Compile a focused reasoning context, resolving topic from query when omitted.",
9889
9889
  convex: {
9890
9890
  module: "contextCompiler",
9891
9891
  functionName: "compile",