@lucern/contracts 0.3.0-alpha.7 → 0.3.0-alpha.9
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/context-pack.contract.d.ts +5 -3
- package/dist/context-pack.contract.js.map +1 -1
- package/dist/edge-policy-manifest-Dw5IhT1L.d.ts +133 -0
- package/dist/function-registry/beliefs.js +4 -4
- package/dist/function-registry/beliefs.js.map +1 -1
- package/dist/function-registry/coding.js +4 -4
- package/dist/function-registry/coding.js.map +1 -1
- package/dist/function-registry/context.js +5 -5
- package/dist/function-registry/context.js.map +1 -1
- package/dist/function-registry/contracts.js +4 -4
- package/dist/function-registry/contracts.js.map +1 -1
- package/dist/function-registry/coordination.js +4 -4
- package/dist/function-registry/coordination.js.map +1 -1
- package/dist/function-registry/edges.js +53 -35
- package/dist/function-registry/edges.js.map +1 -1
- package/dist/function-registry/evidence.js +8 -8
- package/dist/function-registry/evidence.js.map +1 -1
- package/dist/function-registry/graph.js +4 -4
- package/dist/function-registry/graph.js.map +1 -1
- package/dist/function-registry/helpers.js +4 -4
- package/dist/function-registry/helpers.js.map +1 -1
- package/dist/function-registry/identity.js +4 -4
- package/dist/function-registry/identity.js.map +1 -1
- package/dist/function-registry/index.js +4 -4
- package/dist/function-registry/index.js.map +1 -1
- package/dist/function-registry/judgments.js +4 -4
- package/dist/function-registry/judgments.js.map +1 -1
- package/dist/function-registry/legacy.js +4 -4
- package/dist/function-registry/legacy.js.map +1 -1
- package/dist/function-registry/lenses.js +4 -4
- package/dist/function-registry/lenses.js.map +1 -1
- package/dist/function-registry/ontologies.js +4 -4
- package/dist/function-registry/ontologies.js.map +1 -1
- package/dist/function-registry/pipeline.js +4 -4
- package/dist/function-registry/pipeline.js.map +1 -1
- package/dist/function-registry/questions.js +4 -4
- package/dist/function-registry/questions.js.map +1 -1
- package/dist/function-registry/tasks.js +4 -4
- package/dist/function-registry/tasks.js.map +1 -1
- package/dist/function-registry/topics.js +4 -4
- package/dist/function-registry/topics.js.map +1 -1
- package/dist/function-registry/worktrees.js +4 -4
- package/dist/function-registry/worktrees.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +45 -37
- package/dist/index.js.map +1 -1
- package/dist/manifests/edge-policy-manifest.d.ts +1 -1
- package/dist/manifests/edge-policy-manifest.data.d.ts +6 -20
- package/dist/manifests/edge-policy-manifest.data.js +18 -26
- package/dist/manifests/edge-policy-manifest.data.js.map +1 -1
- package/dist/manifests/edge-policy-manifest.js +31 -4
- package/dist/manifests/edge-policy-manifest.js.map +1 -1
- package/dist/sdk-tools.contract.js +4 -4
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/tenant-bootstrap-seed.contract.d.ts +4 -4
- package/dist/tenant-bootstrap-seed.contract.js +2 -2
- package/dist/tenant-bootstrap-seed.contract.js.map +1 -1
- package/dist/tool-contracts.js +4 -4
- package/dist/tool-contracts.js.map +1 -1
- package/package.json +1 -1
- package/dist/edge-policy-manifest-Byv6cQPP.d.ts +0 -132
|
@@ -2086,15 +2086,15 @@ var IDENTITY_WHOAMI = {
|
|
|
2086
2086
|
};
|
|
2087
2087
|
var COMPILE_CONTEXT = {
|
|
2088
2088
|
name: "compile_context",
|
|
2089
|
-
description: "Compile a focused reasoning context
|
|
2089
|
+
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.",
|
|
2090
2090
|
parameters: {
|
|
2091
2091
|
topicId: {
|
|
2092
2092
|
type: "string",
|
|
2093
|
-
description: "
|
|
2093
|
+
description: "Optional topic scope ID. Omit to resolve the topic from query."
|
|
2094
2094
|
},
|
|
2095
2095
|
query: {
|
|
2096
2096
|
type: "string",
|
|
2097
|
-
description: "
|
|
2097
|
+
description: "Focus query used to resolve the topic and rank context items. Required when topicId is omitted."
|
|
2098
2098
|
},
|
|
2099
2099
|
budget: {
|
|
2100
2100
|
type: "number",
|
|
@@ -2118,7 +2118,7 @@ var COMPILE_CONTEXT = {
|
|
|
2118
2118
|
description: "Include related ontological entities in the compiled result"
|
|
2119
2119
|
}
|
|
2120
2120
|
},
|
|
2121
|
-
required: [
|
|
2121
|
+
required: [],
|
|
2122
2122
|
response: {
|
|
2123
2123
|
description: "Compiled context pack for the requested topic",
|
|
2124
2124
|
fields: {
|
|
@@ -4731,12 +4731,12 @@ var linkEvidenceToBeliefEdgeInput = (input, context) => withCreatedBy(
|
|
|
4731
4731
|
compactRecord({
|
|
4732
4732
|
fromNodeId: input.insightId ?? input.evidenceNodeId ?? input.evidenceId,
|
|
4733
4733
|
toNodeId: input.beliefNodeId ?? input.beliefId ?? input.targetId,
|
|
4734
|
-
edgeType: "
|
|
4734
|
+
edgeType: "informs",
|
|
4735
4735
|
globalId: input.globalId ?? `edge:${String(
|
|
4736
4736
|
input.insightId ?? input.evidenceNodeId ?? input.evidenceId
|
|
4737
4737
|
)}:${String(
|
|
4738
4738
|
input.beliefNodeId ?? input.beliefId ?? input.targetId
|
|
4739
|
-
)}:
|
|
4739
|
+
)}:informs`,
|
|
4740
4740
|
weight: typeof input.weight === "number" ? input.weight : input.type === "contradicting" ? -1 : 1,
|
|
4741
4741
|
context: input.rationale ?? input.context,
|
|
4742
4742
|
skipLayerValidation: true,
|
|
@@ -4749,12 +4749,12 @@ var linkEvidenceToQuestionEdgeInput = (input, context) => withCreatedBy(
|
|
|
4749
4749
|
compactRecord({
|
|
4750
4750
|
fromNodeId: input.insightId ?? input.evidenceNodeId ?? input.evidenceId,
|
|
4751
4751
|
toNodeId: input.questionId ?? input.questionNodeId ?? input.targetId,
|
|
4752
|
-
edgeType: "
|
|
4752
|
+
edgeType: "responds_to",
|
|
4753
4753
|
globalId: input.globalId ?? `edge:${String(
|
|
4754
4754
|
input.insightId ?? input.evidenceNodeId ?? input.evidenceId
|
|
4755
4755
|
)}:${String(
|
|
4756
4756
|
input.questionId ?? input.questionNodeId ?? input.targetId
|
|
4757
|
-
)}:
|
|
4757
|
+
)}:responds_to`,
|
|
4758
4758
|
weight: input.impactScore ?? input.weight,
|
|
4759
4759
|
context: input.rationale ?? input.context,
|
|
4760
4760
|
skipLayerValidation: true,
|