@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/index.js CHANGED
@@ -7470,15 +7470,15 @@ var IDENTITY_WHOAMI = {
7470
7470
  };
7471
7471
  var COMPILE_CONTEXT = {
7472
7472
  name: "compile_context",
7473
- 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.",
7473
+ 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.",
7474
7474
  parameters: {
7475
7475
  topicId: {
7476
7476
  type: "string",
7477
- description: "Topic scope ID to compile"
7477
+ description: "Optional topic scope ID. Omit to resolve the topic from query."
7478
7478
  },
7479
7479
  query: {
7480
7480
  type: "string",
7481
- description: "Optional focus query used to rank context items"
7481
+ description: "Focus query used to resolve the topic and rank context items. Required when topicId is omitted."
7482
7482
  },
7483
7483
  budget: {
7484
7484
  type: "number",
@@ -7502,7 +7502,7 @@ var COMPILE_CONTEXT = {
7502
7502
  description: "Include related ontological entities in the compiled result"
7503
7503
  }
7504
7504
  },
7505
- required: ["topicId"],
7505
+ required: [],
7506
7506
  response: {
7507
7507
  description: "Compiled context pack for the requested topic",
7508
7508
  fields: {
@@ -10001,7 +10001,7 @@ var contextContracts = [
10001
10001
  path: "/context/compile",
10002
10002
  sdkNamespace: "context",
10003
10003
  sdkMethod: "compileContext",
10004
- summary: "Compile a focused reasoning context for a topic.",
10004
+ summary: "Compile a focused reasoning context, resolving topic from query when omitted.",
10005
10005
  convex: {
10006
10006
  module: "contextCompiler",
10007
10007
  functionName: "compile",