@kage-core/kage-graph-mcp 3.2.0 → 3.3.0
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/check.js +612 -0
- package/dist/cli.js +44 -1
- package/dist/index.js +32 -7
- package/dist/kernel.js +372 -79
- package/dist/okf.js +6 -3
- package/package.json +1 -1
package/dist/okf.js
CHANGED
|
@@ -132,8 +132,10 @@ function okfVerifiedStatus(packet) {
|
|
|
132
132
|
return "superseded";
|
|
133
133
|
if (packet.status === "deprecated")
|
|
134
134
|
return "deprecated";
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
// "verified" is earned, not born: capture provenance (repo_local_agent_capture)
|
|
136
|
+
// is not a check of the claim. Only an actual recheck (evidence-backed
|
|
137
|
+
// reverification, validation pass) may carry the label.
|
|
138
|
+
return (0, kernel_js_1.packetVerificationLabel)(packet);
|
|
137
139
|
}
|
|
138
140
|
// ---- packet -> OKF concept document ----
|
|
139
141
|
function packetToOkfConcept(packet) {
|
|
@@ -156,7 +158,8 @@ function packetToOkfConcept(packet) {
|
|
|
156
158
|
fm.push(`x-kage-status: ${yamlScalar(packet.status)}`);
|
|
157
159
|
fm.push(`x-kage-scope: ${yamlScalar(packet.scope)}`);
|
|
158
160
|
fm.push(`x-kage-visibility: ${yamlScalar(packet.visibility)}`);
|
|
159
|
-
|
|
161
|
+
// No x-kage-confidence: the field was a hardcoded 0.7 nobody computed or
|
|
162
|
+
// consumed — a number that means nothing must not ship as trust metadata.
|
|
160
163
|
fm.push(`x-kage-verified: ${yamlScalar(okfVerifiedStatus(packet))}`);
|
|
161
164
|
if (packet.paths?.length)
|
|
162
165
|
fm.push(`x-kage-paths: ${yamlList(packet.paths)}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kage-core/kage-graph-mcp",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "Agent memory on Google's Open Knowledge Format (OKF). Kage maintains your coding agents' OKF memory bundle in git and verifies every concept against your code, deterministically. The verification and freshness layer OKF leaves out. MCP server, no account, no API key.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|