@theronap/cortex-mcp 0.9.15 → 0.9.16
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/lib/relationships.mjs +5 -0
- package/package.json +1 -1
package/lib/relationships.mjs
CHANGED
|
@@ -123,6 +123,11 @@ function parseInferred(out, c) {
|
|
|
123
123
|
out2.push({
|
|
124
124
|
subjectId: c.nodeId,
|
|
125
125
|
subjectName: c.nodeName,
|
|
126
|
+
// echo the candidate's node-kind/tier/owner so the server writes the inference at the right
|
|
127
|
+
// tier + owner (accessible/person vs the user's own scoped|confidential page). Server re-validates.
|
|
128
|
+
nodeKind: c.nodeKind,
|
|
129
|
+
tier: c.tier,
|
|
130
|
+
ownerUserId: c.ownerUserId ?? null,
|
|
126
131
|
relType,
|
|
127
132
|
target,
|
|
128
133
|
confidence: Number(d.confidence) || 0,
|