ccs-mcp-server 1.1.1 → 1.1.2
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/index.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccs-mcp-server",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "CCS Runtime Evidence MCP Server — verify AI agent tool calls, issue tamper-evident evidence, audit MCP configs, and bind execution to declared intent (cross-model amount drift protection). For Claude Desktop, Cursor, Windsurf, and any MCP client.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"bin": {
|
package/src/index.js
CHANGED
|
@@ -31,7 +31,7 @@ const readline = require("readline");
|
|
|
31
31
|
// CCS Verifier Core (pure stdlib Node.js)
|
|
32
32
|
// ---------------------------------------------------------------------------
|
|
33
33
|
|
|
34
|
-
const CCS_VERSION = "1.1.
|
|
34
|
+
const CCS_VERSION = "1.1.2";
|
|
35
35
|
|
|
36
36
|
const DEFAULT_POLICY = {
|
|
37
37
|
mode: "block",
|
|
@@ -337,8 +337,8 @@ function deepEqual(a, b) {
|
|
|
337
337
|
}
|
|
338
338
|
|
|
339
339
|
function verifyIntentBinding(intent, toolName, toolArgs, now = Date.now()) {
|
|
340
|
-
const intentHash = crypto.createHash("sha256").update(canonical(intent)).digest("hex");
|
|
341
|
-
const argsHash = crypto.createHash("sha256").update(canonical(toolArgs)).digest("hex");
|
|
340
|
+
const intentHash = "sha256:" + crypto.createHash("sha256").update(canonical(intent)).digest("hex");
|
|
341
|
+
const argsHash = "sha256:" + crypto.createHash("sha256").update(canonical(toolArgs)).digest("hex");
|
|
342
342
|
|
|
343
343
|
// 1. TTL check
|
|
344
344
|
if (intent.ttl_ms != null && now - intent.issued_at > intent.ttl_ms) {
|