@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/webhooks.js CHANGED
@@ -7315,15 +7315,15 @@ var IDENTITY_WHOAMI = {
7315
7315
  };
7316
7316
  var COMPILE_CONTEXT = {
7317
7317
  name: "compile_context",
7318
- 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.",
7318
+ 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.",
7319
7319
  parameters: {
7320
7320
  topicId: {
7321
7321
  type: "string",
7322
- description: "Topic scope ID to compile"
7322
+ description: "Optional topic scope ID. Omit to resolve the topic from query."
7323
7323
  },
7324
7324
  query: {
7325
7325
  type: "string",
7326
- description: "Optional focus query used to rank context items"
7326
+ description: "Focus query used to resolve the topic and rank context items. Required when topicId is omitted."
7327
7327
  },
7328
7328
  budget: {
7329
7329
  type: "number",
@@ -7347,7 +7347,7 @@ var COMPILE_CONTEXT = {
7347
7347
  description: "Include related ontological entities in the compiled result"
7348
7348
  }
7349
7349
  },
7350
- required: ["topicId"],
7350
+ required: [],
7351
7351
  response: {
7352
7352
  description: "Compiled context pack for the requested topic",
7353
7353
  fields: {
@@ -9846,7 +9846,7 @@ var contextContracts = [
9846
9846
  path: "/context/compile",
9847
9847
  sdkNamespace: "context",
9848
9848
  sdkMethod: "compileContext",
9849
- summary: "Compile a focused reasoning context for a topic.",
9849
+ summary: "Compile a focused reasoning context, resolving topic from query when omitted.",
9850
9850
  convex: {
9851
9851
  module: "contextCompiler",
9852
9852
  functionName: "compile",