speclock 3.5.0 → 3.5.1
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/package.json +1 -1
- package/src/mcp/http-server.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "speclock",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.1",
|
|
4
4
|
"description": "AI constraint engine with Policy-as-Code DSL, OAuth/OIDC SSO, admin dashboard, telemetry, API key auth, RBAC, AES-256-GCM encryption, hard enforcement, semantic pre-commit, HMAC audit chain, SOC 2/HIPAA compliance. 100% detection, 0% false positives. 31 MCP tools + CLI. Enterprise platform.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/mcp/server.js",
|
package/src/mcp/http-server.js
CHANGED
|
@@ -436,7 +436,7 @@ function createSpecLockServer() {
|
|
|
436
436
|
const app = createMcpExpressApp({ host: "0.0.0.0" });
|
|
437
437
|
|
|
438
438
|
// CORS preflight handler
|
|
439
|
-
app.options("*", (req, res) => {
|
|
439
|
+
app.options("/{*path}", (req, res) => {
|
|
440
440
|
setCorsHeaders(res);
|
|
441
441
|
res.writeHead(204).end();
|
|
442
442
|
});
|