@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/outbox.js CHANGED
@@ -7406,15 +7406,15 @@ var IDENTITY_WHOAMI = {
7406
7406
  };
7407
7407
  var COMPILE_CONTEXT = {
7408
7408
  name: "compile_context",
7409
- 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.",
7409
+ 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.",
7410
7410
  parameters: {
7411
7411
  topicId: {
7412
7412
  type: "string",
7413
- description: "Topic scope ID to compile"
7413
+ description: "Optional topic scope ID. Omit to resolve the topic from query."
7414
7414
  },
7415
7415
  query: {
7416
7416
  type: "string",
7417
- description: "Optional focus query used to rank context items"
7417
+ description: "Focus query used to resolve the topic and rank context items. Required when topicId is omitted."
7418
7418
  },
7419
7419
  budget: {
7420
7420
  type: "number",
@@ -7438,7 +7438,7 @@ var COMPILE_CONTEXT = {
7438
7438
  description: "Include related ontological entities in the compiled result"
7439
7439
  }
7440
7440
  },
7441
- required: ["topicId"],
7441
+ required: [],
7442
7442
  response: {
7443
7443
  description: "Compiled context pack for the requested topic",
7444
7444
  fields: {
@@ -9937,7 +9937,7 @@ var contextContracts = [
9937
9937
  path: "/context/compile",
9938
9938
  sdkNamespace: "context",
9939
9939
  sdkMethod: "compileContext",
9940
- summary: "Compile a focused reasoning context for a topic.",
9940
+ summary: "Compile a focused reasoning context, resolving topic from query when omitted.",
9941
9941
  convex: {
9942
9942
  module: "contextCompiler",
9943
9943
  functionName: "compile",