@lucern/contracts 1.0.43 → 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.
- package/dist/function-registry/context.js +7 -3
- package/dist/generated/convexSchemas.d.ts +115 -115
- package/dist/generated/convexSchemas.js +6 -6
- package/dist/generated/schema-manifest.json +3 -1
- package/dist/index.js +23 -12
- package/dist/proof-attestation.json +1 -1
- package/dist/schemas/index.js +23 -12
- package/dist/schemas/manifest.d.ts +55 -55
- package/dist/schemas/manifest.js +23 -12
- package/dist/schemas/tables/kernel/decision.d.ts +2 -2
- package/dist/schemas/tables/kernel/decision.js +2 -2
- package/dist/schemas/tables/kernel/embedding.d.ts +1 -1
- package/dist/schemas/tables/kernel/embedding.js +12 -13
- package/dist/schemas/tables/kernel/intelligence.d.ts +5 -5
- package/dist/schemas/tables/kernel/intelligence.js +6 -5
- package/dist/schemas/tables/kernel/spine.d.ts +2 -2
- package/dist/schemas/tables/kernel/spine.js +2 -13
- package/dist/schemas/tables/kernel/workflow.d.ts +1 -1
- package/dist/schemas/tables/kernel/workflow.js +1 -1
- package/dist/schemas.values.js +23 -12
- package/package.json +1 -1
|
@@ -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: "
|
|
6434
|
-
kind: "
|
|
6437
|
+
functionName: "compileFromQuery",
|
|
6438
|
+
kind: "action"
|
|
6435
6439
|
},
|
|
6436
6440
|
args: compileContextArgs
|
|
6437
6441
|
}),
|