@konneal/engine 0.2.87 → 0.2.88

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.
@@ -1693,6 +1693,10 @@ var INFRA_ROUTES = [
1693
1693
  { method: "GET", pattern: "/api/", handler: serveIndexPage },
1694
1694
  { method: "GET", pattern: "/api/openapi.json", handler: openapiCatalogRoute },
1695
1695
  { method: "GET", pattern: "/index.html", handler: serveIndexPage },
1696
+ // /mcp is both the docs page (GET) and the JSON-RPC endpoint (POST);
1697
+ // the worker must run first there or the assets router 405s the POST
1698
+ // against the page asset before the route table ever sees it.
1699
+ { method: "GET", pattern: "/mcp", handler: serveIndexPage },
1696
1700
  { method: "GET", pattern: "/assets/*", handler: unitAssetRoute },
1697
1701
  { method: "GET", pattern: "/docs/*", handler: docsRoute }
1698
1702
  ];
package/package.json CHANGED
@@ -27,7 +27,7 @@
27
27
  "playwright": "^1.62.1",
28
28
  "yaml": "^2.9.1"
29
29
  },
30
- "version": "0.2.87",
30
+ "version": "0.2.88",
31
31
  "description": "The Konneal engine: the publisher-agnostic build pipeline and API plane for standards intelligence (retrieval, answer contract, verdicts, evaluation).",
32
32
  "license": "BSD-3-Clause",
33
33
  "type": "module",
@@ -551,6 +551,10 @@ const INFRA_ROUTES: Route[] = [
551
551
  { method: "GET", pattern: "/api/", handler: serveIndexPage },
552
552
  { method: "GET", pattern: "/api/openapi.json", handler: openapiCatalogRoute },
553
553
  { method: "GET", pattern: "/index.html", handler: serveIndexPage },
554
+ // /mcp is both the docs page (GET) and the JSON-RPC endpoint (POST);
555
+ // the worker must run first there or the assets router 405s the POST
556
+ // against the page asset before the route table ever sees it.
557
+ { method: "GET", pattern: "/mcp", handler: serveIndexPage },
554
558
  { method: "GET", pattern: "/assets/*", handler: unitAssetRoute },
555
559
  { method: "GET", pattern: "/docs/*", handler: docsRoute },
556
560
  ];