@aikdna/kdna-mcp-server 0.8.7 → 0.8.8
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/README.md +4 -4
- package/bin/read-session.mjs +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# KDNA MCP 0.8.
|
|
1
|
+
# KDNA MCP 0.8.8 — local stdio Read adapter
|
|
2
2
|
|
|
3
|
-
This local stdio MCP server (`@aikdna/kdna-mcp-server@0.8.
|
|
3
|
+
This local stdio MCP server (`@aikdna/kdna-mcp-server@0.8.8`) delegates native container `0.6.0` admission and scoped Read operations to the exact CLI `0.47.3` / Core `0.37.13` / Read `0.13.7` graph (`kdna.read/0.7.0-candidate`). Historical MCP `0.5.0`–`0.5.1` and CLI `0.36.x` workspace flows are superseded by this operator-bound native `0.6.0` adapter.
|
|
4
4
|
|
|
5
5
|
## Operator-controlled startup
|
|
6
6
|
|
|
@@ -321,11 +321,11 @@ package-lock.json are excluded. The companion consumer lock is generated from
|
|
|
321
321
|
the checked source graph. The packed-consumer test installs with an empty npm
|
|
322
322
|
cache, then runs the same real stdio boundary suite against the installed bin.
|
|
323
323
|
|
|
324
|
-
Canonical npm publication of `@aikdna/kdna-mcp-server@0.8.
|
|
324
|
+
Canonical npm publication of `@aikdna/kdna-mcp-server@0.8.8` runs exclusively via the GitHub Release workflow (`kdna-mcp-server-0.8.8`) after companion packages (`@aikdna/kdna-core@0.37.13`, `@aikdna/kdna-read@0.13.7`, `@aikdna/kdna-cli@0.47.3`) are published on the official registry. Source and installed process tests do not
|
|
325
325
|
establish named Host adoption, human review, authorship or Creation acceptance.
|
|
326
326
|
|
|
327
327
|
## Native section contract boundary
|
|
328
328
|
|
|
329
|
-
The complete CLI public contract binding is pinned by SHA-256 `
|
|
329
|
+
The complete CLI public contract binding is pinned by SHA-256 `f21e8de43f8ab1ca31ec4b8e9dde1ae94d88722a04689b7be9356a0e731c0882`. It identifies the native container `0.6.0` and Read `0.7.0-candidate` tuple, exact Core/Read artifacts and route contracts. CLI and Read must resolve the same fixed Core instance; a nested shadow dependency is refused. The adapter delegates native admission and retained section reads to that runtime. Preserve catalog-only status, mandatory closure, native handle origin, diagnostics, absent declarations and explicit empty states. Technical validity, Read and static declarations do not establish live Creation authority, human confirmation or action permission.
|
|
330
330
|
|
|
331
331
|
The public regression corpus is generated from synthetic authored JSON with the fixed CLI. It tests real native containers and one deliberately truncated container; no legacy component-format asset is treated as current native input.
|
package/bin/read-session.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import { AdapterError } from "./operator-binding.mjs";
|
|
|
8
8
|
|
|
9
9
|
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
|
|
10
10
|
export const packageInfo = JSON.parse(fs.readFileSync(path.join(root, "package.json"), "utf8"));
|
|
11
|
-
const versions = { cli: "0.47.
|
|
11
|
+
const versions = { cli: "0.47.3", core: "0.37.13", read: "0.13.7" };
|
|
12
12
|
function localPackage(name) {
|
|
13
13
|
const roots = [path.join(root, "node_modules")];
|
|
14
14
|
if (path.basename(path.dirname(root)) === "@aikdna" && path.basename(path.dirname(path.dirname(root))) === "node_modules") roots.push(path.dirname(path.dirname(root)));
|
|
@@ -26,7 +26,7 @@ const cli = localPackage("cli"), core = localPackage("core"), read = localPackag
|
|
|
26
26
|
const cliEntry = path.resolve(cli.directory, cli.value.bin?.kdna || "");
|
|
27
27
|
const bindingBytes = fs.readFileSync(path.join(cli.directory, "public-contract-binding.json"));
|
|
28
28
|
export const publicBinding = JSON.parse(bindingBytes);
|
|
29
|
-
if (packageInfo.kdna_runtime?.cli !== versions.cli || packageInfo.kdna_runtime?.core !== versions.core || packageInfo.kdna_runtime?.read !== versions.read || createHash("sha256").update(bindingBytes).digest("hex") !== "
|
|
29
|
+
if (packageInfo.kdna_runtime?.cli !== versions.cli || packageInfo.kdna_runtime?.core !== versions.core || packageInfo.kdna_runtime?.read !== versions.read || createHash("sha256").update(bindingBytes).digest("hex") !== "f21e8de43f8ab1ca31ec4b8e9dde1ae94d88722a04689b7be9356a0e731c0882" || publicBinding.implementation?.version !== versions.cli || publicBinding.tuple?.container !== "0.6.0" || publicBinding.tuple?.read !== "kdna.read/0.7.0-candidate" || publicBinding.accepted_core?.version !== versions.core || publicBinding.accepted_read?.version !== versions.read || packageInfo.kdna_runtime?.read_contract !== "kdna.read/0.7.0-candidate" || !cliEntry.startsWith(cli.directory + path.sep) || !fs.statSync(cliEntry).isFile()) throw new AdapterError("MCP_RUNTIME_INVALID", "The fixed native runtime contract binding is invalid.");
|
|
30
30
|
// Every consumer resolves the same fixed Core/Read instance; nested shadow copies are refused.
|
|
31
31
|
for (const [consumer, dependency] of [[cli, core], [cli, read], [read, core]]) {
|
|
32
32
|
const resolved = createRequire(path.join(consumer.directory, "package.json")).resolve(dependency.value.name + "/package.json");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aikdna/kdna-mcp-server",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.8",
|
|
4
4
|
"description": "Local stdio Read adapter for operator-bound KDNA assets.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://aikdna.com",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"@noble/hashes": "1.8.0",
|
|
52
52
|
"pako": "2.1.0",
|
|
53
53
|
"require-from-string": "2.0.2",
|
|
54
|
-
"@aikdna/kdna-cli": "0.47.
|
|
54
|
+
"@aikdna/kdna-cli": "0.47.3"
|
|
55
55
|
},
|
|
56
56
|
"kdna_runtime": {
|
|
57
|
-
"cli": "0.47.
|
|
57
|
+
"cli": "0.47.3",
|
|
58
58
|
"core": "0.37.13",
|
|
59
59
|
"read": "0.13.7",
|
|
60
60
|
"read_contract": "kdna.read/0.7.0-candidate"
|