@lucern/contracts 1.0.42 → 1.0.44

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.
@@ -6421,17 +6421,21 @@ var contextContracts = [
6421
6421
  }),
6422
6422
  surfaceContract({
6423
6423
  name: "compile_context",
6424
+ // Authorizes as a read (idempotent, no writes); the Convex binding is an
6425
+ // action only because free-text compiles run vector search, which a Convex
6426
+ // query cannot. Keeping `kind: "query"` preserves read-level authorization
6427
+ // for every principal — the action mechanism is an execution detail.
6424
6428
  kind: "query",
6425
6429
  domain: "context",
6426
6430
  surfaceClass: "platform_public",
6427
6431
  path: "/context/compile",
6428
6432
  sdkNamespace: "context",
6429
6433
  sdkMethod: "compileContext",
6430
- summary: "Compile a focused reasoning context with narrative-first output, coverage receipts, and stable synthesis-quality lints.",
6434
+ summary: "Compile a focused reasoning context with narrative-first output, coverage receipts, and stable synthesis-quality lints. Free-text queries with no explicit topic resolve to node anchors (BM25 + vector + graph) and compile the anchor neighborhood by depth \u2014 reasoning-state transfer, not retrieval.",
6431
6435
  convex: {
6432
6436
  module: "contextCompiler",
6433
- functionName: "compile",
6434
- kind: "query"
6437
+ functionName: "compileFromQuery",
6438
+ kind: "action"
6435
6439
  },
6436
6440
  args: compileContextArgs
6437
6441
  }),